From 02bf609fd14f64161ca5ad648860ed530b794d6b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 10 Dec 2021 17:50:52 +1100 Subject: [PATCH 0001/2186] Prepare linux.lsof.Lsof plugin to work as a helper library for other plugin. --- volatility3/framework/plugins/linux/lsof.py | 51 ++++++++++++++------- 1 file changed, 35 insertions(+), 16 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index a074f5744..9ce7027f3 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -4,7 +4,7 @@ """A module containing a collection of plugins that produce data typically found in Linux's /proc file system.""" import logging -from typing import List +from typing import List, Callable from volatility3.framework import renderers, interfaces, constants from volatility3.framework.configuration import requirements @@ -21,6 +21,8 @@ class Lsof(plugins.PluginInterface): _required_framework_version = (2, 0, 0) + _version = (2, 0, 0) + @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ @@ -34,26 +36,43 @@ class Lsof(plugins.PluginInterface): optional = True) ] - def _generator(self, tasks): - symbol_table = None - for task in tasks: - if symbol_table is None: + @classmethod + def list_fds(cls, + context: interfaces.context.ContextInterface, + symbol_table: str, + filter_func: Callable[[int], bool] = lambda _: False): + + linuxutils_symbol_table = None # type: ignore + for task in pslist.PsList.list_tasks(context, symbol_table, filter_func): + if linuxutils_symbol_table is None: if constants.BANG not in task.vol.type_name: raise ValueError("Task is not part of a symbol table") - symbol_table = task.vol.type_name.split(constants.BANG)[0] + linuxutils_symbol_table = task.vol.type_name.split(constants.BANG)[0] - name = utility.array_to_string(task.comm) + task_comm = utility.array_to_string(task.comm) pid = int(task.pid) - for fd_num, _, full_path in linux.LinuxUtilities.files_descriptors_for_process( - self.context, symbol_table, task): - yield (0, (pid, name, fd_num, full_path)) + fd_generator = linux.LinuxUtilities.files_descriptors_for_process( + context, + linuxutils_symbol_table, + task) - def run(self): + for fd_fields in fd_generator: + yield pid, task_comm, task, fd_fields + + def _generator(self): filter_func = pslist.PsList.create_pid_filter(self.config.get('pid', None)) - return renderers.TreeGrid([("PID", int), ("Process", str), ("FD", int), ("Path", str)], - self._generator( - pslist.PsList.list_tasks(self.context, - self.config['kernel'], - filter_func = filter_func))) + fds_generator = self.list_fds(self.context, + self.config['kernel'], + filter_func=filter_func) + + for pid, task_comm, _task, fd_fields in fds_generator: + fd_num, _filp, full_path = fd_fields + + fields = (pid, task_comm, fd_num, full_path) + yield (0, fields) + + def run(self): + tree_grid_args = [("PID", int), ("Process", str), ("FD", int), ("Path", str)] + return renderers.TreeGrid(tree_grid_args, self._generator()) From 6456e55ddcd121ba3e570a90c83c0138af5b532c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 10 Dec 2021 17:51:27 +1100 Subject: [PATCH 0002/2186] Added Sockstat linux plugin to enumerate all processes sockets. The output format is based on the `ss` tools. It supports: * Unix socket * Inet/Inet6 sockets * Netlink sockets * VSock sockets * Packet sockets * XDP sockets (eBPF) * Bluetooth sockets (When the respective symbols are present) Changes to the linux Lsof plugin were required to be able to reuse its filedescriptor listing capability. --- .../framework/constants/linux/__init__.py | 216 ++++++++++ .../framework/plugins/linux/sockstat.py | 374 ++++++++++++++++++ .../framework/symbols/linux/__init__.py | 23 ++ .../symbols/linux/extensions/__init__.py | 251 ++++++++++++ 4 files changed, 864 insertions(+) create mode 100644 volatility3/framework/plugins/linux/sockstat.py diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index c25ea0e2f..6b63de6c5 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -11,3 +11,219 @@ KERNEL_NAME = "__kernel__" # arch/x86/include/asm/page_types.h PAGE_SHIFT = 12 """The value hard coded from the Linux Kernel (hence not extracted from the layer itself)""" + +# Standard well-defined IP protocols. +# ref: include/uapi/linux/in.h +IP_PROTOCOLS = { + 0: "IP", + 1: "ICMP", + 2: "IGMP", + 4: "IPIP", + 6: "TCP", + 8: "EGP", + 12: "PUP", + 17: "UDP", + 22: "IDP", + 29: "TP", + 33: "DCCP", + 41: "IPV6", + 46: "RSVP", + 47: "GRE", + 50: "ESP", + 51: "AH", + 92: "MTP", + 94: "BEETPH", + 98: "ENCAP", + 103: "PIM", + 108: "COMP", + 132: "SCTP", + 136: "UDPLITE", + 137: "MPLS", + 143: "ETHERNET", + 255: "RAW", + 262: "MPTCP", +} + +# IPV6 extension headers +# ref: include/uapi/linux/in6.h +IPV6_PROTOCOLS = { + 0: "HOPBYHOP_OPTS", + 43: "ROUTING", + 44: "FRAGMENT", + 58: "ICMPv6", + 59: "NO_NEXT", + 60: "DESTINATION_OPTS", + 135: "MOBILITY", +} + +# ref: include/net/tcp_states.h +TCP_STATES = ( + "", + "ESTABLISHED", + "SYN_SENT", + "SYN_RECV", + "FIN_WAIT1", + "FIN_WAIT2", + "TIME_WAIT", + "CLOSE", + "CLOSE_WAIT", + "LAST_ACK", + "LISTEN", + "CLOSING", + "TCP_NEW_SYN_RECV", +) + +# ref: include/linux/net.h (socket_type enum) +SOCK_TYPES = { + 1: "STREAM", + 2: "DGRAM", + 3: "RAW", + 4: "RDM", + 5: "SEQPACKET", + 6: "DCCP", + 10: "PACKET", +} + +# Address families +# ref: include/linux/socket.h +SOCK_FAMILY = ( + "AF_UNSPEC", + "AF_UNIX", + "AF_INET", + "AF_AX25", + "AF_IPX", + "AF_APPLETALK", + "AF_NETROM", + "AF_BRIDGE", + "AF_ATMPVC", + "AF_X25", + "AF_INET6", + "AF_ROSE", + "AF_DECnet", + "AF_NETBEUI", + "AF_SECURITY", + "AF_KEY", + "AF_NETLINK", + "AF_PACKET", + "AF_ASH", + "AF_ECONET", + "AF_ATMSVC", + "AF_RDS", + "AF_SNA", + "AF_IRDA", + "AF_PPPOX", + "AF_WANPIPE", + "AF_LLC", + "AF_IB", + "AF_MPLS", + "AF_CAN", + "AF_TIPC", + "AF_BLUETOOTH", + "AF_IUCV", + "AF_RXRPC", + "AF_ISDN", + "AF_PHONET", + "AF_IEEE802154", + "AF_CAIF", + "AF_ALG", + "AF_NFC", + "AF_VSOCK", + "AF_KCM", + "AF_QIPCRTR", + "AF_SMC", + "AF_XDP", +) + +# Netlink protocols +# ref: include/uapi/linux/netlink.h +NETLINK_PROTOCOLS = ( + "NETLINK_ROUTE", + "NETLINK_UNUSED", + "NETLINK_USERSOCK", + "NETLINK_FIREWALL", + "NETLINK_SOCK_DIAG", + "NETLINK_NFLOG", + "NETLINK_XFRM", + "NETLINK_SELINUX", + "NETLINK_ISCSI", + "NETLINK_AUDIT", + "NETLINK_FIB_LOOKUP", + "NETLINK_CONNECTOR", + "NETLINK_NETFILTER", + "NETLINK_IP6_FW", + "NETLINK_DNRTMSG", + "NETLINK_KOBJECT_UEVENT", + "NETLINK_GENERIC", + "NETLINK_DM", + "NETLINK_SCSITRANSPORT", + "NETLINK_ECRYPTFS", + "NETLINK_RDMA", + "NETLINK_CRYPTO", + "NETLINK_SMC", +) + +# Short list of Ethernet Protocol ID's. +# ref: include/uapi/linux/if_ether.h +# Used in AF_PACKET socket family +ETH_PROTOCOLS = { + 0x0001: "ETH_P_802_3", + 0x0002: "ETH_P_AX25", + 0x0003: "ETH_P_ALL", + 0x0004: "ETH_P_802_2", + 0x0005: "ETH_P_SNAP", + 0x0006: "ETH_P_DDCMP", + 0x0007: "ETH_P_WAN_PPP", + 0x0008: "ETH_P_PPP_MP", + 0x0009: "ETH_P_LOCALTALK", + 0x000c: "ETH_P_CAN", + 0x000f: "ETH_P_CANFD", + 0x0010: "ETH_P_PPPTALK", + 0x0011: "ETH_P_TR_802_2", + 0x0016: "ETH_P_CONTROL", + 0x0017: "ETH_P_IRDA", + 0x0018: "ETH_P_ECONET", + 0x0019: "ETH_P_HDLC", + 0x001a: "ETH_P_ARCNET", + 0x001b: "ETH_P_DSA", + 0x001c: "ETH_P_TRAILER", + 0x0060: "ETH_P_LOOP", + 0x00F6: "ETH_P_IEEE802154", + 0x00F7: "ETH_P_CAIF", + 0x00F8: "ETH_P_XDSA", + 0x00F9: "ETH_P_MAP", + 0x0800: "ETH_P_IP", + 0x0805: "ETH_P_X25", + 0x0806: "ETH_P_ARP", + 0x8035: "ETH_P_RARP", + 0x809B: "ETH_P_ATALK", + 0x80F3: "ETH_P_AARP", + 0x8100: "ETH_P_8021Q", +} + +# Connection and socket states +# ref: include/net/bluetooth/bluetooth.h +BLUETOOTH_STATES = ( + "", + "CONNECTED", + "OPEN", + "BOUND", + "LISTEN", + "CONNECT", + "CONNECT2", + "CONFIG", + "DISCONN", + "CLOSED", +) + +# Bluetooth protocols +# ref: include/net/bluetooth/bluetooth.h +BLUETOOTH_PROTOCOLS = ( + "L2CAP", + "HCI", + "SCO", + "RFCOMM", + "BNEP", + "CMTP", + "HIDP", + "AVDTP", +) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py new file mode 100644 index 000000000..3be359463 --- /dev/null +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -0,0 +1,374 @@ +# This file is Copyright 2021 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +# Author: Gustavo Moreira + +import logging +from typing import Callable + +from volatility3.framework import renderers, interfaces, exceptions, constants +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.objects import utility +from volatility3.framework.symbols import linux +from volatility3.plugins.linux import lsof + + +vollog = logging.getLogger(__name__) + +class SockHandlers(object): + def __init__(self, vmlinux, task): + self._vmlinux = vmlinux + self._task = task + + netns_id = task.nsproxy.net_ns.get_inode() + self._netdevices = self._build_network_devices_map(netns_id) + + self._sock_family_handlers = { + "AF_UNIX": self._unix_sock, + "AF_INET": self._inet_sock, + "AF_INET6": self._inet_sock, + "AF_NETLINK": self._netlink_sock, + "AF_VSOCK": self._vsock_sock, + "AF_PACKET": self._packet_sock, + "AF_XDP": self._xdp_sock, + "AF_BLUETOOTH": self._bluetooth_sock, + } + + def _build_network_devices_map(self, netns_id): + netdevices_map = {} + nethead = self._vmlinux.object_from_symbol(symbol_name="net_namespace_list") + net_symname = self._vmlinux.symbol_table_name + constants.BANG + "net" + for net in nethead.to_list(net_symname, "list"): + net_device_symname = self._vmlinux.symbol_table_name + constants.BANG + "net_device" + for net_dev in net.dev_base_head.to_list(net_device_symname, "dev_list"): + if net.get_inode() != netns_id: + continue + dev_name = str(utility.array_to_string(net_dev.name)) + netdevices_map[net_dev.ifindex] = dev_name + return netdevices_map + + def process_sock(self, sock): + family = sock.family + extended = {} + sock_handler = self._sock_family_handlers.get(family) + if sock_handler: + try: + sock_fields = sock_handler(sock, extended) + return *sock_fields, extended + except exceptions.SymbolError as e: + # Cannot finds the *_sock type in the symbols + vollog.warning("Error processing socket family '%s': %s", family, e) + else: + vollog.warning("Unsupported family '%s'", family) + + # Even if the sock family is not supported, or the required types + # are not present in the symbols, we can still show some general + # information about the socket that may be helpful. + saddr_tag = daddr_tag = state = "?" + + sock_stat = saddr_tag, daddr_tag, state + + return sock, sock_stat, extended + + def _unix_sock(self, sock, _extended): + unix_sock = sock.cast("unix_sock") + state = unix_sock.state + saddr = unix_sock.name + sinode = unix_sock.inode + if unix_sock.peer != 0: + peer = unix_sock.peer.dereference().cast("unix_sock") + daddr = peer.name + dinode = peer.inode + else: + daddr = dinode = "" + + saddr_tag = f"{saddr} {sinode}" + daddr_tag = f"{daddr} {dinode}" + sock_stat = saddr_tag, daddr_tag, state + return unix_sock, sock_stat + + def _inet_sock(self, sock, _extended): + inet_sock = sock.cast("inet_sock") + saddr = inet_sock.src_addr + sport = inet_sock.src_port + daddr = inet_sock.dst_addr + dport = inet_sock.dst_port + state = inet_sock.state + + if inet_sock.family == "AF_INET6": + saddr = f"[{saddr}]" + + saddr_tag = f"{saddr}:{sport}" + daddr_tag = f"{daddr}:{dport}" + sock_stat = saddr_tag, daddr_tag, state + return inet_sock, sock_stat + + def _netlink_sock(self, sock, _extended): + netlink_sock = sock.cast("netlink_sock") + + saddr_list = [] + src_portid = f"portid:{netlink_sock.portid}" + saddr_list.append(src_portid) + if netlink_sock.groups != 0: + groups_bitmap = netlink_sock.groups.dereference() + groups_str = f"groups:0x{groups_bitmap:08x}" + saddr_list.append(groups_str) + + daddr_list = [] + dst_portid = f"portid:{netlink_sock.dst_portid}" + daddr_list.append(dst_portid) + dst_group = f"group:0x{netlink_sock.dst_group:08x}" + daddr_list.append(dst_group) + module = netlink_sock.module + if module and netlink_sock.module.name: + module_name_str = utility.array_to_string(netlink_sock.module.name) + module_name = f"lkm:{module_name_str}" + daddr_list.append(module_name) + + saddr_tag = ",".join(saddr_list) + daddr_tag = ",".join(daddr_list) + state = netlink_sock.state + + sock_stat = saddr_tag, daddr_tag, state + return netlink_sock, sock_stat + + def _vsock_sock(self, sock, _extended): + vsock_sock = sock.cast("vsock_sock") + saddr = vsock_sock.local_addr.svm_cid + sport = vsock_sock.local_addr.svm_port + daddr = vsock_sock.remote_addr.svm_cid + dport = vsock_sock.remote_addr.svm_port + state = "" # Protocol is always 0 + + saddr_tag = f"{saddr}:{sport}" + daddr_tag = f"{daddr}:{dport}" + sock_stat = saddr_tag, daddr_tag, state + return vsock_sock, sock_stat + + def _packet_sock(self, sock, extended): + packet_sock = sock.cast("packet_sock") + ifindex = packet_sock.ifindex + dev_name = self._netdevices.get(ifindex, "") if ifindex > 0 else "ANY" + + if sock.has_member("sk_filter"): + sock_filter = sock.sk_filter + self.__update_extra_socket_bpf(sock_filter, extended) + + if sock.has_member("sk_reuseport_cb"): + sock_reuseport_cb = sock.sk_reuseport_cb + self.__update_extra_socket_bpf(sock_reuseport_cb, extended) + + saddr_tag = f"{dev_name}" + daddr_tag = "" + state = packet_sock.state + sock_stat = saddr_tag, daddr_tag, state + return packet_sock, sock_stat + + def __update_extra_socket_bpf(self, sock_filter, extended): + if not sock_filter: + return + + extended["bpf_filter_type"] = "cBPF" + + if not sock_filter.has_member("prog"): + return + + bpfprog = sock_filter.prog + if not bpfprog: + return + + BPF_PROG_TYPE_UNSPEC = 0 + if bpfprog.type > BPF_PROG_TYPE_UNSPEC: + extended["bpf_filter_type"] = "eBPF" + bpfprog_aux = bpfprog.aux + if bpfprog_aux: + extended["bpf_filter_id"] = str(bpfprog_aux.id) + bpfprog_name = str(utility.array_to_string(bpfprog.aux.name)) + if bpfprog_name: + extended["bpf_filter_name"] = bpfprog_name + + def _xdp_sock(self, sock, _extended): + xdp_sock = sock.cast("xdp_sock") + device = xdp_sock.dev + if not device: + return + + dev_name = utility.array_to_string(device.name) + saddr_tag = f"{dev_name}" + + bpfprog = device.xdp_prog + if not bpfprog: + return + + bpfprog_aux = bpfprog.aux + if bpfprog_aux: + bpfprog_id = bpfprog_aux.id + daddr_tag = f"ebpf_prog_id:{bpfprog_id}" + bpf_name = utility.array_to_string(bpfprog_aux.name) + if bpf_name: + daddr_tag += f",ebpf_prog_name:{bpf_name}" + else: + daddr_tag = "" + + # Hallelujah, xdp_sock.state is an enum + xsk_state = xdp_sock.state.lookup() + state = xsk_state.replace("XSK_", "") + + sock_stat = saddr_tag, daddr_tag, state + return xdp_sock, sock_stat + + def _bluetooth_sock(self, sock, _extended): + bt_sock = sock.cast("bt_sock") + + def bt_addr(addr): + return ":".join(reversed(["%02x" % x for x in addr.b])) + + saddr_tag = daddr_tag = "" + if bt_sock.protocol == "HCI": + pinfo = bt_sock.cast("hci_pinfo") + elif bt_sock.protocol == "L2CAP": + pinfo = bt_sock.cast("l2cap_pinfo") + src_addr = bt_addr(pinfo.chan.src) + dst_addr = bt_addr(pinfo.chan.dst) + saddr_tag = f"{src_addr}" + daddr_tag = f"{dst_addr}" + elif bt_sock.protocol == "RFCOMM": + pinfo = bt_sock.cast("rfcomm_pinfo") + src_addr = bt_addr(pinfo.src) + dst_addr = bt_addr(pinfo.dst) + channel = pinfo.channel + saddr_tag = f"[{src_addr}]:{channel}" + daddr_tag = f"{dst_addr}" + else: + vollog.warning("Unsupported bluetooth protocol '%s'", bt_sock.protocol) + + state = bt_sock.state + sock_stat = saddr_tag, daddr_tag, state + return bt_sock, sock_stat + +class Sockstat(plugins.PluginInterface): + """Lists all network connections for all processes.""" + + _required_framework_version = (2, 0, 0) + + _version = (2, 0, 0) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement(name="kernel", description="Linux kernel", + architectures=["Intel32", "Intel64"]), + requirements.PluginRequirement(name="lsof", plugin=lsof.Lsof, version=(2, 0, 0)), + requirements.VersionRequirement(name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0)), + requirements.BooleanRequirement(name="unix", + description=("Show UNIX domain Sockets only"), + default=False, + optional=True), + requirements.ListRequirement(name="pids", + description="Filter results by process IDs. " + "It takes the root PID namespace identifiers.", + element_type=int, + optional=True), + requirements.IntRequirement(name="netns", + description="Filter results by network namespace. " + "Otherwise, all of them are shown.", + optional=True), + ] + + @classmethod + def list_sockets(cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + filter_func: Callable[[int], bool] = lambda _: False): + """ + Returns every single socket descriptors + """ + vmlinux = context.modules[vmlinux_module_name] + + sfop_addr = vmlinux.object_from_symbol("socket_file_ops").vol.offset + dfop_addr = vmlinux.object_from_symbol("sockfs_dentry_operations").vol.offset + + fd_generator = lsof.Lsof.list_fds(context, vmlinux.name, filter_func) + for _pid, _task_comm, task, fd_fields in fd_generator: + fd_num, filp, _full_path = fd_fields + + if filp.f_op not in (sfop_addr, dfop_addr): + continue + + dentry = filp.get_dentry() + if not dentry: + continue + + d_inode = dentry.d_inode + if not d_inode: + continue + + socket_alloc = linux.LinuxUtilities.container_of(d_inode, "socket_alloc", "vfs_inode", vmlinux) + _socket = socket_alloc.socket + + vfs_inode = socket_alloc.vfs_inode + if not (_socket and vfs_inode): + continue + + sock = _socket.sk.dereference() + + sock_type = sock.type + family = sock.family + + sock_handler = SockHandlers(vmlinux, task) + sock_fields = sock_handler.process_sock(sock) + if not sock_fields: + continue + + child_sock = sock_fields[0] + protocol = child_sock.protocol if hasattr(child_sock, "protocol") else "" + + net = task.nsproxy.net_ns + netns_id = net.proc_inum if net.has_member("proc_inum") else net.ns.inum + yield task, netns_id, fd_num, family, sock_type, protocol, sock_fields + + def _generator(self): + pids = self.config.get('pids') + filter_func = lsof.pslist.PsList.create_pid_filter(pids) + + tasks_per_sock = {} + socket_generator = self.list_sockets(self.context, self.config['kernel'], filter_func=filter_func) + for task, netns, fd_num, family, sock_type, protocol, sock_fields in socket_generator: + if self.config['netns'] and self.config['netns'] != netns: + continue + + sock, sock_stat, extended = sock_fields + + task_comm = utility.array_to_string(task.comm) + task_info = f"{task_comm},pid={task.pid},fd={fd_num}" + if extended: + extended_str = ",".join(f"{k}={v}" for k, v in extended.items()) + task_info = f"{task_info},{extended_str}" + + fields = netns, family, sock_type, protocol, *sock_stat + + sock_addr = sock.vol.offset + tasks_per_sock.setdefault(sock_addr, {}) + tasks_per_sock[sock_addr].setdefault('tasks', []) + tasks_per_sock[sock_addr]['tasks'].append(task_info) + tasks_per_sock[sock_addr]['fields'] = fields + + for data in tasks_per_sock.values(): + task_list = [f"({task})" for task in data['tasks']] + tasks = ",".join(task_list) + + fields = data['fields'] + (tasks,) + yield (0, fields) + + def run(self): + tree_grid_args = [("NetNS", int), + ("Family", str), + ("Type", str), + ("Proto", str), + ("Source Addr:Port", str), + ("Destination Addr:Port", str), + ("State", str), + ("Tasks", str)] + + return renderers.TreeGrid(tree_grid_args, self._generator()) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 36e23a35d..739ecbedb 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -30,6 +30,16 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class('vfsmount', extensions.vfsmount) self.set_type_class('kobject', extensions.kobject) + # Network + self.set_type_class('net', extensions.net) + self.set_type_class('sock', extensions.sock) + self.set_type_class('inet_sock', extensions.inet_sock) + self.set_type_class('unix_sock', extensions.unix_sock) + self.set_type_class('netlink_sock', extensions.netlink_sock) + self.set_type_class('packet_sock', extensions.packet_sock) + if 'bt_sock' in self.types: + self.set_type_class('bt_sock', extensions.bt_sock) + if 'module' in self.types: self.set_type_class('module', extensions.module) @@ -183,6 +193,10 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): def files_descriptors_for_process(cls, context: interfaces.context.ContextInterface, symbol_table: str, task: interfaces.objects.ObjectInterface): + # task.files can be null + if not task.files: + return + fd_table = task.files.get_fds() if fd_table == 0: return @@ -267,3 +281,12 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): list_struct = vmlinux.object(object_type = struct_name, offset = list_start.vol.offset) yield list_struct list_start = getattr(list_struct, list_member) + + @classmethod + def container_of(cls, addr, type_name, member_name, vmlinux): + if not addr: + return + type_dec = vmlinux.get_type(type_name) + member_offset = type_dec.relative_child_offset(member_name) + container_addr = addr - member_offset + return vmlinux.object(object_type=type_name, offset=container_addr, absolute=True) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0edd60608..2af5f56b0 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -4,9 +4,15 @@ import collections.abc import logging +import socket from typing import Generator, Iterable, Iterator, Optional, Tuple from volatility3.framework import constants +from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY +from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS +from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS +from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATES +from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS from volatility3.framework import exceptions, objects, interfaces, symbols from volatility3.framework.layers import linear from volatility3.framework.objects import utility @@ -539,3 +545,248 @@ class kobject(objects.StructType): ret = refcnt.refs.counter return ret + +class mnt_namespace(objects.StructType): + def get_inode(self): + if self.has_member("proc_inum"): + return self.proc_inum + elif self.ns.has_member("inum"): + return self.ns.inum + else: + raise AttributeError("Unable to find mnt_namespace inode") + +class net(objects.StructType): + def get_inode(self): + if self.has_member("proc_inum"): + return self.proc_inum + elif self.ns.has_member("inum"): + return self.ns.inum + else: + raise AttributeError("Unable to find net_namespace inode") + +class sock(objects.StructType): + def __get_vol_kernel_module_name(self): + symbol_table_arr = self.vol.type_name.split("!", 1) + symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None + + module_names = list(self._context.modules.get_modules_by_symbol_tables(symbol_table)) + if not module_names: + raise ValueError(f"No module using the symbol table {symbol_table}") + + return module_names[0] + + @property + def family(self): + family_idx = self.__sk_common.skc_family + if 0 <= family_idx < len(SOCK_FAMILY): + return SOCK_FAMILY[family_idx] + else: + return "UNKNOWN" + + @property + def type(self): + return SOCK_TYPES.get(self.sk_type, "") + + @property + def inode(self): + if not self.sk_socket: + return 0 + + kernel_module_name = self.__get_vol_kernel_module_name() + kernel = self._context.modules[kernel_module_name] + socket_alloc = linux.LinuxUtilities.container_of(self.sk_socket, "socket_alloc", "socket", kernel) + vfs_inode = socket_alloc.vfs_inode + + return vfs_inode.i_ino + +class unix_sock(objects.StructType): + @property + def name(self): + if self.addr: + sockaddr_un = self.addr.name.cast("sockaddr_un") + saddr = str(utility.array_to_string(sockaddr_un.sun_path)) + else: + saddr = "" + return saddr + + @property + def protocol(self): + return "" + + @property + def state(self): + """Return a string representing the sock state.""" + + # Unix socket states reuse (a subset) of the inet_sock states contants + if self.sk.type == "STREAM": + state_idx = self.sk.__sk_common.skc_state + if 0 <= state_idx < len(TCP_STATES): + state = TCP_STATES[state_idx] + else: + state = "UNKNOWN" + else: + state = "UNCONNECTED" + + return state + + @property + def inode(self): + return self.sk.inode + +class inet_sock(objects.StructType): + @property + def family(self): + family_idx = self.sk.__sk_common.skc_family + if 0 <= family_idx < len(SOCK_FAMILY): + return SOCK_FAMILY[family_idx] + else: + return "UNKNOWN" + + @property + def protocol(self): + # If INET6 family and a proto is defined, we use that specific IPv6 protocol. + # Otherwise, we use the standard IP protocol. + protocol = IP_PROTOCOLS.get(self.sk.sk_protocol, "UNKNOWN") + if self.family == "AF_INET6": + protocol = IPV6_PROTOCOLS.get(self.sk.sk_protocol, protocol) + return protocol + + @property + def state(self): + """Return a string representing the sock state.""" + + if self.sk.type == "STREAM": + state_idx = self.sk.__sk_common.skc_state + if 0 <= state_idx < len(TCP_STATES): + state = TCP_STATES[state_idx] + else: + state = "UNKNOWN" + else: + state = "UNCONNECTED" + + return state + + @property + def src_port(self): + sport_le = getattr(self, "sport", getattr(self, "inet_sport", None)) + if sport_le is not None: + return socket.htons(sport_le) + + @property + def dst_port(self): + sk_common = self.sk.__sk_common + if hasattr(sk_common, "skc_portpair"): + dport_le = sk_common.skc_portpair & 0xffff + elif hasattr(self, "dport"): + dport_le = self.dport + elif hasattr(self, "inet_dport"): + dport_le = self.inet_dport + elif hasattr(sk_common, "skc_dport"): + dport_le = sk_common.skc_dport + else: + return + + return socket.htons(dport_le) + + @property + def src_addr(self): + sk_common = self.sk.__sk_common + family = sk_common.skc_family + if family == socket.AF_INET: + addr_size = 4 + if hasattr(self, "rcv_saddr"): + saddr = self.rcv_saddr + elif hasattr(self, "inet_rcv_saddr"): + saddr = self.inet_rcv_saddr + else: + saddr = sk_common.skc_rcv_saddr + elif family == socket.AF_INET6: + addr_size = 16 + saddr = self.pinet6.saddr + else: + return + + parent_layer = self._context.layers[self.vol.layer_name] + addr_bytes = parent_layer.read(saddr.vol.offset, addr_size) + return socket.inet_ntop(family, addr_bytes) + + @property + def dst_addr(self): + sk_common = self.sk.__sk_common + family = sk_common.skc_family + if family == socket.AF_INET: + if hasattr(self, "daddr") and self.daddr: + daddr = self.daddr + elif hasattr(self, "inet_daddr") and self.inet_daddr: + daddr = self.inet_daddr + else: + daddr = sk_common.skc_daddr + addr_size = 4 + elif family == socket.AF_INET6: + if hasattr(self.pinet6, "daddr"): + daddr = self.pinet6.daddr + else: + daddr = sk_common.skc_v6_daddr + addr_size = 16 + else: + return + + parent_layer = self._context.layers[self.vol.layer_name] + addr_bytes = parent_layer.read(daddr.vol.offset, addr_size) + return socket.inet_ntop(family, addr_bytes) + +class netlink_sock(objects.StructType): + @property + def protocol(self): + protocol_idx = self.sk.sk_protocol + if 0 <= protocol_idx < len(NETLINK_PROTOCOLS): + return NETLINK_PROTOCOLS[protocol_idx] + else: + return "UNKNOWN" + + @property + def state(self): + # Netlink is a datagram-oriented service. We can only have + # SOCK_RAW or SOCK_DGRAM socket types. + # NOTE: We are overridden the netlink_sock.state member here + return "UNCONNECTED" + + +class packet_sock(objects.StructType): + @property + def protocol(self): + eth_proto = socket.htons(self.num) + if eth_proto == 0: + return "" + elif eth_proto in ETH_PROTOCOLS: + return ETH_PROTOCOLS[eth_proto] + else: + return f"0x{eth_proto:x}" + + @property + def state(self): + # Packet socket types are either SOCK_RAW or SOCK_DGRAM. + # NOTE: We are overriding netlink_sock.state here + return "UNCONNECTED" + + +class bt_sock(objects.StructType): + @property + def protocol(self): + type_idx = self.sk.sk_protocol + if 0 <= type_idx < len(BLUETOOTH_PROTOCOLS): + state = BLUETOOTH_PROTOCOLS[type_idx] + else: + state = "UNKNOWN" + + return state + + @property + def state(self): + state_idx = self.sk.__sk_common.skc_state + if 0 <= state_idx < len(BLUETOOTH_STATES): + state = BLUETOOTH_STATES[state_idx] + else: + state = "UNKNOWN" + + return state From 5c507f5ae8de542f1bf530b3762eeaafa90226da Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 12:44:50 +1100 Subject: [PATCH 0003/2186] Plugins versioning fixes --- volatility3/framework/plugins/linux/lsof.py | 2 +- volatility3/framework/plugins/linux/sockstat.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 9ce7027f3..5ebd8e5c9 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -21,7 +21,7 @@ class Lsof(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (1, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 3be359463..4611d52e0 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -252,14 +252,14 @@ class Sockstat(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (1, 0, 0) @classmethod def get_requirements(cls): return [ requirements.ModuleRequirement(name="kernel", description="Linux kernel", architectures=["Intel32", "Intel64"]), - requirements.PluginRequirement(name="lsof", plugin=lsof.Lsof, version=(2, 0, 0)), + requirements.PluginRequirement(name="lsof", plugin=lsof.Lsof, version=(1, 1, 0)), requirements.VersionRequirement(name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0)), requirements.BooleanRequirement(name="unix", description=("Show UNIX domain Sockets only"), From 9766327433de338e377340ba5f3565b85869d3c0 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 12:55:08 +1100 Subject: [PATCH 0004/2186] Parameterized generator --- volatility3/framework/plugins/linux/lsof.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 5ebd8e5c9..30ceafdab 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -60,13 +60,7 @@ class Lsof(plugins.PluginInterface): for fd_fields in fd_generator: yield pid, task_comm, task, fd_fields - def _generator(self): - filter_func = pslist.PsList.create_pid_filter(self.config.get('pid', None)) - - fds_generator = self.list_fds(self.context, - self.config['kernel'], - filter_func=filter_func) - + def _generator(self, fds_generator): for pid, task_comm, _task, fd_fields in fds_generator: fd_num, _filp, full_path = fd_fields @@ -74,5 +68,10 @@ class Lsof(plugins.PluginInterface): yield (0, fields) def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get('pid', None)) + fds_generator = self.list_fds(self.context, + self.config['kernel'], + filter_func=filter_func) + tree_grid_args = [("PID", int), ("Process", str), ("FD", int), ("Path", str)] - return renderers.TreeGrid(tree_grid_args, self._generator()) + return renderers.TreeGrid(tree_grid_args, self._generator(fds_generator)) From 2e93db9b57eb9ba8d33fa70209e77d881b686d16 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 13:04:29 +1100 Subject: [PATCH 0005/2186] Adding versioning to SockHandlers --- volatility3/framework/plugins/linux/sockstat.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 4611d52e0..c53091d86 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -16,7 +16,12 @@ from volatility3.plugins.linux import lsof vollog = logging.getLogger(__name__) -class SockHandlers(object): +class SockHandlers(interfaces.configuration.VersionableInterface): + + _required_framework_version = (2, 0, 0) + + _version = (1, 0, 0) + def __init__(self, vmlinux, task): self._vmlinux = vmlinux self._task = task @@ -259,6 +264,7 @@ class Sockstat(plugins.PluginInterface): return [ requirements.ModuleRequirement(name="kernel", description="Linux kernel", architectures=["Intel32", "Intel64"]), + requirements.VersionRequirement(name="SockHandlers", component=SockHandlers, version=(1, 0, 0)), requirements.PluginRequirement(name="lsof", plugin=lsof.Lsof, version=(1, 1, 0)), requirements.VersionRequirement(name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0)), requirements.BooleanRequirement(name="unix", From 6970776c4c330e1bc96e77df6c13d823503d1295 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 13:07:50 +1100 Subject: [PATCH 0006/2186] Renaming function to use single underscore and name from `extra` to `extended` --- volatility3/framework/plugins/linux/sockstat.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index c53091d86..eab8993ba 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -158,11 +158,11 @@ class SockHandlers(interfaces.configuration.VersionableInterface): if sock.has_member("sk_filter"): sock_filter = sock.sk_filter - self.__update_extra_socket_bpf(sock_filter, extended) + self._update_extended_socket_bpf(sock_filter, extended) if sock.has_member("sk_reuseport_cb"): sock_reuseport_cb = sock.sk_reuseport_cb - self.__update_extra_socket_bpf(sock_reuseport_cb, extended) + self._update_extended_socket_bpf(sock_reuseport_cb, extended) saddr_tag = f"{dev_name}" daddr_tag = "" @@ -170,7 +170,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return packet_sock, sock_stat - def __update_extra_socket_bpf(self, sock_filter, extended): + def _update_extended_socket_bpf(self, sock_filter, extended): if not sock_filter: return From 86676cf4e87bbfa99cf4165af39ba71d7e8f9481 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 13:20:31 +1100 Subject: [PATCH 0007/2186] Changing BPF_PROG_TYPE_UNSPEC constant in favor of a literal 0 and a comment. --- volatility3/framework/plugins/linux/sockstat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index eab8993ba..943c497b1 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -183,8 +183,8 @@ class SockHandlers(interfaces.configuration.VersionableInterface): if not bpfprog: return - BPF_PROG_TYPE_UNSPEC = 0 - if bpfprog.type > BPF_PROG_TYPE_UNSPEC: + # BPF_PROG_TYPE_UNSPEC = 0 + if bpfprog.type > 0: extended["bpf_filter_type"] = "eBPF" bpfprog_aux = bpfprog.aux if bpfprog_aux: From a386a7a9482edbb4ef0cb011cf89f681a4d0042e Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 15:40:51 +1100 Subject: [PATCH 0008/2186] Removed underscore from unused arguments --- volatility3/framework/plugins/linux/sockstat.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 943c497b1..d147f3e5e 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -76,7 +76,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): return sock, sock_stat, extended - def _unix_sock(self, sock, _extended): + def _unix_sock(self, sock, extended): unix_sock = sock.cast("unix_sock") state = unix_sock.state saddr = unix_sock.name @@ -93,7 +93,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return unix_sock, sock_stat - def _inet_sock(self, sock, _extended): + def _inet_sock(self, sock, extended): inet_sock = sock.cast("inet_sock") saddr = inet_sock.src_addr sport = inet_sock.src_port @@ -109,7 +109,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return inet_sock, sock_stat - def _netlink_sock(self, sock, _extended): + def _netlink_sock(self, sock, extended): netlink_sock = sock.cast("netlink_sock") saddr_list = [] @@ -138,7 +138,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return netlink_sock, sock_stat - def _vsock_sock(self, sock, _extended): + def _vsock_sock(self, sock, extended): vsock_sock = sock.cast("vsock_sock") saddr = vsock_sock.local_addr.svm_cid sport = vsock_sock.local_addr.svm_port @@ -193,7 +193,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): if bpfprog_name: extended["bpf_filter_name"] = bpfprog_name - def _xdp_sock(self, sock, _extended): + def _xdp_sock(self, sock, extended): xdp_sock = sock.cast("xdp_sock") device = xdp_sock.dev if not device: @@ -223,7 +223,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return xdp_sock, sock_stat - def _bluetooth_sock(self, sock, _extended): + def _bluetooth_sock(self, sock, extended): bt_sock = sock.cast("bt_sock") def bt_addr(addr): From c54818e6309d6bd4a83de14dfdb6a3c8fddd6d22 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 16:00:11 +1100 Subject: [PATCH 0009/2186] Remove redundancies around array_to_string(). It returns a str() already. --- volatility3/framework/plugins/linux/sockstat.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index d147f3e5e..f00169cf6 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -49,7 +49,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): for net_dev in net.dev_base_head.to_list(net_device_symname, "dev_list"): if net.get_inode() != netns_id: continue - dev_name = str(utility.array_to_string(net_dev.name)) + dev_name = utility.array_to_string(net_dev.name) netdevices_map[net_dev.ifindex] = dev_name return netdevices_map @@ -189,7 +189,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): bpfprog_aux = bpfprog.aux if bpfprog_aux: extended["bpf_filter_id"] = str(bpfprog_aux.id) - bpfprog_name = str(utility.array_to_string(bpfprog.aux.name)) + bpfprog_name = utility.array_to_string(bpfprog.aux.name) if bpfprog_name: extended["bpf_filter_name"] = bpfprog_name @@ -199,8 +199,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): if not device: return - dev_name = utility.array_to_string(device.name) - saddr_tag = f"{dev_name}" + saddr_tag = utility.array_to_string(device.name) bpfprog = device.xdp_prog if not bpfprog: From 52181c7e8fd50757e549121cb00e81deaaabf6c6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 16:22:30 +1100 Subject: [PATCH 0010/2186] Improvements to the parameterized generator changes --- volatility3/framework/plugins/linux/lsof.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 30ceafdab..983f62562 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -60,7 +60,12 @@ class Lsof(plugins.PluginInterface): for fd_fields in fd_generator: yield pid, task_comm, task, fd_fields - def _generator(self, fds_generator): + def _generator(self, pids, symbol_table): + filter_func = pslist.PsList.create_pid_filter(pids) + fds_generator = self.list_fds(self.context, + symbol_table, + filter_func=filter_func) + for pid, task_comm, _task, fd_fields in fds_generator: fd_num, _filp, full_path = fd_fields @@ -68,10 +73,8 @@ class Lsof(plugins.PluginInterface): yield (0, fields) def run(self): - filter_func = pslist.PsList.create_pid_filter(self.config.get('pid', None)) - fds_generator = self.list_fds(self.context, - self.config['kernel'], - filter_func=filter_func) + pids = self.config.get('pid', None) + symbol_table = self.config['kernel'] tree_grid_args = [("PID", int), ("Process", str), ("FD", int), ("Path", str)] - return renderers.TreeGrid(tree_grid_args, self._generator(fds_generator)) + return renderers.TreeGrid(tree_grid_args, self._generator(pids, symbol_table)) From 7ed5739e24d5f5c836a1cad2d2b0ddf73000f9a7 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 16:24:57 +1100 Subject: [PATCH 0011/2186] socket is no longer imported in this file. Remove the underscore --- volatility3/framework/plugins/linux/sockstat.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index f00169cf6..1af232b07 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -310,13 +310,13 @@ class Sockstat(plugins.PluginInterface): continue socket_alloc = linux.LinuxUtilities.container_of(d_inode, "socket_alloc", "vfs_inode", vmlinux) - _socket = socket_alloc.socket + socket = socket_alloc.socket vfs_inode = socket_alloc.vfs_inode - if not (_socket and vfs_inode): + if not (socket and vfs_inode): continue - sock = _socket.sk.dereference() + sock = socket.sk.dereference() sock_type = sock.type family = sock.family From b4bcdd0856c8dd85a393647d02b95553c82bf855 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 16:51:02 +1100 Subject: [PATCH 0012/2186] Minor changes --- volatility3/framework/plugins/linux/sockstat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 1af232b07..2e71dcd61 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -189,7 +189,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): bpfprog_aux = bpfprog.aux if bpfprog_aux: extended["bpf_filter_id"] = str(bpfprog_aux.id) - bpfprog_name = utility.array_to_string(bpfprog.aux.name) + bpfprog_name = utility.array_to_string(bpfprog_aux.name) if bpfprog_name: extended["bpf_filter_name"] = bpfprog_name @@ -287,7 +287,7 @@ class Sockstat(plugins.PluginInterface): vmlinux_module_name: str, filter_func: Callable[[int], bool] = lambda _: False): """ - Returns every single socket descriptors + Returns every single socket descriptor """ vmlinux = context.modules[vmlinux_module_name] From 8af74229288cd30e7a662ad7025b4e4093c19c61 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 16:52:47 +1100 Subject: [PATCH 0013/2186] Parameterized generator --- volatility3/framework/plugins/linux/sockstat.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 2e71dcd61..c133a400d 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -333,14 +333,13 @@ class Sockstat(plugins.PluginInterface): netns_id = net.proc_inum if net.has_member("proc_inum") else net.ns.inum yield task, netns_id, fd_num, family, sock_type, protocol, sock_fields - def _generator(self): - pids = self.config.get('pids') + def _generator(self, pids, netns_arg, symbol_table): filter_func = lsof.pslist.PsList.create_pid_filter(pids) + socket_generator = self.list_sockets(self.context, symbol_table, filter_func=filter_func) tasks_per_sock = {} - socket_generator = self.list_sockets(self.context, self.config['kernel'], filter_func=filter_func) for task, netns, fd_num, family, sock_type, protocol, sock_fields in socket_generator: - if self.config['netns'] and self.config['netns'] != netns: + if netns_arg and netns_arg != netns: continue sock, sock_stat, extended = sock_fields @@ -367,6 +366,10 @@ class Sockstat(plugins.PluginInterface): yield (0, fields) def run(self): + pids = self.config.get('pids') + netns = self.config['netns'] + symbol_table = self.config['kernel'] + tree_grid_args = [("NetNS", int), ("Family", str), ("Type", str), @@ -376,4 +379,4 @@ class Sockstat(plugins.PluginInterface): ("State", str), ("Tasks", str)] - return renderers.TreeGrid(tree_grid_args, self._generator()) + return renderers.TreeGrid(tree_grid_args, self._generator(pids, netns, symbol_table)) From f4e1f4729f5e1f049f69dd6a1d7e144ffa93b9fb Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 16:56:27 +1100 Subject: [PATCH 0014/2186] Added type annotations --- .../framework/plugins/linux/sockstat.py | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index c133a400d..e1fbfeddb 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -6,7 +6,7 @@ import logging from typing import Callable -from volatility3.framework import renderers, interfaces, exceptions, constants +from volatility3.framework import renderers, interfaces, exceptions, constants, objects from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -40,7 +40,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): "AF_BLUETOOTH": self._bluetooth_sock, } - def _build_network_devices_map(self, netns_id): + def _build_network_devices_map(self, netns_id: int): netdevices_map = {} nethead = self._vmlinux.object_from_symbol(symbol_name="net_namespace_list") net_symname = self._vmlinux.symbol_table_name + constants.BANG + "net" @@ -53,7 +53,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): netdevices_map[net_dev.ifindex] = dev_name return netdevices_map - def process_sock(self, sock): + def process_sock(self, sock: objects.StructType): family = sock.family extended = {} sock_handler = self._sock_family_handlers.get(family) @@ -76,7 +76,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): return sock, sock_stat, extended - def _unix_sock(self, sock, extended): + def _unix_sock(self, sock: objects.StructType, extended: dict): unix_sock = sock.cast("unix_sock") state = unix_sock.state saddr = unix_sock.name @@ -93,7 +93,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return unix_sock, sock_stat - def _inet_sock(self, sock, extended): + def _inet_sock(self, sock: objects.StructType, extended: dict): inet_sock = sock.cast("inet_sock") saddr = inet_sock.src_addr sport = inet_sock.src_port @@ -109,7 +109,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return inet_sock, sock_stat - def _netlink_sock(self, sock, extended): + def _netlink_sock(self, sock: objects.StructType, extended: dict): netlink_sock = sock.cast("netlink_sock") saddr_list = [] @@ -138,7 +138,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return netlink_sock, sock_stat - def _vsock_sock(self, sock, extended): + def _vsock_sock(self, sock: objects.StructType, extended: dict): vsock_sock = sock.cast("vsock_sock") saddr = vsock_sock.local_addr.svm_cid sport = vsock_sock.local_addr.svm_port @@ -151,7 +151,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return vsock_sock, sock_stat - def _packet_sock(self, sock, extended): + def _packet_sock(self, sock: objects.StructType, extended: dict): packet_sock = sock.cast("packet_sock") ifindex = packet_sock.ifindex dev_name = self._netdevices.get(ifindex, "") if ifindex > 0 else "ANY" @@ -170,7 +170,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return packet_sock, sock_stat - def _update_extended_socket_bpf(self, sock_filter, extended): + def _update_extended_socket_bpf(self, sock_filter: objects.Pointer, extended: dict): if not sock_filter: return @@ -193,7 +193,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): if bpfprog_name: extended["bpf_filter_name"] = bpfprog_name - def _xdp_sock(self, sock, extended): + def _xdp_sock(self, sock: objects.StructType, extended: dict): xdp_sock = sock.cast("xdp_sock") device = xdp_sock.dev if not device: @@ -222,7 +222,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return xdp_sock, sock_stat - def _bluetooth_sock(self, sock, extended): + def _bluetooth_sock(self, sock: objects.StructType, extended: dict): bt_sock = sock.cast("bt_sock") def bt_addr(addr): From 34176a80665dfb5af34955b1079af2f3b6c63b1f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 17:10:45 +1100 Subject: [PATCH 0015/2186] Moving log lines from warning to LOGLEVEL_V --- volatility3/framework/plugins/linux/sockstat.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index e1fbfeddb..5f9b6fb07 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -63,9 +63,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): return *sock_fields, extended except exceptions.SymbolError as e: # Cannot finds the *_sock type in the symbols - vollog.warning("Error processing socket family '%s': %s", family, e) + vollog.log(constants.LOGLEVEL_V, "Error processing socket family '%s': %s", family, e) else: - vollog.warning("Unsupported family '%s'", family) + vollog.log(constants.LOGLEVEL_V, "Unsupported family '%s'", family) # Even if the sock family is not supported, or the required types # are not present in the symbols, we can still show some general @@ -245,7 +245,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): saddr_tag = f"[{src_addr}]:{channel}" daddr_tag = f"{dst_addr}" else: - vollog.warning("Unsupported bluetooth protocol '%s'", bt_sock.protocol) + vollog.log(constants.LOGLEVEL_V, "Unsupported bluetooth protocol '%s'", bt_sock.protocol) state = bt_sock.state sock_stat = saddr_tag, daddr_tag, state From a1ff8d7809545a69e8f780913d05da3d7e886d9b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 17:25:58 +1100 Subject: [PATCH 0016/2186] Fix comment. This was related to netlink_sock not packer_sock --- volatility3/framework/symbols/linux/extensions/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 2af5f56b0..d551f3b02 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -766,7 +766,6 @@ class packet_sock(objects.StructType): @property def state(self): # Packet socket types are either SOCK_RAW or SOCK_DGRAM. - # NOTE: We are overriding netlink_sock.state here return "UNCONNECTED" From 7dc33b83145e1f0b243a6ab3f5261c62dee22966 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Dec 2021 17:28:38 +1100 Subject: [PATCH 0017/2186] fix typo --- volatility3/framework/symbols/linux/extensions/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d551f3b02..3f286e1a3 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -748,7 +748,8 @@ class netlink_sock(objects.StructType): def state(self): # Netlink is a datagram-oriented service. We can only have # SOCK_RAW or SOCK_DGRAM socket types. - # NOTE: We are overridden the netlink_sock.state member here + # NOTE: We are overriding the netlink_sock.state member here + return "UNCONNECTED" From a7520a377dfa1e4aaea3c82f683adcbea032f5e0 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 21 Dec 2021 14:53:13 +1100 Subject: [PATCH 0018/2186] Supporting socket and reuseport filters in all the socket families. --- .../framework/plugins/linux/sockstat.py | 84 ++++++++++--------- 1 file changed, 45 insertions(+), 39 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 5f9b6fb07..323f02213 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -59,7 +59,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_handler = self._sock_family_handlers.get(family) if sock_handler: try: - sock_fields = sock_handler(sock, extended) + sock_fields = sock_handler(sock) + self._update_extended_socket_filters_info(sock, extended) + return *sock_fields, extended except exceptions.SymbolError as e: # Cannot finds the *_sock type in the symbols @@ -76,7 +78,42 @@ class SockHandlers(interfaces.configuration.VersionableInterface): return sock, sock_stat, extended - def _unix_sock(self, sock: objects.StructType, extended: dict): + def _update_extended_socket_filters_info(self, sock: objects.Pointer, extended: dict) -> None: + """Get infomation from the socket and reuseport filters + + Args: + sock: The kernel sock (sk) struct + extended: Dictionary to store extended information + """ + if sock.has_member("sk_filter") and sock.sk_filter: + sock_filter = sock.sk_filter + extended["filter_type"] = "socket_filter" + self._extract_socket_filter_info(sock_filter, extended) + + if sock.has_member("sk_reuseport_cb") and sock.sk_reuseport_cb: + sock_reuseport_cb = sock.sk_reuseport_cb + extended["filter_type"] = "reuseport_filter" + self._extract_socket_filter_info(sock_reuseport_cb, extended) + + def _extract_socket_filter_info(self, sock_filter: objects.Pointer, extended: dict): + extended["bpf_filter_type"] = "cBPF" + + if not sock_filter.has_member("prog") or not sock_filter.prog: + return + + bpfprog = sock_filter.prog + + # BPF_PROG_TYPE_UNSPEC = 0 + if bpfprog.type > 0: + extended["bpf_filter_type"] = "eBPF" + bpfprog_aux = bpfprog.aux + if bpfprog_aux: + extended["bpf_filter_id"] = str(bpfprog_aux.id) + bpfprog_name = utility.array_to_string(bpfprog_aux.name) + if bpfprog_name: + extended["bpf_filter_name"] = bpfprog_name + + def _unix_sock(self, sock: objects.StructType): unix_sock = sock.cast("unix_sock") state = unix_sock.state saddr = unix_sock.name @@ -93,7 +130,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return unix_sock, sock_stat - def _inet_sock(self, sock: objects.StructType, extended: dict): + def _inet_sock(self, sock: objects.StructType): inet_sock = sock.cast("inet_sock") saddr = inet_sock.src_addr sport = inet_sock.src_port @@ -109,7 +146,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return inet_sock, sock_stat - def _netlink_sock(self, sock: objects.StructType, extended: dict): + def _netlink_sock(self, sock: objects.StructType): netlink_sock = sock.cast("netlink_sock") saddr_list = [] @@ -138,7 +175,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return netlink_sock, sock_stat - def _vsock_sock(self, sock: objects.StructType, extended: dict): + def _vsock_sock(self, sock: objects.StructType): vsock_sock = sock.cast("vsock_sock") saddr = vsock_sock.local_addr.svm_cid sport = vsock_sock.local_addr.svm_port @@ -151,49 +188,18 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return vsock_sock, sock_stat - def _packet_sock(self, sock: objects.StructType, extended: dict): + def _packet_sock(self, sock: objects.StructType): packet_sock = sock.cast("packet_sock") ifindex = packet_sock.ifindex dev_name = self._netdevices.get(ifindex, "") if ifindex > 0 else "ANY" - if sock.has_member("sk_filter"): - sock_filter = sock.sk_filter - self._update_extended_socket_bpf(sock_filter, extended) - - if sock.has_member("sk_reuseport_cb"): - sock_reuseport_cb = sock.sk_reuseport_cb - self._update_extended_socket_bpf(sock_reuseport_cb, extended) - saddr_tag = f"{dev_name}" daddr_tag = "" state = packet_sock.state sock_stat = saddr_tag, daddr_tag, state return packet_sock, sock_stat - def _update_extended_socket_bpf(self, sock_filter: objects.Pointer, extended: dict): - if not sock_filter: - return - - extended["bpf_filter_type"] = "cBPF" - - if not sock_filter.has_member("prog"): - return - - bpfprog = sock_filter.prog - if not bpfprog: - return - - # BPF_PROG_TYPE_UNSPEC = 0 - if bpfprog.type > 0: - extended["bpf_filter_type"] = "eBPF" - bpfprog_aux = bpfprog.aux - if bpfprog_aux: - extended["bpf_filter_id"] = str(bpfprog_aux.id) - bpfprog_name = utility.array_to_string(bpfprog_aux.name) - if bpfprog_name: - extended["bpf_filter_name"] = bpfprog_name - - def _xdp_sock(self, sock: objects.StructType, extended: dict): + def _xdp_sock(self, sock: objects.StructType): xdp_sock = sock.cast("xdp_sock") device = xdp_sock.dev if not device: @@ -222,7 +228,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return xdp_sock, sock_stat - def _bluetooth_sock(self, sock: objects.StructType, extended: dict): + def _bluetooth_sock(self, sock: objects.StructType): bt_sock = sock.cast("bt_sock") def bt_addr(addr): From 7099a7a52ec3d4bab96bcd3e3f70d72abdb54221 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 21 Dec 2021 14:54:38 +1100 Subject: [PATCH 0019/2186] Fix. We should call the `net` type method here. --- volatility3/framework/plugins/linux/sockstat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 323f02213..4f9ac64de 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -336,7 +336,7 @@ class Sockstat(plugins.PluginInterface): protocol = child_sock.protocol if hasattr(child_sock, "protocol") else "" net = task.nsproxy.net_ns - netns_id = net.proc_inum if net.has_member("proc_inum") else net.ns.inum + netns_id = net.get_inode() yield task, netns_id, fd_num, family, sock_type, protocol, sock_fields def _generator(self, pids, netns_arg, symbol_table): From fe105dc4a707ae5631322fc75bfb2c441d8ae034 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 21 Dec 2021 15:01:29 +1100 Subject: [PATCH 0020/2186] Add doc strings and typing info everywhere. Improve some variable names --- .../framework/plugins/linux/sockstat.py | 160 +++++++++++++++--- 1 file changed, 139 insertions(+), 21 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 4f9ac64de..a73d5581a 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -4,7 +4,7 @@ # Author: Gustavo Moreira import logging -from typing import Callable +from typing import Callable, Tuple, List, Dict from volatility3.framework import renderers, interfaces, exceptions, constants, objects from volatility3.framework.configuration import requirements @@ -17,6 +17,7 @@ from volatility3.plugins.linux import lsof vollog = logging.getLogger(__name__) class SockHandlers(interfaces.configuration.VersionableInterface): + """Handles several socket families extracting the sockets information.""" _required_framework_version = (2, 0, 0) @@ -40,7 +41,17 @@ class SockHandlers(interfaces.configuration.VersionableInterface): "AF_BLUETOOTH": self._bluetooth_sock, } - def _build_network_devices_map(self, netns_id: int): + def _build_network_devices_map(self, netns_id: int) -> Dict: + """Given a namespace ID it returns a dictionary mapping each network + interface index (ifindex) to its network interface name: + + Args: + netns_id: The network namespace ID + + Returns: + netdevices_map: Mapping network interface index (ifindex) to network + interface name + """ netdevices_map = {} nethead = self._vmlinux.object_from_symbol(symbol_name="net_namespace_list") net_symname = self._vmlinux.symbol_table_name + constants.BANG + "net" @@ -53,7 +64,17 @@ class SockHandlers(interfaces.configuration.VersionableInterface): netdevices_map[net_dev.ifindex] = dev_name return netdevices_map - def process_sock(self, sock: objects.StructType): + def process_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str], Dict]: + """Takes a kernel generic `sock` object and processes it with its respective socket family + + Args: + sock: Kernel generic `sock` object + + Returns a tuple with: + sock: The respective kernel's *_sock object for that socket family + sock_stat: A tuple with the source, destination and state strings. + extended: A dictionary with key/value extended information. + """ family = sock.family extended = {} sock_handler = self._sock_family_handlers.get(family) @@ -95,7 +116,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): extended["filter_type"] = "reuseport_filter" self._extract_socket_filter_info(sock_reuseport_cb, extended) - def _extract_socket_filter_info(self, sock_filter: objects.Pointer, extended: dict): + def _extract_socket_filter_info(self, sock_filter: objects.Pointer, extended: dict) -> None: extended["bpf_filter_type"] = "cBPF" if not sock_filter.has_member("prog") or not sock_filter.prog: @@ -113,7 +134,16 @@ class SockHandlers(interfaces.configuration.VersionableInterface): if bpfprog_name: extended["bpf_filter_name"] = bpfprog_name - def _unix_sock(self, sock: objects.StructType): + def _unix_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + """Handles the AF_UNIX socket family + + Args: + sock: Kernel generic `sock` object + + Returns: + unix_sock: The kernel's `unix_sock` object + sock_stat: A tuple with the source, destination and state strings. + """ unix_sock = sock.cast("unix_sock") state = unix_sock.state saddr = unix_sock.name @@ -130,7 +160,16 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return unix_sock, sock_stat - def _inet_sock(self, sock: objects.StructType): + def _inet_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + """Handles the AF_INET/6 socket families + + Args: + sock: Kernel generic `sock` object + + Returns: + inet_sock: The kernel's `inet_sock` object + sock_stat: A tuple with the source, destination and state strings. + """ inet_sock = sock.cast("inet_sock") saddr = inet_sock.src_addr sport = inet_sock.src_port @@ -146,7 +185,16 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return inet_sock, sock_stat - def _netlink_sock(self, sock: objects.StructType): + def _netlink_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + """Handles the AF_NETLINK socket family + + Args: + sock: Kernel generic `sock` object + + Returns: + netlink_sock: The kernel's `netlink_sock` object + sock_stat: A tuple with the source, destination and state strings. + """ netlink_sock = sock.cast("netlink_sock") saddr_list = [] @@ -175,7 +223,16 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return netlink_sock, sock_stat - def _vsock_sock(self, sock: objects.StructType): + def _vsock_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + """Handles the AF_VSOCK socket family + + Args: + sock: Kernel generic `sock` object + + Returns: + vsock_sock: The kernel `vsock_sock` object + sock_stat: A tuple with the source, destination and state strings. + """ vsock_sock = sock.cast("vsock_sock") saddr = vsock_sock.local_addr.svm_cid sport = vsock_sock.local_addr.svm_port @@ -188,7 +245,16 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return vsock_sock, sock_stat - def _packet_sock(self, sock: objects.StructType): + def _packet_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + """Handles the AF_PACKET socket family + + Args: + sock: Kernel generic `sock` object + + Returns: + packet_sock: The kernel's `packet_sock` object + sock_stat: A tuple with the source, destination and state strings. + """ packet_sock = sock.cast("packet_sock") ifindex = packet_sock.ifindex dev_name = self._netdevices.get(ifindex, "") if ifindex > 0 else "ANY" @@ -199,7 +265,16 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return packet_sock, sock_stat - def _xdp_sock(self, sock: objects.StructType): + def _xdp_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + """Handles the AF_XDP socket family + + Args: + sock: Kernel generic `sock` object + + Returns: + xdp_sock: The kernel's `xdp_sock` object + sock_stat: A tuple with the source, destination and state strings. + """ xdp_sock = sock.cast("xdp_sock") device = xdp_sock.dev if not device: @@ -228,7 +303,16 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = saddr_tag, daddr_tag, state return xdp_sock, sock_stat - def _bluetooth_sock(self, sock: objects.StructType): + def _bluetooth_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + """Handles the AF_BLUETOOTH socket family + + Args: + sock: Kernel generic `sock` object + + Returns: + bt_sock: The kernel's `bt_sock` object + sock_stat: A tuple with the source, destination and state strings. + """ bt_sock = sock.cast("bt_sock") def bt_addr(addr): @@ -290,12 +374,26 @@ class Sockstat(plugins.PluginInterface): @classmethod def list_sockets(cls, context: interfaces.context.ContextInterface, - vmlinux_module_name: str, + symbol_table: str, filter_func: Callable[[int], bool] = lambda _: False): + """Returns every single socket descriptor + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + symbol_table: The name of the kernel module on which to operate + filter_func: A function which takes a task object and returns True if the task should be ignored/filtered + + Yields: + task: Kernel's task object + netns_id: Network namespace ID + fd_num: File descriptor number + family: Socket family string (AF_UNIX, AF_INET, etc) + sock_type: Socket type string (STREAM, DGRAM, etc) + protocol: Protocol string (UDP, TCP, etc) + sock_fields: A tuple with the *_sock object, the sock stats and the + extended info dictionary """ - Returns every single socket descriptor - """ - vmlinux = context.modules[vmlinux_module_name] + vmlinux = context.modules[symbol_table] sfop_addr = vmlinux.object_from_symbol("socket_file_ops").vol.offset dfop_addr = vmlinux.object_from_symbol("sockfs_dentry_operations").vol.offset @@ -339,13 +437,31 @@ class Sockstat(plugins.PluginInterface): netns_id = net.get_inode() yield task, netns_id, fd_num, family, sock_type, protocol, sock_fields - def _generator(self, pids, netns_arg, symbol_table): + def _generator(self, pids: List[int], netns_id_arg: int, symbol_table: str): + """Enumerate tasks sockets. Each row represents a kernel socket. + + Args: + pids: List of PIDs to filter. If a empty list or + netns_id_arg: If a network namespace ID is set, it will only show this namespace. + symbol_table: The name of the kernel module on which to operate + + Yields: + netns_id: Network namespace ID + family: Socket family string (AF_UNIX, AF_INET, etc) + sock_type: Socket type string (STREAM, DGRAM, etc) + protocol: Protocol string (UDP, TCP, etc) + source: Source address string + destination: Destination address string + state: State strings (LISTEN, CONNECTED, etc) + tasks: String with a list of tasks and FDs using a socket. It can also have + exteded information such as socket filters, bpf info, etc. + """ filter_func = lsof.pslist.PsList.create_pid_filter(pids) socket_generator = self.list_sockets(self.context, symbol_table, filter_func=filter_func) tasks_per_sock = {} - for task, netns, fd_num, family, sock_type, protocol, sock_fields in socket_generator: - if netns_arg and netns_arg != netns: + for task, netns_id, fd_num, family, sock_type, protocol, sock_fields in socket_generator: + if netns_id_arg and netns_id_arg != netns_id: continue sock, sock_stat, extended = sock_fields @@ -356,8 +472,10 @@ class Sockstat(plugins.PluginInterface): extended_str = ",".join(f"{k}={v}" for k, v in extended.items()) task_info = f"{task_info},{extended_str}" - fields = netns, family, sock_type, protocol, *sock_stat + fields = netns_id, family, sock_type, protocol, *sock_stat + # Each row represents a kernel socket, so let's group the task FDs + # by socket using the socket address sock_addr = sock.vol.offset tasks_per_sock.setdefault(sock_addr, {}) tasks_per_sock[sock_addr].setdefault('tasks', []) @@ -373,7 +491,7 @@ class Sockstat(plugins.PluginInterface): def run(self): pids = self.config.get('pids') - netns = self.config['netns'] + netns_id = self.config['netns'] symbol_table = self.config['kernel'] tree_grid_args = [("NetNS", int), @@ -385,4 +503,4 @@ class Sockstat(plugins.PluginInterface): ("State", str), ("Tasks", str)] - return renderers.TreeGrid(tree_grid_args, self._generator(pids, netns, symbol_table)) + return renderers.TreeGrid(tree_grid_args, self._generator(pids, netns_id, symbol_table)) From 8f8e04da97816a2f3236fdbd7782ad7f0c5b6020 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 21 Dec 2021 15:52:22 +1100 Subject: [PATCH 0021/2186] vfs_inode is not being used nor required --- volatility3/framework/plugins/linux/sockstat.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index a73d5581a..f526d614e 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -416,8 +416,7 @@ class Sockstat(plugins.PluginInterface): socket_alloc = linux.LinuxUtilities.container_of(d_inode, "socket_alloc", "vfs_inode", vmlinux) socket = socket_alloc.socket - vfs_inode = socket_alloc.vfs_inode - if not (socket and vfs_inode): + if not (socket and socket.sk): continue sock = socket.sk.dereference() From b40391ee1f8e5130f52c3716e8e181eedb912cc7 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 17 Feb 2022 11:19:58 +1100 Subject: [PATCH 0022/2186] Returning a starred expression is not yet supported in python 3.6. Fixed --- volatility3/framework/plugins/linux/sockstat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index f526d614e..0346cf7e4 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -80,10 +80,10 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_handler = self._sock_family_handlers.get(family) if sock_handler: try: - sock_fields = sock_handler(sock) + unix_sock, sock_stat = sock_handler(sock) self._update_extended_socket_filters_info(sock, extended) - return *sock_fields, extended + return unix_sock, sock_stat, extended except exceptions.SymbolError as e: # Cannot finds the *_sock type in the symbols vollog.log(constants.LOGLEVEL_V, "Error processing socket family '%s': %s", family, e) From 643a8cc74cada83ec5d6341298c31481a0e40ec4 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 26 Feb 2022 10:14:23 +1100 Subject: [PATCH 0023/2186] Make this method private using just a single leading underscore --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3f286e1a3..c9ad48044 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -565,7 +565,7 @@ class net(objects.StructType): raise AttributeError("Unable to find net_namespace inode") class sock(objects.StructType): - def __get_vol_kernel_module_name(self): + def _get_vol_kernel_module_name(self): symbol_table_arr = self.vol.type_name.split("!", 1) symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None @@ -592,7 +592,7 @@ class sock(objects.StructType): if not self.sk_socket: return 0 - kernel_module_name = self.__get_vol_kernel_module_name() + kernel_module_name = self._get_vol_kernel_module_name() kernel = self._context.modules[kernel_module_name] socket_alloc = linux.LinuxUtilities.container_of(self.sk_socket, "socket_alloc", "socket", kernel) vfs_inode = socket_alloc.vfs_inode From 333bb090cd9700f346ea10ddc4635cc87732e0b3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 29 Apr 2022 10:21:28 +1000 Subject: [PATCH 0024/2186] Minor. Constants regrouped --- volatility3/framework/constants/linux/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index a35b6f02e..550690b90 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -12,6 +12,9 @@ KERNEL_NAME = "__kernel__" PAGE_SHIFT = 12 """The value hard coded from the Linux Kernel (hence not extracted from the layer itself)""" +# include/linux/sched.h +PF_KTHREAD = 0x00200000 # I'm a kernel thread + # Standard well-defined IP protocols. # ref: include/uapi/linux/in.h IP_PROTOCOLS = { @@ -227,6 +230,3 @@ BLUETOOTH_PROTOCOLS = ( "HIDP", "AVDTP", ) - -# include/linux/sched.h -PF_KTHREAD = 0x00200000 # I'm a kernel thread From a17d1617f4b0185edca858f5defa43027a945c62 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 29 Apr 2022 12:08:04 +1000 Subject: [PATCH 0025/2186] Remove author --- volatility3/framework/plugins/linux/sockstat.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 0346cf7e4..fd172fc43 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -1,7 +1,6 @@ # This file is Copyright 2021 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -# Author: Gustavo Moreira import logging from typing import Callable, Tuple, List, Dict From 37d8328a18c6d7ddec5bfa74d1ba436351b8df35 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 29 Apr 2022 12:41:11 +1000 Subject: [PATCH 0026/2186] Adding typing information to container_of() --- .../framework/symbols/linux/__init__.py | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 739ecbedb..347d0b366 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -1,7 +1,7 @@ # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import List, Tuple, Iterator +from typing import List, Tuple, Iterator, Optional from volatility3 import framework from volatility3.framework import exceptions, constants, interfaces, objects @@ -283,9 +283,25 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): list_start = getattr(list_struct, list_member) @classmethod - def container_of(cls, addr, type_name, member_name, vmlinux): + def container_of( + cls, addr: int, type_name: str, member_name: str, vmlinux: interfaces.context.ModuleInterface + ) -> Optional[interfaces.objects.ObjectInterface]: + """Cast a member of a structure out to the containing structure. + It mimicks the Linux kernel macro container_of() see include/linux.kernel.h + + Args: + addr: The pointer to the member. + type_name: The type of the container struct this is embedded in. + member_name: The name of the member within the struct. + vmlinux: The kernel symbols object + + Returns: + The constructed object or None + """ + if not addr: return + type_dec = vmlinux.get_type(type_name) member_offset = type_dec.relative_child_offset(member_name) container_addr = addr - member_offset From 1679769da74163a6821c58b7352f5c0420578773 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 29 Apr 2022 12:58:32 +1000 Subject: [PATCH 0027/2186] Catch exception when it is unable to get the kernel module name --- volatility3/framework/symbols/linux/extensions/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 05a88ba5a..fe495f88d 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -634,7 +634,11 @@ class sock(objects.StructType): if not self.sk_socket: return 0 - kernel_module_name = self._get_vol_kernel_module_name() + try: + kernel_module_name = self._get_vol_kernel_module_name() + except ValueError: + return 0 + kernel = self._context.modules[kernel_module_name] socket_alloc = linux.LinuxUtilities.container_of(self.sk_socket, "socket_alloc", "socket", kernel) vfs_inode = socket_alloc.vfs_inode From f919d29c50a374836a2e934f1efdf2f4b119cc0d Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 30 Apr 2022 14:14:18 +1000 Subject: [PATCH 0028/2186] Changing properties for getters --- .../framework/plugins/linux/sockstat.py | 43 ++++++------ .../symbols/linux/extensions/__init__.py | 68 +++++++------------ 2 files changed, 46 insertions(+), 65 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index fd172fc43..7d4b20da0 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -74,7 +74,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat: A tuple with the source, destination and state strings. extended: A dictionary with key/value extended information. """ - family = sock.family + family = sock.get_family() extended = {} sock_handler = self._sock_family_handlers.get(family) if sock_handler: @@ -144,13 +144,13 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat: A tuple with the source, destination and state strings. """ unix_sock = sock.cast("unix_sock") - state = unix_sock.state - saddr = unix_sock.name - sinode = unix_sock.inode + state = unix_sock.get_state() + saddr = unix_sock.get_name() + sinode = unix_sock.get_inode() if unix_sock.peer != 0: peer = unix_sock.peer.dereference().cast("unix_sock") - daddr = peer.name - dinode = peer.inode + daddr = peer.get_name() + dinode = peer.get_inode() else: daddr = dinode = "" @@ -170,13 +170,13 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat: A tuple with the source, destination and state strings. """ inet_sock = sock.cast("inet_sock") - saddr = inet_sock.src_addr - sport = inet_sock.src_port - daddr = inet_sock.dst_addr - dport = inet_sock.dst_port - state = inet_sock.state + saddr = inet_sock.get_src_addr() + sport = inet_sock.get_src_port() + daddr = inet_sock.get_dst_addr() + dport = inet_sock.get_dst_port() + state = inet_sock.get_state() - if inet_sock.family == "AF_INET6": + if inet_sock.get_family() == "AF_INET6": saddr = f"[{saddr}]" saddr_tag = f"{saddr}:{sport}" @@ -217,7 +217,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): saddr_tag = ",".join(saddr_list) daddr_tag = ",".join(daddr_list) - state = netlink_sock.state + state = netlink_sock.get_state() sock_stat = saddr_tag, daddr_tag, state return netlink_sock, sock_stat @@ -260,7 +260,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): saddr_tag = f"{dev_name}" daddr_tag = "" - state = packet_sock.state + state = packet_sock.get_state() sock_stat = saddr_tag, daddr_tag, state return packet_sock, sock_stat @@ -318,15 +318,16 @@ class SockHandlers(interfaces.configuration.VersionableInterface): return ":".join(reversed(["%02x" % x for x in addr.b])) saddr_tag = daddr_tag = "" - if bt_sock.protocol == "HCI": + bt_protocol = bt_sock.get_protocol() + if bt_protocol == "HCI": pinfo = bt_sock.cast("hci_pinfo") - elif bt_sock.protocol == "L2CAP": + elif bt_protocol == "L2CAP": pinfo = bt_sock.cast("l2cap_pinfo") src_addr = bt_addr(pinfo.chan.src) dst_addr = bt_addr(pinfo.chan.dst) saddr_tag = f"{src_addr}" daddr_tag = f"{dst_addr}" - elif bt_sock.protocol == "RFCOMM": + elif bt_protocol == "RFCOMM": pinfo = bt_sock.cast("rfcomm_pinfo") src_addr = bt_addr(pinfo.src) dst_addr = bt_addr(pinfo.dst) @@ -334,7 +335,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): saddr_tag = f"[{src_addr}]:{channel}" daddr_tag = f"{dst_addr}" else: - vollog.log(constants.LOGLEVEL_V, "Unsupported bluetooth protocol '%s'", bt_sock.protocol) + vollog.log(constants.LOGLEVEL_V, "Unsupported bluetooth protocol '%s'", bt_protocol) state = bt_sock.state sock_stat = saddr_tag, daddr_tag, state @@ -420,8 +421,8 @@ class Sockstat(plugins.PluginInterface): sock = socket.sk.dereference() - sock_type = sock.type - family = sock.family + sock_type = sock.get_type() + family = sock.get_family() sock_handler = SockHandlers(vmlinux, task) sock_fields = sock_handler.process_sock(sock) @@ -429,7 +430,7 @@ class Sockstat(plugins.PluginInterface): continue child_sock = sock_fields[0] - protocol = child_sock.protocol if hasattr(child_sock, "protocol") else "" + protocol = child_sock.get_protocol() net = task.nsproxy.net_ns netns_id = net.get_inode() diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index fe495f88d..80180ad1b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -617,20 +617,17 @@ class sock(objects.StructType): return module_names[0] - @property - def family(self): + def get_family(self): family_idx = self.__sk_common.skc_family if 0 <= family_idx < len(SOCK_FAMILY): return SOCK_FAMILY[family_idx] else: return "UNKNOWN" - @property - def type(self): + def get_type(self): return SOCK_TYPES.get(self.sk_type, "") - @property - def inode(self): + def get_inode(self): if not self.sk_socket: return 0 @@ -646,8 +643,7 @@ class sock(objects.StructType): return vfs_inode.i_ino class unix_sock(objects.StructType): - @property - def name(self): + def get_name(self): if self.addr: sockaddr_un = self.addr.name.cast("sockaddr_un") saddr = str(utility.array_to_string(sockaddr_un.sun_path)) @@ -655,16 +651,14 @@ class unix_sock(objects.StructType): saddr = "" return saddr - @property - def protocol(self): + def get_protocol(self): return "" - @property - def state(self): + def get_state(self): """Return a string representing the sock state.""" # Unix socket states reuse (a subset) of the inet_sock states contants - if self.sk.type == "STREAM": + if self.sk.get_type() == "STREAM": state_idx = self.sk.__sk_common.skc_state if 0 <= state_idx < len(TCP_STATES): state = TCP_STATES[state_idx] @@ -675,33 +669,29 @@ class unix_sock(objects.StructType): return state - @property - def inode(self): - return self.sk.inode + def get_inode(self): + return self.sk.get_inode() class inet_sock(objects.StructType): - @property - def family(self): + def get_family(self): family_idx = self.sk.__sk_common.skc_family if 0 <= family_idx < len(SOCK_FAMILY): return SOCK_FAMILY[family_idx] else: return "UNKNOWN" - @property - def protocol(self): + def get_protocol(self): # If INET6 family and a proto is defined, we use that specific IPv6 protocol. # Otherwise, we use the standard IP protocol. protocol = IP_PROTOCOLS.get(self.sk.sk_protocol, "UNKNOWN") - if self.family == "AF_INET6": + if self.get_family() == "AF_INET6": protocol = IPV6_PROTOCOLS.get(self.sk.sk_protocol, protocol) return protocol - @property - def state(self): + def get_state(self): """Return a string representing the sock state.""" - if self.sk.type == "STREAM": + if self.sk.get_type() == "STREAM": state_idx = self.sk.__sk_common.skc_state if 0 <= state_idx < len(TCP_STATES): state = TCP_STATES[state_idx] @@ -712,14 +702,12 @@ class inet_sock(objects.StructType): return state - @property - def src_port(self): + def get_src_port(self): sport_le = getattr(self, "sport", getattr(self, "inet_sport", None)) if sport_le is not None: return socket.htons(sport_le) - @property - def dst_port(self): + def get_dst_port(self): sk_common = self.sk.__sk_common if hasattr(sk_common, "skc_portpair"): dport_le = sk_common.skc_portpair & 0xffff @@ -734,8 +722,7 @@ class inet_sock(objects.StructType): return socket.htons(dport_le) - @property - def src_addr(self): + def get_src_addr(self): sk_common = self.sk.__sk_common family = sk_common.skc_family if family == socket.AF_INET: @@ -756,8 +743,7 @@ class inet_sock(objects.StructType): addr_bytes = parent_layer.read(saddr.vol.offset, addr_size) return socket.inet_ntop(family, addr_bytes) - @property - def dst_addr(self): + def get_dst_addr(self): sk_common = self.sk.__sk_common family = sk_common.skc_family if family == socket.AF_INET: @@ -782,16 +768,14 @@ class inet_sock(objects.StructType): return socket.inet_ntop(family, addr_bytes) class netlink_sock(objects.StructType): - @property - def protocol(self): + def get_protocol(self): protocol_idx = self.sk.sk_protocol if 0 <= protocol_idx < len(NETLINK_PROTOCOLS): return NETLINK_PROTOCOLS[protocol_idx] else: return "UNKNOWN" - @property - def state(self): + def get_state(self): # Netlink is a datagram-oriented service. We can only have # SOCK_RAW or SOCK_DGRAM socket types. # NOTE: We are overriding the netlink_sock.state member here @@ -800,8 +784,7 @@ class netlink_sock(objects.StructType): class packet_sock(objects.StructType): - @property - def protocol(self): + def get_protocol(self): eth_proto = socket.htons(self.num) if eth_proto == 0: return "" @@ -810,15 +793,13 @@ class packet_sock(objects.StructType): else: return f"0x{eth_proto:x}" - @property - def state(self): + def get_state(self): # Packet socket types are either SOCK_RAW or SOCK_DGRAM. return "UNCONNECTED" class bt_sock(objects.StructType): - @property - def protocol(self): + def get_protocol(self): type_idx = self.sk.sk_protocol if 0 <= type_idx < len(BLUETOOTH_PROTOCOLS): state = BLUETOOTH_PROTOCOLS[type_idx] @@ -827,8 +808,7 @@ class bt_sock(objects.StructType): return state - @property - def state(self): + def get_state(self): state_idx = self.sk.__sk_common.skc_state if 0 <= state_idx < len(BLUETOOTH_STATES): state = BLUETOOTH_STATES[state_idx] From 5f70c7031c107645be93a71d392177c123c60307 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 30 Apr 2022 14:29:52 +1000 Subject: [PATCH 0029/2186] Added kernel 'socket' and 'vsock_sock' struct extensions. This removes hardcoding state in same socket families, taking the information directly from the generic 'socket'. --- .../framework/constants/linux/__init__.py | 10 ++ .../framework/plugins/linux/sockstat.py | 7 +- .../framework/symbols/linux/__init__.py | 2 + .../symbols/linux/extensions/__init__.py | 114 ++++++++++-------- 4 files changed, 83 insertions(+), 50 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 550690b90..0c4d3c376 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -137,6 +137,16 @@ SOCK_FAMILY = ( "AF_XDP", ) +# Socket states +# ref: include/uapi/linux/net.h +SOCKET_STATES = ( + "FREE", + "UNCONNECTED", + "CONNECTING", + "CONNECTED", + "DISCONNECTING" +) + # Netlink protocols # ref: include/uapi/linux/netlink.h NETLINK_PROTOCOLS = ( diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 7d4b20da0..0306bec02 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -92,7 +92,8 @@ class SockHandlers(interfaces.configuration.VersionableInterface): # Even if the sock family is not supported, or the required types # are not present in the symbols, we can still show some general # information about the socket that may be helpful. - saddr_tag = daddr_tag = state = "?" + saddr_tag = daddr_tag = "?" + state = sock.get_state() sock_stat = saddr_tag, daddr_tag, state @@ -237,7 +238,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sport = vsock_sock.local_addr.svm_port daddr = vsock_sock.remote_addr.svm_cid dport = vsock_sock.remote_addr.svm_port - state = "" # Protocol is always 0 + state = vsock_sock.get_state() saddr_tag = f"{saddr}:{sport}" daddr_tag = f"{daddr}:{dport}" @@ -337,7 +338,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): else: vollog.log(constants.LOGLEVEL_V, "Unsupported bluetooth protocol '%s'", bt_protocol) - state = bt_sock.state + state = bt_sock.get_state() sock_stat = saddr_tag, daddr_tag, state return bt_sock, sock_stat diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 347d0b366..977066eac 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -32,10 +32,12 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): # Network self.set_type_class('net', extensions.net) + self.set_type_class('socket', extensions.socket) self.set_type_class('sock', extensions.sock) self.set_type_class('inet_sock', extensions.inet_sock) self.set_type_class('unix_sock', extensions.unix_sock) self.set_type_class('netlink_sock', extensions.netlink_sock) + self.set_type_class('vsock_sock', extensions.vsock_sock) self.set_type_class('packet_sock', extensions.packet_sock) if 'bt_sock' in self.types: self.set_type_class('bt_sock', extensions.bt_sock) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 80180ad1b..644a88632 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -4,7 +4,7 @@ import collections.abc import logging -import socket +import socket as socket_module from typing import Generator, Iterable, Iterator, Optional, Tuple from volatility3.framework import constants @@ -12,7 +12,7 @@ from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATES -from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS +from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES from volatility3.framework import exceptions, objects, interfaces, symbols from volatility3.framework.layers import linear from volatility3.framework.objects import utility @@ -606,8 +606,8 @@ class net(objects.StructType): else: raise AttributeError("Unable to find net_namespace inode") -class sock(objects.StructType): - def _get_vol_kernel_module_name(self): +class socket(objects.StructType): + def _get_vol_kernel(self): symbol_table_arr = self.vol.type_name.split("!", 1) symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None @@ -615,8 +615,29 @@ class sock(objects.StructType): if not module_names: raise ValueError(f"No module using the symbol table {symbol_table}") - return module_names[0] + kernel_module_name = module_names[0] + kernel = self._context.modules[kernel_module_name] + return kernel + def get_inode(self): + try: + kernel = self._get_vol_kernel() + except ValueError: + return 0 + + socket_alloc = linux.LinuxUtilities.container_of(self.vol.offset, "socket_alloc", "socket", kernel) + vfs_inode = socket_alloc.vfs_inode + + return vfs_inode.i_ino + + def get_state(self): + socket_state_idx = self.state + if 0 <= socket_state_idx < len(SOCKET_STATES): + return SOCKET_STATES[socket_state_idx] + else: + return "UNKNOWN" + +class sock(objects.StructType): def get_family(self): family_idx = self.__sk_common.skc_family if 0 <= family_idx < len(SOCK_FAMILY): @@ -631,16 +652,11 @@ class sock(objects.StructType): if not self.sk_socket: return 0 - try: - kernel_module_name = self._get_vol_kernel_module_name() - except ValueError: - return 0 + return self.sk_socket.get_inode() - kernel = self._context.modules[kernel_module_name] - socket_alloc = linux.LinuxUtilities.container_of(self.sk_socket, "socket_alloc", "socket", kernel) - vfs_inode = socket_alloc.vfs_inode - - return vfs_inode.i_ino + def get_state(self): + # Return the generic socket state + return self.sk.sk_socket.get_state() class unix_sock(objects.StructType): def get_name(self): @@ -661,13 +677,12 @@ class unix_sock(objects.StructType): if self.sk.get_type() == "STREAM": state_idx = self.sk.__sk_common.skc_state if 0 <= state_idx < len(TCP_STATES): - state = TCP_STATES[state_idx] + return TCP_STATES[state_idx] else: - state = "UNKNOWN" + return "UNKNOWN" else: - state = "UNCONNECTED" - - return state + # Return the generic socket state + return self.sk.sk_socket.get_state() def get_inode(self): return self.sk.get_inode() @@ -694,18 +709,17 @@ class inet_sock(objects.StructType): if self.sk.get_type() == "STREAM": state_idx = self.sk.__sk_common.skc_state if 0 <= state_idx < len(TCP_STATES): - state = TCP_STATES[state_idx] + return TCP_STATES[state_idx] else: - state = "UNKNOWN" + return "UNKNOWN" else: - state = "UNCONNECTED" - - return state + # Return the generic socket state + return self.sk.sk_socket.get_state() def get_src_port(self): sport_le = getattr(self, "sport", getattr(self, "inet_sport", None)) if sport_le is not None: - return socket.htons(sport_le) + return socket_module.htons(sport_le) def get_dst_port(self): sk_common = self.sk.__sk_common @@ -720,12 +734,12 @@ class inet_sock(objects.StructType): else: return - return socket.htons(dport_le) + return socket_module.htons(dport_le) def get_src_addr(self): sk_common = self.sk.__sk_common family = sk_common.skc_family - if family == socket.AF_INET: + if family == socket_module.AF_INET: addr_size = 4 if hasattr(self, "rcv_saddr"): saddr = self.rcv_saddr @@ -733,7 +747,7 @@ class inet_sock(objects.StructType): saddr = self.inet_rcv_saddr else: saddr = sk_common.skc_rcv_saddr - elif family == socket.AF_INET6: + elif family == socket_module.AF_INET6: addr_size = 16 saddr = self.pinet6.saddr else: @@ -741,12 +755,12 @@ class inet_sock(objects.StructType): parent_layer = self._context.layers[self.vol.layer_name] addr_bytes = parent_layer.read(saddr.vol.offset, addr_size) - return socket.inet_ntop(family, addr_bytes) + return socket_module.inet_ntop(family, addr_bytes) def get_dst_addr(self): sk_common = self.sk.__sk_common family = sk_common.skc_family - if family == socket.AF_INET: + if family == socket_module.AF_INET: if hasattr(self, "daddr") and self.daddr: daddr = self.daddr elif hasattr(self, "inet_daddr") and self.inet_daddr: @@ -754,7 +768,7 @@ class inet_sock(objects.StructType): else: daddr = sk_common.skc_daddr addr_size = 4 - elif family == socket.AF_INET6: + elif family == socket_module.AF_INET6: if hasattr(self.pinet6, "daddr"): daddr = self.pinet6.daddr else: @@ -765,7 +779,7 @@ class inet_sock(objects.StructType): parent_layer = self._context.layers[self.vol.layer_name] addr_bytes = parent_layer.read(daddr.vol.offset, addr_size) - return socket.inet_ntop(family, addr_bytes) + return socket_module.inet_ntop(family, addr_bytes) class netlink_sock(objects.StructType): def get_protocol(self): @@ -776,16 +790,26 @@ class netlink_sock(objects.StructType): return "UNKNOWN" def get_state(self): - # Netlink is a datagram-oriented service. We can only have - # SOCK_RAW or SOCK_DGRAM socket types. - # NOTE: We are overriding the netlink_sock.state member here + # Return the generic socket state + return self.sk.sk_socket.get_state() - return "UNCONNECTED" + +class vsock_sock(objects.StructType): + def get_protocol(self): + # The protocol should always be 0 for vsocks + if self.sk.sk_protocol == 0: + return "" + else: + return "UNKNOWN" + + def get_state(self): + # Return the generic socket state + return self.sk.sk_socket.get_state() class packet_sock(objects.StructType): def get_protocol(self): - eth_proto = socket.htons(self.num) + eth_proto = socket_module.htons(self.num) if eth_proto == 0: return "" elif eth_proto in ETH_PROTOCOLS: @@ -794,25 +818,21 @@ class packet_sock(objects.StructType): return f"0x{eth_proto:x}" def get_state(self): - # Packet socket types are either SOCK_RAW or SOCK_DGRAM. - return "UNCONNECTED" + # Return the generic socket state + return self.sk.sk_socket.get_state() class bt_sock(objects.StructType): def get_protocol(self): type_idx = self.sk.sk_protocol if 0 <= type_idx < len(BLUETOOTH_PROTOCOLS): - state = BLUETOOTH_PROTOCOLS[type_idx] + return BLUETOOTH_PROTOCOLS[type_idx] else: - state = "UNKNOWN" - - return state + return "UNKNOWN" def get_state(self): state_idx = self.sk.__sk_common.skc_state if 0 <= state_idx < len(BLUETOOTH_STATES): - state = BLUETOOTH_STATES[state_idx] + return BLUETOOTH_STATES[state_idx] else: - state = "UNKNOWN" - - return state + return "UNKNOWN" From 9b0b2547d5a69b5ba78416fa3c858a41489e4dde Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 30 Apr 2022 14:37:51 +1000 Subject: [PATCH 0030/2186] Manage invalid address exception when reading src and dst addresses --- .../framework/symbols/linux/extensions/__init__.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 644a88632..53ad48942 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -754,7 +754,12 @@ class inet_sock(objects.StructType): return parent_layer = self._context.layers[self.vol.layer_name] - addr_bytes = parent_layer.read(saddr.vol.offset, addr_size) + try: + addr_bytes = parent_layer.read(saddr.vol.offset, addr_size) + except exceptions.InvalidAddressException: + vollog.debug(f"Unable to read socket src address from {saddr.vol.offset:#x}") + return "?" + return socket_module.inet_ntop(family, addr_bytes) def get_dst_addr(self): @@ -778,7 +783,12 @@ class inet_sock(objects.StructType): return parent_layer = self._context.layers[self.vol.layer_name] - addr_bytes = parent_layer.read(daddr.vol.offset, addr_size) + try: + addr_bytes = parent_layer.read(daddr.vol.offset, addr_size) + except exceptions.InvalidAddressException: + vollog.debug(f"Unable to read socket dst address from {daddr.vol.offset:#x}") + return "?" + return socket_module.inet_ntop(family, addr_bytes) class netlink_sock(objects.StructType): From db9f287cb146052d28ad75f1b9787b0131b46e8a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 30 Apr 2022 15:25:55 +1000 Subject: [PATCH 0031/2186] Unrelated to this PR. Removed unused import. --- volatility3/framework/objects/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index e0f927ec9..e91b0cd4e 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -9,7 +9,7 @@ import struct from typing import Any, ClassVar, Dict, Iterable, List, Optional, Tuple, Type, Union as TUnion, overload from volatility3.framework import constants, interfaces -from volatility3.framework.objects import templates, utility +from volatility3.framework.objects import templates vollog = logging.getLogger(__name__) From 48e29ae530ecfb65fa3311a7547c16ea77f7f5cd Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 29 May 2022 23:44:29 +0100 Subject: [PATCH 0032/2186] CLI: Add support for a configuration options file --- volatility3/cli/__init__.py | 58 ++++++++++++++++++++++------ volatility3/cli/volshell/__init__.py | 51 +++++++++++++++++------- 2 files changed, 83 insertions(+), 26 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 8851e2b18..62be115d3 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -19,7 +19,7 @@ import os import sys import tempfile import traceback -from typing import Any, Dict, Type, Union +from typing import Any, Dict, List, Tuple, Type, Union from urllib import parse, request import volatility3.plugins @@ -92,6 +92,9 @@ class CommandLine: renderers = dict([(x.name.lower(), x) for x in framework.class_subclasses(text_renderer.CLIRenderer)]) + # Load up system defaults + delayed_logs, default_config = self.load_system_defaults('vol.json') + parser = volargparse.HelpfulArgParser(add_help = False, prog = self.CLI_NAME, description = "An open-source memory forensics framework") @@ -174,6 +177,8 @@ class CommandLine: default = False, action = 'store_true') + parser.set_defaults(**default_config) + # We have to filter out help, otherwise parse_known_args will trigger the help message before having # processed the plugin choice or had the plugin subparser added. known_args = [arg for arg in sys.argv if arg != '--help' and arg != '-h'] @@ -184,17 +189,7 @@ class CommandLine: banner_output = sys.stderr banner_output.write(f"Volatility 3 Framework {constants.PACKAGE_VERSION}\n") - if partial_args.plugin_dirs: - volatility3.plugins.__path__ = [os.path.abspath(p) - for p in partial_args.plugin_dirs.split(";")] + constants.PLUGINS_PATH - - if partial_args.symbol_dirs: - volatility3.symbols.__path__ = [os.path.abspath(p) - for p in partial_args.symbol_dirs.split(";")] + constants.SYMBOL_BASEPATHS - - if partial_args.cache_path: - constants.CACHE_PATH = partial_args.cache_path - + ### Start up logging if partial_args.log: file_logger = logging.FileHandler(partial_args.log) file_logger.setLevel(1) @@ -210,6 +205,21 @@ class CommandLine: else: console.setLevel(10 - (partial_args.verbosity - 2)) + for level, msg in delayed_logs: + vollog.log(level, msg) + + ### Alter constants if necessary + if partial_args.plugin_dirs: + volatility3.plugins.__path__ = [os.path.abspath(p) + for p in partial_args.plugin_dirs.split(";")] + constants.PLUGINS_PATH + + if partial_args.symbol_dirs: + volatility3.symbols.__path__ = [os.path.abspath(p) + for p in partial_args.symbol_dirs.split(";")] + constants.SYMBOL_BASEPATHS + + if partial_args.cache_path: + constants.CACHE_PATH = partial_args.cache_path + vollog.info(f"Volatility plugins path: {volatility3.plugins.__path__}") vollog.info(f"Volatility symbols path: {volatility3.symbols.__path__}") @@ -366,6 +376,30 @@ class CommandLine: raise ValueError(f"File does not exist: {filename}") return parse.urlunparse(single_location) + def load_system_defaults(self, filename: str) -> Tuple[List[Tuple[int, str]], Dict[str, Any]]: + """Modify the main configuration based on the default configuration override""" + # Build the config path + default_config_path = os.path.join(os.path.expanduser("~"), ".config", "volatility3", filename) + if sys.platform == 'win32': + default_config_path = os.path.join(os.environ.get("APPDATA", os.path.expanduser("~")), "volatility3", + filename) + + delayed_logs = [] + + # Process it if the files exist + if os.path.exists(default_config_path): + result = json.load(open(default_config_path, 'rb')) + if not isinstance(result, dict): + delayed_logs.append((logging.INFO, + f'Default configuration file {default_config_path} does not contain a dictionary')) + else: + delayed_logs.append( + (logging.INFO, f"Loading default configuration options from {default_config_path}")) + delayed_logs.append((logging.DEBUG, + f"Loaded configuration: {json.dumps(result, indent = 2, sort_keys = True)}")) + return delayed_logs, result + return delayed_logs, {} + def process_exceptions(self, excp): """Provide useful feedback if an exception occurs during a run of a plugin.""" # Ensure there's nothing in the cache diff --git a/volatility3/cli/volshell/__init__.py b/volatility3/cli/volshell/__init__.py index 769e958fd..647be8a1a 100644 --- a/volatility3/cli/volshell/__init__.py +++ b/volatility3/cli/volshell/__init__.py @@ -45,6 +45,9 @@ class VolShell(cli.CommandLine): framework.require_interface_version(2, 0, 0) + # Load up system defaults + delayed_logs, default_config = self.load_system_defaults('volshell.json') + parser = argparse.ArgumentParser(prog = self.CLI_NAME, description = "A tool for interactivate forensic analysis of memory images") parser.add_argument("-c", @@ -68,13 +71,16 @@ class VolShell(cli.CommandLine): default = "", type = str) parser.add_argument("-v", "--verbosity", help = "Increase output verbosity", default = 0, action = "count") + parser.add_argument("--log", + help = "Log output to a file as well as the console", + default = None, + type = str) parser.add_argument("-o", "--output-dir", help = "Directory in which to output any generated files", default = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')), type = str) parser.add_argument("-q", "--quiet", help = "Remove progress feedback", default = False, action = 'store_true') - parser.add_argument("--log", help = "Log output to a file as well as the console", default = None, type = str) parser.add_argument("-f", "--file", metavar = 'FILE', @@ -97,6 +103,10 @@ class VolShell(cli.CommandLine): help = f"Change the default path ({constants.CACHE_PATH}) used to store the cache", default = constants.CACHE_PATH, type = str) + parser.add_argument("--offline", + help = "Do not search online for additional JSON files", + default = False, + action = 'store_true') # Volshell specific flags os_specific = parser.add_mutually_exclusive_group(required = False) @@ -108,10 +118,33 @@ class VolShell(cli.CommandLine): os_specific.add_argument("-l", "--linux", default = False, action = "store_true", help = "Run a Linux volshell") os_specific.add_argument("-m", "--mac", default = False, action = "store_true", help = "Run a Mac volshell") + parser.set_defaults(**default_config) + # We have to filter out help, otherwise parse_known_args will trigger the help message before having # processed the plugin choice or had the plugin subparser added. known_args = [arg for arg in sys.argv if arg != '--help' and arg != '-h'] partial_args, _ = parser.parse_known_args(known_args) + + ### Start up logging + if partial_args.log: + file_logger = logging.FileHandler(partial_args.log) + file_logger.setLevel(1) + file_formatter = logging.Formatter(datefmt = '%y-%m-%d %H:%M:%S', + fmt = '%(asctime)s %(name)-12s %(levelname)-8s %(message)s') + file_logger.setFormatter(file_formatter) + rootlog.addHandler(file_logger) + vollog.info("Logging started") + if partial_args.verbosity < 3: + if partial_args.verbosity < 1: + sys.tracebacklimit = None + console.setLevel(30 - (partial_args.verbosity * 10)) + else: + console.setLevel(10 - (partial_args.verbosity - 2)) + + for level, msg in delayed_logs: + vollog.log(level, msg) + + ### Alter constants if necessary if partial_args.plugin_dirs: volatility3.plugins.__path__ = [os.path.abspath(p) for p in partial_args.plugin_dirs.split(";")] + constants.PLUGINS_PATH @@ -126,23 +159,13 @@ class VolShell(cli.CommandLine): vollog.info(f"Volatility plugins path: {volatility3.plugins.__path__}") vollog.info(f"Volatility symbols path: {volatility3.symbols.__path__}") - if partial_args.log: - file_logger = logging.FileHandler(partial_args.log) - file_logger.setLevel(0) - file_formatter = logging.Formatter(datefmt = '%y-%m-%d %H:%M:%S', - fmt = '%(asctime)s %(name)-12s %(levelname)-8s %(message)s') - file_logger.setFormatter(file_formatter) - vollog.addHandler(file_logger) - vollog.info("Logging started") - - if partial_args.verbosity < 3: - console.setLevel(30 - (partial_args.verbosity * 10)) - else: - console.setLevel(10 - (partial_args.verbosity - 2)) if partial_args.clear_cache: framework.clear_cache() + if partial_args.offline: + constants.OFFLINE = partial_args.offline + # Do the initialization ctx = contexts.Context() # Construct a blank context failures = framework.import_files(volatility3.plugins, From 9ea1a960cdece1c6897735adc58f592f73c44e86 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 30 May 2022 01:34:19 +0100 Subject: [PATCH 0033/2186] CLI: Synchonize volshell code a little better courtesy of @digitalisx --- volatility3/cli/volshell/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/__init__.py b/volatility3/cli/volshell/__init__.py index 647be8a1a..e2e7bc394 100644 --- a/volatility3/cli/volshell/__init__.py +++ b/volatility3/cli/volshell/__init__.py @@ -15,12 +15,14 @@ from volatility3.cli.volshell import generic, linux, mac, windows from volatility3.framework import automagic, constants, contexts, exceptions, interfaces, plugins # Make sure we log everything + +rootlog = logging.getLogger() vollog = logging.getLogger() vollog.setLevel(0) -# Trim the console down by default console = logging.StreamHandler() console.setLevel(logging.WARNING) formatter = logging.Formatter('%(levelname)-8s %(name)-12s: %(message)s') +# Trim the console down by default console.setFormatter(formatter) vollog.addHandler(console) From 2e4c257e15e83b33fb40cd9369c90dac2c1786e9 Mon Sep 17 00:00:00 2001 From: ikelos Date: Mon, 30 May 2022 01:53:07 +0100 Subject: [PATCH 0034/2186] Update volatility3/cli/__init__.py Co-authored-by: Donghyun Kim --- volatility3/cli/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 62be115d3..6881311bf 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -388,7 +388,8 @@ class CommandLine: # Process it if the files exist if os.path.exists(default_config_path): - result = json.load(open(default_config_path, 'rb')) + with open(default_config_path, 'rb') as config_json: + result = json.load(config_json) if not isinstance(result, dict): delayed_logs.append((logging.INFO, f'Default configuration file {default_config_path} does not contain a dictionary')) From dc31ae1ddadf6d4dcbcf4bfd34bc0354cc16febe Mon Sep 17 00:00:00 2001 From: Paul Kermann Date: Tue, 13 Sep 2022 15:21:24 +0300 Subject: [PATCH 0035/2186] Added new containing address flag to vadinfo plugin --- volatility3/framework/plugins/windows/vadinfo.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index e357b150a..3c51263b7 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -52,6 +52,10 @@ class VadInfo(interfaces.plugins.PluginInterface): "(all other address ranges are excluded). This must be " \ "a base address, not an address within the desired range.", optional = True), + requirements.IntRequirement(name='containing-address', + description="Process virtual memory address to include" \ + "This is a containing address in the VAD.", + optional=True), requirements.ListRequirement(name = 'pid', description = 'Filter on specific process IDs', element_type = int, @@ -179,6 +183,13 @@ class VadInfo(interfaces.plugins.PluginInterface): filter_func = filter_function + if self.config.get('containing-address', None) is not None: + + def containing_filter_function(x: interfaces.objects.ObjectInterface) -> bool: + return not (x.get_start() <= self.config['containing-address'] <= x.get_end()) + + filter_func = containing_filter_function + for proc in procs: process_name = utility.array_to_string(proc.ImageFileName) From d9c434da3ff0425551e0fca530d8d63f6db689ec Mon Sep 17 00:00:00 2001 From: Paul Kermann Date: Wed, 28 Sep 2022 11:19:46 +0300 Subject: [PATCH 0036/2186] Removed extra flag --- volatility3/framework/plugins/windows/vadinfo.py | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 3c51263b7..dc7e4dff4 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -49,13 +49,8 @@ class VadInfo(interfaces.plugins.PluginInterface): # TODO: Convert this to a ListRequirement so that people can filter on sets of ranges requirements.IntRequirement(name = 'address', description = "Process virtual memory address to include " \ - "(all other address ranges are excluded). This must be " \ - "a base address, not an address within the desired range.", + "(all other address ranges are excluded).", optional = True), - requirements.IntRequirement(name='containing-address', - description="Process virtual memory address to include" \ - "This is a containing address in the VAD.", - optional=True), requirements.ListRequirement(name = 'pid', description = 'Filter on specific process IDs', element_type = int, @@ -179,17 +174,10 @@ class VadInfo(interfaces.plugins.PluginInterface): if self.config.get('address', None) is not None: def filter_function(x: interfaces.objects.ObjectInterface) -> bool: - return x.get_start() not in [self.config['address']] + return not (x.get_start() <= self.config['address'] <= x.get_end()) filter_func = filter_function - if self.config.get('containing-address', None) is not None: - - def containing_filter_function(x: interfaces.objects.ObjectInterface) -> bool: - return not (x.get_start() <= self.config['containing-address'] <= x.get_end()) - - filter_func = containing_filter_function - for proc in procs: process_name = utility.array_to_string(proc.ImageFileName) From 1f185d0ee2772bfa77fb2bfc60719aca42933b2f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 28 Oct 2022 16:51:03 +1100 Subject: [PATCH 0037/2186] Minor fix comment typo --- volatility3/framework/plugins/linux/sockstat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 0306bec02..29be88309 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -100,7 +100,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): return sock, sock_stat, extended def _update_extended_socket_filters_info(self, sock: objects.Pointer, extended: dict) -> None: - """Get infomation from the socket and reuseport filters + """Get information from the socket and reuseport filters Args: sock: The kernel sock (sk) struct @@ -454,7 +454,7 @@ class Sockstat(plugins.PluginInterface): destination: Destination address string state: State strings (LISTEN, CONNECTED, etc) tasks: String with a list of tasks and FDs using a socket. It can also have - exteded information such as socket filters, bpf info, etc. + extended information such as socket filters, bpf info, etc. """ filter_func = lsof.pslist.PsList.create_pid_filter(pids) socket_generator = self.list_sockets(self.context, symbol_table, filter_func=filter_func) From dfadf5376a0a61a0dc7701014527303cd0d1ad63 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 28 Oct 2022 20:46:08 +1100 Subject: [PATCH 0038/2186] Fix issue with AF_XDP socket family, issues with older kernel versions and other fixes and improvements --- .../framework/plugins/linux/sockstat.py | 31 ++++++++++++------- .../framework/symbols/linux/__init__.py | 30 +++++++++--------- .../symbols/linux/extensions/__init__.py | 26 ++++++++++++---- 3 files changed, 53 insertions(+), 34 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 29be88309..6d50c296d 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -5,7 +5,8 @@ import logging from typing import Callable, Tuple, List, Dict -from volatility3.framework import renderers, interfaces, exceptions, constants, objects +from volatility3.framework import interfaces, exceptions, constants, objects +from volatility3.framework.renderers import TreeGrid, NotAvailableValue from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -92,7 +93,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): # Even if the sock family is not supported, or the required types # are not present in the symbols, we can still show some general # information about the socket that may be helpful. - saddr_tag = daddr_tag = "?" + saddr_tag = daddr_tag = NotAvailableValue() state = sock.get_state() sock_stat = saddr_tag, daddr_tag, state @@ -123,16 +124,22 @@ class SockHandlers(interfaces.configuration.VersionableInterface): return bpfprog = sock_filter.prog + if bpfprog.type == 0: + # BPF_PROG_TYPE_UNSPEC = 0 + return - # BPF_PROG_TYPE_UNSPEC = 0 - if bpfprog.type > 0: - extended["bpf_filter_type"] = "eBPF" - bpfprog_aux = bpfprog.aux - if bpfprog_aux: - extended["bpf_filter_id"] = str(bpfprog_aux.id) - bpfprog_name = utility.array_to_string(bpfprog_aux.name) - if bpfprog_name: - extended["bpf_filter_name"] = bpfprog_name + extended["bpf_filter_type"] = "eBPF" + if not bpfprog.has_member("aux") or not bpfprog.aux: + return + bpfprog_aux = bpfprog.aux + if bpfprog_aux.has_member("id"): + # `id` member was added to `bpf_prog_aux` in kernels 4.13 + extended["bpf_filter_id"] = str(bpfprog_aux.id) + if bpfprog_aux.has_member("name"): + # `name` was added to `bpf_prog_aux` in kernels 4.15 + bpfprog_name = utility.array_to_string(bpfprog_aux.name) + if bpfprog_name: + extended["bpf_filter_name"] = bpfprog_name def _unix_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: """Handles the AF_UNIX socket family @@ -503,4 +510,4 @@ class Sockstat(plugins.PluginInterface): ("State", str), ("Tasks", str)] - return renderers.TreeGrid(tree_grid_args, self._generator(pids, netns_id, symbol_table)) + return TreeGrid(tree_grid_args, self._generator(pids, netns_id, symbol_table)) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index bd8748ec8..1945bb3ef 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -27,8 +27,15 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class('dentry', extensions.dentry) self.set_type_class('fs_struct', extensions.fs_struct) self.set_type_class('files_struct', extensions.files_struct) - self.set_type_class('vfsmount', extensions.vfsmount) self.set_type_class('kobject', extensions.kobject) + # Might not exist in the current symbols + self.optional_set_type_class('module', extensions.module) + + # Mount + self.set_type_class('vfsmount', extensions.vfsmount) + # Might not exist in older kernels or the current symbols + self.optional_set_type_class('mount', extensions.mount) + self.optional_set_type_class('mnt_namespace', extensions.mnt_namespace) # Network self.set_type_class('net', extensions.net) @@ -36,21 +43,12 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class('sock', extensions.sock) self.set_type_class('inet_sock', extensions.inet_sock) self.set_type_class('unix_sock', extensions.unix_sock) - self.set_type_class('netlink_sock', extensions.netlink_sock) - self.set_type_class('vsock_sock', extensions.vsock_sock) - self.set_type_class('packet_sock', extensions.packet_sock) - - if 'bt_sock' in self.types: - self.set_type_class('bt_sock', extensions.bt_sock) - - if 'mnt_namespace' in self.types: - self.set_type_class('mnt_namespace', extensions.mnt_namespace) - - if 'module' in self.types: - self.set_type_class('module', extensions.module) - - if 'mount' in self.types: - self.set_type_class('mount', extensions.mount) + # Might not exist in older kernels or the current symbols + self.optional_set_type_class('netlink_sock', extensions.netlink_sock) + self.optional_set_type_class('vsock_sock', extensions.vsock_sock) + self.optional_set_type_class('packet_sock', extensions.packet_sock) + self.optional_set_type_class('bt_sock', extensions.bt_sock) + self.optional_set_type_class('xdp_sock', extensions.xdp_sock) class LinuxUtilities(interfaces.configuration.VersionableInterface): diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 27fa00a8c..d193200c4 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -16,8 +16,7 @@ from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_ST from volatility3.framework import exceptions, objects, interfaces, symbols from volatility3.framework.layers import linear from volatility3.framework.objects import utility -from volatility3.framework.symbols import generic, linux -from volatility3.framework.symbols import intermed +from volatility3.framework.symbols import generic, linux, intermed from volatility3.framework.symbols.linux.extensions import elf vollog = logging.getLogger(__name__) @@ -840,9 +839,15 @@ class sock(objects.StructType): return self.sk_socket.get_inode() + def get_protocol(self): + return "" + def get_state(self): # Return the generic socket state - return self.sk.sk_socket.get_state() + if self.has_member("sk"): + return self.sk.sk_socket.get_state() + + return self.sk_socket.get_state() class unix_sock(objects.StructType): def get_name(self): @@ -989,7 +994,6 @@ class netlink_sock(objects.StructType): # Return the generic socket state return self.sk.sk_socket.get_state() - class vsock_sock(objects.StructType): def get_protocol(self): # The protocol should always be 0 for vsocks @@ -1002,7 +1006,6 @@ class vsock_sock(objects.StructType): # Return the generic socket state return self.sk.sk_socket.get_state() - class packet_sock(objects.StructType): def get_protocol(self): eth_proto = socket_module.htons(self.num) @@ -1017,7 +1020,6 @@ class packet_sock(objects.StructType): # Return the generic socket state return self.sk.sk_socket.get_state() - class bt_sock(objects.StructType): def get_protocol(self): type_idx = self.sk.sk_protocol @@ -1032,3 +1034,15 @@ class bt_sock(objects.StructType): return BLUETOOTH_STATES[state_idx] else: return "UNKNOWN" + +class xdp_sock(objects.StructType): + def get_protocol(self): + # The protocol should always be 0 for xdp_sock + if self.sk.sk_protocol == 0: + return "" + else: + return "UNKNOWN" + + def get_state(self): + # Return the generic socket state + return self.sk.sk_socket.get_state() From 017fcc05f35314e180c172504c9a176b3a66551b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 29 Oct 2022 12:55:16 +1100 Subject: [PATCH 0039/2186] Split address and port. Fix potential issues in xdp_sock(s) with older kernels. Postpone any kind of formatting to the generator making it more appropriate to be used as a library. --- .../framework/plugins/linux/sockstat.py | 164 +++++++++--------- .../symbols/linux/extensions/__init__.py | 49 ++---- 2 files changed, 100 insertions(+), 113 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 6d50c296d..f927c0c83 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -72,7 +72,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns a tuple with: sock: The respective kernel's *_sock object for that socket family - sock_stat: A tuple with the source, destination and state strings. + sock_stat: A tuple with the source and destination (address and port) along with its state string. extended: A dictionary with key/value extended information. """ family = sock.get_family() @@ -93,10 +93,10 @@ class SockHandlers(interfaces.configuration.VersionableInterface): # Even if the sock family is not supported, or the required types # are not present in the symbols, we can still show some general # information about the socket that may be helpful. - saddr_tag = daddr_tag = NotAvailableValue() + src_addr = src_port = dst_addr = dst_port = None state = sock.get_state() - sock_stat = saddr_tag, daddr_tag, state + sock_stat = src_addr, src_port, dst_addr, dst_port, state return sock, sock_stat, extended @@ -149,22 +149,21 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: unix_sock: The kernel's `unix_sock` object - sock_stat: A tuple with the source, destination and state strings. + sock_stat: A tuple with the source and destination (address and port) along with its state string. """ unix_sock = sock.cast("unix_sock") state = unix_sock.get_state() - saddr = unix_sock.get_name() - sinode = unix_sock.get_inode() - if unix_sock.peer != 0: - peer = unix_sock.peer.dereference().cast("unix_sock") - daddr = peer.get_name() - dinode = peer.get_inode() - else: - daddr = dinode = "" + src_addr = unix_sock.get_name() + src_port = unix_sock.get_inode() - saddr_tag = f"{saddr} {sinode}" - daddr_tag = f"{daddr} {dinode}" - sock_stat = saddr_tag, daddr_tag, state + if unix_sock.peer: + peer = unix_sock.peer.dereference().cast("unix_sock") + dst_addr = peer.get_name() + dst_port = peer.get_inode() + else: + dst_addr = dst_port = None + + sock_stat = src_addr, src_port, dst_addr, dst_port, state return unix_sock, sock_stat def _inet_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: @@ -175,21 +174,16 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: inet_sock: The kernel's `inet_sock` object - sock_stat: A tuple with the source, destination and state strings. + sock_stat: A tuple with the source and destination (address and port) along with its state string. """ inet_sock = sock.cast("inet_sock") - saddr = inet_sock.get_src_addr() - sport = inet_sock.get_src_port() - daddr = inet_sock.get_dst_addr() - dport = inet_sock.get_dst_port() + src_addr = inet_sock.get_src_addr() + src_port = inet_sock.get_src_port() + dst_addr = inet_sock.get_dst_addr() + dst_port = inet_sock.get_dst_port() state = inet_sock.get_state() - if inet_sock.get_family() == "AF_INET6": - saddr = f"[{saddr}]" - - saddr_tag = f"{saddr}:{sport}" - daddr_tag = f"{daddr}:{dport}" - sock_stat = saddr_tag, daddr_tag, state + sock_stat = src_addr, src_port, dst_addr, dst_port, state return inet_sock, sock_stat def _netlink_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: @@ -200,34 +194,26 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: netlink_sock: The kernel's `netlink_sock` object - sock_stat: A tuple with the source, destination and state strings. + sock_stat: A tuple with the source and destination (address and port) along with its state string. """ netlink_sock = sock.cast("netlink_sock") - saddr_list = [] - src_portid = f"portid:{netlink_sock.portid}" - saddr_list.append(src_portid) - if netlink_sock.groups != 0: + src_addr = None + if netlink_sock.groups: groups_bitmap = netlink_sock.groups.dereference() - groups_str = f"groups:0x{groups_bitmap:08x}" - saddr_list.append(groups_str) + src_addr = f"groups:0x{groups_bitmap:08x}" + src_port = netlink_sock.portid - daddr_list = [] - dst_portid = f"portid:{netlink_sock.dst_portid}" - daddr_list.append(dst_portid) - dst_group = f"group:0x{netlink_sock.dst_group:08x}" - daddr_list.append(dst_group) + dst_addr = f"group:0x{netlink_sock.dst_group:08x}" module = netlink_sock.module - if module and netlink_sock.module.name: - module_name_str = utility.array_to_string(netlink_sock.module.name) - module_name = f"lkm:{module_name_str}" - daddr_list.append(module_name) + if module and module.name: + module_name_str = utility.array_to_string(module.name) + dst_addr = f"{dst_addr},lkm:{module_name_str}" + dst_port = netlink_sock.dst_portid - saddr_tag = ",".join(saddr_list) - daddr_tag = ",".join(daddr_list) state = netlink_sock.get_state() - sock_stat = saddr_tag, daddr_tag, state + sock_stat = src_addr, src_port, dst_addr, dst_port, state return netlink_sock, sock_stat def _vsock_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: @@ -238,18 +224,16 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: vsock_sock: The kernel `vsock_sock` object - sock_stat: A tuple with the source, destination and state strings. + sock_stat: A tuple with the source and destination (address and port) along with its state string. """ vsock_sock = sock.cast("vsock_sock") - saddr = vsock_sock.local_addr.svm_cid - sport = vsock_sock.local_addr.svm_port - daddr = vsock_sock.remote_addr.svm_cid - dport = vsock_sock.remote_addr.svm_port + src_addr = vsock_sock.local_addr.svm_cid + src_port = vsock_sock.local_addr.svm_port + dst_addr = vsock_sock.remote_addr.svm_cid + dst_port = vsock_sock.remote_addr.svm_port state = vsock_sock.get_state() - saddr_tag = f"{saddr}:{sport}" - daddr_tag = f"{daddr}:{dport}" - sock_stat = saddr_tag, daddr_tag, state + sock_stat = src_addr, src_port, dst_addr, dst_port, state return vsock_sock, sock_stat def _packet_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: @@ -260,16 +244,17 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: packet_sock: The kernel's `packet_sock` object - sock_stat: A tuple with the source, destination and state strings. + sock_stat: A tuple with the source and destination (address and port) along with its state string. """ packet_sock = sock.cast("packet_sock") ifindex = packet_sock.ifindex - dev_name = self._netdevices.get(ifindex, "") if ifindex > 0 else "ANY" + dev_name = self._netdevices.get(ifindex) if ifindex > 0 else "ANY" - saddr_tag = f"{dev_name}" - daddr_tag = "" + src_addr = dev_name + src_port = dst_addr = dst_port = None state = packet_sock.get_state() - sock_stat = saddr_tag, daddr_tag, state + + sock_stat = src_addr, src_port, dst_addr, dst_port, state return packet_sock, sock_stat def _xdp_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: @@ -280,34 +265,39 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: xdp_sock: The kernel's `xdp_sock` object - sock_stat: A tuple with the source, destination and state strings. + sock_stat: A tuple with the source and destination (address and port) along with its state string. """ xdp_sock = sock.cast("xdp_sock") device = xdp_sock.dev if not device: return - saddr_tag = utility.array_to_string(device.name) + src_addr = utility.array_to_string(device.name) + src_port = dst_addr = dst_port = None bpfprog = device.xdp_prog if not bpfprog: return + if not bpfprog.has_member("aux") or not bpfprog.aux: + return + bpfprog_aux = bpfprog.aux - if bpfprog_aux: + if bpfprog_aux.has_member("id"): + # `id` member was added to `bpf_prog_aux` in kernels 4.13 bpfprog_id = bpfprog_aux.id - daddr_tag = f"ebpf_prog_id:{bpfprog_id}" + dst_port = f"ebpf_prog_id:{bpfprog_id}" + if bpfprog_aux.has_member("name"): + # `name` was added to `bpf_prog_aux` in kernels 4.15 bpf_name = utility.array_to_string(bpfprog_aux.name) if bpf_name: - daddr_tag += f",ebpf_prog_name:{bpf_name}" - else: - daddr_tag = "" + dst_addr = f"ebpf_prog_name:{bpf_name}" # Hallelujah, xdp_sock.state is an enum xsk_state = xdp_sock.state.lookup() state = xsk_state.replace("XSK_", "") - sock_stat = saddr_tag, daddr_tag, state + sock_stat = src_addr, src_port, dst_addr, dst_port, state return xdp_sock, sock_stat def _bluetooth_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: @@ -318,14 +308,14 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: bt_sock: The kernel's `bt_sock` object - sock_stat: A tuple with the source, destination and state strings. + sock_stat: A tuple with the source and destination (address and port) along with its state string. """ bt_sock = sock.cast("bt_sock") def bt_addr(addr): return ":".join(reversed(["%02x" % x for x in addr.b])) - saddr_tag = daddr_tag = "" + src_addr = src_port = dst_addr = dst_port = None bt_protocol = bt_sock.get_protocol() if bt_protocol == "HCI": pinfo = bt_sock.cast("hci_pinfo") @@ -333,20 +323,17 @@ class SockHandlers(interfaces.configuration.VersionableInterface): pinfo = bt_sock.cast("l2cap_pinfo") src_addr = bt_addr(pinfo.chan.src) dst_addr = bt_addr(pinfo.chan.dst) - saddr_tag = f"{src_addr}" - daddr_tag = f"{dst_addr}" elif bt_protocol == "RFCOMM": pinfo = bt_sock.cast("rfcomm_pinfo") src_addr = bt_addr(pinfo.src) dst_addr = bt_addr(pinfo.dst) - channel = pinfo.channel - saddr_tag = f"[{src_addr}]:{channel}" - daddr_tag = f"{dst_addr}" + src_port = pinfo.channel else: vollog.log(constants.LOGLEVEL_V, "Unsupported bluetooth protocol '%s'", bt_protocol) state = bt_sock.get_state() - sock_stat = saddr_tag, daddr_tag, state + + sock_stat = src_addr, src_port, dst_addr, dst_port, state return bt_sock, sock_stat class Sockstat(plugins.PluginInterface): @@ -457,8 +444,10 @@ class Sockstat(plugins.PluginInterface): family: Socket family string (AF_UNIX, AF_INET, etc) sock_type: Socket type string (STREAM, DGRAM, etc) protocol: Protocol string (UDP, TCP, etc) - source: Source address string - destination: Destination address string + source addr: Source address string + source port: Source port string (not all of them are int) + destination addr: Destination address string + destination port: Destination port (not all of them are int) state: State strings (LISTEN, CONNECTED, etc) tasks: String with a list of tasks and FDs using a socket. It can also have extended information such as socket filters, bpf info, etc. @@ -472,6 +461,7 @@ class Sockstat(plugins.PluginInterface): continue sock, sock_stat, extended = sock_fields + sock_stat, protocol = self._format_fields(sock_stat, protocol) task_comm = utility.array_to_string(task.comm) task_info = f"{task_comm},pid={task.pid},fd={fd_num}" @@ -496,6 +486,22 @@ class Sockstat(plugins.PluginInterface): fields = data['fields'] + (tasks,) yield (0, fields) + def _format_fields(self, sock_stat, protocol): + """Prepare the socket fields to be rendered + + Args: + sock_stat: A tuple with the source and destination (address and port) along with its state string. + protocol: Protocol string (UDP, TCP, etc) + + Returns: + `sock_stat` and `protocol` formatted. + """ + sock_stat = [NotAvailableValue() if field is None else str(field) for field in sock_stat] + if protocol is None: + protocol = NotAvailableValue() + + return tuple(sock_stat), protocol + def run(self): pids = self.config.get('pids') netns_id = self.config['netns'] @@ -505,8 +511,10 @@ class Sockstat(plugins.PluginInterface): ("Family", str), ("Type", str), ("Proto", str), - ("Source Addr:Port", str), - ("Destination Addr:Port", str), + ("Source Addr", str), + ("Source Port", str), + ("Destination Addr", str), + ("Destination Port", str), ("State", str), ("Tasks", str)] diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d193200c4..ab0622cf0 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -819,16 +819,12 @@ class socket(objects.StructType): socket_state_idx = self.state if 0 <= socket_state_idx < len(SOCKET_STATES): return SOCKET_STATES[socket_state_idx] - else: - return "UNKNOWN" class sock(objects.StructType): def get_family(self): family_idx = self.__sk_common.skc_family if 0 <= family_idx < len(SOCK_FAMILY): return SOCK_FAMILY[family_idx] - else: - return "UNKNOWN" def get_type(self): return SOCK_TYPES.get(self.sk_type, "") @@ -840,7 +836,7 @@ class sock(objects.StructType): return self.sk_socket.get_inode() def get_protocol(self): - return "" + return def get_state(self): # Return the generic socket state @@ -851,15 +847,15 @@ class sock(objects.StructType): class unix_sock(objects.StructType): def get_name(self): - if self.addr: - sockaddr_un = self.addr.name.cast("sockaddr_un") - saddr = str(utility.array_to_string(sockaddr_un.sun_path)) - else: - saddr = "" + if not self.addr: + return + + sockaddr_un = self.addr.name.cast("sockaddr_un") + saddr = str(utility.array_to_string(sockaddr_un.sun_path)) return saddr def get_protocol(self): - return "" + return def get_state(self): """Return a string representing the sock state.""" @@ -869,8 +865,6 @@ class unix_sock(objects.StructType): state_idx = self.sk.__sk_common.skc_state if 0 <= state_idx < len(TCP_STATES): return TCP_STATES[state_idx] - else: - return "UNKNOWN" else: # Return the generic socket state return self.sk.sk_socket.get_state() @@ -883,15 +877,14 @@ class inet_sock(objects.StructType): family_idx = self.sk.__sk_common.skc_family if 0 <= family_idx < len(SOCK_FAMILY): return SOCK_FAMILY[family_idx] - else: - return "UNKNOWN" def get_protocol(self): # If INET6 family and a proto is defined, we use that specific IPv6 protocol. # Otherwise, we use the standard IP protocol. - protocol = IP_PROTOCOLS.get(self.sk.sk_protocol, "UNKNOWN") + protocol = IP_PROTOCOLS.get(self.sk.sk_protocol) if self.get_family() == "AF_INET6": protocol = IPV6_PROTOCOLS.get(self.sk.sk_protocol, protocol) + return protocol def get_state(self): @@ -901,8 +894,6 @@ class inet_sock(objects.StructType): state_idx = self.sk.__sk_common.skc_state if 0 <= state_idx < len(TCP_STATES): return TCP_STATES[state_idx] - else: - return "UNKNOWN" else: # Return the generic socket state return self.sk.sk_socket.get_state() @@ -949,7 +940,7 @@ class inet_sock(objects.StructType): addr_bytes = parent_layer.read(saddr.vol.offset, addr_size) except exceptions.InvalidAddressException: vollog.debug(f"Unable to read socket src address from {saddr.vol.offset:#x}") - return "?" + return return socket_module.inet_ntop(family, addr_bytes) @@ -978,7 +969,7 @@ class inet_sock(objects.StructType): addr_bytes = parent_layer.read(daddr.vol.offset, addr_size) except exceptions.InvalidAddressException: vollog.debug(f"Unable to read socket dst address from {daddr.vol.offset:#x}") - return "?" + return return socket_module.inet_ntop(family, addr_bytes) @@ -987,8 +978,6 @@ class netlink_sock(objects.StructType): protocol_idx = self.sk.sk_protocol if 0 <= protocol_idx < len(NETLINK_PROTOCOLS): return NETLINK_PROTOCOLS[protocol_idx] - else: - return "UNKNOWN" def get_state(self): # Return the generic socket state @@ -997,10 +986,7 @@ class netlink_sock(objects.StructType): class vsock_sock(objects.StructType): def get_protocol(self): # The protocol should always be 0 for vsocks - if self.sk.sk_protocol == 0: - return "" - else: - return "UNKNOWN" + return def get_state(self): # Return the generic socket state @@ -1010,7 +996,7 @@ class packet_sock(objects.StructType): def get_protocol(self): eth_proto = socket_module.htons(self.num) if eth_proto == 0: - return "" + return elif eth_proto in ETH_PROTOCOLS: return ETH_PROTOCOLS[eth_proto] else: @@ -1025,23 +1011,16 @@ class bt_sock(objects.StructType): type_idx = self.sk.sk_protocol if 0 <= type_idx < len(BLUETOOTH_PROTOCOLS): return BLUETOOTH_PROTOCOLS[type_idx] - else: - return "UNKNOWN" def get_state(self): state_idx = self.sk.__sk_common.skc_state if 0 <= state_idx < len(BLUETOOTH_STATES): return BLUETOOTH_STATES[state_idx] - else: - return "UNKNOWN" class xdp_sock(objects.StructType): def get_protocol(self): # The protocol should always be 0 for xdp_sock - if self.sk.sk_protocol == 0: - return "" - else: - return "UNKNOWN" + return def get_state(self): # Return the generic socket state From 25ceccb65b8695d60a6bfd3ecb999803ea128ab1 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 31 Oct 2022 15:42:47 +1100 Subject: [PATCH 0040/2186] Improve and fix issues in bluetooth family. Disaggregate pid, fds, and socket address to new columns. Removed task association by socket address feature. --- .../framework/plugins/linux/sockstat.py | 175 ++++++++++-------- .../symbols/linux/extensions/__init__.py | 4 +- 2 files changed, 96 insertions(+), 83 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index f927c0c83..ad3eee01f 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -6,7 +6,7 @@ import logging from typing import Callable, Tuple, List, Dict from volatility3.framework import interfaces, exceptions, constants, objects -from volatility3.framework.renderers import TreeGrid, NotAvailableValue +from volatility3.framework.renderers import TreeGrid, NotAvailableValue, format_hints from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -72,18 +72,18 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns a tuple with: sock: The respective kernel's *_sock object for that socket family - sock_stat: A tuple with the source and destination (address and port) along with its state string. - extended: A dictionary with key/value extended information. + sock_stat: A tuple with the source and destination (address and port) along with its state string + socket_filter: A dictionary with information about the socket filter """ family = sock.get_family() - extended = {} + socket_filter = {} sock_handler = self._sock_family_handlers.get(family) if sock_handler: try: unix_sock, sock_stat = sock_handler(sock) - self._update_extended_socket_filters_info(sock, extended) + self._update_socket_filters_info(sock, socket_filter) - return unix_sock, sock_stat, extended + return unix_sock, sock_stat, socket_filter except exceptions.SymbolError as e: # Cannot finds the *_sock type in the symbols vollog.log(constants.LOGLEVEL_V, "Error processing socket family '%s': %s", family, e) @@ -98,27 +98,32 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = src_addr, src_port, dst_addr, dst_port, state - return sock, sock_stat, extended + return sock, sock_stat, socket_filter - def _update_extended_socket_filters_info(self, sock: objects.Pointer, extended: dict) -> None: + def _update_socket_filters_info(self, sock: objects.Pointer, socket_filter: dict) -> None: """Get information from the socket and reuseport filters Args: sock: The kernel sock (sk) struct - extended: Dictionary to store extended information + socket_filter: A dictionary with information about the socket filter """ if sock.has_member("sk_filter") and sock.sk_filter: sock_filter = sock.sk_filter - extended["filter_type"] = "socket_filter" - self._extract_socket_filter_info(sock_filter, extended) + socket_filter["filter_type"] = "socket_filter" + self._extract_socket_filter_info(sock_filter, socket_filter) if sock.has_member("sk_reuseport_cb") and sock.sk_reuseport_cb: sock_reuseport_cb = sock.sk_reuseport_cb - extended["filter_type"] = "reuseport_filter" - self._extract_socket_filter_info(sock_reuseport_cb, extended) + socket_filter["filter_type"] = "reuseport_filter" + self._extract_socket_filter_info(sock_reuseport_cb, socket_filter) - def _extract_socket_filter_info(self, sock_filter: objects.Pointer, extended: dict) -> None: - extended["bpf_filter_type"] = "cBPF" + def _extract_socket_filter_info(self, sock_filter: objects.Pointer, socket_filter: dict) -> None: + """Get specific information for each type of filter + + Args: + socket_filter: A dictionary with information about the socket filter + """ + socket_filter["bpf_filter_type"] = "cBPF" if not sock_filter.has_member("prog") or not sock_filter.prog: return @@ -128,18 +133,18 @@ class SockHandlers(interfaces.configuration.VersionableInterface): # BPF_PROG_TYPE_UNSPEC = 0 return - extended["bpf_filter_type"] = "eBPF" + socket_filter["bpf_filter_type"] = "eBPF" if not bpfprog.has_member("aux") or not bpfprog.aux: return bpfprog_aux = bpfprog.aux if bpfprog_aux.has_member("id"): # `id` member was added to `bpf_prog_aux` in kernels 4.13 - extended["bpf_filter_id"] = str(bpfprog_aux.id) + socket_filter["bpf_filter_id"] = str(bpfprog_aux.id) if bpfprog_aux.has_member("name"): # `name` was added to `bpf_prog_aux` in kernels 4.15 bpfprog_name = utility.array_to_string(bpfprog_aux.name) if bpfprog_name: - extended["bpf_filter_name"] = bpfprog_name + socket_filter["bpf_filter_name"] = bpfprog_name def _unix_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: """Handles the AF_UNIX socket family @@ -149,7 +154,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: unix_sock: The kernel's `unix_sock` object - sock_stat: A tuple with the source and destination (address and port) along with its state string. + sock_stat: A tuple with the source and destination (address and port) along with its state string """ unix_sock = sock.cast("unix_sock") state = unix_sock.get_state() @@ -174,7 +179,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: inet_sock: The kernel's `inet_sock` object - sock_stat: A tuple with the source and destination (address and port) along with its state string. + sock_stat: A tuple with the source and destination (address and port) along with its state string """ inet_sock = sock.cast("inet_sock") src_addr = inet_sock.get_src_addr() @@ -194,7 +199,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: netlink_sock: The kernel's `netlink_sock` object - sock_stat: A tuple with the source and destination (address and port) along with its state string. + sock_stat: A tuple with the source and destination (address and port) along with its state string """ netlink_sock = sock.cast("netlink_sock") @@ -224,7 +229,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: vsock_sock: The kernel `vsock_sock` object - sock_stat: A tuple with the source and destination (address and port) along with its state string. + sock_stat: A tuple with the source and destination (address and port) along with its state string """ vsock_sock = sock.cast("vsock_sock") src_addr = vsock_sock.local_addr.svm_cid @@ -244,7 +249,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: packet_sock: The kernel's `packet_sock` object - sock_stat: A tuple with the source and destination (address and port) along with its state string. + sock_stat: A tuple with the source and destination (address and port) along with its state string """ packet_sock = sock.cast("packet_sock") ifindex = packet_sock.ifindex @@ -265,7 +270,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: xdp_sock: The kernel's `xdp_sock` object - sock_stat: A tuple with the source and destination (address and port) along with its state string. + sock_stat: A tuple with the source and destination (address and port) along with its state string """ xdp_sock = sock.cast("xdp_sock") device = xdp_sock.dev @@ -293,8 +298,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): if bpf_name: dst_addr = f"ebpf_prog_name:{bpf_name}" - # Hallelujah, xdp_sock.state is an enum - xsk_state = xdp_sock.state.lookup() + xsk_state = xdp_sock.get_state() state = xsk_state.replace("XSK_", "") sock_stat = src_addr, src_port, dst_addr, dst_port, state @@ -308,7 +312,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): Returns: bt_sock: The kernel's `bt_sock` object - sock_stat: A tuple with the source and destination (address and port) along with its state string. + sock_stat: A tuple with the source and destination (address and port) along with its state string """ bt_sock = sock.cast("bt_sock") @@ -318,16 +322,37 @@ class SockHandlers(interfaces.configuration.VersionableInterface): src_addr = src_port = dst_addr = dst_port = None bt_protocol = bt_sock.get_protocol() if bt_protocol == "HCI": - pinfo = bt_sock.cast("hci_pinfo") + if self._vmlinux.has_type("hci_pinfo"): + pinfo = bt_sock.cast("hci_pinfo") + if pinfo.has_member("hdev") and self._vmlinux.has_type("hci_dev") \ + and pinfo.hdev.has_member("dev_name"): + src_addr = utility.array_to_string(pinfo.hdev.dev_name) + else: + vollog.log(constants.LOGLEVEL_V, "Type definition for 'hci_pinfo' is not available in the symbols") elif bt_protocol == "L2CAP": - pinfo = bt_sock.cast("l2cap_pinfo") - src_addr = bt_addr(pinfo.chan.src) - dst_addr = bt_addr(pinfo.chan.dst) + if self._vmlinux.has_type("l2cap_pinfo"): + pinfo = bt_sock.cast("l2cap_pinfo") + src_addr = bt_addr(pinfo.chan.src) + dst_addr = bt_addr(pinfo.chan.dst) + src_port = pinfo.chan.sport + dst_port = pinfo.chan.psm + else: + vollog.log(constants.LOGLEVEL_V, "Type definition for 'l2cap_pinfo' is not available in the symbols") elif bt_protocol == "RFCOMM": - pinfo = bt_sock.cast("rfcomm_pinfo") - src_addr = bt_addr(pinfo.src) - dst_addr = bt_addr(pinfo.dst) - src_port = pinfo.channel + if self._vmlinux.has_type("rfcomm_pinfo"): + pinfo = bt_sock.cast("rfcomm_pinfo") + src_addr = bt_addr(pinfo.src) + dst_addr = bt_addr(pinfo.dst) + src_port = pinfo.channel + else: + vollog.log(constants.LOGLEVEL_V, "Type definition for 'rfcomm_pinfo' is not available in the symbols") + elif bt_protocol == "SCO": + if self._vmlinux.has_type("sco_pinfo"): + pinfo = bt_sock.cast("sco_pinfo") + src_addr = bt_addr(pinfo.src) + dst_addr = bt_addr(pinfo.dst) + else: + vollog.log(constants.LOGLEVEL_V, "Type definition for 'sco_pinfo' is not available in the symbols") else: vollog.log(constants.LOGLEVEL_V, "Unsupported bluetooth protocol '%s'", bt_protocol) @@ -431,6 +456,22 @@ class Sockstat(plugins.PluginInterface): netns_id = net.get_inode() yield task, netns_id, fd_num, family, sock_type, protocol, sock_fields + def _format_fields(self, sock_stat, protocol): + """Prepare the socket fields to be rendered + + Args: + sock_stat: A tuple with the source and destination (address and port) along with its state string + protocol: Protocol string (UDP, TCP, etc) + + Returns: + `sock_stat` and `protocol` formatted. + """ + sock_stat = [NotAvailableValue() if field is None else str(field) for field in sock_stat] + if protocol is None: + protocol = NotAvailableValue() + + return tuple(sock_stat), protocol + def _generator(self, pids: List[int], netns_id_arg: int, symbol_table: str): """Enumerate tasks sockets. Each row represents a kernel socket. @@ -455,7 +496,6 @@ class Sockstat(plugins.PluginInterface): filter_func = lsof.pslist.PsList.create_pid_filter(pids) socket_generator = self.list_sockets(self.context, symbol_table, filter_func=filter_func) - tasks_per_sock = {} for task, netns_id, fd_num, family, sock_type, protocol, sock_fields in socket_generator: if netns_id_arg and netns_id_arg != netns_id: continue @@ -463,59 +503,32 @@ class Sockstat(plugins.PluginInterface): sock, sock_stat, extended = sock_fields sock_stat, protocol = self._format_fields(sock_stat, protocol) - task_comm = utility.array_to_string(task.comm) - task_info = f"{task_comm},pid={task.pid},fd={fd_num}" - if extended: - extended_str = ",".join(f"{k}={v}" for k, v in extended.items()) - task_info = f"{task_info},{extended_str}" + socket_filter_str = ",".join(f"{k}={v}" for k, v in extended.items()) if extended else NotAvailableValue() - fields = netns_id, family, sock_type, protocol, *sock_stat + fields = (netns_id, task.pid, fd_num, format_hints.Hex(sock.vol.offset), + family, sock_type, protocol, *sock_stat, socket_filter_str) - # Each row represents a kernel socket, so let's group the task FDs - # by socket using the socket address - sock_addr = sock.vol.offset - tasks_per_sock.setdefault(sock_addr, {}) - tasks_per_sock[sock_addr].setdefault('tasks', []) - tasks_per_sock[sock_addr]['tasks'].append(task_info) - tasks_per_sock[sock_addr]['fields'] = fields - - for data in tasks_per_sock.values(): - task_list = [f"({task})" for task in data['tasks']] - tasks = ",".join(task_list) - - fields = data['fields'] + (tasks,) yield (0, fields) - def _format_fields(self, sock_stat, protocol): - """Prepare the socket fields to be rendered - - Args: - sock_stat: A tuple with the source and destination (address and port) along with its state string. - protocol: Protocol string (UDP, TCP, etc) - - Returns: - `sock_stat` and `protocol` formatted. - """ - sock_stat = [NotAvailableValue() if field is None else str(field) for field in sock_stat] - if protocol is None: - protocol = NotAvailableValue() - - return tuple(sock_stat), protocol - def run(self): pids = self.config.get('pids') netns_id = self.config['netns'] symbol_table = self.config['kernel'] - tree_grid_args = [("NetNS", int), - ("Family", str), - ("Type", str), - ("Proto", str), - ("Source Addr", str), - ("Source Port", str), - ("Destination Addr", str), - ("Destination Port", str), - ("State", str), - ("Tasks", str)] + tree_grid_args = [ + ("NetNS", int), + ("Pid", int), + ("FD", int), + ("Sock Offset", format_hints.Hex), + ("Family", str), + ("Type", str), + ("Proto", str), + ("Source Addr", str), + ("Source Port", str), + ("Destination Addr", str), + ("Destination Port", str), + ("State", str), + ("Filter", str), + ] return TreeGrid(tree_grid_args, self._generator(pids, netns_id, symbol_table)) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index ab0622cf0..c26d68b0e 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1023,5 +1023,5 @@ class xdp_sock(objects.StructType): return def get_state(self): - # Return the generic socket state - return self.sk.sk_socket.get_state() + # xdp_sock.state is an enum + return self.state.lookup() From 0b33a79dc6465884105a60cb3d2054c61885a2eb Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 2 Nov 2022 21:10:51 +0000 Subject: [PATCH 0041/2186] Report IRP entries that point inside a hidden module. This is a common rootkit technique. --- volatility3/framework/plugins/windows/driverirp.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/volatility3/framework/plugins/windows/driverirp.py b/volatility3/framework/plugins/windows/driverirp.py index 7f9bc6b08..4013bdb8f 100644 --- a/volatility3/framework/plugins/windows/driverirp.py +++ b/volatility3/framework/plugins/windows/driverirp.py @@ -48,7 +48,10 @@ class DriverIrp(interfaces.plugins.PluginInterface): for i, address in enumerate(driver.MajorFunction): module_symbols = collection.get_module_symbols_by_absolute_location(address) + module_found = False + for module_name, symbol_generator in module_symbols: + module_found = True symbols_found = False for symbol in symbol_generator: @@ -60,6 +63,11 @@ class DriverIrp(interfaces.plugins.PluginInterface): yield (0, (format_hints.Hex(driver.vol.offset), driver_name, MAJOR_FUNCTIONS[i], format_hints.Hex(address), module_name, renderers.NotAvailableValue())) + if not module_found: + yield (0, (format_hints.Hex(driver.vol.offset), driver_name, MAJOR_FUNCTIONS[i], + format_hints.Hex(address), renderers.NotAvailableValue(), renderers.NotAvailableValue())) + + def run(self): return renderers.TreeGrid([ From b5c3ab171e4d3554e39efd8a07dbd9f5dceafccc Mon Sep 17 00:00:00 2001 From: cpuu Date: Sat, 19 Nov 2022 15:01:39 +0900 Subject: [PATCH 0042/2186] Add macos tutorial --- doc/source/getting-started-macos-tutorial.rst | 152 ++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 doc/source/getting-started-macos-tutorial.rst diff --git a/doc/source/getting-started-macos-tutorial.rst b/doc/source/getting-started-macos-tutorial.rst new file mode 100644 index 000000000..6dd144ac3 --- /dev/null +++ b/doc/source/getting-started-macos-tutorial.rst @@ -0,0 +1,152 @@ +macOS Tutorial +============== + +This guide will give you a brief overview of how volatility3 works as well as a demonstration of several of the plugins available in the suite. + +Acquiring memory +---------------- + +Volatility3 does not provide the ability to acquire memory. The example below is an open source tool. Other commercial tools are also available. + +* `osxpmem `_ + + + +Procedure to create symbol tables for macOS +-------------------------------------------- + +To create a symbol table please refer to :ref:`symbol-tables:Mac or Linux symbol tables`. + +.. tip:: It may be possible to locate pre-made ISF files from the `download link `_ , + which is built and maintained by `volatilityfoundation `_. + After creating the file or downloading it from the link, place the file under the directory ``volatility3/symbols/mac``. + If necessary create a mac directory under the symbols directory (this will become unnecessary in future versions). + + +Listing plugins +--------------- + +The following is a sample of the macOS plugins available for volatility3, it is not complete and more more plugins may +be added. For a complete reference, please see the volatility 3 :doc:`list of plugins `. +For plugin requests, please create an issue with a description of the requested plugin. + +.. code-block:: shell-session + + $ python3 vol.py --help | grep -i mac. | head -n 5 + mac.bash.Bash Recovers bash command history from memory. + mac.check_syscall.Check_syscall + mac.check_sysctl.Check_sysctl + mac.check_trap_table.Check_trap_table + +.. note:: Here the the command is piped to grep and head in-order to provide the start of the list of macOS plugins. + + +Using plugins +------------- + +The following is the syntax to run the volatility CLI. + +.. code-block:: shell-session + + $ python3 vol.py -f + + +Example +------- + +banners +~~~~~~~ + +In this example we will be using a memory dump from the Securinets CTF Quals 2019 Challenge called Contact_me. We will limit the discussion to memory forensics with volatility 3 and not extend it to other parts of the challenge. +Thanks go to `stuxnet `_ for providing this memory dump and `writeup `_. + + +.. code-block:: shell-session + + $ python3 vol.py -f contact_me banners.Banners + + Volatility 3 Framework 2.1.0 + + Progress: 100.00 PDB scanning finished + Offset Banner + + 0x4d2c7d0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 + 0xb42b180 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 + 0xcda9100 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 + 0x1275e7d0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 + 0x1284fba4 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 + 0x34ad0180 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 + + +The above command helps us to find the memory dump's Darwin kernel version. Now using the above banner we can search for the needed ISF file. +If ISF file cannot be found then, follow the instructions on :ref:`getting-started-macos-tutorial:Procedure to create symbol tables for macOS`. After that, place the ISF file under the ``volatility3/symbols/mac`` directory. + +linux.pslist +~~~~~~~~~~~~ + +.. code-block:: shell-session + + $ python3 vol.py -f contact_me mac.pslist + + Volatility 3 Framework 2.1.0 Stacking attempts finished + + PID PPID COMM + + 0 0 kernel_task + 1 0 launchd + 35 1 UserEventAgent + 38 1 kextd + 39 1 fseventsd + 37 1 uninstalld + 45 1 configd + 46 1 powerd + 52 1 logd + 58 1 warmd + ..... + +``mac.pslist`` helps us to list the processes which are running, their PIDs and PPIDs. + +mac.pstree +~~~~~~~~~~~~ + +.. code-block:: shell-session + + $ python3 vol.py -f contact_me mac.pstree + Volatility 3 Framework 2.1.0 + Progress: 100.00 Stacking attempts finished + PID PPID COMM + + 35 1 UserEventAgent + 38 1 kextd + 39 1 fseventsd + 37 1 uninstalld + 204 1 softwareupdated + * 449 204 SoftwareUpdateCo + 337 1 system_installd + * 455 337 update_dyld_shar + +``mac.pstree`` helps us to display the parent child relationships between processes. + +mac.ifconfig +~~~~~~~~~~ + +we can use the ``mac.ifconfig`` plugin to get information about the configuration of the network interfaces of the host under investigation. +.. code-block:: shell-session + + $ python3 vol.py -f contact_me mac.ifconfig + + Volatility 3 Framework 2.1.0 + Progress: 100.00 Stacking attempts finished + Interface IP Address Mac Address Promiscuous + + lo0 False + lo0 127.0.0.1 False + lo0 ::1 False + lo0 fe80:1::1 False + gif0 False + stf0 False + en0 00:0C:29:89:8B:F0 00:0C:29:89:8B:F0 False + en0 fe80:4::10fb:c89d:217f:52ae 00:0C:29:89:8B:F0 False + en0 192.168.140.128 00:0C:29:89:8B:F0 False + utun0 False + utun0 fe80:5::2a95:bb15:87e3:977c False From 17bcc8d47e372e5066d07b98b0059d1d2b7ee548 Mon Sep 17 00:00:00 2001 From: cpuu Date: Sat, 19 Nov 2022 23:11:45 +0900 Subject: [PATCH 0043/2186] typo --- doc/source/getting-started-macos-tutorial.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/source/getting-started-macos-tutorial.rst b/doc/source/getting-started-macos-tutorial.rst index 6dd144ac3..0d95a1700 100644 --- a/doc/source/getting-started-macos-tutorial.rst +++ b/doc/source/getting-started-macos-tutorial.rst @@ -131,6 +131,8 @@ mac.ifconfig ~~~~~~~~~~ we can use the ``mac.ifconfig`` plugin to get information about the configuration of the network interfaces of the host under investigation. + + .. code-block:: shell-session $ python3 vol.py -f contact_me mac.ifconfig From 53870c64d1553e43e283bff3fbc08cc0249d4d0e Mon Sep 17 00:00:00 2001 From: cpuu Date: Sat, 19 Nov 2022 23:15:29 +0900 Subject: [PATCH 0044/2186] Add macos tutorial --- doc/source/getting-started-macos-tutorial.rst | 2 +- doc/source/index.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/getting-started-macos-tutorial.rst b/doc/source/getting-started-macos-tutorial.rst index 0d95a1700..76f77d0f3 100644 --- a/doc/source/getting-started-macos-tutorial.rst +++ b/doc/source/getting-started-macos-tutorial.rst @@ -17,7 +17,7 @@ Procedure to create symbol tables for macOS To create a symbol table please refer to :ref:`symbol-tables:Mac or Linux symbol tables`. -.. tip:: It may be possible to locate pre-made ISF files from the `download link `_ , +.. tip:: It may be possible to locate pre-made ISF files from the `download link `_ , which is built and maintained by `volatilityfoundation `_. After creating the file or downloading it from the link, place the file under the directory ``volatility3/symbols/mac``. If necessary create a mac directory under the symbols directory (this will become unnecessary in future versions). diff --git a/doc/source/index.rst b/doc/source/index.rst index 9b1d05858..e096731c7 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -26,6 +26,7 @@ There is also some information to get you started quickly: getting-started-linux-tutorial getting-started-windows-tutorial + getting-started-macos-tutorial .. toctree:: From fc0fa30f9e3fda0479f0fd9761b33550d705ecc2 Mon Sep 17 00:00:00 2001 From: cpuu Date: Sun, 20 Nov 2022 10:18:47 +0900 Subject: [PATCH 0045/2186] Update doc/source/getting-started-macos-tutorial.rst Co-authored-by: Donghyun Kim --- doc/source/getting-started-macos-tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting-started-macos-tutorial.rst b/doc/source/getting-started-macos-tutorial.rst index 76f77d0f3..bc0cb1b92 100644 --- a/doc/source/getting-started-macos-tutorial.rst +++ b/doc/source/getting-started-macos-tutorial.rst @@ -81,7 +81,7 @@ Thanks go to `stuxnet `_ for providing this memo The above command helps us to find the memory dump's Darwin kernel version. Now using the above banner we can search for the needed ISF file. If ISF file cannot be found then, follow the instructions on :ref:`getting-started-macos-tutorial:Procedure to create symbol tables for macOS`. After that, place the ISF file under the ``volatility3/symbols/mac`` directory. -linux.pslist +mac.pslist ~~~~~~~~~~~~ .. code-block:: shell-session From 92c7b3e5500b03fa68d8893204b31f50cef7b4dc Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 9 Dec 2022 15:37:20 +0000 Subject: [PATCH 0046/2186] add linux envars --- volatility3/framework/plugins/linux/envars.py | 110 ++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 volatility3/framework/plugins/linux/envars.py diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py new file mode 100644 index 000000000..b62400c45 --- /dev/null +++ b/volatility3/framework/plugins/linux/envars.py @@ -0,0 +1,110 @@ +# This file is Copyright 2022 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging + +from volatility3.framework import exceptions, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.objects import utility +from volatility3.plugins.linux import pslist + +vollog = logging.getLogger(__name__) + +class Envars(plugins.PluginInterface): + """Lists processes with their environment variables""" + + _required_framework_version = (2, 0, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.ListRequirement( + name="pid", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + ] + + def _generator(self, tasks): + """Generates a listing of processes along with environment variables""" + + # walk the process list and return the envars + for task in tasks: + pid = task.pid + + # get process name as string + name = utility.array_to_string(task.comm) + + # try and get task parent + try: + ppid = task.parent.pid + except exceptions.InvalidAddressException: + vollog.debug(f"Unable to read parent pid for task {pid} {name}, setting ppid to 0.") + ppid = 0 + + # kernel threads never have an mm as they do not have userland mappings + try: + mm = task.mm + except exceptions.InvalidAddressException: + # no mm so cannot get envars + vollog.debug(f"Unable to access mm for task {pid} {name} it is likely a kernel thread, will not extract any envars.") + mm = None + continue + + # if mm exists attempt to get envars + if mm: + + # get process layer to read envars from + proc_layer_name = task.add_process_layer() + if proc_layer_name is None: + vollog.debug(f"Unable to construct process layer for task {pid} {name}, will not extract any envars.") + continue + proc_layer = self.context.layers[proc_layer_name] + + + # get the size of the envars with sanity checking + envars_size = task.mm.env_end - task.mm.env_start + if not (0 < envars_size <= 8192): + vollog.debug(f"Task {pid} {name} appears to have envars of size {envars_size} bytes which fails the sanity checking, will not extract any envars.") + continue + + # attempt to read all envars data + try: + envar_data = proc_layer.read(task.mm.env_start, envars_size) + except exceptions.InvalidAddressException: + vollog.debug(f"Unable to read full envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)} for {envars_size} bytes, will not extract any envars.") + continue + + # parse envar data, envars are null terminated, keys and values are separated by '=' + envar_data = envar_data.rstrip(b'\x00') + for envar_pair in envar_data.split(b'\x00'): + try: + key, value = envar_pair.decode().split('=', 1) + except ValueError: + vollog.debug(f"Unable to extract envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)}, they don't appear to be '=' separated") + continue + yield (0, (pid, ppid, name, key, value)) + + def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + return renderers.TreeGrid( + [("PID", int), ("PPID", int), ("COMM", str), ("KEY", str), ("VALUE", str)], + self._generator( + pslist.PsList.list_tasks( + self.context, self.config["kernel"], filter_func=filter_func + ) + ), + ) From 53b24d33e0d3c63fec59d23bf553f35bfff92580 Mon Sep 17 00:00:00 2001 From: Eve Date: Tue, 13 Dec 2022 09:59:09 +0000 Subject: [PATCH 0047/2186] First attempt at adding a --dump option to linux.proc, aim to be similar to windows.vadinfo --dump --- volatility3/framework/plugins/linux/proc.py | 143 +++++++++++++++++++- 1 file changed, 141 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index 9d8af482e..6d182ff9e 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -4,18 +4,23 @@ """A module containing a collection of plugins that produce data typically found in Linux's /proc file system.""" -from volatility3.framework import renderers +import logging +from typing import Callable, List, Generator, Iterable, Type, Optional + +from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.plugins.linux import pslist +vollog = logging.getLogger(__name__) class Maps(plugins.PluginInterface): """Lists all memory maps for all processes.""" _required_framework_version = (2, 0, 0) + MAXSIZE_DEFAULT = 1024 * 1024 * 1024 # 1 Gb @classmethod def get_requirements(cls): @@ -35,16 +40,138 @@ class Maps(plugins.PluginInterface): element_type=int, optional=True, ), + requirements.BooleanRequirement( + name="dump", + description="Extract listed memory segments", + default=False, + optional=True, + ), + requirements.ListRequirement( + name="address", + description="Process virtual memory address to include " + "(all other address ranges are excluded). This must be " + "a base address, not an address within the desired range.", + element_type=int, + optional=True, + ), + requirements.IntRequirement( + name="maxsize", + description="Maximum size for dumped VMA sections " + "(all the bigger sections will be ignored)", + default=cls.MAXSIZE_DEFAULT, + optional=True, + ), ] + @classmethod + def list_vmas( + cls, + task: interfaces.objects.ObjectInterface, + filter_func: Callable[ + [interfaces.objects.ObjectInterface], bool + ] = lambda _: False, + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: + """Lists the Virtual Memory Areas of a specific process. + + Args: + task: task object from which to list the vma + filter_func: Function to take a vma and return True if it should be filtered out + + Returns: + A list of vmas based on the task and filtered based on the filter function + """ + if task.mm: + for vma in task.mm.get_mmap_iter(): + if not filter_func(vma): + yield vma + + @classmethod + def vma_dump( + cls, + context: interfaces.context.ContextInterface, + task: interfaces.objects.ObjectInterface, + vma: interfaces.objects.ObjectInterface, + open_method: Type[interfaces.plugins.FileHandlerInterface], + maxsize: int = MAXSIZE_DEFAULT, + ) -> Optional[interfaces.plugins.FileHandlerInterface]: + """Extracts the complete data for VMA as a FileInterface. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + task: an task_struct instance + vma: The suspected VMA to extract (ObjectInterface) + open_method: class to provide context manager for opening the file + maxsize: Max size of VMA section (default MAXSIZE_DEFAULT) + + Returns: + An open FileInterface object containing the complete data for the task or None in the case of failure + """ + try: + vm_start = vma.vm_start + vm_end = vma.vm_end + except AttributeError: + vollog.debug("Unable to find the vm_start and vm_end") + return None + + vm_size = vm_end - vm_start + if 0 < maxsize < vm_size: + vollog.debug( + f"Skip virtual memory dump {vm_start:#x}-{vm_end:#x} due to maxsize limit" + ) + return None + + pid = "Unknown" + try: + pid = task.tgid + proc_layer_name = task.add_process_layer() + except exceptions.InvalidAddressException as excp: + vollog.debug( + "Process {}: invalid address {} in layer {}".format( + pid, excp.invalid_address, excp.layer_name + ) + ) + return None + + proc_layer = context.layers[proc_layer_name] + file_name = f"pid.{pid}.vma.{vm_start:#x}-{vm_end:#x}.dmp" + try: + file_handle = open_method(file_name) + chunk_size = 1024 * 1024 * 10 + offset = vm_start + while offset < vm_start + vm_size: + to_read = min(chunk_size, vm_start + vm_size - offset) + data = proc_layer.read(offset, to_read, pad=True) + if not data: + break + file_handle.write(data) + offset += to_read + + except Exception as excp: + vollog.debug(f"Unable to dump virtual memory {file_name}: {excp}") + return None + + return file_handle + def _generator(self, tasks): + # build filter for addresses if required + address_list = self.config.get("address", []) + if address_list == []: + # do not filter as no address_list was supplied + filter_func = lambda _: False + else: + # filter for any vm_start that matches the supplied address config + def filter_function(x: interfaces.objects.ObjectInterface) -> bool: + return x.vm_start not in address_list + + filter_func = filter_function + for task in tasks: if not task.mm: continue name = utility.array_to_string(task.comm) - for vma in task.mm.get_mmap_iter(): + for vma in self.list_vmas(task, filter_func=filter_func): flags = vma.get_protection() page_offset = vma.get_page_offset() major = 0 @@ -61,6 +188,16 @@ class Maps(plugins.PluginInterface): path = vma.get_name(self.context, task) + file_output = "Disabled" + if self.config["dump"]: + file_handle = self.vma_dump( + self.context, task, vma, self.open, self.config["maxsize"] + ) + file_output = "Error outputting file" + if file_handle: + file_handle.close() + file_output = file_handle.preferred_filename + yield ( 0, ( @@ -74,6 +211,7 @@ class Maps(plugins.PluginInterface): minor, inode, path, + file_output, ), ) @@ -92,6 +230,7 @@ class Maps(plugins.PluginInterface): ("Minor", int), ("Inode", int), ("File Path", str), + ("File output", str), ], self._generator( pslist.PsList.list_tasks( From a68d56e19109a81098ae208d33ae94a679ff0824 Mon Sep 17 00:00:00 2001 From: Eve Date: Tue, 13 Dec 2022 16:09:57 +0000 Subject: [PATCH 0048/2186] add linux.vmayarascan based on windows.vadtarascan --- .../framework/plugins/linux/vmayarascan.py | 121 ++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 volatility3/framework/plugins/linux/vmayarascan.py diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py new file mode 100644 index 000000000..e9482089a --- /dev/null +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -0,0 +1,121 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +from typing import Iterable, List, Tuple + +from volatility3.framework import interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.plugins import yarascan +from volatility3.plugins.linux import pslist + +class VmaYaraScan(interfaces.plugins.PluginInterface): + """Scans all virtual memory areas for tasks using yara.""" + + _required_framework_version = (2, 4, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.BooleanRequirement( + name="wide", + description="Match wide (unicode) strings", + default=False, + optional=True, + ), + requirements.StringRequirement( + name="yara_rules", description="Yara rules (as a string)", optional=True + ), + requirements.URIRequirement( + name="yara_file", description="Yara rules (as a file)", optional=True + ), + # This additional requirement is to follow suit with upstream, who feel that compiled rules could potentially be used to execute malicious code + # As such, there's a separate option to run compiled files, as happened with yara-3.9 and later + requirements.URIRequirement( + name="yara_compiled_file", + description="Yara compiled rules (as a file)", + optional=True, + ), + requirements.IntRequirement( + name="max_size", + default=0x40000000, + description="Set the maximum size (default is 1GB)", + optional=True, + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + ), + requirements.ListRequirement( + name="pid", + element_type=int, + description="Process IDs to include (all other processes are excluded)", + optional=True, + ), + ] + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + rules = yarascan.YaraScan.process_yara_options(dict(self.config)) + + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + for task in pslist.PsList.list_tasks( + context=self.context, + vmlinux_module_name=self.config["kernel"], + filter_func=filter_func, + ): + proc_layer_name = task.add_process_layer() + if not proc_layer_name: + continue + + proc_layer = self.context.layers[proc_layer_name] + for offset, rule_name, name, value in proc_layer.scan( + context=self.context, + scanner=yarascan.YaraScanner(rules=rules), + sections=self.get_vma_maps(task), + ): + yield 0, ( + format_hints.Hex(offset), + task.tgid, + rule_name, + name, + value, + ) + + @staticmethod + def get_vma_maps( + task: interfaces.objects.ObjectInterface, + ) -> Iterable[Tuple[int, int]]: + """Creates a map of start/end addresses for each virtual memory area in a task. + + Args: + task: The task object of which to read the vmas from + + Returns: + An iterable of tuples containing start and end addresses for each descriptor + """ + if task.mm: + for vma in task.mm.get_mmap_iter(): + vm_size = vma.vm_end - vma.vm_start + yield (vma.vm_start, vm_size) + + def run(self): + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("PID", int), + ("Rule", str), + ("Component", str), + ("Value", bytes), + ], + self._generator(), + ) From a553a69efde143183c0580910dcc089cf0e060ed Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 21 Dec 2022 06:42:02 +0000 Subject: [PATCH 0049/2186] fix linting issues --- volatility3/framework/plugins/linux/envars.py | 32 +++++++++++++------ 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index b62400c45..028eb2a57 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -12,6 +12,7 @@ from volatility3.plugins.linux import pslist vollog = logging.getLogger(__name__) + class Envars(plugins.PluginInterface): """Lists processes with their environment variables""" @@ -51,7 +52,9 @@ class Envars(plugins.PluginInterface): try: ppid = task.parent.pid except exceptions.InvalidAddressException: - vollog.debug(f"Unable to read parent pid for task {pid} {name}, setting ppid to 0.") + vollog.debug( + f"Unable to read parent pid for task {pid} {name}, setting ppid to 0." + ) ppid = 0 # kernel threads never have an mm as they do not have userland mappings @@ -59,7 +62,9 @@ class Envars(plugins.PluginInterface): mm = task.mm except exceptions.InvalidAddressException: # no mm so cannot get envars - vollog.debug(f"Unable to access mm for task {pid} {name} it is likely a kernel thread, will not extract any envars.") + vollog.debug( + f"Unable to access mm for task {pid} {name} it is likely a kernel thread, will not extract any envars." + ) mm = None continue @@ -69,31 +74,38 @@ class Envars(plugins.PluginInterface): # get process layer to read envars from proc_layer_name = task.add_process_layer() if proc_layer_name is None: - vollog.debug(f"Unable to construct process layer for task {pid} {name}, will not extract any envars.") + vollog.debug( + f"Unable to construct process layer for task {pid} {name}, will not extract any envars." + ) continue proc_layer = self.context.layers[proc_layer_name] - # get the size of the envars with sanity checking envars_size = task.mm.env_end - task.mm.env_start if not (0 < envars_size <= 8192): - vollog.debug(f"Task {pid} {name} appears to have envars of size {envars_size} bytes which fails the sanity checking, will not extract any envars.") + vollog.debug( + f"Task {pid} {name} appears to have envars of size {envars_size} bytes which fails the sanity checking, will not extract any envars." + ) continue # attempt to read all envars data try: envar_data = proc_layer.read(task.mm.env_start, envars_size) except exceptions.InvalidAddressException: - vollog.debug(f"Unable to read full envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)} for {envars_size} bytes, will not extract any envars.") + vollog.debug( + f"Unable to read full envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)} for {envars_size} bytes, will not extract any envars." + ) continue # parse envar data, envars are null terminated, keys and values are separated by '=' - envar_data = envar_data.rstrip(b'\x00') - for envar_pair in envar_data.split(b'\x00'): + envar_data = envar_data.rstrip(b"\x00") + for envar_pair in envar_data.split(b"\x00"): try: - key, value = envar_pair.decode().split('=', 1) + key, value = envar_pair.decode().split("=", 1) except ValueError: - vollog.debug(f"Unable to extract envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)}, they don't appear to be '=' separated") + vollog.debug( + f"Unable to extract envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)}, they don't appear to be '=' separated" + ) continue yield (0, (pid, ppid, name, key, value)) From f82a3f520facdc4e9ba973ddf8316473bbd190fe Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 4 Jan 2023 09:32:39 +0000 Subject: [PATCH 0050/2186] liniting for linux.vmayarascan --- volatility3/framework/plugins/linux/vmayarascan.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index e9482089a..3efbd2ae1 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -10,6 +10,7 @@ from volatility3.framework.renderers import format_hints from volatility3.plugins import yarascan from volatility3.plugins.linux import pslist + class VmaYaraScan(interfaces.plugins.PluginInterface): """Scans all virtual memory areas for tasks using yara.""" From 6f82e3d8cf7b173f07c51634016413b5ef2243c6 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 4 Jan 2023 09:36:20 +0000 Subject: [PATCH 0051/2186] remove unused variable in linux.vmayarascan --- volatility3/framework/plugins/linux/vmayarascan.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 3efbd2ae1..c7a48cc14 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -64,8 +64,6 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): ] def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - rules = yarascan.YaraScan.process_yara_options(dict(self.config)) filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) From 4c0a0b923bc1b7c13e753e90f84db44d95b95368 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 4 Jan 2023 16:05:00 +0000 Subject: [PATCH 0052/2186] Update linux.proc --dump changes based on comments from ikelos --- volatility3/framework/plugins/linux/proc.py | 64 ++++++++++++--------- 1 file changed, 37 insertions(+), 27 deletions(-) diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index 6d182ff9e..d8a17ae38 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -5,7 +5,7 @@ found in Linux's /proc file system.""" import logging -from typing import Callable, List, Generator, Iterable, Type, Optional +from typing import Callable, Generator, Type, Optional from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.configuration import requirements @@ -16,6 +16,7 @@ from volatility3.plugins.linux import pslist vollog = logging.getLogger(__name__) + class Maps(plugins.PluginInterface): """Lists all memory maps for all processes.""" @@ -48,9 +49,9 @@ class Maps(plugins.PluginInterface): ), requirements.ListRequirement( name="address", - description="Process virtual memory address to include " - "(all other address ranges are excluded). This must be " - "a base address, not an address within the desired range.", + description="Process virtual memory addresses to include " + "(all other VMA sections are excluded). This can be any " + "virtual address within the VMA section.", element_type=int, optional=True, ), @@ -69,21 +70,25 @@ class Maps(plugins.PluginInterface): task: interfaces.objects.ObjectInterface, filter_func: Callable[ [interfaces.objects.ObjectInterface], bool - ] = lambda _: False, + ] = lambda _: True, ) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Lists the Virtual Memory Areas of a specific process. Args: task: task object from which to list the vma - filter_func: Function to take a vma and return True if it should be filtered out + filter_func: Function to take a vma and return False if it should be filtered out Returns: - A list of vmas based on the task and filtered based on the filter function + Yields vmas based on the task and filtered based on the filter function """ if task.mm: for vma in task.mm.get_mmap_iter(): - if not filter_func(vma): + if filter_func(vma): yield vma + else: + vollog.debug( + f"Excluded vma at offset {vma.vol.offset:#x} for pid {task.pid} due to filter_func" + ) @classmethod def vma_dump( @@ -106,23 +111,15 @@ class Maps(plugins.PluginInterface): Returns: An open FileInterface object containing the complete data for the task or None in the case of failure """ + pid = task.pid try: vm_start = vma.vm_start vm_end = vma.vm_end except AttributeError: - vollog.debug("Unable to find the vm_start and vm_end") - return None - - vm_size = vm_end - vm_start - if 0 < maxsize < vm_size: - vollog.debug( - f"Skip virtual memory dump {vm_start:#x}-{vm_end:#x} due to maxsize limit" - ) + vollog.debug(f"Unable to find the vm_start and vm_end for pid {pid}") return None - pid = "Unknown" try: - pid = task.tgid proc_layer_name = task.add_process_layer() except exceptions.InvalidAddressException as excp: vollog.debug( @@ -132,6 +129,13 @@ class Maps(plugins.PluginInterface): ) return None + vm_size = vm_end - vm_start + if 0 < maxsize < vm_size: + vollog.warning( + f"Skip virtual memory dump for pid {pid} between {vm_start:#x}-{vm_end:#x} as {vm_size} is larger than maxsize limit of {maxsize}" + ) + return None + proc_layer = context.layers[proc_layer_name] file_name = f"pid.{pid}.vma.{vm_start:#x}-{vm_end:#x}.dmp" try: @@ -141,8 +145,6 @@ class Maps(plugins.PluginInterface): while offset < vm_start + vm_size: to_read = min(chunk_size, vm_start + vm_size - offset) data = proc_layer.read(offset, to_read, pad=True) - if not data: - break file_handle.write(data) offset += to_read @@ -154,16 +156,24 @@ class Maps(plugins.PluginInterface): def _generator(self, tasks): # build filter for addresses if required - address_list = self.config.get("address", []) - if address_list == []: + address_list = self.config.get("address", None) + if not address_list: # do not filter as no address_list was supplied - filter_func = lambda _: False + vma_filter_func = lambda _: True else: # filter for any vm_start that matches the supplied address config - def filter_function(x: interfaces.objects.ObjectInterface) -> bool: - return x.vm_start not in address_list + def vma_filter_function(x: interfaces.objects.ObjectInterface) -> bool: + addrs_in_vma = [ + addr for addr in address_list if x.vm_start <= addr <= x.vm_end + ] - filter_func = filter_function + # if any of the user supplied addresses would fall within this vma return true + if addrs_in_vma: + return True + else: + return False + + vma_filter_func = vma_filter_function for task in tasks: if not task.mm: @@ -171,7 +181,7 @@ class Maps(plugins.PluginInterface): name = utility.array_to_string(task.comm) - for vma in self.list_vmas(task, filter_func=filter_func): + for vma in self.list_vmas(task, filter_func=vma_filter_func): flags = vma.get_protection() page_offset = vma.get_page_offset() major = 0 From c1e425217bf8ea0e4b62a56ddaff5db29d87b4f0 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 5 Jan 2023 10:20:19 +0000 Subject: [PATCH 0053/2186] Initial canonical helper addition The intel 64-bit 4-page paging mechanism allows for 48-bit virtual addresses. They introduced a convention that the higher bits must be set a particular way to avoid operating system developers abusing those bits and creating problems that would be difficult to resolve in the future. Volatility requires that addresses for mapping or translation fit within the available bounds of the virtual address space. This unfortunately means that addresses that have the protections against abuse in place can may live outside this range. This provides two function (canonicalize and decanonicalize) which will either set the appropriate sign extension or remove it. The decanonicalize function will return an adress outside of the address range if the original value was not canonical. --- volatility3/framework/layers/intel.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index dce207fd5..ecfb6bf11 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -56,6 +56,11 @@ class Intel(linear.LinearlyMappedLayer): ) self._entry_size = struct.calcsize(self._entry_format) self._entry_number = self.page_size // self._entry_size + self._canonical_prefix = self._mask( + (1 << self._bits_per_register) - 1, + self._bits_per_register, + self._maxvirtaddr, + ) # These can vary depending on the type of space self._index_shift = int( @@ -106,6 +111,23 @@ class Intel(linear.LinearlyMappedLayer): """Returns whether a particular page is valid based on its entry.""" return bool(entry & 1) + def canonicalize(self, addr: int) -> int: + """Canonicalizes an address by performing an appropiate sign extension on the higher addresses""" + if self._bits_per_register <= self._maxvirtaddr: + return addr & self.address_mask + elif addr < (1 << self._maxvirtaddr - 1): + return addr + return self._mask(addr, self._maxvirtaddr, 0) + self._canonical_prefix + + def decanonicalize(self, addr: int) -> int: + """Removes canonicalization to ensure an adress fits within the correct range if it has been canonicalized + + This will produce an address outside the range if the canonicalization is incorrect + """ + if addr < (1 << self._maxvirtaddr - 1): + return addr + return addr ^ self._canonical_prefix + def _translate(self, offset: int) -> Tuple[int, int, str]: """Translates a specific offset based on paging tables. From 0163f0b9e67258d2a433766d0027ffc25d0b6d07 Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 5 Jan 2023 12:17:36 +0000 Subject: [PATCH 0054/2186] add linux.iomem plugin based on vol2 plugin by atcuno --- volatility3/framework/plugins/linux/iomem.py | 139 +++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 volatility3/framework/plugins/linux/iomem.py diff --git a/volatility3/framework/plugins/linux/iomem.py b/volatility3/framework/plugins/linux/iomem.py new file mode 100644 index 000000000..6b0469d60 --- /dev/null +++ b/volatility3/framework/plugins/linux/iomem.py @@ -0,0 +1,139 @@ +# This file is Copyright 2023 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import List + +from volatility3.framework import renderers, interfaces, exceptions +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints + +vollog = logging.getLogger(__name__) + + +class IOMem(interfaces.plugins.PluginInterface): + """Generates an output similar to /proc/iomem on a running system.""" + + _required_framework_version = (2, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ) + ] + + @classmethod + def parse_resource( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + resource_offset: int, + seen: set = set(), + depth: int = 0, + ): + """Recursively parse from a root resource to find details about all related resources. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + resource_offset: The offset to the resouce to be parsed + seen: The set of resource offsets that have already been parsed + depth: How deep into the resource structure we are + + Yields: + Each row of output + """ + # create the resource object + vmlinux = context.modules[vmlinux_module_name] + resource = vmlinux.object("resource", resource_offset) + + # extract the information required for this resource + name = utility.pointer_to_string(resource.name, 128) + start = format_hints.Hex(resource.start) + end = format_hints.Hex(resource.end) + + # mark this resource as seen in the seen set. Normally this should not be needed but will protect + # against possible infinite loops. Warn the user if an infinite loop would have happened. + if resource_offset in seen: + vollog.warning( + f"The resource object at {resource_offset:#x} '{name}' has already been processed, " + "this should not normally occur. No further results from related resources will be " + "displayed to protect against infinite loops." + ) + return None + else: + seen.add(resource_offset) + + # yield information on this resource + yield depth, (name, start, end) + + # process child resource if this exists + if resource.child != 0: + yield from cls.parse_resource( + context, + vmlinux_module_name, + resource.child, + seen, + depth + 1, + ) + + # process sibling resource if this exists + if resource.sibling != 0: + yield from cls.parse_resource( + context, + vmlinux_module_name, + resource.sibling, + seen, + depth, + ) + + def _generator(self): + """Generates an output similar to /proc/iomem on a running system + + Args: + None + + Yields: + Each row of output using the parse_resource function + """ + + # get the kernel module from the current context + vmlinux_module_name = self.config["kernel"] + vmlinux = self.context.modules[vmlinux_module_name] + + # check that the iomem_resource symbol exists + # normally exported in /kernel/resource.c + try: + iomem_root_offset = vmlinux.get_absolute_symbol_address("iomem_resource") + except exceptions.SymbolError: + iomem_root_offset = None + + # error if 'iomem_resource' is not found + if not iomem_root_offset: + raise TypeError( + "This plugin requires the iomem_resource structure. This structure is not present in the supplied symbol table. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." + ) + + # error if type 'resource' is not found + if not vmlinux.has_type("resource"): + raise TypeError( + "This plugin requires the resource type. This type is not present in the supplied symbol table. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." + ) + + # recursively parse the resources starting from the root resource at 'iomem_resource' + yield from self.parse_resource( + self.context, vmlinux_module_name, iomem_root_offset + ) + + def run(self): + columns = [ + ("NAME", str), + ("START", format_hints.Hex), + ("END", format_hints.Hex), + ] + return renderers.TreeGrid(columns, self._generator()) From af3b70320ecbbfc38c8ce51cc2aacf7ccd584580 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 6 Jan 2023 10:18:17 +0000 Subject: [PATCH 0055/2186] linux: Apply black linting to outstanding files --- .../framework/constants/linux/__init__.py | 20 +- volatility3/framework/plugins/linux/lsof.py | 27 +-- .../framework/plugins/linux/sockstat.py | 192 +++++++++++++----- .../framework/symbols/linux/__init__.py | 60 +++--- .../symbols/linux/extensions/__init__.py | 29 ++- 5 files changed, 219 insertions(+), 109 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 0c4d3c376..1b133eb42 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -13,7 +13,7 @@ PAGE_SHIFT = 12 """The value hard coded from the Linux Kernel (hence not extracted from the layer itself)""" # include/linux/sched.h -PF_KTHREAD = 0x00200000 # I'm a kernel thread +PF_KTHREAD = 0x00200000 # I'm a kernel thread # Standard well-defined IP protocols. # ref: include/uapi/linux/in.h @@ -139,13 +139,7 @@ SOCK_FAMILY = ( # Socket states # ref: include/uapi/linux/net.h -SOCKET_STATES = ( - "FREE", - "UNCONNECTED", - "CONNECTING", - "CONNECTED", - "DISCONNECTING" -) +SOCKET_STATES = ("FREE", "UNCONNECTED", "CONNECTING", "CONNECTED", "DISCONNECTING") # Netlink protocols # ref: include/uapi/linux/netlink.h @@ -188,17 +182,17 @@ ETH_PROTOCOLS = { 0x0007: "ETH_P_WAN_PPP", 0x0008: "ETH_P_PPP_MP", 0x0009: "ETH_P_LOCALTALK", - 0x000c: "ETH_P_CAN", - 0x000f: "ETH_P_CANFD", + 0x000C: "ETH_P_CAN", + 0x000F: "ETH_P_CANFD", 0x0010: "ETH_P_PPPTALK", 0x0011: "ETH_P_TR_802_2", 0x0016: "ETH_P_CONTROL", 0x0017: "ETH_P_IRDA", 0x0018: "ETH_P_ECONET", 0x0019: "ETH_P_HDLC", - 0x001a: "ETH_P_ARCNET", - 0x001b: "ETH_P_DSA", - 0x001c: "ETH_P_TRAILER", + 0x001A: "ETH_P_ARCNET", + 0x001B: "ETH_P_DSA", + 0x001C: "ETH_P_TRAILER", 0x0060: "ETH_P_LOOP", 0x00F6: "ETH_P_IEEE802154", 0x00F7: "ETH_P_CAIF", diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 920aaf7f1..62bade1f1 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -46,10 +46,12 @@ class Lsof(plugins.PluginInterface): ] @classmethod - def list_fds(cls, - context: interfaces.context.ContextInterface, - symbol_table: str, - filter_func: Callable[[int], bool] = lambda _: False): + def list_fds( + cls, + context: interfaces.context.ContextInterface, + symbol_table: str, + filter_func: Callable[[int], bool] = lambda _: False, + ): linuxutils_symbol_table = None # type: ignore for task in pslist.PsList.list_tasks(context, symbol_table, filter_func): @@ -62,18 +64,17 @@ class Lsof(plugins.PluginInterface): pid = int(task.pid) fd_generator = linux.LinuxUtilities.files_descriptors_for_process( - context, - linuxutils_symbol_table, - task) + context, linuxutils_symbol_table, task + ) for fd_fields in fd_generator: yield pid, task_comm, task, fd_fields def _generator(self, pids, symbol_table): filter_func = pslist.PsList.create_pid_filter(pids) - fds_generator = self.list_fds(self.context, - symbol_table, - filter_func=filter_func) + fds_generator = self.list_fds( + self.context, symbol_table, filter_func=filter_func + ) for pid, task_comm, _task, fd_fields in fds_generator: fd_num, _filp, full_path = fd_fields @@ -82,8 +83,8 @@ class Lsof(plugins.PluginInterface): yield (0, fields) def run(self): - pids = self.config.get('pid', None) - symbol_table = self.config['kernel'] + pids = self.config.get("pid", None) + symbol_table = self.config["kernel"] tree_grid_args = [("PID", int), ("Process", str), ("FD", int), ("Path", str)] - return renderers.TreeGrid(tree_grid_args, self._generator(pids, symbol_table)) \ No newline at end of file + return renderers.TreeGrid(tree_grid_args, self._generator(pids, symbol_table)) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index ad3eee01f..f03a2ad8e 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -16,6 +16,7 @@ from volatility3.plugins.linux import lsof vollog = logging.getLogger(__name__) + class SockHandlers(interfaces.configuration.VersionableInterface): """Handles several socket families extracting the sockets information.""" @@ -56,7 +57,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): nethead = self._vmlinux.object_from_symbol(symbol_name="net_namespace_list") net_symname = self._vmlinux.symbol_table_name + constants.BANG + "net" for net in nethead.to_list(net_symname, "list"): - net_device_symname = self._vmlinux.symbol_table_name + constants.BANG + "net_device" + net_device_symname = ( + self._vmlinux.symbol_table_name + constants.BANG + "net_device" + ) for net_dev in net.dev_base_head.to_list(net_device_symname, "dev_list"): if net.get_inode() != netns_id: continue @@ -64,7 +67,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): netdevices_map[net_dev.ifindex] = dev_name return netdevices_map - def process_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str], Dict]: + def process_sock( + self, sock: objects.StructType + ) -> Tuple[objects.StructType, Tuple[str, str, str], Dict]: """Takes a kernel generic `sock` object and processes it with its respective socket family Args: @@ -86,7 +91,12 @@ class SockHandlers(interfaces.configuration.VersionableInterface): return unix_sock, sock_stat, socket_filter except exceptions.SymbolError as e: # Cannot finds the *_sock type in the symbols - vollog.log(constants.LOGLEVEL_V, "Error processing socket family '%s': %s", family, e) + vollog.log( + constants.LOGLEVEL_V, + "Error processing socket family '%s': %s", + family, + e, + ) else: vollog.log(constants.LOGLEVEL_V, "Unsupported family '%s'", family) @@ -100,7 +110,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): return sock, sock_stat, socket_filter - def _update_socket_filters_info(self, sock: objects.Pointer, socket_filter: dict) -> None: + def _update_socket_filters_info( + self, sock: objects.Pointer, socket_filter: dict + ) -> None: """Get information from the socket and reuseport filters Args: @@ -117,7 +129,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): socket_filter["filter_type"] = "reuseport_filter" self._extract_socket_filter_info(sock_reuseport_cb, socket_filter) - def _extract_socket_filter_info(self, sock_filter: objects.Pointer, socket_filter: dict) -> None: + def _extract_socket_filter_info( + self, sock_filter: objects.Pointer, socket_filter: dict + ) -> None: """Get specific information for each type of filter Args: @@ -146,7 +160,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): if bpfprog_name: socket_filter["bpf_filter_name"] = bpfprog_name - def _unix_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + def _unix_sock( + self, sock: objects.StructType + ) -> Tuple[objects.StructType, Tuple[str, str, str]]: """Handles the AF_UNIX socket family Args: @@ -171,7 +187,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = src_addr, src_port, dst_addr, dst_port, state return unix_sock, sock_stat - def _inet_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + def _inet_sock( + self, sock: objects.StructType + ) -> Tuple[objects.StructType, Tuple[str, str, str]]: """Handles the AF_INET/6 socket families Args: @@ -191,7 +209,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = src_addr, src_port, dst_addr, dst_port, state return inet_sock, sock_stat - def _netlink_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + def _netlink_sock( + self, sock: objects.StructType + ) -> Tuple[objects.StructType, Tuple[str, str, str]]: """Handles the AF_NETLINK socket family Args: @@ -221,7 +241,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = src_addr, src_port, dst_addr, dst_port, state return netlink_sock, sock_stat - def _vsock_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + def _vsock_sock( + self, sock: objects.StructType + ) -> Tuple[objects.StructType, Tuple[str, str, str]]: """Handles the AF_VSOCK socket family Args: @@ -241,7 +263,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = src_addr, src_port, dst_addr, dst_port, state return vsock_sock, sock_stat - def _packet_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + def _packet_sock( + self, sock: objects.StructType + ) -> Tuple[objects.StructType, Tuple[str, str, str]]: """Handles the AF_PACKET socket family Args: @@ -262,7 +286,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = src_addr, src_port, dst_addr, dst_port, state return packet_sock, sock_stat - def _xdp_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + def _xdp_sock( + self, sock: objects.StructType + ) -> Tuple[objects.StructType, Tuple[str, str, str]]: """Handles the AF_XDP socket family Args: @@ -304,7 +330,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock_stat = src_addr, src_port, dst_addr, dst_port, state return xdp_sock, sock_stat - def _bluetooth_sock(self, sock: objects.StructType) -> Tuple[objects.StructType, Tuple[str, str, str]]: + def _bluetooth_sock( + self, sock: objects.StructType + ) -> Tuple[objects.StructType, Tuple[str, str, str]]: """Handles the AF_BLUETOOTH socket family Args: @@ -324,11 +352,17 @@ class SockHandlers(interfaces.configuration.VersionableInterface): if bt_protocol == "HCI": if self._vmlinux.has_type("hci_pinfo"): pinfo = bt_sock.cast("hci_pinfo") - if pinfo.has_member("hdev") and self._vmlinux.has_type("hci_dev") \ - and pinfo.hdev.has_member("dev_name"): + if ( + pinfo.has_member("hdev") + and self._vmlinux.has_type("hci_dev") + and pinfo.hdev.has_member("dev_name") + ): src_addr = utility.array_to_string(pinfo.hdev.dev_name) else: - vollog.log(constants.LOGLEVEL_V, "Type definition for 'hci_pinfo' is not available in the symbols") + vollog.log( + constants.LOGLEVEL_V, + "Type definition for 'hci_pinfo' is not available in the symbols", + ) elif bt_protocol == "L2CAP": if self._vmlinux.has_type("l2cap_pinfo"): pinfo = bt_sock.cast("l2cap_pinfo") @@ -337,7 +371,10 @@ class SockHandlers(interfaces.configuration.VersionableInterface): src_port = pinfo.chan.sport dst_port = pinfo.chan.psm else: - vollog.log(constants.LOGLEVEL_V, "Type definition for 'l2cap_pinfo' is not available in the symbols") + vollog.log( + constants.LOGLEVEL_V, + "Type definition for 'l2cap_pinfo' is not available in the symbols", + ) elif bt_protocol == "RFCOMM": if self._vmlinux.has_type("rfcomm_pinfo"): pinfo = bt_sock.cast("rfcomm_pinfo") @@ -345,22 +382,31 @@ class SockHandlers(interfaces.configuration.VersionableInterface): dst_addr = bt_addr(pinfo.dst) src_port = pinfo.channel else: - vollog.log(constants.LOGLEVEL_V, "Type definition for 'rfcomm_pinfo' is not available in the symbols") + vollog.log( + constants.LOGLEVEL_V, + "Type definition for 'rfcomm_pinfo' is not available in the symbols", + ) elif bt_protocol == "SCO": if self._vmlinux.has_type("sco_pinfo"): pinfo = bt_sock.cast("sco_pinfo") src_addr = bt_addr(pinfo.src) dst_addr = bt_addr(pinfo.dst) else: - vollog.log(constants.LOGLEVEL_V, "Type definition for 'sco_pinfo' is not available in the symbols") + vollog.log( + constants.LOGLEVEL_V, + "Type definition for 'sco_pinfo' is not available in the symbols", + ) else: - vollog.log(constants.LOGLEVEL_V, "Unsupported bluetooth protocol '%s'", bt_protocol) + vollog.log( + constants.LOGLEVEL_V, "Unsupported bluetooth protocol '%s'", bt_protocol + ) state = bt_sock.get_state() sock_stat = src_addr, src_port, dst_addr, dst_port, state return bt_sock, sock_stat + class Sockstat(plugins.PluginInterface): """Lists all network connections for all processes.""" @@ -371,31 +417,48 @@ class Sockstat(plugins.PluginInterface): @classmethod def get_requirements(cls): return [ - requirements.ModuleRequirement(name="kernel", description="Linux kernel", - architectures=["Intel32", "Intel64"]), - requirements.VersionRequirement(name="SockHandlers", component=SockHandlers, version=(1, 0, 0)), - requirements.PluginRequirement(name="lsof", plugin=lsof.Lsof, version=(1, 1, 0)), - requirements.VersionRequirement(name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0)), - requirements.BooleanRequirement(name="unix", - description=("Show UNIX domain Sockets only"), - default=False, - optional=True), - requirements.ListRequirement(name="pids", - description="Filter results by process IDs. " - "It takes the root PID namespace identifiers.", - element_type=int, - optional=True), - requirements.IntRequirement(name="netns", - description="Filter results by network namespace. " - "Otherwise, all of them are shown.", - optional=True), + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="SockHandlers", component=SockHandlers, version=(1, 0, 0) + ), + requirements.PluginRequirement( + name="lsof", plugin=lsof.Lsof, version=(1, 1, 0) + ), + requirements.VersionRequirement( + name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) + ), + requirements.BooleanRequirement( + name="unix", + description=("Show UNIX domain Sockets only"), + default=False, + optional=True, + ), + requirements.ListRequirement( + name="pids", + description="Filter results by process IDs. " + "It takes the root PID namespace identifiers.", + element_type=int, + optional=True, + ), + requirements.IntRequirement( + name="netns", + description="Filter results by network namespace. " + "Otherwise, all of them are shown.", + optional=True, + ), ] @classmethod - def list_sockets(cls, - context: interfaces.context.ContextInterface, - symbol_table: str, - filter_func: Callable[[int], bool] = lambda _: False): + def list_sockets( + cls, + context: interfaces.context.ContextInterface, + symbol_table: str, + filter_func: Callable[[int], bool] = lambda _: False, + ): """Returns every single socket descriptor Args: @@ -433,7 +496,9 @@ class Sockstat(plugins.PluginInterface): if not d_inode: continue - socket_alloc = linux.LinuxUtilities.container_of(d_inode, "socket_alloc", "vfs_inode", vmlinux) + socket_alloc = linux.LinuxUtilities.container_of( + d_inode, "socket_alloc", "vfs_inode", vmlinux + ) socket = socket_alloc.socket if not (socket and socket.sk): @@ -466,7 +531,9 @@ class Sockstat(plugins.PluginInterface): Returns: `sock_stat` and `protocol` formatted. """ - sock_stat = [NotAvailableValue() if field is None else str(field) for field in sock_stat] + sock_stat = [ + NotAvailableValue() if field is None else str(field) for field in sock_stat + ] if protocol is None: protocol = NotAvailableValue() @@ -494,26 +561,49 @@ class Sockstat(plugins.PluginInterface): extended information such as socket filters, bpf info, etc. """ filter_func = lsof.pslist.PsList.create_pid_filter(pids) - socket_generator = self.list_sockets(self.context, symbol_table, filter_func=filter_func) + socket_generator = self.list_sockets( + self.context, symbol_table, filter_func=filter_func + ) - for task, netns_id, fd_num, family, sock_type, protocol, sock_fields in socket_generator: + for ( + task, + netns_id, + fd_num, + family, + sock_type, + protocol, + sock_fields, + ) in socket_generator: if netns_id_arg and netns_id_arg != netns_id: continue sock, sock_stat, extended = sock_fields sock_stat, protocol = self._format_fields(sock_stat, protocol) - socket_filter_str = ",".join(f"{k}={v}" for k, v in extended.items()) if extended else NotAvailableValue() + socket_filter_str = ( + ",".join(f"{k}={v}" for k, v in extended.items()) + if extended + else NotAvailableValue() + ) - fields = (netns_id, task.pid, fd_num, format_hints.Hex(sock.vol.offset), - family, sock_type, protocol, *sock_stat, socket_filter_str) + fields = ( + netns_id, + task.pid, + fd_num, + format_hints.Hex(sock.vol.offset), + family, + sock_type, + protocol, + *sock_stat, + socket_filter_str, + ) yield (0, fields) def run(self): - pids = self.config.get('pids') - netns_id = self.config['netns'] - symbol_table = self.config['kernel'] + pids = self.config.get("pids") + netns_id = self.config["netns"] + symbol_table = self.config["kernel"] tree_grid_args = [ ("NetNS", int), diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 1d1419ae9..0d7cbb7e4 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -17,38 +17,38 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): super().__init__(*args, **kwargs) # Set-up Linux specific types - self.set_type_class('file', extensions.struct_file) - self.set_type_class('list_head', extensions.list_head) - self.set_type_class('mm_struct', extensions.mm_struct) - self.set_type_class('super_block', extensions.super_block) - self.set_type_class('task_struct', extensions.task_struct) - self.set_type_class('vm_area_struct', extensions.vm_area_struct) - self.set_type_class('qstr', extensions.qstr) - self.set_type_class('dentry', extensions.dentry) - self.set_type_class('fs_struct', extensions.fs_struct) - self.set_type_class('files_struct', extensions.files_struct) - self.set_type_class('kobject', extensions.kobject) + self.set_type_class("file", extensions.struct_file) + self.set_type_class("list_head", extensions.list_head) + self.set_type_class("mm_struct", extensions.mm_struct) + self.set_type_class("super_block", extensions.super_block) + self.set_type_class("task_struct", extensions.task_struct) + self.set_type_class("vm_area_struct", extensions.vm_area_struct) + self.set_type_class("qstr", extensions.qstr) + self.set_type_class("dentry", extensions.dentry) + self.set_type_class("fs_struct", extensions.fs_struct) + self.set_type_class("files_struct", extensions.files_struct) + self.set_type_class("kobject", extensions.kobject) # Might not exist in the current symbols - self.optional_set_type_class('module', extensions.module) + self.optional_set_type_class("module", extensions.module) # Mount - self.set_type_class('vfsmount', extensions.vfsmount) + self.set_type_class("vfsmount", extensions.vfsmount) # Might not exist in older kernels or the current symbols - self.optional_set_type_class('mount', extensions.mount) - self.optional_set_type_class('mnt_namespace', extensions.mnt_namespace) + self.optional_set_type_class("mount", extensions.mount) + self.optional_set_type_class("mnt_namespace", extensions.mnt_namespace) # Network - self.set_type_class('net', extensions.net) - self.set_type_class('socket', extensions.socket) - self.set_type_class('sock', extensions.sock) - self.set_type_class('inet_sock', extensions.inet_sock) - self.set_type_class('unix_sock', extensions.unix_sock) + self.set_type_class("net", extensions.net) + self.set_type_class("socket", extensions.socket) + self.set_type_class("sock", extensions.sock) + self.set_type_class("inet_sock", extensions.inet_sock) + self.set_type_class("unix_sock", extensions.unix_sock) # Might not exist in older kernels or the current symbols - self.optional_set_type_class('netlink_sock', extensions.netlink_sock) - self.optional_set_type_class('vsock_sock', extensions.vsock_sock) - self.optional_set_type_class('packet_sock', extensions.packet_sock) - self.optional_set_type_class('bt_sock', extensions.bt_sock) - self.optional_set_type_class('xdp_sock', extensions.xdp_sock) + self.optional_set_type_class("netlink_sock", extensions.netlink_sock) + self.optional_set_type_class("vsock_sock", extensions.vsock_sock) + self.optional_set_type_class("packet_sock", extensions.packet_sock) + self.optional_set_type_class("bt_sock", extensions.bt_sock) + self.optional_set_type_class("xdp_sock", extensions.xdp_sock) class LinuxUtilities(interfaces.configuration.VersionableInterface): @@ -322,7 +322,11 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): @classmethod def container_of( - cls, addr: int, type_name: str, member_name: str, vmlinux: interfaces.context.ModuleInterface + cls, + addr: int, + type_name: str, + member_name: str, + vmlinux: interfaces.context.ModuleInterface, ) -> Optional[interfaces.objects.ObjectInterface]: """Cast a member of a structure out to the containing structure. It mimicks the Linux kernel macro container_of() see include/linux.kernel.h @@ -343,4 +347,6 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): type_dec = vmlinux.get_type(type_name) member_offset = type_dec.relative_child_offset(member_name) container_addr = addr - member_offset - return vmlinux.object(object_type=type_name, offset=container_addr, absolute=True) + return vmlinux.object( + object_type=type_name, offset=container_addr, absolute=True + ) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0ea61a3bb..55f139730 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -812,6 +812,7 @@ class vfsmount(objects.StructType): def get_mnt_root(self): return self.mnt_root + class kobject(objects.StructType): def reference_count(self): refcnt = self.kref.refcount @@ -842,6 +843,7 @@ class mnt_namespace(objects.StructType): for mount in self.list.to_list(mnt_type, "mnt_list"): yield mount + class net(objects.StructType): def get_inode(self): if self.has_member("proc_inum"): @@ -851,12 +853,15 @@ class net(objects.StructType): else: raise AttributeError("Unable to find net_namespace inode") + class socket(objects.StructType): def _get_vol_kernel(self): symbol_table_arr = self.vol.type_name.split("!", 1) symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None - module_names = list(self._context.modules.get_modules_by_symbol_tables(symbol_table)) + module_names = list( + self._context.modules.get_modules_by_symbol_tables(symbol_table) + ) if not module_names: raise ValueError(f"No module using the symbol table {symbol_table}") @@ -870,7 +875,9 @@ class socket(objects.StructType): except ValueError: return 0 - socket_alloc = linux.LinuxUtilities.container_of(self.vol.offset, "socket_alloc", "socket", kernel) + socket_alloc = linux.LinuxUtilities.container_of( + self.vol.offset, "socket_alloc", "socket", kernel + ) vfs_inode = socket_alloc.vfs_inode return vfs_inode.i_ino @@ -880,6 +887,7 @@ class socket(objects.StructType): if 0 <= socket_state_idx < len(SOCKET_STATES): return SOCKET_STATES[socket_state_idx] + class sock(objects.StructType): def get_family(self): family_idx = self.__sk_common.skc_family @@ -905,6 +913,7 @@ class sock(objects.StructType): return self.sk_socket.get_state() + class unix_sock(objects.StructType): def get_name(self): if not self.addr: @@ -932,6 +941,7 @@ class unix_sock(objects.StructType): def get_inode(self): return self.sk.get_inode() + class inet_sock(objects.StructType): def get_family(self): family_idx = self.sk.__sk_common.skc_family @@ -966,7 +976,7 @@ class inet_sock(objects.StructType): def get_dst_port(self): sk_common = self.sk.__sk_common if hasattr(sk_common, "skc_portpair"): - dport_le = sk_common.skc_portpair & 0xffff + dport_le = sk_common.skc_portpair & 0xFFFF elif hasattr(self, "dport"): dport_le = self.dport elif hasattr(self, "inet_dport"): @@ -999,7 +1009,9 @@ class inet_sock(objects.StructType): try: addr_bytes = parent_layer.read(saddr.vol.offset, addr_size) except exceptions.InvalidAddressException: - vollog.debug(f"Unable to read socket src address from {saddr.vol.offset:#x}") + vollog.debug( + f"Unable to read socket src address from {saddr.vol.offset:#x}" + ) return return socket_module.inet_ntop(family, addr_bytes) @@ -1028,11 +1040,14 @@ class inet_sock(objects.StructType): try: addr_bytes = parent_layer.read(daddr.vol.offset, addr_size) except exceptions.InvalidAddressException: - vollog.debug(f"Unable to read socket dst address from {daddr.vol.offset:#x}") + vollog.debug( + f"Unable to read socket dst address from {daddr.vol.offset:#x}" + ) return return socket_module.inet_ntop(family, addr_bytes) + class netlink_sock(objects.StructType): def get_protocol(self): protocol_idx = self.sk.sk_protocol @@ -1043,6 +1058,7 @@ class netlink_sock(objects.StructType): # Return the generic socket state return self.sk.sk_socket.get_state() + class vsock_sock(objects.StructType): def get_protocol(self): # The protocol should always be 0 for vsocks @@ -1052,6 +1068,7 @@ class vsock_sock(objects.StructType): # Return the generic socket state return self.sk.sk_socket.get_state() + class packet_sock(objects.StructType): def get_protocol(self): eth_proto = socket_module.htons(self.num) @@ -1066,6 +1083,7 @@ class packet_sock(objects.StructType): # Return the generic socket state return self.sk.sk_socket.get_state() + class bt_sock(objects.StructType): def get_protocol(self): type_idx = self.sk.sk_protocol @@ -1077,6 +1095,7 @@ class bt_sock(objects.StructType): if 0 <= state_idx < len(BLUETOOTH_STATES): return BLUETOOTH_STATES[state_idx] + class xdp_sock(objects.StructType): def get_protocol(self): # The protocol should always be 0 for xdp_sock From cd89e39ee053f3ca9b3a8f93628da2526accc99f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 6 Jan 2023 22:10:50 +0000 Subject: [PATCH 0056/2186] Layers: Fix QEMU layer cutting off the last byte of the config --- volatility3/framework/layers/qemu.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/layers/qemu.py b/volatility3/framework/layers/qemu.py index 829354987..501b8655e 100644 --- a/volatility3/framework/layers/qemu.py +++ b/volatility3/framework/layers/qemu.py @@ -117,13 +117,15 @@ class QemuSuspendLayer(segmented.NonLinearlySegmentedLayer): chunk_size = 4096 data = b"" for i in range( - base_layer.maximum_address, base_layer.minimum_address, -chunk_size + base_layer.maximum_address + 1, base_layer.minimum_address, -chunk_size ): - if i != base_layer.maximum_address: + # Since we're going backwards, we need to include one extra byte so the tail doesn't get chopped off + if i != base_layer.maximum_address + 1: data = (base_layer.read(i, chunk_size) + data).rstrip(b"\x00") if b"\x00" in data: last_null_byte = data.rfind(b"\x00") start_of_json = data.find(b"{", last_null_byte) + if start_of_json >= 0: data = data[start_of_json:] return json.loads(data) From 560569e03e5e8f7f6f29d6695b57745b11e2afee Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 6 Jan 2023 22:12:20 +0000 Subject: [PATCH 0057/2186] update linux.proc --dump so that vma object is not passed to dump func --- volatility3/framework/plugins/linux/proc.py | 41 ++++++++++++++------- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index d8a17ae38..99c8761c1 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -95,7 +95,8 @@ class Maps(plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, task: interfaces.objects.ObjectInterface, - vma: interfaces.objects.ObjectInterface, + vm_start: int, + vm_end: int, open_method: Type[interfaces.plugins.FileHandlerInterface], maxsize: int = MAXSIZE_DEFAULT, ) -> Optional[interfaces.plugins.FileHandlerInterface]: @@ -105,6 +106,8 @@ class Maps(plugins.PluginInterface): context: The context to retrieve required elements (layers, symbol tables) from task: an task_struct instance vma: The suspected VMA to extract (ObjectInterface) + vm_start: The start virtual address from the vma to dump + vm_end: The end virtual address from the vma to dump open_method: class to provide context manager for opening the file maxsize: Max size of VMA section (default MAXSIZE_DEFAULT) @@ -112,12 +115,6 @@ class Maps(plugins.PluginInterface): An open FileInterface object containing the complete data for the task or None in the case of failure """ pid = task.pid - try: - vm_start = vma.vm_start - vm_end = vma.vm_end - except AttributeError: - vollog.debug(f"Unable to find the vm_start and vm_end for pid {pid}") - return None try: proc_layer_name = task.add_process_layer() @@ -200,13 +197,31 @@ class Maps(plugins.PluginInterface): file_output = "Disabled" if self.config["dump"]: - file_handle = self.vma_dump( - self.context, task, vma, self.open, self.config["maxsize"] - ) file_output = "Error outputting file" - if file_handle: - file_handle.close() - file_output = file_handle.preferred_filename + try: + vm_start = vma.vm_start + vm_end = vma.vm_end + except AttributeError: + vollog.debug( + f"Unable to find the vm_start and vm_end for vma at {vma.vol.offset:#x} for pid {pid}" + ) + vm_start = None + vm_end = None + + if vm_start and vm_end: + # only attempt to dump the memory if we have vm_start and vm_end + file_handle = self.vma_dump( + self.context, + task, + vm_start, + vm_end, + self.open, + self.config["maxsize"], + ) + + if file_handle: + file_handle.close() + file_output = file_handle.preferred_filename yield ( 0, From a1eeecf6de088888c0509fb2165b7947e87dd868 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 9 Jan 2023 21:32:19 +0000 Subject: [PATCH 0058/2186] Layers: Fix uncaught exception in Elf layer --- volatility3/framework/layers/elf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/layers/elf.py b/volatility3/framework/layers/elf.py index bcafa9aed..a10d36592 100644 --- a/volatility3/framework/layers/elf.py +++ b/volatility3/framework/layers/elf.py @@ -119,4 +119,8 @@ class Elf64Stacker(interfaces.automagic.StackerLayerInterface): interfaces.configuration.path_join(new_name, "base_layer") ] = layer_name - return Elf64Layer(context, new_name, new_name) + try: + return Elf64Layer(context, new_name, new_name) + except ElfFormatException as excp: + vollog.log(constants.LOGLEVEL_VVVV, f"Exception: {excp}") + return None From a60b91b6e18cb5979f2872ec61dc60af4a10faa1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 9 Jan 2023 21:33:07 +0000 Subject: [PATCH 0059/2186] Layers: Add in Xen CoreDump format support --- volatility3/framework/layers/xen.py | 171 +++++++++++++++++++ volatility3/framework/symbols/linux/xen.json | 115 +++++++++++++ 2 files changed, 286 insertions(+) create mode 100644 volatility3/framework/layers/xen.py create mode 100644 volatility3/framework/symbols/linux/xen.json diff --git a/volatility3/framework/layers/xen.py b/volatility3/framework/layers/xen.py new file mode 100644 index 000000000..33050ea4b --- /dev/null +++ b/volatility3/framework/layers/xen.py @@ -0,0 +1,171 @@ +import logging +import struct +from typing import Optional + +from volatility3.framework import constants, interfaces, exceptions +from volatility3.framework.layers import elf +from volatility3.framework.symbols import intermed + +vollog = logging.getLogger(__name__) + + +class XenCoreDumpLayer(elf.Elf64Layer): + """A layer that supports the Xen Dump-Core format as documented at: https://xenbits.xen.org/docs/4.6-testing/misc/dump-core-format.txt""" + + _header_struct = struct.Struct(" None: + # Create a custom SymbolSpace + self._elf_table_name = intermed.IntermediateSymbolTable.create( + context, config_path, "linux", "elf" + ) + self._xen_table_name = intermed.IntermediateSymbolTable.create( + context, config_path, "linux", "xen" + ) + + super().__init__(context, config_path, name) + + def _load_segments(self) -> None: + """Load the segments from based on the PT_LOAD segments of the Elf64 format""" + ehdr = self.context.object( + self._elf_table_name + constants.BANG + "Elf64_Ehdr", + layer_name=self._base_layer, + offset=0, + ) + + segments = [] + segment_headers = [] + + for sindex in range(ehdr.e_shnum): + shdr = self.context.object( + self._elf_table_name + constants.BANG + "Elf64_Shdr", + layer_name=self._base_layer, + offset=ehdr.e_shoff + (sindex * ehdr.e_shentsize), + ) + + segment_headers.append(shdr) + + if sindex == ehdr.e_shstrndx: + segment_names = self.context.layers[self._base_layer].read( + shdr.sh_offset, shdr.sh_size + ) + segment_names = segment_names.split(b"\x00") + + if not segment_names: + raise elf.ElfFormatException("No segment names, not a Xen Core Dump") + + p2m_data = None + pfn_data = None + + for varname, pattern, outvar in [ + ("xen_p2m", b".xen_p2m", p2m_data), + ("xen_pfn", b".xen_pfn", pfn_data), + ]: + if pattern in segment_names: + hdr = segment_headers[segment_names.index(pattern)] + result = self.context.object( + self._xen_table_name + constants.BANG + varname, + layer_name=self._base_layer, + offset=hdr.sh_offset, + size=hdr.sh_size, + ) + result.entries.count = hdr.sh_size // result.entries.vol.subtype.size + outvar = result + + pages_hdr = segment_headers[segment_names.index(b".xen_pages")] + page_size = 0x1000 + + if pfn_data and not p2m_data: + for entry_index in range(len(pfn_data.entries)): + entry = pfn_data.entries[entry_index] + # TODO: Don't hardcode the maximum value here + if entry and entry != 0xFFFFFFFF: + segments.append( + ( + entry * page_size, + pages_hdr.sh_offset + (entry_index * page_size), + page_size, + page_size, + ) + ) + elif p2m_data and not pfn_data: + for entry_index in range(len(p2m_data.entries)): + entry = p2m_data.entries[entry_index] + # TODO: Don't hardcode the maximum value here + if entry.pfn != 0xFFFFFFFF: + segments.append( + ( + entry.pfn * page_size, + pages_hdr.sh_offset + (entry_index * page_size), + page_size, + page_size, + ) + ) + elif p2m_data and pfn_data: + raise elf.ElfFormatException( + self.name, f"Both P2M and PFN in Xen Core Dump" + ) + else: + raise elf.ElfFormatException( + self.name, f"Neither P2M nor PFN in Xen Core Dump" + ) + + if len(segments) == 0: + raise elf.ElfFormatException( + self.name, f"No ELF segments defined in {self._base_layer}" + ) + + self._segments = segments + + @classmethod + def _check_header( + cls, base_layer: interfaces.layers.DataLayerInterface, offset: int = 0 + ) -> bool: + try: + header_data = base_layer.read(offset, cls._header_struct.size) + except exceptions.InvalidAddressException: + raise elf.ElfFormatException( + base_layer.name, + f"Offset 0x{offset:0x} does not exist within the base layer", + ) + (magic, elf_class, elf_data_encoding, elf_version) = cls._header_struct.unpack( + header_data + ) + if magic != cls.MAGIC: + raise elf.ElfFormatException( + base_layer.name, f"Bad magic 0x{magic:x} at file offset 0x{offset:x}" + ) + if elf_class != cls.ELF_CLASS: + raise elf.ElfFormatException( + base_layer.name, f"ELF class is not 64-bit (2): {elf_class:d}" + ) + # Virtualbox uses an ELF version of 0, which isn't to specification, but is ok to deal with + return True + + +class XenCoreDumpStacker(elf.Elf64Stacker): + stack_order = 10 + + @classmethod + def stack( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + progress_callback: constants.ProgressCallback = None, + ) -> Optional[interfaces.layers.DataLayerInterface]: + try: + if not XenCoreDumpLayer._check_header(context.layers[layer_name]): + return None + except elf.ElfFormatException as excp: + vollog.log(constants.LOGLEVEL_VVVV, f"Exception: {excp}") + return None + new_name = context.layers.free_layer_name("XenCoreDumpLayer") + context.config[ + interfaces.configuration.path_join(new_name, "base_layer") + ] = layer_name + + return XenCoreDumpLayer(context, new_name, new_name) diff --git a/volatility3/framework/symbols/linux/xen.json b/volatility3/framework/symbols/linux/xen.json new file mode 100644 index 000000000..8e843e728 --- /dev/null +++ b/volatility3/framework/symbols/linux/xen.json @@ -0,0 +1,115 @@ +{ + "symbols": { + }, + "user_types": { + "xen_p2m": { + "fields":{ + "entries": { + "offset": 0, + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned long long" + } + } + } + }, + "kind": "struct", + "size": 8 + }, + "xen_pfn":{ + "fields":{ + "entries": { + "offset": 0, + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned long long" + } + } + } + }, + "kind": "struct", + "size": 16 + }, + "xen_pfn_entry":{ + "fields":{ + "pfn":{ + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "gmfn":{ + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned long long" + } + } + }, + "kind": "struct", + "size": 16 + + } + }, + "enums": { + }, + "base_types": { + "unsigned char": { + "endian": "little", + "kind": "char", + "signed": false, + "size": 1 + }, + "unsigned short": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 2 + }, + "long": { + "endian": "little", + "kind": "int", + "signed": true, + "size": 4 + }, + "char": { + "endian": "little", + "kind": "char", + "signed": true, + "size": 1 + }, + "unsigned long": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 4 + }, + "long long": { + "endian": "little", + "kind": "int", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 8 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "ikelos-by-hand", + "datetime": "2023-01-09T00:51:00" + }, + "format": "6.1.0" + } +} From d963aa3afb702980552653e40d3b090c57bf06bf Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 10 Jan 2023 16:39:43 +0000 Subject: [PATCH 0060/2186] Layers: Fix trying to be too clever with Xen --- volatility3/framework/layers/xen.py | 49 +++++++++++++++++------------ 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/volatility3/framework/layers/xen.py b/volatility3/framework/layers/xen.py index 33050ea4b..f7881a091 100644 --- a/volatility3/framework/layers/xen.py +++ b/volatility3/framework/layers/xen.py @@ -26,9 +26,23 @@ class XenCoreDumpLayer(elf.Elf64Layer): self._xen_table_name = intermed.IntermediateSymbolTable.create( context, config_path, "linux", "xen" ) + self._segment_headers = {} super().__init__(context, config_path, name) + def _extract_result_array( + self, varname: str, segment_index: int + ) -> interfaces.objects.ObjectInterface: + hdr = self._segment_headers[segment_index] + result = self.context.object( + self._xen_table_name + constants.BANG + varname, + layer_name=self._base_layer, + offset=hdr.sh_offset, + size=hdr.sh_size, + ) + result.entries.count = hdr.sh_size // result.entries.vol.subtype.size + return result + def _load_segments(self) -> None: """Load the segments from based on the PT_LOAD segments of the Elf64 format""" ehdr = self.context.object( @@ -38,7 +52,7 @@ class XenCoreDumpLayer(elf.Elf64Layer): ) segments = [] - segment_headers = [] + self._segment_headers = [] for sindex in range(ehdr.e_shnum): shdr = self.context.object( @@ -47,7 +61,7 @@ class XenCoreDumpLayer(elf.Elf64Layer): offset=ehdr.e_shoff + (sindex * ehdr.e_shentsize), ) - segment_headers.append(shdr) + self._segment_headers.append(shdr) if sindex == ehdr.e_shstrndx: segment_names = self.context.layers[self._base_layer].read( @@ -58,25 +72,20 @@ class XenCoreDumpLayer(elf.Elf64Layer): if not segment_names: raise elf.ElfFormatException("No segment names, not a Xen Core Dump") - p2m_data = None - pfn_data = None + try: + p2m_data = self._extract_result_array( + "xen_p2m", segment_names.index(b".xen_p2m") + ) + except ValueError: + p2m_data = None + try: + pfn_data = self._extract_result_array( + "xen_pfn", segment_names.index(b".xen_pfn") + ) + except ValueError: + pfn_data = None - for varname, pattern, outvar in [ - ("xen_p2m", b".xen_p2m", p2m_data), - ("xen_pfn", b".xen_pfn", pfn_data), - ]: - if pattern in segment_names: - hdr = segment_headers[segment_names.index(pattern)] - result = self.context.object( - self._xen_table_name + constants.BANG + varname, - layer_name=self._base_layer, - offset=hdr.sh_offset, - size=hdr.sh_size, - ) - result.entries.count = hdr.sh_size // result.entries.vol.subtype.size - outvar = result - - pages_hdr = segment_headers[segment_names.index(b".xen_pages")] + pages_hdr = self._segment_headers[segment_names.index(b".xen_pages")] page_size = 0x1000 if pfn_data and not p2m_data: From 1641a6e4c43aaf8ff8baf993319c61fb6163206c Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 12 Jan 2023 19:58:51 +0000 Subject: [PATCH 0061/2186] Windows: Fix up black issue with vadinfo --- volatility3/framework/plugins/windows/vadinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 6cd453550..3214c7134 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -206,7 +206,7 @@ class VadInfo(interfaces.plugins.PluginInterface): if self.config.get("address", None) is not None: def filter_function(x: interfaces.objects.ObjectInterface) -> bool: - return not (x.get_start() <= self.config['address'] <= x.get_end()) + return not (x.get_start() <= self.config["address"] <= x.get_end()) filter_func = filter_function From 558b31cbdc9002dd8b0dacc2af8c5296ee3bcba5 Mon Sep 17 00:00:00 2001 From: cstation Date: Fri, 13 Jan 2023 11:58:11 +0100 Subject: [PATCH 0062/2186] Dump ELFs to file --- volatility3/framework/plugins/linux/elfs.py | 113 +++++++++++++++++- volatility3/framework/plugins/linux/pslist.py | 101 +++++++++++----- 2 files changed, 180 insertions(+), 34 deletions(-) diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index 822a69dd6..f56438f4f 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -4,20 +4,26 @@ """A module containing a collection of plugins that produce data typically found in Linux's /proc file system.""" -from typing import List +import logging +from typing import List, Optional, Type -from volatility3.framework import renderers, interfaces +from volatility3.framework import constants, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.linux.extensions import elf from volatility3.plugins.linux import pslist +vollog = logging.getLogger(__name__) + class Elfs(plugins.PluginInterface): """Lists all memory mapped ELF files for all processes.""" _required_framework_version = (2, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -36,9 +42,95 @@ class Elfs(plugins.PluginInterface): element_type=int, optional=True, ), + requirements.BooleanRequirement( + name="dump", + description="Extract listed processes", + default=False, + optional=True, + ), ] + @classmethod + def elf_dump( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + elf_table_name: str, + vma: interfaces.objects.ObjectInterface, + task: interfaces.objects.ObjectInterface, + open_method: Type[interfaces.plugins.FileHandlerInterface], + ) -> Optional[interfaces.plugins.FileHandlerInterface]: + """Extracts an ELF as a FileHandlerInterface + Args: + context: the context to operate upon + layer_name: The name of the layer on which to operate + elf_table_name: the name for the symbol table containing the symbols for ELF-files + vma: virtual memory allocation of ELF + task: the task object whose memory should be output + open_method: class to provide context manager for opening the file + Returns: + An open FileHandlerInterface object containing the complete data for the task or None in the case of failure + """ + + proc_layer = context.layers[layer_name] + file_handle = None + + try: + elf_object = context.object( + elf_table_name + constants.BANG + "Elf", + offset=vma.vm_start, + layer_name=layer_name, + ) + + if not elf_object.is_valid(): + return None + + sections = {} + # TODO: Apply more effort to reconstruct ELF, e.g.: https://github.com/enbarberis/core2ELF64 ? + for phdr in elf_object.get_program_headers(): + if phdr.p_type != 1: # PT_LOAD = 1 + continue + + start = phdr.p_vaddr + size = phdr.p_memsz + end = start + size + + # Use complete memory pages for dumping + # If start isn't a multiple of 4096, stick to the highest multiple < start + # If end isn't a multiple of 4096, stick to the lowest multiple > end + if start % 4096: + start = start & ~0xFFF + + if end % 4096: + end = (end & ~0xFFF) + 4096 + + real_size = end - start + + if real_size < 0 or real_size > 100000000: + continue + + sections[start] = real_size + + elf_data = b"" + for section_start in sorted(sections.keys()): + read_size = sections[section_start] + + buf = proc_layer.read(vma.vm_start + section_start, read_size, pad=True) + elf_data = elf_data + buf + + file_handle = open_method( + f"pid.{task.pid}.{utility.array_to_string(task.comm)}.{vma.vm_start:#x}.dmp" + ) + file_handle.write(elf_data) + except Exception as e: + vollog.debug(f"Unable to dump ELF with pid {task.pid}: {e}") + + return file_handle + def _generator(self, tasks): + elf_table_name = intermed.IntermediateSymbolTable.create( + self.context, self.config_path, "linux", "elf", class_types=elf.class_types + ) for task in tasks: proc_layer_name = task.add_process_layer() if not proc_layer_name: @@ -60,6 +152,21 @@ class Elfs(plugins.PluginInterface): path = vma.get_name(self.context, task) + file_output = "Disabled" + if self.config["dump"]: + file_handle = self.elf_dump( + self.context, + proc_layer_name, + elf_table_name, + vma, + task, + self.open, + ) + file_output = "Error outputting file" + if file_handle: + file_handle.close() + file_output = str(file_handle.preferred_filename) + yield ( 0, ( @@ -68,6 +175,7 @@ class Elfs(plugins.PluginInterface): format_hints.Hex(vma.vm_start), format_hints.Hex(vma.vm_end), path, + file_output, ), ) @@ -81,6 +189,7 @@ class Elfs(plugins.PluginInterface): ("Start", format_hints.Hex), ("End", format_hints.Hex), ("File Path", str), + ("File Output", str), ], self._generator( pslist.PsList.list_tasks( diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index af260a772..16e370b6e 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -1,12 +1,15 @@ # This file is Copyright 2021 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Callable, Iterable, List, Any, Tuple +from typing import Any, Callable, Iterable, List -from volatility3.framework import renderers, interfaces +from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.linux.extensions import elf +from volatility3.plugins.linux import elfs class PsList(interfaces.plugins.PluginInterface): @@ -24,6 +27,9 @@ class PsList(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), + requirements.PluginRequirement( + name="elfs", plugin=elfs.Elfs, version=(2, 0, 0) + ), requirements.ListRequirement( name="pid", description="Filter on specific process IDs", @@ -42,6 +48,12 @@ class PsList(interfaces.plugins.PluginInterface): optional=True, default=False, ), + requirements.BooleanRequirement( + name="dump", + description="Extract listed processes", + optional=True, + default=False, + ), ] @classmethod @@ -66,38 +78,12 @@ class PsList(interfaces.plugins.PluginInterface): else: return lambda _: False - def _get_task_fields( - self, task: interfaces.objects.ObjectInterface, decorate_comm: bool = False - ) -> Tuple[int, int, int, str]: - """Extract the fields needed for the final output - - Args: - task: A task object from where to get the fields. - decorate_comm: If True, it decorates the comm string of - - User threads: in curly brackets, - - Kernel threads: in square brackets - Defaults to False. - Returns: - A tuple with the fields to show in the plugin output. - """ - pid = task.tgid - tid = task.pid - ppid = task.parent.tgid if task.parent else 0 - name = utility.array_to_string(task.comm) - if decorate_comm: - if task.is_kernel_thread: - name = f"[{name}]" - elif task.is_user_thread: - name = f"{{{name}}}" - - task_fields = (format_hints.Hex(task.vol.offset), pid, tid, ppid, name) - return task_fields - def _generator( self, pid_filter: Callable[[Any], bool], include_threads: bool = False, decorate_comm: bool = False, + dump: bool = False, ): """Generates the tasks list. @@ -110,14 +96,63 @@ class PsList(interfaces.plugins.PluginInterface): - User threads: in curly brackets, - Kernel threads: in square brackets Defaults to False. + dump: If True, the main executable of the process is written to a file + Defaults to False. Yields: Each rows """ for task in self.list_tasks( self.context, self.config["kernel"], pid_filter, include_threads ): - row = self._get_task_fields(task, decorate_comm) - yield (0, row) + elf_table_name = intermed.IntermediateSymbolTable.create( + self.context, + self.config_path, + "linux", + "elf", + class_types=elf.class_types, + ) + file_output = "Disabled" + if dump: + proc_layer_name = task.add_process_layer() + if not proc_layer_name: + continue + + # Find the vma that belongs to the main ELF of the process + file_output = "Error outputting file" + + for v in task.mm.get_mmap_iter(): + if v.vm_start == task.mm.start_code: + file_handle = elfs.Elfs.elf_dump( + self.context, + proc_layer_name, + elf_table_name, + v, + task, + self.open, + ) + if file_handle: + file_output = str(file_handle.preferred_filename) + file_handle.close() + break + + pid = task.tgid + tid = task.pid + ppid = task.parent.tgid if task.parent else 0 + name = utility.array_to_string(task.comm) + if decorate_comm: + if task.is_kernel_thread: + name = f"[{name}]" + elif task.is_user_thread: + name = f"{{{name}}}" + + yield 0, ( + format_hints.Hex(task.vol.offset), + pid, + tid, + ppid, + name, + file_output, + ) @classmethod def list_tasks( @@ -155,6 +190,7 @@ class PsList(interfaces.plugins.PluginInterface): pids = self.config.get("pid") include_threads = self.config.get("threads") decorate_comm = self.config.get("decorate_comm") + dump = self.config.get("dump") filter_func = self.create_pid_filter(pids) columns = [ @@ -163,7 +199,8 @@ class PsList(interfaces.plugins.PluginInterface): ("TID", int), ("PPID", int), ("COMM", str), + ("File output", str), ] return renderers.TreeGrid( - columns, self._generator(filter_func, include_threads, decorate_comm) + columns, self._generator(filter_func, include_threads, decorate_comm, dump) ) From bd291c43d5bc31409cb6ac920f6135c29b63c58f Mon Sep 17 00:00:00 2001 From: Paul Kermann Date: Mon, 16 Jan 2023 10:15:36 +0200 Subject: [PATCH 0063/2186] added debug message --- volatility3/framework/symbols/windows/pdbutil.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index 1c3260fed..74fd0e4e8 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -54,6 +54,7 @@ class PDBUtility(interfaces.configuration.VersionableInterface): """ result = cls.get_guid_from_mz(context, layer_name, offset) if result is None: + vollog.debug(f"Could not get GUID for {hex(offset)}") return None guid, age, pdb_name = result if config_path is None: From 5aca49388eb83d20316d24add538dc79d8e34dee Mon Sep 17 00:00:00 2001 From: Paul Kermann Date: Mon, 16 Jan 2023 12:01:45 +0200 Subject: [PATCH 0064/2186] fix smearing --- volatility3/framework/plugins/windows/callbacks.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index 3bde95cf3..98e09d925 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -203,7 +203,10 @@ class Callbacks(interfaces.plugins.PluginInterface): callback_list = ntkrnlmp.object(object_type="_LIST_ENTRY", offset=symbol_offset) for callback in callback_list.to_list(full_type_name, "Link"): - yield "CmRegisterCallbackEx", callback.Function, f"Altitude: {callback.Altitude.String}" + altitude = "-" + with contextlib.suppress(exceptions.InvalidAddressException): + altitude = callback.Altitude.String + yield "CmRegisterCallbackEx", callback.Function, f"Altitude: {altitude}" @classmethod def list_registry_callbacks( From 5e33a98481e019083f1f4a41d8a145e2e31742e0 Mon Sep 17 00:00:00 2001 From: Paul Kermann Date: Mon, 16 Jan 2023 12:39:08 +0200 Subject: [PATCH 0065/2186] change default value to None --- volatility3/framework/plugins/windows/callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index 98e09d925..a1283d394 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -203,7 +203,7 @@ class Callbacks(interfaces.plugins.PluginInterface): callback_list = ntkrnlmp.object(object_type="_LIST_ENTRY", offset=symbol_offset) for callback in callback_list.to_list(full_type_name, "Link"): - altitude = "-" + altitude = None with contextlib.suppress(exceptions.InvalidAddressException): altitude = callback.Altitude.String yield "CmRegisterCallbackEx", callback.Function, f"Altitude: {altitude}" From 4cafc982f4972a8dace64589a0adcd7a02518d83 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 16 Jan 2023 10:47:09 +0000 Subject: [PATCH 0066/2186] Windows: Fix up callbacks typos and typing info --- volatility3/framework/plugins/windows/callbacks.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index a1283d394..6898935fc 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -82,7 +82,7 @@ class Callbacks(interfaces.plugins.PluginInterface): context: The context to retrieve required elements (layers, symbol tables) from layer_name: The name of the layer on which to operate symbol_table: The name of the table containing the kernel symbols - callback_table_name: The nae of the table containing the callback symbols + callback_table_name: The name of the table containing the callback symbols Yields: A name, location and optional detail string @@ -182,7 +182,7 @@ class Callbacks(interfaces.plugins.PluginInterface): layer_name: str, symbol_table: str, callback_table_name: str, - ) -> Iterable[Tuple[str, int, None]]: + ) -> Iterable[Tuple[str, int, Optional[str]]]: """ Lists all registry callbacks via the CallbackListHead. """ @@ -215,14 +215,14 @@ class Callbacks(interfaces.plugins.PluginInterface): layer_name: str, symbol_table: str, callback_table_name: str, - ) -> Iterable[Tuple[str, int, None]]: + ) -> Iterable[Tuple[str, int, Optional[str]]]: """Lists all registry callbacks. Args: context: The context to retrieve required elements (layers, symbol tables) from layer_name: The name of the layer on which to operate symbol_table: The name of the table containing the kernel symbols - callback_table_name: The nae of the table containing the callback symbols + callback_table_name: The name of the table containing the callback symbols Yields: A name, location and optional detail string @@ -272,7 +272,7 @@ class Callbacks(interfaces.plugins.PluginInterface): context: The context to retrieve required elements (layers, symbol tables) from layer_name: The name of the layer on which to operate symbol_table: The name of the table containing the kernel symbols - callback_table_name: The nae of the table containing the callback symbols + callback_table_name: The name of the table containing the callback symbols Yields: A name, location and optional detail string @@ -330,7 +330,7 @@ class Callbacks(interfaces.plugins.PluginInterface): context: The context to retrieve required elements (layers, symbol tables) from layer_name: The name of the layer on which to operate symbol_table: The name of the table containing the kernel symbols - callback_table_name: The nae of the table containing the callback symbols + callback_table_name: The name of the table containing the callback symbols Yields: A name, location and optional detail string From f036acdeb8181a0cec6f4a73611080c8e14b5349 Mon Sep 17 00:00:00 2001 From: Paul Kermann Date: Mon, 16 Jan 2023 13:02:20 +0200 Subject: [PATCH 0067/2186] missing import --- volatility3/framework/plugins/windows/callbacks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index 6898935fc..56609a73a 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -3,6 +3,7 @@ # import logging +import contextlib from typing import List, Iterable, Tuple, Optional, Union from volatility3.framework import constants, exceptions, renderers, interfaces, symbols From e16887414e97cb9b2ef414a9ce15071fa9ac18f4 Mon Sep 17 00:00:00 2001 From: Paul Kermann Date: Tue, 17 Jan 2023 10:15:03 +0200 Subject: [PATCH 0068/2186] add escapechar --- volatility3/cli/text_renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 5df378d08..bb0f41ca3 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -241,7 +241,7 @@ class CSVRenderer(CLIRenderer): # Ignore the type because namedtuples don't realize they have accessible attributes header_list.append(f"{column.name}") - writer = csv.DictWriter(outfd, header_list, lineterminator="\n") + writer = csv.DictWriter(outfd, header_list, lineterminator="\n", escapechar='\\') writer.writeheader() def visitor(node: interfaces.renderers.TreeNode, accumulator): From 728e8b608ab59e4fa43353f4f2dea9f378b0e06a Mon Sep 17 00:00:00 2001 From: Paul Kermann Date: Tue, 17 Jan 2023 16:11:08 +0200 Subject: [PATCH 0069/2186] black reformat --- volatility3/cli/text_renderer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index bb0f41ca3..7e2167b6b 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -241,7 +241,9 @@ class CSVRenderer(CLIRenderer): # Ignore the type because namedtuples don't realize they have accessible attributes header_list.append(f"{column.name}") - writer = csv.DictWriter(outfd, header_list, lineterminator="\n", escapechar='\\') + writer = csv.DictWriter( + outfd, header_list, lineterminator="\n", escapechar="\\" + ) writer.writeheader() def visitor(node: interfaces.renderers.TreeNode, accumulator): From 1d4aa72c85c07f4bdad05de8abe1ecc8c053e760 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 27 Jan 2023 11:07:05 +0000 Subject: [PATCH 0070/2186] update linux.iomem with basic smear protection --- volatility3/framework/plugins/linux/iomem.py | 23 +++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/iomem.py b/volatility3/framework/plugins/linux/iomem.py index 6b0469d60..08a61bb46 100644 --- a/volatility3/framework/plugins/linux/iomem.py +++ b/volatility3/framework/plugins/linux/iomem.py @@ -48,15 +48,32 @@ class IOMem(interfaces.plugins.PluginInterface): Yields: Each row of output """ - # create the resource object vmlinux = context.modules[vmlinux_module_name] - resource = vmlinux.object("resource", resource_offset) + + # create the resource object with protection against memory smear + try: + resource = vmlinux.object("resource", resource_offset) + except exceptions.InvalidAddressException: + vollog.warning( + f"Unable to create resource object at {resource_offset:#x}. This resource, " + "its sibling, and any of it's childern and will be missing from the output." + ) + return None # extract the information required for this resource - name = utility.pointer_to_string(resource.name, 128) start = format_hints.Hex(resource.start) end = format_hints.Hex(resource.end) + # get name with protection against smear as following a pointer + try: + name = utility.pointer_to_string(resource.name, 128) + except exceptions.InvalidAddressException: + vollog.warning( + "Unable to follow pointer to name for resource object at {resource_offset:#x}, " + "replaced with UnreadableValue" + ) + name = renderers.UnreadableValue() + # mark this resource as seen in the seen set. Normally this should not be needed but will protect # against possible infinite loops. Warn the user if an infinite loop would have happened. if resource_offset in seen: From c2a1afb0ba8305b34bed11defdd21b9d83b76deb Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 29 Jan 2023 12:42:17 +0000 Subject: [PATCH 0071/2186] Core: Update codeql action to only run once a week --- .github/workflows/codeql.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 078af2abf..b9300251a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -12,11 +12,6 @@ name: "CodeQL" on: - push: - branches: [ "develop" ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ "develop" ] schedule: - cron: '16 8 * * 0' From 3297ba02e7cd2d24dfabac35c24996f36ca86891 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 29 Jan 2023 12:46:06 +0000 Subject: [PATCH 0072/2186] Core: Rather than scheduling it daily, only do it on commits --- .github/workflows/codeql.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b9300251a..fa9bd7ef6 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -12,8 +12,13 @@ name: "CodeQL" on: - schedule: - - cron: '16 8 * * 0' + push: + branches: [ "develop" ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ "develop" ] +# schedule: +# - cron: '16 8 * * 0' jobs: analyze: From b375c6f71d0a90d8b3d632edbde9d25f9c72c266 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 1 Feb 2023 09:43:02 +0000 Subject: [PATCH 0073/2186] Update linux.iomem --- volatility3/framework/plugins/linux/iomem.py | 44 +++++++++++--------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/volatility3/framework/plugins/linux/iomem.py b/volatility3/framework/plugins/linux/iomem.py index 08a61bb46..fddea4668 100644 --- a/volatility3/framework/plugins/linux/iomem.py +++ b/volatility3/framework/plugins/linux/iomem.py @@ -16,6 +16,7 @@ class IOMem(interfaces.plugins.PluginInterface): """Generates an output similar to /proc/iomem on a running system.""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -60,10 +61,6 @@ class IOMem(interfaces.plugins.PluginInterface): ) return None - # extract the information required for this resource - start = format_hints.Hex(resource.start) - end = format_hints.Hex(resource.end) - # get name with protection against smear as following a pointer try: name = utility.pointer_to_string(resource.name, 128) @@ -87,7 +84,7 @@ class IOMem(interfaces.plugins.PluginInterface): seen.add(resource_offset) # yield information on this resource - yield depth, (name, start, end) + yield depth, (name, resource.start, resource.end) # process child resource if this exists if resource.child != 0: @@ -123,17 +120,32 @@ class IOMem(interfaces.plugins.PluginInterface): vmlinux_module_name = self.config["kernel"] vmlinux = self.context.modules[vmlinux_module_name] - # check that the iomem_resource symbol exists - # normally exported in /kernel/resource.c + # get the address for the iomem_resource try: iomem_root_offset = vmlinux.get_absolute_symbol_address("iomem_resource") except exceptions.SymbolError: iomem_root_offset = None - # error if 'iomem_resource' is not found - if not iomem_root_offset: + # only continue if iomem_root address was located + if iomem_root_offset is not None: + + # recursively parse the resources starting from the root resource at 'iomem_resource' + for depth, (name, start, end) in self.parse_resource( + self.context, vmlinux_module_name, iomem_root_offset + ): + # use format_hints to format start and end addresses for the renderers + yield depth, (name, format_hints.Hex(start), format_hints.Hex(end)) + + def run(self): + # get the kernel module from the current context + vmlinux_module_name = self.config["kernel"] + vmlinux = self.context.modules[vmlinux_module_name] + + # check that the iomem_resource symbol exists + # normally exported in /kernel/resource.c + if not vmlinux.has_symbol("iomem_resource"): raise TypeError( - "This plugin requires the iomem_resource structure. This structure is not present in the supplied symbol table. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." + "This plugin requires the iomem_resource symbol. This symbol is not present in the supplied symbol table. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." ) # error if type 'resource' is not found @@ -142,15 +154,9 @@ class IOMem(interfaces.plugins.PluginInterface): "This plugin requires the resource type. This type is not present in the supplied symbol table. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." ) - # recursively parse the resources starting from the root resource at 'iomem_resource' - yield from self.parse_resource( - self.context, vmlinux_module_name, iomem_root_offset - ) - - def run(self): columns = [ - ("NAME", str), - ("START", format_hints.Hex), - ("END", format_hints.Hex), + ("Name", str), + ("Start", format_hints.Hex), + ("End", format_hints.Hex), ] return renderers.TreeGrid(columns, self._generator()) From 3b1e4ce0e2635db5ac860cf30bb5c5524d55632e Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 1 Feb 2023 11:27:44 +0000 Subject: [PATCH 0074/2186] Update linux.vmayarascan to pull requirements from the generic yarascan plugin --- .../framework/plugins/linux/vmayarascan.py | 79 ++++++++++--------- 1 file changed, 41 insertions(+), 38 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index c7a48cc14..f0d42f6e3 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -1,4 +1,4 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2023 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # @@ -15,68 +15,71 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): """Scans all virtual memory areas for tasks using yara.""" _required_framework_version = (2, 4, 0) + _version = (1, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.BooleanRequirement( - name="wide", - description="Match wide (unicode) strings", - default=False, - optional=True, - ), - requirements.StringRequirement( - name="yara_rules", description="Yara rules (as a string)", optional=True - ), - requirements.URIRequirement( - name="yara_file", description="Yara rules (as a file)", optional=True - ), - # This additional requirement is to follow suit with upstream, who feel that compiled rules could potentially be used to execute malicious code - # As such, there's a separate option to run compiled files, as happened with yara-3.9 and later - requirements.URIRequirement( - name="yara_compiled_file", - description="Yara compiled rules (as a file)", - optional=True, - ), - requirements.IntRequirement( - name="max_size", - default=0x40000000, - description="Set the maximum size (default is 1GB)", - optional=True, - ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) - ), - requirements.VersionRequirement( - name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) - ), + # create a list of requirements for vmayarascan + vmayarascan_requirements = [ requirements.ListRequirement( name="pid", element_type=int, description="Process IDs to include (all other processes are excluded)", optional=True, ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.PluginRequirement( + name="yarascan", plugin=yarascan.YaraScan, version=(1, 1, 0) + ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + ), + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), ] + # get base yarascan requirements + yarascan_requirements = yarascan.YaraScan.get_requirements() + + # remove TranslationLayerRequirement from the base yarascan requirements + # if this is not removed automagic will not find both the TranslationLayerRequirement + # for YaraScan and the ModuleRequirement for VmaYaraScan + yarascan_requirements = [ + requirement + for requirement in yarascan_requirements + if not isinstance(requirement, requirements.TranslationLayerRequirement) + ] + + # return the combined requirements + return yarascan_requirements + vmayarascan_requirements + def _generator(self): + # use yarascan to parse the yara options provided and create the rules rules = yarascan.YaraScan.process_yara_options(dict(self.config)) + # filter based on the pid option if provided filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) for task in pslist.PsList.list_tasks( context=self.context, vmlinux_module_name=self.config["kernel"], filter_func=filter_func, ): + + # attempt to create a process layer for each task and skip those + # that cannot (e.g. kernel threads) proc_layer_name = task.add_process_layer() if not proc_layer_name: continue + # get the proc_layer object from the context proc_layer = self.context.layers[proc_layer_name] + + # scan the process layer with the yarascanner for offset, rule_name, name, value in proc_layer.scan( context=self.context, scanner=yarascan.YaraScanner(rules=rules), From 43a17384c32da91d711f9f186a3036bab43a3954 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 3 Feb 2023 00:35:49 +0000 Subject: [PATCH 0075/2186] Core: Update to black 23.1.0 which removes many blank lines and parentheses --- volatility3/cli/__init__.py | 2 +- volatility3/cli/text_renderer.py | 2 +- volatility3/cli/volargparse.py | 1 - volatility3/framework/automagic/construct_layers.py | 1 - volatility3/framework/automagic/mac.py | 1 - volatility3/framework/automagic/symbol_cache.py | 3 ++- volatility3/framework/automagic/symbol_finder.py | 4 ++-- volatility3/framework/interfaces/layers.py | 5 ++--- volatility3/framework/layers/avml.py | 2 +- volatility3/framework/layers/crash.py | 1 - volatility3/framework/layers/intel.py | 2 +- volatility3/framework/layers/leechcore.py | 1 - volatility3/framework/layers/linear.py | 4 ++-- volatility3/framework/layers/registry.py | 1 - volatility3/framework/plugins/linux/check_afinfo.py | 4 +--- volatility3/framework/plugins/linux/check_creds.py | 3 +-- volatility3/framework/plugins/linux/check_modules.py | 2 -- volatility3/framework/plugins/linux/check_syscall.py | 7 +++---- volatility3/framework/plugins/linux/lsmod.py | 1 - volatility3/framework/plugins/linux/lsof.py | 1 - volatility3/framework/plugins/linux/mountinfo.py | 1 - volatility3/framework/plugins/linux/tty_check.py | 2 -- volatility3/framework/plugins/mac/check_syscall.py | 2 +- volatility3/framework/plugins/mac/kauth_listeners.py | 1 - volatility3/framework/plugins/mac/kauth_scopes.py | 1 - volatility3/framework/plugins/mac/kevents.py | 1 - volatility3/framework/plugins/mac/list_files.py | 3 --- volatility3/framework/plugins/mac/lsmod.py | 2 -- volatility3/framework/plugins/mac/netstat.py | 2 -- volatility3/framework/plugins/mac/pslist.py | 1 - volatility3/framework/plugins/timeliner.py | 2 +- volatility3/framework/plugins/windows/bigpools.py | 1 - volatility3/framework/plugins/windows/cachedump.py | 1 - volatility3/framework/plugins/windows/callbacks.py | 5 ----- volatility3/framework/plugins/windows/devicetree.py | 2 +- volatility3/framework/plugins/windows/dlllist.py | 2 -- volatility3/framework/plugins/windows/driverirp.py | 2 -- volatility3/framework/plugins/windows/drivermodule.py | 1 - volatility3/framework/plugins/windows/driverscan.py | 1 - volatility3/framework/plugins/windows/dumpfiles.py | 1 - volatility3/framework/plugins/windows/envars.py | 1 - volatility3/framework/plugins/windows/filescan.py | 2 -- volatility3/framework/plugins/windows/getservicesids.py | 1 - volatility3/framework/plugins/windows/getsids.py | 3 --- volatility3/framework/plugins/windows/handles.py | 8 ++------ volatility3/framework/plugins/windows/hashdump.py | 1 - volatility3/framework/plugins/windows/info.py | 3 --- volatility3/framework/plugins/windows/joblinks.py | 2 +- volatility3/framework/plugins/windows/ldrmodules.py | 1 - volatility3/framework/plugins/windows/lsadump.py | 6 ------ volatility3/framework/plugins/windows/malfind.py | 1 - volatility3/framework/plugins/windows/mbrscan.py | 2 -- volatility3/framework/plugins/windows/modscan.py | 3 --- volatility3/framework/plugins/windows/modules.py | 1 - volatility3/framework/plugins/windows/mutantscan.py | 2 -- volatility3/framework/plugins/windows/netscan.py | 2 -- volatility3/framework/plugins/windows/netstat.py | 2 -- volatility3/framework/plugins/windows/poolscanner.py | 2 -- volatility3/framework/plugins/windows/privileges.py | 2 -- volatility3/framework/plugins/windows/pslist.py | 1 - volatility3/framework/plugins/windows/psscan.py | 2 -- .../framework/plugins/windows/registry/hivelist.py | 1 - .../framework/plugins/windows/registry/hivescan.py | 1 - .../framework/plugins/windows/registry/printkey.py | 4 +--- .../framework/plugins/windows/registry/userassist.py | 2 -- volatility3/framework/plugins/windows/sessions.py | 2 -- .../framework/plugins/windows/skeleton_key_check.py | 2 -- volatility3/framework/plugins/windows/ssdt.py | 3 --- volatility3/framework/plugins/windows/svcscan.py | 2 -- volatility3/framework/plugins/windows/symlinkscan.py | 2 -- volatility3/framework/plugins/windows/vadinfo.py | 1 - volatility3/framework/plugins/windows/verinfo.py | 1 - volatility3/framework/plugins/windows/virtmap.py | 2 +- volatility3/framework/renderers/__init__.py | 4 ++-- volatility3/framework/renderers/format_hints.py | 1 - volatility3/framework/symbols/__init__.py | 2 +- volatility3/framework/symbols/linux/__init__.py | 4 +--- .../framework/symbols/linux/extensions/__init__.py | 3 --- volatility3/framework/symbols/linux/extensions/elf.py | 1 - volatility3/framework/symbols/mac/__init__.py | 4 ---- volatility3/framework/symbols/mac/extensions/__init__.py | 4 ++-- .../framework/symbols/windows/extensions/__init__.py | 8 -------- .../framework/symbols/windows/extensions/network.py | 4 ---- volatility3/framework/symbols/windows/extensions/pe.py | 1 - volatility3/framework/symbols/windows/pdbutil.py | 4 +--- volatility3/plugins/windows/registry/certificates.py | 1 - 86 files changed, 32 insertions(+), 162 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index fb124a3c9..336902d50 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -443,7 +443,7 @@ class CommandLine: # Construct and run the plugin if constructed: renderers[args.renderer]().render(constructed.run()) - except (exceptions.VolatilityException) as excp: + except exceptions.VolatilityException as excp: self.process_exceptions(excp) @classmethod diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 5df378d08..4df04e2a3 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -346,7 +346,7 @@ class PrettyTextRenderer(CLIRenderer): column_titles = [""] + [column.name for column in grid.columns] outfd.write(format_string.format(*column_titles)) - for (depth, line) in final_output: + for depth, line in final_output: nums_line = max([len(line[column]) for column in line]) for column in line: line[column] = line[column] + ([""] * (nums_line - len(line[column]))) diff --git a/volatility3/cli/volargparse.py b/volatility3/cli/volargparse.py index dd89a64fd..3048a0885 100644 --- a/volatility3/cli/volargparse.py +++ b/volatility3/cli/volargparse.py @@ -31,7 +31,6 @@ class HelpfulSubparserAction(argparse._SubParsersAction): values: Union[str, Sequence[Any], None], option_string: Optional[str] = None, ) -> None: - parser_name = "" arg_strings = [] # type: List[str] if values is not None: diff --git a/volatility3/framework/automagic/construct_layers.py b/volatility3/framework/automagic/construct_layers.py index ceed2fe50..239f0cfb6 100644 --- a/volatility3/framework/automagic/construct_layers.py +++ b/volatility3/framework/automagic/construct_layers.py @@ -36,7 +36,6 @@ class ConstructionMagic(interfaces.automagic.AutomagicInterface): progress_callback=None, optional=False, ) -> List[str]: - # Make sure we import the layers, so they can reconstructed framework.import_files(sys.modules["volatility3.framework.layers"]) diff --git a/volatility3/framework/automagic/mac.py b/volatility3/framework/automagic/mac.py index 3ca0b4ea2..aa75fbc3d 100644 --- a/volatility3/framework/automagic/mac.py +++ b/volatility3/framework/automagic/mac.py @@ -251,7 +251,6 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): context=context, progress_callback=progress_callback, ): - banner = context.layers[layer_name].read(offset, 128) idx = banner.find(b"\x00") diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index 44a76506c..63c6fc7fa 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -161,7 +161,8 @@ class CacheManagerInterface(interfaces.configuration.VersionableInterface): """Returns ISF statistics based on the location Returns: - A tuple of base_types, types, enums, symbols, or None is location not found""" + A tuple of base_types, types, enums, symbols, or None is location not found + """ def get_hash(self, location: str) -> Optional[str]: """Returns the hash of the JSON from within a location ISF""" diff --git a/volatility3/framework/automagic/symbol_finder.py b/volatility3/framework/automagic/symbol_finder.py index 0143e74b1..f30dff456 100644 --- a/volatility3/framework/automagic/symbol_finder.py +++ b/volatility3/framework/automagic/symbol_finder.py @@ -82,13 +82,13 @@ class SymbolFinder(interfaces.automagic.AutomagicInterface): shortcut=False, ) - for (sub_path, requirement) in self._requirements: + for sub_path, requirement in self._requirements: parent_path = interfaces.configuration.parent_path(sub_path) if isinstance( requirement, requirements.SymbolTableRequirement ) and requirement.unsatisfied(context, parent_path): - for (tl_sub_path, tl_requirement) in self._requirements: + for tl_sub_path, tl_requirement in self._requirements: tl_parent_path = interfaces.configuration.parent_path(tl_sub_path) # Find the TranslationLayer sibling to the SymbolTableRequirement if ( diff --git a/volatility3/framework/interfaces/layers.py b/volatility3/framework/interfaces/layers.py index a3c31a953..68592f8cb 100644 --- a/volatility3/framework/interfaces/layers.py +++ b/volatility3/framework/interfaces/layers.py @@ -294,7 +294,7 @@ class DataLayerInterface( sections.""" result: List[Tuple[int, int]] = [] position = 0 - for (start, length) in sorted(sections): + for start, length in sorted(sections): if result and start <= position: initial_start, _ = result.pop() result.append((initial_start, (start + length) - initial_start)) @@ -375,7 +375,6 @@ class DataLayerInterface( def _scan_metric( self, _scanner: "ScannerInterface", sections: List[Tuple[int, int]] ) -> Callable[[int], float]: - if not sections: raise ValueError("Sections have no size, nothing to scan") last_section, last_length = sections[-1] @@ -551,7 +550,7 @@ class TranslationLayerInterface(DataLayerInterface, metaclass=ABCMeta): scanner.chunk_size + scanner.overlap DataLayers by default are assumed to have no holes """ - for (section_start, section_length) in sections: + for section_start, section_length in sections: output: List[Tuple[str, int, int]] = [] # Hold the offsets of each chunk (including how much has been filled) diff --git a/volatility3/framework/layers/avml.py b/volatility3/framework/layers/avml.py index b12fdd01c..66f3f0e4f 100644 --- a/volatility3/framework/layers/avml.py +++ b/volatility3/framework/layers/avml.py @@ -73,7 +73,7 @@ class AVMLLayer(segmented.NonLinearlySegmentedLayer): ) segments, consumed = self._read_snappy_frames(chunk_data, end - start) # The returned segments are accurate the chunk_data that was passed in, but needs shifting - for (thing, mapped_offset, size, mapped_size, compressed) in segments: + for thing, mapped_offset, size, mapped_size, compressed in segments: self._segments.append( ( thing + start, diff --git a/volatility3/framework/layers/crash.py b/volatility3/framework/layers/crash.py index 64166cfba..8efd4f7c7 100644 --- a/volatility3/framework/layers/crash.py +++ b/volatility3/framework/layers/crash.py @@ -39,7 +39,6 @@ class WindowsCrashDump32Layer(segmented.SegmentedLayer): def __init__( self, context: interfaces.context.ContextInterface, config_path: str, name: str ) -> None: - # Construct these so we can use self.config self._context = context self._config_path = config_path diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index ecfb6bf11..478eb168f 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -173,7 +173,7 @@ class Intel(linear.LinearlyMappedLayer): ) # Run through the offset in various chunks - for (name, size, large_page) in self._structure: + for name, size, large_page in self._structure: # Check we're valid if not self._page_is_valid(entry): raise exceptions.PagedInvalidAddressException( diff --git a/volatility3/framework/layers/leechcore.py b/volatility3/framework/layers/leechcore.py index 73700dd3c..542fd6ca2 100644 --- a/volatility3/framework/layers/leechcore.py +++ b/volatility3/framework/layers/leechcore.py @@ -91,7 +91,6 @@ if HAS_LEECHCORE: chunk_size = size output = [] for entry in self.handle.memmap: - if ( entry["base"] + entry["size"] <= chunk_start or entry["base"] >= chunk_start + chunk_size diff --git a/volatility3/framework/layers/linear.py b/volatility3/framework/layers/linear.py index 19203eb66..47170df7b 100644 --- a/volatility3/framework/layers/linear.py +++ b/volatility3/framework/layers/linear.py @@ -42,7 +42,7 @@ class LinearlyMappedLayer(interfaces.layers.TranslationLayerInterface): length size.""" current_offset = offset output: List[bytes] = [] - for (offset, _, mapped_offset, mapped_length, layer) in self.mapping( + for offset, _, mapped_offset, mapped_length, layer in self.mapping( offset, length, ignore_errors=pad ): if not pad and offset > current_offset: @@ -71,7 +71,7 @@ class LinearlyMappedLayer(interfaces.layers.TranslationLayerInterface): underlying mapping.""" current_offset = offset length = len(value) - for (offset, _, mapped_offset, length, layer) in self.mapping(offset, length): + for offset, _, mapped_offset, length, layer in self.mapping(offset, length): if offset > current_offset: raise exceptions.InvalidAddressException( self.name, diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index 660e0a299..cc8ce1f4c 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -269,7 +269,6 @@ class RegistryHive(linear.LinearlyMappedLayer): def mapping( self, offset: int, length: int, ignore_errors: bool = False ) -> Iterable[Tuple[int, int, int, int, str]]: - if length < 0: raise ValueError("Mapping length of RegistryHive must be positive or zero") diff --git a/volatility3/framework/plugins/linux/check_afinfo.py b/volatility3/framework/plugins/linux/check_afinfo.py index c177ee642..90e714eaa 100644 --- a/volatility3/framework/plugins/linux/check_afinfo.py +++ b/volatility3/framework/plugins/linux/check_afinfo.py @@ -68,7 +68,6 @@ class Check_afinfo(plugins.PluginInterface): yield var_name, "show", var.seq_show def _generator(self): - vmlinux = self.context.modules[self.config["kernel"]] op_members = vmlinux.get_type("file_operations").members @@ -86,7 +85,7 @@ class Check_afinfo(plugins.PluginInterface): ) protocols = [tcp, udp] - for (struct_type, global_vars) in protocols: + for struct_type, global_vars in protocols: for global_var_name in global_vars: # this will lookup fail for the IPv6 protocols on kernels without IPv6 support try: @@ -104,7 +103,6 @@ class Check_afinfo(plugins.PluginInterface): yield 0, (name, member, format_hints.Hex(address)) def run(self): - return renderers.TreeGrid( [ ("Symbol Name", str), diff --git a/volatility3/framework/plugins/linux/check_creds.py b/volatility3/framework/plugins/linux/check_creds.py index 6d4e2bc8a..ab6ee4935 100644 --- a/volatility3/framework/plugins/linux/check_creds.py +++ b/volatility3/framework/plugins/linux/check_creds.py @@ -46,7 +46,6 @@ class Check_creds(interfaces.plugins.PluginInterface): tasks = pslist.PsList.list_tasks(self.context, vmlinux.name) for task in tasks: - cred_addr = task.cred.dereference().vol.offset if cred_addr not in creds: @@ -54,7 +53,7 @@ class Check_creds(interfaces.plugins.PluginInterface): creds[cred_addr].append(task.pid) - for (_, pids) in creds.items(): + for _, pids in creds.items(): if len(pids) > 1: pid_str = "" for pid in pids: diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index 766858888..9b3594c5e 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -37,7 +37,6 @@ class Check_modules(plugins.PluginInterface): def get_kset_modules( cls, context: interfaces.context.ContextInterface, vmlinux_name: str ): - vmlinux = context.modules[vmlinux_name] try: @@ -57,7 +56,6 @@ class Check_modules(plugins.PluginInterface): for kobj in module_kset.list.to_list( vmlinux.symbol_table_name + constants.BANG + "kobject", "entry" ): - mod_kobj = vmlinux.object( object_type="module_kobject", offset=kobj.vol.offset - kobj_off, diff --git a/volatility3/framework/plugins/linux/check_syscall.py b/volatility3/framework/plugins/linux/check_syscall.py index 6b11038ec..b1d2919f9 100644 --- a/volatility3/framework/plugins/linux/check_syscall.py +++ b/volatility3/framework/plugins/linux/check_syscall.py @@ -110,7 +110,7 @@ class Check_syscall(plugins.PluginInterface): vmlinux = self.context.modules[self.config["kernel"]] data = self.context.layers.read(vmlinux.layer_name, func_addr, 6) - for (address, size, mnemonic, op_str) in md.disasm_lite(data, func_addr): + for address, size, mnemonic, op_str in md.disasm_lite(data, func_addr): if mnemonic == "CMP": table_size = int(op_str.split(",")[1].strip()) & 0xFFFF break @@ -161,7 +161,7 @@ class Check_syscall(plugins.PluginInterface): ia32_info = self._get_table_info(vmlinux, "ia32_sys_call_table", ptr_sz) tables.append(("32bit", ia32_info)) - for (table_name, (tableaddr, tblsz)) in tables: + for table_name, (tableaddr, tblsz) in tables: table = vmlinux.object( object_type="array", subtype=vmlinux.get_type("pointer"), @@ -169,7 +169,7 @@ class Check_syscall(plugins.PluginInterface): count=tblsz, ) - for (i, call_addr) in enumerate(table): + for i, call_addr in enumerate(table): if not call_addr: continue @@ -196,7 +196,6 @@ class Check_syscall(plugins.PluginInterface): ) def run(self): - return renderers.TreeGrid( [ ("Table Address", format_hints.Hex), diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index 1c1e094c3..a65b0d00b 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -60,7 +60,6 @@ class Lsmod(plugins.PluginInterface): def _generator(self): try: for module in self.list_modules(self.context, self.config["kernel"]): - mod_size = module.get_init_size() + module.get_core_size() mod_name = utility.array_to_string(module.name) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 62bade1f1..d970ad8a9 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -52,7 +52,6 @@ class Lsof(plugins.PluginInterface): symbol_table: str, filter_func: Callable[[int], bool] = lambda _: False, ): - linuxutils_symbol_table = None # type: ignore for task in pslist.PsList.list_tasks(context, symbol_table, filter_func): if linuxutils_symbol_table is None: diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index c849d51c6..ebd6e55a0 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -203,7 +203,6 @@ class MountInfo(plugins.PluginInterface): mount_format: bool, per_namespace: bool, ) -> Iterable[Tuple[int, Tuple]]: - for task, mnt, mnt_ns_id in self._get_tasks_mountpoints(tasks, per_namespace): if mnt_ns_ids and mnt_ns_id not in mnt_ns_ids: continue diff --git a/volatility3/framework/plugins/linux/tty_check.py b/volatility3/framework/plugins/linux/tty_check.py index dcc9f3e06..45238ef8c 100644 --- a/volatility3/framework/plugins/linux/tty_check.py +++ b/volatility3/framework/plugins/linux/tty_check.py @@ -61,7 +61,6 @@ class tty_check(plugins.PluginInterface): for tty in tty_drivers.to_list( vmlinux.symbol_table_name + constants.BANG + "tty_driver", "tty_drivers" ): - try: ttys = utility.array_of_pointers( tty.ttys.dereference(), @@ -73,7 +72,6 @@ class tty_check(plugins.PluginInterface): continue for tty_dev in ttys: - if tty_dev == 0: continue diff --git a/volatility3/framework/plugins/mac/check_syscall.py b/volatility3/framework/plugins/mac/check_syscall.py index a7a32e9ab..5c22e6463 100644 --- a/volatility3/framework/plugins/mac/check_syscall.py +++ b/volatility3/framework/plugins/mac/check_syscall.py @@ -47,7 +47,7 @@ class Check_syscall(plugins.PluginInterface): table = kernel.object_from_symbol(symbol_name="sysent") - for (i, ent) in enumerate(table): + for i, ent in enumerate(table): try: call_addr = ent.sy_call.dereference().vol.offset except exceptions.InvalidAddressException: diff --git a/volatility3/framework/plugins/mac/kauth_listeners.py b/volatility3/framework/plugins/mac/kauth_listeners.py index 0b945a8fd..ed43bfb42 100644 --- a/volatility3/framework/plugins/mac/kauth_listeners.py +++ b/volatility3/framework/plugins/mac/kauth_listeners.py @@ -49,7 +49,6 @@ class Kauth_listeners(interfaces.plugins.PluginInterface): for scope in kauth_scopes.Kauth_scopes.list_kauth_scopes( self.context, self.config["kernel"] ): - scope_name = utility.pointer_to_string(scope.ks_identifier, 128) for listener in scope.get_listeners(): diff --git a/volatility3/framework/plugins/mac/kauth_scopes.py b/volatility3/framework/plugins/mac/kauth_scopes.py index bfd7216a8..afb320a07 100644 --- a/volatility3/framework/plugins/mac/kauth_scopes.py +++ b/volatility3/framework/plugins/mac/kauth_scopes.py @@ -65,7 +65,6 @@ class Kauth_scopes(interfaces.plugins.PluginInterface): ) for scope in self.list_kauth_scopes(self.context, self.config["kernel"]): - callback = scope.ks_callback if callback == 0: continue diff --git a/volatility3/framework/plugins/mac/kevents.py b/volatility3/framework/plugins/mac/kevents.py index 74c5f6037..3b996bc0a 100644 --- a/volatility3/framework/plugins/mac/kevents.py +++ b/volatility3/framework/plugins/mac/kevents.py @@ -184,7 +184,6 @@ class Kevents(interfaces.plugins.PluginInterface): for task_name, pid, kn in self.list_kernel_events( self.context, self.config["kernel"], filter_func=filter_func ): - filter_index = kn.kn_kevent.filter * -1 if filter_index in self.event_types: filter_name = self.event_types[filter_index] diff --git a/volatility3/framework/plugins/mac/list_files.py b/volatility3/framework/plugins/mac/list_files.py index ede0fa32b..c18b0b7a2 100644 --- a/volatility3/framework/plugins/mac/list_files.py +++ b/volatility3/framework/plugins/mac/list_files.py @@ -137,7 +137,6 @@ class List_Files(plugins.PluginInterface): def _walk_mounts( cls, context: interfaces.context.ContextInterface, kernel_module_name: str ) -> Iterable[interfaces.objects.ObjectInterface]: - loop_vnodes = {} # iterate each vnode source from each mount @@ -186,7 +185,6 @@ class List_Files(plugins.PluginInterface): def list_files( cls, context: interfaces.context.ContextInterface, kernel_module_name: str ) -> Iterable[interfaces.objects.ObjectInterface]: - vnodes = cls._walk_mounts(context, kernel_module_name) for voff, (vnode_name, parent_offset, vnode) in vnodes.items(): @@ -196,7 +194,6 @@ class List_Files(plugins.PluginInterface): def _generator(self): for vnode, full_path in self.list_files(self.context, self.config["kernel"]): - yield (0, (format_hints.Hex(vnode.vol.offset), full_path)) def run(self): diff --git a/volatility3/framework/plugins/mac/lsmod.py b/volatility3/framework/plugins/mac/lsmod.py index 2cdd5e3de..2979e374b 100644 --- a/volatility3/framework/plugins/mac/lsmod.py +++ b/volatility3/framework/plugins/mac/lsmod.py @@ -63,7 +63,6 @@ class Lsmod(plugins.PluginInterface): seen: Set = set() while kmod != 0 and kmod not in seen and len(seen) < 1024: - kmod_obj = kmod.dereference() if not kernel_layer.is_valid(kmod_obj.vol.offset, kmod_obj.vol.size): @@ -81,7 +80,6 @@ class Lsmod(plugins.PluginInterface): def _generator(self): for module in self.list_modules(self.context, self.config["kernel"]): - mod_name = utility.array_to_string(module.name) mod_size = module.size diff --git a/volatility3/framework/plugins/mac/netstat.py b/volatility3/framework/plugins/mac/netstat.py index 581a9c67f..76bba25f6 100644 --- a/volatility3/framework/plugins/mac/netstat.py +++ b/volatility3/framework/plugins/mac/netstat.py @@ -68,7 +68,6 @@ class Netstat(plugins.PluginInterface): # This is hardcoded, since a change in the default method would change the expected results list_tasks = pslist.PsList.get_list_tasks(pslist.PsList.pslist_methods[0]) for task in list_tasks(context, kernel_module_name, filter_func): - task_name = utility.array_to_string(task.p_comm) pid = task.p_pid @@ -101,7 +100,6 @@ class Netstat(plugins.PluginInterface): for task_name, pid, socket in self.list_sockets( self.context, self.config["kernel"], filter_func=filter_func ): - family = socket.get_family() if family == 1: diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index c2ae71e7e..1d97216bf 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -83,7 +83,6 @@ class PsList(interfaces.plugins.PluginInterface): @classmethod def create_pid_filter(cls, pid_list: List[int] = None) -> Callable[[int], bool]: - filter_func = lambda _: False # FIXME: mypy #4973 or #2608 pid_list = pid_list or [] diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index 0776b6cc8..d1c1c0f70 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -136,7 +136,7 @@ class Timeliner(interfaces.plugins.PluginInterface): ) try: vollog.log(logging.INFO, f"Running {plugin_name}") - for (item, timestamp_type, timestamp) in plugin.generate_timeline(): + for item, timestamp_type, timestamp in plugin.generate_timeline(): times = self.timeline.get((plugin_name, item), {}) if times.get(timestamp_type, None) is not None: vollog.debug( diff --git a/volatility3/framework/plugins/windows/bigpools.py b/volatility3/framework/plugins/windows/bigpools.py index 1a51a0b81..393c2a417 100644 --- a/volatility3/framework/plugins/windows/bigpools.py +++ b/volatility3/framework/plugins/windows/bigpools.py @@ -141,7 +141,6 @@ class BigPools(interfaces.plugins.PluginInterface): tags=tags, show_free=self.config.get("show-free"), ): - num_bytes = big_pool.get_number_of_bytes() if not isinstance(num_bytes, interfaces.renderers.BaseAbsentValue): num_bytes = format_hints.Hex(num_bytes) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index 7d3093ed7..a9b669add 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -173,7 +173,6 @@ class Cachedump(interfaces.plugins.PluginInterface): kernel.symbol_table_name, hive_offsets=None if offset is None else [offset], ): - if hive.get_name().split("\\")[-1].upper() == "SYSTEM": syshive = hive if hive.get_name().split("\\")[-1].upper() == "SECURITY": diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index 56609a73a..48b2e7c62 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -104,7 +104,6 @@ class Callbacks(interfaces.plugins.PluginInterface): ] for symbol_name, extended_list in symbol_names: - try: symbol_offset = ntkrnlmp.get_symbol(symbol_name).address except exceptions.SymbolError: @@ -354,7 +353,6 @@ class Callbacks(interfaces.plugins.PluginInterface): ) for callback in callback_record.Entry: - if not context.layers[layer_name].is_valid(callback.CallbackRoutine, 64): continue @@ -372,7 +370,6 @@ class Callbacks(interfaces.plugins.PluginInterface): yield "KeBugCheckCallbackListHead", callback.CallbackRoutine, component def _generator(self): - kernel = self.context.modules[self.config["kernel"]] callback_table_name = self.create_callback_table( @@ -397,7 +394,6 @@ class Callbacks(interfaces.plugins.PluginInterface): kernel.symbol_table_name, callback_table_name, ): - if callback_detail is None: detail = renderers.NotApplicableValue() else: @@ -451,7 +447,6 @@ class Callbacks(interfaces.plugins.PluginInterface): ) def run(self): - return renderers.TreeGrid( [ ("Type", str), diff --git a/volatility3/framework/plugins/windows/devicetree.py b/volatility3/framework/plugins/windows/devicetree.py index 2541629d5..6f39799c1 100644 --- a/volatility3/framework/plugins/windows/devicetree.py +++ b/volatility3/framework/plugins/windows/devicetree.py @@ -180,7 +180,7 @@ class DeviceTree(interfaces.plugins.PluginInterface): ), ) - except (exceptions.InvalidAddressException): + except exceptions.InvalidAddressException: vollog.log( constants.LOGLEVEL_VVVV, f"Invalid address identified in drivers and devices: {driver.vol.offset:x}", diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index c1593b836..d73cea652 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -129,12 +129,10 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): nt_major_version == 6 and nt_minor_version >= 1 ) for proc in procs: - proc_id = proc.UniqueProcessId proc_layer_name = proc.add_process_layer() for entry in proc.load_order_modules(): - BaseDllName = FullDllName = renderers.UnreadableValue() with contextlib.suppress(exceptions.InvalidAddressException): BaseDllName = entry.BaseDllName.get_string() diff --git a/volatility3/framework/plugins/windows/driverirp.py b/volatility3/framework/plugins/windows/driverirp.py index 4d2c24dea..b5cd33db7 100644 --- a/volatility3/framework/plugins/windows/driverirp.py +++ b/volatility3/framework/plugins/windows/driverirp.py @@ -71,7 +71,6 @@ class DriverIrp(interfaces.plugins.PluginInterface): for driver in driverscan.DriverScan.scan_drivers( self.context, kernel.layer_name, kernel.symbol_table_name ): - try: driver_name = driver.get_driver_name() except (ValueError, exceptions.InvalidAddressException): @@ -113,7 +112,6 @@ class DriverIrp(interfaces.plugins.PluginInterface): ) def run(self): - return renderers.TreeGrid( [ ("Offset", format_hints.Hex), diff --git a/volatility3/framework/plugins/windows/drivermodule.py b/volatility3/framework/plugins/windows/drivermodule.py index cc735db30..de827602e 100644 --- a/volatility3/framework/plugins/windows/drivermodule.py +++ b/volatility3/framework/plugins/windows/drivermodule.py @@ -73,7 +73,6 @@ class DriverModule(interfaces.plugins.PluginInterface): ) def run(self) -> renderers.TreeGrid: - return renderers.TreeGrid( [ ("Offset", format_hints.Hex), diff --git a/volatility3/framework/plugins/windows/driverscan.py b/volatility3/framework/plugins/windows/driverscan.py index d8df80702..24d81c3d5 100644 --- a/volatility3/framework/plugins/windows/driverscan.py +++ b/volatility3/framework/plugins/windows/driverscan.py @@ -54,7 +54,6 @@ class DriverScan(interfaces.plugins.PluginInterface): for result in poolscanner.PoolScanner.generate_pool_scan( context, layer_name, symbol_table, constraints ): - _constraint, mem_object, _header = result yield mem_object diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index af9568897..38d55d15d 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -229,7 +229,6 @@ class DumpFiles(interfaces.plugins.PluginInterface): ) for proc in procs: - try: object_table = proc.ObjectTable except exceptions.InvalidAddressException: diff --git a/volatility3/framework/plugins/windows/envars.py b/volatility3/framework/plugins/windows/envars.py index a1dbd7665..66db03c9c 100644 --- a/volatility3/framework/plugins/windows/envars.py +++ b/volatility3/framework/plugins/windows/envars.py @@ -221,7 +221,6 @@ class Envars(interfaces.plugins.PluginInterface): ) def run(self): - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) kernel = self.context.modules[self.config["kernel"]] diff --git a/volatility3/framework/plugins/windows/filescan.py b/volatility3/framework/plugins/windows/filescan.py index de3331e16..0f68f39d4 100644 --- a/volatility3/framework/plugins/windows/filescan.py +++ b/volatility3/framework/plugins/windows/filescan.py @@ -53,7 +53,6 @@ class FileScan(interfaces.plugins.PluginInterface): for result in poolscanner.PoolScanner.generate_pool_scan( context, layer_name, symbol_table, constraints ): - _constraint, mem_object, _header = result yield mem_object @@ -63,7 +62,6 @@ class FileScan(interfaces.plugins.PluginInterface): for fileobj in self.scan_files( self.context, kernel.layer_name, kernel.symbol_table_name ): - try: file_name = fileobj.FileName.String except exceptions.InvalidAddressException: diff --git a/volatility3/framework/plugins/windows/getservicesids.py b/volatility3/framework/plugins/windows/getservicesids.py index c4088426f..9b20ed2d0 100644 --- a/volatility3/framework/plugins/windows/getservicesids.py +++ b/volatility3/framework/plugins/windows/getservicesids.py @@ -73,7 +73,6 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface): ] def _generator(self): - kernel = self.context.modules[self.config["kernel"]] # Get the system hive for hive in hivelist.HiveList.list_hives( diff --git a/volatility3/framework/plugins/windows/getsids.py b/volatility3/framework/plugins/windows/getsids.py index 2334a328d..3e332f85d 100644 --- a/volatility3/framework/plugins/windows/getsids.py +++ b/volatility3/framework/plugins/windows/getsids.py @@ -112,7 +112,6 @@ class GetSIDs(interfaces.plugins.PluginInterface): filter_string="config\\software", hive_offsets=None, ): - try: for subkey in hive.get_key(key).get_subkeys(): sid = str(subkey.get_name()) @@ -165,7 +164,6 @@ class GetSIDs(interfaces.plugins.PluginInterface): return sids def _generator(self, procs): - user_sids = self.lookup_user_sids() # Go all over the process list, get the token @@ -214,7 +212,6 @@ class GetSIDs(interfaces.plugins.PluginInterface): ) def run(self): - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) kernel = self.context.modules[self.config["kernel"]] diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 2f25a0597..dd7c90860 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -136,7 +136,6 @@ class Handles(interfaces.plugins.PluginInterface): """ if self._sar_value is None: - if not has_capstone: return None kernel = self.context.modules[self.config["kernel"]] @@ -160,7 +159,7 @@ class Handles(interfaces.plugins.PluginInterface): md = capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_64) - for (address, size, mnemonic, op_str) in md.disasm_lite( + for address, size, mnemonic, op_str in md.disasm_lite( data, kvo + func_addr ): # print("{} {} {} {}".format(address, size, mnemonic, op_str)) @@ -300,7 +299,6 @@ class Handles(interfaces.plugins.PluginInterface): masked_offset = offset & layer_object.maximum_address for entry in table: - if level > 0: for x in self._make_handle_array(entry, level - 1, depth): yield x @@ -329,7 +327,6 @@ class Handles(interfaces.plugins.PluginInterface): continue def handles(self, handle_table): - try: TableCode = handle_table.TableCode & ~self._level_mask table_levels = handle_table.TableCode & self._level_mask @@ -395,7 +392,7 @@ class Handles(interfaces.plugins.PluginInterface): except (ValueError, exceptions.InvalidAddressException): obj_name = "" - except (exceptions.InvalidAddressException): + except exceptions.InvalidAddressException: vollog.log( constants.LOGLEVEL_VVV, f"Cannot access _OBJECT_HEADER at {entry.vol.offset:#x}", @@ -416,7 +413,6 @@ class Handles(interfaces.plugins.PluginInterface): ) def run(self): - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) kernel = self.context.modules[self.config["kernel"]] diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index 72bea2c8b..0c98ab8ca 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -602,7 +602,6 @@ class Hashdump(interfaces.plugins.PluginInterface): kernel.symbol_table_name, hive_offsets=None if offset is None else [offset], ): - if hive.get_name().split("\\")[-1].upper() == "SYSTEM": syshive = hive if hive.get_name().split("\\")[-1].upper() == "SAM": diff --git a/volatility3/framework/plugins/windows/info.py b/volatility3/framework/plugins/windows/info.py index aa7837029..100a677c2 100644 --- a/volatility3/framework/plugins/windows/info.py +++ b/volatility3/framework/plugins/windows/info.py @@ -187,7 +187,6 @@ class Info(plugins.PluginInterface): return nt_header def _generator(self): - kernel = self.context.modules[self.config["kernel"]] layer_name = kernel.layer_name @@ -215,7 +214,6 @@ class Info(plugins.PluginInterface): yield (0, (layer.name, f"{i} {layer.__class__.__name__}")) if kdbg.Header.OwnerTag == 0x4742444B: - yield (0, ("KdDebuggerDataBlock", hex(kdbg.vol.offset))) yield (0, ("NTBuildLab", kdbg.get_build_lab())) yield (0, ("CSDVersion", str(kdbg.get_csdversion()))) @@ -285,5 +283,4 @@ class Info(plugins.PluginInterface): ) def run(self): - return TreeGrid([("Variable", str), ("Value", str)], self._generator()) diff --git a/volatility3/framework/plugins/windows/joblinks.py b/volatility3/framework/plugins/windows/joblinks.py index 354ef31c9..d84c133c0 100644 --- a/volatility3/framework/plugins/windows/joblinks.py +++ b/volatility3/framework/plugins/windows/joblinks.py @@ -103,7 +103,7 @@ class JobLinks(interfaces.plugins.PluginInterface): ), ) - except (exceptions.InvalidAddressException): + except exceptions.InvalidAddressException: continue def run(self) -> renderers.TreeGrid: diff --git a/volatility3/framework/plugins/windows/ldrmodules.py b/volatility3/framework/plugins/windows/ldrmodules.py index a9b229048..9642810a5 100644 --- a/volatility3/framework/plugins/windows/ldrmodules.py +++ b/volatility3/framework/plugins/windows/ldrmodules.py @@ -33,7 +33,6 @@ class LdrModules(interfaces.plugins.PluginInterface): ] def _generator(self, procs): - pe_table_name = intermed.IntermediateSymbolTable.create( self.context, self.config_path, "windows", "pe", class_types=pe.class_types ) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 8cb239905..12589b07e 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -118,12 +118,10 @@ class Lsadump(interfaces.plugins.PluginInterface): if enc_secret_key: enc_secret_value = next(enc_secret_key.get_values()) if enc_secret_value: - enc_secret = sechive.read( enc_secret_value.Data + 4, enc_secret_value.DataLength ) if enc_secret: - if not is_vista_or_later: secret = cls.decrypt_secret(enc_secret[0xC:], lsakey) else: @@ -160,7 +158,6 @@ class Lsadump(interfaces.plugins.PluginInterface): def _generator( self, syshive: registry.RegistryHive, sechive: registry.RegistryHive ): - kernel = self.context.modules[self.config["kernel"]] vista_or_later = versions.is_vista_or_later( @@ -183,7 +180,6 @@ class Lsadump(interfaces.plugins.PluginInterface): return for key in secrets_key.get_subkeys(): - sec_val_key = hashdump.Hashdump.get_hive_key( sechive, "Policy\\Secrets\\" + key.get_key_path().split("\\")[3] + "\\CurrVal", @@ -208,7 +204,6 @@ class Lsadump(interfaces.plugins.PluginInterface): yield (0, (key.get_name(), secret.decode("latin1"), secret)) def run(self): - offset = self.config.get("offset", None) syshive = sechive = None kernel = self.context.modules[self.config["kernel"]] @@ -220,7 +215,6 @@ class Lsadump(interfaces.plugins.PluginInterface): kernel.symbol_table_name, hive_offsets=None if offset is None else [offset], ): - if hive.get_name().split("\\")[-1].upper() == "SYSTEM": syshive = hive if hive.get_name().split("\\")[-1].upper() == "SECURITY": diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 1e7a009eb..424925955 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -151,7 +151,6 @@ class Malfind(interfaces.plugins.PluginInterface): for vad, data in self.list_injections( self.context, kernel.layer_name, kernel.symbol_table_name, proc ): - # if we're on a 64 bit kernel, we may still need 32 bit disasm due to wow64 if is_32bit_arch or proc.get_is_wow64(): architecture = "intel" diff --git a/volatility3/framework/plugins/windows/mbrscan.py b/volatility3/framework/plugins/windows/mbrscan.py index ccf6eccea..e58ca8c24 100644 --- a/volatility3/framework/plugins/windows/mbrscan.py +++ b/volatility3/framework/plugins/windows/mbrscan.py @@ -99,7 +99,6 @@ class MBRScan(interfaces.plugins.PluginInterface): all_zeros = bootcode.count(b"\x00") == len(bootcode) if not all_zeros: - partition_entries = [ partition_table.FirstEntry, partition_table.SecondEntry, @@ -155,7 +154,6 @@ class MBRScan(interfaces.plugins.PluginInterface): for partition_index, partition_entry_object in enumerate( partition_entries, start=1 ): - if not self.config.get("full", True): yield ( 1, diff --git a/volatility3/framework/plugins/windows/modscan.py b/volatility3/framework/plugins/windows/modscan.py index bbd9a7b4a..99fadac07 100644 --- a/volatility3/framework/plugins/windows/modscan.py +++ b/volatility3/framework/plugins/windows/modscan.py @@ -70,7 +70,6 @@ class ModScan(interfaces.plugins.PluginInterface): for result in poolscanner.PoolScanner.generate_pool_scan( context, layer_name, symbol_table, constraints ): - _constraint, mem_object, _header = result yield mem_object @@ -175,7 +174,6 @@ class ModScan(interfaces.plugins.PluginInterface): for mod in self.scan_modules( self.context, kernel.layer_name, kernel.symbol_table_name ): - try: BaseDllName = mod.BaseDllName.get_string() except exceptions.InvalidAddressException: @@ -188,7 +186,6 @@ class ModScan(interfaces.plugins.PluginInterface): file_output = "Disabled" if self.config["dump"]: - session_layer_name = self.find_session_layer( self.context, session_layers, mod.DllBase ) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index eba6d1ce7..ff61c215c 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -53,7 +53,6 @@ class Modules(interfaces.plugins.PluginInterface): for mod in self.list_modules( self.context, kernel.layer_name, kernel.symbol_table_name ): - try: BaseDllName = mod.BaseDllName.get_string() except exceptions.InvalidAddressException: diff --git a/volatility3/framework/plugins/windows/mutantscan.py b/volatility3/framework/plugins/windows/mutantscan.py index ad6e024d1..64d3b5470 100644 --- a/volatility3/framework/plugins/windows/mutantscan.py +++ b/volatility3/framework/plugins/windows/mutantscan.py @@ -53,7 +53,6 @@ class MutantScan(interfaces.plugins.PluginInterface): for result in poolscanner.PoolScanner.generate_pool_scan( context, layer_name, symbol_table, constraints ): - _constraint, mem_object, _header = result yield mem_object @@ -63,7 +62,6 @@ class MutantScan(interfaces.plugins.PluginInterface): for mutant in self.scan_mutants( self.context, kernel.layer_name, kernel.symbol_table_name ): - try: name = mutant.get_name() except (ValueError, exceptions.InvalidAddressException): diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index 5c866bfeb..d0bbd5cbd 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -375,7 +375,6 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): for result in poolscanner.PoolScanner.generate_pool_scan( context, layer_name, nt_symbol_table, constraints ): - _constraint, mem_object, _header = result yield mem_object @@ -394,7 +393,6 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): kernel.symbol_table_name, netscan_symbol_table, ): - vollog.debug( f"Found netw obj @ 0x{netw_obj.vol.offset:2x} of assumed type {type(netw_obj)}" ) diff --git a/volatility3/framework/plugins/windows/netstat.py b/volatility3/framework/plugins/windows/netstat.py index 1685f2a21..d3ce3fd2e 100644 --- a/volatility3/framework/plugins/windows/netstat.py +++ b/volatility3/framework/plugins/windows/netstat.py @@ -329,7 +329,6 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): alignment, net_symbol_table, ): - endpoint = context.object( obj_name, layer_name=layer_name, @@ -591,7 +590,6 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): tcpip_module.DllBase, tcpip_symbol_table, ): - # objects passed pool header constraints. check for additional constraints if strict flag is set. if not show_corrupt_results and not netw_obj.is_valid(): continue diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 13c611bf8..e131c5f78 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -144,7 +144,6 @@ class PoolScanner(plugins.PluginInterface): ] def _generator(self): - kernel = self.context.modules[self.config["kernel"]] symbol_table = kernel.symbol_table_name @@ -367,7 +366,6 @@ class PoolScanner(plugins.PluginInterface): for constraint, header in cls.pool_scan( context, scan_layer, symbol_table, constraints, alignment=alignment ): - mem_objects = header.get_object( constraint=constraint, use_top_down=is_windows_8_or_later, diff --git a/volatility3/framework/plugins/windows/privileges.py b/volatility3/framework/plugins/windows/privileges.py index 7a7087c95..0370dfc92 100644 --- a/volatility3/framework/plugins/windows/privileges.py +++ b/volatility3/framework/plugins/windows/privileges.py @@ -66,7 +66,6 @@ class Privs(interfaces.plugins.PluginInterface): ] def _generator(self, procs): - for task in procs: try: process_token = task.Token.dereference().cast("_TOKEN") @@ -107,7 +106,6 @@ class Privs(interfaces.plugins.PluginInterface): ) def run(self): - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) kernel = self.context.modules[self.config["kernel"]] diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 7a06af36f..88697e71a 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -226,7 +226,6 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): kernel.symbol_table_name, filter_func=self.create_pid_filter(self.config.get("pid", None)), ): - if not self.config.get("physical", self.PHYSICAL_DEFAULT): offset = proc.vol.offset else: diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index 427814d22..3d9ae5c1e 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -87,7 +87,6 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): for result in poolscanner.PoolScanner.generate_pool_scan( context, layer_name, symbol_table, constraints ): - _constraint, mem_object, _header = result if not filter_func(mem_object): yield mem_object @@ -192,7 +191,6 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): kernel.symbol_table_name, filter_func=pslist.PsList.create_pid_filter(self.config.get("pid", None)), ): - file_output = "Disabled" if self.config["dump"]: # windows 10 objects (maybe others in the future) are already in virtual memory diff --git a/volatility3/framework/plugins/windows/registry/hivelist.py b/volatility3/framework/plugins/windows/registry/hivelist.py index 4abcd2f15..91798de40 100644 --- a/volatility3/framework/plugins/windows/registry/hivelist.py +++ b/volatility3/framework/plugins/windows/registry/hivelist.py @@ -88,7 +88,6 @@ class HiveList(interfaces.plugins.PluginInterface): symbol_table=kernel.symbol_table_name, filter_string=self.config.get("filter", None), ): - file_output = "Disabled" if self.config["dump"]: # Construct the hive diff --git a/volatility3/framework/plugins/windows/registry/hivescan.py b/volatility3/framework/plugins/windows/registry/hivescan.py index c3a52e303..7b3c0b622 100644 --- a/volatility3/framework/plugins/windows/registry/hivescan.py +++ b/volatility3/framework/plugins/windows/registry/hivescan.py @@ -86,7 +86,6 @@ class HiveScan(interfaces.plugins.PluginInterface): for hive in self.scan_hives( self.context, kernel.layer_name, kernel.symbol_table_name ): - yield (0, (format_hints.Hex(hive.vol.offset),)) def run(self): diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index 19527321e..537bfc943 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -241,7 +241,6 @@ class PrintKey(interfaces.plugins.PluginInterface): key: str = None, recurse: bool = False, ): - for hive in hivelist.HiveList.list_hives( self.context, self.config_path, @@ -249,14 +248,13 @@ class PrintKey(interfaces.plugins.PluginInterface): symbol_table=symbol_table, hive_offsets=hive_offsets, ): - try: # Walk it if key is not None: node_path = hive.get_key(key, return_list=True) else: node_path = [hive.get_node(hive.root_cell_offset)] - for (x, y) in self._printkey_iterator(hive, node_path, recurse=recurse): + for x, y in self._printkey_iterator(hive, node_path, recurse=recurse): yield (x - len(node_path), y) except ( exceptions.InvalidAddressException, diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index f64a130fa..f90724f66 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -248,7 +248,6 @@ class UserAssist(interfaces.plugins.PluginInterface): # output any values under Count for value in countkey.get_values(): - value_name = value.get_name() with contextlib.suppress(UnicodeDecodeError): value_name = codecs.encode(value_name, "rot_13") @@ -281,7 +280,6 @@ class UserAssist(interfaces.plugins.PluginInterface): yield result def _generator(self): - hive_offsets = None if self.config.get("offset", None) is not None: hive_offsets = [self.config.get("offset", None)] diff --git a/volatility3/framework/plugins/windows/sessions.py b/volatility3/framework/plugins/windows/sessions.py index 3e15878bd..d766b40ea 100644 --- a/volatility3/framework/plugins/windows/sessions.py +++ b/volatility3/framework/plugins/windows/sessions.py @@ -51,7 +51,6 @@ class Sessions(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) kernel.symbol_table_name, filter_func=filter_func, ): - session_id = proc.get_session_id() # Detect RDP, Console or set default value @@ -112,7 +111,6 @@ class Sessions(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) yield (description, timeliner.TimeLinerType.CREATED, row_data[5]) def run(self): - return renderers.TreeGrid( [ ("Session ID", int), diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index e7a1820e4..b697774cb 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -187,7 +187,6 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): proc_layer_name: str, cryptdll_base: int, ) -> Tuple[interfaces.objects.ObjectInterface, int, int, int]: - """ Finds the CSystems array through use of PDB symbols @@ -574,7 +573,6 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): scanners.BytesScanner(b"\x17\x00\x00\x00\x01\x00\x00\x00"), sections=[(cryptdll_base, cryptdll_size)], ): - # this occurs across page boundaries if not proc_layer.is_valid(address, ecrypt_size): continue diff --git a/volatility3/framework/plugins/windows/ssdt.py b/volatility3/framework/plugins/windows/ssdt.py index 184d8388c..6a47c36e9 100644 --- a/volatility3/framework/plugins/windows/ssdt.py +++ b/volatility3/framework/plugins/windows/ssdt.py @@ -56,7 +56,6 @@ class SSDT(plugins.PluginInterface): context_modules = [] for mod in mods: - try: module_name_with_ext = mod.BaseDllName.get_string() except exceptions.InvalidAddressException: @@ -83,7 +82,6 @@ class SSDT(plugins.PluginInterface): return contexts.ModuleCollection(context_modules) def _generator(self) -> Iterator[Tuple[int, Tuple[int, int, Any, Any]]]: - kernel = self.context.modules[self.config["kernel"]] layer_name = kernel.layer_name @@ -132,7 +130,6 @@ class SSDT(plugins.PluginInterface): ) for idx, function_obj in enumerate(functions): - function = find_address(function_obj) module_symbols = collection.get_module_symbols_by_absolute_location( function diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index e6c1829e9..60562915e 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -180,7 +180,6 @@ class SvcScan(interfaces.plugins.PluginInterface): symbol_table=kernel.symbol_table_name, filter_func=filter_func, ): - proc_id = "Unknown" try: proc_id = task.UniqueProcessId @@ -200,7 +199,6 @@ class SvcScan(interfaces.plugins.PluginInterface): scanner=scanners.BytesScanner(needle=service_tag), sections=vadyarascan.VadYaraScan.get_vad_maps(task), ): - if not is_vista_or_later: service_record = self.context.object( service_table_name + constants.BANG + "_SERVICE_RECORD", diff --git a/volatility3/framework/plugins/windows/symlinkscan.py b/volatility3/framework/plugins/windows/symlinkscan.py index 78c2c6931..89fdf142e 100644 --- a/volatility3/framework/plugins/windows/symlinkscan.py +++ b/volatility3/framework/plugins/windows/symlinkscan.py @@ -52,7 +52,6 @@ class SymlinkScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfa for result in poolscanner.PoolScanner.generate_pool_scan( context, layer_name, symbol_table, constraints ): - _constraint, mem_object, _header = result yield mem_object @@ -62,7 +61,6 @@ class SymlinkScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfa for link in self.scan_symlinks( self.context, kernel.layer_name, kernel.symbol_table_name ): - try: from_name = link.get_link_name() except (ValueError, exceptions.InvalidAddressException): diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 3214c7134..812affe86 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -214,7 +214,6 @@ class VadInfo(interfaces.plugins.PluginInterface): process_name = utility.array_to_string(proc.ImageFileName) for vad in self.list_vads(proc, filter_func=filter_func): - file_output = "Disabled" if self.config["dump"]: file_handle = self.vad_dump( diff --git a/volatility3/framework/plugins/windows/verinfo.py b/volatility3/framework/plugins/windows/verinfo.py index fea4a0f80..1c6615804 100644 --- a/volatility3/framework/plugins/windows/verinfo.py +++ b/volatility3/framework/plugins/windows/verinfo.py @@ -222,7 +222,6 @@ class VerInfo(interfaces.plugins.PluginInterface): continue for entry in proc.load_order_modules(): - try: BaseDllName = entry.BaseDllName.get_string() except exceptions.InvalidAddressException: diff --git a/volatility3/framework/plugins/windows/virtmap.py b/volatility3/framework/plugins/windows/virtmap.py index 6fbf13932..5190bec8d 100644 --- a/volatility3/framework/plugins/windows/virtmap.py +++ b/volatility3/framework/plugins/windows/virtmap.py @@ -31,7 +31,7 @@ class VirtMap(interfaces.plugins.PluginInterface): def _generator(self, map): for entry in sorted(map): - for (start, end) in map[entry]: + for start, end in map[entry]: yield (0, (entry, format_hints.Hex(start), format_hints.Hex(end))) @classmethod diff --git a/volatility3/framework/renderers/__init__.py b/volatility3/framework/renderers/__init__.py index ee87b3b85..534686022 100644 --- a/volatility3/framework/renderers/__init__.py +++ b/volatility3/framework/renderers/__init__.py @@ -181,7 +181,7 @@ class TreeGrid(interfaces.renderers.TreeGrid): converted_columns: List[interfaces.renderers.Column] = [] if len(columns) < 1: raise ValueError("Columns must be a list containing at least one column") - for (name, column_type) in columns: + for name, column_type in columns: is_simple_type = issubclass(column_type, self.base_types) if not is_simple_type: raise TypeError( @@ -238,7 +238,7 @@ class TreeGrid(interfaces.renderers.TreeGrid): if not self.populated: try: prev_nodes: List[interfaces.renderers.TreeNode] = [] - for (level, item) in self._generator: + for level, item in self._generator: parent_index = min(len(prev_nodes), level) parent = prev_nodes[parent_index - 1] if parent_index > 0 else None treenode = self._append(parent, item) diff --git a/volatility3/framework/renderers/format_hints.py b/volatility3/framework/renderers/format_hints.py index 239acbde3..6ec9ebab9 100644 --- a/volatility3/framework/renderers/format_hints.py +++ b/volatility3/framework/renderers/format_hints.py @@ -36,7 +36,6 @@ class MultiTypeData(bytes): split_nulls: bool = False, show_hex: bool = False, ) -> "MultiTypeData": - if isinstance(original, int): data = str(original).encode(encoding) else: diff --git a/volatility3/framework/symbols/__init__.py b/volatility3/framework/symbols/__init__.py index d1af56a26..10cf39cf1 100644 --- a/volatility3/framework/symbols/__init__.py +++ b/volatility3/framework/symbols/__init__.py @@ -192,7 +192,7 @@ class SymbolSpace(interfaces.symbols.SymbolSpaceInterface): replacements.add((traverser, child)) elif child.children: template_traverse_list.append(child) - for (parent, child) in replacements: + for parent, child in replacements: parent.replace_child(child, self._resolved[child.vol.type_name]) def get_type(self, type_name: str) -> interfaces.objects.Template: diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 0d7cbb7e4..ce07167e5 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -62,7 +62,6 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): # based on __d_path from the Linux kernel @classmethod def _do_get_path(cls, rdentry, rmnt, dentry, vfsmnt) -> str: - ret_path: List[str] = [] while dentry != rdentry or vfsmnt != rmnt: @@ -204,7 +203,6 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): symbol_table: str, task: interfaces.objects.ObjectInterface, ): - # task.files can be null if not task.files: return @@ -225,7 +223,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): fd_table, count=max_fds, subtype=file_type, context=context ) - for (fd_num, filp) in enumerate(fds): + for fd_num, filp in enumerate(fds): if filp != 0: full_path = LinuxUtilities.path_for_file(context, task, filp) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 55f139730..5ab8f1aa0 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -595,7 +595,6 @@ class list_head(objects.StructType, collections.abc.Iterable): seen = {self.vol.offset} while link.vol.offset not in seen: - obj = self._context.object( symbol_type, layer, offset=link.vol.offset - relative_offset ) @@ -630,7 +629,6 @@ class files_struct(objects.StructType): class mount(objects.StructType): - MNT_NOSUID = 0x01 MNT_NODEV = 0x02 MNT_NOEXEC = 0x04 @@ -755,7 +753,6 @@ class mount(objects.StructType): and current_mnt.has_parent() and current_mnt.vol.offset not in mnt_seen ): - current_dentry = current_mnt.mnt_mountpoint mnt_seen.add(current_mnt.vol.offset) current_mnt = current_mnt.mnt_parent diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index df6b23df8..416a7e4d2 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -22,7 +22,6 @@ class elf(objects.StructType): size: int, members: Dict[str, Tuple[int, interfaces.objects.Template]], ) -> None: - super().__init__( context=context, type_name=type_name, diff --git a/volatility3/framework/symbols/mac/__init__.py b/volatility3/framework/symbols/mac/__init__.py index 3909817ea..56ac96633 100644 --- a/volatility3/framework/symbols/mac/__init__.py +++ b/volatility3/framework/symbols/mac/__init__.py @@ -70,7 +70,6 @@ class MacUtilities(interfaces.configuration.VersionableInterface): kernel, # ikelos - how to type this?? mods_list: Iterator[Any], ): - try: start_addr = kernel.object_from_symbol("vm_kernel_stext") except exceptions.SymbolError: @@ -231,7 +230,6 @@ class MacUtilities(interfaces.configuration.VersionableInterface): next_member: str, max_elements: int = 4096, ) -> Iterable[interfaces.objects.ObjectInterface]: - for element in cls._walk_iterable( queue, "tqh_first", "tqe_next", next_member, max_elements ): @@ -244,7 +242,6 @@ class MacUtilities(interfaces.configuration.VersionableInterface): next_member: str, max_elements: int = 4096, ) -> Iterable[interfaces.objects.ObjectInterface]: - for element in cls._walk_iterable( queue, "lh_first", "le_next", next_member, max_elements ): @@ -257,7 +254,6 @@ class MacUtilities(interfaces.configuration.VersionableInterface): next_member: str, max_elements: int = 4096, ) -> Iterable[interfaces.objects.ObjectInterface]: - for element in cls._walk_iterable( queue, "slh_first", "sle_next", next_member, max_elements ): diff --git a/volatility3/framework/symbols/mac/extensions/__init__.py b/volatility3/framework/symbols/mac/extensions/__init__.py index b678304b8..c89b527e6 100644 --- a/volatility3/framework/symbols/mac/extensions/__init__.py +++ b/volatility3/framework/symbols/mac/extensions/__init__.py @@ -206,7 +206,7 @@ class vm_map_entry(objects.StructType): permask = "rwx" perms = "" - for (ctr, i) in enumerate([1, 3, 5]): + for ctr, i in enumerate([1, 3, 5]): if (self.protection & i) == i: perms = perms + permask[ctr] else: @@ -593,7 +593,7 @@ class sysctl_oid(objects.StructType): checks = [0x80000000, 0x40000000, 0x00800000] perms = ["R", "W", "L"] - for (i, c) in enumerate(checks): + for i, c in enumerate(checks): if c & self.oid_kind: ret = ret + perms[i] else: diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index d34d6a22f..ba00a4053 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -202,7 +202,6 @@ class MMVAD_SHORT(objects.StructType): # this is for windows 8 and 10 elif self.has_member("VadNode"): - if self.VadNode.has_member("u1"): return self.VadNode.u1.Parent & ~0x3 @@ -211,7 +210,6 @@ class MMVAD_SHORT(objects.StructType): # also for windows 8 and 10 elif self.has_member("Core"): - if self.Core.VadNode.has_member("u1"): return self.Core.VadNode.u1.Parent & ~0x3 @@ -224,14 +222,12 @@ class MMVAD_SHORT(objects.StructType): """Get the VAD's starting virtual address. This is the first accessible byte in the range.""" if self.has_member("StartingVpn"): - if self.has_member("StartingVpnHigh"): return (self.StartingVpn << 12) | (self.StartingVpnHigh << 44) else: return self.StartingVpn << 12 elif self.has_member("Core"): - if self.Core.has_member("StartingVpnHigh"): return (self.Core.StartingVpn << 12) | (self.Core.StartingVpnHigh << 44) else: @@ -243,7 +239,6 @@ class MMVAD_SHORT(objects.StructType): """Get the VAD's ending virtual address. This is the last accessible byte in the range.""" if self.has_member("EndingVpn"): - if self.has_member("EndingVpnHigh"): return (((self.EndingVpn + 1) << 12) | (self.EndingVpnHigh << 44)) - 1 else: @@ -376,7 +371,6 @@ class EX_FAST_REF(objects.StructType): """ def dereference(self) -> interfaces.objects.ObjectInterface: - if constants.BANG not in self.vol.type_name: raise ValueError( f"Invalid symbol table name syntax (no {constants.BANG} found)" @@ -771,7 +765,6 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): return False def get_vad_root(self): - # windows 8 and 2012 (_MM_AVL_TABLE) if self.VadRoot.has_member("BalancedRoot"): return self.VadRoot.BalancedRoot @@ -1346,7 +1339,6 @@ class SHARED_CACHE_MAP(objects.StructType): limit_depth = level_depth if section_size > self.VACB_SIZE_OF_FIRST_LEVEL: - # Create an array of 128 entries for the VACB index array. vacb_array = self._context.object( object_type=symbol_table_name + constants.BANG + "array", diff --git a/volatility3/framework/symbols/windows/extensions/network.py b/volatility3/framework/symbols/windows/extensions/network.py index c0f2bd61a..9b7573c2e 100644 --- a/volatility3/framework/symbols/windows/extensions/network.py +++ b/volatility3/framework/symbols/windows/extensions/network.py @@ -64,7 +64,6 @@ class _TCP_LISTENER(objects.StructType): size: int, members: Dict[str, Tuple[int, interfaces.objects.Template]], ) -> None: - super().__init__( context=context, type_name=type_name, @@ -167,7 +166,6 @@ class _TCP_LISTENER(objects.StructType): yield "v6", inaddr6_any, inaddr6_any def is_valid(self): - try: if not self.get_address_family() in (AF_INET, AF_INET6): vollog.debug( @@ -189,7 +187,6 @@ class _TCP_ENDPOINT(_TCP_LISTENER): """Class for objects found in TcpE pools""" def _ipv4_or_ipv6(self, inaddr): - if self.get_address_family() == AF_INET: return inet_ntop(socket.AF_INET, inaddr.addr4) else: @@ -214,7 +211,6 @@ class _TCP_ENDPOINT(_TCP_LISTENER): return None def is_valid(self): - if self.State not in self.State.choices.values(): vollog.debug( f"{type(self)} 0x{self.vol.offset:x} invalid due to invalid tcp state {self.State}" diff --git a/volatility3/framework/symbols/windows/extensions/pe.py b/volatility3/framework/symbols/windows/extensions/pe.py index adee956f7..3f34fc3dd 100644 --- a/volatility3/framework/symbols/windows/extensions/pe.py +++ b/volatility3/framework/symbols/windows/extensions/pe.py @@ -151,7 +151,6 @@ class IMAGE_DOS_HEADER(objects.StructType): counter = 0 for sect in nt_header.get_sections(): - if sect.VirtualAddress > size_of_image: raise ValueError( f"Section VirtualAddress is too large: {sect.VirtualAddress}" diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index 74fd0e4e8..a43933ccf 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -249,7 +249,6 @@ class PDBUtility(interfaces.configuration.VersionableInterface): # Check for writability filter_string = os.path.join(pdb_name, guid + "-" + str(age)) for path in symbols.__path__: - # Store any temporary files created by downloading PDB files tmp_files = [] potential_output_filename = os.path.join( @@ -353,7 +352,7 @@ class PDBUtility(interfaces.configuration.VersionableInterface): if end is None: end = ctx.layers[layer_name].maximum_address - for (GUID, age, pdb_name, signature_offset) in ctx.layers[layer_name].scan( + for GUID, age, pdb_name, signature_offset in ctx.layers[layer_name].scan( ctx, PdbSignatureScanner(pdb_names), progress_callback=progress_callback, @@ -426,7 +425,6 @@ class PDBUtility(interfaces.configuration.VersionableInterface): module_size: int = None, create_module: bool = False, ) -> Tuple[Optional[str], Optional[str]]: - if module_offset is None: module_offset = context.layers[layer_name].minimum_address if module_size is None: diff --git a/volatility3/plugins/windows/registry/certificates.py b/volatility3/plugins/windows/registry/certificates.py index 3212cb465..5ef840f32 100644 --- a/volatility3/plugins/windows/registry/certificates.py +++ b/volatility3/plugins/windows/registry/certificates.py @@ -77,7 +77,6 @@ class Certificates(interfaces.plugins.PluginInterface): layer_name=kernel.layer_name, symbol_table=kernel.symbol_table_name, ): - for top_key in [ "Microsoft\\SystemCertificates", "Software\\Microsoft\\SystemCertificates", From aac4c735280537c55c8f6eb738f08aaa8304b8e2 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 3 Feb 2023 09:22:30 +0000 Subject: [PATCH 0076/2186] Actions: Bump black checkout to Node16/wqv3 --- .github/workflows/black.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index dba5b5b80..5f4523072 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -6,7 +6,7 @@ jobs: lint: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: psf/black@stable with: options: "--check --diff --verbose" From 4bb6d93e122693b89a5a3947c12271400e25be3e Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 3 Feb 2023 10:18:06 +0000 Subject: [PATCH 0077/2186] Update linux.psscan --- volatility3/framework/plugins/linux/psscan.py | 158 ++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 volatility3/framework/plugins/linux/psscan.py diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py new file mode 100644 index 000000000..f87b78eb1 --- /dev/null +++ b/volatility3/framework/plugins/linux/psscan.py @@ -0,0 +1,158 @@ +# This file is Copyright 2023 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import Iterable, List, Tuple +import struct +from enum import Enum + +from volatility3.framework import renderers, interfaces, symbols, constants +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.framework.layers import scanners +from volatility3.framework.renderers import format_hints + +vollog = logging.getLogger(__name__) + + +class DescExitStateEnum(Enum): + """Enum for linux task exit_state as defined in include/linux/sched.h""" + + TASK_RUNNING = 0x00000000 + EXIT_DEAD = 0x00000010 + EXIT_ZOMBIE = 0x00000020 + EXIT_TRACE = EXIT_ZOMBIE | EXIT_DEAD + + +class PsScan(interfaces.plugins.PluginInterface): + """Scans for processes present in a particular linux image.""" + + _required_framework_version = (2, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + ] + + def _get_task_fields( + self, task: interfaces.objects.ObjectInterface + ) -> Tuple[int, int, int, str, str]: + """Extract the fields needed for the final output + + Args: + task: A task object from where to get the fields. + Returns: + A tuple with the fields to show in the plugin output. + """ + pid = task.tgid + tid = task.pid + ppid = task.parent.tgid if task.parent else 0 + name = utility.array_to_string(task.comm) + exit_state = DescExitStateEnum(task.exit_state).name + + task_fields = ( + format_hints.Hex(task.vol.offset), + pid, + tid, + ppid, + name, + exit_state, + ) + return task_fields + + def _generator(self): + """Generates the tasks found from scanning.""" + + for task in self.scan_tasks( + self.context, self.config["kernel"], self.config["kernel.layer_name"] + ): + row = self._get_task_fields(task) + yield (0, row) + + @classmethod + def scan_tasks( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + kernel_layer_name: str, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Scans for tasks in the memory layer. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + kernel_layer_name: The name for the kernel layer + Yields: + Task objects + """ + vmlinux = context.modules[vmlinux_module_name] + + # check if this image is 32bit or 64bit + is_32bit = not symbols.symbol_table_is_64bit(context, vmlinux.symbol_table_name) + if is_32bit: + pack_format = "I" + else: + pack_format = "Q" + + # get task_struct to find the offset to the sched_class pointer + sched_class_offset = vmlinux.get_type("task_struct").members["sched_class"][0] + kernel_layer = context.layers[kernel_layer_name] + + needles = [] + for symbol in vmlinux.symbols: + + # find all sched_class names by searching by if they include '_sched_class', e.g. 'fair_sched_class' + if "_sched_class" in symbol: + + # use canonicalize to set the appropriate sign extension for the addr + addr = kernel_layer.canonicalize(vmlinux.get_symbol(symbol).address) + + # append to needles list the packed hex for searching + needles.append(struct.pack(pack_format, addr)) + + # scan the memory_layer for these needles + memory_layer = context.layers["memory_layer"] + for address, _ in memory_layer.scan( + context, scanners.MultiStringScanner(needles) + ): + # create task in the memory_layer + ptask = context.object( + vmlinux.symbol_table_name + constants.BANG + "task_struct", + offset=address - sched_class_offset, + layer_name="memory_layer", + ) + + # sanity check exit_state + try: + # attempt tp parse the exist_state using the enum + DescExitStateEnum(ptask.exit_state) + except ValueError: + vollog.debug( + f"Skipping task_struct at {hex(ptask.vol.offset)} as exit_state {ptask.exit_state} is likely not valid" + ) + continue + + # sanity check pid + if not (0 < ptask.pid < 65535): + vollog.debug( + f"Skipping task_struct at {hex(ptask.vol.offset)} as pid {ptask.pid} is likely not valid" + ) + continue + + yield ptask + + def run(self): + columns = [ + ("OFFSET (P)", format_hints.Hex), + ("PID", int), + ("TID", int), + ("PPID", int), + ("COMM", str), + ("EXIT_STATE", str), + ] + return renderers.TreeGrid(columns, self._generator()) From e81935869ab51f5b792aaa0c390418ab64e90755 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 3 Feb 2023 10:37:29 +0000 Subject: [PATCH 0078/2186] Update linux.psscan to find kernel layer name correctly --- volatility3/framework/plugins/linux/psscan.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index f87b78eb1..25e7206ec 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -68,8 +68,11 @@ class PsScan(interfaces.plugins.PluginInterface): def _generator(self): """Generates the tasks found from scanning.""" + vmlinux_module_name = self.config["kernel"] + vmlinux = self.context.modules[vmlinux_module_name] + for task in self.scan_tasks( - self.context, self.config["kernel"], self.config["kernel.layer_name"] + self.context, vmlinux_module_name, vmlinux.layer_name ): row = self._get_task_fields(task) yield (0, row) From 9e5a98ca40e5614df28ba5b09ffc64a656f19fb9 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 3 Feb 2023 10:51:18 +0000 Subject: [PATCH 0079/2186] Update linux.psscan with black linting and version --- volatility3/framework/plugins/linux/psscan.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index 25e7206ec..ba233e53d 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -28,6 +28,7 @@ class PsScan(interfaces.plugins.PluginInterface): """Scans for processes present in a particular linux image.""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -101,23 +102,19 @@ class PsScan(interfaces.plugins.PluginInterface): pack_format = "I" else: pack_format = "Q" - # get task_struct to find the offset to the sched_class pointer sched_class_offset = vmlinux.get_type("task_struct").members["sched_class"][0] kernel_layer = context.layers[kernel_layer_name] needles = [] for symbol in vmlinux.symbols: - # find all sched_class names by searching by if they include '_sched_class', e.g. 'fair_sched_class' if "_sched_class" in symbol: - # use canonicalize to set the appropriate sign extension for the addr addr = kernel_layer.canonicalize(vmlinux.get_symbol(symbol).address) # append to needles list the packed hex for searching needles.append(struct.pack(pack_format, addr)) - # scan the memory_layer for these needles memory_layer = context.layers["memory_layer"] for address, _ in memory_layer.scan( @@ -139,14 +136,12 @@ class PsScan(interfaces.plugins.PluginInterface): f"Skipping task_struct at {hex(ptask.vol.offset)} as exit_state {ptask.exit_state} is likely not valid" ) continue - # sanity check pid if not (0 < ptask.pid < 65535): vollog.debug( f"Skipping task_struct at {hex(ptask.vol.offset)} as pid {ptask.pid} is likely not valid" ) continue - yield ptask def run(self): From d6ebad8235060a257e9af9a5e9831bb64a607606 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 9 Feb 2023 21:19:11 -0700 Subject: [PATCH 0080/2186] Update simple-plugin.rst Very minor typo fix. --- doc/source/simple-plugin.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/simple-plugin.rst b/doc/source/simple-plugin.rst index c4908caf3..39670a62d 100644 --- a/doc/source/simple-plugin.rst +++ b/doc/source/simple-plugin.rst @@ -259,7 +259,7 @@ The plugin then takes the process's ``BaseDllName`` value, and calls :py:meth:`~ as defined by the symbols, are directly accessible and use the case-style of the symbol library it came from (in Windows, attributes are CamelCase), such as ``entry.BaseDllName`` in this instance. Any attributes not defined by the symbol but added by Volatility extensions cannot be properties (in case they overlap with the attributes defined in the symbol libraries) -and are therefore always methods and pretended with ``get_``, in this example ``BaseDllName.get_string()``. +and are therefore always methods and prepended with ``get_``, in this example ``BaseDllName.get_string()``. Finally, ``FullDllName`` is populated. These operations read from memory, and as such, the memory image may be unable to read the data at a particular offset. This will cause an exception to be thrown. In Volatility 3, exceptions are thrown From 4734a3d1f83295af45997758f1b31c07ba4e79fe Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 18 Feb 2023 21:14:02 +0000 Subject: [PATCH 0081/2186] Automagic: Fix cache issue with missing files --- volatility3/framework/automagic/symbol_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index 63c6fc7fa..1ca5ba210 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -332,7 +332,7 @@ class SqliteCache(CacheManagerInterface): if inner_url.scheme == "file": pathname = inner_url.path.split("!")[0] - if pathname: + if pathname and os.path.exists(pathname): timestamp = datetime.datetime.fromtimestamp( os.stat(pathname).st_mtime ) From 471b19b037deab511bc7e9144bc5b25b47cfc81d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 18 Feb 2023 21:05:05 +0000 Subject: [PATCH 0082/2186] Layers: Use ctypes for snappy support --- requirements-dev.txt | 4 ---- requirements.txt | 4 ---- volatility3/framework/layers/avml.py | 35 ++++++++++++++++++++++------ 3 files changed, 28 insertions(+), 15 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 7c372da2a..9db14d441 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -20,7 +20,3 @@ jsonschema>=2.3.0 # This is required for memory acquisition via leechcore/pcileech. leechcorepyc>=2.4.0 - -# This is required for analyzing Linux samples compressed using AVMLs native -# compression format. It is not required for AVML's standard LiME compression. -python-snappy==0.6.0 diff --git a/requirements.txt b/requirements.txt index 1793012f1..99e0786cc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,3 @@ pycryptodome # This is required for memory acquisition via leechcore/pcileech. leechcorepyc>=2.4.0 - -# This is required for analyzing Linux samples compressed using AVMLs native -# compression format. It is not required for AVML's standard LiME compression. -python-snappy==0.6.0 diff --git a/volatility3/framework/layers/avml.py b/volatility3/framework/layers/avml.py index 66f3f0e4f..3ce25ca6f 100644 --- a/volatility3/framework/layers/avml.py +++ b/volatility3/framework/layers/avml.py @@ -6,6 +6,7 @@ The user of the file doesn't have to worry about the compression, but random access is not allowed.""" +import ctypes import logging import struct from typing import Tuple, List, Optional @@ -16,13 +17,35 @@ from volatility3.framework.layers import segmented vollog = logging.getLogger(__name__) try: - import snappy + from ctypes import cdll + + # TODO: Find library for windows if needed + lib_snappy = cdll.LoadLibrary("libsnappy.so.1") + __snappy_uncompress = lib_snappy.snappy_uncompress + __snappy_uncompressed_length = lib_snappy.snappy_uncompressed_length HAS_SNAPPY = True -except ImportError: +except OSError: HAS_SNAPPY = False +class SnappyException(Exception): + pass + + +def uncompress(s): + """Uncompress a snappy compressed string.""" + ulen = ctypes.c_int(0) + cresult = __snappy_uncompressed_length(s, len(s), ctypes.byref(ulen)) + if cresult != 0: + raise SnappyException(f"Error in snappy_uncompressed_length: {cresult}") + ubuf = ctypes.create_string_buffer(ulen.value) + __snappy_uncompress(s, len(s), ubuf, ctypes.byref(ulen)) + if cresult != 0: + raise SnappyException(f"Error in snappy_uncompress: {cresult}") + return ubuf.raw + + class AVMLLayer(segmented.NonLinearlySegmentedLayer): """A Lime format TranslationLayer. @@ -44,9 +67,7 @@ class AVMLLayer(segmented.NonLinearlySegmentedLayer): if magic not in [0x4C4D5641] or version != 2: raise exceptions.LayerException("File not completely in AVML format") if not HAS_SNAPPY: - vollog.warning( - "AVML file detected, but snappy python library not installed" - ) + vollog.warning("AVML file detected, but snappy library could not be found") raise exceptions.LayerException( "AVML format dependencies not satisfied (snappy)" ) @@ -131,7 +152,7 @@ class AVMLLayer(segmented.NonLinearlySegmentedLayer): ] if frame_type == 0x00: # Compressed data - frame_data = snappy.decompress(frame_data) + frame_data = uncompress(frame_data) # TODO: Verify CRC segments.append( ( @@ -156,7 +177,7 @@ class AVMLLayer(segmented.NonLinearlySegmentedLayer): ) -> bytes: start_offset, _, _, _ = self._find_segment(offset) if self._compressed[mapped_offset]: - decoded_data = snappy.decompress(data) + decoded_data = uncompress(data) else: decoded_data = data decoded_data = decoded_data[offset - start_offset :] From c7252e9707ac0fb96c5fd65036cf8a8ff4b96672 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 19 Feb 2023 10:03:23 +0000 Subject: [PATCH 0083/2186] Automagic: Handle snappy for windows. --- volatility3/framework/layers/avml.py | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/layers/avml.py b/volatility3/framework/layers/avml.py index 3ce25ca6f..83c10186f 100644 --- a/volatility3/framework/layers/avml.py +++ b/volatility3/framework/layers/avml.py @@ -20,7 +20,23 @@ try: from ctypes import cdll # TODO: Find library for windows if needed - lib_snappy = cdll.LoadLibrary("libsnappy.so.1") + try: + # Linux/Mac + lib_snappy = cdll.LoadLibrary("libsnappy.so.1") + except OSError: + lib_snappy = None + + try: + if not lib_snappy: + # Windows 64 + lib_snappy = cdll.LoadLibrary("snappy64") + except OSError: + lib_snappy = None + + if lib_snappy: + # Windows 32 + lib_snappy = cdll.LoadLibrary("snappy32") + __snappy_uncompress = lib_snappy.snappy_uncompress __snappy_uncompressed_length = lib_snappy.snappy_uncompressed_length @@ -29,7 +45,7 @@ except OSError: HAS_SNAPPY = False -class SnappyException(Exception): +class SnappyException(exceptions.VolatilityException): pass @@ -65,9 +81,12 @@ class AVMLLayer(segmented.NonLinearlySegmentedLayer): layer.read(layer.minimum_address, struct.calcsize(header_structure)), ) if magic not in [0x4C4D5641] or version != 2: - raise exceptions.LayerException("File not completely in AVML format") + raise exceptions.LayerException("File not in AVML format") if not HAS_SNAPPY: - vollog.warning("AVML file detected, but snappy library could not be found") + vollog.warning( + "AVML file detected, but snappy library could not be found\n" + "Please install the snappy from your distribution or https://google.github.io/snappy/." + ) raise exceptions.LayerException( "AVML format dependencies not satisfied (snappy)" ) From ad3773d89884650cba6573280588f29e14e6ba0e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 19 Feb 2023 10:23:04 +0000 Subject: [PATCH 0084/2186] Automagic: Improve identified AVML CodeQL issues --- volatility3/framework/layers/avml.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/layers/avml.py b/volatility3/framework/layers/avml.py index 83c10186f..1ba564c61 100644 --- a/volatility3/framework/layers/avml.py +++ b/volatility3/framework/layers/avml.py @@ -17,25 +17,23 @@ from volatility3.framework.layers import segmented vollog = logging.getLogger(__name__) try: - from ctypes import cdll - # TODO: Find library for windows if needed try: # Linux/Mac - lib_snappy = cdll.LoadLibrary("libsnappy.so.1") + lib_snappy = ctypes.cdll.LoadLibrary("libsnappy.so.1") except OSError: lib_snappy = None try: if not lib_snappy: # Windows 64 - lib_snappy = cdll.LoadLibrary("snappy64") + lib_snappy = ctypes.cdll.LoadLibrary("snappy64") except OSError: lib_snappy = None if lib_snappy: # Windows 32 - lib_snappy = cdll.LoadLibrary("snappy32") + lib_snappy = ctypes.cdll.LoadLibrary("snappy32") __snappy_uncompress = lib_snappy.snappy_uncompress __snappy_uncompressed_length = lib_snappy.snappy_uncompressed_length @@ -56,7 +54,7 @@ def uncompress(s): if cresult != 0: raise SnappyException(f"Error in snappy_uncompressed_length: {cresult}") ubuf = ctypes.create_string_buffer(ulen.value) - __snappy_uncompress(s, len(s), ubuf, ctypes.byref(ulen)) + cresult = __snappy_uncompress(s, len(s), ubuf, ctypes.byref(ulen)) if cresult != 0: raise SnappyException(f"Error in snappy_uncompress: {cresult}") return ubuf.raw From 1770edf6fa7a87f5c714aaeaedb4e02ce91e040f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 22 Feb 2023 17:24:12 +0000 Subject: [PATCH 0085/2186] Automagic: Fix typo in cache stats --- volatility3/framework/automagic/symbol_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index 1ca5ba210..a58bf0091 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -371,7 +371,7 @@ class SqliteCache(CacheManagerInterface): # Get stats stats_base_types = len(json_obj.get("base_types", {})) - stats_types = len(json_obj.get("types", {})) + stats_types = len(json_obj.get("user_types", {})) stats_enums = len(json_obj.get("enums", {})) stats_symbols = len(json_obj.get("symbols", {})) From 588b0962541887dbfddedc779e5d93c5ceda87d2 Mon Sep 17 00:00:00 2001 From: Maxime THIEBAUT <46688461+0xThiebaut@users.noreply.github.com> Date: Sat, 25 Feb 2023 18:23:42 +0100 Subject: [PATCH 0086/2186] Add PID filtering to `windows.pstree` --- .../framework/plugins/windows/pstree.py | 46 +++++++++++++++---- 1 file changed, 36 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/pstree.py b/volatility3/framework/plugins/windows/pstree.py index 88a3697da..5c78d1682 100644 --- a/volatility3/framework/plugins/windows/pstree.py +++ b/volatility3/framework/plugins/windows/pstree.py @@ -3,7 +3,7 @@ # import datetime import logging -from typing import Dict, Set, Tuple +from typing import Callable, Dict, Set, Tuple from volatility3.framework import objects, interfaces, renderers from volatility3.framework.configuration import requirements @@ -24,6 +24,7 @@ class PsTree(interfaces.plugins.PluginInterface): self._processes: Dict[int, Tuple[interfaces.objects.ObjectInterface, int]] = {} self._levels: Dict[int, int] = {} self._children: Dict[int, Set[int]] = {} + self._ancestors: Set[int] = set([]) @classmethod def get_requirements(cls): @@ -45,18 +46,26 @@ class PsTree(interfaces.plugins.PluginInterface): requirements.ListRequirement( name="pid", element_type=int, - description="Process ID to include (all other processes are excluded)", + description="Process ID to include (with ancestors and descendants, all other processes are excluded)", optional=True, ), ] - def find_level(self, pid: objects.Pointer) -> None: + def find_level( + self, + pid: objects.Pointer, + filter_func: Callable[ + [interfaces.objects.ObjectInterface], bool + ] = lambda _: False, + ) -> None: """Finds how deep the pid is in the processes list.""" - seen = set([]) - seen.add(pid) + seen = {pid} level = 0 proc, _ = self._processes.get(pid, None) + filtered = not filter_func(proc) while proc is not None and proc.InheritedFromUniqueProcessId not in seen: + if filtered: + self._ancestors.add(proc.UniqueProcessId) child_list = self._children.get(proc.InheritedFromUniqueProcessId, set([])) child_list.add(proc.UniqueProcessId) self._children[proc.InheritedFromUniqueProcessId] = child_list @@ -67,7 +76,12 @@ class PsTree(interfaces.plugins.PluginInterface): level += 1 self._levels[pid] = level - def _generator(self): + def _generator( + self, + filter_func: Callable[ + [interfaces.objects.ObjectInterface], bool + ] = lambda _: False, + ): """Generates the Tree of processes.""" kernel = self.context.modules[self.config["kernel"]] @@ -87,15 +101,21 @@ class PsTree(interfaces.plugins.PluginInterface): # Build the child/level maps for pid in self._processes: - self.find_level(pid) + self.find_level(pid, filter_func) process_pids = set([]) - def yield_processes(pid): + def yield_processes(pid, descendant: bool = False): if pid in process_pids: vollog.debug(f"Pid cycle: already processed pid {pid}") return + process_pids.add(pid) + + if pid not in self._ancestors and not descendant: + vollog.debug(f"Pid cycle: pid {pid} not in filtered tree") + return + proc, offset = self._processes[pid] row = ( proc.UniqueProcessId, @@ -114,7 +134,9 @@ class PsTree(interfaces.plugins.PluginInterface): yield (self._levels[pid] - 1, row) for child_pid in self._children.get(pid, []): - yield from yield_processes(child_pid) + yield from yield_processes( + child_pid, descendant or not filter_func(proc) + ) for pid in self._levels: if self._levels[pid] == 1: @@ -140,5 +162,9 @@ class PsTree(interfaces.plugins.PluginInterface): ("CreateTime", datetime.datetime), ("ExitTime", datetime.datetime), ], - self._generator(), + self._generator( + filter_func=pslist.PsList.create_pid_filter( + self.config.get("pid", None) + ), + ), ) From 3791b21695083f522fe6dd6009ffef1e5b05fc2f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 6 Mar 2023 00:13:47 +0000 Subject: [PATCH 0087/2186] Layers: Fix new snappy implementation error --- volatility3/framework/layers/avml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/avml.py b/volatility3/framework/layers/avml.py index 1ba564c61..c9c682ac4 100644 --- a/volatility3/framework/layers/avml.py +++ b/volatility3/framework/layers/avml.py @@ -39,7 +39,7 @@ try: __snappy_uncompressed_length = lib_snappy.snappy_uncompressed_length HAS_SNAPPY = True -except OSError: +except (AttributeError, OSError): HAS_SNAPPY = False From f3dea3619cc2521c9616a530222a47bff74f738b Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 5 Mar 2023 23:14:09 +0000 Subject: [PATCH 0088/2186] Windows: Memoize part of the pool handling code --- volatility3/framework/contexts/__init__.py | 7 ++++- .../symbols/windows/extensions/pool.py | 29 +++++++++++-------- 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index 226a303dd..ecce5041c 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -381,6 +381,7 @@ class ModuleCollection(interfaces.context.ModuleContainer): def __init__( self, modules: Optional[List[interfaces.context.ModuleInterface]] = None ) -> None: + self._prefix_count = {} super().__init__(modules) def deduplicate(self) -> "ModuleCollection": @@ -400,9 +401,13 @@ class ModuleCollection(interfaces.context.ModuleContainer): def free_module_name(self, prefix: str = "module") -> str: """Returns an unused module name""" - count = 1 + if prefix not in self._prefix_count: + self._prefix_count[prefix] = 1 + return prefix + count = self._prefix_count[prefix] while prefix + str(count) in self: count += 1 + self._prefix_count[prefix] = count return prefix + str(count) @property diff --git a/volatility3/framework/symbols/windows/extensions/pool.py b/volatility3/framework/symbols/windows/extensions/pool.py index ac7f36a99..052ae4dd6 100644 --- a/volatility3/framework/symbols/windows/extensions/pool.py +++ b/volatility3/framework/symbols/windows/extensions/pool.py @@ -396,13 +396,9 @@ class OBJECT_HEADER(objects.StructType): ) symbol_table_name = self.vol.type_name.split(constants.BANG)[0] - - try: - header_offset = self.NameInfoOffset - except AttributeError: - # http://codemachine.com/article_objectheader.html (Windows 7 and later) - name_info_bit = 0x2 - + if symbol_table_name in self._context.modules: + ntkrnlmp = self._context.modules[symbol_table_name] + else: layer = self._context.layers[self.vol.native_layer_name] kvo = layer.config.get("kernel_virtual_offset", None) @@ -411,16 +407,25 @@ class OBJECT_HEADER(objects.StructType): f"Could not find kernel_virtual_offset for layer: {self.vol.layer_name}" ) + # We know this symbol table name can't exist because we checked for it earlier ntkrnlmp = self._context.module( symbol_table_name, layer_name=self.vol.layer_name, offset=kvo ) + self._context.add_module(ntkrnlmp) + + try: + header_offset = self.NameInfoOffset + except AttributeError: + # http://codemachine.com/article_objectheader.html (Windows 7 and later) + name_info_bit = 0x2 + address = ntkrnlmp.get_symbol("ObpInfoMaskToOffset").address calculated_index = self.InfoMask & (name_info_bit | (name_info_bit - 1)) - header_offset = self._context.object( - symbol_table_name + constants.BANG + "unsigned char", + header_offset = ntkrnlmp.object( + "unsigned char", layer_name=self.vol.native_layer_name, - offset=kvo + address + calculated_index, + offset=address + calculated_index, ) if header_offset == 0: @@ -430,8 +435,8 @@ class OBJECT_HEADER(objects.StructType): ) ) - header = self._context.object( - symbol_table_name + constants.BANG + "_OBJECT_HEADER_NAME_INFO", + header = ntkrnlmp.object( + "_OBJECT_HEADER_NAME_INFO", layer_name=self.vol.layer_name, offset=self.vol.offset - header_offset, native_layer_name=self.vol.native_layer_name, From 21e34ec605d001a7f272907a13fe30210eeab278 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 5 Mar 2023 23:25:42 +0000 Subject: [PATCH 0089/2186] Windows: Fix up double adding the symbol from context.module --- volatility3/framework/symbols/windows/extensions/pool.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/pool.py b/volatility3/framework/symbols/windows/extensions/pool.py index 052ae4dd6..b761ddad8 100644 --- a/volatility3/framework/symbols/windows/extensions/pool.py +++ b/volatility3/framework/symbols/windows/extensions/pool.py @@ -396,6 +396,7 @@ class OBJECT_HEADER(objects.StructType): ) symbol_table_name = self.vol.type_name.split(constants.BANG)[0] + if symbol_table_name in self._context.modules: ntkrnlmp = self._context.modules[symbol_table_name] else: @@ -411,7 +412,6 @@ class OBJECT_HEADER(objects.StructType): ntkrnlmp = self._context.module( symbol_table_name, layer_name=self.vol.layer_name, offset=kvo ) - self._context.add_module(ntkrnlmp) try: header_offset = self.NameInfoOffset @@ -440,5 +440,6 @@ class OBJECT_HEADER(objects.StructType): layer_name=self.vol.layer_name, offset=self.vol.offset - header_offset, native_layer_name=self.vol.native_layer_name, + absolute=True, ) return header From a34fb8497633394062e10366553a2c69ba10c85a Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 8 Mar 2023 13:31:37 +0000 Subject: [PATCH 0090/2186] Fix linux.psscan to use kernel offset when finding symbol location --- volatility3/framework/plugins/linux/psscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index ba233e53d..60b96ba40 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -111,7 +111,7 @@ class PsScan(interfaces.plugins.PluginInterface): # find all sched_class names by searching by if they include '_sched_class', e.g. 'fair_sched_class' if "_sched_class" in symbol: # use canonicalize to set the appropriate sign extension for the addr - addr = kernel_layer.canonicalize(vmlinux.get_symbol(symbol).address) + addr = kernel_layer.canonicalize(vmlinux.get_symbol(symbol).address + vmlinux.offset) # append to needles list the packed hex for searching needles.append(struct.pack(pack_format, addr)) From bdf57f071697aa7688595efed438c8b80aa336d6 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 8 Mar 2023 13:44:08 +0000 Subject: [PATCH 0091/2186] Add extra debug messages to linux.psscan when finding symbol locations --- volatility3/framework/plugins/linux/psscan.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index 60b96ba40..7cf0aa631 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -112,9 +112,16 @@ class PsScan(interfaces.plugins.PluginInterface): if "_sched_class" in symbol: # use canonicalize to set the appropriate sign extension for the addr addr = kernel_layer.canonicalize(vmlinux.get_symbol(symbol).address + vmlinux.offset) + packed_addr = struct.pack(pack_format, addr) + + # debug message to show needles being searched for and symbol names + vollog.debug( + f"Found a sched_class named {symbol} at offset {hex(addr)}. Will scan for these bytes: {packed_addr.hex()}" + ) # append to needles list the packed hex for searching - needles.append(struct.pack(pack_format, addr)) + needles.append(packed_addr) + # scan the memory_layer for these needles memory_layer = context.layers["memory_layer"] for address, _ in memory_layer.scan( From abfe104eb96e5ddd4a07e7a7a4dd5073fc88e5d0 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 8 Mar 2023 14:02:13 +0000 Subject: [PATCH 0092/2186] Fix linux.pscan to find memory layer to scan using kernel layers dependencies rather than hard coded value. --- volatility3/framework/plugins/linux/psscan.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index 7cf0aa631..e8cc17a40 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -6,7 +6,7 @@ from typing import Iterable, List, Tuple import struct from enum import Enum -from volatility3.framework import renderers, interfaces, symbols, constants +from volatility3.framework import renderers, interfaces, symbols, constants, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.layers import scanners @@ -122,8 +122,20 @@ class PsScan(interfaces.plugins.PluginInterface): # append to needles list the packed hex for searching needles.append(packed_addr) + # find the memory layer to scan + if len(kernel_layer.dependencies) > 1: + vollog.warning( + f"Kernel layer depends on multiple layers however only {kernel_layer.dependencies[0]} will be scanned by this plugin." + ) + elif len(kernel_layer.dependencies) == 0: + vollog.error( + f"Kernel layer has no dependencies, meaning there is no memory layer for this plugin to scan." + ) + raise exceptions.LayerException(kernel_layer_name, f"Layer {kernel_layer_name} has no dependencies") + + memory_layer = context.layers[kernel_layer.dependencies[0]] + # scan the memory_layer for these needles - memory_layer = context.layers["memory_layer"] for address, _ in memory_layer.scan( context, scanners.MultiStringScanner(needles) ): From 32db4c0e5f3804b33f4cc1a4f66fae90494c0df8 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 8 Mar 2023 14:08:44 +0000 Subject: [PATCH 0093/2186] Fix black linting for linux.psscan. --- volatility3/framework/plugins/linux/psscan.py | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index e8cc17a40..f4bfd347e 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -111,7 +111,9 @@ class PsScan(interfaces.plugins.PluginInterface): # find all sched_class names by searching by if they include '_sched_class', e.g. 'fair_sched_class' if "_sched_class" in symbol: # use canonicalize to set the appropriate sign extension for the addr - addr = kernel_layer.canonicalize(vmlinux.get_symbol(symbol).address + vmlinux.offset) + addr = kernel_layer.canonicalize( + vmlinux.get_symbol(symbol).address + vmlinux.offset + ) packed_addr = struct.pack(pack_format, addr) # debug message to show needles being searched for and symbol names @@ -121,20 +123,20 @@ class PsScan(interfaces.plugins.PluginInterface): # append to needles list the packed hex for searching needles.append(packed_addr) - # find the memory layer to scan if len(kernel_layer.dependencies) > 1: vollog.warning( - f"Kernel layer depends on multiple layers however only {kernel_layer.dependencies[0]} will be scanned by this plugin." - ) + f"Kernel layer depends on multiple layers however only {kernel_layer.dependencies[0]} will be scanned by this plugin." + ) elif len(kernel_layer.dependencies) == 0: vollog.error( - f"Kernel layer has no dependencies, meaning there is no memory layer for this plugin to scan." - ) - raise exceptions.LayerException(kernel_layer_name, f"Layer {kernel_layer_name} has no dependencies") - + f"Kernel layer has no dependencies, meaning there is no memory layer for this plugin to scan." + ) + raise exceptions.LayerException( + kernel_layer_name, f"Layer {kernel_layer_name} has no dependencies" + ) memory_layer = context.layers[kernel_layer.dependencies[0]] - + # scan the memory_layer for these needles for address, _ in memory_layer.scan( context, scanners.MultiStringScanner(needles) From a35afd4f343c10d7f8d1df2cb5eec8364c3dbd5a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 8 Mar 2023 20:40:04 +0000 Subject: [PATCH 0094/2186] Core: Bump framwork version after release branch --- volatility3/framework/constants/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 8f1163fe1..3a6b24ea8 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -45,7 +45,7 @@ BANG = "!" # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 4 # Number of changes that only add to the interface -VERSION_PATCH = 1 # Number of changes that do not change the interface +VERSION_PATCH = 2 # Number of changes that do not change the interface VERSION_SUFFIX = "" # TODO: At version 2.0.0, remove the symbol_shift feature From b8755ac574e8226321ed169a1d6cac3a39505617 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 8 Mar 2023 20:42:24 +0000 Subject: [PATCH 0095/2186] Linux: fix black lint issues --- volatility3/framework/plugins/linux/envars.py | 1 - volatility3/framework/plugins/linux/iomem.py | 1 - 2 files changed, 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index 028eb2a57..5cbf0f502 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -70,7 +70,6 @@ class Envars(plugins.PluginInterface): # if mm exists attempt to get envars if mm: - # get process layer to read envars from proc_layer_name = task.add_process_layer() if proc_layer_name is None: diff --git a/volatility3/framework/plugins/linux/iomem.py b/volatility3/framework/plugins/linux/iomem.py index fddea4668..8efbf3b57 100644 --- a/volatility3/framework/plugins/linux/iomem.py +++ b/volatility3/framework/plugins/linux/iomem.py @@ -128,7 +128,6 @@ class IOMem(interfaces.plugins.PluginInterface): # only continue if iomem_root address was located if iomem_root_offset is not None: - # recursively parse the resources starting from the root resource at 'iomem_resource' for depth, (name, start, end) in self.parse_resource( self.context, vmlinux_module_name, iomem_root_offset From 85e86d45c547654afe7c2dca86f6c6d200cb05df Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 8 Mar 2023 20:42:24 +0000 Subject: [PATCH 0096/2186] Linux: fix black lint issues --- volatility3/framework/plugins/linux/envars.py | 1 - volatility3/framework/plugins/linux/iomem.py | 1 - 2 files changed, 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index 028eb2a57..5cbf0f502 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -70,7 +70,6 @@ class Envars(plugins.PluginInterface): # if mm exists attempt to get envars if mm: - # get process layer to read envars from proc_layer_name = task.add_process_layer() if proc_layer_name is None: diff --git a/volatility3/framework/plugins/linux/iomem.py b/volatility3/framework/plugins/linux/iomem.py index fddea4668..8efbf3b57 100644 --- a/volatility3/framework/plugins/linux/iomem.py +++ b/volatility3/framework/plugins/linux/iomem.py @@ -128,7 +128,6 @@ class IOMem(interfaces.plugins.PluginInterface): # only continue if iomem_root address was located if iomem_root_offset is not None: - # recursively parse the resources starting from the root resource at 'iomem_resource' for depth, (name, start, end) in self.parse_resource( self.context, vmlinux_module_name, iomem_root_offset From 99417cdfcc87d93d82b7288d8ee06ec4e06ada07 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 11 Mar 2023 14:17:37 +0000 Subject: [PATCH 0097/2186] Linux: Psscan check parent pointer is valid --- volatility3/framework/plugins/linux/psscan.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index f4bfd347e..ca9d30586 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -52,7 +52,10 @@ class PsScan(interfaces.plugins.PluginInterface): """ pid = task.tgid tid = task.pid - ppid = task.parent.tgid if task.parent else 0 + ppid = 0 + + if task.parent.is_readable(): + ppid = task.parent.tgid name = utility.array_to_string(task.comm) exit_state = DescExitStateEnum(task.exit_state).name From 36ec5164703d2b5eaf0b3ff0d5f3a5f59572a5ff Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 11 Mar 2023 15:17:24 +0000 Subject: [PATCH 0098/2186] Linux: Fix psscan task native_layer --- volatility3/framework/plugins/linux/psscan.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index ca9d30586..462577e58 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -138,6 +138,7 @@ class PsScan(interfaces.plugins.PluginInterface): raise exceptions.LayerException( kernel_layer_name, f"Layer {kernel_layer_name} has no dependencies" ) + memory_layer_name = kernel_layer.dependencies[0] memory_layer = context.layers[kernel_layer.dependencies[0]] # scan the memory_layer for these needles @@ -148,7 +149,8 @@ class PsScan(interfaces.plugins.PluginInterface): ptask = context.object( vmlinux.symbol_table_name + constants.BANG + "task_struct", offset=address - sched_class_offset, - layer_name="memory_layer", + layer_name=memory_layer_name, + native_layer_name=kernel_layer_name, ) # sanity check exit_state From 46f56770af1785f5f0bcfb887849bb96e164f23c Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 11 Mar 2023 15:18:58 +0000 Subject: [PATCH 0099/2186] Core: Pointer is_readable should check the native layer --- volatility3/framework/objects/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index a04eedd87..3b1745718 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -442,7 +442,7 @@ class Pointer(Integer): def is_readable(self, layer_name: Optional[str] = None) -> bool: """Determines whether the address of this pointer can be read from memory.""" - layer_name = layer_name or self.vol.layer_name + layer_name = layer_name or self.vol.native_layer_name return self._context.layers[layer_name].is_valid(self, self.vol.subtype.size) def __getattr__(self, attr: str) -> Any: From cfec8e4b1214329726855ffc89541f9eec29f3ec Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 11 Mar 2023 15:18:58 +0000 Subject: [PATCH 0100/2186] Core: Pointer is_readable should check the native layer --- volatility3/framework/objects/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index a04eedd87..3b1745718 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -442,7 +442,7 @@ class Pointer(Integer): def is_readable(self, layer_name: Optional[str] = None) -> bool: """Determines whether the address of this pointer can be read from memory.""" - layer_name = layer_name or self.vol.layer_name + layer_name = layer_name or self.vol.native_layer_name return self._context.layers[layer_name].is_valid(self, self.vol.subtype.size) def __getattr__(self, attr: str) -> Any: From b5ef7248ab1ef5ab5cab9fc5b6d05a88ef26c7bf Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 11 Mar 2023 15:17:24 +0000 Subject: [PATCH 0101/2186] Linux: Fix psscan task native_layer --- volatility3/framework/plugins/linux/psscan.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index f4bfd347e..7b03d8c87 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -135,6 +135,7 @@ class PsScan(interfaces.plugins.PluginInterface): raise exceptions.LayerException( kernel_layer_name, f"Layer {kernel_layer_name} has no dependencies" ) + memory_layer_name = kernel_layer.dependencies[0] memory_layer = context.layers[kernel_layer.dependencies[0]] # scan the memory_layer for these needles @@ -145,7 +146,8 @@ class PsScan(interfaces.plugins.PluginInterface): ptask = context.object( vmlinux.symbol_table_name + constants.BANG + "task_struct", offset=address - sched_class_offset, - layer_name="memory_layer", + layer_name=memory_layer_name, + native_layer_name=kernel_layer_name, ) # sanity check exit_state From 9216bab61b3187fc248760ffdda5b86c8a694c9a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 11 Mar 2023 17:32:46 +0000 Subject: [PATCH 0102/2186] Core: Improve import exception reporting --- volatility3/framework/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index ec0edc2fe..479925fb7 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -26,6 +26,7 @@ import importlib import inspect import logging import os +import traceback from typing import Any, Dict, Generator, List, Tuple, Type, TypeVar from volatility3.framework import constants, interfaces @@ -183,7 +184,11 @@ def import_file(module: str, path: str, ignore_errors: bool = False) -> List[str try: importlib.import_module(module) except ImportError as e: - vollog.debug(str(e)) + vollog.debug( + "".join( + traceback.TracebackException.from_exception(e).format(chain=True) + ) + ) vollog.debug( "Failed to import module {} based on file: {}".format(module, path) ) From d9a365d96fcd990c7faba32ab7aa63523203e9f8 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 11 Mar 2023 17:33:20 +0000 Subject: [PATCH 0103/2186] Linux: Rename linux.envars to linux.envvars --- volatility3/framework/plugins/linux/envars.py | 121 +----------------- .../framework/plugins/linux/envvars.py | 121 ++++++++++++++++++ 2 files changed, 127 insertions(+), 115 deletions(-) create mode 100644 volatility3/framework/plugins/linux/envvars.py diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index 5cbf0f502..c4e3ed3c9 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -1,121 +1,12 @@ -# This file is Copyright 2022 Volatility Foundation and licensed under the Volatility Software License 1.0 -# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 -# - +from volatility3.plugins import envvars import logging -from volatility3.framework import exceptions, renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins -from volatility3.framework.objects import utility -from volatility3.plugins.linux import pslist - vollog = logging.getLogger(__name__) -class Envars(plugins.PluginInterface): - """Lists processes with their environment variables""" - - _required_framework_version = (2, 0, 0) - - @classmethod - def get_requirements(cls): - # Since we're calling the plugin, make sure we have the plugin's requirements - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) - ), - requirements.ListRequirement( - name="pid", - description="Filter on specific process IDs", - element_type=int, - optional=True, - ), - ] - - def _generator(self, tasks): - """Generates a listing of processes along with environment variables""" - - # walk the process list and return the envars - for task in tasks: - pid = task.pid - - # get process name as string - name = utility.array_to_string(task.comm) - - # try and get task parent - try: - ppid = task.parent.pid - except exceptions.InvalidAddressException: - vollog.debug( - f"Unable to read parent pid for task {pid} {name}, setting ppid to 0." - ) - ppid = 0 - - # kernel threads never have an mm as they do not have userland mappings - try: - mm = task.mm - except exceptions.InvalidAddressException: - # no mm so cannot get envars - vollog.debug( - f"Unable to access mm for task {pid} {name} it is likely a kernel thread, will not extract any envars." - ) - mm = None - continue - - # if mm exists attempt to get envars - if mm: - # get process layer to read envars from - proc_layer_name = task.add_process_layer() - if proc_layer_name is None: - vollog.debug( - f"Unable to construct process layer for task {pid} {name}, will not extract any envars." - ) - continue - proc_layer = self.context.layers[proc_layer_name] - - # get the size of the envars with sanity checking - envars_size = task.mm.env_end - task.mm.env_start - if not (0 < envars_size <= 8192): - vollog.debug( - f"Task {pid} {name} appears to have envars of size {envars_size} bytes which fails the sanity checking, will not extract any envars." - ) - continue - - # attempt to read all envars data - try: - envar_data = proc_layer.read(task.mm.env_start, envars_size) - except exceptions.InvalidAddressException: - vollog.debug( - f"Unable to read full envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)} for {envars_size} bytes, will not extract any envars." - ) - continue - - # parse envar data, envars are null terminated, keys and values are separated by '=' - envar_data = envar_data.rstrip(b"\x00") - for envar_pair in envar_data.split(b"\x00"): - try: - key, value = envar_pair.decode().split("=", 1) - except ValueError: - vollog.debug( - f"Unable to extract envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)}, they don't appear to be '=' separated" - ) - continue - yield (0, (pid, ppid, name, key, value)) - - def run(self): - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - - return renderers.TreeGrid( - [("PID", int), ("PPID", int), ("COMM", str), ("KEY", str), ("VALUE", str)], - self._generator( - pslist.PsList.list_tasks( - self.context, self.config["kernel"], filter_func=filter_func - ) - ), +class Envars(envvars.Envvars): + def run(self, *args, **kwargs): + vollog.warning( + "The linux.envars plugin has been renamed to linux.envvars and will only be accessible through the new name in a future release" ) + return super().run(*args, **kwargs) diff --git a/volatility3/framework/plugins/linux/envvars.py b/volatility3/framework/plugins/linux/envvars.py new file mode 100644 index 000000000..1d6c8b784 --- /dev/null +++ b/volatility3/framework/plugins/linux/envvars.py @@ -0,0 +1,121 @@ +# This file is Copyright 2022 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging + +from volatility3.framework import exceptions, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.objects import utility +from volatility3.plugins.linux import pslist + +vollog = logging.getLogger(__name__) + + +class Envvars(plugins.PluginInterface): + """Lists processes with their environment variables""" + + _required_framework_version = (2, 0, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.ListRequirement( + name="pid", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + ] + + def _generator(self, tasks): + """Generates a listing of processes along with environment variables""" + + # walk the process list and return the envars + for task in tasks: + pid = task.pid + + # get process name as string + name = utility.array_to_string(task.comm) + + # try and get task parent + try: + ppid = task.parent.pid + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to read parent pid for task {pid} {name}, setting ppid to 0." + ) + ppid = 0 + + # kernel threads never have an mm as they do not have userland mappings + try: + mm = task.mm + except exceptions.InvalidAddressException: + # no mm so cannot get envars + vollog.debug( + f"Unable to access mm for task {pid} {name} it is likely a kernel thread, will not extract any envars." + ) + mm = None + continue + + # if mm exists attempt to get envars + if mm: + # get process layer to read envars from + proc_layer_name = task.add_process_layer() + if proc_layer_name is None: + vollog.debug( + f"Unable to construct process layer for task {pid} {name}, will not extract any envars." + ) + continue + proc_layer = self.context.layers[proc_layer_name] + + # get the size of the envars with sanity checking + envars_size = task.mm.env_end - task.mm.env_start + if not (0 < envars_size <= 8192): + vollog.debug( + f"Task {pid} {name} appears to have envars of size {envars_size} bytes which fails the sanity checking, will not extract any envars." + ) + continue + + # attempt to read all envars data + try: + envar_data = proc_layer.read(task.mm.env_start, envars_size) + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to read full envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)} for {envars_size} bytes, will not extract any envars." + ) + continue + + # parse envar data, envars are null terminated, keys and values are separated by '=' + envar_data = envar_data.rstrip(b"\x00") + for envar_pair in envar_data.split(b"\x00"): + try: + key, value = envar_pair.decode().split("=", 1) + except ValueError: + vollog.debug( + f"Unable to extract envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)}, they don't appear to be '=' separated" + ) + continue + yield (0, (pid, ppid, name, key, value)) + + def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + return renderers.TreeGrid( + [("PID", int), ("PPID", int), ("COMM", str), ("KEY", str), ("VALUE", str)], + self._generator( + pslist.PsList.list_tasks( + self.context, self.config["kernel"], filter_func=filter_func + ) + ), + ) From 3386a4fdc0e0c75d3ba9fb03b50a8d99b0cbc57d Mon Sep 17 00:00:00 2001 From: cstation Date: Tue, 14 Mar 2023 22:22:51 +0100 Subject: [PATCH 0104/2186] Remove broad try-except clause --- volatility3/framework/plugins/linux/elfs.py | 73 ++++++++++----------- 1 file changed, 35 insertions(+), 38 deletions(-) diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index f56438f4f..23bdf1c3a 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -75,55 +75,52 @@ class Elfs(plugins.PluginInterface): proc_layer = context.layers[layer_name] file_handle = None - try: - elf_object = context.object( - elf_table_name + constants.BANG + "Elf", - offset=vma.vm_start, - layer_name=layer_name, - ) + elf_object = context.object( + elf_table_name + constants.BANG + "Elf", + offset=vma.vm_start, + layer_name=layer_name, + ) - if not elf_object.is_valid(): - return None + if not elf_object.is_valid(): + return None - sections = {} - # TODO: Apply more effort to reconstruct ELF, e.g.: https://github.com/enbarberis/core2ELF64 ? - for phdr in elf_object.get_program_headers(): - if phdr.p_type != 1: # PT_LOAD = 1 - continue + sections = {} + # TODO: Apply more effort to reconstruct ELF, e.g.: https://github.com/enbarberis/core2ELF64 ? + for phdr in elf_object.get_program_headers(): + if phdr.p_type != 1: # PT_LOAD = 1 + continue - start = phdr.p_vaddr - size = phdr.p_memsz - end = start + size + start = phdr.p_vaddr + size = phdr.p_memsz + end = start + size - # Use complete memory pages for dumping - # If start isn't a multiple of 4096, stick to the highest multiple < start - # If end isn't a multiple of 4096, stick to the lowest multiple > end - if start % 4096: - start = start & ~0xFFF + # Use complete memory pages for dumping + # If start isn't a multiple of 4096, stick to the highest multiple < start + # If end isn't a multiple of 4096, stick to the lowest multiple > end + if start % 4096: + start = start & ~0xFFF - if end % 4096: - end = (end & ~0xFFF) + 4096 + if end % 4096: + end = (end & ~0xFFF) + 4096 - real_size = end - start + real_size = end - start - if real_size < 0 or real_size > 100000000: - continue + if real_size < 0 or real_size > 100000000: + continue - sections[start] = real_size + sections[start] = real_size - elf_data = b"" - for section_start in sorted(sections.keys()): - read_size = sections[section_start] + elf_data = b"" + for section_start in sorted(sections.keys()): + read_size = sections[section_start] - buf = proc_layer.read(vma.vm_start + section_start, read_size, pad=True) - elf_data = elf_data + buf + buf = proc_layer.read(vma.vm_start + section_start, read_size, pad=True) + elf_data = elf_data + buf - file_handle = open_method( - f"pid.{task.pid}.{utility.array_to_string(task.comm)}.{vma.vm_start:#x}.dmp" - ) - file_handle.write(elf_data) - except Exception as e: - vollog.debug(f"Unable to dump ELF with pid {task.pid}: {e}") + file_handle = open_method( + f"pid.{task.pid}.{utility.array_to_string(task.comm)}.{vma.vm_start:#x}.dmp" + ) + file_handle.write(elf_data) return file_handle From 3d51b4a41a7110670826557ea82f3bd0ecf55e5c Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 24 Mar 2023 15:08:59 +0000 Subject: [PATCH 0105/2186] Add basic support for linux maple tree struct --- .../framework/symbols/linux/__init__.py | 2 + .../symbols/linux/extensions/__init__.py | 142 ++++++++++++++++++ 2 files changed, 144 insertions(+) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index ce07167e5..7a22241a5 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -50,6 +50,8 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.optional_set_type_class("bt_sock", extensions.bt_sock) self.optional_set_type_class("xdp_sock", extensions.xdp_sock) + # Only found in 6.1+ kernels + self.optional_set_type_class("maple_tree", extensions.maple_tree) class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 5ab8f1aa0..72173f471 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -294,11 +294,128 @@ class fs_struct(objects.StructType): raise AttributeError("Unable to find the root mount") +class maple_tree(objects.StructType): + # include/linux/maple_tree.h + # Mask for Maple Tree Flags + MT_FLAGS_HEIGHT_MASK = 0x7C + MT_FLAGS_HEIGHT_OFFSET = 0x02 + + # Shift and mask to extract information from maple tree node pointers + MAPLE_NODE_TYPE_SHIFT = 0x03 + MAPLE_NODE_TYPE_MASK = 0x0F + MAPLE_NODE_POINTER_MASK = 0xFF + + # types of Maple Tree Nodes + MAPLE_DENSE = 0 + MAPLE_LEAF_64 = 1 + MAPLE_RANGE_64 = 2 + MAPLE_ARANGE_64 = 3 + + def get_slot_iter(self): + """Parse the Maple Tree and return every non zero slot.""" + maple_tree_offset, _, _ = self._parse_maple_tree_entry(self.vol.offset) + maple_tree_depth = ( + self.ma_flags & self.MT_FLAGS_HEIGHT_MASK + ) >> self.MT_FLAGS_HEIGHT_OFFSET + yield from self._parse_maple_tree_node( + self.ma_root, maple_tree_offset, maple_tree_depth + ) + + def _parse_maple_tree_node( + self, maple_tree_entry, parent, maple_tree_depth, seen=set(), depth=1 + ): + """Recursively parse Maple Tree Nodes and yield all non empty slots""" + + # protect against unlikely loop + if maple_tree_entry in seen: + vollog.warning( + f"The mte {hex(maple_tree_entry)} has all ready been seen, no further results will be produced for this node." + ) + return + else: + seen.add(maple_tree_entry) + if maple_tree_depth < depth: + vollog.warning( + f"The depth for the maple tree at {hex(self.vol.offset)} is {maple_tree_depth}, however when parsing the nodes " + f"a depth of {depth} was reached. This is unexpected and may lead to incorrect results." + ) + # parse the mte to extract the pointer value, node type, and leaf status + pointer, node_type, is_leaf = self._parse_maple_tree_entry(maple_tree_entry) + + # create a pointer object for the node parent mte (note this will include flags in the low bits) + symbol_table_name = self.get_symbol_table_name() + node_parent_mte = self._context.object( + symbol_table_name + constants.BANG + "pointer", + layer_name=self.vol.layer_name, + offset=pointer, + ) + + # extract the actual pointer to the parent of this node + node_parent_pointer, _, _ = self._parse_maple_tree_entry(node_parent_mte) + + # verify that the node_parent_pointer correctly points to the parent + assert node_parent_pointer == parent + + # create a node object + node = self._context.object( + symbol_table_name + constants.BANG + "maple_node", + layer_name=self.vol.layer_name, + offset=pointer, + ) + + # parse the slots based on the node type + if node_type == self.MAPLE_DENSE: + assert is_leaf == True + for slot in node.alloc.slot: + if (slot & ~(self.MAPLE_NODE_TYPE_MASK)) != 0: + yield slot + elif node_type == self.MAPLE_LEAF_64: + assert is_leaf == True + for slot in node.mr64.slot: + if (slot & ~(self.MAPLE_NODE_TYPE_MASK)) != 0: + yield slot + elif node_type == self.MAPLE_RANGE_64: + assert is_leaf == False + for slot in node.mr64.slot: + if (slot & ~(self.MAPLE_NODE_TYPE_MASK)) != 0: + yield from self._parse_maple_tree_node( + slot, pointer, maple_tree_depth, seen, depth + 1 + ) + elif node_type == self.MAPLE_ARANGE_64: + assert is_leaf == False + for slot in node.ma64.slot: + if (slot & ~(self.MAPLE_NODE_TYPE_MASK)) != 0: + yield from self._parse_maple_tree_node( + slot, pointer, maple_tree_depth, seen, depth + 1 + ) + else: + # unkown maple node type + raise AttributeError( + f"Unkown Maple Tree node type {node_type} at offset {hex(pointer)}." + ) + + def _parse_maple_tree_entry(self, maple_tree_entry): + """Parse a Maple Tree Entry and return the pointer, node type, if the node is a leaf, if the node is the root""" + # Extract the node type + node_type = ( + maple_tree_entry >> self.MAPLE_NODE_TYPE_SHIFT + ) & self.MAPLE_NODE_TYPE_MASK + + # Determine if it's a leaf node or not + is_leaf = node_type < self.MAPLE_RANGE_64 + + # Clear the lower bits to get the true pointer value + pointer = maple_tree_entry & ~(self.MAPLE_NODE_POINTER_MASK) + + return pointer, node_type, is_leaf class mm_struct(objects.StructType): def get_mmap_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """Returns an iterator for the mmap list member of an mm_struct.""" + if not self.has_member('mmap'): + raise AttributeError("get_mmap_iter called on mm_struct where no mmap member exists.") + if not self.mmap: return @@ -312,7 +429,32 @@ class mm_struct(objects.StructType): seen.add(link.vol.offset) link = link.vm_next + def get_maple_tree_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: + """Returns an iterator for the mm_mt member of an mm_struct.""" + + if not self.has_member('mm_mt'): + raise AttributeError("get_maple_tree_iter called on mm_struct where no mm_mt member exists.") + symbol_table_name = self.get_symbol_table_name() + for vma_pointer in self.mm_mt.get_slot_iter(): + # convert pointer to vm_area_struct and yield + vma = self._context.object( + symbol_table_name + constants.BANG + "vm_area_struct", + layer_name=self.vol.layer_name, + offset=vma_pointer + ) + yield vma + + def get_vma_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: + """Returns an iterator for the VMAs in an mm_struct. Automatically choosing the mmap or mm_mt as required.""" + + if self.has_member('mmap'): + yield from self.get_mmap_iter() + elif self.has_member('mm_mt'): + yield from self.get_maple_tree_iter() + else: + raise AttributeError("Unable to find mmap or mm_mt in mm_struct") + class super_block(objects.StructType): # include/linux/kdev_t.h MINORBITS = 20 From 5207cfcb93cf7f8955b5a499ac13a46ba962da78 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 24 Mar 2023 15:10:34 +0000 Subject: [PATCH 0106/2186] Modify linux plugins to support both mmap and mm_mt --- volatility3/framework/plugins/linux/elfs.py | 2 +- volatility3/framework/plugins/linux/malfind.py | 2 +- volatility3/framework/plugins/linux/proc.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index 822a69dd6..2ff5eb591 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -48,7 +48,7 @@ class Elfs(plugins.PluginInterface): name = utility.array_to_string(task.comm) - for vma in task.mm.get_mmap_iter(): + for vma in task.mm.get_vma_iter(): hdr = proc_layer.read(vma.vm_start, 4, pad=True) if not ( hdr[0] == 0x7F diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 18237b80c..1fd005de8 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -46,7 +46,7 @@ class Malfind(interfaces.plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] - for vma in task.mm.get_mmap_iter(): + for vma in task.mm.get_vma_iter(): if vma.is_suspicious() and vma.get_name(self.context, task) != "[vdso]": data = proc_layer.read(vma.vm_start, 64, pad=True) yield vma, data diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index 9d8af482e..8979f6f63 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -44,7 +44,7 @@ class Maps(plugins.PluginInterface): name = utility.array_to_string(task.comm) - for vma in task.mm.get_mmap_iter(): + for vma in task.mm.get_vma_iter(): flags = vma.get_protection() page_offset = vma.get_page_offset() major = 0 From 89e477a068092cad50acfaa0fd965097ae5da8c7 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 24 Mar 2023 20:07:32 +0000 Subject: [PATCH 0107/2186] Remove _parse_maple_tree_entry function and make parsing easier to read --- .../symbols/linux/extensions/__init__.py | 25 ++++++------------- 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 72173f471..9375a288b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -313,7 +313,7 @@ class maple_tree(objects.StructType): def get_slot_iter(self): """Parse the Maple Tree and return every non zero slot.""" - maple_tree_offset, _, _ = self._parse_maple_tree_entry(self.vol.offset) + maple_tree_offset = self.vol.offset & ~(self.MAPLE_NODE_POINTER_MASK) maple_tree_depth = ( self.ma_flags & self.MT_FLAGS_HEIGHT_MASK ) >> self.MT_FLAGS_HEIGHT_OFFSET @@ -340,7 +340,11 @@ class maple_tree(objects.StructType): f"a depth of {depth} was reached. This is unexpected and may lead to incorrect results." ) # parse the mte to extract the pointer value, node type, and leaf status - pointer, node_type, is_leaf = self._parse_maple_tree_entry(maple_tree_entry) + pointer = maple_tree_entry & ~(self.MAPLE_NODE_POINTER_MASK) + node_type = ( + maple_tree_entry >> self.MAPLE_NODE_TYPE_SHIFT + ) & self.MAPLE_NODE_TYPE_MASK + is_leaf = node_type < self.MAPLE_RANGE_64 # create a pointer object for the node parent mte (note this will include flags in the low bits) symbol_table_name = self.get_symbol_table_name() @@ -351,7 +355,7 @@ class maple_tree(objects.StructType): ) # extract the actual pointer to the parent of this node - node_parent_pointer, _, _ = self._parse_maple_tree_entry(node_parent_mte) + node_parent_pointer = node_parent_mte & ~(self.MAPLE_NODE_POINTER_MASK) # verify that the node_parent_pointer correctly points to the parent assert node_parent_pointer == parent @@ -394,21 +398,6 @@ class maple_tree(objects.StructType): f"Unkown Maple Tree node type {node_type} at offset {hex(pointer)}." ) - def _parse_maple_tree_entry(self, maple_tree_entry): - """Parse a Maple Tree Entry and return the pointer, node type, if the node is a leaf, if the node is the root""" - # Extract the node type - node_type = ( - maple_tree_entry >> self.MAPLE_NODE_TYPE_SHIFT - ) & self.MAPLE_NODE_TYPE_MASK - - # Determine if it's a leaf node or not - is_leaf = node_type < self.MAPLE_RANGE_64 - - # Clear the lower bits to get the true pointer value - pointer = maple_tree_entry & ~(self.MAPLE_NODE_POINTER_MASK) - - return pointer, node_type, is_leaf - class mm_struct(objects.StructType): def get_mmap_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """Returns an iterator for the mmap list member of an mm_struct.""" From 089234671c70b746c91c25ac2980a6a4f35607b0 Mon Sep 17 00:00:00 2001 From: Eve Date: Mon, 27 Mar 2023 06:29:30 +0100 Subject: [PATCH 0108/2186] Remove checks for leaf node in linux maple tree parsing, node type is enough. --- volatility3/framework/symbols/linux/extensions/__init__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 9375a288b..a8bf1b6aa 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -344,7 +344,6 @@ class maple_tree(objects.StructType): node_type = ( maple_tree_entry >> self.MAPLE_NODE_TYPE_SHIFT ) & self.MAPLE_NODE_TYPE_MASK - is_leaf = node_type < self.MAPLE_RANGE_64 # create a pointer object for the node parent mte (note this will include flags in the low bits) symbol_table_name = self.get_symbol_table_name() @@ -369,24 +368,20 @@ class maple_tree(objects.StructType): # parse the slots based on the node type if node_type == self.MAPLE_DENSE: - assert is_leaf == True for slot in node.alloc.slot: if (slot & ~(self.MAPLE_NODE_TYPE_MASK)) != 0: yield slot elif node_type == self.MAPLE_LEAF_64: - assert is_leaf == True for slot in node.mr64.slot: if (slot & ~(self.MAPLE_NODE_TYPE_MASK)) != 0: yield slot elif node_type == self.MAPLE_RANGE_64: - assert is_leaf == False for slot in node.mr64.slot: if (slot & ~(self.MAPLE_NODE_TYPE_MASK)) != 0: yield from self._parse_maple_tree_node( slot, pointer, maple_tree_depth, seen, depth + 1 ) elif node_type == self.MAPLE_ARANGE_64: - assert is_leaf == False for slot in node.ma64.slot: if (slot & ~(self.MAPLE_NODE_TYPE_MASK)) != 0: yield from self._parse_maple_tree_node( From 18a9f898325bf84ad48500a043a4c3b49d4afcdd Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 29 Mar 2023 10:00:55 +0100 Subject: [PATCH 0109/2186] update logic for checking if a vma should be saved to disk in linux.proc plugin --- volatility3/framework/plugins/linux/proc.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index 99c8761c1..e885978b1 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -105,7 +105,6 @@ class Maps(plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from task: an task_struct instance - vma: The suspected VMA to extract (ObjectInterface) vm_start: The start virtual address from the vma to dump vm_end: The end virtual address from the vma to dump open_method: class to provide context manager for opening the file @@ -127,7 +126,16 @@ class Maps(plugins.PluginInterface): return None vm_size = vm_end - vm_start - if 0 < maxsize < vm_size: + + # check if vm_size is negative, this should never happen. + if vm_size < 0: + vollog.warning( + f"Skip virtual memory dump for pid {pid} between {vm_start:#x}-{vm_end:#x} as {vm_size} is negative." + ) + return None + + # check if vm_size is larger than the maxsize limit, and therefore is not saved out. + if maxsize <= vm_size: vollog.warning( f"Skip virtual memory dump for pid {pid} between {vm_start:#x}-{vm_end:#x} as {vm_size} is larger than maxsize limit of {maxsize}" ) From 61a2f78baaaa6bc7a957ab5c811494e2923ebf0d Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 29 Mar 2023 10:05:37 +0100 Subject: [PATCH 0110/2186] fix black linting in linux.proc plugin --- volatility3/framework/plugins/linux/proc.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index e885978b1..2d7348fff 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -124,7 +124,6 @@ class Maps(plugins.PluginInterface): ) ) return None - vm_size = vm_end - vm_start # check if vm_size is negative, this should never happen. @@ -133,14 +132,12 @@ class Maps(plugins.PluginInterface): f"Skip virtual memory dump for pid {pid} between {vm_start:#x}-{vm_end:#x} as {vm_size} is negative." ) return None - # check if vm_size is larger than the maxsize limit, and therefore is not saved out. if maxsize <= vm_size: vollog.warning( f"Skip virtual memory dump for pid {pid} between {vm_start:#x}-{vm_end:#x} as {vm_size} is larger than maxsize limit of {maxsize}" ) return None - proc_layer = context.layers[proc_layer_name] file_name = f"pid.{pid}.vma.{vm_start:#x}-{vm_end:#x}.dmp" try: @@ -152,11 +149,9 @@ class Maps(plugins.PluginInterface): data = proc_layer.read(offset, to_read, pad=True) file_handle.write(data) offset += to_read - except Exception as excp: vollog.debug(f"Unable to dump virtual memory {file_name}: {excp}") return None - return file_handle def _generator(self, tasks): @@ -179,11 +174,9 @@ class Maps(plugins.PluginInterface): return False vma_filter_func = vma_filter_function - for task in tasks: if not task.mm: continue - name = utility.array_to_string(task.comm) for vma in self.list_vmas(task, filter_func=vma_filter_func): @@ -200,7 +193,6 @@ class Maps(plugins.PluginInterface): major = inode_object.i_sb.major minor = inode_object.i_sb.minor inode = inode_object.i_ino - path = vma.get_name(self.context, task) file_output = "Disabled" @@ -215,7 +207,6 @@ class Maps(plugins.PluginInterface): ) vm_start = None vm_end = None - if vm_start and vm_end: # only attempt to dump the memory if we have vm_start and vm_end file_handle = self.vma_dump( @@ -230,7 +221,6 @@ class Maps(plugins.PluginInterface): if file_handle: file_handle.close() file_output = file_handle.preferred_filename - yield ( 0, ( From 60292c2da1efa886d0f46bd720af537a6069a623 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 29 Mar 2023 20:46:06 +0100 Subject: [PATCH 0111/2186] Linux: Fix slight issue in envvars renaming --- volatility3/framework/plugins/linux/envars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index c4e3ed3c9..758943312 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -1,4 +1,4 @@ -from volatility3.plugins import envvars +from volatility3.plugins.linux import envvars import logging vollog = logging.getLogger(__name__) From 90b9157dcf2ababcd1c52128d72aa9732319701a Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 30 Mar 2023 08:54:56 +0100 Subject: [PATCH 0112/2186] Linux.proc: Fix broken variable in debug msg. --- volatility3/framework/plugins/linux/proc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index 2d7348fff..c1a834bbe 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -21,6 +21,7 @@ class Maps(plugins.PluginInterface): """Lists all memory maps for all processes.""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) MAXSIZE_DEFAULT = 1024 * 1024 * 1024 # 1 Gb @classmethod @@ -203,7 +204,7 @@ class Maps(plugins.PluginInterface): vm_end = vma.vm_end except AttributeError: vollog.debug( - f"Unable to find the vm_start and vm_end for vma at {vma.vol.offset:#x} for pid {pid}" + f"Unable to find the vm_start and vm_end for vma at {vma.vol.offset:#x} for pid {task.pid}" ) vm_start = None vm_end = None From 8d47f89eddbdf958406290f2da5affeb934dfc7a Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 30 Mar 2023 08:57:43 +0100 Subject: [PATCH 0113/2186] Linux.proc: Add debug msg when task has no mm member. --- volatility3/framework/plugins/linux/proc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index c1a834bbe..3ce9216fa 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -90,6 +90,10 @@ class Maps(plugins.PluginInterface): vollog.debug( f"Excluded vma at offset {vma.vol.offset:#x} for pid {task.pid} due to filter_func" ) + else: + vollog.debug( + f"Excluded pid {task.pid} as there is no mm member. It is likely a kernel thread." + ) @classmethod def vma_dump( From 41edab23099b1e011d1b0acc4ef538f9ad406ec1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 4 Apr 2023 23:23:27 +0100 Subject: [PATCH 0114/2186] Plugins: Support yara-4.3.0 and above --- volatility3/framework/plugins/yarascan.py | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 1c548e5a6..1c8467689 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -34,13 +34,27 @@ class YaraScanner(interfaces.layers.ScannerInterface): if rules is None: raise ValueError("No rules provided to YaraScanner") self._rules = rules + self.st_object = not tuple([int(x) for x in yara.__version__.split(".")]) < ( + 4, + 3, + ) def __call__( self, data: bytes, data_offset: int ) -> Iterable[Tuple[int, str, str, bytes]]: for match in self._rules.match(data=data): - for offset, name, value in match.strings: - yield (offset + data_offset, match.rule, name, value) + if self.st_object: + for match_string in match.strings: + for instance in match_string.instances: + yield ( + instance.offset + data_offset, + match.rule, + match_string.identifier, + instance.matched_data, + ) + else: + for offset, name, value in match.strings: + yield (offset + data_offset, match.rule, name, value) class YaraScan(plugins.PluginInterface): From f33ea67e860837f579f7af2d60861baa68f350d5 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 4 Apr 2023 23:57:35 +0100 Subject: [PATCH 0115/2186] Automagic: Update clear-cache and do removals first --- volatility3/framework/__init__.py | 6 +----- volatility3/framework/automagic/symbol_cache.py | 17 ++++++++--------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 479925fb7..c7b23a9c3 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -224,8 +224,4 @@ def list_plugins() -> Dict[str, Type[interfaces.plugins.PluginInterface]]: def clear_cache(complete=False): - glob_pattern = "*.cache" - if not complete: - glob_pattern = "data_" + glob_pattern - for cache_filename in glob.glob(os.path.join(constants.CACHE_PATH, glob_pattern)): - os.unlink(cache_filename) + os.unlink(os.path.join(constants.CACHE_PATH, constants.IDENTIFIERS_FILENAME)) diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index a58bf0091..29f2cfd08 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -310,6 +310,14 @@ class SqliteCache(CacheManagerInterface): new_locations = on_disk_locations.difference(cached_locations) missing_locations = cached_locations.difference(on_disk_locations) + # Missing entries + if missing_locations: + self._database.cursor().execute( + f"DELETE FROM cache WHERE location IN ({','.join(['?'] * len(missing_locations))})", + [x for x in missing_locations], + ) + self._database.commit() + cache_update = set() files_to_timestamp = on_disk_locations.intersection(cached_locations) if files_to_timestamp: @@ -437,15 +445,6 @@ class SqliteCache(CacheManagerInterface): progress_callback(100, "Reading remote ISF list") self._database.commit() - # Missing entries - - if missing_locations: - self._database.cursor().execute( - f"DELETE FROM cache WHERE location IN ({','.join(['?'] * len(missing_locations))})", - [x for x in missing_locations], - ) - self._database.commit() - def get_identifier_dictionary( self, operating_system: Optional[str] = None, local_only: bool = False ) -> Dict[bytes, str]: From 2e0ecdd770b84aab991aba85ae2d33143212ba43 Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Fri, 7 Apr 2023 18:04:56 +0900 Subject: [PATCH 0116/2186] Fix: typo for linux iomem plugin --- volatility3/framework/plugins/linux/iomem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/iomem.py b/volatility3/framework/plugins/linux/iomem.py index 8efbf3b57..2056851aa 100644 --- a/volatility3/framework/plugins/linux/iomem.py +++ b/volatility3/framework/plugins/linux/iomem.py @@ -42,7 +42,7 @@ class IOMem(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from vmlinux_module_name: The name of the kernel module on which to operate - resource_offset: The offset to the resouce to be parsed + resource_offset: The offset to the resource to be parsed seen: The set of resource offsets that have already been parsed depth: How deep into the resource structure we are @@ -57,7 +57,7 @@ class IOMem(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: vollog.warning( f"Unable to create resource object at {resource_offset:#x}. This resource, " - "its sibling, and any of it's childern and will be missing from the output." + "its sibling, and any of it's children and will be missing from the output." ) return None From ebb74e2f9292b7cdd211c4886b06fb407e751c80 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 12 Apr 2023 19:57:15 +0100 Subject: [PATCH 0117/2186] Core: Bump the copyright year of the README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 502e26f10..471735af8 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ The latest generated copy of the documentation can be found at: Date: Wed, 12 Apr 2023 19:57:15 +0100 Subject: [PATCH 0118/2186] Core: Bump the copyright year of the README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 502e26f10..471735af8 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ The latest generated copy of the documentation can be found at: Date: Fri, 14 Apr 2023 08:08:27 +0100 Subject: [PATCH 0119/2186] Volshell: Mark the script as executable in the repo --- volshell.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 volshell.py diff --git a/volshell.py b/volshell.py old mode 100644 new mode 100755 From 58af80df3c9adfbe8df382b2242087d385c319a7 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 16 Apr 2023 13:29:41 +0100 Subject: [PATCH 0120/2186] Requirements: Shift location_from_file to the requirement from the CLI class --- volatility3/cli/__init__.py | 21 +++++---------- volatility3/framework/automagic/windows.py | 3 +++ .../framework/configuration/requirements.py | 26 +++++++++++++++++++ 3 files changed, 36 insertions(+), 14 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 336902d50..99052d82e 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -353,7 +353,9 @@ class CommandLine: ### if args.file: try: - single_location = self.location_from_file(args.file) + single_location = requirements.URLRequirement.location_from_file( + args.file + ) ctx.config["automagic.LayerStacker.single_location"] = single_location except ValueError as excp: parser.error(str(excp)) @@ -456,19 +458,10 @@ class CommandLine: Returns: The URL for the location of the file """ - # We want to work in URLs, but we need to accept absolute and relative files (including on windows) - single_location = parse.urlparse(filename, "") - if single_location.scheme == "" or len(single_location.scheme) == 1: - single_location = parse.urlparse( - parse.urljoin("file:", request.pathname2url(os.path.abspath(filename))) - ) - if single_location.scheme == "file": - if not os.path.exists(request.url2pathname(single_location.path)): - filename = request.url2pathname(single_location.path) - if not filename: - raise ValueError("File URL looks incorrect (potentially missing /)") - raise ValueError(f"File does not exist: {filename}") - return parse.urlunparse(single_location) + vollog.debug( + f"{__name__}.location_from_file has been deprecated and moved to requirements.URIRequirement.location_from_file" + ) + return requirements.URIRequirement.location_from_file(filename) def process_exceptions(self, excp): """Provide useful feedback if an exception occurs during a run of a plugin.""" diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index 986eeae22..ccc8de2eb 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -367,6 +367,7 @@ class WinSwapLayers(interfaces.automagic.AutomagicInterface): progress_callback: constants.ProgressCallback = None, ) -> None: """Finds translation layers that can have swap layers added.""" + path_join = interfaces.configuration.path_join self._translation_requirement = self.find_requirements( context, @@ -382,11 +383,13 @@ class WinSwapLayers(interfaces.automagic.AutomagicInterface): swap_sub_config, swap_req = self.find_swap_requirement( trans_sub_config, trans_req ) + counter = 0 swap_config = interfaces.configuration.parent_path(swap_sub_config) if swap_req and swap_req.unsatisfied(context, swap_config): # See if any of them need constructing + for swap_location in self.config.get("single_swap_locations", []): # Setup config locations/paths current_layer_name = swap_req.name + str(counter) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 6b64b1cb9..abdffdbe4 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -10,7 +10,9 @@ expect to be in the context (such as particular layers or symboltables). """ import abc import logging +import os from typing import Any, ClassVar, Dict, List, Optional, Tuple, Type +from urllib import parse, request from volatility3.framework import constants, interfaces @@ -55,6 +57,30 @@ class URIRequirement(StringRequirement): # TODO: Maybe a a check that to unsatisfied that the path really is a URL? + @classmethod + def location_from_file(cls, filename: str) -> str: + """Returns the URL location from a file parameter (which may be a URL) + + Args: + filename: The path to the file (either an absolute, relative, or URL path) + + Returns: + The URL for the location of the file + """ + # We want to work in URLs, but we need to accept absolute and relative files (including on windows) + single_location = parse.urlparse(filename, "") + if single_location.scheme == "" or len(single_location.scheme) == 1: + single_location = parse.urlparse( + parse.urljoin("file:", request.pathname2url(os.path.abspath(filename))) + ) + if single_location.scheme == "file": + if not os.path.exists(request.url2pathname(single_location.path)): + filename = request.url2pathname(single_location.path) + if not filename: + raise ValueError("File URL looks incorrect (potentially missing /)") + raise ValueError(f"File does not exist: {filename}") + return parse.urlunparse(single_location) + class BytesRequirement(interfaces.configuration.SimpleTypeRequirement): """A requirement type that contains a byte string.""" From a5e6c550e3fbaa0110d6398b57a570c16914f8aa Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 16 Apr 2023 13:30:55 +0100 Subject: [PATCH 0121/2186] Automagic: Handle file swap locations and throw a warning if they don't exist --- volatility3/framework/automagic/windows.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index ccc8de2eb..a8530829b 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -401,7 +401,17 @@ class WinSwapLayers(interfaces.automagic.AutomagicInterface): # Fill in the config if swap_location: context.config[current_layer_path] = current_layer_name - context.config[layer_loc_path] = swap_location + try: + context.config[ + layer_loc_path + ] = requirements.URIRequirement.location_from_file( + swap_location + ) + except ValueError: + vollog.warning( + f"Volatility swap_location {swap_location} could not be validated - swap layer disabled" + ) + continue context.config[ layer_class_path ] = "volatility3.framework.layers.physical.FileLayer" From 33f54f8cf7be2039c3e976917f66ced49ce8365b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 26 Apr 2023 00:33:35 +1000 Subject: [PATCH 0122/2186] Replace LinuxUtilities._do_get_path() with the new mountinfo _do_get_path() avoiding duplicate code. It also fixes issue #930 --- .../framework/plugins/linux/mountinfo.py | 40 +---- .../framework/symbols/linux/__init__.py | 149 ++++++++++-------- 2 files changed, 84 insertions(+), 105 deletions(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index ebd6e55a0..1de776412 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -9,6 +9,7 @@ from typing import Tuple, List, Iterable, Union from volatility3.framework import renderers, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins +from volatility3.framework.symbols import linux from volatility3.plugins.linux import pslist vollog = logging.getLogger(__name__) @@ -71,40 +72,9 @@ class MountInfo(plugins.PluginInterface): ), ] - @classmethod - def _do_get_path(cls, mnt, fs_root) -> Union[None, str]: - """It mimics the Linux kernel prepend_path function.""" - vfsmnt = mnt.mnt - dentry = vfsmnt.get_mnt_root() - - path_reversed = [] - while dentry != fs_root.dentry or vfsmnt.vol.offset != fs_root.mnt: - if dentry == vfsmnt.get_mnt_root() or dentry.is_root(): - parent = mnt.get_mnt_parent().dereference() - # Escaped? - if dentry != vfsmnt.get_mnt_root(): - return None - - # Global root? - if mnt.vol.offset != parent.vol.offset: - dentry = mnt.get_mnt_mountpoint() - mnt = parent - vfsmnt = mnt.mnt - continue - - return None - - parent = dentry.d_parent - dname = dentry.d_name.name_as_str() - path_reversed.append(dname.strip("/")) - dentry = parent - - path = "/" + "/".join(reversed(path_reversed)) - return path - @classmethod def get_mountinfo( - cls, mnt, task + cls, mnt, task, context ) -> Union[ None, Tuple[int, int, str, str, str, List[str], List[str], str, str, List[str]] ]: @@ -115,8 +85,8 @@ class MountInfo(plugins.PluginInterface): if not mnt_root: return None - path_root = cls._do_get_path(mnt, task.fs.root) - if path_root is None: + path_root = linux.LinuxUtilities._get_path_root(context, mnt, task.fs.root) + if not path_root: return None mnt_root_path = mnt_root.path() @@ -207,7 +177,7 @@ class MountInfo(plugins.PluginInterface): if mnt_ns_ids and mnt_ns_id not in mnt_ns_ids: continue - mnt_info = self.get_mountinfo(mnt, task) + mnt_info = MountInfo.get_mountinfo(mnt, task, self.context) if mnt_info is None: continue diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index ce07167e5..80f5e9990 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -1,11 +1,11 @@ # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Iterator, List, Tuple, Optional +from typing import Iterator, List, Tuple, Optional, Union from volatility3 import framework from volatility3.framework import constants, exceptions, interfaces, objects -from volatility3.framework.objects import utility +from volatility3.framework.objects import utility, Pointer from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux import extensions @@ -59,83 +59,92 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): framework.require_interface_version(*_required_framework_version) - # based on __d_path from the Linux kernel @classmethod - def _do_get_path(cls, rdentry, rmnt, dentry, vfsmnt) -> str: - ret_path: List[str] = [] - - while dentry != rdentry or vfsmnt != rmnt: - dname = dentry.path() - if dname == "": - break - - ret_path.insert(0, dname.strip("/")) - if dentry == vfsmnt.get_mnt_root() or dentry == dentry.d_parent: - if vfsmnt.get_mnt_parent() == vfsmnt: - break - - dentry = vfsmnt.get_mnt_mountpoint() - vfsmnt = vfsmnt.get_mnt_parent() - - continue - - parent = dentry.d_parent - dentry = parent - - # if we did not gather any valid dentrys in the path, then the entire file is - # either 1) smeared out of memory or 2) de-allocated and corresponding structures overwritten - # we return an empty string in this case to avoid confusion with something like a handle to the root - # directory (e.g., "/") - if not ret_path: - return "" - - ret_val = "/".join([str(p) for p in ret_path if p != ""]) - - if ret_val.startswith(("socket:", "pipe:")): - if ret_val.find("]") == -1: - try: - inode = dentry.d_inode - ino = inode.i_ino - except exceptions.InvalidAddressException: - ino = 0 - - ret_val = ret_val[:-1] + f":[{ino}]" - else: - ret_val = ret_val.replace("/", "") - - elif ret_val != "inotify": - ret_val = "/" + ret_val - - return ret_val - - # method used by 'older' kernels - # TODO: lookup when dentry_operations->d_name was merged into the mainline kernel for exact version - @classmethod - def _get_path_file(cls, task, filp) -> str: + def _get_path_file(cls, context, task, filp) -> str: rdentry = task.fs.get_root_dentry() rmnt = task.fs.get_root_mnt() - dentry = filp.get_dentry() vfsmnt = filp.get_vfsmnt() + dentry = filp.get_dentry() - return LinuxUtilities._do_get_path(rdentry, rmnt, dentry, vfsmnt) + return cls.do_get_path(rdentry, rmnt, dentry, vfsmnt, context) + + @classmethod + def _get_path_root(cls, context, mnt, fs_root) -> str: + rdentry = fs_root.dentry + rmnt = fs_root.mnt + vfsmnt = mnt.mnt + dentry = vfsmnt.mnt_root + + return cls.do_get_path(rdentry, rmnt, dentry, vfsmnt, context) + + @classmethod + def _get_vmlinux_from_volobj(cls, volobj, context): + symbol_table_arr = volobj.vol.type_name.split("!", 1) + symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None + + module_names = context.modules.get_modules_by_symbol_tables(symbol_table) + module_names = list(module_names) + + if not module_names: + raise ValueError(f"No module using the symbol table '{symbol_table}'") + + kernel_module_name = module_names[0] + kernel = context.modules[kernel_module_name] + + return kernel + + @classmethod + def _get_mnt_from_vfsmnt(cls, vfsmnt, dentry, context): + vmlinux = cls._get_vmlinux_from_volobj(dentry, context) + + # When it's called from _get_path_file(), 'vfsmnt' is a Pointer + # struct file->f_path->mnt is "struct vfsmount *". + # However, when called from _get_path_root() + # struct mount -> mnt is "struct vfsmount" + vfsmnt_ptr = vfsmnt if type(vfsmnt) == Pointer else vfsmnt.vol.offset + + mnt = cls.container_of(vfsmnt_ptr, "mount", "mnt", vmlinux) + + return mnt + + @classmethod + def do_get_path(cls, rdentry, rmnt, dentry, vfsmnt, context) -> Union[None, str]: + """It mimics the Linux kernel prepend_path function.""" + + mnt = cls._get_mnt_from_vfsmnt(vfsmnt, dentry, context) + + path_reversed = [] + while dentry != rdentry or vfsmnt.vol.offset != rmnt: + if dentry == vfsmnt.get_mnt_root() or dentry.is_root(): + parent = mnt.get_mnt_parent().dereference() + # Escaped? + if dentry != vfsmnt.get_mnt_root(): + break + + # Global root? + if mnt.vol.offset != parent.vol.offset: + dentry = mnt.get_mnt_mountpoint() + mnt = parent + vfsmnt = mnt.mnt + continue + + break + + parent = dentry.d_parent + dname = dentry.d_name.name_as_str() + path_reversed.append(dname.strip("/")) + dentry = parent + + path = "/" + "/".join(reversed(path_reversed)) + return path @classmethod def _get_new_sock_pipe_path(cls, context, task, filp) -> str: dentry = filp.get_dentry() + kernel_module = cls._get_vmlinux_from_volobj(dentry, context) + sym_addr = dentry.d_op.d_dname - - symbol_table_arr = sym_addr.vol.type_name.split("!") - symbol_table = None - if len(symbol_table_arr) == 2: - symbol_table = symbol_table_arr[0] - - for module_name in context.modules.get_modules_by_symbol_tables(symbol_table): - kernel_module = context.modules[module_name] - break - else: - raise ValueError(f"No module using the symbol table {symbol_table}") - symbs = list(kernel_module.get_symbols_by_absolute_location(sym_addr)) if len(symbs) == 1: @@ -151,7 +160,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): pre_name = "pipe" elif sym == "simple_dname": - pre_name = cls._get_path_file(task, filp) + pre_name = cls._get_path_file(context, task, filp) else: pre_name = f"" @@ -192,7 +201,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): if dname_is_valid: ret = LinuxUtilities._get_new_sock_pipe_path(context, task, filp) else: - ret = LinuxUtilities._get_path_file(task, filp) + ret = LinuxUtilities._get_path_file(context, task, filp) return ret From b2d33c2cb0cf8535647f77feac35c44bc124ace5 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 26 Apr 2023 00:36:58 +1000 Subject: [PATCH 0123/2186] Check if 'mnt_namespace' has the 'ns' member before using it --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 5ab8f1aa0..da5bf5dad 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -825,7 +825,7 @@ class mnt_namespace(objects.StructType): def get_inode(self): if self.has_member("proc_inum"): return self.proc_inum - elif self.ns.has_member("inum"): + elif self.has_member("ns") and self.ns.has_member("inum"): return self.ns.inum else: raise AttributeError("Unable to find mnt_namespace inode") From 317f565685c4d63b26d315cc77f74afcb65a525b Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 30 Apr 2023 08:28:22 +0100 Subject: [PATCH 0124/2186] Core: Renable the import protection for volatility3.framework.plugins In commit 21d916b (about 10 months ago) the logic for the warning about volatility3.framework importing was disabled. This re-enables it. Also updates to support pyinstaller 5.10 function stack depth. Closes #944 --- volatility3/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/__init__.py b/volatility3/__init__.py index 28df7da5a..94a6721e1 100644 --- a/volatility3/__init__.py +++ b/volatility3/__init__.py @@ -38,10 +38,13 @@ class WarningFindSpec(abc.MetaPathFinder): """Mock find_spec method that just checks the name, this must go first.""" if fullname.startswith("volatility3.framework.plugins."): - warning = "Please do not use the volatility3.framework.plugins namespace directly, only use volatility3.plugins" + warning = f"Import {fullname}: Please do not use the volatility3.framework.plugins namespace directly, only use volatility3.plugins" # Pyinstaller uses walk_packages/_collect_submodules to import, but needs to read the modules to figure out dependencies # As such, we only print the warning when directly imported rather than from within walk_packages/_collect_submodules - if inspect.stack()[-2].function in ["walk_packages", "_collect_submodules"]: + if inspect.stack()[-2].function not in [ + "walk_packages", + "_collect_submodules", + ] and inspect.stack()[-3].function not in ["_collect_submodules"]: raise Warning(warning) From 77081d3f6832d187eeff5fc0c2d7b64c2655a4b8 Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Tue, 2 May 2023 05:51:24 +0900 Subject: [PATCH 0125/2186] Add: code comment for plugins --- volatility3/framework/plugins/windows/crashinfo.py | 2 ++ volatility3/framework/plugins/windows/ldrmodules.py | 2 ++ volatility3/plugins/windows/statistics.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/volatility3/framework/plugins/windows/crashinfo.py b/volatility3/framework/plugins/windows/crashinfo.py index a9f32f63d..4ecd85087 100644 --- a/volatility3/framework/plugins/windows/crashinfo.py +++ b/volatility3/framework/plugins/windows/crashinfo.py @@ -14,6 +14,8 @@ vollog = logging.getLogger(__name__) class Crashinfo(interfaces.plugins.PluginInterface): + """Lists the information from a Windows crash dump.""" + _required_framework_version = (2, 0, 0) @classmethod diff --git a/volatility3/framework/plugins/windows/ldrmodules.py b/volatility3/framework/plugins/windows/ldrmodules.py index 9642810a5..3c2b8a42d 100644 --- a/volatility3/framework/plugins/windows/ldrmodules.py +++ b/volatility3/framework/plugins/windows/ldrmodules.py @@ -7,6 +7,8 @@ from volatility3.plugins.windows import pslist, vadinfo class LdrModules(interfaces.plugins.PluginInterface): + """Lists the loaded modules in a particular windows memory image.""" + _required_framework_version = (2, 0, 0) _version = (1, 0, 0) diff --git a/volatility3/plugins/windows/statistics.py b/volatility3/plugins/windows/statistics.py index e921b3565..4cc05440c 100644 --- a/volatility3/plugins/windows/statistics.py +++ b/volatility3/plugins/windows/statistics.py @@ -13,6 +13,8 @@ vollog = logging.getLogger(__name__) class Statistics(plugins.PluginInterface): + """Lists statistics about the memory space.""""" + _required_framework_version = (2, 0, 0) @classmethod From 79cd3fe2feddf4f1041f2941eb34149c5083ab58 Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Tue, 2 May 2023 05:57:56 +0900 Subject: [PATCH 0126/2186] Lint: black issue for windows.statistics --- volatility3/plugins/windows/statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/plugins/windows/statistics.py b/volatility3/plugins/windows/statistics.py index 4cc05440c..9915312e3 100644 --- a/volatility3/plugins/windows/statistics.py +++ b/volatility3/plugins/windows/statistics.py @@ -13,7 +13,7 @@ vollog = logging.getLogger(__name__) class Statistics(plugins.PluginInterface): - """Lists statistics about the memory space.""""" + """Lists statistics about the memory space.""" _required_framework_version = (2, 0, 0) From c06836e45dfe56dfc5c5dc9977cdc638aed4785e Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Tue, 2 May 2023 05:58:57 +0900 Subject: [PATCH 0127/2186] Lint: black issue for windows.ldrmodules --- volatility3/framework/plugins/windows/ldrmodules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/ldrmodules.py b/volatility3/framework/plugins/windows/ldrmodules.py index 3c2b8a42d..4c8456fa9 100644 --- a/volatility3/framework/plugins/windows/ldrmodules.py +++ b/volatility3/framework/plugins/windows/ldrmodules.py @@ -8,7 +8,7 @@ from volatility3.plugins.windows import pslist, vadinfo class LdrModules(interfaces.plugins.PluginInterface): """Lists the loaded modules in a particular windows memory image.""" - + _required_framework_version = (2, 0, 0) _version = (1, 0, 0) From 159e5a2fbd7393934f73a50b6512df9334357e27 Mon Sep 17 00:00:00 2001 From: cpuu Date: Thu, 4 May 2023 11:59:30 +0900 Subject: [PATCH 0128/2186] Fix requirements.URLRequirement to requirements.URIRequirement [Refactor] Fix requirements.URLRequirement to requirements.URIRequirement in single_location assignment --- volatility3/cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 99052d82e..9bfd14c6c 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -353,7 +353,7 @@ class CommandLine: ### if args.file: try: - single_location = requirements.URLRequirement.location_from_file( + single_location = requirements.URIRequirement.location_from_file( args.file ) ctx.config["automagic.LayerStacker.single_location"] = single_location From 14f449367d68c38211c5cba095dee41d38c60f0a Mon Sep 17 00:00:00 2001 From: cpuu Date: Thu, 4 May 2023 12:52:00 +0900 Subject: [PATCH 0129/2186] Delete getting-started-macos-tutorial.rst --- doc/source/getting-started-macos-tutorial.rst | 154 ------------------ 1 file changed, 154 deletions(-) delete mode 100644 doc/source/getting-started-macos-tutorial.rst diff --git a/doc/source/getting-started-macos-tutorial.rst b/doc/source/getting-started-macos-tutorial.rst deleted file mode 100644 index bc0cb1b92..000000000 --- a/doc/source/getting-started-macos-tutorial.rst +++ /dev/null @@ -1,154 +0,0 @@ -macOS Tutorial -============== - -This guide will give you a brief overview of how volatility3 works as well as a demonstration of several of the plugins available in the suite. - -Acquiring memory ----------------- - -Volatility3 does not provide the ability to acquire memory. The example below is an open source tool. Other commercial tools are also available. - -* `osxpmem `_ - - - -Procedure to create symbol tables for macOS --------------------------------------------- - -To create a symbol table please refer to :ref:`symbol-tables:Mac or Linux symbol tables`. - -.. tip:: It may be possible to locate pre-made ISF files from the `download link `_ , - which is built and maintained by `volatilityfoundation `_. - After creating the file or downloading it from the link, place the file under the directory ``volatility3/symbols/mac``. - If necessary create a mac directory under the symbols directory (this will become unnecessary in future versions). - - -Listing plugins ---------------- - -The following is a sample of the macOS plugins available for volatility3, it is not complete and more more plugins may -be added. For a complete reference, please see the volatility 3 :doc:`list of plugins `. -For plugin requests, please create an issue with a description of the requested plugin. - -.. code-block:: shell-session - - $ python3 vol.py --help | grep -i mac. | head -n 5 - mac.bash.Bash Recovers bash command history from memory. - mac.check_syscall.Check_syscall - mac.check_sysctl.Check_sysctl - mac.check_trap_table.Check_trap_table - -.. note:: Here the the command is piped to grep and head in-order to provide the start of the list of macOS plugins. - - -Using plugins -------------- - -The following is the syntax to run the volatility CLI. - -.. code-block:: shell-session - - $ python3 vol.py -f - - -Example -------- - -banners -~~~~~~~ - -In this example we will be using a memory dump from the Securinets CTF Quals 2019 Challenge called Contact_me. We will limit the discussion to memory forensics with volatility 3 and not extend it to other parts of the challenge. -Thanks go to `stuxnet `_ for providing this memory dump and `writeup `_. - - -.. code-block:: shell-session - - $ python3 vol.py -f contact_me banners.Banners - - Volatility 3 Framework 2.1.0 - - Progress: 100.00 PDB scanning finished - Offset Banner - - 0x4d2c7d0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 - 0xb42b180 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 - 0xcda9100 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 - 0x1275e7d0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 - 0x1284fba4 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 - 0x34ad0180 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 - - -The above command helps us to find the memory dump's Darwin kernel version. Now using the above banner we can search for the needed ISF file. -If ISF file cannot be found then, follow the instructions on :ref:`getting-started-macos-tutorial:Procedure to create symbol tables for macOS`. After that, place the ISF file under the ``volatility3/symbols/mac`` directory. - -mac.pslist -~~~~~~~~~~~~ - -.. code-block:: shell-session - - $ python3 vol.py -f contact_me mac.pslist - - Volatility 3 Framework 2.1.0 Stacking attempts finished - - PID PPID COMM - - 0 0 kernel_task - 1 0 launchd - 35 1 UserEventAgent - 38 1 kextd - 39 1 fseventsd - 37 1 uninstalld - 45 1 configd - 46 1 powerd - 52 1 logd - 58 1 warmd - ..... - -``mac.pslist`` helps us to list the processes which are running, their PIDs and PPIDs. - -mac.pstree -~~~~~~~~~~~~ - -.. code-block:: shell-session - - $ python3 vol.py -f contact_me mac.pstree - Volatility 3 Framework 2.1.0 - Progress: 100.00 Stacking attempts finished - PID PPID COMM - - 35 1 UserEventAgent - 38 1 kextd - 39 1 fseventsd - 37 1 uninstalld - 204 1 softwareupdated - * 449 204 SoftwareUpdateCo - 337 1 system_installd - * 455 337 update_dyld_shar - -``mac.pstree`` helps us to display the parent child relationships between processes. - -mac.ifconfig -~~~~~~~~~~ - -we can use the ``mac.ifconfig`` plugin to get information about the configuration of the network interfaces of the host under investigation. - - -.. code-block:: shell-session - - $ python3 vol.py -f contact_me mac.ifconfig - - Volatility 3 Framework 2.1.0 - Progress: 100.00 Stacking attempts finished - Interface IP Address Mac Address Promiscuous - - lo0 False - lo0 127.0.0.1 False - lo0 ::1 False - lo0 fe80:1::1 False - gif0 False - stf0 False - en0 00:0C:29:89:8B:F0 00:0C:29:89:8B:F0 False - en0 fe80:4::10fb:c89d:217f:52ae 00:0C:29:89:8B:F0 False - en0 192.168.140.128 00:0C:29:89:8B:F0 False - utun0 False - utun0 fe80:5::2a95:bb15:87e3:977c False From c9e0b6695f2fe88eb2021df504c3ed5eece559e7 Mon Sep 17 00:00:00 2001 From: cpuu Date: Thu, 4 May 2023 12:52:16 +0900 Subject: [PATCH 0130/2186] Update index.rst --- doc/source/index.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/source/index.rst b/doc/source/index.rst index e096731c7..9b1d05858 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -26,7 +26,6 @@ There is also some information to get you started quickly: getting-started-linux-tutorial getting-started-windows-tutorial - getting-started-macos-tutorial .. toctree:: From 1ad8c950dab7005e7f603bbf1c34c962c27eb943 Mon Sep 17 00:00:00 2001 From: Paul Kermann Date: Thu, 4 May 2023 13:47:57 +0300 Subject: [PATCH 0131/2186] Added modules name flag --- volatility3/framework/plugins/windows/modules.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index eba6d1ce7..e25d0425e 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -42,6 +42,7 @@ class Modules(interfaces.plugins.PluginInterface): default=False, optional=True, ), + requirements.StringRequirement(name="name", description="module name/sub string", optional=True, default=""), ] def _generator(self): @@ -64,6 +65,9 @@ class Modules(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: FullDllName = "" + if self.config['name'] and self.config['name'] not in BaseDllName: + continue + file_output = "Disabled" if self.config["dump"]: file_handle = dlllist.DllList.dump_pe( From 9249758dde5c7a1325f25b16ca49b0577d00d714 Mon Sep 17 00:00:00 2001 From: Paul Kermann Date: Thu, 4 May 2023 15:15:23 +0300 Subject: [PATCH 0132/2186] formatting --- volatility3/framework/plugins/windows/modules.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index e25d0425e..a1d480bb4 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -42,7 +42,12 @@ class Modules(interfaces.plugins.PluginInterface): default=False, optional=True, ), - requirements.StringRequirement(name="name", description="module name/sub string", optional=True, default=""), + requirements.StringRequirement( + name="name", + description="module name/sub string", + optional=True, + default="", + ), ] def _generator(self): @@ -66,7 +71,7 @@ class Modules(interfaces.plugins.PluginInterface): FullDllName = "" if self.config['name'] and self.config['name'] not in BaseDllName: - continue + continue file_output = "Disabled" if self.config["dump"]: From 8952c6c985c8cafd038ae4ed8db0ea4db6b04517 Mon Sep 17 00:00:00 2001 From: Paul Kermann Date: Thu, 4 May 2023 15:18:37 +0300 Subject: [PATCH 0133/2186] formatting --- volatility3/framework/plugins/windows/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index a1d480bb4..879da4a5f 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -70,7 +70,7 @@ class Modules(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: FullDllName = "" - if self.config['name'] and self.config['name'] not in BaseDllName: + if self.config["name"] and self.config["name"] not in BaseDllName: continue file_output = "Disabled" From 093fc9ab797e2953ecdfb8cd17c096b3bf573a29 Mon Sep 17 00:00:00 2001 From: cpuu Date: Fri, 5 May 2023 23:39:33 +0900 Subject: [PATCH 0134/2186] Add tutorial for macOS Analysis Add tutorial for macOS Analysis --- doc/source/getting-started-mac-tutorial.rst | 155 ++++++++++++++++++++ doc/source/index.rst | 1 + 2 files changed, 156 insertions(+) create mode 100644 doc/source/getting-started-mac-tutorial.rst diff --git a/doc/source/getting-started-mac-tutorial.rst b/doc/source/getting-started-mac-tutorial.rst new file mode 100644 index 000000000..3e650fede --- /dev/null +++ b/doc/source/getting-started-mac-tutorial.rst @@ -0,0 +1,155 @@ +macOS Tutorial +============== + +This guide will give you a brief overview of how volatility3 works as well as a demonstration of several of the plugins available in the suite. + +Acquiring memory +---------------- + +Volatility3 does not provide the ability to acquire memory. The example below is an open source tool. Other commercial tools are also available. + +* `osxpmem `_ + + + +Procedure to create symbol tables for macOS +-------------------------------------------- + +To create a symbol table please refer to :ref:`symbol-tables:Mac or Linux symbol tables`. + +.. tip:: It may be possible to locate pre-made ISF files from the `download link `_ , + which is built and maintained by `volatilityfoundation `_. + After creating the file or downloading it from the link, place the file under the directory ``volatility3/symbols/mac``. + If necessary create a mac directory under the symbols directory (this will become unnecessary in future versions). + + +Listing plugins +--------------- + +The following is a sample of the macOS plugins available for volatility3, it is not complete and more more plugins may +be added. For a complete reference, please see the volatility 3 :doc:`list of plugins `. +For plugin requests, please create an issue with a description of the requested plugin. + +.. code-block:: shell-session + + $ python3 vol.py --help | grep -i mac. | head -n 4 + mac.bash.Bash Recovers bash command history from memory. + mac.check_syscall.Check_syscall + mac.check_sysctl.Check_sysctl + mac.check_trap_table.Check_trap_table + +.. note:: Here the the command is piped to grep and head in-order to provide the start of the list of macOS plugins. + + +Using plugins +------------- + +The following is the syntax to run the volatility CLI. + +.. code-block:: shell-session + + $ python3 vol.py -f + + +Example +------- + +banners +~~~~~~~ + +In this example we will be using a memory dump from the Securinets CTF Quals 2019 Challenge called Contact_me. We will limit the discussion to memory forensics with volatility 3 and not extend it to other parts of the challenge. +Thanks go to `stuxnet `_ for providing this memory dump and `writeup `_. + + +.. code-block:: shell-session + + $ python3 vol.py -f contact_me banners.Banners + + Volatility 3 Framework 2.4.2 + + Progress: 100.00 PDB scanning finished + Offset Banner + + 0x4d2c7d0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 + 0xb42b180 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 + 0xcda9100 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 + 0x1275e7d0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 + 0x1284fba4 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 + 0x34ad0180 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 + + +The above command helps us to find the memory dump's Darwin kernel version. Now using the above banner we can search for the needed ISF file. +If ISF file cannot be found then, follow the instructions on :ref:`getting-started-macos-tutorial:Procedure to create symbol tables for macOS`. After that, place the ISF file under the ``volatility3/symbols/mac`` directory. + +mac.pslist +~~~~~~~~~~~~ + +.. code-block:: shell-session + + $ python3 vol.py -f contact_me mac.pslist.PsList + + Volatility 3 Framework 2.4.2 + Progress: 100.00 Stacking attempts finished + + PID PPID COMM + + 0 0 kernel_task + 1 0 launchd + 35 1 UserEventAgent + 38 1 kextd + 39 1 fseventsd + 37 1 uninstalld + 45 1 configd + 46 1 powerd + 52 1 logd + 58 1 warmd + ..... + +``mac.pslist`` helps us to list the processes which are running, their PIDs and PPIDs. + +mac.pstree +~~~~~~~~~~~~ + +.. code-block:: shell-session + + $ python3 vol.py -f contact_me mac.pstree.PsTree + Volatility 3 Framework 2.4.2 + Progress: 100.00 Stacking attempts finished + PID PPID COMM + + 35 1 UserEventAgent + 38 1 kextd + 39 1 fseventsd + 37 1 uninstalld + 204 1 softwareupdated + * 449 204 SoftwareUpdateCo + 337 1 system_installd + * 455 337 update_dyld_shar + +``mac.pstree`` helps us to display the parent child relationships between processes. + +mac.ifconfig +~~~~~~~~~~ + +we can use the ``mac.ifconfig`` plugin to get information about the configuration of the network interfaces of the host under investigation. + + +.. code-block:: shell-session + + $ python3 vol.py -f contact_me mac.ifconfig.Ifconfig + + Volatility 3 Framework 2.4.2 + Progress: 100.00 Stacking attempts finished + Interface IP Address Mac Address Promiscuous + + lo0 False + lo0 127.0.0.1 False + lo0 ::1 False + lo0 fe80:1::1 False + gif0 False + stf0 False + en0 00:0C:29:89:8B:F0 00:0C:29:89:8B:F0 False + en0 fe80:4::10fb:c89d:217f:52ae 00:0C:29:89:8B:F0 False + en0 192.168.140.128 00:0C:29:89:8B:F0 False + utun0 False + utun0 fe80:5::2a95:bb15:87e3:977c False \ No newline at end of file diff --git a/doc/source/index.rst b/doc/source/index.rst index 9b1d05858..7f35e9bcb 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -25,6 +25,7 @@ There is also some information to get you started quickly: :caption: Getting Started getting-started-linux-tutorial + getting-started-mac-tutorial getting-started-windows-tutorial From 7063e6094481e940026b9654f4a52580aa6805cb Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 6 May 2023 14:12:09 +0200 Subject: [PATCH 0135/2186] mountinfo improvements: + Fixes issue with repeated path suffixes. + Adds support for older kernels (<3.3.8) and + Adds a function which simplify the way the framework internally can gets a context and a vmlinux. This is obtaining the context and symbol space from the same vol object instead of drag a context everywhere. This changes also affects other plugins such as elfs, malfind and proc.maps. It also adds doc strings to some of the existent functions. --- volatility3/framework/plugins/linux/elfs.py | 2 +- .../framework/plugins/linux/malfind.py | 2 +- .../framework/plugins/linux/mountinfo.py | 4 +- volatility3/framework/plugins/linux/proc.py | 2 +- .../framework/symbols/linux/__init__.py | 161 ++++++++----- .../symbols/linux/extensions/__init__.py | 216 ++++++++++++++++-- 6 files changed, 308 insertions(+), 79 deletions(-) diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index 822a69dd6..fa14dcd49 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -58,7 +58,7 @@ class Elfs(plugins.PluginInterface): ): continue - path = vma.get_name(self.context, task) + path = vma.get_name(task) yield ( 0, diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 18237b80c..552fb8f53 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -47,7 +47,7 @@ class Malfind(interfaces.plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] for vma in task.mm.get_mmap_iter(): - if vma.is_suspicious() and vma.get_name(self.context, task) != "[vdso]": + if vma.is_suspicious() and vma.get_name(task) != "[vdso]": data = proc_layer.read(vma.vm_start, 64, pad=True) yield vma, data diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index 1de776412..dfb2e23b4 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -74,7 +74,7 @@ class MountInfo(plugins.PluginInterface): @classmethod def get_mountinfo( - cls, mnt, task, context + cls, mnt, task ) -> Union[ None, Tuple[int, int, str, str, str, List[str], List[str], str, str, List[str]] ]: @@ -85,7 +85,7 @@ class MountInfo(plugins.PluginInterface): if not mnt_root: return None - path_root = linux.LinuxUtilities._get_path_root(context, mnt, task.fs.root) + path_root = linux.LinuxUtilities._get_path_mnt(task, mnt) if not path_root: return None diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index 9d8af482e..fa7bc1629 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -59,7 +59,7 @@ class Maps(plugins.PluginInterface): minor = inode_object.i_sb.minor inode = inode_object.i_ino - path = vma.get_name(self.context, task) + path = vma.get_name(task) yield ( 0, diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 80f5e9990..486314dd5 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -5,7 +5,7 @@ from typing import Iterator, List, Tuple, Optional, Union from volatility3 import framework from volatility3.framework import constants, exceptions, interfaces, objects -from volatility3.framework.objects import utility, Pointer +from volatility3.framework.objects import utility from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux import extensions @@ -60,75 +60,74 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): framework.require_interface_version(*_required_framework_version) @classmethod - def _get_path_file(cls, context, task, filp) -> str: + def _get_path_file(cls, task, filp) -> str: + """Returns the file pathname relative to the task's root directory. + + Args: + task (task_struct): A reference task + filp (file *): A pointer to an open file + + Returns: + str: File pathname relative to the task's root directory. + """ rdentry = task.fs.get_root_dentry() rmnt = task.fs.get_root_mnt() vfsmnt = filp.get_vfsmnt() dentry = filp.get_dentry() - return cls.do_get_path(rdentry, rmnt, dentry, vfsmnt, context) + return cls.do_get_path(rdentry, rmnt, dentry, vfsmnt) @classmethod - def _get_path_root(cls, context, mnt, fs_root) -> str: - rdentry = fs_root.dentry - rmnt = fs_root.mnt - vfsmnt = mnt.mnt - dentry = vfsmnt.mnt_root + def _get_path_mnt(cls, task, mnt) -> str: + """Returns the mount point pathname relative to the task's root directory. - return cls.do_get_path(rdentry, rmnt, dentry, vfsmnt, context) + Args: + task (task_struct): A reference task + mnt (vfsmount or mount): A mounted filesystem or a mount point. + - kernels < 3.3.8 type is 'vfsmount' + - kernels >= 3.3.8 type is 'mount' + + Returns: + str: Pathname of the mount point relative to the task's root directory. + """ + rdentry = task.fs.get_root_dentry() + rmnt = task.fs.get_root_mnt() + + vfsmnt = mnt.get_vfsmnt_current() + dentry = mnt.get_dentry_current() + + return cls.do_get_path(rdentry, rmnt, dentry, vfsmnt) @classmethod - def _get_vmlinux_from_volobj(cls, volobj, context): - symbol_table_arr = volobj.vol.type_name.split("!", 1) - symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None + def do_get_path(cls, rdentry, rmnt, dentry, vfsmnt) -> Union[None, str]: + """Returns a pathname of the mount point or file + It mimics the Linux kernel prepend_path function. - module_names = context.modules.get_modules_by_symbol_tables(symbol_table) - module_names = list(module_names) + Args: + rdentry (dentry *): A pointer to the root dentry + rmnt (vfsmount *): A pointer to the root vfsmount + dentry (dentry *): A pointer to the dentry + vfsmnt (vfsmount *): A pointer to the vfsmount - if not module_names: - raise ValueError(f"No module using the symbol table '{symbol_table}'") - - kernel_module_name = module_names[0] - kernel = context.modules[kernel_module_name] - - return kernel - - @classmethod - def _get_mnt_from_vfsmnt(cls, vfsmnt, dentry, context): - vmlinux = cls._get_vmlinux_from_volobj(dentry, context) - - # When it's called from _get_path_file(), 'vfsmnt' is a Pointer - # struct file->f_path->mnt is "struct vfsmount *". - # However, when called from _get_path_root() - # struct mount -> mnt is "struct vfsmount" - vfsmnt_ptr = vfsmnt if type(vfsmnt) == Pointer else vfsmnt.vol.offset - - mnt = cls.container_of(vfsmnt_ptr, "mount", "mnt", vmlinux) - - return mnt - - @classmethod - def do_get_path(cls, rdentry, rmnt, dentry, vfsmnt, context) -> Union[None, str]: - """It mimics the Linux kernel prepend_path function.""" - - mnt = cls._get_mnt_from_vfsmnt(vfsmnt, dentry, context) + Returns: + str: Pathname of the mount point or file + """ path_reversed = [] - while dentry != rdentry or vfsmnt.vol.offset != rmnt: + while dentry != rdentry or not vfsmnt.is_equal(rmnt): if dentry == vfsmnt.get_mnt_root() or dentry.is_root(): - parent = mnt.get_mnt_parent().dereference() # Escaped? if dentry != vfsmnt.get_mnt_root(): break # Global root? - if mnt.vol.offset != parent.vol.offset: - dentry = mnt.get_mnt_mountpoint() - mnt = parent - vfsmnt = mnt.mnt - continue + if not vfsmnt.has_parent(): + break - break + dentry = vfsmnt.get_dentry_parent() + vfsmnt = vfsmnt.get_vfsmnt_parent() + + continue parent = dentry.d_parent dname = dentry.d_name.name_as_str() @@ -139,10 +138,19 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return path @classmethod - def _get_new_sock_pipe_path(cls, context, task, filp) -> str: + def _get_new_sock_pipe_path(cls, task, filp) -> str: + """Returns the sock pipe pathname relative to the task's root directory. + + Args: + task (task_struct): A reference task + filp (file *): A pointer to a sock pipe open file + + Returns: + str: Sock pipe pathname relative to the task's root directory. + """ dentry = filp.get_dentry() - kernel_module = cls._get_vmlinux_from_volobj(dentry, context) + kernel_module = cls.get_vmlinux_from_volobj(dentry) sym_addr = dentry.d_op.d_dname symbs = list(kernel_module.get_symbols_by_absolute_location(sym_addr)) @@ -160,7 +168,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): pre_name = "pipe" elif sym == "simple_dname": - pre_name = cls._get_path_file(context, task, filp) + pre_name = cls._get_path_file(task, filp) else: pre_name = f"" @@ -172,10 +180,20 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return ret - # a 'file' structure doesn't have enough information to properly restore its full path - # we need the root mount information from task_struct to determine this @classmethod - def path_for_file(cls, context, task, filp) -> str: + def path_for_file(cls, task, filp) -> str: + """Returns a file (or sock pipe) pathname relative to the task's root directory. + + A 'file' structure doesn't have enough information to properly restore its + full path we need the root mount information from task_struct to determine this + + Args: + task (task_struct): A reference task + filp (file *): A pointer to an open file + + Returns: + str: A file (or sock pipe) pathname relative to the task's root directory. + """ try: dentry = filp.get_dentry() except exceptions.InvalidAddressException: @@ -199,9 +217,9 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): dname_is_valid = False if dname_is_valid: - ret = LinuxUtilities._get_new_sock_pipe_path(context, task, filp) + ret = LinuxUtilities._get_new_sock_pipe_path(task, filp) else: - ret = LinuxUtilities._get_path_file(context, task, filp) + ret = LinuxUtilities._get_path_file(task, filp) return ret @@ -234,7 +252,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): for fd_num, filp in enumerate(fds): if filp != 0: - full_path = LinuxUtilities.path_for_file(context, task, filp) + full_path = LinuxUtilities.path_for_file(task, filp) yield fd_num, filp, full_path @@ -357,3 +375,30 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return vmlinux.object( object_type=type_name, offset=container_addr, absolute=True ) + + @classmethod + def get_vmlinux_from_volobj(cls, volobj): + """Get the vmlinux from a vol obj + + Args: + volobj (vol object): A vol object + + Raises: + ValueError: If it cannot obtain any module from the symbol table + + Returns: + volatility3.framework.contexts.Module: A kernel object (vmlinux) + """ + symbol_table_arr = volobj.vol.type_name.split("!", 1) + symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None + + module_names = volobj._context.modules.get_modules_by_symbol_tables(symbol_table) + module_names = list(module_names) + + if not module_names: + raise ValueError(f"No module using the symbol table '{symbol_table}'") + + kernel_module_name = module_names[0] + kernel = volobj._context.modules[kernel_module_name] + + return kernel diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index da5bf5dad..b2225f764 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -435,9 +435,9 @@ class vm_area_struct(objects.StructType): return self.vm_pgoff << constants.linux.PAGE_SHIFT - def get_name(self, context, task): + def get_name(self, task): if self.vm_file != 0: - fname = linux.LinuxUtilities.path_for_file(context, task, self.vm_file) + fname = linux.LinuxUtilities.path_for_file(task, self.vm_file) elif self.vm_start <= task.mm.start_brk and self.vm_end >= task.mm.brk: fname = "[heap]" elif self.vm_start <= task.mm.start_stack <= self.vm_end: @@ -544,6 +544,7 @@ class struct_file(objects.StructType): raise AttributeError("Unable to find file -> dentry") def get_vfsmnt(self) -> interfaces.objects.ObjectInterface: + """Returns the fs (vfsmount) where this file is mounted""" if self.has_member("f_vfsmnt"): return self.f_vfsmnt elif self.has_member("f_path"): @@ -675,11 +676,70 @@ class mount(objects.StructType): raise AttributeError("Unable to find mount -> mount flags") def get_mnt_parent(self): + """Gets the fs where we are mounted on + + Returns: + A 'mount *' + """ return self.mnt_parent def get_mnt_mountpoint(self): + """Gets the dentry of the mountpoint + + Returns: + A 'dentry *' + """ + return self.mnt_mountpoint + def get_parent_mount(self): + return self.mnt.get_parent_mount() + + def has_parent(self) -> bool: + """Checks if this mount has a parent + + Returns: + bool: 'True' if this mount has a parent + """ + return self.mnt_parent != self.vol.offset + + def get_vfsmnt_current(self): + """Returns the fs where we are mounted on + + Returns: + A 'vfsmount' + """ + return self.mnt + + def get_vfsmnt_parent(self): + """Gets the parent fs (vfsmount) to where it's mounted on + + Returns: + A 'vfsmount' + """ + + return self.get_mnt_parent().get_vfsmnt_current() + + def get_dentry_current(self): + """Returns the root of the mounted tree + + Returns: + A 'dentry *' + """ + vfsmnt = self.get_vfsmnt_current() + dentry = vfsmnt.mnt_root + + return dentry + + def get_dentry_parent(self): + """Returns the parent root of the mounted tree + + Returns: + A 'dentry *' + """ + + return self.get_mnt_parent().get_dentry_current() + def get_flags_access(self) -> str: return "ro" if self.get_mnt_flags() & self.MNT_READONLY else "rw" @@ -703,9 +763,6 @@ class mount(objects.StructType): def get_devname(self) -> str: return utility.pointer_to_string(self.mnt_devname, count=255) - def has_parent(self) -> bool: - return self.vol.offset != self.mnt_parent - def get_dominating_id(self, root) -> int: """Get ID of closest dominating peer group having a representative under the given root.""" mnt_seen = set() @@ -783,24 +840,117 @@ class vfsmount(objects.StructType): and self.get_mnt_parent() != 0 ) - def _get_real_mnt(self): - table_name = self.vol.type_name.split(constants.BANG)[0] - mount_struct = f"{table_name}{constants.BANG}mount" - offset = self._context.symbol_space.get_type( - mount_struct - ).relative_child_offset("mnt") + def _is_kernel_prior_to_struct_mount(self) -> bool: + """Helper to distinguish between kernels prior to version 3.3.8 that + lacked the 'mount' structure and later versions that have it. - return self._context.object( - mount_struct, self.vol.layer_name, offset=self.vol.offset - offset - ) + The 'mnt_parent' member was moved from struct 'vfsmount' to struct + 'mount' when the latter was introduced. + + Alternatively, vmlinux.has_type('mount') can be used here but it is faster. + + Returns: + bool: 'True' if the kernel + """ + + return self.has_member("mnt_parent") + + def is_equal(self, vfsmount_ptr) -> bool: + """Helper to make sure it is comparing two pointers to 'vfsmount'. + + Depending on the kernel version, the calling object (self) could be + a 'vfsmount *' (<3.3.8) or a 'vfsmount' (>=3.3.8). This way we trust + in the framework "auto" dereferencing ability to assure that when we + reach this point 'self' will be a 'vfsmount' already and self.vol.offset + a 'vfsmount *' and not a 'vfsmount **'. The argument must be a 'vfsmount *'. + Typically, it's called from do_get_path(). + + Args: + vfsmount_ptr (vfsmount *): A pointer to a 'vfsmount' + + Raises: + exceptions.VolatilityException: If vfsmount_ptr is not a 'vfsmount *' + + Returns: + bool: 'True' if the given argument points to the the same 'vfsmount' + as 'self'. + """ + if type(vfsmount_ptr) == objects.Pointer: + return self.vol.offset == vfsmount_ptr + else: + raise exceptions.VolatilityException("Unexpected argument type. It has to be a 'vfsmount *'") + + def _get_real_mnt(self): + """Gets the struct 'mount' containing this 'vfsmount'. + + It should be only called from kernels >= 3.3.8 when 'struct mount' was introduced. + + Returns: + mount: the struct 'mount' containing this 'vfsmount'. + """ + vmlinux = linux.LinuxUtilities.get_vmlinux_from_volobj(self) + return linux.LinuxUtilities.container_of(self.vol.offset, "mount", "mnt", vmlinux) + + def get_vfsmnt_current(self): + """Returns the current fs where we are mounted on + + Returns: + A 'vfsmount *' + """ + return self.get_mnt_parent() + + def get_vfsmnt_parent(self): + """Gets the parent fs (vfsmount) to where it's mounted on + + Returns: + For kernels < 3.3.8: A 'vfsmount *' + For kernels >= 3.3.8: A 'vfsmount' + """ + if self._is_kernel_prior_to_struct_mount(): + return self.get_mnt_parent() + else: + return self._get_real_mnt().get_vfsmnt_parent() + + def get_dentry_current(self): + """Returns the root of the mounted tree + + Returns: + A 'dentry *' + """ + if self._is_kernel_prior_to_struct_mount(): + return self.get_mnt_mountpoint() + else: + return self._get_real_mnt().get_dentry_current() + + def get_dentry_parent(self): + """Returns the parent root of the mounted tree + + Returns: + A 'dentry *' + """ + if self._is_kernel_prior_to_struct_mount(): + return self.get_mnt_mountpoint() + else: + return self._get_real_mnt().get_mnt_mountpoint() def get_mnt_parent(self): - if self.has_member("mnt_parent"): + """Gets the mnt_parent member. + + Returns: + For kernels < 3.3.8: A 'vfsmount *' + For kernels >= 3.3.8: A 'mount *' + """ + if self._is_kernel_prior_to_struct_mount(): return self.mnt_parent else: - return self._get_real_mnt().mnt_parent + return self._get_real_mnt().get_mnt_parent() def get_mnt_mountpoint(self): + """Gets the dentry of the mountpoint + + Returns: + A 'dentry *' + """ if self.has_member("mnt_mountpoint"): return self.mnt_mountpoint else: @@ -809,6 +959,40 @@ class vfsmount(objects.StructType): def get_mnt_root(self): return self.mnt_root + def has_parent(self) -> bool: + if self._is_kernel_prior_to_struct_mount(): + return self.mnt_parent != self.vol.offset + else: + return self._get_real_mnt().has_parent() + + def get_mnt_sb(self): + return self.mnt_sb + + def get_flags_access(self) -> str: + return "ro" if self.mnt_flags & mount.MNT_READONLY else "rw" + + def get_flags_opts(self) -> Iterable[str]: + flags = [ + mntflagtxt + for mntflag, mntflagtxt in mount.MNT_FLAGS.items() + if mntflag & self.mnt_flags != 0 + ] + return flags + + def get_mnt_flags(self): + return self.mnt_flags + + def is_shared(self) -> bool: + return self.get_mnt_flags() & mount.MNT_SHARED + + def is_unbindable(self) -> bool: + return self.get_mnt_flags() & mount.MNT_UNBINDABLE + + def is_slave(self) -> bool: + return self.mnt_master and self.mnt_master.vol.offset != 0 + + def get_devname(self) -> str: + return utility.pointer_to_string(self.mnt_devname, count=255) class kobject(objects.StructType): def reference_count(self): From 2d922a8cd645c318e4e10c5d286bc86589f64f8b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 6 May 2023 14:18:33 +0200 Subject: [PATCH 0136/2186] Improves the way the mount points and the namespaces are filtered. Previously, it was filtering by mount namespaces id. Even that approach was working as expected, it's not viable for older kernels were there was not a mount namespace ID. With this changes we filtered the mount points individually by the mount ID which is unique system wide, no mather the namespace to which it belongs to. --- .../framework/plugins/linux/mountinfo.py | 70 ++++++++++++------- 1 file changed, 46 insertions(+), 24 deletions(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index dfb2e23b4..e03659aec 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -12,6 +12,7 @@ from volatility3.framework.interfaces import plugins from volatility3.framework.symbols import linux from volatility3.plugins.linux import pslist + vollog = logging.getLogger(__name__) MountInfoData = namedtuple( @@ -140,30 +141,38 @@ class MountInfo(plugins.PluginInterface): ) def _get_tasks_mountpoints( - self, tasks: Iterable[interfaces.objects.ObjectInterface], per_namespace: bool + self, tasks: Iterable[interfaces.objects.ObjectInterface], filtered_by_pids: bool ): - seen_namespaces = set() + seen_mountpoints = set() for task in tasks: if not ( - task - and task.fs - and task.fs.root - and task.nsproxy - and task.nsproxy.mnt_ns + task and + task.fs and + task.fs.root and + task.nsproxy and + task.nsproxy.mnt_ns ): - # This task doesn't have all the information required + # This task doesn't have all the information required. + # It should be a kernel < 2.6.30 continue mnt_namespace = task.nsproxy.mnt_ns - mnt_ns_id = mnt_namespace.get_inode() - - if per_namespace: - if mnt_ns_id in seen_namespaces: - continue - else: - seen_namespaces.add(mnt_ns_id) + try: + mnt_ns_id = str(mnt_namespace.get_inode()) + except AttributeError: + mnt_ns_id = renderers.NotAvailableValue() for mount in mnt_namespace.get_mount_points(): + # When PIDs are filtered, it makes sense that the user want to + # see each of those processes mount points. So we don't filter + # by mount id in this case. + if not filtered_by_pids: + mnt_id = int(mount.mnt_id) + if mnt_id in seen_mountpoints: + continue + else: + seen_mountpoints.add(mnt_id) + yield task, mount, mnt_ns_id def _generator( @@ -171,13 +180,26 @@ class MountInfo(plugins.PluginInterface): tasks: Iterable[interfaces.objects.ObjectInterface], mnt_ns_ids: List[int], mount_format: bool, - per_namespace: bool, + filtered_by_pids: bool, ) -> Iterable[Tuple[int, Tuple]]: - for task, mnt, mnt_ns_id in self._get_tasks_mountpoints(tasks, per_namespace): - if mnt_ns_ids and mnt_ns_id not in mnt_ns_ids: + warning_shown = False + for task, mnt, mnt_ns_id in self._get_tasks_mountpoints(tasks, filtered_by_pids): + if ( + not warning_shown and + mnt_ns_ids and + isinstance(mnt_ns_id, renderers.NotAvailableValue) + ): + vollog.warning("Cannot filter by namespace id, it is not available in this kernel.") + warning_shown = True + + if ( + not isinstance(mnt_ns_id, renderers.NotAvailableValue) and + mnt_ns_ids and + mnt_ns_id not in mnt_ns_ids + ): continue - mnt_info = MountInfo.get_mountinfo(mnt, task, self.context) + mnt_info = self.get_mountinfo(mnt, task) if mnt_info is None: continue @@ -212,7 +234,7 @@ class MountInfo(plugins.PluginInterface): ] fields_values = [mnt_ns_id] - if not per_namespace: + if filtered_by_pids: fields_values.append(task.pid) fields_values.extend(extra_fields_values) @@ -228,14 +250,14 @@ class MountInfo(plugins.PluginInterface): self.context, self.config["kernel"], filter_func=pid_filter ) - columns = [("MNT_NS_ID", int)] + columns = [("MNT_NS_ID", str)] # The PID column does not make sense when a PID filter is not specified. In that case, the default behavior is # to displays the mountpoints per namespace. if pids: columns.append(("PID", int)) - per_namespace = False + filtered_by_pids = True else: - per_namespace = True + filtered_by_pids = False if self.config.get("mount-format"): extra_columns = [ @@ -262,5 +284,5 @@ class MountInfo(plugins.PluginInterface): columns.extend(extra_columns) return renderers.TreeGrid( - columns, self._generator(tasks, mount_ns_ids, mount_format, per_namespace) + columns, self._generator(tasks, mount_ns_ids, mount_format, filtered_by_pids) ) From a09f77897b24b4b0da06a8b45a353ee730cadd08 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 6 May 2023 14:21:58 +0200 Subject: [PATCH 0137/2186] sockstat improvements: + Fixes issues with netlink sockets for older kernels, supporting now kernels < 3.7.10 + Fixes issue with network namespace id for older kernels. --- .../framework/plugins/linux/sockstat.py | 26 +++++++++++++++---- .../symbols/linux/extensions/__init__.py | 24 ++++++++++++++++- 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index f03a2ad8e..e37b8a1bb 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -28,7 +28,11 @@ class SockHandlers(interfaces.configuration.VersionableInterface): self._vmlinux = vmlinux self._task = task - netns_id = task.nsproxy.net_ns.get_inode() + try: + netns_id = task.nsproxy.net_ns.get_inode() + except AttributeError: + netns_id = NotAvailableValue() + self._netdevices = self._build_network_devices_map(netns_id) self._sock_family_handlers = { @@ -61,7 +65,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): self._vmlinux.symbol_table_name + constants.BANG + "net_device" ) for net_dev in net.dev_base_head.to_list(net_device_symname, "dev_list"): - if net.get_inode() != netns_id: + if isinstance(netns_id, NotAvailableValue) or net.get_inode() != netns_id: continue dev_name = utility.array_to_string(net_dev.name) netdevices_map[net_dev.ifindex] = dev_name @@ -227,14 +231,22 @@ class SockHandlers(interfaces.configuration.VersionableInterface): if netlink_sock.groups: groups_bitmap = netlink_sock.groups.dereference() src_addr = f"groups:0x{groups_bitmap:08x}" - src_port = netlink_sock.portid + + try: + # Kernel >= 3.7.10 + src_port = netlink_sock.get_portid() + except AttributeError: + src_port = NotAvailableValue() dst_addr = f"group:0x{netlink_sock.dst_group:08x}" module = netlink_sock.module if module and module.name: module_name_str = utility.array_to_string(module.name) dst_addr = f"{dst_addr},lkm:{module_name_str}" - dst_port = netlink_sock.dst_portid + try: + dst_port = netlink_sock.get_dst_portid() + except AttributeError: + dst_port = NotAvailableValue() state = netlink_sock.get_state() @@ -518,7 +530,11 @@ class Sockstat(plugins.PluginInterface): protocol = child_sock.get_protocol() net = task.nsproxy.net_ns - netns_id = net.get_inode() + try: + netns_id = net.get_inode() + except AttributeError: + netns_id = NotAvailableValue() + yield task, netns_id, fd_num, family, sock_type, protocol, sock_fields def _format_fields(self, sock_stat, protocol): diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index b2225f764..d97916b74 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1028,10 +1028,13 @@ class mnt_namespace(objects.StructType): class net(objects.StructType): def get_inode(self): if self.has_member("proc_inum"): + # 3.8.13 <= kernel < 3.19.8 return self.proc_inum - elif self.ns.has_member("inum"): + elif self.has_member("ns") and self.ns.has_member("inum"): + # kernel >= 3.19.8 return self.ns.inum else: + # kernel < 3.8.13 raise AttributeError("Unable to find net_namespace inode") @@ -1239,6 +1242,25 @@ class netlink_sock(objects.StructType): # Return the generic socket state return self.sk.sk_socket.get_state() + def get_portid(self): + if self.has_member("pid"): + # kernel < 3.7.10 + return self.pid + if self.has_member("portid"): + # kernel >= 3.7.10 + return self.portid + else: + raise AttributeError("Unable to find a source port id") + + def get_dst_portid(self): + if self.has_member("dst_pid"): + # kernel < 3.7.10 + return self.dst_pid + if self.has_member("dst_portid"): + # kernel >= 3.7.10 + return self.dst_portid + else: + raise AttributeError("Unable to find a destination port id") class vsock_sock(objects.StructType): def get_protocol(self): From c40b3a043f2c91506514c9fa7cdc7d3bcce81116 Mon Sep 17 00:00:00 2001 From: Paul Kermann Date: Mon, 8 May 2023 05:07:19 +0300 Subject: [PATCH 0138/2186] CR fixes --- volatility3/framework/plugins/windows/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 879da4a5f..c1be1b0a6 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -46,7 +46,7 @@ class Modules(interfaces.plugins.PluginInterface): name="name", description="module name/sub string", optional=True, - default="", + default=None, ), ] From ea09c4732843f27830d2afe859203d825fa15b76 Mon Sep 17 00:00:00 2001 From: cpuu Date: Mon, 8 May 2023 17:32:14 +0900 Subject: [PATCH 0139/2186] Update getting-started-mac-tutorial.rst --- doc/source/getting-started-mac-tutorial.rst | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/doc/source/getting-started-mac-tutorial.rst b/doc/source/getting-started-mac-tutorial.rst index 3e650fede..cb0dda845 100644 --- a/doc/source/getting-started-mac-tutorial.rst +++ b/doc/source/getting-started-mac-tutorial.rst @@ -17,16 +17,11 @@ Procedure to create symbol tables for macOS To create a symbol table please refer to :ref:`symbol-tables:Mac or Linux symbol tables`. -.. tip:: It may be possible to locate pre-made ISF files from the `download link `_ , - which is built and maintained by `volatilityfoundation `_. - After creating the file or downloading it from the link, place the file under the directory ``volatility3/symbols/mac``. - If necessary create a mac directory under the symbols directory (this will become unnecessary in future versions). - Listing plugins --------------- -The following is a sample of the macOS plugins available for volatility3, it is not complete and more more plugins may +The following is a sample of the macOS plugins available for volatility3, it is not complete and more plugins may be added. For a complete reference, please see the volatility 3 :doc:`list of plugins `. For plugin requests, please create an issue with a description of the requested plugin. @@ -79,7 +74,7 @@ Thanks go to `stuxnet `_ for providing this memo The above command helps us to find the memory dump's Darwin kernel version. Now using the above banner we can search for the needed ISF file. -If ISF file cannot be found then, follow the instructions on :ref:`getting-started-macos-tutorial:Procedure to create symbol tables for macOS`. After that, place the ISF file under the ``volatility3/symbols/mac`` directory. +If ISF file cannot be found then, follow the instructions on :ref:`getting-started-macos-tutorial:Procedure to create symbol tables for macOS`. After that, place the ISF file under the ``volatility3/symbols`` directory. mac.pslist ~~~~~~~~~~~~ @@ -131,9 +126,6 @@ mac.pstree mac.ifconfig ~~~~~~~~~~ -we can use the ``mac.ifconfig`` plugin to get information about the configuration of the network interfaces of the host under investigation. - - .. code-block:: shell-session $ python3 vol.py -f contact_me mac.ifconfig.Ifconfig @@ -152,4 +144,6 @@ we can use the ``mac.ifconfig`` plugin to get information about the configuratio en0 fe80:4::10fb:c89d:217f:52ae 00:0C:29:89:8B:F0 False en0 192.168.140.128 00:0C:29:89:8B:F0 False utun0 False - utun0 fe80:5::2a95:bb15:87e3:977c False \ No newline at end of file + utun0 fe80:5::2a95:bb15:87e3:977c False + + we can use the ``mac.ifconfig`` plugin to get information about the configuration of the network interfaces of the host under investigation. From e86ff963e2325d33bf2fff612e9f494afbea836b Mon Sep 17 00:00:00 2001 From: cpuu Date: Mon, 8 May 2023 17:43:24 +0900 Subject: [PATCH 0140/2186] Update getting-started-mac-tutorial.rst --- doc/source/getting-started-mac-tutorial.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/source/getting-started-mac-tutorial.rst b/doc/source/getting-started-mac-tutorial.rst index cb0dda845..d70d260ca 100644 --- a/doc/source/getting-started-mac-tutorial.rst +++ b/doc/source/getting-started-mac-tutorial.rst @@ -17,6 +17,10 @@ Procedure to create symbol tables for macOS To create a symbol table please refer to :ref:`symbol-tables:Mac or Linux symbol tables`. +.. tip:: It may be possible to locate pre-made ISF files from the `download link `_ , + which is built and maintained by `volatilityfoundation `_. + After creating the file or downloading it from the link, place the file under the directory ``volatility3/symbols/``. + Listing plugins --------------- From 6b2ae6bd653b384d7e5001272878450370da74d0 Mon Sep 17 00:00:00 2001 From: cpuu Date: Mon, 8 May 2023 17:44:17 +0900 Subject: [PATCH 0141/2186] Update getting-started-mac-tutorial.rst --- doc/source/getting-started-mac-tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting-started-mac-tutorial.rst b/doc/source/getting-started-mac-tutorial.rst index d70d260ca..cfb0afa9a 100644 --- a/doc/source/getting-started-mac-tutorial.rst +++ b/doc/source/getting-started-mac-tutorial.rst @@ -150,4 +150,4 @@ mac.ifconfig utun0 False utun0 fe80:5::2a95:bb15:87e3:977c False - we can use the ``mac.ifconfig`` plugin to get information about the configuration of the network interfaces of the host under investigation. +we can use the ``mac.ifconfig`` plugin to get information about the configuration of the network interfaces of the host under investigation. From ced6ff346cd8694ed02f835da8bec62f60ff9b56 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 8 May 2023 11:54:48 +0200 Subject: [PATCH 0142/2186] Apply 'Black' suggestions --- .../framework/plugins/linux/mountinfo.py | 37 +++++++++++-------- .../framework/plugins/linux/sockstat.py | 5 ++- .../framework/symbols/linux/__init__.py | 4 +- .../symbols/linux/extensions/__init__.py | 10 ++++- 4 files changed, 37 insertions(+), 19 deletions(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index e03659aec..0606884ff 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -141,16 +141,18 @@ class MountInfo(plugins.PluginInterface): ) def _get_tasks_mountpoints( - self, tasks: Iterable[interfaces.objects.ObjectInterface], filtered_by_pids: bool + self, + tasks: Iterable[interfaces.objects.ObjectInterface], + filtered_by_pids: bool, ): seen_mountpoints = set() for task in tasks: if not ( - task and - task.fs and - task.fs.root and - task.nsproxy and - task.nsproxy.mnt_ns + task + and task.fs + and task.fs.root + and task.nsproxy + and task.nsproxy.mnt_ns ): # This task doesn't have all the information required. # It should be a kernel < 2.6.30 @@ -183,19 +185,23 @@ class MountInfo(plugins.PluginInterface): filtered_by_pids: bool, ) -> Iterable[Tuple[int, Tuple]]: warning_shown = False - for task, mnt, mnt_ns_id in self._get_tasks_mountpoints(tasks, filtered_by_pids): + for task, mnt, mnt_ns_id in self._get_tasks_mountpoints( + tasks, filtered_by_pids + ): if ( - not warning_shown and - mnt_ns_ids and - isinstance(mnt_ns_id, renderers.NotAvailableValue) + not warning_shown + and mnt_ns_ids + and isinstance(mnt_ns_id, renderers.NotAvailableValue) ): - vollog.warning("Cannot filter by namespace id, it is not available in this kernel.") + vollog.warning( + "Cannot filter by namespace id, it is not available in this kernel." + ) warning_shown = True if ( - not isinstance(mnt_ns_id, renderers.NotAvailableValue) and - mnt_ns_ids and - mnt_ns_id not in mnt_ns_ids + not isinstance(mnt_ns_id, renderers.NotAvailableValue) + and mnt_ns_ids + and mnt_ns_id not in mnt_ns_ids ): continue @@ -284,5 +290,6 @@ class MountInfo(plugins.PluginInterface): columns.extend(extra_columns) return renderers.TreeGrid( - columns, self._generator(tasks, mount_ns_ids, mount_format, filtered_by_pids) + columns, + self._generator(tasks, mount_ns_ids, mount_format, filtered_by_pids), ) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index e37b8a1bb..72a1e453e 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -65,7 +65,10 @@ class SockHandlers(interfaces.configuration.VersionableInterface): self._vmlinux.symbol_table_name + constants.BANG + "net_device" ) for net_dev in net.dev_base_head.to_list(net_device_symname, "dev_list"): - if isinstance(netns_id, NotAvailableValue) or net.get_inode() != netns_id: + if ( + isinstance(netns_id, NotAvailableValue) + or net.get_inode() != netns_id + ): continue dev_name = utility.array_to_string(net_dev.name) netdevices_map[net_dev.ifindex] = dev_name diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 486314dd5..858845125 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -392,7 +392,9 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): symbol_table_arr = volobj.vol.type_name.split("!", 1) symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None - module_names = volobj._context.modules.get_modules_by_symbol_tables(symbol_table) + module_names = volobj._context.modules.get_modules_by_symbol_tables( + symbol_table + ) module_names = list(module_names) if not module_names: diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d97916b74..3dbf560c6 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -878,7 +878,9 @@ class vfsmount(objects.StructType): if type(vfsmount_ptr) == objects.Pointer: return self.vol.offset == vfsmount_ptr else: - raise exceptions.VolatilityException("Unexpected argument type. It has to be a 'vfsmount *'") + raise exceptions.VolatilityException( + "Unexpected argument type. It has to be a 'vfsmount *'" + ) def _get_real_mnt(self): """Gets the struct 'mount' containing this 'vfsmount'. @@ -889,7 +891,9 @@ class vfsmount(objects.StructType): mount: the struct 'mount' containing this 'vfsmount'. """ vmlinux = linux.LinuxUtilities.get_vmlinux_from_volobj(self) - return linux.LinuxUtilities.container_of(self.vol.offset, "mount", "mnt", vmlinux) + return linux.LinuxUtilities.container_of( + self.vol.offset, "mount", "mnt", vmlinux + ) def get_vfsmnt_current(self): """Returns the current fs where we are mounted on @@ -994,6 +998,7 @@ class vfsmount(objects.StructType): def get_devname(self) -> str: return utility.pointer_to_string(self.mnt_devname, count=255) + class kobject(objects.StructType): def reference_count(self): refcnt = self.kref.refcount @@ -1262,6 +1267,7 @@ class netlink_sock(objects.StructType): else: raise AttributeError("Unable to find a destination port id") + class vsock_sock(objects.StructType): def get_protocol(self): # The protocol should always be 0 for vsocks From 200099f8b3f92e2ad228e0a481a835f1fbc9d8b6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 8 May 2023 14:58:51 +0200 Subject: [PATCH 0143/2186] Improve support for socket filters in kernels < 4.1.52 --- .../framework/plugins/linux/sockstat.py | 23 +++++++++++++++---- .../framework/symbols/linux/__init__.py | 1 + .../symbols/linux/extensions/__init__.py | 17 ++++++++++++++ 3 files changed, 36 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 72a1e453e..f06b3ad8e 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -150,19 +150,32 @@ class SockHandlers(interfaces.configuration.VersionableInterface): return bpfprog = sock_filter.prog - if bpfprog.type == 0: - # BPF_PROG_TYPE_UNSPEC = 0 + + BPF_PROG_TYPE_UNSPEC = 0 # cBPF filter + try: + bpfprog_type = bpfprog.get_type() + if bpfprog_type == BPF_PROG_TYPE_UNSPEC: + return # cBPF filter + except AttributeError: + # kernel < 3.18.140, it's a cBPF filter + return + + BPF_PROG_TYPE_SOCKET_FILTER = 1 # eBPF filter + if bpfprog_type != BPF_PROG_TYPE_SOCKET_FILTER: + socket_filter["bpf_filter_type"] = f"UNK({bpfprog_type})" + vollog.warning(f"Unexpected BPF type {bpfprog_type} for a socket") return socket_filter["bpf_filter_type"] = "eBPF" if not bpfprog.has_member("aux") or not bpfprog.aux: - return + return # kernel < 3.18.140 bpfprog_aux = bpfprog.aux + if bpfprog_aux.has_member("id"): - # `id` member was added to `bpf_prog_aux` in kernels 4.13 + # `id` member was added to `bpf_prog_aux` in kernels 4.13.16 socket_filter["bpf_filter_id"] = str(bpfprog_aux.id) if bpfprog_aux.has_member("name"): - # `name` was added to `bpf_prog_aux` in kernels 4.15 + # `name` was added to `bpf_prog_aux` in kernels 4.15.18 bpfprog_name = utility.array_to_string(bpfprog_aux.name) if bpfprog_name: socket_filter["bpf_filter_name"] = bpfprog_name diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 858845125..3780a86f0 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -30,6 +30,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("kobject", extensions.kobject) # Might not exist in the current symbols self.optional_set_type_class("module", extensions.module) + self.optional_set_type_class("bpf_prog", extensions.bpf_prog) # Mount self.set_type_class("vfsmount", extensions.vfsmount) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3dbf560c6..87bd76554 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1313,3 +1313,20 @@ class xdp_sock(objects.StructType): def get_state(self): # xdp_sock.state is an enum return self.state.lookup() + + +class bpf_prog(objects.StructType): + def get_type(self): + # The program type was in `bpf_prog_aux::prog_type` from 3.18.140 to + # 4.1.52 before it was moved to `bpf_prog::type` + if self.has_member("type"): + # kernel >= 4.1.52 + return self.type + + if self.has_member("aux") and self.aux: + if self.aux.has_member("prog_type"): + # 3.18.140 <= kernel < 4.1.52 + return self.aux.prog_type + + # kernel < 3.18.140 + raise AttributeError("Unable to find the BPF type") From 7d65c20cc0b971c862889065d8a90d98e24819c9 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 8 May 2023 14:59:58 +0200 Subject: [PATCH 0144/2186] Fix f-string --- volatility3/framework/plugins/linux/iomem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/iomem.py b/volatility3/framework/plugins/linux/iomem.py index 2056851aa..785405ef3 100644 --- a/volatility3/framework/plugins/linux/iomem.py +++ b/volatility3/framework/plugins/linux/iomem.py @@ -66,7 +66,7 @@ class IOMem(interfaces.plugins.PluginInterface): name = utility.pointer_to_string(resource.name, 128) except exceptions.InvalidAddressException: vollog.warning( - "Unable to follow pointer to name for resource object at {resource_offset:#x}, " + f"Unable to follow pointer to name for resource object at {resource_offset:#x}, " "replaced with UnreadableValue" ) name = renderers.UnreadableValue() From de28b5ab7077c04ac776018264c22484d1766c37 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 8 May 2023 19:59:53 +0200 Subject: [PATCH 0145/2186] Rollback explicit context --- volatility3/framework/plugins/linux/elfs.py | 2 +- .../framework/plugins/linux/malfind.py | 2 +- volatility3/framework/plugins/linux/proc.py | 2 +- .../framework/symbols/linux/__init__.py | 27 +++++++++++-------- .../symbols/linux/extensions/__init__.py | 6 ++--- 5 files changed, 22 insertions(+), 17 deletions(-) diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index fa14dcd49..822a69dd6 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -58,7 +58,7 @@ class Elfs(plugins.PluginInterface): ): continue - path = vma.get_name(task) + path = vma.get_name(self.context, task) yield ( 0, diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 552fb8f53..18237b80c 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -47,7 +47,7 @@ class Malfind(interfaces.plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] for vma in task.mm.get_mmap_iter(): - if vma.is_suspicious() and vma.get_name(task) != "[vdso]": + if vma.is_suspicious() and vma.get_name(self.context, task) != "[vdso]": data = proc_layer.read(vma.vm_start, 64, pad=True) yield vma, data diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index fa7bc1629..9d8af482e 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -59,7 +59,7 @@ class Maps(plugins.PluginInterface): minor = inode_object.i_sb.minor inode = inode_object.i_ino - path = vma.get_name(task) + path = vma.get_name(self.context, task) yield ( 0, diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 3780a86f0..3f51d3c0c 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -139,10 +139,11 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return path @classmethod - def _get_new_sock_pipe_path(cls, task, filp) -> str: + def _get_new_sock_pipe_path(cls, context, task, filp) -> str: """Returns the sock pipe pathname relative to the task's root directory. Args: + context: The context to retrieve required elements (layers, symbol tables) from task (task_struct): A reference task filp (file *): A pointer to a sock pipe open file @@ -151,7 +152,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): """ dentry = filp.get_dentry() - kernel_module = cls.get_vmlinux_from_volobj(dentry) + kernel_module = cls.get_vmlinux_from_volobj(context, dentry) sym_addr = dentry.d_op.d_dname symbs = list(kernel_module.get_symbols_by_absolute_location(sym_addr)) @@ -182,13 +183,14 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return ret @classmethod - def path_for_file(cls, task, filp) -> str: + def path_for_file(cls, context, task, filp) -> str: """Returns a file (or sock pipe) pathname relative to the task's root directory. A 'file' structure doesn't have enough information to properly restore its full path we need the root mount information from task_struct to determine this Args: + context: The context to retrieve required elements (layers, symbol tables) from task (task_struct): A reference task filp (file *): A pointer to an open file @@ -218,7 +220,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): dname_is_valid = False if dname_is_valid: - ret = LinuxUtilities._get_new_sock_pipe_path(task, filp) + ret = LinuxUtilities._get_new_sock_pipe_path(context, task, filp) else: ret = LinuxUtilities._get_path_file(task, filp) @@ -253,7 +255,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): for fd_num, filp in enumerate(fds): if filp != 0: - full_path = LinuxUtilities.path_for_file(task, filp) + full_path = LinuxUtilities.path_for_file(context, task, filp) yield fd_num, filp, full_path @@ -378,30 +380,33 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): ) @classmethod - def get_vmlinux_from_volobj(cls, volobj): + def get_vmlinux_from_volobj( + cls, + context: interfaces.context.ContextInterface, + volobj: interfaces.objects.ObjectInterface, + ) -> interfaces.context.ModuleInterface: """Get the vmlinux from a vol obj Args: + context: The context to retrieve required elements (layers, symbol tables) from volobj (vol object): A vol object Raises: ValueError: If it cannot obtain any module from the symbol table Returns: - volatility3.framework.contexts.Module: A kernel object (vmlinux) + A kernel object (vmlinux) """ symbol_table_arr = volobj.vol.type_name.split("!", 1) symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None - module_names = volobj._context.modules.get_modules_by_symbol_tables( - symbol_table - ) + module_names = context.modules.get_modules_by_symbol_tables(symbol_table) module_names = list(module_names) if not module_names: raise ValueError(f"No module using the symbol table '{symbol_table}'") kernel_module_name = module_names[0] - kernel = volobj._context.modules[kernel_module_name] + kernel = context.modules[kernel_module_name] return kernel diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 87bd76554..1caab3ce5 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -435,9 +435,9 @@ class vm_area_struct(objects.StructType): return self.vm_pgoff << constants.linux.PAGE_SHIFT - def get_name(self, task): + def get_name(self, context, task): if self.vm_file != 0: - fname = linux.LinuxUtilities.path_for_file(task, self.vm_file) + fname = linux.LinuxUtilities.path_for_file(context, task, self.vm_file) elif self.vm_start <= task.mm.start_brk and self.vm_end >= task.mm.brk: fname = "[heap]" elif self.vm_start <= task.mm.start_stack <= self.vm_end: @@ -890,7 +890,7 @@ class vfsmount(objects.StructType): Returns: mount: the struct 'mount' containing this 'vfsmount'. """ - vmlinux = linux.LinuxUtilities.get_vmlinux_from_volobj(self) + vmlinux = linux.LinuxUtilities.get_vmlinux_from_volobj(self._context, self) return linux.LinuxUtilities.container_of( self.vol.offset, "mount", "mnt", vmlinux ) From 859482445907fd9c2ae579d37e0a898b10857690 Mon Sep 17 00:00:00 2001 From: Eve Date: Tue, 9 May 2023 06:47:07 +0100 Subject: [PATCH 0146/2186] Linux: Ensure that objects made when parsing maple tree use the native_layer_name --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index a8bf1b6aa..931003b60 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -349,7 +349,7 @@ class maple_tree(objects.StructType): symbol_table_name = self.get_symbol_table_name() node_parent_mte = self._context.object( symbol_table_name + constants.BANG + "pointer", - layer_name=self.vol.layer_name, + layer_name=self.vol.native_layer_name, offset=pointer, ) @@ -424,7 +424,7 @@ class mm_struct(objects.StructType): # convert pointer to vm_area_struct and yield vma = self._context.object( symbol_table_name + constants.BANG + "vm_area_struct", - layer_name=self.vol.layer_name, + layer_name=self.vol.native_layer_name, offset=vma_pointer ) yield vma From a2906ad270b3ec09dd38db3bc1d24b58de0c7054 Mon Sep 17 00:00:00 2001 From: Eve Date: Tue, 9 May 2023 07:07:39 +0100 Subject: [PATCH 0147/2186] Linux: Update comments and var names for maple tree depth warnings --- .../symbols/linux/extensions/__init__.py | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 931003b60..67a4cd2d0 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -314,15 +314,15 @@ class maple_tree(objects.StructType): def get_slot_iter(self): """Parse the Maple Tree and return every non zero slot.""" maple_tree_offset = self.vol.offset & ~(self.MAPLE_NODE_POINTER_MASK) - maple_tree_depth = ( + expected_maple_tree_depth = ( self.ma_flags & self.MT_FLAGS_HEIGHT_MASK ) >> self.MT_FLAGS_HEIGHT_OFFSET yield from self._parse_maple_tree_node( - self.ma_root, maple_tree_offset, maple_tree_depth + self.ma_root, maple_tree_offset, expected_maple_tree_depth ) def _parse_maple_tree_node( - self, maple_tree_entry, parent, maple_tree_depth, seen=set(), depth=1 + self, maple_tree_entry, parent, expected_maple_tree_depth, seen=set(), current_depth=1 ): """Recursively parse Maple Tree Nodes and yield all non empty slots""" @@ -334,11 +334,16 @@ class maple_tree(objects.StructType): return else: seen.add(maple_tree_entry) - if maple_tree_depth < depth: + + # check if we have exceeded the expected depth of this maple tree. + # e.g. when current_depth is larger than expected_maple_tree_depth there may be an issue. + # it is normal that expected_maple_tree_depth is equal to current_depth. + if expected_maple_tree_depth < current_depth: vollog.warning( - f"The depth for the maple tree at {hex(self.vol.offset)} is {maple_tree_depth}, however when parsing the nodes " - f"a depth of {depth} was reached. This is unexpected and may lead to incorrect results." + f"The depth for the maple tree at {hex(self.vol.offset)} is {expected_maple_tree_depth}, however when parsing the nodes " + f"a depth of {current_depth} was reached. This is unexpected and may lead to incorrect results." ) + # parse the mte to extract the pointer value, node type, and leaf status pointer = maple_tree_entry & ~(self.MAPLE_NODE_POINTER_MASK) node_type = ( @@ -379,13 +384,13 @@ class maple_tree(objects.StructType): for slot in node.mr64.slot: if (slot & ~(self.MAPLE_NODE_TYPE_MASK)) != 0: yield from self._parse_maple_tree_node( - slot, pointer, maple_tree_depth, seen, depth + 1 + slot, pointer, expected_maple_tree_depth, seen, current_depth + 1 ) elif node_type == self.MAPLE_ARANGE_64: for slot in node.ma64.slot: if (slot & ~(self.MAPLE_NODE_TYPE_MASK)) != 0: yield from self._parse_maple_tree_node( - slot, pointer, maple_tree_depth, seen, depth + 1 + slot, pointer, expected_maple_tree_depth, seen, current_depth + 1 ) else: # unkown maple node type From d367b973a5cc305aad8f3a5f0b92e4b525122d11 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 9 May 2023 09:05:37 +0200 Subject: [PATCH 0148/2186] Renamed get_vmlinux_from_volobj() to get_module_from_volobj_type() --- volatility3/framework/symbols/linux/__init__.py | 4 ++-- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 3f51d3c0c..dbdf1b777 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -152,7 +152,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): """ dentry = filp.get_dentry() - kernel_module = cls.get_vmlinux_from_volobj(context, dentry) + kernel_module = cls.get_module_from_volobj_type(context, dentry) sym_addr = dentry.d_op.d_dname symbs = list(kernel_module.get_symbols_by_absolute_location(sym_addr)) @@ -380,7 +380,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): ) @classmethod - def get_vmlinux_from_volobj( + def get_module_from_volobj_type( cls, context: interfaces.context.ContextInterface, volobj: interfaces.objects.ObjectInterface, diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 1caab3ce5..060da4d7d 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -890,7 +890,7 @@ class vfsmount(objects.StructType): Returns: mount: the struct 'mount' containing this 'vfsmount'. """ - vmlinux = linux.LinuxUtilities.get_vmlinux_from_volobj(self._context, self) + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) return linux.LinuxUtilities.container_of( self.vol.offset, "mount", "mnt", vmlinux ) From 6c5db21ae76519ffff538eba822dccfb2c63f4c2 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 9 May 2023 09:22:02 +0200 Subject: [PATCH 0149/2186] Undo mnt_ns_id cast to str --- volatility3/framework/plugins/linux/mountinfo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index 0606884ff..87ba4f9c1 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -160,7 +160,7 @@ class MountInfo(plugins.PluginInterface): mnt_namespace = task.nsproxy.mnt_ns try: - mnt_ns_id = str(mnt_namespace.get_inode()) + mnt_ns_id = mnt_namespace.get_inode() except AttributeError: mnt_ns_id = renderers.NotAvailableValue() @@ -256,7 +256,7 @@ class MountInfo(plugins.PluginInterface): self.context, self.config["kernel"], filter_func=pid_filter ) - columns = [("MNT_NS_ID", str)] + columns = [("MNT_NS_ID", int)] # The PID column does not make sense when a PID filter is not specified. In that case, the default behavior is # to displays the mountpoints per namespace. if pids: From 89ed65cc56bdce8b11c3480f5dcc93d0e1021961 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 9 May 2023 09:59:21 +0200 Subject: [PATCH 0150/2186] Improve filter warning implementation --- .../framework/plugins/linux/mountinfo.py | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index 87ba4f9c1..e4081dc83 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -184,19 +184,12 @@ class MountInfo(plugins.PluginInterface): mount_format: bool, filtered_by_pids: bool, ) -> Iterable[Tuple[int, Tuple]]: - warning_shown = False + show_filter_warning = False for task, mnt, mnt_ns_id in self._get_tasks_mountpoints( tasks, filtered_by_pids ): - if ( - not warning_shown - and mnt_ns_ids - and isinstance(mnt_ns_id, renderers.NotAvailableValue) - ): - vollog.warning( - "Cannot filter by namespace id, it is not available in this kernel." - ) - warning_shown = True + if mnt_ns_ids and isinstance(mnt_ns_id, renderers.NotAvailableValue): + show_filter_warning = True if ( not isinstance(mnt_ns_id, renderers.NotAvailableValue) @@ -246,6 +239,11 @@ class MountInfo(plugins.PluginInterface): yield (0, fields_values) + if show_filter_warning: + vollog.warning( + "Could not filter by mount namespace id. This field is not available in this kernel." + ) + def run(self): pids = self.config.get("pids") mount_ns_ids = self.config.get("mntns") From 186b1ed1c2087a5e28edbf972f603c8c03ca26bf Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 10 May 2023 09:49:11 +0900 Subject: [PATCH 0151/2186] Add more process information to mac.pslist plugin Enhance the PsList plugin by including additional process information such as offset, UID, GID, and start time in the output. Update the TreeGrid columns to display the new information. --- volatility3/framework/plugins/mac/pslist.py | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index 1d97216bf..f88715c9c 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import datetime import logging from typing import Callable, Iterable, List, Dict @@ -9,6 +10,7 @@ from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.symbols import mac +from volatility3.framework.renderers import format_hints vollog = logging.getLogger(__name__) @@ -105,10 +107,19 @@ class PsList(interfaces.plugins.PluginInterface): self.config["kernel"], filter_func=self.create_pid_filter(self.config.get("pid", None)), ): - pid = task.p_pid - ppid = task.p_ppid + offset = format_hints.Hex(task.vol.offset) name = utility.array_to_string(task.p_comm) - yield (0, (pid, ppid, name)) + pid = task.p_pid + uid = task.p_uid + gid = task.p_gid + start_time_seconds = task.p_start.tv_sec + start_time_microseconds = task.p_start.tv_usec + start_time = datetime.datetime.fromtimestamp(start_time_seconds + start_time_microseconds / 1e6) + + + ppid = task.p_ppid + + yield (0, (offset, name, pid, uid, gid, start_time, ppid)) @classmethod def list_tasks_allproc( @@ -310,5 +321,5 @@ class PsList(interfaces.plugins.PluginInterface): def run(self): return renderers.TreeGrid( - [("PID", int), ("PPID", int), ("COMM", str)], self._generator() + [("OFFSET", format_hints.Hex), ("NAME", str), ("PID", int), ("UID", int), ("GID", int), ("Start Time", datetime.datetime), ("PPID", int)], self._generator() ) From 396daa528c1028e559ac626571f8894e35450f3e Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 10 May 2023 10:07:09 +0900 Subject: [PATCH 0152/2186] Apply Black Python linter to mac.pslist plugin Applied the Black Python linter to the mac PsList plugin, resulting in more readable and consistent code formatting. --- volatility3/framework/plugins/mac/pslist.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index f88715c9c..dbed09818 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -114,11 +114,12 @@ class PsList(interfaces.plugins.PluginInterface): gid = task.p_gid start_time_seconds = task.p_start.tv_sec start_time_microseconds = task.p_start.tv_usec - start_time = datetime.datetime.fromtimestamp(start_time_seconds + start_time_microseconds / 1e6) - + start_time = datetime.datetime.fromtimestamp( + start_time_seconds + start_time_microseconds / 1e6 + ) ppid = task.p_ppid - + yield (0, (offset, name, pid, uid, gid, start_time, ppid)) @classmethod @@ -321,5 +322,14 @@ class PsList(interfaces.plugins.PluginInterface): def run(self): return renderers.TreeGrid( - [("OFFSET", format_hints.Hex), ("NAME", str), ("PID", int), ("UID", int), ("GID", int), ("Start Time", datetime.datetime), ("PPID", int)], self._generator() + [ + ("OFFSET", format_hints.Hex), + ("NAME", str), + ("PID", int), + ("UID", int), + ("GID", int), + ("Start Time", datetime.datetime), + ("PPID", int), + ], + self._generator(), ) From 7f9afccf6f44fb69cd1039ab478854317bad5d5b Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 10 May 2023 08:49:46 +0100 Subject: [PATCH 0153/2186] Linux: apply black formating to maple tree parsing --- .../symbols/linux/extensions/__init__.py | 46 +++++++++++++------ 1 file changed, 33 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 67a4cd2d0..7398a9ecd 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -294,6 +294,7 @@ class fs_struct(objects.StructType): raise AttributeError("Unable to find the root mount") + class maple_tree(objects.StructType): # include/linux/maple_tree.h # Mask for Maple Tree Flags @@ -322,7 +323,12 @@ class maple_tree(objects.StructType): ) def _parse_maple_tree_node( - self, maple_tree_entry, parent, expected_maple_tree_depth, seen=set(), current_depth=1 + self, + maple_tree_entry, + parent, + expected_maple_tree_depth, + seen=set(), + current_depth=1, ): """Recursively parse Maple Tree Nodes and yield all non empty slots""" @@ -384,13 +390,21 @@ class maple_tree(objects.StructType): for slot in node.mr64.slot: if (slot & ~(self.MAPLE_NODE_TYPE_MASK)) != 0: yield from self._parse_maple_tree_node( - slot, pointer, expected_maple_tree_depth, seen, current_depth + 1 + slot, + pointer, + expected_maple_tree_depth, + seen, + current_depth + 1, ) elif node_type == self.MAPLE_ARANGE_64: for slot in node.ma64.slot: if (slot & ~(self.MAPLE_NODE_TYPE_MASK)) != 0: yield from self._parse_maple_tree_node( - slot, pointer, expected_maple_tree_depth, seen, current_depth + 1 + slot, + pointer, + expected_maple_tree_depth, + seen, + current_depth + 1, ) else: # unkown maple node type @@ -398,13 +412,16 @@ class maple_tree(objects.StructType): f"Unkown Maple Tree node type {node_type} at offset {hex(pointer)}." ) + class mm_struct(objects.StructType): def get_mmap_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """Returns an iterator for the mmap list member of an mm_struct.""" - if not self.has_member('mmap'): - raise AttributeError("get_mmap_iter called on mm_struct where no mmap member exists.") - + if not self.has_member("mmap"): + raise AttributeError( + "get_mmap_iter called on mm_struct where no mmap member exists." + ) + if not self.mmap: return @@ -420,9 +437,11 @@ class mm_struct(objects.StructType): def get_maple_tree_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """Returns an iterator for the mm_mt member of an mm_struct.""" - - if not self.has_member('mm_mt'): - raise AttributeError("get_maple_tree_iter called on mm_struct where no mm_mt member exists.") + + if not self.has_member("mm_mt"): + raise AttributeError( + "get_maple_tree_iter called on mm_struct where no mm_mt member exists." + ) symbol_table_name = self.get_symbol_table_name() for vma_pointer in self.mm_mt.get_slot_iter(): @@ -430,20 +449,21 @@ class mm_struct(objects.StructType): vma = self._context.object( symbol_table_name + constants.BANG + "vm_area_struct", layer_name=self.vol.native_layer_name, - offset=vma_pointer + offset=vma_pointer, ) yield vma def get_vma_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """Returns an iterator for the VMAs in an mm_struct. Automatically choosing the mmap or mm_mt as required.""" - if self.has_member('mmap'): + if self.has_member("mmap"): yield from self.get_mmap_iter() - elif self.has_member('mm_mt'): + elif self.has_member("mm_mt"): yield from self.get_maple_tree_iter() else: raise AttributeError("Unable to find mmap or mm_mt in mm_struct") - + + class super_block(objects.StructType): # include/linux/kdev_t.h MINORBITS = 20 From 834372a6f89dc4c49c0a2fb563c1dd1cea1392ae Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 10 May 2023 09:12:03 +0100 Subject: [PATCH 0154/2186] Linux: apply black v23.3.0 formating to volatility3/framework/symbols/linux/extensions/__init__.py --- .../symbols/linux/extensions/__init__.py | 53 ------------------- 1 file changed, 53 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 7398a9ecd..eecb200f9 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -34,10 +34,8 @@ class module(generic.GenericIntelProcess): def get_init_size(self): if self.has_member("init_layout"): return self.init_layout.size - elif self.has_member("init_size"): return self.init_size - raise AttributeError( "module -> get_init_size: Unable to determine .init section size of module" ) @@ -45,10 +43,8 @@ class module(generic.GenericIntelProcess): def get_core_size(self): if self.has_member("core_layout"): return self.core_layout.size - elif self.has_member("core_size"): return self.core_size - raise AttributeError( "module -> get_core_size: Unable to determine core size of module" ) @@ -58,7 +54,6 @@ class module(generic.GenericIntelProcess): return self.core_layout.base elif self.has_member("module_core"): return self.module_core - raise AttributeError("module -> get_module_core: Unable to get module core") def get_module_init(self): @@ -66,7 +61,6 @@ class module(generic.GenericIntelProcess): return self.init_layout.base elif self.has_member("module_init"): return self.module_init - raise AttributeError("module -> get_module_core: Unable to get module init") def get_name(self): @@ -88,7 +82,6 @@ class module(generic.GenericIntelProcess): idx = 0 while arr[idx]: idx = idx + 1 - return idx def get_sections(self): @@ -97,7 +90,6 @@ class module(generic.GenericIntelProcess): num_sects = self.sect_attrs.nsections else: num_sects = self._get_sect_count(self.sect_attrs.grp) - arr = self._context.object( self.get_symbol_table().name + constants.BANG + "array", layer_name=self.vol.layer_name, @@ -116,7 +108,6 @@ class module(generic.GenericIntelProcess): prefix = "Elf64_" else: prefix = "Elf32_" - elf_table_name = intermed.IntermediateSymbolTable.create( self.context, self.config_path, @@ -155,7 +146,6 @@ class module(generic.GenericIntelProcess): return self.kallsyms.symtab elif self.has_member("symtab"): return self.symtab - raise AttributeError("module -> symtab: Unable to get symtab") @property @@ -164,7 +154,6 @@ class module(generic.GenericIntelProcess): return int(self.kallsyms.num_symtab) elif self.has_member("num_symtab"): return int(self.num_symtab) - raise AttributeError( "module -> num_symtab: Unable to determine number of symbols" ) @@ -177,7 +166,6 @@ class module(generic.GenericIntelProcess): # Older kernels elif self.has_member("strtab"): return self.strtab - raise AttributeError("module -> strtab: Unable to get strtab") @@ -195,19 +183,15 @@ class task_struct(generic.GenericIntelProcess): pgd = self.mm.pgd except exceptions.InvalidAddressException: return None - if not isinstance(parent_layer, linear.LinearlyMappedLayer): raise TypeError( "Parent layer is not a translation layer, unable to construct process layer" ) - dtb, layer_name = parent_layer.translate(pgd) if not dtb: return None - if preferred_name is None: preferred_name = self.vol.layer_name + f"_Process{self.pid}" - # Add the constructed layer and return the name return self._add_process_layer( self._context, dtb, config_prefix, preferred_name @@ -229,7 +213,6 @@ class task_struct(generic.GenericIntelProcess): vollog.info( f"adding vma: {start:x} {self.mm.brk:x} | {end:x} {self.mm.start_brk:x}" ) - yield (start, end - start) @property @@ -282,7 +265,6 @@ class fs_struct(objects.StructType): return self.root elif self.root.has_member("dentry"): return self.root.dentry - raise AttributeError("Unable to find the root dentry") def get_root_mnt(self): @@ -291,7 +273,6 @@ class fs_struct(objects.StructType): return self.rootmnt elif self.root.has_member("mnt"): return self.root.mnt - raise AttributeError("Unable to find the root mount") @@ -340,7 +321,6 @@ class maple_tree(objects.StructType): return else: seen.add(maple_tree_entry) - # check if we have exceeded the expected depth of this maple tree. # e.g. when current_depth is larger than expected_maple_tree_depth there may be an issue. # it is normal that expected_maple_tree_depth is equal to current_depth. @@ -349,7 +329,6 @@ class maple_tree(objects.StructType): f"The depth for the maple tree at {hex(self.vol.offset)} is {expected_maple_tree_depth}, however when parsing the nodes " f"a depth of {current_depth} was reached. This is unexpected and may lead to incorrect results." ) - # parse the mte to extract the pointer value, node type, and leaf status pointer = maple_tree_entry & ~(self.MAPLE_NODE_POINTER_MASK) node_type = ( @@ -421,10 +400,8 @@ class mm_struct(objects.StructType): raise AttributeError( "get_mmap_iter called on mm_struct where no mmap member exists." ) - if not self.mmap: return - yield self.mmap seen = {self.mmap.vol.offset} @@ -442,7 +419,6 @@ class mm_struct(objects.StructType): raise AttributeError( "get_maple_tree_iter called on mm_struct where no mm_mt member exists." ) - symbol_table_name = self.get_symbol_table_name() for vma_pointer in self.mm_mt.get_slot_iter(): # convert pointer to vm_area_struct and yield @@ -569,7 +545,6 @@ class vm_area_struct(objects.StructType): retval = retval + char else: retval = retval + "-" - return retval # only parse the rwx bits @@ -583,7 +558,6 @@ class vm_area_struct(objects.StructType): def get_page_offset(self) -> int: if self.vm_file == 0: return 0 - return self.vm_pgoff << constants.linux.PAGE_SHIFT def get_name(self, context, task): @@ -600,7 +574,6 @@ class vm_area_struct(objects.StructType): fname = "[vdso]" else: fname = "Anonymous Mapping" - return fname # used by malfind @@ -611,10 +584,8 @@ class vm_area_struct(objects.StructType): if flags_str == "rwx": ret = True - elif flags_str == "r-x" and self.vm_file.dereference().vol.offset == 0: ret = True - return ret @@ -624,12 +595,10 @@ class qstr(objects.StructType): str_length = self.len + 1 # Maximum length should include null terminator else: str_length = 255 - try: ret = objects.utility.pointer_to_string(self.name, str_length) except (exceptions.InvalidAddressException, ValueError): ret = "" - return ret @@ -660,7 +629,6 @@ class dentry(objects.StructType): """ if self.vol.offset == old_dentry: return True - return self.d_ancestor(old_dentry) def d_ancestor(self, ancestor_dentry): @@ -678,10 +646,8 @@ class dentry(objects.StructType): ): if current_dentry.d_parent == ancestor_dentry.vol.offset: return current_dentry - dentry_seen.add(current_dentry.vol.offset) current_dentry = current_dentry.d_parent - return None @@ -738,12 +704,10 @@ class list_head(objects.StructType, collections.abc.Iterable): link = getattr(self, direction).dereference() except exceptions.InvalidAddressException: return - if not sentinel: yield self._context.object( symbol_type, layer, offset=self.vol.offset - relative_offset ) - seen = {self.vol.offset} while link.vol.offset not in seen: obj = self._context.object( @@ -869,7 +833,6 @@ class mount(objects.StructType): peer = current_mnt.get_peer_under_root(self.mnt_ns, root) if peer and peer.vol.offset != 0: return peer.mnt_group_id - mnt_seen.add(current_mnt.vol.offset) current_mnt = current_mnt.mnt_master return 0 @@ -885,12 +848,10 @@ class mount(objects.StructType): current_mnt.mnt.mnt_root, root ): return current_mnt - mnt_seen.add(current_mnt.vol.offset) current_mnt = current_mnt.next_peer() if current_mnt.vol.offset == self.vol.offset: break - return None def is_path_reachable(self, current_dentry, root): @@ -907,7 +868,6 @@ class mount(objects.StructType): current_dentry = current_mnt.mnt_mountpoint mnt_seen.add(current_mnt.vol.offset) current_mnt = current_mnt.mnt_parent - return current_mnt.mnt.vol.offset == root.mnt and current_dentry.is_subdir( root.dentry ) @@ -968,7 +928,6 @@ class kobject(objects.StructType): ret = refcnt.counter else: ret = refcnt.refs.counter - return ret @@ -987,7 +946,6 @@ class mnt_namespace(objects.StructType): if not self._context.symbol_space.has_type(mnt_type): # Old kernels ~ 2.6 mnt_type = table_name + constants.BANG + "vfsmount" - for mount in self.list.to_list(mnt_type, "mnt_list"): yield mount @@ -1012,7 +970,6 @@ class socket(objects.StructType): ) if not module_names: raise ValueError(f"No module using the symbol table {symbol_table}") - kernel_module_name = module_names[0] kernel = self._context.modules[kernel_module_name] return kernel @@ -1022,7 +979,6 @@ class socket(objects.StructType): kernel = self._get_vol_kernel() except ValueError: return 0 - socket_alloc = linux.LinuxUtilities.container_of( self.vol.offset, "socket_alloc", "socket", kernel ) @@ -1048,7 +1004,6 @@ class sock(objects.StructType): def get_inode(self): if not self.sk_socket: return 0 - return self.sk_socket.get_inode() def get_protocol(self): @@ -1058,7 +1013,6 @@ class sock(objects.StructType): # Return the generic socket state if self.has_member("sk"): return self.sk.sk_socket.get_state() - return self.sk_socket.get_state() @@ -1066,7 +1020,6 @@ class unix_sock(objects.StructType): def get_name(self): if not self.addr: return - sockaddr_un = self.addr.name.cast("sockaddr_un") saddr = str(utility.array_to_string(sockaddr_un.sun_path)) return saddr @@ -1102,7 +1055,6 @@ class inet_sock(objects.StructType): protocol = IP_PROTOCOLS.get(self.sk.sk_protocol) if self.get_family() == "AF_INET6": protocol = IPV6_PROTOCOLS.get(self.sk.sk_protocol, protocol) - return protocol def get_state(self): @@ -1133,7 +1085,6 @@ class inet_sock(objects.StructType): dport_le = sk_common.skc_dport else: return - return socket_module.htons(dport_le) def get_src_addr(self): @@ -1152,7 +1103,6 @@ class inet_sock(objects.StructType): saddr = self.pinet6.saddr else: return - parent_layer = self._context.layers[self.vol.layer_name] try: addr_bytes = parent_layer.read(saddr.vol.offset, addr_size) @@ -1161,7 +1111,6 @@ class inet_sock(objects.StructType): f"Unable to read socket src address from {saddr.vol.offset:#x}" ) return - return socket_module.inet_ntop(family, addr_bytes) def get_dst_addr(self): @@ -1183,7 +1132,6 @@ class inet_sock(objects.StructType): addr_size = 16 else: return - parent_layer = self._context.layers[self.vol.layer_name] try: addr_bytes = parent_layer.read(daddr.vol.offset, addr_size) @@ -1192,7 +1140,6 @@ class inet_sock(objects.StructType): f"Unable to read socket dst address from {daddr.vol.offset:#x}" ) return - return socket_module.inet_ntop(family, addr_bytes) From b3c348820f341ea43a5bb215a5841349f46fb16c Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 10 May 2023 09:18:05 +0100 Subject: [PATCH 0155/2186] Linux: apply black v23.3.0 formating to volatility3/framework/symbols/linux/__init__.py --- volatility3/framework/symbols/linux/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 7a22241a5..c012f9cc7 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -53,6 +53,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): # Only found in 6.1+ kernels self.optional_set_type_class("maple_tree", extensions.maple_tree) + class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" From 7516346b649d7678c2996d1f4e02c48637fb050f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 10 May 2023 10:55:19 +0200 Subject: [PATCH 0156/2186] Adjust framework versioning --- volatility3/framework/plugins/linux/mountinfo.py | 5 ++++- volatility3/framework/symbols/linux/__init__.py | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index e4081dc83..da743bb60 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -50,6 +50,9 @@ class MountInfo(plugins.PluginInterface): requirements.PluginRequirement( name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) + ), requirements.ListRequirement( name="pids", description="Filter on specific process IDs.", @@ -86,7 +89,7 @@ class MountInfo(plugins.PluginInterface): if not mnt_root: return None - path_root = linux.LinuxUtilities._get_path_mnt(task, mnt) + path_root = linux.LinuxUtilities.get_path_mnt(task, mnt) if not path_root: return None diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index dbdf1b777..9ae8479b6 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -55,7 +55,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" - _version = (2, 0, 0) + _version = (2, 1, 0) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) @@ -79,7 +79,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return cls.do_get_path(rdentry, rmnt, dentry, vfsmnt) @classmethod - def _get_path_mnt(cls, task, mnt) -> str: + def get_path_mnt(cls, task, mnt) -> str: """Returns the mount point pathname relative to the task's root directory. Args: From e28b42731e663baf09051978a669d47e72506aaf Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 10 May 2023 21:55:16 +0100 Subject: [PATCH 0157/2186] Core: Change readthedocs python version Attempting to fix #953 --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 4d21d9b40..3f10db145 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -14,6 +14,6 @@ formats: all # Optionally set the version of Python and requirements required to build your docs python: - version: 3.7 + version: 3.11 install: - requirements: doc/requirements.txt From 3f1797f7e5b47a9bfd03f521604cd014012a0c69 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 10 May 2023 21:57:50 +0100 Subject: [PATCH 0158/2186] Core: Change readthedocs build platform Fixes #953 --- .readthedocs.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 3f10db145..e7c2b25d5 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -12,8 +12,12 @@ sphinx: # Optionally build your docs in additional formats such as PDF and ePub formats: all +build: + os: ubuntu-22.04 + tools: + python: "3.11" + # Optionally set the version of Python and requirements required to build your docs python: - version: 3.11 install: - requirements: doc/requirements.txt From 8e56cb39d13c22575ba5133ffbc6b83344bed0ba Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 10 May 2023 22:07:38 +0100 Subject: [PATCH 0159/2186] Docs: Fix the documentation dependencies --- doc/requirements.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 93d6ea70a..b715e59f5 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,4 +1,8 @@ # These packages are required for building the documentation. -sphinx>=4.0.0 +sphinx>=4.0.0,<7 sphinx_autodoc_typehints>=1.4.0 sphinx-rtd-theme>=0.4.3 + +yara-python +pycryptodome +pefile From 1a7ec07c28ee4830f14a0dfaa003aaa5f82eeffb Mon Sep 17 00:00:00 2001 From: Eve Date: Tue, 13 Dec 2022 16:09:57 +0000 Subject: [PATCH 0160/2186] add linux.vmayarascan based on windows.vadtarascan --- .../framework/plugins/linux/vmayarascan.py | 121 ++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 volatility3/framework/plugins/linux/vmayarascan.py diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py new file mode 100644 index 000000000..e9482089a --- /dev/null +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -0,0 +1,121 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +from typing import Iterable, List, Tuple + +from volatility3.framework import interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.plugins import yarascan +from volatility3.plugins.linux import pslist + +class VmaYaraScan(interfaces.plugins.PluginInterface): + """Scans all virtual memory areas for tasks using yara.""" + + _required_framework_version = (2, 4, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.BooleanRequirement( + name="wide", + description="Match wide (unicode) strings", + default=False, + optional=True, + ), + requirements.StringRequirement( + name="yara_rules", description="Yara rules (as a string)", optional=True + ), + requirements.URIRequirement( + name="yara_file", description="Yara rules (as a file)", optional=True + ), + # This additional requirement is to follow suit with upstream, who feel that compiled rules could potentially be used to execute malicious code + # As such, there's a separate option to run compiled files, as happened with yara-3.9 and later + requirements.URIRequirement( + name="yara_compiled_file", + description="Yara compiled rules (as a file)", + optional=True, + ), + requirements.IntRequirement( + name="max_size", + default=0x40000000, + description="Set the maximum size (default is 1GB)", + optional=True, + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + ), + requirements.ListRequirement( + name="pid", + element_type=int, + description="Process IDs to include (all other processes are excluded)", + optional=True, + ), + ] + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + rules = yarascan.YaraScan.process_yara_options(dict(self.config)) + + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + for task in pslist.PsList.list_tasks( + context=self.context, + vmlinux_module_name=self.config["kernel"], + filter_func=filter_func, + ): + proc_layer_name = task.add_process_layer() + if not proc_layer_name: + continue + + proc_layer = self.context.layers[proc_layer_name] + for offset, rule_name, name, value in proc_layer.scan( + context=self.context, + scanner=yarascan.YaraScanner(rules=rules), + sections=self.get_vma_maps(task), + ): + yield 0, ( + format_hints.Hex(offset), + task.tgid, + rule_name, + name, + value, + ) + + @staticmethod + def get_vma_maps( + task: interfaces.objects.ObjectInterface, + ) -> Iterable[Tuple[int, int]]: + """Creates a map of start/end addresses for each virtual memory area in a task. + + Args: + task: The task object of which to read the vmas from + + Returns: + An iterable of tuples containing start and end addresses for each descriptor + """ + if task.mm: + for vma in task.mm.get_mmap_iter(): + vm_size = vma.vm_end - vma.vm_start + yield (vma.vm_start, vm_size) + + def run(self): + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("PID", int), + ("Rule", str), + ("Component", str), + ("Value", bytes), + ], + self._generator(), + ) From 2279a83e3b53f92ae21cbd8ec8acd0dfa389458b Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 4 Jan 2023 09:32:39 +0000 Subject: [PATCH 0161/2186] liniting for linux.vmayarascan --- volatility3/framework/plugins/linux/vmayarascan.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index e9482089a..3efbd2ae1 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -10,6 +10,7 @@ from volatility3.framework.renderers import format_hints from volatility3.plugins import yarascan from volatility3.plugins.linux import pslist + class VmaYaraScan(interfaces.plugins.PluginInterface): """Scans all virtual memory areas for tasks using yara.""" From 57e8234e6c795391ad99f4a76216bb3ef3db808a Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 4 Jan 2023 09:36:20 +0000 Subject: [PATCH 0162/2186] remove unused variable in linux.vmayarascan --- volatility3/framework/plugins/linux/vmayarascan.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 3efbd2ae1..c7a48cc14 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -64,8 +64,6 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): ] def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - rules = yarascan.YaraScan.process_yara_options(dict(self.config)) filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) From b54bbfb88f600e660d1ca6e8e7cec77138179c1f Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 1 Feb 2023 11:27:44 +0000 Subject: [PATCH 0163/2186] Update linux.vmayarascan to pull requirements from the generic yarascan plugin --- .../framework/plugins/linux/vmayarascan.py | 79 ++++++++++--------- 1 file changed, 41 insertions(+), 38 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index c7a48cc14..f0d42f6e3 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -1,4 +1,4 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2023 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # @@ -15,68 +15,71 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): """Scans all virtual memory areas for tasks using yara.""" _required_framework_version = (2, 4, 0) + _version = (1, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.BooleanRequirement( - name="wide", - description="Match wide (unicode) strings", - default=False, - optional=True, - ), - requirements.StringRequirement( - name="yara_rules", description="Yara rules (as a string)", optional=True - ), - requirements.URIRequirement( - name="yara_file", description="Yara rules (as a file)", optional=True - ), - # This additional requirement is to follow suit with upstream, who feel that compiled rules could potentially be used to execute malicious code - # As such, there's a separate option to run compiled files, as happened with yara-3.9 and later - requirements.URIRequirement( - name="yara_compiled_file", - description="Yara compiled rules (as a file)", - optional=True, - ), - requirements.IntRequirement( - name="max_size", - default=0x40000000, - description="Set the maximum size (default is 1GB)", - optional=True, - ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) - ), - requirements.VersionRequirement( - name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) - ), + # create a list of requirements for vmayarascan + vmayarascan_requirements = [ requirements.ListRequirement( name="pid", element_type=int, description="Process IDs to include (all other processes are excluded)", optional=True, ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.PluginRequirement( + name="yarascan", plugin=yarascan.YaraScan, version=(1, 1, 0) + ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + ), + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), ] + # get base yarascan requirements + yarascan_requirements = yarascan.YaraScan.get_requirements() + + # remove TranslationLayerRequirement from the base yarascan requirements + # if this is not removed automagic will not find both the TranslationLayerRequirement + # for YaraScan and the ModuleRequirement for VmaYaraScan + yarascan_requirements = [ + requirement + for requirement in yarascan_requirements + if not isinstance(requirement, requirements.TranslationLayerRequirement) + ] + + # return the combined requirements + return yarascan_requirements + vmayarascan_requirements + def _generator(self): + # use yarascan to parse the yara options provided and create the rules rules = yarascan.YaraScan.process_yara_options(dict(self.config)) + # filter based on the pid option if provided filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) for task in pslist.PsList.list_tasks( context=self.context, vmlinux_module_name=self.config["kernel"], filter_func=filter_func, ): + + # attempt to create a process layer for each task and skip those + # that cannot (e.g. kernel threads) proc_layer_name = task.add_process_layer() if not proc_layer_name: continue + # get the proc_layer object from the context proc_layer = self.context.layers[proc_layer_name] + + # scan the process layer with the yarascanner for offset, rule_name, name, value in proc_layer.scan( context=self.context, scanner=yarascan.YaraScanner(rules=rules), From 09b0c8e406ec1aaf49a87a99fc86523fce36ff69 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 12 May 2023 13:30:32 +0100 Subject: [PATCH 0164/2186] Linux: Update linux.vmayarascan and yarascan so that command line options are taken from the base yarascan plugin --- .../framework/plugins/linux/vmayarascan.py | 16 +++------------- volatility3/framework/plugins/yarascan.py | 18 +++++++++++++++--- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index f0d42f6e3..8e4174c12 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -31,7 +31,7 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), requirements.PluginRequirement( - name="yarascan", plugin=yarascan.YaraScan, version=(1, 1, 0) + name="yarascan", plugin=yarascan.YaraScan, version=(1, 2, 0) ), requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) @@ -43,17 +43,8 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): ), ] - # get base yarascan requirements - yarascan_requirements = yarascan.YaraScan.get_requirements() - - # remove TranslationLayerRequirement from the base yarascan requirements - # if this is not removed automagic will not find both the TranslationLayerRequirement - # for YaraScan and the ModuleRequirement for VmaYaraScan - yarascan_requirements = [ - requirement - for requirement in yarascan_requirements - if not isinstance(requirement, requirements.TranslationLayerRequirement) - ] + # get base yarascan requirements for command line options + yarascan_requirements = yarascan.YaraScan.get_yarascan_option_requirements() # return the combined requirements return yarascan_requirements + vmayarascan_requirements @@ -69,7 +60,6 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): vmlinux_module_name=self.config["kernel"], filter_func=filter_func, ): - # attempt to create a process layer for each task and skip those # that cannot (e.g. kernel threads) proc_layer_name = task.add_process_layer() diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 1c8467689..11c708607 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -61,19 +61,31 @@ class YaraScan(plugins.PluginInterface): """Scans kernel memory using yara rules (string or file).""" _required_framework_version = (2, 0, 0) - _version = (1, 1, 0) + _version = (1, 2, 0) # TODO: When the major version is bumped, take the opportunity to rename the yara_rules config to yara_string # or something that makes more sense @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ + """Returns the requirements needed to run yarascan directly, combining the TranslationLayerRequirement + and the requirements from get_yarascan_option_requirements.""" + return cls.get_yarascan_option_requirements() + [ requirements.TranslationLayerRequirement( name="primary", description="Memory layer for the kernel", architectures=["Intel32", "Intel64"], - ), + ) + ] + + @classmethod + def get_yarascan_option_requirements( + cls, + ) -> List[interfaces.configuration.RequirementInterface]: + """Returns the requirements needed for the command lines options used by yarascan. This can + then also be used by other plugins that are using yarascan. This does not include a + TranslationLayerRequirement or a ModuleRequirement.""" + return [ requirements.BooleanRequirement( name="insensitive", description="Makes the search case insensitive", From cd03c52fd30d7caf57aaa38a7b32197e4d158ca2 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 12 May 2023 13:37:15 +0100 Subject: [PATCH 0165/2186] Linux: Update linux.vmayarascan to use task.mm.get_vma_iter() which means it will work on linux kernels 6.1 and above --- volatility3/framework/plugins/linux/vmayarascan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 8e4174c12..eda0d7dca 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -96,7 +96,7 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): An iterable of tuples containing start and end addresses for each descriptor """ if task.mm: - for vma in task.mm.get_mmap_iter(): + for vma in task.mm.get_vma_iter(): vm_size = vma.vm_end - vma.vm_start yield (vma.vm_start, vm_size) From 3d9efc3b3466a91dcbaf5aacfbc302b816bba316 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 17 May 2023 14:14:33 +0100 Subject: [PATCH 0166/2186] Added linux capabilities plugin --- .../framework/constants/linux/__init__.py | 45 ++++ .../framework/plugins/linux/capabilities.py | 218 ++++++++++++++++++ .../framework/symbols/linux/__init__.py | 2 + .../symbols/linux/extensions/__init__.py | 108 ++++++++- 4 files changed, 372 insertions(+), 1 deletion(-) create mode 100644 volatility3/framework/plugins/linux/capabilities.py diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 1b133eb42..a802e0ada 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -234,3 +234,48 @@ BLUETOOTH_PROTOCOLS = ( "HIDP", "AVDTP", ) + +# Ref: include/uapi/linux/capability.h +CAPABILITIES = ( + "chown", + "dac_override", + "dac_read_search", + "fowner", + "fsetid", + "kill", + "setgid", + "setuid", + "setpcap", + "linux_immutable", + "net_bind_service", + "net_broadcast", + "net_admin", + "net_raw", + "ipc_lock", + "ipc_owner", + "sys_module", + "sys_rawio", + "sys_chroot", + "sys_ptrace", + "sys_pacct", + "sys_admin", + "sys_boot", + "sys_nice", + "sys_resource", + "sys_time", + "sys_tty_config", + "mknod", + "lease", + "audit_write", + "audit_control", + "setfcap", + "mac_override", + "mac_admin", + "syslog", + "wake_alarm", + "block_suspend", + "audit_read", + "perfmon", + "bpf", + "checkpoint_restore", +) diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py new file mode 100644 index 000000000..8bcd80eef --- /dev/null +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -0,0 +1,218 @@ +# This file is Copyright 2023 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from typing import Iterable, List, Tuple, Dict + +from volatility3.framework import interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols.linux import extensions +from volatility3.plugins.linux import pslist + +vollog = logging.getLogger(__name__) + + +class Capabilities(plugins.PluginInterface): + """Lists process capabilities""" + + _required_framework_version = (2, 0, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.ListRequirement( + name="pids", + description="Filter on specific process IDs.", + element_type=int, + optional=True, + ), + requirements.BooleanRequirement( + name="inheritable", + description="Show only inheritable capabilities in human-readable strings.", + optional=True, + ), + requirements.BooleanRequirement( + name="permitted", + description="Show only permitted capabilities in human-readable strings.", + optional=True, + ), + requirements.BooleanRequirement( + name="effective", + description="Show only effective capabilities in human-readable strings.", + optional=True, + ), + requirements.BooleanRequirement( + name="bounding", + description="Show only bounding capabilities in human-readable strings.", + optional=True, + ), + requirements.BooleanRequirement( + name="ambient", + description="Show only ambient capabilities in human-readable strings.", + optional=True, + ), + ] + + def _check_capabilities_support(self): + """Checks that the framework supports at least as much capabilities as + the kernel being analysed. Otherwise, it shows a warning for the + developers. + """ + vmlinux = self.context.modules[self.config["kernel"]] + + kernel_cap_last_cap = vmlinux.object(object_type="int", offset=kernel_cap_last_cap) + vol2_last_cap = extensions.kernel_cap_struct.get_last_cap_value() + if kernel_cap_last_cap > vol2_last_cap: + vollog.warning("Developers: The supported Linux capabilities of this plugin are outdated for this kernel") + + @staticmethod + def _decode_cap(cap: interfaces.objects.ObjectInterface) -> str: + """Returns a textual representation of the capability set. + The format is a comma-separated list of capabilitites. In order to + summarize the output and if all the capabilities are enabled, instead of + the individual capabilities, the special name "all" will be shown. + + Args: + cap: Kernel capability object. Usually a 'kernel_cap_struct' struct + + Returns: + str: A string with a comma separated list of decoded capabilities + """ + if isinstance(cap, renderers.NotAvailableValue): + return cap + + cap_value = cap.get_capabilities() + if cap_value == 0: + return "-" + + CAP_FULL = 0xffffffff + if cap_value == CAP_FULL: + return "all" + + return ", ".join(cap.enumerate_capabilities()) + + @classmethod + def get_task_capabilities(cls, task: interfaces.objects.ObjectInterface) -> Dict: + """Returns a dict with the task basic information along with its capabilities + + Args: + task: A task object from where to get the fields. + + Returns: + dict: A dict with the task basic information along with its capabilities + """ + task_cred = task.real_cred + fields = { + "common": [ + utility.array_to_string(task.comm), + int(task.pid), + int(task.tgid), + int(task.parent.pid), + int(task.cred.euid), + ], + "capabilities": [ + task_cred.cap_inheritable, + task_cred.cap_permitted, + task_cred.cap_effective, + task_cred.cap_bset, + ] + } + + # Ambient capabilities were added in kernels 4.3.6 + if task_cred.has_member("cap_ambient"): + fields["capabilities"].append(task_cred.cap_ambient) + else: + fields["capabilities"].append(renderers.NotAvailableValue()) + + return fields + + def get_tasks_capabilities(self, tasks: List[interfaces.objects.ObjectInterface]) -> Iterable[Dict]: + """Yields a dict for each task containing the task's basic information along with its capabilities + + Args: + tasks: An iterable with the tasks to process. + + Yields: + Iterable[Dict]: A dict for each task containing the task's basic information along with its capabilities + """ + for task in tasks: + if task.is_kernel_thread: + continue + + yield self.get_task_capabilities(task) + + def _generator(self, tasks: Iterable[interfaces.objects.ObjectInterface]) -> Iterable[Tuple[int, Tuple]]: + for fields in self.get_tasks_capabilities(tasks): + selected_fields = fields["common"] + cap_inh, cap_prm, cap_eff, cap_bnd, cap_amb = fields["capabilities"] + + if self.config.get("inheritable"): + selected_fields.append(self._decode_cap(cap_inh)) + elif self.config.get("permitted"): + selected_fields.append(self._decode_cap(cap_prm)) + elif self.config.get("effective"): + selected_fields.append(self._decode_cap(cap_eff)) + elif self.config.get("bounding"): + selected_fields.append(self._decode_cap(cap_bnd)) + elif self.config.get("ambient"): + selected_fields.append(self._decode_cap(cap_amb)) + else: + # Raw values + selected_fields.append(format_hints.Hex(cap_inh.get_capabilities())) + selected_fields.append(format_hints.Hex(cap_prm.get_capabilities())) + selected_fields.append(format_hints.Hex(cap_eff.get_capabilities())) + selected_fields.append(format_hints.Hex(cap_bnd.get_capabilities())) + + # Ambient capabilities were added in kernels 4.3.6 + if isinstance(cap_amb, renderers.NotAvailableValue): + selected_fields.append(cap_amb) + else: + selected_fields.append(format_hints.Hex(cap_amb.get_capabilities())) + + yield 0, selected_fields + + def run(self): + pids = self.config.get("pids") + pid_filter = pslist.PsList.create_pid_filter(pids) + tasks = pslist.PsList.list_tasks(self.context, self.config["kernel"], filter_func=pid_filter) + + columns = [ + ("Name", str), + ("Tid", int), + ("Pid", int), + ("PPid", int), + ("EUID", int), + ] + + if self.config.get("inheritable"): + columns.append(("cap_inheritable", str)) + elif self.config.get("permitted"): + columns.append(("cap_permitted", str)) + elif self.config.get("effective"): + columns.append(("cap_effective", str)) + elif self.config.get("bounding"): + columns.append(("cap_bounding", str)) + elif self.config.get("ambient"): + columns.append(("cap_ambient", str)) + else: + columns.append(("cap_inheritable", format_hints.Hex)) + columns.append(("cap_permitted", format_hints.Hex)) + columns.append(("cap_effective", format_hints.Hex)) + columns.append(("cap_bounding", format_hints.Hex)) + columns.append(("cap_ambient", format_hints.Hex)) + + return renderers.TreeGrid(columns, self._generator(tasks)) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 36314b2c6..0bab9dedf 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -28,6 +28,8 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("fs_struct", extensions.fs_struct) self.set_type_class("files_struct", extensions.files_struct) self.set_type_class("kobject", extensions.kobject) + self.set_type_class("cred", extensions.cred) + self.set_type_class("kernel_cap_struct", extensions.kernel_cap_struct) # Might not exist in the current symbols self.optional_set_type_class("module", extensions.module) self.optional_set_type_class("bpf_prog", extensions.bpf_prog) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 9ac98b5da..8a8785bd0 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -5,7 +5,7 @@ import collections.abc import logging import socket as socket_module -from typing import Generator, Iterable, Iterator, Optional, Tuple +from typing import Generator, Iterable, Iterator, Optional, Tuple, List from volatility3.framework import constants from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY @@ -1428,3 +1428,109 @@ class bpf_prog(objects.StructType): # kernel < 3.18.140 raise AttributeError("Unable to find the BPF type") + +class cred(objects.StructType): + # struct cred was added in kernels 2.6.29 + def _get_cred_int_value(self, member: str) -> int: + """Helper to obtain the right cred member value for the current kernel. + + Args: + member (str): The requested cred member name to obtain its value + + Raises: + AttributeError: When the requested cred member doesn't exist + AttributeError: When the cred implementation is not supported. + + Returns: + int: The cred member value + """ + if not self.has_member(member): + raise AttributeError(f"struct cred doesn't have a '{member}' member") + + cred_val = self.member(member) + if hasattr(cred_val, "val"): + # From kernels 3.5.7 on it is a 'kuid_t' type + value = cred_val.val + elif isinstance(cred_val, objects.Integer): + # From at least 2.6.30 and until 3.5.7 it was a 'uid_t' type which was an 'unsigned int' + value = cred_val + else: + raise AttributeError("Kernel struct cred is not supported") + + return int(value) + + @property + def euid(self): + """Returns the effective user ID + + Returns: + int: the effective user ID value + """ + return self._get_cred_int_value("euid") + + +class kernel_cap_struct(objects.StructType): + # struct kernel_cap_struct was added in kernels 2.5.0 + @classmethod + def get_last_cap_value(cls) -> int: + """Returns the latest capability ID supported by the framework. + + Returns: + int: The latest supported capability ID supported by the framework. + """ + return len(constants.CAPABILITIES) - 1 + + @classmethod + def capabilities_to_string(cls, capabilities_bitfield: int) -> List[str]: + """Translates a capability bitfield to a list of capability strings. + + Args: + capabilities_bitfield (int): The capability bitfield value. + + Returns: + List[str]: A list of capability strings. + """ + + capabilities = [] + for bit, name in enumerate(constants.CAPABILITIES): + if capabilities_bitfield & (1 << bit) != 0: + capabilities.append(name) + + return capabilities + + def get_capabilities(self) -> int: + """Returns the capability bitfield value + + Returns: + int: The capability bitfield value. + """ + # In kernels 2.6.25.20 the kernel_cap_struct::cap became and array + cap_value = self.cap[0] if isinstance(self.cap, objects.Array) else self.cap + return int(cap_value & 0xffffffff) + + def enumerate_capabilities(self) -> List[str]: + """Returns the list of capability strings. + + Returns: + List[str]: The list of capability strings. + """ + capabilities_value = self.get_capabilities() + return self.capabilities_to_string(capabilities_value) + + def has_capability(self, capability: str) -> bool: + """Checks if the given capability string is enabled. + + Args: + capability (str): A string representing the capability i.e. dac_read_search + + Raises: + AttributeError: If the fiven capability is unknown to the framework. + + Returns: + bool: "True" if the given capability is enabled. + """ + if capability not in constants.CAPABILITIES: + raise AttributeError(f"Unknown capability with name '{capability}'") + + cap_value = 1 << constants.CAPABILITIES.index(capability) + return cap_value & self.get_capabilities() != 0 From d5d318d3cfd43f4d33fdb9252b120b5ed8666a12 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 17 May 2023 15:26:24 +0100 Subject: [PATCH 0167/2186] Fix wrong constants module --- .../framework/symbols/linux/extensions/__init__.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 8a8785bd0..f626db434 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -13,6 +13,7 @@ from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATES from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES +from volatility3.framework.constants.linux import CAPABILITIES from volatility3.framework import exceptions, objects, interfaces, symbols from volatility3.framework.layers import linear from volatility3.framework.objects import utility @@ -1478,7 +1479,7 @@ class kernel_cap_struct(objects.StructType): Returns: int: The latest supported capability ID supported by the framework. """ - return len(constants.CAPABILITIES) - 1 + return len(CAPABILITIES) - 1 @classmethod def capabilities_to_string(cls, capabilities_bitfield: int) -> List[str]: @@ -1492,7 +1493,7 @@ class kernel_cap_struct(objects.StructType): """ capabilities = [] - for bit, name in enumerate(constants.CAPABILITIES): + for bit, name in enumerate(CAPABILITIES): if capabilities_bitfield & (1 << bit) != 0: capabilities.append(name) @@ -1529,8 +1530,8 @@ class kernel_cap_struct(objects.StructType): Returns: bool: "True" if the given capability is enabled. """ - if capability not in constants.CAPABILITIES: + if capability not in CAPABILITIES: raise AttributeError(f"Unknown capability with name '{capability}'") - cap_value = 1 << constants.CAPABILITIES.index(capability) + cap_value = 1 << CAPABILITIES.index(capability) return cap_value & self.get_capabilities() != 0 From 4f5ca6116c73c456a9e55c56a41882b5bcccf7ac Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 17 May 2023 16:07:56 +0100 Subject: [PATCH 0168/2186] Add black recommendations --- .../framework/plugins/linux/capabilities.py | 24 +++++++++++++------ .../symbols/linux/extensions/__init__.py | 3 ++- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index 8bcd80eef..ed08c4c05 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -74,10 +74,14 @@ class Capabilities(plugins.PluginInterface): """ vmlinux = self.context.modules[self.config["kernel"]] - kernel_cap_last_cap = vmlinux.object(object_type="int", offset=kernel_cap_last_cap) + kernel_cap_last_cap = vmlinux.object( + object_type="int", offset=kernel_cap_last_cap + ) vol2_last_cap = extensions.kernel_cap_struct.get_last_cap_value() if kernel_cap_last_cap > vol2_last_cap: - vollog.warning("Developers: The supported Linux capabilities of this plugin are outdated for this kernel") + vollog.warning( + "Developers: The supported Linux capabilities of this plugin are outdated for this kernel" + ) @staticmethod def _decode_cap(cap: interfaces.objects.ObjectInterface) -> str: @@ -99,7 +103,7 @@ class Capabilities(plugins.PluginInterface): if cap_value == 0: return "-" - CAP_FULL = 0xffffffff + CAP_FULL = 0xFFFFFFFF if cap_value == CAP_FULL: return "all" @@ -129,7 +133,7 @@ class Capabilities(plugins.PluginInterface): task_cred.cap_permitted, task_cred.cap_effective, task_cred.cap_bset, - ] + ], } # Ambient capabilities were added in kernels 4.3.6 @@ -140,7 +144,9 @@ class Capabilities(plugins.PluginInterface): return fields - def get_tasks_capabilities(self, tasks: List[interfaces.objects.ObjectInterface]) -> Iterable[Dict]: + def get_tasks_capabilities( + self, tasks: List[interfaces.objects.ObjectInterface] + ) -> Iterable[Dict]: """Yields a dict for each task containing the task's basic information along with its capabilities Args: @@ -155,7 +161,9 @@ class Capabilities(plugins.PluginInterface): yield self.get_task_capabilities(task) - def _generator(self, tasks: Iterable[interfaces.objects.ObjectInterface]) -> Iterable[Tuple[int, Tuple]]: + def _generator( + self, tasks: Iterable[interfaces.objects.ObjectInterface] + ) -> Iterable[Tuple[int, Tuple]]: for fields in self.get_tasks_capabilities(tasks): selected_fields = fields["common"] cap_inh, cap_prm, cap_eff, cap_bnd, cap_amb = fields["capabilities"] @@ -188,7 +196,9 @@ class Capabilities(plugins.PluginInterface): def run(self): pids = self.config.get("pids") pid_filter = pslist.PsList.create_pid_filter(pids) - tasks = pslist.PsList.list_tasks(self.context, self.config["kernel"], filter_func=pid_filter) + tasks = pslist.PsList.list_tasks( + self.context, self.config["kernel"], filter_func=pid_filter + ) columns = [ ("Name", str), diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index f626db434..0051cdc2f 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1430,6 +1430,7 @@ class bpf_prog(objects.StructType): # kernel < 3.18.140 raise AttributeError("Unable to find the BPF type") + class cred(objects.StructType): # struct cred was added in kernels 2.6.29 def _get_cred_int_value(self, member: str) -> int: @@ -1507,7 +1508,7 @@ class kernel_cap_struct(objects.StructType): """ # In kernels 2.6.25.20 the kernel_cap_struct::cap became and array cap_value = self.cap[0] if isinstance(self.cap, objects.Array) else self.cap - return int(cap_value & 0xffffffff) + return int(cap_value & 0xFFFFFFFF) def enumerate_capabilities(self) -> List[str]: """Returns the list of capability strings. From 7469872c8bfcd8d7a84637ede54180008e624b0a Mon Sep 17 00:00:00 2001 From: RuBublik Date: Wed, 17 May 2023 21:41:37 +0300 Subject: [PATCH 0169/2186] added 'PoolConstraint' of Thread objects to 'PoolScanner.default_constraints' as part of adding support for thread pool tag scanning --- .../framework/plugins/windows/poolscanner.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index e131c5f78..028241bb8 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -224,6 +224,20 @@ class PoolScanner(plugins.PluginInterface): size=(600, None), page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, ), + # threads on windows before windows8 + PoolConstraint(b'Thr\xe5', # -> “protected” allocation, MSB is set. + type_name = symbol_table + constants.BANG + "_ETHREAD", + object_type="Thread", + size = (600, None), # -> 0x0258 - size of strcut in win5.1 + page_type = PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE + ), + # threads on windows starting with windows8 + PoolConstraint(b'Thre', + type_name = symbol_table + constants.BANG + "_ETHREAD", + object_type="Thread", + size = (600, None), # -> 0x0258 - size of strcut in win5.1 + page_type = PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE + ), # files on windows before windows 8 PoolConstraint( b"Fil\xe5", From f0bd9787160c8bca29e52090dc484dea213004e7 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 20 May 2023 12:17:09 +0200 Subject: [PATCH 0170/2186] Fix typo --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0051cdc2f..4b1c53683 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1526,7 +1526,7 @@ class kernel_cap_struct(objects.StructType): capability (str): A string representing the capability i.e. dac_read_search Raises: - AttributeError: If the fiven capability is unknown to the framework. + AttributeError: If the given capability is unknown to the framework. Returns: bool: "True" if the given capability is enabled. From 550d1096ebe2c2d1f22a6c6446495051d54e84ec Mon Sep 17 00:00:00 2001 From: RuBublik Date: Sat, 20 May 2023 14:20:15 +0300 Subject: [PATCH 0171/2186] temporary fix to ETHREAD class, add 'is_valid' method --- .../framework/symbols/windows/extensions/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index ba00a4053..cfaa3aced 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -492,9 +492,13 @@ class KMUTANT(objects.StructType, pool.ExecutiveObject): return header.NameInfo.Name.String # type: ignore -class ETHREAD(objects.StructType): +class ETHREAD(objects.StructType, pool.ExecutiveObject): """A class for executive thread objects.""" + def is_valid(self) -> bool: + """Determine if the object is valid.""" + return True # temporary, need to implement validation later. + def owning_process(self) -> interfaces.objects.ObjectInterface: """Return the EPROCESS that owns this thread.""" From 0fd475e10bb9644c28abef36c8f4c7dabec318d6 Mon Sep 17 00:00:00 2001 From: RuBublik Date: Sat, 20 May 2023 15:49:09 +0300 Subject: [PATCH 0172/2186] added permanent implementation for 'ETHREAD.is_valid' --- .../symbols/windows/extensions/__init__.py | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index cfaa3aced..e17128897 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -497,7 +497,30 @@ class ETHREAD(objects.StructType, pool.ExecutiveObject): def is_valid(self) -> bool: """Determine if the object is valid.""" - return True # temporary, need to implement validation later. + + try: + + # validation by thread creation time: + ctime = self.get_create_time() + if not isinstance(ctime, datetime.datetime): + return False + + # validation by parent process: + own_proc = self.owning_process() + # return own_proc.is_valid() + if own_proc.UniqueProcessId % 4 != 0: # NT pids are divisible by 4 + return False + + # passed all valitations + return True + except: + return False + + def get_create_time(self): + return conversion.wintime_to_datetime(self.CreateTime.QuadPart) + + def get_exit_time(self): + return conversion.wintime_to_datetime(self.ExitTime.QuadPart) def owning_process(self) -> interfaces.objects.ObjectInterface: """Return the EPROCESS that owns this thread.""" From 601870829e33c32688fbecccede7423f1e3b7839 Mon Sep 17 00:00:00 2001 From: RuBublik Date: Sun, 21 May 2023 18:12:46 +0300 Subject: [PATCH 0173/2186] twicked thread constraint for edge cases --- volatility3/framework/plugins/windows/poolscanner.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 028241bb8..ce1015789 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -222,17 +222,21 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_EPROCESS", object_type="Process", size=(600, None), + skip_type_test = True, page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, ), # threads on windows before windows8 - PoolConstraint(b'Thr\xe5', # -> “protected” allocation, MSB is set. + PoolConstraint( + b'Thr\xe5', # -> “protected” allocation, MSB is set. type_name = symbol_table + constants.BANG + "_ETHREAD", object_type="Thread", size = (600, None), # -> 0x0258 - size of strcut in win5.1 + skip_type_test = True, page_type = PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE ), # threads on windows starting with windows8 - PoolConstraint(b'Thre', + PoolConstraint( + b'Thre', type_name = symbol_table + constants.BANG + "_ETHREAD", object_type="Thread", size = (600, None), # -> 0x0258 - size of strcut in win5.1 From 046c8e4d1e7f3bf9d6857de5601ebd4ab089af6d Mon Sep 17 00:00:00 2001 From: RuBublik Date: Sun, 21 May 2023 18:18:02 +0300 Subject: [PATCH 0174/2186] fix of is_valid - removed reliace on owning _eprocess and added exclusion for system process (does not have creation time) --- .../symbols/windows/extensions/__init__.py | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index e17128897..fe4884dbc 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -499,18 +499,21 @@ class ETHREAD(objects.StructType, pool.ExecutiveObject): """Determine if the object is valid.""" try: - - # validation by thread creation time: - ctime = self.get_create_time() - if not isinstance(ctime, datetime.datetime): - return False - - # validation by parent process: - own_proc = self.owning_process() - # return own_proc.is_valid() - if own_proc.UniqueProcessId % 4 != 0: # NT pids are divisible by 4 + + # validation by TID: + if self.Cid.UniqueThread % 4 != 0: # NT tids are divisible by 4 return False + # validation by PID of parent process: + if self.Cid.UniqueProcess % 4 != 0: + return False + + # validation by thread creation time: + if self.Cid.UniqueProcess != 4: # The System process (PID 4) has no create time + ctime = self.get_create_time() + if not isinstance(ctime, datetime.datetime): + return False + # passed all valitations return True except: From fab818b48d950a1210c77e97a4da09cf24f2bd03 Mon Sep 17 00:00:00 2001 From: RuBublik Date: Sun, 21 May 2023 18:24:01 +0300 Subject: [PATCH 0175/2186] added thrdscan plugin to utilize added support for ethread pool tag scanning --- .../framework/plugins/windows/thrdscan.py | 107 ++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 volatility3/framework/plugins/windows/thrdscan.py diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py new file mode 100644 index 000000000..b0b80fe46 --- /dev/null +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -0,0 +1,107 @@ +## +## plugin for testing addition of threads scan support to poolscanner.py +## +import logging +import datetime +from typing import Iterable + +from volatility3.framework import renderers, interfaces, exceptions +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import poolscanner + +vollog = logging.getLogger(__name__) + + +class ThrdScan(interfaces.plugins.PluginInterface): + """Scans for windows threads.""" + + # cuz installed Framework interface version 2 + _required_framework_version = (2, 0, 0) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) + ), + ] + + @classmethod + def scan_threads( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table: str, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Scans for threads using the poolscanner module and constraints. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + layer_name: The name of the layer on which to operate + symbol_table: The name of the table containing the kernel symbols + + Returns: + A list of _ETHREAD objects found by scanning memory for the "Thre" / "Thr\\xE5" pool signatures + """ + + constraints = poolscanner.PoolScanner.builtin_constraints( + symbol_table, [b"Thr\xe5", b"Thre"] + ) + + for result in poolscanner.PoolScanner.generate_pool_scan( + context, layer_name, symbol_table, constraints + ): + _constraint, mem_object, _header = result + yield mem_object + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + for ethread in self.scan_threads( + self.context, kernel.layer_name, kernel.symbol_table_name + ): + try: + thread_offset = ethread.vol.offset + owner_proc_pid = ethread.Cid.UniqueProcess + thread_tid = ethread.Cid.UniqueThread + thread_start_addr = ethread.StartAddress + thread_create_time = ethread.get_create_time() # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object + thread_exit_time = ethread.get_exit_time() # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object + except (ValueError, exceptions.InvalidAddressException): + vollog.debug( + "Thread :{}, invalid address {} in layer {}".format( + thread_tid, thread_start_addr, kernel.layer_name + ) + ) + continue + + yield ( + 0, + ( + hex(format_hints.Hex(thread_offset)), + owner_proc_pid, + thread_tid, + hex(thread_start_addr), + str(thread_create_time) if isinstance(thread_create_time, datetime.datetime) else "", + str(thread_exit_time) if isinstance(thread_exit_time, datetime.datetime) else "" + ) + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Offset", str), + ("PID", int), + ("TID", int), + ("Start Address", str), + ("Create Time", str), + ("Exit Time", str), + ], + self._generator(), + ) \ No newline at end of file From 5749b3ef5283fc36d064a766e5228dc2eef5b402 Mon Sep 17 00:00:00 2001 From: RuBublik Date: Sun, 21 May 2023 19:22:22 +0300 Subject: [PATCH 0176/2186] added test for thrdscan plugin --- test/test_volatility.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/test_volatility.py b/test/test_volatility.py index aaad615bc..5e41899da 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -189,6 +189,16 @@ def test_windows_svcscan(image, volatility, python): assert rc == 0 +def test_windows_thrdscan(image, volatility, python): + rc, out, err = runvol_plugin("windows.thrdscan.ThrdScan", image, volatility, python) + # find pid 4 (of system process) which starts with lowest tids + assert out.find(b"\t4\t8") != -1 + assert out.find(b"\t4\t12") != -1 + assert out.find(b"\t4\t16") != -1 + #assert out.find(b"this raieses AssertionError") != -1 + assert rc == 0 + + def test_windows_privileges(image, volatility, python): rc, out, err = runvol_plugin( "windows.privileges.Privs", image, volatility, python, pluginargs=["--pid", "4"] From bea981180d5044aa979d39e6f2e06e13909513a1 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 22 May 2023 01:32:00 +0100 Subject: [PATCH 0177/2186] Prevent potential dentry pointer memory smear --- volatility3/framework/symbols/linux/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 36314b2c6..3ddffb49a 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -200,8 +200,11 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): Returns: str: A file (or sock pipe) pathname relative to the task's root directory. """ + + # Memory smear protection: Check that both the file and dentry pointers are valids. try: dentry = filp.get_dentry() + dentry.is_root() except exceptions.InvalidAddressException: return "" From 0f42f0eaf1bbc47b86a180289a5d393cbcafc6d7 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 22 May 2023 01:39:14 +0100 Subject: [PATCH 0178/2186] fix typo --- volatility3/framework/symbols/linux/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 3ddffb49a..339f6417f 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -201,7 +201,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): str: A file (or sock pipe) pathname relative to the task's root directory. """ - # Memory smear protection: Check that both the file and dentry pointers are valids. + # Memory smear protection: Check that both the file and dentry pointers are valid. try: dentry = filp.get_dentry() dentry.is_root() From 950a76d1e0dfb460215c3b6e5dc1108a0421863f Mon Sep 17 00:00:00 2001 From: RuBublik Date: Mon, 22 May 2023 11:17:23 +0300 Subject: [PATCH 0179/2186] fixed typo --- .../framework/symbols/windows/extensions/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index fe4884dbc..4ad74f61a 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -514,10 +514,11 @@ class ETHREAD(objects.StructType, pool.ExecutiveObject): if not isinstance(ctime, datetime.datetime): return False - # passed all valitations - return True - except: + except exceptions.InvalidAddressException: return False + + # passed all validations + return True def get_create_time(self): return conversion.wintime_to_datetime(self.CreateTime.QuadPart) From bef5149ba64e640c39e83774e0fa969893d5ee18 Mon Sep 17 00:00:00 2001 From: RuBublik Date: Mon, 22 May 2023 11:39:38 +0300 Subject: [PATCH 0180/2186] changed TreeGrid yielded types to specific simpletypes instead of str --- .../framework/plugins/windows/thrdscan.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index b0b80fe46..8b445991f 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -84,24 +84,24 @@ class ThrdScan(interfaces.plugins.PluginInterface): yield ( 0, ( - hex(format_hints.Hex(thread_offset)), + format_hints.Hex(thread_offset), owner_proc_pid, thread_tid, - hex(thread_start_addr), - str(thread_create_time) if isinstance(thread_create_time, datetime.datetime) else "", - str(thread_exit_time) if isinstance(thread_exit_time, datetime.datetime) else "" + format_hints.Hex(thread_start_addr), + thread_create_time, + thread_exit_time, ) ) def run(self): return renderers.TreeGrid( [ - ("Offset", str), + ("Offset", format_hints.Hex), ("PID", int), ("TID", int), - ("Start Address", str), - ("Create Time", str), - ("Exit Time", str), + ("Start Address", format_hints.Hex), + ("Create Time", datetime.datetime), + ("Exit Time", datetime.datetime), ], self._generator(), ) \ No newline at end of file From c6c501ecb57e1757a510d019a3752af78dda96cc Mon Sep 17 00:00:00 2001 From: RuBublik Date: Mon, 22 May 2023 15:31:25 +0300 Subject: [PATCH 0181/2186] implemented generate_timeline method in ThrdScan --- .../framework/plugins/windows/thrdscan.py | 36 ++++++++++++++++--- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 8b445991f..ca3f4fc69 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -9,15 +9,16 @@ from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import poolscanner +from volatility3.plugins import timeliner vollog = logging.getLogger(__name__) -class ThrdScan(interfaces.plugins.PluginInterface): +class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Scans for windows threads.""" # cuz installed Framework interface version 2 - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -93,15 +94,40 @@ class ThrdScan(interfaces.plugins.PluginInterface): ) ) + def generate_timeline(self): + for row in self._generator(): + _depth, row_data = row + row_dict = {} + ( + row_dict["Offset"], + row_dict["PID"], + row_dict["TID"], + row_dict["StartAddress"], + row_dict["CreateTime"], + row_dict["ExitTime"], + ) = row_data + + # Skip threads with no creation time + # - mainly system process threads + if not isinstance(row_dict["CreateTime"], datetime.datetime): + continue + description = (f"Thread: Tid {row_dict['TID']} in Pid {row_dict['PID']} (Offset {row_dict['Offset']})") + + # yield created time, and if there is exit time, yield it too. + yield (description, timeliner.TimeLinerType.CREATED, row_dict["CreateTime"]) + if isinstance(row_dict["ExitTime"], datetime.datetime): + yield (description, timeliner.TimeLinerType.MODIFIED, row_dict["ExitTime"]) + + def run(self): return renderers.TreeGrid( [ ("Offset", format_hints.Hex), ("PID", int), ("TID", int), - ("Start Address", format_hints.Hex), - ("Create Time", datetime.datetime), - ("Exit Time", datetime.datetime), + ("StartAddress", format_hints.Hex), + ("CreateTime", datetime.datetime), + ("ExitTime", datetime.datetime), ], self._generator(), ) \ No newline at end of file From 9bdd249aadb5b60ca5e45c91c396f1c591f9b45e Mon Sep 17 00:00:00 2001 From: RuBublik Date: Mon, 22 May 2023 15:39:12 +0300 Subject: [PATCH 0182/2186] added _version to ThrdScan --- volatility3/framework/plugins/windows/thrdscan.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index ca3f4fc69..cbbe64988 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -19,6 +19,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) # cuz installed Framework interface version 2 _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) @classmethod def get_requirements(cls): From 5072728e897c1489e11f3422ea6974cf542d7e64 Mon Sep 17 00:00:00 2001 From: RuBublik Date: Mon, 22 May 2023 15:50:22 +0300 Subject: [PATCH 0183/2186] formated with black --- .../framework/plugins/windows/thrdscan.py | 49 +++++++++++-------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index cbbe64988..813883c2d 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -18,7 +18,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) """Scans for windows threads.""" # cuz installed Framework interface version 2 - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 0, 0) _version = (1, 0, 0) @classmethod @@ -33,7 +33,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) ), ] - + @classmethod def scan_threads( cls, @@ -53,7 +53,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) """ constraints = poolscanner.PoolScanner.builtin_constraints( - symbol_table, [b"Thr\xe5", b"Thre"] + symbol_table, [b"Thr\xe5", b"Thre"] ) for result in poolscanner.PoolScanner.generate_pool_scan( @@ -69,12 +69,16 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) self.context, kernel.layer_name, kernel.symbol_table_name ): try: - thread_offset = ethread.vol.offset - owner_proc_pid = ethread.Cid.UniqueProcess - thread_tid = ethread.Cid.UniqueThread - thread_start_addr = ethread.StartAddress - thread_create_time = ethread.get_create_time() # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object - thread_exit_time = ethread.get_exit_time() # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object + thread_offset = ethread.vol.offset + owner_proc_pid = ethread.Cid.UniqueProcess + thread_tid = ethread.Cid.UniqueThread + thread_start_addr = ethread.StartAddress + thread_create_time = ( + ethread.get_create_time() + ) # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object + thread_exit_time = ( + ethread.get_exit_time() + ) # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object except (ValueError, exceptions.InvalidAddressException): vollog.debug( "Thread :{}, invalid address {} in layer {}".format( @@ -86,13 +90,13 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) yield ( 0, ( - format_hints.Hex(thread_offset), - owner_proc_pid, - thread_tid, - format_hints.Hex(thread_start_addr), - thread_create_time, - thread_exit_time, - ) + format_hints.Hex(thread_offset), + owner_proc_pid, + thread_tid, + format_hints.Hex(thread_start_addr), + thread_create_time, + thread_exit_time, + ), ) def generate_timeline(self): @@ -112,13 +116,16 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) # - mainly system process threads if not isinstance(row_dict["CreateTime"], datetime.datetime): continue - description = (f"Thread: Tid {row_dict['TID']} in Pid {row_dict['PID']} (Offset {row_dict['Offset']})") - + description = f"Thread: Tid {row_dict['TID']} in Pid {row_dict['PID']} (Offset {row_dict['Offset']})" + # yield created time, and if there is exit time, yield it too. yield (description, timeliner.TimeLinerType.CREATED, row_dict["CreateTime"]) if isinstance(row_dict["ExitTime"], datetime.datetime): - yield (description, timeliner.TimeLinerType.MODIFIED, row_dict["ExitTime"]) - + yield ( + description, + timeliner.TimeLinerType.MODIFIED, + row_dict["ExitTime"], + ) def run(self): return renderers.TreeGrid( @@ -131,4 +138,4 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) ("ExitTime", datetime.datetime), ], self._generator(), - ) \ No newline at end of file + ) From b9e5cfb393c35d005235996804be6c6853a34b73 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 22 May 2023 15:05:39 +0100 Subject: [PATCH 0184/2186] Core: Protect from clearing a non-existant cache Issue kindly raised by @garanews, thanks! 5:D --- volatility3/framework/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index c7b23a9c3..9c17846a8 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -224,4 +224,7 @@ def list_plugins() -> Dict[str, Type[interfaces.plugins.PluginInterface]]: def clear_cache(complete=False): - os.unlink(os.path.join(constants.CACHE_PATH, constants.IDENTIFIERS_FILENAME)) + try: + os.unlink(os.path.join(constants.CACHE_PATH, constants.IDENTIFIERS_FILENAME)) + except FileNotFoundError: + vollog.log(constants.LOGLEVEL_VVVV, "Attempting to clear a non-existant cache") From 5d32ca542c8918224f070163f02ff454f0bffffa Mon Sep 17 00:00:00 2001 From: RuBublik Date: Sun, 28 May 2023 20:52:26 +0300 Subject: [PATCH 0185/2186] fix black formatting --- .../framework/plugins/windows/poolscanner.py | 20 +++++++++---------- .../symbols/windows/extensions/__init__.py | 17 ++++++++-------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index ce1015789..5539e1e84 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -222,25 +222,25 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_EPROCESS", object_type="Process", size=(600, None), - skip_type_test = True, + skip_type_test=True, page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, ), # threads on windows before windows8 PoolConstraint( - b'Thr\xe5', # -> “protected” allocation, MSB is set. - type_name = symbol_table + constants.BANG + "_ETHREAD", + b"Thr\xe5", # -> “protected” allocation, MSB is set. + type_name=symbol_table + constants.BANG + "_ETHREAD", object_type="Thread", - size = (600, None), # -> 0x0258 - size of strcut in win5.1 - skip_type_test = True, - page_type = PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE + size=(600, None), # -> 0x0258 - size of strcut in win5.1 + skip_type_test=True, + page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, ), # threads on windows starting with windows8 PoolConstraint( - b'Thre', - type_name = symbol_table + constants.BANG + "_ETHREAD", + b"Thre", + type_name=symbol_table + constants.BANG + "_ETHREAD", object_type="Thread", - size = (600, None), # -> 0x0258 - size of strcut in win5.1 - page_type = PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE + size=(600, None), # -> 0x0258 - size of strcut in win5.1 + page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, ), # files on windows before windows 8 PoolConstraint( diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 4ad74f61a..8790f41a7 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -499,17 +499,18 @@ class ETHREAD(objects.StructType, pool.ExecutiveObject): """Determine if the object is valid.""" try: - # validation by TID: - if self.Cid.UniqueThread % 4 != 0: # NT tids are divisible by 4 + if self.Cid.UniqueThread % 4 != 0: # NT tids are divisible by 4 return False - + # validation by PID of parent process: if self.Cid.UniqueProcess % 4 != 0: return False - + # validation by thread creation time: - if self.Cid.UniqueProcess != 4: # The System process (PID 4) has no create time + if ( + self.Cid.UniqueProcess != 4 + ): # The System process (PID 4) has no create time ctime = self.get_create_time() if not isinstance(ctime, datetime.datetime): return False @@ -518,14 +519,14 @@ class ETHREAD(objects.StructType, pool.ExecutiveObject): return False # passed all validations - return True - + return True + def get_create_time(self): return conversion.wintime_to_datetime(self.CreateTime.QuadPart) def get_exit_time(self): return conversion.wintime_to_datetime(self.ExitTime.QuadPart) - + def owning_process(self) -> interfaces.objects.ObjectInterface: """Return the EPROCESS that owns this thread.""" From aa04b8ca3d6ba9db3d7658436927a2430cc6371e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 16 Jun 2023 18:03:07 +0100 Subject: [PATCH 0186/2186] Windows: Fix VAD offset canonicalization #969 --- volatility3/framework/plugins/windows/vadinfo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 812affe86..abc6142fe 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -198,6 +198,7 @@ class VadInfo(interfaces.plugins.PluginInterface): def _generator(self, procs): kernel = self.context.modules[self.config["kernel"]] + kernel_layer = self.context.layers[kernel.layer_name] def passthrough(_: interfaces.objects.ObjectInterface) -> bool: return False @@ -229,7 +230,7 @@ class VadInfo(interfaces.plugins.PluginInterface): ( proc.UniqueProcessId, process_name, - format_hints.Hex(vad.vol.offset), + format_hints.Hex(kernel_layer.canonicalize(vad.vol.offset)), format_hints.Hex(vad.get_start()), format_hints.Hex(vad.get_end()), vad.get_tag(), From a9698e4e731841932a17153847b264f0ceeb70a5 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 1 Jul 2023 16:31:48 +0100 Subject: [PATCH 0187/2186] Documentation: minor fixes/updates --- doc/source/conf.py | 144 ++++++++++++------ doc/source/getting-started-mac-tutorial.rst | 8 +- .../framework/plugins/linux/sockstat.py | 5 +- .../symbols/linux/extensions/__init__.py | 32 ++-- 4 files changed, 121 insertions(+), 68 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 895219b25..8b467ec1d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -21,57 +21,72 @@ import sphinx.ext.apidoc def setup(app): - volatility_directory = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'volatility3')) + volatility_directory = os.path.abspath( + os.path.join(os.path.dirname(__file__), "..", "..", "volatility3") + ) source_dir = os.path.abspath(os.path.dirname(__file__)) - sphinx.ext.apidoc.main(argv = ['-e', '-M', '-f', '-T', '-o', source_dir, volatility_directory]) + sphinx.ext.apidoc.main( + argv=["-e", "-M", "-f", "-T", "-o", source_dir, volatility_directory] + ) # Go through the volatility3.framework.plugins files and change them to volatility3.plugins for dir, _, files in os.walk(os.path.dirname(__file__)): for filename in files: - if filename.startswith('volatility3.framework.plugins') and filename != 'volatility3.framework.plugins.rst': + if ( + filename.startswith("volatility3.framework.plugins") + and filename != "volatility3.framework.plugins.rst" + ): # Change all volatility3.framework.plugins to volatility3.plugins in the file # Rename the file - new_filename = filename.replace('volatility3.framework.plugins', 'volatility3.plugins') + new_filename = filename.replace( + "volatility3.framework.plugins", "volatility3.plugins" + ) replace_string = b"Submodules\n----------\n\n.. toctree::\n\n" submodules = replace_string # If file already exists, read out the subpackages entries from it add them to the new list if os.path.exists(os.path.join(dir, new_filename)): - with open(os.path.join(dir, new_filename), 'rb') as newfile: + with open(os.path.join(dir, new_filename), "rb") as newfile: data = newfile.read() index = data.find(replace_string) if index > -1: submodules = data[index:] - with open(os.path.join(dir, new_filename), 'wb') as newfile: + with open(os.path.join(dir, new_filename), "wb") as newfile: with open(os.path.join(dir, filename), "rb") as oldfile: line = oldfile.read() - correct_plugins = line.replace(b'volatility3.framework.plugins', b'volatility3.plugins') - correct_submodules = correct_plugins.replace(replace_string, submodules) + correct_plugins = line.replace( + b"volatility3.framework.plugins", b"volatility3.plugins" + ) + correct_submodules = correct_plugins.replace( + replace_string, submodules + ) newfile.write(correct_submodules) os.remove(os.path.join(dir, filename)) - elif filename == 'volatility3.framework.rst': + elif filename == "volatility3.framework.rst": with open(os.path.join(dir, filename), "rb") as contents: lines = contents.readlines() plugins_seen = False with open(os.path.join(dir, filename), "wb") as contents: for line in lines: - if b'volatility3.framework.plugins' in line: + if b"volatility3.framework.plugins" in line: plugins_seen = True - if plugins_seen and line == b'': - contents.write(b' volatility3.plugins') + if plugins_seen and line == b"": + contents.write(b" volatility3.plugins") contents.write(line) - elif filename == 'volatility3.plugins.rst': + elif filename == "volatility3.plugins.rst": with open(os.path.join(dir, filename), "rb") as contents: lines = contents.readlines() - with open(os.path.join(dir, 'volatility3.framework.plugins.rst'), "rb") as contents: + with open( + os.path.join(dir, "volatility3.framework.plugins.rst"), "rb" + ) as contents: real_lines = contents.readlines() # Process real_lines for line_index in range(len(real_lines)): - if b'Submodules' in real_lines[line_index]: + if b"Submodules" in real_lines[line_index]: break else: line_index = len(real_lines) @@ -82,36 +97,52 @@ def setup(app): for line in lines: contents.write(line) for line in submodule_lines: - contents.write(line.replace(b'volatility3.framework.plugins', b'volatility3.plugins')) + contents.write( + line.replace( + b"volatility3.framework.plugins", b"volatility3.plugins" + ) + ) # Clear up the framework.plugins page - with open(os.path.join(os.path.dirname(__file__), 'volatility3.framework.plugins.rst'), "rb") as contents: + with open( + os.path.join(os.path.dirname(__file__), "volatility3.framework.plugins.rst"), + "rb", + ) as contents: real_lines = contents.readlines() - with open(os.path.join(os.path.dirname(__file__), 'volatility3.framework.plugins.rst'), "wb") as contents: + with open( + os.path.join(os.path.dirname(__file__), "volatility3.framework.plugins.rst"), + "wb", + ) as contents: for line in real_lines: - if b'volatility3.framework.plugins.' not in line: + if b"volatility3.framework.plugins." not in line: contents.write(line) # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path.insert(0, os.path.abspath('../..')) +sys.path.insert(0, os.path.abspath("../..")) from volatility3.framework import constants # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. -needs_sphinx = '2.0' +needs_sphinx = "2.0" # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ - 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.napoleon', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', - 'sphinx.ext.coverage', 'sphinx.ext.viewcode', 'sphinx.ext.autosectionlabel' + "sphinx.ext.autodoc", + "sphinx.ext.doctest", + "sphinx.ext.napoleon", + "sphinx.ext.intersphinx", + "sphinx.ext.todo", + "sphinx.ext.coverage", + "sphinx.ext.viewcode", + "sphinx.ext.autosectionlabel", ] autosectionlabel_prefix_document = True @@ -119,7 +150,7 @@ autosectionlabel_prefix_document = True try: import sphinx_autodoc_typehints - extensions.append('sphinx_autodoc_typehints') + extensions.append("sphinx_autodoc_typehints") except ImportError: # If the autodoc typehints extension isn't available, carry on regardless pass @@ -128,17 +159,17 @@ except ImportError: # templates_path = ['tools/templates'] # The suffix of source filenames. -source_suffix = '.rst' +source_suffix = ".rst" # The encoding of source files. # source_encoding = 'utf-8-sig' # The master toctree document. -master_doc = 'index' +master_doc = "index" # General information about the project. -project = 'Volatility 3' -copyright = '2012-2022, Volatility Foundation' +project = "Volatility 3" +copyright = "2012-2022, Volatility Foundation" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -147,7 +178,7 @@ copyright = '2012-2022, Volatility Foundation' # The full version, including alpha/beta/rc tags. release = constants.PACKAGE_VERSION # The short X.Y version. -version = ".".join(release.split('.')[0:2]) +version = ".".join(release.split(".")[0:2]) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -180,7 +211,7 @@ add_module_names = False # show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = "sphinx" # A list of ignored prefixes for module index sorting. # modindex_common_prefix = [] @@ -196,8 +227,8 @@ pygments_style = 'sphinx' # html_theme = 'pydoctheme' # html_theme_options = {'collapsiblesidebar': True} # html_theme_path = ['tools'] -html_theme = 'sphinx_rtd_theme' -html_theme_options = {'logo_only': True} +html_theme = "sphinx_rtd_theme" +html_theme_options = {"logo_only": True} # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -216,17 +247,17 @@ html_theme_options = {'logo_only': True} # The name of an image file (relative to this directory) to place at the top # of the sidebar. -html_logo = '_static/vol.png' +html_logo = "_static/vol.png" # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. -html_favicon = '_static/favicon.ico' +html_favicon = "_static/favicon.ico" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +html_static_path = ["_static"] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied @@ -275,17 +306,15 @@ html_static_path = ['_static'] # html_file_suffix = None # Output file base name for HTML help builder. -htmlhelp_basename = 'Volatilitydoc' +htmlhelp_basename = "Volatilitydoc" # -- Options for LaTeX output --------------------------------------------- latex_elements = { # The paper size ('letterpaper' or 'a4paper'). # 'papersize': 'letterpaper', - # The font size ('10pt', '11pt' or '12pt'). # 'pointsize': '10pt', - # Additional stuff for the LaTeX preamble. # 'preamble': '', } @@ -294,7 +323,13 @@ latex_elements = { # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - ('index', 'Volatility.tex', 'Volatility 3 Documentation', 'Volatility Foundation', 'manual'), + ( + "index", + "Volatility.tex", + "Volatility 3 Documentation", + "Volatility Foundation", + "manual", + ), ] # The name of an image file (relative to this directory) to place at the top of @@ -321,7 +356,15 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). -man_pages = [('vol-cli', 'volatility', 'Volatility 3 Documentation', ['Volatility Foundation'], 1)] +man_pages = [ + ( + "vol-cli", + "volatility", + "Volatility 3 Documentation", + ["Volatility Foundation"], + 1, + ) +] # If true, show URL addresses after external links. # man_show_urls = False @@ -332,8 +375,15 @@ man_pages = [('vol-cli', 'volatility', 'Volatility 3 Documentation', ['Volatilit # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'Volatility', 'Volatility 3 Documentation', 'Volatility Foundation', 'Volatility', - 'Memory forensics framework.', 'Miscellaneous'), + ( + "index", + "Volatility", + "Volatility 3 Documentation", + "Volatility Foundation", + "Volatility", + "Memory forensics framework.", + "Miscellaneous", + ), ] # Documents to append as an appendix to all manuals. @@ -349,10 +399,14 @@ texinfo_documents = [ # texinfo_no_detailmenu = False # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'http://docs.python.org/': None} +intersphinx_mapping = {"python": ("http://docs.python.org/", None)} # -- Autodoc options ------------------------------------------------------- # autodoc_member_order = 'groupwise' -autodoc_default_options = {'members': True, 'inherited-members': True, 'show-inheritance': True} -autoclass_content = 'both' +autodoc_default_options = { + "members": True, + "inherited-members": True, + "show-inheritance": True, +} +autoclass_content = "both" diff --git a/doc/source/getting-started-mac-tutorial.rst b/doc/source/getting-started-mac-tutorial.rst index cfb0afa9a..42e58c0d5 100644 --- a/doc/source/getting-started-mac-tutorial.rst +++ b/doc/source/getting-started-mac-tutorial.rst @@ -78,10 +78,10 @@ Thanks go to `stuxnet `_ for providing this memo The above command helps us to find the memory dump's Darwin kernel version. Now using the above banner we can search for the needed ISF file. -If ISF file cannot be found then, follow the instructions on :ref:`getting-started-macos-tutorial:Procedure to create symbol tables for macOS`. After that, place the ISF file under the ``volatility3/symbols`` directory. +If ISF file cannot be found then, follow the instructions on :ref:`getting-started-mac-tutorial:Procedure to create symbol tables for macOS`. After that, place the ISF file under the ``volatility3/symbols`` directory. mac.pslist -~~~~~~~~~~~~ +~~~~~~~~~~ .. code-block:: shell-session @@ -107,7 +107,7 @@ mac.pslist ``mac.pslist`` helps us to list the processes which are running, their PIDs and PPIDs. mac.pstree -~~~~~~~~~~~~ +~~~~~~~~~~ .. code-block:: shell-session @@ -128,7 +128,7 @@ mac.pstree ``mac.pstree`` helps us to display the parent child relationships between processes. mac.ifconfig -~~~~~~~~~~ +~~~~~~~~~~~~ .. code-block:: shell-session diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index f06b3ad8e..fa67122ba 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -83,7 +83,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock: Kernel generic `sock` object Returns a tuple with: - sock: The respective kernel's *_sock object for that socket family + sock: The respective kernel's \*_sock object for that socket family sock_stat: A tuple with the source and destination (address and port) along with its state string socket_filter: A dictionary with information about the socket filter """ @@ -501,8 +501,7 @@ class Sockstat(plugins.PluginInterface): family: Socket family string (AF_UNIX, AF_INET, etc) sock_type: Socket type string (STREAM, DGRAM, etc) protocol: Protocol string (UDP, TCP, etc) - sock_fields: A tuple with the *_sock object, the sock stats and the - extended info dictionary + sock_fields: A tuple with the \*_sock object, the sock stats and the extended info dictionary """ vmlinux = context.modules[symbol_table] diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 9ac98b5da..64c038f5a 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -794,7 +794,7 @@ class mount(objects.StructType): """Gets the fs where we are mounted on Returns: - A 'mount *' + A mount pointer """ return self.mnt_parent @@ -802,7 +802,7 @@ class mount(objects.StructType): """Gets the dentry of the mountpoint Returns: - A 'dentry *' + A dentry pointer """ return self.mnt_mountpoint @@ -839,7 +839,7 @@ class mount(objects.StructType): """Returns the root of the mounted tree Returns: - A 'dentry *' + A dentry pointer """ vfsmnt = self.get_vfsmnt_current() dentry = vfsmnt.mnt_root @@ -850,7 +850,7 @@ class mount(objects.StructType): """Returns the parent root of the mounted tree Returns: - A 'dentry *' + A dentry pointer """ return self.get_mnt_parent().get_dentry_current() @@ -970,17 +970,17 @@ class vfsmount(objects.StructType): """Helper to make sure it is comparing two pointers to 'vfsmount'. Depending on the kernel version, the calling object (self) could be - a 'vfsmount *' (<3.3.8) or a 'vfsmount' (>=3.3.8). This way we trust + a 'vfsmount \*' (<3.3.8) or a 'vfsmount' (>=3.3.8). This way we trust in the framework "auto" dereferencing ability to assure that when we reach this point 'self' will be a 'vfsmount' already and self.vol.offset - a 'vfsmount *' and not a 'vfsmount **'. The argument must be a 'vfsmount *'. + a 'vfsmount \*' and not a 'vfsmount \*\*'. The argument must be a 'vfsmount \*'. Typically, it's called from do_get_path(). Args: - vfsmount_ptr (vfsmount *): A pointer to a 'vfsmount' + vfsmount_ptr (vfsmount \*): A pointer to a 'vfsmount' Raises: - exceptions.VolatilityException: If vfsmount_ptr is not a 'vfsmount *' + exceptions.VolatilityException: If vfsmount_ptr is not a 'vfsmount \*' Returns: bool: 'True' if the given argument points to the the same 'vfsmount' @@ -1010,7 +1010,7 @@ class vfsmount(objects.StructType): """Returns the current fs where we are mounted on Returns: - A 'vfsmount *' + A vfsmount pointer """ return self.get_mnt_parent() @@ -1018,8 +1018,8 @@ class vfsmount(objects.StructType): """Gets the parent fs (vfsmount) to where it's mounted on Returns: - For kernels < 3.3.8: A 'vfsmount *' - For kernels >= 3.3.8: A 'vfsmount' + For kernels < 3.3.8: A vfsmount pointer + For kernels >= 3.3.8: A vfsmount object """ if self._is_kernel_prior_to_struct_mount(): return self.get_mnt_parent() @@ -1030,7 +1030,7 @@ class vfsmount(objects.StructType): """Returns the root of the mounted tree Returns: - A 'dentry *' + A dentry pointer """ if self._is_kernel_prior_to_struct_mount(): return self.get_mnt_mountpoint() @@ -1041,7 +1041,7 @@ class vfsmount(objects.StructType): """Returns the parent root of the mounted tree Returns: - A 'dentry *' + A dentry pointer """ if self._is_kernel_prior_to_struct_mount(): return self.get_mnt_mountpoint() @@ -1052,8 +1052,8 @@ class vfsmount(objects.StructType): """Gets the mnt_parent member. Returns: - For kernels < 3.3.8: A 'vfsmount *' - For kernels >= 3.3.8: A 'mount *' + For kernels < 3.3.8: A vfsmount pointer + For kernels >= 3.3.8: A mount pointer """ if self._is_kernel_prior_to_struct_mount(): return self.mnt_parent @@ -1064,7 +1064,7 @@ class vfsmount(objects.StructType): """Gets the dentry of the mountpoint Returns: - A 'dentry *' + A dentry pointer """ if self.has_member("mnt_mountpoint"): return self.mnt_mountpoint From 1ff2d80b44cc919474f502d37840c4bf5fe0e6f1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 1 Jul 2023 17:01:57 +0100 Subject: [PATCH 0188/2186] Documentation: Update basics - memory layer information --- doc/source/basics.rst | 73 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 58 insertions(+), 15 deletions(-) diff --git a/doc/source/basics.rst b/doc/source/basics.rst index d493c61b3..1b8e64780 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1,7 +1,7 @@ Volatility 3 Basics =================== -Volatility splits memory analysis down to several components: +Volatility splits memory analysis down to several components. The main ones are: * Memory layers * Templates and Objects @@ -13,22 +13,65 @@ which acts as a container for all the various layers and tables necessary to con Memory layers ------------- -A memory layer is a body of data that can be accessed by requesting data at a specific address. Memory is seen as -sequential when accessed through sequential addresses, however, there is no obligation for the data to be stored -sequentially, and modern processors tend to store the memory in a paged format. Moreover, there is no need for the data -to be stored in an easily accessible format, it could be encoded or encrypted or more, it could be the combination of -two other sources. These are typically handled by programs that process file formats, or the memory manager of the -processor, but these are all translations (either in the geometric or linguistic sense) of the original data. +A memory layer is a body of data that can be accessed by requesting data at a specific address. At its lowest level +this data is stored on a phyiscal medium (RAM) and very early computers addresses locations in memory directly. However, +as the size of memory increased and it became more difficult to manage memory most architectures moved to a "paged" model +of memory, where the available memory is cut into specific fixed-sized pages. To help further, programs can ask for any address +and the processor will look up their (virtual) address in a map, to find out where the (physical) address that it lives at is, +in the actual memory of the system. -In Volatility 3 this is represented by a directed graph, whose end nodes are -:py:class:`DataLayers ` and whose internal nodes are -specifically called a :py:class:`TranslationLayer `. -In this way, a raw memory image in the LiME file format and a page file can be -combined to form a single Intel virtual memory layer. When requesting addresses from the Intel layer, it will use the -Intel memory mapping algorithm, along with the address of the directory table base or page table map, to translate that +Volatility can work with these layers as long as it knows the map (so, for example that virtual address `1` looks up at physical +address `9`). The automagic that runs at the start of every volatility session often locates the kernel's memory map, and creates +a kernel virtual layer, which allows for kernel addresses to be looked up and the correct data returned. There can, however, be +several maps, and in general there is a different map for each process (although a portion of the operating system's memory is +usually mapped to the same location across all processes). The maps may take the same address but point to a different part of +physical memory. It also means that two processes could theoretically share memory, but having an virtual address mapped to the +same physical address as another process. See the worked example below for more information. + +To translate an address on a layer, call :py:meth:`layer.mapping(offset, length, ignore_errors) ` and it will return a list of chunks without overlap, in order, +for the requested range. If a portion cannot be mapped, an exception will be thrown unless `ignore_errors` is true. Each +chunk will contain the original offset of the chunk, the translated offset, the original size and the translated size of +the chunk, as well as the lower layer the chunk lives within. + +Worked example +^^^^^^^^^^^^^^ + +The operating system and two programs may all appear to have access to all of physical memory, but actually the maps they each have +mean they each see something different: + +.. code-block:: + :caption: Memory mapping example + + Operating system map Physical Memory + 1 -> 9 1 - Free + 2 -> 3 2 - OS.4, Process 1.4, Process 2.4 + 3 -> 7 3 - OS.2 + 4 -> 2 4 - Free + 5 - Free + Process 1 map 6 - Process 1.2, Process 2.3 + 1 -> 12 7 - OS.3 + 2 -> 6 8 - Process1.3 + 3 -> 8 9 - OS.1 + 4 -> 2 10 - Process2.1 + 11 - Free + Process 2 map 12 - Process1.1 + 1 -> 10 13 - Free + 2 -> 15 14 - Free + 3 -> 6 15 - Process2.2 + 4 -> 2 16 - Free + +In this example, part of the operating system is visible across all processes (although not all processes can write to the memory, there +is a permissions model for intel addressing which is not discussed further here).) + +In Volatility 3 mappings are represented by a directed graph of layers, whose end nodes are +:py:class:`DataLayers ` and whose internal nodes are :py:class:`TranslationLayers `. +In this way, a raw memory image in the LiME file format and a page file can be combined to form a single Intel virtual +memory layer. When requesting addresses from the Intel layer, it will use the Intel memory mapping algorithm, along +with the address of the directory table base or page table map, to translate that address into a physical address, which will then either be directed towards the swap layer or the LiME layer. Should it -be directed towards the LiME layer, the LiME file format algorithm will be translated to determine where within the file -the data is stored and that will be returned. +be directed towards the LiME layer, the LiME file format algorithm will be translate the new address to determine where +within the file the data is stored. When the :py:meth:`layer.read() ` +method is called, the translation is done automatically and the correct data gathered and combined. .. note:: Volatility 2 had a similar concept, called address spaces, but these could only stack linearly one on top of another. From 50b5d2232b7e1519156292875fb9ebc625cde4ac Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 1 Jul 2023 19:00:03 +0100 Subject: [PATCH 0189/2186] Core: Add type parameter to object_from_symbol --- API_CHANGES.md | 4 ++++ volatility3/framework/constants/__init__.py | 4 ++-- volatility3/framework/contexts/__init__.py | 15 +++++++++++---- volatility3/framework/interfaces/context.py | 2 ++ 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/API_CHANGES.md b/API_CHANGES.md index 98a08f09d..61d8781fb 100644 --- a/API_CHANGES.md +++ b/API_CHANGES.md @@ -4,6 +4,10 @@ API Changes When an addition to the existing API is made, the minor version is bumped. When an API feature or function is removed or changed, the major version is bumped. +2.5.0 +===== +Add in support for specifying a type override for object_from_symbol + 2.4.0 ===== Add a `get_size()` method to Windows VAD structures and fix several off-by-one issues when calculating VAD sizes. diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 3a6b24ea8..de1674885 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -44,8 +44,8 @@ BANG = "!" # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 4 # Number of changes that only add to the interface -VERSION_PATCH = 2 # Number of changes that do not change the interface +VERSION_MINOR = 5 # Number of changes that only add to the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" # TODO: At version 2.0.0, remove the symbol_shift feature diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index ecce5041c..81b516765 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -272,8 +272,9 @@ class Module(interfaces.context.ModuleInterface): symbol_name: str, native_layer_name: Optional[str] = None, absolute: bool = False, + object_type: Optional[Union[str, interfaces.objects.ObjectInterface]] = None, **kwargs, - ) -> "interfaces.objects.ObjectInterface": + ) -> interfaces.objects.ObjectInterface: """Returns an object based on a specific symbol (containing type and offset information) and the layer_name of the Module. This will throw a ValueError if the symbol does not contain an associated type, or if @@ -284,6 +285,7 @@ class Module(interfaces.context.ModuleInterface): symbol_name: Name of the symbol (within the module) to construct native_layer_name: Name of the layer in which constructed objects are made (for pointers) absolute: whether the symbol's address is absolute or relative to the module + object_type: Override for the type from the symobl to use (or if the symbol type is missing) """ if constants.BANG not in symbol_name: symbol_name = self.symbol_table_name + constants.BANG + symbol_name @@ -299,8 +301,13 @@ class Module(interfaces.context.ModuleInterface): if not absolute: offset += self._offset - if symbol_val.type is None: - raise TypeError(f"Symbol {symbol_val.name} has no associated type") + if object_type is None: + if symbol_val.type is None: + raise TypeError( + f"Symbol {symbol_val.name} has no associated type and no object_type specified" + ) + else: + object_type = symbol_val.type # Ensure we don't use a layer_name other than the module's, why would anyone do that? if "layer_name" in kwargs: @@ -308,7 +315,7 @@ class Module(interfaces.context.ModuleInterface): # Since type may be a template, we don't just call our own module method return self._context.object( - object_type=symbol_val.type, + object_type=object_type, layer_name=self._layer_name, offset=offset, native_layer_name=native_layer_name or self._native_layer_name, diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index 7e385746d..03f2d9f1b 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -253,6 +253,7 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): symbol_name: str, native_layer_name: Optional[str] = None, absolute: bool = False, + object_type: Optional[Union[str, interfaces.objects.ObjectInterface]] = None, **kwargs, ) -> "interfaces.objects.ObjectInterface": """Returns an object created using the symbol_table_name and layer_name @@ -262,6 +263,7 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): symbol_name: The name of a symbol (that must be present in the module's symbol table). The symbol's associated type will be used to construct an object at the symbol's offset. native_layer_name: The native layer for objects that reference a different layer (if not the default provided during module construction) absolute: A boolean specifying whether the offset is absolute within the layer, or relative to the start of the module + object_type: Override for the type from the symobl to use (or if the symbol type is missing) Returns: The constructed object From c8e53ff16a0feab2f9d036fc3e173fe1969d8621 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 1 Jul 2023 19:02:51 +0100 Subject: [PATCH 0190/2186] Core: Fix small typing issue in previous patch --- volatility3/framework/contexts/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index 81b516765..73868a58f 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -272,9 +272,9 @@ class Module(interfaces.context.ModuleInterface): symbol_name: str, native_layer_name: Optional[str] = None, absolute: bool = False, - object_type: Optional[Union[str, interfaces.objects.ObjectInterface]] = None, + object_type: Optional[Union[str, "interfaces.objects.ObjectInterface"]] = None, **kwargs, - ) -> interfaces.objects.ObjectInterface: + ) -> "interfaces.objects.ObjectInterface": """Returns an object based on a specific symbol (containing type and offset information) and the layer_name of the Module. This will throw a ValueError if the symbol does not contain an associated type, or if From 66598f5b631a959d7cd73b8e929e95d122ca9a58 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 1 Jul 2023 19:05:22 +0100 Subject: [PATCH 0191/2186] Core: Second fix is the charm... --- volatility3/framework/interfaces/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index 03f2d9f1b..29cb41379 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -253,7 +253,7 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): symbol_name: str, native_layer_name: Optional[str] = None, absolute: bool = False, - object_type: Optional[Union[str, interfaces.objects.ObjectInterface]] = None, + object_type: Optional[Union[str, "interfaces.objects.ObjectInterface"]] = None, **kwargs, ) -> "interfaces.objects.ObjectInterface": """Returns an object created using the symbol_table_name and layer_name From 6c0ce1d130092ac496c85eec294580a689c6ce2d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 1 Jul 2023 20:58:36 +0100 Subject: [PATCH 0192/2186] Volshell: Typo Fixes #958 --- volatility3/cli/volshell/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index df369c53e..ea9e65d9b 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -480,7 +480,7 @@ class Volshell(interfaces.plugins.PluginInterface): accessor = resources.ResourceAccessor() with accessor.open(url=location) as fp: self.__console.runsource( - io.TextIOWrapper(fp.read(), encoding="utf-8"), symbol="exec" + io.TextIOWrapper(fp, encoding="utf-8").read(), symbol="exec" ) print("\nCode complete") From 524ff59107ee857c6d4e86697fd6db7f92c05156 Mon Sep 17 00:00:00 2001 From: RuBublik Date: Fri, 7 Jul 2023 20:22:58 +0300 Subject: [PATCH 0193/2186] bumped MINOR_VERSION to 2.5.2 after changes, and updated dependent thrdscan plugin's required version to this --- volatility3/framework/constants/__init__.py | 2 +- volatility3/framework/plugins/windows/thrdscan.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 3a6b24ea8..09dded076 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -44,7 +44,7 @@ BANG = "!" # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 4 # Number of changes that only add to the interface +VERSION_MINOR = 5 # Number of changes that only add to the interface VERSION_PATCH = 2 # Number of changes that do not change the interface VERSION_SUFFIX = "" diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 813883c2d..4afc29cdb 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -17,8 +17,8 @@ vollog = logging.getLogger(__name__) class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Scans for windows threads.""" - # cuz installed Framework interface version 2 - _required_framework_version = (2, 0, 0) + # version 2.5.2 adds support for scanning for 'Ethread' structures by pool tags + _required_framework_version = (2, 5, 2) _version = (1, 0, 0) @classmethod From abf1c2e03d67f02ea5c31cc9f4b16029cbbe946d Mon Sep 17 00:00:00 2001 From: RuBublik Date: Fri, 7 Jul 2023 20:25:02 +0300 Subject: [PATCH 0194/2186] fixed typos --- volatility3/framework/plugins/windows/poolscanner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 5539e1e84..1f70cfb8c 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -230,7 +230,7 @@ class PoolScanner(plugins.PluginInterface): b"Thr\xe5", # -> “protected” allocation, MSB is set. type_name=symbol_table + constants.BANG + "_ETHREAD", object_type="Thread", - size=(600, None), # -> 0x0258 - size of strcut in win5.1 + size=(600, None), # -> 0x0258 - size of struct in win5.1 skip_type_test=True, page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, ), @@ -239,7 +239,7 @@ class PoolScanner(plugins.PluginInterface): b"Thre", type_name=symbol_table + constants.BANG + "_ETHREAD", object_type="Thread", - size=(600, None), # -> 0x0258 - size of strcut in win5.1 + size=(600, None), # -> 0x0258 - size of struct in win5.1 page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, ), # files on windows before windows 8 From 241cf832f9b3676fbcf4e724c646dbfe46c24eb2 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 10 Jul 2023 00:07:40 +0200 Subject: [PATCH 0195/2186] Plugin parameters removed. Instead, it now shows each capability set in their textual representation. The dictionary was replaced by a dataclass. Last but not leas, CAP_FULL moved to constants. --- .../framework/constants/linux/__init__.py | 2 + .../framework/plugins/linux/capabilities.py | 179 ++++++++---------- .../symbols/linux/extensions/__init__.py | 4 +- 3 files changed, 83 insertions(+), 102 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index a802e0ada..e57fa30d4 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -279,3 +279,5 @@ CAPABILITIES = ( "bpf", "checkpoint_restore", ) + +CAP_FULL = 0xFFFFFFFF diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index ed08c4c05..9a59f31c1 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -3,19 +3,50 @@ # import logging +from dataclasses import dataclass, astuple, fields from typing import Iterable, List, Tuple, Dict -from volatility3.framework import interfaces, renderers +from volatility3.framework import interfaces, renderers, exceptions +from volatility3.framework.constants.linux import CAP_FULL from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility -from volatility3.framework.renderers import format_hints from volatility3.framework.symbols.linux import extensions from volatility3.plugins.linux import pslist vollog = logging.getLogger(__name__) +@dataclass +class TaskData: + """Stores basic information about a task""" + + comm: str + pid: int + tgid: int + ppid: int + euid: int + + +@dataclass +class CapabilitiesData: + """Stores each set of capabilties for a task""" + + cap_inheritable: interfaces.objects.ObjectInterface + cap_permitted: interfaces.objects.ObjectInterface + cap_effective: interfaces.objects.ObjectInterface + cap_bset: interfaces.objects.ObjectInterface + cap_ambient: interfaces.objects.ObjectInterface + + def astuple(self) -> Tuple: + """Returns a shallow copy of the capability sets in a tuple. + + Otherwise, when dataclasses.astuple() performs a deep-copy recursion on + ObjectInterface will take a substantial amount of time. + """ + return tuple(getattr(self, field.name) for field in fields(self)) + + class Capabilities(plugins.PluginInterface): """Lists process capabilities""" @@ -40,43 +71,26 @@ class Capabilities(plugins.PluginInterface): element_type=int, optional=True, ), - requirements.BooleanRequirement( - name="inheritable", - description="Show only inheritable capabilities in human-readable strings.", - optional=True, - ), - requirements.BooleanRequirement( - name="permitted", - description="Show only permitted capabilities in human-readable strings.", - optional=True, - ), - requirements.BooleanRequirement( - name="effective", - description="Show only effective capabilities in human-readable strings.", - optional=True, - ), - requirements.BooleanRequirement( - name="bounding", - description="Show only bounding capabilities in human-readable strings.", - optional=True, - ), - requirements.BooleanRequirement( - name="ambient", - description="Show only ambient capabilities in human-readable strings.", - optional=True, - ), ] - def _check_capabilities_support(self): + def _check_capabilities_support( + self, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ): """Checks that the framework supports at least as much capabilities as the kernel being analysed. Otherwise, it shows a warning for the developers. """ - vmlinux = self.context.modules[self.config["kernel"]] - kernel_cap_last_cap = vmlinux.object( - object_type="int", offset=kernel_cap_last_cap - ) + vmlinux = context.modules[vmlinux_module_name] + + try: + kernel_cap_last_cap = vmlinux.object_from_symbol(symbol_name="cap_last_cap") + except exceptions.SymbolError: + # It should be a kernel < 3.2 + return + vol2_last_cap = extensions.kernel_cap_struct.get_last_cap_value() if kernel_cap_last_cap > vol2_last_cap: vollog.warning( @@ -103,7 +117,6 @@ class Capabilities(plugins.PluginInterface): if cap_value == 0: return "-" - CAP_FULL = 0xFFFFFFFF if cap_value == CAP_FULL: return "all" @@ -119,33 +132,32 @@ class Capabilities(plugins.PluginInterface): Returns: dict: A dict with the task basic information along with its capabilities """ + task_data = TaskData( + comm=utility.array_to_string(task.comm), + pid=int(task.pid), + tgid=int(task.tgid), + ppid=int(task.parent.pid), + euid=int(task.cred.euid), + ) + task_cred = task.real_cred - fields = { - "common": [ - utility.array_to_string(task.comm), - int(task.pid), - int(task.tgid), - int(task.parent.pid), - int(task.cred.euid), - ], - "capabilities": [ - task_cred.cap_inheritable, - task_cred.cap_permitted, - task_cred.cap_effective, - task_cred.cap_bset, - ], - } + capabilities_data = CapabilitiesData( + cap_inheritable=task_cred.cap_inheritable, + cap_permitted=task_cred.cap_permitted, + cap_effective=task_cred.cap_effective, + cap_bset=task_cred.cap_bset, + cap_ambient=renderers.NotAvailableValue(), + ) # Ambient capabilities were added in kernels 4.3.6 if task_cred.has_member("cap_ambient"): - fields["capabilities"].append(task_cred.cap_ambient) - else: - fields["capabilities"].append(renderers.NotAvailableValue()) + capabilities_data.cap_ambient = task_cred.cap_ambient - return fields + return task_data, capabilities_data + @classmethod def get_tasks_capabilities( - self, tasks: List[interfaces.objects.ObjectInterface] + cls, tasks: List[interfaces.objects.ObjectInterface] ) -> Iterable[Dict]: """Yields a dict for each task containing the task's basic information along with its capabilities @@ -156,44 +168,23 @@ class Capabilities(plugins.PluginInterface): Iterable[Dict]: A dict for each task containing the task's basic information along with its capabilities """ for task in tasks: - if task.is_kernel_thread: - continue - - yield self.get_task_capabilities(task) + yield cls.get_task_capabilities(task) def _generator( self, tasks: Iterable[interfaces.objects.ObjectInterface] ) -> Iterable[Tuple[int, Tuple]]: - for fields in self.get_tasks_capabilities(tasks): - selected_fields = fields["common"] - cap_inh, cap_prm, cap_eff, cap_bnd, cap_amb = fields["capabilities"] + for task_fields, capabilities_fields in self.get_tasks_capabilities(tasks): + task_fields = astuple(task_fields) - if self.config.get("inheritable"): - selected_fields.append(self._decode_cap(cap_inh)) - elif self.config.get("permitted"): - selected_fields.append(self._decode_cap(cap_prm)) - elif self.config.get("effective"): - selected_fields.append(self._decode_cap(cap_eff)) - elif self.config.get("bounding"): - selected_fields.append(self._decode_cap(cap_bnd)) - elif self.config.get("ambient"): - selected_fields.append(self._decode_cap(cap_amb)) - else: - # Raw values - selected_fields.append(format_hints.Hex(cap_inh.get_capabilities())) - selected_fields.append(format_hints.Hex(cap_prm.get_capabilities())) - selected_fields.append(format_hints.Hex(cap_eff.get_capabilities())) - selected_fields.append(format_hints.Hex(cap_bnd.get_capabilities())) + capabilities_text = tuple( + self._decode_cap(cap) for cap in capabilities_fields.astuple() + ) - # Ambient capabilities were added in kernels 4.3.6 - if isinstance(cap_amb, renderers.NotAvailableValue): - selected_fields.append(cap_amb) - else: - selected_fields.append(format_hints.Hex(cap_amb.get_capabilities())) - - yield 0, selected_fields + yield 0, task_fields + capabilities_text def run(self): + self._check_capabilities_support(self.context, self.config["kernel"]) + pids = self.config.get("pids") pid_filter = pslist.PsList.create_pid_filter(pids) tasks = pslist.PsList.list_tasks( @@ -206,23 +197,11 @@ class Capabilities(plugins.PluginInterface): ("Pid", int), ("PPid", int), ("EUID", int), + ("cap_inheritable", str), + ("cap_permitted", str), + ("cap_effective", str), + ("cap_bounding", str), + ("cap_ambient", str), ] - if self.config.get("inheritable"): - columns.append(("cap_inheritable", str)) - elif self.config.get("permitted"): - columns.append(("cap_permitted", str)) - elif self.config.get("effective"): - columns.append(("cap_effective", str)) - elif self.config.get("bounding"): - columns.append(("cap_bounding", str)) - elif self.config.get("ambient"): - columns.append(("cap_ambient", str)) - else: - columns.append(("cap_inheritable", format_hints.Hex)) - columns.append(("cap_permitted", format_hints.Hex)) - columns.append(("cap_effective", format_hints.Hex)) - columns.append(("cap_bounding", format_hints.Hex)) - columns.append(("cap_ambient", format_hints.Hex)) - return renderers.TreeGrid(columns, self._generator(tasks)) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 4b1c53683..641f77728 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -13,7 +13,7 @@ from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATES from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES -from volatility3.framework.constants.linux import CAPABILITIES +from volatility3.framework.constants.linux import CAPABILITIES, CAP_FULL from volatility3.framework import exceptions, objects, interfaces, symbols from volatility3.framework.layers import linear from volatility3.framework.objects import utility @@ -1508,7 +1508,7 @@ class kernel_cap_struct(objects.StructType): """ # In kernels 2.6.25.20 the kernel_cap_struct::cap became and array cap_value = self.cap[0] if isinstance(self.cap, objects.Array) else self.cap - return int(cap_value & 0xFFFFFFFF) + return cap_value & CAP_FULL def enumerate_capabilities(self) -> List[str]: """Returns the list of capability strings. From 239e164ce6b2237b1b5569bba9e540b5a5694a45 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 9 Jul 2023 23:50:13 +0100 Subject: [PATCH 0196/2186] Windows: Fix strings plugin missing kernel pages @eve-mem spotted that we were only recording the first kernel page in any contiguous set of kernel pages, thus missing some results. This should now be fixed. --- volatility3/framework/plugins/windows/strings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/strings.py b/volatility3/framework/plugins/windows/strings.py index 32f3df4c8..0eaa65884 100644 --- a/volatility3/framework/plugins/windows/strings.py +++ b/volatility3/framework/plugins/windows/strings.py @@ -149,9 +149,9 @@ class Strings(interfaces.plugins.PluginInterface): for mapval in layer.mapping(0x0, layer.maximum_address, ignore_errors=True): offset, _, mapped_offset, mapped_size, maplayer = mapval for val in range(mapped_offset, mapped_offset + mapped_size, 0x1000): - cur_set = reverse_map.get(mapped_offset >> 12, set()) + cur_set = reverse_map.get(val >> 12, set()) cur_set.add(("kernel", offset)) - reverse_map[mapped_offset >> 12] = cur_set + reverse_map[val >> 12] = cur_set if progress_callback: progress_callback( (offset * 100) / layer.maximum_address, From 63c7719763d8d5c5080840bad740d7fa6be14816 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 10 Jul 2023 01:01:30 +0200 Subject: [PATCH 0197/2186] Fixed returned types. An empty string is now returned when no capability is enabled. --- .../framework/plugins/linux/capabilities.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index 9a59f31c1..aa3edfe4b 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -114,8 +114,8 @@ class Capabilities(plugins.PluginInterface): return cap cap_value = cap.get_capabilities() - if cap_value == 0: - return "-" + if not cap_value: + return "" if cap_value == CAP_FULL: return "all" @@ -123,14 +123,16 @@ class Capabilities(plugins.PluginInterface): return ", ".join(cap.enumerate_capabilities()) @classmethod - def get_task_capabilities(cls, task: interfaces.objects.ObjectInterface) -> Dict: + def get_task_capabilities( + cls, task: interfaces.objects.ObjectInterface + ) -> Tuple[TaskData, CapabilitiesData]: """Returns a dict with the task basic information along with its capabilities Args: task: A task object from where to get the fields. Returns: - dict: A dict with the task basic information along with its capabilities + A tuple with the task basic information and its capabilities """ task_data = TaskData( comm=utility.array_to_string(task.comm), @@ -158,14 +160,14 @@ class Capabilities(plugins.PluginInterface): @classmethod def get_tasks_capabilities( cls, tasks: List[interfaces.objects.ObjectInterface] - ) -> Iterable[Dict]: + ) -> Iterable[Tuple[TaskData, CapabilitiesData]]: """Yields a dict for each task containing the task's basic information along with its capabilities Args: tasks: An iterable with the tasks to process. Yields: - Iterable[Dict]: A dict for each task containing the task's basic information along with its capabilities + A tuple for each task containing the task's basic information and its capabilities """ for task in tasks: yield cls.get_task_capabilities(task) From 38e9b6baa87dbfb9ad8795621aa97a5fd1c61b30 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 10 Jul 2023 01:08:46 +0200 Subject: [PATCH 0198/2186] Removed Dict type from the imports --- volatility3/framework/plugins/linux/capabilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index aa3edfe4b..0eb9e3b7a 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -4,7 +4,7 @@ import logging from dataclasses import dataclass, astuple, fields -from typing import Iterable, List, Tuple, Dict +from typing import Iterable, List, Tuple from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.constants.linux import CAP_FULL From 42fe37ed52cf62b5eebe073420e9a6245307eb60 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 10 Jul 2023 01:12:20 +0200 Subject: [PATCH 0199/2186] Adjust docstring to the new retuned type. --- volatility3/framework/plugins/linux/capabilities.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index 0eb9e3b7a..84d1d543f 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -126,7 +126,7 @@ class Capabilities(plugins.PluginInterface): def get_task_capabilities( cls, task: interfaces.objects.ObjectInterface ) -> Tuple[TaskData, CapabilitiesData]: - """Returns a dict with the task basic information along with its capabilities + """Returns a tuple with the task basic information along with its capabilities Args: task: A task object from where to get the fields. @@ -161,7 +161,7 @@ class Capabilities(plugins.PluginInterface): def get_tasks_capabilities( cls, tasks: List[interfaces.objects.ObjectInterface] ) -> Iterable[Tuple[TaskData, CapabilitiesData]]: - """Yields a dict for each task containing the task's basic information along with its capabilities + """Yields a tuple for each task containing the task's basic information along with its capabilities Args: tasks: An iterable with the tasks to process. From f8fc5d5e58495d9f45d900cd9041ba37d0d078dc Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 12 Jul 2023 14:43:38 +0900 Subject: [PATCH 0200/2186] Update pslist.py list modules in code in alphabetical order --- volatility3/framework/plugins/mac/pslist.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index dbed09818..88045a277 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -4,13 +4,13 @@ import datetime import logging -from typing import Callable, Iterable, List, Dict +from typing import Callable, Dict, Iterable, List -from volatility3.framework import renderers, interfaces, exceptions +from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility -from volatility3.framework.symbols import mac from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import mac vollog = logging.getLogger(__name__) From 338238c6396aa4c53a579a61a64eb4139de6cc76 Mon Sep 17 00:00:00 2001 From: RuBublik Date: Sun, 16 Jul 2023 00:10:31 +0300 Subject: [PATCH 0201/2186] fixed build number - resets when MINOR version goes up --- volatility3/framework/constants/__init__.py | 2 +- volatility3/framework/plugins/windows/thrdscan.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 09dded076..de1674885 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -45,7 +45,7 @@ BANG = "!" # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 5 # Number of changes that only add to the interface -VERSION_PATCH = 2 # Number of changes that do not change the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" # TODO: At version 2.0.0, remove the symbol_shift feature diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 4afc29cdb..6e19f9bd5 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -17,8 +17,8 @@ vollog = logging.getLogger(__name__) class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Scans for windows threads.""" - # version 2.5.2 adds support for scanning for 'Ethread' structures by pool tags - _required_framework_version = (2, 5, 2) + # version 2.5.0 adds support for scanning for 'Ethread' structures by pool tags + _required_framework_version = (2, 5, 0) _version = (1, 0, 0) @classmethod From 9ba3d9ba4e5ed4e239c81a59c50de0ca5db08ef1 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 19 Jul 2023 22:48:06 +0200 Subject: [PATCH 0202/2186] Several fixes: * The capabilities array was to have a 64bit bitwise. * Capabilities set has to be tested with the kernel maximum. We can't use the plugin capabilities set, otherwise we can have wrong interpretations when we tried to compress the list of capabilities to "all" * Supports kernels >= 6.3. They changed the kernel_cap_struct::cap type again to a u64 type. --- .../framework/constants/linux/__init__.py | 2 -- .../framework/plugins/linux/capabilities.py | 3 +- .../symbols/linux/extensions/__init__.py | 31 ++++++++++++++++--- 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index e57fa30d4..a802e0ada 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -279,5 +279,3 @@ CAPABILITIES = ( "bpf", "checkpoint_restore", ) - -CAP_FULL = 0xFFFFFFFF diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index 84d1d543f..518f52603 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -7,7 +7,6 @@ from dataclasses import dataclass, astuple, fields from typing import Iterable, List, Tuple from volatility3.framework import interfaces, renderers, exceptions -from volatility3.framework.constants.linux import CAP_FULL from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -117,7 +116,7 @@ class Capabilities(plugins.PluginInterface): if not cap_value: return "" - if cap_value == CAP_FULL: + if cap_value == cap.get_kernel_cap_full(): return "all" return ", ".join(cap.enumerate_capabilities()) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0137b2cc4..bc2c6e27b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -13,7 +13,7 @@ from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATES from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES -from volatility3.framework.constants.linux import CAPABILITIES, CAP_FULL +from volatility3.framework.constants.linux import CAPABILITIES from volatility3.framework import exceptions, objects, interfaces, symbols from volatility3.framework.layers import linear from volatility3.framework.objects import utility @@ -1482,6 +1482,21 @@ class kernel_cap_struct(objects.StructType): """ return len(CAPABILITIES) - 1 + def get_kernel_cap_full(self) -> int: + """Return the maximum value allowed for this kernel for a capability + + Returns: + int: _description_ + """ + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + try: + cap_last_cap = vmlinux.object_from_symbol(symbol_name="cap_last_cap") + except exceptions.SymbolError: + # It should be a kernel < 3.2, let's use our list of capabilities + cap_last_cap = self.get_last_cap_value() + + return (1 << cap_last_cap + 1) - 1 + @classmethod def capabilities_to_string(cls, capabilities_bitfield: int) -> List[str]: """Translates a capability bitfield to a list of capability strings. @@ -1506,9 +1521,17 @@ class kernel_cap_struct(objects.StructType): Returns: int: The capability bitfield value. """ - # In kernels 2.6.25.20 the kernel_cap_struct::cap became and array - cap_value = self.cap[0] if isinstance(self.cap, objects.Array) else self.cap - return cap_value & CAP_FULL + + if isinstance(self.cap, objects.Array): + # In 2.6.25.x <= kernels < 6.3 kernel_cap_struct::cap is an array + # to become a 64bit bitfield + cap_value = (self.cap[1] << 32) | self.cap[0] + else: + # In kernels < 2.6.25.x kernel_cap_struct::cap was a u32 + # In kernels >= 6.3 kernel_cap_struct::cap is a u64 + cap_value = self.cap + + return cap_value & self.get_kernel_cap_full() def enumerate_capabilities(self) -> List[str]: """Returns the list of capability strings. From 90da6298e0f69cbc42ef2a6e1da5863aae4d5031 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 20 Jul 2023 00:29:52 +0200 Subject: [PATCH 0203/2186] Added further details to the kernel_cap_struct::cap comments --- .../framework/symbols/linux/extensions/__init__.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index bc2c6e27b..527785a69 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1523,11 +1523,15 @@ class kernel_cap_struct(objects.StructType): """ if isinstance(self.cap, objects.Array): - # In 2.6.25.x <= kernels < 6.3 kernel_cap_struct::cap is an array - # to become a 64bit bitfield + # In 2.6.25.x <= kernels < 6.3 kernel_cap_struct::cap is a two + # elements __u32 array that constitutes a 64bit bitfield. + # Technically, it can also be an array of 1 element if + # _KERNEL_CAPABILITY_U32S = _LINUX_CAPABILITY_U32S_1 + # However, in the source code, that never happens. + # From 2.6.24 to 2.6.25 cap became an array of 2 elements. cap_value = (self.cap[1] << 32) | self.cap[0] else: - # In kernels < 2.6.25.x kernel_cap_struct::cap was a u32 + # In kernels < 2.6.25.x kernel_cap_struct::cap was a __u32 # In kernels >= 6.3 kernel_cap_struct::cap is a u64 cap_value = self.cap From 0a6deae6bd6de1ac3f5c5cbdefa1f201e9c16b44 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 21 Jul 2023 12:52:21 +0200 Subject: [PATCH 0204/2186] This will fix #985. It requires the changes in dwarf2json mentioned in this ticket. --- .../framework/symbols/linux/__init__.py | 3 +- .../symbols/linux/extensions/__init__.py | 56 +++++++++++++++---- 2 files changed, 46 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 5c42a436d..e9306b3d8 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -29,10 +29,11 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("files_struct", extensions.files_struct) self.set_type_class("kobject", extensions.kobject) self.set_type_class("cred", extensions.cred) - self.set_type_class("kernel_cap_struct", extensions.kernel_cap_struct) # Might not exist in the current symbols self.optional_set_type_class("module", extensions.module) self.optional_set_type_class("bpf_prog", extensions.bpf_prog) + self.optional_set_type_class("kernel_cap_struct", extensions.kernel_cap_struct) + self.optional_set_type_class("kernel_cap_t", extensions.kernel_cap_t) # Mount self.set_type_class("vfsmount", extensions.vfsmount) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 527785a69..0578b629d 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1472,13 +1472,13 @@ class cred(objects.StructType): class kernel_cap_struct(objects.StructType): - # struct kernel_cap_struct was added in kernels 2.5.0 + # struct kernel_cap_struct exists from 2.1.92 <= kernels < 6.3 @classmethod def get_last_cap_value(cls) -> int: """Returns the latest capability ID supported by the framework. Returns: - int: The latest supported capability ID supported by the framework. + int: The latest capability ID supported by the framework. """ return len(CAPABILITIES) - 1 @@ -1486,7 +1486,7 @@ class kernel_cap_struct(objects.StructType): """Return the maximum value allowed for this kernel for a capability Returns: - int: _description_ + int: The capability full bitfield mask """ vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) try: @@ -1522,17 +1522,29 @@ class kernel_cap_struct(objects.StructType): int: The capability bitfield value. """ + if not self.has_member("cap"): + raise exceptions.VolatilityException( + "Unsupported kernel capabilities implementation" + ) + if isinstance(self.cap, objects.Array): - # In 2.6.25.x <= kernels < 6.3 kernel_cap_struct::cap is a two - # elements __u32 array that constitutes a 64bit bitfield. - # Technically, it can also be an array of 1 element if - # _KERNEL_CAPABILITY_U32S = _LINUX_CAPABILITY_U32S_1 - # However, in the source code, that never happens. - # From 2.6.24 to 2.6.25 cap became an array of 2 elements. - cap_value = (self.cap[1] << 32) | self.cap[0] + if len(self.cap) == 1: + # At least in the vanilla kernel, from 2.6.24 to 2.6.25 + # kernel_cap_struct::cap become a two elements array. + # However, in some distros or custom kernel can techically + # be _KERNEL_CAPABILITY_U32S = _LINUX_CAPABILITY_U32S_1 + # Leaving this code here for the sake of ensuring completeness. + cap_value = self.cap[0] + elif len(self.cap) == 2: + # In 2.6.25.x <= kernels < 6.3 kernel_cap_struct::cap is a two + # elements __u32 array that constitutes a 64bit bitfield. + cap_value = (self.cap[1] << 32) | self.cap[0] + else: + raise exceptions.VolatilityException( + "Unsupported kernel capabilities implementation" + ) else: - # In kernels < 2.6.25.x kernel_cap_struct::cap was a __u32 - # In kernels >= 6.3 kernel_cap_struct::cap is a u64 + # In kernels < 2.6.25.x kernel_cap_struct::cap is a __u32 cap_value = self.cap return cap_value & self.get_kernel_cap_full() @@ -1563,3 +1575,23 @@ class kernel_cap_struct(objects.StructType): cap_value = 1 << CAPABILITIES.index(capability) return cap_value & self.get_capabilities() != 0 + + +class kernel_cap_t(kernel_cap_struct): + # In kernels 6.3 kernel_cap_struct became the kernel_cap_t typedef + def get_capabilities(self) -> int: + """Returns the capability bitfield value + + Returns: + int: The capability bitfield value. + """ + + if self.has_member("val"): + # In kernels >= 6.3 kernel_cap_t::val is a u64 + cap_value = self.val + else: + raise exceptions.VolatilityException( + "Unsupported kernel capabilities implementation" + ) + + return cap_value & self.get_kernel_cap_full() From 8373b5ed5ac8fe73a67c2d0c8b4f69367d60e9d0 Mon Sep 17 00:00:00 2001 From: cstation Date: Sat, 22 Jul 2023 18:52:39 +0200 Subject: [PATCH 0205/2186] Push ELF export limit to a constant --- volatility3/framework/constants/linux/__init__.py | 2 ++ volatility3/framework/plugins/linux/elfs.py | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 1b133eb42..ba7181db8 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -234,3 +234,5 @@ BLUETOOTH_PROTOCOLS = ( "HIDP", "AVDTP", ) + +ELF_MAX_EXTRACTION_SIZE = 1024 * 1024 * 1024 * 4 - 1 diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index 23bdf1c3a..c6334c977 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -105,8 +105,9 @@ class Elfs(plugins.PluginInterface): real_size = end - start - if real_size < 0 or real_size > 100000000: - continue + # Check if ELF has a legitimate size + if real_size < 0 or real_size > constants.linux.ELF_MAX_EXTRACTION_SIZE: + raise ValueError(f"The claimed size of the ELF is invalid: {real_size}") sections[start] = real_size From d53714fac84ce3c31fef6cd2b5b5dc6201ec5315 Mon Sep 17 00:00:00 2001 From: cstation Date: Sat, 22 Jul 2023 17:03:57 +0000 Subject: [PATCH 0206/2186] Fix linting --- volatility3/framework/constants/linux/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index e5132f6ce..6e8883f19 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -280,4 +280,4 @@ CAPABILITIES = ( "checkpoint_restore", ) -ELF_MAX_EXTRACTION_SIZE = 1024 * 1024 * 1024 * 4 - 1 \ No newline at end of file +ELF_MAX_EXTRACTION_SIZE = 1024 * 1024 * 1024 * 4 - 1 From d872abaf302291cbffed1695bccbeb2805aa4c1e Mon Sep 17 00:00:00 2001 From: xabrouck Date: Thu, 27 Jul 2023 09:28:53 +0200 Subject: [PATCH 0207/2186] fix bug in snappy lib loading and make it work on macOS. --- volatility3/framework/layers/avml.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/layers/avml.py b/volatility3/framework/layers/avml.py index c9c682ac4..1f4a7e053 100644 --- a/volatility3/framework/layers/avml.py +++ b/volatility3/framework/layers/avml.py @@ -19,11 +19,17 @@ vollog = logging.getLogger(__name__) try: # TODO: Find library for windows if needed try: - # Linux/Mac + # Linux lib_snappy = ctypes.cdll.LoadLibrary("libsnappy.so.1") except OSError: lib_snappy = None + try: + # macOS + lib_snappy = ctypes.cdll.LoadLibrary("libsnappy.1.dylib") + except OSError: + lib_snappy = None + try: if not lib_snappy: # Windows 64 @@ -31,7 +37,7 @@ try: except OSError: lib_snappy = None - if lib_snappy: + if not lib_snappy: # Windows 32 lib_snappy = ctypes.cdll.LoadLibrary("snappy32") From a226b90b4de512f3777210a361297b7a81324d53 Mon Sep 17 00:00:00 2001 From: xabrouck Date: Thu, 27 Jul 2023 09:37:57 +0200 Subject: [PATCH 0208/2186] previous commit would break linux snappy support --- volatility3/framework/layers/avml.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/layers/avml.py b/volatility3/framework/layers/avml.py index 1f4a7e053..c825464cc 100644 --- a/volatility3/framework/layers/avml.py +++ b/volatility3/framework/layers/avml.py @@ -25,8 +25,9 @@ try: lib_snappy = None try: - # macOS - lib_snappy = ctypes.cdll.LoadLibrary("libsnappy.1.dylib") + if not lib_snappy: + # macOS + lib_snappy = ctypes.cdll.LoadLibrary("libsnappy.1.dylib") except OSError: lib_snappy = None From 5d4c70d5174ff354176288fcd17ca2d1acaf2f56 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 3 Aug 2023 15:16:36 +0100 Subject: [PATCH 0209/2186] Documentation: Fix requirements -> get_requirements #993 --- doc/source/using-as-a-library.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/source/using-as-a-library.rst b/doc/source/using-as-a-library.rst index c63adcfc3..fb012f1ae 100644 --- a/doc/source/using-as-a-library.rst +++ b/doc/source/using-as-a-library.rst @@ -67,9 +67,10 @@ return a dictionary of plugin names and the plugin classes. Determine what configuration options a plugin requires ------------------------------------------------------ -For each plugin class, we can call the classmethod `requirements` on it, which will return a list of objects that -adhere to the :py:class:`~volatility3.framework.interfaces.configuration.RequirementInterface` method. The various -types of Requirement are split roughly in two, +For each plugin class, we can call the classmethod +:py:func:`~volatility3.framework.interfaces.configuration.ConfigurableInterface.get_requirements` on it, which will +return a list of objects that adhere to the :py:class:`~volatility3.framework.interfaces.configuration.RequirementInterface` +method. The various types of Requirement are split roughly in two, :py:class:`~volatility3.framework.interfaces.configuration.SimpleTypeRequirement` (such as integers, booleans, floats and strings) and more complex requirements (such as lists, choices, multiple requirements, translation layer requirements or symbol table requirements). A requirement just specifies a type of data and a name, and must be From 7c82da4f5044a4bf35028c01924e659ccac5e828 Mon Sep 17 00:00:00 2001 From: xabrouck Date: Mon, 14 Aug 2023 11:53:14 +0200 Subject: [PATCH 0210/2186] check IoC of dirty bit in PTEs from executable VMAs. this can for example detect code injected using ptrace(). this can also detect injected code that was reset to the original code (malware uninstalled before memory dump happened). --- volatility3/framework/layers/intel.py | 9 +++++++++ volatility3/framework/plugins/linux/malfind.py | 2 +- .../framework/symbols/linux/extensions/__init__.py | 11 ++++++++++- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 478eb168f..e2d89540d 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -110,6 +110,11 @@ class Intel(linear.LinearlyMappedLayer): def _page_is_valid(entry: int) -> bool: """Returns whether a particular page is valid based on its entry.""" return bool(entry & 1) + + @staticmethod + def _page_is_dirty(entry: int) -> bool: + """Returns whether a particular page is dirty based on its entry.""" + return bool(entry & (1<<6)) def canonicalize(self, addr: int) -> int: """Canonicalizes an address by performing an appropiate sign extension on the higher addresses""" @@ -259,6 +264,10 @@ class Intel(linear.LinearlyMappedLayer): except exceptions.InvalidAddressException: return False + def is_dirty(self, offset: int) -> bool: + """Returns whether the page at offset is marked dirty""" + return self._page_is_dirty(self._translate_entry(offset)[0]) + def mapping( self, offset: int, length: int, ignore_errors: bool = False ) -> Iterable[Tuple[int, int, int, int, str]]: diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 1fd005de8..332d5ede1 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -47,7 +47,7 @@ class Malfind(interfaces.plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] for vma in task.mm.get_vma_iter(): - if vma.is_suspicious() and vma.get_name(self.context, task) != "[vdso]": + if vma.is_suspicious(proc_layer) and vma.get_name(self.context, task) != "[vdso]": data = proc_layer.read(vma.vm_start, 64, pad=True) yield vma, data diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 527785a69..d2e6197ef 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -578,7 +578,7 @@ class vm_area_struct(objects.StructType): return fname # used by malfind - def is_suspicious(self): + def is_suspicious(self, proclayer): ret = False flags_str = self.get_protection() @@ -587,6 +587,15 @@ class vm_area_struct(objects.StructType): ret = True elif flags_str == "r-x" and self.vm_file.dereference().vol.offset == 0: ret = True + elif "x" in flags_str: + for i in range(self.vm_start,self.vm_end,constants.linux.PAGE_SHIFT): + try: + if proclayer.is_dirty(i): + vollog.warning(f"Found malicious (dirty+exec) page at {hex(i)} !") + ret = True + break + except (exceptions.PagedInvalidAddressException, exceptions.InvalidAddressException): + pass return ret From 581c493f4fdb685053b408029dd56f18a3acda78 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 16 Aug 2023 21:35:11 +0100 Subject: [PATCH 0211/2186] Add in action to make old tickets stale. --- .github/workflows/stale.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000..925a9f624 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +name: Close inactive issues +on: + schedule: + - cron: "30 1 * * *" + +jobs: + close-issues: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v5 + with: + days-before-issue-stale: 200 + days-before-issue-close: 60 + stale-issue-label: "stale" + stale-issue-message: "This issue is stale because it has been open for 200 days with no activity." + close-issue-message: "This issue was closed because it has been inactive for 60 days since being marked as stale." + days-before-pr-stale: -1 + days-before-pr-close: -1 + repo-token: ${{ secrets.GITHUB_TOKEN }} + exempt-issue-labels: "enhancement,plugin-request,question" From 804d68d94d507747d42f018baa3255dfe8635b4d Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Thu, 17 Aug 2023 13:38:23 +0100 Subject: [PATCH 0212/2186] Linux: fix bug where get_process_memory_sections fails with 6.1+ kernels --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 527785a69..a40a87d5c 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -203,7 +203,7 @@ class task_struct(generic.GenericIntelProcess): ) -> Generator[Tuple[int, int], None, None]: """Returns a list of sections based on the memory manager's view of this task's virtual memory.""" - for vma in self.mm.get_mmap_iter(): + for vma in self.mm.get_vma_iter(): start = int(vma.vm_start) end = int(vma.vm_end) From 6f7f1284adbbcfacd759ec0d931859e0789cfc8a Mon Sep 17 00:00:00 2001 From: xabrouck Date: Fri, 18 Aug 2023 11:37:04 +0200 Subject: [PATCH 0213/2186] Fix bug with PAGE_SHIFT that wasn't shifted, also greatly increases performance Use black Better logging --- volatility3/framework/layers/intel.py | 6 +++--- .../framework/plugins/linux/malfind.py | 13 ++++++++++-- .../symbols/linux/extensions/__init__.py | 21 +++++++++++++------ 3 files changed, 29 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index e2d89540d..046203fa6 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -110,11 +110,11 @@ class Intel(linear.LinearlyMappedLayer): def _page_is_valid(entry: int) -> bool: """Returns whether a particular page is valid based on its entry.""" return bool(entry & 1) - + @staticmethod def _page_is_dirty(entry: int) -> bool: """Returns whether a particular page is dirty based on its entry.""" - return bool(entry & (1<<6)) + return bool(entry & (1 << 6)) def canonicalize(self, addr: int) -> int: """Canonicalizes an address by performing an appropiate sign extension on the higher addresses""" @@ -267,7 +267,7 @@ class Intel(linear.LinearlyMappedLayer): def is_dirty(self, offset: int) -> bool: """Returns whether the page at offset is marked dirty""" return self._page_is_dirty(self._translate_entry(offset)[0]) - + def mapping( self, offset: int, length: int, ignore_errors: bool = False ) -> Iterable[Tuple[int, int, int, int, str]]: diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 332d5ede1..8a21afc03 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -3,7 +3,7 @@ # from typing import List - +import logging from volatility3.framework import constants, interfaces from volatility3.framework import renderers from volatility3.framework.configuration import requirements @@ -11,6 +11,8 @@ from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.plugins.linux import pslist +vollog = logging.getLogger(__name__) + class Malfind(interfaces.plugins.PluginInterface): """Lists process memory ranges that potentially contain injected code.""" @@ -47,7 +49,14 @@ class Malfind(interfaces.plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] for vma in task.mm.get_vma_iter(): - if vma.is_suspicious(proc_layer) and vma.get_name(self.context, task) != "[vdso]": + vma_name = vma.get_name(self.context, task) + vollog.debug( + f"Injections : processing PID {task.pid} : VMA {vma_name} : {hex(vma.vm_start)}-{hex(vma.vm_end)}" + ) + if ( + vma.is_suspicious(proc_layer) + and vma.get_name(self.context, task) != "[vdso]" + ): data = proc_layer.read(vma.vm_start, 64, pad=True) yield vma, data diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d2e6197ef..616e54e70 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -578,7 +578,7 @@ class vm_area_struct(objects.StructType): return fname # used by malfind - def is_suspicious(self, proclayer): + def is_suspicious(self, proclayer=None): ret = False flags_str = self.get_protection() @@ -587,15 +587,24 @@ class vm_area_struct(objects.StructType): ret = True elif flags_str == "r-x" and self.vm_file.dereference().vol.offset == 0: ret = True - elif "x" in flags_str: - for i in range(self.vm_start,self.vm_end,constants.linux.PAGE_SHIFT): + elif proclayer and "x" in flags_str: + for i in range(self.vm_start, self.vm_end, 1 << constants.linux.PAGE_SHIFT): try: if proclayer.is_dirty(i): - vollog.warning(f"Found malicious (dirty+exec) page at {hex(i)} !") + vollog.warning( + f"Found malicious (dirty+exec) page at {hex(i)} !" + ) + # We do not attempt to find other dirty+exec pages once we have found one ret = True break - except (exceptions.PagedInvalidAddressException, exceptions.InvalidAddressException): - pass + except ( + exceptions.PagedInvalidAddressException, + exceptions.InvalidAddressException, + ) as excp: + vollog.debug(f"Unable to translate address {hex(i)} : {excp}") + # Abort as it is likely that other addresses in the same range will also fail + ret = False + break return ret From 9b5c4b04158756133fdb74d3d20ded7d2079d776 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 22 Aug 2023 15:56:18 +1000 Subject: [PATCH 0214/2186] fix comment typo --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0578b629d..0144e31b7 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1531,7 +1531,7 @@ class kernel_cap_struct(objects.StructType): if len(self.cap) == 1: # At least in the vanilla kernel, from 2.6.24 to 2.6.25 # kernel_cap_struct::cap become a two elements array. - # However, in some distros or custom kernel can techically + # However, in some distros or custom kernel can technically # be _KERNEL_CAPABILITY_U32S = _LINUX_CAPABILITY_U32S_1 # Leaving this code here for the sake of ensuring completeness. cap_value = self.cap[0] From 5c80a66d6dd9b3bc2400a4a8062ed30add10ce4b Mon Sep 17 00:00:00 2001 From: 616c696365 <616c696365@localhost.com> Date: Wed, 30 Aug 2023 20:12:12 +0100 Subject: [PATCH 0215/2186] Windows: Update pslist.py, add friendly option --- .../framework/plugins/windows/pslist.py | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 88697e71a..806bb678e 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -50,6 +50,12 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): default=False, optional=True, ), + requirements.BooleanRequirement( + name="friendly", + description="Display process name in dump filename", + default=False, + optional=True, + ), ] @classmethod @@ -60,6 +66,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): pe_table_name: str, proc: interfaces.objects.ObjectInterface, open_method: Type[interfaces.plugins.FileHandlerInterface], + friendly: bool = False, ) -> interfaces.plugins.FileHandlerInterface: """Extracts the complete data for a process as a FileHandlerInterface @@ -90,9 +97,20 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): offset=peb.ImageBaseAddress, layer_name=proc_layer_name, ) - file_handle = open_method( - f"pid.{proc.UniqueProcessId}.{peb.ImageBaseAddress:#x}.dmp" + + process_name = proc.ImageFileName.cast( + "string", + max_length=proc.ImageFileName.vol.count, + errors="replace", ) + if friendly: + file_handle = open_method( + f"{proc.UniqueProcessId}.{process_name}.{peb.ImageBaseAddress:#x}.dmp" + ) + else: + file_handle = open_method( + f"pid.{proc.UniqueProcessId}.{peb.ImageBaseAddress:#x}.dmp" + ) for offset, data in dos_header.reconstruct(): file_handle.seek(offset) file_handle.write(data) @@ -243,6 +261,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): pe_table_name, proc, self.open, + self.config["friendly"], ) file_output = "Error outputting file" if file_handle: From b4c6b661f01fc3dde54362a4f55be4d89e4cc6e5 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 3 Sep 2023 21:11:36 +0100 Subject: [PATCH 0216/2186] Core: Include only volatility3 in distributions packages Fixes #951 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 936a12af2..cfcda3d5c 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ setuptools.setup( include_package_data=True, exclude_package_data={"": ["development", "development.*"], "development": ["*"]}, packages=setuptools.find_namespace_packages( - exclude=["development", "development.*"] + include=["volatility3"] ), entry_points={ "console_scripts": [ From da203f7d6828fdeca1fd8f4d85361e65813804eb Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 3 Sep 2023 21:33:32 +0100 Subject: [PATCH 0217/2186] Documentation: Improve library documentation Fixes #993. --- doc/source/conf.py | 2 +- doc/source/using-as-a-library.rst | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 8b467ec1d..d601c1eee 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -27,7 +27,7 @@ def setup(app): source_dir = os.path.abspath(os.path.dirname(__file__)) sphinx.ext.apidoc.main( - argv=["-e", "-M", "-f", "-T", "-o", source_dir, volatility_directory] + ["-e", "-M", "-f", "-T", "-o", source_dir, volatility_directory] ) # Go through the volatility3.framework.plugins files and change them to volatility3.plugins diff --git a/doc/source/using-as-a-library.rst b/doc/source/using-as-a-library.rst index fb012f1ae..4acf35f98 100644 --- a/doc/source/using-as-a-library.rst +++ b/doc/source/using-as-a-library.rst @@ -54,6 +54,12 @@ also be included, which can be found in `volatility3.constants.PLUGINS_PATH`. volatility3.plugins.__path__ = + constants.PLUGINS_PATH failures = framework.import_files(volatility3.plugins, True) +.. note:: + + Volatility uses the `volatility3.plugins` namespace for all plugins (including those in `volatility3.framework.plugins`). + Please ensure you only use `volatility3.plugins` and only ever import plugins from this namespace. + This ensures the ability of users to override core plugins without needing write access to the framework directory. + Once the plugins have been imported, we can interrogate which plugins are available. The :py:func:`~volatility3.framework.list_plugins` call will return a dictionary of plugin names and the plugin classes. From 52207e09332f4322c33139aee63d9e104e0a05f6 Mon Sep 17 00:00:00 2001 From: Eve Date: Mon, 4 Sep 2023 17:44:24 +0100 Subject: [PATCH 0218/2186] Add extra debug information for layer stacker to show file size of the physical file --- volatility3/framework/automagic/stacker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/framework/automagic/stacker.py b/volatility3/framework/automagic/stacker.py index e611b5f06..d966d99fa 100644 --- a/volatility3/framework/automagic/stacker.py +++ b/volatility3/framework/automagic/stacker.py @@ -156,6 +156,9 @@ class LayerStacker(interfaces.automagic.AutomagicInterface): self._cached = context.config.get(path, None), context.config.branch( path ) + vollog.debug( + f"physical_layer maximum_address: {physical_layer.maximum_address}" + ) vollog.debug(f"Stacked layers: {stacked_layers}") @classmethod From 455487dbb65644ac8c633fdcda6351bbc3011019 Mon Sep 17 00:00:00 2001 From: xabrouck Date: Tue, 5 Sep 2023 16:20:46 +0200 Subject: [PATCH 0219/2186] Making cred optional as it didn't exist in old 2.6 kernels --- volatility3/framework/symbols/linux/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 5c42a436d..f96302684 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -28,7 +28,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("fs_struct", extensions.fs_struct) self.set_type_class("files_struct", extensions.files_struct) self.set_type_class("kobject", extensions.kobject) - self.set_type_class("cred", extensions.cred) + self.optional_set_type_class("cred", extensions.cred) self.set_type_class("kernel_cap_struct", extensions.kernel_cap_struct) # Might not exist in the current symbols self.optional_set_type_class("module", extensions.module) From 05df365936a5965171632c7b0b0dbd1bee6c08a9 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 5 Sep 2023 18:23:48 +0100 Subject: [PATCH 0220/2186] Core: Fix missing packages in setup.py Fixes #1002. --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index cfcda3d5c..44ece8484 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ with open("README.md", "r", encoding="utf-8") as fh: def get_install_requires(): requirements = [] - with open("requirements-minimal.txt", "r", encoding = "utf-8") as fh: + with open("requirements-minimal.txt", "r", encoding="utf-8") as fh: for line in fh.readlines(): stripped_line = line.strip() if stripped_line == "" or stripped_line.startswith("#"): @@ -20,6 +20,7 @@ def get_install_requires(): requirements.append(stripped_line) return requirements + setuptools.setup( name="volatility3", description="Memory forensics framework", @@ -39,9 +40,8 @@ setuptools.setup( python_requires=">=3.7.0", include_package_data=True, exclude_package_data={"": ["development", "development.*"], "development": ["*"]}, - packages=setuptools.find_namespace_packages( - include=["volatility3"] - ), + packages=setuptools.find_namespace_packages(where="volatility3"), + package_dir={"": "volatility3"}, entry_points={ "console_scripts": [ "vol = volatility3.cli:main", From 627e2fbab92b30c389be91688fed01f4620c30a0 Mon Sep 17 00:00:00 2001 From: Shutdown <40902872+ShutdownRepo@users.noreply.github.com> Date: Tue, 5 Sep 2023 22:27:53 +0200 Subject: [PATCH 0221/2186] Adding install.yml workflow --- .github/workflows/install.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/install.yml diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml new file mode 100644 index 000000000..e7f9936b6 --- /dev/null +++ b/.github/workflows/install.yml @@ -0,0 +1,29 @@ +name: Test install Volatility3 +on: [push, pull_request] +jobs: + + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.7"] + steps: + - uses: actions/checkout@v3 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Setup python-pip + run: python -m pip install --upgrade pip + + - name: Install dependencies + run: | + pip install -r requirements.txt + + - name: Install volatility3 + run: pip install . + + - name: Run volatility3 + run: vol --help \ No newline at end of file From 2a67aa639a63b35b2203da07b64be4603d8d8ead Mon Sep 17 00:00:00 2001 From: Shutdown <40902872+ShutdownRepo@users.noreply.github.com> Date: Tue, 5 Sep 2023 22:29:25 +0200 Subject: [PATCH 0222/2186] Removing Python version --- .github/workflows/install.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index e7f9936b6..51768cc56 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -1,19 +1,14 @@ -name: Test install Volatility3 +name: Install Volatility3 test on: [push, pull_request] jobs: - build: + install: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.7"] steps: - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - name: Setup python-pip run: python -m pip install --upgrade pip From 9982a44131f76987cbd55513a16d3582d27bb505 Mon Sep 17 00:00:00 2001 From: Shutdown <40902872+ShutdownRepo@users.noreply.github.com> Date: Tue, 5 Sep 2023 22:36:40 +0200 Subject: [PATCH 0223/2186] Adding matrix strategy for hosts and python version --- .github/workflows/install.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 51768cc56..9ac14e6c6 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -2,13 +2,20 @@ name: Install Volatility3 test on: [push, pull_request] jobs: - install: - runs-on: ubuntu-latest + install_test: + runs-on: ${{ matrix.host }} + strategy: + matrix: + fail-fast: false + host: [ ubuntu-latest, macOS-latest, windows-latest ] + python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] steps: - uses: actions/checkout@v3 - - name: Set up Python + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} - name: Setup python-pip run: python -m pip install --upgrade pip From ef341d54d6edb665b629799a76207f0f4a113f7b Mon Sep 17 00:00:00 2001 From: Shutdown <40902872+ShutdownRepo@users.noreply.github.com> Date: Tue, 5 Sep 2023 22:37:45 +0200 Subject: [PATCH 0224/2186] Fixing fail-fast strategy --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 9ac14e6c6..0a5fec25e 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -5,8 +5,8 @@ jobs: install_test: runs-on: ${{ matrix.host }} strategy: + fail-fast: false matrix: - fail-fast: false host: [ ubuntu-latest, macOS-latest, windows-latest ] python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] steps: From 9d2fd4051731ac696718cf40bb6e6543c6a1f40f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 5 Sep 2023 23:07:57 +0100 Subject: [PATCH 0225/2186] Revert "Core: Include only volatility3 in distributions packages" This reverts commit b4c6b661f01fc3dde54362a4f55be4d89e4cc6e5. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cfcda3d5c..936a12af2 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ setuptools.setup( include_package_data=True, exclude_package_data={"": ["development", "development.*"], "development": ["*"]}, packages=setuptools.find_namespace_packages( - include=["volatility3"] + exclude=["development", "development.*"] ), entry_points={ "console_scripts": [ From 803c56e3c4c6495b2725b77cc7d045e39c98a9bd Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 5 Sep 2023 23:51:17 +0100 Subject: [PATCH 0226/2186] Core: include the volatility3 package and all volatility3 subpackages --- setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 44ece8484..c2c55067d 100644 --- a/setup.py +++ b/setup.py @@ -37,11 +37,12 @@ setuptools.setup( "Documentation": "https://volatility3.readthedocs.io/", "Source Code": "https://github.com/volatilityfoundation/volatility3", }, + packages=setuptools.find_namespace_packages( + include=["volatility3", "volatility3.*"] + ), + package_dir={"volatility3": "volatility3"}, python_requires=">=3.7.0", include_package_data=True, - exclude_package_data={"": ["development", "development.*"], "development": ["*"]}, - packages=setuptools.find_namespace_packages(where="volatility3"), - package_dir={"": "volatility3"}, entry_points={ "console_scripts": [ "vol = volatility3.cli:main", From 47ddf5d0e5142d6deeb071225ebb2d8bc366d381 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 6 Sep 2023 20:34:13 +0100 Subject: [PATCH 0227/2186] Core: Bump the version after 2.5.0 release branch --- volatility3/framework/constants/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index de1674885..c3ebaca27 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -45,7 +45,7 @@ BANG = "!" # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 5 # Number of changes that only add to the interface -VERSION_PATCH = 0 # Number of changes that do not change the interface +VERSION_PATCH = 1 # Number of changes that do not change the interface VERSION_SUFFIX = "" # TODO: At version 2.0.0, remove the symbol_shift feature From 370b6774ea3de8fb98bf625ed30b4347d68e2b54 Mon Sep 17 00:00:00 2001 From: Shutdown <40902872+ShutdownRepo@users.noreply.github.com> Date: Sun, 17 Sep 2023 23:21:56 +0200 Subject: [PATCH 0228/2186] Remove macOS from matrix hosts --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 0a5fec25e..cc2a7fd3e 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: false matrix: - host: [ ubuntu-latest, macOS-latest, windows-latest ] + host: [ ubuntu-latest, windows-latest ] python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] steps: - uses: actions/checkout@v3 From 43bef641dc9b79f6ba3f5c0e345e9d76ffcd1318 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 27 Sep 2023 20:37:38 +0100 Subject: [PATCH 0229/2186] Revert "Linux: Fix slight issue in envvars renaming" This reverts commit 60292c2da1efa886d0f46bd720af537a6069a623. --- volatility3/framework/plugins/linux/envars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index 758943312..c4e3ed3c9 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -1,4 +1,4 @@ -from volatility3.plugins.linux import envvars +from volatility3.plugins import envvars import logging vollog = logging.getLogger(__name__) From 56cb5ea93ba74819ba4fe3a9bec39220d6d60d43 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 27 Sep 2023 20:37:51 +0100 Subject: [PATCH 0230/2186] Revert "Linux: Rename linux.envars to linux.envvars" This reverts commit d9a365d96fcd990c7faba32ab7aa63523203e9f8. --- volatility3/framework/plugins/linux/envars.py | 121 +++++++++++++++++- .../framework/plugins/linux/envvars.py | 121 ------------------ 2 files changed, 115 insertions(+), 127 deletions(-) delete mode 100644 volatility3/framework/plugins/linux/envvars.py diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index c4e3ed3c9..5cbf0f502 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -1,12 +1,121 @@ -from volatility3.plugins import envvars +# This file is Copyright 2022 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + import logging +from volatility3.framework import exceptions, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.objects import utility +from volatility3.plugins.linux import pslist + vollog = logging.getLogger(__name__) -class Envars(envvars.Envvars): - def run(self, *args, **kwargs): - vollog.warning( - "The linux.envars plugin has been renamed to linux.envvars and will only be accessible through the new name in a future release" +class Envars(plugins.PluginInterface): + """Lists processes with their environment variables""" + + _required_framework_version = (2, 0, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.ListRequirement( + name="pid", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + ] + + def _generator(self, tasks): + """Generates a listing of processes along with environment variables""" + + # walk the process list and return the envars + for task in tasks: + pid = task.pid + + # get process name as string + name = utility.array_to_string(task.comm) + + # try and get task parent + try: + ppid = task.parent.pid + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to read parent pid for task {pid} {name}, setting ppid to 0." + ) + ppid = 0 + + # kernel threads never have an mm as they do not have userland mappings + try: + mm = task.mm + except exceptions.InvalidAddressException: + # no mm so cannot get envars + vollog.debug( + f"Unable to access mm for task {pid} {name} it is likely a kernel thread, will not extract any envars." + ) + mm = None + continue + + # if mm exists attempt to get envars + if mm: + # get process layer to read envars from + proc_layer_name = task.add_process_layer() + if proc_layer_name is None: + vollog.debug( + f"Unable to construct process layer for task {pid} {name}, will not extract any envars." + ) + continue + proc_layer = self.context.layers[proc_layer_name] + + # get the size of the envars with sanity checking + envars_size = task.mm.env_end - task.mm.env_start + if not (0 < envars_size <= 8192): + vollog.debug( + f"Task {pid} {name} appears to have envars of size {envars_size} bytes which fails the sanity checking, will not extract any envars." + ) + continue + + # attempt to read all envars data + try: + envar_data = proc_layer.read(task.mm.env_start, envars_size) + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to read full envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)} for {envars_size} bytes, will not extract any envars." + ) + continue + + # parse envar data, envars are null terminated, keys and values are separated by '=' + envar_data = envar_data.rstrip(b"\x00") + for envar_pair in envar_data.split(b"\x00"): + try: + key, value = envar_pair.decode().split("=", 1) + except ValueError: + vollog.debug( + f"Unable to extract envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)}, they don't appear to be '=' separated" + ) + continue + yield (0, (pid, ppid, name, key, value)) + + def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + return renderers.TreeGrid( + [("PID", int), ("PPID", int), ("COMM", str), ("KEY", str), ("VALUE", str)], + self._generator( + pslist.PsList.list_tasks( + self.context, self.config["kernel"], filter_func=filter_func + ) + ), ) - return super().run(*args, **kwargs) diff --git a/volatility3/framework/plugins/linux/envvars.py b/volatility3/framework/plugins/linux/envvars.py deleted file mode 100644 index 1d6c8b784..000000000 --- a/volatility3/framework/plugins/linux/envvars.py +++ /dev/null @@ -1,121 +0,0 @@ -# This file is Copyright 2022 Volatility Foundation and licensed under the Volatility Software License 1.0 -# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 -# - -import logging - -from volatility3.framework import exceptions, renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins -from volatility3.framework.objects import utility -from volatility3.plugins.linux import pslist - -vollog = logging.getLogger(__name__) - - -class Envvars(plugins.PluginInterface): - """Lists processes with their environment variables""" - - _required_framework_version = (2, 0, 0) - - @classmethod - def get_requirements(cls): - # Since we're calling the plugin, make sure we have the plugin's requirements - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) - ), - requirements.ListRequirement( - name="pid", - description="Filter on specific process IDs", - element_type=int, - optional=True, - ), - ] - - def _generator(self, tasks): - """Generates a listing of processes along with environment variables""" - - # walk the process list and return the envars - for task in tasks: - pid = task.pid - - # get process name as string - name = utility.array_to_string(task.comm) - - # try and get task parent - try: - ppid = task.parent.pid - except exceptions.InvalidAddressException: - vollog.debug( - f"Unable to read parent pid for task {pid} {name}, setting ppid to 0." - ) - ppid = 0 - - # kernel threads never have an mm as they do not have userland mappings - try: - mm = task.mm - except exceptions.InvalidAddressException: - # no mm so cannot get envars - vollog.debug( - f"Unable to access mm for task {pid} {name} it is likely a kernel thread, will not extract any envars." - ) - mm = None - continue - - # if mm exists attempt to get envars - if mm: - # get process layer to read envars from - proc_layer_name = task.add_process_layer() - if proc_layer_name is None: - vollog.debug( - f"Unable to construct process layer for task {pid} {name}, will not extract any envars." - ) - continue - proc_layer = self.context.layers[proc_layer_name] - - # get the size of the envars with sanity checking - envars_size = task.mm.env_end - task.mm.env_start - if not (0 < envars_size <= 8192): - vollog.debug( - f"Task {pid} {name} appears to have envars of size {envars_size} bytes which fails the sanity checking, will not extract any envars." - ) - continue - - # attempt to read all envars data - try: - envar_data = proc_layer.read(task.mm.env_start, envars_size) - except exceptions.InvalidAddressException: - vollog.debug( - f"Unable to read full envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)} for {envars_size} bytes, will not extract any envars." - ) - continue - - # parse envar data, envars are null terminated, keys and values are separated by '=' - envar_data = envar_data.rstrip(b"\x00") - for envar_pair in envar_data.split(b"\x00"): - try: - key, value = envar_pair.decode().split("=", 1) - except ValueError: - vollog.debug( - f"Unable to extract envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)}, they don't appear to be '=' separated" - ) - continue - yield (0, (pid, ppid, name, key, value)) - - def run(self): - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - - return renderers.TreeGrid( - [("PID", int), ("PPID", int), ("COMM", str), ("KEY", str), ("VALUE", str)], - self._generator( - pslist.PsList.list_tasks( - self.context, self.config["kernel"], filter_func=filter_func - ) - ), - ) From a46c9d9d8ecf0a36352c672c2193227c59cd33c1 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 29 Sep 2023 10:16:20 +0100 Subject: [PATCH 0231/2186] Linux: add padded read when getting magic for elf extension to help with smear and missing pages --- .../framework/symbols/linux/extensions/elf.py | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index 416a7e4d2..a05885a7b 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -33,14 +33,18 @@ class elf(objects.StructType): layer_name = self.vol.layer_name symbol_table_name = self.get_symbol_table_name() # We read the MAGIC: (0x0 to 0x4) 0x7f 0x45 0x4c 0x46 - magic = self._context.object( - symbol_table_name + constants.BANG + "unsigned long", - layer_name=layer_name, - offset=object_info.offset, - ) + magic = self._context.layers[layer_name].read(object_info.offset, 4, True) # Check validity - if magic != 0x464C457F: + if ( + magic[0] == 0x7F + and magic[1] == 0x45 # E + and magic[2] == 0x4C # L + and magic[3] == 0x46 # F + ): + self._valid_magic = True + else: + self._valid_magic = False return None # We need to read the EI_CLASS (0x4 offset) @@ -72,7 +76,10 @@ class elf(objects.StructType): """ Determine whether it is a valid object """ - return self._type_prefix is not None and self._hdr is not None + if self._valid_magic: + return self._type_prefix is not None and self._hdr is not None + else: + return False def __getattr__(self, name): # Just redirect to the corresponding header From 41a02fbf5b5bd860f35d53c7ed34a97bfa68f3cd Mon Sep 17 00:00:00 2001 From: Eve Date: Tue, 3 Oct 2023 07:13:28 +0100 Subject: [PATCH 0232/2186] Linux: use try/except in linux elf extension to catch paged and invalid addresses rather than crashing --- .../framework/symbols/linux/extensions/elf.py | 36 ++++++++++++------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index a05885a7b..8b42b3075 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -3,9 +3,12 @@ # from typing import Dict, Tuple +import logging from volatility3.framework import constants -from volatility3.framework import objects, interfaces +from volatility3.framework import objects, interfaces, exceptions + +vollog = logging.getLogger(__name__) class elf(objects.StructType): @@ -33,20 +36,29 @@ class elf(objects.StructType): layer_name = self.vol.layer_name symbol_table_name = self.get_symbol_table_name() # We read the MAGIC: (0x0 to 0x4) 0x7f 0x45 0x4c 0x46 - magic = self._context.layers[layer_name].read(object_info.offset, 4, True) - - # Check validity - if ( - magic[0] == 0x7F - and magic[1] == 0x45 # E - and magic[2] == 0x4C # L - and magic[3] == 0x46 # F - ): - self._valid_magic = True - else: + try: + magic = self._context.object( + symbol_table_name + constants.BANG + "unsigned long", + layer_name=layer_name, + offset=object_info.offset, + ) + except ( + exceptions.PagedInvalidAddressException, + exceptions.InvalidAddressException, + ) as excp: + vollog.debug( + f"Unable to check magic bytes for ELF file at offset {hex(object_info.offset)} in layer {layer_name}: {excp}" + ) self._valid_magic = False return None + # Check validity + if magic != 0x464C457F: # e.g. ELF + self._valid_magic = False + return None + else: + self._valid_magic = True + # We need to read the EI_CLASS (0x4 offset) ei_class = self._context.object( symbol_table_name + constants.BANG + "unsigned char", From 62466c7953cb0264bc3bb491a694a55732115d7a Mon Sep 17 00:00:00 2001 From: RuBublik Date: Tue, 3 Oct 2023 21:35:37 +0300 Subject: [PATCH 0233/2186] fixed merge conflicts with 'volatilityfoundation:develop' branch - bumped VERSION_PATCH --- volatility3/framework/constants/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index de1674885..c3ebaca27 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -45,7 +45,7 @@ BANG = "!" # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 5 # Number of changes that only add to the interface -VERSION_PATCH = 0 # Number of changes that do not change the interface +VERSION_PATCH = 1 # Number of changes that do not change the interface VERSION_SUFFIX = "" # TODO: At version 2.0.0, remove the symbol_shift feature From 57d995a81d3b6a9d1843439477c0be6933215df0 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 8 Oct 2023 03:15:23 +0200 Subject: [PATCH 0234/2186] manually instantiate queue_entry for tasks symbol --- volatility3/framework/plugins/mac/pslist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index 88045a277..c0e149fc2 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -188,7 +188,7 @@ class PsList(interfaces.plugins.PluginInterface): kernel_layer = context.layers[kernel.layer_name] - queue_entry = kernel.object_from_symbol(symbol_name="tasks") + queue_entry = kernel.object("queue_entry", kernel.get_symbol("tasks").address) seen: Dict[int, int] = {} for task in queue_entry.walk_list(queue_entry, "tasks", "task"): From 6e5d41c38b3c494b9a43d5a7fca515aa84e1b6d4 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 8 Oct 2023 03:37:17 +0200 Subject: [PATCH 0235/2186] manually instantiate queue_entry for tasks symbol --- volatility3/framework/plugins/mac/pslist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index c0e149fc2..e8c490dff 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -188,7 +188,7 @@ class PsList(interfaces.plugins.PluginInterface): kernel_layer = context.layers[kernel.layer_name] - queue_entry = kernel.object("queue_entry", kernel.get_symbol("tasks").address) + queue_entry = kernel.object(object_type="queue_entry", offset=kernel.get_symbol("tasks").address) seen: Dict[int, int] = {} for task in queue_entry.walk_list(queue_entry, "tasks", "task"): From 93b297283292ff7080f539cc483e48c28271dfe8 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 8 Oct 2023 22:19:17 +0100 Subject: [PATCH 0236/2186] Renderers: Allow nodes to be turned into dictionaries --- volatility3/framework/constants/__init__.py | 2 +- volatility3/framework/renderers/__init__.py | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index c3ebaca27..09dded076 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -45,7 +45,7 @@ BANG = "!" # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 5 # Number of changes that only add to the interface -VERSION_PATCH = 1 # Number of changes that do not change the interface +VERSION_PATCH = 2 # Number of changes that do not change the interface VERSION_SUFFIX = "" # TODO: At version 2.0.0, remove the symbol_shift feature diff --git a/volatility3/framework/renderers/__init__.py b/volatility3/framework/renderers/__init__.py index 534686022..43bb59a21 100644 --- a/volatility3/framework/renderers/__init__.py +++ b/volatility3/framework/renderers/__init__.py @@ -10,7 +10,7 @@ import collections import collections.abc import datetime import logging -from typing import Any, Callable, Iterable, List, Optional, Tuple, TypeVar, Union +from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, TypeVar, Union from volatility3.framework import interfaces from volatility3.framework.interfaces import renderers @@ -96,6 +96,10 @@ class TreeNode(interfaces.renderers.TreeNode): # if isinstance(val, datetime.datetime): # tznaive = val.tzinfo is None or val.tzinfo.utcoffset(val) is None + def asdict(self) -> Dict[str, Any]: + """Returns the contents of the node as a dictionary""" + return self._values._asdict() + @property def values(self) -> List[interfaces.renderers.BaseTypes]: """Returns the list of values from the particular node, based on column From 310b6508db305b46288e5d0f530ca169ce020726 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 11 Oct 2023 09:09:15 +0100 Subject: [PATCH 0237/2186] vmware: Add warning when no metadata file is found for a vmem file. --- volatility3/framework/layers/vmware.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/framework/layers/vmware.py b/volatility3/framework/layers/vmware.py index 0bc1a350b..5467c70c0 100644 --- a/volatility3/framework/layers/vmware.py +++ b/volatility3/framework/layers/vmware.py @@ -232,6 +232,9 @@ class VmwareStacker(interfaces.automagic.StackerLayerInterface): ) if not vmss_success and not vmsn_success: + vollog.warning( + f"No metadata file alongside VMEM file! A VMSS or VMSN file is required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. sample.vmem and sample.vmsn.", + ) return None new_layer_name = context.layers.free_layer_name("VmwareLayer") context.config[ From 9cc73b6a0388321ee6de9f6c82a124e263282d78 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Thu, 12 Oct 2023 09:57:24 -0500 Subject: [PATCH 0238/2186] issue #1017 - check for valid root node type --- volatility3/framework/layers/registry.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index cc8ce1f4c..a2d3b0fd4 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -171,7 +171,12 @@ class RegistryHive(linear.LinearlyMappedLayer): node (default) or a list of nodes from root to the current node (if return_list is true). """ - node_key = [self.get_node(self.root_cell_offset)] + root_node = self.get_node(self.root_cell_offset) + if not root_node.vol.type_name.endswith(constants.BANG + "_CM_KEY_NODE"): + raise RegistryFormatException( + self.name, "Encountered {} instead of _CM_KEY_NODE".format(root_node.vol.type_name) + ) + node_key = [root_node] if key.endswith("\\"): key = key[:-1] key_array = key.split("\\") From 95c468c4f8aeaa00e658901ee1bd23054756d8a2 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Thu, 12 Oct 2023 10:16:56 -0500 Subject: [PATCH 0239/2186] issue #1019 - for subkeys, return the modified time of the subkey itself, not its parent key --- volatility3/framework/plugins/windows/registry/printkey.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index 537bfc943..70a288b63 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -153,6 +153,9 @@ class PrintKey(interfaces.plugins.PluginInterface): vollog.debug(excp) key_node_name = renderers.UnreadableValue() + # if the item is a subkey, use the LastWriteTime of that subkey + last_write_time = conversion.wintime_to_datetime(node.LastWriteTime.QuadPart) + yield ( depth, ( From e45380f4f579e3c54f1475312efc2aff47341b2a Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 13 Oct 2023 09:29:46 +0100 Subject: [PATCH 0240/2186] Update vmware layer metadata file warning to be less doom and gloom. --- volatility3/framework/layers/vmware.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/layers/vmware.py b/volatility3/framework/layers/vmware.py index 5467c70c0..622ff0250 100644 --- a/volatility3/framework/layers/vmware.py +++ b/volatility3/framework/layers/vmware.py @@ -4,6 +4,7 @@ import contextlib import logging import struct +import os from typing import Any, Dict, List, Optional from volatility3.framework import constants, exceptions, interfaces @@ -232,8 +233,10 @@ class VmwareStacker(interfaces.automagic.StackerLayerInterface): ) if not vmss_success and not vmsn_success: + vmem_file_basename = os.path.basename(location) + example_vmss_file_basename = os.path.basename(vmss) vollog.warning( - f"No metadata file alongside VMEM file! A VMSS or VMSN file is required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. sample.vmem and sample.vmsn.", + f"No metadata file found alongside VMEM file. A VMSS or VMSN file may be required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. {vmem_file_basename} and {example_vmss_file_basename}.", ) return None new_layer_name = context.layers.free_layer_name("VmwareLayer") From 63ace6099508664b51b671f95a84bd891736e0d3 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 17 Oct 2023 15:54:10 +0100 Subject: [PATCH 0241/2186] Core: Add (optional) sanitization to the FileHandler class --- volatility3/framework/interfaces/plugins.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/plugins.py b/volatility3/framework/interfaces/plugins.py index 0de109c5e..29395aadf 100644 --- a/volatility3/framework/interfaces/plugins.py +++ b/volatility3/framework/interfaces/plugins.py @@ -43,7 +43,7 @@ class FileHandlerInterface(io.RawIOBase): return self._preferred_filename @preferred_filename.setter - def preferred_filename(self, filename): + def preferred_filename(self, filename: str): """Sets the preferred filename""" if self.closed: raise IOError("FileHandler name cannot be changed once closed") @@ -57,6 +57,18 @@ class FileHandlerInterface(io.RawIOBase): def close(self): """Method that commits the file and fixes the final filename for use""" + @staticmethod + def sanitize_filename(filename: str) -> str: + """Sanititizes the filename to ensure only a specific whitelist of characters is allowed through""" + allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.- ()[]\{\}!$%^:#~?<>,|" + result = "" + for char in filename: + if char in allowed: + result += char + else: + result += "?" + return result + def __enter__(self): return self From 14fa5ad771a668b8f4f717674412803cf7229c50 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 17 Oct 2023 16:27:22 +0100 Subject: [PATCH 0242/2186] Documentation: Add in a CITATION.cff file Initial addition of a CITATION file, no version information was included because keeping it up to date with the version in the repo automatically would be tricky and not doing so would lead it to becoming out of sync. Fixes #1013. --- CITATION.cff | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 CITATION.cff diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 000000000..c36c3b7d5 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,37 @@ +# This CITATION.cff file was generated with cffinit. +# Visit https://bit.ly/cffinit to generate yours today! + +cff-version: 1.2.0 +title: Volatility 3 +message: >- + If you reference this software, please feel free to cite + it using the information below. +type: software +authors: + - name: Volatility Foundation + country: US + website: 'https://www.volatilityfoundation.org/' +identifiers: + - type: url + value: 'https://github.com/volatilityfoundation/volatility3' + description: Volatility 3 source code respository +repository-code: 'https://github.com/volatilityfoundation/volatility3' +url: 'https://github.com/volatilityfoundation/volatility3' +abstract: >- + Volatility is the world's most widely used framework for + extracting digital artifacts from volatile memory (RAM) + samples. The extraction techniques are performed + completely independent of the system being investigated + but offer visibility into the runtime state of the system. + The framework is intended to introduce people to the + techniques and complexities associated with extracting + digital artifacts from volatile memory samples and provide + a platform for further work into this exciting area of + research. +keywords: + - malware + - forensics + - memory + - python + - ram + - volatility From 5d43071f572a4c2aa5cbe573cb5b400e8d27607f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 17 Oct 2023 15:54:10 +0100 Subject: [PATCH 0243/2186] Core: Add (optional) sanitization to the FileHandler class --- volatility3/framework/interfaces/plugins.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/plugins.py b/volatility3/framework/interfaces/plugins.py index 0de109c5e..29395aadf 100644 --- a/volatility3/framework/interfaces/plugins.py +++ b/volatility3/framework/interfaces/plugins.py @@ -43,7 +43,7 @@ class FileHandlerInterface(io.RawIOBase): return self._preferred_filename @preferred_filename.setter - def preferred_filename(self, filename): + def preferred_filename(self, filename: str): """Sets the preferred filename""" if self.closed: raise IOError("FileHandler name cannot be changed once closed") @@ -57,6 +57,18 @@ class FileHandlerInterface(io.RawIOBase): def close(self): """Method that commits the file and fixes the final filename for use""" + @staticmethod + def sanitize_filename(filename: str) -> str: + """Sanititizes the filename to ensure only a specific whitelist of characters is allowed through""" + allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.- ()[]\{\}!$%^:#~?<>,|" + result = "" + for char in filename: + if char in allowed: + result += char + else: + result += "?" + return result + def __enter__(self): return self From 7323bd3a591a4d989fde5837d51a0a9c2d9061f3 Mon Sep 17 00:00:00 2001 From: 616c696365 <616c696365@localhost.com> Date: Wed, 18 Oct 2023 19:14:02 +0100 Subject: [PATCH 0244/2186] windows.pslist process name added to dumped file by default --- .../framework/plugins/windows/pslist.py | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 806bb678e..e7a0d5dd4 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -50,12 +50,6 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): default=False, optional=True, ), - requirements.BooleanRequirement( - name="friendly", - description="Display process name in dump filename", - default=False, - optional=True, - ), ] @classmethod @@ -66,7 +60,6 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): pe_table_name: str, proc: interfaces.objects.ObjectInterface, open_method: Type[interfaces.plugins.FileHandlerInterface], - friendly: bool = False, ) -> interfaces.plugins.FileHandlerInterface: """Extracts the complete data for a process as a FileHandlerInterface @@ -103,14 +96,13 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): max_length=proc.ImageFileName.vol.count, errors="replace", ) - if friendly: - file_handle = open_method( + + file_handle = open_method( + open_method.sanitize_filename( f"{proc.UniqueProcessId}.{process_name}.{peb.ImageBaseAddress:#x}.dmp" ) - else: - file_handle = open_method( - f"pid.{proc.UniqueProcessId}.{peb.ImageBaseAddress:#x}.dmp" - ) + ) + for offset, data in dos_header.reconstruct(): file_handle.seek(offset) file_handle.write(data) @@ -261,7 +253,6 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): pe_table_name, proc, self.open, - self.config["friendly"], ) file_output = "Error outputting file" if file_handle: From fcaba2d95a79a7bec70cde265199ab892b6c0948 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 18 Oct 2023 14:08:50 -0500 Subject: [PATCH 0245/2186] issue #1017 - black updates --- volatility3/framework/layers/registry.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index a2d3b0fd4..9841d2bb0 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -174,7 +174,10 @@ class RegistryHive(linear.LinearlyMappedLayer): root_node = self.get_node(self.root_cell_offset) if not root_node.vol.type_name.endswith(constants.BANG + "_CM_KEY_NODE"): raise RegistryFormatException( - self.name, "Encountered {} instead of _CM_KEY_NODE".format(root_node.vol.type_name) + self.name, + "Encountered {} instead of _CM_KEY_NODE".format( + root_node.vol.type_name + ), ) node_key = [root_node] if key.endswith("\\"): From a497216bebd8e5a9d3ebe4fd039b673d90346ce7 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 18 Oct 2023 14:09:42 -0500 Subject: [PATCH 0246/2186] issue #1019 - black updates --- volatility3/framework/plugins/windows/registry/printkey.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index 70a288b63..f66e55f4b 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -154,7 +154,9 @@ class PrintKey(interfaces.plugins.PluginInterface): key_node_name = renderers.UnreadableValue() # if the item is a subkey, use the LastWriteTime of that subkey - last_write_time = conversion.wintime_to_datetime(node.LastWriteTime.QuadPart) + last_write_time = conversion.wintime_to_datetime( + node.LastWriteTime.QuadPart + ) yield ( depth, From 2d3b3158dc953a89898cd3e403415e1725f4cbc2 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 21 Oct 2023 23:34:17 +0200 Subject: [PATCH 0247/2186] correct sql query and strip identifier --- volatility3/framework/automagic/symbol_cache.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index 29f2cfd08..2c605f915 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -429,8 +429,7 @@ class SqliteCache(CacheManagerInterface): progress_callback(0, "Reading remote ISF list") cursor = self._database.cursor() cursor.execute( - f"SELECT cached FROM cache WHERE local = 0 and cached < datetime('now', {self.cache_period})" - ) + f"SELECT cached FROM cache WHERE local = 0 and cached < datetime('now', '{self.cache_period}')" ) remote_identifiers = RemoteIdentifierFormat(constants.REMOTE_ISF_URL) progress_callback(50, "Reading remote ISF list") for operating_system in constants.OS_CATEGORIES: @@ -438,9 +437,11 @@ class SqliteCache(CacheManagerInterface): {}, operating_system=operating_system ) for identifier, location in identifiers: + identifier = identifier.rstrip() + identifier = identifier[:-1] if identifier.endswith(b"\x00") else identifier # Linux banners dumped by dwarf2json end with "\x00\n". If not stripped, the banner cannot match. cursor.execute( - "INSERT OR REPLACE INTO cache(identifier, location, operating_system, local, cached) VALUES (?, ?, ?, ?, datetime('now'))", - (location, identifier, operating_system, False), + "INSERT OR REPLACE INTO cache(identifier, location, operating_system, local, cached) VALUES (?, ?, ?, ?, datetime('now'))", + (identifier, location, operating_system, False), ) progress_callback(100, "Reading remote ISF list") self._database.commit() From 3a656266711b21951ea8c48fe9d8ac4a4cf64775 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 23 Oct 2023 17:47:57 +0200 Subject: [PATCH 0248/2186] black formatting --- volatility3/framework/plugins/mac/pslist.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index e8c490dff..9835644b8 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -188,7 +188,9 @@ class PsList(interfaces.plugins.PluginInterface): kernel_layer = context.layers[kernel.layer_name] - queue_entry = kernel.object(object_type="queue_entry", offset=kernel.get_symbol("tasks").address) + queue_entry = kernel.object( + object_type="queue_entry", offset=kernel.get_symbol("tasks").address + ) seen: Dict[int, int] = {} for task in queue_entry.walk_list(queue_entry, "tasks", "task"): From c20baf9d1fd346fe9f809227d063d4cf56717879 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 23 Oct 2023 17:49:03 +0200 Subject: [PATCH 0249/2186] black formatting --- volatility3/framework/automagic/symbol_cache.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index 2c605f915..22f1c94f3 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -429,7 +429,8 @@ class SqliteCache(CacheManagerInterface): progress_callback(0, "Reading remote ISF list") cursor = self._database.cursor() cursor.execute( - f"SELECT cached FROM cache WHERE local = 0 and cached < datetime('now', '{self.cache_period}')" ) + f"SELECT cached FROM cache WHERE local = 0 and cached < datetime('now', '{self.cache_period}')" + ) remote_identifiers = RemoteIdentifierFormat(constants.REMOTE_ISF_URL) progress_callback(50, "Reading remote ISF list") for operating_system in constants.OS_CATEGORIES: @@ -438,9 +439,11 @@ class SqliteCache(CacheManagerInterface): ) for identifier, location in identifiers: identifier = identifier.rstrip() - identifier = identifier[:-1] if identifier.endswith(b"\x00") else identifier # Linux banners dumped by dwarf2json end with "\x00\n". If not stripped, the banner cannot match. + identifier = ( + identifier[:-1] if identifier.endswith(b"\x00") else identifier + ) # Linux banners dumped by dwarf2json end with "\x00\n". If not stripped, the banner cannot match. cursor.execute( - "INSERT OR REPLACE INTO cache(identifier, location, operating_system, local, cached) VALUES (?, ?, ?, ?, datetime('now'))", + "INSERT OR REPLACE INTO cache(identifier, location, operating_system, local, cached) VALUES (?, ?, ?, ?, datetime('now'))", (identifier, location, operating_system, False), ) progress_callback(100, "Reading remote ISF list") From 3bb1285dbfb3200567f50662ceed663283c16d02 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 29 Oct 2023 13:53:55 +0000 Subject: [PATCH 0250/2186] Layers: Make removal of a layer more efficient, as noted in #809 --- volatility3/framework/interfaces/layers.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/interfaces/layers.py b/volatility3/framework/interfaces/layers.py index 68592f8cb..e2a68780a 100644 --- a/volatility3/framework/interfaces/layers.py +++ b/volatility3/framework/interfaces/layers.py @@ -678,16 +678,12 @@ class LayerContainer(collections.abc.Mapping): name: The name of the layer to delete """ for layer in self._layers: - depend_list = [ - superlayer - for superlayer in self._layers - if name in self._layers[layer].dependencies - ] - if depend_list: + if name in self._layers[layer].dependencies: raise exceptions.LayerException( self._layers[layer].name, - f"Layer {self._layers[layer].name} is depended upon: {', '.join(depend_list)}", + f"Layer {self._layers[layer].name} is depended upon by {layer}", ) + # Otherwise, wipe out the layer self._layers[name].destroy() del self._layers[name] From b9c4a1d8a76bd40b7a0ee40ea91c0e32da99000e Mon Sep 17 00:00:00 2001 From: Leron Gray Date: Tue, 31 Oct 2023 13:52:26 -0500 Subject: [PATCH 0251/2186] fix guid and pdb_name for #1026 --- volatility3/framework/symbols/windows/pdbutil.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index a43933ccf..bdcf25fa1 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -9,6 +9,7 @@ import lzma import os import re import struct +from pathlib import PureWindowsPath from typing import Any, Dict, Generator, List, Optional, Tuple, Union from urllib import parse, request @@ -226,13 +227,12 @@ class PDBUtility(interfaces.configuration.VersionableInterface): return None pdb_name = debug_entry.PdbFileName.decode("utf-8").strip("\x00") + + # Let pathlib do the filename extraction. This will likely always be a Windows path though. + pdb_name = PureWindowsPath(pdb_name).name + age = debug_entry.Age - guid = "{:08x}{:04x}{:04x}{}".format( - debug_entry.Signature_Data1, - debug_entry.Signature_Data2, - debug_entry.Signature_Data3, - binascii.hexlify(debug_entry.Signature_Data4).decode("utf-8"), - ) + guid = debug_entry.Signature_String[:32] # Removes the Age from the GUID return guid, age, pdb_name @classmethod From c2b008969c44d9e3a0c8bfa8911ff6facbb53fea Mon Sep 17 00:00:00 2001 From: Leron Gray Date: Sun, 5 Nov 2023 16:25:43 -0600 Subject: [PATCH 0252/2186] update pefile requirements --- requirements-dev.txt | 2 +- requirements-minimal.txt | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 9db14d441..c9b615cd8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ # The following packages are required for core functionality. -pefile>=2017.8.1 +pefile>=2023.2.7 # The following packages are optional. # If certain packages are not necessary, place a comment (#) at the start of the line. diff --git a/requirements-minimal.txt b/requirements-minimal.txt index 31ac02814..c030b332d 100644 --- a/requirements-minimal.txt +++ b/requirements-minimal.txt @@ -1,2 +1,2 @@ # These packages are required for core functionality. -pefile>=2017.8.1 #foo \ No newline at end of file +pefile>=2023.2.7 #foo \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 99e0786cc..ddd1088c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # The following packages are required for core functionality. -pefile>=2017.8.1 +pefile>=2023.2.7 # The following packages are optional. # If certain packages are not necessary, place a comment (#) at the start of the line. From ebe19bf179068952a612ad94e29d08851b70b429 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 10 Nov 2023 20:30:38 +0000 Subject: [PATCH 0253/2186] Linux: update maple tree extension to fix issue #1032 --- volatility3/framework/symbols/linux/extensions/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3fb772135..c3e50fce4 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -301,7 +301,11 @@ class maple_tree(objects.StructType): self.ma_flags & self.MT_FLAGS_HEIGHT_MASK ) >> self.MT_FLAGS_HEIGHT_OFFSET yield from self._parse_maple_tree_node( - self.ma_root, maple_tree_offset, expected_maple_tree_depth + self.ma_root, + maple_tree_offset, + expected_maple_tree_depth, + seen=set(), + current_depth=1, ) def _parse_maple_tree_node( From 9fe7d479f6e3afe6db9f9eeb3b723b93bc4f7f19 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 10 Nov 2023 20:58:07 +0000 Subject: [PATCH 0254/2186] Linux: update bash plugin to only get memory sections once --- volatility3/framework/plugins/linux/bash.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/bash.py b/volatility3/framework/plugins/linux/bash.py index b7dc2c16b..ce4567ca6 100644 --- a/volatility3/framework/plugins/linux/bash.py +++ b/volatility3/framework/plugins/linux/bash.py @@ -75,11 +75,16 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): bang_addrs = [] + # get task memory sections to be used by scanners + task_memory_sections = [ + section for section in task.get_process_memory_sections(heap_only=True) + ] + # find '#' values on the heap for address in proc_layer.scan( self.context, scanners.BytesScanner(b"#"), - sections=task.get_process_memory_sections(heap_only=True), + sections=task_memory_sections, ): bang_addrs.append(struct.pack(pack_format, address)) @@ -89,7 +94,7 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): for address, _ in proc_layer.scan( self.context, scanners.MultiStringScanner(bang_addrs), - sections=task.get_process_memory_sections(heap_only=True), + sections=task_memory_sections, ): hist = self.context.object( bash_table_name + constants.BANG + "hist_entry", From f7d5e722a2ef98370b45c3d3aaa811f13d5de480 Mon Sep 17 00:00:00 2001 From: Eve Date: Mon, 13 Nov 2023 07:05:30 +0000 Subject: [PATCH 0255/2186] Linux: add member presence checks to linux.checks_afinfo _check_afinfo function to stop crashes when none of the required members are present --- .../framework/plugins/linux/check_afinfo.py | 28 +++++++++++++++---- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_afinfo.py b/volatility3/framework/plugins/linux/check_afinfo.py index 90e714eaa..61c642f0e 100644 --- a/volatility3/framework/plugins/linux/check_afinfo.py +++ b/volatility3/framework/plugins/linux/check_afinfo.py @@ -51,10 +51,24 @@ class Check_afinfo(plugins.PluginInterface): yield check, addr def _check_afinfo(self, var_name, var, op_members, seq_members): - for hooked_member, hook_address in self._check_members( - var.seq_fops, var_name, op_members - ): - yield var_name, hooked_member, hook_address + # check if object has a least one of the members used for analysis by this function + required_members = ["seq_fops", "seq_ops", "seq_show"] + for member in required_members: + vollog.debug(f"{var_name}: {member} :{var.has_member(member)}") + has_required_member = any( + [var.has_member(member) for member in required_members] + ) + if not has_required_member: + vollog.warning( + f"This plugin requires the seq_fops, seq_ops, or seq_show members to be to check for hooks. These members are not present in the {var_name} object at {hex(var.vol.offset)}. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." + ) + return + + if var.has_member("seq_fops"): + for hooked_member, hook_address in self._check_members( + var.seq_fops, var_name, op_members + ): + yield var_name, hooked_member, hook_address # newer kernels if var.has_member("seq_ops"): @@ -64,8 +78,10 @@ class Check_afinfo(plugins.PluginInterface): yield var_name, hooked_member, hook_address # this is the most commonly hooked member by rootkits, so a force a check on it - elif not self._is_known_address(var.seq_show): - yield var_name, "show", var.seq_show + else: + if var.has_member("seq_show"): + if not self._is_known_address(var.seq_show): + yield var_name, "show", var.seq_show def _generator(self): vmlinux = self.context.modules[self.config["kernel"]] From 5ab0e4f83f7feb5444ce8d691e58bf56e495db1a Mon Sep 17 00:00:00 2001 From: Eve Date: Tue, 14 Nov 2023 07:22:00 +0000 Subject: [PATCH 0256/2186] Linux: remove _valid_magic from linux elf extension, check for _type_prefix and _hdr attrs instead --- volatility3/framework/symbols/linux/extensions/elf.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index 8b42b3075..629a05da5 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -49,15 +49,11 @@ class elf(objects.StructType): vollog.debug( f"Unable to check magic bytes for ELF file at offset {hex(object_info.offset)} in layer {layer_name}: {excp}" ) - self._valid_magic = False return None # Check validity if magic != 0x464C457F: # e.g. ELF - self._valid_magic = False return None - else: - self._valid_magic = True # We need to read the EI_CLASS (0x4 offset) ei_class = self._context.object( @@ -88,7 +84,7 @@ class elf(objects.StructType): """ Determine whether it is a valid object """ - if self._valid_magic: + if hasattr(self, "_type_prefix") and hasattr(self, "_hdr"): return self._type_prefix is not None and self._hdr is not None else: return False From 83de6274eff15f6a3dc9d5c96eecbe3d871f6b48 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 14 Nov 2023 16:53:08 +0100 Subject: [PATCH 0257/2186] fix symbols and function calls --- .../symbols/linux/extensions/__init__.py | 52 +++++++++++++------ 1 file changed, 37 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3fb772135..bb515f7de 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -71,11 +71,11 @@ class module(generic.GenericIntelProcess): def _get_sect_count(self, grp): """Try to determine the number of valid sections""" arr = self._context.object( - self.get_symbol_table().name + constants.BANG + "array", + self.get_symbol_table_name() + constants.BANG + "array", layer_name=self.vol.layer_name, offset=grp.attrs, subtype=self._context.symbol_space.get_type( - self.get_symbol_table().name + constants.BANG + "pointer" + self.get_symbol_table_name() + constants.BANG + "pointer" ), count=25, ) @@ -92,11 +92,11 @@ class module(generic.GenericIntelProcess): else: num_sects = self._get_sect_count(self.sect_attrs.grp) arr = self._context.object( - self.get_symbol_table().name + constants.BANG + "array", + self.get_symbol_table_name() + constants.BANG + "array", layer_name=self.vol.layer_name, offset=self.sect_attrs.attrs.vol.offset, subtype=self._context.symbol_space.get_type( - self.get_symbol_table().name + constants.BANG + "module_sect_attr" + self.get_symbol_table_name() + constants.BANG + "module_sect_attr" ), count=num_sects, ) @@ -105,13 +105,14 @@ class module(generic.GenericIntelProcess): yield attr def get_symbols(self): - if symbols.symbol_table_is_64bit(self._context, self.get_symbol_table().name): + """Get module symbols""" + if symbols.symbol_table_is_64bit(self._context, self.get_symbol_table_name()): prefix = "Elf64_" else: prefix = "Elf32_" elf_table_name = intermed.IntermediateSymbolTable.create( - self.context, - self.config_path, + self._context, + self._context.modules["kernel"].config_path, "linux", "elf", native_types=None, @@ -119,7 +120,7 @@ class module(generic.GenericIntelProcess): ) syms = self._context.object( - self.get_symbol_table().name + constants.BANG + "array", + self.get_symbol_table_name() + constants.BANG + "array", layer_name=self.vol.layer_name, offset=self.section_symtab, subtype=self._context.symbol_space.get_type( @@ -127,18 +128,39 @@ class module(generic.GenericIntelProcess): ), count=self.num_symtab + 1, ) + if self.section_strtab: for sym in syms: - sym.set_cached_strtab(self.section_strtab) - yield sym + try: + sym_offset = self.section_strtab + sym.st_name + sym_name = self._context.layers[self.vol.layer_name].read( + sym_offset, sym.st_size + ) + except exceptions.PagedInvalidAddressException: + continue + + if sym_name: + # Normalize sym_value + mask = self._context.layers[self.vol.layer_name].address_mask + sym_value = sym.st_value & mask + # Stop at first null byte (strtab is a null terminated strings list) + sym_name = sym_name.split(b"\x00")[0].decode("latin-1") + yield (sym_name, sym_value, sym_offset) def get_symbol(self, wanted_sym_name): - """Get value for a given symbol name""" - for sym in self.get_symbols(): - sym_name = sym.get_name() - sym_addr = sym.st_value + """Get symbol value for a given symbol name""" + for sym_name, sym_value, sym_offset in self.get_symbols(): if wanted_sym_name == sym_name: - return sym_addr + return sym_value + + return None + + def get_symbol_name_from_value(self, wanted_sym_value): + """Get symbol name for a given symbol value""" + for sym_name, sym_value, sym_offset in self.get_symbols(): + if wanted_sym_value == sym_value: + return sym_name + return None @property From 2de97af061e3569e9c49a717730543b8dcf743c0 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 14 Nov 2023 16:54:10 +0100 Subject: [PATCH 0258/2186] use refcnt for inheritance --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index bb515f7de..72e26f2fa 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1154,7 +1154,7 @@ class vfsmount(objects.StructType): class kobject(objects.StructType): def reference_count(self): refcnt = self.kref.refcount - if self.has_member("counter"): + if refcnt.has_member("counter"): ret = refcnt.counter else: ret = refcnt.refs.counter From bf68fa8ce2d3997fe83b56e4056068047c94590a Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 14 Nov 2023 17:09:36 +0100 Subject: [PATCH 0259/2186] use KSYM_NAME_LEN for symbol name length --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 72e26f2fa..b0190e0f9 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -134,8 +134,8 @@ class module(generic.GenericIntelProcess): try: sym_offset = self.section_strtab + sym.st_name sym_name = self._context.layers[self.vol.layer_name].read( - sym_offset, sym.st_size - ) + sym_offset, 512 + ) # 512 is the value of KSYM_NAME_LEN except exceptions.PagedInvalidAddressException: continue From 36327a4315640b914cea0d300aa00fa28ff2096d Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 14 Nov 2023 17:20:16 +0100 Subject: [PATCH 0260/2186] check if symbol name is empty after strip --- volatility3/framework/symbols/linux/extensions/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index b0190e0f9..c37223d4d 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -139,12 +139,12 @@ class module(generic.GenericIntelProcess): except exceptions.PagedInvalidAddressException: continue - if sym_name: + # Stop at first null byte (strtab is a null terminated strings list) + sym_name = sym_name.split(b"\x00")[0].decode("latin-1") + if sym_name != "": # Normalize sym_value mask = self._context.layers[self.vol.layer_name].address_mask sym_value = sym.st_value & mask - # Stop at first null byte (strtab is a null terminated strings list) - sym_name = sym_name.split(b"\x00")[0].decode("latin-1") yield (sym_name, sym_value, sym_offset) def get_symbol(self, wanted_sym_name): From 4f4e2efd991e1f54af650d082c6d63cff80c38fb Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 15 Nov 2023 10:29:06 +0000 Subject: [PATCH 0261/2186] Linux: update warning logic in linux.checks_afinfo so that only one warning is shown and debug logs are cleaner --- .../framework/plugins/linux/check_afinfo.py | 32 +++++++++++++------ 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_afinfo.py b/volatility3/framework/plugins/linux/check_afinfo.py index 61c642f0e..7fced6acd 100644 --- a/volatility3/framework/plugins/linux/check_afinfo.py +++ b/volatility3/framework/plugins/linux/check_afinfo.py @@ -53,16 +53,14 @@ class Check_afinfo(plugins.PluginInterface): def _check_afinfo(self, var_name, var, op_members, seq_members): # check if object has a least one of the members used for analysis by this function required_members = ["seq_fops", "seq_ops", "seq_show"] - for member in required_members: - vollog.debug(f"{var_name}: {member} :{var.has_member(member)}") has_required_member = any( [var.has_member(member) for member in required_members] ) if not has_required_member: - vollog.warning( - f"This plugin requires the seq_fops, seq_ops, or seq_show members to be to check for hooks. These members are not present in the {var_name} object at {hex(var.vol.offset)}. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." + vollog.debug( + f"{var_name} object at {hex(var.vol.offset)} had none of the required members: {', '.join([member for member in required_members])}" ) - return + raise exceptions.PluginRequirementException if var.has_member("seq_fops"): for hooked_member, hook_address in self._check_members( @@ -101,6 +99,12 @@ class Check_afinfo(plugins.PluginInterface): ) protocols = [tcp, udp] + # used to track the calls to _check_afinfo and the + # number of errors produced due to missing members + symbols_checked = set() + symbols_with_errors = set() + + # loop through all symbols for struct_type, global_vars in protocols: for global_var_name in global_vars: # this will lookup fail for the IPv6 protocols on kernels without IPv6 support @@ -113,10 +117,20 @@ class Check_afinfo(plugins.PluginInterface): object_type=struct_type, offset=global_var.address ) - for name, member, address in self._check_afinfo( - global_var_name, global_var, op_members, seq_members - ): - yield 0, (name, member, format_hints.Hex(address)) + symbols_checked.add(global_var_name) + try: + for name, member, address in self._check_afinfo( + global_var_name, global_var, op_members, seq_members + ): + yield 0, (name, member, format_hints.Hex(address)) + except exceptions.PluginRequirementException: + symbols_with_errors.add(global_var_name) + + # if every call to _check_afinfo failed show a warning + if symbols_checked == symbols_with_errors: + vollog.warning( + "This plugin was not able to check for hooks. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." + ) def run(self): return renderers.TreeGrid( From 1a73717b9325ae332d04a77f9ecef58f89c9417b Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 17 Nov 2023 17:49:54 +0100 Subject: [PATCH 0262/2186] set 'module' as config string --- .../framework/symbols/linux/extensions/__init__.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index c37223d4d..48296b284 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -105,14 +105,18 @@ class module(generic.GenericIntelProcess): yield attr def get_symbols(self): - """Get module symbols""" + """Get module symbols + + Yields: + A tuple for each symbol containing the symbol name and its corresponding value + """ if symbols.symbol_table_is_64bit(self._context, self.get_symbol_table_name()): prefix = "Elf64_" else: prefix = "Elf32_" elf_table_name = intermed.IntermediateSymbolTable.create( self._context, - self._context.modules["kernel"].config_path, + "module", "linux", "elf", native_types=None, From 6372b6f367bfb765e1a1f38f30866adb966fed33 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 17 Nov 2023 17:52:58 +0100 Subject: [PATCH 0263/2186] symbols getters follow vol2 format --- .../symbols/linux/extensions/__init__.py | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 48296b284..21edfc669 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -132,37 +132,37 @@ class module(generic.GenericIntelProcess): ), count=self.num_symtab + 1, ) - if self.section_strtab: for sym in syms: + sym_arr = self._context.object( + self.get_symbol_table_name() + constants.BANG + "array", + layer_name=self.vol.native_layer_name, + offset=self.section_strtab + sym.st_name, + ) try: - sym_offset = self.section_strtab + sym.st_name - sym_name = self._context.layers[self.vol.layer_name].read( - sym_offset, 512 - ) # 512 is the value of KSYM_NAME_LEN - except exceptions.PagedInvalidAddressException: + sym_name = utility.array_to_string( + sym_arr, 512 + ) # 512 is the value of KSYM_NAME_LEN kernel constant + except exceptions.InvalidAddressException: continue - - # Stop at first null byte (strtab is a null terminated strings list) - sym_name = sym_name.split(b"\x00")[0].decode("latin-1") if sym_name != "": - # Normalize sym_value + # Normalize sym.st_value offset, which is an address pointing to the symbol value mask = self._context.layers[self.vol.layer_name].address_mask - sym_value = sym.st_value & mask - yield (sym_name, sym_value, sym_offset) + sym_address = sym.st_value & mask + yield (sym_name, sym_address) def get_symbol(self, wanted_sym_name): """Get symbol value for a given symbol name""" - for sym_name, sym_value, sym_offset in self.get_symbols(): + for sym_name, sym_address in self.get_symbols(): if wanted_sym_name == sym_name: - return sym_value + return sym_address return None - def get_symbol_name_from_value(self, wanted_sym_value): - """Get symbol name for a given symbol value""" - for sym_name, sym_value, sym_offset in self.get_symbols(): - if wanted_sym_value == sym_value: + def get_symbol_from_address(self, wanted_sym_address): + """Get symbol name for a given symbol address""" + for sym_name, sym_address in self.get_symbols(): + if wanted_sym_address == sym_address: return sym_name return None From fa2b840b5552c8ad3b4242652acdde362f9e0052 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sat, 18 Nov 2023 15:05:11 +0100 Subject: [PATCH 0264/2186] Object Storage Layer for PR #1037 --- volatility3/framework/layers/objectstorage.py | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 volatility3/framework/layers/objectstorage.py diff --git a/volatility3/framework/layers/objectstorage.py b/volatility3/framework/layers/objectstorage.py new file mode 100644 index 000000000..28f7a1bd4 --- /dev/null +++ b/volatility3/framework/layers/objectstorage.py @@ -0,0 +1,56 @@ +# This file is Copyright 2022 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +import urllib.parse +from typing import Optional, Any, List + +try: + import s3fs + HAS_S3FS = True +except ImportError: + HAS_S3FS = False + +try: + import gcsfs + HAS_GCSFS = True +except ImportError: + HAS_GCSFS = False + +from volatility3.framework import exceptions +from volatility3.framework.layers import resources + +vollog = logging.getLogger(__file__) + +class S3FileSystemHandler(resources.VolatilityHandler): + if HAS_S3FS: + @classmethod + def non_cached_schemes(cls) -> List[str]: + return ["s3"] + + @staticmethod + def default_open(req: urllib.request.Request) -> Optional[Any]: + """Handles the request if it's the s3 scheme.""" + if req.type == "s3": + object_uri = "://".join(req.full_url.split("://")[1:]) + return s3fs.S3FileSystem().open(object_uri) + else: + raise exceptions.LayerException("s3 requirement is missing.") + + +class GSFileSystemHandler(resources.VolatilityHandler): + if HAS_GCSFS: + @classmethod + def non_cached_schemes(cls) -> List[str]: + return ["gs"] + + @staticmethod + def default_open(req: urllib.request.Request) -> Optional[Any]: + """Handles the request if it's the gs scheme.""" + if req.type == "gs": + object_uri = "://".join(req.full_url.split("://")[1:]) + return gcsfs.GCSFileSystem().open(object_uri) + return None + else: + raise exceptions.LayerException("gcsfs requirement is missing.") \ No newline at end of file From f8e34642195eef8954fd0bdf4e55d63e7e296d6a Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sat, 18 Nov 2023 15:17:54 +0100 Subject: [PATCH 0265/2186] Forgot to return 'None' in the s3 scheme --- volatility3/framework/layers/objectstorage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/layers/objectstorage.py b/volatility3/framework/layers/objectstorage.py index 28f7a1bd4..ce6cdb327 100644 --- a/volatility3/framework/layers/objectstorage.py +++ b/volatility3/framework/layers/objectstorage.py @@ -35,6 +35,7 @@ class S3FileSystemHandler(resources.VolatilityHandler): if req.type == "s3": object_uri = "://".join(req.full_url.split("://")[1:]) return s3fs.S3FileSystem().open(object_uri) + return None else: raise exceptions.LayerException("s3 requirement is missing.") From ceac912014f13e4262443e831bb390b928c57fd3 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sat, 18 Nov 2023 15:47:49 +0100 Subject: [PATCH 0266/2186] Adding requirements --- requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/requirements.txt b/requirements.txt index 99e0786cc..7e1c28595 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,3 +16,7 @@ pycryptodome # This is required for memory acquisition via leechcore/pcileech. leechcorepyc>=2.4.0 + +# This is required for memory analysis on a Amazon/MinIO S3 and Google Cloud object storage +gcsfs>=2023.6.0 +s3fs>=2023.6.0 \ No newline at end of file From 6c6d036cc0b2606406af418fbb7a15d6db325cfc Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sun, 19 Nov 2023 00:54:56 +0100 Subject: [PATCH 0267/2186] Adding Alternate Data Stream Scanner --- .../framework/plugins/windows/mftscan.py | 153 +++++++++++++++++- .../framework/symbols/windows/mft.json | 16 +- 2 files changed, 167 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 87416d274..f5c3ebc95 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -5,7 +5,7 @@ import contextlib import datetime import logging -from volatility3.framework import constants, exceptions, interfaces, renderers +from volatility3.framework import constants, exceptions, interfaces, renderers, symbols from volatility3.framework.configuration import requirements from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed @@ -31,6 +31,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) ), + ] def _generator(self): @@ -189,3 +190,153 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ], self._generator(), ) + + +class ADS(interfaces.plugins.PluginInterface): + + """Scans for Alternate Data Stream""" + + _required_framework_version = (2, 0, 0) + + @classmethod + def get_requirements(cls): + return [ + requirements.TranslationLayerRequirement( + name="primary", + description="Memory layer for the kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + ), + ] + + def _generator(self): + layer = self.context.layers[self.config["primary"]] + + # Yara Rule to scan for MFT Header Signatures + rules = yarascan.YaraScan.process_yara_options( + {"yara_rules": "/FILE0|FILE\*|BAAD/"} + ) + + # Read in the Symbol File + symbol_table = intermed.IntermediateSymbolTable.create( + context=self.context, + config_path=self.config_path, + sub_path="windows", + filename="mft", + class_types={"MFT_ENTRY": mft.MFTEntry,"FILE_NAME_ENTRY": mft.MFTFileName}, + ) + + # get each of the individual Field Sets + mft_object = symbol_table + constants.BANG + "MFT_ENTRY" + header_object = symbol_table + constants.BANG + "ATTR_HEADER" + attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" + fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" + + # Scan the layer for Raw MFT records and parse the fields + for offset, _rule_name, _name, _value in layer.scan( + context=self.context, scanner=yarascan.YaraScanner(rules=rules) + ): + with contextlib.suppress(exceptions.PagedInvalidAddressException): + mft_record = self.context.object( + mft_object, offset=offset, layer_name=layer.name + ) + # We will update this on each pass in the next loop and use it as the new offset. + attr_base_offset = mft_record.FirstAttrOffset + + attr_header = self.context.object( + header_object, + offset=offset + attr_base_offset, + layer_name=layer.name, + ) + + # There is no field that has a count of Attributes + # Keep Attempting to read attributes until we get an invalid attr_header.AttrType + file_name = "" + while attr_header.AttrType.is_valid_choice: + + # Offset past the headers to the attribute data + attr_data_offset = ( + offset + + attr_base_offset + + self.context.symbol_space.get_type( + attribute_object + ).relative_child_offset("Attr_Data") + ) + + if attr_header.AttrType.lookup() == "FILE_NAME": + attr_data = self.context.object( + fn_object, offset=attr_data_offset, layer_name=layer.name + ) + file_name = attr_data.get_full_name() + + + # DATA Attribute (can be ADS or not) + if attr_header.AttrType.lookup() == "DATA": + if not attr_header.NonResidentFlag: + # It is a resident file + if attr_header.NameLength > 0: + attr_name_offset = ( + offset + + attr_base_offset + + attr_header.NameOffset + ) + ads_name = self._context.layers[layer.name].read( + attr_name_offset, attr_header.NameLength*2 , pad=True + ).decode('utf-16') + attr_content_offset = ( + offset + + attr_base_offset + + attr_header.ContentOffset + ) + content = self._context.layers[layer.name].read( + attr_content_offset, attr_header.ContentLength , pad=True + ) + + + # Preparing for Disassembly + architecture = layer.metadata.get("architecture", None) + disasm = interfaces.renderers.Disassembly( + content, 0, architecture.lower() + ) + + yield 0, ( + format_hints.Hex(attr_data_offset), + mft_record.get_signature(), + mft_record.RecordNumber, + attr_header.AttrType.lookup(), + file_name, + ads_name, + format_hints.HexBytes(content), + disasm, + ) + + # If there's no advancement the loop will never end, so break it now + if attr_header.Length == 0: + break + + # Update the base offset to point to the next attribute + attr_base_offset += attr_header.Length + # Get the next attribute + attr_header = self.context.object( + header_object, + offset=offset + attr_base_offset, + layer_name=layer.name, + ) + + + def run(self): + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("Record Type", str), + ("Record Number", int), + ("MFT Type", str), + ("Filename", str), + ("ADS Filename", str), + ("Hexdump", format_hints.HexBytes), + ("Disasm", interfaces.renderers.Disassembly), + ], + self._generator(), + ) \ No newline at end of file diff --git a/volatility3/framework/symbols/windows/mft.json b/volatility3/framework/symbols/windows/mft.json index e5de8f3fa..616e8990d 100644 --- a/volatility3/framework/symbols/windows/mft.json +++ b/volatility3/framework/symbols/windows/mft.json @@ -300,10 +300,24 @@ "kind": "base", "name": "unsigned short" } + }, + "ContentLength": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned int" + } + }, + "ContentOffset": { + "offset": 20, + "type": { + "kind": "base", + "name": "unsigned short" + } } }, "kind": "struct", - "size": 16 + "size": 22 },"RESIDENT_HEADER": { "fields": { "AttrSize": { From 46a6ab1721e241939af0b4c29bafdf2fcb09c405 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sun, 19 Nov 2023 13:09:47 +0100 Subject: [PATCH 0268/2186] Making sure it is ADS --- .../framework/plugins/windows/mftscan.py | 77 ++++++++++--------- 1 file changed, 41 insertions(+), 36 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index f5c3ebc95..b4af2a867 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -254,8 +254,8 @@ class ADS(interfaces.plugins.PluginInterface): # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr_header.AttrType file_name = "" + is_ads = 0 while attr_header.AttrType.is_valid_choice: - # Offset past the headers to the attribute data attr_data_offset = ( offset @@ -274,43 +274,48 @@ class ADS(interfaces.plugins.PluginInterface): # DATA Attribute (can be ADS or not) if attr_header.AttrType.lookup() == "DATA": - if not attr_header.NonResidentFlag: - # It is a resident file - if attr_header.NameLength > 0: - attr_name_offset = ( - offset - + attr_base_offset - + attr_header.NameOffset - ) - ads_name = self._context.layers[layer.name].read( - attr_name_offset, attr_header.NameLength*2 , pad=True - ).decode('utf-16') - attr_content_offset = ( - offset - + attr_base_offset - + attr_header.ContentOffset - ) - content = self._context.layers[layer.name].read( - attr_content_offset, attr_header.ContentLength , pad=True - ) + if is_ads > 0: + if not attr_header.NonResidentFlag: + # Resident files are the most interesting. + if attr_header.NameLength > 0: + attr_name_offset = ( + offset + + attr_base_offset + + attr_header.NameOffset + ) + ads_name = self._context.layers[layer.name].read( + attr_name_offset, attr_header.NameLength*2 , pad=True + ).decode('utf-16') + attr_content_offset = ( + offset + + attr_base_offset + + attr_header.ContentOffset + ) + content = self._context.layers[layer.name].read( + attr_content_offset, attr_header.ContentLength , pad=True + ) - - # Preparing for Disassembly - architecture = layer.metadata.get("architecture", None) - disasm = interfaces.renderers.Disassembly( - content, 0, architecture.lower() - ) + + # Preparing for Disassembly + architecture = layer.metadata.get("architecture", None) + disasm = interfaces.renderers.Disassembly( + content, 0, architecture.lower() + ) - yield 0, ( - format_hints.Hex(attr_data_offset), - mft_record.get_signature(), - mft_record.RecordNumber, - attr_header.AttrType.lookup(), - file_name, - ads_name, - format_hints.HexBytes(content), - disasm, - ) + yield 0, ( + format_hints.Hex(attr_data_offset), + mft_record.get_signature(), + mft_record.RecordNumber, + attr_header.AttrType.lookup(), + file_name, + ads_name, + format_hints.HexBytes(content), + disasm, + ) + else: + # The First Data Attr is the file itself not the ADS + is_ads+= 1 + # If there's no advancement the loop will never end, so break it now if attr_header.Length == 0: From fd5c8289397bfcbff816fb9ce18db987d5e5470e Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Mon, 20 Nov 2023 11:02:31 +0100 Subject: [PATCH 0269/2186] Renaming file, handling url parsing using urllib, changing logger and requirement condition placement. --- .../framework/layers/{objectstorage.py => cloudstorage.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename volatility3/framework/layers/{objectstorage.py => cloudstorage.py} (100%) diff --git a/volatility3/framework/layers/objectstorage.py b/volatility3/framework/layers/cloudstorage.py similarity index 100% rename from volatility3/framework/layers/objectstorage.py rename to volatility3/framework/layers/cloudstorage.py From 80483722ebc1a149f17d887648ef628abf71ed40 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 20 Nov 2023 11:57:56 +0100 Subject: [PATCH 0270/2186] split module functions to keep current API --- .../symbols/linux/extensions/__init__.py | 77 +++++++++++-------- 1 file changed, 46 insertions(+), 31 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 21edfc669..f5c71eb0e 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -104,64 +104,79 @@ class module(generic.GenericIntelProcess): for attr in arr: yield attr - def get_symbols(self): - """Get module symbols - - Yields: - A tuple for each symbol containing the symbol name and its corresponding value - """ - if symbols.symbol_table_is_64bit(self._context, self.get_symbol_table_name()): - prefix = "Elf64_" - else: - prefix = "Elf32_" + def get_elf_table_name(self): elf_table_name = intermed.IntermediateSymbolTable.create( self._context, - "module", + "config_name_elf_symbol_table", "linux", "elf", native_types=None, class_types=elf.class_types, ) + return elf_table_name + def get_symbols(self): + """Get symbols of the module + + Yields: + A symbol object + """ + + if not hasattr(self, "_elf_table_name"): + self._elf_table_name = self.get_elf_table_name() + if symbols.symbol_table_is_64bit(self._context, self.get_symbol_table_name()): + prefix = "Elf64_" + else: + prefix = "Elf32_" syms = self._context.object( self.get_symbol_table_name() + constants.BANG + "array", layer_name=self.vol.layer_name, offset=self.section_symtab, subtype=self._context.symbol_space.get_type( - elf_table_name + constants.BANG + prefix + "Sym" + self._elf_table_name + constants.BANG + prefix + "Sym" ), count=self.num_symtab + 1, ) if self.section_strtab: for sym in syms: - sym_arr = self._context.object( - self.get_symbol_table_name() + constants.BANG + "array", - layer_name=self.vol.native_layer_name, - offset=self.section_strtab + sym.st_name, - ) - try: - sym_name = utility.array_to_string( - sym_arr, 512 - ) # 512 is the value of KSYM_NAME_LEN kernel constant - except exceptions.InvalidAddressException: - continue - if sym_name != "": - # Normalize sym.st_value offset, which is an address pointing to the symbol value - mask = self._context.layers[self.vol.layer_name].address_mask - sym_address = sym.st_value & mask - yield (sym_name, sym_address) + yield sym + + def get_symbols_names_and_addresses(self): + """Get names and addresses for each symbol of the module + + Yields: + A tuple for each symbol containing the symbol name and its corresponding value + """ + + for sym in self.get_symbols(): + sym_arr = self._context.object( + self.get_symbol_table_name() + constants.BANG + "array", + layer_name=self.vol.native_layer_name, + offset=self.section_strtab + sym.st_name, + ) + try: + sym_name = utility.array_to_string( + sym_arr, 512 + ) # 512 is the value of KSYM_NAME_LEN kernel constant + except exceptions.InvalidAddressException: + continue + if sym_name != "": + # Normalize sym.st_value offset, which is an address pointing to the symbol value + mask = self._context.layers[self.vol.layer_name].address_mask + sym_address = sym.st_value & mask + yield (sym_name, sym_address) def get_symbol(self, wanted_sym_name): """Get symbol value for a given symbol name""" - for sym_name, sym_address in self.get_symbols(): + for sym_name, sym_address in self.get_symbols_names_and_addresses(): if wanted_sym_name == sym_name: return sym_address return None - def get_symbol_from_address(self, wanted_sym_address): + def get_symbol_by_address(self, wanted_sym_address): """Get symbol name for a given symbol address""" - for sym_name, sym_address in self.get_symbols(): + for sym_name, sym_address in self.get_symbols_names_and_addresses(): if wanted_sym_address == sym_address: return sym_name From c3dbf9714d9158b01385f78fb7434ecee64ac5b8 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Mon, 20 Nov 2023 19:12:07 +0100 Subject: [PATCH 0271/2186] Better variable init --- volatility3/framework/plugins/windows/mftscan.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index b4af2a867..c40f7ef73 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -59,7 +59,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" # Scan the layer for Raw MFT records and parse the fields - for offset, _rule_name, _name, _value in layer.scan( + for offset, _, _, _ in layer.scan( context=self.context, scanner=yarascan.YaraScanner(rules=rules) ): with contextlib.suppress(exceptions.PagedInvalidAddressException): @@ -253,8 +253,9 @@ class ADS(interfaces.plugins.PluginInterface): # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr_header.AttrType - file_name = "" - is_ads = 0 + file_name = "N/A" + is_ads = False + # The First $DATA Attr is the 'principal' file itself not the ADS while attr_header.AttrType.is_valid_choice: # Offset past the headers to the attribute data attr_data_offset = ( @@ -274,7 +275,7 @@ class ADS(interfaces.plugins.PluginInterface): # DATA Attribute (can be ADS or not) if attr_header.AttrType.lookup() == "DATA": - if is_ads > 0: + if is_ads: if not attr_header.NonResidentFlag: # Resident files are the most interesting. if attr_header.NameLength > 0: @@ -313,8 +314,7 @@ class ADS(interfaces.plugins.PluginInterface): disasm, ) else: - # The First Data Attr is the file itself not the ADS - is_ads+= 1 + is_ads = True # If there's no advancement the loop will never end, so break it now From 24609856de629ccb7adbab46977de3c8492846e8 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sat, 25 Nov 2023 17:04:47 +0100 Subject: [PATCH 0272/2186] Fixing: unused import, typo, ISF enhancement --- .../framework/plugins/windows/mftscan.py | 24 +++++++++---------- .../framework/symbols/windows/mft.json | 8 +++---- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index c40f7ef73..397ce75bc 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -5,7 +5,7 @@ import contextlib import datetime import logging -from volatility3.framework import constants, exceptions, interfaces, renderers, symbols +from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed @@ -53,13 +53,12 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # get each of the individual Field Sets mft_object = symbol_table + constants.BANG + "MFT_ENTRY" - attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" header_object = symbol_table + constants.BANG + "ATTR_HEADER" si_object = symbol_table + constants.BANG + "STANDARD_INFORMATION_ENTRY" fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" # Scan the layer for Raw MFT records and parse the fields - for offset, _, _, _ in layer.scan( + for offset, _rule_name, _name, _value in layer.scan( context=self.context, scanner=yarascan.YaraScanner(rules=rules) ): with contextlib.suppress(exceptions.PagedInvalidAddressException): @@ -86,8 +85,8 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): offset + attr_base_offset + self.context.symbol_space.get_type( - attribute_object - ).relative_child_offset("Attr_Data") + header_object + ).size ) # MFT Flags determine the file type or dir @@ -231,7 +230,6 @@ class ADS(interfaces.plugins.PluginInterface): # get each of the individual Field Sets mft_object = symbol_table + constants.BANG + "MFT_ENTRY" header_object = symbol_table + constants.BANG + "ATTR_HEADER" - attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" # Scan the layer for Raw MFT records and parse the fields @@ -253,7 +251,7 @@ class ADS(interfaces.plugins.PluginInterface): # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr_header.AttrType - file_name = "N/A" + file_name = renderers.NotAvailableValue is_ads = False # The First $DATA Attr is the 'principal' file itself not the ADS while attr_header.AttrType.is_valid_choice: @@ -262,8 +260,8 @@ class ADS(interfaces.plugins.PluginInterface): offset + attr_base_offset + self.context.symbol_space.get_type( - attribute_object - ).relative_child_offset("Attr_Data") + header_object + ).size ) if attr_header.AttrType.lookup() == "FILE_NAME": @@ -272,7 +270,6 @@ class ADS(interfaces.plugins.PluginInterface): ) file_name = attr_data.get_full_name() - # DATA Attribute (can be ADS or not) if attr_header.AttrType.lookup() == "DATA": if is_ads: @@ -284,19 +281,21 @@ class ADS(interfaces.plugins.PluginInterface): + attr_base_offset + attr_header.NameOffset ) + ads_name = self._context.layers[layer.name].read( attr_name_offset, attr_header.NameLength*2 , pad=True ).decode('utf-16') + attr_content_offset = ( offset + attr_base_offset + attr_header.ContentOffset - ) + ) + content = self._context.layers[layer.name].read( attr_content_offset, attr_header.ContentLength , pad=True ) - # Preparing for Disassembly architecture = layer.metadata.get("architecture", None) disasm = interfaces.renderers.Disassembly( @@ -330,7 +329,6 @@ class ADS(interfaces.plugins.PluginInterface): layer_name=layer.name, ) - def run(self): return renderers.TreeGrid( [ diff --git a/volatility3/framework/symbols/windows/mft.json b/volatility3/framework/symbols/windows/mft.json index 616e8990d..d4f2aef7a 100644 --- a/volatility3/framework/symbols/windows/mft.json +++ b/volatility3/framework/symbols/windows/mft.json @@ -230,21 +230,21 @@ "offset": 0, "type": { "kind": "struct", - "name": "mft!ATTR_HEADER" + "name": "ATTR_HEADER" } }, "Resident_Header": { "offset": 16, "type": { "kind": "struct", - "name": "mft!RESIDENT_HEADER" + "name": "RESIDENT_HEADER" } }, "Attr_Data": { "offset": 24, "type": { "kind": "struct", - "name": "mft!ATTR_HEADER" + "name": "ATTR_HEADER" } } }, @@ -317,7 +317,7 @@ } }, "kind": "struct", - "size": 22 + "size": 24 },"RESIDENT_HEADER": { "fields": { "AttrSize": { From 62506aece60740787374fbc6f141dc3c33a34027 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 26 Nov 2023 11:23:09 +0000 Subject: [PATCH 0273/2186] Core: Fix up github security issues This fixes an unused import, an improper use of self and lots and lots of places where we implicitly return None. This now explicitly returns None to improve readability and prevent mixed implicit and explicit return values. This should also somewhat aid type checking by humans. --- volatility3/cli/__init__.py | 4 +-- volatility3/cli/volshell/generic.py | 6 ++-- volatility3/cli/volshell/linux.py | 4 +-- volatility3/cli/volshell/mac.py | 4 +-- volatility3/cli/volshell/windows.py | 2 +- volatility3/framework/automagic/module.py | 6 ++-- volatility3/framework/automagic/stacker.py | 2 +- .../framework/automagic/symbol_finder.py | 4 +-- volatility3/framework/layers/intel.py | 4 +-- volatility3/framework/layers/msf.py | 2 +- volatility3/framework/layers/segmented.py | 4 +-- .../framework/plugins/linux/capabilities.py | 2 +- .../framework/plugins/linux/check_syscall.py | 2 +- .../framework/plugins/linux/malfind.py | 2 +- .../framework/plugins/linux/sockstat.py | 12 ++++---- .../framework/plugins/mac/check_sysctl.py | 2 +- volatility3/framework/plugins/mac/kevents.py | 4 +-- volatility3/framework/plugins/mac/lsmod.py | 2 +- volatility3/framework/plugins/mac/malfind.py | 2 +- .../framework/plugins/windows/cachedump.py | 10 +++---- .../framework/plugins/windows/callbacks.py | 10 +++---- .../framework/plugins/windows/dumpfiles.py | 2 +- .../framework/plugins/windows/handles.py | 4 +-- .../framework/plugins/windows/lsadump.py | 6 ++-- .../framework/plugins/windows/malfind.py | 2 +- .../framework/plugins/windows/netstat.py | 4 +-- .../framework/plugins/windows/pstree.py | 4 +-- .../plugins/windows/registry/hivelist.py | 2 +- .../plugins/windows/registry/printkey.py | 2 +- .../plugins/windows/registry/userassist.py | 4 +-- .../plugins/windows/skeleton_key_check.py | 8 +++--- .../framework/renderers/format_hints.py | 3 +- .../framework/symbols/linux/__init__.py | 8 +++--- .../symbols/linux/extensions/__init__.py | 28 +++++++++---------- .../framework/symbols/linux/extensions/elf.py | 2 +- volatility3/framework/symbols/mac/__init__.py | 4 +-- .../symbols/mac/extensions/__init__.py | 10 +++---- .../symbols/windows/extensions/__init__.py | 22 +++++++-------- .../symbols/windows/extensions/registry.py | 4 +-- .../symbols/windows/extensions/services.py | 2 +- .../framework/symbols/windows/pdbutil.py | 1 - 41 files changed, 106 insertions(+), 106 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 9bfd14c6c..91bda7c66 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -662,7 +662,7 @@ class CommandLine: def close(self): # Don't overcommit if self.closed: - return + return None self.seek(0) @@ -712,7 +712,7 @@ class CommandLine: """Closes and commits the file (by moving the temporary file to the correct name""" # Don't overcommit if self._file.closed: - return + return None self._file.close() output_filename = self._get_final_filename() diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index ea9e65d9b..b95129d19 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -108,7 +108,7 @@ class Volshell(interfaces.plugins.PluginInterface): """Describes the available commands""" if args: help(*args) - return + return None variables = [] print("\nMethods:") @@ -325,7 +325,7 @@ class Volshell(interfaces.plugins.PluginInterface): (str, interfaces.objects.ObjectInterface, interfaces.objects.Template), ): print("Cannot display information about non-type object") - return + return None if not isinstance(object, str): # Mypy requires us to order things this way @@ -453,7 +453,7 @@ class Volshell(interfaces.plugins.PluginInterface): """Prints an alphabetical list of symbols for a symbol table""" if symbol_table is None: print("No symbol table provided") - return + return None longest_offset = longest_name = 0 table = self.context.symbol_space[symbol_table] diff --git a/volatility3/cli/volshell/linux.py b/volatility3/cli/volshell/linux.py index 8c23bbec3..c5e555ec7 100644 --- a/volatility3/cli/volshell/linux.py +++ b/volatility3/cli/volshell/linux.py @@ -35,9 +35,9 @@ class Volshell(generic.Volshell): process_layer = task.add_process_layer() if process_layer is not None: self.change_layer(process_layer) - return + return None print(f"Layer for task ID {pid} could not be constructed") - return + return None print(f"No task with task ID {pid} found") def list_tasks(self): diff --git a/volatility3/cli/volshell/mac.py b/volatility3/cli/volshell/mac.py index b709511b1..2b32ad677 100644 --- a/volatility3/cli/volshell/mac.py +++ b/volatility3/cli/volshell/mac.py @@ -35,9 +35,9 @@ class Volshell(generic.Volshell): process_layer = task.add_process_layer() if process_layer is not None: self.change_layer(process_layer) - return + return None print(f"Layer for task ID {pid} could not be constructed") - return + return None print(f"No task with task ID {pid} found") def list_tasks(self, method=None): diff --git a/volatility3/cli/volshell/windows.py b/volatility3/cli/volshell/windows.py index 652b2e66b..5c2190c02 100644 --- a/volatility3/cli/volshell/windows.py +++ b/volatility3/cli/volshell/windows.py @@ -32,7 +32,7 @@ class Volshell(generic.Volshell): if process.UniqueProcessId == pid: process_layer = process.add_process_layer() self.change_layer(process_layer) - return + return None print(f"No process with process ID {pid} found") def list_processes(self): diff --git a/volatility3/framework/automagic/module.py b/volatility3/framework/automagic/module.py index 2bdaf3f62..ee56a040c 100644 --- a/volatility3/framework/automagic/module.py +++ b/volatility3/framework/automagic/module.py @@ -29,9 +29,9 @@ class KernelModule(interfaces.automagic.AutomagicInterface): requirement.requirements[req], progress_callback, ) - return + return None if not requirement.unsatisfied(context, config_path): - return + return None # The requirement is unfulfilled and is a ModuleRequirement context.config[ @@ -43,7 +43,7 @@ class KernelModule(interfaces.automagic.AutomagicInterface): requirement.requirements[req].unsatisfied(context, new_config_path) and req != "offset" ): - return + return None # We now just have the offset requirement, but the layer requirement has been fulfilled. # Unfortunately we don't know the layer name requirement's exact name diff --git a/volatility3/framework/automagic/stacker.py b/volatility3/framework/automagic/stacker.py index d966d99fa..c251d3c46 100644 --- a/volatility3/framework/automagic/stacker.py +++ b/volatility3/framework/automagic/stacker.py @@ -103,7 +103,7 @@ class LayerStacker(interfaces.automagic.AutomagicInterface): appropriate_config_path, layer_name = result context.config.merge(appropriate_config_path, subconfig) context.config[appropriate_config_path] = top_layer_name - return + return None self._cached = None new_context = context.clone() diff --git a/volatility3/framework/automagic/symbol_finder.py b/volatility3/framework/automagic/symbol_finder.py index f30dff456..bf1c8ff16 100644 --- a/volatility3/framework/automagic/symbol_finder.py +++ b/volatility3/framework/automagic/symbol_finder.py @@ -69,7 +69,7 @@ class SymbolFinder(interfaces.automagic.AutomagicInterface): # Bomb out early if our details haven't been configured if self.symbol_class is None: - return + return None self._requirements = self.find_requirements( context, @@ -120,7 +120,7 @@ class SymbolFinder(interfaces.automagic.AutomagicInterface): # Bomb out early if there's no banners if not self.banners: - return + return None mss = scanners.MultiStringScanner([x for x in self.banners if x is not None]) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 046203fa6..7d3b86a12 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -331,9 +331,9 @@ class Intel(linear.LinearlyMappedLayer): except exceptions.InvalidAddressException: if not ignore_errors: raise - return + return None yield offset, length, mapped_offset, length, layer_name - return + return None while length > 0: try: chunk_offset, page_size, layer_name = self._translate(offset) diff --git a/volatility3/framework/layers/msf.py b/volatility3/framework/layers/msf.py index 76c645e92..8d84a774b 100644 --- a/volatility3/framework/layers/msf.py +++ b/volatility3/framework/layers/msf.py @@ -47,7 +47,7 @@ class PdbMultiStreamFormat(linear.LinearlyMappedLayer): def read_streams(self): # Shortcut in case they've already been read if self._streams: - return + return None # Recover the root table, by recovering the root table index table... module = self.context.module(self.pdb_symbol_table, self._base_layer, offset=0) diff --git a/volatility3/framework/layers/segmented.py b/volatility3/framework/layers/segmented.py index beb667436..0d29d8bff 100644 --- a/volatility3/framework/layers/segmented.py +++ b/volatility3/framework/layers/segmented.py @@ -126,9 +126,9 @@ class NonLinearlySegmentedLayer( current_offset = logical_offset # If it starts too late then we're done if logical_offset > offset + length: - return + return None except exceptions.InvalidAddressException: - return + return None # Crop it to the amount we need left chunk_size = min(size, length + offset - logical_offset) yield logical_offset, chunk_size, mapped_offset, mapped_size, self._base_layer diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index 518f52603..bfdb69aba 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -88,7 +88,7 @@ class Capabilities(plugins.PluginInterface): kernel_cap_last_cap = vmlinux.object_from_symbol(symbol_name="cap_last_cap") except exceptions.SymbolError: # It should be a kernel < 3.2 - return + return None vol2_last_cap = extensions.kernel_cap_struct.get_last_cap_value() if kernel_cap_last_cap > vol2_last_cap: diff --git a/volatility3/framework/plugins/linux/check_syscall.py b/volatility3/framework/plugins/linux/check_syscall.py index b1d2919f9..b6634d612 100644 --- a/volatility3/framework/plugins/linux/check_syscall.py +++ b/volatility3/framework/plugins/linux/check_syscall.py @@ -145,7 +145,7 @@ class Check_syscall(plugins.PluginInterface): table_info = self._get_table_info(vmlinux, "sys_call_table", ptr_sz) except exceptions.SymbolError: vollog.error("Unable to find the system call table. Exiting.") - return + return None tables = [(table_name, table_info)] diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 8a21afc03..cf06ee0cc 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -44,7 +44,7 @@ class Malfind(interfaces.plugins.PluginInterface): proc_layer_name = task.add_process_layer() if not proc_layer_name: - return + return None proc_layer = self.context.layers[proc_layer_name] diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index fa67122ba..e9c98a227 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -147,7 +147,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): socket_filter["bpf_filter_type"] = "cBPF" if not sock_filter.has_member("prog") or not sock_filter.prog: - return + return None bpfprog = sock_filter.prog @@ -158,13 +158,13 @@ class SockHandlers(interfaces.configuration.VersionableInterface): return # cBPF filter except AttributeError: # kernel < 3.18.140, it's a cBPF filter - return + return None BPF_PROG_TYPE_SOCKET_FILTER = 1 # eBPF filter if bpfprog_type != BPF_PROG_TYPE_SOCKET_FILTER: socket_filter["bpf_filter_type"] = f"UNK({bpfprog_type})" vollog.warning(f"Unexpected BPF type {bpfprog_type} for a socket") - return + return None socket_filter["bpf_filter_type"] = "eBPF" if not bpfprog.has_member("aux") or not bpfprog.aux: @@ -329,17 +329,17 @@ class SockHandlers(interfaces.configuration.VersionableInterface): xdp_sock = sock.cast("xdp_sock") device = xdp_sock.dev if not device: - return + return None src_addr = utility.array_to_string(device.name) src_port = dst_addr = dst_port = None bpfprog = device.xdp_prog if not bpfprog: - return + return None if not bpfprog.has_member("aux") or not bpfprog.aux: - return + return None bpfprog_aux = bpfprog.aux if bpfprog_aux.has_member("id"): diff --git a/volatility3/framework/plugins/mac/check_sysctl.py b/volatility3/framework/plugins/mac/check_sysctl.py index 165aad436..4f64eaed8 100644 --- a/volatility3/framework/plugins/mac/check_sysctl.py +++ b/volatility3/framework/plugins/mac/check_sysctl.py @@ -69,7 +69,7 @@ class Check_sysctl(plugins.PluginInterface): try: sysctl = sysctl.oid_link.sle_next.dereference() except exceptions.InvalidAddressException: - return + return None while sysctl: try: diff --git a/volatility3/framework/plugins/mac/kevents.py b/volatility3/framework/plugins/mac/kevents.py index 3b996bc0a..2a8692b77 100644 --- a/volatility3/framework/plugins/mac/kevents.py +++ b/volatility3/framework/plugins/mac/kevents.py @@ -116,7 +116,7 @@ class Kevents(interfaces.plugins.PluginInterface): ) except exceptions.InvalidAddressException: - return + return None for klist in klist_array: for kn in mac.MacUtilities.walk_slist(klist, "kn_link"): @@ -140,7 +140,7 @@ class Kevents(interfaces.plugins.PluginInterface): try: p_klist = task.p_klist except exceptions.InvalidAddressException: - return + return None for kn in mac.MacUtilities.walk_slist(p_klist, "kn_link"): yield kn diff --git a/volatility3/framework/plugins/mac/lsmod.py b/volatility3/framework/plugins/mac/lsmod.py index 2979e374b..c6f57f889 100644 --- a/volatility3/framework/plugins/mac/lsmod.py +++ b/volatility3/framework/plugins/mac/lsmod.py @@ -75,7 +75,7 @@ class Lsmod(plugins.PluginInterface): try: kmod = kmod.next except exceptions.InvalidAddressException: - return + return None return # Generation finished def _generator(self): diff --git a/volatility3/framework/plugins/mac/malfind.py b/volatility3/framework/plugins/mac/malfind.py index 98b282e24..3094ada85 100644 --- a/volatility3/framework/plugins/mac/malfind.py +++ b/volatility3/framework/plugins/mac/malfind.py @@ -40,7 +40,7 @@ class Malfind(interfaces.plugins.PluginInterface): proc_layer_name = task.add_process_layer() if proc_layer_name is None: - return + return None proc_layer = self.context.layers[proc_layer_name] diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index a9b669add..6e667984a 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -108,12 +108,12 @@ class Cachedump(interfaces.plugins.PluginInterface): vollog.warning("Unable to locate SYSTEM hive") if sechive is None: vollog.warning("Unable to locate SECURITY hive") - return + return None bootkey = hashdump.Hashdump.get_bootkey(syshive) if not bootkey: vollog.warning("Unable to find bootkey") - return + return None kernel = self.context.modules[self.config["kernel"]] @@ -124,17 +124,17 @@ class Cachedump(interfaces.plugins.PluginInterface): lsakey = lsadump.Lsadump.get_lsa_key(sechive, bootkey, vista_or_later) if not lsakey: vollog.warning("Unable to find lsa key") - return + return None nlkm = self.get_nlkm(sechive, lsakey, vista_or_later) if not nlkm: vollog.warning("Unable to find nlkma key") - return + return None cache = hashdump.Hashdump.get_hive_key(sechive, "Cache") if not cache: vollog.warning("Unable to find cache key") - return + return None for cache_item in cache.get_values(): if cache_item.Name == "NL$Control": diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index 48b2e7c62..fcc333b9f 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -157,7 +157,7 @@ class Callbacks(interfaces.plugins.PluginInterface): ) if callback_count == 0: - return + return None fast_refs = ntkrnlmp.object( object_type="array", @@ -199,7 +199,7 @@ class Callbacks(interfaces.plugins.PluginInterface): ) if callback_count == 0: - return + return None callback_list = ntkrnlmp.object(object_type="_LIST_ENTRY", offset=symbol_offset) for callback in callback_list.to_list(full_type_name, "Link"): @@ -256,7 +256,7 @@ class Callbacks(interfaces.plugins.PluginInterface): symbol_status = "exists" vollog.debug(f"symbol {symbol_name} {symbol_status}.") - return + return None @classmethod def list_bugcheck_reason_callbacks( @@ -287,7 +287,7 @@ class Callbacks(interfaces.plugins.PluginInterface): ).address except exceptions.SymbolError: vollog.debug("Cannot find KeBugCheckReasonCallbackListHead") - return + return None full_type_name = ( callback_table_name + constants.BANG + "_KBUGCHECK_REASON_CALLBACK_RECORD" @@ -343,7 +343,7 @@ class Callbacks(interfaces.plugins.PluginInterface): list_offset = ntkrnlmp.get_symbol("KeBugCheckCallbackListHead").address except exceptions.SymbolError: vollog.debug("Cannot find KeBugCheckCallbackListHead") - return + return None full_type_name = ( callback_table_name + constants.BANG + "_KBUGCHECK_CALLBACK_RECORD" diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index 38d55d15d..dd82d897e 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -130,7 +130,7 @@ class DumpFiles(interfaces.plugins.PluginInterface): constants.LOGLEVEL_VVV, f"The file object at {file_obj.vol.offset:#x} is not a file on disk", ) - return + return None # Depending on the type of object (DataSection, ImageSection, SharedCacheMap) we may need to # read from the memory layer or the primary layer. diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index dd7c90860..ddd9cb78e 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -285,7 +285,7 @@ class Handles(interfaces.plugins.PluginInterface): count = 0x1000 / subtype.size if not self.context.layers[virtual].is_valid(offset): - return + return None table = ntkrnlmp.object( object_type="array", @@ -335,7 +335,7 @@ class Handles(interfaces.plugins.PluginInterface): constants.LOGLEVEL_VVV, "Handle table parsing was aborted due to an invalid address exception", ) - return + return None for handle_table_entry in self._make_handle_array(TableCode, table_levels): yield handle_table_entry diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 12589b07e..da8dee325 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -168,16 +168,16 @@ class Lsadump(interfaces.plugins.PluginInterface): lsakey = self.get_lsa_key(sechive, bootkey, vista_or_later) if not bootkey: vollog.warning("Unable to find bootkey") - return + return None if not lsakey: vollog.warning("Unable to find lsa key") - return + return None secrets_key = hashdump.Hashdump.get_hive_key(sechive, "Policy\\Secrets") if not secrets_key: vollog.warning("Unable to find secrets key") - return + return None for key in secrets_key.get_subkeys(): sec_val_key = hashdump.Hashdump.get_hive_key( diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 424925955..6ed078996 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -110,7 +110,7 @@ class Malfind(interfaces.plugins.PluginInterface): proc_id, excp.invalid_address, excp.layer_name ) ) - return + return None proc_layer = context.layers[proc_layer_name] diff --git a/volatility3/framework/plugins/windows/netstat.py b/volatility3/framework/plugins/windows/netstat.py index d3ce3fd2e..24eb02018 100644 --- a/volatility3/framework/plugins/windows/netstat.py +++ b/volatility3/framework/plugins/windows/netstat.py @@ -154,7 +154,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) else: # invalid argument. - return + return None vollog.debug(f"Current Port: {port}") # the given port serves as a shifted index into the port pool lists @@ -175,7 +175,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): assignment = inpa.InPaBigPoolBase.Assignments[truncated_port] if not assignment: - return + return None # the value within assignment.Entry is a) masked and b) points inside of the network object # first decode the pointer diff --git a/volatility3/framework/plugins/windows/pstree.py b/volatility3/framework/plugins/windows/pstree.py index 5c78d1682..a39fe7485 100644 --- a/volatility3/framework/plugins/windows/pstree.py +++ b/volatility3/framework/plugins/windows/pstree.py @@ -108,13 +108,13 @@ class PsTree(interfaces.plugins.PluginInterface): def yield_processes(pid, descendant: bool = False): if pid in process_pids: vollog.debug(f"Pid cycle: already processed pid {pid}") - return + return None process_pids.add(pid) if pid not in self._ancestors and not descendant: vollog.debug(f"Pid cycle: pid {pid} not in filtered tree") - return + return None proc, offset = self._processes[pid] row = ( diff --git a/volatility3/framework/plugins/windows/registry/hivelist.py b/volatility3/framework/plugins/windows/registry/hivelist.py index 91798de40..1cc76dad6 100644 --- a/volatility3/framework/plugins/windows/registry/hivelist.py +++ b/volatility3/framework/plugins/windows/registry/hivelist.py @@ -30,7 +30,7 @@ class HiveGenerator: ): if not hive.is_valid(): self._invalid = hive.vol.offset - return + return None yield hive @property diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index f66e55f4b..e248c19bc 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -74,7 +74,7 @@ class PrintKey(interfaces.plugins.PluginInterface): node_path = [hive.get_node(hive.root_cell_offset)] if not isinstance(node_path, list) or len(node_path) < 1: vollog.warning("Hive walker was not passed a valid node_path (or None)") - return + return None node = node_path[-1] key_path_items = [hive] + node_path[1:] key_path = "\\".join([k.get_name() for k in key_path_items]) diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index f90724f66..70c75b50b 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -173,11 +173,11 @@ class UserAssist(interfaces.plugins.PluginInterface): if not userassist_node_path: vollog.warning("list_userassist did not find a valid node_path (or None)") - return + return None if not isinstance(userassist_node_path, list): vollog.warning("userassist_node_path did not return a list as expected") - return + return None userassist_node = userassist_node_path[-1] # iterate through the GUIDs under the userassist key for guidkey in userassist_node.get_subkeys(): diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index b697774cb..d321c2cc0 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -601,21 +601,21 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): if not symbols.symbol_table_is_64bit(self.context, kernel.symbol_table_name): vollog.info("This plugin only supports 64bit Windows memory samples") - return + return None lsass_proc, proc_layer_name = self._find_lsass_proc(procs) if not lsass_proc: vollog.info( "Unable to find a valid lsass.exe process in the process list. This should never happen. Analysis cannot proceed." ) - return + return None cryptdll_base, cryptdll_size = self._find_cryptdll(lsass_proc) if not cryptdll_base: vollog.info( "Unable to find the location of cryptdll.dll inside of lsass.exe. Analysis cannot proceed." ) - return + return None # the custom type information from binary analysis cryptdll_types = self._get_cryptdll_types( @@ -649,7 +649,7 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): vollog.info( "Unable to find CSystems inside of cryptdll.dll. Analysis cannot proceed." ) - return + return None for csystem in csystems: if not self.context.layers[proc_layer_name].is_valid( diff --git a/volatility3/framework/renderers/format_hints.py b/volatility3/framework/renderers/format_hints.py index 6ec9ebab9..6120b77c9 100644 --- a/volatility3/framework/renderers/format_hints.py +++ b/volatility3/framework/renderers/format_hints.py @@ -59,7 +59,8 @@ class MultiTypeData(bytes): def __eq__(self, other): return ( - super(self) == super(other) + isinstance(other, self.__class__) + and super() == super(self.__class__, other) and self.converted_int == other.converted_int and self.encoding == other.encoding and self.split_nulls == other.split_nulls diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index f96302684..3d424dedd 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -243,17 +243,17 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): ): # task.files can be null if not task.files: - return + return None fd_table = task.files.get_fds() if fd_table == 0: - return + return None max_fds = task.files.get_max_fds() # corruption check if max_fds > 500000: - return + return None file_type = symbol_table + constants.BANG + "file" @@ -378,7 +378,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): """ if not addr: - return + return None type_dec = vmlinux.get_type(type_name) member_offset = type_dec.relative_child_offset(member_name) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3fb772135..d1edfdfe0 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -319,7 +319,7 @@ class maple_tree(objects.StructType): vollog.warning( f"The mte {hex(maple_tree_entry)} has all ready been seen, no further results will be produced for this node." ) - return + return None else: seen.add(maple_tree_entry) # check if we have exceeded the expected depth of this maple tree. @@ -402,7 +402,7 @@ class mm_struct(objects.StructType): "get_mmap_iter called on mm_struct where no mmap member exists." ) if not self.mmap: - return + return None yield self.mmap seen = {self.mmap.vol.offset} @@ -723,7 +723,7 @@ class list_head(objects.StructType, collections.abc.Iterable): try: link = getattr(self, direction).dereference() except exceptions.InvalidAddressException: - return + return None if not sentinel: yield self._context.object( symbol_type, layer, offset=self.vol.offset - relative_offset @@ -1218,7 +1218,7 @@ class sock(objects.StructType): return self.sk_socket.get_inode() def get_protocol(self): - return + return None def get_state(self): # Return the generic socket state @@ -1230,13 +1230,13 @@ class sock(objects.StructType): class unix_sock(objects.StructType): def get_name(self): if not self.addr: - return + return None sockaddr_un = self.addr.name.cast("sockaddr_un") saddr = str(utility.array_to_string(sockaddr_un.sun_path)) return saddr def get_protocol(self): - return + return None def get_state(self): """Return a string representing the sock state.""" @@ -1295,7 +1295,7 @@ class inet_sock(objects.StructType): elif hasattr(sk_common, "skc_dport"): dport_le = sk_common.skc_dport else: - return + return None return socket_module.htons(dport_le) def get_src_addr(self): @@ -1313,7 +1313,7 @@ class inet_sock(objects.StructType): addr_size = 16 saddr = self.pinet6.saddr else: - return + return None parent_layer = self._context.layers[self.vol.layer_name] try: addr_bytes = parent_layer.read(saddr.vol.offset, addr_size) @@ -1321,7 +1321,7 @@ class inet_sock(objects.StructType): vollog.debug( f"Unable to read socket src address from {saddr.vol.offset:#x}" ) - return + return None return socket_module.inet_ntop(family, addr_bytes) def get_dst_addr(self): @@ -1342,7 +1342,7 @@ class inet_sock(objects.StructType): daddr = sk_common.skc_v6_daddr addr_size = 16 else: - return + return None parent_layer = self._context.layers[self.vol.layer_name] try: addr_bytes = parent_layer.read(daddr.vol.offset, addr_size) @@ -1350,7 +1350,7 @@ class inet_sock(objects.StructType): vollog.debug( f"Unable to read socket dst address from {daddr.vol.offset:#x}" ) - return + return None return socket_module.inet_ntop(family, addr_bytes) @@ -1388,7 +1388,7 @@ class netlink_sock(objects.StructType): class vsock_sock(objects.StructType): def get_protocol(self): # The protocol should always be 0 for vsocks - return + return None def get_state(self): # Return the generic socket state @@ -1399,7 +1399,7 @@ class packet_sock(objects.StructType): def get_protocol(self): eth_proto = socket_module.htons(self.num) if eth_proto == 0: - return + return None elif eth_proto in ETH_PROTOCOLS: return ETH_PROTOCOLS[eth_proto] else: @@ -1425,7 +1425,7 @@ class bt_sock(objects.StructType): class xdp_sock(objects.StructType): def get_protocol(self): # The protocol should always be 0 for xdp_sock - return + return None def get_state(self): # xdp_sock.state is an enum diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index 416a7e4d2..e3034d643 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -171,7 +171,7 @@ class elf(objects.StructType): self._find_symbols() if self._cached_symtab is None: - return + return None symtab_arr = self._context.object( self.get_symbol_table_name() + constants.BANG + "array", diff --git a/volatility3/framework/symbols/mac/__init__.py b/volatility3/framework/symbols/mac/__init__.py index 56ac96633..bc98e5bdc 100644 --- a/volatility3/framework/symbols/mac/__init__.py +++ b/volatility3/framework/symbols/mac/__init__.py @@ -169,7 +169,7 @@ class MacUtilities(interfaces.configuration.VersionableInterface): try: table_addr = task.p_fd.fd_ofiles.dereference() except exceptions.InvalidAddressException: - return + return None fds = objects.utility.array_of_pointers( table_addr, count=num_fds, subtype=file_type, context=context @@ -204,7 +204,7 @@ class MacUtilities(interfaces.configuration.VersionableInterface): try: current = queue.member(attr=list_head_member) except exceptions.InvalidAddressException: - return + return None while current: if current.vol.offset in seen: diff --git a/volatility3/framework/symbols/mac/extensions/__init__.py b/volatility3/framework/symbols/mac/extensions/__init__.py index c89b527e6..bf0b3d775 100644 --- a/volatility3/framework/symbols/mac/extensions/__init__.py +++ b/volatility3/framework/symbols/mac/extensions/__init__.py @@ -50,7 +50,7 @@ class proc(generic.GenericIntelProcess): task = self.get_task() current_map = task.map.hdr.links.next except exceptions.InvalidAddressException: - return + return None seen: Set[int] = set() @@ -138,13 +138,13 @@ class vm_map_object(objects.StructType): class vnode(objects.StructType): def _do_calc_path(self, ret, vnodeobj, vname): if vnodeobj is None: - return + return None if vname: try: ret.append(utility.pointer_to_string(vname, 255)) except exceptions.InvalidAddressException: - return + return None if int(vnodeobj.v_flag) & 0x000001 != 0 and int(vnodeobj.v_mount) != 0: if int(vnodeobj.v_mount.mnt_vnodecovered) != 0: @@ -158,7 +158,7 @@ class vnode(objects.StructType): parent = vnodeobj.v_parent parent_name = parent.v_name except exceptions.InvalidAddressException: - return + return None self._do_calc_path(ret, parent, parent_name) @@ -502,7 +502,7 @@ class queue_entry(objects.StructType): yielded = yielded + 1 if yielded == max_size: - return + return None n = ( getattr(n.member(attr=member_name), attr) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index ba00a4053..d435851d7 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -91,7 +91,7 @@ class MMVAD_SHORT(objects.StructType): if vad_address in visited: vollog.log(constants.LOGLEVEL_VVV, "VAD node already seen!") - return + return None visited.add(vad_address) tag = self.get_tag() @@ -111,7 +111,7 @@ class MMVAD_SHORT(objects.StructType): constants.LOGLEVEL_VVV, f"Skipping VAD at {self.vol.offset} depth {depth} with tag {tag}", ) - return + return None if target: vad_object = self.cast(target) @@ -665,7 +665,7 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ): yield entry except exceptions.InvalidAddressException: - return + return None def init_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]: """Generator for DLLs in the order that they were initialized""" @@ -678,7 +678,7 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ): yield entry except exceptions.InvalidAddressException: - return + return None def mem_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]: """Generator for DLLs in the order that they appear in memory""" @@ -691,7 +691,7 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ): yield entry except exceptions.InvalidAddressException: - return + return None def get_handle_count(self): try: @@ -841,11 +841,11 @@ class LIST_ENTRY(objects.StructType, collections.abc.Iterable): try: is_valid = trans_layer.is_valid(self.vol.offset) if not is_valid: - return + return None link = getattr(self, direction).dereference() except exceptions.InvalidAddressException: - return + return None if not sentinel: yield self._context.object( @@ -860,7 +860,7 @@ class LIST_ENTRY(objects.StructType, collections.abc.Iterable): obj_offset = link.vol.offset - relative_offset if not trans_layer.is_valid(obj_offset): - return + return None obj = self._context.object( symbol_type, @@ -875,7 +875,7 @@ class LIST_ENTRY(objects.StructType, collections.abc.Iterable): try: link = getattr(link, direction).dereference() except exceptions.InvalidAddressException: - return + return None def __iter__(self) -> Iterator[interfaces.objects.ObjectInterface]: return self.to_list(self.vol.parent.vol.type_name, self.vol.member_name) @@ -905,10 +905,10 @@ class TOKEN(objects.StructType): sid = sid_and_attr.Sid.dereference().cast("_SID") # catch invalid pointers (UserAndGroupCount is too high) if sid is None: - return + return None # this mimics the windows API IsValidSid if sid.Revision & 0xF != 1 or sid.SubAuthorityCount > 15: - return + return None id_auth = "" for i in sid.IdentifierAuthority.Value: id_auth = i diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index fbd3ead8e..51be0841c 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -162,7 +162,7 @@ class CM_KEY_NODE(objects.StructType): try: signature = node.cast("string", max_length=2, encoding="latin-1") except (exceptions.InvalidAddressException, RegistryFormatException): - return + return None listjump = None if signature == "ri": @@ -220,7 +220,7 @@ class CM_KEY_NODE(objects.StructType): yield node except (exceptions.InvalidAddressException, RegistryFormatException) as excp: vollog.debug(f"Invalid address in get_values iteration: {excp}") - return + return None def get_name(self) -> interfaces.objects.ObjectInterface: """Gets the name for the current key node""" diff --git a/volatility3/framework/symbols/windows/extensions/services.py b/volatility3/framework/symbols/windows/extensions/services.py index 00fb1cc4e..e14de761d 100644 --- a/volatility3/framework/symbols/windows/extensions/services.py +++ b/volatility3/framework/symbols/windows/extensions/services.py @@ -110,7 +110,7 @@ class SERVICE_RECORD(objects.StructType): yield rec rec = rec.ServiceList.Blink.dereference() except exceptions.InvalidAddressException: - return + return None class SERVICE_HEADER(objects.StructType): diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index bdcf25fa1..3816312cd 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -2,7 +2,6 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import binascii import json import logging import lzma From 8b6ab44310e3e39cd3fa06321dd208c2e88d5cd8 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 26 Nov 2023 12:30:06 +0000 Subject: [PATCH 0274/2186] Core: Fix array_of_pointers to act only on those pointers --- volatility3/framework/objects/utility.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 177074cd7..0292608c1 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -44,8 +44,9 @@ def array_of_pointers( raise TypeError( "Subtype must be a valid template (or string name of an object template)" ) + # We have to clone the pointer class, or we'll be defining the pointer subtype for all future pointers subtype_pointer = context.symbol_space.get_type( symbol_table + constants.BANG + "pointer" - ) + ).clone() subtype_pointer.update_vol(subtype=subtype) return array.cast("array", count=count, subtype=subtype_pointer) From 8d5877e904834811b215f33cedec384c6f25678e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 27 Nov 2023 00:59:56 +0000 Subject: [PATCH 0275/2186] Simplify attribute object accesses This is a very small percentage slower, for some reason, than the previous mechanism, probably overhead from object creation/member access. However, it vastly simplifies the code and makes better use of the volatility object model. --- .../framework/plugins/windows/mftscan.py | 48 +++++++------------ .../framework/symbols/windows/mft.json | 6 +-- 2 files changed, 19 insertions(+), 35 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 87416d274..4612077b8 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -67,9 +67,8 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) # We will update this on each pass in the next loop and use it as the new offset. attr_base_offset = mft_record.FirstAttrOffset - - attr_header = self.context.object( - header_object, + attr = self.context.object( + attribute_object, offset=offset + attr_base_offset, layer_name=layer.name, ) @@ -77,17 +76,8 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr_header.AttrType - while attr_header.AttrType.is_valid_choice: - vollog.debug(f"Attr Type: {attr_header.AttrType.lookup()}") - - # Offset past the headers to the attribute data - attr_data_offset = ( - offset - + attr_base_offset - + self.context.symbol_space.get_type( - attribute_object - ).relative_child_offset("Attr_Data") - ) + while attr.Attr_Header.AttrType.is_valid_choice: + vollog.debug(f"Attr Type: {attr.Attr_Header.AttrType.lookup()}") # MFT Flags determine the file type or dir # If we don't have a valid enum, coerce to hex so we can keep the record @@ -97,19 +87,16 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): mft_flag = hex(mft_record.Flags) # Standard Information Attribute - if attr_header.AttrType.lookup() == "STANDARD_INFORMATION": - attr_data = self.context.object( - si_object, offset=attr_data_offset, layer_name=layer.name - ) - + if attr.Attr_Header.AttrType.lookup() == "STANDARD_INFORMATION": + attr_data = attr.Attr_Data.cast(si_object) yield 0, ( - format_hints.Hex(attr_data_offset), + format_hints.Hex(attr_data.vol.offset), mft_record.get_signature(), mft_record.RecordNumber, mft_record.LinkCount, mft_flag, renderers.NotApplicableValue(), - attr_header.AttrType.lookup(), + attr.Attr_Header.AttrType.lookup(), conversion.wintime_to_datetime(attr_data.CreationTime), conversion.wintime_to_datetime(attr_data.ModifiedTime), conversion.wintime_to_datetime(attr_data.UpdatedTime), @@ -118,10 +105,8 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) # File Name Attribute - if attr_header.AttrType.lookup() == "FILE_NAME": - attr_data = self.context.object( - fn_object, offset=attr_data_offset, layer_name=layer.name - ) + if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": + attr_data = attr.Attr_Data.cast(fn_object) file_name = attr_data.get_full_name() # If we don't have a valid enum, coerce to hex so we can keep the record @@ -131,13 +116,13 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): permissions = hex(attr_data.Flags) yield 1, ( - format_hints.Hex(attr_data_offset), + format_hints.Hex(attr_data.vol.offset), mft_record.get_signature(), mft_record.RecordNumber, mft_record.LinkCount, mft_flag, permissions, - attr_header.AttrType.lookup(), + attr.Attr_Header.AttrType.lookup(), conversion.wintime_to_datetime(attr_data.CreationTime), conversion.wintime_to_datetime(attr_data.ModifiedTime), conversion.wintime_to_datetime(attr_data.UpdatedTime), @@ -146,14 +131,13 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) # If there's no advancement the loop will never end, so break it now - if attr_header.Length == 0: + if attr.Attr_Header.Length == 0: break # Update the base offset to point to the next attribute - attr_base_offset += attr_header.Length - # Get the next attribute - attr_header = self.context.object( - header_object, + attr_base_offset += attr.Attr_Header.Length + attr = self.context.object( + attribute_object, offset=offset + attr_base_offset, layer_name=layer.name, ) diff --git a/volatility3/framework/symbols/windows/mft.json b/volatility3/framework/symbols/windows/mft.json index e5de8f3fa..ecbf1d2d7 100644 --- a/volatility3/framework/symbols/windows/mft.json +++ b/volatility3/framework/symbols/windows/mft.json @@ -230,21 +230,21 @@ "offset": 0, "type": { "kind": "struct", - "name": "mft!ATTR_HEADER" + "name": "ATTR_HEADER" } }, "Resident_Header": { "offset": 16, "type": { "kind": "struct", - "name": "mft!RESIDENT_HEADER" + "name": "RESIDENT_HEADER" } }, "Attr_Data": { "offset": 24, "type": { "kind": "struct", - "name": "mft!ATTR_HEADER" + "name": "ATTR_HEADER" } } }, From 7624c494e81fddfe1f4ae1b754fae8fbecb76ee2 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Tue, 28 Nov 2023 13:57:02 +0100 Subject: [PATCH 0276/2186] Simplify attribute object accesses like #1049 + custom class (MFTAttribute) --- .../framework/plugins/windows/mftscan.py | 71 ++++++------------- .../symbols/windows/extensions/mft.py | 22 ++++++ 2 files changed, 44 insertions(+), 49 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 397ce75bc..623497638 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -224,12 +224,12 @@ class ADS(interfaces.plugins.PluginInterface): config_path=self.config_path, sub_path="windows", filename="mft", - class_types={"MFT_ENTRY": mft.MFTEntry,"FILE_NAME_ENTRY": mft.MFTFileName}, + class_types={"MFT_ENTRY": mft.MFTEntry,"FILE_NAME_ENTRY": mft.MFTFileName, "ATTRIBUTE": mft.MFTAttribute}, ) # get each of the individual Field Sets mft_object = symbol_table + constants.BANG + "MFT_ENTRY" - header_object = symbol_table + constants.BANG + "ATTR_HEADER" + attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" # Scan the layer for Raw MFT records and parse the fields @@ -243,58 +243,32 @@ class ADS(interfaces.plugins.PluginInterface): # We will update this on each pass in the next loop and use it as the new offset. attr_base_offset = mft_record.FirstAttrOffset - attr_header = self.context.object( - header_object, + attr = self.context.object( + attribute_object, offset=offset + attr_base_offset, layer_name=layer.name, ) # There is no field that has a count of Attributes - # Keep Attempting to read attributes until we get an invalid attr_header.AttrType + # Keep Attempting to read attributes until we get an invalid attr.AttrType file_name = renderers.NotAvailableValue is_ads = False - # The First $DATA Attr is the 'principal' file itself not the ADS - while attr_header.AttrType.is_valid_choice: - # Offset past the headers to the attribute data - attr_data_offset = ( - offset - + attr_base_offset - + self.context.symbol_space.get_type( - header_object - ).size - ) + + # The First $DATA Attr is the 'principal' file itself not the ADS + while attr.Attr_Header.AttrType.is_valid_choice: - if attr_header.AttrType.lookup() == "FILE_NAME": - attr_data = self.context.object( - fn_object, offset=attr_data_offset, layer_name=layer.name - ) + if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": + attr_data = attr.Attr_Data.cast(fn_object) file_name = attr_data.get_full_name() - - # DATA Attribute (can be ADS or not) - if attr_header.AttrType.lookup() == "DATA": + + if attr.Attr_Header.AttrType.lookup() == "DATA": if is_ads: - if not attr_header.NonResidentFlag: + if not attr.Attr_Header.NonResidentFlag: # Resident files are the most interesting. - if attr_header.NameLength > 0: - attr_name_offset = ( - offset - + attr_base_offset - + attr_header.NameOffset - ) + if attr.Attr_Header.NameLength > 0: - ads_name = self._context.layers[layer.name].read( - attr_name_offset, attr_header.NameLength*2 , pad=True - ).decode('utf-16') - - attr_content_offset = ( - offset - + attr_base_offset - + attr_header.ContentOffset - ) - - content = self._context.layers[layer.name].read( - attr_content_offset, attr_header.ContentLength , pad=True - ) + ads_name = attr.get_resident_filename() + content = attr.get_resident_filecontent() # Preparing for Disassembly architecture = layer.metadata.get("architecture", None) @@ -303,10 +277,10 @@ class ADS(interfaces.plugins.PluginInterface): ) yield 0, ( - format_hints.Hex(attr_data_offset), + format_hints.Hex(attr_data.vol.offset), mft_record.get_signature(), mft_record.RecordNumber, - attr_header.AttrType.lookup(), + attr.Attr_Header.AttrType.lookup(), file_name, ads_name, format_hints.HexBytes(content), @@ -317,18 +291,17 @@ class ADS(interfaces.plugins.PluginInterface): # If there's no advancement the loop will never end, so break it now - if attr_header.Length == 0: + if attr.Attr_Header.Length == 0: break # Update the base offset to point to the next attribute - attr_base_offset += attr_header.Length + attr_base_offset += attr.Attr_Header.Length # Get the next attribute - attr_header = self.context.object( - header_object, + attr = self.context.object( + attribute_object, offset=offset + attr_base_offset, layer_name=layer.name, ) - def run(self): return renderers.TreeGrid( [ diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index 17b6c8325..1b5d5fce4 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -21,3 +21,25 @@ class MFTFileName(objects.StructType): "string", encoding="utf16", max_length=self.NameLength * 2, errors="replace" ) return output + + +class MFTAttribute(objects.StructType): + """This represents an MFT ATTRIBUTE""" + + def get_resident_filename(self) -> str: + # To get the resident name, we jump to relative name offset and read name length * 2 bytes of data + layer = self._context.layers[self.vol.layer_name] + attr_name_offset = self.vol.offset + self.Attr_Header.NameOffset + + return self._context.layers[layer.name].read( + attr_name_offset, self.Attr_Header.NameLength*2 , pad=True + ).decode('utf-16') + + def get_resident_filecontent(self) -> bytes: + # To get the resident content, we jump to relative content offset and read name length * 2 bytes of data + layer = self._context.layers[self.vol.layer_name] + attr_content_offset = self.vol.offset + self.Attr_Header.ContentOffset + + return self._context.layers[layer.name].read( + attr_content_offset, self.Attr_Header.ContentLength , pad=True + ) From c610497fa04de41042104fdefbfa243c0bcf76a9 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 29 Nov 2023 09:28:34 +0000 Subject: [PATCH 0277/2186] Windows: update vadyarascan to use generic yarascan requirements --- .../framework/plugins/windows/vadyarascan.py | 39 ++++++------------- 1 file changed, 12 insertions(+), 27 deletions(-) diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 4b30a9d8b..d795818e9 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -18,47 +18,26 @@ class VadYaraScan(interfaces.plugins.PluginInterface): """Scans all the Virtual Address Descriptor memory maps using yara.""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ + # create a list of requirements for vadyarascan + vadyarascan_requirements = [ requirements.ModuleRequirement( name="kernel", description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.BooleanRequirement( - name="wide", - description="Match wide (unicode) strings", - default=False, - optional=True, - ), - requirements.StringRequirement( - name="yara_rules", description="Yara rules (as a string)", optional=True - ), - requirements.URIRequirement( - name="yara_file", description="Yara rules (as a file)", optional=True - ), - # This additional requirement is to follow suit with upstream, who feel that compiled rules could potentially be used to execute malicious code - # As such, there's a separate option to run compiled files, as happened with yara-3.9 and later - requirements.URIRequirement( - name="yara_compiled_file", - description="Yara compiled rules (as a file)", - optional=True, - ), - requirements.IntRequirement( - name="max_size", - default=0x40000000, - description="Set the maximum size (default is 1GB)", - optional=True, - ), requirements.PluginRequirement( name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) ), + requirements.PluginRequirement( + name="yarascan", plugin=yarascan.YaraScan, version=(1, 2, 0) + ), requirements.ListRequirement( name="pid", element_type=int, @@ -67,6 +46,12 @@ class VadYaraScan(interfaces.plugins.PluginInterface): ), ] + # get base yarascan requirements for command line options + yarascan_requirements = yarascan.YaraScan.get_yarascan_option_requirements() + + # return the combined requirements + return yarascan_requirements + vadyarascan_requirements + def _generator(self): kernel = self.context.modules[self.config["kernel"]] From 39144ff45fc89bb3a22325afe996cf1ba2dc4584 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 29 Nov 2023 12:51:08 +0100 Subject: [PATCH 0278/2186] type hint get_symbols_names_and_addresses --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index f5c71eb0e..1ec9c7416 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -141,7 +141,7 @@ class module(generic.GenericIntelProcess): for sym in syms: yield sym - def get_symbols_names_and_addresses(self): + def get_symbols_names_and_addresses(self) -> Tuple[str, int]: """Get names and addresses for each symbol of the module Yields: From b20643d5e01d8d8771937071ab433926e51fc18d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 29 Nov 2023 12:03:43 +0000 Subject: [PATCH 0279/2186] Linux: Tidy up the elf symbol table name --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 1824a5b76..c9f7f50da 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -107,7 +107,7 @@ class module(generic.GenericIntelProcess): def get_elf_table_name(self): elf_table_name = intermed.IntermediateSymbolTable.create( self._context, - "config_name_elf_symbol_table", + "elf_symbol_table", "linux", "elf", native_types=None, From 099403d07ce0651119d679accb79c8d0ff1253db Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 29 Nov 2023 20:47:14 +0000 Subject: [PATCH 0280/2186] Linux: fix bug with iomem plugin where an absolute address is used to make an object but the absolute flag is not set --- volatility3/framework/plugins/linux/iomem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/iomem.py b/volatility3/framework/plugins/linux/iomem.py index 785405ef3..6732084db 100644 --- a/volatility3/framework/plugins/linux/iomem.py +++ b/volatility3/framework/plugins/linux/iomem.py @@ -16,7 +16,7 @@ class IOMem(interfaces.plugins.PluginInterface): """Generates an output similar to /proc/iomem on a running system.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -53,7 +53,7 @@ class IOMem(interfaces.plugins.PluginInterface): # create the resource object with protection against memory smear try: - resource = vmlinux.object("resource", resource_offset) + resource = vmlinux.object("resource", resource_offset, absolute=True) except exceptions.InvalidAddressException: vollog.warning( f"Unable to create resource object at {resource_offset:#x}. This resource, " From ed98d453f676072dacac9f3ae343e54bcb17bd2e Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Thu, 30 Nov 2023 11:50:04 +0100 Subject: [PATCH 0281/2186] Changing requirements + formating --- requirements.txt | 4 +- volatility3/framework/layers/cloudstorage.py | 56 ++++++++++---------- 2 files changed, 29 insertions(+), 31 deletions(-) diff --git a/requirements.txt b/requirements.txt index 7e1c28595..c05546466 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,5 +18,5 @@ pycryptodome leechcorepyc>=2.4.0 # This is required for memory analysis on a Amazon/MinIO S3 and Google Cloud object storage -gcsfs>=2023.6.0 -s3fs>=2023.6.0 \ No newline at end of file +gcsfs>=2023.1.0 +s3fs>=2023.1.0 \ No newline at end of file diff --git a/volatility3/framework/layers/cloudstorage.py b/volatility3/framework/layers/cloudstorage.py index ce6cdb327..41afa324d 100644 --- a/volatility3/framework/layers/cloudstorage.py +++ b/volatility3/framework/layers/cloudstorage.py @@ -23,35 +23,33 @@ from volatility3.framework.layers import resources vollog = logging.getLogger(__file__) -class S3FileSystemHandler(resources.VolatilityHandler): - if HAS_S3FS: - @classmethod - def non_cached_schemes(cls) -> List[str]: - return ["s3"] +if HAS_S3FS: - @staticmethod - def default_open(req: urllib.request.Request) -> Optional[Any]: - """Handles the request if it's the s3 scheme.""" - if req.type == "s3": - object_uri = "://".join(req.full_url.split("://")[1:]) - return s3fs.S3FileSystem().open(object_uri) - return None - else: - raise exceptions.LayerException("s3 requirement is missing.") + class S3FileSystemHandler(resources.VolatilityHandler): + + @classmethod + def non_cached_schemes(cls) -> List[str]: + return ["s3"] + @staticmethod + def default_open(req: urllib.request.Request) -> Optional[Any]: + """Handles the request if it's the s3 scheme.""" + if req.type == "s3": + object_uri = "://".join(req.full_url.split("://")[1:]) + return s3fs.S3FileSystem().open(object_uri) + return None -class GSFileSystemHandler(resources.VolatilityHandler): - if HAS_GCSFS: - @classmethod - def non_cached_schemes(cls) -> List[str]: - return ["gs"] - - @staticmethod - def default_open(req: urllib.request.Request) -> Optional[Any]: - """Handles the request if it's the gs scheme.""" - if req.type == "gs": - object_uri = "://".join(req.full_url.split("://")[1:]) - return gcsfs.GCSFileSystem().open(object_uri) - return None - else: - raise exceptions.LayerException("gcsfs requirement is missing.") \ No newline at end of file +if HAS_GCSFS: + + class GSFileSystemHandler(resources.VolatilityHandler): + @classmethod + def non_cached_schemes(cls) -> List[str]: + return ["gs"] + + @staticmethod + def default_open(req: urllib.request.Request) -> Optional[Any]: + """Handles the request if it's the gs scheme.""" + if req.type == "gs": + object_uri = "://".join(req.full_url.split("://")[1:]) + return gcsfs.GCSFileSystem().open(object_uri) + return None \ No newline at end of file From 1f5a18d679424563a419d216e2e3353b20683f2c Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Thu, 30 Nov 2023 11:54:55 +0100 Subject: [PATCH 0282/2186] patch running black --- volatility3/framework/layers/cloudstorage.py | 48 ++++++++++---------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/volatility3/framework/layers/cloudstorage.py b/volatility3/framework/layers/cloudstorage.py index 41afa324d..3f88ef34f 100644 --- a/volatility3/framework/layers/cloudstorage.py +++ b/volatility3/framework/layers/cloudstorage.py @@ -8,12 +8,14 @@ from typing import Optional, Any, List try: import s3fs + HAS_S3FS = True except ImportError: HAS_S3FS = False try: import gcsfs + HAS_GCSFS = True except ImportError: HAS_GCSFS = False @@ -26,30 +28,30 @@ vollog = logging.getLogger(__file__) if HAS_S3FS: class S3FileSystemHandler(resources.VolatilityHandler): - - @classmethod - def non_cached_schemes(cls) -> List[str]: - return ["s3"] + @classmethod + def non_cached_schemes(cls) -> List[str]: + return ["s3"] + + @staticmethod + def default_open(req: urllib.request.Request) -> Optional[Any]: + """Handles the request if it's the s3 scheme.""" + if req.type == "s3": + object_uri = "://".join(req.full_url.split("://")[1:]) + return s3fs.S3FileSystem().open(object_uri) + return None - @staticmethod - def default_open(req: urllib.request.Request) -> Optional[Any]: - """Handles the request if it's the s3 scheme.""" - if req.type == "s3": - object_uri = "://".join(req.full_url.split("://")[1:]) - return s3fs.S3FileSystem().open(object_uri) - return None if HAS_GCSFS: - + class GSFileSystemHandler(resources.VolatilityHandler): - @classmethod - def non_cached_schemes(cls) -> List[str]: - return ["gs"] - - @staticmethod - def default_open(req: urllib.request.Request) -> Optional[Any]: - """Handles the request if it's the gs scheme.""" - if req.type == "gs": - object_uri = "://".join(req.full_url.split("://")[1:]) - return gcsfs.GCSFileSystem().open(object_uri) - return None \ No newline at end of file + @classmethod + def non_cached_schemes(cls) -> List[str]: + return ["gs"] + + @staticmethod + def default_open(req: urllib.request.Request) -> Optional[Any]: + """Handles the request if it's the gs scheme.""" + if req.type == "gs": + object_uri = "://".join(req.full_url.split("://")[1:]) + return gcsfs.GCSFileSystem().open(object_uri) + return None From 7fe086f64f7c98a2c46990eff2e585a383d4bea2 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 1 Dec 2023 13:37:09 +0000 Subject: [PATCH 0283/2186] Linux: update maple tree extension to fix issue #1032 correcting the mutable type used as a default parameter. --- .../symbols/linux/extensions/__init__.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index c3e50fce4..92c544c30 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -301,11 +301,7 @@ class maple_tree(objects.StructType): self.ma_flags & self.MT_FLAGS_HEIGHT_MASK ) >> self.MT_FLAGS_HEIGHT_OFFSET yield from self._parse_maple_tree_node( - self.ma_root, - maple_tree_offset, - expected_maple_tree_depth, - seen=set(), - current_depth=1, + self.ma_root, maple_tree_offset, expected_maple_tree_depth ) def _parse_maple_tree_node( @@ -313,11 +309,16 @@ class maple_tree(objects.StructType): maple_tree_entry, parent, expected_maple_tree_depth, - seen=set(), + seen=None, current_depth=1, ): """Recursively parse Maple Tree Nodes and yield all non empty slots""" + # create seen set if it does not exist, e.g. on the first call into + # this recursive function. + if seen == None: + seen = set() + # protect against unlikely loop if maple_tree_entry in seen: vollog.warning( @@ -326,6 +327,7 @@ class maple_tree(objects.StructType): return else: seen.add(maple_tree_entry) + # check if we have exceeded the expected depth of this maple tree. # e.g. when current_depth is larger than expected_maple_tree_depth there may be an issue. # it is normal that expected_maple_tree_depth is equal to current_depth. @@ -334,6 +336,7 @@ class maple_tree(objects.StructType): f"The depth for the maple tree at {hex(self.vol.offset)} is {expected_maple_tree_depth}, however when parsing the nodes " f"a depth of {current_depth} was reached. This is unexpected and may lead to incorrect results." ) + # parse the mte to extract the pointer value, node type, and leaf status pointer = maple_tree_entry & ~(self.MAPLE_NODE_POINTER_MASK) node_type = ( From 276e695237e0a93cdb4755bcc8c063acda7f3a85 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 1 Dec 2023 13:46:00 +0000 Subject: [PATCH 0284/2186] Linux: update maple tree extension comment around the seen set. --- .../framework/symbols/linux/extensions/__init__.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 92c544c30..dc31a7628 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -314,8 +314,13 @@ class maple_tree(objects.StructType): ): """Recursively parse Maple Tree Nodes and yield all non empty slots""" - # create seen set if it does not exist, e.g. on the first call into - # this recursive function. + # Create seen set if it does not exist, e.g. on the first call into this recursive function. This + # must be None or an existing set of addresses for MTEs that have already been processed or that + # should otherwise be ignored. If parsing from the root node for example this should be None on the + # first call. If you needed to parse all nodes downwards from part of the tree this should still be + # None. If however you wanted to parse from a node, but ignore some parts of the tree below it then + # this could be populated with the addresses of the nodes you wish to ignore. + if seen == None: seen = set() From ed2db939d6b36d18dd44bad13d6a603b760b62a2 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sun, 3 Dec 2023 12:24:11 +0100 Subject: [PATCH 0285/2186] Better exception handling. Fetching data using objects --- .../framework/plugins/windows/mftscan.py | 93 +++++++++---------- .../symbols/windows/extensions/mft.py | 39 +++++--- 2 files changed, 70 insertions(+), 62 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 623497638..4d58eb1e2 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -31,7 +31,6 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) ), - ] def _generator(self): @@ -53,6 +52,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # get each of the individual Field Sets mft_object = symbol_table + constants.BANG + "MFT_ENTRY" + attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" header_object = symbol_table + constants.BANG + "ATTR_HEADER" si_object = symbol_table + constants.BANG + "STANDARD_INFORMATION_ENTRY" fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" @@ -67,9 +67,8 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) # We will update this on each pass in the next loop and use it as the new offset. attr_base_offset = mft_record.FirstAttrOffset - - attr_header = self.context.object( - header_object, + attr = self.context.object( + attribute_object, offset=offset + attr_base_offset, layer_name=layer.name, ) @@ -77,17 +76,8 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr_header.AttrType - while attr_header.AttrType.is_valid_choice: - vollog.debug(f"Attr Type: {attr_header.AttrType.lookup()}") - - # Offset past the headers to the attribute data - attr_data_offset = ( - offset - + attr_base_offset - + self.context.symbol_space.get_type( - header_object - ).size - ) + while attr.Attr_Header.AttrType.is_valid_choice: + vollog.debug(f"Attr Type: {attr.Attr_Header.AttrType.lookup()}") # MFT Flags determine the file type or dir # If we don't have a valid enum, coerce to hex so we can keep the record @@ -97,19 +87,16 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): mft_flag = hex(mft_record.Flags) # Standard Information Attribute - if attr_header.AttrType.lookup() == "STANDARD_INFORMATION": - attr_data = self.context.object( - si_object, offset=attr_data_offset, layer_name=layer.name - ) - + if attr.Attr_Header.AttrType.lookup() == "STANDARD_INFORMATION": + attr_data = attr.Attr_Data.cast(si_object) yield 0, ( - format_hints.Hex(attr_data_offset), + format_hints.Hex(attr_data.vol.offset), mft_record.get_signature(), mft_record.RecordNumber, mft_record.LinkCount, mft_flag, renderers.NotApplicableValue(), - attr_header.AttrType.lookup(), + attr.Attr_Header.AttrType.lookup(), conversion.wintime_to_datetime(attr_data.CreationTime), conversion.wintime_to_datetime(attr_data.ModifiedTime), conversion.wintime_to_datetime(attr_data.UpdatedTime), @@ -118,10 +105,8 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) # File Name Attribute - if attr_header.AttrType.lookup() == "FILE_NAME": - attr_data = self.context.object( - fn_object, offset=attr_data_offset, layer_name=layer.name - ) + if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": + attr_data = attr.Attr_Data.cast(fn_object) file_name = attr_data.get_full_name() # If we don't have a valid enum, coerce to hex so we can keep the record @@ -131,13 +116,13 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): permissions = hex(attr_data.Flags) yield 1, ( - format_hints.Hex(attr_data_offset), + format_hints.Hex(attr_data.vol.offset), mft_record.get_signature(), mft_record.RecordNumber, mft_record.LinkCount, mft_flag, permissions, - attr_header.AttrType.lookup(), + attr.Attr_Header.AttrType.lookup(), conversion.wintime_to_datetime(attr_data.CreationTime), conversion.wintime_to_datetime(attr_data.ModifiedTime), conversion.wintime_to_datetime(attr_data.UpdatedTime), @@ -146,14 +131,13 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) # If there's no advancement the loop will never end, so break it now - if attr_header.Length == 0: + if attr.Attr_Header.Length == 0: break # Update the base offset to point to the next attribute - attr_base_offset += attr_header.Length - # Get the next attribute - attr_header = self.context.object( - header_object, + attr_base_offset += attr.Attr_Header.Length + attr = self.context.object( + attribute_object, offset=offset + attr_base_offset, layer_name=layer.name, ) @@ -224,7 +208,11 @@ class ADS(interfaces.plugins.PluginInterface): config_path=self.config_path, sub_path="windows", filename="mft", - class_types={"MFT_ENTRY": mft.MFTEntry,"FILE_NAME_ENTRY": mft.MFTFileName, "ATTRIBUTE": mft.MFTAttribute}, + class_types={ + "MFT_ENTRY": mft.MFTEntry, + "FILE_NAME_ENTRY": mft.MFTFileName, + "ATTRIBUTE": mft.MFTAttribute, + }, ) # get each of the individual Field Sets @@ -251,30 +239,39 @@ class ADS(interfaces.plugins.PluginInterface): # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr.AttrType - file_name = renderers.NotAvailableValue is_ads = False - + file_name = renderers.NotAvailableValue # The First $DATA Attr is the 'principal' file itself not the ADS while attr.Attr_Header.AttrType.is_valid_choice: - if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": attr_data = attr.Attr_Data.cast(fn_object) file_name = attr_data.get_full_name() - if attr.Attr_Header.AttrType.lookup() == "DATA": if is_ads: if not attr.Attr_Header.NonResidentFlag: # Resident files are the most interesting. if attr.Attr_Header.NameLength > 0: - ads_name = attr.get_resident_filename() - content = attr.get_resident_filecontent() + if not ads_name: + ads_name = renderers.NotAvailableValue - # Preparing for Disassembly - architecture = layer.metadata.get("architecture", None) - disasm = interfaces.renderers.Disassembly( - content, 0, architecture.lower() - ) + content = attr.get_resident_filecontent() + if content: + # Preparing for Disassembly + architecture = layer.metadata.get( + "architecture", None + ) + + disasm = ( + interfaces.renderers.Disassembly( + content, 0, architecture.lower() + ) + if architecture + else interfaces.renderers.BaseAbsentValue + ) + else: + content = renderers.NotAvailableValue + disasm = interfaces.renderers.BaseAbsentValue yield 0, ( format_hints.Hex(attr_data.vol.offset), @@ -288,8 +285,7 @@ class ADS(interfaces.plugins.PluginInterface): ) else: is_ads = True - - + # If there's no advancement the loop will never end, so break it now if attr.Attr_Header.Length == 0: break @@ -302,6 +298,7 @@ class ADS(interfaces.plugins.PluginInterface): offset=offset + attr_base_offset, layer_name=layer.name, ) + def run(self): return renderers.TreeGrid( [ @@ -315,4 +312,4 @@ class ADS(interfaces.plugins.PluginInterface): ("Disasm", interfaces.renderers.Disassembly), ], self._generator(), - ) \ No newline at end of file + ) diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index 1b5d5fce4..14c1f08d6 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from volatility3.framework import objects +from volatility3.framework import objects, constants, exceptions class MFTEntry(objects.StructType): @@ -28,18 +28,29 @@ class MFTAttribute(objects.StructType): def get_resident_filename(self) -> str: # To get the resident name, we jump to relative name offset and read name length * 2 bytes of data - layer = self._context.layers[self.vol.layer_name] - attr_name_offset = self.vol.offset + self.Attr_Header.NameOffset - - return self._context.layers[layer.name].read( - attr_name_offset, self.Attr_Header.NameLength*2 , pad=True - ).decode('utf-16') - + try: + name = self._context.object( + self.vol.type_name.split(constants.BANG)[0] + constants.BANG + "string", + layer_name=self.vol.layer_name, + offset=self.vol.offset + self.Attr_Header.NameOffset, + max_length=self.Attr_Header.NameLength * 2, + errors="replace", + encoding="utf16", + ) + return name + except exceptions.InvalidAddressException: + return None + def get_resident_filecontent(self) -> bytes: # To get the resident content, we jump to relative content offset and read name length * 2 bytes of data - layer = self._context.layers[self.vol.layer_name] - attr_content_offset = self.vol.offset + self.Attr_Header.ContentOffset - - return self._context.layers[layer.name].read( - attr_content_offset, self.Attr_Header.ContentLength , pad=True - ) + try: + bytesobj = self._context.object( + self.vol.type_name.split(constants.BANG)[0] + constants.BANG + "bytes", + layer_name=self.vol.layer_name, + offset=self.vol.offset + self.Attr_Header.ContentOffset, + native_layer_name=self.vol.native_layer_name, + length=self.Attr_Header.ContentLength, + ) + return bytesobj + except exceptions.InvalidAddressException: + return None From acb088dbcdb8532e643a72fb4571ae1cba24786c Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sun, 3 Dec 2023 13:05:45 +0100 Subject: [PATCH 0286/2186] Better code reading --- volatility3/framework/plugins/windows/mftscan.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 4d58eb1e2..7e4e1ca18 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -258,17 +258,14 @@ class ADS(interfaces.plugins.PluginInterface): content = attr.get_resident_filecontent() if content: # Preparing for Disassembly + disasm = interfaces.renderers.BaseAbsentValue architecture = layer.metadata.get( "architecture", None ) - - disasm = ( - interfaces.renderers.Disassembly( + if architecture: + disasm = interfaces.renderers.Disassembly( content, 0, architecture.lower() ) - if architecture - else interfaces.renderers.BaseAbsentValue - ) else: content = renderers.NotAvailableValue disasm = interfaces.renderers.BaseAbsentValue From 831e6cf3412f71dffb929a8f42db383e5792214b Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 7 Dec 2023 09:06:13 +0000 Subject: [PATCH 0287/2186] Linux: update kmsg KmsgFiveTen class to handle symbol shift and create objects with absolute addresses --- volatility3/framework/plugins/linux/kmsg.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index 3f7345bdc..f3ef12cfe 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -67,7 +67,7 @@ class ABCKmsg(ABC): vmlinux = context.modules[self._config["kernel"]] self.layer_name = vmlinux.layer_name # type: ignore symbol_table_name = vmlinux.symbol_table_name # type: ignore - self.vmlinux = contexts.Module.create(context, symbol_table_name, self.layer_name, 0) # type: ignore + self.vmlinux = contexts.Module.create(context, symbol_table_name, self.layer_name, vmlinux.offset) # type: ignore self.long_unsigned_int_size = self.vmlinux.get_type("long unsigned int").size @classmethod @@ -365,12 +365,14 @@ class KmsgFiveTen(ABCKmsg): offset=desc_ring.descs, subtype=self.vmlinux.get_type("prb_desc"), count=desc_count, + absolute=True, ) info_arr = self.vmlinux.object( object_type="array", offset=desc_ring.infos, subtype=self.vmlinux.get_type("printk_info"), count=desc_count, + absolute=True, ) # See kernel/printk/printk_ringbuffer.h From c08dda88ded4be77a0f1f2aaf0b3bf3f25181334 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 8 Dec 2023 22:56:17 +0000 Subject: [PATCH 0288/2186] Linux: Update pslist plugin so that it can be used from pstree, and update pstree to support dumping of processes --- volatility3/framework/plugins/linux/pslist.py | 113 +++++++++++------- volatility3/framework/plugins/linux/pstree.py | 12 +- 2 files changed, 83 insertions(+), 42 deletions(-) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 16e370b6e..7e38625ac 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -1,7 +1,7 @@ # This file is Copyright 2021 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Any, Callable, Iterable, List +from typing import Any, Callable, Iterable, List, Tuple from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements @@ -17,7 +17,7 @@ class PsList(interfaces.plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (2, 1, 0) + _version = (2, 1, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -78,6 +78,71 @@ class PsList(interfaces.plugins.PluginInterface): else: return lambda _: False + def _get_task_fields( + self, task: interfaces.objects.ObjectInterface, decorate_comm: bool = False + ) -> Tuple[int, int, int, str]: + """Extract the fields needed for the final output + Args: + task: A task object from where to get the fields. + decorate_comm: If True, it decorates the comm string of + - User threads: in curly brackets, + - Kernel threads: in square brackets + Defaults to False. + Returns: + A tuple with the fields to show in the plugin output. + """ + pid = task.tgid + tid = task.pid + ppid = task.parent.tgid if task.parent else 0 + name = utility.array_to_string(task.comm) + if decorate_comm: + if task.is_kernel_thread: + name = f"[{name}]" + elif task.is_user_thread: + name = f"{{{name}}}" + + task_fields = (format_hints.Hex(task.vol.offset), pid, tid, ppid, name) + return task_fields + + def _get_file_output(self, task: interfaces.objects.ObjectInterface) -> str: + """Extract the elf for the process if requested + Args: + task: A task object to extract from. + Returns: + A string showing the results of the extraction, either + the filename used or an error. + """ + elf_table_name = intermed.IntermediateSymbolTable.create( + self.context, + self.config_path, + "linux", + "elf", + class_types=elf.class_types, + ) + proc_layer_name = task.add_process_layer() + if not proc_layer_name: + # if we can't build a proc layer we can't + # extract the elf + return renderers.NotApplicableValue() + else: + # Find the vma that belongs to the main ELF of the process + file_output = "Error outputting file" + for v in task.mm.get_mmap_iter(): + if v.vm_start == task.mm.start_code: + file_handle = elfs.Elfs.elf_dump( + self.context, + proc_layer_name, + elf_table_name, + v, + task, + self.open, + ) + if file_handle: + file_output = str(file_handle.preferred_filename) + file_handle.close() + break + return file_output + def _generator( self, pid_filter: Callable[[Any], bool], @@ -104,49 +169,15 @@ class PsList(interfaces.plugins.PluginInterface): for task in self.list_tasks( self.context, self.config["kernel"], pid_filter, include_threads ): - elf_table_name = intermed.IntermediateSymbolTable.create( - self.context, - self.config_path, - "linux", - "elf", - class_types=elf.class_types, - ) - file_output = "Disabled" if dump: - proc_layer_name = task.add_process_layer() - if not proc_layer_name: - continue + file_output = self._get_file_output(task) + else: + file_output = "Disabled" - # Find the vma that belongs to the main ELF of the process - file_output = "Error outputting file" - - for v in task.mm.get_mmap_iter(): - if v.vm_start == task.mm.start_code: - file_handle = elfs.Elfs.elf_dump( - self.context, - proc_layer_name, - elf_table_name, - v, - task, - self.open, - ) - if file_handle: - file_output = str(file_handle.preferred_filename) - file_handle.close() - break - - pid = task.tgid - tid = task.pid - ppid = task.parent.tgid if task.parent else 0 - name = utility.array_to_string(task.comm) - if decorate_comm: - if task.is_kernel_thread: - name = f"[{name}]" - elif task.is_user_thread: - name = f"{{{name}}}" + offset, pid, tid, ppid, name = self._get_task_fields(task, decorate_comm) yield 0, ( - format_hints.Hex(task.vol.offset), + offset, pid, tid, ppid, diff --git a/volatility3/framework/plugins/linux/pstree.py b/volatility3/framework/plugins/linux/pstree.py index e07a8aced..f42986f56 100644 --- a/volatility3/framework/plugins/linux/pstree.py +++ b/volatility3/framework/plugins/linux/pstree.py @@ -39,7 +39,11 @@ class PsTree(pslist.PsList): self._levels[pid] = level def _generator( - self, pid_filter, include_threads: bool = False, decorate_com: bool = False + self, + pid_filter, + include_threads: bool = False, + decorate_com: bool = False, + dump: bool = False, ): """Generates the tasks hierarchy tree. @@ -72,6 +76,12 @@ class PsTree(pslist.PsList): task = self._tasks[pid] row = self._get_task_fields(task, decorate_com) + if dump: + file_output = self._get_file_output(task) + else: + file_output = "Disabled" + row = self._get_task_fields(task, decorate_com) + row += (file_output,) # also add the file output column tid = task.pid yield (self._levels[tid] - 1, row) From 19499d511315b718186dff05d133fa86f3310947 Mon Sep 17 00:00:00 2001 From: Eve Date: Mon, 11 Dec 2023 06:37:17 +0000 Subject: [PATCH 0289/2186] Linux: update pslist with classmethod for get_task_fields --- volatility3/framework/plugins/linux/pslist.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 7e38625ac..9afd13e5a 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -17,7 +17,7 @@ class PsList(interfaces.plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (2, 1, 1) + _version = (2, 2, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -78,8 +78,9 @@ class PsList(interfaces.plugins.PluginInterface): else: return lambda _: False - def _get_task_fields( - self, task: interfaces.objects.ObjectInterface, decorate_comm: bool = False + @classmethod + def get_task_fields( + cls, task: interfaces.objects.ObjectInterface, decorate_comm: bool = False ) -> Tuple[int, int, int, str]: """Extract the fields needed for the final output Args: @@ -101,7 +102,7 @@ class PsList(interfaces.plugins.PluginInterface): elif task.is_user_thread: name = f"{{{name}}}" - task_fields = (format_hints.Hex(task.vol.offset), pid, tid, ppid, name) + task_fields = (task.vol.offset, pid, tid, ppid, name) return task_fields def _get_file_output(self, task: interfaces.objects.ObjectInterface) -> str: @@ -174,10 +175,10 @@ class PsList(interfaces.plugins.PluginInterface): else: file_output = "Disabled" - offset, pid, tid, ppid, name = self._get_task_fields(task, decorate_comm) + offset, pid, tid, ppid, name = self.get_task_fields(task, decorate_comm) yield 0, ( - offset, + format_hints.Hex(offset), pid, tid, ppid, From 3d9b0208cb3eb0f939140538054c3ac707af6123 Mon Sep 17 00:00:00 2001 From: Eve Date: Tue, 12 Dec 2023 06:56:14 +0000 Subject: [PATCH 0290/2186] Linux: change pstree to a basic plugin rather than inheriting from pslist --- volatility3/framework/plugins/linux/pstree.py | 102 +++++++++++++----- 1 file changed, 74 insertions(+), 28 deletions(-) diff --git a/volatility3/framework/plugins/linux/pstree.py b/volatility3/framework/plugins/linux/pstree.py index f42986f56..efe5223df 100644 --- a/volatility3/framework/plugins/linux/pstree.py +++ b/volatility3/framework/plugins/linux/pstree.py @@ -2,18 +2,49 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +from volatility3.framework import interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints from volatility3.plugins.linux import pslist -class PsTree(pslist.PsList): +class PsTree(interfaces.plugins.PluginInterface): """Plugin for listing processes in a tree based on their parent process ID.""" - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - self._tasks = {} - self._levels = {} - self._children = {} + _required_framework_version = (2, 0, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 2, 0) + ), + requirements.ListRequirement( + name="pid", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + requirements.BooleanRequirement( + name="threads", + description="Include user threads", + optional=True, + default=False, + ), + requirements.BooleanRequirement( + name="decorate_comm", + description="Show `user threads` comm in curly brackets, and `kernel threads` comm in square brackets", + optional=True, + default=False, + ), + ] def find_level(self, pid: int) -> None: """Finds how deep the PID is in the tasks hierarchy. @@ -40,18 +71,13 @@ class PsTree(pslist.PsList): def _generator( self, - pid_filter, - include_threads: bool = False, - decorate_com: bool = False, - dump: bool = False, + tasks: list, + decorate_comm: bool = False, ): """Generates the tasks hierarchy tree. Args: - pid_filter: A function which takes a process object and returns True if the process should be ignored/filtered - include_threads: If True, the output will also show the user threads - If False, only the thread group leaders will be shown - Defaults to False. + tasks: A list of task objects to be displayed decorate_comm: If True, it decorates the comm string of - User threads: in curly brackets, - Kernel threads: in square brackets @@ -59,13 +85,12 @@ class PsTree(pslist.PsList): Yields: Each rows """ - vmlinux = self.context.modules[self.config["kernel"]] - for proc in self.list_tasks( - self.context, - vmlinux.name, - filter_func=pid_filter, - include_threads=include_threads, - ): + + self._tasks = {} + self._levels = {} + self._children = {} + + for proc in tasks: self._tasks[proc.pid] = proc # Build the child/level maps @@ -75,13 +100,10 @@ class PsTree(pslist.PsList): def yield_processes(pid): task = self._tasks[pid] - row = self._get_task_fields(task, decorate_com) - if dump: - file_output = self._get_file_output(task) - else: - file_output = "Disabled" - row = self._get_task_fields(task, decorate_com) - row += (file_output,) # also add the file output column + row = pslist.PsList.get_task_fields(task, decorate_comm) + # update the first element, the offset, in the row tuple to use format_hints.Hex + # as a simple int is returned from get_task_fields. + row = (format_hints.Hex(row[0]),) + row[1:] tid = task.pid yield (self._levels[tid] - 1, row) @@ -92,3 +114,27 @@ class PsTree(pslist.PsList): for pid, level in self._levels.items(): if level == 1: yield from yield_processes(pid) + + def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + include_threads = self.config.get("threads") + decorate_comm = self.config.get("decorate_comm") + + return renderers.TreeGrid( + [ + ("OFFSET (V)", format_hints.Hex), + ("PID", int), + ("TID", int), + ("PPID", int), + ("COMM", str), + ], + self._generator( + pslist.PsList.list_tasks( + self.context, + self.config["kernel"], + filter_func=filter_func, + include_threads=include_threads, + ), + decorate_comm=decorate_comm, + ), + ) From fda3cedabaae0f98600201ec800ed415521e402b Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 14 Dec 2023 09:18:01 +0000 Subject: [PATCH 0291/2186] Linux: update kmsg to create objects via context rather than module --- volatility3/framework/plugins/linux/kmsg.py | 23 +++++++++++---------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index f3ef12cfe..17dcc61aa 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -64,10 +64,8 @@ class ABCKmsg(ABC): ): self._context = context self._config = config - vmlinux = context.modules[self._config["kernel"]] - self.layer_name = vmlinux.layer_name # type: ignore - symbol_table_name = vmlinux.symbol_table_name # type: ignore - self.vmlinux = contexts.Module.create(context, symbol_table_name, self.layer_name, vmlinux.offset) # type: ignore + self.vmlinux = context.modules[self._config["kernel"]] + self.layer_name = self.vmlinux.layer_name # type: ignore self.long_unsigned_int_size = self.vmlinux.get_type("long unsigned int").size @classmethod @@ -358,21 +356,24 @@ class KmsgFiveTen(ABCKmsg): desc_ring = ringbuffers.desc_ring text_data_ring = ringbuffers.text_data_ring - desc_count = 1 << desc_ring.count_bits - desc_arr = self.vmlinux.object( - object_type="array", + + array_type = self.vmlinux.symbol_table_name + constants.BANG + "array" + + desc_arr = self._context.object( + array_type, offset=desc_ring.descs, subtype=self.vmlinux.get_type("prb_desc"), count=desc_count, - absolute=True, + layer_name=self.layer_name, ) - info_arr = self.vmlinux.object( - object_type="array", + + info_arr = self._context.object( + array_type, offset=desc_ring.infos, subtype=self.vmlinux.get_type("printk_info"), count=desc_count, - absolute=True, + layer_name=self.layer_name, ) # See kernel/printk/printk_ringbuffer.h From 9b8534267389988e18ba77b8d8a80cdc56a1e4dc Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 14 Dec 2023 09:24:51 +0000 Subject: [PATCH 0292/2186] Linux: bump version for linux kmsg --- volatility3/framework/plugins/linux/kmsg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index 17dcc61aa..5136a00f6 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -412,7 +412,7 @@ class Kmsg(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 604c23bcbc88679a48d1348ef3c8d2163726ab44 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Thu, 14 Dec 2023 14:50:17 +0100 Subject: [PATCH 0293/2186] Import Address Table Plugin --- volatility3/framework/plugins/windows/iat.py | 132 +++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 volatility3/framework/plugins/windows/iat.py diff --git a/volatility3/framework/plugins/windows/iat.py b/volatility3/framework/plugins/windows/iat.py new file mode 100644 index 000000000..1cf51cfa2 --- /dev/null +++ b/volatility3/framework/plugins/windows/iat.py @@ -0,0 +1,132 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 + +import logging +import io +from typing import Callable, List +from volatility3.framework.symbols import intermed +from volatility3.framework import renderers, interfaces, exceptions, constants +from volatility3.framework.configuration import requirements +from volatility3.plugins.windows import pslist +from volatility3.framework.symbols.windows import pdbutil +from volatility3.framework.symbols.windows.extensions import pe +import pefile + +vollog = logging.getLogger(__name__) + + +class IAT(interfaces.plugins.PluginInterface): + """Extract Import Address Table to list API (functions) used by a program contained in external libraries""" + + _required_framework_version = (2, 4, 0) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(2, 0, 0) + ), + requirements.ListRequirement( + name="pid", + element_type=int, + description="Process ID to include (all other processes are excluded)", + optional=True, + ), + ] + + def _generator(self, procs): + kernel = self.context.modules[self.config["kernel"]] + + for proc in procs: + try: + proc_id = proc.UniqueProcessId + proc_layer_name = proc.add_process_layer() + peb = self.context.object( + kernel.symbol_table_name + constants.BANG + "_PEB", + layer_name=proc_layer_name, + offset=proc.Peb, + ) + + if proc_layer_name is None: + raise TypeError("Layer must be a string not None") + + pe_table_name = intermed.IntermediateSymbolTable.create( + self.context, + self.config_path, + "windows", + "pe", + class_types=pe.class_types, + ) + pe_data = io.BytesIO() + + dos_header = self.context.object( + pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", + offset=peb.ImageBaseAddress, + layer_name=proc_layer_name, + ) + + for offset, data in dos_header.reconstruct(): + pe_data.seek(offset) + pe_data.write(data) + + pe_obj = pefile.PE(data=pe_data.getvalue(), fast_load=True) + pe_obj.parse_data_directories( + [pefile.DIRECTORY_ENTRY["IMAGE_DIRECTORY_ENTRY_IMPORT"]] + ) + if hasattr(pe_obj, "DIRECTORY_ENTRY_IMPORT"): + for entry in pe_obj.DIRECTORY_ENTRY_IMPORT: + dll_entry = entry.dll + if dll_entry: + dll_entry = dll_entry.decode() + else: + dll_entry = renderers.NotAvailableValue + + # Iterate over imported functions + for imp in entry.imports: + import_name = imp.name + if import_name: + import_name = imp.name.decode() + else: + import_name = renderers.NotAvailableValue() + yield ( + 0, + ( + proc_id, + proc.ImageFileName.cast( + "string", + max_length=proc.ImageFileName.vol.count, + errors="replace", + ), + dll_entry, + import_name, + ), + ) + except exceptions.InvalidAddressException as excp: + vollog.debug( + "Process {}: invalid address {} in layer {}".format( + proc_id, excp.invalid_address, excp.layer_name + ) + ) + continue + + def run(self): + kernel = self.context.modules[self.config["kernel"]] + + return renderers.TreeGrid( + [("PID", int), ("Process", str), ("Library", str), ("Function", str)], + self._generator( + pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_func=pslist.PsList.create_pid_filter( + self.config.get("pid", None) + ), + ) + ), + ) From 059f2d012896d96fa0e2d20469d7771ec27b0b6d Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sat, 16 Dec 2023 21:19:35 +0100 Subject: [PATCH 0294/2186] Adding function addr + bound info. Formatting code. --- volatility3/framework/plugins/windows/iat.py | 32 +++++++++++++++----- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/iat.py b/volatility3/framework/plugins/windows/iat.py index 1cf51cfa2..11c273859 100644 --- a/volatility3/framework/plugins/windows/iat.py +++ b/volatility3/framework/plugins/windows/iat.py @@ -1,16 +1,13 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2023 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 -import logging -import io -from typing import Callable, List +import logging, io, pefile from volatility3.framework.symbols import intermed from volatility3.framework import renderers, interfaces, exceptions, constants from volatility3.framework.configuration import requirements from volatility3.plugins.windows import pslist -from volatility3.framework.symbols.windows import pdbutil +from volatility3.framework.renderers import format_hints from volatility3.framework.symbols.windows.extensions import pe -import pefile vollog = logging.getLogger(__name__) @@ -86,6 +83,12 @@ class IAT(interfaces.plugins.PluginInterface): else: dll_entry = renderers.NotAvailableValue + bound = True + # Initially set to 0 if not bound + time_date_stamp = entry.struct.TimeDateStamp + if not time_date_stamp: + bound = False + # Iterate over imported functions for imp in entry.imports: import_name = imp.name @@ -93,6 +96,12 @@ class IAT(interfaces.plugins.PluginInterface): import_name = imp.name.decode() else: import_name = renderers.NotAvailableValue() + function_address = ( + pe_obj.OPTIONAL_HEADER.ImageBase + imp.address + ) + if not function_address: + function_address = renderers.NotAvailableValue + yield ( 0, ( @@ -103,7 +112,9 @@ class IAT(interfaces.plugins.PluginInterface): errors="replace", ), dll_entry, + bound, import_name, + format_hints.Hex(function_address), ), ) except exceptions.InvalidAddressException as excp: @@ -118,7 +129,14 @@ class IAT(interfaces.plugins.PluginInterface): kernel = self.context.modules[self.config["kernel"]] return renderers.TreeGrid( - [("PID", int), ("Process", str), ("Library", str), ("Function", str)], + [ + ("PID", int), + ("Name", str), + ("Library", str), + ("Bound", bool), + ("Function", str), + ("Address", format_hints.Hex), + ], self._generator( pslist.PsList.list_processes( context=self.context, From bd96357e33a796b82773df1927f03b1e80617d65 Mon Sep 17 00:00:00 2001 From: Valentin Obst Date: Thu, 14 Dec 2023 22:21:14 +0100 Subject: [PATCH 0295/2186] tolerate duplicate enum values, keep first name that was seen --- volatility3/framework/objects/__init__.py | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index 3b1745718..831856e3d 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -593,17 +593,19 @@ class Enumeration(interfaces.objects.ObjectInterface, int): inverse_choices: Dict[int, str] = {} for k, v in choices.items(): if v in inverse_choices: - # Technically this shouldn't be a problem, but since we inverse cache - # and can't map one value to two possibilities we throw an exception during build - # We can remove/work around this if it proves a common issue - raise ValueError( - f"Enumeration value {v} duplicated as {k} and {inverse_choices[v]}" + vollog.log( + constants.LOGLEVEL_VVV, + f"Enumeration value {v} duplicated as {k}. Keeping name {inverse_choices[v]}", ) + continue inverse_choices[v] = k return inverse_choices def lookup(self, value: int = None) -> str: - """Looks up an individual value and returns the associated name.""" + """Looks up an individual value and returns the associated name. + + If multiple identifiers map to the same value, the first matching identifier will be returned + """ if value is None: return self.lookup(self) if value in self._inverse_choices: @@ -640,7 +642,10 @@ class Enumeration(interfaces.objects.ObjectInterface, int): @classmethod def lookup(cls, template: interfaces.objects.Template, value: int) -> str: - """Looks up an individual value and returns the associated name.""" + """Looks up an individual value and returns the associated name. + + If multiple identifiers map to the same value, the first matching identifier will be returned + """ _inverse_choices = Enumeration._generate_inverse_choices( template.vol["choices"] ) From aa624b0339d301def19893b42693ead63d7c440c Mon Sep 17 00:00:00 2001 From: Valentin Obst Date: Tue, 19 Dec 2023 10:25:26 +0100 Subject: [PATCH 0296/2186] remove kernel_cap_struct requirement --- volatility3/framework/symbols/linux/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 894be0dc6..c4e2587f4 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -29,7 +29,6 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("files_struct", extensions.files_struct) self.set_type_class("kobject", extensions.kobject) self.set_type_class("cred", extensions.cred) - self.set_type_class("kernel_cap_struct", extensions.kernel_cap_struct) # Might not exist in the current symbols self.optional_set_type_class("module", extensions.module) self.optional_set_type_class("bpf_prog", extensions.bpf_prog) From 84401847ff50009c120dcbbfdf17868b86c2a01b Mon Sep 17 00:00:00 2001 From: Valentin Obst Date: Wed, 20 Dec 2023 18:38:07 +0100 Subject: [PATCH 0297/2186] add sanity check in Linux find_aslr to skip unrelocated init_task --- volatility3/framework/automagic/linux.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 2eebcc2dc..fda71b766 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -156,6 +156,18 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): and init_task.state.cast("unsigned int") != 0 ): continue + elif init_task.active_mm.cast("long unsigned int") == module.get_symbol( + "init_mm" + ).address and init_task.tasks.next.cast( + "long unsigned int" + ) == init_task.tasks.prev.cast( + "long unsigned int" + ): + # The idle task steals `mm` from previously running task, i.e., + # `init_mm` is only used as long as no CPU has ever been idle. + # This catches cases where we found a fragment of the + # unrelocated ELF file instead of the running kernel. + continue # This we get for free aslr_shift = ( From 409ce95980b0e4c5a29222f4acb90b681886d16f Mon Sep 17 00:00:00 2001 From: hsarkey Date: Thu, 7 Dec 2023 14:04:44 -0500 Subject: [PATCH 0298/2186] Windows: Added '--refined' option to windows malfind plugin Also updated malfind to include "\x55\x48" and "\x55\x89" as part of the refined_criteria list. --- volatility3/framework/plugins/windows/malfind.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 6ed078996..1c73fdf1c 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -46,6 +46,12 @@ class Malfind(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) ), + requirements.BooleanRequirement( + name="refined", + description="Refine the output. Only show regions with an MZ header or that start with well known opcode combinations (i.e. PUSH EBP). WARNING: This can cause you to overlook regions with wiped headers or shell code blocks starting with NOP sleds, etc.. However, it will in general result in less noisy output.", + default=False, + optional=True, + ), ] @classmethod @@ -138,6 +144,9 @@ class Malfind(interfaces.plugins.PluginInterface): yield vad, data def _generator(self, procs): + # set refined criteria + refined_criteria = [b"MZ", b"\x55\x8B", b"\x55\x48", b"\x55\x89"] + # determine if we're on a 32 or 64 bit kernel kernel = self.context.modules[self.config["kernel"]] @@ -151,6 +160,10 @@ class Malfind(interfaces.plugins.PluginInterface): for vad, data in self.list_injections( self.context, kernel.layer_name, kernel.symbol_table_name, proc ): + # check if refined option was passed + if self.config["refined"] and data[0:2] not in refined_criteria: + continue + # if we're on a 64 bit kernel, we may still need 32 bit disasm due to wow64 if is_32bit_arch or proc.get_is_wow64(): architecture = "intel" From 3848fc69a6d93602b4836a87d1e69f493f7dbd49 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 25 Dec 2023 21:32:14 -0300 Subject: [PATCH 0299/2186] Add support for kernels earlier than version 3.11. * Add support for older ring buffer kernel implementation: - 3.5 < kernels - 3.5 <= kernels < 3.11 * Enabled support for wrapped-around ring buffers in all four kernel implementations. * Bugfix: wrapped around buffer issue with 3.11 <= kernel < 5.10. --- volatility3/framework/plugins/linux/kmsg.py | 187 ++++++++++++++------ 1 file changed, 132 insertions(+), 55 deletions(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index 5136a00f6..e55d5f14e 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -1,6 +1,7 @@ # This file is Copyright 2021 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import re import logging from abc import ABC, abstractmethod from enum import Enum @@ -9,7 +10,6 @@ from typing import Generator, Iterator, List, Tuple from volatility3.framework import ( class_subclasses, constants, - contexts, interfaces, renderers, ) @@ -143,7 +143,7 @@ class ABCKmsg(ABC): return "%lu.%06lu" % (nsec / 1000000000, (nsec % 1000000000) / 1000) def get_timestamp_in_sec_str(self, obj) -> str: - # obj could be printk_log or printk_info + # obj could be log, printk_log or printk_info return self.nsec_to_sec_str(obj.ts_nsec) def get_caller(self, obj): @@ -153,7 +153,7 @@ class ABCKmsg(ABC): if obj.has_member("caller_id"): return self.get_caller_text(obj.caller_id) else: - return "" + return renderers.NotAvailableValue() def get_caller_text(self, caller_id): caller_name = "CPU" if caller_id & 0x80000000 else "Task" @@ -161,7 +161,7 @@ class ABCKmsg(ABC): return caller def get_prefix(self, obj) -> Tuple[int, int, str, str]: - # obj could be printk_log or printk_info + # obj could be log, printk_log or printk_info return ( obj.facility, obj.level, @@ -186,39 +186,90 @@ class ABCKmsg(ABC): return str(facility) -class KmsgLegacy(ABCKmsg): - """Linux kernels prior to v5.10, the ringbuffer is initially kept in - __log_buf, and log_buf is a pointer to the former. __log_buf is declared as - a char array but it actually contains an array of printk_log structs. - The length of this array is defined in the kernel KConfig configuration via - the CONFIG_LOG_BUF_SHIFT value as a power of 2. - This can also be modified by the log_buf_len kernel boot parameter. - In SMP systems with more than 64 CPUs this ringbuffer size is dynamically - allocated according the number of CPUs based on the value of - CONFIG_LOG_CPU_MAX_BUF_SHIFT, and the log_buf pointer is updated - consequently to the new buffer. - In that case, the original static buffer in __log_buf is unused. +class Kmsg_pre_3_5(ABCKmsg): + """The kernel ring buffer (log_buf) is a char array that sequentially stores + log lines, each separated by newline (LF) characters. i.e: + <6>[ 9565.250411] line1!\n<6>[ 9565.250412] line2\n... """ @classmethod def symtab_checks(cls, vmlinux) -> bool: - return vmlinux.has_type("printk_log") + return ( + vmlinux.has_symbol("log_end") + and not vmlinux.has_symbol("log_first_idx") + and not ( + vmlinux.has_type("log") + and vmlinux.get_type("log").has_member("ts_nsec") + ) + ) - def get_text_from_printk_log(self, msg) -> str: - msg_offset = msg.vol.offset + self.vmlinux.get_type("printk_log").size + def run(self) -> Iterator[Tuple[str, str, str, str, str]]: + log_buf_ptr = self.vmlinux.object_from_symbol(symbol_name="log_buf") + log_buf_len = self.vmlinux.object_from_symbol(symbol_name="log_buf_len") + log_buf = utility.pointer_to_string(log_buf_ptr, count=log_buf_len) + log_end = self.vmlinux.object_from_symbol(symbol_name="log_end") + + if log_end > log_buf_len: + start = log_end - log_buf_len + first_half = log_buf[start:] + second_half = log_buf[:start] + log_buf = first_half + second_half + + log_buf_lines = log_buf.splitlines() + + for log_buf_line in log_buf_lines: + m = re.match(r"<(\d+)>\[\s*(\d+\.\d+)\]\s(.*?)$", log_buf_line) + if not m: + # If there was a wrap-around in the ring buffer, it will find + # remnants at the top. As those remnants do not conform to the + # expected line format, they are discarded + continue + + level_facility_str, timestamp_str, line = m.groups() + level_facility = int(level_facility_str) + # The lower 3 bit are the log level, the rest are the log facility + level = level_facility & 7 + facility = level_facility >> 3 + level_txt = self.get_level_text(level) + facility_txt = self.get_facility_text(facility) + caller = renderers.NotAvailableValue() + yield facility_txt, level_txt, timestamp_str, caller, line + + +class Kmsg_3_5_to_3_11(ABCKmsg): + """While 'log_buf' is declared as a pointer and '__log_buf' as a char array, + it essentially holds an array of 'log' structs. + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + return ( + vmlinux.has_type("log") + and vmlinux.get_type("log").has_member("ts_nsec") + and vmlinux.has_symbol("log_first_idx") + ) + + def _get_log_struct_name(self): + return "log" + + def get_text_from_log(self, msg) -> str: + log_struct_name = self._get_log_struct_name() + log_struct_size = self.vmlinux.get_type(log_struct_name).size + msg_offset = msg.vol.offset + log_struct_size return self.get_string(msg_offset, msg.text_len) def get_log_lines(self, msg) -> Generator[str, None, None]: if msg.text_len > 0: - text = self.get_text_from_printk_log(msg) + text = self.get_text_from_log(msg) yield from text.splitlines() def get_dict_lines(self, msg) -> Generator[str, None, None]: if msg.dict_len == 0: return None - dict_offset = ( - msg.vol.offset + self.vmlinux.get_type("printk_log").size + msg.text_len - ) + + log_struct_name = self._get_log_struct_name() + log_struct_size = self.vmlinux.get_type(log_struct_name).size + dict_offset = msg.vol.offset + log_struct_size + msg.text_len dict_data = self._context.layers[self.layer_name].read( dict_offset, msg.dict_len ) @@ -226,29 +277,41 @@ class KmsgLegacy(ABCKmsg): yield " " + chunk.decode() def run(self) -> Iterator[Tuple[str, str, str, str, str]]: - log_buf_ptr = self.vmlinux.object_from_symbol(symbol_name="log_buf") - if log_buf_ptr == 0: - # This is weird, let's fallback to check the static ringbuffer. - log_buf_ptr = self.vmlinux.object_from_symbol( - symbol_name="__log_buf" - ).vol.offset - if log_buf_ptr == 0: - raise ValueError("Log buffer is not available") + # First, the ring buffer size is determined in the kernel configuration + # by CONFIG_LOG_BUF_SHIFT. This static buffer is held in the '__log_buf' + # global variable, with 'log_buf' serving as a pointer to it. + # The user can also update this size using 'log_buf_len' in the + # kernel boot parameters. Additionally, in SMP systems with over 64 CPUs, + # the ring buffer size dynamically allocates based on the number of CPUs, + # following CONFIG_LOG_CPU_MAX_BUF_SHIFT. + # In the last two cases mentioned above, the 'log_buf' pointer is + # updated to this new buffer. The original static buffer in '__log_buf' + # remains unused. Therefore, it is crucial to read from 'log_buf' rather + # than '__log_buf'. + + log_buf_ptr = self.vmlinux.object_from_symbol("log_buf") + log_buf_len = self.vmlinux.object_from_symbol("log_buf_len") + + log_first_idx = int(self.vmlinux.object_from_symbol("log_first_idx")) + log_next_idx = int(self.vmlinux.object_from_symbol("log_next_idx")) + + log_struct_name = self._get_log_struct_name() - log_first_idx = int( - self.vmlinux.object_from_symbol(symbol_name="log_first_idx") - ) cur_idx = log_first_idx - end_idx = None # We don't need log_next_idx here. See below msg.len == 0 - while cur_idx != end_idx: - end_idx = log_first_idx + if log_first_idx < log_next_idx: + end_idx = log_next_idx + else: + end_idx = log_buf_len + + while cur_idx < end_idx: msg_offset = log_buf_ptr + cur_idx # type: ignore - msg = self.vmlinux.object(object_type="printk_log", offset=msg_offset) + msg = self.vmlinux.object(object_type=log_struct_name, offset=msg_offset) if msg.len == 0: - # As per kernel/printk/printk.c: + # As per kernel/printk.c: # A length == 0 for the next message indicates a wrap-around to # the beginning of the buffer. cur_idx = 0 + end_idx = log_next_idx else: facility, level, timestamp, caller = self.get_prefix(msg) level_txt = self.get_level_text(level) @@ -262,39 +325,53 @@ class KmsgLegacy(ABCKmsg): cur_idx += msg.len -class KmsgFiveTen(ABCKmsg): - """In 5.10 the kernel ringbuffer implementation changed. +class Kmsg_3_11_to_5_10(Kmsg_3_5_to_3_11): + """Starting from version 3.11, the struct 'log' was renamed to 'printk_log'. + While 'log_buf' is declared as a pointer and '__log_buf' as a char array, + it essentially holds an array of 'printk_log' structs. + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + return vmlinux.has_type("printk_log") + + def _get_log_struct_name(self): + return "printk_log" + + +class Kmsg_5_10_to_(ABCKmsg): + """In 5.10 the kernel ring buffer implementation changed. Previously only one process should read /proc/kmsg and it is permanently open and periodically read by the syslog daemon. A high level structure 'printk_ringbuffer' was added to represent the printk - ringbuffer which actually contains two ringbuffers. The descriptor ring + ring buffer which actually contains two ring buffers. The descriptor ring 'desc_ring' contains the records' metadata, text offsets and states. The data block ring 'text_data_ring' contains the records' text strings. A pointer to the high level structure is kept in the prb pointer which is - initialized to a static ringbuffer. + initialized to a static ring buffer. .. code-block:: c static struct printk_ringbuffer *prb = &printk_rb_static; - In SMP systems with more than 64 CPUs this ringbuffer size is dynamically + In SMP systems with more than 64 CPUs this ring buffer size is dynamically allocated according the number of CPUs based on the value of CONFIG_LOG_CPU_MAX_BUF_SHIFT. The prb pointer is updated consequently to - this dynamic ringbuffer in setup_log_buf(). + this dynamic ring buffer in setup_log_buf(). .. code-block:: c prb = &printk_rb_dynamic; - Behind scenes, log_buf is still used as external buffer. - When the static printk_ringbuffer struct is initialized, _DEFINE_PRINTKRB - sets text_data_ring.data pointer to the address in log_buf which points to - the static buffer __log_buff. - If a dynamic ringbuffer takes place, setup_log_buf() sets - text_data_ring.data of printk_rb_dynamic to the new allocated external - buffer via the prb_init function. - In that case, the original external static buffer in __log_buf and - printk_rb_static are unused. + Behind scenes, 'log_buf' is still used as external buffer. + When the static 'printk_ringbuffer' struct is initialized, _DEFINE_PRINTKRB + sets text_data_ring.data pointer to the address in 'log_buf' which points + to the static buffer '__log_buf'. + If a dynamic ring buffer takes place, setup_log_buf() sets + text_data_ring.data of 'printk_rb_dynamic' to the new allocated external + buffer via the 'prb_init' function. + In that case, the original external static buffer in '__log_buf' and + 'printk_rb_static' are unused. .. code-block:: c @@ -352,7 +429,7 @@ class KmsgFiveTen(ABCKmsg): def run(self) -> Iterator[Tuple[str, str, str, str, str]]: # static struct printk_ringbuffer *prb = &printk_rb_static; - ringbuffers = self.vmlinux.object_from_symbol(symbol_name="prb").dereference() + ringbuffers = self.vmlinux.object_from_symbol("prb").dereference() desc_ring = ringbuffers.desc_ring text_data_ring = ringbuffers.text_data_ring From 0d934d4991818cdec0102759e78b324fac509f79 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 26 Dec 2023 16:13:47 -0300 Subject: [PATCH 0300/2186] Fix error and comment --- volatility3/framework/plugins/linux/kmsg.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index e55d5f14e..2b3d70ccb 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -102,14 +102,13 @@ class ABCKmsg(ABC): subclass.__name__, ) kmsg_inst = subclass(context=context, config=config) - # More than one class could be executed for an specific kernel - # version i.e. Netfilter Ingress hooks - # We expect just one implementation to be executed for an specific kernel yield from kmsg_inst.run() + # So far, it allows only one implementation to be executed for each + # specific kernel. break if kmsg_inst is None: - vollog.error("Unsupported Netfilter kernel implementation") + vollog.error("Unsupported kernel ring buffer implementation") @abstractmethod def run(self) -> Iterator[Tuple[str, str, str, str, str]]: From e4c44698f801967bb7dd41dc87cfb9a501ad2924 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 2 Jan 2024 11:14:43 -0300 Subject: [PATCH 0301/2186] Reduce imports --- volatility3/framework/plugins/linux/kmsg.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index 2b3d70ccb..70d80835b 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -14,7 +14,6 @@ from volatility3.framework import ( renderers, ) from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility vollog = logging.getLogger(__name__) @@ -483,7 +482,7 @@ class Kmsg_5_10_to_(ABCKmsg): cur_id &= desc_id_mask -class Kmsg(plugins.PluginInterface): +class Kmsg(interfaces.plugins.PluginInterface): """Kernel log buffer reader""" _required_framework_version = (2, 0, 0) From 02a389a61b460c6ffa3b2cae177cad1f48f23234 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 2 Jan 2024 11:17:18 -0300 Subject: [PATCH 0302/2186] Improve docstrings --- volatility3/framework/plugins/linux/kmsg.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index 70d80835b..d17e0d92d 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -81,7 +81,7 @@ class ABCKmsg(ABC): config: Core configuration Yields: - kmsg records + The kmsg records. Same as run() """ vmlinux = context.modules[config["kernel"]] @@ -102,7 +102,7 @@ class ABCKmsg(ABC): ) kmsg_inst = subclass(context=context, config=config) yield from kmsg_inst.run() - # So far, it allows only one implementation to be executed for each + # So far, it only allows a single implementation to be executed for each # specific kernel. break @@ -111,7 +111,16 @@ class ABCKmsg(ABC): @abstractmethod def run(self) -> Iterator[Tuple[str, str, str, str, str]]: - """Walks through the specific kernel implementation.""" + """Walks through the specific kernel implementation. + + Returns: + tuple: + facility [str]: The log facility: kern, user, etc. see FACILITIES + level [str]: The log level: info, debug, etc. see LEVELS + timestamp [str]: The message timestamp. See nsec_to_sec_str() + caller [str]: The Caller ID: CPU(1) or Task(1234). See get_caller() + line [str]: The log message. + """ @classmethod @abstractmethod @@ -121,7 +130,8 @@ class ABCKmsg(ABC): The first class returning True will be instantiated and called via the run() method. - :return: True is the kernel being analysed fulfill the class requirements. + Returns: + bool: True if the kernel being analysed fulfill the class requirements. """ def get_string(self, addr: int, length: int) -> str: From 8e58815c114e23b28acfe1ec188c703ee555fb1a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 2 Jan 2024 11:25:35 -0300 Subject: [PATCH 0303/2186] Bump plugin's patch version --- volatility3/framework/plugins/linux/kmsg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index d17e0d92d..919d9145b 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -497,7 +497,7 @@ class Kmsg(interfaces.plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 66b408d6e848a1e566f1b17787298be923b8a783 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 2 Jan 2024 11:37:10 -0300 Subject: [PATCH 0304/2186] Fix minor docstring typos --- volatility3/framework/plugins/linux/kmsg.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index 919d9145b..d1f17bf94 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -115,10 +115,10 @@ class ABCKmsg(ABC): Returns: tuple: - facility [str]: The log facility: kern, user, etc. see FACILITIES - level [str]: The log level: info, debug, etc. see LEVELS + facility [str]: The log facility: kern, user, etc. See FACILITIES + level [str]: The log level: info, debug, etc. See LEVELS timestamp [str]: The message timestamp. See nsec_to_sec_str() - caller [str]: The Caller ID: CPU(1) or Task(1234). See get_caller() + caller [str]: The caller ID: CPU(1) or Task(1234). See get_caller() line [str]: The log message. """ @@ -131,7 +131,7 @@ class ABCKmsg(ABC): run() method. Returns: - bool: True if the kernel being analysed fulfill the class requirements. + bool: True if the kernel being analyzed fulfill the class requirements. """ def get_string(self, addr: int, length: int) -> str: From 25637a41e05e0bc5fccded01cf1913d45668ac25 Mon Sep 17 00:00:00 2001 From: RuBublik Date: Mon, 8 Jan 2024 23:35:21 +0200 Subject: [PATCH 0305/2186] added account for XP timestamps - bit shifted --- volatility3/framework/symbols/windows/extensions/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 8790f41a7..9a286bc26 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -522,6 +522,9 @@ class ETHREAD(objects.StructType, pool.ExecutiveObject): return True def get_create_time(self): + # For Windows XPs + if self.has_member("ThreadsProcess"): + return conversion.wintime_to_datetime(self.CreateTime.QuadPart >> 3) return conversion.wintime_to_datetime(self.CreateTime.QuadPart) def get_exit_time(self): From 550112b848913954e8b03d8c40bff9e2fd7902d7 Mon Sep 17 00:00:00 2001 From: RuBublik Date: Mon, 8 Jan 2024 23:37:38 +0200 Subject: [PATCH 0306/2186] added another sanity check to ETHREAD.is_valid --- volatility3/framework/symbols/windows/extensions/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 9a286bc26..f4e2cc485 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -515,6 +515,9 @@ class ETHREAD(objects.StructType, pool.ExecutiveObject): if not isinstance(ctime, datetime.datetime): return False + if not (1998 < ctime.year < 2030): + return False + except exceptions.InvalidAddressException: return False From 7c370121181af5da71b75d2b844def89341ddecd Mon Sep 17 00:00:00 2001 From: RuBublik Date: Tue, 9 Jan 2024 00:16:18 +0200 Subject: [PATCH 0307/2186] bumped version constants to mark change of interface (add of support for ETHREAD) --- volatility3/framework/constants/__init__.py | 4 ++-- volatility3/framework/plugins/windows/thrdscan.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index c3ebaca27..9aaafb933 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -44,8 +44,8 @@ BANG = "!" # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 5 # Number of changes that only add to the interface -VERSION_PATCH = 1 # Number of changes that do not change the interface +VERSION_MINOR = 6 # Number of changes that only add to the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" # TODO: At version 2.0.0, remove the symbol_shift feature diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 6e19f9bd5..80906b3b9 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -17,8 +17,8 @@ vollog = logging.getLogger(__name__) class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Scans for windows threads.""" - # version 2.5.0 adds support for scanning for 'Ethread' structures by pool tags - _required_framework_version = (2, 5, 0) + # version 2.6.0 adds support for scanning for 'Ethread' structures by pool tags + _required_framework_version = (2, 6, 0) _version = (1, 0, 0) @classmethod From 82668af60960d6aa8467a58e6e6b4979a8e26a9b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 9 Jan 2024 16:12:56 -0300 Subject: [PATCH 0308/2186] Linux - Added linux.ifconfig.Ifconfig plugin --- .../framework/constants/linux/__init__.py | 12 + .../framework/plugins/linux/ifconfig.py | 80 +++++++ .../framework/symbols/linux/__init__.py | 5 + .../symbols/linux/extensions/__init__.py | 205 +++++++++++++++++- 4 files changed, 301 insertions(+), 1 deletion(-) create mode 100644 volatility3/framework/plugins/linux/ifconfig.py diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 6e8883f19..aa0692365 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -281,3 +281,15 @@ CAPABILITIES = ( ) ELF_MAX_EXTRACTION_SIZE = 1024 * 1024 * 1024 * 4 - 1 + +# For IFA_* below - Ref: include/net/ipv6.h +IPV6_ADDR_LOOPBACK = 0x0010 +IPV6_ADDR_LINKLOCAL = 0x0020 +IPV6_ADDR_SITELOCAL = 0x0040 +# For inet6_ifaddr - Ref: include/net/if_inet6.h +IFA_HOST = IPV6_ADDR_LOOPBACK +IFA_LINK = IPV6_ADDR_LINKLOCAL +IFA_SITE = IPV6_ADDR_SITELOCAL + +# Promiscous mode +IFF_PROMISC = 0x100 diff --git a/volatility3/framework/plugins/linux/ifconfig.py b/volatility3/framework/plugins/linux/ifconfig.py new file mode 100644 index 000000000..39f4208bf --- /dev/null +++ b/volatility3/framework/plugins/linux/ifconfig.py @@ -0,0 +1,80 @@ +# This file is Copyright 2023 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +from typing import List +from volatility3.framework import interfaces, renderers, constants +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.objects import utility + + +class Ifconfig(plugins.PluginInterface): + """Lists network interface information for all devices""" + + _required_framework_version = (2, 0, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + ] + + def _gather_net_dev_info(self, net_dev): + mac_addr = net_dev.get_mac_address() + promisc = net_dev.promisc + iface_name = utility.array_to_string(net_dev.name) + iface_ifindex = net_dev.ifindex + try: + net_ns_id = net_dev.get_net_namespace_id() + except AttributeError: + net_ns_id = renderers.NotAvailableValue() + + # Interface IPv4 Addresses + in_device = net_dev.ip_ptr.dereference().cast("in_device") + for in_ifaddr in in_device.get_addresses(): + prefix_len = in_ifaddr.get_prefix_len() + scope_type = in_ifaddr.get_scope_type() + ip_addr = in_ifaddr.get_address() + yield net_ns_id, iface_ifindex, iface_name, mac_addr, promisc, ip_addr, prefix_len, scope_type + + # Interface IPv6 Addresses + ip6_ptr = net_dev.ip6_ptr.dereference().cast("inet6_dev") + for inet6_ifaddr in ip6_ptr.get_addresses(): + prefix_len = inet6_ifaddr.get_prefix_len() + scope_type = inet6_ifaddr.get_scope_type() + ip6_addr = inet6_ifaddr.get_address() + yield net_ns_id, iface_ifindex, iface_name, mac_addr, promisc, ip6_addr, prefix_len, scope_type + + def _generator(self): + vmlinux = self.context.modules[self.config["kernel"]] + + net_type_symname = vmlinux.symbol_table_name + constants.BANG + "net" + net_device_symname = vmlinux.symbol_table_name + constants.BANG + "net_device" + + # 'net_namespace_list' exists from kernels >= 2.6.24 + net_namespace_list = vmlinux.object_from_symbol("net_namespace_list") + for net_ns in net_namespace_list.to_list(net_type_symname, "list"): + for net_dev in net_ns.dev_base_head.to_list(net_device_symname, "dev_list"): + for fields in self._gather_net_dev_info(net_dev): + yield 0, fields + + def run(self): + headers = [ + ("NetNS", int), + ("Index", int), + ("Interface", str), + ("MAC", str), + ("Promiscuous", bool), + ("IP", str), + ("Prefix", int), + ("Scope Type", str), + ] + + return renderers.TreeGrid(headers, self._generator()) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index c4e2587f4..10cc546b7 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -43,6 +43,11 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): # Network self.set_type_class("net", extensions.net) + self.set_type_class("net_device", extensions.net_device) + self.set_type_class("in_device", extensions.in_device) + self.set_type_class("in_ifaddr", extensions.in_ifaddr) + self.set_type_class("inet6_dev", extensions.inet6_dev) + self.set_type_class("inet6_ifaddr", extensions.inet6_ifaddr) self.set_type_class("socket", extensions.socket) self.set_type_class("sock", extensions.sock) self.set_type_class("inet_sock", extensions.inet_sock) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d8a2867cc..085d91bff 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -4,6 +4,7 @@ import collections.abc import logging +import struct import socket as socket_module from typing import Generator, Iterable, Iterator, Optional, Tuple, List @@ -13,7 +14,8 @@ from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATES from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES -from volatility3.framework.constants.linux import CAPABILITIES +from volatility3.framework.constants.linux import CAPABILITIES, IFF_PROMISC +from volatility3.framework.constants.linux import IFA_HOST, IFA_LINK, IFA_SITE from volatility3.framework import exceptions, objects, interfaces, symbols from volatility3.framework.layers import linear from volatility3.framework.objects import utility @@ -1213,6 +1215,15 @@ class mnt_namespace(objects.StructType): class net(objects.StructType): def get_inode(self): + """Get the namespace id for this network namespace. + + Raises: + AttributeError: If it cannot find the network namespace id for the + current kernel. + + Returns: + int: the namespace id + """ if self.has_member("proc_inum"): # 3.8.13 <= kernel < 3.19.8 return self.proc_inum @@ -1224,6 +1235,198 @@ class net(objects.StructType): raise AttributeError("Unable to find net_namespace inode") +class net_device(objects.StructType): + @staticmethod + def _format_as_mac_address(hwaddr): + return ":".join([f"{x:02x}" for x in hwaddr[:6]]) + + def get_mac_address(self): + """Get the MAC address of this network interface. + + Returns: + str: the MAC address of this network interface. + """ + if self.has_member("perm_addr"): + mac_addr = self._format_as_mac_address(self.perm_addr) + if mac_addr != "00:00:00:00:00:00": + return mac_addr + + parent_layer = self._context.layers[self.vol.layer_name] + try: + hwaddr = parent_layer.read(self.dev_addr, 6) + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to read network inteface mac address from {self.dev_addr:#x}" + ) + return + + return self._format_as_mac_address(hwaddr) + + @property + def promisc(self): + """Return if this network interface is in promiscuous mode. + + Returns: + bool: True if this network interface is in promiscuous mode. Otherwise, False + """ + return self.flags & IFF_PROMISC == IFF_PROMISC + + def get_net_namespace_id(self): + """Return the network namespace id for this network interface. + + Returns: + int: the network namespace id for this network interface + """ + nd_net = self.nd_net + if nd_net.has_member("net"): + # In kernel 4.1.52 the 'nd_net' member type was changed from + # 'struct net*' to 'possible_net_t' which has a 'struct net *net' member. + net_ns_id = nd_net.net.get_inode() + else: + # In kernels < 4.1.52 the 'nd_net'member type was 'struct net*' + net_ns_id = nd_net.get_inode() + + return net_ns_id + + +class in_device(objects.StructType): + def get_addresses(self): + """Yield the IPv4 ifaddr addresses + + Yields: + in_ifaddr: An IPv4 ifaddr address + """ + cur = self.ifa_list + while cur and cur.vol.offset: + yield cur + cur = cur.ifa_next + + +class inet6_dev(objects.StructType): + def get_addresses(self): + """Yield the IPv6 ifaddr addresses + + Yields: + inet6_ifaddr: An IPv6 ifaddr address + """ + if not self.has_member( + "addr_list" + ) or not self.addr_list.vol.type_name.endswith(constants.BANG + "list_head"): + # kernels < 3.0 + # FIXME: struct inet6_ifaddr *addr_list; + vollog.warning( + "IPv6 is unsupported for this kernel. Check if the ISF contains the appropriate 'inet6_dev' type" + ) + return + + symbol_space = self._context.symbol_space + table_name = self.vol.type_name.split(constants.BANG)[0] + inet6_ifaddr_symname = table_name + constants.BANG + "inet6_ifaddr" + if not symbol_space.has_type(inet6_ifaddr_symname) or not symbol_space.get_type( + inet6_ifaddr_symname + ).has_member("if_list"): + vollog.warning( + "IPv6 is unsupported for this kernel. Check if the ISF contains the appropriate 'inet6_ifaddr' type" + ) + return + + # 'if_list' member was added to 'inet6_ifaddr' type in kernels 3.0 + for inet6_ifaddr in self.addr_list.to_list(inet6_ifaddr_symname, "if_list"): + yield inet6_ifaddr + + +class in_ifaddr(objects.StructType): + # Translation to text based on iproute2 package. See 'rtnl_rtscope_tab' in lib/rt_names.c + _rtnl_rtscope_tab = { + "RT_SCOPE_UNIVERSE": "global", + "RT_SCOPE_NOWHERE": "nowhere", + "RT_SCOPE_HOST": "host", + "RT_SCOPE_LINK": "link", + "RT_SCOPE_SITE": "site", + } + + def get_scope_type(self): + """Get the scope type for this IPv4 address + + Returns: + str: the IPv4 scope type. + """ + table_name = self.vol.type_name.split(constants.BANG)[0] + rt_scope_enum = self._context.symbol_space.get_enumeration( + table_name + constants.BANG + "rt_scope_t" + ) + try: + rt_scope = rt_scope_enum.lookup(self.ifa_scope) + except ValueError: + return "unknown" + + return self._rtnl_rtscope_tab.get(rt_scope, "unknown") + + def get_address(self): + """Get an string with the IPv4 address + + Returns: + str: the IPv4 address + """ + ipv4_bytes = struct.pack(" Date: Tue, 9 Jan 2024 16:13:33 -0300 Subject: [PATCH 0309/2186] Fix exception. Although it will be auto-instantiated it's better to explicitily use the exception instance --- volatility3/framework/interfaces/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index ab568b927..b74267197 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -133,7 +133,7 @@ class ObjectInterface(metaclass=abc.ABCMeta): def __getattr__(self, attr: str) -> Any: """Method for ensuring volatility members can be returned.""" - raise AttributeError + raise AttributeError() @property def vol(self) -> ReadOnlyMapping: From b0d84e55ab1846004318e87bd7b5f427e7d70551 Mon Sep 17 00:00:00 2001 From: RuBublik Date: Tue, 9 Jan 2024 21:32:29 +0200 Subject: [PATCH 0310/2186] fix indentation (typo) --- volatility3/framework/symbols/windows/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index f4e2cc485..a0af29d18 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -516,7 +516,7 @@ class ETHREAD(objects.StructType, pool.ExecutiveObject): return False if not (1998 < ctime.year < 2030): - return False + return False except exceptions.InvalidAddressException: return False From abc448009eddd8563835f233e8e95095a7b32a15 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 10 Jan 2024 15:56:00 -0300 Subject: [PATCH 0311/2186] Linux: Add netfilter hooks enumeration plugin. --- .../framework/plugins/linux/netfilter.py | 715 ++++++++++++++++++ 1 file changed, 715 insertions(+) create mode 100644 volatility3/framework/plugins/linux/netfilter.py diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py new file mode 100644 index 000000000..cc4786b4e --- /dev/null +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -0,0 +1,715 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +from dataclasses import dataclass, field +from abc import ABC, abstractmethod +import logging + +from typing import Iterator, List, Tuple +from volatility3.framework import ( + class_subclasses, + constants, + interfaces, + renderers, +) +from volatility3.framework.renderers import format_hints +from volatility3.framework.configuration import requirements +from volatility3.framework.symbols import linux +from volatility3.plugins.linux import lsmod + +vollog = logging.getLogger(__name__) + + +@dataclass +class Proto: + name: str + hooks: Tuple[str] = field(default_factory=tuple) + + +PROTO_NOT_IMPLEMENTED = Proto(name="UNSPEC") + +NF_INET_HOOKS = ("PRE_ROUTING", "LOCAL_IN", "FORWARD", "LOCAL_OUT", "POST_ROUTING") +NF_DEC_HOOKS = ( + "PRE_ROUTING", + "LOCAL_IN", + "FORWARD", + "LOCAL_OUT", + "POST_ROUTING", + "HELLO", + "ROUTE", +) +NF_ARP_HOOKS = ("IN", "OUT", "FORWARD") +NF_NETDEV_HOOKS = ("INGRESS", "EGRESS") +LARGEST_HOOK_NUMBER = max( + len(NF_INET_HOOKS), len(NF_DEC_HOOKS), len(NF_ARP_HOOKS), len(NF_NETDEV_HOOKS) +) + + +class AbstractNetfilter(ABC): + """Netfilter Abstract Base Classes handling details across various + Netfilter implementations, including constants, helpers, and common + routines. + """ + + PROTO_HOOKS = ( + PROTO_NOT_IMPLEMENTED, # NFPROTO_UNSPEC + Proto(name="INET", hooks=NF_INET_HOOKS), # From kernels 3.14 + Proto(name="IPV4", hooks=NF_INET_HOOKS), + Proto(name="ARP", hooks=("IN", "OUT", "FORWARD")), + PROTO_NOT_IMPLEMENTED, + Proto(name="NETDEV", hooks=("INGRESS", "EGRESS")), + PROTO_NOT_IMPLEMENTED, + Proto(name="BRIDGE", hooks=NF_INET_HOOKS), + PROTO_NOT_IMPLEMENTED, + PROTO_NOT_IMPLEMENTED, + Proto(name="IPV6", hooks=NF_INET_HOOKS), + PROTO_NOT_IMPLEMENTED, + Proto(name="DECNET", hooks=NF_INET_HOOKS), # Removed in kernel 6.1 + ) + NF_MAX_HOOKS = LARGEST_HOOK_NUMBER + 1 + + def __init__( + self, + context: interfaces.context.ContextInterface, + config: interfaces.configuration.HierarchicalDict, + ): + self._context = context + self._config = config + symbol_table = self._config["kernel"] + self.vmlinux = context.modules[symbol_table] + self.layer_name = self.vmlinux.layer_name + + modules = lsmod.Lsmod.list_modules(context, symbol_table) + self.handlers = linux.LinuxUtilities.generate_kernel_handler_info( + context, symbol_table, modules + ) + + self._set_data_sizes() + + def _set_data_sizes(self): + self.ptr_size = self.vmlinux.get_type("pointer").size + self.list_head_size = self.vmlinux.get_type("list_head").size + + @classmethod + def run_all( + cls, + context: interfaces.context.ContextInterface, + config: interfaces.configuration.HierarchicalDict, + ) -> Iterator[Tuple[int, str, str, int, int, str, bool]]: + """It calls each subclass symtab_checks() to test the required + conditions to that specific kernel implementation. + + Args: + context: The volatility3 context on which to operate + config: Core configuration + + Yields: + The kmsg records. Same as _run() + """ + vmlinux = context.modules[config["kernel"]] + + implementation_inst = None # type: ignore + for subclass in class_subclasses(cls): + if not subclass.symtab_checks(vmlinux=vmlinux): + vollog.log( + constants.LOGLEVEL_VVVV, + "Netfilter implementation '%s' doesn't match this memory dump", + subclass.__name__, + ) + continue + + vollog.log( + constants.LOGLEVEL_VVVV, + "Netfilter implementation '%s' matches!", + subclass.__name__, + ) + implementation_inst = subclass(context=context, config=config) + # More than one class could be executed for an specific kernel version + # For instance: Netfilter Ingress hooks + yield from implementation_inst._run() + + if implementation_inst is None: + vollog.error("Unsupported Netfilter kernel implementation") + + def _run(self) -> Iterator[Tuple[int, str, str, int, int, str, bool]]: + """Iterates over namespaces and protocols, executing various callbacks that + allow customization of the code to the specific data structure used in a + particular kernel implementation + + get_hooks_container_by_protocol(net, proto_name) + It returns the data structure used in a specific kernel implementation + to store the hooks for a respective namespace and protocol, basically: + For Ingress hooks: + network_namespace[] -> net_device[] -> nf_hooks_ingress[] + For all the other Netfilter hooks: + <= 4.2.8 + nf_hooks[] + >= 4.3 + network_namespace[] -> nf.hooks[] + + get_hook_ops(hook_container, proto_idx, hook_idx) + Give the 'hook_container' got in get_hooks_container_by_protocol(), it + returns an iterable of 'nf_hook_ops' elements for a respective protocol + and hook type. + + Returns: + netns [int]: Network namespace id + proto_name [str]: Protocol name + hook_name [str]: Hook name + priority [int]: Priority + hook_ops_hook [int]: Hook address + module_name [str]: Linux kernel module name + hooked [bool]: hooked? + """ + for netns, net in self.get_net_namespaces(): + for proto_idx, proto_name, hook_idx, hook_name in self._proto_hook_loop(): + hooks_container = self.get_hooks_container_by_protocol(net, proto_name) + + for hook_container in hooks_container: + for hook_ops in self.get_hook_ops( + hook_container, proto_idx, hook_idx + ): + if not hook_ops: + continue + + priority = int(hook_ops.priority) + hook_ops_hook = hook_ops.hook + module_name = self.get_module_name_for_address(hook_ops_hook) + hooked = module_name is not None + + yield netns, proto_name, hook_name, priority, hook_ops_hook, module_name, hooked + + @classmethod + @abstractmethod + def symtab_checks(cls, vmlinux: interfaces.context.ModuleInterface) -> bool: + """This method on each sublasss will be called to evaluate if the kernel + being analyzed fulfill the type & symbols requirements for the implementation. + The first class returning True will be instantiated and called via the + run() method. + + Returns: + bool: True if the kernel being analyzed fulfill the class requirements. + """ + + def _proto_hook_loop(self) -> Iterator[Tuple[int, str, int, str]]: + """Flattens the protocol families and hooks""" + for proto_idx, proto in enumerate(AbstractNetfilter.PROTO_HOOKS): + if proto == PROTO_NOT_IMPLEMENTED: + continue + if proto.name not in self.subscribed_protocols(): + # This protocol is not managed in this object + continue + for hook_idx, hook_name in enumerate(proto.hooks): + yield proto_idx, proto.name, hook_idx, hook_name + + def build_nf_hook_ops_array(self, nf_hook_entries): + """Function helper to build the nf_hook_ops array when it is not part of the + struct 'nf_hook_entries' definition. + + nf_hook_ops was stored adjacent in memory to the nf_hook_entry array, in the + new struct 'nf_hook_entries'. However, this 'nf_hooks_ops' array 'orig_ops' is + not part of the 'nf_hook_entries' struct. So, we need to calculate the offset. + + struct nf_hook_entries { + u16 num_hook_entries; /* plus padding */ + struct nf_hook_entry hooks[]; + //const struct nf_hook_ops *orig_ops[]; + } + """ + nf_hook_entry_size = self.vmlinux.get_type("nf_hook_entry").size + orig_ops_addr = ( + nf_hook_entries.hooks.vol.offset + + nf_hook_entry_size * nf_hook_entries.num_hook_entries + ) + orig_ops = self._context.object( + object_type=self.get_symbol_fullname("array"), + offset=orig_ops_addr, + subtype=self.vmlinux.get_type("pointer"), + layer_name=self.layer_name, + count=nf_hook_entries.num_hook_entries, + ) + + return orig_ops + + def subscribed_protocols(self) -> Tuple[str]: + """Allows to select which PROTO_HOOKS protocols will be processed by the + Netfiler subclass. + """ + + # Most implementation handlers respond to these protocols, except for + # the ingress hook, which specifically handles the 'NETDEV' protocol. + # However, there is no corresponding Netfilter hook implementation for + # the INET protocol in the kernel. AFAIU, this is used as + # 'NFPROTO_INET = NFPROTO_IPV4 || NFPROTO_IPV6' + # in other parts of the kernel source code. + return ("IPV4", "ARP", "BRIDGE", "IPV6", "DECNET") + + def get_module_name_for_address(self, addr) -> str: + """Helper to obtain the module and symbol name in the format needed for the + output of this plugin. + """ + module_name, symbol_name = linux.LinuxUtilities.lookup_module_address( + self.vmlinux, self.handlers, addr + ) + + if module_name == "UNKNOWN": + module_name = None + + if symbol_name != "N/A": + module_name = f"[{symbol_name}]" + + return module_name + + def get_net_namespaces(self): + """Common function to retrieve the different namespaces. + From 4.3 on, all the implementations use network namespaces. + """ + nethead = self.vmlinux.object_from_symbol("net_namespace_list") + symbol_net_name = self.get_symbol_fullname("net") + for net in nethead.to_list(symbol_net_name, "list"): + net_ns_id = net.ns.inum + yield net_ns_id, net + + def get_hooks_container_by_protocol(self, net, proto_name): + """Returns the data structure used in a specific kernel implementation to store + the hooks for a respective namespace and protocol. + + Except for kernels < 4.3, all the implementations use network namespaces. + Also the data structure which contains the hooks, even though it changes its + implementation and/or data type, it is always in this location. + """ + yield net.nf.hooks + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + """Given the hook_container obtained from get_hooks_container_by_protocol(), it + returns an iterable of 'nf_hook_ops' elements for a corresponding protocol + and hook type. + + This is the most variable/unstable part of all Netfilter hook designs, it + changes almost in every single implementation. + """ + raise NotImplementedError("You must implement this method") + + def get_symbol_fullname(self, symbol_basename: str) -> str: + """Given a short symbol or type name, it returns its full name""" + return self.vmlinux.symbol_table_name + constants.BANG + symbol_basename + + @staticmethod + def get_member_type( + vol_type: interfaces.objects.Template, member_name: str + ) -> List[str]: + """Returns a list of types/subtypes belonging to the given type member. + + Args: + vol_type (interfaces.objects.Template): A vol3 type object + member_name (str): The member name + + Returns: + list: A list of types/subtypes + """ + _size, vol_obj = vol_type.vol.members[member_name] + type_name = vol_obj.type_name + type_basename = type_name.split(constants.BANG)[1] + member_type = [type_basename] + cur_type = vol_obj + while hasattr(cur_type, "subtype"): + subtype_name = cur_type.subtype.type_name + subtype_basename = subtype_name.split(constants.BANG)[1] + member_type.append(subtype_basename) + cur_type = cur_type.subtype + + return member_type + + +class NetfilterImp_to_4_3(AbstractNetfilter): + """At this point, Netfilter hooks were implemented as a linked list of struct + 'nf_hook_ops' type. One linked list per protocol per hook type. + It was like that until 4.2.8. + + struct list_head nf_hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + return vmlinux.has_symbol("nf_hooks") + + def get_net_namespaces(self): + # In kernels <= 4.2.8 netfilter hooks are not implemented per namespaces + netns, net = renderers.NotAvailableValue(), renderers.NotAvailableValue() + yield netns, net + + def get_hooks_container_by_protocol(self, net, proto_name): + nf_hooks = self.vmlinux.object_from_symbol("nf_hooks") + if not nf_hooks: + return + + yield nf_hooks + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + list_head = hook_container[proto_idx][hook_idx] + nf_hooks_ops_name = self.get_symbol_fullname("nf_hook_ops") + return list_head.to_list(nf_hooks_ops_name, "list") + + +class NetfilterImp_4_3_to_4_9(AbstractNetfilter): + """Netfilter hooks were added to network namepaces in 4.3. + It is still implemented as a linked list of 'struct nf_hook_ops' type but inside a + network namespace. One linked list per protocol per hook type. + + struct net { ... struct netns_nf nf; ... } + struct netns_nf { ... + struct list_head hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; ... } + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("netns_nf") + and vmlinux.get_type("netns_nf").has_member("hooks") + and cls.get_member_type(vmlinux.get_type("netns_nf"), "hooks") + == ["array", "array", "list_head"] + ) + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + list_head = hook_container[proto_idx][hook_idx] + nf_hooks_ops_name = self.get_symbol_fullname("nf_hook_ops") + return list_head.to_list(nf_hooks_ops_name, "list") + + +class NetfilterImp_4_9_to_4_14(AbstractNetfilter): + """In this range of kernel versions, the doubly-linked lists of netfilter hooks were + replaced by an array of arrays of 'nf_hook_entry' pointers in a singly-linked lists. + struct net { ... struct netns_nf nf; ... } + struct netns_nf { .. + struct nf_hook_entry __rcu *hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; ... } + + Also in v4.10 the struct nf_hook_entry changed, a hook function pointer was added to + it. However, for simplicity of this design, we will still take the hook address from + the 'nf_hook_ops'. As per v5.0-rc2, the hook address is duplicated in both sides. + - v4.9: + struct nf_hook_entry { + struct nf_hook_entry *next; + struct nf_hook_ops ops; + const struct nf_hook_ops *orig_ops; }; + - v4.10: + struct nf_hook_entry { + struct nf_hook_entry *next; + nf_hookfn *hook; + void *priv; + const struct nf_hook_ops *orig_ops; }; + (*) Even though the hook address is in the struct 'nf_hook_entry', we use the + original 'nf_hook_ops' hook address value, the one which was filled by the user, to + make it uniform to all the implementations. + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + hooks_type = ["array", "array", "pointer", "nf_hook_entry"] + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("netns_nf") + and vmlinux.get_type("netns_nf").has_member("hooks") + and cls.get_member_type(vmlinux.get_type("netns_nf"), "hooks") == hooks_type + ) + + def _get_hook_ops(self, hook_container, proto_idx, hook_idx): + list_head = hook_container[proto_idx][hook_idx] + nf_hooks_ops_name = self.get_symbol_fullname("nf_hook_ops") + return list_head.to_list(nf_hooks_ops_name, "list") + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + nf_hook_entry_list = hook_container[proto_idx][hook_idx] + while nf_hook_entry_list: + yield nf_hook_entry_list.orig_ops + nf_hook_entry_list = nf_hook_entry_list.next + + +class NetfilterImp_4_14_to_4_16(AbstractNetfilter): + """'nf_hook_ops' was removed from struct 'nf_hook_entry'. Instead, it was stored + adjacent in memory to the 'nf_hook_entry' array, in the new struct 'nf_hook_entries' + However, 'orig_ops' is not part of the 'nf_hook_entries' struct definition. So, we + have to craft it by hand. + + struct net { ... struct netns_nf nf; ... } + struct netns_nf { + struct nf_hook_entries *hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; ... } + struct nf_hook_entries { + u16 num_hook_entries; /* plus padding */ + struct nf_hook_entry hooks[]; + //const struct nf_hook_ops *orig_ops[]; } + struct nf_hook_entry { + nf_hookfn *hook; + void *priv; } + + (*) Even though the hook address is in the struct 'nf_hook_entry', we use the + original 'nf_hook_ops' hook address value, the one which was filled by the user, to + make it uniform to all the implementations. + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + hooks_type = ["array", "array", "pointer", "nf_hook_entries"] + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("netns_nf") + and vmlinux.get_type("netns_nf").has_member("hooks") + and cls.get_member_type(vmlinux.get_type("netns_nf"), "hooks") == hooks_type + ) + + def get_nf_hook_entries(self, nf_hooks_addr, proto_idx, hook_idx): + """This allows to support different hook array implementations from this version + on. For instance, in kernels >= 4.16 this multi-dimensional array is split in + one-dimensional array of pointers to 'nf_hooks_entries' per each protocol.""" + return nf_hooks_addr[proto_idx][hook_idx] + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + nf_hook_entries = self.get_nf_hook_entries(hook_container, proto_idx, hook_idx) + if not nf_hook_entries: + return + + nf_hook_ops_name = self.get_symbol_fullname("nf_hook_ops") + nf_hook_ops_ptr_arr = self.build_nf_hook_ops_array(nf_hook_entries) + for nf_hook_ops_ptr in nf_hook_ops_ptr_arr: + nf_hook_ops = nf_hook_ops_ptr.dereference().cast(nf_hook_ops_name) + yield nf_hook_ops + + +class NetfilterImp_4_16_to_latest(NetfilterImp_4_14_to_4_16): + """The multidimensional array of nf_hook_entries was split in a one-dimensional + array per each protocol. + + struct net { + struct netns_nf nf; ... } + struct netns_nf { + struct nf_hook_entries * hooks_ipv4[NF_INET_NUMHOOKS]; + struct nf_hook_entries * hooks_ipv6[NF_INET_NUMHOOKS]; + struct nf_hook_entries * hooks_arp[NF_ARP_NUMHOOKS]; + struct nf_hook_entries * hooks_bridge[NF_INET_NUMHOOKS]; + struct nf_hook_entries * hooks_decnet[NF_DN_NUMHOOKS]; ... } + struct nf_hook_entries { + u16 num_hook_entries; /* plus padding */ + struct nf_hook_entry hooks[]; + //const struct nf_hook_ops *orig_ops[]; } + struct nf_hook_entry { + nf_hookfn *hook; + void *priv; } + + (*) Even though the hook address is in the struct nf_hook_entry, we use the original + nf_hook_ops hook address value, the one which was filled by the user, to make it + uniform to all the implementations. + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("netns_nf") + and vmlinux.get_type("netns_nf").has_member("hooks_ipv4") + ) + + def get_hooks_container_by_protocol(self, net, proto_name): + try: + if proto_name == "IPV4": + net_nf_hooks = net.nf.hooks_ipv4 + elif proto_name == "ARP": + net_nf_hooks = net.nf.hooks_arp + elif proto_name == "BRIDGE": + net_nf_hooks = net.nf.hooks_bridge + elif proto_name == "IPV6": + net_nf_hooks = net.nf.hooks_ipv6 + elif proto_name == "DECNET": + net_nf_hooks = net.nf.hooks_decnet + else: + return + + yield net_nf_hooks + + except AttributeError: + # Protocol family disabled at kernel compilation + # CONFIG_NETFILTER_FAMILY_ARP=n || + # CONFIG_NETFILTER_FAMILY_BRIDGE=n || + # CONFIG_DECNET=n + pass + + def _get_nf_hook_entries_ptr(self, nf_hooks_addr, proto_idx, hook_idx): + nf_hook_entries_ptr = nf_hooks_addr[hook_idx] + return nf_hook_entries_ptr + + def get_nf_hook_entries(self, nf_hooks_addr, proto_idx, hook_idx): + return nf_hooks_addr[hook_idx] + + +class AbstractNetfilterNetDev(AbstractNetfilter): + """Base class to handle the Netfilter NetDev hooks. + It won't be executed. It has some common functions to all Netfilter NetDev hook + implementions. + + Netfilter NetDev hooks are set per network device which belongs to a network + namespace. + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + return False + + def subscribed_protocols(self): + return ("NETDEV",) + + def get_hooks_container_by_protocol(self, net, proto_name): + if proto_name != "NETDEV": + return + + net_device_type = self.vmlinux.get_type("net_device") + net_device_name = self.get_symbol_fullname("net_device") + for net_device in net.dev_base_head.to_list(net_device_name, "dev_list"): + if net_device_type.has_member("nf_hooks_ingress"): + # CONFIG_NETFILTER_INGRESS=y + yield net_device.nf_hooks_ingress + + if net_device_type.has_member("nf_hooks_egress"): + # CONFIG_NETFILTER_EGRESS=y + yield net_device.nf_hooks_egress + + +class NetfilterIngressImp_4_2_to_4_9(AbstractNetfilterNetDev): + """This is the first version of Netfilter Ingress hooks which was implemented using + a doubly-linked list of 'nf_hook_ops'. + struct list_head nf_hooks_ingress; + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + hooks_type = ["list_head"] + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("net_device") + and vmlinux.get_type("net_device").has_member("nf_hooks_ingress") + and cls.get_member_type(vmlinux.get_type("net_device"), "nf_hooks_ingress") + == hooks_type + ) + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + nf_hooks_ingress = hook_container + nf_hook_ops_name = self.get_symbol_fullname("nf_hook_ops") + return nf_hooks_ingress.to_list(nf_hook_ops_name, "list") + + +class NetfilterIngressImp_4_9_to_4_14(AbstractNetfilterNetDev): + """In 4.9 it was changed to a simple singly-linked list. + struct nf_hook_entry * nf_hooks_ingress; + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + hooks_type = ["pointer", "nf_hook_entry"] + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("net_device") + and vmlinux.get_type("net_device").has_member("nf_hooks_ingress") + and cls.get_member_type(vmlinux.get_type("net_device"), "nf_hooks_ingress") + == hooks_type + ) + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + nf_hooks_ingress_ptr = hook_container + if not nf_hooks_ingress_ptr: + return + + while nf_hooks_ingress_ptr: + nf_hook_entry = nf_hooks_ingress_ptr.dereference() + orig_ops = nf_hook_entry.orig_ops.dereference() + yield orig_ops + nf_hooks_ingress_ptr = nf_hooks_ingress_ptr.next + + +class NetfilterIngressImp_4_14_to_latest(AbstractNetfilterNetDev): + """In 4.14 the hook list was converted to an array of pointers inside the struct + 'nf_hook_entries': + struct nf_hook_entries * nf_hooks_ingress; + struct nf_hook_entries { + u16 num_hook_entries; + struct nf_hook_entry hooks[]; + //const struct nf_hook_ops *orig_ops[]; } + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + hooks_type = ["pointer", "nf_hook_entries"] + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("net_device") + and vmlinux.get_type("net_device").has_member("nf_hooks_ingress") + and cls.get_member_type(vmlinux.get_type("net_device"), "nf_hooks_ingress") + == hooks_type + ) + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + nf_hook_entries = hook_container + if not nf_hook_entries: + return + + nf_hook_ops_name = self.get_symbol_fullname("nf_hook_ops") + nf_hook_ops_ptr_arr = self.build_nf_hook_ops_array(nf_hook_entries) + for nf_hook_ops_ptr in nf_hook_ops_ptr_arr: + nf_hook_ops = nf_hook_ops_ptr.dereference().cast(nf_hook_ops_name) + yield nf_hook_ops + + +class Netfilter(interfaces.plugins.PluginInterface): + """Lists Netfilter hooks.""" + + _required_framework_version = (2, 0, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + ), + ] + + def _format_fields(self, fields): + ( + netns, + proto_name, + hook_name, + priority, + hook_func, + module_name, + hooked, + ) = fields + return ( + netns, + proto_name, + hook_name, + priority, + format_hints.Hex(hook_func), + module_name, + str(hooked), + ) + + def _generator(self): + for fields in AbstractNetfilter.run_all( + context=self.context, config=self.config + ): + yield (0, self._format_fields(fields)) + + def run(self): + headers = [ + ("Net NS", int), + ("Proto", str), + ("Hook", str), + ("Priority", int), + ("Handler", format_hints.Hex), + ("Module", str), + ("Is Hooked", str), + ] + return renderers.TreeGrid(headers, self._generator()) From 5ad7dd3bbcbad273e21610462e7e2517e87653ed Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 10 Jan 2024 16:06:55 -0300 Subject: [PATCH 0312/2186] Update netdev class names as it now supports both netdev hooks; ingress and egress --- volatility3/framework/plugins/linux/netfilter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index cc4786b4e..a9dbc742a 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -572,7 +572,7 @@ class AbstractNetfilterNetDev(AbstractNetfilter): yield net_device.nf_hooks_egress -class NetfilterIngressImp_4_2_to_4_9(AbstractNetfilterNetDev): +class NetfilterNetDevImp_4_2_to_4_9(AbstractNetfilterNetDev): """This is the first version of Netfilter Ingress hooks which was implemented using a doubly-linked list of 'nf_hook_ops'. struct list_head nf_hooks_ingress; @@ -595,7 +595,7 @@ class NetfilterIngressImp_4_2_to_4_9(AbstractNetfilterNetDev): return nf_hooks_ingress.to_list(nf_hook_ops_name, "list") -class NetfilterIngressImp_4_9_to_4_14(AbstractNetfilterNetDev): +class NetfilterNetDevImp_4_9_to_4_14(AbstractNetfilterNetDev): """In 4.9 it was changed to a simple singly-linked list. struct nf_hook_entry * nf_hooks_ingress; """ @@ -623,7 +623,7 @@ class NetfilterIngressImp_4_9_to_4_14(AbstractNetfilterNetDev): nf_hooks_ingress_ptr = nf_hooks_ingress_ptr.next -class NetfilterIngressImp_4_14_to_latest(AbstractNetfilterNetDev): +class NetfilterNetDevImp_4_14_to_latest(AbstractNetfilterNetDev): """In 4.14 the hook list was converted to an array of pointers inside the struct 'nf_hook_entries': struct nf_hook_entries * nf_hooks_ingress; From 5b5012d08ad7aff2dd48c5786e1bad2c62274989 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 10 Jan 2024 16:42:34 -0300 Subject: [PATCH 0313/2186] Fix. Use the global lists. DEC hooks were wrong --- volatility3/framework/plugins/linux/netfilter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index a9dbc742a..2b0a16a96 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -55,16 +55,16 @@ class AbstractNetfilter(ABC): PROTO_NOT_IMPLEMENTED, # NFPROTO_UNSPEC Proto(name="INET", hooks=NF_INET_HOOKS), # From kernels 3.14 Proto(name="IPV4", hooks=NF_INET_HOOKS), - Proto(name="ARP", hooks=("IN", "OUT", "FORWARD")), + Proto(name="ARP", hooks=NF_ARP_HOOKS), PROTO_NOT_IMPLEMENTED, - Proto(name="NETDEV", hooks=("INGRESS", "EGRESS")), + Proto(name="NETDEV", hooks=NF_NETDEV_HOOKS), PROTO_NOT_IMPLEMENTED, Proto(name="BRIDGE", hooks=NF_INET_HOOKS), PROTO_NOT_IMPLEMENTED, PROTO_NOT_IMPLEMENTED, Proto(name="IPV6", hooks=NF_INET_HOOKS), PROTO_NOT_IMPLEMENTED, - Proto(name="DECNET", hooks=NF_INET_HOOKS), # Removed in kernel 6.1 + Proto(name="DECNET", hooks=NF_DEC_HOOKS), # Removed in kernel 6.1 ) NF_MAX_HOOKS = LARGEST_HOOK_NUMBER + 1 From da6c2d863d17bdcef950cc8a8f9b7aa7c9e11b2a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 10 Jan 2024 16:43:36 -0300 Subject: [PATCH 0314/2186] Fix netdev egress hooks --- .../framework/plugins/linux/netfilter.py | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 2b0a16a96..33bb5c456 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -136,11 +136,13 @@ class AbstractNetfilter(ABC): allow customization of the code to the specific data structure used in a particular kernel implementation - get_hooks_container_by_protocol(net, proto_name) + get_hooks_container(net, proto_name, hook_name) It returns the data structure used in a specific kernel implementation to store the hooks for a respective namespace and protocol, basically: For Ingress hooks: network_namespace[] -> net_device[] -> nf_hooks_ingress[] + For egress hooks: + network_namespace[] -> net_device[] -> nf_hooks_egress[] For all the other Netfilter hooks: <= 4.2.8 nf_hooks[] @@ -148,7 +150,7 @@ class AbstractNetfilter(ABC): network_namespace[] -> nf.hooks[] get_hook_ops(hook_container, proto_idx, hook_idx) - Give the 'hook_container' got in get_hooks_container_by_protocol(), it + Give the 'hook_container' got in get_hooks_container(), it returns an iterable of 'nf_hook_ops' elements for a respective protocol and hook type. @@ -163,7 +165,7 @@ class AbstractNetfilter(ABC): """ for netns, net in self.get_net_namespaces(): for proto_idx, proto_name, hook_idx, hook_name in self._proto_hook_loop(): - hooks_container = self.get_hooks_container_by_protocol(net, proto_name) + hooks_container = self.get_hooks_container(net, proto_name, hook_name) for hook_container in hooks_container: for hook_ops in self.get_hook_ops( @@ -270,7 +272,7 @@ class AbstractNetfilter(ABC): net_ns_id = net.ns.inum yield net_ns_id, net - def get_hooks_container_by_protocol(self, net, proto_name): + def get_hooks_container(self, net, proto_name, hook_name): """Returns the data structure used in a specific kernel implementation to store the hooks for a respective namespace and protocol. @@ -281,7 +283,7 @@ class AbstractNetfilter(ABC): yield net.nf.hooks def get_hook_ops(self, hook_container, proto_idx, hook_idx): - """Given the hook_container obtained from get_hooks_container_by_protocol(), it + """Given the hook_container obtained from get_hooks_container(), it returns an iterable of 'nf_hook_ops' elements for a corresponding protocol and hook type. @@ -338,7 +340,7 @@ class NetfilterImp_to_4_3(AbstractNetfilter): netns, net = renderers.NotAvailableValue(), renderers.NotAvailableValue() yield netns, net - def get_hooks_container_by_protocol(self, net, proto_name): + def get_hooks_container(self, net, proto_name, hook_name): nf_hooks = self.vmlinux.object_from_symbol("nf_hooks") if not nf_hooks: return @@ -508,7 +510,7 @@ class NetfilterImp_4_16_to_latest(NetfilterImp_4_14_to_4_16): and vmlinux.get_type("netns_nf").has_member("hooks_ipv4") ) - def get_hooks_container_by_protocol(self, net, proto_name): + def get_hooks_container(self, net, proto_name, hook_name): try: if proto_name == "IPV4": net_nf_hooks = net.nf.hooks_ipv4 @@ -556,20 +558,19 @@ class AbstractNetfilterNetDev(AbstractNetfilter): def subscribed_protocols(self): return ("NETDEV",) - def get_hooks_container_by_protocol(self, net, proto_name): - if proto_name != "NETDEV": - return - + def get_hooks_container(self, net, proto_name, hook_name): net_device_type = self.vmlinux.get_type("net_device") net_device_name = self.get_symbol_fullname("net_device") for net_device in net.dev_base_head.to_list(net_device_name, "dev_list"): - if net_device_type.has_member("nf_hooks_ingress"): - # CONFIG_NETFILTER_INGRESS=y - yield net_device.nf_hooks_ingress + if hook_name == "INGRESS": + if net_device_type.has_member("nf_hooks_ingress"): + # CONFIG_NETFILTER_INGRESS=y + yield net_device.nf_hooks_ingress - if net_device_type.has_member("nf_hooks_egress"): - # CONFIG_NETFILTER_EGRESS=y - yield net_device.nf_hooks_egress + elif hook_name == "EGRESS": + if net_device_type.has_member("nf_hooks_egress"): + # CONFIG_NETFILTER_EGRESS=y + yield net_device.nf_hooks_egress class NetfilterNetDevImp_4_2_to_4_9(AbstractNetfilterNetDev): From 52dcfb45f45b9442b944f124f66cb0c363b584af Mon Sep 17 00:00:00 2001 From: bbarnacle Date: Tue, 28 Nov 2023 11:20:51 -0500 Subject: [PATCH 0315/2186] Windows: Add regex filtering to dumpfiles In volatility2, the windows.dumpfiles plugin allows you to filter the dumped files using a regular expression. This PR adds the same functionality to volatility3. The regular expression is passed in using --regex=REGEX and all files matching REGEX will be dumped. The --ignore-case flag can be passed to make the search case-insensitive. The search is case-sensitive by default. The matching volatility2 functionality can be found here: https://github.com/volatilityfoundation/volatility/blob/a438e768194a9e05eb4d9ee 9338b881c0fa25937/volatility/plugins/dumpfiles.py#L844 Manual testing was performed on windows memory images across different windows versions to verify the expected output. --- .../framework/plugins/windows/dumpfiles.py | 32 ++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index dd82d897e..4aef660da 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -4,11 +4,12 @@ import logging import ntpath +import re from typing import List, Tuple, Type, Optional, Generator from volatility3.framework import interfaces, renderers, exceptions, constants from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints +from volatility3.framework.renderers import format_hints, UnreadableValue from volatility3.plugins.windows import handles from volatility3.plugins.windows import pslist @@ -53,6 +54,15 @@ class DumpFiles(interfaces.plugins.PluginInterface): description="Dump a single _FILE_OBJECT at this physical address", optional=True, ), + requirements.StringRequirement( + name="regex", description="Dump files matching REGEX", optional=True + ), + requirements.BooleanRequirement( + name="ignore-case", + description="Ignore case in pattern match", + default=False, + optional=True, + ), requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(2, 0, 0) ), @@ -208,6 +218,11 @@ class DumpFiles(interfaces.plugins.PluginInterface): def _generator(self, procs: List, offsets: List): kernel = self.context.modules[self.config["kernel"]] + if self.config["regex"]: + if self.config["ignore-case"]: + file_re = re.compile(self.config["regex"], re.I) + else: + file_re = re.compile(self.config["regex"]) if procs: # The handles plugin doesn't expose any staticmethod/classmethod, and it also requires stashing @@ -243,6 +258,14 @@ class DumpFiles(interfaces.plugins.PluginInterface): obj_type = entry.get_object_type(type_map, cookie) if obj_type == "File": file_obj = entry.Body.cast("_FILE_OBJECT") + + if self.config["regex"]: + name = file_obj.file_name_with_device() + if isinstance(name, UnreadableValue): + continue + if not file_re.search(name): + continue + for result in self.process_file_object( self.context, kernel.layer_name, self.open, file_obj ): @@ -272,6 +295,13 @@ class DumpFiles(interfaces.plugins.PluginInterface): if not file_obj.is_valid(): continue + if self.config["regex"]: + name = file_obj.file_name_with_device() + if isinstance(name, UnreadableValue): + continue + if not file_re.search(name): + continue + for result in self.process_file_object( self.context, kernel.layer_name, self.open, file_obj ): From 62366d4f6f6b57e6e2f6920df67a88125dac9484 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 14 Jan 2024 22:37:56 +0000 Subject: [PATCH 0316/2186] Symbols: Add support for metadata verification of symbol tables --- volatility3/framework/constants/__init__.py | 4 +- volatility3/framework/plugins/linux/kmsg.py | 11 +- volatility3/framework/symbols/__init__.py | 49 +- volatility3/framework/symbols/intermed.py | 9 + volatility3/framework/symbols/metadata.py | 42 +- volatility3/schemas/schema-6.3.0.json | 503 ++++++++++++++++++++ 6 files changed, 613 insertions(+), 5 deletions(-) create mode 100644 volatility3/schemas/schema-6.3.0.json diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 09dded076..9aaafb933 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -44,8 +44,8 @@ BANG = "!" # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 5 # Number of changes that only add to the interface -VERSION_PATCH = 2 # Number of changes that do not change the interface +VERSION_MINOR = 6 # Number of changes that only add to the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" # TODO: At version 2.0.0, remove the symbol_shift feature diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index d1f17bf94..d79248256 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -10,10 +10,12 @@ from typing import Generator, Iterator, List, Tuple from volatility3.framework import ( class_subclasses, constants, + exceptions, interfaces, renderers, ) from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility vollog = logging.getLogger(__name__) @@ -495,7 +497,7 @@ class Kmsg_5_10_to_(ABCKmsg): class Kmsg(interfaces.plugins.PluginInterface): """Kernel log buffer reader""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 6, 0) _version = (1, 0, 2) @@ -514,6 +516,13 @@ class Kmsg(interfaces.plugins.PluginInterface): yield (0, values) def run(self): + if not self.context.symbol_space.verify_table_versions( + "dwarf2json", lambda version, _: (not version) or version > (0, 4, 1) + ): + raise exceptions.SymbolSpaceError( + "Invalid symbol table, please ensure the ISF table produced by dwarf2json was produced using a version > 0.4.1" + ) + return renderers.TreeGrid( [ ("facility", str), diff --git a/volatility3/framework/symbols/__init__.py b/volatility3/framework/symbols/__init__.py index 10cf39cf1..49ff94f4b 100644 --- a/volatility3/framework/symbols/__init__.py +++ b/volatility3/framework/symbols/__init__.py @@ -4,9 +4,20 @@ import collections import collections.abc +import datetime import enum import logging -from typing import Any, Dict, Iterable, Iterator, TypeVar, List +from typing import ( + Any, + Callable, + Dict, + Iterable, + Iterator, + Optional, + Tuple, + TypeVar, + List, +) from volatility3.framework import constants, exceptions, interfaces, objects @@ -113,6 +124,42 @@ class SymbolSpace(interfaces.symbols.SymbolSpaceInterface): self._resolved = {} del self._dict[key] + def verify_table_versions( + self, + producer: str, + validator: Callable[[Optional[Tuple], Optional[datetime.datetime]], bool], + tables: List[str] = None, + ) -> bool: + """Verifies the producer metadata and version of tables + + Args: + producer: String name of a table producer to have validation performed + validator: callable that takes an optional version and an optional datetime that returns False if table is invalid + + Returns: + False if an invalid table was found or True if no invalid table was found + """ + if tables is None: + tables = self._dict.keys() + for table_name in tables: + table = self._dict[table_name] + if not table.producer: + vollog.debug( + f"Symbol table {table_name} could not be validated because no producer metadata was found" + ) + continue + if table.producer.name == producer: + # Run the verification + if not validator( + table.producer.version, + table.producer.datetime, + ): + vollog.debug(f"Symbol table {table_name} does not pass validator") + return False + else: + continue + return True + ### Resolution functions class UnresolvedTemplate(objects.templates.ReferenceTemplate): diff --git a/volatility3/framework/symbols/intermed.py b/volatility3/framework/symbols/intermed.py index 24e00bbd8..8c40e466a 100644 --- a/volatility3/framework/symbols/intermed.py +++ b/volatility3/framework/symbols/intermed.py @@ -183,6 +183,7 @@ class IntermediateSymbolTable(interfaces.symbols.SymbolTableInterface): types = _construct_delegate_function("types", True) enumerations = _construct_delegate_function("enumerations", True) metadata = _construct_delegate_function("metadata", True) + producer = _construct_delegate_function("producer", True) clear_symbol_cache = _construct_delegate_function("clear_symbol_cache") get_type = _construct_delegate_function("get_type") get_symbol = _construct_delegate_function("get_symbol") @@ -372,6 +373,14 @@ class ISFormatTable(interfaces.symbols.SymbolTableInterface, metaclass=ABCMeta): table.""" return None + @property + def producer(self) -> Optional["metadata.ProducerMetadata"]: + """Returns a metadata object containing information about the symbol + table.""" + return metadata.ProducerMetadata( + self._json_object.get("metadata", {}).get("producer", {}) + ) + def clear_symbol_cache(self) -> None: """Clears the symbol cache of the symbol table.""" self._symbol_cache.clear() diff --git a/volatility3/framework/symbols/metadata.py b/volatility3/framework/symbols/metadata.py index 61947be69..f765e43c9 100644 --- a/volatility3/framework/symbols/metadata.py +++ b/volatility3/framework/symbols/metadata.py @@ -2,9 +2,49 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import datetime +import logging from typing import Optional, Tuple, Union -from volatility3.framework import interfaces +from volatility3.framework import constants, interfaces + +vollog = logging.getLogger(__name__) + + +class ProducerMetadata(interfaces.symbols.MetadataInterface): + """Class to handle the Producer metadata from an ISF""" + + @property + def name(self) -> Optional[str]: + return self._json_data.get("name", None) + + @property + def version(self) -> Optional[Tuple[int]]: + """Returns the version of the ISF file producer""" + version = self._json_data.get("version", None) + if not version: + return None + if all([x in "0123456789." for x in version]): + return tuple([int(x) for x in version.split(".")]) + else: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Metadata version contains unexpected characters: '{version}'", + ) + + @property + def datetime(self) -> Optional[datetime.datetime]: + """Returns a timestamp for when the file was produced""" + if "datetime" not in self._json_data: + return None + try: + timestamp = datetime.datetime.strptime( + self._json_data["datetime"], "YYYY-MM-DD" + ) + except (TypeError, ValueError): + vollog.debug("Invalid timestamp in producer information of symbol table") + return None + return timestamp class WindowsMetadata(interfaces.symbols.MetadataInterface): diff --git a/volatility3/schemas/schema-6.3.0.json b/volatility3/schemas/schema-6.3.0.json new file mode 100644 index 000000000..2cd8ebbda --- /dev/null +++ b/volatility3/schemas/schema-6.3.0.json @@ -0,0 +1,503 @@ +{ + "$schema": "http://json-schema.org/schema#", + "id": "http://volatilityfoundation.org/intermediate-format/schema", + "title": "Symbol Container", + "type": "object", + "definitions": { + "metadata_producer": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string", + "pattern": "^[0-9]+.[0-9]+.[0-9]+$" + }, + "datetime": { + "type": "string", + "format": "date-time" + } + }, + "required":[ + "name", + "version" + ] + }, + "metadata_windows_pe": { + "type": "object", + "properties": { + "major": { + "type": "integer" + }, + "minor": { + "type": "integer" + }, + "revision": { + "type": "integer" + }, + "build": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "major", + "minor", + "revision" + ] + }, + "metadata_windows_pdb": { + "type": "object", + "properties": { + "GUID": { + "type": "string" + }, + "age": { + "type": "integer" + }, + "database": { + "type": "string" + }, + "machine_type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "GUID", + "age", + "database", + "machine_type" + ] + }, + "metadata_windows": { + "type": "object", + "properties": { + "pe": { + "$ref": "#/definitions/metadata_windows_pe" + }, + "pdb": { + "$ref": "#/definitions/metadata_windows_pdb" + } + }, + "additionalProperties": false + }, + "metadata_nix": { + "type": "object", + "properties": { + "symbols": { + "type": "array", + "items": { + "$ref": "#/definitions/metadata_nix_item" + } + }, + "types": { + "type": "array", + "items": { + "$ref": "#/definitions/metadata_nix_item" + } + } + }, + "additionalProperties": false + }, + "metadata_format": { + "type": "string", + "pattern": "^6.[0-9]+.[0-9]+$" + }, + "metadata_nix_item": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "pattern": "^(dwarf|symtab|system-map)$" + }, + "name": { + "type": "string" + }, + "hash_type": { + "type": "string", + "pattern": "^(sha256)$" + }, + "hash_value": { + "type": "string", + "pattern": "^[a-fA-F0-9]+$" + } + }, + "additionalProperties": false + }, + "element_metadata": { + "type": "object", + "oneOf": [ + { + "properties": { + "format": { + "$ref": "#/definitions/metadata_format" + }, + "producer": { + "$ref": "#/definitions/metadata_producer" + } + }, + "required": [ + "format" + ], + "additionalProperties": false + }, + { + "properties": { + "format": { + "$ref": "#/definitions/metadata_format" + }, + "producer": { + "$ref": "#/definitions/metadata_producer" + }, + "windows": { + "$ref": "#/definitions/metadata_windows" + } + }, + "required": [ + "format", + "windows" + ], + "additionalProperties": false + }, + { + "properties": { + "format": { + "$ref": "#/definitions/metadata_format" + }, + "producer": { + "$ref": "#/definitions/metadata_producer" + }, + "linux": { + "$ref": "#/definitions/metadata_nix" + } + }, + "required": [ + "format", + "linux" + ], + "additionalProperties": false + }, + { + "properties": { + "format": { + "$ref": "#/definitions/metadata_format" + }, + "producer": { + "$ref": "#/definitions/metadata_producer" + }, + "mac": { + "$ref": "#/definitions/metadata_nix" + } + }, + "required": [ + "format", + "mac" + ], + "additionalProperties": false + } + ] + }, + "element_enum": { + "properties": { + "size": { + "type": "integer" + }, + "base": { + "type": "string" + }, + "constants": { + "type": "object", + "additionalProperties": { + "type": "integer" + } + } + }, + "required": [ + "size", + "base", + "constants" + ], + "additionalProperties": false + }, + "element_symbol": { + "properties": { + "address": { + "type": "number" + }, + "linkage_name": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/type_descriptor" + }, + "constant_data": { + "type": "string", + "media": { + "binaryEncoding": "base64", + "readOnly": true + } + } + }, + "required": [ + "address" + ], + "additionalProperties": false + }, + "element_base_type": { + "properties": { + "size": { + "type": "integer" + }, + "signed": { + "type": "boolean" + }, + "kind": { + "type": "string", + "pattern": "^(void|int|float|char|bool)$" + }, + "endian": { + "type": "string", + "pattern": "^(little|big)$" + } + }, + "required": [ + "size", + "kind", + "signed", + "endian" + ], + "additionalProperties": false + }, + "element_user_type": { + "properties": { + "kind": { + "type": "string", + "pattern": "^(struct|union|class)$" + }, + "size": { + "type": "integer" + }, + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/field" + } + } + }, + "required": [ + "kind", + "size", + "fields" + ], + "additionalProperties": false + }, + "field": { + "properties": { + "type": { + "$ref": "#/definitions/type_descriptor" + }, + "offset": { + "type": "integer" + }, + "anonymous": { + "type": "boolean" + } + }, + "required": [ + "type", + "offset" + ], + "additionalProperties": false + }, + "type_descriptor": { + "oneOf": [ + { + "$ref": "#/definitions/type_pointer" + }, + { + "$ref": "#/definitions/type_base" + }, + { + "$ref": "#/definitions/type_array" + }, + { + "$ref": "#/definitions/type_struct" + }, + { + "$ref": "#/definitions/type_enum" + }, + { + "$ref": "#/definitions/type_function" + }, + { + "$ref": "#/definitions/type_bitfield" + } + ] + }, + "type_pointer": { + "properties": { + "kind": { + "type": "string", + "pattern": "^pointer$" + }, + "base": { + "type": "string" + }, + "subtype": { + "$ref": "#/definitions/type_descriptor" + } + }, + "required": [ + "kind", + "subtype" + ], + "additionalProperties": false + }, + "type_base": { + "properties": { + "kind": { + "type": "string", + "pattern": "^base$" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "additionalProperties": false + }, + "type_array": { + "properties": { + "kind": { + "type": "string", + "pattern": "^array$" + }, + "subtype": { + "$ref": "#/definitions/type_descriptor" + }, + "count": { + "type": "integer" + } + }, + "required": [ + "kind", + "subtype", + "count" + ], + "additionalProperties": false + }, + "type_struct": { + "properties": { + "kind": { + "type": "string", + "pattern": "^(struct|class|union)$" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "additionalProperties": false + }, + "type_enum": { + "properties": { + "kind": { + "type": "string", + "pattern": "^enum$" + }, + "name": { + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "additionalProperties": false + }, + "type_function": { + "properties": { + "kind": { + "type": "string", + "pattern": "^function$" + } + }, + "required": [ + "kind" + ], + "additionalProperties": false + }, + "type_bitfield": { + "properties": { + "kind": { + "type": "string", + "pattern": "^bitfield$" + }, + "bit_position": { + "type": "integer" + }, + "bit_length": { + "type": "integer" + }, + "type": { + "oneOf": [ + { + "$ref": "#/definitions/type_base" + }, + { + "$ref": "#/definitions/type_enum" + } + ] + } + }, + "required": [ + "kind", + "bit_position", + "bit_length", + "type" + ], + "additionalProperties": false + } + }, + "properties": { + "metadata": { + "$ref": "#/definitions/element_metadata" + }, + "base_types": { + "additionalProperties": { + "$ref": "#/definitions/element_base_type" + } + }, + "user_types": { + "additionalProperties": { + "$ref": "#/definitions/element_user_type" + } + }, + "enums": { + "additionalProperties": { + "$ref": "#/definitions/element_enum" + } + }, + "symbols": { + "additionalProperties": { + "$ref": "#/definitions/element_symbol" + } + } + }, + "required": [ + "metadata", + "base_types", + "user_types", + "enums", + "symbols" + ], + "additionalProperties": false +} From 7c8f4ca4ac5c23da3afa1d0ec6404c3fada69a27 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 14 Jan 2024 22:44:29 +0000 Subject: [PATCH 0317/2186] Schemas: As of 6.3.0 we require a producer metadata, not just format --- volatility3/schemas/schema-6.3.0.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/schemas/schema-6.3.0.json b/volatility3/schemas/schema-6.3.0.json index 2cd8ebbda..ba6e970bb 100644 --- a/volatility3/schemas/schema-6.3.0.json +++ b/volatility3/schemas/schema-6.3.0.json @@ -139,7 +139,8 @@ } }, "required": [ - "format" + "format", + "producer" ], "additionalProperties": false }, @@ -157,6 +158,7 @@ }, "required": [ "format", + "producer", "windows" ], "additionalProperties": false @@ -175,6 +177,7 @@ }, "required": [ "format", + "producer", "linux" ], "additionalProperties": false @@ -193,6 +196,7 @@ }, "required": [ "format", + "producer", "mac" ], "additionalProperties": false From 269058021dc171c7b46a6a2cb20d78d646b9f8fd Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 17 Jan 2024 20:34:39 +0000 Subject: [PATCH 0318/2186] Plugins: Fix up kmsg code issues --- volatility3/framework/plugins/linux/kmsg.py | 1 - volatility3/framework/symbols/metadata.py | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index d79248256..dd707a7ff 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -15,7 +15,6 @@ from volatility3.framework import ( renderers, ) from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility vollog = logging.getLogger(__name__) diff --git a/volatility3/framework/symbols/metadata.py b/volatility3/framework/symbols/metadata.py index f765e43c9..149829371 100644 --- a/volatility3/framework/symbols/metadata.py +++ b/volatility3/framework/symbols/metadata.py @@ -26,11 +26,11 @@ class ProducerMetadata(interfaces.symbols.MetadataInterface): return None if all([x in "0123456789." for x in version]): return tuple([int(x) for x in version.split(".")]) - else: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Metadata version contains unexpected characters: '{version}'", - ) + vollog.log( + constants.LOGLEVEL_VVVV, + f"Metadata version contains unexpected characters: '{version}'", + ) + return None @property def datetime(self) -> Optional[datetime.datetime]: From 614d4d6f2b9eac50992c04cd08e7389be19ede99 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 17 Jan 2024 20:35:54 +0000 Subject: [PATCH 0319/2186] Layers: Fix cloudstorage unnecessary import --- volatility3/framework/layers/cloudstorage.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/layers/cloudstorage.py b/volatility3/framework/layers/cloudstorage.py index 3f88ef34f..97ed54231 100644 --- a/volatility3/framework/layers/cloudstorage.py +++ b/volatility3/framework/layers/cloudstorage.py @@ -20,7 +20,6 @@ try: except ImportError: HAS_GCSFS = False -from volatility3.framework import exceptions from volatility3.framework.layers import resources vollog = logging.getLogger(__file__) From 01ffcd9634af3d6ef90c130f1dfd1a8910554d4d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 17 Jan 2024 20:37:26 +0000 Subject: [PATCH 0320/2186] Core: Fixing None equality test in MapleTree implementation --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d8a2867cc..d73d0cfb9 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -362,7 +362,7 @@ class maple_tree(objects.StructType): # None. If however you wanted to parse from a node, but ignore some parts of the tree below it then # this could be populated with the addresses of the nodes you wish to ignore. - if seen == None: + if seen is None: seen = set() # protect against unlikely loop From 4b86b9ea89b5610c581a574045309b93ea8f3ef5 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 17 Jan 2024 20:40:27 +0000 Subject: [PATCH 0321/2186] Plugins: Remove unnecessary variable from windows.mftscan --- volatility3/framework/plugins/windows/mftscan.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 7e4e1ca18..4298b4e4e 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -53,7 +53,6 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # get each of the individual Field Sets mft_object = symbol_table + constants.BANG + "MFT_ENTRY" attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" - header_object = symbol_table + constants.BANG + "ATTR_HEADER" si_object = symbol_table + constants.BANG + "STANDARD_INFORMATION_ENTRY" fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" From 4e89040dadfacac01ba0c0a3727969a7b0fb0047 Mon Sep 17 00:00:00 2001 From: hsarkey Date: Sun, 14 Jan 2024 13:20:56 -0500 Subject: [PATCH 0322/2186] Updated changes to the windows.malfind plugin. Eliminated --refined as a command line option and instead added an additional column called "Notes" to provide info on common headers. --- .../framework/plugins/windows/malfind.py | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 1c73fdf1c..a14f8889d 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -46,12 +46,6 @@ class Malfind(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) ), - requirements.BooleanRequirement( - name="refined", - description="Refine the output. Only show regions with an MZ header or that start with well known opcode combinations (i.e. PUSH EBP). WARNING: This can cause you to overlook regions with wiped headers or shell code blocks starting with NOP sleds, etc.. However, it will in general result in less noisy output.", - default=False, - optional=True, - ), ] @classmethod @@ -144,9 +138,6 @@ class Malfind(interfaces.plugins.PluginInterface): yield vad, data def _generator(self, procs): - # set refined criteria - refined_criteria = [b"MZ", b"\x55\x8B", b"\x55\x48", b"\x55\x89"] - # determine if we're on a 32 or 64 bit kernel kernel = self.context.modules[self.config["kernel"]] @@ -155,14 +146,21 @@ class Malfind(interfaces.plugins.PluginInterface): ) for proc in procs: + # by default, "Notes" column will be set to none + notes = "None" process_name = utility.array_to_string(proc.ImageFileName) for vad, data in self.list_injections( self.context, kernel.layer_name, kernel.symbol_table_name, proc ): - # check if refined option was passed - if self.config["refined"] and data[0:2] not in refined_criteria: - continue + # Check for unique headers and update "Notes" column if criteria is met + match data[0:2]: + case b"MZ" | b"\x55\x8B": + notes = "MZ header" + case b"\x55\x8B": + notes = "PE header" + case b"\x55\x48" | b"\x55\x89": + notes = "Function prologue" # if we're on a 64 bit kernel, we may still need 32 bit disasm due to wow64 if is_32bit_arch or proc.get_is_wow64(): @@ -209,6 +207,7 @@ class Malfind(interfaces.plugins.PluginInterface): vad.get_commit_charge(), vad.get_private_memory(), file_output, + notes, format_hints.HexBytes(data), disasm, ), @@ -229,6 +228,7 @@ class Malfind(interfaces.plugins.PluginInterface): ("CommitCharge", int), ("PrivateMemory", int), ("File output", str), + ("Notes", str), ("Hexdump", format_hints.HexBytes), ("Disasm", interfaces.renderers.Disassembly), ], From e6e138f12d06509da829008867392bc2346f18f9 Mon Sep 17 00:00:00 2001 From: hsarkey Date: Wed, 17 Jan 2024 17:24:26 -0500 Subject: [PATCH 0323/2186] Updated windows.malfind to have a "Notes" column which will indicate if a process meets a "refined criteria", meaning it has a common header type (MZ, PE, or a function prologue). --- volatility3/framework/plugins/windows/malfind.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index a14f8889d..e5a842611 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -140,6 +140,9 @@ class Malfind(interfaces.plugins.PluginInterface): def _generator(self, procs): # determine if we're on a 32 or 64 bit kernel kernel = self.context.modules[self.config["kernel"]] + + # set refined criteria to know when to add to "Notes" column + refined_criteria = [b"MZ", b"\x55\x8B", b"\x55\x48", b"\x55\x89"] is_32bit_arch = not symbols.symbol_table_is_64bit( self.context, kernel.symbol_table_name @@ -154,12 +157,12 @@ class Malfind(interfaces.plugins.PluginInterface): self.context, kernel.layer_name, kernel.symbol_table_name, proc ): # Check for unique headers and update "Notes" column if criteria is met - match data[0:2]: - case b"MZ" | b"\x55\x8B": + if data[0:2] in refined_criteria: + if data[0:2] == b"MZ": notes = "MZ header" - case b"\x55\x8B": + elif data[0:2] == b"\x55\x8B": notes = "PE header" - case b"\x55\x48" | b"\x55\x89": + else: notes = "Function prologue" # if we're on a 64 bit kernel, we may still need 32 bit disasm due to wow64 From ef36cb5a6c6a30f0bc986cc275c83a734b9d535b Mon Sep 17 00:00:00 2001 From: hsarkey Date: Wed, 17 Jan 2024 17:51:27 -0500 Subject: [PATCH 0324/2186] Updated windows.malfind to have a "Notes" column to indicate if a process meets "refined" criteria, which includes common headers like MZ,PE or function prologues. Fixed black formatting issue. --- volatility3/framework/plugins/windows/malfind.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index e5a842611..284144077 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -140,7 +140,7 @@ class Malfind(interfaces.plugins.PluginInterface): def _generator(self, procs): # determine if we're on a 32 or 64 bit kernel kernel = self.context.modules[self.config["kernel"]] - + # set refined criteria to know when to add to "Notes" column refined_criteria = [b"MZ", b"\x55\x8B", b"\x55\x48", b"\x55\x89"] @@ -150,7 +150,7 @@ class Malfind(interfaces.plugins.PluginInterface): for proc in procs: # by default, "Notes" column will be set to none - notes = "None" + notes = "None" process_name = utility.array_to_string(proc.ImageFileName) for vad, data in self.list_injections( From a50ebb6014ff11ea165454e0a08b967d01cce9e8 Mon Sep 17 00:00:00 2001 From: Calvin Kusek Date: Tue, 2 Jan 2024 12:00:41 -0500 Subject: [PATCH 0325/2186] Windows: Display additional process info for windows.pstree --- .../framework/plugins/windows/pstree.py | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/pstree.py b/volatility3/framework/plugins/windows/pstree.py index a39fe7485..2be96277c 100644 --- a/volatility3/framework/plugins/windows/pstree.py +++ b/volatility3/framework/plugins/windows/pstree.py @@ -5,7 +5,7 @@ import datetime import logging from typing import Callable, Dict, Set, Tuple -from volatility3.framework import objects, interfaces, renderers +from volatility3.framework import objects, interfaces, renderers, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import pslist @@ -132,6 +132,25 @@ class PsTree(interfaces.plugins.PluginInterface): proc.get_exit_time(), ) + try: + audit = proc.SeAuditProcessCreationInfo.ImageFileName.Name + # If 'audit' is set to the empty string, display NotAvailableValue + row += (audit.get_string() or renderers.NotAvailableValue(),) + except exceptions.InvalidAddressException: + row += (renderers.NotAvailableValue(),) + + try: + process_params = proc.get_peb().ProcessParameters + row += ( + process_params.CommandLine.get_string(), + process_params.ImagePathName.get_string(), + ) + except exceptions.InvalidAddressException: + row += ( + renderers.NotAvailableValue(), + renderers.NotAvailableValue(), + ) + yield (self._levels[pid] - 1, row) for child_pid in self._children.get(pid, []): yield from yield_processes( @@ -161,6 +180,9 @@ class PsTree(interfaces.plugins.PluginInterface): ("Wow64", bool), ("CreateTime", datetime.datetime), ("ExitTime", datetime.datetime), + ("Audit", str), + ("Cmd", str), + ("Path", str), ], self._generator( filter_func=pslist.PsList.create_pid_filter( From ae5375a622c82177f6b29adfb8b0f410ecb03059 Mon Sep 17 00:00:00 2001 From: Brandon Barnacle Date: Wed, 17 Jan 2024 09:49:39 -0500 Subject: [PATCH 0326/2186] PR comment changes Change the --regex flag to --filter. Add a check so that --filter cannot be used with --physaddr or --virtaddr. Change self.config["filter"] check to check if file_re has been set. --- .../framework/plugins/windows/dumpfiles.py | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index 4aef660da..8865007d8 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -55,11 +55,11 @@ class DumpFiles(interfaces.plugins.PluginInterface): optional=True, ), requirements.StringRequirement( - name="regex", description="Dump files matching REGEX", optional=True + name="filter", description="Dump files matching regular expression FILTER", optional=True ), requirements.BooleanRequirement( name="ignore-case", - description="Ignore case in pattern match", + description="Ignore case in filter match", default=False, optional=True, ), @@ -218,11 +218,11 @@ class DumpFiles(interfaces.plugins.PluginInterface): def _generator(self, procs: List, offsets: List): kernel = self.context.modules[self.config["kernel"]] - if self.config["regex"]: - if self.config["ignore-case"]: - file_re = re.compile(self.config["regex"], re.I) - else: - file_re = re.compile(self.config["regex"]) + file_re = None + if self.config["filter"]: + flags = re.I if self.config["ignore-case"] else 0 + file_re = re.compile(self.config["filter"], flags) + if procs: # The handles plugin doesn't expose any staticmethod/classmethod, and it also requires stashing @@ -259,7 +259,7 @@ class DumpFiles(interfaces.plugins.PluginInterface): if obj_type == "File": file_obj = entry.Body.cast("_FILE_OBJECT") - if self.config["regex"]: + if file_re: name = file_obj.file_name_with_device() if isinstance(name, UnreadableValue): continue @@ -295,7 +295,7 @@ class DumpFiles(interfaces.plugins.PluginInterface): if not file_obj.is_valid(): continue - if self.config["regex"]: + if file_re: name = file_obj.file_name_with_device() if isinstance(name, UnreadableValue): continue @@ -345,6 +345,9 @@ class DumpFiles(interfaces.plugins.PluginInterface): procs = list() kernel = self.context.modules[self.config["kernel"]] + if self.config["filter"] and (self.config["virtaddr"] or self.config["physaddr"]): + raise ValueError("Cannot use filter flag with an address flag") + if self.config.get("virtaddr", None) is not None: offsets.append((self.config["virtaddr"], True)) elif self.config.get("physaddr", None) is not None: From 6e0ffc9d624fa9f7845fd5b8510a977b619d52d3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 27 Jan 2024 17:39:34 -0300 Subject: [PATCH 0327/2186] Plugin renamed. Added net iface status and other improvements from @eve #1029 * IP address conversion via renderers.coversion.* * Use MAC address internal size instead of hardcoded. * Read NET_DEVICE_FLAGS from enumeration --- .../framework/constants/linux/__init__.py | 36 +++++++- .../plugins/linux/{ifconfig.py => ip.py} | 12 +-- .../symbols/linux/extensions/__init__.py | 83 ++++++++++++------- 3 files changed, 94 insertions(+), 37 deletions(-) rename volatility3/framework/plugins/linux/{ifconfig.py => ip.py} (88%) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index aa0692365..21e0b47f7 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -291,5 +291,37 @@ IFA_HOST = IPV6_ADDR_LOOPBACK IFA_LINK = IPV6_ADDR_LINKLOCAL IFA_SITE = IPV6_ADDR_SITELOCAL -# Promiscous mode -IFF_PROMISC = 0x100 +# Only for kernels < 3.15 when the net_device_flags enum didn't exist +# ref include/uapi/linux/if.h +NET_DEVICE_FLAGS = { + "IFF_UP": 0x1, + "IFF_BROADCAST": 0x2, + "IFF_DEBUG": 0x4, + "IFF_LOOPBACK": 0x8, + "IFF_POINTOPOINT": 0x10, + "IFF_NOTRAILERS": 0x20, + "IFF_RUNNING": 0x40, + "IFF_NOARP": 0x80, + "IFF_PROMISC": 0x100, + "IFF_ALLMULTI": 0x200, + "IFF_MASTER": 0x400, + "IFF_SLAVE": 0x800, + "IFF_MULTICAST": 0x1000, + "IFF_PORTSEL": 0x2000, + "IFF_AUTOMEDIA": 0x4000, + "IFF_DYNAMIC": 0x8000, + "IFF_LOWER_UP": 0x10000, + "IFF_DORMANT": 0x20000, + "IFF_ECHO": 0x40000, +} + +# RFC 2863 operational status. Kernels >= 2.6.17. See IF_OPER_* in include/uapi/linux/if.h +IF_OPER_STATES = ( + "UNKNOWN", + "NOTPRESENT", + "DOWN", + "LOWERLAYERDOWN", + "TESTING", + "DORMANT", + "UP", +) diff --git a/volatility3/framework/plugins/linux/ifconfig.py b/volatility3/framework/plugins/linux/ip.py similarity index 88% rename from volatility3/framework/plugins/linux/ifconfig.py rename to volatility3/framework/plugins/linux/ip.py index 39f4208bf..19393a853 100644 --- a/volatility3/framework/plugins/linux/ifconfig.py +++ b/volatility3/framework/plugins/linux/ip.py @@ -9,7 +9,7 @@ from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility -class Ifconfig(plugins.PluginInterface): +class Addr(plugins.PluginInterface): """Lists network interface information for all devices""" _required_framework_version = (2, 0, 0) @@ -29,6 +29,7 @@ class Ifconfig(plugins.PluginInterface): def _gather_net_dev_info(self, net_dev): mac_addr = net_dev.get_mac_address() promisc = net_dev.promisc + operational_state = net_dev.get_operational_state() iface_name = utility.array_to_string(net_dev.name) iface_ifindex = net_dev.ifindex try: @@ -42,15 +43,15 @@ class Ifconfig(plugins.PluginInterface): prefix_len = in_ifaddr.get_prefix_len() scope_type = in_ifaddr.get_scope_type() ip_addr = in_ifaddr.get_address() - yield net_ns_id, iface_ifindex, iface_name, mac_addr, promisc, ip_addr, prefix_len, scope_type + yield net_ns_id, iface_ifindex, iface_name, mac_addr, promisc, ip_addr, prefix_len, scope_type, operational_state # Interface IPv6 Addresses - ip6_ptr = net_dev.ip6_ptr.dereference().cast("inet6_dev") - for inet6_ifaddr in ip6_ptr.get_addresses(): + inet6_dev = net_dev.ip6_ptr.dereference().cast("inet6_dev") + for inet6_ifaddr in inet6_dev.get_addresses(): prefix_len = inet6_ifaddr.get_prefix_len() scope_type = inet6_ifaddr.get_scope_type() ip6_addr = inet6_ifaddr.get_address() - yield net_ns_id, iface_ifindex, iface_name, mac_addr, promisc, ip6_addr, prefix_len, scope_type + yield net_ns_id, iface_ifindex, iface_name, mac_addr, promisc, ip6_addr, prefix_len, scope_type, operational_state def _generator(self): vmlinux = self.context.modules[self.config["kernel"]] @@ -75,6 +76,7 @@ class Ifconfig(plugins.PluginInterface): ("IP", str), ("Prefix", int), ("Scope Type", str), + ("State", str), ] return renderers.TreeGrid(headers, self._generator()) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 085d91bff..3a088a959 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -4,9 +4,8 @@ import collections.abc import logging -import struct import socket as socket_module -from typing import Generator, Iterable, Iterator, Optional, Tuple, List +from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Dict from volatility3.framework import constants from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY @@ -14,8 +13,10 @@ from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATES from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES -from volatility3.framework.constants.linux import CAPABILITIES, IFF_PROMISC +from volatility3.framework.constants.linux import CAPABILITIES, NET_DEVICE_FLAGS from volatility3.framework.constants.linux import IFA_HOST, IFA_LINK, IFA_SITE +from volatility3.framework.constants.linux import IF_OPER_STATES +from volatility3.framework.renderers import conversion from volatility3.framework import exceptions, objects, interfaces, symbols from volatility3.framework.layers import linear from volatility3.framework.objects import utility @@ -1236,24 +1237,25 @@ class net(objects.StructType): class net_device(objects.StructType): - @staticmethod - def _format_as_mac_address(hwaddr): - return ":".join([f"{x:02x}" for x in hwaddr[:6]]) + def _format_as_mac_address(self, hwaddr): + return ":".join([f"{x:02x}" for x in hwaddr[: self.addr_len]]) - def get_mac_address(self): + def get_mac_address(self) -> str: """Get the MAC address of this network interface. Returns: str: the MAC address of this network interface. """ if self.has_member("perm_addr"): + null_mac_addr_bytes = b"\x00" * self.addr_len + null_mac_addr = self._format_as_mac_address(null_mac_addr_bytes) mac_addr = self._format_as_mac_address(self.perm_addr) - if mac_addr != "00:00:00:00:00:00": + if mac_addr != null_mac_addr: return mac_addr parent_layer = self._context.layers[self.vol.layer_name] try: - hwaddr = parent_layer.read(self.dev_addr, 6) + hwaddr = parent_layer.read(self.dev_addr, self.addr_len, pad=True) except exceptions.InvalidAddressException: vollog.debug( f"Unable to read network inteface mac address from {self.dev_addr:#x}" @@ -1262,6 +1264,31 @@ class net_device(objects.StructType): return self._format_as_mac_address(hwaddr) + def _get_flag_choices(self) -> Dict: + """Return the net_deivce flags as a list of strings""" + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + try: + # kernels >= 3.15 + net_device_flags_enum = vmlinux.get_enumeration("net_device_flags") + choices = net_device_flags_enum.choices + except exceptions.SymbolError: + # kernels < 3.15 + choices = NET_DEVICE_FLAGS + + return choices + + def _get_net_device_flag_value(self, name): + """Return the net_deivce flag value based on the flag name""" + return self._get_flag_choices()[name] + + def get_flag_names(self) -> List[str]: + """Return the net_deivce flags as a list of strings + + Returns: + List[str]: A list of flag names + """ + return list(self._get_flag_choices()) + @property def promisc(self): """Return if this network interface is in promiscuous mode. @@ -1269,9 +1296,9 @@ class net_device(objects.StructType): Returns: bool: True if this network interface is in promiscuous mode. Otherwise, False """ - return self.flags & IFF_PROMISC == IFF_PROMISC + return self.flags & self._get_net_device_flag_value("IFF_PROMISC") != 0 - def get_net_namespace_id(self): + def get_net_namespace_id(self) -> int: """Return the network namespace id for this network interface. Returns: @@ -1288,6 +1315,17 @@ class net_device(objects.StructType): return net_ns_id + def get_operational_state(self) -> str: + """Return the netwok device oprational state (RFC 2863) string + + Returns: + str: A string with the operational state + """ + if self.operstate >= len(IF_OPER_STATES): + vollog.warning(f"Invalid net_device operational state '{self.operstate}'") + return "INVALID" + + return IF_OPER_STATES[self.operstate] class in_device(objects.StructType): def get_addresses(self): @@ -1320,7 +1358,7 @@ class inet6_dev(objects.StructType): return symbol_space = self._context.symbol_space - table_name = self.vol.type_name.split(constants.BANG)[0] + table_name = self.get_symbol_table_name() inet6_ifaddr_symname = table_name + constants.BANG + "inet6_ifaddr" if not symbol_space.has_type(inet6_ifaddr_symname) or not symbol_space.get_type( inet6_ifaddr_symname @@ -1351,7 +1389,7 @@ class in_ifaddr(objects.StructType): Returns: str: the IPv4 scope type. """ - table_name = self.vol.type_name.split(constants.BANG)[0] + table_name = self.get_symbol_table_name() rt_scope_enum = self._context.symbol_space.get_enumeration( table_name + constants.BANG + "rt_scope_t" ) @@ -1368,8 +1406,7 @@ class in_ifaddr(objects.StructType): Returns: str: the IPv4 address """ - ipv4_bytes = struct.pack(" Date: Sat, 27 Jan 2024 17:48:09 -0300 Subject: [PATCH 0328/2186] Minor fixes --- volatility3/framework/symbols/linux/extensions/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3a088a959..a7dc28bea 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -365,7 +365,7 @@ class maple_tree(objects.StructType): # None. If however you wanted to parse from a node, but ignore some parts of the tree below it then # this could be populated with the addresses of the nodes you wish to ignore. - if seen == None: + if seen is None: seen = set() # protect against unlikely loop @@ -1265,7 +1265,7 @@ class net_device(objects.StructType): return self._format_as_mac_address(hwaddr) def _get_flag_choices(self) -> Dict: - """Return the net_deivce flags as a list of strings""" + """Return the net_device flags as a list of strings""" vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) try: # kernels >= 3.15 @@ -1327,6 +1327,7 @@ class net_device(objects.StructType): return IF_OPER_STATES[self.operstate] + class in_device(objects.StructType): def get_addresses(self): """Yield the IPv4 ifaddr addresses From 620b9b41838119153dd22672d41c573962734438 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 27 Jan 2024 17:52:26 -0300 Subject: [PATCH 0329/2186] Fix: Explicit returns mixed with implicit (fall through) returns --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index a7dc28bea..915d92cd1 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1260,7 +1260,7 @@ class net_device(objects.StructType): vollog.debug( f"Unable to read network inteface mac address from {self.dev_addr:#x}" ) - return + return None return self._format_as_mac_address(hwaddr) From 4dc6f637b055f912bafaa9f6079759539277d60f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 28 Jan 2024 23:50:45 +0000 Subject: [PATCH 0330/2186] Core: Apply black 24.1.0 to the whole codebase --- volatility3/cli/text_renderer.py | 8 +++--- volatility3/framework/__init__.py | 6 ++--- volatility3/framework/automagic/mac.py | 6 ++--- volatility3/framework/automagic/module.py | 6 ++--- .../framework/automagic/symbol_finder.py | 12 ++++----- volatility3/framework/automagic/windows.py | 20 +++++++------- .../framework/configuration/requirements.py | 6 ++--- volatility3/framework/layers/avml.py | 6 ++--- volatility3/framework/layers/elf.py | 6 ++--- volatility3/framework/layers/intel.py | 6 ++--- volatility3/framework/layers/lime.py | 6 ++--- volatility3/framework/layers/qemu.py | 6 ++--- volatility3/framework/layers/xen.py | 6 ++--- volatility3/framework/objects/__init__.py | 6 ++--- volatility3/framework/plugins/mac/pslist.py | 4 +-- .../framework/plugins/windows/crashinfo.py | 6 ++--- .../framework/plugins/windows/mftscan.py | 1 - .../framework/plugins/windows/netscan.py | 10 ++++--- .../plugins/windows/registry/printkey.py | 6 ++--- volatility3/framework/renderers/conversion.py | 6 ++--- volatility3/framework/symbols/__init__.py | 26 +++++++++---------- .../symbols/windows/extensions/__init__.py | 6 ++--- volatility3/plugins/windows/statistics.py | 10 +++---- 23 files changed, 88 insertions(+), 93 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index ffb8d516b..6e58ee68d 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -389,9 +389,11 @@ class JsonRenderer(CLIRenderer): interfaces.renderers.Disassembly: quoted_optional(display_disassembly), format_hints.MultiTypeData: quoted_optional(multitypedata_as_text), bytes: optional(lambda x: " ".join([f"{b:02x}" for b in x])), - datetime.datetime: lambda x: x.isoformat() - if not isinstance(x, interfaces.renderers.BaseAbsentValue) - else None, + datetime.datetime: lambda x: ( + x.isoformat() + if not isinstance(x, interfaces.renderers.BaseAbsentValue) + else None + ), "default": lambda x: x, } diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 9c17846a8..1565b2267 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -206,9 +206,9 @@ def _zipwalk(path: str): if not file.is_dir(): dirlist = zip_results.get(os.path.dirname(file.filename), []) dirlist.append(os.path.basename(file.filename)) - zip_results[ - os.path.join(path, os.path.dirname(file.filename)) - ] = dirlist + zip_results[os.path.join(path, os.path.dirname(file.filename))] = ( + dirlist + ) for value in zip_results: yield value, zip_results[value] diff --git a/volatility3/framework/automagic/mac.py b/volatility3/framework/automagic/mac.py index aa75fbc3d..e51753139 100644 --- a/volatility3/framework/automagic/mac.py +++ b/volatility3/framework/automagic/mac.py @@ -138,9 +138,9 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): config_path = join("automagic", "MacIntelHelper", new_layer_name) context.config[join(config_path, "memory_layer")] = layer_name context.config[join(config_path, "page_map_offset")] = dtb - context.config[ - join(config_path, MacSymbolFinder.banner_config_key) - ] = str(banner, "latin-1") + context.config[join(config_path, MacSymbolFinder.banner_config_key)] = ( + str(banner, "latin-1") + ) new_layer = intel.Intel32e( context, diff --git a/volatility3/framework/automagic/module.py b/volatility3/framework/automagic/module.py index ee56a040c..ff13db905 100644 --- a/volatility3/framework/automagic/module.py +++ b/volatility3/framework/automagic/module.py @@ -34,9 +34,9 @@ class KernelModule(interfaces.automagic.AutomagicInterface): return None # The requirement is unfulfilled and is a ModuleRequirement - context.config[ - interfaces.configuration.path_join(new_config_path, "class") - ] = "volatility3.framework.contexts.Module" + context.config[interfaces.configuration.path_join(new_config_path, "class")] = ( + "volatility3.framework.contexts.Module" + ) for req in requirement.requirements: if ( diff --git a/volatility3/framework/automagic/symbol_finder.py b/volatility3/framework/automagic/symbol_finder.py index bf1c8ff16..21e594549 100644 --- a/volatility3/framework/automagic/symbol_finder.py +++ b/volatility3/framework/automagic/symbol_finder.py @@ -150,12 +150,12 @@ class SymbolFinder(interfaces.automagic.AutomagicInterface): clazz = self.symbol_class # Set the discovered options path_join = interfaces.configuration.path_join - context.config[ - path_join(config_path, requirement.name, "class") - ] = clazz - context.config[ - path_join(config_path, requirement.name, "isf_url") - ] = isf_path + context.config[path_join(config_path, requirement.name, "class")] = ( + clazz + ) + context.config[path_join(config_path, requirement.name, "isf_url")] = ( + isf_path + ) context.config[ path_join(config_path, requirement.name, "symbol_mask") ] = layer.address_mask diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index a8530829b..52296f5ad 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -402,19 +402,19 @@ class WinSwapLayers(interfaces.automagic.AutomagicInterface): if swap_location: context.config[current_layer_path] = current_layer_name try: - context.config[ - layer_loc_path - ] = requirements.URIRequirement.location_from_file( - swap_location + context.config[layer_loc_path] = ( + requirements.URIRequirement.location_from_file( + swap_location + ) ) except ValueError: vollog.warning( f"Volatility swap_location {swap_location} could not be validated - swap layer disabled" ) continue - context.config[ - layer_class_path - ] = "volatility3.framework.layers.physical.FileLayer" + context.config[layer_class_path] = ( + "volatility3.framework.layers.physical.FileLayer" + ) # Add the requirement new_req = requirements.TranslationLayerRequirement( @@ -424,9 +424,9 @@ class WinSwapLayers(interfaces.automagic.AutomagicInterface): ) swap_req.add_requirement(new_req) - context.config[ - path_join(swap_sub_config, "number_of_elements") - ] = counter + context.config[path_join(swap_sub_config, "number_of_elements")] = ( + counter + ) context.config[swap_sub_config] = True swap_req.construct(context, swap_config) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index abdffdbe4..1c0622574 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -550,9 +550,9 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): config_path = interfaces.configuration.path_join(config_path, self.name) if not self.matches_required(self._version, self._component.version): return {config_path: self} - context.config[ - interfaces.configuration.path_join(config_path, self.name) - ] = True + context.config[interfaces.configuration.path_join(config_path, self.name)] = ( + True + ) return {} @classmethod diff --git a/volatility3/framework/layers/avml.py b/volatility3/framework/layers/avml.py index c825464cc..2e5572192 100644 --- a/volatility3/framework/layers/avml.py +++ b/volatility3/framework/layers/avml.py @@ -224,7 +224,7 @@ class AVMLStacker(interfaces.automagic.StackerLayerInterface): except exceptions.LayerException: return None new_name = context.layers.free_layer_name("AVMLLayer") - context.config[ - interfaces.configuration.path_join(new_name, "base_layer") - ] = layer_name + context.config[interfaces.configuration.path_join(new_name, "base_layer")] = ( + layer_name + ) return AVMLLayer(context, new_name, new_name) diff --git a/volatility3/framework/layers/elf.py b/volatility3/framework/layers/elf.py index a10d36592..b2fd6d4d1 100644 --- a/volatility3/framework/layers/elf.py +++ b/volatility3/framework/layers/elf.py @@ -115,9 +115,9 @@ class Elf64Stacker(interfaces.automagic.StackerLayerInterface): vollog.log(constants.LOGLEVEL_VVVV, f"Exception: {excp}") return None new_name = context.layers.free_layer_name("Elf64Layer") - context.config[ - interfaces.configuration.path_join(new_name, "base_layer") - ] = layer_name + context.config[interfaces.configuration.path_join(new_name, "base_layer")] = ( + layer_name + ) try: return Elf64Layer(context, new_name, new_name) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 7d3b86a12..ae477854d 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -277,9 +277,9 @@ class Intel(linear.LinearlyMappedLayer): This allows translation layers to provide maps of contiguous regions in one layer """ - stashed_offset = ( - stashed_mapped_offset - ) = stashed_size = stashed_mapped_size = stashed_map_layer = None + stashed_offset = stashed_mapped_offset = stashed_size = stashed_mapped_size = ( + stashed_map_layer + ) = None for offset, size, mapped_offset, mapped_size, map_layer in self._mapping( offset, length, ignore_errors ): diff --git a/volatility3/framework/layers/lime.py b/volatility3/framework/layers/lime.py index 28d646640..8b93932ab 100644 --- a/volatility3/framework/layers/lime.py +++ b/volatility3/framework/layers/lime.py @@ -104,7 +104,7 @@ class LimeStacker(interfaces.automagic.StackerLayerInterface): except LimeFormatException: return None new_name = context.layers.free_layer_name("LimeLayer") - context.config[ - interfaces.configuration.path_join(new_name, "base_layer") - ] = layer_name + context.config[interfaces.configuration.path_join(new_name, "base_layer")] = ( + layer_name + ) return LimeLayer(context, new_name, new_name) diff --git a/volatility3/framework/layers/qemu.py b/volatility3/framework/layers/qemu.py index 501b8655e..ff483291c 100644 --- a/volatility3/framework/layers/qemu.py +++ b/volatility3/framework/layers/qemu.py @@ -486,9 +486,9 @@ class QemuStacker(interfaces.automagic.StackerLayerInterface): except exceptions.LayerException: return None new_name = context.layers.free_layer_name("QemuSuspendLayer") - context.config[ - interfaces.configuration.path_join(new_name, "base_layer") - ] = layer_name + context.config[interfaces.configuration.path_join(new_name, "base_layer")] = ( + layer_name + ) layer = QemuSuspendLayer(context, new_name, new_name) cls.stacker_slow_warning() return layer diff --git a/volatility3/framework/layers/xen.py b/volatility3/framework/layers/xen.py index f7881a091..927b30430 100644 --- a/volatility3/framework/layers/xen.py +++ b/volatility3/framework/layers/xen.py @@ -173,8 +173,8 @@ class XenCoreDumpStacker(elf.Elf64Stacker): vollog.log(constants.LOGLEVEL_VVVV, f"Exception: {excp}") return None new_name = context.layers.free_layer_name("XenCoreDumpLayer") - context.config[ - interfaces.configuration.path_join(new_name, "base_layer") - ] = layer_name + context.config[interfaces.configuration.path_join(new_name, "base_layer")] = ( + layer_name + ) return XenCoreDumpLayer(context, new_name, new_name) diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index 831856e3d..316a30bec 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -768,12 +768,10 @@ class Array(interfaces.objects.ObjectInterface, collections.abc.Sequence): raise IndexError(f"Member not present in array template: {child}") @overload - def __getitem__(self, i: int) -> interfaces.objects.Template: - ... + def __getitem__(self, i: int) -> interfaces.objects.Template: ... @overload - def __getitem__(self, s: slice) -> List[interfaces.objects.Template]: - ... + def __getitem__(self, s: slice) -> List[interfaces.objects.Template]: ... def __getitem__(self, i): """Returns the i-th item from the array.""" diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index 88045a277..9b570f3f9 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -49,9 +49,7 @@ class PsList(interfaces.plugins.PluginInterface): ] @classmethod - def get_list_tasks( - cls, method: str - ) -> Callable[ + def get_list_tasks(cls, method: str) -> Callable[ [interfaces.context.ContextInterface, str, Callable[[int], bool]], Iterable[interfaces.objects.ObjectInterface], ]: diff --git a/volatility3/framework/plugins/windows/crashinfo.py b/volatility3/framework/plugins/windows/crashinfo.py index 4ecd85087..862eb6080 100644 --- a/volatility3/framework/plugins/windows/crashinfo.py +++ b/volatility3/framework/plugins/windows/crashinfo.py @@ -46,9 +46,9 @@ class Crashinfo(interfaces.plugins.PluginInterface): bitmap_size = format_hints.Hex(summary_header.BitmapSize) bitmap_pages = format_hints.Hex(summary_header.Pages) else: - bitmap_header_size = ( - bitmap_size - ) = bitmap_pages = renderers.NotApplicableValue() + bitmap_header_size = bitmap_size = bitmap_pages = ( + renderers.NotApplicableValue() + ) yield ( 0, diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 4298b4e4e..91a2e9152 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -175,7 +175,6 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): class ADS(interfaces.plugins.PluginInterface): - """Scans for Alternate Data Stream""" _required_framework_version = (2, 0, 0) diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index d0bbd5cbd..62ead3ab7 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -487,10 +487,12 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): if not isinstance(row_data[9], datetime.datetime): continue row_data = [ - "N/A" - if isinstance(i, renderers.UnreadableValue) - or isinstance(i, renderers.UnparsableValue) - else i + ( + "N/A" + if isinstance(i, renderers.UnreadableValue) + or isinstance(i, renderers.UnparsableValue) + else i + ) for i in row_data ] description = ( diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index e248c19bc..180f8f9d9 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -193,9 +193,9 @@ class PrintKey(interfaces.plugins.PluginInterface): vollog.debug( "Couldn't read registry value type, so data is unreadable" ) - value_data: Union[ - interfaces.renderers.BaseAbsentValue, bytes - ] = renderers.UnreadableValue() + value_data: Union[interfaces.renderers.BaseAbsentValue, bytes] = ( + renderers.UnreadableValue() + ) else: try: value_data = node.decode_data() diff --git a/volatility3/framework/renderers/conversion.py b/volatility3/framework/renderers/conversion.py index bf7da9ecb..bb18fcc8a 100644 --- a/volatility3/framework/renderers/conversion.py +++ b/volatility3/framework/renderers/conversion.py @@ -28,9 +28,9 @@ def wintime_to_datetime( def unixtime_to_datetime( unixtime: int, ) -> Union[interfaces.renderers.BaseAbsentValue, datetime.datetime]: - ret: Union[ - interfaces.renderers.BaseAbsentValue, datetime.datetime - ] = renderers.UnparsableValue() + ret: Union[interfaces.renderers.BaseAbsentValue, datetime.datetime] = ( + renderers.UnparsableValue() + ) if unixtime > 0: with contextlib.suppress(ValueError): diff --git a/volatility3/framework/symbols/__init__.py b/volatility3/framework/symbols/__init__.py index 10cf39cf1..d1e7a104d 100644 --- a/volatility3/framework/symbols/__init__.py +++ b/volatility3/framework/symbols/__init__.py @@ -35,9 +35,9 @@ class SymbolSpace(interfaces.symbols.SymbolSpaceInterface): def __init__(self) -> None: super().__init__() - self._dict: Dict[ - str, interfaces.symbols.BaseSymbolTableInterface - ] = collections.OrderedDict() + self._dict: Dict[str, interfaces.symbols.BaseSymbolTableInterface] = ( + collections.OrderedDict() + ) # Permanently cache all resolved symbols self._resolved: Dict[str, interfaces.objects.Template] = {} self._resolved_symbols: Dict[str, interfaces.objects.Template] = {} @@ -73,9 +73,9 @@ class SymbolSpace(interfaces.symbols.SymbolSpaceInterface): self, offset: int, size: int = 0, table_name: str = None ) -> Iterable[str]: """Returns all symbols that exist at a specific relative address.""" - table_list: Iterable[ - interfaces.symbols.BaseSymbolTableInterface - ] = self._dict.values() + table_list: Iterable[interfaces.symbols.BaseSymbolTableInterface] = ( + self._dict.values() + ) if table_name is not None: if table_name in self._dict: table_list = [self._dict[table_name]] @@ -179,15 +179,15 @@ class SymbolSpace(interfaces.symbols.SymbolSpaceInterface): if child.vol.type_name not in self._resolved: traverse_list.append(child.vol.type_name) try: - self._resolved[ - child.vol.type_name - ] = self._weak_resolve( - SymbolType.TYPE, child.vol.type_name + self._resolved[child.vol.type_name] = ( + self._weak_resolve( + SymbolType.TYPE, child.vol.type_name + ) ) except exceptions.SymbolError: - self._resolved[ - child.vol.type_name - ] = self.UnresolvedTemplate(child.vol.type_name) + self._resolved[child.vol.type_name] = ( + self.UnresolvedTemplate(child.vol.type_name) + ) # Stash the replacement replacements.add((traverser, child)) elif child.children: diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index d435851d7..846e5bd90 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -452,9 +452,9 @@ class FILE_OBJECT(objects.StructType, pool.ExecutiveObject): ].is_valid(self.FileName.Buffer) def file_name_with_device(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: - name: Union[ - str, interfaces.renderers.BaseAbsentValue - ] = renderers.UnreadableValue() + name: Union[str, interfaces.renderers.BaseAbsentValue] = ( + renderers.UnreadableValue() + ) # this pointer needs to be checked against native_layer_name because the object may # be instantiated from a primary (virtual) layer or a memory (physical) layer. diff --git a/volatility3/plugins/windows/statistics.py b/volatility3/plugins/windows/statistics.py index 9915312e3..7f56b75f8 100644 --- a/volatility3/plugins/windows/statistics.py +++ b/volatility3/plugins/windows/statistics.py @@ -31,13 +31,9 @@ class Statistics(plugins.PluginInterface): # Do mass mapping and determine the number of different layers and how many pages go to each one layer = self.context.layers[self.config["primary"]] - page_count = ( - swap_count - ) = ( - invalid_page_count - ) = ( - large_page_count - ) = large_swap_count = large_invalid_count = other_invalid = 0 + page_count = swap_count = invalid_page_count = large_page_count = ( + large_swap_count + ) = large_invalid_count = other_invalid = 0 if isinstance(layer, intel.Intel): page_addr = 0 From 497d291ef4393e2580052a3dfddbef10e4dc2338 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 29 Jan 2024 00:07:40 +0000 Subject: [PATCH 0331/2186] Windows: Fix black on dumpfiles --- volatility3/framework/plugins/windows/dumpfiles.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index 8865007d8..48539c752 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -55,7 +55,9 @@ class DumpFiles(interfaces.plugins.PluginInterface): optional=True, ), requirements.StringRequirement( - name="filter", description="Dump files matching regular expression FILTER", optional=True + name="filter", + description="Dump files matching regular expression FILTER", + optional=True, ), requirements.BooleanRequirement( name="ignore-case", @@ -223,7 +225,6 @@ class DumpFiles(interfaces.plugins.PluginInterface): flags = re.I if self.config["ignore-case"] else 0 file_re = re.compile(self.config["filter"], flags) - if procs: # The handles plugin doesn't expose any staticmethod/classmethod, and it also requires stashing # private variables, so we need an instance (for now, anyway). We _could_ call Handles._generator() @@ -345,7 +346,9 @@ class DumpFiles(interfaces.plugins.PluginInterface): procs = list() kernel = self.context.modules[self.config["kernel"]] - if self.config["filter"] and (self.config["virtaddr"] or self.config["physaddr"]): + if self.config["filter"] and ( + self.config["virtaddr"] or self.config["physaddr"] + ): raise ValueError("Cannot use filter flag with an address flag") if self.config.get("virtaddr", None) is not None: From 837d3b7b9fce65d5ef6543b6db9ecbad5092d4b0 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 14 Dec 2023 13:47:00 -0600 Subject: [PATCH 0332/2186] Windows: Add parsing of service binary/dll Parses the binary or dll associated with each service from the Windows SYSTEM hive and includes it in the output for each service. --- .../framework/plugins/windows/svcscan.py | 139 +++++++++++++++++- 1 file changed, 133 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 60562915e..720f745d8 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -4,20 +4,30 @@ import logging import os -from typing import List +from typing import Dict, List, NamedTuple, Union -from volatility3.framework import interfaces, renderers, constants, symbols, exceptions +from volatility3.framework import constants, exceptions, interfaces, renderers, symbols from volatility3.framework.configuration import requirements from volatility3.framework.layers import scanners from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import versions from volatility3.framework.symbols.windows.extensions import services -from volatility3.plugins.windows import poolscanner, vadyarascan, pslist +from volatility3.plugins.windows import poolscanner, pslist, vadyarascan +from volatility3.plugins.windows.registry import hivelist vollog = logging.getLogger(__name__) +ServiceBinaryInfo = NamedTuple( + "ServiceBinaryInfo", + [ + ("dll", Union[str, interfaces.renderers.BaseAbsentValue]), + ("binary", Union[str, interfaces.renderers.BaseAbsentValue]), + ], +) + + class SvcScan(interfaces.plugins.PluginInterface): """Scans for windows services.""" @@ -42,10 +52,16 @@ class SvcScan(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="vadyarascan", plugin=vadyarascan.VadYaraScan, version=(1, 0, 0) ), + requirements.PluginRequirement( + name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + ), ] @staticmethod - def get_record_tuple(service_record: interfaces.objects.ObjectInterface): + def get_record_tuple( + service_record: interfaces.objects.ObjectInterface, + binary_info: ServiceBinaryInfo, + ): return ( format_hints.Hex(service_record.vol.offset), service_record.Order, @@ -56,6 +72,8 @@ class SvcScan(interfaces.plugins.PluginInterface): service_record.get_name(), service_record.get_display(), service_record.get_binary(), + binary_info.binary, + binary_info.dll, ) @staticmethod @@ -150,6 +168,86 @@ class SvcScan(interfaces.plugins.PluginInterface): native_types=native_types, ) + def _get_service_key(self, kernel): + for hive in hivelist.HiveList.list_hives( + context=self.context, + base_config_path=self.config_path, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_string="machine\\system", + hive_offsets=None, + ): + # Get ControlSet\Services. + try: + return hive.get_key(r"CurrentControlSet\Services") + except (KeyError, exceptions.InvalidAddressException): + try: + return hive.get_key(r"ControlSet001\Services") + except (KeyError, exceptions.InvalidAddressException): + pass + + return None + + @staticmethod + def _get_service_dll( + service_key, + ) -> Union[str, interfaces.renderers.BaseAbsentValue]: + try: + param_key = next( + key + for key in service_key.get_subkeys() + if key.get_name() == "Parameters" + ) + return ( + next( + val + for val in param_key.get_values() + if val.get_name() == "ServiceDll" + ) + .decode_data() + .decode("utf-16") + .rstrip("\x00") + ) + + except UnicodeDecodeError: + return renderers.UnparsableValue() + except StopIteration: + return renderers.UnreadableValue() + + @staticmethod + def _get_service_binary( + service_key, + ) -> Union[str, interfaces.renderers.BaseAbsentValue]: + try: + return ( + next( + val + for val in service_key.get_values() + if val.get_name() == "ImagePath" + ) + .decode_data() + .decode("utf-16") + .rstrip("\x00") + ) + + except UnicodeDecodeError: + return renderers.UnparsableValue() + except StopIteration: + return renderers.UnreadableValue() + + @staticmethod + def _get_service_binary_map( + services_key: interfaces.objects.ObjectInterface, + ) -> Dict[str, ServiceBinaryInfo]: + services = services_key.get_subkeys() + return { + service_key.get_name(): ServiceBinaryInfo( + SvcScan._get_service_dll(service_key), + SvcScan._get_service_binary(service_key), + ) + for service_key in services + } + def _generator(self): kernel = self.context.modules[self.config["kernel"]] @@ -157,6 +255,15 @@ class SvcScan(interfaces.plugins.PluginInterface): self.context, kernel.symbol_table_name, self.config_path ) + # Building the dictionary ahead of time is much better for performance + # vs looking up each service's DLL individually. + services_key = self._get_service_key(kernel) + service_binary_dll_map = ( + self._get_service_binary_map(services_key) + if services_key is not None + else {} + ) + relative_tag_offset = self.context.symbol_space.get_type( service_table_name + constants.BANG + "_SERVICE_RECORD" ).relative_child_offset("Tag") @@ -209,7 +316,16 @@ class SvcScan(interfaces.plugins.PluginInterface): if not service_record.is_valid(): continue - yield (0, self.get_record_tuple(service_record)) + service_info = service_binary_dll_map.get( + service_record.get_name(), + ServiceBinaryInfo( + renderers.UnreadableValue(), renderers.UnreadableValue() + ), + ) + yield ( + 0, + self.get_record_tuple(service_record, service_info), + ) else: service_header = self.context.object( service_table_name + constants.BANG + "_SERVICE_HEADER", @@ -227,7 +343,16 @@ class SvcScan(interfaces.plugins.PluginInterface): if service_record in seen: break seen.append(service_record) - yield (0, self.get_record_tuple(service_record)) + service_info = service_binary_dll_map.get( + service_record.get_name(), + ServiceBinaryInfo( + renderers.UnreadableValue(), renderers.UnreadableValue() + ), + ) + yield ( + 0, + self.get_record_tuple(service_record, service_info), + ) def run(self): return renderers.TreeGrid( @@ -241,6 +366,8 @@ class SvcScan(interfaces.plugins.PluginInterface): ("Name", str), ("Display", str), ("Binary", str), + ("Binary (Registry)", str), + ("Dll", str), ], self._generator(), ) From 77b01106356ab30ec531799a66d38db3951033c4 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 14 Dec 2023 14:16:40 -0600 Subject: [PATCH 0333/2186] Windows: Fixes svc symbols and OS version detection There were some changes made to the service structures between certain versions of Windows that caused the PID/binary path to fail to parse across quite a few samples. This adds the appropriate version detection logic and updated symbol files to ensure that services are parsed correctly across Windows versions. --- volatility3/framework/interfaces/context.py | 2 +- .../framework/plugins/windows/svcscan.py | 50 +++- .../services/services-win10-17763-x86.json | 248 +++++++++++++++++ .../services/services-win10-18362-x64.json | 255 ++++++++++++++++++ .../services/services-win10-18362-x86.json | 248 +++++++++++++++++ .../services/services-win10-19041-x64.json | 255 ++++++++++++++++++ .../services/services-win10-19041-x86.json | 248 +++++++++++++++++ .../services/services-win10-25398-x64.json | 255 ++++++++++++++++++ .../framework/symbols/windows/versions.py | 34 +++ 9 files changed, 1584 insertions(+), 11 deletions(-) create mode 100644 volatility3/framework/symbols/windows/services/services-win10-17763-x86.json create mode 100644 volatility3/framework/symbols/windows/services/services-win10-18362-x64.json create mode 100644 volatility3/framework/symbols/windows/services/services-win10-18362-x86.json create mode 100644 volatility3/framework/symbols/windows/services/services-win10-19041-x64.json create mode 100644 volatility3/framework/symbols/windows/services/services-win10-19041-x86.json create mode 100644 volatility3/framework/symbols/windows/services/services-win10-25398-x64.json diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index 29cb41379..a95f2b464 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -87,7 +87,7 @@ class ContextInterface(metaclass=ABCMeta): offset: int, native_layer_name: str = None, **arguments, - ): + ) -> "interfaces.objects.ObjectInterface": """Object factory, takes a context, symbol, offset and optional layer_name. diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 720f745d8..74fe2d802 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -106,26 +106,46 @@ class SvcScan(interfaces.plugins.PluginInterface): and is_64bit ): symbol_filename = "services-xp-2003-x64" + elif ( + versions.is_win10_25398_or_later(context=context, symbol_table=symbol_table) + and is_64bit + ): + symbol_filename = "services-win10-25398-x64" + elif ( + versions.is_win10_19041_or_later(context=context, symbol_table=symbol_table) + and is_64bit + ): + symbol_filename = "services-win10-19041-x64" + elif ( + versions.is_win10_19041_or_later(context=context, symbol_table=symbol_table) + and not is_64bit + ): + symbol_filename = "services-win10-19041-x86" + elif ( + versions.is_win10_18362_or_later(context=context, symbol_table=symbol_table) + and is_64bit + ): + symbol_filename = "services-win10-18362-x64" + elif ( + versions.is_win10_18362_or_later(context=context, symbol_table=symbol_table) + and not is_64bit + ): + symbol_filename = "services-win10-18362-x86" elif ( versions.is_win10_16299_or_later(context=context, symbol_table=symbol_table) and is_64bit ): symbol_filename = "services-win10-16299-x64" + elif ( + versions.is_win10_17763_or_later(context=context, symbol_table=symbol_table) + and not is_64bit + ): + symbol_filename = "services-win10-17763-x86" elif ( versions.is_win10_16299_or_later(context=context, symbol_table=symbol_table) and not is_64bit ): symbol_filename = "services-win10-16299-x86" - elif ( - versions.is_win10_up_to_15063(context=context, symbol_table=symbol_table) - and is_64bit - ): - symbol_filename = "services-win8-x64" - elif ( - versions.is_win10_up_to_15063(context=context, symbol_table=symbol_table) - and not is_64bit - ): - symbol_filename = "services-win8-x86" elif ( versions.is_win10_15063(context=context, symbol_table=symbol_table) and is_64bit @@ -136,6 +156,16 @@ class SvcScan(interfaces.plugins.PluginInterface): and not is_64bit ): symbol_filename = "services-win10-15063-x86" + elif ( + versions.is_win10_up_to_15063(context=context, symbol_table=symbol_table) + and is_64bit + ): + symbol_filename = "services-win8-x64" + elif ( + versions.is_win10_up_to_15063(context=context, symbol_table=symbol_table) + and not is_64bit + ): + symbol_filename = "services-win8-x86" elif ( versions.is_windows_8_or_later(context=context, symbol_table=symbol_table) and is_64bit diff --git a/volatility3/framework/symbols/windows/services/services-win10-17763-x86.json b/volatility3/framework/symbols/windows/services/services-win10-17763-x86.json new file mode 100644 index 000000000..8f2854721 --- /dev/null +++ b/volatility3/framework/symbols/windows/services/services-win10-17763-x86.json @@ -0,0 +1,248 @@ +{ + "symbols": {}, + "enums": { + "StateEnum": { + "base": "long", + "constants": { + "SERVICE_START_PENDING": 2, + "SERVICE_STOP_PENDING": 3, + "SERVICE_STOPPED": 1, + "SERVICE_CONTINUE_PENDING": 5, + "SERVICE_PAUSE_PENDING": 6, + "SERVICE_PAUSED": 7, + "SERVICE_RUNNING": 4 + }, + "size": 4 + }, + "StartEnum": { + "base": "long", + "constants": { + "SERVICE_DEMAND_START": 3, + "SERVICE_AUTO_START": 2, + "SERVICE_BOOT_START": 0, + "SERVICE_DISABLED": 4, + "SERVICE_SYSTEM_START": 1 + }, + "size": 4 + } + }, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_SERVICE_LIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + } + }, + "offset": 4 + }, + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_SERVICE_PROCESS": { + "fields": { + "BinaryPath": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 12 + }, + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 20 + }, + "_SERVICE_HEADER": { + "fields": { + "Tag": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 0 + }, + "ServiceRecord": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_RECORD" + } + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12 + }, + "_SERVICE_RECORD": { + "fields": { + "DisplayName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 48 + }, + "ServiceProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_PROCESS" + } + }, + "offset": 160 + }, + "PrevEntry": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_RECORD" + } + }, + "offset": 12 + }, + "Start": { + "type": { + "kind": "enum", + "name": "StartEnum" + }, + "offset": 24 + }, + "State": { + "type": { + "kind": "enum", + "name": "StateEnum" + }, + "offset": 56 + }, + "ServiceName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 44 + }, + "Tag": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 0 + }, + "DriverName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 160 + }, + "Type": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "Order": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 156 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "vtypes_to_json.py", + "datetime": "2019-04-17T13:45:16.417006" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/services/services-win10-18362-x64.json b/volatility3/framework/symbols/windows/services/services-win10-18362-x64.json new file mode 100644 index 000000000..a6a80c1d3 --- /dev/null +++ b/volatility3/framework/symbols/windows/services/services-win10-18362-x64.json @@ -0,0 +1,255 @@ +{ + "symbols": {}, + "enums": { + "StateEnum": { + "base": "long", + "constants": { + "SERVICE_START_PENDING": 2, + "SERVICE_STOP_PENDING": 3, + "SERVICE_STOPPED": 1, + "SERVICE_CONTINUE_PENDING": 5, + "SERVICE_PAUSE_PENDING": 6, + "SERVICE_PAUSED": 7, + "SERVICE_RUNNING": 4 + }, + "size": 4 + }, + "StartEnum": { + "base": "long", + "constants": { + "SERVICE_DEMAND_START": 3, + "SERVICE_AUTO_START": 2, + "SERVICE_BOOT_START": 0, + "SERVICE_DISABLED": 4, + "SERVICE_SYSTEM_START": 1 + }, + "size": 4 + } + }, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_SERVICE_LIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + } + }, + "offset": 16 + }, + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_SERVICE_PROCESS": { + "fields": { + "BinaryPath": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 24 + }, + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 40 + }, + "_SERVICE_HEADER": { + "fields": { + "Tag": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 0 + }, + "ServiceRecord": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_RECORD" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 16 + }, + "_SERVICE_RECORD": { + "fields": { + "ServiceList": { + "type": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + }, + "offset": 0 + }, + "Tag": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 32 + }, + "DisplayName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 64 + }, + "ServiceProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_PROCESS" + } + }, + "offset": 240 + }, + "PrevEntry": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_RECORD" + } + }, + "offset": 16 + }, + "Start": { + "type": { + "kind": "enum", + "name": "StartEnum" + }, + "offset": 36 + }, + "State": { + "type": { + "kind": "enum", + "name": "StateEnum" + }, + "offset": 76 + }, + "ServiceName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 56 + }, + "DriverName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 240 + }, + "Type": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "Order": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 248 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "vtypes_to_json.py", + "datetime": "2019-04-17T13:45:16.417006" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/services/services-win10-18362-x86.json b/volatility3/framework/symbols/windows/services/services-win10-18362-x86.json new file mode 100644 index 000000000..4684dfe5b --- /dev/null +++ b/volatility3/framework/symbols/windows/services/services-win10-18362-x86.json @@ -0,0 +1,248 @@ +{ + "symbols": {}, + "enums": { + "StateEnum": { + "base": "long", + "constants": { + "SERVICE_START_PENDING": 2, + "SERVICE_STOP_PENDING": 3, + "SERVICE_STOPPED": 1, + "SERVICE_CONTINUE_PENDING": 5, + "SERVICE_PAUSE_PENDING": 6, + "SERVICE_PAUSED": 7, + "SERVICE_RUNNING": 4 + }, + "size": 4 + }, + "StartEnum": { + "base": "long", + "constants": { + "SERVICE_DEMAND_START": 3, + "SERVICE_AUTO_START": 2, + "SERVICE_BOOT_START": 0, + "SERVICE_DISABLED": 4, + "SERVICE_SYSTEM_START": 1 + }, + "size": 4 + } + }, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_SERVICE_LIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + } + }, + "offset": 4 + }, + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_SERVICE_PROCESS": { + "fields": { + "BinaryPath": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 12 + }, + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 20 + }, + "_SERVICE_HEADER": { + "fields": { + "Tag": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 0 + }, + "ServiceRecord": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_RECORD" + } + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12 + }, + "_SERVICE_RECORD": { + "fields": { + "DisplayName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 48 + }, + "ServiceProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_PROCESS" + } + }, + "offset": 164 + }, + "PrevEntry": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_RECORD" + } + }, + "offset": 12 + }, + "Start": { + "type": { + "kind": "enum", + "name": "StartEnum" + }, + "offset": 24 + }, + "State": { + "type": { + "kind": "enum", + "name": "StateEnum" + }, + "offset": 56 + }, + "ServiceName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 44 + }, + "Tag": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 0 + }, + "DriverName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 164 + }, + "Type": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "Order": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 156 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "vtypes_to_json.py", + "datetime": "2019-04-17T13:45:16.417006" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/services/services-win10-19041-x64.json b/volatility3/framework/symbols/windows/services/services-win10-19041-x64.json new file mode 100644 index 000000000..e44dbbd37 --- /dev/null +++ b/volatility3/framework/symbols/windows/services/services-win10-19041-x64.json @@ -0,0 +1,255 @@ +{ + "symbols": {}, + "enums": { + "StateEnum": { + "base": "long", + "constants": { + "SERVICE_START_PENDING": 2, + "SERVICE_STOP_PENDING": 3, + "SERVICE_STOPPED": 1, + "SERVICE_CONTINUE_PENDING": 5, + "SERVICE_PAUSE_PENDING": 6, + "SERVICE_PAUSED": 7, + "SERVICE_RUNNING": 4 + }, + "size": 4 + }, + "StartEnum": { + "base": "long", + "constants": { + "SERVICE_DEMAND_START": 3, + "SERVICE_AUTO_START": 2, + "SERVICE_BOOT_START": 0, + "SERVICE_DISABLED": 4, + "SERVICE_SYSTEM_START": 1 + }, + "size": 4 + } + }, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_SERVICE_LIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + } + }, + "offset": 16 + }, + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_SERVICE_PROCESS": { + "fields": { + "BinaryPath": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 24 + }, + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 40 + }, + "_SERVICE_HEADER": { + "fields": { + "Tag": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 0 + }, + "ServiceRecord": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_RECORD" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 16 + }, + "_SERVICE_RECORD": { + "fields": { + "ServiceList": { + "type": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + }, + "offset": 0 + }, + "Tag": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 32 + }, + "DisplayName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 64 + }, + "ServiceProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_PROCESS" + } + }, + "offset": 296 + }, + "PrevEntry": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_RECORD" + } + }, + "offset": 16 + }, + "Start": { + "type": { + "kind": "enum", + "name": "StartEnum" + }, + "offset": 36 + }, + "State": { + "type": { + "kind": "enum", + "name": "StateEnum" + }, + "offset": 76 + }, + "ServiceName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 56 + }, + "DriverName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 296 + }, + "Type": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "Order": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 296 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "David McDonald", + "datetime": "2023-11-16T15:05:35-06:00" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/services/services-win10-19041-x86.json b/volatility3/framework/symbols/windows/services/services-win10-19041-x86.json new file mode 100644 index 000000000..cc5ed9a73 --- /dev/null +++ b/volatility3/framework/symbols/windows/services/services-win10-19041-x86.json @@ -0,0 +1,248 @@ +{ + "symbols": {}, + "enums": { + "StateEnum": { + "base": "long", + "constants": { + "SERVICE_START_PENDING": 2, + "SERVICE_STOP_PENDING": 3, + "SERVICE_STOPPED": 1, + "SERVICE_CONTINUE_PENDING": 5, + "SERVICE_PAUSE_PENDING": 6, + "SERVICE_PAUSED": 7, + "SERVICE_RUNNING": 4 + }, + "size": 4 + }, + "StartEnum": { + "base": "long", + "constants": { + "SERVICE_DEMAND_START": 3, + "SERVICE_AUTO_START": 2, + "SERVICE_BOOT_START": 0, + "SERVICE_DISABLED": 4, + "SERVICE_SYSTEM_START": 1 + }, + "size": 4 + } + }, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_SERVICE_LIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + } + }, + "offset": 4 + }, + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_SERVICE_PROCESS": { + "fields": { + "BinaryPath": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 12 + }, + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 20 + }, + "_SERVICE_HEADER": { + "fields": { + "Tag": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 0 + }, + "ServiceRecord": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_RECORD" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 12 + }, + "_SERVICE_RECORD": { + "fields": { + "DisplayName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 48 + }, + "ServiceProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_PROCESS" + } + }, + "offset": 192 + }, + "PrevEntry": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_RECORD" + } + }, + "offset": 12 + }, + "Start": { + "type": { + "kind": "enum", + "name": "StartEnum" + }, + "offset": 24 + }, + "State": { + "type": { + "kind": "enum", + "name": "StateEnum" + }, + "offset": 56 + }, + "ServiceName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 44 + }, + "Tag": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 0 + }, + "DriverName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 192 + }, + "Type": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "Order": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 192 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "vtypes_to_json.py", + "datetime": "2019-04-17T13:45:16.417006" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/services/services-win10-25398-x64.json b/volatility3/framework/symbols/windows/services/services-win10-25398-x64.json new file mode 100644 index 000000000..cd29abc43 --- /dev/null +++ b/volatility3/framework/symbols/windows/services/services-win10-25398-x64.json @@ -0,0 +1,255 @@ +{ + "symbols": {}, + "enums": { + "StateEnum": { + "base": "long", + "constants": { + "SERVICE_START_PENDING": 2, + "SERVICE_STOP_PENDING": 3, + "SERVICE_STOPPED": 1, + "SERVICE_CONTINUE_PENDING": 5, + "SERVICE_PAUSE_PENDING": 6, + "SERVICE_PAUSED": 7, + "SERVICE_RUNNING": 4 + }, + "size": 4 + }, + "StartEnum": { + "base": "long", + "constants": { + "SERVICE_DEMAND_START": 3, + "SERVICE_AUTO_START": 2, + "SERVICE_BOOT_START": 0, + "SERVICE_DISABLED": 4, + "SERVICE_SYSTEM_START": 1 + }, + "size": 4 + } + }, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_SERVICE_LIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + } + }, + "offset": 16 + }, + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_SERVICE_PROCESS": { + "fields": { + "BinaryPath": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 24 + }, + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 40 + }, + "_SERVICE_HEADER": { + "fields": { + "Tag": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 0 + }, + "ServiceRecord": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_RECORD" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 16 + }, + "_SERVICE_RECORD": { + "fields": { + "ServiceList": { + "type": { + "kind": "struct", + "name": "_SERVICE_LIST_ENTRY" + }, + "offset": 0 + }, + "Tag": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 32 + }, + "DisplayName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 64 + }, + "ServiceProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_PROCESS" + } + }, + "offset": 336 + }, + "PrevEntry": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SERVICE_RECORD" + } + }, + "offset": 16 + }, + "Start": { + "type": { + "kind": "enum", + "name": "StartEnum" + }, + "offset": 36 + }, + "State": { + "type": { + "kind": "enum", + "name": "StateEnum" + }, + "offset": 84 + }, + "ServiceName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 56 + }, + "DriverName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + }, + "offset": 296 + }, + "Type": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "Order": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 336 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "David McDonald", + "datetime": "2023-11-16T15:05:35-06:00" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/versions.py b/volatility3/framework/symbols/windows/versions.py index 84ce65432..6e2c2e9bd 100644 --- a/volatility3/framework/symbols/windows/versions.py +++ b/volatility3/framework/symbols/windows/versions.py @@ -151,11 +151,45 @@ is_win10_16299_or_later = OsDistinguisher( ], ) +is_win10_17763_or_later = OsDistinguisher( + version_check=lambda x: x >= (10, 0, 17763), + fallback_checks=[ + ("_EPROCESS", "TrustletIdentity", False), + ("ParentSecurityDomain", None, False), + ], +) + +is_win10_18362_or_later = OsDistinguisher( + version_check=lambda x: x >= (10, 0, 18362), + fallback_checks=[ + ("ObHeaderCookie", None, True), + ("_CM_CACHED_VALUE_INDEX", None, False), + ("_WNF_PROCESS_CONTEXT", None, True), + ], +) + is_win10_18363_or_later = OsDistinguisher( version_check=lambda x: x >= (10, 0, 18363), fallback_checks=[("_KQOS_GROUPING_SETS", None, True)], ) +is_win10_19041_or_later = OsDistinguisher( + version_check=lambda x: x >= (10, 0, 19041), + fallback_checks=[ + ("_EPROCESS", "TimerResolutionIgnore", True), + ("_EPROCESS", "VmProcessorHostTransition", True), + ("_KQOS_GROUPING_SETS", None, True), + ], +) + +is_win10_25398_or_later = OsDistinguisher( + version_check=lambda x: x >= (10, 0, 25398), + fallback_checks=[ + ("_EPROCESS", "MmSlabIdentity", True), + ("_EPROCESS", "EnableProcessImpersonationLogging", True), + ], +) + is_windows_10 = OsDistinguisher( version_check=lambda x: x >= (10, 0), fallback_checks=[("ObHeaderCookie", None, True)], From 86d6b4f7245a553bb2b7db6a3d844375a57f8cd4 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 16 Jan 2024 10:08:14 -0600 Subject: [PATCH 0334/2186] Bump plugin version --- volatility3/framework/plugins/windows/svcscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 74fe2d802..7688594d2 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -32,7 +32,7 @@ class SvcScan(interfaces.plugins.PluginInterface): """Scans for windows services.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 4b400b6df612fe0f3a796c06dbfb7fa272e5d0fd Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 16 Jan 2024 10:09:36 -0600 Subject: [PATCH 0335/2186] Refactor out code duplication in OS version checks --- .../framework/plugins/windows/svcscan.py | 132 ++++++------------ 1 file changed, 39 insertions(+), 93 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 7688594d2..4f20ed346 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -4,9 +4,16 @@ import logging import os -from typing import Dict, List, NamedTuple, Union +from typing import Dict, List, NamedTuple, Optional, Tuple, Union, cast -from volatility3.framework import constants, exceptions, interfaces, renderers, symbols +from volatility3.framework import ( + constants, + exceptions, + interfaces, + objects, + renderers, + symbols, +) from volatility3.framework.configuration import requirements from volatility3.framework.layers import scanners from volatility3.framework.renderers import format_hints @@ -76,6 +83,28 @@ class SvcScan(interfaces.plugins.PluginInterface): binary_info.dll, ) + # These checks must be completed from newest -> oldest OS version. + _win_version_file_map: List[Tuple[versions.OsDistinguisher, bool, str]] = [ + (versions.is_win10_25398_or_later, True, "services-win10-25398-x64"), + (versions.is_win10_19041_or_later, True, "services-win10-19041-x64"), + (versions.is_win10_19041_or_later, False, "services-win10-19041-x86"), + (versions.is_win10_18362_or_later, True, "services-win10-18362-x64"), + (versions.is_win10_18362_or_later, False, "services-win10-18362-x86"), + (versions.is_win10_17763_or_later, False, "services-win10-17763-x86"), + (versions.is_win10_16299_or_later, True, "services-win10-16299-x64"), + (versions.is_win10_16299_or_later, False, "services-win10-16299-x86"), + (versions.is_win10_15063, True, "services-win10-15063-x64"), + (versions.is_win10_15063, False, "services-win10-15063-x86"), + (versions.is_win10_up_to_15063, True, "services-win8-x64"), + (versions.is_win10_up_to_15063, False, "services-win8-x86"), + (versions.is_windows_8_or_later, True, "services-win8-x64"), + (versions.is_windows_8_or_later, True, "services-win8-x86"), + (versions.is_vista_or_later, True, "services-vista-x64"), + (versions.is_vista_or_later, False, "services-vista-x86"), + (versions.is_windows_xp, False, "services-xp-x86"), + (versions.is_xp_or_2003, True, "services-xp-2003-x64"), + ] + @staticmethod def create_service_table( context: interfaces.context.ContextInterface, @@ -96,97 +125,14 @@ class SvcScan(interfaces.plugins.PluginInterface): native_types = context.symbol_space[symbol_table].natives is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) - if ( - versions.is_windows_xp(context=context, symbol_table=symbol_table) - and not is_64bit - ): - symbol_filename = "services-xp-x86" - elif ( - versions.is_xp_or_2003(context=context, symbol_table=symbol_table) - and is_64bit - ): - symbol_filename = "services-xp-2003-x64" - elif ( - versions.is_win10_25398_or_later(context=context, symbol_table=symbol_table) - and is_64bit - ): - symbol_filename = "services-win10-25398-x64" - elif ( - versions.is_win10_19041_or_later(context=context, symbol_table=symbol_table) - and is_64bit - ): - symbol_filename = "services-win10-19041-x64" - elif ( - versions.is_win10_19041_or_later(context=context, symbol_table=symbol_table) - and not is_64bit - ): - symbol_filename = "services-win10-19041-x86" - elif ( - versions.is_win10_18362_or_later(context=context, symbol_table=symbol_table) - and is_64bit - ): - symbol_filename = "services-win10-18362-x64" - elif ( - versions.is_win10_18362_or_later(context=context, symbol_table=symbol_table) - and not is_64bit - ): - symbol_filename = "services-win10-18362-x86" - elif ( - versions.is_win10_16299_or_later(context=context, symbol_table=symbol_table) - and is_64bit - ): - symbol_filename = "services-win10-16299-x64" - elif ( - versions.is_win10_17763_or_later(context=context, symbol_table=symbol_table) - and not is_64bit - ): - symbol_filename = "services-win10-17763-x86" - elif ( - versions.is_win10_16299_or_later(context=context, symbol_table=symbol_table) - and not is_64bit - ): - symbol_filename = "services-win10-16299-x86" - elif ( - versions.is_win10_15063(context=context, symbol_table=symbol_table) - and is_64bit - ): - symbol_filename = "services-win10-15063-x64" - elif ( - versions.is_win10_15063(context=context, symbol_table=symbol_table) - and not is_64bit - ): - symbol_filename = "services-win10-15063-x86" - elif ( - versions.is_win10_up_to_15063(context=context, symbol_table=symbol_table) - and is_64bit - ): - symbol_filename = "services-win8-x64" - elif ( - versions.is_win10_up_to_15063(context=context, symbol_table=symbol_table) - and not is_64bit - ): - symbol_filename = "services-win8-x86" - elif ( - versions.is_windows_8_or_later(context=context, symbol_table=symbol_table) - and is_64bit - ): - symbol_filename = "services-win8-x64" - elif ( - versions.is_windows_8_or_later(context=context, symbol_table=symbol_table) - and not is_64bit - ): - symbol_filename = "services-win8-x86" - elif ( - versions.is_vista_or_later(context=context, symbol_table=symbol_table) - and is_64bit - ): - symbol_filename = "services-vista-x64" - elif ( - versions.is_vista_or_later(context=context, symbol_table=symbol_table) - and not is_64bit - ): - symbol_filename = "services-vista-x86" - else: + try: + symbol_filename = next( + filename + for version_check, for_64bit, filename in SvcScan._win_version_file_map + if is_64bit == for_64bit + and version_check(context=context, symbol_table=symbol_table) + ) + except StopIteration: raise NotImplementedError("This version of Windows is not supported!") return intermed.IntermediateSymbolTable.create( From 5541378afe86d41734c05f6b84bbafcd26d46644 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 16 Jan 2024 10:09:59 -0600 Subject: [PATCH 0336/2186] Create unique config path --- volatility3/framework/plugins/windows/svcscan.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 4f20ed346..d16bee113 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -147,7 +147,9 @@ class SvcScan(interfaces.plugins.PluginInterface): def _get_service_key(self, kernel): for hive in hivelist.HiveList.list_hives( context=self.context, - base_config_path=self.config_path, + base_config_path=interfaces.configuration.path_join( + self.config_path, "hivelist" + ), layer_name=kernel.layer_name, symbol_table=kernel.symbol_table_name, filter_string="machine\\system", From f5c1bf0f1f5c177b2dcee9d09d3ab522ba83f41e Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 16 Jan 2024 10:10:20 -0600 Subject: [PATCH 0337/2186] Remove argument that matches default --- volatility3/framework/plugins/windows/svcscan.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index d16bee113..b77491a65 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -153,7 +153,6 @@ class SvcScan(interfaces.plugins.PluginInterface): layer_name=kernel.layer_name, symbol_table=kernel.symbol_table_name, filter_string="machine\\system", - hive_offsets=None, ): # Get ControlSet\Services. try: From c517a44cde3cb87d48da3a72d685630eca7acaa1 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 16 Jan 2024 10:10:54 -0600 Subject: [PATCH 0338/2186] Add type hints/casts to _get_service_key method --- volatility3/framework/plugins/windows/svcscan.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index b77491a65..dd2f76890 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -144,7 +144,7 @@ class SvcScan(interfaces.plugins.PluginInterface): native_types=native_types, ) - def _get_service_key(self, kernel): + def _get_service_key(self, kernel) -> Optional[objects.StructType]: for hive in hivelist.HiveList.list_hives( context=self.context, base_config_path=interfaces.configuration.path_join( @@ -156,10 +156,14 @@ class SvcScan(interfaces.plugins.PluginInterface): ): # Get ControlSet\Services. try: - return hive.get_key(r"CurrentControlSet\Services") + return cast( + objects.StructType, hive.get_key(r"CurrentControlSet\Services") + ) except (KeyError, exceptions.InvalidAddressException): try: - return hive.get_key(r"ControlSet001\Services") + return cast( + objects.StructType, hive.get_key(r"ControlSet001\Services") + ) except (KeyError, exceptions.InvalidAddressException): pass From 42c2a86a37ace33cf93d28efd491b00e8c29dd53 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 16 Jan 2024 10:11:16 -0600 Subject: [PATCH 0339/2186] Add logging for when a Services key cannot be retrieved --- volatility3/framework/plugins/windows/svcscan.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index dd2f76890..095661880 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -165,6 +165,10 @@ class SvcScan(interfaces.plugins.PluginInterface): objects.StructType, hive.get_key(r"ControlSet001\Services") ) except (KeyError, exceptions.InvalidAddressException): + vollog.log( + constants.LOGLEVEL_VVVV, + "Could not retrieve any control set from SYSTEM hive", + ) pass return None From 4192e8a711aff985352f3347dc8cd289894a812f Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 18 Jan 2024 12:22:23 -0600 Subject: [PATCH 0340/2186] Fix condition in OsDistinguisher --- volatility3/framework/symbols/windows/versions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/versions.py b/volatility3/framework/symbols/windows/versions.py index 6e2c2e9bd..e1e74afc0 100644 --- a/volatility3/framework/symbols/windows/versions.py +++ b/volatility3/framework/symbols/windows/versions.py @@ -155,7 +155,7 @@ is_win10_17763_or_later = OsDistinguisher( version_check=lambda x: x >= (10, 0, 17763), fallback_checks=[ ("_EPROCESS", "TrustletIdentity", False), - ("ParentSecurityDomain", None, False), + ("ParentSecurityDomain", None, True), ], ) From 43e8e01daff8dc1ff88b9edfc6d5d6b2fac33417 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 30 Jan 2024 09:26:17 -0600 Subject: [PATCH 0341/2186] Removes unnecessary pass and deindents return stmt --- volatility3/framework/plugins/windows/svcscan.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 095661880..10de46e2a 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -169,9 +169,8 @@ class SvcScan(interfaces.plugins.PluginInterface): constants.LOGLEVEL_VVVV, "Could not retrieve any control set from SYSTEM hive", ) - pass - return None + return None @staticmethod def _get_service_dll( From 5a8a0def35d30fef31f90eecca67f32c0953c9bc Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 30 Jan 2024 12:53:09 -0300 Subject: [PATCH 0342/2186] Fix docstring typos --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 915d92cd1..ccb626569 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1278,11 +1278,11 @@ class net_device(objects.StructType): return choices def _get_net_device_flag_value(self, name): - """Return the net_deivce flag value based on the flag name""" + """Return the net_device flag value based on the flag name""" return self._get_flag_choices()[name] def get_flag_names(self) -> List[str]: - """Return the net_deivce flags as a list of strings + """Return the net_device flags as a list of strings Returns: List[str]: A list of flag names From c72fa7544db63bbe72bd1dd1576df2d8ed6baa3b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 30 Jan 2024 12:55:16 -0300 Subject: [PATCH 0343/2186] Convert IF_OPER_STATES to enum --- .../framework/constants/linux/__init__.py | 23 +++++++++++-------- .../symbols/linux/extensions/__init__.py | 10 ++++---- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 21e0b47f7..b5972ca51 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -5,6 +5,7 @@ Linux-specific values that aren't found in debug symbols """ +from enum import Enum KERNEL_NAME = "__kernel__" @@ -315,13 +316,15 @@ NET_DEVICE_FLAGS = { "IFF_ECHO": 0x40000, } -# RFC 2863 operational status. Kernels >= 2.6.17. See IF_OPER_* in include/uapi/linux/if.h -IF_OPER_STATES = ( - "UNKNOWN", - "NOTPRESENT", - "DOWN", - "LOWERLAYERDOWN", - "TESTING", - "DORMANT", - "UP", -) + +# Kernels >= 2.6.17. See IF_OPER_* in include/uapi/linux/if.h +class IF_OPER_STATES(Enum): + """RFC 2863 - Network interface operational status""" + + UNKNOWN = 0 + NOTPRESENT = 1 + DOWN = 2 + LOWERLAYERDOWN = 3 + TESTING = 4 + DORMANT = 5 + UP = 6 diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index ccb626569..510302cdb 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -16,7 +16,7 @@ from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_ST from volatility3.framework.constants.linux import CAPABILITIES, NET_DEVICE_FLAGS from volatility3.framework.constants.linux import IFA_HOST, IFA_LINK, IFA_SITE from volatility3.framework.constants.linux import IF_OPER_STATES -from volatility3.framework.renderers import conversion +from volatility3.framework.renderers import conversion, UnparsableValue from volatility3.framework import exceptions, objects, interfaces, symbols from volatility3.framework.layers import linear from volatility3.framework.objects import utility @@ -1321,11 +1321,11 @@ class net_device(objects.StructType): Returns: str: A string with the operational state """ - if self.operstate >= len(IF_OPER_STATES): + try: + return IF_OPER_STATES(self.operstate).name + except ValueError: vollog.warning(f"Invalid net_device operational state '{self.operstate}'") - return "INVALID" - - return IF_OPER_STATES[self.operstate] + return UnparsableValue() class in_device(objects.StructType): From 1b153cc5676fe2161162ef208ab3dfa0e4fcb342 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 30 Jan 2024 13:13:19 -0300 Subject: [PATCH 0344/2186] Manage net_device flag default value & error --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 510302cdb..b5f650f6b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1279,7 +1279,7 @@ class net_device(objects.StructType): def _get_net_device_flag_value(self, name): """Return the net_device flag value based on the flag name""" - return self._get_flag_choices()[name] + return self._get_flag_choices().get(name, UnparsableValue()) def get_flag_names(self) -> List[str]: """Return the net_device flags as a list of strings From 470c750d82ee0208f673472bcf2bf6632ae4190f Mon Sep 17 00:00:00 2001 From: hsarkey Date: Wed, 31 Jan 2024 16:00:29 -0500 Subject: [PATCH 0345/2186] Updated to use dictionary for refined criteria and BaseAbsentValue for when criteria is not met --- .../framework/plugins/windows/malfind.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 284144077..8c0cb68ac 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -142,15 +142,20 @@ class Malfind(interfaces.plugins.PluginInterface): kernel = self.context.modules[self.config["kernel"]] # set refined criteria to know when to add to "Notes" column - refined_criteria = [b"MZ", b"\x55\x8B", b"\x55\x48", b"\x55\x89"] + refined_criteria = { + b"MZ": "MZ header", + b"\x55\x8B": "PE header", + b"\x55\x48": "Function prologue", + b"\x55\x89": "Function prologue", + } is_32bit_arch = not symbols.symbol_table_is_64bit( self.context, kernel.symbol_table_name ) for proc in procs: - # by default, "Notes" column will be set to none - notes = "None" + # by default, "Notes" column will be set to N/A + notes = renderers.NotApplicableValue() process_name = utility.array_to_string(proc.ImageFileName) for vad, data in self.list_injections( @@ -158,12 +163,7 @@ class Malfind(interfaces.plugins.PluginInterface): ): # Check for unique headers and update "Notes" column if criteria is met if data[0:2] in refined_criteria: - if data[0:2] == b"MZ": - notes = "MZ header" - elif data[0:2] == b"\x55\x8B": - notes = "PE header" - else: - notes = "Function prologue" + notes = refined_criteria[data[0:2]] # if we're on a 64 bit kernel, we may still need 32 bit disasm due to wow64 if is_32bit_arch or proc.get_is_wow64(): From 6d093a4e4338aaee5b69384f1652cda994a3e1d3 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 31 Jan 2024 21:04:16 +0000 Subject: [PATCH 0346/2186] Documentation: Update copyright in README.md for 2024 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 471735af8..f69acb3bb 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ The latest generated copy of the documentation can be found at: Date: Wed, 31 Jan 2024 21:04:16 +0000 Subject: [PATCH 0347/2186] Documentation: Update copyright in README.md for 2024 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 471735af8..f69acb3bb 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ The latest generated copy of the documentation can be found at: Date: Wed, 31 Jan 2024 21:09:48 +0000 Subject: [PATCH 0348/2186] Core: Apply black 24.1.0 across the whole codebase --- volatility3/cli/text_renderer.py | 8 +++--- volatility3/framework/__init__.py | 6 ++--- volatility3/framework/automagic/mac.py | 6 ++--- volatility3/framework/automagic/module.py | 6 ++--- .../framework/automagic/symbol_finder.py | 12 ++++----- volatility3/framework/automagic/windows.py | 20 +++++++------- .../framework/configuration/requirements.py | 6 ++--- volatility3/framework/layers/avml.py | 6 ++--- volatility3/framework/layers/elf.py | 6 ++--- volatility3/framework/layers/intel.py | 6 ++--- volatility3/framework/layers/lime.py | 6 ++--- volatility3/framework/layers/qemu.py | 6 ++--- volatility3/framework/layers/xen.py | 6 ++--- volatility3/framework/objects/__init__.py | 6 ++--- volatility3/framework/plugins/mac/pslist.py | 4 +-- .../framework/plugins/windows/crashinfo.py | 6 ++--- .../framework/plugins/windows/mftscan.py | 1 - .../framework/plugins/windows/netscan.py | 10 ++++--- .../plugins/windows/registry/printkey.py | 6 ++--- volatility3/framework/renderers/conversion.py | 6 ++--- volatility3/framework/symbols/__init__.py | 26 +++++++++---------- .../symbols/windows/extensions/__init__.py | 6 ++--- volatility3/plugins/windows/statistics.py | 10 +++---- 23 files changed, 88 insertions(+), 93 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index ffb8d516b..6e58ee68d 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -389,9 +389,11 @@ class JsonRenderer(CLIRenderer): interfaces.renderers.Disassembly: quoted_optional(display_disassembly), format_hints.MultiTypeData: quoted_optional(multitypedata_as_text), bytes: optional(lambda x: " ".join([f"{b:02x}" for b in x])), - datetime.datetime: lambda x: x.isoformat() - if not isinstance(x, interfaces.renderers.BaseAbsentValue) - else None, + datetime.datetime: lambda x: ( + x.isoformat() + if not isinstance(x, interfaces.renderers.BaseAbsentValue) + else None + ), "default": lambda x: x, } diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 9c17846a8..1565b2267 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -206,9 +206,9 @@ def _zipwalk(path: str): if not file.is_dir(): dirlist = zip_results.get(os.path.dirname(file.filename), []) dirlist.append(os.path.basename(file.filename)) - zip_results[ - os.path.join(path, os.path.dirname(file.filename)) - ] = dirlist + zip_results[os.path.join(path, os.path.dirname(file.filename))] = ( + dirlist + ) for value in zip_results: yield value, zip_results[value] diff --git a/volatility3/framework/automagic/mac.py b/volatility3/framework/automagic/mac.py index aa75fbc3d..e51753139 100644 --- a/volatility3/framework/automagic/mac.py +++ b/volatility3/framework/automagic/mac.py @@ -138,9 +138,9 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): config_path = join("automagic", "MacIntelHelper", new_layer_name) context.config[join(config_path, "memory_layer")] = layer_name context.config[join(config_path, "page_map_offset")] = dtb - context.config[ - join(config_path, MacSymbolFinder.banner_config_key) - ] = str(banner, "latin-1") + context.config[join(config_path, MacSymbolFinder.banner_config_key)] = ( + str(banner, "latin-1") + ) new_layer = intel.Intel32e( context, diff --git a/volatility3/framework/automagic/module.py b/volatility3/framework/automagic/module.py index ee56a040c..ff13db905 100644 --- a/volatility3/framework/automagic/module.py +++ b/volatility3/framework/automagic/module.py @@ -34,9 +34,9 @@ class KernelModule(interfaces.automagic.AutomagicInterface): return None # The requirement is unfulfilled and is a ModuleRequirement - context.config[ - interfaces.configuration.path_join(new_config_path, "class") - ] = "volatility3.framework.contexts.Module" + context.config[interfaces.configuration.path_join(new_config_path, "class")] = ( + "volatility3.framework.contexts.Module" + ) for req in requirement.requirements: if ( diff --git a/volatility3/framework/automagic/symbol_finder.py b/volatility3/framework/automagic/symbol_finder.py index bf1c8ff16..21e594549 100644 --- a/volatility3/framework/automagic/symbol_finder.py +++ b/volatility3/framework/automagic/symbol_finder.py @@ -150,12 +150,12 @@ class SymbolFinder(interfaces.automagic.AutomagicInterface): clazz = self.symbol_class # Set the discovered options path_join = interfaces.configuration.path_join - context.config[ - path_join(config_path, requirement.name, "class") - ] = clazz - context.config[ - path_join(config_path, requirement.name, "isf_url") - ] = isf_path + context.config[path_join(config_path, requirement.name, "class")] = ( + clazz + ) + context.config[path_join(config_path, requirement.name, "isf_url")] = ( + isf_path + ) context.config[ path_join(config_path, requirement.name, "symbol_mask") ] = layer.address_mask diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index a8530829b..52296f5ad 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -402,19 +402,19 @@ class WinSwapLayers(interfaces.automagic.AutomagicInterface): if swap_location: context.config[current_layer_path] = current_layer_name try: - context.config[ - layer_loc_path - ] = requirements.URIRequirement.location_from_file( - swap_location + context.config[layer_loc_path] = ( + requirements.URIRequirement.location_from_file( + swap_location + ) ) except ValueError: vollog.warning( f"Volatility swap_location {swap_location} could not be validated - swap layer disabled" ) continue - context.config[ - layer_class_path - ] = "volatility3.framework.layers.physical.FileLayer" + context.config[layer_class_path] = ( + "volatility3.framework.layers.physical.FileLayer" + ) # Add the requirement new_req = requirements.TranslationLayerRequirement( @@ -424,9 +424,9 @@ class WinSwapLayers(interfaces.automagic.AutomagicInterface): ) swap_req.add_requirement(new_req) - context.config[ - path_join(swap_sub_config, "number_of_elements") - ] = counter + context.config[path_join(swap_sub_config, "number_of_elements")] = ( + counter + ) context.config[swap_sub_config] = True swap_req.construct(context, swap_config) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index abdffdbe4..1c0622574 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -550,9 +550,9 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): config_path = interfaces.configuration.path_join(config_path, self.name) if not self.matches_required(self._version, self._component.version): return {config_path: self} - context.config[ - interfaces.configuration.path_join(config_path, self.name) - ] = True + context.config[interfaces.configuration.path_join(config_path, self.name)] = ( + True + ) return {} @classmethod diff --git a/volatility3/framework/layers/avml.py b/volatility3/framework/layers/avml.py index c825464cc..2e5572192 100644 --- a/volatility3/framework/layers/avml.py +++ b/volatility3/framework/layers/avml.py @@ -224,7 +224,7 @@ class AVMLStacker(interfaces.automagic.StackerLayerInterface): except exceptions.LayerException: return None new_name = context.layers.free_layer_name("AVMLLayer") - context.config[ - interfaces.configuration.path_join(new_name, "base_layer") - ] = layer_name + context.config[interfaces.configuration.path_join(new_name, "base_layer")] = ( + layer_name + ) return AVMLLayer(context, new_name, new_name) diff --git a/volatility3/framework/layers/elf.py b/volatility3/framework/layers/elf.py index a10d36592..b2fd6d4d1 100644 --- a/volatility3/framework/layers/elf.py +++ b/volatility3/framework/layers/elf.py @@ -115,9 +115,9 @@ class Elf64Stacker(interfaces.automagic.StackerLayerInterface): vollog.log(constants.LOGLEVEL_VVVV, f"Exception: {excp}") return None new_name = context.layers.free_layer_name("Elf64Layer") - context.config[ - interfaces.configuration.path_join(new_name, "base_layer") - ] = layer_name + context.config[interfaces.configuration.path_join(new_name, "base_layer")] = ( + layer_name + ) try: return Elf64Layer(context, new_name, new_name) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 7d3b86a12..ae477854d 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -277,9 +277,9 @@ class Intel(linear.LinearlyMappedLayer): This allows translation layers to provide maps of contiguous regions in one layer """ - stashed_offset = ( - stashed_mapped_offset - ) = stashed_size = stashed_mapped_size = stashed_map_layer = None + stashed_offset = stashed_mapped_offset = stashed_size = stashed_mapped_size = ( + stashed_map_layer + ) = None for offset, size, mapped_offset, mapped_size, map_layer in self._mapping( offset, length, ignore_errors ): diff --git a/volatility3/framework/layers/lime.py b/volatility3/framework/layers/lime.py index 28d646640..8b93932ab 100644 --- a/volatility3/framework/layers/lime.py +++ b/volatility3/framework/layers/lime.py @@ -104,7 +104,7 @@ class LimeStacker(interfaces.automagic.StackerLayerInterface): except LimeFormatException: return None new_name = context.layers.free_layer_name("LimeLayer") - context.config[ - interfaces.configuration.path_join(new_name, "base_layer") - ] = layer_name + context.config[interfaces.configuration.path_join(new_name, "base_layer")] = ( + layer_name + ) return LimeLayer(context, new_name, new_name) diff --git a/volatility3/framework/layers/qemu.py b/volatility3/framework/layers/qemu.py index 501b8655e..ff483291c 100644 --- a/volatility3/framework/layers/qemu.py +++ b/volatility3/framework/layers/qemu.py @@ -486,9 +486,9 @@ class QemuStacker(interfaces.automagic.StackerLayerInterface): except exceptions.LayerException: return None new_name = context.layers.free_layer_name("QemuSuspendLayer") - context.config[ - interfaces.configuration.path_join(new_name, "base_layer") - ] = layer_name + context.config[interfaces.configuration.path_join(new_name, "base_layer")] = ( + layer_name + ) layer = QemuSuspendLayer(context, new_name, new_name) cls.stacker_slow_warning() return layer diff --git a/volatility3/framework/layers/xen.py b/volatility3/framework/layers/xen.py index f7881a091..927b30430 100644 --- a/volatility3/framework/layers/xen.py +++ b/volatility3/framework/layers/xen.py @@ -173,8 +173,8 @@ class XenCoreDumpStacker(elf.Elf64Stacker): vollog.log(constants.LOGLEVEL_VVVV, f"Exception: {excp}") return None new_name = context.layers.free_layer_name("XenCoreDumpLayer") - context.config[ - interfaces.configuration.path_join(new_name, "base_layer") - ] = layer_name + context.config[interfaces.configuration.path_join(new_name, "base_layer")] = ( + layer_name + ) return XenCoreDumpLayer(context, new_name, new_name) diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index 831856e3d..316a30bec 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -768,12 +768,10 @@ class Array(interfaces.objects.ObjectInterface, collections.abc.Sequence): raise IndexError(f"Member not present in array template: {child}") @overload - def __getitem__(self, i: int) -> interfaces.objects.Template: - ... + def __getitem__(self, i: int) -> interfaces.objects.Template: ... @overload - def __getitem__(self, s: slice) -> List[interfaces.objects.Template]: - ... + def __getitem__(self, s: slice) -> List[interfaces.objects.Template]: ... def __getitem__(self, i): """Returns the i-th item from the array.""" diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index 88045a277..9b570f3f9 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -49,9 +49,7 @@ class PsList(interfaces.plugins.PluginInterface): ] @classmethod - def get_list_tasks( - cls, method: str - ) -> Callable[ + def get_list_tasks(cls, method: str) -> Callable[ [interfaces.context.ContextInterface, str, Callable[[int], bool]], Iterable[interfaces.objects.ObjectInterface], ]: diff --git a/volatility3/framework/plugins/windows/crashinfo.py b/volatility3/framework/plugins/windows/crashinfo.py index 4ecd85087..862eb6080 100644 --- a/volatility3/framework/plugins/windows/crashinfo.py +++ b/volatility3/framework/plugins/windows/crashinfo.py @@ -46,9 +46,9 @@ class Crashinfo(interfaces.plugins.PluginInterface): bitmap_size = format_hints.Hex(summary_header.BitmapSize) bitmap_pages = format_hints.Hex(summary_header.Pages) else: - bitmap_header_size = ( - bitmap_size - ) = bitmap_pages = renderers.NotApplicableValue() + bitmap_header_size = bitmap_size = bitmap_pages = ( + renderers.NotApplicableValue() + ) yield ( 0, diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 7e4e1ca18..a266fd864 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -176,7 +176,6 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): class ADS(interfaces.plugins.PluginInterface): - """Scans for Alternate Data Stream""" _required_framework_version = (2, 0, 0) diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index d0bbd5cbd..62ead3ab7 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -487,10 +487,12 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): if not isinstance(row_data[9], datetime.datetime): continue row_data = [ - "N/A" - if isinstance(i, renderers.UnreadableValue) - or isinstance(i, renderers.UnparsableValue) - else i + ( + "N/A" + if isinstance(i, renderers.UnreadableValue) + or isinstance(i, renderers.UnparsableValue) + else i + ) for i in row_data ] description = ( diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index e248c19bc..180f8f9d9 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -193,9 +193,9 @@ class PrintKey(interfaces.plugins.PluginInterface): vollog.debug( "Couldn't read registry value type, so data is unreadable" ) - value_data: Union[ - interfaces.renderers.BaseAbsentValue, bytes - ] = renderers.UnreadableValue() + value_data: Union[interfaces.renderers.BaseAbsentValue, bytes] = ( + renderers.UnreadableValue() + ) else: try: value_data = node.decode_data() diff --git a/volatility3/framework/renderers/conversion.py b/volatility3/framework/renderers/conversion.py index bf7da9ecb..bb18fcc8a 100644 --- a/volatility3/framework/renderers/conversion.py +++ b/volatility3/framework/renderers/conversion.py @@ -28,9 +28,9 @@ def wintime_to_datetime( def unixtime_to_datetime( unixtime: int, ) -> Union[interfaces.renderers.BaseAbsentValue, datetime.datetime]: - ret: Union[ - interfaces.renderers.BaseAbsentValue, datetime.datetime - ] = renderers.UnparsableValue() + ret: Union[interfaces.renderers.BaseAbsentValue, datetime.datetime] = ( + renderers.UnparsableValue() + ) if unixtime > 0: with contextlib.suppress(ValueError): diff --git a/volatility3/framework/symbols/__init__.py b/volatility3/framework/symbols/__init__.py index 10cf39cf1..d1e7a104d 100644 --- a/volatility3/framework/symbols/__init__.py +++ b/volatility3/framework/symbols/__init__.py @@ -35,9 +35,9 @@ class SymbolSpace(interfaces.symbols.SymbolSpaceInterface): def __init__(self) -> None: super().__init__() - self._dict: Dict[ - str, interfaces.symbols.BaseSymbolTableInterface - ] = collections.OrderedDict() + self._dict: Dict[str, interfaces.symbols.BaseSymbolTableInterface] = ( + collections.OrderedDict() + ) # Permanently cache all resolved symbols self._resolved: Dict[str, interfaces.objects.Template] = {} self._resolved_symbols: Dict[str, interfaces.objects.Template] = {} @@ -73,9 +73,9 @@ class SymbolSpace(interfaces.symbols.SymbolSpaceInterface): self, offset: int, size: int = 0, table_name: str = None ) -> Iterable[str]: """Returns all symbols that exist at a specific relative address.""" - table_list: Iterable[ - interfaces.symbols.BaseSymbolTableInterface - ] = self._dict.values() + table_list: Iterable[interfaces.symbols.BaseSymbolTableInterface] = ( + self._dict.values() + ) if table_name is not None: if table_name in self._dict: table_list = [self._dict[table_name]] @@ -179,15 +179,15 @@ class SymbolSpace(interfaces.symbols.SymbolSpaceInterface): if child.vol.type_name not in self._resolved: traverse_list.append(child.vol.type_name) try: - self._resolved[ - child.vol.type_name - ] = self._weak_resolve( - SymbolType.TYPE, child.vol.type_name + self._resolved[child.vol.type_name] = ( + self._weak_resolve( + SymbolType.TYPE, child.vol.type_name + ) ) except exceptions.SymbolError: - self._resolved[ - child.vol.type_name - ] = self.UnresolvedTemplate(child.vol.type_name) + self._resolved[child.vol.type_name] = ( + self.UnresolvedTemplate(child.vol.type_name) + ) # Stash the replacement replacements.add((traverser, child)) elif child.children: diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index d435851d7..846e5bd90 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -452,9 +452,9 @@ class FILE_OBJECT(objects.StructType, pool.ExecutiveObject): ].is_valid(self.FileName.Buffer) def file_name_with_device(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: - name: Union[ - str, interfaces.renderers.BaseAbsentValue - ] = renderers.UnreadableValue() + name: Union[str, interfaces.renderers.BaseAbsentValue] = ( + renderers.UnreadableValue() + ) # this pointer needs to be checked against native_layer_name because the object may # be instantiated from a primary (virtual) layer or a memory (physical) layer. diff --git a/volatility3/plugins/windows/statistics.py b/volatility3/plugins/windows/statistics.py index 9915312e3..7f56b75f8 100644 --- a/volatility3/plugins/windows/statistics.py +++ b/volatility3/plugins/windows/statistics.py @@ -31,13 +31,9 @@ class Statistics(plugins.PluginInterface): # Do mass mapping and determine the number of different layers and how many pages go to each one layer = self.context.layers[self.config["primary"]] - page_count = ( - swap_count - ) = ( - invalid_page_count - ) = ( - large_page_count - ) = large_swap_count = large_invalid_count = other_invalid = 0 + page_count = swap_count = invalid_page_count = large_page_count = ( + large_swap_count + ) = large_invalid_count = other_invalid = 0 if isinstance(layer, intel.Intel): page_addr = 0 From ba488c78cd02478a60ba94a72d1c6a712f02c365 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 31 Jan 2024 21:13:00 +0000 Subject: [PATCH 0349/2186] Documentation: Bump the copyright here to 2024 --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index d601c1eee..cabfdc327 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -169,7 +169,7 @@ master_doc = "index" # General information about the project. project = "Volatility 3" -copyright = "2012-2022, Volatility Foundation" +copyright = "2012-2024, Volatility Foundation" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the From f95be04305d7fe1bedf599849d40996f82d2032b Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 31 Jan 2024 21:13:00 +0000 Subject: [PATCH 0350/2186] Documentation: Bump the copyright here to 2024 --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index d601c1eee..cabfdc327 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -169,7 +169,7 @@ master_doc = "index" # General information about the project. project = "Volatility 3" -copyright = "2012-2022, Volatility Foundation" +copyright = "2012-2024, Volatility Foundation" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the From 6f1e7c2145ba34643587db4322237731c88b2a5d Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Feb 2024 16:43:58 +1100 Subject: [PATCH 0351/2186] Add test for linux.ip.Addr and linux-sample-1.bin --- test/test_volatility.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/test/test_volatility.py b/test/test_volatility.py index aaad615bc..a5d97ce6e 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -6,6 +6,7 @@ # import os +import re import subprocess import sys import shutil @@ -331,6 +332,22 @@ def test_linux_tty_check(image, volatility, python): assert rc == 0 +def test_linux_ip_addr(image, volatility, python): + rc, out, err = runvol_plugin("linux.ip.Addr", image, volatility, python) + out = out.lower() + + assert re.search( + rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+false\s+192.168.201.161\s+24\s+global\s+up", + out, + ) + assert re.search( + rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+false\s+fe80::20c:29ff:fe8f:edca\s+64\s+link\s+up", + out, + ) + assert out.count(b"\n") >= 8 + assert rc == 0 + + # MAC From 260fbd8d241013c866b0dc4ef54b73793ee9f501 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Feb 2024 17:03:14 +1100 Subject: [PATCH 0352/2186] Python os.path module precisely does that by checking the current platform and, based on it, utilizes either the posixpath or ntpath modules --- test/test_volatility.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index a5d97ce6e..61e6fe029 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -12,7 +12,6 @@ import sys import shutil import tempfile import hashlib -import ntpath import json # @@ -125,11 +124,7 @@ def test_windows_dumpfiles(image, volatility, python): known_files = json.load(json_file) failed_chksms = 0 - - if sys.platform == "win32": - file_name = ntpath.basename(image) - else: - file_name = os.path.basename(image) + file_name = os.path.basename(image) try: for addr in known_files["windows_dumpfiles"][file_name]: From 7b1c75cc87791218fe13a4b4e10bf8a0773f2198 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Feb 2024 20:57:26 +1100 Subject: [PATCH 0353/2186] Linux: Add the linux.ip.Link plugin by @eve-mem - On top of the @eve-mem, I've added the queue length field to mimic the ip link command. - Furthermore, I've included some functions to export the network device flags exactly as they are presented to userland --- volatility3/framework/plugins/linux/ip.py | 91 ++++++++++++- .../symbols/linux/extensions/__init__.py | 121 +++++++++++++++++- 2 files changed, 208 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/ip.py b/volatility3/framework/plugins/linux/ip.py index 19393a853..a8d7e813e 100644 --- a/volatility3/framework/plugins/linux/ip.py +++ b/volatility3/framework/plugins/linux/ip.py @@ -6,7 +6,6 @@ from typing import List from volatility3.framework import interfaces, renderers, constants from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins -from volatility3.framework.objects import utility class Addr(plugins.PluginInterface): @@ -30,7 +29,7 @@ class Addr(plugins.PluginInterface): mac_addr = net_dev.get_mac_address() promisc = net_dev.promisc operational_state = net_dev.get_operational_state() - iface_name = utility.array_to_string(net_dev.name) + iface_name = net_dev.get_device_name() iface_ifindex = net_dev.ifindex try: net_ns_id = net_dev.get_net_namespace_id() @@ -80,3 +79,91 @@ class Addr(plugins.PluginInterface): ] return renderers.TreeGrid(headers, self._generator()) + + +class Link(plugins.PluginInterface): + """Lists information about network interfaces similar to `ip link show`""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ) + ] + + def _gather_net_dev_link_info(self, net_device): + mac_addr = net_device.get_mac_address() + operational_state = net_device.get_operational_state() + iface_name = net_device.get_device_name() + mtu = net_device.mtu + qdisc_name = net_device.get_qdisc_name() + qlen = net_device.get_queue_length() + + # Format flags to string. Drop IFF_ to match iproute2 'ip link' output. + # Also, note that iproute2 removes IFF_RUNNING, see print_link_flags() + flags_list = [ + flag.replace("IFF_", "") + for flag in net_device.get_flag_names() + if flag != "IFF_RUNNING" + ] + flags_str = ",".join(flags_list) + + yield iface_name, mac_addr, operational_state, mtu, qdisc_name, qlen, flags_str + + @classmethod + def list_net_devices( + cls, + vmlinux: interfaces.context.ModuleInterface, + ) -> (interfaces.objects.ObjectInterface, interfaces.objects.ObjectInterface): + """Lists network devices + + Args: + vmlinux (ModuleInterface): The kernel symbols object + + Yields: + tuple: + net: Network namespace + net_device: Network device structure + """ + table_name = vmlinux.symbol_table_name + net_type_symname = table_name + constants.BANG + "net" + net_device_symname = table_name + constants.BANG + "net_device" + + # 'net_namespace_list' exists from kernels >= 2.6.24 + net_namespace_list = vmlinux.object_from_symbol("net_namespace_list") + for net in net_namespace_list.to_list(net_type_symname, "list"): + for net_device in net.dev_base_head.to_list(net_device_symname, "dev_list"): + yield net, net_device + + def _generator(self): + vmlinux = self.context.modules[self.config["kernel"]] + + for net_dev, net_device in self.list_net_devices(vmlinux): + for device_link_info in self._gather_net_dev_link_info(net_device): + try: + net_ns_id = net_dev.get_net_namespace_id() + except AttributeError: + net_ns_id = renderers.NotAvailableValue() + + fields = [net_ns_id, *device_link_info] + yield (0, fields) + + def run(self): + headers = [ + ("NS", int), + ("Interface", str), + ("MAC", str), + ("State", str), + ("MTU", int), + ("Qdisc", str), + ("Qlen", int), + ("Flags", str), + ] + + return renderers.TreeGrid(headers, self._generator()) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index b5f650f6b..a1b8a3e83 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -21,6 +21,7 @@ from volatility3.framework import exceptions, objects, interfaces, symbols from volatility3.framework.layers import linear from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed +from volatility3.framework.symbols.wrappers import Flags from volatility3.framework.symbols.linux.extensions import elf vollog = logging.getLogger(__name__) @@ -1237,6 +1238,14 @@ class net(objects.StructType): class net_device(objects.StructType): + def get_device_name(self) -> str: + """Return the network device name + + Returns: + str: The network device name + """ + return utility.array_to_string(self.name) + def _format_as_mac_address(self, hwaddr): return ":".join([f"{x:02x}" for x in hwaddr[: self.addr_len]]) @@ -1281,13 +1290,105 @@ class net_device(objects.StructType): """Return the net_device flag value based on the flag name""" return self._get_flag_choices().get(name, UnparsableValue()) + def _get_netdev_state_t(self): + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + try: + # At least from kernels 2.6.30 + return vmlinux.get_enumeration("netdev_state_t") + except exceptions.SymbolError: + raise exceptions.VolatilityException( + "Unsupported kernel or wrong ISF. Cannot find 'netdev_state_t' enumeration" + ) + + def is_running(self) -> bool: + """Test if the network device has been brought up + Based on netif_running() + + Returns: + bool: True if the device is UP + """ + netdev_state_t_enum = self._get_netdev_state_t() + + # It should be safe. netdev_state_t::__LINK_STATE_START has been available since + # at least kernels 2.6.30 + return ( + self.state & (1 << netdev_state_t_enum.choices["__LINK_STATE_START"]) != 0 + ) + + def is_carrier_ok(self) -> bool: + """Check if carrier is present on network device + Based on netif_carrier_ok() + + Returns: + bool: True if carrier present + """ + netdev_state_t_enum = self._get_netdev_state_t() + + # It should be safe. netdev_state_t::__LINK_STATE_NOCARRIER has been available + # since at least kernels 2.6.30 + return ( + self.state & (1 << netdev_state_t_enum.choices["__LINK_STATE_NOCARRIER"]) + == 0 + ) + + def is_dormant(self) -> bool: + """Check if the network device is dormant + Based on netif_dormant(() + + Returns: + bool: True if the network device is dormant + """ + netdev_state_t_enum = self._get_netdev_state_t() + + # It should be safe. netdev_state_t::__LINK_STATE_DORMANT has been available + # since at least kernels 2.6.30 + return ( + self.state & (1 << netdev_state_t_enum.choices["__LINK_STATE_DORMANT"]) != 0 + ) + + def is_operational(self) -> bool: + """Test if the carrier is operational + Based on netif_oper_up() + + Returns: + bool: True if the device is UP + """ + + return self.get_operational_state() in ("UP", "UNKNOWN") + def get_flag_names(self) -> List[str]: - """Return the net_device flags as a list of strings + """Return the net_device flags as a list of strings. + This is the combination of flags exported through kernel APIs to userspace. + Based on dev_get_flags() Returns: List[str]: A list of flag names """ - return list(self._get_flag_choices()) + choices = self._get_flag_choices() + clear_flags = choices.get("IFF_PROMISC", 0) + clear_flags |= choices.get("IFF_ALLMULTI", 0) + clear_flags |= choices.get("IFF_RUNNING", 0) + clear_flags |= choices.get("IFF_LOWER_UP", 0) + clear_flags |= choices.get("IFF_DORMANT", 0) + + clear_gflags = choices.get("IFF_PROMISC", 0) + clear_gflags |= choices.get("IFF_ALLMULTI)", 0) + + flags = (self.flags & ~clear_flags) | (self.gflags & ~clear_gflags) + + if self.is_running(): + if self.is_operational(): + flags |= choices.get("IFF_RUNNING", 0) + if self.is_carrier_ok(): + flags |= choices.get("IFF_LOWER_UP", 0) + if self.is_dormant(): + flags |= choices.get("IFF_DORMANT", 0) + + net_device_flags_enum_flags = Flags(choices) + net_device_flags = net_device_flags_enum_flags(flags) + + # It's preferable to provide a deterministic list of items. i.e. for testing + return sorted(net_device_flags) @property def promisc(self): @@ -1327,6 +1428,22 @@ class net_device(objects.StructType): vollog.warning(f"Invalid net_device operational state '{self.operstate}'") return UnparsableValue() + def get_qdisc_name(self) -> str: + """Return the network device queuing discipline (qdisc) name + + Returns: + str: A string with the queuing discipline (qdisc) name + """ + return utility.array_to_string(self.qdisc.ops.id) + + def get_queue_length(self) -> int: + """Return the netwrok device transmision qeueue length (qlen) + + Returns: + int: the netwrok device transmision qeueue length (qlen) + """ + return self.tx_queue_len + class in_device(objects.StructType): def get_addresses(self): From 8b6bd0f74ea65e4a1394b971c7aaf521dff36d14 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Feb 2024 21:02:05 +1100 Subject: [PATCH 0354/2186] Add linux.ip.Link test using linux-sample-1.bin image --- test/test_volatility.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/test_volatility.py b/test/test_volatility.py index 61e6fe029..3185b7d58 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -343,6 +343,21 @@ def test_linux_ip_addr(image, volatility, python): assert rc == 0 +def test_linux_ip_link(image, volatility, python): + rc, out, err = runvol_plugin("linux.ip.Link", image, volatility, python) + + assert re.search( + rb"-\s+lo\s+00:00:00:00:00:00\s+UNKNOWN\s+16436\s+noqueue\s+0\s+LOOPBACK,LOWER_UP,UP", + out, + ) + assert re.search( + rb"-\s+eth0\s+00:0c:29:8f:ed:ca\s+UP\s+1500\s+pfifo_fast\s+1000\s+BROADCAST,LOWER_UP,MULTICAST,UP", + out, + ) + assert out.count(b"\n") >= 6 + assert rc == 0 + + # MAC From 5219e8aaae87e0b39c707765fb9a09717ffe3f2c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Feb 2024 21:03:03 +1100 Subject: [PATCH 0355/2186] Remove lowercase matching from linux.ip.Addr test --- test/test_volatility.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 3185b7d58..348c161da 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -329,14 +329,13 @@ def test_linux_tty_check(image, volatility, python): def test_linux_ip_addr(image, volatility, python): rc, out, err = runvol_plugin("linux.ip.Addr", image, volatility, python) - out = out.lower() assert re.search( - rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+false\s+192.168.201.161\s+24\s+global\s+up", + rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+False\s+192.168.201.161\s+24\s+global\s+UP", out, ) assert re.search( - rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+false\s+fe80::20c:29ff:fe8f:edca\s+64\s+link\s+up", + rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+False\s+fe80::20c:29ff:fe8f:edca\s+64\s+link\s+UP", out, ) assert out.count(b"\n") >= 8 From 828b6882328b214419de325dc90ed29891f9794b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Feb 2024 21:29:10 +1100 Subject: [PATCH 0356/2186] Fix issue with net namespace id and improve code --- volatility3/framework/plugins/linux/ip.py | 47 +++++++---------------- 1 file changed, 13 insertions(+), 34 deletions(-) diff --git a/volatility3/framework/plugins/linux/ip.py b/volatility3/framework/plugins/linux/ip.py index a8d7e813e..6b523379b 100644 --- a/volatility3/framework/plugins/linux/ip.py +++ b/volatility3/framework/plugins/linux/ip.py @@ -104,6 +104,10 @@ class Link(plugins.PluginInterface): mtu = net_device.mtu qdisc_name = net_device.get_qdisc_name() qlen = net_device.get_queue_length() + try: + net_ns_id = net_device.get_net_namespace_id() + except AttributeError: + net_ns_id = renderers.NotAvailableValue() # Format flags to string. Drop IFF_ to match iproute2 'ip link' output. # Also, note that iproute2 removes IFF_RUNNING, see print_link_flags() @@ -114,45 +118,20 @@ class Link(plugins.PluginInterface): ] flags_str = ",".join(flags_list) - yield iface_name, mac_addr, operational_state, mtu, qdisc_name, qlen, flags_str - - @classmethod - def list_net_devices( - cls, - vmlinux: interfaces.context.ModuleInterface, - ) -> (interfaces.objects.ObjectInterface, interfaces.objects.ObjectInterface): - """Lists network devices - - Args: - vmlinux (ModuleInterface): The kernel symbols object - - Yields: - tuple: - net: Network namespace - net_device: Network device structure - """ - table_name = vmlinux.symbol_table_name - net_type_symname = table_name + constants.BANG + "net" - net_device_symname = table_name + constants.BANG + "net_device" - - # 'net_namespace_list' exists from kernels >= 2.6.24 - net_namespace_list = vmlinux.object_from_symbol("net_namespace_list") - for net in net_namespace_list.to_list(net_type_symname, "list"): - for net_device in net.dev_base_head.to_list(net_device_symname, "dev_list"): - yield net, net_device + yield net_ns_id, iface_name, mac_addr, operational_state, mtu, qdisc_name, qlen, flags_str def _generator(self): vmlinux = self.context.modules[self.config["kernel"]] - for net_dev, net_device in self.list_net_devices(vmlinux): - for device_link_info in self._gather_net_dev_link_info(net_device): - try: - net_ns_id = net_dev.get_net_namespace_id() - except AttributeError: - net_ns_id = renderers.NotAvailableValue() + net_type_symname = vmlinux.symbol_table_name + constants.BANG + "net" + net_device_symname = vmlinux.symbol_table_name + constants.BANG + "net_device" - fields = [net_ns_id, *device_link_info] - yield (0, fields) + # 'net_namespace_list' exists from kernels >= 2.6.24 + net_namespace_list = vmlinux.object_from_symbol("net_namespace_list") + for net_ns in net_namespace_list.to_list(net_type_symname, "list"): + for net_dev in net_ns.dev_base_head.to_list(net_device_symname, "dev_list"): + for fields in self._gather_net_dev_link_info(net_dev): + yield 0, fields def run(self): headers = [ From d1c7f14a75dc36c32523caa907aa49375c772160 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 2 Feb 2024 13:28:04 +0000 Subject: [PATCH 0357/2186] Linux: attempt to fix issue 1089 --- .../symbols/linux/extensions/__init__.py | 75 ++++++++++++++----- 1 file changed, 56 insertions(+), 19 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d8a2867cc..f67e3962b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -26,42 +26,79 @@ vollog = logging.getLogger(__name__) class module(generic.GenericIntelProcess): + def _get_mod_mem_type(self): + """Attempt to get the mod_mem_type enum once to allow repeated access from other functions""" + if not self.has_member("mod_mem_type"): + try: + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type( + self._context, self + ) + # mod_mem_type and module_memory were added in kernel 6.4 which replaces + # module_layout for storing the information around core_layout etc. + # see commit ac3b43283923440900b4f36ca5f9f0b1ca43b70e for more information + self.mod_mem_type = vmlinux.get_enumeration("mod_mem_type").choices + except exceptions.SymbolError: + vollog.debug( + f"Unable to find mod_mem_type enum. This is expected on kernels <6.4 but may cause issues with later kernels" + ) + self.mod_mem_type = None + def get_module_base(self): - if self.has_member("core_layout"): - return self.core_layout.base + self._get_mod_mem_type() + if self.mod_mem_type: + return self.mem[self.mod_mem_type["MOD_TEXT"]].base else: - return self.module_core + if self.has_member("core_layout"): + return self.core_layout.base + else: + return self.module_core def get_init_size(self): - if self.has_member("init_layout"): - return self.init_layout.size - elif self.has_member("init_size"): - return self.init_size + self._get_mod_mem_type() + if self.mod_mem_type: + return self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].size + else: + if self.has_member("init_layout"): + return self.init_layout.size + elif self.has_member("init_size"): + return self.init_size raise AttributeError( "module -> get_init_size: Unable to determine .init section size of module" ) def get_core_size(self): - if self.has_member("core_layout"): - return self.core_layout.size - elif self.has_member("core_size"): - return self.core_size + self._get_mod_mem_type() + if self.mod_mem_type: + return self.mem[self.mod_mem_type["MOD_TEXT"]].size + else: + if self.has_member("core_layout"): + return self.core_layout.size + elif self.has_member("core_size"): + return self.core_size raise AttributeError( "module -> get_core_size: Unable to determine core size of module" ) def get_module_core(self): - if self.has_member("core_layout"): - return self.core_layout.base - elif self.has_member("module_core"): - return self.module_core + self._get_mod_mem_type() + if self.mod_mem_type: + return self.mem[self.mod_mem_type["MOD_TEXT"]].base + else: + if self.has_member("core_layout"): + return self.core_layout.base + elif self.has_member("module_core"): + return self.module_core raise AttributeError("module -> get_module_core: Unable to get module core") def get_module_init(self): - if self.has_member("init_layout"): - return self.init_layout.base - elif self.has_member("module_init"): - return self.module_init + self._get_mod_mem_type() + if self.mod_mem_type: + return self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].base + else: + if self.has_member("init_layout"): + return self.init_layout.base + elif self.has_member("module_init"): + return self.module_init raise AttributeError("module -> get_module_core: Unable to get module init") def get_name(self): From ecf20d99b4ddc3d28c577ee383902877c3090d45 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 2 Feb 2024 13:28:57 +0000 Subject: [PATCH 0358/2186] Linux: fix typo in error message in module.get_module_init extension --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index f67e3962b..9c15acef5 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -99,7 +99,7 @@ class module(generic.GenericIntelProcess): return self.init_layout.base elif self.has_member("module_init"): return self.module_init - raise AttributeError("module -> get_module_core: Unable to get module init") + raise AttributeError("module -> get_module_init: Unable to get module init") def get_name(self): """Get the name of the module as a string""" From 261d7ffbf2e6837980989292b3966ddd2042d277 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 2 Feb 2024 14:03:55 +0000 Subject: [PATCH 0359/2186] Linux: include all mod mem types in size calculations --- .../framework/symbols/linux/extensions/__init__.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 9c15acef5..e3ff4bdd5 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -56,7 +56,11 @@ class module(generic.GenericIntelProcess): def get_init_size(self): self._get_mod_mem_type() if self.mod_mem_type: - return self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].size + return ( + self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].size + + self.mem[self.mod_mem_type["MOD_INIT_DATA"]].size + + self.mem[self.mod_mem_type["MOD_INIT_RODATA"]].size + ) else: if self.has_member("init_layout"): return self.init_layout.size @@ -69,7 +73,12 @@ class module(generic.GenericIntelProcess): def get_core_size(self): self._get_mod_mem_type() if self.mod_mem_type: - return self.mem[self.mod_mem_type["MOD_TEXT"]].size + return ( + self.mem[self.mod_mem_type["MOD_TEXT"]].size + + self.mem[self.mod_mem_type["MOD_DATA"]].size + + self.mem[self.mod_mem_type["MOD_RODATA"]].size + + self.mem[self.mod_mem_type["MOD_RO_AFTER_INIT"]].size + ) else: if self.has_member("core_layout"): return self.core_layout.size From 130621a2e7655015f220ac561de974e99f571fca Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Fri, 2 Feb 2024 20:04:36 +0100 Subject: [PATCH 0360/2186] Changing comment when Type error is occuring --- volatility3/framework/plugins/windows/iat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/iat.py b/volatility3/framework/plugins/windows/iat.py index 11c273859..73976fb86 100644 --- a/volatility3/framework/plugins/windows/iat.py +++ b/volatility3/framework/plugins/windows/iat.py @@ -50,7 +50,7 @@ class IAT(interfaces.plugins.PluginInterface): ) if proc_layer_name is None: - raise TypeError("Layer must be a string not None") + raise TypeError("add_process_layer failed") pe_table_name = intermed.IntermediateSymbolTable.create( self.context, From ab8ed049a4c4bddbc4c2a2129cb425b9113b5d37 Mon Sep 17 00:00:00 2001 From: Iyassou Shimels Date: Sat, 3 Feb 2024 11:32:00 +0300 Subject: [PATCH 0361/2186] Windows: add TrueCrypt plugin --- .../framework/plugins/windows/truecrypt.py | 141 ++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 volatility3/framework/plugins/windows/truecrypt.py diff --git a/volatility3/framework/plugins/windows/truecrypt.py b/volatility3/framework/plugins/windows/truecrypt.py new file mode 100644 index 000000000..988c900ea --- /dev/null +++ b/volatility3/framework/plugins/windows/truecrypt.py @@ -0,0 +1,141 @@ +from typing import Iterable, Generator, List, Tuple + +from volatility3.framework import constants, interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces.configuration import RequirementInterface +from volatility3.framework.interfaces.objects import ObjectInterface +from volatility3.framework.objects import Bytes, DataFormatInfo, Integer, StructType +from volatility3.framework.objects.templates import ObjectTemplate +from volatility3.framework.objects.utility import array_to_string +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.windows.extensions import pe + +from volatility3.plugins.windows import modules + +class Passphrase(interfaces.plugins.PluginInterface): + """TrueCrypt Cached Passphrase Finder""" + + _version = (0, 1, 0) + _required_framework_version = (2, 5, 2) + + @classmethod + def get_requirements(cls) -> List[RequirementInterface]: + return [ + requirements.ModuleRequirement( + 'kernel', + description='Windows kernel', + architectures=['Intel32', 'Intel64'] + ), + requirements.VersionRequirement( + name='modules', + component=modules.Modules, + version=(1, 1, 0) + ), + requirements.IntRequirement( + name="min-length", + description="Minimum length of passphrases to identify", + default=5, + optional=True + ), + ] + + def scan_module(self, module_base: int, layer_name: str) -> Generator[Tuple[int, str], None, None]: + """Scans the TrueCrypt kernel module for cached passphrases. + + Args: + module_base: the module's DLL base + layer_name: the name of the layer in which the module resides + + Generates: + A tuple of the offset at which a password is found, and the password + """ + pe_table_name = intermed.IntermediateSymbolTable.create( + self.context, + self.config_path, + "windows", + "pe", + class_types=pe.class_types + ) + dos_header: pe.IMAGE_DOS_HEADER = self.context.object( + pe_table_name + constants.BANG + '_IMAGE_DOS_HEADER', + layer_name, + module_base, + ) + data_section: StructType = next( + sec for sec in dos_header.get_nt_header().get_sections() + if array_to_string(sec.Name) == '.data' + ) + base: int = data_section.VirtualAddress + module_base + size: int = data_section.Misc.VirtualSize + # Looking at `Length` in TrueCrypt/Common/Password.h::Password struct + DWORD_SIZE_BYTES: int = 4 + format = DataFormatInfo(length=DWORD_SIZE_BYTES, byteorder="little", signed=True) + int32 = ObjectTemplate( + Integer, + pe_table_name + constants.BANG + 'int', + data_format=format + ) + count, not_aligned = divmod(size, DWORD_SIZE_BYTES) + if not_aligned: + raise ValueError("PE data section not DWORD-aligned!") + lengths = self.context.object( + pe_table_name + constants.BANG + 'array', + layer_name, + base, + count=count, + subtype=int32, + ) + min_length = self.config.get('min-length') + for length in lengths: + # TrueCrypt maximum password length is 64 + # (see TrueCrypt/Common/Password.h) + if not min_length <= length <= 64: + continue + offset = length.vol['offset'] + DWORD_SIZE_BYTES + passphrase: Bytes = self.context.object( + pe_table_name + constants.BANG + 'bytes', + layer_name, + offset, + length=length, + ) + # TrueCrypt/Common/Password.c permits chars in the range + # [0x20, 0x7F). + if not all(0x20 <= c < 0x7F for c in passphrase): + continue + # TrueCrypt/Common/Password.h::Password struct is padded with + # 3 zero bytes to keep 64-byte alignment. + buf: Bytes = self.context.object( + pe_table_name + constants.BANG + 'bytes', + layer_name, + offset + length + 1, # +1 for '\0'-terminated password string + length=3 + ) + if any(buf): + continue + # Password found. + yield offset, passphrase.decode(encoding='ascii') + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + mods: Iterable[ObjectInterface] = modules.Modules.list_modules( + self.context, + kernel.layer_name, + kernel.symbol_table_name + ) + truecrypt_module_base = next( + mod.DllBase for mod in mods + if mod.BaseDllName.get_string().lower() == 'truecrypt.sys' + ) + for offset, password in self.scan_module(truecrypt_module_base, kernel.layer_name): + yield (0, (format_hints.Hex(offset), len(password), password)) + + def run(self) -> renderers.TreeGrid: + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("Length", int), + ("Password", str), + ], + self._generator() + ) From 41cbfbfa340ef8949d20e1717aa5baaee02ef984 Mon Sep 17 00:00:00 2001 From: Iyassou Shimels Date: Sat, 3 Feb 2024 11:58:25 +0300 Subject: [PATCH 0362/2186] add license --- volatility3/framework/plugins/windows/truecrypt.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/volatility3/framework/plugins/windows/truecrypt.py b/volatility3/framework/plugins/windows/truecrypt.py index 988c900ea..feba56965 100644 --- a/volatility3/framework/plugins/windows/truecrypt.py +++ b/volatility3/framework/plugins/windows/truecrypt.py @@ -1,3 +1,7 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + from typing import Iterable, Generator, List, Tuple from volatility3.framework import constants, interfaces, renderers From cf9029fd85ae090034a253e3dcd819a0381b6442 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sun, 4 Feb 2024 00:43:33 +0100 Subject: [PATCH 0363/2186] Fixing the year in the Copyright --- volatility3/framework/plugins/windows/iat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/iat.py b/volatility3/framework/plugins/windows/iat.py index 73976fb86..d2fdc0ad8 100644 --- a/volatility3/framework/plugins/windows/iat.py +++ b/volatility3/framework/plugins/windows/iat.py @@ -1,4 +1,4 @@ -# This file is Copyright 2023 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 import logging, io, pefile From d44c0fef36dfe1f7a83cc25211073489a56820be Mon Sep 17 00:00:00 2001 From: Iyassou Shimels Date: Sun, 4 Feb 2024 11:21:14 +0300 Subject: [PATCH 0364/2186] run Black formatter --- .../framework/plugins/windows/truecrypt.py | 79 +++++++++---------- 1 file changed, 39 insertions(+), 40 deletions(-) diff --git a/volatility3/framework/plugins/windows/truecrypt.py b/volatility3/framework/plugins/windows/truecrypt.py index feba56965..81250a749 100644 --- a/volatility3/framework/plugins/windows/truecrypt.py +++ b/volatility3/framework/plugins/windows/truecrypt.py @@ -17,6 +17,7 @@ from volatility3.framework.symbols.windows.extensions import pe from volatility3.plugins.windows import modules + class Passphrase(interfaces.plugins.PluginInterface): """TrueCrypt Cached Passphrase Finder""" @@ -27,78 +28,75 @@ class Passphrase(interfaces.plugins.PluginInterface): def get_requirements(cls) -> List[RequirementInterface]: return [ requirements.ModuleRequirement( - 'kernel', - description='Windows kernel', - architectures=['Intel32', 'Intel64'] + "kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name='modules', - component=modules.Modules, - version=(1, 1, 0) + name="modules", component=modules.Modules, version=(1, 1, 0) ), requirements.IntRequirement( name="min-length", description="Minimum length of passphrases to identify", default=5, - optional=True + optional=True, ), ] - - def scan_module(self, module_base: int, layer_name: str) -> Generator[Tuple[int, str], None, None]: + + def scan_module( + self, module_base: int, layer_name: str + ) -> Generator[Tuple[int, str], None, None]: """Scans the TrueCrypt kernel module for cached passphrases. - + Args: module_base: the module's DLL base layer_name: the name of the layer in which the module resides - + Generates: A tuple of the offset at which a password is found, and the password """ pe_table_name = intermed.IntermediateSymbolTable.create( - self.context, - self.config_path, - "windows", - "pe", - class_types=pe.class_types + self.context, self.config_path, "windows", "pe", class_types=pe.class_types ) dos_header: pe.IMAGE_DOS_HEADER = self.context.object( - pe_table_name + constants.BANG + '_IMAGE_DOS_HEADER', + pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", layer_name, module_base, ) data_section: StructType = next( - sec for sec in dos_header.get_nt_header().get_sections() - if array_to_string(sec.Name) == '.data' + sec + for sec in dos_header.get_nt_header().get_sections() + if array_to_string(sec.Name) == ".data" ) base: int = data_section.VirtualAddress + module_base size: int = data_section.Misc.VirtualSize # Looking at `Length` in TrueCrypt/Common/Password.h::Password struct DWORD_SIZE_BYTES: int = 4 - format = DataFormatInfo(length=DWORD_SIZE_BYTES, byteorder="little", signed=True) + format = DataFormatInfo( + length=DWORD_SIZE_BYTES, byteorder="little", signed=True + ) int32 = ObjectTemplate( - Integer, - pe_table_name + constants.BANG + 'int', - data_format=format + Integer, pe_table_name + constants.BANG + "int", data_format=format ) count, not_aligned = divmod(size, DWORD_SIZE_BYTES) if not_aligned: raise ValueError("PE data section not DWORD-aligned!") lengths = self.context.object( - pe_table_name + constants.BANG + 'array', + pe_table_name + constants.BANG + "array", layer_name, base, count=count, subtype=int32, ) - min_length = self.config.get('min-length') + min_length = self.config.get("min-length") for length in lengths: # TrueCrypt maximum password length is 64 # (see TrueCrypt/Common/Password.h) if not min_length <= length <= 64: continue - offset = length.vol['offset'] + DWORD_SIZE_BYTES + offset = length.vol["offset"] + DWORD_SIZE_BYTES passphrase: Bytes = self.context.object( - pe_table_name + constants.BANG + 'bytes', + pe_table_name + constants.BANG + "bytes", layer_name, offset, length=length, @@ -110,30 +108,31 @@ class Passphrase(interfaces.plugins.PluginInterface): # TrueCrypt/Common/Password.h::Password struct is padded with # 3 zero bytes to keep 64-byte alignment. buf: Bytes = self.context.object( - pe_table_name + constants.BANG + 'bytes', + pe_table_name + constants.BANG + "bytes", layer_name, - offset + length + 1, # +1 for '\0'-terminated password string - length=3 + offset + length + 1, # +1 for '\0'-terminated password string + length=3, ) if any(buf): continue # Password found. - yield offset, passphrase.decode(encoding='ascii') - + yield offset, passphrase.decode(encoding="ascii") + def _generator(self): kernel = self.context.modules[self.config["kernel"]] mods: Iterable[ObjectInterface] = modules.Modules.list_modules( - self.context, - kernel.layer_name, - kernel.symbol_table_name + self.context, kernel.layer_name, kernel.symbol_table_name ) truecrypt_module_base = next( - mod.DllBase for mod in mods - if mod.BaseDllName.get_string().lower() == 'truecrypt.sys' + mod.DllBase + for mod in mods + if mod.BaseDllName.get_string().lower() == "truecrypt.sys" ) - for offset, password in self.scan_module(truecrypt_module_base, kernel.layer_name): + for offset, password in self.scan_module( + truecrypt_module_base, kernel.layer_name + ): yield (0, (format_hints.Hex(offset), len(password), password)) - + def run(self) -> renderers.TreeGrid: return renderers.TreeGrid( [ @@ -141,5 +140,5 @@ class Passphrase(interfaces.plugins.PluginInterface): ("Length", int), ("Password", str), ], - self._generator() + self._generator(), ) From 6a384c197c7cc7429ea14417cec8703a5f759395 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 7 Feb 2024 09:04:55 +0000 Subject: [PATCH 0365/2186] Linux: update mm_struct extension so that _get_maple_tree_iter and _get_mmap_iter are more clearly identified, showing that get_vma_iter should be used instead --- .../symbols/linux/extensions/__init__.py | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d73d0cfb9..b57803d20 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -447,12 +447,14 @@ class maple_tree(objects.StructType): class mm_struct(objects.StructType): - def get_mmap_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: - """Returns an iterator for the mmap list member of an mm_struct.""" + def _get_mmap_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: + """Returns an iterator for the mmap list member of an mm_struct. Use this only if + required, get_vma_iter() will choose the correct _get_maple_tree_iter() or + _get_mmap_iter() automatically as required.""" if not self.has_member("mmap"): raise AttributeError( - "get_mmap_iter called on mm_struct where no mmap member exists." + "_get_mmap_iter called on mm_struct where no mmap member exists." ) if not self.mmap: return None @@ -466,12 +468,14 @@ class mm_struct(objects.StructType): seen.add(link.vol.offset) link = link.vm_next - def get_maple_tree_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: - """Returns an iterator for the mm_mt member of an mm_struct.""" + def _get_maple_tree_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: + """Returns an iterator for the mm_mt member of an mm_struct. Use this only if + required, get_vma_iter() will choose the correct _get_maple_tree_iter() or + get_mmap_iter() automatically as required.""" if not self.has_member("mm_mt"): raise AttributeError( - "get_maple_tree_iter called on mm_struct where no mm_mt member exists." + "_get_maple_tree_iter called on mm_struct where no mm_mt member exists." ) symbol_table_name = self.get_symbol_table_name() for vma_pointer in self.mm_mt.get_slot_iter(): @@ -487,9 +491,9 @@ class mm_struct(objects.StructType): """Returns an iterator for the VMAs in an mm_struct. Automatically choosing the mmap or mm_mt as required.""" if self.has_member("mmap"): - yield from self.get_mmap_iter() + yield from self._get_mmap_iter() elif self.has_member("mm_mt"): - yield from self.get_maple_tree_iter() + yield from self._get_maple_tree_iter() else: raise AttributeError("Unable to find mmap or mm_mt in mm_struct") From 18220498ae572fadf6e47c3e38ffe65c24447183 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 7 Feb 2024 09:07:19 +0000 Subject: [PATCH 0366/2186] Linux: update linux.pslist plugin to use task.mm.get_vma_iter() so that it works correctly on newer kernels --- volatility3/framework/plugins/linux/pslist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 9afd13e5a..771040dc0 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -17,7 +17,7 @@ class PsList(interfaces.plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (2, 2, 0) + _version = (2, 2, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -128,7 +128,7 @@ class PsList(interfaces.plugins.PluginInterface): else: # Find the vma that belongs to the main ELF of the process file_output = "Error outputting file" - for v in task.mm.get_mmap_iter(): + for v in task.mm.get_vma_iter(): if v.vm_start == task.mm.start_code: file_handle = elfs.Elfs.elf_dump( self.context, From 9127509db9a8bcfffc971e7b959d429ffcecea6e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 8 Feb 2024 11:13:14 +0000 Subject: [PATCH 0367/2186] CLI: Reblack after updating PR --- volatility3/cli/__init__.py | 45 ++++++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 0e7ba41ee..9393c0805 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -106,7 +106,7 @@ class CommandLine: ) # Load up system defaults - delayed_logs, default_config = self.load_system_defaults('vol.json') + delayed_logs, default_config = self.load_system_defaults("vol.json") parser = volargparse.HelpfulArgParser( add_help=False, @@ -280,7 +280,7 @@ class CommandLine: if partial_args.cache_path: constants.CACHE_PATH = partial_args.cache_path - + vollog.info(f"Volatility plugins path: {volatility3.plugins.__path__}") vollog.info(f"Volatility symbols path: {volatility3.symbols.__path__}") @@ -473,28 +473,47 @@ class CommandLine: ) return requirements.URIRequirement.location_from_file(filename) - def load_system_defaults(self, filename: str) -> Tuple[List[Tuple[int, str]], Dict[str, Any]]: + def load_system_defaults( + self, filename: str + ) -> Tuple[List[Tuple[int, str]], Dict[str, Any]]: """Modify the main configuration based on the default configuration override""" # Build the config path - default_config_path = os.path.join(os.path.expanduser("~"), ".config", "volatility3", filename) - if sys.platform == 'win32': - default_config_path = os.path.join(os.environ.get("APPDATA", os.path.expanduser("~")), "volatility3", - filename) + default_config_path = os.path.join( + os.path.expanduser("~"), ".config", "volatility3", filename + ) + if sys.platform == "win32": + default_config_path = os.path.join( + os.environ.get("APPDATA", os.path.expanduser("~")), + "volatility3", + filename, + ) delayed_logs = [] # Process it if the files exist if os.path.exists(default_config_path): - with open(default_config_path, 'rb') as config_json: + with open(default_config_path, "rb") as config_json: result = json.load(config_json) if not isinstance(result, dict): - delayed_logs.append((logging.INFO, - f'Default configuration file {default_config_path} does not contain a dictionary')) + delayed_logs.append( + ( + logging.INFO, + f"Default configuration file {default_config_path} does not contain a dictionary", + ) + ) else: delayed_logs.append( - (logging.INFO, f"Loading default configuration options from {default_config_path}")) - delayed_logs.append((logging.DEBUG, - f"Loaded configuration: {json.dumps(result, indent = 2, sort_keys = True)}")) + ( + logging.INFO, + f"Loading default configuration options from {default_config_path}", + ) + ) + delayed_logs.append( + ( + logging.DEBUG, + f"Loaded configuration: {json.dumps(result, indent = 2, sort_keys = True)}", + ) + ) return delayed_logs, result return delayed_logs, {} From a66a4461906e7661b957559634559a56ee6356f6 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 8 Feb 2024 11:16:35 +0000 Subject: [PATCH 0368/2186] CLI: Reblack after updating PR - take 2 --- volatility3/cli/volshell/__init__.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/volatility3/cli/volshell/__init__.py b/volatility3/cli/volshell/__init__.py index 40f42f3af..9e74acfec 100644 --- a/volatility3/cli/volshell/__init__.py +++ b/volatility3/cli/volshell/__init__.py @@ -56,7 +56,7 @@ class VolShell(cli.CommandLine): framework.require_interface_version(2, 0, 0) # Load up system defaults - delayed_logs, default_config = self.load_system_defaults('volshell.json') + delayed_logs, default_config = self.load_system_defaults("volshell.json") parser = argparse.ArgumentParser( prog=self.CLI_NAME, @@ -151,10 +151,12 @@ class VolShell(cli.CommandLine): default=constants.CACHE_PATH, type=str, ) - parser.add_argument("--offline", - help = "Do not search online for additional JSON files", - default = False, - action = 'store_true') + parser.add_argument( + "--offline", + help="Do not search online for additional JSON files", + default=False, + action="store_true", + ) # Volshell specific flags os_specific = parser.add_mutually_exclusive_group(required=False) From 7b42ef0a9f23ecb6b4fff2425c0ac33c85b30d04 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 8 Feb 2024 11:59:50 +0000 Subject: [PATCH 0369/2186] Documentation: Add in more information about overriding configuration values --- doc/source/vol-cli.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/source/vol-cli.rst b/doc/source/vol-cli.rst index cc6f7fe6a..7b91e815d 100644 --- a/doc/source/vol-cli.rst +++ b/doc/source/vol-cli.rst @@ -143,3 +143,18 @@ Options `hivescan` would match `windows.registry.hivescan.HiveScan`, but `pslist` is ambiguous because it could match `windows.pslist` or `linux.pslist`. + +Overriding options +------------------ + +The default values for the command line interface are defined by constants within the code, +but can be overridden by creating a JSON file (`%APPDATA%/volatility3/vol.json` for Windows +systems, or `~/.config/volatility3/vol.json` or `volshell.json` for all others). + +The format of this file is a JSON dictionary, containing the options above and their value. +It should be noted that the ordering is (`<` means is overridden by): + +`in-built default value < config file value < command line parameter` + +It should also be noted that boolean flags (such as `offline`) that are overridden as true will +not be unset by not specifying the command line flag. From 63a325c5157845d607d119971928657fb02ecdc2 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 8 Feb 2024 23:44:12 +0000 Subject: [PATCH 0370/2186] CLI: Add support for filtering lines from output --- volatility3/cli/__init__.py | 12 +++++++++++- volatility3/cli/text_renderer.py | 9 +++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 91bda7c66..2c6dde00a 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -22,6 +22,7 @@ import traceback from typing import Any, Dict, Type, Union from urllib import parse, request +from volatility3.cli import text_filter import volatility3.plugins import volatility3.symbols from volatility3 import framework @@ -230,6 +231,12 @@ class CommandLine: default=False, action="store_true", ) + parser.add_argument( + "--filters", + help="List of filters to apply to the output (in the form of [+-]columname,pattern[!])", + default=[], + action="append", + ) # We have to filter out help, otherwise parse_known_args will trigger the help message before having # processed the plugin choice or had the plugin subparser added. @@ -444,7 +451,10 @@ class CommandLine: try: # Construct and run the plugin if constructed: - renderers[args.renderer]().render(constructed.run()) + grid = constructed.run() + renderer = renderers[args.renderer]() + renderer.filter = text_filter.CLIFilter(grid, args.filters) + renderer.render(grid) except exceptions.VolatilityException as excp: self.process_exceptions(excp) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 6e58ee68d..b0ba6baa7 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -10,6 +10,7 @@ import string import sys from functools import wraps from typing import Any, Callable, Dict, List, Tuple +from volatility3.cli import text_filter from volatility3.framework import interfaces, renderers from volatility3.framework.renderers import format_hints @@ -134,6 +135,7 @@ class CLIRenderer(interfaces.renderers.Renderer): name = "unnamed" structured_output = False + filter: text_filter.CLIFilter = None class QuickTextRenderer(CLIRenderer): @@ -172,6 +174,9 @@ class QuickTextRenderer(CLIRenderer): outfd.write("\n{}\n".format("\t".join(line))) def visitor(node: interfaces.renderers.TreeNode, accumulator): + if self.filter and self.filter.filter(node.values): + return accumulator + accumulator.write("\n") # Nodes always have a path value, giving them a path_depth of at least 1, we use max just in case accumulator.write( @@ -306,6 +311,10 @@ class PrettyTextRenderer(CLIRenderer): max_column_widths[tree_indent_column] = max( max_column_widths.get(tree_indent_column, 0), node.path_depth ) + + if self.filter and self.filter.filter(node.values): + return accumulator + line = {} for column_index in range(len(grid.columns)): column = grid.columns[column_index] From d8d3e157afab853fbffff394d7d1bc371025664e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 8 Feb 2024 23:46:30 +0000 Subject: [PATCH 0371/2186] CLI: Don't forget the core text filter class --- volatility3/cli/text_filter.py | 96 ++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 volatility3/cli/text_filter.py diff --git a/volatility3/cli/text_filter.py b/volatility3/cli/text_filter.py new file mode 100644 index 000000000..314af9a7a --- /dev/null +++ b/volatility3/cli/text_filter.py @@ -0,0 +1,96 @@ +import logging +from typing import Any, List, Optional +from volatility3.framework import constants, interfaces +import re + +vollog = logging.getLogger(__name__) + + +class CLIFilter: + def __init__(self, treegrid, filters: List[str]): + self._filters = self._prepare(treegrid, filters) + + def _prepare(self, treegrid: interfaces.renderers.TreeGrid, filters: List[str]): + """Runs through the filter strings and creates the necessary filter objects""" + output = [] + + for filter in filters: + exclude = False + regex = False + pattern = None + column_name = None + if filter.startswith("-"): + exclude = True + filter = filter[1:] + elif filter.startswith("+"): + filter = filter[1:] + components = filter.split(",") + if len(components) < 2: + pattern = components[0] + else: + column_name = components[0] + pattern = ",".join(components[1:]) + if pattern and pattern.endswith("!"): + regex = True + pattern = pattern[:-1] + column_num = None + if column_name: + for num, column in enumerate(treegrid.columns): + if column_name.lower() in column.name.lower(): + column_num = num + break + if pattern: + output.append(ColumnFilter(column_num, pattern, regex, exclude)) + + vollog.log(constants.LOGLEVEL_VVV, "Filters:\n" + repr(output)) + + return output + + def filter( + self, + row: List[Any], + ) -> bool: + """Filters the row based on each of the column_filters""" + found = any([column_filter.found(row) for column_filter in self._filters]) + return not found + + +class ColumnFilter: + def __init__( + self, + column_num: Optional[int], + pattern: str, + regex: bool = False, + exclude: bool = False, + ) -> None: + self.column_num = column_num + self.pattern = pattern + self.exclude = exclude + self.regex = regex + + def find(self, item) -> bool: + """Identifies whether an item is found in the appropriate column""" + try: + if self.regex: + return re.search(self.pattern, f"{item}") + return self.pattern in f"{item}" + except IOError: + return False + + def found(self, row: List[Any]) -> bool: + """Determines whether a row should be filtered + + If the classes exclude value is false, and the necessary pattern is found, the row is not filtered, + otherwise it is filtered. + """ + if self.column_num is None: + found = any([self.find(x) for x in row]) + else: + found = self.find(row[self.column_num]) + if self.exclude: + return not found + return found + + def __repr__(self) -> str: + """Returns a display of a column filter""" + return f"ColumnFilter(column={self.column_num},exclude={self.exclude},regex={self.regex},pattern={self.pattern})" From 865f004f5c6628c230c3dedde0e04573aa4e1339 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 9 Feb 2024 00:00:21 +0000 Subject: [PATCH 0372/2186] CLI: Ensure no filters still returns results --- volatility3/cli/text_filter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/cli/text_filter.py b/volatility3/cli/text_filter.py index 314af9a7a..948e969df 100644 --- a/volatility3/cli/text_filter.py +++ b/volatility3/cli/text_filter.py @@ -51,6 +51,8 @@ class CLIFilter: row: List[Any], ) -> bool: """Filters the row based on each of the column_filters""" + if not self._filters: + return False found = any([column_filter.found(row) for column_filter in self._filters]) return not found From 683319bd7f96cef33e4b1cc4333d4c0835310113 Mon Sep 17 00:00:00 2001 From: Eve Date: Mon, 12 Feb 2024 08:47:02 +0000 Subject: [PATCH 0373/2186] Linux: add deprecation warning for get_maple_tree_iter and get_mmap_iter mm_struct extensions. --- .../symbols/linux/extensions/__init__.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index b57803d20..f9db30498 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -447,6 +447,16 @@ class maple_tree(objects.StructType): class mm_struct(objects.StructType): + + def get_mmap_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: + """ + Deprecated: Use either get_vma_iter() or _get_mmap_iter(). + """ + vollog.warning( + "This method has been deprecated in favour of using the get_vma_iter() method." + ) + yield from self.get_vma_iter() + def _get_mmap_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """Returns an iterator for the mmap list member of an mm_struct. Use this only if required, get_vma_iter() will choose the correct _get_maple_tree_iter() or @@ -468,6 +478,15 @@ class mm_struct(objects.StructType): seen.add(link.vol.offset) link = link.vm_next + def get_maple_tree_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: + """ + Deprecated: Use either get_vma_iter() or _get_maple_tree_iter(). + """ + vollog.warning( + "This method has been deprecated in favour of using the get_vma_iter() method." + ) + yield from self.get_vma_iter() + def _get_maple_tree_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """Returns an iterator for the mm_mt member of an mm_struct. Use this only if required, get_vma_iter() will choose the correct _get_maple_tree_iter() or From 0e75140ec5a36e8f9933eee90cc74f0e06789242 Mon Sep 17 00:00:00 2001 From: Eve Date: Mon, 12 Feb 2024 09:35:06 +0000 Subject: [PATCH 0374/2186] Linux: update module extension with mod_mem_type property and add try/except for get methods --- .../symbols/linux/extensions/__init__.py | 75 ++++++++++++------- 1 file changed, 50 insertions(+), 25 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3557f3a17..fb60e3b97 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -15,6 +15,7 @@ from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATE from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES from volatility3.framework.constants.linux import CAPABILITIES from volatility3.framework import exceptions, objects, interfaces, symbols +from volatility3.framework.renderers import UnparsableValue from volatility3.framework.layers import linear from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed @@ -26,9 +27,10 @@ vollog = logging.getLogger(__name__) class module(generic.GenericIntelProcess): - def _get_mod_mem_type(self): - """Attempt to get the mod_mem_type enum once to allow repeated access from other functions""" - if not self.has_member("mod_mem_type"): + @property + def mod_mem_type(self): + """Return the mod_mem_type enum choices if available or None if not""" + if not self.has_member("_mod_mem_type"): try: vmlinux = linux.LinuxUtilities.get_module_from_volobj_type( self._context, self @@ -36,31 +38,41 @@ class module(generic.GenericIntelProcess): # mod_mem_type and module_memory were added in kernel 6.4 which replaces # module_layout for storing the information around core_layout etc. # see commit ac3b43283923440900b4f36ca5f9f0b1ca43b70e for more information - self.mod_mem_type = vmlinux.get_enumeration("mod_mem_type").choices + self._mod_mem_type = vmlinux.get_enumeration("mod_mem_type").choices except exceptions.SymbolError: vollog.debug( f"Unable to find mod_mem_type enum. This is expected on kernels <6.4 but may cause issues with later kernels" ) - self.mod_mem_type = None + self._mod_mem_type = None + return self._mod_mem_type def get_module_base(self): - self._get_mod_mem_type() if self.mod_mem_type: - return self.mem[self.mod_mem_type["MOD_TEXT"]].base + try: + return self.mem[self.mod_mem_type["MOD_TEXT"]].base + except: + raise AttributeError( + "module -> get_module_base: Unable to get module base. Cannot read base from MOD_TEXT." + ) else: if self.has_member("core_layout"): return self.core_layout.base - else: + elif self.has_member("module_core"): return self.module_core + raise AttributeError("module -> get_module_base: Unable to get module base") def get_init_size(self): - self._get_mod_mem_type() if self.mod_mem_type: - return ( - self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].size - + self.mem[self.mod_mem_type["MOD_INIT_DATA"]].size - + self.mem[self.mod_mem_type["MOD_INIT_RODATA"]].size - ) + try: + return ( + self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].size + + self.mem[self.mod_mem_type["MOD_INIT_DATA"]].size + + self.mem[self.mod_mem_type["MOD_INIT_RODATA"]].size + ) + except: + raise AttributeError( + "module -> get_init_size: Unable to determine .init section size of module. Cannot read size of MOD_INIT_TEXT, MOD_INIT_DATA, and MOD_INIT_RODATA" + ) else: if self.has_member("init_layout"): return self.init_layout.size @@ -71,14 +83,19 @@ class module(generic.GenericIntelProcess): ) def get_core_size(self): - self._get_mod_mem_type() if self.mod_mem_type: - return ( - self.mem[self.mod_mem_type["MOD_TEXT"]].size - + self.mem[self.mod_mem_type["MOD_DATA"]].size - + self.mem[self.mod_mem_type["MOD_RODATA"]].size - + self.mem[self.mod_mem_type["MOD_RO_AFTER_INIT"]].size - ) + try: + return ( + self.mem[self.mod_mem_type["MOD_TEXT"]].size + + self.mem[self.mod_mem_type["MOD_DATA"]].size + + self.mem[self.mod_mem_type["MOD_RODATA"]].size + + self.mem[self.mod_mem_type["MOD_RO_AFTER_INIT"]].size + ) + except KeyError: + raise AttributeError( + "module -> get_core_size: Unable to determine core size of module. Cannot read size of MOD_TEXT, MOD_DATA, MOD_RODATA, and MOD_RO_AFTER_INIT." + ) + else: if self.has_member("core_layout"): return self.core_layout.size @@ -89,9 +106,13 @@ class module(generic.GenericIntelProcess): ) def get_module_core(self): - self._get_mod_mem_type() if self.mod_mem_type: - return self.mem[self.mod_mem_type["MOD_TEXT"]].base + try: + return self.mem[self.mod_mem_type["MOD_TEXT"]].base + except KeyError: + raise AttributeError( + "module -> get_module_core: Unable to get module core. Cannot read base from MOD_TEXT." + ) else: if self.has_member("core_layout"): return self.core_layout.base @@ -100,9 +121,13 @@ class module(generic.GenericIntelProcess): raise AttributeError("module -> get_module_core: Unable to get module core") def get_module_init(self): - self._get_mod_mem_type() if self.mod_mem_type: - return self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].base + try: + return self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].base + except KeyError: + raise AttributeError( + "module -> get_module_core: Unable to get module init. Cannot read base from MOD_INIT_TEXT." + ) else: if self.has_member("init_layout"): return self.init_layout.base From 53d4ec66ebb774db76ef1999832662ecc541e56b Mon Sep 17 00:00:00 2001 From: Eve Date: Mon, 12 Feb 2024 09:36:33 +0000 Subject: [PATCH 0375/2186] Linux: Remove unnecessary import from linux extension. --- volatility3/framework/symbols/linux/extensions/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index fb60e3b97..c259d16aa 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -15,7 +15,6 @@ from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATE from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES from volatility3.framework.constants.linux import CAPABILITIES from volatility3.framework import exceptions, objects, interfaces, symbols -from volatility3.framework.renderers import UnparsableValue from volatility3.framework.layers import linear from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed From cc35fecf91b1d2704c87031427c623e066ac968a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 13 Feb 2024 19:40:37 +1100 Subject: [PATCH 0376/2186] Linux: Add library_list plugin and other ELF related code enhacements. - Add library_list plugin - Add ELF dynamic table enum types in elf.json - Update missing program header enum types in elf.json - Add PAGE constants - Add ELF ident and class enums - Replace ELF hardcoded type numbers for enum description matching - Fix unmanaged ValueError exception issue in Elf64Layer::_load_segments() --- .../framework/constants/linux/__init__.py | 26 +++ volatility3/framework/layers/elf.py | 11 +- volatility3/framework/plugins/linux/elfs.py | 34 ++-- .../framework/plugins/linux/library_list.py | 169 ++++++++++++++++++ volatility3/framework/symbols/linux/elf.json | 138 +++++++++++++- .../symbols/linux/extensions/__init__.py | 3 +- .../framework/symbols/linux/extensions/elf.py | 122 +++++++++++-- 7 files changed, 464 insertions(+), 39 deletions(-) create mode 100644 volatility3/framework/plugins/linux/library_list.py diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 6e8883f19..5e82e580e 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -5,11 +5,15 @@ Linux-specific values that aren't found in debug symbols """ +from enum import IntEnum KERNEL_NAME = "__kernel__" # arch/x86/include/asm/page_types.h PAGE_SHIFT = 12 +PAGE_SIZE = 1 << PAGE_SHIFT +PAGE_MASK = ~(PAGE_SIZE - 1) + """The value hard coded from the Linux Kernel (hence not extracted from the layer itself)""" # include/linux/sched.h @@ -281,3 +285,25 @@ CAPABILITIES = ( ) ELF_MAX_EXTRACTION_SIZE = 1024 * 1024 * 1024 * 4 - 1 + + +class ELF_IDENT(IntEnum): + """ELF header e_ident indexes""" + + EI_MAG0 = 0 + EI_MAG1 = 1 + EI_MAG2 = 2 + EI_MAG3 = 3 + EI_CLASS = 4 + EI_DATA = 5 + EI_VERSION = 6 + EI_OSABI = 7 + EI_PAD = 8 + + +class ELF_CLASS(IntEnum): + """ELF header class types""" + + ELFCLASSNONE = 0 + ELFCLASS32 = 1 + ELFCLASS64 = 2 diff --git a/volatility3/framework/layers/elf.py b/volatility3/framework/layers/elf.py index b2fd6d4d1..6bd5c2d63 100644 --- a/volatility3/framework/layers/elf.py +++ b/volatility3/framework/layers/elf.py @@ -6,9 +6,11 @@ import struct from typing import Optional from volatility3.framework import exceptions, interfaces, constants +from volatility3.framework.constants.linux import ELF_CLASS from volatility3.framework.layers import segmented from volatility3.framework.symbols import intermed + vollog = logging.getLogger(__name__) @@ -21,7 +23,7 @@ class Elf64Layer(segmented.SegmentedLayer): _header_struct = struct.Struct(" 0 ): diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index e688ecb42..7171a6616 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -14,8 +14,14 @@ from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux.extensions import elf +from volatility3.framework.constants.linux import ( + PAGE_SIZE, + PAGE_MASK, + ELF_MAX_EXTRACTION_SIZE, +) from volatility3.plugins.linux import pslist + vollog = logging.getLogger(__name__) @@ -23,7 +29,7 @@ class Elfs(plugins.PluginInterface): """Lists all memory mapped ELF files for all processes.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -87,7 +93,10 @@ class Elfs(plugins.PluginInterface): sections = {} # TODO: Apply more effort to reconstruct ELF, e.g.: https://github.com/enbarberis/core2ELF64 ? for phdr in elf_object.get_program_headers(): - if phdr.p_type != 1: # PT_LOAD = 1 + try: + if phdr.p_type.description != "PT_LOAD": + continue + except ValueError: continue start = phdr.p_vaddr @@ -95,18 +104,18 @@ class Elfs(plugins.PluginInterface): end = start + size # Use complete memory pages for dumping - # If start isn't a multiple of 4096, stick to the highest multiple < start - # If end isn't a multiple of 4096, stick to the lowest multiple > end - if start % 4096: - start = start & ~0xFFF + # If start isn't a multiple of a page, stick to the highest multiple < start + # If end isn't a multiple of a page, stick to the lowest multiple > end + if start % PAGE_SIZE: + start = start & PAGE_MASK - if end % 4096: - end = (end & ~0xFFF) + 4096 + if end % PAGE_SIZE: + end = (end & PAGE_MASK) + PAGE_SIZE real_size = end - start # Check if ELF has a legitimate size - if real_size < 0 or real_size > constants.linux.ELF_MAX_EXTRACTION_SIZE: + if real_size < 0 or real_size > ELF_MAX_EXTRACTION_SIZE: raise ValueError(f"The claimed size of the ELF is invalid: {real_size}") sections[start] = real_size @@ -140,12 +149,7 @@ class Elfs(plugins.PluginInterface): for vma in task.mm.get_vma_iter(): hdr = proc_layer.read(vma.vm_start, 4, pad=True) - if not ( - hdr[0] == 0x7F - and hdr[1] == 0x45 - and hdr[2] == 0x4C - and hdr[3] == 0x46 - ): + if hdr != b"\x7fELF": continue path = vma.get_name(self.context, task) diff --git a/volatility3/framework/plugins/linux/library_list.py b/volatility3/framework/plugins/linux/library_list.py new file mode 100644 index 000000000..ed5545347 --- /dev/null +++ b/volatility3/framework/plugins/linux/library_list.py @@ -0,0 +1,169 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from typing import Iterable, Tuple + +from volatility3.framework import interfaces, renderers, constants, exceptions +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.framework.objects import utility +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.linux.extensions import elf +from volatility3.plugins.linux import pslist + + +vollog = logging.getLogger(__name__) + + +class LibraryList(interfaces.plugins.PluginInterface): + """Enumerate libraries loaded into processes""" + + _required_framework_version = (2, 0, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 2, 0) + ), + requirements.ListRequirement( + name="pids", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + ] + + def get_libdl_libraries( + self, proc_layer_name: str, vma_start: int + ) -> interfaces.objects.ObjectInterface: + """Get the ELF link map objects for the given VMA address + + Args: + proc_layer_name (str): Name of the process layer + vma_start (int): VMA start address + + Yields: + ELF link map objects for the given VMA address + """ + elf_table_name = intermed.IntermediateSymbolTable.create( + self.context, + self.config_path, + "linux", + "elf", + class_types=elf.class_types, + ) + elf_object = self.context.object( + elf_table_name + constants.BANG + "Elf", + offset=vma_start, + layer_name=proc_layer_name, + ) + + if not elf_object or not elf_object.is_valid(): + return None + + kernel = self.context.modules[self.config["kernel"]] + + try: + for link_map in elf_object.get_link_maps(kernel.symbol_table_name): + if link_map.l_addr and link_map.l_name: + yield link_map + except exceptions.InvalidAddressException: + # Protection against memory smear in this VMA + pass + + def get_libdl_maps( + self, task: interfaces.objects.ObjectInterface, proc_layer_name: str + ) -> interfaces.objects.ObjectInterface: + """Get the ELF link maps objects for a task + + Args: + task (task_struct): A reference task + proc_layer_name (str): Name of the process layer + + Yields: + ELF link map objects + """ + + link_map_seen = set() + for vma in task.mm.get_vma_iter(): + for link_map in self.get_libdl_libraries(proc_layer_name, vma.vm_start): + if link_map.l_addr in link_map_seen: + continue + + yield link_map + link_map_seen.add(link_map.l_addr) + + def get_task_libraries( + self, task: interfaces.objects.ObjectInterface + ) -> Tuple[int, str]: + """Get the task libraries from the ELF headers found within the memory maps + + Args: + task (task_struct): The reference task + + Yields: + Tuples with a ELF link map address and name + """ + proc_layer_name = task.add_process_layer() + if not proc_layer_name: + return + + for elf_link_map in self.get_libdl_maps(task, proc_layer_name): + name = elf_link_map.get_name() + if not name: + continue + yield elf_link_map.l_addr, name + + def get_tasks_libraries( + self, + tasks: Iterable[interfaces.objects.ObjectInterface], + ) -> Iterable[Tuple[str, int, int, str]]: + """Get the task libraries from the ELF headers found within the memory maps for + all the tasks. + + Args: + tasks: An iterable of tasks + + Yields: + Tuples with a task name, task tgid, an ELF link map address and name + """ + for task in tasks: + task_name = utility.array_to_string(task.comm) + for linkmap_addr, linkmap_name in self.get_task_libraries(task): + yield task_name, task.tgid, linkmap_addr, linkmap_name + + def _format_fields(self, fields): + task_name, task_pid, addr, name = fields + return task_name, task_pid, format_hints.Hex(addr), name + + def _generator( + self, tasks: Iterable[interfaces.objects.ObjectInterface] + ) -> Iterable[Tuple[int, Tuple]]: + for fields in self.get_tasks_libraries(tasks): + yield 0, self._format_fields(fields) + + def run(self): + pids = self.config.get("pids") + pid_filter = pslist.PsList.create_pid_filter(pids) + tasks = pslist.PsList.list_tasks( + self.context, self.config["kernel"], filter_func=pid_filter + ) + + headers = [ + ("Name", str), + ("Pid", int), + ("LoadAddress", format_hints.Hex), + ("Path", str), + ] + + return renderers.TreeGrid(headers, self._generator(tasks)) diff --git a/volatility3/framework/symbols/linux/elf.json b/volatility3/framework/symbols/linux/elf.json index 76cd8a2ec..e0a95bbba 100644 --- a/volatility3/framework/symbols/linux/elf.json +++ b/volatility3/framework/symbols/linux/elf.json @@ -270,8 +270,8 @@ "d_tag": { "offset": 0, "type": { - "kind": "base", - "name": "long long" + "kind": "enum", + "name": "DtypeEnum64" } }, "d_ptr": { @@ -699,8 +699,8 @@ "d_tag": { "offset": 0, "type": { - "kind": "base", - "name": "long" + "kind": "enum", + "name": "DtypeEnum32" } }, "d_ptr": { @@ -905,11 +905,139 @@ "PT_PHDR": 6, "PT_TLS": 7, "PT_LOOS": 1610612736, + "PT_GNU_EH_FRAME": 1685382480, + "PT_GNU_STACK": 1685382481, + "PT_GNU_RELRO": 1685382482, + "PT_GNU_PROPERTY": 1685382483, "PT_HIOS": 1879048191, "PT_LOWPROC": 1879048192, "PT_HIPROC": 2147483647 }, "size": 4 + }, + "DtypeEnum32": { + "base": "long", + "constants": { + "DT_NULL": 0, + "DT_NEEDED": 1, + "DT_PLTRELSZ": 2, + "DT_PLTGOT": 3, + "DT_HASH": 4, + "DT_STRTAB": 5, + "DT_SYMTAB": 6, + "DT_RELA": 7, + "DT_RELASZ": 8, + "DT_RELAENT": 9, + "DT_STRSZ": 10, + "DT_SYMENT": 11, + "DT_INIT": 12, + "DT_FINI": 13, + "DT_SONAME": 14, + "DT_RPATH": 15, + "DT_SYMBOLIC": 16, + "DT_REL": 17, + "DT_RELSZ": 18, + "DT_RELENT": 19, + "DT_PLTREL": 20, + "DT_DEBUG": 21, + "DT_TEXTREL": 22, + "DT_JMPREL": 23, + "DT_BIND_NOW": 24, + "DT_INIT_ARRAY": 25, + "DT_FINI_ARRAY": 26, + "DT_INIT_ARRAYSZ": 27, + "DT_FINI_ARRAYSZ": 28, + "DT_RUNPATH": 29, + "DT_FLAGS": 30, + "DT_ENCODING": 32, + "DT_PREINIT_ARRAYSZ": 33, + "DT_SYMTAB_SHNDX": 34, + "DT_RELRSZ": 35, + "DT_RELR": 36, + "DT_RELRENT": 37, + "DT_NUM": 38, + "OLD_DT_LOOS": 1610612736, + "DT_LOOS": 1610612749, + "DT_HIOS": 1879044096, + "DT_VALRNGLO": 1879047424, + "DT_VALRNGHI": 1879047679, + "DT_ADDRRNGLO": 1879047680, + "DT_GNU_HASH": 1879047925, + "DT_ADDRRNGHI": 1879047935, + "DT_VERSYM": 1879048176, + "DT_RELACOUNT": 1879048185, + "DT_RELCOUNT": 1879048186, + "DT_FLAGS_1": 1879048187, + "DT_VERDEF": 1879048188, + "DT_VERDEFNUM": 1879048189, + "DT_VERNEED": 1879048190, + "DT_VERNEEDNUM": 1879048191, + "DT_LOPROC": 1879048192, + "DT_HIPROC": 2147483647 + }, + "size": 4 + }, + "DtypeEnum64": { + "base": "long long", + "constants": { + "DT_NULL": 0, + "DT_NEEDED": 1, + "DT_PLTRELSZ": 2, + "DT_PLTGOT": 3, + "DT_HASH": 4, + "DT_STRTAB": 5, + "DT_SYMTAB": 6, + "DT_RELA": 7, + "DT_RELASZ": 8, + "DT_RELAENT": 9, + "DT_STRSZ": 10, + "DT_SYMENT": 11, + "DT_INIT": 12, + "DT_FINI": 13, + "DT_SONAME": 14, + "DT_RPATH": 15, + "DT_SYMBOLIC": 16, + "DT_REL": 17, + "DT_RELSZ": 18, + "DT_RELENT": 19, + "DT_PLTREL": 20, + "DT_DEBUG": 21, + "DT_TEXTREL": 22, + "DT_JMPREL": 23, + "DT_BIND_NOW": 24, + "DT_INIT_ARRAY": 25, + "DT_FINI_ARRAY": 26, + "DT_INIT_ARRAYSZ": 27, + "DT_FINI_ARRAYSZ": 28, + "DT_RUNPATH": 29, + "DT_FLAGS": 30, + "DT_ENCODING": 32, + "DT_PREINIT_ARRAYSZ": 33, + "DT_SYMTAB_SHNDX": 34, + "DT_RELRSZ": 35, + "DT_RELR": 36, + "DT_RELRENT": 37, + "DT_NUM": 38, + "OLD_DT_LOOS": 1610612736, + "DT_LOOS": 1610612749, + "DT_HIOS": 1879044096, + "DT_VALRNGLO": 1879047424, + "DT_VALRNGHI": 1879047679, + "DT_ADDRRNGLO": 1879047680, + "DT_GNU_HASH": 1879047925, + "DT_ADDRRNGHI": 1879047935, + "DT_VERSYM": 1879048176, + "DT_RELACOUNT": 1879048185, + "DT_RELCOUNT": 1879048186, + "DT_FLAGS_1": 1879048187, + "DT_VERDEF": 1879048188, + "DT_VERDEFNUM": 1879048189, + "DT_VERNEED": 1879048190, + "DT_VERNEEDNUM": 1879048191, + "DT_LOPROC": 1879048192, + "DT_HIPROC": 2147483647 + }, + "size": 8 } }, "base_types": { @@ -958,7 +1086,7 @@ }, "metadata": { "producer": { - "version": "0.0.1", + "version": "0.0.2", "name": "ikelos-by-hand", "datetime": "2019-10-21T22:52:00" }, diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d73d0cfb9..0a3db9fcd 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -7,14 +7,13 @@ import logging import socket as socket_module from typing import Generator, Iterable, Iterator, Optional, Tuple, List -from volatility3.framework import constants +from volatility3.framework import constants, exceptions, objects, interfaces, symbols from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATES from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES from volatility3.framework.constants.linux import CAPABILITIES -from volatility3.framework import exceptions, objects, interfaces, symbols from volatility3.framework.layers import linear from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index fe85b194f..4b2b29b54 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -6,6 +6,10 @@ from typing import Dict, Tuple import logging from volatility3.framework import constants +from volatility3.framework.constants.linux import ( + ELF_IDENT, + ELF_CLASS, +) from volatility3.framework import objects, interfaces, exceptions vollog = logging.getLogger(__name__) @@ -59,13 +63,15 @@ class elf(objects.StructType): ei_class = self._context.object( symbol_table_name + constants.BANG + "unsigned char", layer_name=layer_name, - offset=object_info.offset + 0x4, + offset=object_info.offset + ELF_IDENT.EI_CLASS, ) - if ei_class == 1: + if ei_class == ELF_CLASS.ELFCLASS32: self._type_prefix = "Elf32_" - elif ei_class == 2: + self._ei_class_size = 32 + elif ei_class == ELF_CLASS.ELFCLASS64: self._type_prefix = "Elf64_" + self._ei_class_size = 64 else: raise ValueError(f"Unsupported ei_class value {ei_class}") @@ -140,36 +146,103 @@ class elf(objects.StructType): ) return section_headers + def get_link_maps(self, kernel_symbol_table_name): + """Get the ELF link map objects for the given VMA address + + Args: + kernel_symbol_table_name (str): Kernel symbol table name + + Yields: + The ELF link map objects + """ + got_entry_size = self._ei_class_size // 8 + + elf_symbol_table = self.get_symbol_table_name() + + link_maps_seen = set() + for phdr in self.get_program_headers(): + try: + if phdr.p_type.description != "PT_DYNAMIC": + continue + except ValueError: + continue + + for dsec in phdr.dynamic_sections(): + try: + if dsec.d_tag.description != "DT_PLTGOT": + continue + except ValueError: + continue + + got_start = dsec.d_ptr + + # link_map is stored at the second GOT entry + link_map_addr = got_start + got_entry_size + + # It needs the kernel symbol table to create a pointer + link_map_ptr = self._context.object( + kernel_symbol_table_name + constants.BANG + "pointer", + offset=link_map_addr, + layer_name=self.vol.layer_name, + ) + if not link_map_ptr: + continue + + linkmap_symname = ( + elf_symbol_table + constants.BANG + self._type_prefix + "LinkMap" + ) + link_map = self._context.object( + object_type=linkmap_symname, + offset=link_map_ptr, + layer_name=self.vol.layer_name, + ) + + while link_map and link_map.vol.offset != 0: + if link_map.vol.offset in link_maps_seen: + break + link_maps_seen.add(link_map.vol.offset) + + yield link_map + + link_map = self._context.object( + object_type=linkmap_symname, + offset=link_map.l_next, + layer_name=self.vol.layer_name, + ) + def _find_symbols(self): dt_strtab = None dt_symtab = None dt_strent = None for phdr in self.get_program_headers(): + # Find PT_DYNAMIC segment try: - # Find PT_DYNAMIC segment - if str(phdr.p_type.description) != "PT_DYNAMIC": + if phdr.p_type.description != "PT_DYNAMIC": continue except ValueError: - # If the p_type value is outside the ones declared in the enumeration, an - # exception is raised - return None + continue # This section contains pointers to the strtab, symtab, and strent sections for dsec in phdr.dynamic_sections(): - if dsec.d_tag == 5: + try: + dtag = dsec.d_tag.description + except ValueError: + continue + + if dtag == "DT_STRTAB": dt_strtab = dsec.d_ptr - elif dsec.d_tag == 6: + elif dtag == "DT_SYMTAB": dt_symtab = dsec.d_ptr - elif dsec.d_tag == 11: + elif dtag == "DT_SYMENT": # Size of the symtab symbol entry dt_strent = dsec.d_ptr break - if dt_strtab is None or dt_symtab is None or dt_strent is None: + if not (dt_strtab and dt_symtab and dt_strent): return None self._cached_symtab = dt_symtab @@ -274,15 +347,18 @@ class elf_phdr(objects.StructType): def get_vaddr(self): offset = self.__getattr__("p_vaddr") - if self._parent_e_type == 3: # ET_DYN - offset = self._parent_offset + offset + try: + if self._parent_e_type.description == "ET_DYN": + offset = self._parent_offset + offset + except ValueError: + pass return offset def dynamic_sections(self): # sanity check try: - if str(self.p_type.description) != "PT_DYNAMIC": + if self.p_type.description != "PT_DYNAMIC": return None except ValueError: # If the value is outside the ones declared in the enumeration, an @@ -314,10 +390,26 @@ class elf_phdr(objects.StructType): break +class elf_linkmap(objects.StructType): + def get_name(self): + try: + buf = self._context.layers.read(self.vol.layer_name, self.l_name, 256) + except exceptions.PagedInvalidAddressException: + # Protection against memory smear + return None + + idx = buf.find(b"\x00") + if idx != -1: + buf = buf[:idx] + return buf.decode() + + class_types = { "Elf": elf, "Elf64_Phdr": elf_phdr, "Elf32_Phdr": elf_phdr, "Elf32_Sym": elf_sym, "Elf64_Sym": elf_sym, + "Elf32_LinkMap": elf_linkmap, + "Elf64_LinkMap": elf_linkmap, } From 6e7b5b59416a0f0830660d6415144ec8ee0039ca Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 13 Feb 2024 19:41:30 +1100 Subject: [PATCH 0377/2186] Linux: Add linux_library_list test case --- test/test_volatility.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/test/test_volatility.py b/test/test_volatility.py index aaad615bc..7b151fd6c 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -6,6 +6,7 @@ # import os +import re import subprocess import sys import shutil @@ -331,6 +332,32 @@ def test_linux_tty_check(image, volatility, python): assert rc == 0 +def test_linux_library_list(image, volatility, python): + rc, out, err = runvol_plugin( + "linux.library_list.LibraryList", image, volatility, python + ) + + assert re.search( + rb"NetworkManager\s2363\s0x7f52cdda0000\s/lib/x86_64-linux-gnu/libnss_files.so.2", + out, + ) + assert re.search( + rb"gnome-settings-\s3807\s0x7f7e660b5000\s/lib/x86_64-linux-gnu/libbz2.so.1.0", + out, + ) + assert re.search( + rb"gdu-notificatio\s3878\s0x7f25ce33e000\s/usr/lib/x86_64-linux-gnu/libXau.so.6", + out, + ) + assert re.search( + rb"bash\s8600\s0x7fe78a85f000\s/lib/x86_64-linux-gnu/libnss_files.so.2", + out, + ) + + assert out.count(b"\n") >= 2677 + assert rc == 0 + + # MAC From cf81ceda8262b1bdfc528277cd405c24d572e320 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 13 Feb 2024 20:20:25 +1100 Subject: [PATCH 0378/2186] Fix CodeQL suggestion --- volatility3/framework/symbols/linux/extensions/elf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index 4b2b29b54..828370fe8 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -351,6 +351,8 @@ class elf_phdr(objects.StructType): if self._parent_e_type.description == "ET_DYN": offset = self._parent_offset + offset except ValueError: + # Unknown ELF object file type. Anyway, if the ELF object file type is not a + # shared object (ET_DYN), the virtual address is 'p_vaddr'. pass return offset From cd08cb95fdf9d2503162020694fd4e3eddaf51d3 Mon Sep 17 00:00:00 2001 From: Alejandro Diego Date: Tue, 6 Feb 2024 09:26:49 -0500 Subject: [PATCH 0379/2186] Windows: Add filtering by offset to psscan Add capability to the psscan plugin to filter by specific offset. The filter would be used by other plugins to find specific offset using the psscan capabilities, like find hidden processes as a result of some dkom for example. The `--offset` flag argument should represent a physical address space. The flag is included in the following plugins: - dlllist - handles --- .../framework/plugins/windows/dlllist.py | 37 +++++++++++++---- .../framework/plugins/windows/handles.py | 41 ++++++++++++++----- .../framework/plugins/windows/psscan.py | 40 +++++++++++++++++- 3 files changed, 97 insertions(+), 21 deletions(-) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index d73cea652..27eddc991 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -13,7 +13,7 @@ from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows.extensions import pe from volatility3.plugins import timeliner -from volatility3.plugins.windows import info, pslist +from volatility3.plugins.windows import info, pslist, psscan vollog = logging.getLogger(__name__) @@ -36,6 +36,9 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="psscan", component=psscan.PsScan, version=(1, 1, 0) + ), requirements.VersionRequirement( name="info", component=info.Info, version=(1, 0, 0) ), @@ -45,6 +48,11 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): description="Process IDs to include (all other processes are excluded)", optional=True, ), + requirements.IntRequirement( + name="offset", + description="Process offset in the physical address space", + optional=True, + ), requirements.BooleanRequirement( name="dump", description="Extract listed DLLs", @@ -221,6 +229,24 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) kernel = self.context.modules[self.config["kernel"]] + if self.config["offset"]: + procs = psscan.PsScan.scan_processes( + self.context, + kernel.layer_name, + kernel.symbol_table_name, + filter_func=psscan.PsScan.create_offset_filter( + self.context.layers[kernel.layer_name], + self.config["offset"], + ), + ) + else: + procs = pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_func=filter_func, + ) + return renderers.TreeGrid( [ ("PID", int), @@ -232,12 +258,5 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ("LoadTime", datetime.datetime), ("File output", str), ], - self._generator( - pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, - filter_func=filter_func, - ) - ), + self._generator(procs=procs), ) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index ddd9cb78e..2c5fde1c9 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -9,7 +9,7 @@ from volatility3.framework import constants, exceptions, renderers, interfaces, from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import pslist +from volatility3.plugins.windows import pslist, psscan vollog = logging.getLogger(__name__) @@ -43,14 +43,22 @@ class Handles(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="psscan", component=psscan.PsScan, version=(1, 1, 0) + ), requirements.ListRequirement( name="pid", element_type=int, description="Process IDs to include (all other processes are excluded)", optional=True, ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + requirements.IntRequirement( + name="offset", + description="Process offset in the physical address space", + optional=True, ), ] @@ -416,6 +424,24 @@ class Handles(interfaces.plugins.PluginInterface): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) kernel = self.context.modules[self.config["kernel"]] + if self.config["offset"]: + procs = psscan.PsScan.scan_processes( + self.context, + kernel.layer_name, + kernel.symbol_table_name, + filter_func=psscan.PsScan.create_offset_filter( + self.context.layers[kernel.layer_name], + self.config["offset"], + ), + ) + else: + procs = pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_func=filter_func, + ) + return renderers.TreeGrid( [ ("PID", int), @@ -426,12 +452,5 @@ class Handles(interfaces.plugins.PluginInterface): ("GrantedAccess", format_hints.Hex), ("Name", str), ], - self._generator( - pslist.PsList.list_processes( - self.context, - kernel.layer_name, - kernel.symbol_table_name, - filter_func=filter_func, - ) - ), + self._generator(procs=procs), ) diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index 3d9ae5c1e..8b3afaf7c 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -4,7 +4,7 @@ import datetime import logging -from typing import Iterable, Callable, Optional, Tuple +from typing import Iterable, Callable, List, Optional, Tuple from volatility3.framework import renderers, interfaces, layers, exceptions from volatility3.framework.configuration import requirements @@ -59,6 +59,44 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), ] + @classmethod + def create_offset_filter( + cls, + memory: interfaces.layers.DataLayerInterface, + offset: int = None, + exclude: bool = False, + ) -> Callable[[interfaces.objects.ObjectInterface], bool]: + """A factory for producing filter functions that filter based on the physical offset of the process. + + Args: + offset: A number that is the physical offset to be filtered out + memory: Memory object needed to do the offset mapping to physical. + exclude: Accept only tasks that are not the offset argument + Returns: + Filter function to be passed to the list of processes. + """ + if not isinstance(memory, interfaces.layers.DataLayerInterface): + raise TypeError("memory object requires an instance of DataLayerInterface") + + filter_func = lambda _: False + + # return physical offset in tuple -> (_, _, physical_offset, _, _) + # from the first item in the memory mapping list + virtual_to_physical_offset = lambda virtual_offset, memory: list( + memory.mapping(offset=virtual_offset, length=0) + )[0][2] + + if offset: + if exclude: + filter_func = ( + lambda x: virtual_to_physical_offset(x.vol.offset, memory) == offset + ) + else: + filter_func = ( + lambda x: virtual_to_physical_offset(x.vol.offset, memory) != offset + ) + return filter_func + @classmethod def scan_processes( cls, From 437a91375db004de5d0df26443d1bd71ee9f2b94 Mon Sep 17 00:00:00 2001 From: Eve Date: Tue, 20 Feb 2024 06:39:42 +0000 Subject: [PATCH 0380/2186] Linux: add TODO for mm_struct for methods that should be removed when moving to version 3.0.0 --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index f9db30498..27113965f 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -448,6 +448,7 @@ class maple_tree(objects.StructType): class mm_struct(objects.StructType): + # TODO: As of version 3.0.0 this method should be removed def get_mmap_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """ Deprecated: Use either get_vma_iter() or _get_mmap_iter(). @@ -478,6 +479,7 @@ class mm_struct(objects.StructType): seen.add(link.vol.offset) link = link.vm_next + # TODO: As of version 3.0.0 this method should be removed def get_maple_tree_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """ Deprecated: Use either get_vma_iter() or _get_maple_tree_iter(). From a597ee17768b1513f8587642c0d00c9170007f46 Mon Sep 17 00:00:00 2001 From: Eve Date: Tue, 20 Feb 2024 06:48:16 +0000 Subject: [PATCH 0381/2186] Linux: update minor version number due to API changes with linux extension for mm_struct --- volatility3/framework/constants/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 09dded076..9aaafb933 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -44,8 +44,8 @@ BANG = "!" # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 5 # Number of changes that only add to the interface -VERSION_PATCH = 2 # Number of changes that do not change the interface +VERSION_MINOR = 6 # Number of changes that only add to the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" # TODO: At version 2.0.0, remove the symbol_shift feature From 5e38ffa811bcf385c2b470351ed2518118c7d875 Mon Sep 17 00:00:00 2001 From: Alejandro Diego Date: Tue, 20 Feb 2024 15:07:15 -0500 Subject: [PATCH 0382/2186] Added support for virtual address filtering and validation of ph/v space --- .../framework/plugins/windows/dlllist.py | 3 +- .../framework/plugins/windows/handles.py | 3 +- .../framework/plugins/windows/psscan.py | 67 ++++++++++++++----- 3 files changed, 53 insertions(+), 20 deletions(-) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index 27eddc991..f876dc1a2 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -235,7 +235,8 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): kernel.layer_name, kernel.symbol_table_name, filter_func=psscan.PsScan.create_offset_filter( - self.context.layers[kernel.layer_name], + self.context, + kernel.layer_name, self.config["offset"], ), ) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 2c5fde1c9..d43d26ef1 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -430,7 +430,8 @@ class Handles(interfaces.plugins.PluginInterface): kernel.layer_name, kernel.symbol_table_name, filter_func=psscan.PsScan.create_offset_filter( - self.context.layers[kernel.layer_name], + self.context, + kernel.layer_name, self.config["offset"], ), ) diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index 8b3afaf7c..82a481070 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -59,42 +59,73 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), ] + @classmethod + def physical_offset_from_virtual(cls, context, layer_name, proc): + """Calculate the physical offset from the virtual offset of a process. + + Args: + context: The context containing layers and modules information. + layer_name: The name of the layer containing the process memory. + proc: The process object for which to calculate the physical offset. + + Returns: + int: The physical offset of the process. + Raises: + TypeError: If the primary layer is not an Intel layer. + """ + memory = context.layers[layer_name] + + if not isinstance(memory, layers.intel.Intel): + raise TypeError("Primary layer is not an intel layer") + + (_, _, ph_offset, _, _) = list( + memory.mapping(offset=proc.vol.offset, length=0) + )[0] + + return ph_offset + @classmethod def create_offset_filter( cls, - memory: interfaces.layers.DataLayerInterface, + context: interfaces.context.ContextInterface, + layer_name: str, offset: int = None, + physical: bool = True, exclude: bool = False, ) -> Callable[[interfaces.objects.ObjectInterface], bool]: """A factory for producing filter functions that filter based on the physical offset of the process. Args: offset: A number that is the physical offset to be filtered out - memory: Memory object needed to do the offset mapping to physical. exclude: Accept only tasks that are not the offset argument + Returns: Filter function to be passed to the list of processes. """ - if not isinstance(memory, interfaces.layers.DataLayerInterface): - raise TypeError("memory object requires an instance of DataLayerInterface") - filter_func = lambda _: False - # return physical offset in tuple -> (_, _, physical_offset, _, _) - # from the first item in the memory mapping list - virtual_to_physical_offset = lambda virtual_offset, memory: list( - memory.mapping(offset=virtual_offset, length=0) - )[0][2] - if offset: - if exclude: - filter_func = ( - lambda x: virtual_to_physical_offset(x.vol.offset, memory) == offset - ) + if physical: + if exclude: + filter_func = ( + lambda proc: cls.physical_offset_from_virtual( + context, layer_name, proc + ) + == offset + ) + else: + filter_func = ( + lambda proc: cls.physical_offset_from_virtual( + context, layer_name, proc + ) + != offset + ) else: - filter_func = ( - lambda x: virtual_to_physical_offset(x.vol.offset, memory) != offset - ) + if exclude: + lambda proc: proc.vol.offset == offset + else: + lambda proc: proc.vol.offset != offset + return filter_func @classmethod From 42c6a9ede6bbe3ff52b868144516679753c9fc8c Mon Sep 17 00:00:00 2001 From: Alejandro Diego Date: Tue, 20 Feb 2024 20:07:17 -0500 Subject: [PATCH 0383/2186] Remove unnecessary import and correctly filter_func var --- volatility3/framework/plugins/windows/psscan.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index 82a481070..5634298a8 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -4,7 +4,7 @@ import datetime import logging -from typing import Iterable, Callable, List, Optional, Tuple +from typing import Iterable, Callable, Optional, Tuple from volatility3.framework import renderers, interfaces, layers, exceptions from volatility3.framework.configuration import requirements @@ -122,9 +122,9 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) else: if exclude: - lambda proc: proc.vol.offset == offset + filter_func = lambda proc: proc.vol.offset == offset else: - lambda proc: proc.vol.offset != offset + filter_func = lambda proc: proc.vol.offset != offset return filter_func From e10cff979af3917b3d0a67ec050c181e37bffed8 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 21 Feb 2024 12:50:05 +0000 Subject: [PATCH 0384/2186] Linux: update module extension with memoization for _mod_mem_type --- .../symbols/linux/extensions/__init__.py | 38 +++++++++++-------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3673b66df..8d11374c9 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -26,27 +26,33 @@ vollog = logging.getLogger(__name__) class module(generic.GenericIntelProcess): + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self._mod_mem_type = None # Initialize _mod_mem_type to None for memoization + @property def mod_mem_type(self): - """Return the mod_mem_type enum choices if available or None if not""" - if not self.has_member("_mod_mem_type"): + """Return the mod_mem_type enum choices if available or an empty dict if not""" + # mod_mem_type and module_memory were added in kernel 6.4 which replaces + # module_layout for storing the information around core_layout etc. + # see commit ac3b43283923440900b4f36ca5f9f0b1ca43b70e for more information + + if self._mod_mem_type is None: try: - vmlinux = linux.LinuxUtilities.get_module_from_volobj_type( - self._context, self - ) - # mod_mem_type and module_memory were added in kernel 6.4 which replaces - # module_layout for storing the information around core_layout etc. - # see commit ac3b43283923440900b4f36ca5f9f0b1ca43b70e for more information - self._mod_mem_type = vmlinux.get_enumeration("mod_mem_type").choices + self._mod_mem_type = self._context.symbol_space.get_enumeration( + self.get_symbol_table_name() + constants.BANG + "mod_mem_type" + ).choices except exceptions.SymbolError: vollog.debug( - f"Unable to find mod_mem_type enum. This is expected on kernels <6.4 but may cause issues with later kernels" + f"Unable to find mod_mem_type enum. This message can be ignored for kernels < 6.4" ) - self._mod_mem_type = None + # set to empty dict to show that the enum was not found, and so shouldn't be searched for again + self._mod_mem_type = {} return self._mod_mem_type def get_module_base(self): - if self.mod_mem_type: + if self.mod_mem_type: # kernels 6.4+ try: return self.mem[self.mod_mem_type["MOD_TEXT"]].base except: @@ -61,7 +67,7 @@ class module(generic.GenericIntelProcess): raise AttributeError("module -> get_module_base: Unable to get module base") def get_init_size(self): - if self.mod_mem_type: + if self.mod_mem_type: # kernels 6.4+ try: return ( self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].size @@ -82,7 +88,7 @@ class module(generic.GenericIntelProcess): ) def get_core_size(self): - if self.mod_mem_type: + if self.mod_mem_type: # kernels 6.4+ try: return ( self.mem[self.mod_mem_type["MOD_TEXT"]].size @@ -105,7 +111,7 @@ class module(generic.GenericIntelProcess): ) def get_module_core(self): - if self.mod_mem_type: + if self.mod_mem_type: # kernels 6.4+ try: return self.mem[self.mod_mem_type["MOD_TEXT"]].base except KeyError: @@ -120,7 +126,7 @@ class module(generic.GenericIntelProcess): raise AttributeError("module -> get_module_core: Unable to get module core") def get_module_init(self): - if self.mod_mem_type: + if self.mod_mem_type: # kernels 6.4+ try: return self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].base except KeyError: From 3b5fde94208bbfc98c7b2a147cdd2341427b7097 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 21 Feb 2024 12:58:24 +0000 Subject: [PATCH 0385/2186] Linux: update module extension logic for choosing the correct values for different kernel versions --- .../symbols/linux/extensions/__init__.py | 60 +++++++++---------- 1 file changed, 27 insertions(+), 33 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 8d11374c9..751c80cb5 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -52,43 +52,41 @@ class module(generic.GenericIntelProcess): return self._mod_mem_type def get_module_base(self): - if self.mod_mem_type: # kernels 6.4+ + if self.has_member("mem"): # kernels 6.4+ try: return self.mem[self.mod_mem_type["MOD_TEXT"]].base - except: + except KeyError: raise AttributeError( "module -> get_module_base: Unable to get module base. Cannot read base from MOD_TEXT." ) - else: - if self.has_member("core_layout"): - return self.core_layout.base - elif self.has_member("module_core"): - return self.module_core + elif self.has_member("core_layout"): + return self.core_layout.base + elif self.has_member("module_core"): + return self.module_core raise AttributeError("module -> get_module_base: Unable to get module base") def get_init_size(self): - if self.mod_mem_type: # kernels 6.4+ + if self.has_member("mem"): # kernels 6.4+ try: return ( self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].size + self.mem[self.mod_mem_type["MOD_INIT_DATA"]].size + self.mem[self.mod_mem_type["MOD_INIT_RODATA"]].size ) - except: + except KeyError: raise AttributeError( "module -> get_init_size: Unable to determine .init section size of module. Cannot read size of MOD_INIT_TEXT, MOD_INIT_DATA, and MOD_INIT_RODATA" ) - else: - if self.has_member("init_layout"): - return self.init_layout.size - elif self.has_member("init_size"): - return self.init_size + elif self.has_member("init_layout"): + return self.init_layout.size + elif self.has_member("init_size"): + return self.init_size raise AttributeError( "module -> get_init_size: Unable to determine .init section size of module" ) def get_core_size(self): - if self.mod_mem_type: # kernels 6.4+ + if self.has_member("mem"): # kernels 6.4+ try: return ( self.mem[self.mod_mem_type["MOD_TEXT"]].size @@ -100,44 +98,40 @@ class module(generic.GenericIntelProcess): raise AttributeError( "module -> get_core_size: Unable to determine core size of module. Cannot read size of MOD_TEXT, MOD_DATA, MOD_RODATA, and MOD_RO_AFTER_INIT." ) - - else: - if self.has_member("core_layout"): - return self.core_layout.size - elif self.has_member("core_size"): - return self.core_size + elif self.has_member("core_layout"): + return self.core_layout.size + elif self.has_member("core_size"): + return self.core_size raise AttributeError( "module -> get_core_size: Unable to determine core size of module" ) def get_module_core(self): - if self.mod_mem_type: # kernels 6.4+ + if self.has_member("mem"): # kernels 6.4+ try: return self.mem[self.mod_mem_type["MOD_TEXT"]].base except KeyError: raise AttributeError( "module -> get_module_core: Unable to get module core. Cannot read base from MOD_TEXT." ) - else: - if self.has_member("core_layout"): - return self.core_layout.base - elif self.has_member("module_core"): - return self.module_core + elif self.has_member("core_layout"): + return self.core_layout.base + elif self.has_member("module_core"): + return self.module_core raise AttributeError("module -> get_module_core: Unable to get module core") def get_module_init(self): - if self.mod_mem_type: # kernels 6.4+ + if self.has_member("mem"): # kernels 6.4+ try: return self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].base except KeyError: raise AttributeError( "module -> get_module_core: Unable to get module init. Cannot read base from MOD_INIT_TEXT." ) - else: - if self.has_member("init_layout"): - return self.init_layout.base - elif self.has_member("module_init"): - return self.module_init + elif self.has_member("init_layout"): + return self.init_layout.base + elif self.has_member("module_init"): + return self.module_init raise AttributeError("module -> get_module_init: Unable to get module init") def get_name(self): From 77675d584d2e07df733c0700c8a3b7dd974252c0 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 21 Feb 2024 14:26:48 +0000 Subject: [PATCH 0386/2186] Update patch version --- volatility3/framework/constants/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 9aaafb933..7764dc44c 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -45,7 +45,7 @@ BANG = "!" # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 6 # Number of changes that only add to the interface -VERSION_PATCH = 0 # Number of changes that do not change the interface +VERSION_PATCH = 1 # Number of changes that do not change the interface VERSION_SUFFIX = "" # TODO: At version 2.0.0, remove the symbol_shift feature From a82b93523de768b68fed529064113340920e52fe Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 22 Feb 2024 09:47:23 +0000 Subject: [PATCH 0387/2186] Linux: psscan tiny update so that memory_layer_name is reused --- volatility3/framework/plugins/linux/psscan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index 462577e58..40784a647 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -28,7 +28,7 @@ class PsScan(interfaces.plugins.PluginInterface): """Scans for processes present in a particular linux image.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -139,7 +139,7 @@ class PsScan(interfaces.plugins.PluginInterface): kernel_layer_name, f"Layer {kernel_layer_name} has no dependencies" ) memory_layer_name = kernel_layer.dependencies[0] - memory_layer = context.layers[kernel_layer.dependencies[0]] + memory_layer = context.layers[memory_layer_name] # scan the memory_layer for these needles for address, _ in memory_layer.scan( From 0899ba8d7fedece67b520c8a2a31c45868177ce1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 28 Feb 2024 23:09:46 +0000 Subject: [PATCH 0388/2186] Documentation: Fix up syntax errors involving * character --- volatility3/framework/interfaces/plugins.py | 2 +- volatility3/framework/plugins/linux/kmsg.py | 4 +++- volatility3/framework/plugins/linux/pslist.py | 6 +++--- volatility3/framework/plugins/linux/sockstat.py | 4 ++-- volatility3/framework/plugins/windows/mftscan.py | 4 ++-- .../framework/symbols/linux/extensions/__init__.py | 8 ++++---- 6 files changed, 15 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/interfaces/plugins.py b/volatility3/framework/interfaces/plugins.py index 29395aadf..697e4cdc3 100644 --- a/volatility3/framework/interfaces/plugins.py +++ b/volatility3/framework/interfaces/plugins.py @@ -60,7 +60,7 @@ class FileHandlerInterface(io.RawIOBase): @staticmethod def sanitize_filename(filename: str) -> str: """Sanititizes the filename to ensure only a specific whitelist of characters is allowed through""" - allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.- ()[]\{\}!$%^:#~?<>,|" + allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.- ()[]{}!$%^:#~?<>,|" result = "" for char in filename: if char in allowed: diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index dd707a7ff..c5e0fc302 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -198,7 +198,9 @@ class ABCKmsg(ABC): class Kmsg_pre_3_5(ABCKmsg): """The kernel ring buffer (log_buf) is a char array that sequentially stores log lines, each separated by newline (LF) characters. i.e: - <6>[ 9565.250411] line1!\n<6>[ 9565.250412] line2\n... + + <6>[ 9565.250411] line1!\\n<6>[ 9565.250412] line2\\n... + """ @classmethod diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 771040dc0..046ee43d8 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -83,11 +83,11 @@ class PsList(interfaces.plugins.PluginInterface): cls, task: interfaces.objects.ObjectInterface, decorate_comm: bool = False ) -> Tuple[int, int, int, str]: """Extract the fields needed for the final output + Args: task: A task object from where to get the fields. - decorate_comm: If True, it decorates the comm string of - - User threads: in curly brackets, - - Kernel threads: in square brackets + decorate_comm: If True, it decorates the comm string of user threads in curly brackets, + and of Kernel threads in square brackets. Defaults to False. Returns: A tuple with the fields to show in the plugin output. diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index e9c98a227..78217fbec 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -83,7 +83,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): sock: Kernel generic `sock` object Returns a tuple with: - sock: The respective kernel's \*_sock object for that socket family + sock: The respective kernel's \\*_sock object for that socket family sock_stat: A tuple with the source and destination (address and port) along with its state string socket_filter: A dictionary with information about the socket filter """ @@ -501,7 +501,7 @@ class Sockstat(plugins.PluginInterface): family: Socket family string (AF_UNIX, AF_INET, etc) sock_type: Socket type string (STREAM, DGRAM, etc) protocol: Protocol string (UDP, TCP, etc) - sock_fields: A tuple with the \*_sock object, the sock stats and the extended info dictionary + sock_fields: A tuple with the \\*_sock object, the sock stats and the extended info dictionary """ vmlinux = context.modules[symbol_table] diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 91a2e9152..85c072037 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -38,7 +38,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Yara Rule to scan for MFT Header Signatures rules = yarascan.YaraScan.process_yara_options( - {"yara_rules": "/FILE0|FILE\*|BAAD/"} + {"yara_rules": "/FILE0|FILE\\*|BAAD/"} ) # Read in the Symbol File @@ -197,7 +197,7 @@ class ADS(interfaces.plugins.PluginInterface): # Yara Rule to scan for MFT Header Signatures rules = yarascan.YaraScan.process_yara_options( - {"yara_rules": "/FILE0|FILE\*|BAAD/"} + {"yara_rules": "/FILE0|FILE\\*|BAAD/"} ) # Read in the Symbol File diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 751c80cb5..588ce3874 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1137,17 +1137,17 @@ class vfsmount(objects.StructType): """Helper to make sure it is comparing two pointers to 'vfsmount'. Depending on the kernel version, the calling object (self) could be - a 'vfsmount \*' (<3.3.8) or a 'vfsmount' (>=3.3.8). This way we trust + a 'vfsmount \\*' (<3.3.8) or a 'vfsmount' (>=3.3.8). This way we trust in the framework "auto" dereferencing ability to assure that when we reach this point 'self' will be a 'vfsmount' already and self.vol.offset - a 'vfsmount \*' and not a 'vfsmount \*\*'. The argument must be a 'vfsmount \*'. + a 'vfsmount \\*' and not a 'vfsmount \\*\\*'. The argument must be a 'vfsmount \\*'. Typically, it's called from do_get_path(). Args: - vfsmount_ptr (vfsmount \*): A pointer to a 'vfsmount' + vfsmount_ptr (vfsmount *): A pointer to a 'vfsmount' Raises: - exceptions.VolatilityException: If vfsmount_ptr is not a 'vfsmount \*' + exceptions.VolatilityException: If vfsmount_ptr is not a 'vfsmount \\*' Returns: bool: 'True' if the given argument points to the the same 'vfsmount' From 338106dfe8e0667a07b0ab0ba4d52fbf5f4d51e7 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 29 Feb 2024 14:46:35 +1100 Subject: [PATCH 0389/2186] Move the memory page parameters to the Intel layer --- volatility3/framework/constants/linux/__init__.py | 5 ----- volatility3/framework/layers/intel.py | 12 ++++++++++++ volatility3/framework/plugins/linux/elfs.py | 14 +++++--------- .../framework/symbols/linux/extensions/__init__.py | 2 +- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 5e82e580e..3eabc2341 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -9,11 +9,6 @@ from enum import IntEnum KERNEL_NAME = "__kernel__" -# arch/x86/include/asm/page_types.h -PAGE_SHIFT = 12 -PAGE_SIZE = 1 << PAGE_SHIFT -PAGE_MASK = ~(PAGE_SIZE - 1) - """The value hard coded from the Linux Kernel (hence not extracted from the layer itself)""" # include/linux/sched.h diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index ae477854d..75e561b33 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -67,6 +67,12 @@ class Intel(linear.LinearlyMappedLayer): math.ceil(math.log2(struct.calcsize(self._entry_format))) ) + @classproperty + @functools.lru_cache() + def page_shift(cls) -> int: + """Page shift for the intel memory layers.""" + return cls._page_size_in_bits + @classproperty @functools.lru_cache() def page_size(cls) -> int: @@ -76,6 +82,12 @@ class Intel(linear.LinearlyMappedLayer): """ return 1 << cls._page_size_in_bits + @classproperty + @functools.lru_cache() + def page_mask(cls) -> int: + """Page mask for the intel memory layers.""" + return ~(cls.page_size - 1) + @classproperty @functools.lru_cache() def bits_per_register(cls) -> int: diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index 7171a6616..43cd6bb8b 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -14,11 +14,7 @@ from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux.extensions import elf -from volatility3.framework.constants.linux import ( - PAGE_SIZE, - PAGE_MASK, - ELF_MAX_EXTRACTION_SIZE, -) +from volatility3.framework.constants.linux import ELF_MAX_EXTRACTION_SIZE from volatility3.plugins.linux import pslist @@ -106,11 +102,11 @@ class Elfs(plugins.PluginInterface): # Use complete memory pages for dumping # If start isn't a multiple of a page, stick to the highest multiple < start # If end isn't a multiple of a page, stick to the lowest multiple > end - if start % PAGE_SIZE: - start = start & PAGE_MASK + if start % proc_layer.page_size: + start = start & proc_layer.page_mask - if end % PAGE_SIZE: - end = (end & PAGE_MASK) + PAGE_SIZE + if end % proc_layer.page_size: + end = (end & proc_layer.page_mask) + proc_layer.page_size real_size = end - start diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0a3db9fcd..1faafc267 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -640,7 +640,7 @@ class vm_area_struct(objects.StructType): elif flags_str == "r-x" and self.vm_file.dereference().vol.offset == 0: ret = True elif proclayer and "x" in flags_str: - for i in range(self.vm_start, self.vm_end, 1 << constants.linux.PAGE_SHIFT): + for i in range(self.vm_start, self.vm_end, proclayer.page_size): try: if proclayer.is_dirty(i): vollog.warning( From d5a0543a2d2d950c6743455f3f0ffa0b5afc2097 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 29 Feb 2024 15:34:20 +1100 Subject: [PATCH 0390/2186] Use the ELF class constant instead of hardcoding a value. Fixed some f-strings --- volatility3/framework/layers/xen.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/layers/xen.py b/volatility3/framework/layers/xen.py index 927b30430..e7aa0ccec 100644 --- a/volatility3/framework/layers/xen.py +++ b/volatility3/framework/layers/xen.py @@ -5,6 +5,7 @@ from typing import Optional from volatility3.framework import constants, interfaces, exceptions from volatility3.framework.layers import elf from volatility3.framework.symbols import intermed +from volatility3.framework.constants.linux import ELF_CLASS vollog = logging.getLogger(__name__) @@ -14,7 +15,7 @@ class XenCoreDumpLayer(elf.Elf64Layer): _header_struct = struct.Struct(" Date: Thu, 29 Feb 2024 15:34:48 +1100 Subject: [PATCH 0391/2186] Update author and modification time --- volatility3/framework/symbols/linux/elf.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/elf.json b/volatility3/framework/symbols/linux/elf.json index e0a95bbba..79a96e07a 100644 --- a/volatility3/framework/symbols/linux/elf.json +++ b/volatility3/framework/symbols/linux/elf.json @@ -1087,8 +1087,8 @@ "metadata": { "producer": { "version": "0.0.2", - "name": "ikelos-by-hand", - "datetime": "2019-10-21T22:52:00" + "name": "gcmoreira-by-hand", + "datetime": "2024-02-19T14:37:00" }, "format": "6.1.0" } From 9b0915dc85470df78bc739148093bb72d659297c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 29 Feb 2024 15:36:46 +1100 Subject: [PATCH 0392/2186] Add logging for unknown ELF types --- volatility3/framework/layers/elf.py | 4 ++ volatility3/framework/plugins/linux/elfs.py | 4 ++ .../framework/symbols/linux/extensions/elf.py | 66 ++++++++++++++++--- 3 files changed, 64 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/layers/elf.py b/volatility3/framework/layers/elf.py index 6bd5c2d63..81f3c3634 100644 --- a/volatility3/framework/layers/elf.py +++ b/volatility3/framework/layers/elf.py @@ -55,6 +55,10 @@ class Elf64Layer(segmented.SegmentedLayer): try: ptype = phdr.p_type.description except ValueError: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping unknown ELF program header type: {phdr.p_type}", + ) continue if ( diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index 43cd6bb8b..6820576dc 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -93,6 +93,10 @@ class Elfs(plugins.PluginInterface): if phdr.p_type.description != "PT_LOAD": continue except ValueError: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping unknown ELF program header type: {phdr.p_type}", + ) continue start = phdr.p_vaddr diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index 828370fe8..2cf5c3d4e 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -165,6 +165,10 @@ class elf(objects.StructType): if phdr.p_type.description != "PT_DYNAMIC": continue except ValueError: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping unknown ELF program header type: {phdr.p_type}", + ) continue for dsec in phdr.dynamic_sections(): @@ -172,6 +176,10 @@ class elf(objects.StructType): if dsec.d_tag.description != "DT_PLTGOT": continue except ValueError: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping unknown ELF dynamic section type: {dsec.d_tag}", + ) continue got_start = dsec.d_ptr @@ -186,16 +194,27 @@ class elf(objects.StructType): layer_name=self.vol.layer_name, ) if not link_map_ptr: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Invalid ELF link map pointer at 0x{link_map_addr:x}", + ) continue linkmap_symname = ( elf_symbol_table + constants.BANG + self._type_prefix + "LinkMap" ) - link_map = self._context.object( - object_type=linkmap_symname, - offset=link_map_ptr, - layer_name=self.vol.layer_name, - ) + try: + link_map = self._context.object( + object_type=linkmap_symname, + offset=link_map_ptr, + layer_name=self.vol.layer_name, + ) + except exceptions.InvalidAddressException: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Invalid ELF link map address at 0x{link_map_ptr:x}", + ) + continue while link_map and link_map.vol.offset != 0: if link_map.vol.offset in link_maps_seen: @@ -204,11 +223,18 @@ class elf(objects.StructType): yield link_map - link_map = self._context.object( - object_type=linkmap_symname, - offset=link_map.l_next, - layer_name=self.vol.layer_name, - ) + try: + link_map = self._context.object( + object_type=linkmap_symname, + offset=link_map.l_next, + layer_name=self.vol.layer_name, + ) + except exceptions.InvalidAddressException: + vollog.log( + constants.LOGLEVEL_VVVV, + f"ELF link map linked list is corrupt at 0x{self.vol.offset:x}", + ) + break def _find_symbols(self): dt_strtab = None @@ -221,6 +247,10 @@ class elf(objects.StructType): if phdr.p_type.description != "PT_DYNAMIC": continue except ValueError: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping unknown ELF program header type: {phdr.p_type}", + ) continue # This section contains pointers to the strtab, symtab, and strent sections @@ -228,6 +258,10 @@ class elf(objects.StructType): try: dtag = dsec.d_tag.description except ValueError: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping unknown ELF dynamic section type: {dsec.d_tag}", + ) continue if dtag == "DT_STRTAB": @@ -353,6 +387,10 @@ class elf_phdr(objects.StructType): except ValueError: # Unknown ELF object file type. Anyway, if the ELF object file type is not a # shared object (ET_DYN), the virtual address is 'p_vaddr'. + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping unknown ELF object type: {self._parent_e_type}", + ) pass return offset @@ -365,6 +403,10 @@ class elf_phdr(objects.StructType): except ValueError: # If the value is outside the ones declared in the enumeration, an # exception is raised + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping unknown ELF program header type: {self.p_type}", + ) return None # the buffer of array starts at elf_base + our virtual address ( offset ) @@ -398,6 +440,10 @@ class elf_linkmap(objects.StructType): buf = self._context.layers.read(self.vol.layer_name, self.l_name, 256) except exceptions.PagedInvalidAddressException: # Protection against memory smear + vollog.log( + constants.LOGLEVEL_VVVV, + f"Invalid l_name address for ELF link map at 0x{self.vol.offset:x}", + ) return None idx = buf.find(b"\x00") From 3c9af096e15402a403b41b29a79ab3c74cc617f1 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 29 Feb 2024 16:17:47 +1100 Subject: [PATCH 0393/2186] Add missing PAGE_SHIFT replacement --- volatility3/framework/symbols/linux/extensions/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 1faafc267..04cfa099f 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -611,7 +611,8 @@ class vm_area_struct(objects.StructType): def get_page_offset(self) -> int: if self.vm_file == 0: return 0 - return self.vm_pgoff << constants.linux.PAGE_SHIFT + parent_layer = self._context.layers[self.vol.layer_name] + return self.vm_pgoff << parent_layer.page_shift def get_name(self, context, task): if self.vm_file != 0: From b681438ddcfdc33defa34d15cf48bd9ce4c9ca58 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 29 Feb 2024 16:21:34 +1100 Subject: [PATCH 0394/2186] Remove unnecessary 'pass' statement. --- volatility3/framework/symbols/linux/extensions/elf.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index 2cf5c3d4e..eadcbbae0 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -391,7 +391,6 @@ class elf_phdr(objects.StructType): constants.LOGLEVEL_VVVV, f"Skipping unknown ELF object type: {self._parent_e_type}", ) - pass return offset From a8e10828273fb8cfa74743137ba70fd730e42619 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 29 Feb 2024 14:36:46 +0100 Subject: [PATCH 0395/2186] restore pslist, add queue_head_t type class --- volatility3/framework/plugins/mac/pslist.py | 8 ++------ volatility3/framework/symbols/mac/__init__.py | 4 +++- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index 9835644b8..9b570f3f9 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -49,9 +49,7 @@ class PsList(interfaces.plugins.PluginInterface): ] @classmethod - def get_list_tasks( - cls, method: str - ) -> Callable[ + def get_list_tasks(cls, method: str) -> Callable[ [interfaces.context.ContextInterface, str, Callable[[int], bool]], Iterable[interfaces.objects.ObjectInterface], ]: @@ -188,9 +186,7 @@ class PsList(interfaces.plugins.PluginInterface): kernel_layer = context.layers[kernel.layer_name] - queue_entry = kernel.object( - object_type="queue_entry", offset=kernel.get_symbol("tasks").address - ) + queue_entry = kernel.object_from_symbol(symbol_name="tasks") seen: Dict[int, int] = {} for task in queue_entry.walk_list(queue_entry, "tasks", "task"): diff --git a/volatility3/framework/symbols/mac/__init__.py b/volatility3/framework/symbols/mac/__init__.py index 56ac96633..be4fe8cd1 100644 --- a/volatility3/framework/symbols/mac/__init__.py +++ b/volatility3/framework/symbols/mac/__init__.py @@ -21,12 +21,14 @@ class MacKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("vm_map_object", extensions.vm_map_object) self.set_type_class("socket", extensions.socket) self.set_type_class("inpcb", extensions.inpcb) - self.set_type_class("queue_entry", extensions.queue_entry) self.set_type_class("ifnet", extensions.ifnet) self.set_type_class("sockaddr_dl", extensions.sockaddr_dl) self.set_type_class("sockaddr", extensions.sockaddr) self.set_type_class("sysctl_oid", extensions.sysctl_oid) self.set_type_class("kauth_scope", extensions.kauth_scope) + # https://developer.apple.com/documentation/kernel/queue_head_t + self.set_type_class("queue_entry", extensions.queue_entry) + self.set_type_class("queue_head_t", extensions.queue_entry) class MacUtilities(interfaces.configuration.VersionableInterface): From 850b377dcf8b087d5296774b0803965271cda9b7 Mon Sep 17 00:00:00 2001 From: hsarkey Date: Fri, 9 Feb 2024 15:21:41 -0500 Subject: [PATCH 0396/2186] Updated windows.dlllist plugin to have --name and --base flags for filtering on dll name and base address. --- .../framework/plugins/windows/dlllist.py | 47 ++++++++++++++++++- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index f876dc1a2..4f50bdda5 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -5,6 +5,7 @@ import contextlib import datetime import logging import ntpath +import re from typing import List, Optional, Type from volatility3.framework import constants, exceptions, interfaces, renderers @@ -22,7 +23,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists the loaded modules in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -53,6 +54,22 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): description="Process offset in the physical address space", optional=True, ), + requirements.StringRequirement( + name="name", + description="Specify a regular expression to match dll name(s)", + optional=True, + ), + requirements.IntRequirement( + name="base", + description="Specify a base address", + optional=True, + ), + requirements.BooleanRequirement( + name="ignore-case", + description="Specify case insensitivity for the regular expression name matching", + default=False, + optional=True, + ), requirements.BooleanRequirement( name="dump", description="Extract listed DLLs", @@ -144,9 +161,35 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): BaseDllName = FullDllName = renderers.UnreadableValue() with contextlib.suppress(exceptions.InvalidAddressException): BaseDllName = entry.BaseDllName.get_string() - # We assume that if the BaseDllName points to an invalid buffer, so will FullDllName + # We assume that if BaseDllName points to invalid buffer, so will FullDllName FullDllName = entry.FullDllName.get_string() + # Check if a name regex was passed and apply it to only show matches + if self.config["name"]: + try: + flags = re.I if self.config["ignore-case"] else 0 + mod_re = re.compile(self.config["name"], flags) + except re.error: + vollog.debug( + "Error parsing regular expression: %s", self.config["name"] + ) + return None + + # If Base or Full Dll Name are invalid, move on + if isinstance(BaseDllName, renderers.UnreadableValue) or isinstance( + FullDllName, renderers.UnreadableValue + ): + continue + + # If regex does not match, move on + if not mod_re.search(BaseDllName) and not mod_re.search( + FullDllName + ): + continue + + if self.config["base"] and self.config["base"] != entry.DllBase: + continue + if dll_load_time_field: # Versions prior to 6.1 won't have the LoadTime attribute # and 32bit version shouldn't have the Quadpart according to MSDN From d56ccbfd0b749d8f2ad69764658bf8f3856b8d21 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 1 Mar 2024 14:18:30 +0100 Subject: [PATCH 0397/2186] allow specifying integers as 0x in ListRequirement --- volatility3/cli/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 3de7d8f8f..a67762a31 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -827,7 +827,11 @@ class CommandLine: requirement, volatility3.framework.configuration.requirements.ListRequirement, ): - additional["type"] = requirement.element_type + # Allow a list of integers, specified with convenient 0x hexadecimal format + if requirement.element_type == int: + additional["type"] = lambda x: int(x, 0) + else: + additional["type"] = requirement.element_type nargs = "*" if requirement.optional else "+" additional["nargs"] = nargs elif isinstance( From 3040bc5fc21f31e27f75ac8c3ec359e43454d098 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 1 Mar 2024 14:20:13 +0100 Subject: [PATCH 0398/2186] add --dump mechanism, similarly to linux.proc --- .../framework/plugins/mac/proc_maps.py | 173 +++++++++++++++++- 1 file changed, 169 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/mac/proc_maps.py b/volatility3/framework/plugins/mac/proc_maps.py index 781b3ed66..204d414e4 100644 --- a/volatility3/framework/plugins/mac/proc_maps.py +++ b/volatility3/framework/plugins/mac/proc_maps.py @@ -2,17 +2,23 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from volatility3.framework import renderers, interfaces +from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.plugins.mac import pslist +from typing import Callable, Generator, Type, Optional +import logging + +vollog = logging.getLogger(__name__) class Maps(interfaces.plugins.PluginInterface): """Lists process memory ranges that potentially contain injected code.""" _required_framework_version = (2, 0, 0) + _version = (1, 1, 0) + MAXSIZE_DEFAULT = 1024 * 1024 * 1024 # 1 Gb @classmethod def get_requirements(cls): @@ -31,14 +37,155 @@ class Maps(interfaces.plugins.PluginInterface): element_type=int, optional=True, ), + requirements.BooleanRequirement( + name="dump", + description="Extract listed memory segments", + default=False, + optional=True, + ), + requirements.ListRequirement( + name="address", + description="Process virtual memory addresses to include " + "(all other VMA sections are excluded). This can be any " + "virtual address within the VMA section. Virtual addresses " + "must be separated by a space.", + element_type=int, + optional=True, + ), + requirements.IntRequirement( + name="maxsize", + description="Maximum size for dumped VMA sections " + "(all the bigger sections will be ignored)", + default=cls.MAXSIZE_DEFAULT, + optional=True, + ), ] + @classmethod + def list_vmas( + cls, + task: interfaces.objects.ObjectInterface, + filter_func: Callable[ + [interfaces.objects.ObjectInterface], bool + ] = lambda _: True, + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: + """Lists the Virtual Memory Areas of a specific process. + + Args: + task: task object from which to list the vma + filter_func: Function to take a vma and return False if it should be filtered out + + Returns: + Yields vmas based on the task and filtered based on the filter function + """ + for vma in task.get_map_iter(): + if filter_func(vma): + yield vma + else: + vollog.debug( + f"Excluded vma at offset {vma.vol.offset:#x} for pid {task.p_pid} due to filter_func" + ) + + @classmethod + def vma_dump( + cls, + context: interfaces.context.ContextInterface, + task: interfaces.objects.ObjectInterface, + vm_start: int, + vm_end: int, + open_method: Type[interfaces.plugins.FileHandlerInterface], + maxsize: int = MAXSIZE_DEFAULT, + ) -> Optional[interfaces.plugins.FileHandlerInterface]: + """Extracts the complete data for VMA as a FileInterface. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + task: an task_struct instance + vm_start: The start virtual address from the vma to dump + vm_end: The end virtual address from the vma to dump + open_method: class to provide context manager for opening the file + maxsize: Max size of VMA section (default MAXSIZE_DEFAULT) + + Returns: + An open FileInterface object containing the complete data for the task or None in the case of failure + """ + pid = task.p_pid + + try: + proc_layer_name = task.add_process_layer() + except exceptions.InvalidAddressException as excp: + vollog.debug( + "Process {}: invalid address {} in layer {}".format( + pid, excp.invalid_address, excp.layer_name + ) + ) + return None + vm_size = vm_end - vm_start + + # check if vm_size is negative, this should never happen. + if vm_size < 0: + vollog.warning( + f"Skip virtual memory dump for pid {pid} between {vm_start:#x}-{vm_end:#x} as {vm_size} is negative." + ) + return None + # check if vm_size is larger than the maxsize limit, and therefore is not saved out. + if maxsize <= vm_size: + vollog.warning( + f"Skip virtual memory dump for pid {pid} between {vm_start:#x}-{vm_end:#x} as {vm_size} is larger than maxsize limit of {maxsize}" + ) + return None + proc_layer = context.layers[proc_layer_name] + file_name = f"pid.{pid}.vma.{vm_start:#x}-{vm_end:#x}.dmp" + try: + file_handle = open_method(file_name) + chunk_size = 1024 * 1024 * 10 + offset = vm_start + while offset < vm_start + vm_size: + to_read = min(chunk_size, vm_start + vm_size - offset) + data = proc_layer.read(offset, to_read, pad=True) + file_handle.write(data) + offset += to_read + except Exception as excp: + vollog.debug(f"Unable to dump virtual memory {file_name}: {excp}") + return None + return file_handle + def _generator(self, tasks): + address_list = self.config.get("address", None) + if not address_list: + # do not filter as no address_list was supplied + vma_filter_func = lambda _: True + else: + # filter for any vm_start that matches the supplied address config + def vma_filter_function(task: interfaces.objects.ObjectInterface) -> bool: + addrs_in_vma = [ + addr + for addr in address_list + if task.links.start <= addr <= task.links.end + ] + + # if any of the user supplied addresses would fall within this vma return true + if addrs_in_vma: + return True + else: + return False + + vma_filter_func = vma_filter_function + for task in tasks: process_name = utility.array_to_string(task.p_comm) process_pid = task.p_pid - for vma in task.get_map_iter(): + for vma in self.list_vmas(task, filter_func=vma_filter_func): + try: + vm_start = vma.links.start + vm_end = vma.links.end + except AttributeError: + vollog.debug( + f"Unable to find the vm_start and vm_end for vma at {vma.vol.offset:#x} for pid {process_pid}" + ) + continue + path = vma.get_path( self.context, self.context.modules[self.config["kernel"]].symbol_table_name, @@ -46,15 +193,32 @@ class Maps(interfaces.plugins.PluginInterface): if path == "": path = vma.get_special_path() + file_output = "Disabled" + if self.config["dump"]: + file_output = "Error outputting file" + file_handle = self.vma_dump( + self.context, + task, + vm_start, + vm_end, + self.open, + self.config["maxsize"], + ) + + if file_handle: + file_handle.close() + file_output = file_handle.preferred_filename + yield ( 0, ( process_pid, process_name, - format_hints.Hex(vma.links.start), - format_hints.Hex(vma.links.end), + format_hints.Hex(vm_start), + format_hints.Hex(vm_end), vma.get_perms(), path, + file_output, ), ) @@ -72,6 +236,7 @@ class Maps(interfaces.plugins.PluginInterface): ("End", format_hints.Hex), ("Protection", str), ("Map Name", str), + ("File output", str), ], self._generator( list_tasks(self.context, self.config["kernel"], filter_func=filter_func) From 965ddcb674d30528792a404b819635c60c207f8e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 1 Mar 2024 19:30:46 +0100 Subject: [PATCH 0399/2186] make queue_head_t optional, as it might not exist in all ISF --- volatility3/framework/symbols/mac/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/mac/__init__.py b/volatility3/framework/symbols/mac/__init__.py index be4fe8cd1..83aebb13b 100644 --- a/volatility3/framework/symbols/mac/__init__.py +++ b/volatility3/framework/symbols/mac/__init__.py @@ -28,7 +28,7 @@ class MacKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("kauth_scope", extensions.kauth_scope) # https://developer.apple.com/documentation/kernel/queue_head_t self.set_type_class("queue_entry", extensions.queue_entry) - self.set_type_class("queue_head_t", extensions.queue_entry) + self.optional_set_type_class("queue_head_t", extensions.queue_entry) class MacUtilities(interfaces.configuration.VersionableInterface): From 2e835099b58b54af2f988355ae04cbfeff9cd13e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 1 Mar 2024 20:19:31 +0100 Subject: [PATCH 0400/2186] fix wrong list_head comparison + better naming --- .../symbols/mac/extensions/__init__.py | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/symbols/mac/extensions/__init__.py b/volatility3/framework/symbols/mac/extensions/__init__.py index c89b527e6..0a6bfbb90 100644 --- a/volatility3/framework/symbols/mac/extensions/__init__.py +++ b/volatility3/framework/symbols/mac/extensions/__init__.py @@ -490,22 +490,24 @@ class queue_entry(objects.StructType): for attr in ["next", "prev"]: with contextlib.suppress(exceptions.InvalidAddressException): - n = getattr(self, attr).dereference().cast(type_name) - - while n is not None and n.vol.offset != list_head: - if n.vol.offset in seen: + queue_element = getattr(self, attr).dereference().cast(type_name) + while ( + queue_element is not None + and queue_element.vol.offset != list_head.vol.offset + ): + if queue_element.vol.offset in seen: break - yield n + yield queue_element - seen.add(n.vol.offset) + seen.add(queue_element.vol.offset) yielded = yielded + 1 if yielded == max_size: - return + return None - n = ( - getattr(n.member(attr=member_name), attr) + queue_element = ( + getattr(queue_element.member(attr=member_name), attr) .dereference() .cast(type_name) ) From caf108b604be6925a2e5e1a4afc627da1fa943a5 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 2 Mar 2024 17:17:48 +0100 Subject: [PATCH 0401/2186] macOS dmesg plugin support --- volatility3/framework/plugins/mac/dmesg.py | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 volatility3/framework/plugins/mac/dmesg.py diff --git a/volatility3/framework/plugins/mac/dmesg.py b/volatility3/framework/plugins/mac/dmesg.py new file mode 100644 index 000000000..a006ff854 --- /dev/null +++ b/volatility3/framework/plugins/mac/dmesg.py @@ -0,0 +1,79 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from volatility3.framework import interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility + +vollog = logging.getLogger(__name__) + + +class Dmesg(interfaces.plugins.PluginInterface): + """Prints the kernel log buffer.""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement( + name="kernel", + description="Kernel module for the OS", + architectures=["Intel32", "Intel64"], + ), + ] + + @classmethod + def get_kernel_log_buffer( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str + ): + """ + Online documentation : + - https://github.com/apple-open-source/macos/blob/master/xnu/bsd/sys/msgbuf.h + - https://github.com/apple-open-source/macos/blob/ea4cd5a06831aca49e33df829d2976d6de5316ec/xnu/bsd/kern/subr_log.c#L751 + Volatility 2 plugin : + - https://github.com/volatilityfoundation/volatility/blob/master/volatility/plugins/mac/dmesg.py + """ + + kernel = context.modules[kernel_module_name] + if not kernel.has_symbol("msgbufp"): + vollog.error( + 'The provided symbol table does not include the "msgbufp" symbol. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt.' + ) + return [] + + msgbufp_ptr = kernel.object_from_symbol(symbol_name="msgbufp") + msgbufp = msgbufp_ptr.dereference() + msg_size = msgbufp.msg_size # max buffer size + msg_bufx = msgbufp.msg_bufx # write pointer + msg_bufc = msgbufp.msg_bufc + # msg_bufc is circular, meaning that if its size exceeds msg_size, + # msg_bufx will point to the beginning of the buffer and start overwriting. + msg_bufc_data: str = utility.pointer_to_string(msg_bufc, msg_size) + # Avoid OOB reads + msg_bufx = msg_bufx if msg_bufx <= msg_size else 0 + # We directly take into account the case where the write buffer did a loop, + # as older messages will start at msg_bufx offset (not overwritten yet). + dmesg = msg_bufc_data[msg_bufx:] + dmesg += msg_bufc_data[:msg_bufx] + + # Yield each line + for dmesg_line in dmesg.splitlines(): + yield (dmesg_line.strip(),) + + def _generator(self): + for value in self.get_kernel_log_buffer( + context=self.context, kernel_module_name=self.config["kernel"] + ): + yield (0, value) + + def run(self): + return renderers.TreeGrid( + [ + ("line", str), + ], + self._generator(), + ) From 8d79e3211ba2e8ea751c657b5da9f99a8b3a90c2 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 2 Mar 2024 17:30:51 +0100 Subject: [PATCH 0402/2186] prefer TypeError to vollog.error --- volatility3/framework/plugins/mac/dmesg.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/mac/dmesg.py b/volatility3/framework/plugins/mac/dmesg.py index a006ff854..b837b9db6 100644 --- a/volatility3/framework/plugins/mac/dmesg.py +++ b/volatility3/framework/plugins/mac/dmesg.py @@ -40,10 +40,9 @@ class Dmesg(interfaces.plugins.PluginInterface): kernel = context.modules[kernel_module_name] if not kernel.has_symbol("msgbufp"): - vollog.error( + raise TypeError( 'The provided symbol table does not include the "msgbufp" symbol. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt.' ) - return [] msgbufp_ptr = kernel.object_from_symbol(symbol_name="msgbufp") msgbufp = msgbufp_ptr.dereference() From 2f0bb6b297ffe601c563d646f09c80b8b0a4864f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 2 Mar 2024 18:39:48 +0100 Subject: [PATCH 0403/2186] do not strip each line --- volatility3/framework/plugins/mac/dmesg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/mac/dmesg.py b/volatility3/framework/plugins/mac/dmesg.py index b837b9db6..d4f2c869d 100644 --- a/volatility3/framework/plugins/mac/dmesg.py +++ b/volatility3/framework/plugins/mac/dmesg.py @@ -61,7 +61,7 @@ class Dmesg(interfaces.plugins.PluginInterface): # Yield each line for dmesg_line in dmesg.splitlines(): - yield (dmesg_line.strip(),) + yield (dmesg_line,) def _generator(self): for value in self.get_kernel_log_buffer( From cb6f8c507268dd399f24e762766b3ba42498799a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 4 Mar 2024 20:47:49 +1100 Subject: [PATCH 0404/2186] Rename methods to be private --- .../framework/plugins/linux/library_list.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/linux/library_list.py b/volatility3/framework/plugins/linux/library_list.py index ed5545347..062ed078e 100644 --- a/volatility3/framework/plugins/linux/library_list.py +++ b/volatility3/framework/plugins/linux/library_list.py @@ -43,7 +43,7 @@ class LibraryList(interfaces.plugins.PluginInterface): ), ] - def get_libdl_libraries( + def _get_libdl_libraries( self, proc_layer_name: str, vma_start: int ) -> interfaces.objects.ObjectInterface: """Get the ELF link map objects for the given VMA address @@ -81,7 +81,7 @@ class LibraryList(interfaces.plugins.PluginInterface): # Protection against memory smear in this VMA pass - def get_libdl_maps( + def _get_libdl_maps( self, task: interfaces.objects.ObjectInterface, proc_layer_name: str ) -> interfaces.objects.ObjectInterface: """Get the ELF link maps objects for a task @@ -96,14 +96,14 @@ class LibraryList(interfaces.plugins.PluginInterface): link_map_seen = set() for vma in task.mm.get_vma_iter(): - for link_map in self.get_libdl_libraries(proc_layer_name, vma.vm_start): + for link_map in self._get_libdl_libraries(proc_layer_name, vma.vm_start): if link_map.l_addr in link_map_seen: continue yield link_map link_map_seen.add(link_map.l_addr) - def get_task_libraries( + def _get_task_libraries( self, task: interfaces.objects.ObjectInterface ) -> Tuple[int, str]: """Get the task libraries from the ELF headers found within the memory maps @@ -118,13 +118,13 @@ class LibraryList(interfaces.plugins.PluginInterface): if not proc_layer_name: return - for elf_link_map in self.get_libdl_maps(task, proc_layer_name): + for elf_link_map in self._get_libdl_maps(task, proc_layer_name): name = elf_link_map.get_name() if not name: continue yield elf_link_map.l_addr, name - def get_tasks_libraries( + def _get_tasks_libraries( self, tasks: Iterable[interfaces.objects.ObjectInterface], ) -> Iterable[Tuple[str, int, int, str]]: @@ -139,7 +139,7 @@ class LibraryList(interfaces.plugins.PluginInterface): """ for task in tasks: task_name = utility.array_to_string(task.comm) - for linkmap_addr, linkmap_name in self.get_task_libraries(task): + for linkmap_addr, linkmap_name in self._get_task_libraries(task): yield task_name, task.tgid, linkmap_addr, linkmap_name def _format_fields(self, fields): @@ -149,7 +149,7 @@ class LibraryList(interfaces.plugins.PluginInterface): def _generator( self, tasks: Iterable[interfaces.objects.ObjectInterface] ) -> Iterable[Tuple[int, Tuple]]: - for fields in self.get_tasks_libraries(tasks): + for fields in self._get_tasks_libraries(tasks): yield 0, self._format_fields(fields) def run(self): From 373bf9dfaa466fdaba9635a78a6449679af502bf Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 4 Mar 2024 18:33:03 +0000 Subject: [PATCH 0405/2186] Windows: Fix driverirp black issue --- volatility3/framework/plugins/windows/driverirp.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/driverirp.py b/volatility3/framework/plugins/windows/driverirp.py index f7eca0359..433c61ca2 100644 --- a/volatility3/framework/plugins/windows/driverirp.py +++ b/volatility3/framework/plugins/windows/driverirp.py @@ -115,9 +115,17 @@ class DriverIrp(interfaces.plugins.PluginInterface): ) if not module_found: - yield (0, (format_hints.Hex(driver.vol.offset), driver_name, MAJOR_FUNCTIONS[i], - format_hints.Hex(address), renderers.NotAvailableValue(), renderers.NotAvailableValue())) - + yield ( + 0, + ( + format_hints.Hex(driver.vol.offset), + driver_name, + MAJOR_FUNCTIONS[i], + format_hints.Hex(address), + renderers.NotAvailableValue(), + renderers.NotAvailableValue(), + ), + ) def run(self): return renderers.TreeGrid( From 403804431ae0ae5118b13cb0f894edfb9cc03d73 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 4 Mar 2024 20:11:17 +0100 Subject: [PATCH 0406/2186] prefer SymbolError to TypeError --- volatility3/framework/plugins/mac/dmesg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/mac/dmesg.py b/volatility3/framework/plugins/mac/dmesg.py index d4f2c869d..12c241641 100644 --- a/volatility3/framework/plugins/mac/dmesg.py +++ b/volatility3/framework/plugins/mac/dmesg.py @@ -3,7 +3,7 @@ # import logging -from volatility3.framework import interfaces, renderers +from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility @@ -40,7 +40,7 @@ class Dmesg(interfaces.plugins.PluginInterface): kernel = context.modules[kernel_module_name] if not kernel.has_symbol("msgbufp"): - raise TypeError( + raise exceptions.SymbolError( 'The provided symbol table does not include the "msgbufp" symbol. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt.' ) From 1bf18dbd8a9f68381dfbdb46c4d76ab92cbe0a68 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 4 Mar 2024 20:11:50 +0100 Subject: [PATCH 0407/2186] implicit pointer dereference --- volatility3/framework/plugins/mac/dmesg.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/mac/dmesg.py b/volatility3/framework/plugins/mac/dmesg.py index 12c241641..daa6617ad 100644 --- a/volatility3/framework/plugins/mac/dmesg.py +++ b/volatility3/framework/plugins/mac/dmesg.py @@ -44,8 +44,7 @@ class Dmesg(interfaces.plugins.PluginInterface): 'The provided symbol table does not include the "msgbufp" symbol. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt.' ) - msgbufp_ptr = kernel.object_from_symbol(symbol_name="msgbufp") - msgbufp = msgbufp_ptr.dereference() + msgbufp = kernel.object_from_symbol(symbol_name="msgbufp") msg_size = msgbufp.msg_size # max buffer size msg_bufx = msgbufp.msg_bufx # write pointer msg_bufc = msgbufp.msg_bufc From 98705e110df4691dc974210f0818621db2f27bbf Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 4 Mar 2024 20:12:12 +0100 Subject: [PATCH 0408/2186] more specific msg_bufx comment --- volatility3/framework/plugins/mac/dmesg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/mac/dmesg.py b/volatility3/framework/plugins/mac/dmesg.py index daa6617ad..7f817e605 100644 --- a/volatility3/framework/plugins/mac/dmesg.py +++ b/volatility3/framework/plugins/mac/dmesg.py @@ -46,7 +46,7 @@ class Dmesg(interfaces.plugins.PluginInterface): msgbufp = kernel.object_from_symbol(symbol_name="msgbufp") msg_size = msgbufp.msg_size # max buffer size - msg_bufx = msgbufp.msg_bufx # write pointer + msg_bufx = msgbufp.msg_bufx # write index of the msg_bufc circular buffer msg_bufc = msgbufp.msg_bufc # msg_bufc is circular, meaning that if its size exceeds msg_size, # msg_bufx will point to the beginning of the buffer and start overwriting. From 69a6c7d5b7cbfb99e8ec70d05dac95a6dea71713 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 4 Mar 2024 20:16:55 +0100 Subject: [PATCH 0409/2186] revert int as hex format commit --- volatility3/cli/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index a67762a31..3de7d8f8f 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -827,11 +827,7 @@ class CommandLine: requirement, volatility3.framework.configuration.requirements.ListRequirement, ): - # Allow a list of integers, specified with convenient 0x hexadecimal format - if requirement.element_type == int: - additional["type"] = lambda x: int(x, 0) - else: - additional["type"] = requirement.element_type + additional["type"] = requirement.element_type nargs = "*" if requirement.optional else "+" additional["nargs"] = nargs elif isinstance( From 9914f339dfc1cdd511fc3fad676b92b06520243e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 4 Mar 2024 20:19:15 +0100 Subject: [PATCH 0410/2186] simplify addrs_in_vma check --- volatility3/framework/plugins/mac/proc_maps.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/mac/proc_maps.py b/volatility3/framework/plugins/mac/proc_maps.py index 204d414e4..fe5179dfa 100644 --- a/volatility3/framework/plugins/mac/proc_maps.py +++ b/volatility3/framework/plugins/mac/proc_maps.py @@ -165,10 +165,7 @@ class Maps(interfaces.plugins.PluginInterface): ] # if any of the user supplied addresses would fall within this vma return true - if addrs_in_vma: - return True - else: - return False + return bool(addrs_in_vma) vma_filter_func = vma_filter_function From f4b12c6406e2f1accc147069403e363e7c6a01dc Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 4 Mar 2024 20:26:18 +0100 Subject: [PATCH 0411/2186] allow ints in the 0x format in ListRequirement --- volatility3/cli/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 3de7d8f8f..35e977eba 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -827,7 +827,11 @@ class CommandLine: requirement, volatility3.framework.configuration.requirements.ListRequirement, ): - additional["type"] = requirement.element_type + # Allow a list of integers, specified with the convenient 0x hexadecimal format + if requirement.element_type == int: + additional["type"] = lambda x: int(x, 0) + else: + additional["type"] = requirement.element_type nargs = "*" if requirement.optional else "+" additional["nargs"] = nargs elif isinstance( From 1f9a983f492ff7983030b8fa27b509106594f735 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 4 Mar 2024 20:38:01 +0100 Subject: [PATCH 0412/2186] correct use of SymbolError --- volatility3/framework/plugins/mac/dmesg.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/mac/dmesg.py b/volatility3/framework/plugins/mac/dmesg.py index 7f817e605..f9f06a666 100644 --- a/volatility3/framework/plugins/mac/dmesg.py +++ b/volatility3/framework/plugins/mac/dmesg.py @@ -41,7 +41,9 @@ class Dmesg(interfaces.plugins.PluginInterface): kernel = context.modules[kernel_module_name] if not kernel.has_symbol("msgbufp"): raise exceptions.SymbolError( - 'The provided symbol table does not include the "msgbufp" symbol. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt.' + "msgbufp", + kernel.symbol_table_name, + 'The provided symbol table does not include the "msgbufp" symbol. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt.', ) msgbufp = kernel.object_from_symbol(symbol_name="msgbufp") From 9edf33b7212d46682b48dbb40b744f198f8741a8 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 11 Mar 2024 21:20:29 +0000 Subject: [PATCH 0413/2186] Layers: Improve logging on crashdump layer --- volatility3/framework/layers/crash.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/layers/crash.py b/volatility3/framework/layers/crash.py index 8efd4f7c7..8fd0abbcc 100644 --- a/volatility3/framework/layers/crash.py +++ b/volatility3/framework/layers/crash.py @@ -261,11 +261,15 @@ class WindowsCrashDumpStacker(interfaces.automagic.StackerLayerInterface): progress_callback: constants.ProgressCallback = None, ) -> Optional[interfaces.layers.DataLayerInterface]: for layer in [WindowsCrashDump32Layer, WindowsCrashDump64Layer]: - with contextlib.suppress(WindowsCrashDumpFormatException): + try: layer.check_header(context.layers[layer_name]) new_name = context.layers.free_layer_name(layer.__name__) context.config[ interfaces.configuration.path_join(new_name, "base_layer") ] = layer_name return layer(context, new_name, new_name) + except (WindowsCrashDump32Layer, WindowsCrashDump64Layer) as excp: + vollog.log( + constants.LOGLEVEL_VVVV, f"Exception reading crashdump: {excp}" + ) return None From 084ea38f84b36e8db2594fc31f1c2d61b3b7c6ce Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 12 Mar 2024 00:13:02 +0000 Subject: [PATCH 0414/2186] Layers: Fix up typo in recent crashdump patch --- volatility3/framework/layers/crash.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/layers/crash.py b/volatility3/framework/layers/crash.py index 8fd0abbcc..5598fc2e4 100644 --- a/volatility3/framework/layers/crash.py +++ b/volatility3/framework/layers/crash.py @@ -268,8 +268,8 @@ class WindowsCrashDumpStacker(interfaces.automagic.StackerLayerInterface): interfaces.configuration.path_join(new_name, "base_layer") ] = layer_name return layer(context, new_name, new_name) - except (WindowsCrashDump32Layer, WindowsCrashDump64Layer) as excp: + except WindowsCrashDumpFormatException as excp: vollog.log( constants.LOGLEVEL_VVVV, f"Exception reading crashdump: {excp}" - ) + )\ return None From 8dbc64f4a8678455adbac80ac716dfa62b3aecb2 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 12 Mar 2024 00:14:30 +0000 Subject: [PATCH 0415/2186] Layers: Fix up typo in recent crashdump patch - take 2 --- volatility3/framework/layers/crash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/crash.py b/volatility3/framework/layers/crash.py index 5598fc2e4..042b18ddc 100644 --- a/volatility3/framework/layers/crash.py +++ b/volatility3/framework/layers/crash.py @@ -271,5 +271,5 @@ class WindowsCrashDumpStacker(interfaces.automagic.StackerLayerInterface): except WindowsCrashDumpFormatException as excp: vollog.log( constants.LOGLEVEL_VVVV, f"Exception reading crashdump: {excp}" - )\ + ) return None From f6495d3d986e01fb96789a88aa89cc2c8e40cb71 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 16 Mar 2024 08:42:53 +0000 Subject: [PATCH 0416/2186] Documentation: Improve logging level docstrings --- volatility3/framework/constants/__init__.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 921f602fd..3c5e0eb2f 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -59,14 +59,18 @@ PACKAGE_VERSION = ( AUTOMAGIC_CONFIG_PATH = "automagic" """The root section within the context configuration for automagic values""" +LOGLEVEL_INFO = 20 +"""Logging level for information data, showed when use the requests any logging: -v""" +LOGLEVEL_DEBUG = 10 +"""Logging level for debugging data, showed when the user requests more logging detail: -vv""" LOGLEVEL_V = 9 -"""Logging level for a single -v""" +"""Logging level for the lowest "extra" level of logging: -vvv""" LOGLEVEL_VV = 8 -"""Logging level for -vv""" +"""Logging level for two levels of detail: -vvvv""" LOGLEVEL_VVV = 7 -"""Logging level for -vvv""" +"""Logging level for three levels of detail: -vvvvv""" LOGLEVEL_VVVV = 6 -"""Logging level for -vvvv""" +"""Logging level for four levels of detail: -vvvvvv""" CACHE_PATH = os.path.join(os.path.expanduser("~"), ".cache", "volatility3") """Default path to store cached data""" From 436d355ef301d9cd73883b5129f8b9f744c2ecb7 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 16 Mar 2024 18:44:09 +0100 Subject: [PATCH 0417/2186] incrementally order extra log levels --- volatility3/cli/__init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 35e977eba..ec9918a65 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -264,6 +264,17 @@ class CommandLine: file_logger.setFormatter(file_formatter) rootlog.addHandler(file_logger) vollog.info("Logging started") + + for level, level_value in enumerate( + [ + constants.LOGLEVEL_V, + constants.LOGLEVEL_VV, + constants.LOGLEVEL_VVV, + constants.LOGLEVEL_VVVV, + ] + ): + logging.addLevelName(level_value, f"DETAIL {level+1}") + if partial_args.verbosity < 3: if partial_args.verbosity < 1: sys.tracebacklimit = None From 33d653e7a66b8b96350a3568c6d156eadb0cf878 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 16 Mar 2024 18:44:19 +0100 Subject: [PATCH 0418/2186] use logging explicit constants --- volatility3/cli/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index ec9918a65..116cde114 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -278,9 +278,9 @@ class CommandLine: if partial_args.verbosity < 3: if partial_args.verbosity < 1: sys.tracebacklimit = None - console.setLevel(30 - (partial_args.verbosity * 10)) + console.setLevel(logging.WARNING - (partial_args.verbosity * 10)) else: - console.setLevel(10 - (partial_args.verbosity - 2)) + console.setLevel(logging.DEBUG - (partial_args.verbosity - 2)) for level, msg in delayed_logs: vollog.log(level, msg) From 745491c846314fb37231c892e2cfab9eed4275f2 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 16 Mar 2024 22:19:02 +0100 Subject: [PATCH 0419/2186] put extra log level ordering in a function --- volatility3/cli/__init__.py | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 116cde114..457a49311 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -265,16 +265,7 @@ class CommandLine: rootlog.addHandler(file_logger) vollog.info("Logging started") - for level, level_value in enumerate( - [ - constants.LOGLEVEL_V, - constants.LOGLEVEL_VV, - constants.LOGLEVEL_VVV, - constants.LOGLEVEL_VVVV, - ] - ): - logging.addLevelName(level_value, f"DETAIL {level+1}") - + self.order_extra_verbose_levels() if partial_args.verbosity < 3: if partial_args.verbosity < 1: sys.tracebacklimit = None @@ -706,6 +697,17 @@ class CommandLine: ) context.config[extended_path] = value + def order_extra_verbose_levels(self): + for level, level_value in enumerate( + [ + constants.LOGLEVEL_V, + constants.LOGLEVEL_VV, + constants.LOGLEVEL_VVV, + constants.LOGLEVEL_VVVV, + ] + ): + logging.addLevelName(level_value, f"DETAIL {level+1}") + def file_handler_class_factory(self, direct=True): output_dir = self.output_dir From 7ff5f57e5d4485ad2e5f2ad4dc78017880442c05 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 16 Mar 2024 22:19:28 +0100 Subject: [PATCH 0420/2186] use logging explicit constants --- volatility3/cli/volshell/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/volshell/__init__.py b/volatility3/cli/volshell/__init__.py index 9e74acfec..998c8245b 100644 --- a/volatility3/cli/volshell/__init__.py +++ b/volatility3/cli/volshell/__init__.py @@ -198,9 +198,9 @@ class VolShell(cli.CommandLine): vollog.info("Logging started") if partial_args.verbosity < 3: - console.setLevel(30 - (partial_args.verbosity * 10)) + console.setLevel(logging.WARNING - (partial_args.verbosity * 10)) else: - console.setLevel(10 - (partial_args.verbosity - 2)) + console.setLevel(logging.DEBUG - (partial_args.verbosity - 2)) for level, msg in delayed_logs: vollog.log(level, msg) From de4a3359982b67b74a354001d380502ff41804d1 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 16 Mar 2024 22:19:45 +0100 Subject: [PATCH 0421/2186] call extra verbose level ordering --- volatility3/cli/volshell/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/cli/volshell/__init__.py b/volatility3/cli/volshell/__init__.py index 998c8245b..035ed9b2e 100644 --- a/volatility3/cli/volshell/__init__.py +++ b/volatility3/cli/volshell/__init__.py @@ -197,6 +197,7 @@ class VolShell(cli.CommandLine): vollog.addHandler(file_logger) vollog.info("Logging started") + self.order_extra_verbose_levels() if partial_args.verbosity < 3: console.setLevel(logging.WARNING - (partial_args.verbosity * 10)) else: From aae3f5bfef27a9bf4c56408df3a6a38f70186e21 Mon Sep 17 00:00:00 2001 From: Eve Date: Tue, 26 Mar 2024 06:43:22 +0000 Subject: [PATCH 0422/2186] Linux: add first draft of sockscan plugin --- .../framework/plugins/linux/sockscan.py | 318 ++++++++++++++++++ 1 file changed, 318 insertions(+) create mode 100644 volatility3/framework/plugins/linux/sockscan.py diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py new file mode 100644 index 000000000..52b33d9c1 --- /dev/null +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -0,0 +1,318 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +import struct +from typing import Callable, Tuple, List, Dict + +from volatility3.framework import interfaces, exceptions, constants, objects +from volatility3.framework.renderers import TreeGrid, NotAvailableValue, format_hints +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.objects import utility +from volatility3.framework.symbols import linux +from volatility3.plugins.linux import sockstat +from volatility3.framework import symbols +from volatility3.framework import symbols, constants +from volatility3.framework.layers import scanners + +vollog = logging.getLogger(__name__) + + +class Sockscan(plugins.PluginInterface): + """Scans for network connections found in memory layer.""" + + _required_framework_version = (2, 6, 0) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="SockHandlers", component=sockstat.SockHandlers, version=(1, 0, 0) + ), + requirements.VersionRequirement( + name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) + ), + ] + + def _generator(self, symbol_table_name: str): + """Scans for sockets. Each row represents a kernel socket. + + Args: + symbol_table_name: The name of the kernel module on which to operate + + Yields: + family: Socket family string (AF_UNIX, AF_INET, etc) + sock_type: Socket type string (STREAM, DGRAM, etc) + protocol: Protocol string (UDP, TCP, etc) + source addr: Source address string + source port: Source port string (not all of them are int) + destination addr: Destination address string + destination port: Destination port (not all of them are int) + state: State strings (LISTEN, CONNECTED, etc) + """ + + # get vmlinux module from context in order to build objects and read symbols + vmlinux = self.context.modules[symbol_table_name] + + # get kernel layer from context so that it's dependencies can be found, and therefore scanned. + # kernel layer will be virtual and built ontop of a physical layer. + kernel_layer = self.context.layers[vmlinux.layer_name] + + # detmine if kernel is 64bit or not. The plugin scans for pointers and these need to formated + # to the correct size so that they can be accurately located in the physical layer. + if symbols.symbol_table_is_64bit(self.context, vmlinux.symbol_table_name): + pack_format = "Q" # 64 bit + else: + pack_format = "I" # 32 bit + + # TODO: Update plugin to support multiple dependencies. e.g. a memory layer and swap file. + # This is a shared problem with psscan and having a generic solution would be useful. + # Find the memory layer to scan, and provide warnings if more than one is located. + if len(kernel_layer.dependencies) > 1: + vollog.warning( + f"Kernel layer depends on multiple layers however only {kernel_layer.dependencies[0]} will be scanned by this plugin." + ) + elif len(kernel_layer.dependencies) == 0: + vollog.error( + f"Kernel layer has no dependencies, meaning there is no memory layer for this plugin to scan." + ) + raise exceptions.LayerException( + vmlinux.layer_name, f"Layer {vmlinux.layer_name} has no dependencies" + ) + memory_layer_name = kernel_layer.dependencies[0] + memory_layer = self.context.layers[kernel_layer.dependencies[0]] + + # use the init process to build a sock handler + # TODO: look into options so that sockstat.SockHandlers so that process_sock can + # be used without a task object. + init_task = vmlinux.object_from_symbol(symbol_name="init_task") + sock_handler = sockstat.SockHandlers(vmlinux, init_task) + + # set to track seen sockets so that results are not duplicated between methods + sock_physical_addresses = set() + + # get progress_callback in order to use this in the scanners. + # TODO: perhaps add more detail to progress, showing method in progress and number of hits found + progress_callback = self._progress_callback + + # TODO: update scanning logic so that all needles can be scanned for at the same time + # this would allow the results to be shown as the scanning is happening and would + # make the plugin faster. It would require working out which needle caused the match + # and applying the logic at that point to get to the socket. + + # Method 1 - find sockets by file operations, then follow pointers to sockets + file_ops_symbol_names = ["socket_file_ops", "sockfs_dentry_operations"] + file_ops_needles = [] + for symbol_name in file_ops_symbol_names: + + # TODO: handle cases where symbol is not found + needle_addr = vmlinux.object_from_symbol(symbol_name).vol.offset + # use canonicalize to set the appropriate sign extension for the addr + addr = kernel_layer.canonicalize(needle_addr) + packed_addr = struct.pack(pack_format, addr) + file_ops_needles.append(packed_addr) + vollog.log( + constants.LOGLEVEL_VVVV, + f"Method 1 will scan for {symbol_name} using the bytes: {packed_addr.hex()}", + ) + + # get file struct to find the offset to the f_op pointer + # this is so that the file object can be created at the correct offset, + # the results of the scanner will be for the f_op member within the file + f_op_offset = vmlinux.get_type("file").members["f_op"][0] + + for addr, _ in memory_layer.scan( + self.context, + scanners.MultiStringScanner(file_ops_needles), + progress_callback, + ): + try: + # create file in the memory_layer, the native layer matches the + # kernel so that pointers can be followed + pfile = self.context.object( + vmlinux.symbol_table_name + constants.BANG + "file", + offset=addr - f_op_offset, + layer_name=memory_layer_name, + native_layer_name=vmlinux.layer_name, + ) + dentry = pfile.get_dentry() + if not dentry: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping file at {hex(addr)} as unable to locate dentry", + ) + continue + + d_inode = dentry.d_inode + if not d_inode: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping file at {hex(addr)} as unable to locate inode for dentry", + ) + continue + + socket_alloc = linux.LinuxUtilities.container_of( + d_inode, "socket_alloc", "vfs_inode", vmlinux + ) + socket = socket_alloc.socket + if not (socket and socket.sk): + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping file at {hex(addr)} as socket created by LinuxUtilities.container_of is invalid", + ) + continue + + # sucessfully trversed from file to sock, this will exist in the + # kernel layer, and need to be translated to the memory layer. + sock = socket.sk.dereference() + sock_physical_addresses.add(kernel_layer.translate(sock.vol.offset)[0]) + + except exceptions.InvalidAddressException as error: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Unable to follow file at {hex(addr)} to socket due to invalid address: {error}", + ) + + # Method 2 - find sockets by socket destructor directly inside sock objects + socket_destructor_symbol_names = [ + "sock_def_destruct", + "packet_sock_destruct", + "unix_sock_destructor", + "netlink_sock_destruct", + "inet_sock_destruct", + ] + + socket_destructor_needles = [] + for socket_destructor_symbol_name in socket_destructor_symbol_names: + addr = kernel_layer.canonicalize( + vmlinux.get_symbol(socket_destructor_symbol_name).address + + vmlinux.offset + ) + packed_addr = struct.pack(pack_format, addr) + socket_destructor_needles.append(packed_addr) + vollog.log( + constants.LOGLEVEL_VVVV, + f"Method 2 will scan for {socket_destructor_symbol_name} using the bytes: {packed_addr.hex()}", + ) + + # get sock struct to find the offset to the sk_destruct pointer + # this is so that the sock object can be created at the correct offset, + # the results of the scanner will be for the sk_destruct member within the scock + sk_destruct_offset = vmlinux.get_type("sock").members["sk_destruct"][0] + + for addr, _ in memory_layer.scan( + self.context, + scanners.MultiStringScanner(socket_destructor_needles), + progress_callback, + ): + sock_physical_addresses.add(addr - sk_destruct_offset) + + # TODO Method 3 - find sock by sk_error_report symbols + # sk_error_report_symbol_names = ['sock_def_error_report', 'inet_sk_rebuild_header', 'inet_listen'] + # this would be similar to Method 2, but using a different pointer within sock. + + # now that the set of results has been created, process them and display the results + for addr in sorted(sock_physical_addresses): + psock = self.context.object( + vmlinux.symbol_table_name + constants.BANG + "sock", + offset=addr, + layer_name=memory_layer_name, + native_layer_name=vmlinux.layer_name, + ) + try: + sock_type = psock.get_type() + + family = psock.get_family() + # remove results with no family + if family == None: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping socket at {hex(addr)} as unable to determin family.", + ) + continue + + # TODO: invesitgate options for more invalid address handling in proccess_sock + # and the later formatting on it's results. + sock_fields = sock_handler.process_sock(psock) + # if no sock_fields we're able to be extracted then skip this result. + if not sock_fields: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping socket at {hex(addr)} as unable to process with SockHandlers.", + ) + continue + + sock, sock_stat, extended = sock_fields + src, src_port, dst, dst_port, state = sock_stat + protocol = sock.get_protocol() + + # format results + src = NotAvailableValue() if src is None else str(src) + src_port = NotAvailableValue() if src_port is None else str(src_port) + dst = NotAvailableValue() if dst is None else str(dst) + dst_port = NotAvailableValue() if dst_port is None else str(dst_port) + state = NotAvailableValue() if state is None else str(state) + protocol = NotAvailableValue() if protocol is None else str(protocol) + # extended attributes is a dict, so this is formated to string show each + # key and value pair, seperated with a comma. + socket_filter_str = ( + ",".join(f"{k}={v}" for k, v in extended.items()) + if extended + else NotAvailableValue() + ) + + # remove empty results + if (src == "0.0.0.0" or isinstance(src, NotAvailableValue)) and ( + dst == "0.0.0.0" or isinstance(src, NotAvailableValue) + ): + if state == "UNCONNECTED": + continue + elif src_port == "0" and dst_port == "0": + continue + + fields = ( + format_hints.Hex(sock.vol.offset), + family, + sock_type, + protocol, + src, + src_port, + dst, + dst_port, + state, + socket_filter_str, + ) + + yield (0, fields) + except exceptions.InvalidAddressException as error: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Unable create results for socket at {hex(addr)} to invalid address: {error}", + ) + + def run(self): + + tree_grid_args = [ + ("Sock Offset", format_hints.Hex), + ("Family", str), + ("Type", str), + ("Proto", str), + ("Source Addr", str), + ("Source Port", str), + ("Destination Addr", str), + ("Destination Port", str), + ("State", str), + ("Filter", str), + ] + + return TreeGrid( + tree_grid_args, + self._generator(self.config["kernel"]), + ) From 67291ce90fcbea2462293082b1f5d246dfca1b24 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 27 Mar 2024 09:29:01 +0000 Subject: [PATCH 0423/2186] Linux: update sockscan to scan memory layer only once for needles --- .../framework/plugins/linux/sockscan.py | 388 ++++++++++-------- 1 file changed, 210 insertions(+), 178 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 52b33d9c1..d02757238 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -4,13 +4,12 @@ import logging import struct -from typing import Callable, Tuple, List, Dict +from typing import List, Set -from volatility3.framework import interfaces, exceptions, constants, objects +from volatility3.framework import exceptions, constants from volatility3.framework.renderers import TreeGrid, NotAvailableValue, format_hints from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins -from volatility3.framework.objects import utility from volatility3.framework.symbols import linux from volatility3.plugins.linux import sockstat from volatility3.framework import symbols @@ -41,6 +40,62 @@ class Sockscan(plugins.PluginInterface): ), ] + def _canonicalize_symbol_addrs( + self, symbol_table_name: List[str], symbol_names: str + ) -> Set[bytes]: + """Takes a list of symbol names and converts the address of each to the bytes + as they would appear in memory so that they can be scanned for. + + Symbols that cannot be found are ignored and not included in the results. + + Args: + symbol_table_name: The name of the kernel module on which to operate + symbol_names: A list of symbol names to be looked up + + Returns: + A set of bytes which are the packed addresses. + """ + # get vmlinux module from context in order to build objects and read symbols + vmlinux = self.context.modules[symbol_table_name] + + # get kernel layer from context so that it's dependencies can be found, and therefore scanned. + # kernel layer will be virtual and built ontop of a physical layer. + kernel_layer = self.context.layers[vmlinux.layer_name] + + # detmine if kernel is 64bit or not. The plugin scans for pointers and these need to formated + # to the correct size so that they can be accurately located in the physical layer. + if symbols.symbol_table_is_64bit(self.context, vmlinux.symbol_table_name): + pack_format = "Q" # 64 bit + else: + pack_format = "I" # 32 bit + + packed_needles = set() + for symbol_name in symbol_names: + try: + needle_addr = vmlinux.object_from_symbol(symbol_name).vol.offset + except exceptions.SymbolError: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Unable to find symbol {symbol_name} this will not be scanned for.", + ) + continue + # use canonicalize to set the appropriate sign extension for the addr + addr = kernel_layer.canonicalize(needle_addr) + packed_addr = struct.pack(pack_format, addr) + packed_needles.add(packed_addr) + vollog.log( + constants.LOGLEVEL_VVVV, + f"Will scan for {symbol_name} using the bytes: {packed_addr.hex()}", + ) + + # make a warning if no symbols at all could be resolved. + if len(packed_needles) == 0: + vollog.warning( + f"_canonicalize_symbol_addrs was unable to resolve any symbols, use -vvvv for more information." + ) + + return packed_needles + def _generator(self, symbol_table_name: str): """Scans for sockets. Each row represents a kernel socket. @@ -48,6 +103,7 @@ class Sockscan(plugins.PluginInterface): symbol_table_name: The name of the kernel module on which to operate Yields: + addr: Physical offset family: Socket family string (AF_UNIX, AF_INET, etc) sock_type: Socket type string (STREAM, DGRAM, etc) protocol: Protocol string (UDP, TCP, etc) @@ -65,15 +121,9 @@ class Sockscan(plugins.PluginInterface): # kernel layer will be virtual and built ontop of a physical layer. kernel_layer = self.context.layers[vmlinux.layer_name] - # detmine if kernel is 64bit or not. The plugin scans for pointers and these need to formated - # to the correct size so that they can be accurately located in the physical layer. - if symbols.symbol_table_is_64bit(self.context, vmlinux.symbol_table_name): - pack_format = "Q" # 64 bit - else: - pack_format = "I" # 32 bit - # TODO: Update plugin to support multiple dependencies. e.g. a memory layer and swap file. # This is a shared problem with psscan and having a generic solution would be useful. + # Find the memory layer to scan, and provide warnings if more than one is located. if len(kernel_layer.dependencies) > 1: vollog.warning( @@ -95,91 +145,23 @@ class Sockscan(plugins.PluginInterface): init_task = vmlinux.object_from_symbol(symbol_name="init_task") sock_handler = sockstat.SockHandlers(vmlinux, init_task) - # set to track seen sockets so that results are not duplicated between methods - sock_physical_addresses = set() - # get progress_callback in order to use this in the scanners. # TODO: perhaps add more detail to progress, showing method in progress and number of hits found progress_callback = self._progress_callback - # TODO: update scanning logic so that all needles can be scanned for at the same time - # this would allow the results to be shown as the scanning is happening and would - # make the plugin faster. It would require working out which needle caused the match - # and applying the logic at that point to get to the socket. - # Method 1 - find sockets by file operations, then follow pointers to sockets - file_ops_symbol_names = ["socket_file_ops", "sockfs_dentry_operations"] - file_ops_needles = [] - for symbol_name in file_ops_symbol_names: - - # TODO: handle cases where symbol is not found - needle_addr = vmlinux.object_from_symbol(symbol_name).vol.offset - # use canonicalize to set the appropriate sign extension for the addr - addr = kernel_layer.canonicalize(needle_addr) - packed_addr = struct.pack(pack_format, addr) - file_ops_needles.append(packed_addr) - vollog.log( - constants.LOGLEVEL_VVVV, - f"Method 1 will scan for {symbol_name} using the bytes: {packed_addr.hex()}", - ) - + file_ops_symbol_names = [ + "socket_file_ops", + "sockfs_dentry_operations", + ] + file_ops_needles = self._canonicalize_symbol_addrs( + symbol_table_name, file_ops_symbol_names + ) # get file struct to find the offset to the f_op pointer # this is so that the file object can be created at the correct offset, # the results of the scanner will be for the f_op member within the file f_op_offset = vmlinux.get_type("file").members["f_op"][0] - for addr, _ in memory_layer.scan( - self.context, - scanners.MultiStringScanner(file_ops_needles), - progress_callback, - ): - try: - # create file in the memory_layer, the native layer matches the - # kernel so that pointers can be followed - pfile = self.context.object( - vmlinux.symbol_table_name + constants.BANG + "file", - offset=addr - f_op_offset, - layer_name=memory_layer_name, - native_layer_name=vmlinux.layer_name, - ) - dentry = pfile.get_dentry() - if not dentry: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Skipping file at {hex(addr)} as unable to locate dentry", - ) - continue - - d_inode = dentry.d_inode - if not d_inode: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Skipping file at {hex(addr)} as unable to locate inode for dentry", - ) - continue - - socket_alloc = linux.LinuxUtilities.container_of( - d_inode, "socket_alloc", "vfs_inode", vmlinux - ) - socket = socket_alloc.socket - if not (socket and socket.sk): - vollog.log( - constants.LOGLEVEL_VVVV, - f"Skipping file at {hex(addr)} as socket created by LinuxUtilities.container_of is invalid", - ) - continue - - # sucessfully trversed from file to sock, this will exist in the - # kernel layer, and need to be translated to the memory layer. - sock = socket.sk.dereference() - sock_physical_addresses.add(kernel_layer.translate(sock.vol.offset)[0]) - - except exceptions.InvalidAddressException as error: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Unable to follow file at {hex(addr)} to socket due to invalid address: {error}", - ) - # Method 2 - find sockets by socket destructor directly inside sock objects socket_destructor_symbol_names = [ "sock_def_destruct", @@ -188,114 +170,164 @@ class Sockscan(plugins.PluginInterface): "netlink_sock_destruct", "inet_sock_destruct", ] - - socket_destructor_needles = [] - for socket_destructor_symbol_name in socket_destructor_symbol_names: - addr = kernel_layer.canonicalize( - vmlinux.get_symbol(socket_destructor_symbol_name).address - + vmlinux.offset - ) - packed_addr = struct.pack(pack_format, addr) - socket_destructor_needles.append(packed_addr) - vollog.log( - constants.LOGLEVEL_VVVV, - f"Method 2 will scan for {socket_destructor_symbol_name} using the bytes: {packed_addr.hex()}", - ) - + socket_destructor_needles = self._canonicalize_symbol_addrs( + symbol_table_name, socket_destructor_symbol_names + ) # get sock struct to find the offset to the sk_destruct pointer # this is so that the sock object can be created at the correct offset, # the results of the scanner will be for the sk_destruct member within the scock sk_destruct_offset = vmlinux.get_type("sock").members["sk_destruct"][0] - for addr, _ in memory_layer.scan( - self.context, - scanners.MultiStringScanner(socket_destructor_needles), - progress_callback, - ): - sock_physical_addresses.add(addr - sk_destruct_offset) - # TODO Method 3 - find sock by sk_error_report symbols # sk_error_report_symbol_names = ['sock_def_error_report', 'inet_sk_rebuild_header', 'inet_listen'] # this would be similar to Method 2, but using a different pointer within sock. - # now that the set of results has been created, process them and display the results - for addr in sorted(sock_physical_addresses): - psock = self.context.object( - vmlinux.symbol_table_name + constants.BANG + "sock", - offset=addr, - layer_name=memory_layer_name, - native_layer_name=vmlinux.layer_name, - ) - try: - sock_type = psock.get_type() + # Using the calculated needles, scan the memory layer and attempt to parse the sockets located. + for needle_addr, match in memory_layer.scan( + self.context, + scanners.MultiStringScanner(socket_destructor_needles | file_ops_needles), + progress_callback, + ): + psock = None + sock_physical_addr = None - family = psock.get_family() - # remove results with no family - if family == None: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Skipping socket at {hex(addr)} as unable to determin family.", - ) - continue - - # TODO: invesitgate options for more invalid address handling in proccess_sock - # and the later formatting on it's results. - sock_fields = sock_handler.process_sock(psock) - # if no sock_fields we're able to be extracted then skip this result. - if not sock_fields: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Skipping socket at {hex(addr)} as unable to process with SockHandlers.", - ) - continue - - sock, sock_stat, extended = sock_fields - src, src_port, dst, dst_port, state = sock_stat - protocol = sock.get_protocol() - - # format results - src = NotAvailableValue() if src is None else str(src) - src_port = NotAvailableValue() if src_port is None else str(src_port) - dst = NotAvailableValue() if dst is None else str(dst) - dst_port = NotAvailableValue() if dst_port is None else str(dst_port) - state = NotAvailableValue() if state is None else str(state) - protocol = NotAvailableValue() if protocol is None else str(protocol) - # extended attributes is a dict, so this is formated to string show each - # key and value pair, seperated with a comma. - socket_filter_str = ( - ",".join(f"{k}={v}" for k, v in extended.items()) - if extended - else NotAvailableValue() + # if match is from socket_destructor_needles simply calculate the offset + # to the sock + if match in socket_destructor_needles: + sock_physical_addr = needle_addr - sk_destruct_offset + psock = self.context.object( + vmlinux.symbol_table_name + constants.BANG + "sock", + offset=sock_physical_addr, + layer_name=memory_layer_name, + native_layer_name=vmlinux.layer_name, ) - # remove empty results - if (src == "0.0.0.0" or isinstance(src, NotAvailableValue)) and ( - dst == "0.0.0.0" or isinstance(src, NotAvailableValue) - ): - if state == "UNCONNECTED": - continue - elif src_port == "0" and dst_port == "0": + # if match is from file_ops_needles attempt to walk from file object to + # the sock + if match in file_ops_needles: + try: + # create file in the memory_layer, the native layer matches the + # kernel so that pointers can be followed + sock_physical_addr = needle_addr - f_op_offset + pfile = self.context.object( + vmlinux.symbol_table_name + constants.BANG + "file", + offset=sock_physical_addr, + layer_name=memory_layer_name, + native_layer_name=vmlinux.layer_name, + ) + dentry = pfile.get_dentry() + if not dentry: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping file at {hex(needle_addr)} as unable to locate dentry", + ) continue - fields = ( - format_hints.Hex(sock.vol.offset), - family, - sock_type, - protocol, - src, - src_port, - dst, - dst_port, - state, - socket_filter_str, - ) + d_inode = dentry.d_inode + if not d_inode: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping file at {hex(needle_addr)} as unable to locate inode for dentry", + ) + continue - yield (0, fields) - except exceptions.InvalidAddressException as error: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Unable create results for socket at {hex(addr)} to invalid address: {error}", - ) + socket_alloc = linux.LinuxUtilities.container_of( + d_inode, "socket_alloc", "vfs_inode", vmlinux + ) + socket = socket_alloc.socket + if not (socket and socket.sk): + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping file at {hex(needle_addr)} as socket created by LinuxUtilities.container_of is invalid", + ) + continue + + # sucessfully trversed from file to sock, this will exist in the + # kernel layer, and need to be translated to the memory layer. + psock = socket.sk.dereference() + except exceptions.InvalidAddressException as error: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Unable to follow file at {hex(needle_addr)} to socket due to invalid address: {error}", + ) + + if psock is not None: + try: + sock_type = psock.get_type() + + family = psock.get_family() + # remove results with no family + if family == None: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping socket at {hex(sock_physical_addr)} as unable to determin family.", + ) + continue + + # TODO: invesitgate options for more invalid address handling in proccess_sock + # and the later formatting of it's results. + sock_fields = sock_handler.process_sock(psock) + # if no sock_fields we're able to be extracted then skip this result. + if not sock_fields: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping socket at {hex(sock_physical_addr)} as unable to process with SockHandlers.", + ) + continue + + sock, sock_stat, extended = sock_fields + src, src_port, dst, dst_port, state = sock_stat + protocol = sock.get_protocol() + + # format results + src = NotAvailableValue() if src is None else str(src) + src_port = ( + NotAvailableValue() if src_port is None else str(src_port) + ) + dst = NotAvailableValue() if dst is None else str(dst) + dst_port = ( + NotAvailableValue() if dst_port is None else str(dst_port) + ) + state = NotAvailableValue() if state is None else str(state) + protocol = ( + NotAvailableValue() if protocol is None else str(protocol) + ) + # extended attributes is a dict, so this is formated to string show each + # key and value pair, seperated with a comma. + socket_filter_str = ( + ",".join(f"{k}={v}" for k, v in extended.items()) + if extended + else NotAvailableValue() + ) + + # remove empty results + if (src == "0.0.0.0" or isinstance(src, NotAvailableValue)) and ( + dst == "0.0.0.0" or isinstance(src, NotAvailableValue) + ): + if state == "UNCONNECTED": + continue + elif src_port == "0" and dst_port == "0": + continue + + fields = ( + format_hints.Hex(sock_physical_addr), + family, + sock_type, + protocol, + src, + src_port, + dst, + dst_port, + state, + socket_filter_str, + ) + + yield (0, fields) + except exceptions.InvalidAddressException as error: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Unable create results for socket at {hex(sock_physical_addr)} due to invalid address: {error}", + ) def run(self): From 4f1f48087611818f874a033db4257b162e468c3f Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 27 Mar 2024 09:32:49 +0000 Subject: [PATCH 0424/2186] Linux: add test for sockscan plugin --- test/test_volatility.py | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 6e54aa053..0f935546d 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -196,7 +196,7 @@ def test_windows_thrdscan(image, volatility, python): assert out.find(b"\t4\t8") != -1 assert out.find(b"\t4\t12") != -1 assert out.find(b"\t4\t16") != -1 - #assert out.find(b"this raieses AssertionError") != -1 + # assert out.find(b"this raieses AssertionError") != -1 assert rc == 0 @@ -368,6 +368,27 @@ def test_linux_library_list(image, volatility, python): assert rc == 0 +def test_linux_sockscan(image, volatility, python): + # designed for linux-sample-1.dmp SHA1:1C3A4627EDCA94A7ADE3414592BEF0E62D7D3BB6 + rc, out, err = runvol_plugin("linux.sockscan.Sockscan", image, volatility, python) + + assert re.search( + rb"AF_UNIX\s+STREAM\s+-\s+/tmp/pulse-JldaJj8OxQLa/native\s+14054\s+-\s+14053\s+ESTABLISHED\s+-", + out, + ) + assert re.search( + rb"AF_INET\s+STREAM\s+TCP\s+192.168.201.161\s+22\s+192.168.201.1\s+59982\s+ESTABLISHED\s+-", + out, + ) + assert re.search( + rb"AF_INET\s+STREAM\s+TCP\s+0.0.0.0\s+901\s+0.0.0.0\s+0\s+LISTEN\s+-", + out, + ) + + assert out.count(b"\n") >= 50 + assert rc == 0 + + # MAC From 2c8b757ef02bcf6052705a32da6559789aff4201 Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 28 Mar 2024 08:55:07 +0000 Subject: [PATCH 0425/2186] Linux: update sockscan family check to use 'is None' rather than '== None' as per CodeQL --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index d02757238..89f35e6bb 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -257,7 +257,7 @@ class Sockscan(plugins.PluginInterface): family = psock.get_family() # remove results with no family - if family == None: + if family is None: vollog.log( constants.LOGLEVEL_VVVV, f"Skipping socket at {hex(sock_physical_addr)} as unable to determin family.", From f3f5650a1d4c5456a8aaa61c58d724bbabf47e97 Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 28 Mar 2024 09:03:39 +0000 Subject: [PATCH 0426/2186] Linux: update sockscan with checks to reduce possible duplication of results --- volatility3/framework/plugins/linux/sockscan.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 89f35e6bb..d3413dea0 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -182,6 +182,9 @@ class Sockscan(plugins.PluginInterface): # sk_error_report_symbol_names = ['sock_def_error_report', 'inet_sk_rebuild_header', 'inet_listen'] # this would be similar to Method 2, but using a different pointer within sock. + # add a set of seen addresses to stop possible duplication of results. + seen_sock_physical_addr = set() + # Using the calculated needles, scan the memory layer and attempt to parse the sockets located. for needle_addr, match in memory_layer.scan( self.context, @@ -251,7 +254,8 @@ class Sockscan(plugins.PluginInterface): f"Unable to follow file at {hex(needle_addr)} to socket due to invalid address: {error}", ) - if psock is not None: + if psock is not None and sock_physical_addr not in seen_sock_physical_addr: + seen_sock_physical_addr.add(sock_physical_addr) try: sock_type = psock.get_type() From fb67d630835e2f7f78b055193de4cfd8696f8f23 Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 28 Mar 2024 09:21:54 +0000 Subject: [PATCH 0427/2186] Linux: update tests for sockscan to be more generic --- test/test_volatility.py | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 0f935546d..3d88eeab1 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -372,17 +372,26 @@ def test_linux_sockscan(image, volatility, python): # designed for linux-sample-1.dmp SHA1:1C3A4627EDCA94A7ADE3414592BEF0E62D7D3BB6 rc, out, err = runvol_plugin("linux.sockscan.Sockscan", image, volatility, python) - assert re.search( - rb"AF_UNIX\s+STREAM\s+-\s+/tmp/pulse-JldaJj8OxQLa/native\s+14054\s+-\s+14053\s+ESTABLISHED\s+-", - out, + # ensure that multiple unix paths for sockets have been found + assert ( + len( + re.findall( + rb"(/[ -~]+?){1,8}", + out, + ) + ) + >= 10 ) - assert re.search( - rb"AF_INET\s+STREAM\s+TCP\s+192.168.201.161\s+22\s+192.168.201.1\s+59982\s+ESTABLISHED\s+-", - out, - ) - assert re.search( - rb"AF_INET\s+STREAM\s+TCP\s+0.0.0.0\s+901\s+0.0.0.0\s+0\s+LISTEN\s+-", - out, + + # ensure that multiple IPv4 addresses have been found + assert ( + len( + re.findall( + rb"((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}", + out, + ) + ) + >= 10 ) assert out.count(b"\n") >= 50 From 3fa63061ddd2bba4a80c843bbb2a2095a7c1e67c Mon Sep 17 00:00:00 2001 From: ikelos Date: Wed, 3 Apr 2024 20:29:24 +0100 Subject: [PATCH 0428/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: Donghyun Kim --- volatility3/framework/plugins/linux/sockscan.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index d3413dea0..dc657c65b 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -12,7 +12,6 @@ from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.symbols import linux from volatility3.plugins.linux import sockstat -from volatility3.framework import symbols from volatility3.framework import symbols, constants from volatility3.framework.layers import scanners From 47891c3477fbd7bd008e8b3b8f119936289104de Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 3 Apr 2024 21:17:42 +0100 Subject: [PATCH 0429/2186] Core: Develop nested requirement files --- requirements-dev.txt | 21 ++++----------------- requirements.txt | 4 ++-- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index c9b615cd8..ae3482290 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,22 +1,9 @@ -# The following packages are required for core functionality. -pefile>=2023.2.7 - -# The following packages are optional. -# If certain packages are not necessary, place a comment (#) at the start of the line. - -# This is required for the yara plugins -yara-python>=3.8.0 - -# This is required for several plugins that perform malware analysis and disassemble code. -# It can also improve accuracy of Windows 8 and later memory samples. -capstone>=3.0.5 - -# This is required by plugins that decrypt passwords, password hashes, etc. -pycryptodome +-r requirements.txt # This can improve error messages regarding improperly configured ISF files, # but is only recommended for development jsonschema>=2.3.0 -# This is required for memory acquisition via leechcore/pcileech. -leechcorepyc>=2.4.0 +# Used to build executable file +pyinstaller>=6.5.0 +pyinstaller-hooks-contrib>=2024.3 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 4d09ff82a..c63dc0b36 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -# The following packages are required for core functionality. -pefile>=2023.2.7 +# Include the minimal requirements +-r requirements-minimal.txt # The following packages are optional. # If certain packages are not necessary, place a comment (#) at the start of the line. From c1f239b8d2171e83e331ad51bf7ff6e48ed04e52 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 7 Apr 2024 19:34:17 +0100 Subject: [PATCH 0430/2186] Linux: Improve debugging of pslist dump feature --- volatility3/framework/plugins/linux/elfs.py | 1 + volatility3/framework/plugins/linux/pslist.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index 6820576dc..22e39d127 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -84,6 +84,7 @@ class Elfs(plugins.PluginInterface): ) if not elf_object.is_valid(): + vollog.debug("ELF object to be dumped is not valid") return None sections = {} diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 046ee43d8..1888bd7b8 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -142,6 +142,8 @@ class PsList(interfaces.plugins.PluginInterface): file_output = str(file_handle.preferred_filename) file_handle.close() break + else: + file_output = "VMA start matching task start_code not found" return file_output def _generator( From 974e6a4107cda567ce24a3d6384c28939ae64dd1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 21 Apr 2024 18:28:13 +0100 Subject: [PATCH 0431/2186] Core: When clearing the cache, actually clear cached files --- volatility3/framework/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 1565b2267..422c083d0 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -225,6 +225,12 @@ def list_plugins() -> Dict[str, Type[interfaces.plugins.PluginInterface]]: def clear_cache(complete=False): try: + if complete: + glob_pattern = "*.cache" + for cache_filename in glob.glob( + os.path.join(constants.CACHE_PATH, glob_pattern) + ): + os.unlink(cache_filename) os.unlink(os.path.join(constants.CACHE_PATH, constants.IDENTIFIERS_FILENAME)) except FileNotFoundError: vollog.log(constants.LOGLEVEL_VVVV, "Attempting to clear a non-existant cache") From 8f0d1b37cc2f88646b5858509e1bc0d5bf4941e0 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 28 Apr 2024 20:51:25 +0100 Subject: [PATCH 0432/2186] Core: Improve error handling for proxy authentication issue --- volatility3/framework/layers/resources.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/volatility3/framework/layers/resources.py b/volatility3/framework/layers/resources.py index a64fa7d7a..2dba7caa8 100644 --- a/volatility3/framework/layers/resources.py +++ b/volatility3/framework/layers/resources.py @@ -151,6 +151,12 @@ class ResourceAccessor(object): raise excp else: raise excp + except ValueError as excp: + # Reraise errors such as proxy auth errors as offline exception errors + # Example Proxy auth error - ValueError: AbstractDigestAuthHandler does not support the following scheme: 'Negotiate' + vollog.info(f"Cannot access {url} due to {excp} - Setting OFFLINE") + constants.OFFLINE = True + raise exceptions.OfflineException(url) except exceptions.OfflineException: vollog.info(f"Not accessing {url} in offline mode") raise From 35c583721892b84ae4f9b151ddccbb2e4ef60e9f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 30 Apr 2024 12:34:46 +0100 Subject: [PATCH 0433/2186] Core: Default to completely clearing the cache when requested --- volatility3/framework/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 422c083d0..feb97810b 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -223,7 +223,7 @@ def list_plugins() -> Dict[str, Type[interfaces.plugins.PluginInterface]]: return plugin_list -def clear_cache(complete=False): +def clear_cache(complete=True): try: if complete: glob_pattern = "*.cache" From 314725f0c53811b6652f90c4b8050982b8329ab7 Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Wed, 1 May 2024 04:30:36 +0900 Subject: [PATCH 0434/2186] Fix: typo for CITATION.cff --- CITATION.cff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CITATION.cff b/CITATION.cff index c36c3b7d5..ac45dfc18 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -14,7 +14,7 @@ authors: identifiers: - type: url value: 'https://github.com/volatilityfoundation/volatility3' - description: Volatility 3 source code respository + description: Volatility 3 source code repository repository-code: 'https://github.com/volatilityfoundation/volatility3' url: 'https://github.com/volatilityfoundation/volatility3' abstract: >- From c7f29936dcfb81bb9ae3fe33e261db2bb7c3be85 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 6 May 2024 11:15:45 +1000 Subject: [PATCH 0435/2186] CommandLine: Fix issue when --output filename doesn't contain an extension. If the argument is i.e. "--output aaa" ... it returned ".aaa" (hidden filename in linux) then "-1.aaa", "-2.aaa", etc. --- volatility3/cli/__init__.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 457a49311..c0eed20ee 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -716,19 +716,17 @@ class CommandLine: """Gets the final filename""" if output_dir is None: raise TypeError("Output directory is not a string") + os.makedirs(output_dir, exist_ok=True) - pref_name_array = self.preferred_filename.split(".") - filename, extension = ( - os.path.join(output_dir, ".".join(pref_name_array[:-1])), - pref_name_array[-1], - ) - output_filename = f"{filename}.{extension}" + output_filename = os.path.join(output_dir, self.preferred_filename) + filename, extension = os.path.splitext(output_filename) counter = 1 while os.path.exists(output_filename): - output_filename = f"{filename}-{counter}.{extension}" + output_filename = f"{filename}-{counter}{extension}" counter += 1 + return output_filename class CLIMemFileHandler(io.BytesIO, CLIFileHandler): From 32a5f131fd22d5351eee264fd6e58420a1458e9c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 6 May 2024 11:17:51 +1000 Subject: [PATCH 0436/2186] LayerWriter plugin: Fix log wrong (non-existent) variable --- volatility3/framework/plugins/layerwriter.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/layerwriter.py b/volatility3/framework/plugins/layerwriter.py index 1bee5f20d..a8664b3f1 100644 --- a/volatility3/framework/plugins/layerwriter.py +++ b/volatility3/framework/plugins/layerwriter.py @@ -115,9 +115,7 @@ class LayerWriter(plugins.PluginInterface): ) file_handle.close() except IOError as excp: - yield 0, ( - f"Layer cannot be written to {self.config['output_name']}: {excp}", - ) + yield 0, (f"Layer cannot be written to {output_name}: {excp}",) yield 0, (f"Layer has been written to {output_name}",) From 1246b20b6521e11110038fe091af912e2b5f4439 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 6 May 2024 11:25:45 +1000 Subject: [PATCH 0437/2186] LayerWriter plugin: Code improvements --- volatility3/framework/plugins/layerwriter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/layerwriter.py b/volatility3/framework/plugins/layerwriter.py index a8664b3f1..021c44248 100644 --- a/volatility3/framework/plugins/layerwriter.py +++ b/volatility3/framework/plugins/layerwriter.py @@ -95,7 +95,7 @@ class LayerWriter(plugins.PluginInterface): if not self.config["layers"]: self.config["layers"] = [] for name in self.context.layers: - if not self.context.layers[name].metadata.get("mapped", False): + if "mapped" not in self.context.layers[name].metadata: self.config["layers"] = [name] for name in self.config["layers"]: @@ -103,7 +103,8 @@ class LayerWriter(plugins.PluginInterface): if name not in self.context.layers: yield 0, (f"Layer Name {name} does not exist",) else: - output_name = self.config.get("output", ".".join([name, "raw"])) + default_output_name = f"{name}.raw" + output_name = self.config.get("output", default_output_name) try: file_handle = self.write_layer( self.context, From 6d22347ce6dd0152746564a2d77022ca1b4d9045 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 6 May 2024 11:27:15 +1000 Subject: [PATCH 0438/2186] LayerWriter plugin: Fix --output argument. It's referenced in the code but never mentioned as a requirement --- volatility3/framework/plugins/layerwriter.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/volatility3/framework/plugins/layerwriter.py b/volatility3/framework/plugins/layerwriter.py index 021c44248..d60ead682 100644 --- a/volatility3/framework/plugins/layerwriter.py +++ b/volatility3/framework/plugins/layerwriter.py @@ -38,6 +38,10 @@ class LayerWriter(plugins.PluginInterface): default=False, optional=True, ), + requirements.StringRequirement( + name="output", + description="Output filename", + ), requirements.ListRequirement( name="layers", element_type=str, From e5a5b895771b655d21c36689c33a534034c31e36 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 6 May 2024 13:06:02 +1000 Subject: [PATCH 0439/2186] Intel layer: Fix. This if statement will never be executed unless "minimum_address > maximum_address" which doesn't make sense to me. --- volatility3/framework/layers/intel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 75e561b33..8589cdbb6 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -180,7 +180,7 @@ class Intel(linear.LinearlyMappedLayer): position = self._initial_position entry = self._initial_entry - if self.minimum_address > offset > self.maximum_address: + if not (self.minimum_address <= offset <= self.maximum_address): raise exceptions.PagedInvalidAddressException( self.name, offset, From f116c08a7ec60f62e3ef931de7639e402f421d65 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 6 May 2024 13:07:23 +1000 Subject: [PATCH 0440/2186] NonLinearlySegmentedLayer: Fix maximum addresses in segmented layers --- volatility3/framework/layers/segmented.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/segmented.py b/volatility3/framework/layers/segmented.py index 0d29d8bff..e8c067072 100644 --- a/volatility3/framework/layers/segmented.py +++ b/volatility3/framework/layers/segmented.py @@ -152,7 +152,7 @@ class NonLinearlySegmentedLayer( raise ValueError("SegmentedLayer must contain some segments") if self._maxaddr is None: mapped, _, length, _ = self._segments[-1] - self._maxaddr = mapped + length + self._maxaddr = mapped + length - 1 return self._maxaddr @property From a6c77c488436c7b05040b5bf475be79cb59457f3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 6 May 2024 13:09:45 +1000 Subject: [PATCH 0441/2186] LayerWriter: Fix - Last chunk size is wrongly calculated --- volatility3/framework/plugins/layerwriter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/layerwriter.py b/volatility3/framework/plugins/layerwriter.py index d60ead682..178d86ba9 100644 --- a/volatility3/framework/plugins/layerwriter.py +++ b/volatility3/framework/plugins/layerwriter.py @@ -18,7 +18,7 @@ class LayerWriter(plugins.PluginInterface): default_block_size = 0x500000 _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -81,7 +81,7 @@ class LayerWriter(plugins.PluginInterface): file_handle = open_method(preferred_name) for i in range(0, layer.maximum_address, chunk_size): - current_chunk_size = min(chunk_size, layer.maximum_address - i) + current_chunk_size = min(chunk_size, layer.maximum_address + 1 - i) data = layer.read(i, current_chunk_size, pad=True) file_handle.write(data) if progress_callback: From d7aae3a9828ba03bd5531aa385724a954e48501a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 6 May 2024 13:11:52 +1000 Subject: [PATCH 0442/2186] Store the real/final output filename so that we can notify it correctly to the user --- volatility3/cli/__init__.py | 4 ++-- volatility3/framework/plugins/layerwriter.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index c0eed20ee..9873791e3 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -790,8 +790,8 @@ class CommandLine: return None self._file.close() - output_filename = self._get_final_filename() - os.rename(self._name, output_filename) + self._output_filename = self._get_final_filename() + os.rename(self._name, self._output_filename) if direct: return CLIDirectFileHandler diff --git a/volatility3/framework/plugins/layerwriter.py b/volatility3/framework/plugins/layerwriter.py index 178d86ba9..20d10d636 100644 --- a/volatility3/framework/plugins/layerwriter.py +++ b/volatility3/framework/plugins/layerwriter.py @@ -119,6 +119,7 @@ class LayerWriter(plugins.PluginInterface): progress_callback=self._progress_callback, ) file_handle.close() + output_name = file_handle._output_filename except IOError as excp: yield 0, (f"Layer cannot be written to {output_name}: {excp}",) From 85052b6238414617cc87f6812894f14917e03393 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 7 May 2024 08:12:31 +1000 Subject: [PATCH 0443/2186] LayerWriter: Fix missing optional flag for the --output argument --- volatility3/framework/plugins/layerwriter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/layerwriter.py b/volatility3/framework/plugins/layerwriter.py index 20d10d636..6a06cc607 100644 --- a/volatility3/framework/plugins/layerwriter.py +++ b/volatility3/framework/plugins/layerwriter.py @@ -41,6 +41,7 @@ class LayerWriter(plugins.PluginInterface): requirements.StringRequirement( name="output", description="Output filename", + optional=True, ), requirements.ListRequirement( name="layers", From 3f3f1a9c0daae397a84a515e84b29ba9ef0a0300 Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 8 May 2024 11:23:01 -0500 Subject: [PATCH 0444/2186] Prevent duplicate processing of the same file object --- volatility3/framework/plugins/windows/dumpfiles.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index 48539c752..33d2d0d41 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -244,6 +244,8 @@ class DumpFiles(interfaces.plugins.PluginInterface): symbol_table=kernel.symbol_table_name, ) + dumped_files = set() + for proc in procs: try: object_table = proc.ObjectTable @@ -267,6 +269,10 @@ class DumpFiles(interfaces.plugins.PluginInterface): if not file_re.search(name): continue + if file_obj.vol.offset in dumped_files: + continue + dumped_files.add(file_obj.vol.offset) + for result in self.process_file_object( self.context, kernel.layer_name, self.open, file_obj ): @@ -303,6 +309,10 @@ class DumpFiles(interfaces.plugins.PluginInterface): if not file_re.search(name): continue + if file_obj.vol.offset in dumped_files: + continue + dumped_files.add(file_obj.vol.offset) + for result in self.process_file_object( self.context, kernel.layer_name, self.open, file_obj ): From 3933061551eb0f31b99229ac8346718f773f574c Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 9 May 2024 09:17:32 -0500 Subject: [PATCH 0445/2186] Add a default 0 value to macb columns to avoid mactime not reporting timeline entries --- volatility3/framework/plugins/timeliner.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index d1c1c0f70..26a100f53 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -183,16 +183,16 @@ class Timeliner(interfaces.plugins.PluginInterface): plugin_name, self._sanitize_body_format(item), self._text_format( - times.get(TimeLinerType.ACCESSED, "") + times.get(TimeLinerType.ACCESSED, "0") ), self._text_format( - times.get(TimeLinerType.MODIFIED, "") + times.get(TimeLinerType.MODIFIED, "0") ), self._text_format( - times.get(TimeLinerType.CHANGED, "") + times.get(TimeLinerType.CHANGED, "0") ), self._text_format( - times.get(TimeLinerType.CREATED, "") + times.get(TimeLinerType.CREATED, "0") ), ) ) From 4c937a922d92175135e64be2192b94e8a232c4df Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 9 May 2024 14:47:56 -0500 Subject: [PATCH 0446/2186] Correctly check for a failed read --- volatility3/framework/plugins/windows/handles.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index d43d26ef1..93ca37c6b 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -161,8 +161,9 @@ class Handles(interfaces.plugins.PluginInterface): except exceptions.SymbolError: return None - data = self.context.layers.read(virtual_layer_name, kvo + func_addr, 0x200) - if data is None: + try: + data = self.context.layers.read(virtual_layer_name, kvo + func_addr, 0x200) + except exceptions.InvalidAddressException: return None md = capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_64) From 2b165a56be4d5c804ec6104e165cdf0f862b7204 Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 9 May 2024 14:53:24 -0500 Subject: [PATCH 0447/2186] Fix pre-existing formatting issue from black checks --- volatility3/framework/plugins/windows/handles.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 93ca37c6b..15f5f69df 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -162,7 +162,9 @@ class Handles(interfaces.plugins.PluginInterface): return None try: - data = self.context.layers.read(virtual_layer_name, kvo + func_addr, 0x200) + data = self.context.layers.read( + virtual_layer_name, kvo + func_addr, 0x200 + ) except exceptions.InvalidAddressException: return None From 5d5fa96e368f24e11f0860bdd43882da6677de25 Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 16 May 2024 09:19:59 +0100 Subject: [PATCH 0448/2186] Windows: add extra debugging messages to handles plugin, ref #1146 --- .../framework/plugins/windows/handles.py | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 15f5f69df..a19e7a397 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -25,7 +25,7 @@ class Handles(interfaces.plugins.PluginInterface): """Lists process open handles.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -145,6 +145,9 @@ class Handles(interfaces.plugins.PluginInterface): if self._sar_value is None: if not has_capstone: + vollog.debug( + "capstone module is missing, unable to create disassembly of ObpCaptureHandleInformationEx" + ) return None kernel = self.context.modules[self.config["kernel"]] @@ -159,28 +162,46 @@ class Handles(interfaces.plugins.PluginInterface): try: func_addr = ntkrnlmp.get_symbol("ObpCaptureHandleInformationEx").address except exceptions.SymbolError: + vollog.debug("Unable to locate ObpCaptureHandleInformationEx symbol") return None try: + func_addr_to_read = kvo + func_addr + num_bytes_to_read = 0x200 + vollog.debug( + f"ObpCaptureHandleInformationEx symbol located at {hex(func_addr_to_read)}" + ) data = self.context.layers.read( - virtual_layer_name, kvo + func_addr, 0x200 + virtual_layer_name, func_addr_to_read, num_bytes_to_read ) except exceptions.InvalidAddressException: + vollog.debug( + f"Failed to read {hex(num_bytes_to_read)} bytes at symbol {hex(func_addr_to_read)}" + ) return None md = capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_64) + instruction_count = 0 for address, size, mnemonic, op_str in md.disasm_lite( data, kvo + func_addr ): # print("{} {} {} {}".format(address, size, mnemonic, op_str)) - + instruction_count += 1 if mnemonic.startswith("sar"): # if we don't want to parse op strings, we can disasm the # single sar instruction again, but we use disasm_lite for speed self._sar_value = int(op_str.split(",")[1].strip(), 16) + vollog.debug( + f"SAR located at {hex(address)} with value of {hex(self._sar_value)}" + ) break + if self._sar_value is None: + vollog.debug( + f"Failed to to locate SAR value having parsed {instruction_count} instructions" + ) + return self._sar_value @classmethod From c2b2321622ad1c170e10cf847b566796842a8020 Mon Sep 17 00:00:00 2001 From: atcuno Date: Sun, 19 May 2024 14:09:14 -0500 Subject: [PATCH 0449/2186] Add a new getcellroutine plugin that reports hooked GetCellRoutine handlers of memory mapped Windows registry hives --- .../windows/registry/getcellroutine.py | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 volatility3/framework/plugins/windows/registry/getcellroutine.py diff --git a/volatility3/framework/plugins/windows/registry/getcellroutine.py b/volatility3/framework/plugins/windows/registry/getcellroutine.py new file mode 100644 index 000000000..08523d2f1 --- /dev/null +++ b/volatility3/framework/plugins/windows/registry/getcellroutine.py @@ -0,0 +1,97 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from typing import List + +from volatility3.framework import constants, exceptions, interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import ssdt +from volatility3.plugins.windows.registry import hivelist + +vollog = logging.getLogger(__name__) + +class GetCellRoutine(interfaces.plugins.PluginInterface): + """ Reports registry hives with a hooked GetCellRoutine handler """ + + _required_framework_version = (2, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + ), + requirements.PluginRequirement( + name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) + ), + ] + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + collection = ssdt.SSDT.build_module_collection( + self.context, kernel.layer_name, kernel.symbol_table_name + ) + + # walk each hive and validate that the GetCellRoutine handler + # is inside of the kernel (ntoskrnl) + for hive_object in hivelist.HiveList.list_hives( + context=self.context, + base_config_path=self.config_path, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name + ): + hive = hive_object.hive + + try: + cellroutine = hive.GetCellRoutine + except exceptions.InvalidAddressException: + continue + + module_symbols = list( + collection.get_module_symbols_by_absolute_location(cellroutine) + ) + + if module_symbols: + for module_name, _ in module_symbols: + # GetCellRoutine handlers should only be in the kernel + if module_name not in constants.windows.KERNEL_MODULE_NAMES: + yield ( + 0, + ( + format_hints.Hex(hive.vol.offset), + hive_object.get_name() or "", + module_name, + format_hints.Hex(cellroutine) + ) + ) + # Doesn't map to any module... + else: + yield ( + 0, + ( + format_hints.Hex(hive.vol.offset), + hive_object.get_name() or "", + renderers.NotAvailableValue(), + format_hints.Hex(cellroutine) + ) + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Hive Offset", renderers.format_hints.Hex), + ("Hive Name", str), + ("GetCellRoutine Module", str), + ("GetCellRoutine Handler", renderers.format_hints.Hex) + ], + self._generator(), + ) From 47eb42204e19c482ff332ce9bb36fcbe54fa49d3 Mon Sep 17 00:00:00 2001 From: atcuno Date: Sun, 19 May 2024 14:21:03 -0500 Subject: [PATCH 0450/2186] Fixes for black --- .../plugins/windows/registry/getcellroutine.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/registry/getcellroutine.py b/volatility3/framework/plugins/windows/registry/getcellroutine.py index 08523d2f1..2cbb87565 100644 --- a/volatility3/framework/plugins/windows/registry/getcellroutine.py +++ b/volatility3/framework/plugins/windows/registry/getcellroutine.py @@ -14,7 +14,7 @@ from volatility3.plugins.windows.registry import hivelist vollog = logging.getLogger(__name__) class GetCellRoutine(interfaces.plugins.PluginInterface): - """ Reports registry hives with a hooked GetCellRoutine handler """ + """Reports registry hives with a hooked GetCellRoutine handler""" _required_framework_version = (2, 0, 0) @@ -32,7 +32,7 @@ class GetCellRoutine(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) ), - ] + ] def _generator(self): kernel = self.context.modules[self.config["kernel"]] @@ -47,7 +47,7 @@ class GetCellRoutine(interfaces.plugins.PluginInterface): context=self.context, base_config_path=self.config_path, layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name + symbol_table=kernel.symbol_table_name, ): hive = hive_object.hive @@ -70,7 +70,7 @@ class GetCellRoutine(interfaces.plugins.PluginInterface): format_hints.Hex(hive.vol.offset), hive_object.get_name() or "", module_name, - format_hints.Hex(cellroutine) + format_hints.Hex(cellroutine), ) ) # Doesn't map to any module... @@ -81,7 +81,7 @@ class GetCellRoutine(interfaces.plugins.PluginInterface): format_hints.Hex(hive.vol.offset), hive_object.get_name() or "", renderers.NotAvailableValue(), - format_hints.Hex(cellroutine) + format_hints.Hex(cellroutine), ) ) From 4ed7d40ecb61f1d4e671f3323a1b075ad2501bfc Mon Sep 17 00:00:00 2001 From: atcuno Date: Sun, 19 May 2024 14:23:21 -0500 Subject: [PATCH 0451/2186] Fixes for black --- .../framework/plugins/windows/registry/getcellroutine.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/registry/getcellroutine.py b/volatility3/framework/plugins/windows/registry/getcellroutine.py index 2cbb87565..98b3c2517 100644 --- a/volatility3/framework/plugins/windows/registry/getcellroutine.py +++ b/volatility3/framework/plugins/windows/registry/getcellroutine.py @@ -71,7 +71,7 @@ class GetCellRoutine(interfaces.plugins.PluginInterface): hive_object.get_name() or "", module_name, format_hints.Hex(cellroutine), - ) + ), ) # Doesn't map to any module... else: @@ -82,7 +82,7 @@ class GetCellRoutine(interfaces.plugins.PluginInterface): hive_object.get_name() or "", renderers.NotAvailableValue(), format_hints.Hex(cellroutine), - ) + ), ) def run(self): @@ -91,7 +91,7 @@ class GetCellRoutine(interfaces.plugins.PluginInterface): ("Hive Offset", renderers.format_hints.Hex), ("Hive Name", str), ("GetCellRoutine Module", str), - ("GetCellRoutine Handler", renderers.format_hints.Hex) + ("GetCellRoutine Handler", renderers.format_hints.Hex), ], self._generator(), ) From bc8666b64a4b722918879eda5efcadeab633bfd2 Mon Sep 17 00:00:00 2001 From: atcuno Date: Sun, 19 May 2024 14:24:53 -0500 Subject: [PATCH 0452/2186] Fixes for black --- volatility3/framework/plugins/windows/registry/getcellroutine.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/windows/registry/getcellroutine.py b/volatility3/framework/plugins/windows/registry/getcellroutine.py index 98b3c2517..ed54a135d 100644 --- a/volatility3/framework/plugins/windows/registry/getcellroutine.py +++ b/volatility3/framework/plugins/windows/registry/getcellroutine.py @@ -13,6 +13,7 @@ from volatility3.plugins.windows.registry import hivelist vollog = logging.getLogger(__name__) + class GetCellRoutine(interfaces.plugins.PluginInterface): """Reports registry hives with a hooked GetCellRoutine handler""" From 901b0fd6baeaf9779a7111172b579f13688e8ec8 Mon Sep 17 00:00:00 2001 From: atcuno Date: Sun, 19 May 2024 15:11:06 -0500 Subject: [PATCH 0453/2186] Fix year in header --- .../framework/plugins/windows/registry/getcellroutine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/registry/getcellroutine.py b/volatility3/framework/plugins/windows/registry/getcellroutine.py index ed54a135d..200a45a82 100644 --- a/volatility3/framework/plugins/windows/registry/getcellroutine.py +++ b/volatility3/framework/plugins/windows/registry/getcellroutine.py @@ -1,4 +1,4 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # From 3eab0671b48818aeb4af1873214bbe506fd7b7de Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 20 May 2024 20:47:12 +0100 Subject: [PATCH 0454/2186] Generic: Add vmscan plugin --- volatility3/framework/plugins/vmscan.py | 217 ++++++++++++++++++ .../generic/vmcs/haswell-architecture.json | 131 +++++++++++ .../generic/vmcs/skylake-architecture.json | 131 +++++++++++ 3 files changed, 479 insertions(+) create mode 100644 volatility3/framework/plugins/vmscan.py create mode 100644 volatility3/symbols/generic/vmcs/haswell-architecture.json create mode 100644 volatility3/symbols/generic/vmcs/skylake-architecture.json diff --git a/volatility3/framework/plugins/vmscan.py b/volatility3/framework/plugins/vmscan.py new file mode 100644 index 000000000..9d82ba214 --- /dev/null +++ b/volatility3/framework/plugins/vmscan.py @@ -0,0 +1,217 @@ +# This file is Copyright 2023 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import enum +import logging +import os +import struct +from typing import Dict, List + +from volatility3.framework import constants, exceptions, interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import configuration, plugins +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import intermed + +vollog = logging.getLogger(__name__) + + +class VMCSTest(enum.IntFlag): + VMCS_ABORT_INVALID = enum.auto() + VMCS_LINK_PTR_IS_NOT_FS = enum.auto() + VMCS_HOST_CR4_NO_VTX = enum.auto() + VMCS_CR3_IS_ZERO = enum.auto() + VMCS_GUEST_CR4_RESERVED = enum.auto() + + +class PageStartScanner(interfaces.layers.ScannerInterface): + def __init__(self, signatures: List[bytes], page_size: int = 0x1000): + super().__init__() + if not len(signatures): + raise ValueError("No signatures passed to constructor") + self._siglen = len(signatures[0]) + for item in signatures: + if len(item) != self._siglen: + raise ValueError( + "Signatures of different lengths passed to PageStartScanner" + ) + self._signatures = signatures + self._page_size = page_size + + def __call__(self, data: bytes, data_offset: int): + """Scans only the start of every page, to see whether a signature is present or not""" + for page_start in range( + data_offset % self._page_size, len(data), self._page_size + ): + if data[page_start : page_start + self._siglen] in self._signatures: + yield ( + page_start + data_offset, + data[page_start : page_start + self._siglen], + ) + + +class Vmscan(plugins.PluginInterface): + """Scans for Intel VT-d structues and generates VM volatility configs for them""" + + _required_framework_version = (2, 2, 0) + _version = (1, 0, 0) + + STRICTLY_REQUIRED_TESTS = { + VMCSTest.VMCS_ABORT_INVALID, + VMCSTest.VMCS_LINK_PTR_IS_NOT_FS, + VMCSTest.VMCS_HOST_CR4_NO_VTX, + } + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.TranslationLayerRequirement( + name="primary", description="Physical base memory layer" + ), + requirements.IntRequirement( + name="log-threshold", + description="Number of criteria failed to log to debug output", + default=2, + optional=True, + ), + ] + + # Scan for VMCS structures based on the known VMCS structures + # found in symbols/vmcs directory + + def _gather_vmcs_structures( + self, context: interfaces.context.ContextInterface, config_path: str + ) -> Dict[bytes, str]: + """Enumerate all JSON files containing VMCS information and return the structures + Signatures can be generated using data extracted using the vmcs_layout tool at + https://github.com/google/rekall/tree/master/tools/linux/vmcs_layout + + Args: + context: The volatility context to work against + config_path: The location to store symbol table configurations under + + Returns: + A dictionary of pattern bytes to the string representation of the architecture + """ + filenames = intermed.IntermediateSymbolTable.file_symbol_url( + os.path.join("generic", "vmcs") + ) + table_names = [] + for filename in filenames: + base_name = os.path.basename(filename).split(".")[0] + table_name = intermed.IntermediateSymbolTable.create( + context, + configuration.path_join(config_path, "vmcs"), + os.path.join("generic", "vmcs"), + filename=base_name, + ) + table_names.append(table_name) + + result = {} + for table_name in table_names: + symbol_table = context.symbol_space[table_name] + revision_id = struct.pack( + " List[str]: + """Runs tests to verify whether a block of data is a VMCS page + Some tests based on the Hypervisor Memory Forensics paper by + Mariano Graziano, Andrea Lanzi and Davide Balzarotti + + Args: + context: The volatility context to be used for this call + vmcs: The instantiated VMCS object to verify + + Returns: + The list of failed criteria that the VMCS did not meet + """ + + # The VMCS should have been constructed on the physical layer (even a nested VMCS) + physical_layer_name = vmcs.vol.layer_name + + failed_tests: VMCSTest = VMCSTest(0) + # The abort field must be valid (generally 0, although other abort codes may exist) + if context.layers[physical_layer_name].read(vmcs.vol.offset + 4, 4) not in [ + b"\x00\x00\x00\x00" + ]: + failed_tests |= VMCSTest.VMCS_ABORT_INVALID + # The vmcs link pointer is supposed to always be set + if vmcs.vmcs_link_ptr != 0xFFFFFFFFFFFFFFFF: + failed_tests |= VMCSTest.VMCS_LINK_PTR_IS_NOT_FS + # To have a VMCS the host needs the VTx bit set in CR4, this can false positive often when all bits are set + if (vmcs.host_cr4 & 1 << 13) == 0: + failed_tests |= VMCSTest.VMCS_HOST_CR4_NO_VTX + # The guest CR3 is *exceptionally* unlikely to be 0 and the guest cr4 is likely to have some bits unset + if (vmcs.guest_cr3 == 0) or (vmcs.host_cr3 == 0): + failed_tests |= VMCSTest.VMCS_CR3_IS_ZERO + # CR4 registers have certain bits reserved that should not be set + if vmcs.guest_cr4 & 0xFFFFFFFFFF889000: + failed_tests |= VMCSTest.VMCS_GUEST_CR4_RESERVED + + if failed_tests and failed_tests.name: + failed_list = failed_tests.name.split("|") + return failed_list + + return [] + + def _generator(self): + # Gather VMCS structures + structures = self._gather_vmcs_structures(self.context, self.config_path) + # Scan memory for them + layer = self.context.layers[self.config["primary"]] + + # Try to move down to the highest physical layer + if layer.config.get("memory_layer"): + layer = self.context.layers[layer.config["memory_layer"]] + + # Run the scan + for offset, match in layer.scan( + self.context, + PageStartScanner(list(structures.keys())), + self._progress_callback, + ): + try: + vmcs = self.context.object( + structures[match] + constants.BANG + "_VMCS", + layer.name, + offset=offset, + ) + failed_list = self._verify_vmcs_page(self.context, vmcs) + if not failed_list: + yield ( + 0, + ( + structures[match], + format_hints.Hex(vmcs.vol.offset), + format_hints.Hex(vmcs.ept), + format_hints.Hex(vmcs.guest_cr3), + ), + ) + if len(failed_list) <= self.config["log-threshold"]: + vollog.debug( + f"Potential {structures[match]} VMCS found at {vmcs.vol.offset:x} with failed criteria: {failed_list}" + ) + except (exceptions.InvalidAddressException, AttributeError): + # Not what we're looking for + continue + + def run(self): + return renderers.TreeGrid( + [ + ("Architecture", str), + ("VMCS Physical offset", format_hints.Hex), + ("EPT", format_hints.Hex), + ("Guest CR3", format_hints.Hex), + ], + self._generator(), + ) diff --git a/volatility3/symbols/generic/vmcs/haswell-architecture.json b/volatility3/symbols/generic/vmcs/haswell-architecture.json new file mode 100644 index 000000000..33b2e55d8 --- /dev/null +++ b/volatility3/symbols/generic/vmcs/haswell-architecture.json @@ -0,0 +1,131 @@ +{ + "base_types": { + "pointer": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 8 + }, + "unsigned char": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 1 + }, + "unsigned long": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 4 + }, + "unsigned long long": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 8 + }, + "unsigned short": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 2 + } + }, + "enums": {}, + "metadata": { + "format": "6.1.0", + "producer": { + "datetime": "2021-07-31T17:37:28.313255", + "name": "vmextract-by-hand", + "version": "0.0.1" + } + }, + "symbols": { + "revision_id": { + "address": 0, + "constant_data": "MTg=" + } + }, + "user_types": { + "_VMCS": { + "fields": { + "ept": { + "offset": 320, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "executive_vmcs_ptr": { + "offset": 208, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_cr3": { + "offset": 528, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_cr4": { + "offset": 536, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_pdpte": { + "offset": 544, + "type": { + "count": 4, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "unsigned long long" + } + } + }, + "guest_physical_addr": { + "offset": 328, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "host_cr3": { + "offset": 816, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "host_cr4": { + "offset": 824, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "vmcs_link_ptr": { + "offset": 248, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "vpid": { + "offset": 206, + "type": { + "kind": "struct", + "name": "unsigned short" + } + } + }, + "kind": "struct", + "size": 4096 + } + } +} \ No newline at end of file diff --git a/volatility3/symbols/generic/vmcs/skylake-architecture.json b/volatility3/symbols/generic/vmcs/skylake-architecture.json new file mode 100644 index 000000000..78b110d94 --- /dev/null +++ b/volatility3/symbols/generic/vmcs/skylake-architecture.json @@ -0,0 +1,131 @@ +{ + "base_types": { + "pointer": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 8 + }, + "unsigned char": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 1 + }, + "unsigned long": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 4 + }, + "unsigned long long": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 8 + }, + "unsigned short": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 2 + } + }, + "enums": {}, + "metadata": { + "format": "6.1.0", + "producer": { + "datetime": "2021-07-16T16:21:01.062423", + "name": "vmextract-by-hand", + "version": "0.0.1" + } + }, + "symbols": { + "revision_id": { + "address": 0, + "constant_data": "NA==" + } + }, + "user_types": { + "_VMCS": { + "fields": { + "ept": { + "offset": 320, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "executive_vmcs_ptr": { + "offset": 208, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_cr3": { + "offset": 528, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_cr4": { + "offset": 536, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_pdpte": { + "offset": 544, + "type": { + "count": 4, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "unsigned long long" + } + } + }, + "guest_physical_addr": { + "offset": 328, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "host_cr3": { + "offset": 816, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "host_cr4": { + "offset": 824, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "vmcs_link_ptr": { + "offset": 248, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "vpid": { + "offset": 206, + "type": { + "kind": "struct", + "name": "unsigned short" + } + } + }, + "kind": "struct", + "size": 4096 + } + } +} From c5a45f91fc4968a46389781a4e21c34c771578a2 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 20 May 2024 21:09:00 +0100 Subject: [PATCH 0455/2186] Linux: Replace uses of specific types with the more generic pointer --- volatility3/framework/automagic/linux.py | 2 +- volatility3/framework/plugins/linux/kmsg.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 2eebcc2dc..7d7c563b6 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -159,7 +159,7 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): # This we get for free aslr_shift = ( - init_task.files.cast("long unsigned int") + init_task.files.cast("pointer") - module.get_symbol("init_files").address ) kaslr_shift = init_task_address - cls.virtual_to_physical_address( diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index c5e0fc302..e26d69543 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -66,7 +66,7 @@ class ABCKmsg(ABC): self._config = config self.vmlinux = context.modules[self._config["kernel"]] self.layer_name = self.vmlinux.layer_name # type: ignore - self.long_unsigned_int_size = self.vmlinux.get_type("long unsigned int").size + self.long_unsigned_int_size = self.vmlinux.get_type("pointer").size @classmethod def run_all( From c6d207d170c50ad460de4b9970e74405bd0e1d0d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 21 May 2024 09:06:01 +0100 Subject: [PATCH 0456/2186] Generic: Fix code scanning issue with vmscan --- volatility3/framework/plugins/vmscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/vmscan.py b/volatility3/framework/plugins/vmscan.py index 9d82ba214..64377d7d8 100644 --- a/volatility3/framework/plugins/vmscan.py +++ b/volatility3/framework/plugins/vmscan.py @@ -120,7 +120,7 @@ class Vmscan(plugins.PluginInterface): @classmethod def _verify_vmcs_page( - self, + cls, context: interfaces.context.ContextInterface, vmcs: interfaces.objects.ObjectInterface, ) -> List[str]: From 08493e9c3affda195c7c83a27c9e80bb020fe4c2 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 21 May 2024 23:13:31 +0100 Subject: [PATCH 0457/2186] Automagic: Do some slight gymnastics to get the true value of the pointer --- volatility3/framework/automagic/linux.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 7d7c563b6..52a73f45a 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -159,7 +159,10 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): # This we get for free aslr_shift = ( - init_task.files.cast("pointer") + int.from_bytes( + init_task.files.cast("bytes", length=init_task.files.vol.size), + byteorder=init_task.files.vol.data_format.byteorder, + ) - module.get_symbol("init_files").address ) kaslr_shift = init_task_address - cls.virtual_to_physical_address( From 57b3a99a1e42bfdb102f5038469999a815880330 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 29 May 2024 20:40:36 +0100 Subject: [PATCH 0458/2186] Infra: Upgrade deprecated githubs actions --- .github/workflows/build-pypi.yml | 6 +++--- .github/workflows/install.yml | 2 +- .github/workflows/test.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-pypi.yml b/.github/workflows/build-pypi.yml index f21898971..5a90364cd 100644 --- a/.github/workflows/build-pypi.yml +++ b/.github/workflows/build-pypi.yml @@ -20,9 +20,9 @@ jobs: matrix: python-version: ["3.7"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -37,7 +37,7 @@ jobs: python setup.py bdist_wheel - name: Archive dist - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: volatility3-pypi path: | diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index cc2a7fd3e..917685187 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b1a9dd31b..7ce6b13bb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,9 +8,9 @@ jobs: matrix: python-version: ["3.7"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} From 35122df27d6d65c661c5fc43508e61609f262714 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 29 May 2024 20:42:25 +0100 Subject: [PATCH 0459/2186] Infra: Upgrade deprecated githubs actions 2 --- .github/workflows/black.yml | 2 +- .github/workflows/install.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 5f4523072..5adab3259 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -6,7 +6,7 @@ jobs: lint: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: psf/black@stable with: options: "--check --diff --verbose" diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 917685187..e13161085 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -10,10 +10,10 @@ jobs: host: [ ubuntu-latest, windows-latest ] python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} From 771ed10b44573a7f8baa32822f3bc524195fe0c9 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 29 May 2024 20:44:04 +0100 Subject: [PATCH 0460/2186] Core: Bump to 2.7.1 --- volatility3/framework/constants/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 3c5e0eb2f..6963867f7 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -45,7 +45,7 @@ BANG = "!" # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 7 # Number of changes that only add to the interface -VERSION_PATCH = 0 # Number of changes that do not change the interface +VERSION_PATCH = 1 # Number of changes that do not change the interface VERSION_SUFFIX = "" # TODO: At version 2.0.0, remove the symbol_shift feature From 76c8067b21ccf4a596d06e6d2d470f01c39e1fa2 Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Sat, 1 Jun 2024 10:47:20 -0700 Subject: [PATCH 0461/2186] add full and dev extras --- requirements.txt | 2 +- setup.py | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index c63dc0b36..bd61edf14 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ capstone>=3.0.5 pycryptodome # This is required for memory acquisition via leechcore/pcileech. -leechcorepyc>=2.4.0 +leechcorepyc>=2.4.0; sys_platform != 'darwin' # This is required for memory analysis on a Amazon/MinIO S3 and Google Cloud object storage gcsfs>=2023.1.0 diff --git a/setup.py b/setup.py index c2c55067d..6987c4359 100644 --- a/setup.py +++ b/setup.py @@ -10,12 +10,12 @@ with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() -def get_install_requires(): +def get_requires(filename): requirements = [] - with open("requirements-minimal.txt", "r", encoding="utf-8") as fh: + with open(filename, "r", encoding="utf-8") as fh: for line in fh.readlines(): stripped_line = line.strip() - if stripped_line == "" or stripped_line.startswith("#"): + if stripped_line == "" or stripped_line.startswith(("#", "-r")): continue requirements.append(stripped_line) return requirements @@ -49,5 +49,9 @@ setuptools.setup( "volshell = volatility3.cli.volshell:main", ], }, - install_requires=get_install_requires(), + install_requires=get_requires("requirements-minimal.txt"), + extras_require={ + "dev": get_requires("requirements-dev.txt"), + "full": get_requires("requirements.txt"), + }, ) From 693eebc34b17fc067f8a91739b8aac884ce1481b Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Sat, 1 Jun 2024 15:29:01 -0700 Subject: [PATCH 0462/2186] migrate to pyproject.toml --- .github/workflows/build-pypi.yml | 5 ++- .github/workflows/test.yaml | 5 ++- .gitignore | 1 + README.md | 5 ++- pyproject.toml | 32 ++++++++++++++++++ setup.py | 33 ------------------- volatility3/framework/constants/__init__.py | 21 ++++-------- volatility3/framework/constants/_version.py | 13 ++++++++ volatility3/framework/interfaces/automagic.py | 2 +- 9 files changed, 60 insertions(+), 57 deletions(-) create mode 100644 pyproject.toml create mode 100644 volatility3/framework/constants/_version.py diff --git a/.github/workflows/build-pypi.yml b/.github/workflows/build-pypi.yml index 5a90364cd..346d0337e 100644 --- a/.github/workflows/build-pypi.yml +++ b/.github/workflows/build-pypi.yml @@ -29,12 +29,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel + pip install build - name: Build PyPi packages run: | - python setup.py sdist --formats=gztar,zip - python setup.py bdist_wheel + python -m build - name: Archive dist uses: actions/upload-artifact@v4 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7ce6b13bb..55b2e4b60 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -18,13 +18,12 @@ jobs: run: | python -m pip install --upgrade pip pip install Cmake - pip install setuptools wheel + pip install build pip install -r ./test/requirements-testing.txt - name: Build PyPi packages run: | - python setup.py sdist --formats=gztar,zip - python setup.py bdist_wheel + python -m build - name: Download images run: | diff --git a/.gitignore b/.gitignore index 328ba5f83..c132736a9 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ config*.json # Pyinstaller files build dist +*.egg-info # Environments .env diff --git a/README.md b/README.md index f69acb3bb..d303d2dff 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,10 @@ Volatility 3 requires Python 3.7.0 or later. To install the most minimal set of pip3 install -r requirements-minimal.txt ``` -Alternately, the minimal packages will be installed automatically when Volatility 3 is installed using setup.py. However, as noted in the Quick Start section below, Volatility 3 does not *need* to be installed via setup.py prior to using it. +Alternately, the minimal packages will be installed automatically when Volatility 3 is installed using pip. However, as noted in the Quick Start section below, Volatility 3 does not *need* to be installed prior to using it. ```shell -python3 setup.py build -python3 setup.py install +pip3 install . ``` To enable the full range of Volatility 3 functionality, use a command like the one below. For partial functionality, comment out any unnecessary packages in [requirements.txt](requirements.txt) prior to running the command. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..98c562a90 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,32 @@ +[project] +name = "volatility3" +description = "Memory forensics framework" +keywords = ["volatility", "memory", "forensics", "framework", "windows", "linux", "volshell"] +readme = "README.md" +authors = [ + { name = "Volatility Foundation", email = "volatility@volatilityfoundation.org" }, +] +requires-python = ">=3.7.0" +license = { text = "VSL" } +dynamic = ["dependencies", "optional-dependencies", "version"] + +[project.urls] +Homepage = "https://github.com/volatilityfoundation/volatility3/" +"Bug Tracker" = "https://github.com/volatilityfoundation/volatility3/issues" +Documentation = "https://volatility3.readthedocs.io/" +"Source Code" = "https://github.com/volatilityfoundation/volatility3" + +[project.scripts] +vol = "volatility3.cli:main" +volshell = "volatility3.cli.volshell:main" + +[tool.setuptools.dynamic] +version = { attr = "volatility3.framework.constants._version.PACKAGE_VERSION" } +dependencies = { file = "requirements-minimal.txt" } + +[tool.setuptools.packages.find] +include = ["volatility3*"] + +[build-system] +requires = ["setuptools>=68"] +build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 6987c4359..3af033160 100644 --- a/setup.py +++ b/setup.py @@ -4,11 +4,6 @@ import setuptools -from volatility3.framework import constants - -with open("README.md", "r", encoding="utf-8") as fh: - long_description = fh.read() - def get_requires(filename): requirements = [] @@ -22,34 +17,6 @@ def get_requires(filename): setuptools.setup( - name="volatility3", - description="Memory forensics framework", - version=constants.PACKAGE_VERSION, - license="VSL", - keywords="volatility memory forensics framework windows linux volshell", - author="Volatility Foundation", - long_description=long_description, - long_description_content_type="text/markdown", - author_email="volatility@volatilityfoundation.org", - url="https://github.com/volatilityfoundation/volatility3/", - project_urls={ - "Bug Tracker": "https://github.com/volatilityfoundation/volatility3/issues", - "Documentation": "https://volatility3.readthedocs.io/", - "Source Code": "https://github.com/volatilityfoundation/volatility3", - }, - packages=setuptools.find_namespace_packages( - include=["volatility3", "volatility3.*"] - ), - package_dir={"volatility3": "volatility3"}, - python_requires=">=3.7.0", - include_package_data=True, - entry_points={ - "console_scripts": [ - "vol = volatility3.cli:main", - "volshell = volatility3.cli.volshell:main", - ], - }, - install_requires=get_requires("requirements-minimal.txt"), extras_require={ "dev": get_requires("requirements-dev.txt"), "full": get_requires("requirements.txt"), diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 6963867f7..8743a64b0 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -14,6 +14,13 @@ from typing import Callable, Optional import volatility3.framework.constants.linux import volatility3.framework.constants.windows +from volatility3.framework.constants._version import ( + PACKAGE_VERSION, + VERSION_MAJOR, + VERSION_MINOR, + VERSION_PATCH, + VERSION_SUFFIX, +) PLUGINS_PATH = [ os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "plugins")), @@ -42,20 +49,6 @@ if hasattr(sys, "frozen") and sys.frozen: BANG = "!" """Constant used to delimit table names from type names when referring to a symbol""" -# We use the SemVer 2.0.0 versioning scheme -VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 7 # Number of changes that only add to the interface -VERSION_PATCH = 1 # Number of changes that do not change the interface -VERSION_SUFFIX = "" - -# TODO: At version 2.0.0, remove the symbol_shift feature - -PACKAGE_VERSION = ( - ".".join([str(x) for x in [VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH]]) - + VERSION_SUFFIX -) -"""The canonical version of the volatility3 package""" - AUTOMAGIC_CONFIG_PATH = "automagic" """The root section within the context configuration for automagic values""" diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py new file mode 100644 index 000000000..37c115431 --- /dev/null +++ b/volatility3/framework/constants/_version.py @@ -0,0 +1,13 @@ +# We use the SemVer 2.0.0 versioning scheme +VERSION_MAJOR = 2 # Number of releases of the library with a breaking change +VERSION_MINOR = 7 # Number of changes that only add to the interface +VERSION_PATCH = 1 # Number of changes that do not change the interface +VERSION_SUFFIX = "" + +# TODO: At version 2.0.0, remove the symbol_shift feature + +PACKAGE_VERSION = ( + ".".join([str(x) for x in [VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH]]) + + VERSION_SUFFIX +) +"""The canonical version of the volatility3 package""" diff --git a/volatility3/framework/interfaces/automagic.py b/volatility3/framework/interfaces/automagic.py index fe1361b30..0867b1608 100644 --- a/volatility3/framework/interfaces/automagic.py +++ b/volatility3/framework/interfaces/automagic.py @@ -50,7 +50,7 @@ class AutomagicInterface( context: interfaces.context.ContextInterface, config_path: str, *args, - **kwargs + **kwargs, ) -> None: super().__init__(context, config_path) for requirement in self.get_requirements(): From 0defe0f07e3801e4a833c05e37148aceb93fe305 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 9 Jun 2024 21:08:22 +1000 Subject: [PATCH 0463/2186] Rename symbol_table to kernel_module_name --- volatility3/framework/plugins/linux/netfilter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 33bb5c456..2b6b67268 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -75,13 +75,13 @@ class AbstractNetfilter(ABC): ): self._context = context self._config = config - symbol_table = self._config["kernel"] - self.vmlinux = context.modules[symbol_table] + kernel_module_name = self._config["kernel"] + self.vmlinux = context.modules[kernel_module_name] self.layer_name = self.vmlinux.layer_name - modules = lsmod.Lsmod.list_modules(context, symbol_table) + modules = lsmod.Lsmod.list_modules(context, kernel_module_name) self.handlers = linux.LinuxUtilities.generate_kernel_handler_info( - context, symbol_table, modules + context, kernel_module_name, modules ) self._set_data_sizes() From fefc6c4a4be2e1f12c81d04103d1e783303473b6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 9 Jun 2024 21:27:27 +1000 Subject: [PATCH 0464/2186] Pass just the kernel module name instead of the whole config --- volatility3/framework/plugins/linux/netfilter.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 2b6b67268..c2af660b1 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -69,13 +69,9 @@ class AbstractNetfilter(ABC): NF_MAX_HOOKS = LARGEST_HOOK_NUMBER + 1 def __init__( - self, - context: interfaces.context.ContextInterface, - config: interfaces.configuration.HierarchicalDict, + self, context: interfaces.context.ContextInterface, kernel_module_name: str ): self._context = context - self._config = config - kernel_module_name = self._config["kernel"] self.vmlinux = context.modules[kernel_module_name] self.layer_name = self.vmlinux.layer_name @@ -106,7 +102,8 @@ class AbstractNetfilter(ABC): Yields: The kmsg records. Same as _run() """ - vmlinux = context.modules[config["kernel"]] + kernel_module_name = config["kernel"] + vmlinux = context.modules[kernel_module_name] implementation_inst = None # type: ignore for subclass in class_subclasses(cls): @@ -123,7 +120,9 @@ class AbstractNetfilter(ABC): "Netfilter implementation '%s' matches!", subclass.__name__, ) - implementation_inst = subclass(context=context, config=config) + implementation_inst = subclass( + context=context, kernel_module_name=kernel_module_name + ) # More than one class could be executed for an specific kernel version # For instance: Netfilter Ingress hooks yield from implementation_inst._run() From 0962f2638243517b2f5ff0a76423dfaeb7796071 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 9 Jun 2024 21:33:59 +1000 Subject: [PATCH 0465/2186] class_subclasses is a function, soit's better import the volatility.framework to avoid people accidentally thinking it's defined here and then importing it from here. --- volatility3/framework/plugins/linux/netfilter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index c2af660b1..ad446123f 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -6,8 +6,8 @@ from abc import ABC, abstractmethod import logging from typing import Iterator, List, Tuple +from volatility3 import framework from volatility3.framework import ( - class_subclasses, constants, interfaces, renderers, @@ -106,7 +106,7 @@ class AbstractNetfilter(ABC): vmlinux = context.modules[kernel_module_name] implementation_inst = None # type: ignore - for subclass in class_subclasses(cls): + for subclass in framework.class_subclasses(cls): if not subclass.symtab_checks(vmlinux=vmlinux): vollog.log( constants.LOGLEVEL_VVVV, From 3793510f59adda53f25395bddd358a97e8397054 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 9 Jun 2024 21:36:20 +1000 Subject: [PATCH 0466/2186] Add VersionRequirement for LinuxUtilities --- volatility3/framework/plugins/linux/netfilter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index ad446123f..b01ec25a7 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -674,6 +674,9 @@ class Netfilter(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) + ), ] def _format_fields(self, fields): From 9d5636b03a7cbee926f88954e58284de30d78f1e Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 9 Jun 2024 21:43:11 +1000 Subject: [PATCH 0467/2186] Move the data size setter to the __init__() --- volatility3/framework/plugins/linux/netfilter.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index b01ec25a7..d27106118 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -75,17 +75,15 @@ class AbstractNetfilter(ABC): self.vmlinux = context.modules[kernel_module_name] self.layer_name = self.vmlinux.layer_name + # Set data sizes + self.ptr_size = self.vmlinux.get_type("pointer").size + self.list_head_size = self.vmlinux.get_type("list_head").size + modules = lsmod.Lsmod.list_modules(context, kernel_module_name) self.handlers = linux.LinuxUtilities.generate_kernel_handler_info( context, kernel_module_name, modules ) - self._set_data_sizes() - - def _set_data_sizes(self): - self.ptr_size = self.vmlinux.get_type("pointer").size - self.list_head_size = self.vmlinux.get_type("list_head").size - @classmethod def run_all( cls, From 23b9ed8c0ca6241db3b5cad6213337ee620c4b7a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 9 Jun 2024 22:02:41 +1000 Subject: [PATCH 0468/2186] Extend the changes in fefc6c4a to the run_all() class method --- volatility3/framework/plugins/linux/netfilter.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index d27106118..60a71f798 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -86,21 +86,18 @@ class AbstractNetfilter(ABC): @classmethod def run_all( - cls, - context: interfaces.context.ContextInterface, - config: interfaces.configuration.HierarchicalDict, + cls, context: interfaces.context.ContextInterface, kernel_module_name: str ) -> Iterator[Tuple[int, str, str, int, int, str, bool]]: """It calls each subclass symtab_checks() to test the required conditions to that specific kernel implementation. Args: context: The volatility3 context on which to operate - config: Core configuration + kernel_module_name: The name of the table containing the kernel symbols Yields: The kmsg records. Same as _run() """ - kernel_module_name = config["kernel"] vmlinux = context.modules[kernel_module_name] implementation_inst = None # type: ignore @@ -698,8 +695,9 @@ class Netfilter(interfaces.plugins.PluginInterface): ) def _generator(self): + kernel_module_name = self.config["kernel"] for fields in AbstractNetfilter.run_all( - context=self.context, config=self.config + context=self.context, kernel_module_name=kernel_module_name ): yield (0, self._format_fields(fields)) From a72062f2889fdfe5d03e3974e4bc314a35e85700 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 10 Jun 2024 17:20:47 +1000 Subject: [PATCH 0469/2186] Revert "LayerWriter plugin: Fix --output argument. It's referenced in the code but never mentioned as a requirement" This reverts commit 6d22347ce6dd0152746564a2d77022ca1b4d9045. --- volatility3/framework/plugins/layerwriter.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/volatility3/framework/plugins/layerwriter.py b/volatility3/framework/plugins/layerwriter.py index 6a06cc607..319e4fd7a 100644 --- a/volatility3/framework/plugins/layerwriter.py +++ b/volatility3/framework/plugins/layerwriter.py @@ -38,11 +38,6 @@ class LayerWriter(plugins.PluginInterface): default=False, optional=True, ), - requirements.StringRequirement( - name="output", - description="Output filename", - optional=True, - ), requirements.ListRequirement( name="layers", element_type=str, From ab84070df30ddfaccc2e304e26fb7815a5555444 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 10 Jun 2024 17:25:05 +1000 Subject: [PATCH 0470/2186] Revert "Store the real/final output filename so that we can notify it correctly to the user" This reverts commit d7aae3a9828ba03bd5531aa385724a954e48501a. --- volatility3/cli/__init__.py | 4 ++-- volatility3/framework/plugins/layerwriter.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 9873791e3..c0eed20ee 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -790,8 +790,8 @@ class CommandLine: return None self._file.close() - self._output_filename = self._get_final_filename() - os.rename(self._name, self._output_filename) + output_filename = self._get_final_filename() + os.rename(self._name, output_filename) if direct: return CLIDirectFileHandler diff --git a/volatility3/framework/plugins/layerwriter.py b/volatility3/framework/plugins/layerwriter.py index 319e4fd7a..61c3118b5 100644 --- a/volatility3/framework/plugins/layerwriter.py +++ b/volatility3/framework/plugins/layerwriter.py @@ -115,7 +115,6 @@ class LayerWriter(plugins.PluginInterface): progress_callback=self._progress_callback, ) file_handle.close() - output_name = file_handle._output_filename except IOError as excp: yield 0, (f"Layer cannot be written to {output_name}: {excp}",) From 77fb0b7b26c2c52140380a2ce9f1a896a84c258a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 10 Jun 2024 18:37:38 +1000 Subject: [PATCH 0471/2186] Update the output filename (preferred_filename) so that we can notify it correctly to the user --- volatility3/cli/__init__.py | 10 +++++++++- volatility3/framework/plugins/layerwriter.py | 4 ++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index c0eed20ee..6b17edac0 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -789,8 +789,16 @@ class CommandLine: if self._file.closed: return None - self._file.close() output_filename = self._get_final_filename() + + # Update the filename, which may have changed if a file with + # the same name already existed. This needs to be done before + # closing the file, otherwise FileHandlerInterface will raise + # an exception. Also, the preferred_filename setter only allows + # a specific set of characters, where '/' is not in that list + self.preferred_filename = os.path.basename(output_filename) + + self._file.close() os.rename(self._name, output_filename) if direct: diff --git a/volatility3/framework/plugins/layerwriter.py b/volatility3/framework/plugins/layerwriter.py index 61c3118b5..24149a390 100644 --- a/volatility3/framework/plugins/layerwriter.py +++ b/volatility3/framework/plugins/layerwriter.py @@ -115,6 +115,10 @@ class LayerWriter(plugins.PluginInterface): progress_callback=self._progress_callback, ) file_handle.close() + + # Update the filename, which may have changed if a file + # with the same name already existed. + output_name = file_handle.preferred_filename except IOError as excp: yield 0, (f"Layer cannot be written to {output_name}: {excp}",) From e4aac0c97634487db735f762bdc2f449fa8cd5ae Mon Sep 17 00:00:00 2001 From: Eve Date: Mon, 10 Jun 2024 11:30:15 +0100 Subject: [PATCH 0472/2186] Windows: ldrmodules update exception handling to InvalidAddressException --- .../framework/plugins/windows/ldrmodules.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/ldrmodules.py b/volatility3/framework/plugins/windows/ldrmodules.py index 4c8456fa9..ffd84ea4a 100644 --- a/volatility3/framework/plugins/windows/ldrmodules.py +++ b/volatility3/framework/plugins/windows/ldrmodules.py @@ -1,3 +1,9 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging + from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints @@ -5,12 +11,14 @@ from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows.extensions import pe from volatility3.plugins.windows import pslist, vadinfo +vollog = logging.getLogger(__name__) + class LdrModules(interfaces.plugins.PluginInterface): """Lists the loaded modules in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): @@ -71,7 +79,11 @@ class LdrModules(interfaces.plugins.PluginInterface): # Filter out VADs that do not start with a MZ header if dos_header.e_magic != 0x5A4D: continue - except exceptions.PagedInvalidAddressException: + except exceptions.InvalidAddressException: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping vad at {hex(dos_header.vol.offset)} due to InvalidAddressException", + ) continue mapped_files[vad.get_start()] = vad.get_file_name() From 0ee3573be239966a888df644d2aca3a5dd18b02d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 12 Jun 2024 23:14:45 +0100 Subject: [PATCH 0473/2186] Revert "Intel layer: Fix. This if statement will never be executed unless "minimum_address > maximum_address" which doesn't make sense to me." This reverts commit e5a5b895771b655d21c36689c33a534034c31e36. --- volatility3/framework/layers/intel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 8589cdbb6..75e561b33 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -180,7 +180,7 @@ class Intel(linear.LinearlyMappedLayer): position = self._initial_position entry = self._initial_entry - if not (self.minimum_address <= offset <= self.maximum_address): + if self.minimum_address > offset > self.maximum_address: raise exceptions.PagedInvalidAddressException( self.name, offset, From 04ca0214eb264268bd368401f8d5eaa940f2524e Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 13 Jun 2024 15:24:32 -0500 Subject: [PATCH 0474/2186] Prevent backtrace in ADS scanning when contents cannot be recovered. Fix missing parantheses as well as format_hints call on bad value --- volatility3/framework/plugins/windows/mftscan.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 85c072037..1b1a1b45e 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -264,9 +264,10 @@ class ADS(interfaces.plugins.PluginInterface): disasm = interfaces.renderers.Disassembly( content, 0, architecture.lower() ) + content = format_hints.HexBytes(content) else: - content = renderers.NotAvailableValue - disasm = interfaces.renderers.BaseAbsentValue + content = renderers.NotAvailableValue() + disasm = interfaces.renderers.BaseAbsentValue() yield 0, ( format_hints.Hex(attr_data.vol.offset), @@ -275,7 +276,7 @@ class ADS(interfaces.plugins.PluginInterface): attr.Attr_Header.AttrType.lookup(), file_name, ads_name, - format_hints.HexBytes(content), + content, disasm, ) else: From 59f6a050688c30e2b05fec2b0efe54f57e2f46f3 Mon Sep 17 00:00:00 2001 From: atcuno Date: Fri, 14 Jun 2024 16:45:54 -0500 Subject: [PATCH 0475/2186] The notes variable is not reset for each VAD, allowing bleed through of a previously set note value to VADs enumerated afterwards --- volatility3/framework/plugins/windows/malfind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 8c0cb68ac..079274d69 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -155,12 +155,12 @@ class Malfind(interfaces.plugins.PluginInterface): for proc in procs: # by default, "Notes" column will be set to N/A - notes = renderers.NotApplicableValue() process_name = utility.array_to_string(proc.ImageFileName) for vad, data in self.list_injections( self.context, kernel.layer_name, kernel.symbol_table_name, proc ): + notes = renderers.NotApplicableValue() # Check for unique headers and update "Notes" column if criteria is met if data[0:2] in refined_criteria: notes = refined_criteria[data[0:2]] From aee81276a2d921e44e58db28174f7e4782fe7423 Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 11:27:32 -0500 Subject: [PATCH 0476/2186] Add processghosting plugin to detect process ghosting and related techniques. Add process filter that gathers only active, non-smeared userland processes --- .../plugins/windows/processghosting.py | 99 +++++++++++++++++++ .../framework/plugins/windows/pslist.py | 21 ++++ 2 files changed, 120 insertions(+) create mode 100644 volatility3/framework/plugins/windows/processghosting.py diff --git a/volatility3/framework/plugins/windows/processghosting.py b/volatility3/framework/plugins/windows/processghosting.py new file mode 100644 index 000000000..6c311f555 --- /dev/null +++ b/volatility3/framework/plugins/windows/processghosting.py @@ -0,0 +1,99 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging + +from volatility3.framework import interfaces, exceptions +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import pslist + +vollog = logging.getLogger(__name__) + + +class ProcessGhosting(interfaces.plugins.PluginInterface): + """Lists processes whose DeletePending bit is set or whose FILE_OBJECT is set to 0""" + + _required_framework_version = (2, 4, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(2, 0, 0) + ), + ] + + def _generator(self, procs): + # determine if we're on a 32 or 64 bit kernel + kernel = self.context.modules[self.config["kernel"]] + + if not kernel.get_type("_EPROCESS").has_member("ImageFilePointer"): + vollog.warning("This plugin only supports Windows 10 builds when the ImageFilePointer member of _EPROCESS is present") + return + + for proc in procs: + delete_pending = renderers.UnreadableValue() + process_name = utility.array_to_string(proc.ImageFileName) + + # if it is 0 then its a side effect of process ghosting + if proc.ImageFilePointer.vol.offset != 0: + try: + file_object = proc.ImageFilePointer + delete_pending = file_object.DeletePending + except exceptions.InvalidAddressException: + file_object = 0 + + # ImageFilePointer equal to 0 means process ghosting or similar techniques were used + else: + file_object = 0 + + # delete_pending besides 0 or 1 = smear + if file_object == 0 or delete_pending == 1: + path = renderers.UnreadableValue() + if file_object: + try: + path = file_object.FileName.String + except exceptions.InvalidAddressException: + path = renderers.UnreadableValue() + + yield ( + 0, + ( + proc.UniqueProcessId, + process_name, + format_hints.Hex(file_object), + delete_pending, + path + ), + ) + + def run(self): + filter_func = pslist.PsList.create_active_process_filter() + kernel = self.context.modules[self.config["kernel"]] + + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("FILE_OBJECT", format_hints.Hex), + ("DeletePending", str), + ("Path", str), + ], + self._generator( + pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_func=filter_func, + ) + ), + ) diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index e7a0d5dd4..8ad0f9a05 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -136,6 +136,27 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): filter_func = lambda x: x.UniqueProcessId not in filter_list return filter_func + @classmethod + def create_active_process_filter( + cls + ) -> Callable[[interfaces.objects.ObjectInterface], bool]: + """A factory for producing a filter function that only returns + active, userland processes. This prevents plugins from operating on terminated + processes that are still in the process list due to smear or handle leaks as well + as kernel processes (System, Registry, etc.). Use of this filter for plugins searching + for system state anomalies significantly reduces false positive in smeared and terminated + processes. + Returns: + Filter function for passing to the `list_processes` method + """ + + return lambda x: not (x.is_valid() and \ + x.ActiveThreads > 0 and \ + x.UniqueProcessId != 4 and \ + x.InheritedFromUniqueProcessId != 4 and \ + x.ExitTime.QuadPart == 0 and \ + x.get_handle_count() != renderers.UnreadableValue()) + @classmethod def create_name_filter( cls, name_list: List[str] = None, exclude: bool = False From 6c42c51a8a6201255f120321885309cd92611c77 Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 11:31:43 -0500 Subject: [PATCH 0477/2186] Fixes for black --- .../framework/plugins/windows/processghosting.py | 7 ++++--- volatility3/framework/plugins/windows/pslist.py | 16 +++++++++------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/processghosting.py b/volatility3/framework/plugins/windows/processghosting.py index 6c311f555..b29ff04f0 100644 --- a/volatility3/framework/plugins/windows/processghosting.py +++ b/volatility3/framework/plugins/windows/processghosting.py @@ -33,11 +33,12 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): ] def _generator(self, procs): - # determine if we're on a 32 or 64 bit kernel kernel = self.context.modules[self.config["kernel"]] if not kernel.get_type("_EPROCESS").has_member("ImageFilePointer"): - vollog.warning("This plugin only supports Windows 10 builds when the ImageFilePointer member of _EPROCESS is present") + vollog.warning( + "This plugin only supports Windows 10 builds when the ImageFilePointer member of _EPROCESS is present" + ) return for proc in procs: @@ -72,7 +73,7 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): process_name, format_hints.Hex(file_object), delete_pending, - path + path, ), ) diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 8ad0f9a05..55a3fc280 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -138,7 +138,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): @classmethod def create_active_process_filter( - cls + cls, ) -> Callable[[interfaces.objects.ObjectInterface], bool]: """A factory for producing a filter function that only returns active, userland processes. This prevents plugins from operating on terminated @@ -150,12 +150,14 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): Filter function for passing to the `list_processes` method """ - return lambda x: not (x.is_valid() and \ - x.ActiveThreads > 0 and \ - x.UniqueProcessId != 4 and \ - x.InheritedFromUniqueProcessId != 4 and \ - x.ExitTime.QuadPart == 0 and \ - x.get_handle_count() != renderers.UnreadableValue()) + return lambda x: not ( + x.is_valid() and + x.ActiveThreads > 0 and + x.UniqueProcessId != 4 and + x.InheritedFromUniqueProcessId != 4 and + x.ExitTime.QuadPart == 0 and + x.get_handle_count() != renderers.UnreadableValue() + ) @classmethod def create_name_filter( From 4e15019c46ae24899ea0527dd4855ade5fd7af00 Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 11:34:06 -0500 Subject: [PATCH 0478/2186] Fixes for black --- volatility3/framework/plugins/windows/pslist.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 55a3fc280..8234b210f 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -151,12 +151,12 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """ return lambda x: not ( - x.is_valid() and - x.ActiveThreads > 0 and - x.UniqueProcessId != 4 and - x.InheritedFromUniqueProcessId != 4 and - x.ExitTime.QuadPart == 0 and - x.get_handle_count() != renderers.UnreadableValue() + x.is_valid() + and x.ActiveThreads > 0 + and x.UniqueProcessId != 4 + and x.InheritedFromUniqueProcessId != 4 + and x.ExitTime.QuadPart == 0 + and x.get_handle_count() != renderers.UnreadableValue() ) @classmethod From c4e7e50180a45dfb80b453b61e9b94860d5a01d3 Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 14:42:23 -0500 Subject: [PATCH 0479/2186] Add svclist and svcdiff plugins. Make svcscan more modular to support inheritance and cleaner code --- .../framework/plugins/windows/svcdiff.py | 74 ++++++++++++ .../framework/plugins/windows/svclist.py | 86 ++++++++++++++ .../framework/plugins/windows/svcscan.py | 111 +++++++++++------- .../framework/symbols/windows/versions.py | 9 ++ 4 files changed, 235 insertions(+), 45 deletions(-) create mode 100644 volatility3/framework/plugins/windows/svcdiff.py create mode 100644 volatility3/framework/plugins/windows/svclist.py diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py new file mode 100644 index 000000000..03f0afcd3 --- /dev/null +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -0,0 +1,74 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +# This module attempts to locate skeleton-key like function hooks. +# It does this by locating the CSystems array through a variety of methods, +# and then validating the entry for RC4 HMAC (0x17 / 23) +# +# For a thorough walkthrough on how the R&D was performed to develop this plugin, +# please see our blogpost here: +# +# https://volatility-labs.blogspot.com/2021/10/memory-forensics-r-illustrated.html + +import logging + +from volatility3.framework import symbols +from volatility3.framework.configuration import requirements +from volatility3.plugins.windows import svclist, svcscan +from volatility3.framework.symbols.windows import versions + +vollog = logging.getLogger(__name__) + +class SvcDiff(svclist.SvcList, svcscan.SvcScan): + """Compares services found through list walking versus scanning to find rootkits""" + + _required_framework_version = (2, 4, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="svclist", component=svclist.SvcList, version=(1, 0, 0) + ), + requirements.VersionRequirement( + name="svcscan", component=svcscan.SvcScan, version=(2, 0, 0) + ), + ] + + def _generator(self): + """ + Finds services by walking the services.exe list on supported Windows 10 versions + """ + kernel = self.context.modules[self.config["kernel"]] + + if not symbols.symbol_table_is_64bit(self.context, kernel.symbol_table_name) or \ + not versions.is_win10_15063_or_later(context=self.context, symbol_table=kernel.symbol_table_name): + vollog.info("This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples") + return + + from_scan = set() + from_list = set() + records = {} + + service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() + + # collect unique service names from scanning + for service in self.service_scan(service_table_name, service_binary_dll_map, filter_func): + from_scan.add(service[6]) + records[service[6]] = service + + # collect services from listing walking + for service in self.service_list(service_table_name, service_binary_dll_map, filter_func): + from_list.add(service[6]) + + # report services found from scanning but not list walking + for hidden_service in from_scan-from_list: + yield (0, records[hidden_service]) + diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py new file mode 100644 index 000000000..b4541981d --- /dev/null +++ b/volatility3/framework/plugins/windows/svclist.py @@ -0,0 +1,86 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging + +from typing import List + +from volatility3.framework import interfaces, exceptions, symbols +from volatility3.framework.configuration import requirements +from volatility3.framework.symbols.windows import versions +from volatility3.plugins.windows import svcscan, pslist +from volatility3.framework.layers import scanners + +vollog = logging.getLogger(__name__) + + +class SvcList(svcscan.SvcScan): + """Lists services contained with the services.exe doubly linked list of services""" + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.PluginRequirement( + name="svcscan", plugin=svcscan.SvcScan, version=(2, 0, 0) + ), + ] + + def _get_exe_range(self, proc): + """ + Returns a tuple of starting,ending address for + the VAD containing services.exe + """ + + vad_root = proc.get_vad_root() + for vad in vad_root.traverse(): + filename = vad.get_file_name() + if isinstance(filename, str) and filename.lower().endswith("\\services.exe"): + return [(vad.get_start(), vad.get_size())] + + return None + + def service_list(self, service_table_name, service_binary_dll_map, filter_func): + kernel = self.context.modules[self.config["kernel"]] + + if not symbols.symbol_table_is_64bit(self.context, kernel.symbol_table_name) or \ + not versions.is_win10_15063_or_later(context=self.context, symbol_table=kernel.symbol_table_name): + vollog.info("This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples") + return + + for proc in pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_func=filter_func, + ): + try: + layer_name = proc.add_process_layer() + except exceptions.InvalidAddressException: + vollog.warning("Unable to access memory of services.exe running with PID: {}".format(proc.UniqueProcessId)) + continue + + layer = self.context.layers[layer_name] + + exe_range = self._get_exe_range(proc) + if not exe_range: + vollog.warning("Could not find the application executable VAD for services.exe. Unable to proceed.") + continue + + for offset in layer.scan( + context=self.context, + scanner=scanners.BytesScanner(needle = b"Sc27"), + sections=exe_range, + ): + for record in self.enumerate_vista_or_later_header(service_table_name, service_binary_dll_map, layer_name, offset): + yield record + + def _generator(self): + service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() + + for record in self.service_list(service_table_name, service_binary_dll_map, filter_func): + yield (0, record) + diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 10de46e2a..08d11a946 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -19,7 +19,7 @@ from volatility3.framework.layers import scanners from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import versions -from volatility3.framework.symbols.windows.extensions import services +from volatility3.framework.symbols.windows.extensions import services as services_types from volatility3.plugins.windows import poolscanner, pslist, vadyarascan from volatility3.plugins.windows.registry import hivelist @@ -140,7 +140,7 @@ class SvcScan(interfaces.plugins.PluginInterface): config_path, os.path.join("windows", "services"), symbol_filename, - class_types=services.class_types, + class_types=services_types.class_types, native_types=native_types, ) @@ -232,28 +232,44 @@ class SvcScan(interfaces.plugins.PluginInterface): for service_key in services } - def _generator(self): + def enumerate_vista_or_later_header( + self, + service_table_name, + service_binary_dll_map, + proc_layer_name, + offset + ): + if offset % 8: + return + + service_header = self.context.object( + service_table_name + constants.BANG + "_SERVICE_HEADER", + offset=offset, + layer_name=proc_layer_name, + ) + + if not service_header.is_valid(): + return + + # since we walk the s-list backwards, if we've seen + # an object, then we've also seen all objects that + # exist before it, thus we can break at that time. + for service_record in service_header.ServiceRecord.traverse(): + service_info = service_binary_dll_map.get( + service_record.get_name(), + ServiceBinaryInfo( + renderers.UnreadableValue(), renderers.UnreadableValue() + ), + ) + yield self.get_record_tuple(service_record, service_info) + + def service_scan(self, service_table_name, service_binary_dll_map, filter_func): kernel = self.context.modules[self.config["kernel"]] - service_table_name = self.create_service_table( - self.context, kernel.symbol_table_name, self.config_path - ) - - # Building the dictionary ahead of time is much better for performance - # vs looking up each service's DLL individually. - services_key = self._get_service_key(kernel) - service_binary_dll_map = ( - self._get_service_binary_map(services_key) - if services_key is not None - else {} - ) - relative_tag_offset = self.context.symbol_space.get_type( service_table_name + constants.BANG + "_SERVICE_RECORD" ).relative_child_offset("Tag") - filter_func = pslist.PsList.create_name_filter(["services.exe"]) - is_vista_or_later = versions.is_vista_or_later( context=self.context, symbol_table=kernel.symbol_table_name ) @@ -306,37 +322,42 @@ class SvcScan(interfaces.plugins.PluginInterface): renderers.UnreadableValue(), renderers.UnreadableValue() ), ) - yield ( - 0, - self.get_record_tuple(service_record, service_info), - ) + yield self.get_record_tuple(service_record, service_info) else: - service_header = self.context.object( - service_table_name + constants.BANG + "_SERVICE_HEADER", - offset=offset, - layer_name=proc_layer_name, - ) - - if not service_header.is_valid(): - continue - - # since we walk the s-list backwards, if we've seen - # an object, then we've also seen all objects that - # exist before it, thus we can break at that time. - for service_record in service_header.ServiceRecord.traverse(): + for service_record in self.enumerate_vista_or_later_header(service_table_name, service_binary_dll_map, proc_layer_name, offset): if service_record in seen: break seen.append(service_record) - service_info = service_binary_dll_map.get( - service_record.get_name(), - ServiceBinaryInfo( - renderers.UnreadableValue(), renderers.UnreadableValue() - ), - ) - yield ( - 0, - self.get_record_tuple(service_record, service_info), - ) + yield service_record + + + def get_prereq_info(self): + """ + Data structures and information needed to analyze service information + """ + kernel = self.context.modules[self.config["kernel"]] + + service_table_name = self.create_service_table( + self.context, kernel.symbol_table_name, self.config_path + ) + + services_key = self._get_service_key(kernel) + + service_binary_dll_map = ( + self._get_service_binary_map(services_key) + if services_key is not None + else {} + ) + + filter_func = pslist.PsList.create_name_filter(["services.exe"]) + + return service_table_name, service_binary_dll_map, filter_func + + def _generator(self): + service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() + + for record in self.service_scan(service_table_name, service_binary_dll_map, filter_func): + yield (0, record) def run(self): return renderers.TreeGrid( diff --git a/volatility3/framework/symbols/windows/versions.py b/volatility3/framework/symbols/windows/versions.py index e1e74afc0..d8964f575 100644 --- a/volatility3/framework/symbols/windows/versions.py +++ b/volatility3/framework/symbols/windows/versions.py @@ -141,6 +141,15 @@ is_win10_15063 = OsDistinguisher( ], ) +is_win10_15063_or_later = OsDistinguisher( + version_check=lambda x: x >= (10, 0, 15063), + fallback_checks=[ + ("ObHeaderCookie", None, True), + ("_HANDLE_TABLE", "HandleCount", False), + ("_EPROCESS", "KeepAliveCounter", False), + ], +) + is_win10_16299_or_later = OsDistinguisher( version_check=lambda x: x >= (10, 0, 16299), fallback_checks=[ From 91184c7d92f84cdd3371d3a2371cf1784a2eb1a2 Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 14:54:20 -0500 Subject: [PATCH 0480/2186] Format fixes --- .../framework/plugins/windows/svcdiff.py | 23 ++++++++---- .../framework/plugins/windows/svclist.py | 36 +++++++++++++------ .../framework/plugins/windows/svcscan.py | 18 +++++----- 3 files changed, 51 insertions(+), 26 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py index 03f0afcd3..71aa03636 100644 --- a/volatility3/framework/plugins/windows/svcdiff.py +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -48,27 +48,36 @@ class SvcDiff(svclist.SvcList, svcscan.SvcScan): """ kernel = self.context.modules[self.config["kernel"]] - if not symbols.symbol_table_is_64bit(self.context, kernel.symbol_table_name) or \ - not versions.is_win10_15063_or_later(context=self.context, symbol_table=kernel.symbol_table_name): - vollog.info("This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples") + if not symbols.symbol_table_is_64bit( + self.context, kernel.symbol_table_name + ) or not versions.is_win10_15063_or_later( + context=self.context, symbol_table=kernel.symbol_table_name + ): + vollog.info( + "This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples" + ) return from_scan = set() from_list = set() records = {} - + service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() # collect unique service names from scanning - for service in self.service_scan(service_table_name, service_binary_dll_map, filter_func): + for service in self.service_scan( + service_table_name, service_binary_dll_map, filter_func + ): from_scan.add(service[6]) records[service[6]] = service # collect services from listing walking - for service in self.service_list(service_table_name, service_binary_dll_map, filter_func): + for service in self.service_list( + service_table_name, service_binary_dll_map, filter_func + ): from_list.add(service[6]) # report services found from scanning but not list walking - for hidden_service in from_scan-from_list: + for hidden_service in from_scan - from_list: yield (0, records[hidden_service]) diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index b4541981d..53ca68da7 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -6,7 +6,7 @@ import logging from typing import List -from volatility3.framework import interfaces, exceptions, symbols +from volatility3.framework import interfaces, exceptions, symbols from volatility3.framework.configuration import requirements from volatility3.framework.symbols.windows import versions from volatility3.plugins.windows import svcscan, pslist @@ -38,7 +38,9 @@ class SvcList(svcscan.SvcScan): vad_root = proc.get_vad_root() for vad in vad_root.traverse(): filename = vad.get_file_name() - if isinstance(filename, str) and filename.lower().endswith("\\services.exe"): + if isinstance(filename, str) and filename.lower().endswith( + "\\services.exe" + ): return [(vad.get_start(), vad.get_size())] return None @@ -46,9 +48,14 @@ class SvcList(svcscan.SvcScan): def service_list(self, service_table_name, service_binary_dll_map, filter_func): kernel = self.context.modules[self.config["kernel"]] - if not symbols.symbol_table_is_64bit(self.context, kernel.symbol_table_name) or \ - not versions.is_win10_15063_or_later(context=self.context, symbol_table=kernel.symbol_table_name): - vollog.info("This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples") + if not symbols.symbol_table_is_64bit( + self.context, kernel.symbol_table_name + ) or not versions.is_win10_15063_or_later( + context=self.context, symbol_table=kernel.symbol_table_name + ): + vollog.info( + "This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples" + ) return for proc in pslist.PsList.list_processes( @@ -60,27 +67,34 @@ class SvcList(svcscan.SvcScan): try: layer_name = proc.add_process_layer() except exceptions.InvalidAddressException: - vollog.warning("Unable to access memory of services.exe running with PID: {}".format(proc.UniqueProcessId)) + vollog.warning( + "Unable to access memory of services.exe running with PID: {}".format( + proc.UniqueProcessId + ) + ) continue layer = self.context.layers[layer_name] exe_range = self._get_exe_range(proc) if not exe_range: - vollog.warning("Could not find the application executable VAD for services.exe. Unable to proceed.") + vollog.warning( + "Could not find the application executable VAD for services.exe. Unable to proceed." + ) continue for offset in layer.scan( context=self.context, - scanner=scanners.BytesScanner(needle = b"Sc27"), + scanner=scanners.BytesScanner(needle=b"Sc27"), sections=exe_range, + ): + for record in self.enumerate_vista_or_later_header( + service_table_name, service_binary_dll_map, layer_name, offset ): - for record in self.enumerate_vista_or_later_header(service_table_name, service_binary_dll_map, layer_name, offset): yield record def _generator(self): service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() - + for record in self.service_list(service_table_name, service_binary_dll_map, filter_func): yield (0, record) - diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 08d11a946..c991ec943 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -233,11 +233,7 @@ class SvcScan(interfaces.plugins.PluginInterface): } def enumerate_vista_or_later_header( - self, - service_table_name, - service_binary_dll_map, - proc_layer_name, - offset + self, service_table_name, service_binary_dll_map, proc_layer_name, offset ): if offset % 8: return @@ -324,13 +320,17 @@ class SvcScan(interfaces.plugins.PluginInterface): ) yield self.get_record_tuple(service_record, service_info) else: - for service_record in self.enumerate_vista_or_later_header(service_table_name, service_binary_dll_map, proc_layer_name, offset): + for service_record in self.enumerate_vista_or_later_header( + service_table_name, + service_binary_dll_map, + proc_layer_name, + offset + ): if service_record in seen: break seen.append(service_record) yield service_record - def get_prereq_info(self): """ Data structures and information needed to analyze service information @@ -356,7 +356,9 @@ class SvcScan(interfaces.plugins.PluginInterface): def _generator(self): service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() - for record in self.service_scan(service_table_name, service_binary_dll_map, filter_func): + for record in self.service_scan( + service_table_name, service_binary_dll_map, filter_func + ): yield (0, record) def run(self): From d42fb0a1451ca0a0cc00ee4a2a431be092c193b9 Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 14:56:57 -0500 Subject: [PATCH 0481/2186] Format fixes --- volatility3/framework/plugins/windows/svclist.py | 4 +++- volatility3/framework/plugins/windows/svcscan.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index 53ca68da7..1938dd182 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -96,5 +96,7 @@ class SvcList(svcscan.SvcScan): def _generator(self): service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() - for record in self.service_list(service_table_name, service_binary_dll_map, filter_func): + for record in self.service_list( + service_table_name, service_binary_dll_map, filter_func + ): yield (0, record) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index c991ec943..07274f03d 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -324,7 +324,7 @@ class SvcScan(interfaces.plugins.PluginInterface): service_table_name, service_binary_dll_map, proc_layer_name, - offset + offset, ): if service_record in seen: break From f6a053d7b3db2421c9d4d8501eff1fcb78001f1f Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 14:58:05 -0500 Subject: [PATCH 0482/2186] Format fixes --- volatility3/framework/plugins/windows/svcdiff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py index 71aa03636..809064946 100644 --- a/volatility3/framework/plugins/windows/svcdiff.py +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -20,6 +20,7 @@ from volatility3.framework.symbols.windows import versions vollog = logging.getLogger(__name__) + class SvcDiff(svclist.SvcList, svcscan.SvcScan): """Compares services found through list walking versus scanning to find rootkits""" @@ -80,4 +81,3 @@ class SvcDiff(svclist.SvcList, svcscan.SvcScan): # report services found from scanning but not list walking for hidden_service in from_scan - from_list: yield (0, records[hidden_service]) - From 3d1b9ef2bc1e968eed6f41195834752d2d328ec9 Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 20:09:05 -0500 Subject: [PATCH 0483/2186] Add new plugin to detect hollowed processes using a variety of techniques and allowing for easy additions of future detection techniques --- .../plugins/windows/hollowprocesses.py | 175 ++++++++++++++++++ 1 file changed, 175 insertions(+) create mode 100644 volatility3/framework/plugins/windows/hollowprocesses.py diff --git a/volatility3/framework/plugins/windows/hollowprocesses.py b/volatility3/framework/plugins/windows/hollowprocesses.py new file mode 100644 index 000000000..a832e89e1 --- /dev/null +++ b/volatility3/framework/plugins/windows/hollowprocesses.py @@ -0,0 +1,175 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import NamedTuple + +from volatility3.framework import interfaces, exceptions, constants +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.plugins.windows import pslist, vadinfo + +vollog = logging.getLogger(__name__) + +VadInfo = NamedTuple( + "VadInfo", + [ + ("protection", str), + ("path", str), + ], +) + +DLLInfo = NamedTuple( + "DLLInfo", + [ + ("path", str), + ], +) + +class HollowProcesses(interfaces.plugins.PluginInterface): + """Lists hollowed processes""" + + _required_framework_version = (2, 4, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.ListRequirement( + name="pid", + element_type=int, + description="Process IDs to include (all other processes are excluded)", + optional=True, + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) + ), + ] + + def _get_vads_map(self, proc): + vads = {} + + kernel = self.context.modules[self.config["kernel"]] + + for vad in proc.get_vad_root().traverse(): + protection_string = vad.get_protection( + vadinfo.VadInfo.protect_values( + self.context, kernel.layer_name, kernel.symbol_table_name + ), + vadinfo.winnt_protections, + ) + + fn = vad.get_file_name() + if not fn or not isinstance(fn, str): + fn = "" + + vads[vad.get_start()] = VadInfo(protection_string, fn) + + return vads + + def _get_dlls_map(self, proc): + dlls = {} + + for entry in proc.load_order_modules(): + try: + base = entry.DllBase + except exceptions.InvalidAddressException: + continue + + try: + FullDllName = entry.FullDllName.get_string() + except exceptions.InvalidAddressException: + FullDllName = renderers.UnreadableValue() + + dlls[base] = DLLInfo(FullDllName) + + return dlls + + def _get_image_base(self, proc): + kernel = self.context.modules[self.config["kernel"]] + + try: + proc_layer_name = proc.add_process_layer() + peb = self.context.object( + kernel.symbol_table_name + constants.BANG + "_PEB", + layer_name=proc_layer_name, + offset=proc.Peb, + ) + return peb.ImageBaseAddress + except exceptions.InvalidAddressException: + return None + + def _check_load_address(self, proc, _, __): + image_base = self._get_image_base(proc) + if image_base is not None and image_base != proc.SectionBaseAddress: + yield "The ImageBaseAddress reported from the PEB ({:#x}) does not match the process SectionBaseAddress ({:#x})".format(image_base, proc.SectionBaseAddress) + + def _check_exe_protection(self, proc, vads, __): + base = proc.SectionBaseAddress + + if base not in vads: + yield "There is no VAD starting at the base address of the process executable ({:#x})".format(base) + elif vads[base].protection != "PAGE_EXECUTE_WRITECOPY": + yield "Unexpected protection ({}) for VAD hosting the process executable ({:#x}) with path {}".format(vads[base].protection, base, vads[base].path) + + def _check_dlls_protection(self, _, vads, dlls): + for dll_base in dlls: + # could be malicious but triggers too many FPs from smear + if dll_base not in vads: + continue + + if vads[dll_base].protection != "PAGE_EXECUTE_WRITECOPY": + yield "Unexpected protection ({}) for DLL in the PEB's load order list ({:#x}) with path {}".format(vads[dll_base].protection, dll_base, dlls[dll_base].path) + + def _generator(self, procs): + checks = [self._check_load_address, self._check_exe_protection, self._check_dlls_protection] + + for proc in procs: + proc_name = utility.array_to_string(proc.ImageFileName) + pid = proc.UniqueProcessId + + # smear and/or terminated process + dlls = self._get_dlls_map(proc) + if len(dlls) < 3: + continue + + vads = self._get_vads_map(proc) + if len(vads) < 5: + continue + + for check in checks: + for note in check(proc, vads, dlls): + yield 0, ( + pid, + proc_name, + note, + ) + + def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + kernel = self.context.modules[self.config["kernel"]] + + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("Notes", str), + ], + self._generator( + pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_func=filter_func, + ) + ), + ) From 02bda980d429a49c18a1b908b5fcbfda8de5ad09 Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 20:12:07 -0500 Subject: [PATCH 0484/2186] formatting fixes --- .../plugins/windows/hollowprocesses.py | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/windows/hollowprocesses.py b/volatility3/framework/plugins/windows/hollowprocesses.py index a832e89e1..18fb24c8f 100644 --- a/volatility3/framework/plugins/windows/hollowprocesses.py +++ b/volatility3/framework/plugins/windows/hollowprocesses.py @@ -1,4 +1,4 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging @@ -17,14 +17,14 @@ VadInfo = NamedTuple( [ ("protection", str), ("path", str), - ], + ], ) DLLInfo = NamedTuple( "DLLInfo", [ ("path", str), - ], + ], ) class HollowProcesses(interfaces.plugins.PluginInterface): @@ -111,15 +111,21 @@ class HollowProcesses(interfaces.plugins.PluginInterface): def _check_load_address(self, proc, _, __): image_base = self._get_image_base(proc) if image_base is not None and image_base != proc.SectionBaseAddress: - yield "The ImageBaseAddress reported from the PEB ({:#x}) does not match the process SectionBaseAddress ({:#x})".format(image_base, proc.SectionBaseAddress) + yield "The ImageBaseAddress reported from the PEB ({:#x}) does not match the process SectionBaseAddress ({:#x})".format( + image_base, proc.SectionBaseAddress + ) def _check_exe_protection(self, proc, vads, __): base = proc.SectionBaseAddress if base not in vads: - yield "There is no VAD starting at the base address of the process executable ({:#x})".format(base) + yield "There is no VAD starting at the base address of the process executable ({:#x})".format( + base + ) elif vads[base].protection != "PAGE_EXECUTE_WRITECOPY": - yield "Unexpected protection ({}) for VAD hosting the process executable ({:#x}) with path {}".format(vads[base].protection, base, vads[base].path) + yield "Unexpected protection ({}) for VAD hosting the process executable ({:#x}) with path {}".format( + vads[base].protection, base, vads[base].path + ) def _check_dlls_protection(self, _, vads, dlls): for dll_base in dlls: @@ -128,10 +134,16 @@ class HollowProcesses(interfaces.plugins.PluginInterface): continue if vads[dll_base].protection != "PAGE_EXECUTE_WRITECOPY": - yield "Unexpected protection ({}) for DLL in the PEB's load order list ({:#x}) with path {}".format(vads[dll_base].protection, dll_base, dlls[dll_base].path) + yield "Unexpected protection ({}) for DLL in the PEB's load order list ({:#x}) with path {}".format( + vads[dll_base].protection, dll_base, dlls[dll_base].path + ) def _generator(self, procs): - checks = [self._check_load_address, self._check_exe_protection, self._check_dlls_protection] + checks = [ + self._check_load_address, + self._check_exe_protection, + self._check_dlls_protection + ] for proc in procs: proc_name = utility.array_to_string(proc.ImageFileName) From 178f7c45f7ed1413277baba486929e5f2afae7fc Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 20:13:04 -0500 Subject: [PATCH 0485/2186] formatting fixes --- volatility3/framework/plugins/windows/hollowprocesses.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/hollowprocesses.py b/volatility3/framework/plugins/windows/hollowprocesses.py index 18fb24c8f..9d7e800b7 100644 --- a/volatility3/framework/plugins/windows/hollowprocesses.py +++ b/volatility3/framework/plugins/windows/hollowprocesses.py @@ -27,6 +27,7 @@ DLLInfo = NamedTuple( ], ) + class HollowProcesses(interfaces.plugins.PluginInterface): """Lists hollowed processes""" @@ -142,7 +143,7 @@ class HollowProcesses(interfaces.plugins.PluginInterface): checks = [ self._check_load_address, self._check_exe_protection, - self._check_dlls_protection + self._check_dlls_protection, ] for proc in procs: From a68a4826329dbd44e95d4e173ea467be24dbc99b Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 20 Jun 2024 04:00:20 +0200 Subject: [PATCH 0486/2186] fix #509 and simplify logic in _load_segments --- volatility3/framework/layers/crash.py | 105 +++++++++++++++----------- 1 file changed, 62 insertions(+), 43 deletions(-) diff --git a/volatility3/framework/layers/crash.py b/volatility3/framework/layers/crash.py index 042b18ddc..2d0f37008 100644 --- a/volatility3/framework/layers/crash.py +++ b/volatility3/framework/layers/crash.py @@ -96,12 +96,13 @@ class WindowsCrashDump32Layer(segmented.SegmentedLayer): def get_summary_header(self) -> interfaces.objects.ObjectInterface: return self.context.object( self._crash_common_table_name + constants.BANG + "_SUMMARY_DUMP", - offset=0x1000 * self.headerpages, + offset=self._page_size * self.headerpages, layer_name=self._base_layer, ) def _load_segments(self) -> None: - """Loads up the segments from the meta_layer.""" + """Loads up the segments from the meta_layer. + A segment is a set of contiguous memory pages.""" segments = [] @@ -119,70 +120,88 @@ class WindowsCrashDump32Layer(segmented.SegmentedLayer): for run in header.PhysicalMemoryBlockBuffer.Run: segments.append( ( - run.BasePage * 0x1000, - offset * 0x1000, - run.PageCount * 0x1000, - run.PageCount * 0x1000, + run.BasePage * self._page_size, + offset * self._page_size, + run.PageCount * self._page_size, + run.PageCount * self._page_size, ) ) offset += run.PageCount elif self.dump_type == 0x05: summary_header = self.get_summary_header() - first_bit = None # First bit in a run - first_offset = 0 # File offset of first bit - last_bit_seen = 0 # Most recent bit processed - offset = summary_header.HeaderSize # Size of file headers - buffer_char = summary_header.get_buffer_char() - buffer_long = summary_header.get_buffer_long() - - for outer_index in range(0, ((summary_header.BitmapSize + 31) // 32)): - if buffer_long[outer_index] == 0: - if first_bit is not None: - last_bit = ((outer_index - 1) * 32) + 31 - segment_length = (last_bit - first_bit + 1) * 0x1000 + seg_first_bit = None # First bit in a run + seg_first_offset = 0 # File offset of first bit + offset = ( + summary_header.HeaderSize + ) # Offset to the start of actual memory dump + ulong_bitmap_array = summary_header.get_buffer_long() + # outer_index points to a 32 bits array inside a list of arrays, + # each bit indicating a page mapping state + for outer_index in range(0, ulong_bitmap_array.vol.count): + ulong_bitmap = ulong_bitmap_array[outer_index] + # All pages in this 32 bits array are mapped (speedup iteration process) + if ulong_bitmap == 0xFFFFFFFF: + # New segment + if seg_first_bit is None: + seg_first_offset = offset + seg_first_bit = outer_index * 32 + offset += 32 * self._page_size + # No pages in this 32 bits array are mapped (speedup iteration process) + elif ulong_bitmap == 0: + # End of segment + if seg_first_bit is not None: + last_bit = (outer_index - 1) * 32 + 31 + segment_length = ( + last_bit - seg_first_bit + 1 + ) * self._page_size segments.append( ( - first_bit * 0x1000, - first_offset, + seg_first_bit * self._page_size, + seg_first_offset, segment_length, segment_length, ) ) - first_bit = None - elif buffer_long[outer_index] == 0xFFFFFFFF: - if first_bit is None: - first_offset = offset - first_bit = outer_index * 32 - offset = offset + (32 * 0x1000) + seg_first_bit = None + # Some pages in this 32 bits array are mapped and some aren't else: - for inner_index in range(0, 32): - bit_addr = outer_index * 32 + inner_index - if (buffer_char[bit_addr >> 3] >> (bit_addr & 0x7)) & 1: - if first_bit is None: - first_offset = offset - first_bit = bit_addr - offset = offset + 0x1000 + for inner_bit_position in range(0, 32): + current_bit = outer_index * 32 + inner_bit_position + page_mapped = ulong_bitmap & (1 << inner_bit_position) + if page_mapped: + # New segment + if seg_first_bit is None: + seg_first_offset = offset + seg_first_bit = current_bit + offset += self._page_size else: - if first_bit is not None: + # End of segment + if seg_first_bit is not None: segment_length = ( - (bit_addr - 1) - first_bit + 1 - ) * 0x1000 + current_bit - 1 - seg_first_bit + 1 + ) * self._page_size segments.append( ( - first_bit * 0x1000, - first_offset, + seg_first_bit * self._page_size, + seg_first_offset, segment_length, segment_length, ) ) - first_bit = None - last_bit_seen = (outer_index * 32) + 31 + seg_first_bit = None + else: + last_bit_seen = outer_index * 32 + 31 - if first_bit is not None: - segment_length = (last_bit_seen - first_bit + 1) * 0x1000 + if seg_first_bit is not None: + segment_length = (last_bit_seen - seg_first_bit + 1) * self._page_size segments.append( - (first_bit * 0x1000, first_offset, segment_length, segment_length) + ( + seg_first_bit * self._page_size, + seg_first_offset, + segment_length, + segment_length, + ) ) else: vollog.log( From c688744f66ae6af49123a530dd45abc29ed9abba Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 20 Jun 2024 04:16:32 +0200 Subject: [PATCH 0487/2186] revert useless for-else --- volatility3/framework/layers/crash.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/layers/crash.py b/volatility3/framework/layers/crash.py index 2d0f37008..3cfc0a25b 100644 --- a/volatility3/framework/layers/crash.py +++ b/volatility3/framework/layers/crash.py @@ -190,7 +190,6 @@ class WindowsCrashDump32Layer(segmented.SegmentedLayer): ) ) seg_first_bit = None - else: last_bit_seen = outer_index * 32 + 31 if seg_first_bit is not None: From ed140e9ac451ab3f83f39f9788c344bfa658cf18 Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 20 Jun 2024 13:06:43 -0500 Subject: [PATCH 0488/2186] placeholder --- .../plugins/windows/suspicious_threads.py | 201 ++++++++++++++++++ .../framework/plugins/windows/thrdscan.py | 59 +++-- .../framework/plugins/windows/threads.py | 80 +++++++ 3 files changed, 310 insertions(+), 30 deletions(-) create mode 100644 volatility3/framework/plugins/windows/suspicious_threads.py create mode 100644 volatility3/framework/plugins/windows/threads.py diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py new file mode 100644 index 000000000..b24f3f2c2 --- /dev/null +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -0,0 +1,201 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from typing import List +from volatility3.framework import renderers, interfaces +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import pslist, threads, vadinfo, thrdscan + +vollog = logging.getLogger(__name__) + + +class SupsiciousThreads(interfaces.plugins.PluginInterface): + """Lists suspicious userland process threads""" + + _required_framework_version = (2, 4, 0) + _version = (2, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.ListRequirement( + name="pid", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + requirements.PluginRequirement( + name="threads", plugin=threads.Threads, version=(1, 0, 0) + ), + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) + ), + ] + + def _get_ranges(self, kernel, all_ranges, proc): + """ + Maintains a hash table so each process' VADs + are only enumerated once per plugin run + """ + key = proc.vol.offset + + if key not in all_ranges: + all_ranges[key] = [] + + for vad in proc.get_vad_root().traverse(): + fn = vad.get_file_name() + if not isinstance(fn, str) or not fn: + fn = None + + protection_string = vad.get_protection( + vadinfo.VadInfo.protect_values( + self.context, kernel.layer_name, kernel.symbol_table_name + ), + vadinfo.winnt_protections, + ) + + all_ranges[key].append( + (vad.get_start(), vad.get_end(), protection_string, fn) + ) + + return all_ranges[key] + + def _get_range(self, ranges, address): + for start, end, protection_string, fn in ranges: + if start <= address < end: + return start, protection_string, fn + + return None, None, None + + def _check_thread_address(self, exe_path, ranges, thread_address): + vad_base, prot, vad_path = self._get_range(ranges, thread_address) + + # threads outside of a VAD means either smear from this thread or this process' VAD tree + if vad_base is None: + return + + if vad_path is None: + # set this so checks after report the non file backed region in the path column + vad_path = "" + + yield ( + vad_path, + "This thread started execution in the VAD starting at base address ({:#x}), which is not backed by a file".format( + vad_base + ), + ) + + if prot != "PAGE_EXECUTE_WRITECOPY": + yield ( + vad_path, + "VAD at base address ({:#x}) hosting this thread has an unexpected starting protection {}".format( + vad_base, prot + ), + ) + + if ( + exe_path + and vad_path.lower().endswith(".exe") + and (vad_path.lower() != exe_path.lower()) + ): + yield ( + vad_path, + "VAD at base address ({:#x}) hosting this thread maps an application executable that is not the process exectuable".format( + vad_base + ), + ) + + def _enumerate_processes(self, kernel, all_ranges): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + for proc in pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_func=filter_func, + ): + ranges = self._get_ranges(kernel, all_ranges, proc) + + # smeared vads or process is terminating + if len(all_ranges[proc.vol.offset]) < 5: + continue + + pid = proc.UniqueProcessId + proc_name = utility.array_to_string(proc.ImageFileName) + + _, __, exe_path = self._get_range(ranges, proc.SectionBaseAddress) + if not isinstance(exe_path, str): + exe_path = None + + yield proc, pid, proc_name, exe_path, ranges + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + all_ranges = {} + + for proc, pid, proc_name, exe_path, ranges in self._enumerate_processes( + kernel, all_ranges + ): + # processes often schedule multiple threads at the same address + # there is no benefit to checking the same address more than once per process + checked = set() + + for thread in threads.Threads.list_threads(kernel, proc): + # do not process if a thread is exited or terminated (4 = Terminated) + if thread.ExitTime.QuadPart > 0 or thread.Tcb.State == 4: + continue + + # bail if accessing the threads members causes a page fault + info = thrdscan.ThrdScan.gather_thread_info(thread) + if not info: + continue + + tid, start_address = info[2], info[3] + + addresses = [ + (start_address, "Start"), + (thread.Win32StartAddress, "Win32Start"), + ] + + for address, context in addresses: + if address in checked: + continue + checked.add(address) + + for vad_path, note in self._check_thread_address( + exe_path, ranges, address + ): + yield 0, ( + proc_name, + pid, + tid, + context, + format_hints.Hex(address), + vad_path, + note, + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Process", str), + ("PID", int), + ("TID", int), + ("Context", str), + ("Address", format_hints.Hex), + ("VAD Path", str), + ("Note", str), + ], + self._generator(), + ) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 80906b3b9..bbf65cd6c 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -62,42 +62,41 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) _constraint, mem_object, _header = result yield mem_object + @classmethod + def gather_thread_info(cls, ethread): + try: + thread_offset = ethread.vol.offset + owner_proc_pid = ethread.Cid.UniqueProcess + thread_tid = ethread.Cid.UniqueThread + thread_start_addr = ethread.StartAddress + thread_create_time = ( + ethread.get_create_time() + ) # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object + thread_exit_time = ( + ethread.get_exit_time() + ) # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object + except exceptions.InvalidAddressException: + vollog.debug("Thread invalid address {:#x}".format(thread.vol.offset)) + return None + + return ( + format_hints.Hex(thread_offset), + owner_proc_pid, + thread_tid, + format_hints.Hex(thread_start_addr), + thread_create_time, + thread_exit_time, + ) + def _generator(self): kernel = self.context.modules[self.config["kernel"]] for ethread in self.scan_threads( self.context, kernel.layer_name, kernel.symbol_table_name ): - try: - thread_offset = ethread.vol.offset - owner_proc_pid = ethread.Cid.UniqueProcess - thread_tid = ethread.Cid.UniqueThread - thread_start_addr = ethread.StartAddress - thread_create_time = ( - ethread.get_create_time() - ) # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object - thread_exit_time = ( - ethread.get_exit_time() - ) # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object - except (ValueError, exceptions.InvalidAddressException): - vollog.debug( - "Thread :{}, invalid address {} in layer {}".format( - thread_tid, thread_start_addr, kernel.layer_name - ) - ) - continue - - yield ( - 0, - ( - format_hints.Hex(thread_offset), - owner_proc_pid, - thread_tid, - format_hints.Hex(thread_start_addr), - thread_create_time, - thread_exit_time, - ), - ) + info = self.gather_thread_info(ethread) + if info: + yield (0, info) def generate_timeline(self): for row in self._generator(): diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py new file mode 100644 index 000000000..80ff458cd --- /dev/null +++ b/volatility3/framework/plugins/windows/threads.py @@ -0,0 +1,80 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from typing import Callable, List, Generator, Iterable, Type, Optional + +from volatility3.framework import renderers, interfaces, constants, exceptions +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import pslist, thrdscan + +vollog = logging.getLogger(__name__) + + +class Threads(thrdscan.ThrdScan): + """Lists process threads""" + + _required_framework_version = (2, 4, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.ListRequirement( + name="pid", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + requirements.PluginRequirement( + name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 0, 0) + ), + ] + + @classmethod + def list_threads( + cls, kernel, proc: interfaces.objects.ObjectInterface + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: + """Lists the Threads of a specific process. + + Args: + proc: _EPROCESS object from which to list the VADs + filter_func: Function to take a virtual address descriptor value and return True if it should be filtered out + + Returns: + A list of threads based on the process and filtered based on the filter function + """ + seen = set() + for thread in proc.ThreadListHead.to_list( + f"{kernel.symbol_table_name}{constants.BANG}_ETHREAD", "ThreadListEntry" + ): + if thread.vol.offset in seen: + break + seen.add(thread.vol.offset) + yield thread + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + kernel_layer = self.context.layers[kernel.layer_name] + + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + for proc in pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_func=filter_func, + ): + for thread in self.list_threads(kernel, proc): + info = self.gather_thread_info(thread) + if info: + yield (0, info) From b601250279fe206b2586d82820b38e1c2ea6fd83 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Fri, 21 Jun 2024 08:29:50 -0500 Subject: [PATCH 0489/2186] #1175 - initial unloadedmodules plugin --- .../plugins/windows/unloadedmodules.py | 159 ++++++++++++++++++ .../symbols/windows/unloadedmodules-x64.json | 109 ++++++++++++ .../symbols/windows/unloadedmodules-x86.json | 109 ++++++++++++ 3 files changed, 377 insertions(+) create mode 100644 volatility3/framework/plugins/windows/unloadedmodules.py create mode 100644 volatility3/framework/symbols/windows/unloadedmodules-x64.json create mode 100644 volatility3/framework/symbols/windows/unloadedmodules-x86.json diff --git a/volatility3/framework/plugins/windows/unloadedmodules.py b/volatility3/framework/plugins/windows/unloadedmodules.py new file mode 100644 index 000000000..1fd4914ac --- /dev/null +++ b/volatility3/framework/plugins/windows/unloadedmodules.py @@ -0,0 +1,159 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +import datetime +from typing import List, Iterable + +from volatility3.framework import constants +from volatility3.framework import interfaces, symbols +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints, conversion +from volatility3.framework.symbols import intermed +from volatility3.plugins import timeliner + +vollog = logging.getLogger(__name__) + + +class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): + """Lists the unloaded kernel modules.""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + ] + + @staticmethod + def create_unloadedmodules_table( + context: interfaces.context.ContextInterface, + symbol_table: str, + config_path: str, + ) -> str: + """Creates a symbol table for the unloaded modules. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + symbol_table: The name of an existing symbol table containing the kernel symbols + config_path: The configuration path within the context of the symbol table to create + + Returns: + The name of the constructed unloaded modules table + """ + native_types = context.symbol_space[symbol_table].natives + is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) + table_mapping = {"nt_symbols": symbol_table} + + if is_64bit: + symbol_filename = "unloadedmodules-x64" + else: + symbol_filename = "unloadedmodules-x86" + + return intermed.IntermediateSymbolTable.create( + context, + config_path, + "windows", + symbol_filename, + native_types=native_types, + table_mapping=table_mapping, + ) + + @classmethod + def list_unloadedmodules( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table: str, + unloadedmodule_table_name: str, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Lists all the unloaded modules in the primary layer. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + layer_name: The name of the layer on which to operate + symbol_table: The name of the table containing the kernel symbols + + Returns: + A list of Unloaded Modules as retrieved from MmUnloadedDrivers + """ + + kvo = context.layers[layer_name].config["kernel_virtual_offset"] + ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + unloadedmodules_offset = ntkrnlmp.get_symbol("MmUnloadedDrivers").address + unloadedmodules = ntkrnlmp.object( + object_type="pointer", + offset=unloadedmodules_offset, + subtype="array", + ) + is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) + + if is_64bit: + unloaded_count_type = "unsigned long long" + else: + unloaded_count_type = "unsigned long" + + last_unloadedmodule_offset = ntkrnlmp.get_symbol("MmLastUnloadedDriver").address + unloaded_count = ntkrnlmp.object( + object_type=unloaded_count_type, offset=last_unloadedmodule_offset + ) + + unloadedmodules_array = context.object( + object_type=unloadedmodule_table_name + + constants.BANG + + "_UNLOADED_DRIVERS", + layer_name=layer_name, + offset=unloadedmodules, + ) + unloadedmodules_array.UnloadedDrivers.count = unloaded_count + + for mod in unloadedmodules_array.UnloadedDrivers: + yield mod + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + unloadedmodule_table_name = self.create_unloadedmodules_table( + self.context, kernel.symbol_table_name, self.config_path + ) + + for mod in self.list_unloadedmodules( + self.context, + kernel.layer_name, + kernel.symbol_table_name, + unloadedmodule_table_name, + ): + yield ( + 0, + ( + mod.Name.String, + format_hints.Hex(mod.StartAddress), + format_hints.Hex(mod.EndAddress), + conversion.wintime_to_datetime(mod.CurrentTime), + ), + ) + + def generate_timeline(self): + for row in self._generator(): + _depth, row_data = row + description = f"Unloaded Module: {row_data[0]}" + yield (description, timeliner.TimeLinerType.CHANGED, row_data[3]) + + def run(self): + return renderers.TreeGrid( + [ + ("Name", str), + ("StartAddress", format_hints.Hex), + ("EndAddress", format_hints.Hex), + ("Time", datetime.datetime), + ], + self._generator(), + ) diff --git a/volatility3/framework/symbols/windows/unloadedmodules-x64.json b/volatility3/framework/symbols/windows/unloadedmodules-x64.json new file mode 100644 index 000000000..75ab7c690 --- /dev/null +++ b/volatility3/framework/symbols/windows/unloadedmodules-x64.json @@ -0,0 +1,109 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_UNLOADED_DRIVER": { + "fields": { + "Name": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "StartAddress": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "EndAddress": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 24 + }, + "CurrentTime": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_UNLOADED_DRIVERS": { + "fields": { + "UnloadedDrivers": { + "offset": 0, + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_UNLOADED_DRIVER" + } + } + } + }, + "kind": "struct", + "size": 8 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle by hand", + "datetime": "2024-06-19T17:57:16.394003" + }, + "format": "4.0.0" + } +} \ No newline at end of file diff --git a/volatility3/framework/symbols/windows/unloadedmodules-x86.json b/volatility3/framework/symbols/windows/unloadedmodules-x86.json new file mode 100644 index 000000000..ff9e78965 --- /dev/null +++ b/volatility3/framework/symbols/windows/unloadedmodules-x86.json @@ -0,0 +1,109 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_UNLOADED_DRIVER": { + "fields": { + "Name": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "StartAddress": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "EndAddress": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "CurrentTime": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_UNLOADED_DRIVERS": { + "fields": { + "UnloadedDrivers": { + "offset": 0, + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_UNLOADED_DRIVER" + } + } + } + }, + "kind": "struct", + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle by hand", + "datetime": "2024-06-19T17:57:16.394003" + }, + "format": "4.0.0" + } +} \ No newline at end of file From e172676d3caaecd3592211cd561aa612d934bcbc Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Fri, 21 Jun 2024 15:07:18 -0500 Subject: [PATCH 0490/2186] #118 - initial timers plugin --- volatility3/framework/objects/utility.py | 21 ++ .../framework/plugins/windows/timers.py | 264 ++++++++++++++++++ .../framework/symbols/windows/__init__.py | 1 + .../symbols/windows/extensions/__init__.py | 80 ++++++ 4 files changed, 366 insertions(+) create mode 100644 volatility3/framework/plugins/windows/timers.py diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 0292608c1..8aa527cdb 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -7,6 +7,27 @@ from typing import Optional, Union from volatility3.framework import interfaces, objects, constants +def rol(value: int, count: int, max_bits: int = 64) -> int: + """A rotate-left instruction in Python""" + max_bits_mask = (1 << max_bits) - 1 + return (value << count % max_bits) & max_bits_mask | ( + (value & max_bits_mask) >> (max_bits - (count % max_bits)) + ) + + +def bswap_32(value: int) -> int: + value = ((value << 8) & 0xFF00FF00) | ((value >> 8) & 0x00FF00FF) + + return ((value << 16) | (value >> 16)) & 0xFFFFFFFF + + +def bswap_64(value: int) -> int: + low = bswap_32((value >> 32)) + high = bswap_32((value & 0xFFFFFFFF)) + + return ((high << 32) | low) & 0xFFFFFFFFFFFFFFFF + + def array_to_string( array: "objects.Array", count: Optional[int] = None, errors: str = "replace" ) -> interfaces.objects.ObjectInterface: diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py new file mode 100644 index 000000000..19d52d9bf --- /dev/null +++ b/volatility3/framework/plugins/windows/timers.py @@ -0,0 +1,264 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging + +from typing import Iterator, List, Tuple, Iterable + +from volatility3.framework import exceptions, layers, renderers, interfaces, constants, symbols +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols.windows import versions +from volatility3.plugins.windows import ssdt + +vollog = logging.getLogger(__name__) + + +class Timers(interfaces.plugins.PluginInterface): + """Print kernel timers and associated module DPCs""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) + ), + ] + + @classmethod + def get_kernel_module( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table: str, + ): + """Returns the kernel module based on the layer and symbol_table""" + virtual_layer = context.layers[layer_name] + if not isinstance(virtual_layer, layers.intel.Intel): + raise TypeError("Virtual Layer is not an intel layer") + + kvo = virtual_layer.config["kernel_virtual_offset"] + + ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + return ntkrnlmp + + @classmethod + def get_kpcrs( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table: str, + ) -> interfaces.objects.ObjectInterface: + """Returns the KPCR structure for each processor + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + symbol_table: The name of an existing symbol table containing the kernel symbols + config_path: The configuration path within the context of the symbol table to create + + Returns: + The _KPCR structure for each processor + """ + + ntkrnlmp = cls.get_kernel_module(context, layer_name, symbol_table) + cpu_count_offset = ntkrnlmp.get_symbol("KeNumberProcessors").address + cpu_count = ntkrnlmp.object( + object_type="unsigned int", layer_name=layer_name, offset=cpu_count_offset + ) + processor_block = ntkrnlmp.object( + object_type="pointer", + layer_name=layer_name, + offset=ntkrnlmp.get_symbol("KiProcessorBlock").address, + ) + processor_pointers = utility.array_of_pointers( + context=context, + array=processor_block, + count=cpu_count, + subtype=symbol_table + constants.BANG + "_KPRCB", + ) + for pointer in processor_pointers: + kprcb = pointer.dereference() + reloff = ntkrnlmp.get_type("_KPCR").relative_child_offset("Prcb") + kpcr = context.object( + symbol_table + constants.BANG + "_KPCR", + offset=kprcb.vol.offset - reloff, + layer_name=layer_name, + ) + yield kpcr + + @classmethod + def list_timers( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table: str, + ) -> Iterable[Tuple[str, int, str]]: + """Lists all kernel timers. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + layer_name: The name of the layer on which to operate + symbol_table: The name of the table containing the kernel symbols + + Yields: + A _KTIMER entry + """ + ntkrnlmp = cls.get_kernel_module(context, layer_name, symbol_table) + + if versions.is_windows_7( + context=context, symbol_table=symbol_table + ) or versions.is_windows_8_or_later( + context=context, symbol_table=symbol_table + ): + # Starting with Windows 7, there is no more KiTimerTableListHead. The list is + # at _KPCR.PrcbData.TimerTable.TimerEntries + # See http://pastebin.com/FiRsGW3f + for kpcr in cls.get_kpcrs(context, layer_name, symbol_table): + if hasattr(kpcr.Prcb.TimerTable, "TableState"): + for timer_entries in kpcr.Prcb.TimerTable.TimerEntries: + for timer_entry in timer_entries: + for timer in timer_entry.Entry.to_list( + symbol_table + constants.BANG + "_KTIMER", + "TimerListEntry", + ): + yield timer + + else: + for timer_entries in kpcr.Prcb.TimerTable.TimerEntries: + for timer in timer_entries.Entry.to_list( + symbol_table + constants.BANG + "_KTIMER", + "TimerListEntry", + ): + yield timer + + elif versions.is_xp_or_2003( + context=context, symbol_table=symbol_table + ) or versions.is_vista_or_later( + context=context, symbol_table=symbol_table + ): + is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) + if is_64bit or versions.is_vista_or_later(context=context, symbol_table=symbol_table): + # On XP x64, Windows 2003 SP1-SP2, and Vista SP0-SP2, KiTimerTableListHead + # is an array of 512 _KTIMER_TABLE_ENTRY structs. + array_size = 512 + else: + # On XP SP0-SP3 x86 and Windows 2003 SP0, KiTimerTableListHead + # is an array of 256 _LIST_ENTRY for _KTIMERs. + array_size = 256 + + timer_table_list_head = ntkrnlmp.object( + object_type="array", + offset=ntkrnlmp.get_symbol("KiTimerTableListHead").address, + subtype=ntkrnlmp.get_type("_LIST_ENTRY"), + count=array_size, + ) + for table in timer_table_list_head: + for timer in table.to_list( + symbol_table + constants.BANG + "_KTIMER", + "TimerListEntry", + ): + yield timer + + else: + raise NotImplementedError("This version of Windows is not supported!") + + + def _generator(self) -> Iterator[Tuple]: + kernel = self.context.modules[self.config["kernel"]] + layer_name = kernel.layer_name + symbol_table = kernel.symbol_table_name + + collection = ssdt.SSDT.build_module_collection( + self.context, kernel.layer_name, kernel.symbol_table_name + ) + + for timer in self.list_timers(self.context, layer_name, symbol_table): + if not timer.valid_type(): + continue + try: + dpc = timer.get_dpc() + if dpc == 0: + continue + if dpc.DeferredRoutine == 0: + continue + deferred_routine = dpc.DeferredRoutine + except Exception as e: + continue + + module_symbols = list( + collection.get_module_symbols_by_absolute_location(deferred_routine) + ) + + if module_symbols: + for module_name, symbol_generator in module_symbols: + symbols_found = False + + # we might have multiple symbols pointing to the same location + for symbol in symbol_generator: + symbols_found = True + yield ( + 0, + ( + format_hints.Hex(timer.vol.offset), + timer.get_due_time(), + timer.Period, + timer.get_signaled(), + format_hints.Hex(deferred_routine), + module_name, + symbol.split(constants.BANG)[1], + ), + ) + + # no symbols, but we at least can report the module name + if not symbols_found: + yield ( + 0, + ( + format_hints.Hex(timer.vol.offset), + timer.get_due_time(), + timer.Period, + timer.get_signaled(), + format_hints.Hex(deferred_routine), + module_name, + renderers.NotAvailableValue(), + ), + ) + else: + # no module was found at the absolute location + yield ( + 0, + ( + format_hints.Hex(timer.vol.offset), + timer.get_due_time(), + timer.Period, + timer.get_signaled(), + format_hints.Hex(deferred_routine), + renderers.NotAvailableValue(), + renderers.NotAvailableValue(), + ), + ) + + + def run(self): + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("DueTime", str), + ("Period(ms)", int), + ("Signaled", str), + ("Routine", format_hints.Hex), + ("Module", str), + ("Symbol", str), + ], + self._generator(), + ) diff --git a/volatility3/framework/symbols/windows/__init__.py b/volatility3/framework/symbols/windows/__init__.py index abf9f6da3..4aeb22dcf 100755 --- a/volatility3/framework/symbols/windows/__init__.py +++ b/volatility3/framework/symbols/windows/__init__.py @@ -39,6 +39,7 @@ class WindowsKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("_VACB", extensions.VACB) self.set_type_class("_POOL_TRACKER_BIG_PAGES", pool.POOL_TRACKER_BIG_PAGES) self.set_type_class("_IMAGE_DOS_HEADER", pe.IMAGE_DOS_HEADER) + self.set_type_class("_KTIMER", extensions.KTIMER) # Might not necessarily defined in every version of windows self.optional_set_type_class("_IMAGE_NT_HEADERS", pe.IMAGE_NT_HEADERS) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index a8fa7b2ff..040c57bae 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -20,6 +20,7 @@ from volatility3.framework import ( ) from volatility3.framework.interfaces.objects import ObjectInterface from volatility3.framework.layers import intel +from volatility3.framework.objects import utility from volatility3.framework.renderers import conversion from volatility3.framework.symbols import generic from volatility3.framework.symbols.windows.extensions import kdbg, pe, pool @@ -994,6 +995,85 @@ class TOKEN(objects.StructType): vollog.log(constants.LOGLEVEL_VVVV, "Broken Token Privileges.") +class KTIMER(objects.StructType): + """A class for Kernel Timers""" + + VALID_TYPES = { + 8: "TimerNotificationObject", + 9: "TimerSynchronizationObject", + } + + def get_signaled(self): + if self.Header.SignalState: + return "Yes" + return "-" + + def get_raw_dpc(self): + """Returns the encoded DPC since it may not look like a pointer after encoding""" + symbol_table_name = self.get_symbol_table_name() + ulonglong_type = self._context.symbol_space.get_type( + symbol_table_name + constants.BANG + "unsigned long long" + ) + + return self._context.object( + object_type=ulonglong_type, + layer_name=self.vol.layer_name, + offset=self.Dpc.vol.offset, + ) + def valid_type(self): + return self.Header.Type in self.VALID_TYPES + + def get_due_time(self): + return "{0:#010x}:{1:#010x}".format(self.DueTime.HighPart, self.DueTime.LowPart) + + def get_dpc(self): + """Return Dpc, and if Windows 7 or later, decode it""" + symbol_table_name = self.get_symbol_table_name() + kvo = self._context.layers[self.vol.native_layer_name].config[ + "kernel_virtual_offset" + ] + ntkrnlmp = self._context.module( + symbol_table_name, + layer_name=self.vol.native_layer_name, + offset=kvo, + native_layer_name=self.vol.native_layer_name, + ) + + try: + wait_never = ntkrnlmp.object( + object_type="unsigned long long", + offset=ntkrnlmp.get_symbol("KiWaitNever").address, + ) + + wait_always = ntkrnlmp.object( + object_type="unsigned long long", + offset=ntkrnlmp.get_symbol("KiWaitAlways").address, + ) + except exceptions.SymbolError: + wait_never = None + wait_always = None + + if wait_never is None or wait_always is None: + return self.Dpc + else: + low_byte = (wait_never) & 0xFF + entry = utility.rol(self.get_raw_dpc() ^ wait_never, low_byte) + swap_xor = self.vol.offset | 0xFFFF000000000000 + entry = utility.bswap_64(entry ^ swap_xor) + dpc = entry ^ wait_always + + symbol_table_name = self.get_symbol_table_name() + kdpc_type = self._context.symbol_space.get_type( + symbol_table_name + constants.BANG + "_KDPC" + ) + + return self._context.object( + object_type=kdpc_type, + layer_name=self.vol.layer_name, + offset=dpc, + ) + + class KTHREAD(objects.StructType): """A class for thread control block objects.""" From c79dc52a854d2a5be41283a720081f63471c0df8 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Fri, 21 Jun 2024 15:09:21 -0500 Subject: [PATCH 0491/2186] #118 - black formatted --- .../framework/plugins/windows/timers.py | 23 +++++++++++-------- .../symbols/windows/extensions/__init__.py | 7 +++--- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py index 19d52d9bf..e54b2a13f 100644 --- a/volatility3/framework/plugins/windows/timers.py +++ b/volatility3/framework/plugins/windows/timers.py @@ -6,7 +6,14 @@ import logging from typing import Iterator, List, Tuple, Iterable -from volatility3.framework import exceptions, layers, renderers, interfaces, constants, symbols +from volatility3.framework import ( + exceptions, + layers, + renderers, + interfaces, + constants, + symbols, +) from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints @@ -117,9 +124,7 @@ class Timers(interfaces.plugins.PluginInterface): if versions.is_windows_7( context=context, symbol_table=symbol_table - ) or versions.is_windows_8_or_later( - context=context, symbol_table=symbol_table - ): + ) or versions.is_windows_8_or_later(context=context, symbol_table=symbol_table): # Starting with Windows 7, there is no more KiTimerTableListHead. The list is # at _KPCR.PrcbData.TimerTable.TimerEntries # See http://pastebin.com/FiRsGW3f @@ -143,11 +148,11 @@ class Timers(interfaces.plugins.PluginInterface): elif versions.is_xp_or_2003( context=context, symbol_table=symbol_table - ) or versions.is_vista_or_later( - context=context, symbol_table=symbol_table - ): + ) or versions.is_vista_or_later(context=context, symbol_table=symbol_table): is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) - if is_64bit or versions.is_vista_or_later(context=context, symbol_table=symbol_table): + if is_64bit or versions.is_vista_or_later( + context=context, symbol_table=symbol_table + ): # On XP x64, Windows 2003 SP1-SP2, and Vista SP0-SP2, KiTimerTableListHead # is an array of 512 _KTIMER_TABLE_ENTRY structs. array_size = 512 @@ -172,7 +177,6 @@ class Timers(interfaces.plugins.PluginInterface): else: raise NotImplementedError("This version of Windows is not supported!") - def _generator(self) -> Iterator[Tuple]: kernel = self.context.modules[self.config["kernel"]] layer_name = kernel.layer_name @@ -248,7 +252,6 @@ class Timers(interfaces.plugins.PluginInterface): ), ) - def run(self): return renderers.TreeGrid( [ diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 040c57bae..b830a9d9f 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -453,9 +453,9 @@ class FILE_OBJECT(objects.StructType, pool.ExecutiveObject): ].is_valid(self.FileName.Buffer) def file_name_with_device(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: - name: Union[str, interfaces.renderers.BaseAbsentValue] = ( - renderers.UnreadableValue() - ) + name: Union[ + str, interfaces.renderers.BaseAbsentValue + ] = renderers.UnreadableValue() # this pointer needs to be checked against native_layer_name because the object may # be instantiated from a primary (virtual) layer or a memory (physical) layer. @@ -1020,6 +1020,7 @@ class KTIMER(objects.StructType): layer_name=self.vol.layer_name, offset=self.Dpc.vol.offset, ) + def valid_type(self): return self.Header.Type in self.VALID_TYPES From 7065446e8ab9efb02254e4415235072d30422596 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Fri, 21 Jun 2024 15:17:40 -0500 Subject: [PATCH 0492/2186] #118 - fix black issues --- volatility3/framework/plugins/windows/timers.py | 1 - volatility3/framework/symbols/windows/extensions/__init__.py | 1 - 2 files changed, 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py index e54b2a13f..ec8bc17e9 100644 --- a/volatility3/framework/plugins/windows/timers.py +++ b/volatility3/framework/plugins/windows/timers.py @@ -7,7 +7,6 @@ import logging from typing import Iterator, List, Tuple, Iterable from volatility3.framework import ( - exceptions, layers, renderers, interfaces, diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index b830a9d9f..895a8c094 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -1045,7 +1045,6 @@ class KTIMER(objects.StructType): object_type="unsigned long long", offset=ntkrnlmp.get_symbol("KiWaitNever").address, ) - wait_always = ntkrnlmp.object( object_type="unsigned long long", offset=ntkrnlmp.get_symbol("KiWaitAlways").address, From 2d7789f8509664f3930705bf83524d6b5ec8de33 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Fri, 21 Jun 2024 15:49:03 -0500 Subject: [PATCH 0493/2186] #118 - fix black issues --- .../framework/symbols/windows/extensions/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 895a8c094..4d4ffc055 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -453,9 +453,9 @@ class FILE_OBJECT(objects.StructType, pool.ExecutiveObject): ].is_valid(self.FileName.Buffer) def file_name_with_device(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: - name: Union[ - str, interfaces.renderers.BaseAbsentValue - ] = renderers.UnreadableValue() + name: Union[str, interfaces.renderers.BaseAbsentValue] = ( + renderers.UnreadableValue() + ) # this pointer needs to be checked against native_layer_name because the object may # be instantiated from a primary (virtual) layer or a memory (physical) layer. From 146baab14c4a17bdcbc35715b30a4d190ed82214 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Fri, 21 Jun 2024 15:54:16 -0500 Subject: [PATCH 0494/2186] #118 - refactor get_dpc --- .../framework/symbols/windows/extensions/__init__.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 4d4ffc055..b9eabcda6 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -1040,7 +1040,7 @@ class KTIMER(objects.StructType): native_layer_name=self.vol.native_layer_name, ) - try: + if ntkrnlmp.has_symbol("KiWaitNever") and ntkrnlmp.has_symbol("KiWaitAlways"): wait_never = ntkrnlmp.object( object_type="unsigned long long", offset=ntkrnlmp.get_symbol("KiWaitNever").address, @@ -1049,13 +1049,7 @@ class KTIMER(objects.StructType): object_type="unsigned long long", offset=ntkrnlmp.get_symbol("KiWaitAlways").address, ) - except exceptions.SymbolError: - wait_never = None - wait_always = None - if wait_never is None or wait_always is None: - return self.Dpc - else: low_byte = (wait_never) & 0xFF entry = utility.rol(self.get_raw_dpc() ^ wait_never, low_byte) swap_xor = self.vol.offset | 0xFFFF000000000000 @@ -1072,6 +1066,8 @@ class KTIMER(objects.StructType): layer_name=self.vol.layer_name, offset=dpc, ) + else: + return self.Dpc class KTHREAD(objects.StructType): From 898c0844c464f87ab7bbd1cae6756a69b2a8048e Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 21 Jun 2024 16:15:17 -0500 Subject: [PATCH 0495/2186] Windows: fixes scanner bug for versions < win10 This commit fixes a bug where the `layer_name` gets discarded when constructing objects. Previously, it was assumed that we would not want to construct an object for a module with a layer_name different from that of the module. However, because we switch to scanning the memory layer on samples where the version is < 10, but still construct kernel executive objects based on the result of the memory layer scan, we actually do sometimes need to specify a different layer. --- volatility3/framework/contexts/__init__.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index 73868a58f..4c169728c 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -256,12 +256,13 @@ class Module(interfaces.context.ModuleInterface): if not absolute: offset += self._offset - # Ensure we don't use a layer_name other than the module's, why would anyone do that? - if "layer_name" in kwargs: - del kwargs["layer_name"] + # We have to allow using an alternative layer name due to pool scanners switching + # to the memory layer for scanning samples prior to Windows 10. + layer_name = kwargs.pop("layer_name", self._layer_name) + return self._context.object( object_type=object_type, - layer_name=self._layer_name, + layer_name=layer_name, offset=offset, native_layer_name=native_layer_name or self._native_layer_name, **kwargs, From 7ece5fb1bf2f27d2731d09ed8329fb20552c713c Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 23 Jun 2024 00:16:23 +0100 Subject: [PATCH 0496/2186] Windows: Improve Virtmap error messages slightly --- volatility3/framework/plugins/windows/virtmap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/virtmap.py b/volatility3/framework/plugins/windows/virtmap.py index 5190bec8d..3f3f270e2 100644 --- a/volatility3/framework/plugins/windows/virtmap.py +++ b/volatility3/framework/plugins/windows/virtmap.py @@ -78,7 +78,7 @@ class VirtMap(interfaces.plugins.PluginInterface): ) else: raise exceptions.SymbolError( - None, module.name, "Required structures not found" + "SystemVaRegions", module.name, "Required structures not found" ) elif module.has_symbol("MiSystemVaType"): system_range_start = module.object( @@ -99,7 +99,7 @@ class VirtMap(interfaces.plugins.PluginInterface): ) else: raise exceptions.SymbolError( - None, module.name, "Required structures not found" + "MiVisibleState", module.name, "Required structures not found" ) return result From 8c1a5c46e32c8ffaacd6507ec036cbd07c9072b7 Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 27 Jun 2024 17:13:37 -0500 Subject: [PATCH 0497/2186] Add timeliner support to userassist --- .../plugins/windows/registry/userassist.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index 70c75b50b..54ec2fc74 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -17,11 +17,12 @@ from volatility3.framework.layers.registry import RegistryHive from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed from volatility3.plugins.windows.registry import hivelist +from volatility3.plugins import timeliner vollog = logging.getLogger(__name__) -class UserAssist(interfaces.plugins.PluginInterface): +class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Print userassist registry keys and information.""" _required_framework_version = (2, 0, 0) @@ -335,6 +336,19 @@ class UserAssist(interfaces.plugins.PluginInterface): ) yield result + + def generate_timeline(self): + self._reg_table_name = intermed.IntermediateSymbolTable.create( + self.context, self._config_path, "windows", "registry" + ) + + for row in self._generator(): + _depth, row_data = row + # check the name and the timestamp to not be empty + if isinstance(row_data[5], str) and not isinstance(row_data[10], renderers.NotApplicableValue): + description = f"UserAssist: {row_data[5]} {row_data[2]} ({row_data[7]})" + yield (description, timeliner.TimeLinerType.MODIFIED, row_data[10]) + def run(self): self._reg_table_name = intermed.IntermediateSymbolTable.create( self.context, self._config_path, "windows", "registry" From 8525edd3331c6ccd967c8048d61adf5d2c3e1015 Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 27 Jun 2024 17:15:49 -0500 Subject: [PATCH 0498/2186] Formatting fixes --- volatility3/framework/plugins/windows/registry/userassist.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index 54ec2fc74..cf345c901 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -336,7 +336,6 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac ) yield result - def generate_timeline(self): self._reg_table_name = intermed.IntermediateSymbolTable.create( self.context, self._config_path, "windows", "registry" @@ -345,7 +344,9 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac for row in self._generator(): _depth, row_data = row # check the name and the timestamp to not be empty - if isinstance(row_data[5], str) and not isinstance(row_data[10], renderers.NotApplicableValue): + if isinstance(row_data[5], str) and not isinstance( + row_data[10], renderers.NotApplicableValue + ): description = f"UserAssist: {row_data[5]} {row_data[2]} ({row_data[7]})" yield (description, timeliner.TimeLinerType.MODIFIED, row_data[10]) From 857cd8df491310d4c8ed56833a9fae6714f9c582 Mon Sep 17 00:00:00 2001 From: atcuno Date: Tue, 2 Jul 2024 19:14:15 -0500 Subject: [PATCH 0499/2186] Updates from ikelos' feedback --- .../plugins/windows/hollowprocesses.py | 67 ++++++++++++++++--- 1 file changed, 56 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/plugins/windows/hollowprocesses.py b/volatility3/framework/plugins/windows/hollowprocesses.py index 9d7e800b7..3158667ac 100644 --- a/volatility3/framework/plugins/windows/hollowprocesses.py +++ b/volatility3/framework/plugins/windows/hollowprocesses.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import NamedTuple +from typing import NamedTuple, Dict from volatility3.framework import interfaces, exceptions, constants from volatility3.framework import renderers @@ -12,21 +12,25 @@ from volatility3.plugins.windows import pslist, vadinfo vollog = logging.getLogger(__name__) -VadInfo = NamedTuple( - "VadInfo", +VadData = NamedTuple( + "VadData", [ ("protection", str), ("path", str), ], ) -DLLInfo = NamedTuple( - "DLLInfo", +DLLData = NamedTuple( + "DLLData", [ ("path", str), ], ) +### Useful references on process hollowing +# https://cysinfo.com/detecting-deceptive-hollowing-techniques/ +# https://github.com/m0n0ph1/Process-Hollowing + class HollowProcesses(interfaces.plugins.PluginInterface): """Lists hollowed processes""" @@ -56,7 +60,16 @@ class HollowProcesses(interfaces.plugins.PluginInterface): ), ] - def _get_vads_map(self, proc): + def _get_vads_data( + self, proc: interfaces.objects.ObjectInterface + ) -> Dict[int, VadData]: + """ + Returns a dictionary of: + base address -> (protection string, file name) + For each mapped VAD in the process. This is used + for quick lookups of data and matching the DLL + at the same base address as the VAD + """ vads = {} kernel = self.context.modules[self.config["kernel"]] @@ -73,11 +86,23 @@ class HollowProcesses(interfaces.plugins.PluginInterface): if not fn or not isinstance(fn, str): fn = "" - vads[vad.get_start()] = VadInfo(protection_string, fn) + vads[vad.get_start()] = VadData(protection_string, fn) return vads - def _get_dlls_map(self, proc): + def _get_dlls_map( + self, proc: interfaces.objects.ObjectInterface + ) -> Dict[int, DLLData]: + """ + Returns a dictionary of: + base address -> path + for each DLL loaded in the process + + This is used to cross compare with + the corresponding VAD and to have a + backup path source in case of smear + in the VAD + """ dlls = {} for entry in proc.load_order_modules(): @@ -91,11 +116,14 @@ class HollowProcesses(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: FullDllName = renderers.UnreadableValue() - dlls[base] = DLLInfo(FullDllName) + dlls[base] = DLLData(FullDllName) return dlls - def _get_image_base(self, proc): + def _get_image_base(self, proc: interfaces.objects.ObjectInterface) -> int: + """ + Uses the PEB to get the image base of the process + """ kernel = self.context.modules[self.config["kernel"]] try: @@ -110,6 +138,12 @@ class HollowProcesses(interfaces.plugins.PluginInterface): return None def _check_load_address(self, proc, _, __): + """ + Detects when the image base in the PEB, which is writable by process malware, + does not match the section base address - whose value lives in kernel memory. + Many malware samples will manipulate their image base to fool AVs/EDRs and + as a necessary part of certain hollowing techniques + """ image_base = self._get_image_base(proc) if image_base is not None and image_base != proc.SectionBaseAddress: yield "The ImageBaseAddress reported from the PEB ({:#x}) does not match the process SectionBaseAddress ({:#x})".format( @@ -117,6 +151,16 @@ class HollowProcesses(interfaces.plugins.PluginInterface): ) def _check_exe_protection(self, proc, vads, __): + """ + Legitimately mapped application executables and DLLs + will have a VAD present and its initial protection will be + PAGE_EXECUTE_WRITECOPY. + Many process hollowing and code injection techniques will + unmap the real executable and/or map in executables with + incorrect permissions. + This check verifies the VAD for the application exe. + `_check_dlls_protection` checks for DLLs mapped in the process. + """ base = proc.SectionBaseAddress if base not in vads: @@ -134,6 +178,7 @@ class HollowProcesses(interfaces.plugins.PluginInterface): if dll_base not in vads: continue + # PAGE_EXECUTE_WRITECOPY is the only valid permission for mapped DLLs and .exe files if vads[dll_base].protection != "PAGE_EXECUTE_WRITECOPY": yield "Unexpected protection ({}) for DLL in the PEB's load order list ({:#x}) with path {}".format( vads[dll_base].protection, dll_base, dlls[dll_base].path @@ -155,7 +200,7 @@ class HollowProcesses(interfaces.plugins.PluginInterface): if len(dlls) < 3: continue - vads = self._get_vads_map(proc) + vads = self._get_vads_data(proc) if len(vads) < 5: continue From 020005f43cf32e9a38622926c184be1b18d9b18e Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 3 Jul 2024 09:55:07 -0500 Subject: [PATCH 0500/2186] Address feedback from ikelos --- .../plugins/windows/suspicious_threads.py | 45 ++++++++++++------- .../framework/plugins/windows/threads.py | 7 +-- 2 files changed, 31 insertions(+), 21 deletions(-) diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py index b24f3f2c2..2679b191a 100644 --- a/volatility3/framework/plugins/windows/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -3,7 +3,7 @@ # import logging -from typing import List +from typing import List, Dict, Tuple, Generator from volatility3.framework import renderers, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility @@ -42,7 +42,12 @@ class SupsiciousThreads(interfaces.plugins.PluginInterface): ), ] - def _get_ranges(self, kernel, all_ranges, proc): + def _get_ranges( + self, + kernel: interfaces.context.ModuleInterface, + all_ranges: Dict[int, List[Tuple[int, int, str, str]]], + proc, + ) -> Tuple[int, int, str, str]: """ Maintains a hash table so each process' VADs are only enumerated once per plugin run @@ -70,14 +75,24 @@ class SupsiciousThreads(interfaces.plugins.PluginInterface): return all_ranges[key] - def _get_range(self, ranges, address): + def _get_range( + self, ranges: Dict[int, List[Tuple[int, int, str, str]]], address: int + ) -> Tuple[int, str, str]: + """ + Walks a process' VADs looking for the one + containing `address` + + Returns its base address, protection string, and mapped file, if any + """ for start, end, protection_string, fn in ranges: if start <= address < end: return start, protection_string, fn return None, None, None - def _check_thread_address(self, exe_path, ranges, thread_address): + def _check_thread_address( + self, exe_path: str, ranges, thread_address: int + ) -> Generator[Tuple[str, str], None, None]: vad_base, prot, vad_path = self._get_range(ranges, thread_address) # threads outside of a VAD means either smear from this thread or this process' VAD tree @@ -90,19 +105,17 @@ class SupsiciousThreads(interfaces.plugins.PluginInterface): yield ( vad_path, - "This thread started execution in the VAD starting at base address ({:#x}), which is not backed by a file".format( - vad_base - ), + f"This thread started execution in the VAD starting at base address ({vad_base:#x}), which is not backed by a file", ) + # All threads should point to PAGE_EXECUTE_WRITECOPY mapped regions if prot != "PAGE_EXECUTE_WRITECOPY": yield ( vad_path, - "VAD at base address ({:#x}) hosting this thread has an unexpected starting protection {}".format( - vad_base, prot - ), + f"VAD at base address ({vad_base:#x}) hosting this thread has an unexpected starting protection {prot}", ) + # check for process hollowing type techniques that mapped in a second, malicious exe file if ( exe_path and vad_path.lower().endswith(".exe") @@ -110,12 +123,12 @@ class SupsiciousThreads(interfaces.plugins.PluginInterface): ): yield ( vad_path, - "VAD at base address ({:#x}) hosting this thread maps an application executable that is not the process exectuable".format( - vad_base - ), + "VAD at base address ({vad_base:#x}) hosting this thread maps an application executable that is not the process exectuable", ) - def _enumerate_processes(self, kernel, all_ranges): + def _enumerate_processes( + self, kernel: interfaces.context.ModuleInterface, all_ranges + ): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) for proc in pslist.PsList.list_processes( @@ -147,7 +160,7 @@ class SupsiciousThreads(interfaces.plugins.PluginInterface): for proc, pid, proc_name, exe_path, ranges in self._enumerate_processes( kernel, all_ranges ): - # processes often schedule multiple threads at the same address + # processes often create multiple threads at the same address # there is no benefit to checking the same address more than once per process checked = set() @@ -161,7 +174,7 @@ class SupsiciousThreads(interfaces.plugins.PluginInterface): if not info: continue - tid, start_address = info[2], info[3] + _, _, tid, start_address, _, _ = info addresses = [ (start_address, "Start"), diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index 80ff458cd..83d231abb 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -3,12 +3,10 @@ # import logging -from typing import Callable, List, Generator, Iterable, Type, Optional +from typing import List, Generator -from volatility3.framework import renderers, interfaces, constants, exceptions +from volatility3.framework import interfaces, constants from volatility3.framework.configuration import requirements -from volatility3.framework.objects import utility -from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import pslist, thrdscan vollog = logging.getLogger(__name__) @@ -64,7 +62,6 @@ class Threads(thrdscan.ThrdScan): def _generator(self): kernel = self.context.modules[self.config["kernel"]] - kernel_layer = self.context.layers[kernel.layer_name] filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) From acc41c2b8635df059dc77738121edd7b043d52a0 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 20 Feb 2024 16:59:51 -0600 Subject: [PATCH 0501/2186] Windows: Callbacks - update symbol files Updates the windows callbacks symbol files to include structures that were missing from the original volatility plugin. --- .../symbols/windows/callbacks-x64.json | 184 ++++++++++++++++-- .../symbols/windows/callbacks-x86.json | 179 ++++++++++++++++- 2 files changed, 342 insertions(+), 21 deletions(-) diff --git a/volatility3/framework/symbols/windows/callbacks-x64.json b/volatility3/framework/symbols/windows/callbacks-x64.json index 87682cb92..3f891b94f 100644 --- a/volatility3/framework/symbols/windows/callbacks-x64.json +++ b/volatility3/framework/symbols/windows/callbacks-x64.json @@ -1,6 +1,18 @@ { "symbols": {}, - "enums": {}, + "enums": { + "EventCategory": { + "base": "long", + "constants": { + "EventCategoryReserved": 0, + "EventCategoryHardwareProfileChange": 1, + "EventCategoryDeviceInterfaceChange": 2, + "EventCategoryTargetDeviceChange": 3, + "EventCategoryKernelSoftRestart": 4 + }, + "size": 4 + } + }, "base_types": { "unsigned long": { "kind": "int", @@ -48,19 +60,161 @@ "user_types": { "_GENERIC_CALLBACK": { "fields": { - "Callback": { - "type": { - "kind": "pointer", - "subtype": { - "kind": "base", - "name": "void" - } + "Callback": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 8 }, - "offset": 8 - } + "Associated": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 16 + } }, "kind": "struct", - "size": 16 + "size": 24 + }, + "_NOTIFICATION_PACKET": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "DriverObject": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DRIVER_OBJECT" + } + }, + "offset": 16 + }, + "NotificationRoutine": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 48 + }, + "_SHUTDOWN_PACKET": { + "fields": { + "Entry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "DeviceObject": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_DBGPRINT_CALLBACK": { + "fields": { + "Function": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_NOTIFY_ENTRY_HEADER": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "EventCategory": { + "type": { + "kind": "enum", + "name": "EventCategory" + }, + "offset": 16 + }, + "CallbackRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 32 + }, + "DriverObject": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DRIVER_OBJECT" + } + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 64 + }, + "_REGISTRY_CALLBACK": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Function": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 }, "_KBUGCHECK_CALLBACK_RECORD": { "fields": { @@ -184,10 +338,10 @@ }, "metadata": { "producer": { - "version": "0.0.1", - "name": "mhl by hand", - "datetime": "2019-08-27T18:17:16.417006" + "version": "0.0.2", + "name": "dgmcdona by hand", + "datetime": "2024-02-02T19:32:00.000000" }, "format": "4.0.0" } -} \ No newline at end of file +} diff --git a/volatility3/framework/symbols/windows/callbacks-x86.json b/volatility3/framework/symbols/windows/callbacks-x86.json index 702b68a65..63b8c69b4 100644 --- a/volatility3/framework/symbols/windows/callbacks-x86.json +++ b/volatility3/framework/symbols/windows/callbacks-x86.json @@ -1,6 +1,18 @@ { "symbols": {}, - "enums": {}, + "enums": { + "EventCategory": { + "base": "long", + "constants": { + "EventCategoryReserved": 0, + "EventCategoryHardwareProfileChange": 1, + "EventCategoryDeviceInterfaceChange": 2, + "EventCategoryTargetDeviceChange": 3, + "EventCategoryKernelSoftRestart": 4 + }, + "size": 4 + } + }, "base_types": { "unsigned long": { "kind": "int", @@ -46,6 +58,151 @@ } }, "user_types": { + "_NOTIFICATION_PACKET": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "DriverObject": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DRIVER_OBJECT" + } + }, + "offset": 8 + }, + "NotificationRoutine": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_SHUTDOWN_PACKET": { + "fields": { + "Entry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "DeviceObject": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + } + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_REGISTRY_CALLBACK": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Function": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 32 + }, + "_REGISTRY_CALLBACK_LEGACY": { + "fields": { + "CreateTime": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 32 + }, + "_DBGPRINT_CALLBACK": { + "fields": { + "Function": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 20 + }, + "_NOTIFY_ENTRY_HEADER": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "EventCategory": { + "type": { + "kind": "enum", + "name": "EventCategory" + }, + "offset": 8 + }, + "CallbackRoutine": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 20 + }, + "DriverObject": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DRIVER_OBJECT" + } + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 32 + }, "_GENERIC_CALLBACK": { "fields": { "Callback": { @@ -57,10 +214,20 @@ } }, "offset": 4 + }, + "Associated": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 8 } }, "kind": "struct", - "size": 8 + "size": 12 }, "_KBUGCHECK_CALLBACK_RECORD": { "fields": { @@ -184,10 +351,10 @@ }, "metadata": { "producer": { - "version": "0.0.1", - "name": "mhl by hand", - "datetime": "2019-08-27T18:17:16.417006" + "version": "0.0.2", + "name": "dgmcdona by hand", + "datetime": "2024-02-02T19:32:00.000000" }, "format": "4.0.0" } -} \ No newline at end of file +} From 89b024d8f58894008bf26238e24b512c4840a66c Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 20 Feb 2024 17:00:38 -0600 Subject: [PATCH 0502/2186] Framework: Fix bad format string Fixes a bad format string inside of a raised exception --- volatility3/framework/symbols/intermed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/intermed.py b/volatility3/framework/symbols/intermed.py index 8c40e466a..751f88e39 100644 --- a/volatility3/framework/symbols/intermed.py +++ b/volatility3/framework/symbols/intermed.py @@ -282,7 +282,7 @@ class IntermediateSymbolTable(interfaces.symbols.SymbolTableInterface): urls = list(cls.file_symbol_url(sub_path, filename)) if not urls: raise FileNotFoundError( - "No symbol files found at provided filename: {}", filename + f"No symbol files found at provided filename: {filename}", ) table_name = context.symbol_space.free_table_name(filename) table = cls( From 55881535bb39dc610119155a098f2aaa1d259adf Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 20 Feb 2024 17:01:02 -0600 Subject: [PATCH 0503/2186] Windows: Callbacks - parse missing callback types Updates the Windows callbacks plugin to support several types of callbacks that were present in the original volatility framework, but were missing in volatility3. Adds an extension for `_SHUTDOWN_PACKET` structures for determining validity of structure. --- .../framework/plugins/windows/callbacks.py | 347 ++++++++++++++++-- .../symbols/windows/extensions/callbacks.py | 51 +++ 2 files changed, 368 insertions(+), 30 deletions(-) create mode 100644 volatility3/framework/symbols/windows/extensions/callbacks.py diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index fcc333b9f..d5eeda1ea 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -2,16 +2,24 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import logging import contextlib -from typing import List, Iterable, Tuple, Optional, Union +import logging +from typing import Dict, Iterable, List, Optional, Tuple, Union, cast -from volatility3.framework import constants, exceptions, renderers, interfaces, symbols +from volatility3.framework import ( + constants, + exceptions, + interfaces, + objects, + renderers, + symbols, +) from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import versions -from volatility3.plugins.windows import ssdt +from volatility3.framework.symbols.windows.extensions import callbacks +from volatility3.plugins.windows import driverirp, handles, poolscanner, ssdt vollog = logging.getLogger(__name__) @@ -20,7 +28,7 @@ class Callbacks(interfaces.plugins.PluginInterface): """Lists kernel callbacks and notification routines.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -33,27 +41,154 @@ class Callbacks(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) ), + requirements.PluginRequirement( + name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) + ), + requirements.PluginRequirement( + name="driverirp", plugin=driverirp.DriverIrp, version=(1, 0, 0) + ), + requirements.PluginRequirement( + name="handles", plugin=handles.Handles, version=(1, 0, 0) + ), ] - @staticmethod - def create_callback_table( + @classmethod + def create_callback_scan_constraints( + cls, context: interfaces.context.ContextInterface, symbol_table: str, - config_path: str, - ) -> str: - """Creates a symbol table for a set of callbacks. + is_vista_or_above: bool, + ) -> List[poolscanner.PoolConstraint]: + """Creates a list of Pool Tag Constraints for callback objects. Args: context: The context to retrieve required elements (layers, symbol tables) from - symbol_table: The name of an existing symbol table containing the kernel symbols - config_path: The configuration path within the context of the symbol table to create + symbol_table: The name of an existing symbol table containing the symbols / types + is_vista_or_above: A boolean indicating whether the OS version is Vista or newer. Returns: - The name of the constructed callback table + The list containing the built constraints. """ - native_types = context.symbol_space[symbol_table].natives - is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) - table_mapping = {"nt_symbols": symbol_table} + constraints = cls._create_default_scan_constraints(context, symbol_table) + if is_vista_or_above: + constraints += cls._create_scan_constraints_vista_and_above(symbol_table) + return constraints + + @staticmethod + def _create_default_scan_constraints( + context: interfaces.context.ContextInterface, symbol_table: str + ) -> List[poolscanner.PoolConstraint]: + + shutdown_packet_size = context.symbol_space.get_type( + symbol_table + constants.BANG + "_SHUTDOWN_PACKET" + ).size + generic_callback_size = context.symbol_space.get_type( + symbol_table + constants.BANG + "_GENERIC_CALLBACK" + ).size + notification_packet_size = context.symbol_space.get_type( + symbol_table + constants.BANG + "_NOTIFICATION_PACKET" + ).size + + return [ + poolscanner.PoolConstraint( + b"IoFs", + type_name=symbol_table + constants.BANG + "_NOTIFICATION_PACKET", + size=(notification_packet_size, None), + page_type=poolscanner.PoolType.NONPAGED + | poolscanner.PoolType.PAGED + | poolscanner.PoolType.FREE, + ), + poolscanner.PoolConstraint( + b"IoSh", + type_name=symbol_table + constants.BANG + "_SHUTDOWN_PACKET", + size=(shutdown_packet_size, None), + page_type=poolscanner.PoolType.NONPAGED + | poolscanner.PoolType.PAGED + | poolscanner.PoolType.FREE, + index=(0, 0), + ), + poolscanner.PoolConstraint( + b"Cbrb", + type_name=symbol_table + constants.BANG + "_GENERIC_CALLBACK", + size=(generic_callback_size, None), + page_type=poolscanner.PoolType.NONPAGED + | poolscanner.PoolType.PAGED + | poolscanner.PoolType.FREE, + ), + ] + + @staticmethod + def _create_scan_constraints_vista_and_above( + symbol_table: str, + ) -> List[poolscanner.PoolConstraint]: + """Creates a list of Pool Tag Constraints for callback objects. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + symbol_table: The name of an existing symbol table containing the symbols / types + + Returns: + The list containing the built constraints. + """ + + return [ + poolscanner.PoolConstraint( + b"DbCb", + type_name=symbol_table + constants.BANG + "_DBGPRINT_CALLBACK", + size=(0x20, 0x40), + page_type=poolscanner.PoolType.NONPAGED + | poolscanner.PoolType.PAGED + | poolscanner.PoolType.FREE, + ), + poolscanner.PoolConstraint( + b"Pnp9", + type_name=symbol_table + constants.BANG + "_NOTIFY_ENTRY_HEADER", + size=(0x30, None), + page_type=poolscanner.PoolType.NONPAGED + | poolscanner.PoolType.PAGED + | poolscanner.PoolType.FREE, + index=(1, 1), + ), + poolscanner.PoolConstraint( + b"PnpD", + type_name=symbol_table + constants.BANG + "_NOTIFY_ENTRY_HEADER", + size=(0x40, None), + page_type=poolscanner.PoolType.NONPAGED + | poolscanner.PoolType.PAGED + | poolscanner.PoolType.FREE, + index=(1, 1), + ), + poolscanner.PoolConstraint( + b"PnpC", + type_name=symbol_table + constants.BANG + "_NOTIFY_ENTRY_HEADER", + size=(0x38, None), + page_type=poolscanner.PoolType.NONPAGED + | poolscanner.PoolType.PAGED + | poolscanner.PoolType.FREE, + index=(1, 1), + ), + ] + + @classmethod + def create_callback_symbol_table( + cls, + context: interfaces.context.ContextInterface, + nt_symbol_table: str, + config_path: str, + ) -> str: + """Creates a symbol table for kernel callback objects. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + nt_symbol_table: The name of the table containing the kernel symbols + config_path: The config path where to find symbol files + + Returns: + The name of the constructed symbol table + """ + native_types = context.symbol_space[nt_symbol_table].natives + is_64bit = symbols.symbol_table_is_64bit(context, nt_symbol_table) + table_mapping = {"nt_symbols": nt_symbol_table} if is_64bit: symbol_filename = "callbacks-x64" @@ -65,10 +200,143 @@ class Callbacks(interfaces.plugins.PluginInterface): config_path, "windows", symbol_filename, + class_types=callbacks.class_types_x86 if not is_64bit else None, native_types=native_types, table_mapping=table_mapping, ) + @classmethod + def scan( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + nt_symbol_table: str, + callback_symbol_table: str, + ) -> Iterable[ + Tuple[ + Union[str, interfaces.renderers.BaseAbsentValue], + int, + Union[str, interfaces.renderers.BaseAbsentValue], + ] + ]: + """Scans for callback objects using the poolscanner module and constraints. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + layer_name: The name of the layer on which to operate + nt_symbol_table: The name of the table containing the kernel symbols + callback_symbol_table: The name of the table containing the callback object symbols (_SHUTDOWN_PACKET etc.) + + Returns: + A list of callback objects found by scanning the `layer_name` layer for callback pool signatures + """ + is_vista_or_later = versions.is_vista_or_later( + context=context, symbol_table=nt_symbol_table + ) + + type_map = handles.Handles.get_type_map(context, layer_name, nt_symbol_table) + + constraints = cls.create_callback_scan_constraints( + context, callback_symbol_table, is_vista_or_later + ) + + for ( + _constraint, + mem_object, + _header, + ) in poolscanner.PoolScanner.generate_pool_scan( + context, layer_name, nt_symbol_table, constraints + ): + try: + if hasattr(mem_object, "is_valid") and not mem_object.is_valid(): + continue + + yield cls._process_scanned_callback(mem_object, type_map) + except exceptions.InvalidAddressException: + continue + + @classmethod + def _process_scanned_callback( + cls, memory_object: objects.StructType, type_map: Dict[int, str] + ) -> Tuple[ + Union[str, interfaces.renderers.BaseAbsentValue], + int, + Union[str, interfaces.renderers.BaseAbsentValue], + ]: + symbol_table = memory_object.get_symbol_table_name() + type_name = memory_object.vol.type_name + + if isinstance(memory_object, callbacks._SHUTDOWN_PACKET) or ( + type_name == symbol_table + constants.BANG + "_SHUTDOWN_PACKET" + ): + callback_type = "IoRegisterShutdownNotification" + + try: + driver = memory_object.DeviceObject.DriverObject + index = driverirp.MAJOR_FUNCTIONS.index("IRP_MJ_SHUTDOWN") + callback_address = driver.MajorFunction[index] + details = driver.DriverName.String or renderers.UnparsableValue() + except exceptions.InvalidAddressException: + callback_address = memory_object.vol.offset + details = renderers.NotApplicableValue() + + elif type_name == symbol_table + constants.BANG + "_NOTIFICATION_PACKET": + callback_type = "IoRegisterFsRegistrationChange" + callback_address = memory_object.NotificationRoutine + details = renderers.NotApplicableValue() + + elif type_name == symbol_table + constants.BANG + "_NOTIFY_ENTRY_HEADER": + driver = ( + memory_object.DriverObject.dereference() + if memory_object.DriverObject.is_readable() + else None + ) + + if driver: + # Instantiate an object header for the driver name + header = driver.get_object_header() + try: + if header.get_object_type(type_map) == "Driver": + # Grab the object name + details = header.NameInfo.Name.String + else: + details = renderers.NotApplicableValue() + except exceptions.InvalidAddressException: + details = renderers.UnreadableValue() + else: + details = renderers.UnreadableValue() + + callback_type = ( + memory_object.EventCategory.description + if memory_object.EventCategory.is_valid_choice + else renderers.UnparsableValue() + ) + + callback_address = memory_object.CallbackRoutine + + elif type_name == symbol_table + constants.BANG + "_GENERIC_CALLBACK": + callback_type = "GenericKernelCallback" + callback_address = memory_object.Callback + details = renderers.NotApplicableValue() + + elif type_name == symbol_table + constants.BANG + "_DBGPRINT_CALLBACK": + callback_type = "DbgSetDebugPrintCallback" + callback_address = memory_object.Function + details = renderers.NotApplicableValue() + + else: + raise ValueError(f"Unexpected object type {type_name}") + + return ( + callback_type, + callback_address, + ( + details + if not isinstance(details, interfaces.renderers.BaseAbsentValue) + else details + ), + ) + @classmethod def list_notify_routines( cls, @@ -115,11 +383,14 @@ class Callbacks(interfaces.plugins.PluginInterface): else: count = 8 - fast_refs = ntkrnlmp.object( - object_type="array", - offset=symbol_offset, - subtype=ntkrnlmp.get_type("_EX_FAST_REF"), - count=count, + fast_refs = cast( + List[objects.Pointer], + ntkrnlmp.object( + object_type="array", + offset=symbol_offset, + subtype=ntkrnlmp.get_type("_EX_FAST_REF"), + count=count, + ), ) for fast_ref in fast_refs: @@ -159,11 +430,14 @@ class Callbacks(interfaces.plugins.PluginInterface): if callback_count == 0: return None - fast_refs = ntkrnlmp.object( - object_type="array", - offset=symbol_offset, - subtype=ntkrnlmp.get_type("_EX_FAST_REF"), - count=callback_count, + fast_refs = cast( + List[objects.Pointer], + ntkrnlmp.object( + object_type="array", + offset=symbol_offset, + subtype=ntkrnlmp.get_type("_EX_FAST_REF"), + count=callback_count, + ), ) for fast_ref in fast_refs: @@ -265,7 +539,13 @@ class Callbacks(interfaces.plugins.PluginInterface): layer_name: str, symbol_table: str, callback_table_name: str, - ) -> Iterable[Tuple[str, int, str]]: + ) -> Iterable[ + Tuple[ + str, + int, + interfaces.renderers.BaseAbsentValue, + ] + ]: """Lists all kernel bugcheck reason callbacks. Args: @@ -323,7 +603,13 @@ class Callbacks(interfaces.plugins.PluginInterface): layer_name: str, symbol_table: str, callback_table_name: str, - ) -> Iterable[Tuple[str, int, str]]: + ) -> Iterable[ + Tuple[ + str, + int, + Union[interfaces.objects.ObjectInterface, renderers.UnreadableValue], + ] + ]: """Lists all kernel bugcheck callbacks. Args: @@ -372,7 +658,7 @@ class Callbacks(interfaces.plugins.PluginInterface): def _generator(self): kernel = self.context.modules[self.config["kernel"]] - callback_table_name = self.create_callback_table( + callback_symbol_table = self.create_callback_symbol_table( self.context, kernel.symbol_table_name, self.config_path ) @@ -385,6 +671,7 @@ class Callbacks(interfaces.plugins.PluginInterface): self.list_bugcheck_callbacks, self.list_bugcheck_reason_callbacks, self.list_registry_callbacks, + self.scan, ) for callback_method in callback_methods: @@ -392,7 +679,7 @@ class Callbacks(interfaces.plugins.PluginInterface): self.context, kernel.layer_name, kernel.symbol_table_name, - callback_table_name, + callback_symbol_table, ): if callback_detail is None: detail = renderers.NotApplicableValue() diff --git a/volatility3/framework/symbols/windows/extensions/callbacks.py b/volatility3/framework/symbols/windows/extensions/callbacks.py new file mode 100644 index 000000000..f894644db --- /dev/null +++ b/volatility3/framework/symbols/windows/extensions/callbacks.py @@ -0,0 +1,51 @@ +import logging + +from volatility3.framework import exceptions, objects +from volatility3.framework.symbols.windows.extensions import pool + +vollog = logging.getLogger(__name__) + + +class _SHUTDOWN_PACKET(objects.StructType, pool.ExecutiveObject): + """Class for _SHUTDOWN_PACKET objects found in IoSh pools. + + This class serves as a base class for all pooled shutdown callback packets. + + It exposes a function which sanity-checks structure members. + """ + + def is_valid(self) -> bool: + """ + Perform some checks. + """ + try: + if not ( + self.Entry.Flink.is_readable() + and self.Entry.Blink.is_readable() + and self.DeviceObject.is_readable() + ): + return False + + device = self.DeviceObject + if not device or not (device.DriverObject.DriverStart % 0x1000 == 0): + vollog.debug( + f"callback obj 0x{self.vol.offset:x} invalid due to invalid device object" + ) + return False + + except exceptions.InvalidAddressException: + vollog.debug( + f"callback obj 0x{self.vol.offset:x} invalid due to invalid address access" + ) + return False + + try: + header = device.get_object_header() + valid = header.NameInfo.Name == "Device" + return valid + except ValueError: + vollog.debug(f"Could not get NameInfo for object at 0x{self.vol.offset:x}") + return False + + +class_types_x86 = {"_SHUTDOWN_PACKET": _SHUTDOWN_PACKET} From 4d6f4bba0d5127f4a78074266091cf03b808b0f9 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 11 Mar 2024 21:48:58 -0500 Subject: [PATCH 0504/2186] Windows: Add version to driverirp.DriverIrp plugin This plugin class was missing a `_version` attribute, so I added one and set it to (1, 0, 0). --- volatility3/framework/plugins/windows/driverirp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/windows/driverirp.py b/volatility3/framework/plugins/windows/driverirp.py index 433c61ca2..c3eb7c5c1 100644 --- a/volatility3/framework/plugins/windows/driverirp.py +++ b/volatility3/framework/plugins/windows/driverirp.py @@ -44,6 +44,7 @@ class DriverIrp(interfaces.plugins.PluginInterface): """List IRPs for drivers in a particular windows memory image.""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) @classmethod def get_requirements(cls): From b36fd84ab57114c1250df57f3017937ba302d5ea Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 4 Jul 2024 13:07:17 +1000 Subject: [PATCH 0505/2186] Handle virtual_process_from_physical() invalid address exceptions to prevent psscan from breaking --- .../framework/plugins/windows/psscan.py | 32 ++++++++++++------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index 5634298a8..5ce470cd8 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -266,20 +266,28 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): if proc.vol.layer_name == kernel.layer_name: vproc = proc else: - vproc = self.virtual_process_from_physical( - self.context, kernel.layer_name, kernel.symbol_table_name, proc + try: + vproc = self.virtual_process_from_physical( + self.context, + kernel.layer_name, + kernel.symbol_table_name, + proc, + ) + except exceptions.PagedInvalidAddressException: + vproc = None + + file_output = "Error outputting file" + if vproc: + file_handle = pslist.PsList.process_dump( + self.context, + kernel.symbol_table_name, + pe_table_name, + vproc, + self.open, ) - file_handle = pslist.PsList.process_dump( - self.context, - kernel.symbol_table_name, - pe_table_name, - vproc, - self.open, - ) - file_output = "Error outputting file" - if file_handle: - file_output = file_handle.preferred_filename + if file_handle: + file_output = file_handle.preferred_filename if not self.config["physical"]: offset = proc.vol.offset From fcc9eab471ac050670d255bc5f1fba53862b6cf8 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 4 Jul 2024 13:09:12 +1000 Subject: [PATCH 0506/2186] Improve smear protection on windows processes validation --- .../symbols/windows/extensions/__init__.py | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index a8fa7b2ff..ae855d6c6 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -22,7 +22,7 @@ from volatility3.framework.interfaces.objects import ObjectInterface from volatility3.framework.layers import intel from volatility3.framework.renderers import conversion from volatility3.framework.symbols import generic -from volatility3.framework.symbols.windows.extensions import kdbg, pe, pool +from volatility3.framework.symbols.windows.extensions import pool vollog = logging.getLogger(__name__) @@ -611,11 +611,22 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ctime = self.get_create_time() if not isinstance(ctime, datetime.datetime): + # A process must have a creation time return False if not (1998 < ctime.year < 2030): return False + etime = self.get_exit_time() + if isinstance(etime, datetime.datetime): + if not (1998 < etime.year < 2030): + return False + + # Exit time, if available, must be after the creation time + # At this point, we are sure both are datetimes, so let's compare them + if ctime > etime: + return False + # NT pids are divisible by 4 if self.UniqueProcessId % 4 != 0: return False @@ -633,7 +644,11 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): if dtb & ~0xFFF == 0: return False - ## TODO: we can also add the thread Flink and Blink tests if necessary + # Quick smear test on thread Flink and Blink + kernel = 0x80000000 # Yes, it's a quick test + list_head = self.ThreadListHead + if list_head.Flink < kernel or list_head.Blink < kernel: + return False except exceptions.InvalidAddressException: return False From 52e6812d390485403740af4ac526e07d39e86e10 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 4 Jul 2024 14:03:59 +1000 Subject: [PATCH 0507/2186] Fix hexdump text render. Set default to 16 bytes width --- volatility3/cli/text_renderer.py | 33 ++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index b0ba6baa7..ab9e44141 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -25,7 +25,7 @@ except ImportError: vollog.debug("Disassembly library capstone not found") -def hex_bytes_as_text(value: bytes) -> str: +def hex_bytes_as_text(value: bytes, width: int = 16) -> str: """Renders HexBytes as text. Args: @@ -36,19 +36,24 @@ def hex_bytes_as_text(value: bytes) -> str: """ if not isinstance(value, bytes): raise TypeError(f"hex_bytes_as_text takes bytes not: {type(value)}") - ascii = [] - hex = [] - count = 0 - output = "" - for byte in value: - hex.append(f"{byte:02x}") - ascii.append(chr(byte) if 0x20 < byte <= 0x7E else ".") - if (count % 8) == 7: - output += "\n" - output += " ".join(hex[count - 7 : count + 1]) - output += "\t" - output += "".join(ascii[count - 7 : count + 1]) - count += 1 + + printables = "" + output = "\n" + for count, byte in enumerate(value): + output += f"{byte:02x} " + char = chr(byte) + printables += char if 0x20 <= byte <= 0x7E else "." + if count % width == width - 1: + output += printables + if count < len(value) - 1: + output += "\n" + printables = "" + + # Handle leftovers when the lenght is not mutiple of width + if printables: + output += " " * (width - len(printables)) + output += printables + return output From 43fa84d2d1220d01826dd86c30138e3649d8806c Mon Sep 17 00:00:00 2001 From: Hannah Sarkey Date: Thu, 4 Jul 2024 21:33:55 -0400 Subject: [PATCH 0508/2186] Update dlllist.py to have more detailed --base description --- volatility3/framework/plugins/windows/dlllist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index 4f50bdda5..d48a53663 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -61,7 +61,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), requirements.IntRequirement( name="base", - description="Specify a base address", + description="Specify a base virtual address in process memory", optional=True, ), requirements.BooleanRequirement( From 96a382ed525bb041cbe4fb0917e9af07160ea62a Mon Sep 17 00:00:00 2001 From: atcuno Date: Fri, 5 Jul 2024 09:33:34 -0500 Subject: [PATCH 0509/2186] Further type information --- .../plugins/windows/hollowprocesses.py | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/hollowprocesses.py b/volatility3/framework/plugins/windows/hollowprocesses.py index 3158667ac..69fa94f06 100644 --- a/volatility3/framework/plugins/windows/hollowprocesses.py +++ b/volatility3/framework/plugins/windows/hollowprocesses.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import NamedTuple, Dict +from typing import NamedTuple, Dict, Generator from volatility3.framework import interfaces, exceptions, constants from volatility3.framework import renderers @@ -137,7 +137,7 @@ class HollowProcesses(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: return None - def _check_load_address(self, proc, _, __): + def _check_load_address(self, proc, _, __) -> Generator[str, None, None]: """ Detects when the image base in the PEB, which is writable by process malware, does not match the section base address - whose value lives in kernel memory. @@ -150,7 +150,9 @@ class HollowProcesses(interfaces.plugins.PluginInterface): image_base, proc.SectionBaseAddress ) - def _check_exe_protection(self, proc, vads, __): + def _check_exe_protection( + self, proc, vads: Dict[int, VadData], __ + ) -> Generator[str, None, None]: """ Legitimately mapped application executables and DLLs will have a VAD present and its initial protection will be @@ -172,7 +174,9 @@ class HollowProcesses(interfaces.plugins.PluginInterface): vads[base].protection, base, vads[base].path ) - def _check_dlls_protection(self, _, vads, dlls): + def _check_dlls_protection( + self, _, vads: Dict[int, VadData], dlls: Dict[int, DLLData] + ) -> Generator[str, None, None]: for dll_base in dlls: # could be malicious but triggers too many FPs from smear if dll_base not in vads: @@ -192,9 +196,6 @@ class HollowProcesses(interfaces.plugins.PluginInterface): ] for proc in procs: - proc_name = utility.array_to_string(proc.ImageFileName) - pid = proc.UniqueProcessId - # smear and/or terminated process dlls = self._get_dlls_map(proc) if len(dlls) < 3: @@ -204,6 +205,9 @@ class HollowProcesses(interfaces.plugins.PluginInterface): if len(vads) < 5: continue + proc_name = utility.array_to_string(proc.ImageFileName) + pid = proc.UniqueProcessId + for check in checks: for note in check(proc, vads, dlls): yield 0, ( From 4938195113613bd262f21d24886d674ae3c27d4d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 6 Jul 2024 17:04:51 +0100 Subject: [PATCH 0510/2186] Implement the fix that was reverted as part of #1162. --- volatility3/framework/layers/intel.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 75e561b33..b969b952b 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -180,7 +180,9 @@ class Intel(linear.LinearlyMappedLayer): position = self._initial_position entry = self._initial_entry - if self.minimum_address > offset > self.maximum_address: + if not ( + self.minimum_address <= (offset & self.address_mask) <= self.maximum_address + ): raise exceptions.PagedInvalidAddressException( self.name, offset, From bb4cfb6e00a9457081ebf4242c0f18996c4c1d08 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 7 Jul 2024 15:13:06 +0100 Subject: [PATCH 0511/2186] Initial draft of complete-vad vadyarascan --- .../framework/plugins/windows/vadyarascan.py | 52 ++++++++++++------- volatility3/framework/plugins/yarascan.py | 15 ++++-- 2 files changed, 46 insertions(+), 21 deletions(-) diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index d795818e9..81530ec67 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -2,10 +2,11 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import io import logging from typing import Iterable, List, Tuple -from volatility3.framework import interfaces, renderers +from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins import yarascan @@ -18,7 +19,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): """Scans all the Virtual Address Descriptor memory maps using yara.""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 1) + _version = (1, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -32,11 +33,8 @@ class VadYaraScan(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), - requirements.VersionRequirement( - name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) - ), requirements.PluginRequirement( - name="yarascan", plugin=yarascan.YaraScan, version=(1, 2, 0) + name="yarascan", plugin=yarascan.YaraScan, version=(1, 3, 0) ), requirements.ListRequirement( name="pid", @@ -59,6 +57,8 @@ class VadYaraScan(interfaces.plugins.PluginInterface): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + sanity_check = 0x1000 * 0x1000 * 0x1000 + for task in pslist.PsList.list_processes( context=self.context, layer_name=kernel.layer_name, @@ -67,18 +67,34 @@ class VadYaraScan(interfaces.plugins.PluginInterface): ): layer_name = task.add_process_layer() layer = self.context.layers[layer_name] - for offset, rule_name, name, value in layer.scan( - context=self.context, - scanner=yarascan.YaraScanner(rules=rules), - sections=self.get_vad_maps(task), - ): - yield 0, ( - format_hints.Hex(offset), - task.UniqueProcessId, - rule_name, - name, - value, - ) + for start, end in self.get_vad_maps(task): + size = end - start + if size > sanity_check: + vollog.warn( + f"VAD at 0x{start:x} over sanity-check size, not scanning" + ) + continue + + for match in rules.match(data=layer.read(start, end - start, True)): + if yarascan.YaraScan.yara_returns_instances(): + for match_string in match.strings: + for instance in match_string.instances: + yield 0, ( + format_hints.Hex(instance.offset + start), + task.UniqueProcessId, + match.rule, + match_string.identifier, + instance.matched_data, + ) + else: + for offset, name, value in match.strings: + yield 0, ( + format_hints.Hex(offset + start), + task.UniqueProcessId, + match.rule, + name, + value, + ) @staticmethod def get_vad_maps( diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 11c708607..887b6027c 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -2,10 +2,11 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import io import logging from typing import Any, Dict, Iterable, List, Tuple -from volatility3.framework import interfaces, renderers +from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.layers import resources @@ -43,7 +44,7 @@ class YaraScanner(interfaces.layers.ScannerInterface): self, data: bytes, data_offset: int ) -> Iterable[Tuple[int, str, str, bytes]]: for match in self._rules.match(data=data): - if self.st_object: + if YaraScan.yara_returns_instances(): for match_string in match.strings: for instance in match_string.instances: yield ( @@ -61,7 +62,7 @@ class YaraScan(plugins.PluginInterface): """Scans kernel memory using yara rules (string or file).""" _required_framework_version = (2, 0, 0) - _version = (1, 2, 0) + _version = (1, 3, 0) # TODO: When the major version is bumped, take the opportunity to rename the yara_rules config to yara_string # or something that makes more sense @@ -119,6 +120,14 @@ class YaraScan(plugins.PluginInterface): ), ] + @classmethod + def yara_returns_instances(self) -> bool: + st_object = not tuple([int(x) for x in yara.__version__.split(".")]) < ( + 4, + 3, + ) + return st_object + @classmethod def process_yara_options(cls, config: Dict[str, Any]): rules = None From ac15840fd817026d64959b51a63163e8d9bc5261 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 7 Jul 2024 15:23:48 +0100 Subject: [PATCH 0512/2186] Windows: Fix up yara plugin code scanning warnings --- volatility3/framework/plugins/windows/vadyarascan.py | 3 +-- volatility3/framework/plugins/yarascan.py | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 81530ec67..4b00fee57 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -2,11 +2,10 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import io import logging from typing import Iterable, List, Tuple -from volatility3.framework import exceptions, interfaces, renderers +from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins import yarascan diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 887b6027c..496ec1844 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -2,11 +2,10 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import io import logging from typing import Any, Dict, Iterable, List, Tuple -from volatility3.framework import exceptions, interfaces, renderers +from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.layers import resources @@ -121,7 +120,7 @@ class YaraScan(plugins.PluginInterface): ] @classmethod - def yara_returns_instances(self) -> bool: + def yara_returns_instances(cls) -> bool: st_object = not tuple([int(x) for x in yara.__version__.split(".")]) < ( 4, 3, From b35169d0bc3e802ced2d81534ac4452ac64f796b Mon Sep 17 00:00:00 2001 From: Brandon Barnacle Date: Thu, 20 Jun 2024 16:00:04 -0400 Subject: [PATCH 0513/2186] Windows: Bug fixes and additions to modules and modscan MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This pull request adds several changes to the modules and modscan plugins that fix bugs, unify options and operations, and allow for filtering by name and base address in both plugins. Previously, modscan and modules had a substantial amount of partially duplicated code, which led to bugs, such as: Only one allowed filtering by --name Only one cycled through the session layers to find the one hosting the kernel module With the new inheritance and combined implementation, the correct and complete implementation applies to both. This PR also addresses the feedback in https://github.com/volatilityfoundation/volatility3/pull/1099. In this PR, --name and –base apply to the processing of modules and determine both which plugins are displayed in output as well as which are processed for extraction. This fixes the issue of using --filters, which only filters the final command line output, but leads to every module being extracted. --- .../framework/plugins/windows/modscan.py | 178 +++--------------- .../framework/plugins/windows/modules.py | 104 ++++++---- 2 files changed, 90 insertions(+), 192 deletions(-) diff --git a/volatility3/framework/plugins/windows/modscan.py b/volatility3/framework/plugins/windows/modscan.py index 99fadac07..3a786d2ca 100644 --- a/volatility3/framework/plugins/windows/modscan.py +++ b/volatility3/framework/plugins/windows/modscan.py @@ -9,16 +9,20 @@ from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows.extensions import pe -from volatility3.plugins.windows import poolscanner, dlllist, pslist +from volatility3.plugins.windows import poolscanner, dlllist, pslist, modules vollog = logging.getLogger(__name__) -class ModScan(interfaces.plugins.PluginInterface): +class ModScan(modules.Modules): """Scans for modules present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (2, 0, 0) + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self._enumeration_method = self.scan_modules @classmethod def get_requirements(cls): @@ -31,6 +35,9 @@ class ModScan(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="poolscanner", component=poolscanner.PoolScanner, version=(1, 0, 0) ), + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(1, 1, 0) + ), requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(2, 0, 0) ), @@ -43,6 +50,17 @@ class ModScan(interfaces.plugins.PluginInterface): default=False, optional=True, ), + requirements.IntRequirement( + name="base", + description="Extract a single module with BASE address", + optional=True, + ), + requirements.StringRequirement( + name="name", + description="module name/sub string", + optional=True, + default=None, + ), ] @classmethod @@ -72,157 +90,3 @@ class ModScan(interfaces.plugins.PluginInterface): ): _constraint, mem_object, _header = result yield mem_object - - @classmethod - def get_session_layers( - cls, - context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, - pids: List[int] = None, - ) -> Generator[str, None, None]: - """Build a cache of possible virtual layers, in priority starting with - the primary/kernel layer. Then keep one layer per session by cycling - through the process list. - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols - pids: A list of process identifiers to include exclusively or None for no filter - - Returns: - A list of session layer names - """ - seen_ids: List[interfaces.objects.ObjectInterface] = [] - filter_func = pslist.PsList.create_pid_filter(pids or []) - - for proc in pslist.PsList.list_processes( - context=context, - layer_name=layer_name, - symbol_table=symbol_table, - filter_func=filter_func, - ): - proc_id = "Unknown" - try: - proc_id = proc.UniqueProcessId - proc_layer_name = proc.add_process_layer() - - # create the session space object in the process' own layer. - # not all processes have a valid session pointer. - session_space = context.object( - symbol_table + constants.BANG + "_MM_SESSION_SPACE", - layer_name=layer_name, - offset=proc.Session, - ) - - if session_space.SessionId in seen_ids: - continue - - except exceptions.InvalidAddressException: - vollog.log( - constants.LOGLEVEL_VVV, - "Process {} does not have a valid Session or a layer could not be constructed for it".format( - proc_id - ), - ) - continue - - # save the layer if we haven't seen the session yet - seen_ids.append(session_space.SessionId) - yield proc_layer_name - - @classmethod - def find_session_layer( - cls, - context: interfaces.context.ContextInterface, - session_layers: Iterable[str], - base_address: int, - ): - """Given a base address and a list of layer names, find a layer that - can access the specified address. - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols - session_layers: A list of session layer names - base_address: The base address to identify the layers that can access it - - Returns: - Layer name or None if no layers that contain the base address can be found - """ - - for layer_name in session_layers: - if context.layers[layer_name].is_valid(base_address): - return layer_name - - return None - - def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - - session_layers = list( - self.get_session_layers( - self.context, kernel.layer_name, kernel.symbol_table_name - ) - ) - pe_table_name = intermed.IntermediateSymbolTable.create( - self.context, self.config_path, "windows", "pe", class_types=pe.class_types - ) - - for mod in self.scan_modules( - self.context, kernel.layer_name, kernel.symbol_table_name - ): - try: - BaseDllName = mod.BaseDllName.get_string() - except exceptions.InvalidAddressException: - BaseDllName = "" - - try: - FullDllName = mod.FullDllName.get_string() - except exceptions.InvalidAddressException: - FullDllName = "" - - file_output = "Disabled" - if self.config["dump"]: - session_layer_name = self.find_session_layer( - self.context, session_layers, mod.DllBase - ) - file_output = f"Cannot find a viable session layer for {mod.DllBase:#x}" - if session_layer_name: - file_handle = dlllist.DllList.dump_pe( - self.context, - pe_table_name, - mod, - self.open, - layer_name=session_layer_name, - ) - file_output = "Error outputting file" - if file_handle: - file_output = file_handle.preferred_filename - - yield ( - 0, - ( - format_hints.Hex(mod.vol.offset), - format_hints.Hex(mod.DllBase), - format_hints.Hex(mod.SizeOfImage), - BaseDllName, - FullDllName, - file_output, - ), - ) - - def run(self): - return renderers.TreeGrid( - [ - ("Offset", format_hints.Hex), - ("Base", format_hints.Hex), - ("Size", format_hints.Hex), - ("Name", str), - ("Path", str), - ("File output", str), - ], - self._generator(), - ) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 7dabf6954..8aea3dd45 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -22,6 +22,10 @@ class Modules(interfaces.plugins.PluginInterface): _required_framework_version = (2, 0, 0) _version = (1, 1, 0) + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self._enumeration_method = self.list_modules + @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ @@ -42,6 +46,11 @@ class Modules(interfaces.plugins.PluginInterface): default=False, optional=True, ), + requirements.IntRequirement( + name="base", + description="Extract a single module with BASE address", + optional=True, + ), requirements.StringRequirement( name="name", description="module name/sub string", @@ -50,49 +59,74 @@ class Modules(interfaces.plugins.PluginInterface): ), ] + def dump_module(self, session_layers, pe_table_name, mod): + session_layer_name = self.find_session_layer( + self.context, session_layers, mod.DllBase + ) + file_output = f"Cannot find a viable session layer for {mod.DllBase:#x}" + if session_layer_name: + file_handle = dlllist.DllList.dump_pe( + self.context, + pe_table_name, + mod, + self.open, + layer_name=session_layer_name, + ) + file_output = "Error outputting file" + if file_handle: + file_output = file_handle.preferred_filename + + return file_output + + def process_module(self, session_layers, pe_table_name, mod): + if self.config["base"] and self.config["base"] != mod.DllBase: + return None + + try: + BaseDllName = mod.BaseDllName.get_string() + except exceptions.InvalidAddressException: + BaseDllName = "" + + if self.config["name"] and self.config["name"] not in BaseDllName: + return None + + try: + FullDllName = mod.FullDllName.get_string() + except exceptions.InvalidAddressException: + FullDllName = "" + + file_output = "Disabled" + if self.config["dump"]: + file_output = self.dump_module(session_layers, pe_table_name, mod) + + return ( + format_hints.Hex(mod.vol.offset), + format_hints.Hex(mod.DllBase), + format_hints.Hex(mod.SizeOfImage), + BaseDllName, + FullDllName, + file_output, + ) + def _generator(self): kernel = self.context.modules[self.config["kernel"]] + pe_table_name = intermed.IntermediateSymbolTable.create( self.context, self.config_path, "windows", "pe", class_types=pe.class_types ) - for mod in self.list_modules( + session_layers = list( + self.get_session_layers( + self.context, kernel.layer_name, kernel.symbol_table_name + ) + ) + + for mod in self._enumeration_method( self.context, kernel.layer_name, kernel.symbol_table_name ): - try: - BaseDllName = mod.BaseDllName.get_string() - except exceptions.InvalidAddressException: - BaseDllName = "" - - try: - FullDllName = mod.FullDllName.get_string() - except exceptions.InvalidAddressException: - FullDllName = "" - - if self.config["name"] and self.config["name"] not in BaseDllName: - continue - - file_output = "Disabled" - if self.config["dump"]: - file_handle = dlllist.DllList.dump_pe( - self.context, pe_table_name, mod, self.open - ) - file_output = "Error outputting file" - if file_handle: - file_handle.close() - file_output = file_handle.preferred_filename - - yield ( - 0, - ( - format_hints.Hex(mod.vol.offset), - format_hints.Hex(mod.DllBase), - format_hints.Hex(mod.SizeOfImage), - BaseDllName, - FullDllName, - file_output, - ), - ) + record = self.process_module(session_layers, pe_table_name, mod) + if record: + yield (0, record) @classmethod def get_session_layers( From 8d60e9160f231460c20bde89488ceecc03814aec Mon Sep 17 00:00:00 2001 From: Brandon Barnacle Date: Mon, 8 Jul 2024 09:34:30 -0400 Subject: [PATCH 0514/2186] PR comment changes. --- .../framework/plugins/windows/modscan.py | 9 +- .../framework/plugins/windows/modules.py | 89 ++++++++++--------- 2 files changed, 48 insertions(+), 50 deletions(-) diff --git a/volatility3/framework/plugins/windows/modscan.py b/volatility3/framework/plugins/windows/modscan.py index 3a786d2ca..98546bc9c 100644 --- a/volatility3/framework/plugins/windows/modscan.py +++ b/volatility3/framework/plugins/windows/modscan.py @@ -2,13 +2,10 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import Iterable, List, Generator +from typing import Iterable -from volatility3.framework import renderers, interfaces, exceptions, constants +from volatility3.framework import interfaces from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints -from volatility3.framework.symbols import intermed -from volatility3.framework.symbols.windows.extensions import pe from volatility3.plugins.windows import poolscanner, dlllist, pslist, modules vollog = logging.getLogger(__name__) @@ -36,7 +33,7 @@ class ModScan(modules.Modules): name="poolscanner", component=poolscanner.PoolScanner, version=(1, 0, 0) ), requirements.VersionRequirement( - name="modules", component=modules.Modules, version=(1, 1, 0) + name="modules", component=modules.Modules, version=(2, 0, 0) ), requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 8aea3dd45..79eea1cd7 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -4,9 +4,7 @@ import logging from typing import List, Iterable, Generator -from volatility3.framework import constants -from volatility3.framework import exceptions, interfaces -from volatility3.framework import renderers +from volatility3.framework import exceptions, interfaces, constants, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed @@ -20,7 +18,7 @@ class Modules(interfaces.plugins.PluginInterface): """Lists the loaded kernel modules.""" _required_framework_version = (2, 0, 0) - _version = (1, 1, 0) + _version = (2, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -78,55 +76,58 @@ class Modules(interfaces.plugins.PluginInterface): return file_output - def process_module(self, session_layers, pe_table_name, mod): - if self.config["base"] and self.config["base"] != mod.DllBase: - return None - - try: - BaseDllName = mod.BaseDllName.get_string() - except exceptions.InvalidAddressException: - BaseDllName = "" - - if self.config["name"] and self.config["name"] not in BaseDllName: - return None - - try: - FullDllName = mod.FullDllName.get_string() - except exceptions.InvalidAddressException: - FullDllName = "" - - file_output = "Disabled" - if self.config["dump"]: - file_output = self.dump_module(session_layers, pe_table_name, mod) - - return ( - format_hints.Hex(mod.vol.offset), - format_hints.Hex(mod.DllBase), - format_hints.Hex(mod.SizeOfImage), - BaseDllName, - FullDllName, - file_output, - ) - def _generator(self): kernel = self.context.modules[self.config["kernel"]] - pe_table_name = intermed.IntermediateSymbolTable.create( - self.context, self.config_path, "windows", "pe", class_types=pe.class_types - ) + pe_table_name = None + session_layers = None - session_layers = list( - self.get_session_layers( - self.context, kernel.layer_name, kernel.symbol_table_name + if self.config["dump"]: + pe_table_name = intermed.IntermediateSymbolTable.create( + self.context, + self.config_path, + "windows", + "pe", + class_types=pe.class_types, + ) + + session_layers = list( + self.get_session_layers( + self.context, kernel.layer_name, kernel.symbol_table_name + ) ) - ) for mod in self._enumeration_method( self.context, kernel.layer_name, kernel.symbol_table_name ): - record = self.process_module(session_layers, pe_table_name, mod) - if record: - yield (0, record) + if self.config["base"] and self.config["base"] != mod.DllBase: + continue + + try: + BaseDllName = mod.BaseDllName.get_string() + except exceptions.InvalidAddressException: + BaseDllName = interfaces.renderers.BaseAbsentValue() + + if self.config["name"] and self.config["name"] not in BaseDllName: + continue + + try: + FullDllName = mod.FullDllName.get_string() + except exceptions.InvalidAddressException: + FullDllName = interfaces.renderers.BaseAbsentValue() + + file_output = "Disabled" + if self.config["dump"]: + file_output = self.dump_module(session_layers, pe_table_name, mod) + + yield 0, ( + format_hints.Hex(mod.vol.offset), + format_hints.Hex(mod.DllBase), + format_hints.Hex(mod.SizeOfImage), + BaseDllName, + FullDllName, + file_output, + ) @classmethod def get_session_layers( From c3cf319f7e44161ef6fd6537787de70daf71d126 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 12 Jul 2024 09:13:08 +0100 Subject: [PATCH 0515/2186] Windows: remove size from filescan output as it is not the file size but the object size --- volatility3/framework/plugins/windows/filescan.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/filescan.py b/volatility3/framework/plugins/windows/filescan.py index 0f68f39d4..e21b5f518 100644 --- a/volatility3/framework/plugins/windows/filescan.py +++ b/volatility3/framework/plugins/windows/filescan.py @@ -13,7 +13,7 @@ from volatility3.plugins.windows import poolscanner class FileScan(interfaces.plugins.PluginInterface): """Scans for file objects present in a particular windows memory image.""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 0, 1) @classmethod def get_requirements(cls): @@ -67,10 +67,10 @@ class FileScan(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: continue - yield (0, (format_hints.Hex(fileobj.vol.offset), file_name, fileobj.Size)) + yield (0, (format_hints.Hex(fileobj.vol.offset), file_name)) def run(self): return renderers.TreeGrid( - [("Offset", format_hints.Hex), ("Name", str), ("Size", int)], + [("Offset", format_hints.Hex), ("Name", str)], self._generator(), ) From e5a530f08acc198939e3fa90616fb12062da34e7 Mon Sep 17 00:00:00 2001 From: Eve Date: Fri, 12 Jul 2024 10:20:44 +0100 Subject: [PATCH 0516/2186] Windows: revert required framework version for filescan plugin --- volatility3/framework/plugins/windows/filescan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/filescan.py b/volatility3/framework/plugins/windows/filescan.py index e21b5f518..34c0c60d3 100644 --- a/volatility3/framework/plugins/windows/filescan.py +++ b/volatility3/framework/plugins/windows/filescan.py @@ -13,7 +13,7 @@ from volatility3.plugins.windows import poolscanner class FileScan(interfaces.plugins.PluginInterface): """Scans for file objects present in a particular windows memory image.""" - _required_framework_version = (2, 0, 1) + _required_framework_version = (2, 0, 0) @classmethod def get_requirements(cls): From d4585be7cf4b6fbce85a6fa7a5b448b604036f86 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 14 Jul 2024 15:21:08 +0100 Subject: [PATCH 0517/2186] Linux: Update vmayarascan to scan complete VMA blocks --- .../framework/plugins/linux/vmayarascan.py | 39 +++++++++++-------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index eda0d7dca..3edbe7784 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -33,9 +33,6 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="yarascan", plugin=yarascan.YaraScan, version=(1, 2, 0) ), - requirements.VersionRequirement( - name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) - ), requirements.ModuleRequirement( name="kernel", description="Linux kernel", @@ -69,19 +66,29 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): # get the proc_layer object from the context proc_layer = self.context.layers[proc_layer_name] - # scan the process layer with the yarascanner - for offset, rule_name, name, value in proc_layer.scan( - context=self.context, - scanner=yarascan.YaraScanner(rules=rules), - sections=self.get_vma_maps(task), - ): - yield 0, ( - format_hints.Hex(offset), - task.tgid, - rule_name, - name, - value, - ) + for start, end in self.get_vma_maps(task): + for match in rules.match( + data=proc_layer.read(start, end - start, True) + ): + if yarascan.YaraScan.yara_returns_instances(): + for match_string in match.strings: + for instance in match_string.instances: + yield 0, ( + format_hints.Hex(instance.offset + start), + task.UniqueProcessId, + match.rule, + match_string.identifier, + instance.matched_data, + ) + else: + for offset, name, value in match.strings: + yield 0, ( + format_hints.Hex(offset + start), + task.tgid, + match.rule, + name, + value, + ) @staticmethod def get_vma_maps( From 61e3e894eea28a8e0368c43f0fecb1b5031e0d2b Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 14 Jul 2024 19:04:06 +0100 Subject: [PATCH 0518/2186] Core: Bump the version and minium python to support pip --- README.md | 2 +- pyproject.toml | 2 +- volatility3/framework/__init__.py | 2 +- volatility3/framework/constants/_version.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d303d2dff..886790df8 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ more details. ## Requirements -Volatility 3 requires Python 3.7.0 or later. To install the most minimal set of dependencies (some plugins will not work) use a command such as: +Volatility 3 requires Python 3.7.3 or later. To install the most minimal set of dependencies (some plugins will not work) use a command such as: ```shell pip3 install -r requirements-minimal.txt diff --git a/pyproject.toml b/pyproject.toml index 98c562a90..207f762cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ readme = "README.md" authors = [ { name = "Volatility Foundation", email = "volatility@volatilityfoundation.org" }, ] -requires-python = ">=3.7.0" +requires-python = ">=3.7.3" license = { text = "VSL" } dynamic = ["dependencies", "optional-dependencies", "version"] diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index feb97810b..74db773cf 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -7,7 +7,7 @@ import glob import sys import zipfile -required_python_version = (3, 7, 0) +required_python_version = (3, 7, 3) if ( sys.version_info.major != required_python_version[0] or sys.version_info.minor < required_python_version[1] diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 37c115431..21c339a6e 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 7 # Number of changes that only add to the interface -VERSION_PATCH = 1 # Number of changes that do not change the interface +VERSION_PATCH = 2 # Number of changes that do not change the interface VERSION_SUFFIX = "" # TODO: At version 2.0.0, remove the symbol_shift feature From ac9236cb436d40a156f94b7aeab63afcc545663d Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 15 Jul 2024 19:59:41 +1000 Subject: [PATCH 0519/2186] linux.netfilter.Netfilter: Add LinuxUtilities version requirement check on AbstractNetfilter --- .../framework/plugins/linux/netfilter.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 60a71f798..e0fbcbd70 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -11,6 +11,7 @@ from volatility3.framework import ( constants, interfaces, renderers, + exceptions, ) from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements @@ -80,6 +81,16 @@ class AbstractNetfilter(ABC): self.list_head_size = self.vmlinux.get_type("list_head").size modules = lsmod.Lsmod.list_modules(context, kernel_module_name) + + linuxutils_required_version = Netfilter._required_linuxutils_version + linuxutils_current_version = linux.LinuxUtilities._version + if not requirements.VersionRequirement.matches_required( + linuxutils_required_version, linuxutils_current_version + ): + raise exceptions.PluginRequirementException( + f"linux.LinuxUtilities version not suitable: required {linuxutils_required_version} found {linuxutils_current_version}" + ) + self.handlers = linux.LinuxUtilities.generate_kernel_handler_info( context, kernel_module_name, modules ) @@ -658,6 +669,8 @@ class Netfilter(interfaces.plugins.PluginInterface): _version = (1, 0, 0) + _required_linuxutils_version = (2, 1, 0) + @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ @@ -670,7 +683,9 @@ class Netfilter(interfaces.plugins.PluginInterface): name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) ), requirements.VersionRequirement( - name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) + name="linuxutils", + component=linux.LinuxUtilities, + version=cls._required_linuxutils_version, ), ] From a6d8ba8bfaeeceebd564e35e84ae0e288f69871e Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 15 Jul 2024 20:22:40 +1000 Subject: [PATCH 0520/2186] windows eprocess validation: Make the creation and exit year checks dynamic --- volatility3/framework/symbols/windows/extensions/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index ae855d6c6..93c19599e 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -614,12 +614,13 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): # A process must have a creation time return False - if not (1998 < ctime.year < 2030): + current_year = datetime.datetime.now().year + if not (1998 < ctime.year < current_year + 10): return False etime = self.get_exit_time() if isinstance(etime, datetime.datetime): - if not (1998 < etime.year < 2030): + if not (1998 < etime.year < current_year + 10): return False # Exit time, if available, must be after the creation time From cb6929163b31726d811f7e825bcfad8690170b9c Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 15 Jul 2024 18:14:50 +0100 Subject: [PATCH 0521/2186] Windows: Fix vadyarascan sanity check and bad documentation --- volatility3/framework/plugins/windows/vadyarascan.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 4b00fee57..219faf028 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -56,7 +56,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - sanity_check = 0x1000 * 0x1000 * 0x1000 + sanity_check = 0x2000 * 0x1000 * 0x1000 for task in pslist.PsList.list_processes( context=self.context, @@ -66,15 +66,14 @@ class VadYaraScan(interfaces.plugins.PluginInterface): ): layer_name = task.add_process_layer() layer = self.context.layers[layer_name] - for start, end in self.get_vad_maps(task): - size = end - start + for start, size in self.get_vad_maps(task): if size > sanity_check: vollog.warn( f"VAD at 0x{start:x} over sanity-check size, not scanning" ) continue - for match in rules.match(data=layer.read(start, end - start, True)): + for match in rules.match(data=layer.read(start, size, True)): if yarascan.YaraScan.yara_returns_instances(): for match_string in match.strings: for instance in match_string.instances: @@ -106,7 +105,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): task: The EPROCESS object of which to traverse the vad tree Returns: - An iterable of tuples containing start and end addresses for each descriptor + An iterable of tuples containing start and size for each descriptor """ vad_root = task.get_vad_root() for vad in vad_root.traverse(): From 55fe4ba47aece0882a0b5c690710cba1fa438989 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 15 Jul 2024 15:20:10 -0500 Subject: [PATCH 0522/2186] #118 - MR feedback --- .../framework/plugins/windows/kpcrs.py | 106 ++++++++++++++++++ .../framework/plugins/windows/timers.py | 86 +++----------- .../symbols/windows/extensions/__init__.py | 6 +- 3 files changed, 125 insertions(+), 73 deletions(-) create mode 100644 volatility3/framework/plugins/windows/kpcrs.py diff --git a/volatility3/framework/plugins/windows/kpcrs.py b/volatility3/framework/plugins/windows/kpcrs.py new file mode 100644 index 000000000..558ea844c --- /dev/null +++ b/volatility3/framework/plugins/windows/kpcrs.py @@ -0,0 +1,106 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging + +from typing import Iterator, List, Tuple + +from volatility3.framework import ( + renderers, + interfaces, + constants, +) +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints + +vollog = logging.getLogger(__name__) + + +class KPCRs(interfaces.plugins.PluginInterface): + """Print KPCR structure for each processor""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + ] + + @classmethod + def list_kpcrs( + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + layer_name: str, + symbol_table: str, + ) -> interfaces.objects.ObjectInterface: + """Returns the KPCR structure for each processor + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + kernel_module_name: The name of the kernel module on which to operate + layer_name: The name of the layer on which to operate + symbol_table: The name of the table containing the kernel symbols + + Returns: + The _KPCR structure for each processor + """ + + kernel = context.modules[kernel_module_name] + cpu_count_offset = kernel.get_symbol("KeNumberProcessors").address + cpu_count = kernel.object( + object_type="unsigned int", layer_name=layer_name, offset=cpu_count_offset + ) + processor_block = kernel.object( + object_type="pointer", + layer_name=layer_name, + offset=kernel.get_symbol("KiProcessorBlock").address, + ) + processor_pointers = utility.array_of_pointers( + context=context, + array=processor_block, + count=cpu_count, + subtype=symbol_table + constants.BANG + "_KPRCB", + ) + for pointer in processor_pointers: + kprcb = pointer.dereference() + reloff = kernel.get_type("_KPCR").relative_child_offset("Prcb") + kpcr = context.object( + symbol_table + constants.BANG + "_KPCR", + offset=kprcb.vol.offset - reloff, + layer_name=layer_name, + ) + yield kpcr + + def _generator(self) -> Iterator[Tuple]: + kernel = self.context.modules[self.config["kernel"]] + layer_name = kernel.layer_name + symbol_table = kernel.symbol_table_name + + for kpcr in self.list_kpcrs( + self.context, self.config["kernel"], layer_name, symbol_table + ): + yield ( + 0, + ( + format_hints.Hex(kpcr.vol.offset), + format_hints.Hex(kpcr.CurrentPrcb), + ), + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("PRCB Offset", format_hints.Hex), + ], + self._generator(), + ) diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py index ec8bc17e9..d49c28784 100644 --- a/volatility3/framework/plugins/windows/timers.py +++ b/volatility3/framework/plugins/windows/timers.py @@ -7,17 +7,15 @@ import logging from typing import Iterator, List, Tuple, Iterable from volatility3.framework import ( - layers, renderers, interfaces, constants, symbols, ) from volatility3.framework.configuration import requirements -from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.framework.symbols.windows import versions -from volatility3.plugins.windows import ssdt +from volatility3.plugins.windows import ssdt, kpcrs vollog = logging.getLogger(__name__) @@ -39,73 +37,16 @@ class Timers(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) ), + requirements.PluginRequirement( + name="kpcrs", plugin=kpcrs.KPCRs, version=(1, 0, 0) + ), ] - @classmethod - def get_kernel_module( - cls, - context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, - ): - """Returns the kernel module based on the layer and symbol_table""" - virtual_layer = context.layers[layer_name] - if not isinstance(virtual_layer, layers.intel.Intel): - raise TypeError("Virtual Layer is not an intel layer") - - kvo = virtual_layer.config["kernel_virtual_offset"] - - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) - return ntkrnlmp - - @classmethod - def get_kpcrs( - cls, - context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, - ) -> interfaces.objects.ObjectInterface: - """Returns the KPCR structure for each processor - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - symbol_table: The name of an existing symbol table containing the kernel symbols - config_path: The configuration path within the context of the symbol table to create - - Returns: - The _KPCR structure for each processor - """ - - ntkrnlmp = cls.get_kernel_module(context, layer_name, symbol_table) - cpu_count_offset = ntkrnlmp.get_symbol("KeNumberProcessors").address - cpu_count = ntkrnlmp.object( - object_type="unsigned int", layer_name=layer_name, offset=cpu_count_offset - ) - processor_block = ntkrnlmp.object( - object_type="pointer", - layer_name=layer_name, - offset=ntkrnlmp.get_symbol("KiProcessorBlock").address, - ) - processor_pointers = utility.array_of_pointers( - context=context, - array=processor_block, - count=cpu_count, - subtype=symbol_table + constants.BANG + "_KPRCB", - ) - for pointer in processor_pointers: - kprcb = pointer.dereference() - reloff = ntkrnlmp.get_type("_KPCR").relative_child_offset("Prcb") - kpcr = context.object( - symbol_table + constants.BANG + "_KPCR", - offset=kprcb.vol.offset - reloff, - layer_name=layer_name, - ) - yield kpcr - @classmethod def list_timers( cls, context: interfaces.context.ContextInterface, + kernel_module_name: str, layer_name: str, symbol_table: str, ) -> Iterable[Tuple[str, int, str]]: @@ -113,21 +54,24 @@ class Timers(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from + kernel_module_name: The name of the kernel module on which to operate layer_name: The name of the layer on which to operate symbol_table: The name of the table containing the kernel symbols Yields: A _KTIMER entry """ - ntkrnlmp = cls.get_kernel_module(context, layer_name, symbol_table) + kernel = context.modules[kernel_module_name] if versions.is_windows_7( context=context, symbol_table=symbol_table ) or versions.is_windows_8_or_later(context=context, symbol_table=symbol_table): # Starting with Windows 7, there is no more KiTimerTableListHead. The list is # at _KPCR.PrcbData.TimerTable.TimerEntries # See http://pastebin.com/FiRsGW3f - for kpcr in cls.get_kpcrs(context, layer_name, symbol_table): + for kpcr in kpcrs.KPCRs.list_kpcrs( + context, kernel_module_name, layer_name, symbol_table + ): if hasattr(kpcr.Prcb.TimerTable, "TableState"): for timer_entries in kpcr.Prcb.TimerTable.TimerEntries: for timer_entry in timer_entries: @@ -160,10 +104,10 @@ class Timers(interfaces.plugins.PluginInterface): # is an array of 256 _LIST_ENTRY for _KTIMERs. array_size = 256 - timer_table_list_head = ntkrnlmp.object( + timer_table_list_head = kernel.object( object_type="array", - offset=ntkrnlmp.get_symbol("KiTimerTableListHead").address, - subtype=ntkrnlmp.get_type("_LIST_ENTRY"), + offset=kernel.get_symbol("KiTimerTableListHead").address, + subtype=kernel.get_type("_LIST_ENTRY"), count=array_size, ) for table in timer_table_list_head: @@ -185,7 +129,9 @@ class Timers(interfaces.plugins.PluginInterface): self.context, kernel.layer_name, kernel.symbol_table_name ) - for timer in self.list_timers(self.context, layer_name, symbol_table): + for timer in self.list_timers( + self.context, self.config["kernel"], layer_name, symbol_table + ): if not timer.valid_type(): continue try: diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index b9eabcda6..86ea2febb 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -1011,12 +1011,12 @@ class KTIMER(objects.StructType): def get_raw_dpc(self): """Returns the encoded DPC since it may not look like a pointer after encoding""" symbol_table_name = self.get_symbol_table_name() - ulonglong_type = self._context.symbol_space.get_type( - symbol_table_name + constants.BANG + "unsigned long long" + pointer_type = self._context.symbol_space.get_type( + symbol_table_name + constants.BANG + "pointer" ) return self._context.object( - object_type=ulonglong_type, + object_type=pointer_type, layer_name=self.vol.layer_name, offset=self.Dpc.vol.offset, ) From 7e3615335c44f79b2b39e9f669a33df6f3edf2fc Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 15 Jul 2024 15:40:22 -0500 Subject: [PATCH 0523/2186] #1175 - config_path change --- volatility3/framework/plugins/windows/unloadedmodules.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/unloadedmodules.py b/volatility3/framework/plugins/windows/unloadedmodules.py index 1fd4914ac..0d88e96ff 100644 --- a/volatility3/framework/plugins/windows/unloadedmodules.py +++ b/volatility3/framework/plugins/windows/unloadedmodules.py @@ -10,6 +10,7 @@ from volatility3.framework import constants from volatility3.framework import interfaces, symbols from volatility3.framework import renderers from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import configuration from volatility3.framework.renderers import format_hints, conversion from volatility3.framework.symbols import intermed from volatility3.plugins import timeliner @@ -60,7 +61,7 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt return intermed.IntermediateSymbolTable.create( context, - config_path, + configuration.path_join(config_path, "unloadedmodules"), "windows", symbol_filename, native_types=native_types, From 99cf48597abbc1126ef06731ed7836c04614514d Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 15 Jul 2024 15:46:27 -0500 Subject: [PATCH 0524/2186] #118 - use canonicalize for offset --- volatility3/framework/symbols/windows/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 86ea2febb..d5c3d3f96 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -1052,7 +1052,7 @@ class KTIMER(objects.StructType): low_byte = (wait_never) & 0xFF entry = utility.rol(self.get_raw_dpc() ^ wait_never, low_byte) - swap_xor = self.vol.offset | 0xFFFF000000000000 + swap_xor = self._context.layers[self.vol.native_layer_name].canonicalize(self.vol.offset) entry = utility.bswap_64(entry ^ swap_xor) dpc = entry ^ wait_always From cf6c7fb1f40c4bfa1c60cc050cfd346014a854ca Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 16 Jul 2024 09:38:49 +1000 Subject: [PATCH 0525/2186] linux.netfilter.Netfilter: Add lsmod version requirement check on AbstractNetfilter --- volatility3/framework/plugins/linux/netfilter.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index e0fbcbd70..d392a8371 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -80,7 +80,14 @@ class AbstractNetfilter(ABC): self.ptr_size = self.vmlinux.get_type("pointer").size self.list_head_size = self.vmlinux.get_type("list_head").size - modules = lsmod.Lsmod.list_modules(context, kernel_module_name) + lsmod_required_version = Netfilter._required_lsmod_version + lsmod_current_version = lsmod.Lsmod._version + if not requirements.VersionRequirement.matches_required( + lsmod_required_version, lsmod_current_version + ): + raise exceptions.PluginRequirementException( + f"linux.lsmod.Lsmod version not suitable: required {lsmod_required_version} found {lsmod_current_version}" + ) linuxutils_required_version = Netfilter._required_linuxutils_version linuxutils_current_version = linux.LinuxUtilities._version @@ -91,6 +98,7 @@ class AbstractNetfilter(ABC): f"linux.LinuxUtilities version not suitable: required {linuxutils_required_version} found {linuxutils_current_version}" ) + modules = lsmod.Lsmod.list_modules(context, kernel_module_name) self.handlers = linux.LinuxUtilities.generate_kernel_handler_info( context, kernel_module_name, modules ) @@ -670,6 +678,7 @@ class Netfilter(interfaces.plugins.PluginInterface): _version = (1, 0, 0) _required_linuxutils_version = (2, 1, 0) + _required_lsmod_version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -680,7 +689,7 @@ class Netfilter(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + name="lsmod", plugin=lsmod.Lsmod, version=cls._required_lsmod_version ), requirements.VersionRequirement( name="linuxutils", From 43e22d72bdaa2cbb6366b1911a6ff38ced83394f Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Tue, 16 Jul 2024 09:23:06 -0500 Subject: [PATCH 0526/2186] #118 - black formatting --- volatility3/framework/symbols/windows/extensions/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index d5c3d3f96..b333755f7 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -1052,7 +1052,9 @@ class KTIMER(objects.StructType): low_byte = (wait_never) & 0xFF entry = utility.rol(self.get_raw_dpc() ^ wait_never, low_byte) - swap_xor = self._context.layers[self.vol.native_layer_name].canonicalize(self.vol.offset) + swap_xor = self._context.layers[self.vol.native_layer_name].canonicalize( + self.vol.offset + ) entry = utility.bswap_64(entry ^ swap_xor) dpc = entry ^ wait_always From be5423f786827ee4056b2c638b2d1214a419c47c Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 17 Jul 2024 17:08:15 +0100 Subject: [PATCH 0527/2186] Windows: Fix up broken imports in info plugin --- volatility3/framework/plugins/windows/info.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/info.py b/volatility3/framework/plugins/windows/info.py index 100a677c2..137d29c22 100644 --- a/volatility3/framework/plugins/windows/info.py +++ b/volatility3/framework/plugins/windows/info.py @@ -10,7 +10,7 @@ from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.renderers import TreeGrid from volatility3.framework.symbols import intermed -from volatility3.framework.symbols.windows import extensions +from volatility3.framework.symbols.windows.extensions import kdbg, pe class Info(plugins.PluginInterface): @@ -94,16 +94,16 @@ class Info(plugins.PluginInterface): "windows", "kdbg", native_types=native_types, - class_types=extensions.kdbg.class_types, + class_types=kdbg.class_types, ) - kdbg = context.object( + kdbg_obj = context.object( kdbg_table_name + constants.BANG + "_KDDEBUGGER_DATA64", offset=ntkrnlmp.offset + kdbg_offset, layer_name=layer_name, ) - return kdbg + return kdbg_obj @classmethod def get_kuser_structure( @@ -173,7 +173,7 @@ class Info(plugins.PluginInterface): interfaces.configuration.path_join(config_path, "pe"), "windows", "pe", - class_types=extensions.pe.class_types, + class_types=pe.class_types, ) dos_header = context.object( From a5cf635fd8b81c56f14ee490bcf63e4e5aafd32d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 17 Jul 2024 17:31:44 +0100 Subject: [PATCH 0528/2186] Windows: Fix the vadyarascan sanity check --- volatility3/framework/plugins/windows/vadyarascan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 219faf028..dc318dd93 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -56,7 +56,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - sanity_check = 0x2000 * 0x1000 * 0x1000 + sanity_check = 1024 * 1024 * 1024 # 1 GB for task in pslist.PsList.list_processes( context=self.context, From a684e284ccca7675d4e3cd07c39679ecba703627 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 5 Jul 2024 15:45:46 -0500 Subject: [PATCH 0529/2186] Windows: Adds shimcache symbol files + extensions --- .../framework/symbols/windows/__init__.py | 1 + .../symbols/windows/extensions/__init__.py | 49 +- .../symbols/windows/extensions/shimcache.py | 278 ++++++++++ .../windows/shimcache/shimcache-2003-x64.json | 327 ++++++++++++ .../windows/shimcache/shimcache-2003-x86.json | 334 ++++++++++++ .../shimcache/shimcache-vista-x64.json | 334 ++++++++++++ .../shimcache/shimcache-vista-x86.json | 334 ++++++++++++ .../shimcache/shimcache-win10-x64.json | 371 ++++++++++++++ .../shimcache/shimcache-win10-x86.json | 371 ++++++++++++++ .../windows/shimcache/shimcache-win7-x64.json | 348 +++++++++++++ .../windows/shimcache/shimcache-win7-x86.json | 348 +++++++++++++ .../windows/shimcache/shimcache-win8-x64.json | 392 ++++++++++++++ .../windows/shimcache/shimcache-win8-x86.json | 386 ++++++++++++++ .../shimcache/shimcache-xp-sp2-x86.json | 485 ++++++++++++++++++ .../shimcache/shimcache-xp-sp3-x86.json | 485 ++++++++++++++++++ .../framework/symbols/windows/versions.py | 27 + 16 files changed, 4863 insertions(+), 7 deletions(-) create mode 100644 volatility3/framework/symbols/windows/extensions/shimcache.py create mode 100644 volatility3/framework/symbols/windows/shimcache/shimcache-2003-x64.json create mode 100644 volatility3/framework/symbols/windows/shimcache/shimcache-2003-x86.json create mode 100644 volatility3/framework/symbols/windows/shimcache/shimcache-vista-x64.json create mode 100644 volatility3/framework/symbols/windows/shimcache/shimcache-vista-x86.json create mode 100644 volatility3/framework/symbols/windows/shimcache/shimcache-win10-x64.json create mode 100644 volatility3/framework/symbols/windows/shimcache/shimcache-win10-x86.json create mode 100644 volatility3/framework/symbols/windows/shimcache/shimcache-win7-x64.json create mode 100644 volatility3/framework/symbols/windows/shimcache/shimcache-win7-x86.json create mode 100644 volatility3/framework/symbols/windows/shimcache/shimcache-win8-x64.json create mode 100644 volatility3/framework/symbols/windows/shimcache/shimcache-win8-x86.json create mode 100644 volatility3/framework/symbols/windows/shimcache/shimcache-xp-sp2-x86.json create mode 100644 volatility3/framework/symbols/windows/shimcache/shimcache-xp-sp3-x86.json diff --git a/volatility3/framework/symbols/windows/__init__.py b/volatility3/framework/symbols/windows/__init__.py index abf9f6da3..e43a2486b 100755 --- a/volatility3/framework/symbols/windows/__init__.py +++ b/volatility3/framework/symbols/windows/__init__.py @@ -17,6 +17,7 @@ class WindowsKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("_KTHREAD", extensions.KTHREAD) self.set_type_class("_LIST_ENTRY", extensions.LIST_ENTRY) self.set_type_class("_EPROCESS", extensions.EPROCESS) + self.set_type_class("_ERESOURCE", extensions.ERESOURCE) self.set_type_class("_UNICODE_STRING", extensions.UNICODE_STRING) self.set_type_class("_EX_FAST_REF", extensions.EX_FAST_REF) self.set_type_class("_TOKEN", extensions.TOKEN) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 93c19599e..39b50e180 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -306,16 +306,19 @@ class MMVAD_SHORT(objects.StructType): raise AttributeError("Unable to find the private memory member") + @property + def Protection(self): + if self.has_member("u"): + return self.u.VadFlags.Protection + elif self.has_member("Core"): + return self.Core.u.VadFlags.Protection + else: + return None + def get_protection(self, protect_values, winnt_protections): """Get the VAD's protection constants as a string.""" - protect = None - - if self.has_member("u"): - protect = self.u.VadFlags.Protection - - elif self.has_member("Core"): - protect = self.Core.u.VadFlags.Protection + protect = self.Protection try: value = protect_values[protect] @@ -593,6 +596,38 @@ class UNICODE_STRING(objects.StructType): String = property(get_string) +class ERESOURCE(objects.StructType): + def is_valid(self) -> bool: + vollog.debug(f"Checking ERESOURCE Validity: {hex(self.vol.offset)}") + + if not self._context.layers[self.vol.layer_name].is_valid(self.vol.offset): + return False + + sym_table = self.get_symbol_table_name() + + waiters_valid = self.SharedWaiters == 0 or self._context.layers[ + self.vol.layer_name + ].is_valid( + self.SharedWaiters.vol.offset, + self._context.symbol_space.get_type( + sym_table + constants.BANG + "_KSEMAPHORE" + ).size, + ) + + try: + return ( + waiters_valid + and self.SystemResourcesList.Flink is not None + and self.SystemResourcesList.Blink is not None + and self.SystemResourcesList.Flink != self.SystemResourcesList.Blink + and self.SystemResourcesList.Flink.Blink == self.vol.offset + and self.SystemResourcesList.Blink.Flink == self.vol.offset + and self.NumberOfSharedWaiters == 0 + ) + except exceptions.InvalidAddressException: + return False + + class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): """A class for executive kernel processes objects.""" diff --git a/volatility3/framework/symbols/windows/extensions/shimcache.py b/volatility3/framework/symbols/windows/extensions/shimcache.py new file mode 100644 index 000000000..b84a7df6f --- /dev/null +++ b/volatility3/framework/symbols/windows/extensions/shimcache.py @@ -0,0 +1,278 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +import struct +from datetime import datetime +from typing import Dict, Optional, Tuple, Union + +from volatility3.framework import constants, exceptions, interfaces, objects, renderers +from volatility3.framework.symbols.windows.extensions import conversion + +vollog = logging.getLogger(__name__) + + +class SHIM_CACHE_ENTRY(objects.StructType): + """Class for abstracting variations in the shimcache LRU list entry structure""" + + def __init__( + self, + context: interfaces.context.ContextInterface, + type_name: str, + object_info: interfaces.objects.ObjectInformation, + size: int, + members: Dict[str, Tuple[int, interfaces.objects.Template]], + ) -> None: + super().__init__(context, type_name, object_info, size, members) + self._exec_flag = None + self._file_path = None + self._file_size = None + self._last_modified = None + self._last_updated = None + + @property + def exec_flag(self) -> Union[bool, interfaces.renderers.BaseAbsentValue]: + """Checks if InsertFlags fields has been bitwise OR'd with a value of 2. + This behavior was observed when processes are created by CSRSS.""" + if self._exec_flag is not None: + return self._exec_flag + + if hasattr(self, "ListEntryDetail") and hasattr( + self.ListEntryDetail, "InsertFlags" + ): + self._exec_flag = self.ListEntryDetail.InsertFlags & 0x2 == 2 + + elif hasattr(self, "InsertFlags"): + self._exec_flag = self.InsertFlags & 0x2 == 2 + + elif hasattr(self, "ListEntryDetail") and hasattr( + self.ListEntryDetail, "BlobBuffer" + ): + blob_offset = self.ListEntryDetail.BlobBuffer + blob_size = self.ListEntryDetail.BlobSize + + if not self._context.layers[self.vol.native_layer_name].is_valid( + blob_offset, blob_size + ): + self._exec_flag = renderers.UnparsableValue() + + raw_flag = self._context.layers[self.vol.native_layer_name].read( + blob_offset, blob_size + ) + if not raw_flag: + self._exec_flag = renderers.UnparsableValue() + + try: + self._exec_flag = bool(struct.unpack(" Union[int, interfaces.renderers.BaseAbsentValue]: + if self._file_size is not None: + return self._file_size + try: + self._file_size = self.FileSize + if self._file_size < 0: + self._file_size = 0 + + except AttributeError: + self._file_size = renderers.NotApplicableValue() + except exceptions.InvalidAddressException: + self._file_size = renderers.UnreadableValue() + + return self._file_size + + @property + def last_modified(self) -> Union[datetime, interfaces.renderers.BaseAbsentValue]: + if self._last_modified is not None: + return self._last_modified + try: + self._last_modified = conversion.wintime_to_datetime( + self.ListEntryDetail.LastModified.QuadPart + ) + except AttributeError: + self._last_modified = conversion.wintime_to_datetime( + self.LastModified.QuadPart + ) + except exceptions.InvalidAddressException: + self._last_modified = renderers.UnreadableValue() + + return self._last_modified + + @property + def last_update(self) -> Union[datetime, interfaces.renderers.BaseAbsentValue]: + if self._last_updated is not None: + return self._last_updated + + try: + self._last_updated = conversion.wintime_to_datetime( + self.LastUpdate.QuadPart + ) + except AttributeError: + self._last_updated = renderers.NotApplicableValue() + + return self._last_updated + + @property + def file_path(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: + if self._file_path is not None: + return self._file_path + + if not hasattr(self.Path, "Buffer"): + return self.Path.cast( + "string", max_length=self.Path.vol.count, encoding="utf-16le" + ) + + try: + file_path_raw = ( + self._context.layers[self.vol.native_layer_name].read( + self.Path.Buffer, self.Path.Length + ) + or b"" + ) + self._file_path = file_path_raw.decode("utf-16", errors="replace") + except exceptions.InvalidAddressException: + self._file_path = renderers.UnreadableValue() + + return self._file_path + + def is_valid(self) -> bool: + """Shim cache validation is limited to ensuring that a subset of the + pointers in the LIST_ENTRY field are valid (similar to validation of + ERESOURCE)""" + + # shim entries on Windows XP do not have list entry attributes; in this case, + # perform a different set of validations + try: + if not hasattr(self, "ListEntry"): + return bool(self.last_modified and self.last_update and self.file_size) + + # on some platforms ListEntry.Blink is null, so this cannot be validated + if ( + self.ListEntry.Flink != 0 + and ( + self.ListEntry.Blink.dereference() + != self.ListEntry.Flink.dereference() + ) + and ( + self.ListEntry.Flink.Blink + == self.ListEntry.Flink.Blink.dereference().vol.offset + ) + ): + + return True + else: + return False + except exceptions.InvalidAddressException: + return False + + +class SHIM_CACHE_HANDLE(objects.StructType): + def __init__( + self, + context: interfaces.context.ContextInterface, + type_name: str, + object_info: interfaces.objects.ObjectInformation, + size: int, + members: Dict[str, Tuple[int, interfaces.objects.Template]], + ) -> None: + super().__init__(context, type_name, object_info, size, members) + + @property + def head(self) -> Optional[SHIM_CACHE_ENTRY]: + try: + if not self.eresource.is_valid(): + return None + except exceptions.InvalidAddressException: + return None + + rtl_avl_table = self._context.object( + self.get_symbol_table_name() + constants.BANG + "_RTL_AVL_TABLE", + self.vol.layer_name, + self.rtl_avl_table, + self.vol.native_layer_name, + ) + + if not self._context.layers[self.vol.layer_name].is_valid( + self.rtl_avl_table.vol.offset + ): + return None + + offset_head = rtl_avl_table.vol.offset + rtl_avl_table.vol.size + + head = self._context.object( + self.get_symbol_table_name() + constants.BANG + "SHIM_CACHE_ENTRY", + self.vol.layer_name, + offset_head, + ) + + if not head.is_valid(): + return None + + return head + + def is_valid(self, avl_section_start: int, avl_section_end: int) -> bool: + if self.vol.offset == 0: + return False + + vollog.debug(f"Checking SHIM_CACHE_HANDLE validity @ {hex(self.vol.offset)}") + + if not ( + self._context.layers[self.vol.layer_name].is_valid(self.vol.offset) + and self.eresource.is_valid() + and self.rtl_avl_table.is_valid(avl_section_start, avl_section_end) + and self.head + ): + return False + + return self.head.is_valid() + + +class RTL_AVL_TABLE(objects.StructType): + def is_valid(self, page_start: int, page_end: int) -> bool: + try: + if self.BalancedRoot.Parent != self.BalancedRoot.vol.offset: + vollog.debug( + f"RTL_AVL_TABLE @ {self.vol.offset} Invalid: Failed BalancedRoot parent equality check" + ) + return False + + elif self.AllocateRoutine < page_start or self.AllocateRoutine > page_end: + vollog.debug( + f"RTL_AVL_TABLE @ {self.vol.offset} Invalid: Failed AllocateRoutine range check" + ) + return False + + elif self.CompareRoutine < page_start or self.CompareRoutine > page_end: + vollog.debug( + f"RTL_AVL_TABLE @ {self.vol.offset} Invalid: Failed CompareRoutine range check" + ) + return False + + elif ( + (self.AllocateRoutine.vol.offset == self.CompareRoutine.vol.offset) + or (self.AllocateRoutine.vol.offset == self.FreeRoutine.vol.offset) + or (self.CompareRoutine.vol.offset == self.FreeRoutine.vol.offset) + ): + vollog.debug( + f"RTL_AVL_TABLE @ {self.vol.offset} Invalid: Failed (Compare|Allocate|Free)Routine uniqueness check" + ) + return False + + return True + except exceptions.InvalidAddressException: + return False + + +class_types = { + "SHIM_CACHE_HANDLE": SHIM_CACHE_HANDLE, + "SHIM_CACHE_ENTRY": SHIM_CACHE_ENTRY, + "_RTL_AVL_TABLE": RTL_AVL_TABLE, +} diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-2003-x64.json b/volatility3/framework/symbols/windows/shimcache/shimcache-2003-x64.json new file mode 100644 index 000000000..d1540f12f --- /dev/null +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-2003-x64.json @@ -0,0 +1,327 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_RTL_BALANCED_LINKS": { + "fields": { + "Parent": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 0 + }, + "LeftChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 8 + }, + "RightChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 16 + }, + "Balance": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "Reserved": { + "type": { + "kind": "array", + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 25 + } + }, + "kind": "struct", + "size": 32 + }, + "_RTL_AVL_TABLE": { + "fields": { + "BalancedRoot": { + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + }, + "offset": 0 + }, + "OrderedPointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 32 + }, + "WhichOrderedElement": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "NumberGenericTableElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "DepthOfTree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "RestartKey": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 56 + }, + "DeleteCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "CompareRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 72 + }, + "AllocateRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 80 + }, + "FreeRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 88 + }, + "TableContext": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "SHIM_CACHE_HANDLE": { + "fields": { + "eresource": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ERESOURCE" + } + }, + "offset": 0 + }, + "rtl_avl_table": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_AVL_TABLE" + } + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "__unnamed_2": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "SHIM_CACHE_ENTRY": { + "fields": { + "ListEntry": { + "offset": 0, + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "Path": { + "offset": 16, + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + } + }, + "LastModified": { + "offset": 32, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "FileSize": { + "offset": 40, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 48 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona by hand", + "datetime": "2024-07-05T18:28:00.000000+00:00" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-2003-x86.json b/volatility3/framework/symbols/windows/shimcache/shimcache-2003-x86.json new file mode 100644 index 000000000..e4739c4a0 --- /dev/null +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-2003-x86.json @@ -0,0 +1,334 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_RTL_BALANCED_LINKS": { + "fields": { + "Parent": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 0 + }, + "LeftChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 4 + }, + "RightChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 8 + }, + "Balance": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Reserved": { + "type": { + "kind": "array", + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_RTL_AVL_TABLE": { + "fields": { + "BalancedRoot": { + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + }, + "offset": 0 + }, + "OrderedPointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 16 + }, + "WhichOrderedElement": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "NumberGenericTableElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "DepthOfTree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "RestartKey": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 32 + }, + "DeleteCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "CompareRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 40 + }, + "AllocateRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 44 + }, + "FreeRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 48 + }, + "TableContext": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 52 + } + }, + "kind": "struct", + "size": 56 + }, + "SHIM_CACHE_HANDLE": { + "fields": { + "eresource": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ERESOURCE" + } + }, + "offset": 0 + }, + "rtl_avl_table": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_AVL_TABLE" + } + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 8 + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "__unnamed_2": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "SHIM_CACHE_ENTRY": { + "fields": { + "ListEntry": { + "offset": 0, + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "Path": { + "offset": 8, + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + } + }, + "LastModified": { + "offset": 16, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "FileSize": { + "offset": 24, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "Padding": { + "offset": 32, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 36 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona by hand", + "datetime": "2024-07-05T18:28:00.000000+00:00" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-vista-x64.json b/volatility3/framework/symbols/windows/shimcache/shimcache-vista-x64.json new file mode 100644 index 000000000..0c5183a4a --- /dev/null +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-vista-x64.json @@ -0,0 +1,334 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_RTL_BALANCED_LINKS": { + "fields": { + "Parent": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 0 + }, + "LeftChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 8 + }, + "RightChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 16 + }, + "Balance": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "Reserved": { + "type": { + "kind": "array", + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 25 + } + }, + "kind": "struct", + "size": 32 + }, + "_RTL_AVL_TABLE": { + "fields": { + "BalancedRoot": { + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + }, + "offset": 0 + }, + "OrderedPointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 32 + }, + "WhichOrderedElement": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "NumberGenericTableElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "DepthOfTree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "RestartKey": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 56 + }, + "DeleteCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "CompareRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 72 + }, + "AllocateRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 80 + }, + "FreeRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 88 + }, + "TableContext": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "SHIM_CACHE_HANDLE": { + "fields": { + "eresource": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ERESOURCE" + } + }, + "offset": 0 + }, + "rtl_avl_table": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_AVL_TABLE" + } + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "__unnamed_2": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "SHIM_CACHE_ENTRY": { + "fields": { + "ListEntry": { + "offset": 0, + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "Path": { + "offset": 16, + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + } + }, + "LastModified": { + "offset": 32, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "InsertFlags": { + "offset": 40, + "type": { + "kind": "base", + "name": "unsigned int" + } + }, + "ShimFlags": { + "offset": 44, + "type": { + "kind": "base", + "name": "unsigned int" + } + } + }, + "kind": "struct", + "size": 48 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona by hand", + "datetime": "2024-07-05T18:28:00.000000+00:00" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-vista-x86.json b/volatility3/framework/symbols/windows/shimcache/shimcache-vista-x86.json new file mode 100644 index 000000000..91290b1ba --- /dev/null +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-vista-x86.json @@ -0,0 +1,334 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_RTL_BALANCED_LINKS": { + "fields": { + "Parent": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 0 + }, + "LeftChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 4 + }, + "RightChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 8 + }, + "Balance": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Reserved": { + "type": { + "kind": "array", + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_RTL_AVL_TABLE": { + "fields": { + "BalancedRoot": { + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + }, + "offset": 0 + }, + "OrderedPointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 16 + }, + "WhichOrderedElement": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "NumberGenericTableElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "DepthOfTree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "RestartKey": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 32 + }, + "DeleteCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "CompareRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 40 + }, + "AllocateRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 44 + }, + "FreeRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 48 + }, + "TableContext": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 52 + } + }, + "kind": "struct", + "size": 56 + }, + "SHIM_CACHE_HANDLE": { + "fields": { + "eresource": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ERESOURCE" + } + }, + "offset": 0 + }, + "rtl_avl_table": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_AVL_TABLE" + } + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 8 + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "__unnamed_2": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "SHIM_CACHE_ENTRY": { + "fields": { + "ListEntry": { + "offset": 0, + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "Path": { + "offset": 8, + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + } + }, + "LastModified": { + "offset": 16, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "InsertFlags": { + "offset": 24, + "type": { + "kind": "base", + "name": "unsigned int" + } + }, + "ShimFlags": { + "offset": 28, + "type": { + "kind": "base", + "name": "unsigned int" + } + } + }, + "kind": "struct", + "size": 36 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona by hand", + "datetime": "2024-07-05T18:28:00.000000+00:00" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-win10-x64.json b/volatility3/framework/symbols/windows/shimcache/shimcache-win10-x64.json new file mode 100644 index 000000000..fe9593af3 --- /dev/null +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-win10-x64.json @@ -0,0 +1,371 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_RTL_BALANCED_LINKS": { + "fields": { + "Parent": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 0 + }, + "LeftChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 8 + }, + "RightChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 16 + }, + "Balance": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "Reserved": { + "type": { + "kind": "array", + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 25 + } + }, + "kind": "struct", + "size": 32 + }, + "_RTL_AVL_TABLE": { + "fields": { + "BalancedRoot": { + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + }, + "offset": 0 + }, + "OrderedPointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 32 + }, + "WhichOrderedElement": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "NumberGenericTableElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "DepthOfTree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "RestartKey": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 56 + }, + "DeleteCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "CompareRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 72 + }, + "AllocateRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 80 + }, + "FreeRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 88 + }, + "TableContext": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "SHIM_CACHE_HANDLE": { + "fields": { + "eresource": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ERESOURCE" + } + }, + "offset": 0 + }, + "rtl_avl_table": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_AVL_TABLE" + } + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "__unnamed_2": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "SHIM_CACHE_ENTRY": { + "fields": { + "ListEntry": { + "offset": 0, + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "u1": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "Path": { + "offset": 24, + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + } + }, + "ListEntryDetail": { + "offset": 40, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "SHIM_CACHE_ENTRY_DETAIL" + } + } + } + }, + "kind": "struct", + "size": 48 + }, + "SHIM_CACHE_ENTRY_DETAIL": { + "fields": { + "u1": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "LastModified": { + "offset": 8, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "BlobSize": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "u2": { + "offset": 20, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "BlobBuffer": { + "offset": 24, + "type": { + "kind": "base", + "name": "unsigned long long" + } + } + }, + "kind": "struct", + "size": 32 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona by hand", + "datetime": "2024-07-05T18:28:00.000000+00:00" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-win10-x86.json b/volatility3/framework/symbols/windows/shimcache/shimcache-win10-x86.json new file mode 100644 index 000000000..26d493c37 --- /dev/null +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-win10-x86.json @@ -0,0 +1,371 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "SHIM_CACHE_HANDLE": { + "fields": { + "eresource": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ERESOURCE" + } + }, + "offset": 0 + }, + "rtl_avl_table": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_AVL_TABLE" + } + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_RTL_BALANCED_LINKS": { + "fields": { + "Parent": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 0 + }, + "LeftChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 4 + }, + "RightChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 8 + }, + "Balance": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Reserved": { + "type": { + "kind": "array", + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_RTL_AVL_TABLE": { + "fields": { + "BalancedRoot": { + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + }, + "offset": 0 + }, + "OrderedPointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 16 + }, + "WhichOrderedElement": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "NumberGenericTableElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "DepthOfTree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "RestartKey": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 32 + }, + "DeleteCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "CompareRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 40 + }, + "AllocateRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 44 + }, + "FreeRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 48 + }, + "TableContext": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 52 + } + }, + "kind": "struct", + "size": 56 + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "__unnamed_2": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "SHIM_CACHE_ENTRY": { + "fields": { + "ListEntry": { + "offset": 0, + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "u1": { + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "Path": { + "offset": 12, + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + } + }, + "ListEntryDetail": { + "offset": 20, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "SHIM_CACHE_ENTRY_DETAIL" + } + } + } + }, + "kind": "struct", + "size": 24 + }, + "SHIM_CACHE_ENTRY_DETAIL": { + "fields": { + "u1": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "InsertFlags": { + "offset": 4, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "LastModified": { + "offset": 8, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "BlobSize": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "BlobBuffer": { + "offset": 20, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 24 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona by hand", + "datetime": "2024-07-05T18:28:00.000000+00:00" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-win7-x64.json b/volatility3/framework/symbols/windows/shimcache/shimcache-win7-x64.json new file mode 100644 index 000000000..eac5407ba --- /dev/null +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-win7-x64.json @@ -0,0 +1,348 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_RTL_BALANCED_LINKS": { + "fields": { + "Parent": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 0 + }, + "LeftChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 8 + }, + "RightChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 16 + }, + "Balance": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "Reserved": { + "type": { + "kind": "array", + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 25 + } + }, + "kind": "struct", + "size": 32 + }, + "_RTL_AVL_TABLE": { + "fields": { + "BalancedRoot": { + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + }, + "offset": 0 + }, + "OrderedPointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 32 + }, + "WhichOrderedElement": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "NumberGenericTableElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "DepthOfTree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "RestartKey": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 56 + }, + "DeleteCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "CompareRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 72 + }, + "AllocateRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 80 + }, + "FreeRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 88 + }, + "TableContext": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "SHIM_CACHE_HANDLE": { + "fields": { + "eresource": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ERESOURCE" + } + }, + "offset": 0 + }, + "rtl_avl_table": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_AVL_TABLE" + } + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 8 + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "__unnamed_2": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "SHIM_CACHE_ENTRY": { + "fields": { + "ListEntry": { + "offset": 0, + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "Path": { + "offset": 16, + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + } + }, + "LastModified": { + "offset": 32, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "InsertFlags": { + "offset": 40, + "type": { + "kind": "base", + "name": "unsigned int" + } + }, + "ShimFlags": { + "offset": 44, + "type": { + "kind": "base", + "name": "unsigned int" + } + }, + "BlobSize": { + "offset": 48, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "BlobBuffer": { + "offset": 56, + "type": { + "kind": "base", + "name": "unsigned long long" + } + } + }, + "kind": "struct", + "size": 64 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona by hand", + "datetime": "2024-07-05T18:28:00.000000+00:00" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-win7-x86.json b/volatility3/framework/symbols/windows/shimcache/shimcache-win7-x86.json new file mode 100644 index 000000000..423f7e255 --- /dev/null +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-win7-x86.json @@ -0,0 +1,348 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_RTL_BALANCED_LINKS": { + "fields": { + "Parent": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 0 + }, + "LeftChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 4 + }, + "RightChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 8 + }, + "Balance": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Reserved": { + "type": { + "kind": "array", + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_RTL_AVL_TABLE": { + "fields": { + "BalancedRoot": { + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + }, + "offset": 0 + }, + "OrderedPointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 16 + }, + "WhichOrderedElement": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "NumberGenericTableElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "DepthOfTree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "RestartKey": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 32 + }, + "DeleteCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "CompareRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 40 + }, + "AllocateRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 44 + }, + "FreeRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 48 + }, + "TableContext": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 52 + } + }, + "kind": "struct", + "size": 56 + }, + "SHIM_CACHE_HANDLE": { + "fields": { + "eresource": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ERESOURCE" + } + }, + "offset": 0 + }, + "rtl_avl_table": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_AVL_TABLE" + } + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "__unnamed_2": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "SHIM_CACHE_ENTRY": { + "fields": { + "ListEntry": { + "offset": 0, + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "Path": { + "offset": 8, + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + } + }, + "LastModified": { + "offset": 16, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "InsertFlags": { + "offset": 24, + "type": { + "kind": "base", + "name": "unsigned int" + } + }, + "ShimFlags": { + "offset": 28, + "type": { + "kind": "base", + "name": "unsigned int" + } + }, + "BlobSize": { + "offset": 32, + "type": { + "kind": "base", + "name": "unsigned int" + } + }, + "BlobBuffer": { + "offset": 36, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 40 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona by hand", + "datetime": "2024-07-05T18:28:00.000000+00:00" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-win8-x64.json b/volatility3/framework/symbols/windows/shimcache/shimcache-win8-x64.json new file mode 100644 index 000000000..a40c8d680 --- /dev/null +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-win8-x64.json @@ -0,0 +1,392 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_RTL_BALANCED_LINKS": { + "fields": { + "Parent": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 0 + }, + "LeftChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 8 + }, + "RightChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 16 + }, + "Balance": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "Reserved": { + "type": { + "kind": "array", + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 25 + } + }, + "kind": "struct", + "size": 32 + }, + "_RTL_AVL_TABLE": { + "fields": { + "BalancedRoot": { + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + }, + "offset": 0 + }, + "OrderedPointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 32 + }, + "WhichOrderedElement": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "NumberGenericTableElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "DepthOfTree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "RestartKey": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 56 + }, + "DeleteCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "CompareRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 72 + }, + "AllocateRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 80 + }, + "FreeRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 88 + }, + "TableContext": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "SHIM_CACHE_HANDLE": { + "fields": { + "eresource": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ERESOURCE" + } + }, + "offset": 0 + }, + "rtl_avl_table": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_AVL_TABLE" + } + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 8 + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "__unnamed_2": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "SHIM_CACHE_ENTRY": { + "fields": { + "ListEntry": { + "offset": 0, + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "u1": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "Path": { + "offset": 24, + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + } + }, + "u2": { + "offset": 40, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "u3": { + "offset": 48, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "ListEntryDetail": { + "offset": 56, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "SHIM_CACHE_ENTRY_DETAIL" + } + } + } + }, + "kind": "struct", + "size": 64 + }, + "SHIM_CACHE_ENTRY_DETAIL": { + "fields": { + "LastModified": { + "offset": 0, + "type": { + "kind": "struct", + "name": "_LARGE_INTEGER" + } + }, + "InsertFlags": { + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned int" + } + }, + "ShimFlags": { + "offset": 12, + "type": { + "kind": "base", + "name": "unsigned int" + } + }, + "BlobSize": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "Padding": { + "offset": 24, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "BlobBuffer": { + "offset": 32, + "type": { + "kind": "base", + "name": "unsigned long long" + } + } + }, + "kind": "struct", + "size": 40 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona by hand", + "datetime": "2024-07-05T18:28:00.000000+00:00" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-win8-x86.json b/volatility3/framework/symbols/windows/shimcache/shimcache-win8-x86.json new file mode 100644 index 000000000..c3cee5feb --- /dev/null +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-win8-x86.json @@ -0,0 +1,386 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_RTL_BALANCED_LINKS": { + "fields": { + "Parent": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 0 + }, + "LeftChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 4 + }, + "RightChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 8 + }, + "Balance": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Reserved": { + "type": { + "kind": "array", + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_RTL_AVL_TABLE": { + "fields": { + "BalancedRoot": { + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + }, + "offset": 0 + }, + "OrderedPointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 16 + }, + "WhichOrderedElement": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "NumberGenericTableElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "DepthOfTree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "RestartKey": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 32 + }, + "DeleteCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "CompareRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 40 + }, + "AllocateRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 44 + }, + "FreeRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 48 + }, + "TableContext": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 52 + } + }, + "kind": "struct", + "size": 56 + }, + "SHIM_CACHE_HANDLE": { + "fields": { + "eresource": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ERESOURCE" + } + }, + "offset": 0 + }, + "rtl_avl_table": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_AVL_TABLE" + } + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "__unnamed_2": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "SHIM_CACHE_ENTRY": { + "fields": { + "ListEntry": { + "offset": 0, + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "u1": { + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "u2": { + "offset": 12, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "Path": { + "offset": 16, + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + } + }, + "u3": { + "offset": 24, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "ListEntryDetail": { + "offset": 32, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "SHIM_CACHE_ENTRY_DETAIL" + } + } + } + }, + "kind": "struct", + "size": 36 + }, + "SHIM_CACHE_ENTRY_DETAIL": { + "fields": { + "LastModified": { + "offset": 0, + "type": { + "kind": "struct", + "name": "_LARGE_INTEGER" + } + }, + "InsertFlags": { + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned int" + } + }, + "ShimFlags": { + "offset": 12, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "BlobSize": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "BlobBuffer": { + "offset": 20, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 24 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona by hand", + "datetime": "2024-07-05T18:28:00.000000+00:00" + }, + "format": "4.0.0" + } +} + diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-xp-sp2-x86.json b/volatility3/framework/symbols/windows/shimcache/shimcache-xp-sp2-x86.json new file mode 100644 index 000000000..6114e6c85 --- /dev/null +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-xp-sp2-x86.json @@ -0,0 +1,485 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "__unnamed_2": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "_RTL_BALANCED_LINKS": { + "fields": { + "Parent": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 0 + }, + "LeftChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 4 + }, + "RightChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 8 + }, + "Balance": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Reserved": { + "type": { + "kind": "array", + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_RTL_AVL_TABLE": { + "fields": { + "BalancedRoot": { + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + }, + "offset": 0 + }, + "OrderedPointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 16 + }, + "WhichOrderedElement": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "NumberGenericTableElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "DepthOfTree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "RestartKey": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 32 + }, + "DeleteCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "CompareRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 40 + }, + "AllocateRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 44 + }, + "FreeRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 48 + }, + "TableContext": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 52 + } + }, + "kind": "struct", + "size": 56 + }, + "SHIM_CACHE_HANDLE": { + "fields": { + "eresource": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ERESOURCE" + } + }, + "offset": 0 + }, + "rtl_avl_table": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_AVL_TABLE" + } + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "SHIM_CACHE_HEADER": { + "fields": { + "Magic": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 0 + }, + "u1": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 4 + }, + "NumEntries": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 8 + }, + "u2": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 400 + }, + "SHIM_CACHE_ENTRY": { + "fields": { + "Path": { + "type": { + "count": 520, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "LastModified": { + "type": { + "kind": "union", + "name": "LARGE_INTEGER" + }, + "offset": 4 + }, + "FileSize": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 8 + }, + "LastUpdate": { + "type": { + "kind": "union", + "name": "LARGE_INTEGER" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 552 + }, + "_SEGMENT": { + "fields": { + "ControlArea": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CONTROL_AREA" + } + } + }, + "TotalNumberOfPtes": { + "offset": 4, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "NonExtendedPtes": { + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "WritableUserReferences": { + "offset": 12, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "SizeOfSegment": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "SegmentPteTemplate": { + "offset": 24, + "type": { + "kind": "struct", + "name": "nt_symbols!_MMPTE" + } + }, + "NumberOfCommittedPages": { + "offset": 28, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ExtendInfo": { + "offset": 32, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MMEXTEND_INFO" + } + } + }, + "SystemImageBase": { + "offset": 36, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + }, + "BasedAddress": { + "offset": 40, + "type": { + "kind": "base", + "name": "long" + } + }, + "u1": { + "offset": 44, + "type": { + "kind": "base", + "name": "long" + } + }, + "u2": { + "offset": 48, + "type": { + "kind": "base", + "name": "long" + } + }, + "PrototypePte": { + "offset": 52, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MMPTE" + } + } + }, + "ThePtes": { + "offset": 60, + "type": { + "kind": "array", + "count": 1, + "subtype": { + "kind": "base", + "name": "nt_symbols!_MMPTE" + } + } + } + }, + "kind": "struct", + "size": 64 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona by hand", + "datetime": "2024-07-05T18:28:00.000000+00:00" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-xp-sp3-x86.json b/volatility3/framework/symbols/windows/shimcache/shimcache-xp-sp3-x86.json new file mode 100644 index 000000000..a9b86d93c --- /dev/null +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-xp-sp3-x86.json @@ -0,0 +1,485 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "__unnamed_2": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "_RTL_BALANCED_LINKS": { + "fields": { + "Parent": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 0 + }, + "LeftChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 4 + }, + "RightChild": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 8 + }, + "Balance": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Reserved": { + "type": { + "kind": "array", + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_RTL_AVL_TABLE": { + "fields": { + "BalancedRoot": { + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + }, + "offset": 0 + }, + "OrderedPointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 16 + }, + "WhichOrderedElement": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "NumberGenericTableElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "DepthOfTree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "RestartKey": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_LINKS" + } + }, + "offset": 32 + }, + "DeleteCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "CompareRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 40 + }, + "AllocateRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 44 + }, + "FreeRoutine": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 48 + }, + "TableContext": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 52 + } + }, + "kind": "struct", + "size": 56 + }, + "SHIM_CACHE_HEADER": { + "fields": { + "Magic": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 0 + }, + "u1": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 4 + }, + "NumEntries": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 8 + }, + "u2": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 400 + }, + "SHIM_CACHE_ENTRY": { + "fields": { + "Path": { + "type": { + "count": 520, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "LastModified": { + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + }, + "offset": 528 + }, + "FileSize": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 536 + }, + "LastUpdate": { + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + }, + "offset": 544 + } + }, + "kind": "struct", + "size": 552 + }, + "SHIM_CACHE_HANDLE": { + "fields": { + "eresource": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!ERESOURCE" + } + }, + "offset": 0 + }, + "rtl_avl_table": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_AVL_TABLE" + } + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_SEGMENT": { + "fields": { + "ControlArea": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CONTROL_AREA" + } + } + }, + "TotalNumberOfPtes": { + "offset": 4, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "NonExtendedPtes": { + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "WritableUserReferences": { + "offset": 12, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "SizeOfSegment": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "SegmentPteTemplate": { + "offset": 24, + "type": { + "kind": "struct", + "name": "nt_symbols!_MMPTE" + } + }, + "NumberOfCommittedPages": { + "offset": 32, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ExtendInfo": { + "offset": 36, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MMEXTEND_INFO" + } + } + }, + "SystemImageBase": { + "offset": 40, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + }, + "BasedAddress": { + "offset": 44, + "type": { + "kind": "base", + "name": "long" + } + }, + "u1": { + "offset": 48, + "type": { + "kind": "base", + "name": "long" + } + }, + "u2": { + "offset": 52, + "type": { + "kind": "base", + "name": "long" + } + }, + "PrototypePte": { + "offset": 56, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MMPTE" + } + } + }, + "ThePtes": { + "offset": 64, + "type": { + "kind": "array", + "count": 1, + "subtype": { + "kind": "base", + "name": "nt_symbols!_MMPTE" + } + } + } + }, + "kind": "struct", + "size": 72 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona by hand", + "datetime": "2024-07-05T18:28:00.000000+00:00" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/versions.py b/volatility3/framework/symbols/windows/versions.py index e1e74afc0..78e90a1d4 100644 --- a/volatility3/framework/symbols/windows/versions.py +++ b/volatility3/framework/symbols/windows/versions.py @@ -114,6 +114,24 @@ is_windows_xp = OsDistinguisher( ], ) +is_windows_xp_sp2 = OsDistinguisher( + version_check=lambda x: (5, 1) <= x < (5, 2), + fallback_checks=[ + ("KdCopyDataBlock", None, False), + ("_MMFREE_POOL_ENTRY", None, False), + ("_HANDLE_TABLE", "HandleCount", True), + ], +) + +is_windows_xp_sp3 = OsDistinguisher( + version_check=lambda x: (5, 1) <= x < (5, 2), + fallback_checks=[ + ("KdCopyDataBlock", None, False), + ("_MMFREE_POOL_ENTRY", None, True), + ("_HANDLE_TABLE", "HandleCount", True), + ], +) + is_xp_or_2003 = OsDistinguisher( version_check=lambda x: (5, 1) <= x < (6, 0), fallback_checks=[ @@ -122,6 +140,15 @@ is_xp_or_2003 = OsDistinguisher( ], ) +is_2003 = OsDistinguisher( + version_check=lambda x: (5, 2) <= x < (5, 3), + fallback_checks=[ + ("KdCopyDataBlock", None, False), + ("_HANDLE_TABLE", "HandleCount", True), + ("_MM_AVL_TABLE", None, True), + ], +) + is_win10_up_to_15063 = OsDistinguisher( version_check=lambda x: (10, 0) <= x < (10, 0, 15063), fallback_checks=[ From 4048d0b122eb9030a011012fd4f1ff59d1e0ca46 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 9 Jul 2024 11:43:29 -0500 Subject: [PATCH 0530/2186] Windows: Adds shimcachemem plugin --- .../framework/plugins/windows/shimcachemem.py | 610 ++++++++++++++++++ 1 file changed, 610 insertions(+) create mode 100644 volatility3/framework/plugins/windows/shimcachemem.py diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py new file mode 100644 index 000000000..6afaf4356 --- /dev/null +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -0,0 +1,610 @@ +# This file is Copyright 2020 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +import os +from datetime import datetime +from itertools import count +from typing import Iterator, List, Optional, Tuple + +from volatility3.framework import constants, exceptions, interfaces, renderers, symbols +from volatility3.framework.configuration import requirements +from volatility3.framework.objects.utility import array_to_string +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.windows import versions +from volatility3.framework.symbols.windows.extensions import pe, shimcache +from volatility3.plugins import timeliner +from volatility3.plugins.windows import modules, pslist, vadinfo + +# from volatility3.plugins.windows import pslist, vadinfo, modules + +vollog = logging.getLogger(__name__) + + +class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): + """Reads Shimcache entries from the ahcache.sys AVL tree""" + + _required_framework_version = (2, 0, 0) + + # These checks must be completed from newest -> oldest OS version. + _win_version_file_map: List[Tuple[versions.OsDistinguisher, bool, str]] = [ + (versions.is_win10, True, "shimcache-win10-x64"), + (versions.is_win10, False, "shimcache-win10-x86"), + (versions.is_windows_8_or_later, True, "shimcache-win8-x64"), + (versions.is_windows_8_or_later, False, "shimcache-win8-x86"), + (versions.is_windows_7, True, "shimcache-win7-x64"), + (versions.is_windows_7, False, "shimcache-win7-x86"), + (versions.is_vista_or_later, True, "shimcache-vista-x64"), + (versions.is_vista_or_later, False, "shimcache-vista-x86"), + (versions.is_2003, False, "shimcache-2003-x86"), + (versions.is_2003, True, "shimcache-2003-x64"), + (versions.is_windows_xp_sp3, False, "shimcache-xp-sp3-x86"), + (versions.is_windows_xp_sp2, False, "shimcache-xp-sp2-x86"), + (versions.is_xp_or_2003, True, "shimcache-xp-2003-x64"), + (versions.is_xp_or_2003, False, "shimcache-xp-2003-x86"), + ] + + NT_KRNL_MODS = ["ntoskrnl.exe", "ntkrnlpa.exe", "ntkrnlmp.exe", "ntkrpamp.exe"] + + def generate_timeline( + self, + ) -> Iterator[Tuple[str, timeliner.TimeLinerType, datetime]]: + for _, (_, last_modified, last_update, _, _, file_path) in self._generator(): + if isinstance(last_update, datetime): + yield f"Shimcache: File {file_path} executed", timeliner.TimeLinerType.ACCESSED, last_update + if isinstance(last_modified, datetime): + yield f"Shimcache: File {file_path} modified", timeliner.TimeLinerType.MODIFIED, last_modified + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(2, 0, 0) + ), + ] + + @staticmethod + def create_shimcache_table( + context: interfaces.context.ContextInterface, + symbol_table: str, + config_path: str, + ) -> str: + """Creates a shimcache symbol table + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + symbol_table: The name of an existing symbol table containing the kernel symbols + config_path: The configuration path within the context of the symbol table to create + + Returns: + The name of the constructed shimcache table + """ + native_types = context.symbol_space[symbol_table].natives + is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) + table_mapping = {"nt_symbols": symbol_table} + + try: + symbol_filename = next( + filename + for version_check, for_64bit, filename in ShimcacheMem._win_version_file_map + if is_64bit == for_64bit + and version_check(context=context, symbol_table=symbol_table) + ) + except StopIteration: + raise NotImplementedError("This version of Windows is not supported!") + + vollog.debug(f"Using shimcache table {symbol_filename}") + + return intermed.IntermediateSymbolTable.create( + context, + config_path, + os.path.join("windows", "shimcache"), + symbol_filename, + class_types=shimcache.class_types, + native_types=native_types, + table_mapping=table_mapping, + ) + + @classmethod + def find_shimcache_win_xp( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + kernel_symbol_table: str, + shimcache_symbol_table: str, + ) -> Iterator[shimcache.SHIM_CACHE_ENTRY]: + """Attempts to find the shimcache in a Windows XP memory image + + :param context: The context to retrieve required elements (layers, symbol tables) from + :param layer_name: The name of the memory layer on which to operate. + :param kernel_symbol_table: The name of an existing symbol table containing the kernel symbols + :param shimcache_symbol_table: The name of a symbol table containing the hand-crafted shimcache symbols + """ + + SHIM_NUM_ENTRIES_OFFSET = 0x8 + SHIM_MAX_ENTRIES = 0x60 # 96 max entries in XP shim cache + SHIM_LRU_OFFSET = 0x10 + SHIM_HEADER_SIZE = 0x190 + SHIM_CACHE_ENTRY_SIZE = 0x228 + + seen = set() + + for process in pslist.PsList.list_processes( + context, layer_name, kernel_symbol_table + ): + pid = process.UniqueProcessId + vollog.debug("checking process %d" % pid) + for vad in vadinfo.VadInfo.list_vads( + process, lambda x: x.get_tag() == b"Vad " and x.Protection == 4 + ): + try: + proc_layer_name = process.add_process_layer() + proc_layer = context.layers[proc_layer_name] + except exceptions.InvalidAddressException: + continue + + try: + if proc_layer.read(vad.get_start(), 4) != b"\xEF\xBE\xAD\xDE": + if pid == 624: + vollog.debug("VAD magic bytes don't match DEADBEEF") + continue + except exceptions.InvalidAddressException: + continue + + num_entries = context.object( + shimcache_symbol_table + constants.BANG + "unsigned int", + proc_layer_name, + vad.get_start() + SHIM_NUM_ENTRIES_OFFSET, + ) + + if num_entries > SHIM_MAX_ENTRIES: + continue + + cache_idx_ptr = vad.get_start() + SHIM_LRU_OFFSET + + for _ in range(num_entries): + cache_idx_val = proc_layer.context.object( + shimcache_symbol_table + constants.BANG + "unsigned long", + proc_layer_name, + cache_idx_ptr, + ) + + cache_idx_ptr += 4 + + if cache_idx_val > SHIM_MAX_ENTRIES - 1: + continue + + shim_entry_offset = ( + vad.get_start() + + SHIM_HEADER_SIZE + + (SHIM_CACHE_ENTRY_SIZE * cache_idx_val) + ) + + if not proc_layer.is_valid(shim_entry_offset): + continue + + physical_addr = proc_layer.translate(shim_entry_offset) + + if physical_addr in seen: + continue + seen.add(physical_addr) + + shim_entry = proc_layer.context.object( + shimcache_symbol_table + constants.BANG + "SHIM_CACHE_ENTRY", + proc_layer_name, + shim_entry_offset, + ) + if not proc_layer.is_valid(shim_entry.vol.offset): + continue + if not shim_entry.is_valid(): + continue + + yield shim_entry + + @classmethod + def find_shimcache_win_2k3_to_7( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + kernel_layer_name: str, + nt_symbol_table: str, + shimcache_symbol_table: str, + ) -> Iterator[shimcache.SHIM_CACHE_ENTRY]: + """Implements the algorithm to search for the shim cache on Windows 2000 + (x64) through Windows 7 / 2008 R2. The algorithm consists of the following: + + 1) Find the NT kernel module's .data and PAGE sections + 2) Iterate over every 4/8 bytes (depending on OS bitness) in the .data + section and test for the following: + a) offset represents a valid RTL_AVL_TABLE object + b) RTL_AVL_TABLE is preceeded by an ERESOURCE object + c) RTL_AVL_TABLE is followed by the beginning of the SHIM LRU list + + :param context: The context to retrieve required elements (layers, symbol tables) from + :param layer_name: The name of the memory layer on which to operate. + :param kernel_symbol_table: The name of an existing symbol table containing the kernel symbols + :param shimcache_symbol_table: The name of a symbol table containing the hand-crafted shimcache symbols + """ + + data_sec = cls.get_module_section_range( + context, + config_path, + kernel_layer_name, + nt_symbol_table, + cls.NT_KRNL_MODS, + ".data", + ) + mod_page = cls.get_module_section_range( + context, + config_path, + kernel_layer_name, + nt_symbol_table, + cls.NT_KRNL_MODS, + "PAGE", + ) + + # We require both in order to accurately handle AVL table + if not (data_sec and mod_page): + return None + + data_sec_offset, data_sec_size = data_sec + mod_page_offset, mod_page_size = mod_page + + addr_size = 8 if symbols.symbol_table_is_64bit(context, nt_symbol_table) else 4 + + shim_head = None + for offset in range( + data_sec_offset, data_sec_offset + data_sec_size, addr_size + ): + shim_head = cls.try_get_shim_head_at_offset( + context, + shimcache_symbol_table, + nt_symbol_table, + kernel_layer_name, + mod_page_offset, + mod_page_offset + mod_page_size, + offset, + ) + + if shim_head: + break + + if not shim_head: + return + + for shim_entry in shim_head.ListEntry.to_list( + shimcache_symbol_table + constants.BANG + "SHIM_CACHE_ENTRY", "ListEntry" + ): + yield shim_entry + + @classmethod + def try_get_shim_head_at_offset( + cls, + context: interfaces.context.ContextInterface, + symbol_table: str, + kernel_symbol_table: str, + layer_name: str, + mod_page_start: int, + mod_page_end: int, + offset: int, + ) -> Optional[shimcache.SHIM_CACHE_ENTRY]: + """Attempts to construct a SHIM_CACHE_HEAD within a layer of the given context, + using the provided offset within that layer, as well as the start and end offsets + of the kernel module's `PAGE` section start and end offsets. + + If a number of validity checks are passed, this method will return the `SHIM_CACHE_HEAD` + object. Otherwise, `None` is returned. + """ + # print("checking RTL_AVL_TABLE at offset %s" % hex(offset)) + rtl_avl_table = context.object( + symbol_table + constants.BANG + "_RTL_AVL_TABLE", layer_name, offset + ) + if not rtl_avl_table.is_valid(mod_page_start, mod_page_end): + return None + + vollog.debug(f"Candidate RTL_AVL_TABLE found at offset {hex(offset)}") + + ersrc_size = context.symbol_space.get_type( + kernel_symbol_table + constants.BANG + "_ERESOURCE" + ).size + ersrc_alignment = ( + 0x20 + if symbols.symbol_table_is_64bit(context, kernel_symbol_table) + else 0x10 + # 0x20 if context.symbol_space.get_type("pointer").size == 8 else 0x10 + ) + vollog.debug( + f"ERESOURCE size: {hex(ersrc_size)}, ERESOURCE alignment: {hex(ersrc_alignment)}" + ) + + eresource_rel_off = ersrc_size + ((offset - ersrc_size) % ersrc_alignment) + eresource_offset = offset - eresource_rel_off + + vollog.debug("Constructing ERESOURCE at %s" % hex(eresource_offset)) + eresource = context.object( + kernel_symbol_table + constants.BANG + "_ERESOURCE", + layer_name, + eresource_offset, + ) + if not eresource.is_valid(): + vollog.debug("ERESOURCE Invalid") + return None + + shim_head_offset = offset + rtl_avl_table.vol.size + + if not context.layers[layer_name].is_valid(shim_head_offset): + return None + + shim_head = context.object( + symbol_table + constants.BANG + "SHIM_CACHE_ENTRY", + layer_name, + shim_head_offset, + ) + + if not shim_head.is_valid(): + vollog.debug("shim head invalid") + return None + else: + vollog.debug("returning shim head") + return shim_head + + @classmethod + def find_shimcache_win_8_or_later( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + kernel_layer_name: str, + nt_symbol_table: str, + shimcache_symbol_table: str, + ) -> Iterator[shimcache.SHIM_CACHE_ENTRY]: + """Attempts to locate and yield shimcache entries from a Windows 8 or later memory image. + + :param context: The context to retrieve required elements (layers, symbol tables) from + :param layer_name: The name of the memory layer on which to operate. + :param kernel_symbol_table: The name of an existing symbol table containing the kernel symbols + :param shimcache_symbol_table: The name of a symbol table containing the hand-crafted shimcache symbols + """ + + is_8_1_or_later = versions.is_windows_8_1_or_later( + context, nt_symbol_table + ) or versions.is_win10(context, nt_symbol_table) + + module_names = ["ahcache.sys"] if is_8_1_or_later else cls.NT_KRNL_MODS + vollog.debug(f"Searching for modules {module_names}") + + data_sec = cls.get_module_section_range( + context, + config_path, + kernel_layer_name, + nt_symbol_table, + module_names, + ".data", + ) + mod_page = cls.get_module_section_range( + context, + config_path, + kernel_layer_name, + nt_symbol_table, + module_names, + "PAGE", + ) + + if not (data_sec and mod_page): + return None + + mod_page_offset, mod_page_size = mod_page + data_sec_offset, data_sec_size = data_sec + + # iterate over ahcache kernel module's .data section in search of *two* SHIM handles + shim_heads = [] + + vollog.debug(f"PAGE offset: {hex(mod_page_offset)}") + vollog.debug(f".data offset: {hex(data_sec_offset)}") + + handle_type = context.symbol_space.get_type( + shimcache_symbol_table + constants.BANG + "SHIM_CACHE_HANDLE" + ) + for offset in range( + data_sec_offset, + data_sec_offset + data_sec_size, + 8 if symbols.symbol_table_is_64bit(context, nt_symbol_table) else 4, + ): + vollog.debug(f"Building shim handle pointer at {hex(offset)}") + shim_handle = context.object( + object_type=shimcache_symbol_table + constants.BANG + "pointer", + layer_name=kernel_layer_name, + subtype=handle_type, + offset=offset, + ) + + if shim_handle.is_valid(mod_page_offset, mod_page_offset + mod_page_size): + if shim_handle.head is not None: + vollog.debug( + f"Found valid shim handle @ {hex(shim_handle.vol.offset)}" + ) + shim_heads.append(shim_handle.head) + if len(shim_heads) == 2: + break + + if len(shim_heads) != 2: + vollog.debug("Failed to identify two valid SHIM_CACHE_HANDLE structures") + return + + # On Windows 8 x64, the frist cache contains the shim cache + # On Windows 8 x86, 8.1 x86/x64, and 10, the second cache contains the shim cache. + if ( + not symbols.symbol_table_is_64bit(context, nt_symbol_table) + and not is_8_1_or_later + ): + valid_head = shim_heads[1] + elif not is_8_1_or_later: + valid_head = shim_heads[0] + else: + valid_head = shim_heads[1] + + for shim_entry in valid_head.ListEntry.to_list( + shimcache_symbol_table + constants.BANG + "SHIM_CACHE_ENTRY", "ListEntry" + ): + if shim_entry.is_valid(): + yield shim_entry + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + shimcache_table_name = self.create_shimcache_table( + self.context, kernel.symbol_table_name, self.config_path + ) + + c = count() + + if versions.is_windows_8_or_later(self._context, kernel.symbol_table_name): + vollog.info("Finding shimcache entries for Windows 8.0+") + entries = self.find_shimcache_win_8_or_later( + self.context, + self.config_path, + kernel.layer_name, + kernel.symbol_table_name, + shimcache_table_name, + ) + + elif ( + versions.is_2003(self.context, kernel.symbol_table_name) + or versions.is_vista_or_later(self.context, kernel.symbol_table_name) + or versions.is_windows_7(self.context, kernel.symbol_table_name) + ): + vollog.info("Finding shimcache entries for Windows 2k3/Vista/7") + entries = self.find_shimcache_win_2k3_to_7( + self.context, + self.config_path, + kernel.layer_name, + kernel.symbol_table_name, + shimcache_table_name, + ) + + elif versions.is_windows_xp_sp2( + self._context, kernel.symbol_table_name + ) or versions.is_windows_xp_sp3(self.context, kernel.symbol_table_name): + vollog.info("Finding shimcache entries for WinXP") + entries = self.find_shimcache_win_xp( + self._context, + kernel.layer_name, + kernel.symbol_table_name, + shimcache_table_name, + ) + else: + vollog.warn("Cannot parse shimcache entries for this version of Windows") + return + + for entry in entries: + try: + vollog.debug(f"SHIM_CACHE_ENTRY type: {entry.__class__}") + shim_entry = ( + entry.last_modified, + entry.last_update, + entry.exec_flag, + ( + format_hints.Hex(entry.file_size) + if isinstance(entry.file_size, int) + else entry.file_size + ), + entry.file_path, + ) + except exceptions.InvalidAddressException: + continue + + yield ( + 0, + (next(c), *shim_entry), + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Order", int), + ("Last Modified", datetime), + ("Last Update", datetime), + ("Exec Flag", bool), + ("File Size", format_hints.Hex), + ("File Path", str), + ], + self._generator(), + ) + + @classmethod + def get_module_section_range( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + layer_name: str, + symbol_table: str, + module_list: List[str], + section_name: str, + ) -> Optional[Tuple[int, int]]: + """Locates the size and offset of the first found module section + specified by name from the list of modules. + + :param context: The context to operate on + :param layer_name: The memory layer to read from + :param module_list: A list of module names to search for the given section + :param section_name: The name of the section to search for. + + :return: The offset and size of the module, if found; Otherwise, returns `None` + """ + + try: + krnl_mod = next( + module + for module in modules.Modules.list_modules( + context, layer_name, symbol_table + ) + if module.BaseDllName.String in module_list + ) + except StopIteration: + return None + + pe_table_name = intermed.IntermediateSymbolTable.create( + context, + interfaces.configuration.path_join(config_path, "pe"), + "windows", + "pe", + class_types=pe.class_types, + ) + + # code taken from Win32KBase._section_chunks (win32_core.py) + dos_header = context.object( + pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", + layer_name, + offset=krnl_mod.DllBase, + ) + + if not dos_header: + return None + + nt_header = dos_header.get_nt_header() + + try: + section = next( + sec + for sec in nt_header.get_sections() + if section_name.lower() == array_to_string(sec.Name).lower() + ) + except StopIteration: + return None + + section_offset = krnl_mod.DllBase + section.VirtualAddress + section_size = section.Misc.VirtualSize + + return section_offset, section_size From 1508a414992ec958859ec5de84c3fbb51209d55f Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 18 Jul 2024 11:33:30 -0500 Subject: [PATCH 0531/2186] Move registry table init into the generator function --- .../framework/plugins/windows/registry/userassist.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index cf345c901..bd832b20c 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -286,6 +286,10 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac hive_offsets = [self.config.get("offset", None)] kernel = self.context.modules[self.config["kernel"]] + self._reg_table_name = intermed.IntermediateSymbolTable.create( + self.context, self._config_path, "windows", "registry" + ) + # get all the user hive offsets or use the one specified for hive in hivelist.HiveList.list_hives( context=self.context, @@ -337,10 +341,6 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac yield result def generate_timeline(self): - self._reg_table_name = intermed.IntermediateSymbolTable.create( - self.context, self._config_path, "windows", "registry" - ) - for row in self._generator(): _depth, row_data = row # check the name and the timestamp to not be empty @@ -351,10 +351,6 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac yield (description, timeliner.TimeLinerType.MODIFIED, row_data[10]) def run(self): - self._reg_table_name = intermed.IntermediateSymbolTable.create( - self.context, self._config_path, "windows", "registry" - ) - return renderers.TreeGrid( [ ("Hive Offset", renderers.format_hints.Hex), From 8da046530fd7ccd3f8a75fbe4e0b63d213207117 Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 18 Jul 2024 14:57:31 -0500 Subject: [PATCH 0532/2186] Address feedback --- .../framework/plugins/windows/svcdiff.py | 22 ++++--- .../framework/plugins/windows/svclist.py | 58 +++++++++++-------- .../framework/plugins/windows/svcscan.py | 43 ++++++++------ 3 files changed, 69 insertions(+), 54 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py index 809064946..c41a7b86c 100644 --- a/volatility3/framework/plugins/windows/svcdiff.py +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -20,8 +20,7 @@ from volatility3.framework.symbols.windows import versions vollog = logging.getLogger(__name__) - -class SvcDiff(svclist.SvcList, svcscan.SvcScan): +class SvcDiff(svcscan.SvcScan): """Compares services found through list walking versus scanning to find rootkits""" _required_framework_version = (2, 4, 0) @@ -39,22 +38,23 @@ class SvcDiff(svclist.SvcList, svcscan.SvcScan): name="svclist", component=svclist.SvcList, version=(1, 0, 0) ), requirements.VersionRequirement( - name="svcscan", component=svcscan.SvcScan, version=(2, 0, 0) + name="svcscan", component=svcscan.SvcScan, version=(3, 0, 0) ), ] def _generator(self): """ - Finds services by walking the services.exe list on supported Windows 10 versions + On Windows 10 version 15063+ 64bit Windows memory samples, walk the services list + and scan for services then report differences """ - kernel = self.context.modules[self.config["kernel"]] + kernel, service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() if not symbols.symbol_table_is_64bit( self.context, kernel.symbol_table_name ) or not versions.is_win10_15063_or_later( context=self.context, symbol_table=kernel.symbol_table_name ): - vollog.info( + vollog.warning( "This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples" ) return @@ -63,18 +63,16 @@ class SvcDiff(svclist.SvcList, svcscan.SvcScan): from_list = set() records = {} - service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() - # collect unique service names from scanning - for service in self.service_scan( - service_table_name, service_binary_dll_map, filter_func + for service in svcscan.SvcScan.service_scan( + self.context, kernel, service_table_name, service_binary_dll_map, filter_func ): from_scan.add(service[6]) records[service[6]] = service # collect services from listing walking - for service in self.service_list( - service_table_name, service_binary_dll_map, filter_func + for service in svclist.SvcList.service_list( + self.context, kernel, service_table_name, service_binary_dll_map, filter_func ): from_list.add(service[6]) diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index 1938dd182..832b3d129 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -4,7 +4,7 @@ import logging -from typing import List +from typing import List, Optional, Tuple from volatility3.framework import interfaces, exceptions, symbols from volatility3.framework.configuration import requirements @@ -20,16 +20,26 @@ class SvcList(svcscan.SvcScan): _version = (1, 0, 0) + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self._enumeration_method = self.service_list + @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: # Since we're calling the plugin, make sure we have the plugin's requirements return [ requirements.PluginRequirement( - name="svcscan", plugin=svcscan.SvcScan, version=(2, 0, 0) + name="svcscan", plugin=svcscan.SvcScan, version=(3, 0, 0) + ), + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], ), ] - def _get_exe_range(self, proc): + @classmethod + def _get_exe_range(cls, proc) -> Optional[Tuple[int, int]]: """ Returns a tuple of starting,ending address for the VAD containing services.exe @@ -45,21 +55,27 @@ class SvcList(svcscan.SvcScan): return None - def service_list(self, service_table_name, service_binary_dll_map, filter_func): - kernel = self.context.modules[self.config["kernel"]] - + @classmethod + def service_list( + cls, + context: interfaces.context.ContextInterface, + kernel, + service_table_name: str, + service_binary_dll_map, + filter_func, + ): if not symbols.symbol_table_is_64bit( - self.context, kernel.symbol_table_name + context, kernel.symbol_table_name ) or not versions.is_win10_15063_or_later( - context=self.context, symbol_table=kernel.symbol_table_name + context=context, symbol_table=kernel.symbol_table_name ): - vollog.info( + vollog.warning( "This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples" ) return for proc in pslist.PsList.list_processes( - context=self.context, + context=context, layer_name=kernel.layer_name, symbol_table=kernel.symbol_table_name, filter_func=filter_func, @@ -74,9 +90,9 @@ class SvcList(svcscan.SvcScan): ) continue - layer = self.context.layers[layer_name] + layer = context.layers[layer_name] - exe_range = self._get_exe_range(proc) + exe_range = cls._get_exe_range(proc) if not exe_range: vollog.warning( "Could not find the application executable VAD for services.exe. Unable to proceed." @@ -84,19 +100,15 @@ class SvcList(svcscan.SvcScan): continue for offset in layer.scan( - context=self.context, + context=context, scanner=scanners.BytesScanner(needle=b"Sc27"), sections=exe_range, ): - for record in self.enumerate_vista_or_later_header( - service_table_name, service_binary_dll_map, layer_name, offset + for record in cls.enumerate_vista_or_later_header( + context, + service_table_name, + service_binary_dll_map, + layer_name, + offset, ): yield record - - def _generator(self): - service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() - - for record in self.service_list( - service_table_name, service_binary_dll_map, filter_func - ): - yield (0, record) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 07274f03d..4368b83ce 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -39,7 +39,11 @@ class SvcScan(interfaces.plugins.PluginInterface): """Scans for windows services.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (3, 0, 0) + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self._enumeration_method = self.service_scan @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -232,13 +236,14 @@ class SvcScan(interfaces.plugins.PluginInterface): for service_key in services } + @classmethod def enumerate_vista_or_later_header( - self, service_table_name, service_binary_dll_map, proc_layer_name, offset + cls, context, service_table_name, service_binary_dll_map, proc_layer_name, offset ): if offset % 8: return - service_header = self.context.object( + service_header =context.object( service_table_name + constants.BANG + "_SERVICE_HEADER", offset=offset, layer_name=proc_layer_name, @@ -257,17 +262,16 @@ class SvcScan(interfaces.plugins.PluginInterface): renderers.UnreadableValue(), renderers.UnreadableValue() ), ) - yield self.get_record_tuple(service_record, service_info) + yield cls.get_record_tuple(service_record, service_info) - def service_scan(self, service_table_name, service_binary_dll_map, filter_func): - kernel = self.context.modules[self.config["kernel"]] - - relative_tag_offset = self.context.symbol_space.get_type( + @classmethod + def service_scan(cls, context: interfaces.context.ContextInterface, kernel, service_table_name: str, service_binary_dll_map, filter_func): + relative_tag_offset = context.symbol_space.get_type( service_table_name + constants.BANG + "_SERVICE_RECORD" ).relative_child_offset("Tag") is_vista_or_later = versions.is_vista_or_later( - context=self.context, symbol_table=kernel.symbol_table_name + context=context, symbol_table=kernel.symbol_table_name ) if is_vista_or_later: @@ -278,7 +282,7 @@ class SvcScan(interfaces.plugins.PluginInterface): seen = [] for task in pslist.PsList.list_processes( - context=self.context, + context=context, layer_name=kernel.layer_name, symbol_table=kernel.symbol_table_name, filter_func=filter_func, @@ -295,15 +299,15 @@ class SvcScan(interfaces.plugins.PluginInterface): ) continue - layer = self.context.layers[proc_layer_name] + layer = context.layers[proc_layer_name] for offset in layer.scan( - context=self.context, + context=context, scanner=scanners.BytesScanner(needle=service_tag), sections=vadyarascan.VadYaraScan.get_vad_maps(task), ): if not is_vista_or_later: - service_record = self.context.object( + service_record = context.object( service_table_name + constants.BANG + "_SERVICE_RECORD", offset=offset - relative_tag_offset, layer_name=proc_layer_name, @@ -318,9 +322,10 @@ class SvcScan(interfaces.plugins.PluginInterface): renderers.UnreadableValue(), renderers.UnreadableValue() ), ) - yield self.get_record_tuple(service_record, service_info) + yield cls.get_record_tuple(service_record, service_info) else: - for service_record in self.enumerate_vista_or_later_header( + for service_record in cls.enumerate_vista_or_later_header( + context, service_table_name, service_binary_dll_map, proc_layer_name, @@ -351,13 +356,13 @@ class SvcScan(interfaces.plugins.PluginInterface): filter_func = pslist.PsList.create_name_filter(["services.exe"]) - return service_table_name, service_binary_dll_map, filter_func + return kernel, service_table_name, service_binary_dll_map, filter_func def _generator(self): - service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() + kernel, service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() - for record in self.service_scan( - service_table_name, service_binary_dll_map, filter_func + for record in self._enumeration_method( + self.context, kernel, service_table_name, service_binary_dll_map, filter_func ): yield (0, record) From a7af052509417c08eae702cd59fbfaa5306cc686 Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 18 Jul 2024 14:59:40 -0500 Subject: [PATCH 0533/2186] Black fixes --- .../framework/plugins/windows/svcdiff.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py index c41a7b86c..4325771db 100644 --- a/volatility3/framework/plugins/windows/svcdiff.py +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -20,6 +20,7 @@ from volatility3.framework.symbols.windows import versions vollog = logging.getLogger(__name__) + class SvcDiff(svcscan.SvcScan): """Compares services found through list walking versus scanning to find rootkits""" @@ -47,7 +48,9 @@ class SvcDiff(svcscan.SvcScan): On Windows 10 version 15063+ 64bit Windows memory samples, walk the services list and scan for services then report differences """ - kernel, service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() + kernel, service_table_name, service_binary_dll_map, filter_func = ( + self.get_prereq_info() + ) if not symbols.symbol_table_is_64bit( self.context, kernel.symbol_table_name @@ -65,14 +68,22 @@ class SvcDiff(svcscan.SvcScan): # collect unique service names from scanning for service in svcscan.SvcScan.service_scan( - self.context, kernel, service_table_name, service_binary_dll_map, filter_func + self.context, + kernel, + service_table_name, + service_binary_dll_map, + filter_func, ): from_scan.add(service[6]) records[service[6]] = service # collect services from listing walking for service in svclist.SvcList.service_list( - self.context, kernel, service_table_name, service_binary_dll_map, filter_func + self.context, + kernel, + service_table_name, + service_binary_dll_map, + filter_func, ): from_list.add(service[6]) From 2a5e94a0946e4c74f92588df6ceafdd89acd0be4 Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 18 Jul 2024 15:01:10 -0500 Subject: [PATCH 0534/2186] Black fixes --- .../framework/plugins/windows/svcscan.py | 28 +++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 4368b83ce..8b9706625 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -238,12 +238,17 @@ class SvcScan(interfaces.plugins.PluginInterface): @classmethod def enumerate_vista_or_later_header( - cls, context, service_table_name, service_binary_dll_map, proc_layer_name, offset + cls, + context, + service_table_name, + service_binary_dll_map, + proc_layer_name, + offset, ): if offset % 8: return - service_header =context.object( + service_header = context.object( service_table_name + constants.BANG + "_SERVICE_HEADER", offset=offset, layer_name=proc_layer_name, @@ -265,7 +270,14 @@ class SvcScan(interfaces.plugins.PluginInterface): yield cls.get_record_tuple(service_record, service_info) @classmethod - def service_scan(cls, context: interfaces.context.ContextInterface, kernel, service_table_name: str, service_binary_dll_map, filter_func): + def service_scan( + cls, + context: interfaces.context.ContextInterface, + kernel, + service_table_name: str, + service_binary_dll_map, + filter_func, + ): relative_tag_offset = context.symbol_space.get_type( service_table_name + constants.BANG + "_SERVICE_RECORD" ).relative_child_offset("Tag") @@ -359,10 +371,16 @@ class SvcScan(interfaces.plugins.PluginInterface): return kernel, service_table_name, service_binary_dll_map, filter_func def _generator(self): - kernel, service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info() + kernel, service_table_name, service_binary_dll_map, filter_func = ( + self.get_prereq_info() + ) for record in self._enumeration_method( - self.context, kernel, service_table_name, service_binary_dll_map, filter_func + self.context, + kernel, + service_table_name, + service_binary_dll_map, + filter_func, ): yield (0, record) From b0a89f210977663c8d106c50ac4602eb48b7b211 Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 18 Jul 2024 15:47:37 -0500 Subject: [PATCH 0535/2186] Address feedback --- volatility3/framework/plugins/windows/processghosting.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/processghosting.py b/volatility3/framework/plugins/windows/processghosting.py index b29ff04f0..dda0d7675 100644 --- a/volatility3/framework/plugins/windows/processghosting.py +++ b/volatility3/framework/plugins/windows/processghosting.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging +import contextlib from volatility3.framework import interfaces, exceptions from volatility3.framework import renderers @@ -57,14 +58,15 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): else: file_object = 0 + if isinstance(delete_pending, int) and delete_pending not in [0, 1]: + vollog.debug(f"Invalid delete_pending value {delete_pending} found for {process_name} {proc.UniqueProcessId}") + # delete_pending besides 0 or 1 = smear if file_object == 0 or delete_pending == 1: path = renderers.UnreadableValue() if file_object: - try: + with contextlib.suppress(exceptions.InvalidAddressException): path = file_object.FileName.String - except exceptions.InvalidAddressException: - path = renderers.UnreadableValue() yield ( 0, From 920b3ec615b91ec4dcc4bdf0ef9d15715a5b1c8d Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 18 Jul 2024 15:48:21 -0500 Subject: [PATCH 0536/2186] Black fix --- volatility3/framework/plugins/windows/processghosting.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/processghosting.py b/volatility3/framework/plugins/windows/processghosting.py index dda0d7675..50f02c926 100644 --- a/volatility3/framework/plugins/windows/processghosting.py +++ b/volatility3/framework/plugins/windows/processghosting.py @@ -59,7 +59,9 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): file_object = 0 if isinstance(delete_pending, int) and delete_pending not in [0, 1]: - vollog.debug(f"Invalid delete_pending value {delete_pending} found for {process_name} {proc.UniqueProcessId}") + vollog.debug( + f"Invalid delete_pending value {delete_pending} found for {process_name} {proc.UniqueProcessId}" + ) # delete_pending besides 0 or 1 = smear if file_object == 0 or delete_pending == 1: From 75ccf1bfab5ee6bc3d0f84baf427c11b8e61137c Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 18 Jul 2024 17:54:33 -0500 Subject: [PATCH 0537/2186] Add dedicated plugin and API for extracting PE files from kernel and process memory --- .../framework/plugins/windows/dlllist.py | 76 +----- .../framework/plugins/windows/modscan.py | 11 +- .../framework/plugins/windows/modules.py | 12 +- .../framework/plugins/windows/pedump.py | 239 ++++++++++++++++++ 4 files changed, 258 insertions(+), 80 deletions(-) create mode 100644 volatility3/framework/plugins/windows/pedump.py diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index d48a53663..eef826ed5 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -1,10 +1,9 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import contextlib import datetime import logging -import ntpath import re from typing import List, Optional, Type @@ -14,7 +13,7 @@ from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows.extensions import pe from volatility3.plugins import timeliner -from volatility3.plugins.windows import info, pslist, psscan +from volatility3.plugins.windows import info, pslist, psscan, pedump vollog = logging.getLogger(__name__) @@ -23,7 +22,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists the loaded modules in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 1) + _version = (3, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -76,66 +75,10 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): default=False, optional=True, ), - ] - - @classmethod - def dump_pe( - cls, - context: interfaces.context.ContextInterface, - pe_table_name: str, - dll_entry: interfaces.objects.ObjectInterface, - open_method: Type[interfaces.plugins.FileHandlerInterface], - layer_name: str = None, - prefix: str = "", - ) -> Optional[interfaces.plugins.FileHandlerInterface]: - """Extracts the complete data for a process as a FileInterface - - Args: - context: the context to operate upon - pe_table_name: the name for the symbol table containing the PE format symbols - dll_entry: the object representing the module - layer_name: the layer that the DLL lives within - open_method: class for constructing output files - - Returns: - An open FileHandlerInterface object containing the complete data for the DLL or None in the case of failure - """ - try: - try: - name = dll_entry.FullDllName.get_string() - except exceptions.InvalidAddressException: - name = "UnreadableDLLName" - - if layer_name is None: - layer_name = dll_entry.vol.layer_name - - file_handle = open_method( - "{}{}.{:#x}.{:#x}.dmp".format( - prefix, - ntpath.basename(name), - dll_entry.vol.offset, - dll_entry.DllBase, - ) - ) - - dos_header = context.object( - pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", - offset=dll_entry.DllBase, - layer_name=layer_name, - ) - - for offset, data in dos_header.reconstruct(): - file_handle.seek(offset) - file_handle.write(data) - except ( - IOError, - exceptions.VolatilityException, - OverflowError, - ValueError, - ) as excp: - vollog.debug(f"Unable to dump dll at offset {dll_entry.DllBase}: {excp}") - return None - return file_handle + requirements.VersionRequirement( + name="pedump", component=pedump.PEDump, version=(1, 0, 0) + ), + ] def _generator(self, procs): pe_table_name = intermed.IntermediateSymbolTable.create( @@ -204,7 +147,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): file_output = "Disabled" if self.config["dump"]: - file_handle = self.dump_pe( + file_handle = pedump.PEDump.dump_ldr_entry( self.context, pe_table_name, entry, @@ -214,8 +157,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) file_output = "Error outputting file" if file_handle: - file_handle.close() - file_output = file_handle.preferred_filename + file_output = file_handle try: dllbase = format_hints.Hex(entry.DllBase) except exceptions.InvalidAddressException: diff --git a/volatility3/framework/plugins/windows/modscan.py b/volatility3/framework/plugins/windows/modscan.py index 98546bc9c..fc45e6913 100644 --- a/volatility3/framework/plugins/windows/modscan.py +++ b/volatility3/framework/plugins/windows/modscan.py @@ -6,7 +6,7 @@ from typing import Iterable from volatility3.framework import interfaces from volatility3.framework.configuration import requirements -from volatility3.plugins.windows import poolscanner, dlllist, pslist, modules +from volatility3.plugins.windows import poolscanner, modules, pedump vollog = logging.getLogger(__name__) @@ -35,12 +35,6 @@ class ModScan(modules.Modules): requirements.VersionRequirement( name="modules", component=modules.Modules, version=(2, 0, 0) ), - requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) - ), - requirements.VersionRequirement( - name="dlllist", component=dlllist.DllList, version=(2, 0, 0) - ), requirements.BooleanRequirement( name="dump", description="Extract listed modules", @@ -58,6 +52,9 @@ class ModScan(modules.Modules): optional=True, default=None, ), + requirements.VersionRequirement( + name="pedump", component=pedump.PEDump, version=(1, 0, 0) + ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 79eea1cd7..283d4dcb9 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -9,7 +9,7 @@ from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows.extensions import pe -from volatility3.plugins.windows import pslist, dlllist +from volatility3.plugins.windows import pslist, pedump vollog = logging.getLogger(__name__) @@ -35,9 +35,6 @@ class Modules(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(2, 0, 0) ), - requirements.VersionRequirement( - name="dlllist", component=dlllist.DllList, version=(2, 0, 0) - ), requirements.BooleanRequirement( name="dump", description="Extract listed modules", @@ -55,6 +52,9 @@ class Modules(interfaces.plugins.PluginInterface): optional=True, default=None, ), + requirements.VersionRequirement( + name="pedump", component=pedump.PEDump, version=(1, 0, 0) + ), ] def dump_module(self, session_layers, pe_table_name, mod): @@ -63,7 +63,7 @@ class Modules(interfaces.plugins.PluginInterface): ) file_output = f"Cannot find a viable session layer for {mod.DllBase:#x}" if session_layer_name: - file_handle = dlllist.DllList.dump_pe( + file_handle = pedump.PEDump.dump_ldr_entry( self.context, pe_table_name, mod, @@ -72,7 +72,7 @@ class Modules(interfaces.plugins.PluginInterface): ) file_output = "Error outputting file" if file_handle: - file_output = file_handle.preferred_filename + file_output = file_handle return file_output diff --git a/volatility3/framework/plugins/windows/pedump.py b/volatility3/framework/plugins/windows/pedump.py new file mode 100644 index 000000000..395d28ce5 --- /dev/null +++ b/volatility3/framework/plugins/windows/pedump.py @@ -0,0 +1,239 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +import ntpath +from typing import List, Type, Optional + +from volatility3.framework import constants, exceptions, interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.windows.extensions import pe +from volatility3.plugins.windows import pslist, modules + +vollog = logging.getLogger(__name__) + + +class PEDump(interfaces.plugins.PluginInterface): + """Allows extracting PE Files from a specific address in a specific address space""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(2, 0, 0) + ), + requirements.ListRequirement( + name="pid", + element_type=int, + description="Process IDs to include (all other processes are excluded)", + optional=True, + ), + requirements.IntRequirement( + name="base", + description="Base address to reconstruct a PE file", + optional=False, + ), + requirements.BooleanRequirement( + name="kernel_module", + description="Extract from kernel address space.", + default=False, + optional=True, + ), + ] + + @classmethod + def dump_pe( + cls, + context: interfaces.context.ContextInterface, + pe_table_name: str, + layer_name: str, + open_method: Type[interfaces.plugins.FileHandlerInterface], + file_name: str, + base: int + ) -> Optional[str]: + """ + Returns the filename of the dump file or None + """ + try: + file_handle = open_method(file_name) + + dos_header = context.object( + pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", + offset=base, + layer_name=layer_name, + ) + + for offset, data in dos_header.reconstruct(): + file_handle.seek(offset) + file_handle.write(data) + except ( + IOError, + exceptions.VolatilityException, + OverflowError, + ValueError, + ) as excp: + vollog.debug(f"Unable to dump PE file at offset {base}: {excp}") + return None + finally: + file_handle.close() + + return file_handle.preferred_filename + + @classmethod + def dump_ldr_entry( + cls, + context: interfaces.context.ContextInterface, + pe_table_name: str, + ldr_entry: interfaces.objects.ObjectInterface, + open_method: Type[interfaces.plugins.FileHandlerInterface], + layer_name: str = None, + prefix: str = "", + ) -> Optional[str]: + """Extracts the PE file referenced an LDR_DATA_TABLE_ENTRY (DLL, kernel module) instance + + Args: + context: the context to operate upon + pe_table_name: the name for the symbol table containing the PE format symbols + ldr_entry: the object representing the module + open_method: class for constructing output files + layer_name: the layer that the DLL lives within + prefix: optional string to prepend to filename + Returns: + The output file name or None in the case of failure + """ + try: + name = ldr_entry.FullDllName.get_string() + except exceptions.InvalidAddressException: + name = "UnreadableDLLName" + + if layer_name is None: + layer_name = ldr_entry.vol.layer_name + + file_name = "{}{}.{:#x}.{:#x}.dmp".format( + prefix, + ntpath.basename(name), + ldr_entry.vol.offset, + ldr_entry.DllBase, + ) + + return PEDump.dump_pe(context, pe_table_name, layer_name, open_method, file_name, ldr_entry.DllBase) + + @classmethod + def dump_pe_at_base( + cls, + context: interfaces.context.ContextInterface, + pe_table_name: str, + layer_name: str, + open_method: Type[interfaces.plugins.FileHandlerInterface], + proc_offset: int, + pid: int, + base: int, + ) -> Optional[str]: + file_name = "PE.{:#x}.{:d}.{:#x}.dmp".format( + proc_offset, + pid, + base, + ) + + return PEDump.dump_pe(context, pe_table_name, layer_name, open_method, file_name, base) + + @classmethod + def dump_kernel_pe_at_base(cls, context, kernel, pe_table_name, open_method, base): + session_layers = modules.Modules.get_session_layers( + context, kernel.layer_name, kernel.symbol_table_name + ) + + session_layer_name = modules.Modules.find_session_layer( + context, session_layers, base + ) + + if session_layer_name: + system_pid = 4 + + file_output = PEDump.dump_pe_at_base( + context, pe_table_name, session_layer_name, open_method, 0, system_pid, base + ) + + if file_output: + yield system_pid, "Kernel", file_output + else: + vollog.warning( + "Unable to find a session layer with the provided base address mapped in the kernel." + ) + + @classmethod + def dump_processes(cls, context, kernel, pe_table_name, open_method, filter_func, base): + """ + """ + + for proc in pslist.PsList.list_processes( + context=context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_func=filter_func, + ): + pid = proc.UniqueProcessId + proc_name = proc.ImageFileName.cast( + "string", + max_length=proc.ImageFileName.vol.count, + errors="replace", + ) + proc_layer_name = proc.add_process_layer() + + file_output = PEDump.dump_pe_at_base( + context, pe_table_name, proc_layer_name, open_method, proc.vol.offset, pid, base + ) + + if file_output: + yield pid, proc_name, file_output + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + pe_table_name = intermed.IntermediateSymbolTable.create( + self.context, self.config_path, "windows", "pe", class_types=pe.class_types + ) + + if self.config["kernel_module"] and self.config["pid"]: + vollog.error("Only --kernel_module or --pid should be set. Not both") + return + + if not self.config["kernel_module"] and not self.config["pid"]: + vollog.error("--kernel_module or --pid must be set") + return + + if self.config["kernel_module"]: + pe_files = self.dump_kernel_pe_at_base(self.context, kernel, pe_table_name, self.open, self.config["base"]) + else: + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + pe_files = self.dump_processes(self.context, kernel, pe_table_name, self.open, filter_func, self.config["base"]) + + for pid, proc_name, file_output in pe_files: + yield ( + 0, + ( + pid, + proc_name, + file_output, + ), + ) + + def run(self): + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("File output", str), + ], + self._generator(), + ) From 12f3beacfcb3ab16f8418cee2821ad74c3738045 Mon Sep 17 00:00:00 2001 From: atcuno Date: Thu, 18 Jul 2024 17:56:24 -0500 Subject: [PATCH 0538/2186] Add dedicated plugin and API for extracting PE files from kernel and process memory --- .../framework/plugins/windows/dlllist.py | 2 +- .../framework/plugins/windows/pedump.py | 69 ++++++++++++++----- 2 files changed, 51 insertions(+), 20 deletions(-) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index eef826ed5..6c8c96dc3 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -78,7 +78,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="pedump", component=pedump.PEDump, version=(1, 0, 0) ), - ] + ] def _generator(self, procs): pe_table_name = intermed.IntermediateSymbolTable.create( diff --git a/volatility3/framework/plugins/windows/pedump.py b/volatility3/framework/plugins/windows/pedump.py index 395d28ce5..0b4649abb 100644 --- a/volatility3/framework/plugins/windows/pedump.py +++ b/volatility3/framework/plugins/windows/pedump.py @@ -59,7 +59,7 @@ class PEDump(interfaces.plugins.PluginInterface): layer_name: str, open_method: Type[interfaces.plugins.FileHandlerInterface], file_name: str, - base: int + base: int, ) -> Optional[str]: """ Returns the filename of the dump file or None @@ -120,13 +120,20 @@ class PEDump(interfaces.plugins.PluginInterface): layer_name = ldr_entry.vol.layer_name file_name = "{}{}.{:#x}.{:#x}.dmp".format( - prefix, - ntpath.basename(name), - ldr_entry.vol.offset, - ldr_entry.DllBase, - ) + prefix, + ntpath.basename(name), + ldr_entry.vol.offset, + ldr_entry.DllBase, + ) - return PEDump.dump_pe(context, pe_table_name, layer_name, open_method, file_name, ldr_entry.DllBase) + return PEDump.dump_pe( + context, + pe_table_name, + layer_name, + open_method, + file_name, + ldr_entry.DllBase, + ) @classmethod def dump_pe_at_base( @@ -140,12 +147,14 @@ class PEDump(interfaces.plugins.PluginInterface): base: int, ) -> Optional[str]: file_name = "PE.{:#x}.{:d}.{:#x}.dmp".format( - proc_offset, - pid, - base, - ) + proc_offset, + pid, + base, + ) - return PEDump.dump_pe(context, pe_table_name, layer_name, open_method, file_name, base) + return PEDump.dump_pe( + context, pe_table_name, layer_name, open_method, file_name, base + ) @classmethod def dump_kernel_pe_at_base(cls, context, kernel, pe_table_name, open_method, base): @@ -161,7 +170,13 @@ class PEDump(interfaces.plugins.PluginInterface): system_pid = 4 file_output = PEDump.dump_pe_at_base( - context, pe_table_name, session_layer_name, open_method, 0, system_pid, base + context, + pe_table_name, + session_layer_name, + open_method, + 0, + system_pid, + base, ) if file_output: @@ -172,9 +187,10 @@ class PEDump(interfaces.plugins.PluginInterface): ) @classmethod - def dump_processes(cls, context, kernel, pe_table_name, open_method, filter_func, base): - """ - """ + def dump_processes( + cls, context, kernel, pe_table_name, open_method, filter_func, base + ): + """ """ for proc in pslist.PsList.list_processes( context=context, @@ -191,7 +207,13 @@ class PEDump(interfaces.plugins.PluginInterface): proc_layer_name = proc.add_process_layer() file_output = PEDump.dump_pe_at_base( - context, pe_table_name, proc_layer_name, open_method, proc.vol.offset, pid, base + context, + pe_table_name, + proc_layer_name, + open_method, + proc.vol.offset, + pid, + base, ) if file_output: @@ -213,10 +235,19 @@ class PEDump(interfaces.plugins.PluginInterface): return if self.config["kernel_module"]: - pe_files = self.dump_kernel_pe_at_base(self.context, kernel, pe_table_name, self.open, self.config["base"]) + pe_files = self.dump_kernel_pe_at_base( + self.context, kernel, pe_table_name, self.open, self.config["base"] + ) else: filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - pe_files = self.dump_processes(self.context, kernel, pe_table_name, self.open, filter_func, self.config["base"]) + pe_files = self.dump_processes( + self.context, + kernel, + pe_table_name, + self.open, + filter_func, + self.config["base"], + ) for pid, proc_name, file_output in pe_files: yield ( From bca4cdda744120a5ca868bdfd39119ebf0819201 Mon Sep 17 00:00:00 2001 From: Davide Arcuri Date: Fri, 19 Jul 2024 11:09:52 +0200 Subject: [PATCH 0539/2186] replace yara-python with yara-x --- doc/requirements.txt | 2 +- test/requirements-testing.txt | 2 +- volatility3/framework/plugins/yarascan.py | 74 ++++++----------------- 3 files changed, 22 insertions(+), 56 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index b715e59f5..c04f71219 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -3,6 +3,6 @@ sphinx>=4.0.0,<7 sphinx_autodoc_typehints>=1.4.0 sphinx-rtd-theme>=0.4.3 -yara-python +yara-x pycryptodome pefile diff --git a/test/requirements-testing.txt b/test/requirements-testing.txt index 7afe19b94..0955d1939 100644 --- a/test/requirements-testing.txt +++ b/test/requirements-testing.txt @@ -5,6 +5,6 @@ pefile>=2017.8.1 #foo # If certain packages are not necessary, place a comment (#) at the start of the line. # This is required for the yara plugins -yara-python>=3.8.0 +yara-x>=0.5.0 pytest>=7.0.0 diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 496ec1844..32a400f9e 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -14,14 +14,9 @@ from volatility3.framework.renderers import format_hints vollog = logging.getLogger(__name__) try: - import yara + import yara_x - if tuple([int(x) for x in yara.__version__.split(".")]) < (3, 8): - raise ImportError except ImportError: - vollog.info( - "Python Yara (>3.8.0) module not found, plugin (and dependent plugins) not available" - ) raise @@ -34,27 +29,20 @@ class YaraScanner(interfaces.layers.ScannerInterface): if rules is None: raise ValueError("No rules provided to YaraScanner") self._rules = rules - self.st_object = not tuple([int(x) for x in yara.__version__.split(".")]) < ( - 4, - 3, - ) def __call__( self, data: bytes, data_offset: int ) -> Iterable[Tuple[int, str, str, bytes]]: - for match in self._rules.match(data=data): - if YaraScan.yara_returns_instances(): - for match_string in match.strings: - for instance in match_string.instances: - yield ( - instance.offset + data_offset, - match.rule, - match_string.identifier, - instance.matched_data, - ) - else: - for offset, name, value in match.strings: - yield (offset + data_offset, match.rule, name, value) + results = self._rules.scan(data) + for match in results.matching_rules: + for match_string in match.patterns: + for instance in match_string.matches: + yield ( + instance.offset + data_offset, + f"{match.namespace}.{match.identifier}", + match_string.identifier, + data[instance.offset : instance.offset + instance.length], + ) class YaraScan(plugins.PluginInterface): @@ -63,9 +51,6 @@ class YaraScan(plugins.PluginInterface): _required_framework_version = (2, 0, 0) _version = (1, 3, 0) - # TODO: When the major version is bumped, take the opportunity to rename the yara_rules config to yara_string - # or something that makes more sense - @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: """Returns the requirements needed to run yarascan directly, combining the TranslationLayerRequirement @@ -99,16 +84,13 @@ class YaraScan(plugins.PluginInterface): optional=True, ), requirements.StringRequirement( - name="yara_rules", description="Yara rules (as a string)", optional=True + name="yara_string", + description="Yara rules (as a string)", + optional=True, ), - requirements.URIRequirement( - name="yara_file", description="Yara rules (as a file)", optional=True - ), - # This additional requirement is to follow suit with upstream, who feel that compiled rules could potentially be used to execute malicious code - # As such, there's a separate option to run compiled files, as happened with yara-3.9 and later requirements.URIRequirement( name="yara_compiled_file", - description="Yara compiled rules (as a file)", + description="Yara-x compiled rules (as a file)", optional=True, ), requirements.IntRequirement( @@ -119,36 +101,20 @@ class YaraScan(plugins.PluginInterface): ), ] - @classmethod - def yara_returns_instances(cls) -> bool: - st_object = not tuple([int(x) for x in yara.__version__.split(".")]) < ( - 4, - 3, - ) - return st_object - @classmethod def process_yara_options(cls, config: Dict[str, Any]): rules = None - if config.get("yara_rules", None) is not None: - rule = config["yara_rules"] + if config.get("yara_string") is not None: + rule = config["yara_string"] if rule[0] not in ["{", "/"]: rule = f'"{rule}"' if config.get("case", False): rule += " nocase" if config.get("wide", False): rule += " wide ascii" - rules = yara.compile( - sources={"n": f"rule r1 {{strings: $a = {rule} condition: $a}}"} - ) - elif config.get("yara_source", None) is not None: - rules = yara.compile(source=config["yara_source"]) - elif config.get("yara_file", None) is not None: - rules = yara.compile( - file=resources.ResourceAccessor().open(config["yara_file"], "rb") - ) - elif config.get("yara_compiled_file", None) is not None: - rules = yara.load( + rules = yara_x.compile(f"rule r1 {{strings: $a = {rule} condition: $a}}") + elif config.get("yara_compiled_file") is not None: + rules = yara_x.Rules.deserialize_from( file=resources.ResourceAccessor().open( config["yara_compiled_file"], "rb" ) From 9454181b9892f5c4245435bb868f24aaee23ae01 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 21 Jul 2024 09:42:19 -0500 Subject: [PATCH 0540/2186] Address feedback --- volatility3/framework/plugins/windows/dlllist.py | 9 +++++---- volatility3/framework/plugins/windows/modules.py | 7 +++---- volatility3/framework/plugins/windows/pedump.py | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index 6c8c96dc3..5a1b37fcf 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -147,7 +147,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): file_output = "Disabled" if self.config["dump"]: - file_handle = pedump.PEDump.dump_ldr_entry( + file_output = pedump.PEDump.dump_ldr_entry( self.context, pe_table_name, entry, @@ -155,9 +155,10 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): proc_layer_name, prefix=f"pid.{proc_id}.", ) - file_output = "Error outputting file" - if file_handle: - file_output = file_handle + + if not file_output: + file_output = "Error outputting file" + try: dllbase = format_hints.Hex(entry.DllBase) except exceptions.InvalidAddressException: diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 283d4dcb9..ba45834d5 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -63,16 +63,15 @@ class Modules(interfaces.plugins.PluginInterface): ) file_output = f"Cannot find a viable session layer for {mod.DllBase:#x}" if session_layer_name: - file_handle = pedump.PEDump.dump_ldr_entry( + file_output = pedump.PEDump.dump_ldr_entry( self.context, pe_table_name, mod, self.open, layer_name=session_layer_name, ) - file_output = "Error outputting file" - if file_handle: - file_output = file_handle + if not file_output: + file_output = "Error outputting file" return file_output diff --git a/volatility3/framework/plugins/windows/pedump.py b/volatility3/framework/plugins/windows/pedump.py index 0b4649abb..858d0615a 100644 --- a/volatility3/framework/plugins/windows/pedump.py +++ b/volatility3/framework/plugins/windows/pedump.py @@ -126,7 +126,7 @@ class PEDump(interfaces.plugins.PluginInterface): ldr_entry.DllBase, ) - return PEDump.dump_pe( + return cls.dump_pe( context, pe_table_name, layer_name, From 21396185d0faaab15a217cff2072aa7de2652b67 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 21 Jul 2024 11:10:38 -0500 Subject: [PATCH 0541/2186] Address feedback --- .../framework/plugins/windows/svcdiff.py | 37 ++++++++++----- .../framework/plugins/windows/svclist.py | 11 +++-- .../framework/plugins/windows/svcscan.py | 47 +++++++++++-------- 3 files changed, 58 insertions(+), 37 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py index 4325771db..84d06a695 100644 --- a/volatility3/framework/plugins/windows/svcdiff.py +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -13,7 +13,7 @@ import logging -from volatility3.framework import symbols +from volatility3.framework import symbols, interfaces from volatility3.framework.configuration import requirements from volatility3.plugins.windows import svclist, svcscan from volatility3.framework.symbols.windows import versions @@ -26,6 +26,10 @@ class SvcDiff(svcscan.SvcScan): _required_framework_version = (2, 4, 0) + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self._enumeration_method = self.service_diff + @classmethod def get_requirements(cls): # Since we're calling the plugin, make sure we have the plugin's requirements @@ -43,19 +47,24 @@ class SvcDiff(svcscan.SvcScan): ), ] - def _generator(self): + @classmethod + def service_diff( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table: str, + service_table_name: str, + service_binary_dll_map, + filter_func, + ): """ On Windows 10 version 15063+ 64bit Windows memory samples, walk the services list and scan for services then report differences """ - kernel, service_table_name, service_binary_dll_map, filter_func = ( - self.get_prereq_info() - ) - if not symbols.symbol_table_is_64bit( - self.context, kernel.symbol_table_name + context, symbol_table ) or not versions.is_win10_15063_or_later( - context=self.context, symbol_table=kernel.symbol_table_name + context=context, symbol_table=symbol_table ): vollog.warning( "This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples" @@ -68,8 +77,9 @@ class SvcDiff(svcscan.SvcScan): # collect unique service names from scanning for service in svcscan.SvcScan.service_scan( - self.context, - kernel, + context, + layer_name, + symbol_table, service_table_name, service_binary_dll_map, filter_func, @@ -79,8 +89,9 @@ class SvcDiff(svcscan.SvcScan): # collect services from listing walking for service in svclist.SvcList.service_list( - self.context, - kernel, + context, + layer_name, + symbol_table, service_table_name, service_binary_dll_map, filter_func, @@ -89,4 +100,4 @@ class SvcDiff(svcscan.SvcScan): # report services found from scanning but not list walking for hidden_service in from_scan - from_list: - yield (0, records[hidden_service]) + yield records[hidden_service] diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index 832b3d129..a59581063 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -59,15 +59,16 @@ class SvcList(svcscan.SvcScan): def service_list( cls, context: interfaces.context.ContextInterface, - kernel, + layer_name: str, + symbol_table: str, service_table_name: str, service_binary_dll_map, filter_func, ): if not symbols.symbol_table_is_64bit( - context, kernel.symbol_table_name + context, symbol_table ) or not versions.is_win10_15063_or_later( - context=context, symbol_table=kernel.symbol_table_name + context=context, symbol_table=symbol_table ): vollog.warning( "This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples" @@ -76,8 +77,8 @@ class SvcList(svcscan.SvcScan): for proc in pslist.PsList.list_processes( context=context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + layer_name=layer_name, + symbol_table=symbol_table, filter_func=filter_func, ): try: diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 8b9706625..bf676acb7 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -148,14 +148,17 @@ class SvcScan(interfaces.plugins.PluginInterface): native_types=native_types, ) - def _get_service_key(self, kernel) -> Optional[objects.StructType]: + @classmethod + def _get_service_key( + cls, context, config_path: str, layer_name: str, symbol_table: str + ) -> Optional[objects.StructType]: for hive in hivelist.HiveList.list_hives( - context=self.context, + context=context, base_config_path=interfaces.configuration.path_join( - self.config_path, "hivelist" + config_path, "hivelist" ), - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + layer_name=layer_name, + symbol_table=symbol_table, filter_string="machine\\system", ): # Get ControlSet\Services. @@ -273,7 +276,8 @@ class SvcScan(interfaces.plugins.PluginInterface): def service_scan( cls, context: interfaces.context.ContextInterface, - kernel, + layer_name: str, + symbol_table: str, service_table_name: str, service_binary_dll_map, filter_func, @@ -283,7 +287,7 @@ class SvcScan(interfaces.plugins.PluginInterface): ).relative_child_offset("Tag") is_vista_or_later = versions.is_vista_or_later( - context=context, symbol_table=kernel.symbol_table_name + context=context, symbol_table=symbol_table ) if is_vista_or_later: @@ -295,8 +299,8 @@ class SvcScan(interfaces.plugins.PluginInterface): for task in pslist.PsList.list_processes( context=context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + layer_name=layer_name, + symbol_table=symbol_table, filter_func=filter_func, ): proc_id = "Unknown" @@ -348,36 +352,41 @@ class SvcScan(interfaces.plugins.PluginInterface): seen.append(service_record) yield service_record - def get_prereq_info(self): + @classmethod + def get_prereq_info(cls, context, config_path, layer_name: str, symbol_table: str): """ Data structures and information needed to analyze service information """ - kernel = self.context.modules[self.config["kernel"]] - service_table_name = self.create_service_table( - self.context, kernel.symbol_table_name, self.config_path + service_table_name = cls.create_service_table( + context, symbol_table, config_path ) - services_key = self._get_service_key(kernel) + services_key = cls._get_service_key( + context, config_path, layer_name, symbol_table + ) service_binary_dll_map = ( - self._get_service_binary_map(services_key) + cls._get_service_binary_map(services_key) if services_key is not None else {} ) filter_func = pslist.PsList.create_name_filter(["services.exe"]) - return kernel, service_table_name, service_binary_dll_map, filter_func + return service_table_name, service_binary_dll_map, filter_func def _generator(self): - kernel, service_table_name, service_binary_dll_map, filter_func = ( - self.get_prereq_info() + kernel = self.context.modules[self.config["kernel"]] + + service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info( + self.context, self.config_path, kernel.layer_name, kernel.symbol_table_name ) for record in self._enumeration_method( self.context, - kernel, + kernel.layer_name, + kernel.symbol_table_name, service_table_name, service_binary_dll_map, filter_func, From 111873e173b1bc639754b851ce46ff5056f8edb8 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 21 Jul 2024 11:54:06 -0500 Subject: [PATCH 0542/2186] Fix class vs static method and leading underscores --- volatility3/framework/plugins/windows/svcscan.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index bf676acb7..52ed5e759 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -110,7 +110,7 @@ class SvcScan(interfaces.plugins.PluginInterface): ] @staticmethod - def create_service_table( + def _create_service_table( context: interfaces.context.ContextInterface, symbol_table: str, config_path: str, @@ -148,9 +148,9 @@ class SvcScan(interfaces.plugins.PluginInterface): native_types=native_types, ) - @classmethod + @staticmethod def _get_service_key( - cls, context, config_path: str, layer_name: str, symbol_table: str + context, config_path: str, layer_name: str, symbol_table: str ) -> Optional[objects.StructType]: for hive in hivelist.HiveList.list_hives( context=context, @@ -358,7 +358,7 @@ class SvcScan(interfaces.plugins.PluginInterface): Data structures and information needed to analyze service information """ - service_table_name = cls.create_service_table( + service_table_name = cls._create_service_table( context, symbol_table, config_path ) From 5e96327cb0851fe75d1c7a4cb9ef27641bf119f7 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 21 Jul 2024 22:58:43 +0100 Subject: [PATCH 0543/2186] Add in threads that only provides an implmentation method --- .../framework/plugins/windows/thrdscan.py | 32 +++++++++++------ .../framework/plugins/windows/threads.py | 34 +++++++++++++------ 2 files changed, 45 insertions(+), 21 deletions(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index bbf65cd6c..be7097347 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -3,7 +3,7 @@ ## import logging import datetime -from typing import Iterable +from typing import Callable, Iterable from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.configuration import requirements @@ -21,6 +21,10 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) _required_framework_version = (2, 6, 0) _version = (1, 0, 0) + def __init__(self, *args, **kwargs): + self.implementation = self.scan_threads + super().__init__(*args, **kwargs) + @classmethod def get_requirements(cls): return [ @@ -38,8 +42,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) def scan_threads( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + module_name: str, ) -> Iterable[interfaces.objects.ObjectInterface]: """Scans for threads using the poolscanner module and constraints. @@ -52,6 +55,10 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) A list of _ETHREAD objects found by scanning memory for the "Thre" / "Thr\\xE5" pool signatures """ + module = context.modules[module_name] + layer_name = module.layer_name + symbol_table = module.symbol_table_name + constraints = poolscanner.PoolScanner.builtin_constraints( symbol_table, [b"Thr\xe5", b"Thre"] ) @@ -76,7 +83,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) ethread.get_exit_time() ) # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object except exceptions.InvalidAddressException: - vollog.debug("Thread invalid address {:#x}".format(thread.vol.offset)) + vollog.debug("Thread invalid address {:#x}".format(ethread.vol.offset)) return None return ( @@ -88,12 +95,10 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) thread_exit_time, ) - def _generator(self): - kernel = self.context.modules[self.config["kernel"]] + def _generator(self, filter_func: Callable): + kernel_name = self.config["kernel"] - for ethread in self.scan_threads( - self.context, kernel.layer_name, kernel.symbol_table_name - ): + for ethread in self.implementation(self.context, kernel_name): info = self.gather_thread_info(ethread) if info: yield (0, info) @@ -126,7 +131,14 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) row_dict["ExitTime"], ) + @classmethod + def filter_func(cls, config: interfaces.configuration.HierarchicalDict) -> Callable: + """Returns a function that can filter this plugin's implementation method based on the config""" + return lambda x: False + def run(self): + filt_func = self.filter_func(self.config) + return renderers.TreeGrid( [ ("Offset", format_hints.Hex), @@ -136,5 +148,5 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) ("CreateTime", datetime.datetime), ("ExitTime", datetime.datetime), ], - self._generator(), + self._generator(filt_func), ) diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index 83d231abb..55720c6f3 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -3,7 +3,7 @@ # import logging -from typing import List, Generator +from typing import Callable, Iterable, List, Generator from volatility3.framework import interfaces, constants from volatility3.framework.configuration import requirements @@ -18,6 +18,9 @@ class Threads(thrdscan.ThrdScan): _required_framework_version = (2, 4, 0) _version = (1, 0, 0) + def __init__(self): + self.implementation = self.list_process_threads + @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: # Since we're calling the plugin, make sure we have the plugin's requirements @@ -60,18 +63,27 @@ class Threads(thrdscan.ThrdScan): seen.add(thread.vol.offset) yield thread - def _generator(self): - kernel = self.context.modules[self.config["kernel"]] + @classmethod + def filter_func(cls, config: interfaces.configuration.HierarchicalDict) -> Callable: + return pslist.PsList.create_pid_filter(config.get("pid", None)) - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + @classmethod + def list_process_threads( + cls, + context: interfaces.context.ContextInterface, + module_name: str, + filter_func: Callable, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Runs through all processes and lists threads for each process""" + module = context.modules[module_name] + layer_name = module.layer_name + symbol_table_name = module.symbol_table_name for proc in pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + context=context, + layer_name=layer_name, + symbol_table=symbol_table_name, filter_func=filter_func, ): - for thread in self.list_threads(kernel, proc): - info = self.gather_thread_info(thread) - if info: - yield (0, info) + for thread in cls.list_threads(module, proc): + yield thread From ce9832a2b3d524637a7bfaa49c7726ff234c121e Mon Sep 17 00:00:00 2001 From: Davide Arcuri Date: Mon, 22 Jul 2024 13:58:33 +0200 Subject: [PATCH 0544/2186] both yara-python and yara-x support --- doc/requirements.txt | 1 + test/requirements-testing.txt | 1 + volatility3/framework/plugins/yarascan.py | 101 ++++++++++++++++++++-- 3 files changed, 95 insertions(+), 8 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index c04f71219..d3ba51224 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -3,6 +3,7 @@ sphinx>=4.0.0,<7 sphinx_autodoc_typehints>=1.4.0 sphinx-rtd-theme>=0.4.3 +yara-python yara-x pycryptodome pefile diff --git a/test/requirements-testing.txt b/test/requirements-testing.txt index 0955d1939..51c8f602c 100644 --- a/test/requirements-testing.txt +++ b/test/requirements-testing.txt @@ -5,6 +5,7 @@ pefile>=2017.8.1 #foo # If certain packages are not necessary, place a comment (#) at the start of the line. # This is required for the yara plugins +yara-python>=3.8.0 yara-x>=0.5.0 pytest>=7.0.0 diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 32a400f9e..03a45b8df 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -13,14 +13,73 @@ from volatility3.framework.renderers import format_hints vollog = logging.getLogger(__name__) +USE_YARA_X = False + try: import yara_x + USE_YARA_X = True + except ImportError: - raise + try: + import yara + + if tuple(int(x) for x in yara.__version__.split(".")) < (3, 8): + raise ImportError + + vollog.info("Using yara-python module") + + except ImportError: + vollog.info( + "Python Yara (>3.8.0) module not found, plugin (and dependent plugins) not available" + ) + raise -class YaraScanner(interfaces.layers.ScannerInterface): +class YaraPythonScanner(interfaces.layers.ScannerInterface): + _version = (2, 0, 0) + + # yara.Rules isn't exposed, so we can't type this properly + def __init__(self, rules) -> None: + super().__init__() + if rules is None: + raise ValueError("No rules provided to YaraScanner") + self._rules = rules + self.st_object = not tuple(int(x) for x in yara.__version__.split(".")) < (4, 3) + + def __call__( + self, data: bytes, data_offset: int + ) -> Iterable[Tuple[int, str, str, bytes]]: + for match in self._rules.match(data=data): + if self.st_object: + for match_string in match.strings: + for instance in match_string.instances: + yield ( + instance.offset + data_offset, + match.rule, + match_string.identifier, + instance.matched_data, + ) + else: + for offset, name, value in match.strings: + yield (offset + data_offset, match.rule, name, value) + + @staticmethod + def get_rule(rule): + return yara.compile( + sources={"n": f"rule r1 {{strings: $a = {rule} condition: $a}}"} + ) + + @staticmethod + def from_compiled_file(filepath): + return yara.load(file=resources.ResourceAccessor().open(filepath, "rb")) + + @staticmethod + def from_file(filepath): + return yara.compile(file=resources.ResourceAccessor().open(filepath, "rb")) + + +class YaraXScanner(interfaces.layers.ScannerInterface): _version = (2, 0, 0) # yara.Rules isn't exposed, so we can't type this properly @@ -44,6 +103,25 @@ class YaraScanner(interfaces.layers.ScannerInterface): data[instance.offset : instance.offset + instance.length], ) + @staticmethod + def get_rule(rule): + return yara_x.compile(f"rule r1 {{strings: $a = {rule} condition: $a}}") + + @staticmethod + def from_compiled_file(filepath): + return yara_x.Rules.deserialize_from( + file=resources.ResourceAccessor().open(filepath, "rb") + ) + + @staticmethod + def from_file(filepath): + return yara_x.compile( + resources.ResourceAccessor().open(filepath, "rb").read().decode() + ) + + +YaraScanner = YaraXScanner if USE_YARA_X else YaraPythonScanner + class YaraScan(plugins.PluginInterface): """Scans kernel memory using yara rules (string or file).""" @@ -88,9 +166,14 @@ class YaraScan(plugins.PluginInterface): description="Yara rules (as a string)", optional=True, ), + requirements.URIRequirement( + name="yara_file", + description="Yara rules (as a file)", + optional=True, + ), requirements.URIRequirement( name="yara_compiled_file", - description="Yara-x compiled rules (as a file)", + description="Yara compiled rules (as a file)", optional=True, ), requirements.IntRequirement( @@ -112,13 +195,15 @@ class YaraScan(plugins.PluginInterface): rule += " nocase" if config.get("wide", False): rule += " wide ascii" - rules = yara_x.compile(f"rule r1 {{strings: $a = {rule} condition: $a}}") + rules = YaraScanner.get_rule(rule) + elif config.get("yara_file") is not None: + vollog.debug(f"Plain file: {config["yara_file"]} - yara-x: {USE_YARA_X}") + rules = YaraScanner.from_file(config["yara_file"]) elif config.get("yara_compiled_file") is not None: - rules = yara_x.Rules.deserialize_from( - file=resources.ResourceAccessor().open( - config["yara_compiled_file"], "rb" - ) + vollog.debug( + f"Compiled file: {config["yara_compiled_file"]} - yara-x: {USE_YARA_X}" ) + rules = YaraScanner.from_compiled_file(config["yara_compiled_file"]) else: vollog.error("No yara rules, nor yara rules file were specified") return rules From af2d6206763a661ced9687f1c7b31b7888d3d0ce Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Tue, 23 Jul 2024 22:02:34 +0200 Subject: [PATCH 0545/2186] Improving lsof --- volatility3/framework/plugins/linux/lsof.py | 53 +++++++++++++++++-- .../framework/symbols/linux/__init__.py | 21 +++++++- 2 files changed, 69 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index d970ad8a9..f9aeafe14 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -3,7 +3,7 @@ # """A module containing a collection of plugins that produce data typically found in Linux's /proc file system.""" -import logging +import logging, datetime from typing import List, Callable from volatility3.framework import renderers, interfaces, constants @@ -76,14 +76,59 @@ class Lsof(plugins.PluginInterface): ) for pid, task_comm, _task, fd_fields in fds_generator: - fd_num, _filp, full_path = fd_fields + ( + fd_num, + _filp, + full_path, + inode_num, + imode, + ctime, + mtime, + atime, + file_size, + ) = fd_fields - fields = (pid, task_comm, fd_num, full_path) + fields = ( + pid, + task_comm, + fd_num, + full_path, + inode_num, + imode, + ctime, + mtime, + atime, + file_size, + ) yield (0, fields) def run(self): pids = self.config.get("pid", None) symbol_table = self.config["kernel"] - tree_grid_args = [("PID", int), ("Process", str), ("FD", int), ("Path", str)] + tree_grid_args = [ + ("PID", int), + ("Process", str), + ("FD", int), + ("Path", str), + ("Inode", int), + ("Mode", str), + ("LastChange", datetime.datetime), + ("LastModify", datetime.datetime), + ("LastAccessed", datetime.datetime), + ("Size", int), + ] return renderers.TreeGrid(tree_grid_args, self._generator(pids, symbol_table)) + + def generate_timeline(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + for row in self._generator( + pslist.PsList.list_tasks( + self.context, self.config["kernel"], filter_func=filter_func + ) + ): + _depth, row_data = row + description = f'Process {row_data[1]} ({row_data[0]}) Open "{row_data[4]}"' + yield description, timeliner.TimeLinerType.CHANGED, row_data[5] + yield description, timeliner.TimeLinerType.MODIFIED, row_data[6] + yield description, timeliner.TimeLinerType.ACCESSED, row_data[7] diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index c4e2587f4..b9321f369 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -1,6 +1,7 @@ # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import stat, datetime from typing import Iterator, List, Tuple, Optional, Union from volatility3 import framework @@ -265,8 +266,26 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): for fd_num, filp in enumerate(fds): if filp != 0: full_path = LinuxUtilities.path_for_file(context, task, filp) + dentry = filp.get_dentry() + if dentry != 0: + inode_object = dentry.d_inode + inode_num = inode_object.i_ino + file_size = inode_object.i_size # file size in bytes + imode = stat.filemode( + inode_object.i_mode + ) # file type & Permissions - yield fd_num, filp, full_path + # Timestamps + ctime = datetime.datetime.fromtimestamp( + inode_object.i_ctime.tv_sec + ) # last change time + mtime = datetime.datetime.fromtimestamp( + inode_object.i_mtime.tv_sec + ) # last modify time + atime = datetime.datetime.fromtimestamp( + inode_object.i_atime.tv_sec + ) # last access time + yield fd_num, filp, full_path, inode_num, imode, ctime, mtime, atime, file_size @classmethod def mask_mods_list( From b8b146a4441f054bccf5697868c26250ea99d86d Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 24 Jul 2024 10:59:52 +0100 Subject: [PATCH 0546/2186] Windows: update handles plugin to use a default SAR value of 0x10 if decoding fails. Produce warnings when this happens. Ref issue #1147 --- volatility3/framework/plugins/windows/handles.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index a19e7a397..2edf28e86 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -25,7 +25,7 @@ class Handles(interfaces.plugins.PluginInterface): """Lists process open handles.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -175,10 +175,11 @@ class Handles(interfaces.plugins.PluginInterface): virtual_layer_name, func_addr_to_read, num_bytes_to_read ) except exceptions.InvalidAddressException: - vollog.debug( - f"Failed to read {hex(num_bytes_to_read)} bytes at symbol {hex(func_addr_to_read)}" + vollog.warning( + f"Failed to read {hex(num_bytes_to_read)} bytes at symbol {hex(func_addr_to_read)}. Unable to decode SAR value. Failing back to a common value of 0x10" ) - return None + self._sar_value = 0x10 + return self._sar_value md = capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_64) @@ -198,9 +199,10 @@ class Handles(interfaces.plugins.PluginInterface): break if self._sar_value is None: - vollog.debug( - f"Failed to to locate SAR value having parsed {instruction_count} instructions" + vollog.warning( + f"Failed to to locate SAR value having parsed {instruction_count} instructions, failing back to a common value of 0x10" ) + self._sar_value = 0x10 return self._sar_value From 7d52f7992d187e4c18425ca71171dc27a9710903 Mon Sep 17 00:00:00 2001 From: Eve Date: Wed, 24 Jul 2024 11:06:26 +0100 Subject: [PATCH 0547/2186] Windows: Make the default sar value used in handles plugin a variable so if it needs to be changed it gets updated in one place only --- volatility3/framework/plugins/windows/handles.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 2edf28e86..abe154fa1 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -142,6 +142,7 @@ class Handles(interfaces.plugins.PluginInterface): pointers in the _HANDLE_TABLE_ENTRY which allows us to find the associated _OBJECT_HEADER. """ + DEFAULT_SAR_VALUE = 0x10 # to be used only when decoding fails if self._sar_value is None: if not has_capstone: @@ -178,7 +179,7 @@ class Handles(interfaces.plugins.PluginInterface): vollog.warning( f"Failed to read {hex(num_bytes_to_read)} bytes at symbol {hex(func_addr_to_read)}. Unable to decode SAR value. Failing back to a common value of 0x10" ) - self._sar_value = 0x10 + self._sar_value = DEFAULT_SAR_VALUE return self._sar_value md = capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_64) @@ -202,7 +203,7 @@ class Handles(interfaces.plugins.PluginInterface): vollog.warning( f"Failed to to locate SAR value having parsed {instruction_count} instructions, failing back to a common value of 0x10" ) - self._sar_value = 0x10 + self._sar_value = DEFAULT_SAR_VALUE return self._sar_value From e1065f9e788322faded83520da29cd5cbcd5d5ed Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 24 Jul 2024 20:32:36 +0100 Subject: [PATCH 0548/2186] Fix up a missing super which @atcuno spotted --- volatility3/framework/plugins/windows/threads.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index 55720c6f3..d57911650 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -20,6 +20,7 @@ class Threads(thrdscan.ThrdScan): def __init__(self): self.implementation = self.list_process_threads + super().__init__() @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From f4cbed856bcfb011707588d5563cd7144450ba1e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 24 Jul 2024 20:47:05 +0100 Subject: [PATCH 0549/2186] Fix up missing filter parameter --- volatility3/framework/plugins/windows/thrdscan.py | 7 +++++-- volatility3/framework/plugins/windows/threads.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index be7097347..6e664e052 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -19,7 +19,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) # version 2.6.0 adds support for scanning for 'Ethread' structures by pool tags _required_framework_version = (2, 6, 0) - _version = (1, 0, 0) + _version = (1, 1, 0) def __init__(self, *args, **kwargs): self.implementation = self.scan_threads @@ -100,11 +100,14 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) for ethread in self.implementation(self.context, kernel_name): info = self.gather_thread_info(ethread) + if info: yield (0, info) def generate_timeline(self): - for row in self._generator(): + filt_func = self.filter_func(self.config) + + for row in self._generator(filt_func): _depth, row_data = row row_dict = {} ( diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index d57911650..ae70e717b 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -38,7 +38,7 @@ class Threads(thrdscan.ThrdScan): optional=True, ), requirements.PluginRequirement( - name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 0, 0) + name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 1, 0) ), ] From fceb79ba8b86e95919451ee29ca9fdfccd3ebc3e Mon Sep 17 00:00:00 2001 From: Davide Arcuri Date: Thu, 25 Jul 2024 08:34:04 +0200 Subject: [PATCH 0550/2186] use with context, bump release --- volatility3/framework/plugins/yarascan.py | 29 +++++++++++++---------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 03a45b8df..7957aa0c5 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -27,11 +27,11 @@ except ImportError: if tuple(int(x) for x in yara.__version__.split(".")) < (3, 8): raise ImportError - vollog.info("Using yara-python module") + vollog.debug("Using yara-python module") except ImportError: vollog.info( - "Python Yara (>3.8.0) module not found, plugin (and dependent plugins) not available" + "Neither yara-x nor yara-python (>3.8.0) module not found, plugin (and dependent plugins) not available" ) raise @@ -51,7 +51,7 @@ class YaraPythonScanner(interfaces.layers.ScannerInterface): self, data: bytes, data_offset: int ) -> Iterable[Tuple[int, str, str, bytes]]: for match in self._rules.match(data=data): - if self.st_object: + if YaraScan.yara_returns_instances(): for match_string in match.strings: for instance in match_string.instances: yield ( @@ -72,11 +72,13 @@ class YaraPythonScanner(interfaces.layers.ScannerInterface): @staticmethod def from_compiled_file(filepath): - return yara.load(file=resources.ResourceAccessor().open(filepath, "rb")) + with resources.ResourceAccessor().open(filepath, "rb") as fp: + return yara.load(file=fp) @staticmethod def from_file(filepath): - return yara.compile(file=resources.ResourceAccessor().open(filepath, "rb")) + with resources.ResourceAccessor().open(filepath, "rb") as fp: + return yara.compile(file=fp) class YaraXScanner(interfaces.layers.ScannerInterface): @@ -109,15 +111,13 @@ class YaraXScanner(interfaces.layers.ScannerInterface): @staticmethod def from_compiled_file(filepath): - return yara_x.Rules.deserialize_from( - file=resources.ResourceAccessor().open(filepath, "rb") - ) + with resources.ResourceAccessor().open(filepath, "rb") as fp: + return yara_x.Rules.deserialize_from(file=fp) @staticmethod def from_file(filepath): - return yara_x.compile( - resources.ResourceAccessor().open(filepath, "rb").read().decode() - ) + with resources.ResourceAccessor().open(filepath, "rb") as fp: + return yara_x.compile(fp.read().decode()) YaraScanner = YaraXScanner if USE_YARA_X else YaraPythonScanner @@ -127,7 +127,7 @@ class YaraScan(plugins.PluginInterface): """Scans kernel memory using yara rules (string or file).""" _required_framework_version = (2, 0, 0) - _version = (1, 3, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -184,6 +184,11 @@ class YaraScan(plugins.PluginInterface): ), ] + @classmethod + def yara_returns_instances(cls) -> bool: + st_object = not tuple([int(x) for x in yara.__version__.split(".")]) < (4, 3) + return st_object + @classmethod def process_yara_options(cls, config: Dict[str, Any]): rules = None From 1616a898ae5ddfe7369c0ea90306546abd4d929e Mon Sep 17 00:00:00 2001 From: Davide Arcuri Date: Thu, 25 Jul 2024 08:37:27 +0200 Subject: [PATCH 0551/2186] restore comment --- volatility3/framework/plugins/yarascan.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 7957aa0c5..3bf894d06 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -171,6 +171,8 @@ class YaraScan(plugins.PluginInterface): description="Yara rules (as a file)", optional=True, ), + # This additional requirement is to follow suit with upstream, who feel that compiled rules could potentially be used to execute malicious code + # As such, there's a separate option to run compiled files, as happened with yara-3.9 and later requirements.URIRequirement( name="yara_compiled_file", description="Yara compiled rules (as a file)", From c6727ffb701d31067e6617d49904614bedb63ac9 Mon Sep 17 00:00:00 2001 From: Davide Arcuri Date: Thu, 25 Jul 2024 08:43:21 +0200 Subject: [PATCH 0552/2186] fix f-string for previous python release --- volatility3/framework/plugins/yarascan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 3bf894d06..8d2f242d9 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -204,11 +204,11 @@ class YaraScan(plugins.PluginInterface): rule += " wide ascii" rules = YaraScanner.get_rule(rule) elif config.get("yara_file") is not None: - vollog.debug(f"Plain file: {config["yara_file"]} - yara-x: {USE_YARA_X}") + vollog.debug(f"Plain file: {config['yara_file']} - yara-x: {USE_YARA_X}") rules = YaraScanner.from_file(config["yara_file"]) elif config.get("yara_compiled_file") is not None: vollog.debug( - f"Compiled file: {config["yara_compiled_file"]} - yara-x: {USE_YARA_X}" + f"Compiled file: {config['yara_compiled_file']} - yara-x: {USE_YARA_X}" ) rules = YaraScanner.from_compiled_file(config["yara_compiled_file"]) else: From dc8dc9b078d42e41698ff93f2e65c5ee99aa2172 Mon Sep 17 00:00:00 2001 From: Davide Arcuri Date: Thu, 25 Jul 2024 14:37:18 +0200 Subject: [PATCH 0553/2186] fix yara depending plugins --- .../framework/plugins/linux/vmayarascan.py | 4 +- .../framework/plugins/windows/mftscan.py | 6 +-- .../framework/plugins/windows/vadyarascan.py | 49 +++++++++++++------ volatility3/framework/plugins/yarascan.py | 24 ++++----- 4 files changed, 48 insertions(+), 35 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index eda0d7dca..6d055707c 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -31,10 +31,10 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), requirements.PluginRequirement( - name="yarascan", plugin=yarascan.YaraScan, version=(1, 2, 0) + name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) ), requirements.VersionRequirement( - name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) ), requirements.ModuleRequirement( name="kernel", diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 1b1a1b45e..9e6585345 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -29,7 +29,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) ), ] @@ -38,7 +38,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Yara Rule to scan for MFT Header Signatures rules = yarascan.YaraScan.process_yara_options( - {"yara_rules": "/FILE0|FILE\\*|BAAD/"} + {"yara_string": "/FILE0|FILE\\*|BAAD/"} ) # Read in the Symbol File @@ -197,7 +197,7 @@ class ADS(interfaces.plugins.PluginInterface): # Yara Rule to scan for MFT Header Signatures rules = yarascan.YaraScan.process_yara_options( - {"yara_rules": "/FILE0|FILE\\*|BAAD/"} + {"yara_string": "/FILE0|FILE\\*|BAAD/"} ) # Read in the Symbol File diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index dc318dd93..4a84a1285 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -33,7 +33,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), requirements.PluginRequirement( - name="yarascan", plugin=yarascan.YaraScan, version=(1, 3, 0) + name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) ), requirements.ListRequirement( name="pid", @@ -73,26 +73,43 @@ class VadYaraScan(interfaces.plugins.PluginInterface): ) continue - for match in rules.match(data=layer.read(start, size, True)): - if yarascan.YaraScan.yara_returns_instances(): - for match_string in match.strings: - for instance in match_string.instances: + if not yarascan.YaraScan._yara_x: + for match in rules.match(data=layer.read(start, size, True)): + if yarascan.YaraScan.yara_returns_instances(): + for match_string in match.strings: + for instance in match_string.instances: + yield 0, ( + format_hints.Hex(instance.offset + start), + task.UniqueProcessId, + match.rule, + match_string.identifier, + instance.matched_data, + ) + else: + for offset, name, value in match.strings: + yield 0, ( + format_hints.Hex(offset + start), + task.UniqueProcessId, + match.rule, + name, + value, + ) + else: + data = layer.read(start, size, True) + results = rules.scan(data) + for match in results.matching_rules: + for match_string in match.patterns: + for instance in match_string.matches: yield 0, ( format_hints.Hex(instance.offset + start), task.UniqueProcessId, - match.rule, + f"{match.namespace}.{match.identifier}", match_string.identifier, - instance.matched_data, + data[ + instance.offset : instance.offset + + instance.length + ], ) - else: - for offset, name, value in match.strings: - yield 0, ( - format_hints.Hex(offset + start), - task.UniqueProcessId, - match.rule, - name, - value, - ) @staticmethod def get_vad_maps( diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 8d2f242d9..6a4dd9251 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -36,8 +36,8 @@ except ImportError: raise -class YaraPythonScanner(interfaces.layers.ScannerInterface): - _version = (2, 0, 0) +class BaseYaraScanner(interfaces.layers.ScannerInterface): + _version = (2, 1, 0) # yara.Rules isn't exposed, so we can't type this properly def __init__(self, rules) -> None: @@ -45,6 +45,11 @@ class YaraPythonScanner(interfaces.layers.ScannerInterface): if rules is None: raise ValueError("No rules provided to YaraScanner") self._rules = rules + + +class YaraPythonScanner(BaseYaraScanner): + def __init__(self, rules) -> None: + super().__init__(rules) self.st_object = not tuple(int(x) for x in yara.__version__.split(".")) < (4, 3) def __call__( @@ -81,16 +86,7 @@ class YaraPythonScanner(interfaces.layers.ScannerInterface): return yara.compile(file=fp) -class YaraXScanner(interfaces.layers.ScannerInterface): - _version = (2, 0, 0) - - # yara.Rules isn't exposed, so we can't type this properly - def __init__(self, rules) -> None: - super().__init__() - if rules is None: - raise ValueError("No rules provided to YaraScanner") - self._rules = rules - +class YaraXScanner(BaseYaraScanner): def __call__( self, data: bytes, data_offset: int ) -> Iterable[Tuple[int, str, str, bytes]]: @@ -128,6 +124,7 @@ class YaraScan(plugins.PluginInterface): _required_framework_version = (2, 0, 0) _version = (2, 0, 0) + _yara_x = USE_YARA_X @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -188,8 +185,7 @@ class YaraScan(plugins.PluginInterface): @classmethod def yara_returns_instances(cls) -> bool: - st_object = not tuple([int(x) for x in yara.__version__.split(".")]) < (4, 3) - return st_object + return not tuple(int(x) for x in yara.__version__.split(".")) < (4, 3) @classmethod def process_yara_options(cls, config: Dict[str, Any]): From 6f3f645dbcfb94b797f2e244e56e43dd8e4cba0a Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 25 Jul 2024 17:59:10 +0100 Subject: [PATCH 0554/2186] Windows: update handles plugin sar warnings to use DEFAULT_SAR_VALUE var --- volatility3/framework/plugins/windows/handles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index abe154fa1..6010b4c72 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -177,7 +177,7 @@ class Handles(interfaces.plugins.PluginInterface): ) except exceptions.InvalidAddressException: vollog.warning( - f"Failed to read {hex(num_bytes_to_read)} bytes at symbol {hex(func_addr_to_read)}. Unable to decode SAR value. Failing back to a common value of 0x10" + f"Failed to read {hex(num_bytes_to_read)} bytes at symbol {hex(func_addr_to_read)}. Unable to decode SAR value. Failing back to a common value of {hex(DEFAULT_SAR_VALUE)}}" ) self._sar_value = DEFAULT_SAR_VALUE return self._sar_value @@ -201,7 +201,7 @@ class Handles(interfaces.plugins.PluginInterface): if self._sar_value is None: vollog.warning( - f"Failed to to locate SAR value having parsed {instruction_count} instructions, failing back to a common value of 0x10" + f"Failed to to locate SAR value having parsed {instruction_count} instructions, failing back to a common value of {hex(DEFAULT_SAR_VALUE)}" ) self._sar_value = DEFAULT_SAR_VALUE From 799afe6e51558dc4fe3828276f28b888e866e708 Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 25 Jul 2024 18:02:30 +0100 Subject: [PATCH 0555/2186] Windows: fix type in handles plugin --- volatility3/framework/plugins/windows/handles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 6010b4c72..3e5a2fd82 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -177,7 +177,7 @@ class Handles(interfaces.plugins.PluginInterface): ) except exceptions.InvalidAddressException: vollog.warning( - f"Failed to read {hex(num_bytes_to_read)} bytes at symbol {hex(func_addr_to_read)}. Unable to decode SAR value. Failing back to a common value of {hex(DEFAULT_SAR_VALUE)}}" + f"Failed to read {hex(num_bytes_to_read)} bytes at symbol {hex(func_addr_to_read)}. Unable to decode SAR value. Failing back to a common value of {hex(DEFAULT_SAR_VALUE)}" ) self._sar_value = DEFAULT_SAR_VALUE return self._sar_value From 7a03e9deabc6f743eb8e201fe75dcdd810339635 Mon Sep 17 00:00:00 2001 From: Eve Date: Thu, 25 Jul 2024 18:21:12 +0100 Subject: [PATCH 0556/2186] Windows: Add a _version to the filescan plugin --- volatility3/framework/plugins/windows/filescan.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/windows/filescan.py b/volatility3/framework/plugins/windows/filescan.py index 34c0c60d3..82566361d 100644 --- a/volatility3/framework/plugins/windows/filescan.py +++ b/volatility3/framework/plugins/windows/filescan.py @@ -14,6 +14,7 @@ class FileScan(interfaces.plugins.PluginInterface): """Scans for file objects present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): From 650dd06245918f1b14d8477eff85a743c9e42c4f Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sat, 27 Jul 2024 16:03:59 +0200 Subject: [PATCH 0557/2186] Modifications following the review --- volatility3/framework/plugins/linux/lsof.py | 74 +++++++++++-------- .../framework/symbols/linux/__init__.py | 51 +++++++------ 2 files changed, 70 insertions(+), 55 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index f9aeafe14..3bbc855f9 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -1,4 +1,4 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # """A module containing a collection of plugins that produce data typically @@ -12,16 +12,17 @@ from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility from volatility3.framework.symbols import linux from volatility3.plugins.linux import pslist +from volatility3.plugins import timeliner vollog = logging.getLogger(__name__) -class Lsof(plugins.PluginInterface): +class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists all memory maps for all processes.""" _required_framework_version = (2, 0, 0) - _version = (1, 1, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -46,7 +47,7 @@ class Lsof(plugins.PluginInterface): ] @classmethod - def list_fds( + def list_fds_and_inodes( cls, context: interfaces.context.ContextInterface, symbol_table: str, @@ -67,27 +68,38 @@ class Lsof(plugins.PluginInterface): ) for fd_fields in fd_generator: - yield pid, task_comm, task, fd_fields + fd_num, filp, full_path = fd_fields + inode_metadata = linux.LinuxUtilities.get_inode_metadata(context, filp) + try: + inode_num, file_size, imode, ctime, mtime, atime = next( + inode_metadata + ) + except Exception as e: + vollog.warning( + f"Can't get inode metadata for file descriptor {fd_num}: {e}" + ) + continue + yield pid, task_comm, task, fd_num, filp, full_path, inode_num, imode, ctime, mtime, atime, file_size def _generator(self, pids, symbol_table): filter_func = pslist.PsList.create_pid_filter(pids) - fds_generator = self.list_fds( + fds_generator = self.list_fds_and_inodes( self.context, symbol_table, filter_func=filter_func ) - - for pid, task_comm, _task, fd_fields in fds_generator: - ( - fd_num, - _filp, - full_path, - inode_num, - imode, - ctime, - mtime, - atime, - file_size, - ) = fd_fields - + for ( + pid, + task_comm, + task, + fd_num, + filp, + full_path, + inode_num, + imode, + ctime, + mtime, + atime, + file_size, + ) in fds_generator: fields = ( pid, task_comm, @@ -113,22 +125,20 @@ class Lsof(plugins.PluginInterface): ("Path", str), ("Inode", int), ("Mode", str), - ("LastChange", datetime.datetime), - ("LastModify", datetime.datetime), - ("LastAccessed", datetime.datetime), + ("Changed", datetime.datetime), + ("Modified", datetime.datetime), + ("Accessed", datetime.datetime), ("Size", int), ] return renderers.TreeGrid(tree_grid_args, self._generator(pids, symbol_table)) def generate_timeline(self): + pids = self.config.get("pid", None) + symbol_table = self.config["kernel"] filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - for row in self._generator( - pslist.PsList.list_tasks( - self.context, self.config["kernel"], filter_func=filter_func - ) - ): + for row in self._generator(pids, symbol_table): _depth, row_data = row - description = f'Process {row_data[1]} ({row_data[0]}) Open "{row_data[4]}"' - yield description, timeliner.TimeLinerType.CHANGED, row_data[5] - yield description, timeliner.TimeLinerType.MODIFIED, row_data[6] - yield description, timeliner.TimeLinerType.ACCESSED, row_data[7] + description = f'Process {row_data[1]} ({row_data[0]}) Open "{row_data[3]}"' + yield description, timeliner.TimeLinerType.CHANGED, row_data[6] + yield description, timeliner.TimeLinerType.MODIFIED, row_data[7] + yield description, timeliner.TimeLinerType.ACCESSED, row_data[8] diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index b9321f369..2b97bc5f4 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -1,9 +1,8 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import stat, datetime from typing import Iterator, List, Tuple, Optional, Union - +import logging, datetime, stat from volatility3 import framework from volatility3.framework import constants, exceptions, interfaces, objects from volatility3.framework.objects import utility @@ -62,7 +61,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" - _version = (2, 1, 0) + _version = (2, 2, 0) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) @@ -266,26 +265,32 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): for fd_num, filp in enumerate(fds): if filp != 0: full_path = LinuxUtilities.path_for_file(context, task, filp) - dentry = filp.get_dentry() - if dentry != 0: - inode_object = dentry.d_inode - inode_num = inode_object.i_ino - file_size = inode_object.i_size # file size in bytes - imode = stat.filemode( - inode_object.i_mode - ) # file type & Permissions - # Timestamps - ctime = datetime.datetime.fromtimestamp( - inode_object.i_ctime.tv_sec - ) # last change time - mtime = datetime.datetime.fromtimestamp( - inode_object.i_mtime.tv_sec - ) # last modify time - atime = datetime.datetime.fromtimestamp( - inode_object.i_atime.tv_sec - ) # last access time - yield fd_num, filp, full_path, inode_num, imode, ctime, mtime, atime, file_size + yield fd_num, filp, full_path + + @classmethod + def get_inode_metadata(cls, context: interfaces.context.ContextInterface, filp): + """ + A helper function that gets the inodes metadata from a file descriptor + """ + dentry = filp.get_dentry() + if dentry != 0: + inode_object = dentry.d_inode + inode_num = inode_object.i_ino + file_size = inode_object.i_size # file size in bytes + imode = stat.filemode(inode_object.i_mode) # file type & Permissions + + # Timestamps + ctime = datetime.datetime.fromtimestamp( + inode_object.i_ctime.tv_sec + ) # last change time + mtime = datetime.datetime.fromtimestamp( + inode_object.i_mtime.tv_sec + ) # last modify time + atime = datetime.datetime.fromtimestamp( + inode_object.i_atime.tv_sec + ) # last access time + yield inode_num, file_size, imode, ctime, mtime, atime @classmethod def mask_mods_list( From 7024588076adf95c2d6667c851cddf87e8c68555 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sat, 27 Jul 2024 16:09:52 +0200 Subject: [PATCH 0558/2186] Code clean --- volatility3/framework/plugins/linux/lsof.py | 1 - volatility3/framework/symbols/linux/__init__.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 3bbc855f9..98a215ecf 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -135,7 +135,6 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): def generate_timeline(self): pids = self.config.get("pid", None) symbol_table = self.config["kernel"] - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) for row in self._generator(pids, symbol_table): _depth, row_data = row description = f'Process {row_data[1]} ({row_data[0]}) Open "{row_data[3]}"' diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 2b97bc5f4..1b3f75e98 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # from typing import Iterator, List, Tuple, Optional, Union -import logging, datetime, stat +import datetime, stat from volatility3 import framework from volatility3.framework import constants, exceptions, interfaces, objects from volatility3.framework.objects import utility From 815252c9ba31913d22e8836183828059217c4e9d Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Sat, 27 Jul 2024 16:35:22 +0200 Subject: [PATCH 0559/2186] Adding watchdogs --- volatility3/framework/plugins/linux/lsof.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 98a215ecf..c1de48c1a 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -78,7 +78,13 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): vollog.warning( f"Can't get inode metadata for file descriptor {fd_num}: {e}" ) - continue + # Yield NotAvailableValue for each field in case of an exception + inode_num = renderers.NotAvailableValue() + file_size = renderers.NotAvailableValue() + imode = renderers.NotAvailableValue() + ctime = renderers.NotAvailableValue() + mtime = renderers.NotAvailableValue() + atime = renderers.NotAvailableValue() yield pid, task_comm, task, fd_num, filp, full_path, inode_num, imode, ctime, mtime, atime, file_size def _generator(self, pids, symbol_table): From f44ceb321d0c3b10249c1c697b3fb0c40f38ba39 Mon Sep 17 00:00:00 2001 From: qpalzmz112 <68213464+qpalzmz112@users.noreply.github.com> Date: Sat, 27 Jul 2024 20:11:39 -0500 Subject: [PATCH 0560/2186] Added psxview --- .../framework/plugins/windows/psxview.py | 188 ++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 volatility3/framework/plugins/windows/psxview.py diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py new file mode 100644 index 000000000..3bf6c27f5 --- /dev/null +++ b/volatility3/framework/plugins/windows/psxview.py @@ -0,0 +1,188 @@ +import datetime, logging + +from volatility3.framework import constants, exceptions +from volatility3.framework.interfaces import plugins +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints, TreeGrid +from volatility3.plugins.windows import handles, info, pslist, psscan, sessions, thrdscan + +vollog = logging.getLogger(__name__) + +class PsXView(plugins.PluginInterface): + """Lists all processes found via 6 of the methods described in \"The Art of Memory Forensics,\" which may help + identify processes that are trying to hide themselves. I recommend using -r pretty if you are looking at this + plugin's output in a terminal.""" + # I've omitted the desktop thread scanning method because Volatility3 doesn't appear to have the funcitonality + # which the original plugin to do it. + + # I don't think it's worth including the sessions method either because both the original psxview plugin + # and Volatility3's sessions plugin begin with the list of processes found by PsList. + # The original psxview plugin's session code essentially just filters the pslist for processes + # whose session ID is not None. I've matched this in my code, but again, it doesn't seem worth including. + + # Lastly, I've omitted the pspcid method because I could not for the life of me get it to work. I saved the + # code I do have from it, and will happily share it if anyone else wants to add it. + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls): + return [requirements.ModuleRequirement(name="kernel", description="Windows kernel", architectures=["Intel32", "Intel64"]), + requirements.VersionRequirement(name="info", component=info.Info, version=(1, 0, 0)), + requirements.VersionRequirement(name="pslist", component=pslist.PsList, version=(2, 0, 0)), + requirements.VersionRequirement(name="psscan", component=psscan.PsScan, version=(1, 0, 0)), + requirements.VersionRequirement(name="thrdscan", component=thrdscan.ThrdScan, version=(1, 0, 0)), + requirements.VersionRequirement(name="handles", component=handles.Handles, version=(1, 0, 0)), + requirements.VersionRequirement(name="sessions", component=sessions.Sessions, version=(0, 0, 0)), + requirements.BooleanRequirement(name="identify-expected", description="In the plugin's output, replace false with \ + normal where false is the expected result for a Windows machine running normally. \ + Keep in mind that this plugin uses simple checks to identify \"normal\" behavior, \ + so you may want to double-check the legitimacy of these processes yourself.", optional=True), + requirements.BooleanRequirement(name="physical-offsets", description="List processes with phyiscall offsets instead of virtual offsets.", optional=True)] + + def proc_name_to_string(self, proc): + return proc.ImageFileName.cast("string", max_length=proc.ImageFileName.vol.count, errors="replace") + + def is_ascii(self, str): + return str.split('.')[0].isalnum() + + def filter_garbage_procs(self, proc_list): + return [p for p in proc_list if p.is_valid() and self.is_ascii(self.proc_name_to_string(p))] + + def translate_offset(self, offset): + if self.config["physical-offsets"]: + return offset + + kernel = self.context.modules[self.config["kernel"]] + layer_name = kernel.layer_name + + try: + offset = list(self.context.layers[layer_name].mapping(offset=offset, length=0))[0][2] + except: + # already have physical address + pass + + return offset + + def proc_list_to_dict(self, tasks): + return {self.translate_offset(proc.vol.offset):proc for proc in tasks} + + def check_pslist(self, tasks): + res = self.filter_garbage_procs(tasks) + return self.proc_list_to_dict(tasks) + + def check_psscan(self, layer_name, symbol_table): + res = psscan.PsScan.scan_processes(context=self.context, layer_name=layer_name, symbol_table=symbol_table) + res = self.filter_garbage_procs(res) + + return self.proc_list_to_dict(res) + + def check_thrdscan(self): + ret = [] + + for ethread in thrdscan.ThrdScan.scan_threads(self.context, module_name='kernel'): + process = None + try: + process = ethread.owning_process() + if not process.is_valid(): + continue + + ret.append(process) + except AttributeError: + vollog.log(constants.LOGLEVEL_VVV, "Unable to find the owning process of ethread") + + return self.proc_list_to_dict(ret) + + def check_csrss_handles(self, tasks, layer_name, symbol_table): + ret = [] + + for p in tasks: + name = self.proc_name_to_string(p) + if name == 'csrss.exe': + try: + if p.has_member("ObjectTable"): + handles_plugin = handles.Handles(context=self.context, config_path=self.config_path) + hndls = list(handles_plugin.handles(p.ObjectTable)) + for h in hndls: + if (h.get_object_type(handles_plugin.get_type_map(self.context, layer_name, symbol_table)) == "Process"): + ret.append(h.Body.cast("_EPROCESS")) + + except exceptions.InvalidAddressException: + vollog.log(constants.LOGLEVEL_VVV, "Cannot access eprocess object table") + + ret = self.filter_garbage_procs(ret) + return self.proc_list_to_dict(ret) + + def check_session(self, pslist_procs): + procs = [p for p in pslist_procs if p.get_session_id() != None] + + return self.proc_list_to_dict(procs) + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + layer_name = kernel.layer_name + symbol_table = kernel.symbol_table_name + + kdbg_list_processes = list(pslist.PsList.list_processes(context=self.context, layer_name=layer_name, symbol_table=symbol_table)) + + processes = {} + + processes['pslist'] = self.check_pslist(kdbg_list_processes) + processes['psscan'] = self.check_psscan(layer_name, symbol_table) + processes['thrdscan'] = self.check_thrdscan() + processes['csrss'] = self.check_csrss_handles(kdbg_list_processes, layer_name, symbol_table) + processes['sessions'] = self.check_session(kdbg_list_processes) + + seen_offsets = set() + for source in processes: + for offset in processes[source]: + if offset not in seen_offsets: + seen_offsets.add(offset) + proc = processes[source][offset] + + pid = proc.UniqueProcessId + name = self.proc_name_to_string(proc) + + exit_time = proc.get_exit_time() + if (type(exit_time) != datetime.datetime): + exit_time = "" + else: + exit_time = str(exit_time) + + in_sources = {src:str(offset in processes[src]) for src in processes} + + if self.config["identify-expected"]: + f = "False" + n = "Normal" + + if in_sources["pslist"] == f: + if exit_time != "": + in_sources["pslist"] = n + + if in_sources["thrdscan"] == f: + if exit_time != "": + in_sources["thrdscan"] = n + + if in_sources["csrss"] == f: + if name.lower() in ["system", "smss.exe", "csrss.exe"]: + in_sources["csrss"] = n + elif exit_time != "": + in_sources["csrss"] = n + + if in_sources["sessions"] == f: + if name.lower() in ["system", "smss.exe"]: + in_sources["sessions"] = n + + yield (0, (format_hints.Hex(offset), name, pid, in_sources["pslist"], + in_sources["psscan"], in_sources["thrdscan"], in_sources["csrss"], + in_sources["sessions"], exit_time)) + + + def run(self): + offset_type = "(Physical)" if self.config["physical-offsets"] else "(Virtual)" + offset_str = "Offset" + offset_type + + return TreeGrid([(offset_str, format_hints.Hex), ("Name", str), ("PID", int), ("pslist", str), ("psscan", str), + ("thrdscan", str), ("csrss", str), ("sessions", str), ("Exit Time", str) ], self._generator()) \ No newline at end of file From 824b0599f20d2a1f0e7f16ca08f9b498898e4c52 Mon Sep 17 00:00:00 2001 From: qpalzmz112 <68213464+qpalzmz112@users.noreply.github.com> Date: Sat, 27 Jul 2024 20:35:08 -0500 Subject: [PATCH 0561/2186] formatted --- .../framework/plugins/windows/psxview.py | 203 +++++++++++++----- 1 file changed, 147 insertions(+), 56 deletions(-) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 3bf6c27f5..1fde5b12d 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -4,19 +4,28 @@ from volatility3.framework import constants, exceptions from volatility3.framework.interfaces import plugins from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints, TreeGrid -from volatility3.plugins.windows import handles, info, pslist, psscan, sessions, thrdscan +from volatility3.plugins.windows import ( + handles, + info, + pslist, + psscan, + sessions, + thrdscan, +) vollog = logging.getLogger(__name__) + class PsXView(plugins.PluginInterface): - """Lists all processes found via 6 of the methods described in \"The Art of Memory Forensics,\" which may help + """Lists all processes found via 6 of the methods described in \"The Art of Memory Forensics,\" which may help identify processes that are trying to hide themselves. I recommend using -r pretty if you are looking at this plugin's output in a terminal.""" - # I've omitted the desktop thread scanning method because Volatility3 doesn't appear to have the funcitonality - # which the original plugin to do it. - # I don't think it's worth including the sessions method either because both the original psxview plugin - # and Volatility3's sessions plugin begin with the list of processes found by PsList. + # I've omitted the desktop thread scanning method because Volatility3 doesn't appear to have the funcitonality + # which the original plugin to do it. + + # I don't think it's worth including the sessions method either because both the original psxview plugin + # and Volatility3's sessions plugin begin with the list of processes found by PsList. # The original psxview plugin's session code essentially just filters the pslist for processes # whose session ID is not None. I've matched this in my code, but again, it doesn't seem worth including. @@ -28,52 +37,88 @@ class PsXView(plugins.PluginInterface): @classmethod def get_requirements(cls): - return [requirements.ModuleRequirement(name="kernel", description="Windows kernel", architectures=["Intel32", "Intel64"]), - requirements.VersionRequirement(name="info", component=info.Info, version=(1, 0, 0)), - requirements.VersionRequirement(name="pslist", component=pslist.PsList, version=(2, 0, 0)), - requirements.VersionRequirement(name="psscan", component=psscan.PsScan, version=(1, 0, 0)), - requirements.VersionRequirement(name="thrdscan", component=thrdscan.ThrdScan, version=(1, 0, 0)), - requirements.VersionRequirement(name="handles", component=handles.Handles, version=(1, 0, 0)), - requirements.VersionRequirement(name="sessions", component=sessions.Sessions, version=(0, 0, 0)), - requirements.BooleanRequirement(name="identify-expected", description="In the plugin's output, replace false with \ + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="info", component=info.Info, version=(1, 0, 0) + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="psscan", component=psscan.PsScan, version=(1, 0, 0) + ), + requirements.VersionRequirement( + name="thrdscan", component=thrdscan.ThrdScan, version=(1, 0, 0) + ), + requirements.VersionRequirement( + name="handles", component=handles.Handles, version=(1, 0, 0) + ), + requirements.VersionRequirement( + name="sessions", component=sessions.Sessions, version=(0, 0, 0) + ), + requirements.BooleanRequirement( + name="identify-expected", + description='In the plugin\'s output, replace false with \ normal where false is the expected result for a Windows machine running normally. \ - Keep in mind that this plugin uses simple checks to identify \"normal\" behavior, \ - so you may want to double-check the legitimacy of these processes yourself.", optional=True), - requirements.BooleanRequirement(name="physical-offsets", description="List processes with phyiscall offsets instead of virtual offsets.", optional=True)] - + Keep in mind that this plugin uses simple checks to identify "normal" behavior, \ + so you may want to double-check the legitimacy of these processes yourself.', + optional=True, + ), + requirements.BooleanRequirement( + name="physical-offsets", + description="List processes with phyiscall offsets instead of virtual offsets.", + optional=True, + ), + ] + def proc_name_to_string(self, proc): - return proc.ImageFileName.cast("string", max_length=proc.ImageFileName.vol.count, errors="replace") + return proc.ImageFileName.cast( + "string", max_length=proc.ImageFileName.vol.count, errors="replace" + ) def is_ascii(self, str): - return str.split('.')[0].isalnum() - + return str.split(".")[0].isalnum() + def filter_garbage_procs(self, proc_list): - return [p for p in proc_list if p.is_valid() and self.is_ascii(self.proc_name_to_string(p))] - + return [ + p + for p in proc_list + if p.is_valid() and self.is_ascii(self.proc_name_to_string(p)) + ] + def translate_offset(self, offset): if self.config["physical-offsets"]: return offset - + kernel = self.context.modules[self.config["kernel"]] layer_name = kernel.layer_name try: - offset = list(self.context.layers[layer_name].mapping(offset=offset, length=0))[0][2] + offset = list( + self.context.layers[layer_name].mapping(offset=offset, length=0) + )[0][2] except: # already have physical address pass return offset - + def proc_list_to_dict(self, tasks): - return {self.translate_offset(proc.vol.offset):proc for proc in tasks} - + return {self.translate_offset(proc.vol.offset): proc for proc in tasks} + def check_pslist(self, tasks): res = self.filter_garbage_procs(tasks) return self.proc_list_to_dict(tasks) - + def check_psscan(self, layer_name, symbol_table): - res = psscan.PsScan.scan_processes(context=self.context, layer_name=layer_name, symbol_table=symbol_table) + res = psscan.PsScan.scan_processes( + context=self.context, layer_name=layer_name, symbol_table=symbol_table + ) res = self.filter_garbage_procs(res) return self.proc_list_to_dict(res) @@ -81,7 +126,9 @@ class PsXView(plugins.PluginInterface): def check_thrdscan(self): ret = [] - for ethread in thrdscan.ThrdScan.scan_threads(self.context, module_name='kernel'): + for ethread in thrdscan.ThrdScan.scan_threads( + self.context, module_name="kernel" + ): process = None try: process = ethread.owning_process() @@ -90,50 +137,70 @@ class PsXView(plugins.PluginInterface): ret.append(process) except AttributeError: - vollog.log(constants.LOGLEVEL_VVV, "Unable to find the owning process of ethread") + vollog.log( + constants.LOGLEVEL_VVV, + "Unable to find the owning process of ethread", + ) return self.proc_list_to_dict(ret) - + def check_csrss_handles(self, tasks, layer_name, symbol_table): ret = [] for p in tasks: name = self.proc_name_to_string(p) - if name == 'csrss.exe': + if name == "csrss.exe": try: if p.has_member("ObjectTable"): - handles_plugin = handles.Handles(context=self.context, config_path=self.config_path) + handles_plugin = handles.Handles( + context=self.context, config_path=self.config_path + ) hndls = list(handles_plugin.handles(p.ObjectTable)) for h in hndls: - if (h.get_object_type(handles_plugin.get_type_map(self.context, layer_name, symbol_table)) == "Process"): + if ( + h.get_object_type( + handles_plugin.get_type_map( + self.context, layer_name, symbol_table + ) + ) + == "Process" + ): ret.append(h.Body.cast("_EPROCESS")) except exceptions.InvalidAddressException: - vollog.log(constants.LOGLEVEL_VVV, "Cannot access eprocess object table") + vollog.log( + constants.LOGLEVEL_VVV, "Cannot access eprocess object table" + ) ret = self.filter_garbage_procs(ret) return self.proc_list_to_dict(ret) def check_session(self, pslist_procs): procs = [p for p in pslist_procs if p.get_session_id() != None] - + return self.proc_list_to_dict(procs) def _generator(self): kernel = self.context.modules[self.config["kernel"]] layer_name = kernel.layer_name - symbol_table = kernel.symbol_table_name + symbol_table = kernel.symbol_table_name + + kdbg_list_processes = list( + pslist.PsList.list_processes( + context=self.context, layer_name=layer_name, symbol_table=symbol_table + ) + ) - kdbg_list_processes = list(pslist.PsList.list_processes(context=self.context, layer_name=layer_name, symbol_table=symbol_table)) - processes = {} - processes['pslist'] = self.check_pslist(kdbg_list_processes) - processes['psscan'] = self.check_psscan(layer_name, symbol_table) - processes['thrdscan'] = self.check_thrdscan() - processes['csrss'] = self.check_csrss_handles(kdbg_list_processes, layer_name, symbol_table) - processes['sessions'] = self.check_session(kdbg_list_processes) + processes["pslist"] = self.check_pslist(kdbg_list_processes) + processes["psscan"] = self.check_psscan(layer_name, symbol_table) + processes["thrdscan"] = self.check_thrdscan() + processes["csrss"] = self.check_csrss_handles( + kdbg_list_processes, layer_name, symbol_table + ) + processes["sessions"] = self.check_session(kdbg_list_processes) seen_offsets = set() for source in processes: @@ -146,12 +213,14 @@ class PsXView(plugins.PluginInterface): name = self.proc_name_to_string(proc) exit_time = proc.get_exit_time() - if (type(exit_time) != datetime.datetime): + if type(exit_time) != datetime.datetime: exit_time = "" else: exit_time = str(exit_time) - in_sources = {src:str(offset in processes[src]) for src in processes} + in_sources = { + src: str(offset in processes[src]) for src in processes + } if self.config["identify-expected"]: f = "False" @@ -173,16 +242,38 @@ class PsXView(plugins.PluginInterface): if in_sources["sessions"] == f: if name.lower() in ["system", "smss.exe"]: - in_sources["sessions"] = n + in_sources["sessions"] = n + + yield ( + 0, + ( + format_hints.Hex(offset), + name, + pid, + in_sources["pslist"], + in_sources["psscan"], + in_sources["thrdscan"], + in_sources["csrss"], + in_sources["sessions"], + exit_time, + ), + ) - yield (0, (format_hints.Hex(offset), name, pid, in_sources["pslist"], - in_sources["psscan"], in_sources["thrdscan"], in_sources["csrss"], - in_sources["sessions"], exit_time)) - - def run(self): offset_type = "(Physical)" if self.config["physical-offsets"] else "(Virtual)" offset_str = "Offset" + offset_type - return TreeGrid([(offset_str, format_hints.Hex), ("Name", str), ("PID", int), ("pslist", str), ("psscan", str), - ("thrdscan", str), ("csrss", str), ("sessions", str), ("Exit Time", str) ], self._generator()) \ No newline at end of file + return TreeGrid( + [ + (offset_str, format_hints.Hex), + ("Name", str), + ("PID", int), + ("pslist", str), + ("psscan", str), + ("thrdscan", str), + ("csrss", str), + ("sessions", str), + ("Exit Time", str), + ], + self._generator(), + ) From 44f26c928eddaaf6743ac07b22331ad082e86bc1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 28 Jul 2024 12:35:02 +0100 Subject: [PATCH 0562/2186] Add in shtab autocompletion --- volatility3/cli/__init__.py | 22 +++++++++++++++++++--- volatility3/cli/volargparse.py | 6 ++++-- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 6b17edac0..883b54ac4 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -22,6 +22,13 @@ import traceback from typing import Any, Dict, List, Tuple, Type, Union from urllib import parse, request +try: + import shtab + + HAS_SHTAB = True +except ImportError: + HAS_SHTAB = False + from volatility3.cli import text_filter import volatility3.plugins import volatility3.symbols @@ -106,6 +113,9 @@ class CommandLine: ] ) + # Argument for doing autocompletion + print_completion_arg = "--print-completion" + # Load up system defaults delayed_logs, default_config = self.load_system_defaults("vol.json") @@ -246,10 +256,12 @@ class CommandLine: # We have to filter out help, otherwise parse_known_args will trigger the help message before having # processed the plugin choice or had the plugin subparser added. known_args = [arg for arg in sys.argv if arg != "--help" and arg != "-h"] - partial_args, _ = parser.parse_known_args(known_args) - + partial_args, unknown_args = parser.parse_known_args(known_args) banner_output = sys.stdout - if renderers[partial_args.renderer].structured_output: + if ( + renderers[partial_args.renderer].structured_output + or print_completion_arg in unknown_args + ): banner_output = sys.stderr banner_output.write(f"Volatility 3 Framework {constants.PACKAGE_VERSION}\n") @@ -351,6 +363,10 @@ class CommandLine: # Hand the plugin requirements over to the CLI (us) and let it construct the config tree # Run the argparser + if HAS_SHTAB: + # The autocompletion line must be after the partial_arg handling, so that it doesn't trip it + # before all the plugins have been added + shtab.add_argument_to(parser, [print_completion_arg]) args = parser.parse_args() if args.plugin is None: parser.error("Please select a plugin to run") diff --git a/volatility3/cli/volargparse.py b/volatility3/cli/volargparse.py index 3048a0885..3e7eb6751 100644 --- a/volatility3/cli/volargparse.py +++ b/volatility3/cli/volargparse.py @@ -21,8 +21,6 @@ class HelpfulSubparserAction(argparse._SubParsersAction): def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) - # We don't want the action self-check to kick in, so we remove the choices list, the check happens in __call__ - self.choices = None def __call__( self, @@ -100,3 +98,7 @@ class HelpfulArgParser(argparse.ArgumentParser): # return the number of arguments matched return len(match.group(1)) + + def _check_value(self, action, value): + if not isinstance(action, HelpfulSubparserAction): + return super()._check_value(action, value) From e89e77637776b14c61516d2c47a7148a2f13860a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 28 Jul 2024 12:41:31 +0100 Subject: [PATCH 0563/2186] Try out argcomplete as well --- vol.py | 1 + volatility3/cli/__init__.py | 21 ++++++++------------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/vol.py b/vol.py index ff420cad5..c49d5985d 100755 --- a/vol.py +++ b/vol.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# PYTHON_ARGCOMPLETE_OK # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 883b54ac4..1209d7cdc 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -23,11 +23,11 @@ from typing import Any, Dict, List, Tuple, Type, Union from urllib import parse, request try: - import shtab + import argcomplete - HAS_SHTAB = True + HAS_ARGCOMPLETE = True except ImportError: - HAS_SHTAB = False + HAS_ARGCOMPLETE = False from volatility3.cli import text_filter import volatility3.plugins @@ -113,9 +113,6 @@ class CommandLine: ] ) - # Argument for doing autocompletion - print_completion_arg = "--print-completion" - # Load up system defaults delayed_logs, default_config = self.load_system_defaults("vol.json") @@ -256,12 +253,10 @@ class CommandLine: # We have to filter out help, otherwise parse_known_args will trigger the help message before having # processed the plugin choice or had the plugin subparser added. known_args = [arg for arg in sys.argv if arg != "--help" and arg != "-h"] - partial_args, unknown_args = parser.parse_known_args(known_args) + partial_args, _ = parser.parse_known_args(known_args) + banner_output = sys.stdout - if ( - renderers[partial_args.renderer].structured_output - or print_completion_arg in unknown_args - ): + if renderers[partial_args.renderer].structured_output: banner_output = sys.stderr banner_output.write(f"Volatility 3 Framework {constants.PACKAGE_VERSION}\n") @@ -363,10 +358,10 @@ class CommandLine: # Hand the plugin requirements over to the CLI (us) and let it construct the config tree # Run the argparser - if HAS_SHTAB: + if HAS_ARGCOMPLETE: # The autocompletion line must be after the partial_arg handling, so that it doesn't trip it # before all the plugins have been added - shtab.add_argument_to(parser, [print_completion_arg]) + argcomplete.autocomplete(parser) args = parser.parse_args() if args.plugin is None: parser.error("Please select a plugin to run") From 0d8fb76b3a48599ac9beb8eea5d79e46fe7b877e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 28 Jul 2024 19:57:18 +0100 Subject: [PATCH 0564/2186] Renderers: Allow BaseAbsentValues in value results Fixes #1216 --- volatility3/framework/renderers/format_hints.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/volatility3/framework/renderers/format_hints.py b/volatility3/framework/renderers/format_hints.py index 6120b77c9..194e38099 100644 --- a/volatility3/framework/renderers/format_hints.py +++ b/volatility3/framework/renderers/format_hints.py @@ -10,6 +10,8 @@ Text renderers should attempt to honour all hints provided in this module where """ from typing import Type, Union +from volatility3.framework import interfaces + class Bin(int): """A class to indicate that the integer value should be represented as a @@ -66,3 +68,17 @@ class MultiTypeData(bytes): and self.split_nulls == other.split_nulls and self.show_hex == other.show_hex ) + + +BinOrAbsent = lambda x: ( + Bin(x) if not isinstance(x, interfaces.renderers.BaseAbsentValue) else x +) +HexOrAbsent = lambda x: ( + Hex(x) if not isinstance(x, interfaces.renderers.BaseAbsentValue) else x +) +HexBytesOrAbsent = lambda x: ( + HexBytes(x) if not isinstance(x, interfaces.renderers.BaseAbsentValue) else x +) +MultiTypeDataOrAbsent = lambda x: ( + MultiTypeData(x) if not isinstance(x, interfaces.renderers.BaseAbsentValue) else x +) From b659a060bd6caf37eb0e51560986cc58aab067de Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 28 Jul 2024 21:57:48 +0100 Subject: [PATCH 0565/2186] Renderers: Ensure the version is bumped so plugins can require the format_hints properly --- volatility3/framework/constants/_version.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 21c339a6e..f219fb0af 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,11 +1,9 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 7 # Number of changes that only add to the interface -VERSION_PATCH = 2 # Number of changes that do not change the interface +VERSION_MINOR = 8 # Number of changes that only add to the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" -# TODO: At version 2.0.0, remove the symbol_shift feature - PACKAGE_VERSION = ( ".".join([str(x) for x in [VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH]]) + VERSION_SUFFIX From 76414d3246717ba9dde2a3cdd94a8c1037a7374b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 29 Jul 2024 14:13:54 +1000 Subject: [PATCH 0566/2186] Renderers conversion fix: Create aware datetimes to represent times in UTC. Fix Python 3.12 datetime.utcfromtimestamp() deprecation. See warning note on https://docs.python.org/3/library/datetime.html#datetime.datetime.utcfromtimestamp: Because naive datetime objects are treated by many datetime methods as local times, it is preferred to use aware datetimes to represent times in UTC. As such, the recommended way to create an object representing a specific timestamp in UTC is by calling datetime.fromtimestamp(timestamp, tz=timezone.utc). Additionaly, datetime.utcfromtimestamp() is deprecated since 3.12 --- volatility3/framework/renderers/conversion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/renderers/conversion.py b/volatility3/framework/renderers/conversion.py index bb18fcc8a..c833cc2cf 100644 --- a/volatility3/framework/renderers/conversion.py +++ b/volatility3/framework/renderers/conversion.py @@ -19,7 +19,7 @@ def wintime_to_datetime( return renderers.NotApplicableValue() unix_time = unix_time - 11644473600 try: - return datetime.datetime.utcfromtimestamp(unix_time) + return datetime.datetime.fromtimestamp(unix_time, datetime.timezone.utc) # Windows sometimes throws OSErrors rather than ValueErrors when it can't convert a value except (ValueError, OSError): return renderers.UnparsableValue() @@ -34,7 +34,7 @@ def unixtime_to_datetime( if unixtime > 0: with contextlib.suppress(ValueError): - ret = datetime.datetime.utcfromtimestamp(unixtime) + ret = datetime.datetime.fromtimestamp(unixtime, datetime.timezone.utc) return ret From ece15c914f27e6fbb651e8b3f3ae7e525aa50138 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 29 Jul 2024 14:18:10 +1000 Subject: [PATCH 0567/2186] Renderers conversion exceptions fix: Since version 3.3 utcfromtimestamp() and fromtimestamp() Python datimetime module raises OverflowError instead of ValueError. As of today, Volatility3 requires Python 3.7.3 so we should only include OverflowError --- volatility3/framework/renderers/conversion.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/renderers/conversion.py b/volatility3/framework/renderers/conversion.py index c833cc2cf..c94201681 100644 --- a/volatility3/framework/renderers/conversion.py +++ b/volatility3/framework/renderers/conversion.py @@ -20,8 +20,8 @@ def wintime_to_datetime( unix_time = unix_time - 11644473600 try: return datetime.datetime.fromtimestamp(unix_time, datetime.timezone.utc) - # Windows sometimes throws OSErrors rather than ValueErrors when it can't convert a value - except (ValueError, OSError): + # Windows sometimes throws OSErrors rather than OverflowError when it can't convert a value + except (OverflowError, OSError): return renderers.UnparsableValue() @@ -33,7 +33,7 @@ def unixtime_to_datetime( ) if unixtime > 0: - with contextlib.suppress(ValueError): + with contextlib.suppress(OverflowError): ret = datetime.datetime.fromtimestamp(unixtime, datetime.timezone.utc) return ret From b343734bae0d3090a5477997d27885d237096e50 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 29 Jul 2024 15:16:34 +1000 Subject: [PATCH 0568/2186] Renderers conversion exceptions fix: Even though the documentation states that OverflowError should be raised starting from version 3.3, it has been observed that ValueError is still being triggered. Also, in Linux, we noticed that OSError is also being raised in some cases. --- volatility3/framework/renderers/conversion.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/renderers/conversion.py b/volatility3/framework/renderers/conversion.py index c94201681..864794860 100644 --- a/volatility3/framework/renderers/conversion.py +++ b/volatility3/framework/renderers/conversion.py @@ -20,8 +20,10 @@ def wintime_to_datetime( unix_time = unix_time - 11644473600 try: return datetime.datetime.fromtimestamp(unix_time, datetime.timezone.utc) - # Windows sometimes throws OSErrors rather than OverflowError when it can't convert a value - except (OverflowError, OSError): + # Windows sometimes throws OSErrors rather than ValueError/OverflowError when it can't convert a value + # Since Python 3.3, this should raise OverflowError instead of ValueError. However, it was observed + # that even in Python 3.7.17, ValueError is still being raised. + except (ValueError, OverflowError, OSError): return renderers.UnparsableValue() @@ -33,7 +35,9 @@ def unixtime_to_datetime( ) if unixtime > 0: - with contextlib.suppress(OverflowError): + # Since Python 3.3, this should raise OverflowError instead of ValueError. However, it was observed + # that even in Python 3.7.17, ValueError is still being raised. OSError is also raised on Linux + with contextlib.suppress(ValueError, OverflowError, OSError): ret = datetime.datetime.fromtimestamp(unixtime, datetime.timezone.utc) return ret From ba7ec0059960fd6470254e8b3cd4ae15e89ea174 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 29 Jul 2024 17:55:56 -0500 Subject: [PATCH 0569/2186] Windows: Fixes bad structure member in callbacks This fixes a bug in the x64 callbacks symbols. The `NotificationRoutine` is currently an `unsigned int` instead of a void pointer. This prevents the correct mapping of the notification routine to the kernel module that contains it. --- volatility3/framework/symbols/windows/callbacks-x64.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/windows/callbacks-x64.json b/volatility3/framework/symbols/windows/callbacks-x64.json index 3f891b94f..705f2361d 100644 --- a/volatility3/framework/symbols/windows/callbacks-x64.json +++ b/volatility3/framework/symbols/windows/callbacks-x64.json @@ -105,8 +105,11 @@ }, "NotificationRoutine": { "type": { - "kind": "base", - "name": "unsigned int" + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } }, "offset": 24 } From d97fd777f37d58fff19df48334546c2e709f0d27 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 29 Jul 2024 18:36:43 -0500 Subject: [PATCH 0570/2186] Windows: Bumps netstat module version requirement This is a bump of the version number for the netstat plugin's `modules` requirement - it didn't get updated after #1173 was merged. --- volatility3/framework/plugins/windows/netstat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/netstat.py b/volatility3/framework/plugins/windows/netstat.py index 24eb02018..0908767fc 100644 --- a/volatility3/framework/plugins/windows/netstat.py +++ b/volatility3/framework/plugins/windows/netstat.py @@ -35,7 +35,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): name="netscan", component=netscan.NetScan, version=(1, 0, 0) ), requirements.VersionRequirement( - name="modules", component=modules.Modules, version=(1, 0, 0) + name="modules", component=modules.Modules, version=(2, 0, 0) ), requirements.VersionRequirement( name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) From 59fec176aa5377e7324c6996770d27a46fdebd9a Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 29 Jul 2024 18:49:48 -0500 Subject: [PATCH 0571/2186] Fix bugs in thrdscan and threads. Add orphan kernel threads plugin --- .../plugins/windows/orphan_kernel_threads.py | 95 +++++++++++++++++++ .../framework/plugins/windows/thrdscan.py | 2 +- .../framework/plugins/windows/threads.py | 12 +-- 3 files changed, 100 insertions(+), 9 deletions(-) create mode 100644 volatility3/framework/plugins/windows/orphan_kernel_threads.py diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py new file mode 100644 index 000000000..013ba98ff --- /dev/null +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -0,0 +1,95 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from typing import List, Generator + +from volatility3.framework import interfaces, symbols +from volatility3.framework.configuration import requirements +from volatility3.plugins.windows import thrdscan, ssdt + +vollog = logging.getLogger(__name__) + + +class Threads(thrdscan.ThrdScan): + """Lists process threads""" + + _required_framework_version = (2, 4, 0) + _version = (1, 0, 0) + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.implementation = self.list_orphan_kernel_threads + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 1, 0) + ), + requirements.PluginRequirement( + name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) + ), + ] + + @classmethod + def list_orphan_kernel_threads( + cls, + context: interfaces.context.ContextInterface, + module_name: str, + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: + """Yields thread objects of kernel threads that do not map to a module + + Args: + kernel + + Returns: + A generator of thread objects of orphaned threads + """ + module = context.modules[module_name] + layer_name = module.layer_name + symbol_table = module.symbol_table_name + + collection = ssdt.SSDT.build_module_collection( + context, layer_name, symbol_table + ) + + # used to filter out smeared pointers + if symbols.symbol_table_is_64bit(context, symbol_table): + kernel_start = 0xFFFFF80000000000 + else: + kernel_start = 0x80000000 + + for thread in thrdscan.ThrdScan.scan_threads(context, module_name): + # we don't want smeared or terminated threads + try: + proc = thread.owning_process() + except AttributeError: + continue + + # we only care about kernel threads, 4 = System + # previous methods for determining if a thread was a kernel thread + # such as bit fields and flags are not stable in Win10+ + # so we check if the thread is from the kernel itself or one its child + # kernel processes (MemCompression, Regsitry, ...) + if proc.UniqueProcessId != 4 and proc.InheritedFromUniqueProcessId != 4: + continue + + if thread.StartAddress < kernel_start: + continue + + module_symbols = list( + collection.get_module_symbols_by_absolute_location(thread.StartAddress) + ) + + # alert on threads that do not map to a module + if not module_symbols: + yield thread + diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 6e664e052..ad885e8e9 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -22,8 +22,8 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) _version = (1, 1, 0) def __init__(self, *args, **kwargs): - self.implementation = self.scan_threads super().__init__(*args, **kwargs) + self.implementation = self.scan_threads @classmethod def get_requirements(cls): diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index ae70e717b..98a3169a5 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -18,9 +18,9 @@ class Threads(thrdscan.ThrdScan): _required_framework_version = (2, 4, 0) _version = (1, 0, 0) - def __init__(self): + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) self.implementation = self.list_process_threads - super().__init__() @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -50,7 +50,6 @@ class Threads(thrdscan.ThrdScan): Args: proc: _EPROCESS object from which to list the VADs - filter_func: Function to take a virtual address descriptor value and return True if it should be filtered out Returns: A list of threads based on the process and filtered based on the filter function @@ -64,22 +63,19 @@ class Threads(thrdscan.ThrdScan): seen.add(thread.vol.offset) yield thread - @classmethod - def filter_func(cls, config: interfaces.configuration.HierarchicalDict) -> Callable: - return pslist.PsList.create_pid_filter(config.get("pid", None)) - @classmethod def list_process_threads( cls, context: interfaces.context.ContextInterface, module_name: str, - filter_func: Callable, ) -> Iterable[interfaces.objects.ObjectInterface]: """Runs through all processes and lists threads for each process""" module = context.modules[module_name] layer_name = module.layer_name symbol_table_name = module.symbol_table_name + filter_func = pslist.PsList.create_pid_filter(context.config.get("pid", None)) + for proc in pslist.PsList.list_processes( context=context, layer_name=layer_name, From 896b40bd22028f8e68d954a9f9080d564c6982e2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 29 Jul 2024 18:50:55 -0500 Subject: [PATCH 0572/2186] Fix bugs in thrdscan and threads. Add orphan kernel threads plugin --- volatility3/framework/plugins/windows/orphan_kernel_threads.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py index 013ba98ff..1cdb1dcdf 100644 --- a/volatility3/framework/plugins/windows/orphan_kernel_threads.py +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -92,4 +92,3 @@ class Threads(thrdscan.ThrdScan): # alert on threads that do not map to a module if not module_symbols: yield thread - From efc48d5831d00fa7db45e853d380165731736841 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 30 Jul 2024 17:18:14 +1000 Subject: [PATCH 0573/2186] Make timeliner able to sort aware datetimes. Otherwise, it will raise an exception when comparing the plugin output data with this naive datetime --- volatility3/framework/plugins/timeliner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index 26a100f53..f657a2918 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -105,7 +105,9 @@ class Timeliner(interfaces.plugins.PluginInterface): data = item[1] def sortable(timestamp): - max_date = datetime.datetime(day=1, month=12, year=datetime.MAXYEAR) + max_date = datetime.datetime( + day=1, month=12, year=datetime.MAXYEAR, tzinfo=datetime.timezone.utc + ) if isinstance(timestamp, interfaces.renderers.BaseAbsentValue): return max_date return timestamp From 56b618f5c3345984c10af7e2868254e2d2bb7ea8 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 30 Jul 2024 13:00:38 -0500 Subject: [PATCH 0574/2186] Windows: Updates netscan with new symbol file `netscan` was missing coverage for Windows 10 Build 20348, causing owners and create times for `_TCP_ENDPOINTS` to be missing. This adds a symbol file and the necessary version check in the netscan plugin. Testing confirms that this returns the correct creation time and owner process. --- .../framework/plugins/windows/netscan.py | 1 + .../netscan/netscan-win10-20348-x64.json | 582 ++++++++++++++++++ 2 files changed, 583 insertions(+) create mode 100644 volatility3/framework/symbols/windows/netscan/netscan-win10-20348-x64.json diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index 62ead3ab7..868bd8bcd 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -218,6 +218,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): (10, 0, 18362, 0): "netscan-win10-18362-x64", (10, 0, 18363, 0): "netscan-win10-18363-x64", (10, 0, 19041, 0): "netscan-win10-19041-x64", + (10, 0, 20348, 0): "netscan-win10-20348-x64", } # we do not need to check for tcpip's specific FileVersion in every case diff --git a/volatility3/framework/symbols/windows/netscan/netscan-win10-20348-x64.json b/volatility3/framework/symbols/windows/netscan/netscan-win10-20348-x64.json new file mode 100644 index 000000000..bd574b2b7 --- /dev/null +++ b/volatility3/framework/symbols/windows/netscan/netscan-win10-20348-x64.json @@ -0,0 +1,582 @@ +{ + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "unsigned be short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "big" + }, + "long long": { + "endian": "little", + "kind": "int", + "signed": true, + "size": 8 + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "symbols": {}, + "user_types": { + "_UDP_ENDPOINT": { + "fields": { + "Owner": { + "offset": 40, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + } + + } + }, + "CreateTime": { + "offset": 88, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "Next": { + "offset": 112, + "type":{ + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_UDP_ENDPOINT" + } + } + }, + "LocalAddr": { + "offset": 168, + "type":{ + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_LOCAL_ADDRESS_WIN10_UDP" + } + } + }, + "InetAF": { + "offset": 32, + "type":{ + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_INETAF" + } + + } + }, + "Port": { + "offset": 160, + "type": { + "kind": "base", + "name": "unsigned be short" + } + } + }, + "kind": "struct", + "size": 168 + }, + "_TCP_LISTENER": { + "fields": { + "Owner": { + "offset": 48, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + } + + } + }, + "CreateTime": { + "offset": 64, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "LocalAddr": { + "offset": 96, + "type":{ + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_LOCAL_ADDRESS" + } + + } + }, + "InetAF": { + "offset": 40, + "type":{ + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_INETAF" + } + + } + }, + "Next": { + "offset": 120, + "type":{ + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TCP_LISTENER" + } + } + }, + "Port": { + "offset": 114, + "type": { + "kind": "base", + "name": "unsigned be short" + } + } + }, + "kind": "struct", + "size": 128 + }, + "_TCP_ENDPOINT": { + "fields": { + "Owner": { + "offset": 752, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + } + } + }, + "CreateTime": { + "offset": 776, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "AddrInfo": { + "offset": 24, + "type":{ + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ADDRINFO" + } + } + }, + "ListEntry": { + "offset": 40, + "type": { + "kind": "union", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "InetAF": { + "offset": 16, + "type":{ + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_INETAF" + } + } + }, + "LocalPort": { + "offset": 112, + "type": { + "kind": "base", + "name": "unsigned be short" + } + }, + "RemotePort": { + "offset": 114, + "type": { + "kind": "base", + "name": "unsigned be short" + } + }, + "State": { + "offset": 108, + "type": { + "kind": "enum", + "name": "TCPStateEnum" + } + } + }, + "kind": "struct", + "size": 632 + }, + "_LOCAL_ADDRESS": { + "fields": { + "pData": { + "offset": 16, + "type": { + "kind": "pointer", + "subtype": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_IN_ADDR" + } + } + } + } + }, + "kind": "struct", + "size": 20 + }, + "_LOCAL_ADDRESS_WIN10_UDP": { + "fields": { + "pData": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_IN_ADDR" + } + } + } + }, + "kind": "struct", + "size": 4 + }, + "_ADDRINFO": { + "fields": { + "Local": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_LOCAL_ADDRESS" + } + } + }, + "Remote": { + "offset": 16, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_IN_ADDR" + } + } + } + }, + "kind": "struct", + "size": 4 + }, + "_IN_ADDR": { + "fields": { + "addr4": { + "offset": 0, + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + } + }, + "addr6": { + "offset": 0, + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + } + } + }, + "kind": "struct", + "size": 6 + }, + "_INETAF": { + "fields": { + "AddressFamily": { + "offset": 24, + "type": { + "kind": "base", + "name": "unsigned short" + } + } + }, + "kind": "struct", + "size": 26 + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_2" + } + } + }, + "kind": "union", + "size": 8 + }, + "_INET_COMPARTMENT_SET": { + "fields": { + "InetCompartment": { + "offset": 328, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_INET_COMPARTMENT" + } + } + } + }, + "kind": "struct", + "size": 384 + }, + "_INET_COMPARTMENT": { + "fields": { + "ProtocolCompartment": { + "offset": 32, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_PROTOCOL_COMPARTMENT" + } + } + } + }, + "kind": "struct", + "size": 48 + }, + "_PROTOCOL_COMPARTMENT": { + "fields": { + "PortPool": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_INET_PORT_POOL" + } + } + } + }, + "kind": "struct", + "size": 16 + }, + "_PORT_ASSIGNMENT_ENTRY": { + "fields": { + "Entry": { + "offset": 16, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + } + }, + "kind": "struct", + "size": 32 + }, + "_PORT_ASSIGNMENT_LIST": { + "fields": { + "Assignments": { + "offset": 0, + "type": { + "count": 256, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_PORT_ASSIGNMENT_ENTRY" + } + } + } + }, + "kind": "struct", + "size": 6144 + }, + "_PORT_ASSIGNMENT": { + "fields": { + "InPaBigPoolBase": { + "offset": 24, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_PORT_ASSIGNMENT_LIST" + } + } + } + }, + "kind": "struct", + "size": 32 + }, + "_INET_PORT_POOL": { + "fields": { + "PortAssignments": { + "offset": 224, + "type": { + "count": 256, + "kind": "array", + "subtype": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_PORT_ASSIGNMENT" + } + } + } + }, + "PortBitMap": { + "offset": 208, + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + } + } + }, + "kind": "struct", + "size": 11200 + }, + "_PARTITION": { + "fields": { + "Endpoints" : { + "offset": 8, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_RTL_DYNAMIC_HASH_TABLE" + } + } + }, + "UnknownHashTable" : { + "offset": 16, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_RTL_DYNAMIC_HASH_TABLE" + } + } + } + }, + "kind": "struct", + "size": 192 + }, + "_PARTITION_TABLE": { + "fields": { + "Partitions": { + "offset": 0, + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_PARTITION" + } + } + } + }, + "kind": "struct", + "size": 128 + } + }, + "enums": { + "TCPStateEnum": { + "base": "long", + "constants": { + "CLOSED": 0, + "LISTENING": 1, + "SYN_SENT": 2, + "SYN_RCVD": 3, + "ESTABLISHED": 4, + "FIN_WAIT1": 5, + "FIN_WAIT2": 6, + "CLOSE_WAIT": 7, + "CLOSING": 8, + "LAST_ACK": 9, + "TIME_WAIT": 12, + "DELETE_TCB": 13 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-by-hand", + "datetime": "2024-07-30T13:00:00" + }, + "format": "6.0.0" + } +} From a84a3706c5acee2c93df650a167ab058fe657053 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Tue, 30 Jul 2024 14:00:41 -0500 Subject: [PATCH 0575/2186] Remove errant filter on ldrmodule checks --- volatility3/framework/plugins/windows/ldrmodules.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/ldrmodules.py b/volatility3/framework/plugins/windows/ldrmodules.py index ffd84ea4a..a888f22e1 100644 --- a/volatility3/framework/plugins/windows/ldrmodules.py +++ b/volatility3/framework/plugins/windows/ldrmodules.py @@ -47,14 +47,6 @@ class LdrModules(interfaces.plugins.PluginInterface): self.context, self.config_path, "windows", "pe", class_types=pe.class_types ) - def filter_function(x: interfaces.objects.ObjectInterface) -> bool: - try: - return not (x.get_private_memory() == 0 and x.ControlArea) - except AttributeError: - return False - - filter_func = filter_function - for proc in procs: proc_layer_name = proc.add_process_layer() @@ -69,7 +61,7 @@ class LdrModules(interfaces.plugins.PluginInterface): # Build dictionary of mapped files, where the VAD start address is the key and value is the file name of the mapped file mapped_files = {} - for vad in vadinfo.VadInfo.list_vads(proc, filter_func=filter_func): + for vad in vadinfo.VadInfo.list_vads(proc): dos_header = self.context.object( pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", offset=vad.get_start(), From 73bc10c2834d9a8fa2ab04c098a4735542226170 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 31 Jul 2024 21:46:57 +0100 Subject: [PATCH 0576/2186] Wire the argcomplete into volshell too --- volatility3/cli/volshell/__init__.py | 12 ++++++++++++ volshell.py | 1 + 2 files changed, 13 insertions(+) diff --git a/volatility3/cli/volshell/__init__.py b/volatility3/cli/volshell/__init__.py index 035ed9b2e..2bf1958e2 100644 --- a/volatility3/cli/volshell/__init__.py +++ b/volatility3/cli/volshell/__init__.py @@ -21,6 +21,14 @@ from volatility3.framework import ( plugins, ) +try: + import argcomplete + + HAS_ARGCOMPLETE = True +except ImportError: + HAS_ARGCOMPLETE = False + + # Make sure we log everything rootlog = logging.getLogger() @@ -276,6 +284,10 @@ class VolShell(cli.CommandLine): # Hand the plugin requirements over to the CLI (us) and let it construct the config tree # Run the argparser + if HAS_ARGCOMPLETE: + # The autocompletion line must be after the partial_arg handling, so that it doesn't trip it + # before all the plugins have been added + argcomplete.autocomplete(parser) args = parser.parse_args() vollog.log( diff --git a/volshell.py b/volshell.py index 71d35a47c..65b11885e 100755 --- a/volshell.py +++ b/volshell.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# PYTHON_ARGCOMPLETE_OK # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 From d576f8cb48d064ce3dc87936df642481aa1f3186 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 31 Jul 2024 21:49:07 +0100 Subject: [PATCH 0577/2186] Fix CodeQL error --- volatility3/cli/volargparse.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/volargparse.py b/volatility3/cli/volargparse.py index 3e7eb6751..2bd53077b 100644 --- a/volatility3/cli/volargparse.py +++ b/volatility3/cli/volargparse.py @@ -99,6 +99,7 @@ class HelpfulArgParser(argparse.ArgumentParser): # return the number of arguments matched return len(match.group(1)) - def _check_value(self, action, value): + def _check_value(self, action: argparse.Action, value: Any) -> None: if not isinstance(action, HelpfulSubparserAction): return super()._check_value(action, value) + return None From fd6e4bec5cab84035491f629d234522ac6d5a8af Mon Sep 17 00:00:00 2001 From: qpalzmz112 <68213464+qpalzmz112@users.noreply.github.com> Date: Wed, 31 Jul 2024 17:53:29 -0500 Subject: [PATCH 0578/2186] Updated with feedback from the PR --- .../framework/plugins/windows/psxview.py | 172 ++++++++---------- 1 file changed, 74 insertions(+), 98 deletions(-) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 1fde5b12d..dc5e77ec3 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -1,4 +1,4 @@ -import datetime, logging +import datetime, logging, string from volatility3.framework import constants, exceptions from volatility3.framework.interfaces import plugins @@ -22,7 +22,7 @@ class PsXView(plugins.PluginInterface): plugin's output in a terminal.""" # I've omitted the desktop thread scanning method because Volatility3 doesn't appear to have the funcitonality - # which the original plugin to do it. + # which the original plugin used to do it. # I don't think it's worth including the sessions method either because both the original psxview plugin # and Volatility3's sessions plugin begin with the list of processes found by PsList. @@ -35,6 +35,10 @@ class PsXView(plugins.PluginInterface): _required_framework_version = (2, 0, 0) _version = (1, 0, 0) + valid_proc_name_chars = set( + string.ascii_lowercase + string.ascii_uppercase + "." + " " + ) + @classmethod def get_requirements(cls): return [ @@ -58,17 +62,6 @@ class PsXView(plugins.PluginInterface): requirements.VersionRequirement( name="handles", component=handles.Handles, version=(1, 0, 0) ), - requirements.VersionRequirement( - name="sessions", component=sessions.Sessions, version=(0, 0, 0) - ), - requirements.BooleanRequirement( - name="identify-expected", - description='In the plugin\'s output, replace false with \ - normal where false is the expected result for a Windows machine running normally. \ - Keep in mind that this plugin uses simple checks to identify "normal" behavior, \ - so you may want to double-check the legitimacy of these processes yourself.', - optional=True, - ), requirements.BooleanRequirement( name="physical-offsets", description="List processes with phyiscall offsets instead of virtual offsets.", @@ -76,54 +69,56 @@ class PsXView(plugins.PluginInterface): ), ] - def proc_name_to_string(self, proc): + def _proc_name_to_string(self, proc): return proc.ImageFileName.cast( "string", max_length=proc.ImageFileName.vol.count, errors="replace" ) - def is_ascii(self, str): - return str.split(".")[0].isalnum() + def _is_valid_proc_name(self, str): + for c in str: + if not c in self.valid_proc_name_chars: + return False + return True - def filter_garbage_procs(self, proc_list): + def _filter_garbage_procs(self, proc_list): return [ p for p in proc_list - if p.is_valid() and self.is_ascii(self.proc_name_to_string(p)) + if p.is_valid() and self._is_valid_proc_name(self._proc_name_to_string(p)) ] - def translate_offset(self, offset): - if self.config["physical-offsets"]: + def _translate_offset(self, offset): + if not self.config["physical-offsets"]: return offset kernel = self.context.modules[self.config["kernel"]] layer_name = kernel.layer_name try: - offset = list( + _, _, offset, _, _ = list( self.context.layers[layer_name].mapping(offset=offset, length=0) - )[0][2] + )[0] except: # already have physical address pass return offset - def proc_list_to_dict(self, tasks): - return {self.translate_offset(proc.vol.offset): proc for proc in tasks} + def _proc_list_to_dict(self, tasks): + tasks = self._filter_garbage_procs(tasks) + return {self._translate_offset(proc.vol.offset): proc for proc in tasks} - def check_pslist(self, tasks): - res = self.filter_garbage_procs(tasks) - return self.proc_list_to_dict(tasks) + def _check_pslist(self, tasks): + return self._proc_list_to_dict(tasks) - def check_psscan(self, layer_name, symbol_table): + def _check_psscan(self, layer_name, symbol_table): res = psscan.PsScan.scan_processes( context=self.context, layer_name=layer_name, symbol_table=symbol_table ) - res = self.filter_garbage_procs(res) - return self.proc_list_to_dict(res) + return self._proc_list_to_dict(res) - def check_thrdscan(self): + def _check_thrdscan(self): ret = [] for ethread in thrdscan.ThrdScan.scan_threads( @@ -142,13 +137,13 @@ class PsXView(plugins.PluginInterface): "Unable to find the owning process of ethread", ) - return self.proc_list_to_dict(ret) + return self._proc_list_to_dict(ret) - def check_csrss_handles(self, tasks, layer_name, symbol_table): + def _check_csrss_handles(self, tasks, layer_name, symbol_table): ret = [] for p in tasks: - name = self.proc_name_to_string(p) + name = self._proc_name_to_string(p) if name == "csrss.exe": try: if p.has_member("ObjectTable"): @@ -172,13 +167,7 @@ class PsXView(plugins.PluginInterface): constants.LOGLEVEL_VVV, "Cannot access eprocess object table" ) - ret = self.filter_garbage_procs(ret) - return self.proc_list_to_dict(ret) - - def check_session(self, pslist_procs): - procs = [p for p in pslist_procs if p.get_session_id() != None] - - return self.proc_list_to_dict(procs) + return self._proc_list_to_dict(ret) def _generator(self): kernel = self.context.modules[self.config["kernel"]] @@ -192,72 +181,60 @@ class PsXView(plugins.PluginInterface): ) ) + # get processes from each source processes = {} - processes["pslist"] = self.check_pslist(kdbg_list_processes) - processes["psscan"] = self.check_psscan(layer_name, symbol_table) - processes["thrdscan"] = self.check_thrdscan() - processes["csrss"] = self.check_csrss_handles( + processes["pslist"] = self._check_pslist(kdbg_list_processes) + processes["psscan"] = self._check_psscan(layer_name, symbol_table) + processes["thrdscan"] = self._check_thrdscan() + processes["csrss"] = self._check_csrss_handles( kdbg_list_processes, layer_name, symbol_table ) - processes["sessions"] = self.check_session(kdbg_list_processes) - seen_offsets = set() - for source in processes: - for offset in processes[source]: - if offset not in seen_offsets: - seen_offsets.add(offset) - proc = processes[source][offset] + # print results - pid = proc.UniqueProcessId - name = self.proc_name_to_string(proc) + # list of lists of offsets + todo_offsets = [list(processes[source].keys()) for source in processes] - exit_time = proc.get_exit_time() - if type(exit_time) != datetime.datetime: - exit_time = "" - else: - exit_time = str(exit_time) + # flatten to one list + todo_offsets = sum(todo_offsets, []) - in_sources = { - src: str(offset in processes[src]) for src in processes - } + # remove duplicates + todo_offsets = set(todo_offsets) - if self.config["identify-expected"]: - f = "False" - n = "Normal" + for offset in todo_offsets: + proc = None - if in_sources["pslist"] == f: - if exit_time != "": - in_sources["pslist"] = n + in_sources = {src: False for src in processes} - if in_sources["thrdscan"] == f: - if exit_time != "": - in_sources["thrdscan"] = n + for source in processes: + if offset in processes[source]: + in_sources[source] = True + if not proc: + proc = processes[source][offset] - if in_sources["csrss"] == f: - if name.lower() in ["system", "smss.exe", "csrss.exe"]: - in_sources["csrss"] = n - elif exit_time != "": - in_sources["csrss"] = n + pid = proc.UniqueProcessId + name = self._proc_name_to_string(proc) - if in_sources["sessions"] == f: - if name.lower() in ["system", "smss.exe"]: - in_sources["sessions"] = n + exit_time = proc.get_exit_time() + if type(exit_time) != datetime.datetime: + exit_time = "" + else: + exit_time = str(exit_time) - yield ( - 0, - ( - format_hints.Hex(offset), - name, - pid, - in_sources["pslist"], - in_sources["psscan"], - in_sources["thrdscan"], - in_sources["csrss"], - in_sources["sessions"], - exit_time, - ), - ) + yield ( + 0, + ( + format_hints.Hex(offset), + name, + pid, + in_sources["pslist"], + in_sources["psscan"], + in_sources["thrdscan"], + in_sources["csrss"], + exit_time, + ), + ) def run(self): offset_type = "(Physical)" if self.config["physical-offsets"] else "(Virtual)" @@ -268,11 +245,10 @@ class PsXView(plugins.PluginInterface): (offset_str, format_hints.Hex), ("Name", str), ("PID", int), - ("pslist", str), - ("psscan", str), - ("thrdscan", str), - ("csrss", str), - ("sessions", str), + ("pslist", bool), + ("psscan", bool), + ("thrdscan", bool), + ("csrss", bool), ("Exit Time", str), ], self._generator(), From 9e8864521c3fb06e80536a8d0f249ac19fd9a9c0 Mon Sep 17 00:00:00 2001 From: qpalzmz112 <68213464+qpalzmz112@users.noreply.github.com> Date: Wed, 31 Jul 2024 18:02:52 -0500 Subject: [PATCH 0579/2186] Added debug log for failed address translation --- volatility3/framework/plugins/windows/psxview.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index dc5e77ec3..918eb44ba 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -98,9 +98,8 @@ class PsXView(plugins.PluginInterface): _, _, offset, _, _ = list( self.context.layers[layer_name].mapping(offset=offset, length=0) )[0] - except: - # already have physical address - pass + except exceptions.PagedInvalidAddressException: + vollog.debug(f"Page fault: unable to translate {offset:0x}") return offset From 90b8b5340f9bc886e9b45ecadd80b7d86b8384f3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 1 Aug 2024 11:46:10 +1000 Subject: [PATCH 0580/2186] Linux: Add inode, timespec, and timespec64 object extensions to support different kernel versions, ensuring we will get aware datetimes when using them. --- .../framework/symbols/linux/__init__.py | 6 + .../symbols/linux/extensions/__init__.py | 132 ++++++++++++++++++ 2 files changed, 138 insertions(+) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index c4e2587f4..03353135d 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -29,12 +29,18 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("files_struct", extensions.files_struct) self.set_type_class("kobject", extensions.kobject) self.set_type_class("cred", extensions.cred) + self.set_type_class("inode", extensions.inode) # Might not exist in the current symbols self.optional_set_type_class("module", extensions.module) self.optional_set_type_class("bpf_prog", extensions.bpf_prog) self.optional_set_type_class("kernel_cap_struct", extensions.kernel_cap_struct) self.optional_set_type_class("kernel_cap_t", extensions.kernel_cap_t) + # kernels >= 4.18 + self.optional_set_type_class("timespec64", extensions.timespec64) + # kernels < 4.18. Reuses timespec64 obj extension, since both has the same members + self.optional_set_type_class("timespec", extensions.timespec64) + # Mount self.set_type_class("vfsmount", extensions.vfsmount) # Might not exist in older kernels or the current symbols diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index e7c6b66d7..be31e298c 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -4,10 +4,13 @@ import collections.abc import logging +import stat +from datetime import datetime import socket as socket_module from typing import Generator, Iterable, Iterator, Optional, Tuple, List from volatility3.framework import constants, exceptions, objects, interfaces, symbols +from volatility3.framework import renderers from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS @@ -1761,3 +1764,132 @@ class kernel_cap_t(kernel_cap_struct): ) return cap_value & self.get_kernel_cap_full() + + +class timespec64(objects.StructType): + def to_datetime(self) -> datetime: + """Returns the respective aware datetime""" + + dt = renderers.conversion.unixtime_to_datetime(self.tv_sec + self.tv_nsec / 1e9) + return dt + + +class inode(objects.StructType): + def is_valid(self) -> bool: + # i_count is a 'signed' counter (atomic_t). Smear, or essentially a wrong inode + # pointer, will easily cause an integer overflow here. + return self.i_ino > 0 and self.i_count.counter >= 0 + + def is_dir(self) -> bool: + """Returns True if the inode is a directory""" + return stat.S_ISDIR(self.i_mode) != 0 + + def is_reg(self) -> bool: + """Returns True if the inode is a regular file""" + return stat.S_ISREG(self.i_mode) != 0 + + def is_link(self) -> bool: + """Returns True if the inode is a symlink""" + return stat.S_ISLNK(self.i_mode) != 0 + + def is_fifo(self) -> bool: + """Returns True if the inode is a FIFO""" + return stat.S_ISFIFO(self.i_mode) != 0 + + def is_sock(self) -> bool: + """Returns True if the inode is a socket""" + return stat.S_ISSOCK(self.i_mode) != 0 + + def is_block(self) -> bool: + """Returns True if the inode is a block device""" + return stat.S_ISBLK(self.i_mode) != 0 + + def is_char(self) -> bool: + """Returns True if the inode is a char device""" + return stat.S_ISCHR(self.i_mode) != 0 + + def is_sticky(self) -> bool: + """Returns True if the sticky bit is set""" + return (self.i_mode & stat.S_ISVTX) != 0 + + def get_inode_type(self) -> str: + """Returns inode type name + + Returns: + The inode type name + """ + if self.is_dir(): + return "DIR" + elif self.is_reg(): + return "REG" + elif self.is_link(): + return "LNK" + elif self.is_fifo(): + return "FIFO" + elif self.is_sock(): + return "SOCK" + elif self.is_char(): + return "CHR" + elif self.is_block(): + return "BLK" + else: + return renderers.UnparsableValue() + + def get_inode_number(self) -> int: + """Returns the inode number""" + return int(self.i_ino) + + def ___time_member_to_datetime(self, member) -> datetime: + if self.has_member(f"{member}_sec") and self.has_member(f"{member}_nsec"): + # kernels >= 6.11 it's i_*_sec -> time64_t and i_*_nsec -> u32 + # Ref Linux commit 3aa63a569c64e708df547a8913c84e64a06e7853 + return renderers.conversion.unixtime_to_datetime( + self.member(f"{member}_sec") + self.has_member(f"{member}_nsec") / 1e9 + ) + elif self.has_member(f"__{member}"): + # 6.6 <= kernels < 6.11 it's a timespec64 + # Ref Linux commit 13bc24457850583a2e7203ded05b7209ab4bc5ef / 12cd44023651666bd44baa36a5c999698890debb + return self.member(f"__{member}").to_datetime() + elif self.has_member(member): + # In kernels < 6.6 it's a timespec64 or timespec + return self.member(member).to_datetime() + else: + raise exceptions.VolatilityException( + "Unsupported kernel inode type implementation" + ) + + def get_access_time(self) -> datetime: + """Returns the inode's last access time + This is updated when inode contents are read + + Returns: + A datetime with the inode's last access time + """ + return self.___time_member_to_datetime("i_atime") + + def get_modification_time(self) -> datetime: + """Returns the inode's last modification time + This is updated when the inode contents change + + Returns: + A datetime with the inode's last data modification time + """ + + return self.___time_member_to_datetime("i_mtime") + + def get_change_time(self) -> datetime: + """Returns the inode's last change time + This is updated when the inode metadata changes + + Returns: + A datetime with the inode's last change time + """ + return self.___time_member_to_datetime("i_ctime") + + def get_file_mode(self) -> str: + """Returns the inode's file mode as string of the form '-rwxrwxrwx'. + + Returns: + The inode's file mode string + """ + return stat.filemode(self.i_mode) From 3017a7d00c3a9cfca3f94b9e7dfb8ba08d48fd0e Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 1 Aug 2024 11:46:10 +1000 Subject: [PATCH 0581/2186] Linux: Add inode, timespec, and timespec64 object extensions to support different kernel versions, ensuring we will get aware datetimes when using them. --- .../framework/symbols/linux/__init__.py | 6 + .../symbols/linux/extensions/__init__.py | 132 ++++++++++++++++++ 2 files changed, 138 insertions(+) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index c4e2587f4..03353135d 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -29,12 +29,18 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("files_struct", extensions.files_struct) self.set_type_class("kobject", extensions.kobject) self.set_type_class("cred", extensions.cred) + self.set_type_class("inode", extensions.inode) # Might not exist in the current symbols self.optional_set_type_class("module", extensions.module) self.optional_set_type_class("bpf_prog", extensions.bpf_prog) self.optional_set_type_class("kernel_cap_struct", extensions.kernel_cap_struct) self.optional_set_type_class("kernel_cap_t", extensions.kernel_cap_t) + # kernels >= 4.18 + self.optional_set_type_class("timespec64", extensions.timespec64) + # kernels < 4.18. Reuses timespec64 obj extension, since both has the same members + self.optional_set_type_class("timespec", extensions.timespec64) + # Mount self.set_type_class("vfsmount", extensions.vfsmount) # Might not exist in older kernels or the current symbols diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index e7c6b66d7..be31e298c 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -4,10 +4,13 @@ import collections.abc import logging +import stat +from datetime import datetime import socket as socket_module from typing import Generator, Iterable, Iterator, Optional, Tuple, List from volatility3.framework import constants, exceptions, objects, interfaces, symbols +from volatility3.framework import renderers from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS @@ -1761,3 +1764,132 @@ class kernel_cap_t(kernel_cap_struct): ) return cap_value & self.get_kernel_cap_full() + + +class timespec64(objects.StructType): + def to_datetime(self) -> datetime: + """Returns the respective aware datetime""" + + dt = renderers.conversion.unixtime_to_datetime(self.tv_sec + self.tv_nsec / 1e9) + return dt + + +class inode(objects.StructType): + def is_valid(self) -> bool: + # i_count is a 'signed' counter (atomic_t). Smear, or essentially a wrong inode + # pointer, will easily cause an integer overflow here. + return self.i_ino > 0 and self.i_count.counter >= 0 + + def is_dir(self) -> bool: + """Returns True if the inode is a directory""" + return stat.S_ISDIR(self.i_mode) != 0 + + def is_reg(self) -> bool: + """Returns True if the inode is a regular file""" + return stat.S_ISREG(self.i_mode) != 0 + + def is_link(self) -> bool: + """Returns True if the inode is a symlink""" + return stat.S_ISLNK(self.i_mode) != 0 + + def is_fifo(self) -> bool: + """Returns True if the inode is a FIFO""" + return stat.S_ISFIFO(self.i_mode) != 0 + + def is_sock(self) -> bool: + """Returns True if the inode is a socket""" + return stat.S_ISSOCK(self.i_mode) != 0 + + def is_block(self) -> bool: + """Returns True if the inode is a block device""" + return stat.S_ISBLK(self.i_mode) != 0 + + def is_char(self) -> bool: + """Returns True if the inode is a char device""" + return stat.S_ISCHR(self.i_mode) != 0 + + def is_sticky(self) -> bool: + """Returns True if the sticky bit is set""" + return (self.i_mode & stat.S_ISVTX) != 0 + + def get_inode_type(self) -> str: + """Returns inode type name + + Returns: + The inode type name + """ + if self.is_dir(): + return "DIR" + elif self.is_reg(): + return "REG" + elif self.is_link(): + return "LNK" + elif self.is_fifo(): + return "FIFO" + elif self.is_sock(): + return "SOCK" + elif self.is_char(): + return "CHR" + elif self.is_block(): + return "BLK" + else: + return renderers.UnparsableValue() + + def get_inode_number(self) -> int: + """Returns the inode number""" + return int(self.i_ino) + + def ___time_member_to_datetime(self, member) -> datetime: + if self.has_member(f"{member}_sec") and self.has_member(f"{member}_nsec"): + # kernels >= 6.11 it's i_*_sec -> time64_t and i_*_nsec -> u32 + # Ref Linux commit 3aa63a569c64e708df547a8913c84e64a06e7853 + return renderers.conversion.unixtime_to_datetime( + self.member(f"{member}_sec") + self.has_member(f"{member}_nsec") / 1e9 + ) + elif self.has_member(f"__{member}"): + # 6.6 <= kernels < 6.11 it's a timespec64 + # Ref Linux commit 13bc24457850583a2e7203ded05b7209ab4bc5ef / 12cd44023651666bd44baa36a5c999698890debb + return self.member(f"__{member}").to_datetime() + elif self.has_member(member): + # In kernels < 6.6 it's a timespec64 or timespec + return self.member(member).to_datetime() + else: + raise exceptions.VolatilityException( + "Unsupported kernel inode type implementation" + ) + + def get_access_time(self) -> datetime: + """Returns the inode's last access time + This is updated when inode contents are read + + Returns: + A datetime with the inode's last access time + """ + return self.___time_member_to_datetime("i_atime") + + def get_modification_time(self) -> datetime: + """Returns the inode's last modification time + This is updated when the inode contents change + + Returns: + A datetime with the inode's last data modification time + """ + + return self.___time_member_to_datetime("i_mtime") + + def get_change_time(self) -> datetime: + """Returns the inode's last change time + This is updated when the inode metadata changes + + Returns: + A datetime with the inode's last change time + """ + return self.___time_member_to_datetime("i_ctime") + + def get_file_mode(self) -> str: + """Returns the inode's file mode as string of the form '-rwxrwxrwx'. + + Returns: + The inode's file mode string + """ + return stat.filemode(self.i_mode) From dbc837474c9c1d6096abd7cd27496677f0a36e7b Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Thu, 1 Aug 2024 14:23:22 -0500 Subject: [PATCH 0582/2186] #816 - initial support for Windows Windows Server 2022 (10.0.20348) --- .../framework/plugins/windows/consoles.py | 786 ++++++++++++++++++ .../consoles-win10-20348-2461-x64.json | 595 +++++++++++++ .../consoles/consoles-win10-20348-x64.json | 595 +++++++++++++ .../symbols/windows/extensions/consoles.py | 303 +++++++ 4 files changed, 2279 insertions(+) create mode 100644 volatility3/framework/plugins/windows/consoles.py create mode 100644 volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json create mode 100644 volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json create mode 100644 volatility3/framework/symbols/windows/extensions/consoles.py diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py new file mode 100644 index 000000000..f6bbb3ae7 --- /dev/null +++ b/volatility3/framework/plugins/windows/consoles.py @@ -0,0 +1,786 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +# This module attempts to locate windows console histories. + +import logging +import os +import struct +from typing import Tuple, Generator, Set, Dict, Any, Type + +from volatility3.framework import interfaces, symbols, exceptions +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.layers import scanners +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.windows import pdbutil, versions +from volatility3.framework.symbols.windows.extensions import pe, consoles +from volatility3.plugins.windows import pslist, vadinfo, info, verinfo +from volatility3.plugins.windows.registry import hivelist + + +try: + import capstone + + has_capstone = True +except ImportError: + has_capstone = False + +vollog = logging.getLogger(__name__) + + +class Consoles(interfaces.plugins.PluginInterface): + """Looks for Windows console buffers""" + + _required_framework_version = (2, 4, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) + ), + requirements.PluginRequirement( + name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + ), + requirements.BooleanRequirement( + name="no_registry", + description="Don't search the registry for possible values of CommandHistorySize and HistoryBufferMax", + optional=True, + default=False, + ), + requirements.ListRequirement( + name="max_history", + element_type=int, + description="CommandHistorySize values to search for.", + optional=True, + default=[50], + ), + requirements.ListRequirement( + name="max_buffers", + element_type=int, + description="HistoryBufferMax values to search for.", + optional=True, + default=[4], + ), + ] + + @classmethod + def find_conhost_proc( + cls, proc_list: Generator[interfaces.objects.ObjectInterface, None, None] + ) -> Tuple[interfaces.context.ContextInterface, str]: + """ + Walks the process list and returns the conhost instances. + + Args: + proc_list: The process list generator + + Return: + The process object and layer name for conhost + """ + + for proc in proc_list: + try: + proc_id = proc.UniqueProcessId + proc_layer_name = proc.add_process_layer() + + yield proc, proc_layer_name + + except exceptions.InvalidAddressException as excp: + vollog.debug( + "Process {}: invalid address {} in layer {}".format( + proc_id, excp.invalid_address, excp.layer_name + ) + ) + + @classmethod + def find_conhostexe( + cls, conhost_proc: interfaces.context.ContextInterface + ) -> Tuple[int, int]: + """ + Finds the base address of conhost.exe + + Args: + conhost_proc: the process object for conhost.exe + + Returns: + A tuple of: + conhostexe_base: the base address of conhost.exe + conhostexe_size: the size of the VAD for conhost.exe + """ + for vad in conhost_proc.get_vad_root().traverse(): + filename = vad.get_file_name() + + if isinstance(filename, str) and filename.lower().endswith("conhost.exe"): + base = vad.get_start() + return base, vad.get_size() + + return None, None + + @classmethod + def determine_conhost_version( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + nt_symbol_table: str, + ) -> Tuple[str, Type]: + """Tries to determine which symbol filename to use for the image's console information. This is similar to the + netstat plugin. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + layer_name: The name of the layer on which to operate + nt_symbol_table: The name of the table containing the kernel symbols + + Returns: + The filename of the symbol table to use and the associated class types. + """ + + is_64bit = symbols.symbol_table_is_64bit(context, nt_symbol_table) + + is_18363_or_later = versions.is_win10_18363_or_later( + context=context, symbol_table=nt_symbol_table + ) + + if is_64bit: + arch = "x64" + else: + arch = "x86" + + vers = info.Info.get_version_structure(context, layer_name, nt_symbol_table) + + kuser = info.Info.get_kuser_structure(context, layer_name, nt_symbol_table) + + try: + vers_minor_version = int(vers.MinorVersion) + nt_major_version = int(kuser.NtMajorVersion) + nt_minor_version = int(kuser.NtMinorVersion) + except ValueError: + # vers struct exists, but is not an int anymore? + raise NotImplementedError( + "Kernel Debug Structure version format not supported!" + ) + except: + # unsure what to raise here. Also, it might be useful to add some kind of fallback, + # either to a user-provided version or to another method to determine tcpip.sys's version + raise exceptions.VolatilityException( + "Kernel Debug Structure missing VERSION/KUSER structure, unable to determine Windows version!" + ) + + vollog.debug( + "Determined OS Version: {}.{} {}.{}".format( + kuser.NtMajorVersion, + kuser.NtMinorVersion, + vers.MajorVersion, + vers.MinorVersion, + ) + ) + + if nt_major_version == 10 and arch == "x64": + # win10 x64 has an additional class type we have to include. + class_types = consoles.win10_x64_class_types + else: + # default to general class types + class_types = consoles.class_types + + # these versions are listed explicitly because symbol files differ based on + # version *and* architecture. this is currently the clearest way to show + # the differences, even if it introduces a fair bit of redundancy. + # furthermore, it is easy to append new versions. + if arch == "x86": + version_dict = {} + else: + version_dict = { + (10, 0, 20348, 1): "consoles-win10-20348-x64", + (10, 0, 20348, 1970): "consoles-win10-20348-1970-x64", + (10, 0, 20348, 2461): "consoles-win10-20348-2461-x64", + (10, 0, 20348, 2520): "consoles-win10-20348-2461-x64", + } + + # we do not need to check for conhost's specific FileVersion in every case + conhost_mod_version = 0 # keep it 0 as a default + + # special use cases + + # Win10_18363 is not recognized by windows.info as 18363 + # because all kernel file headers and debug structures report 18363 as + # "10.0.18362.1198" with the last part being incremented. However, we can use + # os_distinguisher to differentiate between 18362 and 18363 + if vers_minor_version == 18362 and is_18363_or_later: + vollog.debug( + "Detected 18363 data structures: working with 18363 symbol table." + ) + vers_minor_version = 18363 + + # we need to define additional version numbers (which are then found via conhost.exe's FileVersion header) in case there is + # ambiguity _within_ an OS version. If such a version number (last number of the tuple) is defined for the current OS + # we need to inspect conhost.exe's headers to see if we can grab the precise version + if [ + (a, b, c, d) + for a, b, c, d in version_dict + if (a, b, c) == (nt_major_version, nt_minor_version, vers_minor_version) + and d != 0 + ]: + vollog.debug( + "Requiring further version inspection due to OS version by checking conhost.exe's FileVersion header" + ) + # the following is IntelLayer specific and might need to be adapted to other architectures. + physical_layer_name = context.layers[layer_name].config.get( + "memory_layer", None + ) + if physical_layer_name: + ver = verinfo.VerInfo.find_version_info( + context, physical_layer_name, "CONHOST.EXE" + ) + + if ver: + conhost_mod_version = ver[3] + vollog.debug( + "Determined conhost.exe's FileVersion: {}".format( + conhost_mod_version + ) + ) + else: + vollog.debug("Could not determine conhost.exe's FileVersion.") + else: + vollog.debug( + "Unable to retrieve physical memory layer, skipping FileVersion check." + ) + + # when determining the symbol file we have to consider the following cases: + # the determined version's symbol file is found by intermed.create -> proceed + # the determined version's symbol file is not found by intermed -> intermed will throw an exc and abort + # the determined version has no mapped symbol file -> if win10 use latest, otherwise throw exc + # windows version cannot be determined -> throw exc + + filename = version_dict.get( + ( + nt_major_version, + nt_minor_version, + vers_minor_version, + conhost_mod_version, + ) + ) + + if not filename: + # no match on filename means that we possibly have a version newer than those listed here. + # try to grab the latest supported version of the current image NT version. If that symbol + # version does not work, support has to be added manually. + current_versions = [ + (nt_maj, nt_min, vers_min, tcpip_ver) + for nt_maj, nt_min, vers_min, tcpip_ver in version_dict + if nt_maj == nt_major_version + and nt_min == nt_minor_version + and tcpip_ver <= conhost_mod_version + ] + current_versions.sort() + + if current_versions: + latest_version = current_versions[-1] + + filename = version_dict.get(latest_version) + + vollog.debug( + f"Unable to find exact matching symbol file, going with latest: {filename}" + ) + + else: + raise NotImplementedError( + "This version of Windows is not supported: {}.{} {}.{}!".format( + nt_major_version, + nt_minor_version, + vers.MajorVersion, + vers_minor_version, + ) + ) + + vollog.debug(f"Determined symbol filename: {filename}") + + return filename, class_types + + @classmethod + def create_conhost_symbol_table( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + nt_symbol_table: str, + config_path: str, + ) -> str: + """Creates a symbol table for TCP Listeners and TCP/UDP Endpoints. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + layer_name: The name of the layer on which to operate + nt_symbol_table: The name of the table containing the kernel symbols + config_path: The config path where to find symbol files + + Returns: + The name of the constructed symbol table + """ + table_mapping = {"nt_symbols": nt_symbol_table} + + symbol_filename, class_types = cls.determine_conhost_version( + context, + layer_name, + nt_symbol_table, + ) + + vollog.debug(f"Using symbol file '{symbol_filename}' and types {class_types}") + + return intermed.IntermediateSymbolTable.create( + context, + config_path, + os.path.join("windows", "consoles"), + symbol_filename, + class_types=class_types, + table_mapping=table_mapping, + ) + + @classmethod + def get_console_info( + cls, + context: interfaces.context.ContextInterface, + kernel_layer_name: str, + kernel_table_name: str, + config_path: str, + procs: Generator[interfaces.objects.ObjectInterface, None, None], + max_history: Set[int], + max_buffers: Set[int], + ) -> Tuple[ + interfaces.context.ContextInterface, + interfaces.context.ContextInterface, + Dict[str, Any], + ]: + """Extracts the cmdline from PEB + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + kernel_layer_name: The name of the layer on which to operate + kernel_table_name: The name of the table containing the kernel symbols + config_path: The config path where to find symbol files + procs: list of process objects + max_history: an initial set of CommandHistorySize values + max_buffers: an initial list of HistoryBufferMax values + + Returns: + The conhost process object, the console information structure, a dictionary of properties for + that console information structure. + """ + + conhost_symbol_table = cls.create_conhost_symbol_table( + context, kernel_layer_name, kernel_table_name, config_path + ) + + for conhost_proc, proc_layer_name in cls.find_conhost_proc(procs): + if not conhost_proc: + vollog.info( + "Unable to find a valid conhost.exe process in the process list. Analysis cannot proceed." + ) + continue + vollog.debug( + f"Found conhost process {conhost_proc} with pid {conhost_proc.UniqueProcessId}" + ) + + conhostexe_base, conhostexe_size = cls.find_conhostexe(conhost_proc) + if not conhostexe_base: + vollog.info( + "Unable to find the location of conhost.exe. Analysis cannot proceed." + ) + continue + vollog.debug(f"Found conhost.exe base at {conhostexe_base:#x}") + + proc_layer = context.layers[proc_layer_name] + + conhost_module = context.module( + conhost_symbol_table, proc_layer_name, offset=conhostexe_base + ) + + # scan for potential _CONSOLE_INFORMATION structures by using the CommandHistorySize + for max_history_value in max_history: + max_history_bytes = struct.pack("H", max_history_value) + vollog.debug( + f"Scanning for CommandHistorySize value: {max_history_bytes}" + ) + for address in proc_layer.scan( + context, + scanners.BytesScanner(max_history_bytes), + sections=[(conhostexe_base, conhostexe_size)], + ): + + console_properties = [] + + try: + console_info = conhost_module.object( + "_CONSOLE_INFORMATION", + offset=address + - conhost_module.get_type( + "_CONSOLE_INFORMATION" + ).relative_child_offset("CommandHistorySize"), + absolute=True, + ) + + if not any( + [ + console_info.is_valid(max_buffer) + for max_buffer in max_buffers + ] + ): + continue + + vollog.debug( + f"Getting Console Information properties for {console_info}" + ) + console_properties.append( + { + "name": "_CONSOLE_INFORMATION.ScreenX", + "address": console_info.ScreenX.vol.offset, + "data": console_info.ScreenX, + } + ) + console_properties.append( + { + "name": "_CONSOLE_INFORMATION.ScreenY", + "address": console_info.ScreenY.vol.offset, + "data": console_info.ScreenY, + } + ) + console_properties.append( + { + "name": "_CONSOLE_INFORMATION.CommandHistorySize", + "address": console_info.CommandHistorySize.vol.offset, + "data": console_info.CommandHistorySize, + } + ) + console_properties.append( + { + "name": "_CONSOLE_INFORMATION.HistoryBufferCount", + "address": console_info.HistoryBufferCount.vol.offset, + "data": console_info.HistoryBufferCount, + } + ) + console_properties.append( + { + "name": "_CONSOLE_INFORMATION.HistoryBufferMax", + "address": console_info.HistoryBufferMax.vol.offset, + "data": console_info.HistoryBufferMax, + } + ) + console_properties.append( + { + "name": "_CONSOLE_INFORMATION.Title", + "address": console_info.Title.vol.offset, + "data": console_info.get_title(), + } + ) + console_properties.append( + { + "name": "_CONSOLE_INFORMATION.OriginalTitle", + "address": console_info.OriginalTitle.vol.offset, + "data": console_info.get_original_title(), + } + ) + + vollog.debug( + f"Getting ConsoleProcessList entries for {console_info.ConsoleProcessList}" + ) + console_properties.append( + { + "name": "_CONSOLE_INFORMATION.ProcessCount", + "address": console_info.ProcessCount.vol.offset, + "data": console_info.ProcessCount, + } + ) + console_properties.append( + { + "name": "_CONSOLE_INFORMATION.ConsoleProcessList", + "address": console_info.ConsoleProcessList.vol.offset, + "data": "", + } + ) + for index, attached_proc in enumerate( + console_info.get_processes() + ): + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_{index}", + "address": attached_proc.ConsoleProcess.dereference().vol.offset, + "data": "", + } + ) + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_{index}_ProcessId", + "address": attached_proc.ConsoleProcess.ProcessId.vol.offset, + "data": attached_proc.ConsoleProcess.ProcessId, + } + ) + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_{index}_ProcessHandle", + "address": attached_proc.ConsoleProcess.ProcessHandle.vol.offset, + "data": hex( + attached_proc.ConsoleProcess.ProcessHandle + ), + } + ) + + vollog.debug( + f"Getting HistoryList entries for {console_info.HistoryList}" + ) + console_properties.append( + { + "name": "_CONSOLE_INFORMATION.HistoryList", + "address": console_info.HistoryList.vol.offset, + "data": "", + } + ) + for index, command_history in enumerate( + console_info.get_histories() + ): + try: + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}", + "address": command_history.vol.offset, + "data": "", + } + ) + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}_Application", + "address": command_history.Application.vol.offset, + "data": command_history.get_application(), + } + ) + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}_ProcessHandle", + "address": command_history.ConsoleProcessHandle.ProcessHandle.vol.offset, + "data": hex( + command_history.ConsoleProcessHandle.ProcessHandle + ), + } + ) + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}_CommandCount", + "address": None, + "data": command_history.CommandCount, + } + ) + for ( + cmd_index, + bucket_cmd, + ) in command_history.get_commands(): + try: + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}_Command_{cmd_index}", + "address": bucket_cmd.vol.offset, + "data": bucket_cmd.get_command(), + } + ) + except Exception as e: + vollog.debug( + f"reading {bucket_cmd} encountered exception {e}" + ) + except Exception as e: + vollog.debug( + f"reading {command_history} encountered exception {e}" + ) + + vollog.debug(f"Getting ScreenBuffer entries for {console_info}") + for screen_index, screen_info in enumerate( + console_info.get_screens() + ): + try: + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}", + "address": screen_info, + "data": "", + } + ) + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}.ScreenX", + "address": None, + "data": screen_info.ScreenX, + } + ) + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}.ScreenY", + "address": None, + "data": screen_info.ScreenY, + } + ) + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}.Dump", + "address": None, + "data": "\n".join(screen_info.get_buffer()), + } + ) + except Exception as e: + vollog.debug( + f"reading {screen_info} encountered exception {e}" + ) + + except exceptions.PagedInvalidAddressException as exp: + vollog.debug( + f"Required memory at {exp.invalid_address:#x} is not valid" + ) + + yield conhost_proc, console_info, console_properties + + @classmethod + def get_console_settings_from_registry( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + kernel_layer_name: str, + kernel_symbol_table_name: str, + max_history: Set[int], + max_buffers: Set[int], + ) -> Tuple[Set[int], Set[int]]: + """ + Walks the Registry user hives and extracts any CommandHistorySize and HistoryBufferMax values + for scanning + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + config_path: The config path where to find symbol files + kernel_layer_name: The name of the layer on which to operate + kernel_symbol_table_name: The name of the table containing the kernel symbols + max_history: an initial set of CommandHistorySize values + max_buffers: an initial list of HistoryBufferMax values + + Returns: + The updated max_history and max_buffers sets. + """ + vollog.debug( + f"Possible CommandHistorySize values before checking Registry: {max_history}" + ) + vollog.debug( + f"Possible HistoryBufferMax values before checking Registry: {max_buffers}" + ) + + for hive in hivelist.HiveList.list_hives( + context=context, + base_config_path=config_path, + layer_name=kernel_layer_name, + symbol_table=kernel_symbol_table_name, + hive_offsets=None, + ): + try: + for value in hive.get_key("Console").get_values(): + val_name = str(value.get_name()) + if val_name == "HistoryBufferSize": + max_history.add(value.decode_data()) + elif val_name == "NumberOfHistoryBuffers": + max_buffers.add(value.decode_data()) + except: + continue + + return max_history, max_buffers + + def _generator( + self, procs: Generator[interfaces.objects.ObjectInterface, None, None] + ): + """ + Generates the console information to use in rendering + + Args: + procs: the process list filtered to conhost.exe instances + """ + + kernel = self.context.modules[self.config["kernel"]] + + max_history = set(self.config.get("max_history", [50])) + max_buffers = set(self.config.get("max_buffers", [4])) + no_registry = self.config.get("no_registry") + + if no_registry is False: + max_history, max_buffers = self.get_console_settings_from_registry( + self.context, + self.config_path, + kernel.layer_name, + kernel.symbol_table_name, + max_history, + max_buffers, + ) + + vollog.debug(f"Possible CommandHistorySize values: {max_history}") + vollog.debug(f"Possible HistoryBufferMax values: {max_buffers}") + + for proc, console_info, console_properties in self.get_console_info( + self.context, + kernel.layer_name, + kernel.symbol_table_name, + self.config_path, + procs, + max_history, + max_buffers, + ): + process_name = utility.array_to_string(proc.ImageFileName) + + if console_info and console_properties: + for console_property in console_properties: + yield ( + 0, + ( + proc.UniqueProcessId, + process_name, + format_hints.Hex(console_info.vol.offset), + console_property["name"], + ( + renderers.NotApplicableValue() + if console_property["address"] is None + else format_hints.Hex(console_property["address"]) + ), + str(console_property["data"]), + ), + ) + + def _conhost_proc_filter(self, proc): + """ + Used to filter to only conhost.exe processes + """ + process_name = utility.array_to_string(proc.ImageFileName) + + return process_name != "conhost.exe" + + def run(self): + kernel = self.context.modules[self.config["kernel"]] + + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("ConsoleInfo", format_hints.Hex), + ("Property", str), + ("Address", format_hints.Hex), + ("Data", str), + ], + self._generator( + pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_func=self._conhost_proc_filter, + ) + ), + ) diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json new file mode 100644 index 000000000..3ae41fdd7 --- /dev/null +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json @@ -0,0 +1,595 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "short": { + "kind": "int", + "size": 2, + "signed": true, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_CONSOLE_INFORMATION": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 24 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 26 + }, + "CommandHistorySize": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 136 + }, + "HistoryBufferMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 140 + }, + "OriginalTitle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1616 + }, + "Title": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1552 + }, + "GetScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1680 + }, + "CurrentScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1296 + }, + "ConsoleProcessList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 1272 + }, + "ProcessCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1280 + }, + "HistoryList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 9176 + }, + "HistoryBufferCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 9184 + }, + "ExeAliasList": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 9232 + } + }, + "kind": "struct", + "size": 140 + }, + "_VECTOR": { + "fields": { + "Begin": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 0 + }, + "End": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 8 + }, + "EndCapacity": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 32 + }, + "_CONSOLE_PROCESS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ConsoleProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_PROCESS_HANDLE": { + "fields": { + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 52 + }, + "_CONSOLE_PROCESS": { + "fields": { + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 28 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + }, + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND_HISTORY": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "CommandBucket": { + "type": { + "kind": "struct", + "name": "_VECTOR" + }, + "offset": 16 + }, + "CommandCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 40 + }, + "Application": { + "type": { + "kind": "struct", + "name": "_COMMAND" + }, + "offset": 48 + }, + "ConsoleProcessHandle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS_HANDLE" + } + }, + "offset": 80 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 88 + }, + "LastDisplayed": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 92 + } + }, + "kind": "struct", + "size": 96 + }, + "_SCREEN_INFORMATION": { + "fields": { + "TextBufferInfo": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 56 + }, + "Next": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_ROW_POINTER": { + "fields": { + "Row": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + + }, + "_ROWS_ARRAY": { + "fields": { + "Rows": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_ROW_POINTER" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_TEXT_BUFFER_INFO": { + "fields": { + "BufferDeque": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_DEQUE" + } + }, + "offset": 0 + }, + "BufferRows": { + "type": { + "kind": "pointer", + "name": "void", + "subtype": { + "kind": "struct", + "name": "_ROWS_ARRAY" + } + }, + "offset": 16 + }, + "BufferCapacity": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 40 + }, + "ThisBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 48 + }, + "BufferEnd": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 54 + }, + "BufferLastIndex": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 56 + }, + "BufferStart": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 72 + }, + "_CHAR_ROW_CELL": { + "fields": { + "Text": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "DbcsAttribute": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 3 + }, + "_CHAR_ROW_CELL_ARRAY": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROW": { + "fields": { + "CharRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL_ARRAY" + } + }, + "offset": 8 + }, + "RowLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 64 + }, + "Index": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + }, + "RowLength2": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 80 + }, + "TextBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 88 + } }, + "kind": "struct", + "size": 96 + }, + "_DEQUE": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle", + "datetime": "2024-07-31T15:05:35-06:00" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json new file mode 100644 index 000000000..b74862598 --- /dev/null +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json @@ -0,0 +1,595 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "short": { + "kind": "int", + "size": 2, + "signed": true, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_CONSOLE_INFORMATION": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 24 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 26 + }, + "CommandHistorySize": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 136 + }, + "HistoryBufferMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 140 + }, + "OriginalTitle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1616 + }, + "Title": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1552 + }, + "GetScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1680 + }, + "CurrentScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1296 + }, + "ConsoleProcessList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 1272 + }, + "ProcessCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1280 + }, + "HistoryList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": -288 + }, + "HistoryBufferCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": -280 + }, + "ExeAliasList": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": -376 + } + }, + "kind": "struct", + "size": 140 + }, + "_VECTOR": { + "fields": { + "Begin": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 0 + }, + "End": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 8 + }, + "EndCapacity": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 32 + }, + "_CONSOLE_PROCESS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ConsoleProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_PROCESS_HANDLE": { + "fields": { + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 52 + }, + "_CONSOLE_PROCESS": { + "fields": { + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 28 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + }, + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND_HISTORY": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "CommandBucket": { + "type": { + "kind": "struct", + "name": "_VECTOR" + }, + "offset": 16 + }, + "CommandCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 40 + }, + "Application": { + "type": { + "kind": "struct", + "name": "_COMMAND" + }, + "offset": 48 + }, + "ConsoleProcessHandle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS_HANDLE" + } + }, + "offset": 80 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 88 + }, + "LastDisplayed": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 92 + } + }, + "kind": "struct", + "size": 96 + }, + "_SCREEN_INFORMATION": { + "fields": { + "TextBufferInfo": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 56 + }, + "Next": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_ROW_POINTER": { + "fields": { + "Row": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + + }, + "_ROWS_ARRAY": { + "fields": { + "Rows": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_ROW_POINTER" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_TEXT_BUFFER_INFO": { + "fields": { + "BufferDeque": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_DEQUE" + } + }, + "offset": 0 + }, + "BufferRows": { + "type": { + "kind": "pointer", + "name": "void", + "subtype": { + "kind": "struct", + "name": "_ROWS_ARRAY" + } + }, + "offset": 16 + }, + "BufferCapacity": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 40 + }, + "ThisBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 48 + }, + "BufferEnd": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 54 + }, + "BufferLastIndex": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 56 + }, + "BufferStart": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 72 + }, + "_CHAR_ROW_CELL": { + "fields": { + "Text": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "DbcsAttribute": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 3 + }, + "_CHAR_ROW_CELL_ARRAY": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROW": { + "fields": { + "CharRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL_ARRAY" + } + }, + "offset": 8 + }, + "RowLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 64 + }, + "Index": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + }, + "RowLength2": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 80 + }, + "TextBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 88 + } }, + "kind": "struct", + "size": 96 + }, + "_DEQUE": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle", + "datetime": "2024-07-31T15:05:35-06:00" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/extensions/consoles.py b/volatility3/framework/symbols/windows/extensions/consoles.py new file mode 100644 index 000000000..2db1f4cad --- /dev/null +++ b/volatility3/framework/symbols/windows/extensions/consoles.py @@ -0,0 +1,303 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +from volatility3.framework import objects +from volatility3.framework import constants + + +class ROW(objects.StructType): + """A Row Structure.""" + + def _valid_dbcs(self, c): + # TODO this need more research and testing + # https://github.com/search?q=repo%3Amicrosoft%2Fterminal+DbcsAttr&type=code + valid = c in ( + 0x0, + 0x1, + 0x2, + 0x20, + 0x28, + 0x30, + 0x48, + 0x60, + 0x80, + 0xF8, + 0xF0, + 0xA0, + ) + # if not valid: + # print("Bad Dbcs Attribute {}".format(hex(c))) + return valid + + def get_text(self, truncate=True): + """A convenience method to extract the text from the _ROW. The _ROW + contains a pointer CharRow to an array of CharRowCell objects. Each + CharRowCell contains the wide character and an attribute. Enumerating + self.CharRow.Chars and casting each character to unicode takes too long, + so this reads the whole row into a buffer, then extracts the text characters.""" + + layer = self._context.layers[self.vol.layer_name] + offset = self.CharRow.Chars.vol.offset + length = self.RowLength * 3 + char_row = layer.read(offset, length) + line = "" + try: + if char_row: + line = "".join( + # "{} {} =".format(char_row[i:i + 2].decode('utf-16le', errors='replace'), char_row[i+2]) if self._valid_dbcs(char_row[i+2]) else "" + ( + char_row[i : i + 2].decode("utf-16le", errors="replace") + if self._valid_dbcs(char_row[i + 2]) + else "" + ) + for i in range(0, len(char_row), 3) + ) + except Exception as e: + print(e) + line = "" + + if truncate: + return line.rstrip() + else: + return line + + +class SCREEN_INFORMATION(objects.StructType): + """A Screen Information Structure.""" + + @property + def ScreenX(self): + return self.TextBufferInfo.BufferRows.Rows[0].Row.RowLength2 + + @property + def ScreenY(self): + return self.TextBufferInfo.BufferCapacity + + def _truncate_rows(self, rows): + """To truncate empty rows at the end, walk the list + backwards and get the last non-empty row. Use that + row index to splice. Rows are created based on the + length given in the ROW structure, so empty rows will + be ''.""" + + non_empty_index = 0 + rows_traversed = False + + for index, row in enumerate(reversed(rows)): + # the string was created based on the length in the ROW structure so it shouldn't have any bad data + if len(row.rstrip()) > 0: + non_empty_index = index + break + rows_traversed = True + + if non_empty_index == 0 and rows_traversed: + rows = [] + else: + rows = rows[0 : len(rows) - non_empty_index] + + return rows + + def get_buffer(self, truncate_rows=True, truncate_lines=True): + """Get the screen buffer. + + The screen buffer is comprised of the screen's Y + coordinate which tells us the number of rows and + the X coordinate which tells us the width of each + row in characters. Windows 10 17763 changed from + a large text buffer to a grid of cells, with each + cell containing a single wide character in that + cell, stored in a CharRowCell object. + + @param truncate: True if the empty rows at the + end (i.e. bottom) of the screen buffer should be + supressed. + """ + rows = [] + + capacity = self.TextBufferInfo.BufferCapacity + start = self.TextBufferInfo.BufferStart + buffer_rows = self.TextBufferInfo.BufferRows.dereference() + buffer_rows.Rows.count = self.TextBufferInfo.BufferCapacity + + for i in range(capacity): + index = (start + i) % capacity + row = buffer_rows.Rows[index].Row + try: + text = row.get_text(truncate_lines) + rows.append(text) + except: + break + + if truncate_rows: + rows = self._truncate_rows(rows) + + if rows: + rows = ["=== Start of buffer ==="] + rows + ["=== End of buffer ==="] + else: + rows = ["=== No buffer data found ==="] + return rows + + +class CONSOLE_INFORMATION(objects.StructType): + """A Console Information Structure.""" + + @property + def ScreenBuffer(self): + return self.GetScreenBuffer + + def is_valid(self, max_buffers=4) -> bool: + """Determine if the structure is valid.""" + + # Last displayed must be between -1 and max + if self.HistoryBufferCount < 1 or self.HistoryBufferCount > max_buffers: + return False + + if not self.get_title() and not self.get_original_title(): + return False + + return True + + def get_screens(self): + """Generator for screens in the console. + + A console can have multiple screen buffers at a time, + but only the current/active one is displayed. + + Multiple screens are tracked using the singly-linked + list _SCREEN_INFORMATION.Next. + + See CreateConsoleScreenBuffer + """ + screens = [self.CurrentScreenBuffer] + + if self.ScreenBuffer not in screens: + screens.append(self.ScreenBuffer) + + seen = set() + + for screen in screens: + cur = screen + while cur and cur.vol.offset != 0 and cur.vol.offset not in seen: + cur.TextBufferInfo.BufferRows.Rows.count = ( + cur.TextBufferInfo.BufferCapacity + ) + yield cur + seen.add(cur.vol.offset) + cur = cur.Next + + def get_histories(self): + for cmd_hist in self.HistoryList.dereference().to_list( + f"{self.get_symbol_table_name()}{constants.BANG}_COMMAND_HISTORY", + "ListEntry", + ): + yield cmd_hist + + def get_processes(self): + for proc in self.ConsoleProcessList.dereference().to_list( + f"{self.get_symbol_table_name()}{constants.BANG}_CONSOLE_PROCESS_LIST", + "ListEntry", + ): + yield proc + + def get_title(self): + try: + return self.Title.dereference().cast( + "string", encoding="utf-16", errors="replace", max_length=512 + ) + except: + return "" + + def get_original_title(self): + try: + return self.OriginalTitle.dereference().cast( + "string", encoding="utf-16", errors="replace", max_length=512 + ) + except: + return "" + + +class COMMAND(objects.StructType): + """A Command Structure""" + + def get_command(self): + if self.Length < 8: + return self.Chars.cast( + "string", + encoding="utf-16", + errors="replace", + max_length=self.Length * 2, + ) + elif self.Length < 1024: + return self.Pointer.dereference().cast( + "string", encoding="utf-16", errors="replace", max_length=512 + ) + + +class COMMAND_HISTORY(objects.StructType): + """A Command History Structure.""" + + @property + def CommandCount(self): + command_type = self.get_symbol_table_name() + constants.BANG + "_COMMAND" + command_size = self._context.symbol_space.get_type(command_type).size + return int((self.CommandBucket.End - self.CommandBucket.Begin) / command_size) + + def get_application(self): + if self.Application.Length < 8: + return self.Application.Chars.cast( + "string", + encoding="utf-16", + errors="replace", + max_length=self.Application.Length * 2, + ) + elif self.Application.Length < 1024: + return self.Application.Pointer.dereference().cast( + "string", encoding="utf-16", errors="replace", max_length=512 + ) + + def scan_command_bucket(self, end=None): + """Brute force print all strings pointed to by the CommandBucket entries by + going to greater of EndCapacity or CommandCountMax*sizeof(_COMMAND)""" + + command_type = self.get_symbol_table_name() + constants.BANG + "_COMMAND" + command_history_size = self._context.symbol_space.get_type( + self.vol.type_name + ).size + command_size = self._context.symbol_space.get_type(command_type).size + if end is None: + end = max( + self.CommandBucket.EndCapacity, + self.CommandBucket.Begin + command_history_size * self.CommandCountMax, + ) + + for i, pointer in enumerate(range(self.CommandBucket.Begin, end, command_size)): + yield i, self._context.object(command_type, self.vol.layer_name, pointer) + + def get_commands(self): + """Generator for commands in the history buffer. + + The CommandBucket is an array of pointers to _COMMAND + structures. The array size is CommandCount. Once CommandCount + is reached, the oldest commands are cycled out and the + rest are coalesced. + """ + + for i, cmd in self.scan_command_bucket(self.CommandBucket.End): + yield i, cmd + + +win10_x64_class_types = { + "_ROW": ROW, + "_SCREEN_INFORMATION": SCREEN_INFORMATION, + "_CONSOLE_INFORMATION": CONSOLE_INFORMATION, + "_COMMAND_HISTORY": COMMAND_HISTORY, + "_COMMAND": COMMAND, +} +class_types = { + "_ROW": ROW, + "_SCREEN_INFORMATION": SCREEN_INFORMATION, + "_CONSOLE_INFORMATION": CONSOLE_INFORMATION, + "_COMMAND_HISTORY": COMMAND_HISTORY, + "_COMMAND": COMMAND, +} From e6308a6035156cab5abb6f0cdf537fb75e5881e8 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 1 Aug 2024 21:04:24 +0100 Subject: [PATCH 0583/2186] Make suggested changes by gcmoreira --- volatility3/cli/volargparse.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/volargparse.py b/volatility3/cli/volargparse.py index 2bd53077b..5ce2646ed 100644 --- a/volatility3/cli/volargparse.py +++ b/volatility3/cli/volargparse.py @@ -100,6 +100,11 @@ class HelpfulArgParser(argparse.ArgumentParser): return len(match.group(1)) def _check_value(self, action: argparse.Action, value: Any) -> None: + """This is called to ensure a value is correct/valid + This fails when we want to accept partial values for the plugin name, + so we disable the check (which will throw ArgumentErrors for failed checks) + but only for our plugin subparser, so all other arguments are checked correctly + """ if not isinstance(action, HelpfulSubparserAction): - return super()._check_value(action, value) + super()._check_value(action, value) return None From 0bda1543854d8f92e7fb2bf4c5eff3afdf117819 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 1 Aug 2024 21:08:18 +0100 Subject: [PATCH 0584/2186] Clarify the documentation a little --- volatility3/cli/volargparse.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/volargparse.py b/volatility3/cli/volargparse.py index 5ce2646ed..fd61ddce0 100644 --- a/volatility3/cli/volargparse.py +++ b/volatility3/cli/volargparse.py @@ -101,9 +101,16 @@ class HelpfulArgParser(argparse.ArgumentParser): def _check_value(self, action: argparse.Action, value: Any) -> None: """This is called to ensure a value is correct/valid - This fails when we want to accept partial values for the plugin name, - so we disable the check (which will throw ArgumentErrors for failed checks) - but only for our plugin subparser, so all other arguments are checked correctly + + In normal operation, it would check that a value provided is valid and return None + If it was not valid, it would throw an ArgumentError + + When people provide a partial plugin name, we want to look for a matching plugin name + which happens in the HelpfulSubparserAction's __call_method + + To get there without tripping the check_value failure, we have to prevent the exception + being thrown when the value is a HelpfulSubparserAction. This therefore affects no other + checks for normal parameters. """ if not isinstance(action, HelpfulSubparserAction): super()._check_value(action, value) From d19013c85261ea48dd774dcda66dcb8d1b36782d Mon Sep 17 00:00:00 2001 From: qpalzmz112 <68213464+qpalzmz112@users.noreply.github.com> Date: Thu, 1 Aug 2024 16:19:24 -0500 Subject: [PATCH 0585/2186] fixed typo, updated plugin docstring, and updated comment --- volatility3/framework/plugins/windows/psxview.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 918eb44ba..cab27f3e3 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -17,17 +17,14 @@ vollog = logging.getLogger(__name__) class PsXView(plugins.PluginInterface): - """Lists all processes found via 6 of the methods described in \"The Art of Memory Forensics,\" which may help + """Lists all processes found via four of the methods described in \"The Art of Memory Forensics,\" which may help identify processes that are trying to hide themselves. I recommend using -r pretty if you are looking at this plugin's output in a terminal.""" # I've omitted the desktop thread scanning method because Volatility3 doesn't appear to have the funcitonality # which the original plugin used to do it. - # I don't think it's worth including the sessions method either because both the original psxview plugin - # and Volatility3's sessions plugin begin with the list of processes found by PsList. - # The original psxview plugin's session code essentially just filters the pslist for processes - # whose session ID is not None. I've matched this in my code, but again, it doesn't seem worth including. + # The sessions method is omitted because it begins with the list of processes found by Pslist anyway. # Lastly, I've omitted the pspcid method because I could not for the life of me get it to work. I saved the # code I do have from it, and will happily share it if anyone else wants to add it. @@ -64,7 +61,7 @@ class PsXView(plugins.PluginInterface): ), requirements.BooleanRequirement( name="physical-offsets", - description="List processes with phyiscall offsets instead of virtual offsets.", + description="List processes with physical offsets instead of virtual offsets.", optional=True, ), ] From fdb131f870f5a3ef97dfe5f33e3ee05cf17d83f2 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Thu, 1 Aug 2024 16:27:48 -0500 Subject: [PATCH 0586/2186] #816 - add cmdscan and bug fixes --- .../framework/plugins/windows/cmdscan.py | 327 ++++++++++++++++++ .../framework/plugins/windows/consoles.py | 2 +- .../consoles-win10-20348-2461-x64.json | 2 +- .../consoles/consoles-win10-20348-x64.json | 2 +- .../symbols/windows/extensions/consoles.py | 31 +- 5 files changed, 360 insertions(+), 4 deletions(-) create mode 100644 volatility3/framework/plugins/windows/cmdscan.py diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py new file mode 100644 index 000000000..86a34a4f8 --- /dev/null +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -0,0 +1,327 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +# This module attempts to locate windows console histories. + +import logging +import struct +from typing import Tuple, Generator, Set, Dict, Any, List, Optional + +from volatility3.framework import interfaces +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.layers import scanners +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import pslist, vadinfo, info, verinfo, consoles +from volatility3.plugins.windows.registry import hivelist + + +try: + import capstone + + has_capstone = True +except ImportError: + has_capstone = False + +vollog = logging.getLogger(__name__) + + +class CmdScan(interfaces.plugins.PluginInterface): + """Looks for Windows Command History lists""" + + _required_framework_version = (2, 4, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(2, 0, 0) + ), + requirements.PluginRequirement( + name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + ), + requirements.BooleanRequirement( + name="no_registry", + description="Don't search the registry for possible values of CommandHistorySize", + optional=True, + default=False, + ), + requirements.ListRequirement( + name="max_history", + element_type=int, + description="CommandHistorySize values to search for.", + optional=True, + default=[50], + ), + ] + + @classmethod + def get_filtered_vads( + cls, conhost_proc: interfaces.context.ContextInterface, size_filter: Optional[int]=0x40000000 + ) -> List[Tuple[int, int]]: + """ + Returns vads of a process with smaller than size_filter + + Args: + conhost_proc: the process object for conhost.exe + + Returns: + A list of tuples of: + vad_base: the base address + vad_size: the size of the VAD + """ + vads = [] + for vad in conhost_proc.get_vad_root().traverse(): + base = vad.get_start() + if vad.get_size() < size_filter: + vads.append((base, vad.get_size())) + + return vads + + @classmethod + def get_command_history( + cls, + context: interfaces.context.ContextInterface, + kernel_layer_name: str, + kernel_table_name: str, + config_path: str, + procs: Generator[interfaces.objects.ObjectInterface, None, None], + max_history: Set[int], + ) -> Tuple[ + interfaces.context.ContextInterface, + interfaces.context.ContextInterface, + Dict[str, Any], + ]: + """Gets the list of commands from each Command History structure + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + kernel_layer_name: The name of the layer on which to operate + kernel_table_name: The name of the table containing the kernel symbols + config_path: The config path where to find symbol files + procs: list of process objects + max_history: an initial set of CommandHistorySize values + + Returns: + The conhost process object, the command history structure, a dictionary of properties for + that command historyn structure. + """ + + conhost_symbol_table = consoles.Consoles.create_conhost_symbol_table( + context, kernel_layer_name, kernel_table_name, config_path + ) + + for conhost_proc, proc_layer_name in consoles.Consoles.find_conhost_proc(procs): + if not conhost_proc: + vollog.info( + "Unable to find a valid conhost.exe process in the process list. Analysis cannot proceed." + ) + continue + vollog.debug( + f"Found conhost process {conhost_proc} with pid {conhost_proc.UniqueProcessId}" + ) + + conhostexe_base, conhostexe_size = consoles.Consoles.find_conhostexe(conhost_proc) + if not conhostexe_base: + vollog.info( + "Unable to find the location of conhost.exe. Analysis cannot proceed." + ) + continue + vollog.debug(f"Found conhost.exe base at {conhostexe_base:#x}") + + proc_layer = context.layers[proc_layer_name] + + conhost_module = context.module( + conhost_symbol_table, proc_layer_name, offset=conhostexe_base + ) + + sections = cls.get_filtered_vads(conhost_proc) + # scan for potential _COMMAND_HISTORY structures by using the CommandHistorySize + for max_history_value in max_history: + max_history_bytes = struct.pack("H", max_history_value) + vollog.debug( + f"Scanning for CommandHistorySize value: {max_history_bytes}" + ) + for address in proc_layer.scan( + context, + scanners.BytesScanner(max_history_bytes), + sections=sections, + ): + command_history_properties = [] + + try: + command_history = conhost_module.object( + "_COMMAND_HISTORY", + offset=address + - conhost_module.get_type( + "_COMMAND_HISTORY" + ).relative_child_offset("CommandCountMax"), + absolute=True, + ) + + if not command_history.is_valid(max_history_value): + continue + + vollog.debug( + f"Getting Command History properties for {command_history}" + ) + command_history_properties.append( + { + "name": f"_COMMAND_HISTORY.Application", + "address": command_history.Application.vol.offset, + "data": command_history.get_application(), + } + ) + command_history_properties.append( + { + "name": f"_COMMAND_HISTORY.ProcessHandle", + "address": command_history.ConsoleProcessHandle.ProcessHandle.vol.offset, + "data": hex( + command_history.ConsoleProcessHandle.ProcessHandle + ), + } + ) + command_history_properties.append( + { + "name": f"_COMMAND_HISTORY.CommandCount", + "address": None, + "data": command_history.CommandCount, + } + ) + command_history_properties.append( + { + "name": f"_COMMAND_HISTORY.LastDisplayed", + "address": command_history.LastDisplayed.vol.offset, + "data": command_history.LastDisplayed, + } + ) + command_history_properties.append( + { + "name": f"_COMMAND_HISTORY.CommandCountMax", + "address": command_history.CommandCountMax.vol.offset, + "data": command_history.CommandCountMax, + } + ) + + command_history_properties.append( + { + "name": f"_COMMAND_HISTORY.CommandBucket", + "address": command_history.CommandBucket.vol.offset, + "data": "", + } + ) + for ( + cmd_index, + bucket_cmd, + ) in command_history.scan_command_bucket(): + try: + command_history_properties.append( + { + "name": f"_COMMAND_HISTORY.CommandBucket_Command_{cmd_index}", + "address": bucket_cmd.vol.offset, + "data": bucket_cmd.get_command(), + } + ) + except Exception as e: + vollog.debug( + f"reading {bucket_cmd} encountered exception {e}" + ) + except Exception as e: + vollog.debug( + f"reading {command_history} encountered exception {e}" + ) + + yield conhost_proc, command_history, command_history_properties + + def _generator( + self, procs: Generator[interfaces.objects.ObjectInterface, None, None] + ): + """ + Generates the command history to use in rendering + + Args: + procs: the process list filtered to conhost.exe instances + """ + + kernel = self.context.modules[self.config["kernel"]] + + max_history = set(self.config.get("max_history", [50])) + no_registry = self.config.get("no_registry") + + if no_registry is False: + max_history, _max_buffers = consoles.Consoles.get_console_settings_from_registry( + self.context, + self.config_path, + kernel.layer_name, + kernel.symbol_table_name, + max_history, + [], + ) + + vollog.debug(f"Possible CommandHistorySize values: {max_history}") + + for proc, command_history, command_history_properties in self.get_command_history( + self.context, + kernel.layer_name, + kernel.symbol_table_name, + self.config_path, + procs, + max_history, + ): + process_name = utility.array_to_string(proc.ImageFileName) + + if command_history and command_history_properties: + for command_history_property in command_history_properties: + yield ( + 0, + ( + proc.UniqueProcessId, + process_name, + format_hints.Hex(command_history.vol.offset), + command_history_property["name"], + ( + renderers.NotApplicableValue() + if command_history_property["address"] is None + else format_hints.Hex(command_history_property["address"]) + ), + str(command_history_property["data"]), + ), + ) + + def _conhost_proc_filter(self, proc): + """ + Used to filter to only conhost.exe processes + """ + process_name = utility.array_to_string(proc.ImageFileName) + + return process_name != "conhost.exe" + + def run(self): + kernel = self.context.modules[self.config["kernel"]] + + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("ConsoleInfo", format_hints.Hex), + ("Property", str), + ("Address", format_hints.Hex), + ("Data", str), + ], + self._generator( + pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_func=self._conhost_proc_filter, + ) + ), + ) diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index f6bbb3ae7..509b6ae9d 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -363,7 +363,7 @@ class Consoles(interfaces.plugins.PluginInterface): interfaces.context.ContextInterface, Dict[str, Any], ]: - """Extracts the cmdline from PEB + """Gets the Console Information structure and its related properties for each conhost process Args: context: The context to retrieve required elements (layers, symbol tables) from diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json index 3ae41fdd7..a4adf8028 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json @@ -232,7 +232,7 @@ "kind": "base", "name": "unsigned int" }, - "offset": 20 + "offset": 24 } }, "kind": "struct", diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json index b74862598..5cc7ab6f5 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json @@ -232,7 +232,7 @@ "kind": "base", "name": "unsigned int" }, - "offset": 20 + "offset": 24 } }, "kind": "struct", diff --git a/volatility3/framework/symbols/windows/extensions/consoles.py b/volatility3/framework/symbols/windows/extensions/consoles.py index 2db1f4cad..279ee723e 100644 --- a/volatility3/framework/symbols/windows/extensions/consoles.py +++ b/volatility3/framework/symbols/windows/extensions/consoles.py @@ -220,6 +220,12 @@ class CONSOLE_INFORMATION(objects.StructType): class COMMAND(objects.StructType): """A Command Structure""" + def is_valid(self): + if self.Length < 1 or self.Allocated < 1 or self.Length > 1024 or self.Allocated > 1024: + return False + + return True + def get_command(self): if self.Length < 8: return self.Chars.cast( @@ -243,6 +249,26 @@ class COMMAND_HISTORY(objects.StructType): command_size = self._context.symbol_space.get_type(command_type).size return int((self.CommandBucket.End - self.CommandBucket.Begin) / command_size) + @property + def ProcessHandle(self): + """ Allow ProcessHandle to be referenced regardless of OS version """ + return self.ConsoleProcessHandle.ProcessHandle + + def is_valid(self, max_history=50): + # The count must be between zero and max + if self.CommandCount < 0 or self.CommandCount > max_history: + return False + + # Last displayed must be between -1 and max + if self.LastDisplayed < -1 or self.LastDisplayed > max_history: + return False + + # Process handle must be a valid pid + if self.ProcessHandle <= 0 or self.ProcessHandle > 0xFFFF or self.ProcessHandle % 4 != 0: + return False + + return True + def get_application(self): if self.Application.Length < 8: return self.Application.Chars.cast( @@ -265,6 +291,7 @@ class COMMAND_HISTORY(objects.StructType): self.vol.type_name ).size command_size = self._context.symbol_space.get_type(command_type).size + if end is None: end = max( self.CommandBucket.EndCapacity, @@ -272,7 +299,9 @@ class COMMAND_HISTORY(objects.StructType): ) for i, pointer in enumerate(range(self.CommandBucket.Begin, end, command_size)): - yield i, self._context.object(command_type, self.vol.layer_name, pointer) + cmd = self._context.object(command_type, self.vol.layer_name, pointer) + if cmd.is_valid(): + yield i, cmd def get_commands(self): """Generator for commands in the history buffer. From 98c0094da5cfb8a99c9e211004952c9104c619cd Mon Sep 17 00:00:00 2001 From: qpalzmz112 <68213464+qpalzmz112@users.noreply.github.com> Date: Thu, 1 Aug 2024 18:51:11 -0500 Subject: [PATCH 0587/2186] Updated unpacked variable names --- volatility3/framework/plugins/windows/psxview.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index cab27f3e3..71919c410 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -92,7 +92,7 @@ class PsXView(plugins.PluginInterface): layer_name = kernel.layer_name try: - _, _, offset, _, _ = list( + _original_offset, _original_length, offset, _length, _layer_name = list( self.context.layers[layer_name].mapping(offset=offset, length=0) )[0] except exceptions.PagedInvalidAddressException: @@ -190,15 +190,15 @@ class PsXView(plugins.PluginInterface): # print results # list of lists of offsets - todo_offsets = [list(processes[source].keys()) for source in processes] + offsets = [list(processes[source].keys()) for source in processes] # flatten to one list - todo_offsets = sum(todo_offsets, []) + offsets = sum(offsets, []) # remove duplicates - todo_offsets = set(todo_offsets) + offsets = set(offsets) - for offset in todo_offsets: + for offset in offsets: proc = None in_sources = {src: False for src in processes} From 1dcaf9c0b15dfd00f2b35846488f19f3982ae5b2 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Aug 2024 13:50:51 +1000 Subject: [PATCH 0588/2186] PR review fixes: Rename method name from private to internal --- .../framework/symbols/linux/extensions/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index be31e298c..599fedb6f 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1839,7 +1839,7 @@ class inode(objects.StructType): """Returns the inode number""" return int(self.i_ino) - def ___time_member_to_datetime(self, member) -> datetime: + def _time_member_to_datetime(self, member) -> datetime: if self.has_member(f"{member}_sec") and self.has_member(f"{member}_nsec"): # kernels >= 6.11 it's i_*_sec -> time64_t and i_*_nsec -> u32 # Ref Linux commit 3aa63a569c64e708df547a8913c84e64a06e7853 @@ -1865,7 +1865,7 @@ class inode(objects.StructType): Returns: A datetime with the inode's last access time """ - return self.___time_member_to_datetime("i_atime") + return self._time_member_to_datetime("i_atime") def get_modification_time(self) -> datetime: """Returns the inode's last modification time @@ -1875,7 +1875,7 @@ class inode(objects.StructType): A datetime with the inode's last data modification time """ - return self.___time_member_to_datetime("i_mtime") + return self._time_member_to_datetime("i_mtime") def get_change_time(self) -> datetime: """Returns the inode's last change time @@ -1884,7 +1884,7 @@ class inode(objects.StructType): Returns: A datetime with the inode's last change time """ - return self.___time_member_to_datetime("i_ctime") + return self._time_member_to_datetime("i_ctime") def get_file_mode(self) -> str: """Returns the inode's file mode as string of the form '-rwxrwxrwx'. From 79529fb8153b3a58b4a1d1c6192cb92cf107800f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Aug 2024 13:50:51 +1000 Subject: [PATCH 0589/2186] PR review fixes: Rename method name from private to internal --- .../framework/symbols/linux/extensions/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index be31e298c..599fedb6f 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1839,7 +1839,7 @@ class inode(objects.StructType): """Returns the inode number""" return int(self.i_ino) - def ___time_member_to_datetime(self, member) -> datetime: + def _time_member_to_datetime(self, member) -> datetime: if self.has_member(f"{member}_sec") and self.has_member(f"{member}_nsec"): # kernels >= 6.11 it's i_*_sec -> time64_t and i_*_nsec -> u32 # Ref Linux commit 3aa63a569c64e708df547a8913c84e64a06e7853 @@ -1865,7 +1865,7 @@ class inode(objects.StructType): Returns: A datetime with the inode's last access time """ - return self.___time_member_to_datetime("i_atime") + return self._time_member_to_datetime("i_atime") def get_modification_time(self) -> datetime: """Returns the inode's last modification time @@ -1875,7 +1875,7 @@ class inode(objects.StructType): A datetime with the inode's last data modification time """ - return self.___time_member_to_datetime("i_mtime") + return self._time_member_to_datetime("i_mtime") def get_change_time(self) -> datetime: """Returns the inode's last change time @@ -1884,7 +1884,7 @@ class inode(objects.StructType): Returns: A datetime with the inode's last change time """ - return self.___time_member_to_datetime("i_ctime") + return self._time_member_to_datetime("i_ctime") def get_file_mode(self) -> str: """Returns the inode's file mode as string of the form '-rwxrwxrwx'. From 930d29046ad8c1cd47d6167e84118d78a3e549a6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Aug 2024 14:15:01 +1000 Subject: [PATCH 0590/2186] PR review fixes: Avoid using renderers in core functions. --- .../framework/symbols/linux/extensions/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 599fedb6f..1b5e1d286 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -7,10 +7,10 @@ import logging import stat from datetime import datetime import socket as socket_module -from typing import Generator, Iterable, Iterator, Optional, Tuple, List +from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union from volatility3.framework import constants, exceptions, objects, interfaces, symbols -from volatility3.framework import renderers +from volatility3.framework.renderers import conversion from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS @@ -1770,7 +1770,7 @@ class timespec64(objects.StructType): def to_datetime(self) -> datetime: """Returns the respective aware datetime""" - dt = renderers.conversion.unixtime_to_datetime(self.tv_sec + self.tv_nsec / 1e9) + dt = conversion.unixtime_to_datetime(self.tv_sec + self.tv_nsec / 1e9) return dt @@ -1812,7 +1812,7 @@ class inode(objects.StructType): """Returns True if the sticky bit is set""" return (self.i_mode & stat.S_ISVTX) != 0 - def get_inode_type(self) -> str: + def get_inode_type(self) -> Union[str, None]: """Returns inode type name Returns: @@ -1833,7 +1833,7 @@ class inode(objects.StructType): elif self.is_block(): return "BLK" else: - return renderers.UnparsableValue() + return None def get_inode_number(self) -> int: """Returns the inode number""" @@ -1843,7 +1843,7 @@ class inode(objects.StructType): if self.has_member(f"{member}_sec") and self.has_member(f"{member}_nsec"): # kernels >= 6.11 it's i_*_sec -> time64_t and i_*_nsec -> u32 # Ref Linux commit 3aa63a569c64e708df547a8913c84e64a06e7853 - return renderers.conversion.unixtime_to_datetime( + return conversion.unixtime_to_datetime( self.member(f"{member}_sec") + self.has_member(f"{member}_nsec") / 1e9 ) elif self.has_member(f"__{member}"): From efba3a1b7336d5b31f7ac5ee1d8e99d95bcd74f6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Aug 2024 14:17:57 +1000 Subject: [PATCH 0591/2186] PR review fixes: Convert inode's is_* functions to properties --- .../symbols/linux/extensions/__init__.py | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 1b5e1d286..00f6730eb 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1780,34 +1780,42 @@ class inode(objects.StructType): # pointer, will easily cause an integer overflow here. return self.i_ino > 0 and self.i_count.counter >= 0 + @property def is_dir(self) -> bool: """Returns True if the inode is a directory""" return stat.S_ISDIR(self.i_mode) != 0 + @property def is_reg(self) -> bool: """Returns True if the inode is a regular file""" return stat.S_ISREG(self.i_mode) != 0 + @property def is_link(self) -> bool: """Returns True if the inode is a symlink""" return stat.S_ISLNK(self.i_mode) != 0 + @property def is_fifo(self) -> bool: """Returns True if the inode is a FIFO""" return stat.S_ISFIFO(self.i_mode) != 0 + @property def is_sock(self) -> bool: """Returns True if the inode is a socket""" return stat.S_ISSOCK(self.i_mode) != 0 + @property def is_block(self) -> bool: """Returns True if the inode is a block device""" return stat.S_ISBLK(self.i_mode) != 0 + @property def is_char(self) -> bool: """Returns True if the inode is a char device""" return stat.S_ISCHR(self.i_mode) != 0 + @property def is_sticky(self) -> bool: """Returns True if the sticky bit is set""" return (self.i_mode & stat.S_ISVTX) != 0 @@ -1818,19 +1826,19 @@ class inode(objects.StructType): Returns: The inode type name """ - if self.is_dir(): + if self.is_dir: return "DIR" - elif self.is_reg(): + elif self.is_reg: return "REG" - elif self.is_link(): + elif self.is_link: return "LNK" - elif self.is_fifo(): + elif self.is_fifo: return "FIFO" - elif self.is_sock(): + elif self.is_sock: return "SOCK" - elif self.is_char(): + elif self.is_char: return "CHR" - elif self.is_block(): + elif self.is_block: return "BLK" else: return None From b8d68b9a5ee0c643b68eaa9f33bd051279374eb3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Aug 2024 14:15:01 +1000 Subject: [PATCH 0592/2186] PR review fixes: Avoid using renderers in core functions. --- .../framework/symbols/linux/extensions/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 599fedb6f..1b5e1d286 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -7,10 +7,10 @@ import logging import stat from datetime import datetime import socket as socket_module -from typing import Generator, Iterable, Iterator, Optional, Tuple, List +from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union from volatility3.framework import constants, exceptions, objects, interfaces, symbols -from volatility3.framework import renderers +from volatility3.framework.renderers import conversion from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS @@ -1770,7 +1770,7 @@ class timespec64(objects.StructType): def to_datetime(self) -> datetime: """Returns the respective aware datetime""" - dt = renderers.conversion.unixtime_to_datetime(self.tv_sec + self.tv_nsec / 1e9) + dt = conversion.unixtime_to_datetime(self.tv_sec + self.tv_nsec / 1e9) return dt @@ -1812,7 +1812,7 @@ class inode(objects.StructType): """Returns True if the sticky bit is set""" return (self.i_mode & stat.S_ISVTX) != 0 - def get_inode_type(self) -> str: + def get_inode_type(self) -> Union[str, None]: """Returns inode type name Returns: @@ -1833,7 +1833,7 @@ class inode(objects.StructType): elif self.is_block(): return "BLK" else: - return renderers.UnparsableValue() + return None def get_inode_number(self) -> int: """Returns the inode number""" @@ -1843,7 +1843,7 @@ class inode(objects.StructType): if self.has_member(f"{member}_sec") and self.has_member(f"{member}_nsec"): # kernels >= 6.11 it's i_*_sec -> time64_t and i_*_nsec -> u32 # Ref Linux commit 3aa63a569c64e708df547a8913c84e64a06e7853 - return renderers.conversion.unixtime_to_datetime( + return conversion.unixtime_to_datetime( self.member(f"{member}_sec") + self.has_member(f"{member}_nsec") / 1e9 ) elif self.has_member(f"__{member}"): From 933a41fa3a60f3f02185b530a1a710b6dcae895c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Aug 2024 14:17:57 +1000 Subject: [PATCH 0593/2186] PR review fixes: Convert inode's is_* functions to properties --- .../symbols/linux/extensions/__init__.py | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 1b5e1d286..00f6730eb 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1780,34 +1780,42 @@ class inode(objects.StructType): # pointer, will easily cause an integer overflow here. return self.i_ino > 0 and self.i_count.counter >= 0 + @property def is_dir(self) -> bool: """Returns True if the inode is a directory""" return stat.S_ISDIR(self.i_mode) != 0 + @property def is_reg(self) -> bool: """Returns True if the inode is a regular file""" return stat.S_ISREG(self.i_mode) != 0 + @property def is_link(self) -> bool: """Returns True if the inode is a symlink""" return stat.S_ISLNK(self.i_mode) != 0 + @property def is_fifo(self) -> bool: """Returns True if the inode is a FIFO""" return stat.S_ISFIFO(self.i_mode) != 0 + @property def is_sock(self) -> bool: """Returns True if the inode is a socket""" return stat.S_ISSOCK(self.i_mode) != 0 + @property def is_block(self) -> bool: """Returns True if the inode is a block device""" return stat.S_ISBLK(self.i_mode) != 0 + @property def is_char(self) -> bool: """Returns True if the inode is a char device""" return stat.S_ISCHR(self.i_mode) != 0 + @property def is_sticky(self) -> bool: """Returns True if the sticky bit is set""" return (self.i_mode & stat.S_ISVTX) != 0 @@ -1818,19 +1826,19 @@ class inode(objects.StructType): Returns: The inode type name """ - if self.is_dir(): + if self.is_dir: return "DIR" - elif self.is_reg(): + elif self.is_reg: return "REG" - elif self.is_link(): + elif self.is_link: return "LNK" - elif self.is_fifo(): + elif self.is_fifo: return "FIFO" - elif self.is_sock(): + elif self.is_sock: return "SOCK" - elif self.is_char(): + elif self.is_char: return "CHR" - elif self.is_block(): + elif self.is_block: return "BLK" else: return None From d34b1ded3e673e2d311d14c8e104668d7ebac78c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Aug 2024 19:46:23 +1000 Subject: [PATCH 0594/2186] PR review fixes: Remove get_inode_number. It's better to use the type's original member name and handle the casting on the consumer side. --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 00f6730eb..05679523f 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1843,10 +1843,6 @@ class inode(objects.StructType): else: return None - def get_inode_number(self) -> int: - """Returns the inode number""" - return int(self.i_ino) - def _time_member_to_datetime(self, member) -> datetime: if self.has_member(f"{member}_sec") and self.has_member(f"{member}_nsec"): # kernels >= 6.11 it's i_*_sec -> time64_t and i_*_nsec -> u32 From ed208347630428e21dec91f90eb431ed02595bc3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Aug 2024 19:46:23 +1000 Subject: [PATCH 0595/2186] PR review fixes: Remove get_inode_number. It's better to use the type's original member name and handle the casting on the consumer side. --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 00f6730eb..05679523f 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1843,10 +1843,6 @@ class inode(objects.StructType): else: return None - def get_inode_number(self) -> int: - """Returns the inode number""" - return int(self.i_ino) - def _time_member_to_datetime(self, member) -> datetime: if self.has_member(f"{member}_sec") and self.has_member(f"{member}_nsec"): # kernels >= 6.11 it's i_*_sec -> time64_t and i_*_nsec -> u32 From e4ea19debfeb61d0e441309dcb4edabb22c2dd46 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 2 Aug 2024 11:41:52 +0100 Subject: [PATCH 0596/2186] Linux: sockscan update based on comments from @gcmoreira, add version, make use of relative_child_offset, fix f string. --- volatility3/framework/plugins/linux/sockscan.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index dc657c65b..cab4b9718 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -22,7 +22,8 @@ class Sockscan(plugins.PluginInterface): """Scans for network connections found in memory layer.""" _required_framework_version = (2, 6, 0) - + _version = (1, 0, 0) + @classmethod def get_requirements(cls): return [ @@ -35,12 +36,12 @@ class Sockscan(plugins.PluginInterface): name="SockHandlers", component=sockstat.SockHandlers, version=(1, 0, 0) ), requirements.VersionRequirement( - name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) + name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) ), ] def _canonicalize_symbol_addrs( - self, symbol_table_name: List[str], symbol_names: str + self, symbol_table_name: str, symbol_names: List[str] ) -> Set[bytes]: """Takes a list of symbol names and converts the address of each to the bytes as they would appear in memory so that they can be scanned for. @@ -88,9 +89,9 @@ class Sockscan(plugins.PluginInterface): ) # make a warning if no symbols at all could be resolved. - if len(packed_needles) == 0: + if not packed_needles: vollog.warning( - f"_canonicalize_symbol_addrs was unable to resolve any symbols, use -vvvv for more information." + "_canonicalize_symbol_addrs was unable to resolve any symbols, use -vvvv for more information." ) return packed_needles @@ -159,7 +160,7 @@ class Sockscan(plugins.PluginInterface): # get file struct to find the offset to the f_op pointer # this is so that the file object can be created at the correct offset, # the results of the scanner will be for the f_op member within the file - f_op_offset = vmlinux.get_type("file").members["f_op"][0] + f_op_offset = vmlinux.get_type("file").relative_child_offset("f_op") # Method 2 - find sockets by socket destructor directly inside sock objects socket_destructor_symbol_names = [ @@ -175,7 +176,7 @@ class Sockscan(plugins.PluginInterface): # get sock struct to find the offset to the sk_destruct pointer # this is so that the sock object can be created at the correct offset, # the results of the scanner will be for the sk_destruct member within the scock - sk_destruct_offset = vmlinux.get_type("sock").members["sk_destruct"][0] + sk_destruct_offset = vmlinux.get_type("sock").relative_child_offset("sk_destruct") # TODO Method 3 - find sock by sk_error_report symbols # sk_error_report_symbol_names = ['sock_def_error_report', 'inet_sk_rebuild_header', 'inet_listen'] From a3393a971155a0ef095509fdb758f6e2b37994b7 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 2 Aug 2024 11:46:04 +0100 Subject: [PATCH 0597/2186] Linux: fix black formatting issues --- volatility3/framework/plugins/linux/sockscan.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index cab4b9718..35e8237df 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -23,7 +23,7 @@ class Sockscan(plugins.PluginInterface): _required_framework_version = (2, 6, 0) _version = (1, 0, 0) - + @classmethod def get_requirements(cls): return [ @@ -176,7 +176,9 @@ class Sockscan(plugins.PluginInterface): # get sock struct to find the offset to the sk_destruct pointer # this is so that the sock object can be created at the correct offset, # the results of the scanner will be for the sk_destruct member within the scock - sk_destruct_offset = vmlinux.get_type("sock").relative_child_offset("sk_destruct") + sk_destruct_offset = vmlinux.get_type("sock").relative_child_offset( + "sk_destruct" + ) # TODO Method 3 - find sock by sk_error_report symbols # sk_error_report_symbol_names = ['sock_def_error_report', 'inet_sk_rebuild_header', 'inet_listen'] From 3c377320e5b2ddfe6f9e6c9101790af88faa0ade Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 2 Aug 2024 15:41:04 +0100 Subject: [PATCH 0598/2186] Linux: Begin to breakdown the functions in sockscan plugin --- .../framework/plugins/linux/sockscan.py | 338 ++++++++++-------- 1 file changed, 191 insertions(+), 147 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 35e8237df..57b4daf31 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -96,22 +96,15 @@ class Sockscan(plugins.PluginInterface): return packed_needles - def _generator(self, symbol_table_name: str): - """Scans for sockets. Each row represents a kernel socket. + def _find_memory_layer_name(self, symbol_table_name: str): + """Find the memory layer below the kernel. Only returns a single layer, + and will warn the user if multiple layers are found. Args: - symbol_table_name: The name of the kernel module on which to operate + symbol_table_name: The name of the kernel module on which to operate. - Yields: - addr: Physical offset - family: Socket family string (AF_UNIX, AF_INET, etc) - sock_type: Socket type string (STREAM, DGRAM, etc) - protocol: Protocol string (UDP, TCP, etc) - source addr: Source address string - source port: Source port string (not all of them are int) - destination addr: Destination address string - destination port: Destination port (not all of them are int) - state: State strings (LISTEN, CONNECTED, etc) + Returns: + memory_layer_name: The name of the layer below the kernel to be scanned. """ # get vmlinux module from context in order to build objects and read symbols @@ -136,20 +129,15 @@ class Sockscan(plugins.PluginInterface): raise exceptions.LayerException( vmlinux.layer_name, f"Layer {vmlinux.layer_name} has no dependencies" ) + memory_layer_name = kernel_layer.dependencies[0] - memory_layer = self.context.layers[kernel_layer.dependencies[0]] - # use the init process to build a sock handler - # TODO: look into options so that sockstat.SockHandlers so that process_sock can - # be used without a task object. - init_task = vmlinux.object_from_symbol(symbol_name="init_task") - sock_handler = sockstat.SockHandlers(vmlinux, init_task) + return memory_layer_name - # get progress_callback in order to use this in the scanners. - # TODO: perhaps add more detail to progress, showing method in progress and number of hits found - progress_callback = self._progress_callback + def _find_file_ops_needles(self, symbol_table_name: str): + # get vmlinux module from context in order to read symbols + vmlinux = self.context.modules[symbol_table_name] - # Method 1 - find sockets by file operations, then follow pointers to sockets file_ops_symbol_names = [ "socket_file_ops", "sockfs_dentry_operations", @@ -162,7 +150,12 @@ class Sockscan(plugins.PluginInterface): # the results of the scanner will be for the f_op member within the file f_op_offset = vmlinux.get_type("file").relative_child_offset("f_op") - # Method 2 - find sockets by socket destructor directly inside sock objects + return (file_ops_needles, f_op_offset) + + def _find_sk_destruct_needles(self, symbol_table_name: str): + # get vmlinux module from context in order to read symbols + vmlinux = self.context.modules[symbol_table_name] + socket_destructor_symbol_names = [ "sock_def_destruct", "packet_sock_destruct", @@ -179,6 +172,173 @@ class Sockscan(plugins.PluginInterface): sk_destruct_offset = vmlinux.get_type("sock").relative_child_offset( "sk_destruct" ) + return (socket_destructor_needles, sk_destruct_offset) + + def _walk_file_ops_needles( + self, symbol_table_name, memory_layer_name, needle_addr, f_op_offset + ): + vmlinux = self.context.modules[symbol_table_name] + try: + # create file in the memory_layer, the native layer matches the + # kernel so that pointers can be followed + sock_physical_addr = needle_addr - f_op_offset + pfile = self.context.object( + vmlinux.symbol_table_name + constants.BANG + "file", + offset=sock_physical_addr, + layer_name=memory_layer_name, + native_layer_name=vmlinux.layer_name, + ) + dentry = pfile.get_dentry() + if not dentry: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping file at {hex(needle_addr)} as unable to locate dentry", + ) + return None + + d_inode = dentry.d_inode + if not d_inode: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping file at {hex(needle_addr)} as unable to locate inode for dentry", + ) + return None + + socket_alloc = linux.LinuxUtilities.container_of( + d_inode, "socket_alloc", "vfs_inode", vmlinux + ) + socket = socket_alloc.socket + if not (socket and socket.sk): + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping file at {hex(needle_addr)} as socket created by LinuxUtilities.container_of is invalid", + ) + return None + + # sucessfully trversed from file to sock, this will exist in the + # kernel layer, and need to be translated to the memory layer. + psock = socket.sk.dereference() + return psock + + except exceptions.InvalidAddressException as error: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Unable to follow file at {hex(needle_addr)} to socket due to invalid address: {error}", + ) + + def _extract_sock_fields(self, psock, sock_handler): + try: + sock_physical_addr = psock.vol.offset + sock_type = psock.get_type() + + family = psock.get_family() + # remove results with no family + if family is None: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping socket at {hex(sock_physical_addr)} as unable to determin family.", + ) + return None + + # TODO: invesitgate options for more invalid address handling in proccess_sock + # and the later formatting of it's results. + sock_fields = sock_handler.process_sock(psock) + # if no sock_fields we're able to be extracted then skip this result. + if not sock_fields: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping socket at {hex(sock_physical_addr)} as unable to process with SockHandlers.", + ) + return None + + sock, sock_stat, extended = sock_fields + src, src_port, dst, dst_port, state = sock_stat + protocol = sock.get_protocol() + + # format results + src = NotAvailableValue() if src is None else str(src) + src_port = NotAvailableValue() if src_port is None else str(src_port) + dst = NotAvailableValue() if dst is None else str(dst) + dst_port = NotAvailableValue() if dst_port is None else str(dst_port) + state = NotAvailableValue() if state is None else str(state) + protocol = NotAvailableValue() if protocol is None else str(protocol) + # extended attributes is a dict, so this is formated to string show each + # key and value pair, seperated with a comma. + socket_filter_str = ( + ",".join(f"{k}={v}" for k, v in extended.items()) + if extended + else NotAvailableValue() + ) + + # remove empty results + if (src == "0.0.0.0" or isinstance(src, NotAvailableValue)) and ( + dst == "0.0.0.0" or isinstance(src, NotAvailableValue) + ): + if state == "UNCONNECTED": + return None + elif src_port == "0" and dst_port == "0": + return None + return ( + format_hints.Hex(sock_physical_addr), + family, + sock_type, + protocol, + src, + src_port, + dst, + dst_port, + state, + socket_filter_str, + ) + + except exceptions.InvalidAddressException as error: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Unable create results for socket at {hex(sock_physical_addr)} due to invalid address: {error}", + ) + + def _generator(self, symbol_table_name: str): + """Scans for sockets. Each row represents a kernel socket. + + Args: + symbol_table_name: The name of the kernel module on which to operate + + Yields: + addr: Physical offset + family: Socket family string (AF_UNIX, AF_INET, etc) + sock_type: Socket type string (STREAM, DGRAM, etc) + protocol: Protocol string (UDP, TCP, etc) + source addr: Source address string + source port: Source port string (not all of them are int) + destination addr: Destination address string + destination port: Destination port (not all of them are int) + state: State strings (LISTEN, CONNECTED, etc) + """ + + # get vmlinux module from context in order to build objects and read symbols + vmlinux = self.context.modules[symbol_table_name] + + # get the memory layer that is to be scanned. + memory_layer_name = self._find_memory_layer_name(symbol_table_name) + memory_layer = self.context.layers[memory_layer_name] + + # use the init process to build a sock handler + # TODO: look into options so that sockstat.SockHandlers so that process_sock can + # be used without a task object. + init_task = vmlinux.object_from_symbol(symbol_name="init_task") + sock_handler = sockstat.SockHandlers(vmlinux, init_task) + + # get progress_callback in order to use this in the scanners. + # TODO: perhaps add more detail to progress, showing method in progress and number of hits found + progress_callback = self._progress_callback + + # Method 1 - find sockets by file operations, then follow pointers to sockets + file_ops_needles, f_op_offset = self._find_file_ops_needles(symbol_table_name) + + # Method 2 - find sockets by socket destructor directly inside sock objects + socket_destructor_needles, sk_destruct_offset = self._find_sk_destruct_needles( + symbol_table_name + ) # TODO Method 3 - find sock by sk_error_report symbols # sk_error_report_symbol_names = ['sock_def_error_report', 'inet_sk_rebuild_header', 'inet_listen'] @@ -196,8 +356,7 @@ class Sockscan(plugins.PluginInterface): psock = None sock_physical_addr = None - # if match is from socket_destructor_needles simply calculate the offset - # to the sock + # if match is from socket_destructor_needles simply calculate the offset to the sock if match in socket_destructor_needles: sock_physical_addr = needle_addr - sk_destruct_offset psock = self.context.object( @@ -207,133 +366,18 @@ class Sockscan(plugins.PluginInterface): native_layer_name=vmlinux.layer_name, ) - # if match is from file_ops_needles attempt to walk from file object to - # the sock + # if match is from file_ops_needles attempt to walk from file object to the sock if match in file_ops_needles: - try: - # create file in the memory_layer, the native layer matches the - # kernel so that pointers can be followed - sock_physical_addr = needle_addr - f_op_offset - pfile = self.context.object( - vmlinux.symbol_table_name + constants.BANG + "file", - offset=sock_physical_addr, - layer_name=memory_layer_name, - native_layer_name=vmlinux.layer_name, - ) - dentry = pfile.get_dentry() - if not dentry: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Skipping file at {hex(needle_addr)} as unable to locate dentry", - ) - continue - - d_inode = dentry.d_inode - if not d_inode: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Skipping file at {hex(needle_addr)} as unable to locate inode for dentry", - ) - continue - - socket_alloc = linux.LinuxUtilities.container_of( - d_inode, "socket_alloc", "vfs_inode", vmlinux - ) - socket = socket_alloc.socket - if not (socket and socket.sk): - vollog.log( - constants.LOGLEVEL_VVVV, - f"Skipping file at {hex(needle_addr)} as socket created by LinuxUtilities.container_of is invalid", - ) - continue - - # sucessfully trversed from file to sock, this will exist in the - # kernel layer, and need to be translated to the memory layer. - psock = socket.sk.dereference() - except exceptions.InvalidAddressException as error: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Unable to follow file at {hex(needle_addr)} to socket due to invalid address: {error}", - ) + psock = self._walk_file_ops_needles( + symbol_table_name, memory_layer_name, needle_addr, f_op_offset + ) if psock is not None and sock_physical_addr not in seen_sock_physical_addr: seen_sock_physical_addr.add(sock_physical_addr) - try: - sock_type = psock.get_type() - - family = psock.get_family() - # remove results with no family - if family is None: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Skipping socket at {hex(sock_physical_addr)} as unable to determin family.", - ) - continue - - # TODO: invesitgate options for more invalid address handling in proccess_sock - # and the later formatting of it's results. - sock_fields = sock_handler.process_sock(psock) - # if no sock_fields we're able to be extracted then skip this result. - if not sock_fields: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Skipping socket at {hex(sock_physical_addr)} as unable to process with SockHandlers.", - ) - continue - - sock, sock_stat, extended = sock_fields - src, src_port, dst, dst_port, state = sock_stat - protocol = sock.get_protocol() - - # format results - src = NotAvailableValue() if src is None else str(src) - src_port = ( - NotAvailableValue() if src_port is None else str(src_port) - ) - dst = NotAvailableValue() if dst is None else str(dst) - dst_port = ( - NotAvailableValue() if dst_port is None else str(dst_port) - ) - state = NotAvailableValue() if state is None else str(state) - protocol = ( - NotAvailableValue() if protocol is None else str(protocol) - ) - # extended attributes is a dict, so this is formated to string show each - # key and value pair, seperated with a comma. - socket_filter_str = ( - ",".join(f"{k}={v}" for k, v in extended.items()) - if extended - else NotAvailableValue() - ) - - # remove empty results - if (src == "0.0.0.0" or isinstance(src, NotAvailableValue)) and ( - dst == "0.0.0.0" or isinstance(src, NotAvailableValue) - ): - if state == "UNCONNECTED": - continue - elif src_port == "0" and dst_port == "0": - continue - - fields = ( - format_hints.Hex(sock_physical_addr), - family, - sock_type, - protocol, - src, - src_port, - dst, - dst_port, - state, - socket_filter_str, - ) + fields = self._extract_sock_fields(psock, sock_handler) + if fields: yield (0, fields) - except exceptions.InvalidAddressException as error: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Unable create results for socket at {hex(sock_physical_addr)} due to invalid address: {error}", - ) def run(self): From 230ea09728dc9b756e27936544f03d43647cc0ba Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Fri, 2 Aug 2024 17:52:51 +0200 Subject: [PATCH 0599/2186] Updating code following #1230 merge --- volatility3/framework/plugins/linux/lsof.py | 26 ++++++++--------- .../framework/symbols/linux/__init__.py | 28 ++++++++----------- .../symbols/linux/extensions/__init__.py | 14 ++++++++++ 3 files changed, 38 insertions(+), 30 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index c1de48c1a..fa9d2bf61 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -21,7 +21,6 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists all memory maps for all processes.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) @classmethod @@ -53,7 +52,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): symbol_table: str, filter_func: Callable[[int], bool] = lambda _: False, ): - linuxutils_symbol_table = None # type: ignore + linuxutils_symbol_table = None for task in pslist.PsList.list_tasks(context, symbol_table, filter_func): if linuxutils_symbol_table is None: if constants.BANG not in task.vol.type_name: @@ -71,21 +70,17 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): fd_num, filp, full_path = fd_fields inode_metadata = linux.LinuxUtilities.get_inode_metadata(context, filp) try: - inode_num, file_size, imode, ctime, mtime, atime = next( + inode_num, itype, file_size, imode, ctime, mtime, atime = next( inode_metadata ) except Exception as e: vollog.warning( f"Can't get inode metadata for file descriptor {fd_num}: {e}" ) - # Yield NotAvailableValue for each field in case of an exception - inode_num = renderers.NotAvailableValue() - file_size = renderers.NotAvailableValue() - imode = renderers.NotAvailableValue() - ctime = renderers.NotAvailableValue() - mtime = renderers.NotAvailableValue() - atime = renderers.NotAvailableValue() - yield pid, task_comm, task, fd_num, filp, full_path, inode_num, imode, ctime, mtime, atime, file_size + inode_num = itype = file_size = imode = ctime = mtime = atime = ( + renderers.NotAvailableValue() + ) + yield pid, task_comm, task, fd_num, filp, full_path, inode_num, itype, imode, ctime, mtime, atime, file_size def _generator(self, pids, symbol_table): filter_func = pslist.PsList.create_pid_filter(pids) @@ -100,6 +95,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): filp, full_path, inode_num, + itype, imode, ctime, mtime, @@ -112,6 +108,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): fd_num, full_path, inode_num, + itype, imode, ctime, mtime, @@ -130,6 +127,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): ("FD", int), ("Path", str), ("Inode", int), + ("Type", str), ("Mode", str), ("Changed", datetime.datetime), ("Modified", datetime.datetime), @@ -144,6 +142,6 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): for row in self._generator(pids, symbol_table): _depth, row_data = row description = f'Process {row_data[1]} ({row_data[0]}) Open "{row_data[3]}"' - yield description, timeliner.TimeLinerType.CHANGED, row_data[6] - yield description, timeliner.TimeLinerType.MODIFIED, row_data[7] - yield description, timeliner.TimeLinerType.ACCESSED, row_data[8] + yield description, timeliner.TimeLinerType.CHANGED, row_data[7] + yield description, timeliner.TimeLinerType.MODIFIED, row_data[8] + yield description, timeliner.TimeLinerType.ACCESSED, row_data[9] diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index a96fe9d2f..d52c43dae 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -280,23 +280,19 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): A helper function that gets the inodes metadata from a file descriptor """ dentry = filp.get_dentry() - if dentry != 0: + if dentry: inode_object = dentry.d_inode - inode_num = inode_object.i_ino - file_size = inode_object.i_size # file size in bytes - imode = stat.filemode(inode_object.i_mode) # file type & Permissions - - # Timestamps - ctime = datetime.datetime.fromtimestamp( - inode_object.i_ctime.tv_sec - ) # last change time - mtime = datetime.datetime.fromtimestamp( - inode_object.i_mtime.tv_sec - ) # last modify time - atime = datetime.datetime.fromtimestamp( - inode_object.i_atime.tv_sec - ) # last access time - yield inode_num, file_size, imode, ctime, mtime, atime + if inode_object and inode_object.is_valid(): + itype = inode_object.get_inode_type() or "?" + yield ( + inode_object.i_ino, + itype, + inode_object.i_size, + inode_object.get_file_mode(), + inode_object.get_change_time(), + inode_object.get_modification_time(), + inode_object.get_access_time(), + ) @classmethod def mask_mods_list( diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 05679523f..0ee6e7d95 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1820,6 +1820,16 @@ class inode(objects.StructType): """Returns True if the sticky bit is set""" return (self.i_mode & stat.S_ISVTX) != 0 + @property + def is_whiteout(self) -> bool: + """Returns True if the inode is a whiteout""" + return (self.i_mode & 0o140000) == 0o140000 + + @property + def is_overlay(self) -> bool: + """Returns True if the inode is an overlay""" + return (self.i_mode & 0o40000) == 0o40000 + def get_inode_type(self) -> Union[str, None]: """Returns inode type name @@ -1840,6 +1850,10 @@ class inode(objects.StructType): return "CHR" elif self.is_block: return "BLK" + elif self.is_whiteout: + return "WHT" + elif self.is_overlay: + return "OVL" else: return None From 60b1c49e49864ce7cb5ae3a3491b6a7e9e40eef3 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Fri, 2 Aug 2024 18:10:11 +0200 Subject: [PATCH 0600/2186] removing test code --- .../framework/symbols/linux/extensions/__init__.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0ee6e7d95..06d2e2bf4 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1820,16 +1820,6 @@ class inode(objects.StructType): """Returns True if the sticky bit is set""" return (self.i_mode & stat.S_ISVTX) != 0 - @property - def is_whiteout(self) -> bool: - """Returns True if the inode is a whiteout""" - return (self.i_mode & 0o140000) == 0o140000 - - @property - def is_overlay(self) -> bool: - """Returns True if the inode is an overlay""" - return (self.i_mode & 0o40000) == 0o40000 - def get_inode_type(self) -> Union[str, None]: """Returns inode type name From 2e9b5b62faec7d8e7fa67dd1e9243013af7cbcb4 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Fri, 2 Aug 2024 18:11:29 +0200 Subject: [PATCH 0601/2186] removing test code --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 06d2e2bf4..05679523f 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1840,10 +1840,6 @@ class inode(objects.StructType): return "CHR" elif self.is_block: return "BLK" - elif self.is_whiteout: - return "WHT" - elif self.is_overlay: - return "OVL" else: return None From d4ed07f95b883183fcd28871e7fc7858e649347a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 3 Aug 2024 20:51:32 +1000 Subject: [PATCH 0602/2186] PR review fixes: Add fixme to remember we should move wintime_to_datetime/unixtime_to_datetime out of renderers --- volatility3/framework/renderers/conversion.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/renderers/conversion.py b/volatility3/framework/renderers/conversion.py index 864794860..c8ddc19fd 100644 --- a/volatility3/framework/renderers/conversion.py +++ b/volatility3/framework/renderers/conversion.py @@ -11,6 +11,7 @@ from typing import Union from volatility3.framework import interfaces, renderers +# FIXME: Move wintime_to_datetime() and unixtime_to_datetime() out of renderers, possibly framework.objects.utility def wintime_to_datetime( wintime: int, ) -> Union[interfaces.renderers.BaseAbsentValue, datetime.datetime]: From 0dfb9d8a0ff9080eef10b7505f7e1955e0f728e1 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 3 Aug 2024 20:57:23 +1000 Subject: [PATCH 0603/2186] Linux mountinfo: Add a method to yield all filesystem superblocks --- .../framework/plugins/linux/mountinfo.py | 33 ++++++++++++++++--- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index da743bb60..319c92cca 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -37,7 +37,7 @@ class MountInfo(plugins.PluginInterface): _required_framework_version = (2, 2, 0) - _version = (1, 0, 0) + _version = (1, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -146,7 +146,7 @@ class MountInfo(plugins.PluginInterface): def _get_tasks_mountpoints( self, tasks: Iterable[interfaces.objects.ObjectInterface], - filtered_by_pids: bool, + filtered_by_pids: bool = False, ): seen_mountpoints = set() for task in tasks: @@ -184,8 +184,8 @@ class MountInfo(plugins.PluginInterface): self, tasks: Iterable[interfaces.objects.ObjectInterface], mnt_ns_ids: List[int], - mount_format: bool, - filtered_by_pids: bool, + mount_format: bool = False, + filtered_by_pids: bool = False, ) -> Iterable[Tuple[int, Tuple]]: show_filter_warning = False for task, mnt, mnt_ns_id in self._get_tasks_mountpoints( @@ -247,6 +247,31 @@ class MountInfo(plugins.PluginInterface): "Could not filter by mount namespace id. This field is not available in this kernel." ) + def get_superblocks(self): + """Yield file system superblocks based on the task's mounted filesystems. + + Yields: + super_block: Kernel's struct super_block object + """ + # No filter so that we get all the mount namespaces from all tasks + pid_filter = pslist.PsList.create_pid_filter() + tasks = pslist.PsList.list_tasks( + self.context, self.config["kernel"], filter_func=pid_filter + ) + + seen_sb_ptr = set() + for task, mnt, _mnt_ns_id in self._get_tasks_mountpoints(tasks): + path_root = linux.LinuxUtilities.get_path_mnt(task, mnt) + if not path_root: + continue + + sb_ptr = mnt.get_mnt_sb() + if not sb_ptr or sb_ptr in seen_sb_ptr: + continue + seen_sb_ptr.add(sb_ptr) + + yield sb_ptr.dereference(), path_root + def run(self): pids = self.config.get("pids") mount_ns_ids = self.config.get("mntns") From 231f682b2769d7a5a6de0fc96008d44c06f0825c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 3 Aug 2024 21:01:59 +1000 Subject: [PATCH 0604/2186] Linux: Improve mount's object extension method docstrings --- volatility3/framework/symbols/linux/extensions/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 05679523f..de5e432d3 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -47,7 +47,7 @@ class module(generic.GenericIntelProcess): ).choices except exceptions.SymbolError: vollog.debug( - f"Unable to find mod_mem_type enum. This message can be ignored for kernels < 6.4" + "Unable to find mod_mem_type enum. This message can be ignored for kernels < 6.4" ) # set to empty dict to show that the enum was not found, and so shouldn't be searched for again self._mod_mem_type = {} @@ -936,7 +936,8 @@ class mount(objects.StructType): MNT_RELATIME: "relatime", } - def get_mnt_sb(self): + def get_mnt_sb(self) -> int: + """Returns a pointer to the super_block""" if self.has_member("mnt"): return self.mnt.mnt_sb elif self.has_member("mnt_sb"): @@ -1251,6 +1252,7 @@ class vfsmount(objects.StructType): return self._get_real_mnt().has_parent() def get_mnt_sb(self): + """Returns a pointer to the super_block""" return self.mnt_sb def get_flags_access(self) -> str: From a369a9e23cea620a791129d687bd2bbe9c4d4442 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 3 Aug 2024 21:05:23 +1000 Subject: [PATCH 0605/2186] Linux: dentry object extension: Add a method to walk dentries subdirectories --- .../symbols/linux/extensions/__init__.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index de5e432d3..3bfbe168a 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -820,6 +820,26 @@ class dentry(objects.StructType): current_dentry = current_dentry.d_parent return None + def get_subdirs(self) -> interfaces.objects.ObjectInterface: + """Walks dentry subdirs + + Yields: + A dentry object + """ + if self.has_member("d_sib") and self.has_member("d_children"): + # kernels >= 6.8 + walk_member = "d_sib" + list_head_member = self.d_children.first + elif self.has_member("d_child") and self.has_member("d_subdirs"): + # 2.5.0 <= kernels < 6.8 + walk_member = "d_child" + list_head_member = self.d_subdirs + else: + raise exceptions.VolatilityException("Unsupported dentry type") + + dentry_type_name = self.get_symbol_table_name() + constants.BANG + "dentry" + yield from list_head_member.to_list(dentry_type_name, walk_member) + class struct_file(objects.StructType): def get_dentry(self) -> interfaces.objects.ObjectInterface: From 41684478ad7c12c2d862ac8612f44315bc6f855b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 3 Aug 2024 21:21:49 +1000 Subject: [PATCH 0606/2186] Linux: Add page cache support, including abstractions like RadixTree, XArray, and IDR, to support both older and latest kernel versions --- .../framework/symbols/linux/__init__.py | 346 +++++++++++++++++- .../symbols/linux/extensions/__init__.py | 244 +++++++++++- 2 files changed, 588 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 03353135d..248cb8d75 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -1,6 +1,8 @@ # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import math +from abc import ABC, abstractmethod from typing import Iterator, List, Tuple, Optional, Union from volatility3 import framework @@ -30,6 +32,9 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("kobject", extensions.kobject) self.set_type_class("cred", extensions.cred) self.set_type_class("inode", extensions.inode) + self.set_type_class("idr", extensions.IDR) + self.set_type_class("address_space", extensions.address_space) + self.set_type_class("page", extensions.page) # Might not exist in the current symbols self.optional_set_type_class("module", extensions.module) self.optional_set_type_class("bpf_prog", extensions.bpf_prog) @@ -67,7 +72,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" - _version = (2, 1, 0) + _version = (2, 2, 0) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) @@ -425,3 +430,342 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): kernel = context.modules[kernel_module_name] return kernel + + @classmethod + def choose_kernel_tree(cls, vmlinux: interfaces.context.ModuleInterface) -> "Tree": + """Returns the appropriate tree data structure instance for the current kernel implementation. + This is used by the IDR and the PageCache to choose between the XArray and RadixTree. + + Args: + vmlinux: The kernel module object + + Returns: + The appropriate Tree instance for the current kernel + """ + address_space_type = vmlinux.get_type("address_space") + address_space_has_i_pages = address_space_type.has_member("i_pages") + i_pages_type_name = ( + address_space_type.child_template("i_pages").vol.type_name + if address_space_has_i_pages + else "" + ) + i_pages_is_xarray = i_pages_type_name.endswith(constants.BANG + "xarray") + i_pages_is_radix_tree_root = i_pages_type_name.endswith( + constants.BANG + "radix_tree_root" + ) and vmlinux.get_type("radix_tree_root").has_member("xa_head") + + if i_pages_is_xarray or i_pages_is_radix_tree_root: + return XArray(vmlinux) + else: + return RadixTree(vmlinux) + + +class Tree(ABC): + """Abstraction to support both XArray and RadixTree""" + + # Dynamic values, these will be initialized later + CHUNK_SHIFT = None + CHUNK_SIZE = None + CHUNK_MASK = None + + def __init__(self, vmlinux: interfaces.context.ModuleInterface): + self.vmlinux = vmlinux + self.vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] + + self.pointer_size = self.vmlinux.get_type("pointer").size + # Dynamically work out the (XA_CHUNK|RADIX_TREE_MAP)_SHIFT values based on + # the node.slots[] array size + node_type = self.vmlinux.get_type(self.node_type_name) + slots_array_size = node_type.child_template("slots").count + + # Calculate the LSB index - 1 + self.CHUNK_SHIFT = slots_array_size.bit_length() - 1 + self.CHUNK_SIZE = 1 << self.CHUNK_SHIFT + self.CHUNK_MASK = self.CHUNK_SIZE - 1 + + @property + @abstractmethod + def node_type_name(self) -> str: + """Returns the Tree implementation node type name + + Returns: + A string with the node type name + """ + raise NotImplementedError() + + @property + def tag_internal_value(self) -> int: + """Returns the internal node flag for the tree""" + raise NotImplementedError() + + @abstractmethod + def node_is_internal(self, nodep) -> bool: + """Checks if the node is internal""" + raise NotImplementedError + + @abstractmethod + def is_node_tagged(self, nodep) -> bool: + """Checks if the node pointer is tagged""" + raise NotImplementedError + + @abstractmethod + def untag_node(self, nodep) -> int: + """Untags a node pointer""" + raise NotImplementedError + + @abstractmethod + def get_tree_height(self, treep) -> int: + """Returns the tree height""" + raise NotImplementedError + + @abstractmethod + def get_node_height(self, nodep) -> int: + """Returns the node height""" + raise NotImplementedError + + @abstractmethod + def get_head_node(self, tree) -> int: + """Returns a pointer to the tree's head""" + raise NotImplementedError + + @abstractmethod + def is_valid_node(self, nodep) -> bool: + """Validates a node pointer""" + raise NotImplementedError + + def nodep_to_node(self, nodep) -> interfaces.objects.ObjectInterface: + """Instanciates a tree node from its pointer + + Args: + nodep: Pointer to the XArray/RadixTree node + + Returns: + A XArray/RadixTree node instance + """ + node = self.vmlinux.object(self.node_type_name, offset=nodep, absolute=True) + return node + + def _slot_to_nodep(self, slot) -> int: + if self.node_is_internal(slot): + nodep = slot & ~self.tag_internal_value + else: + nodep = slot + + return nodep + + def _iter_node(self, nodep, height) -> int: + node = self.nodep_to_node(nodep) + node_slots = node.slots + for off in range(self.CHUNK_SIZE): + slot = node_slots[off] + if slot == 0: + continue + + nodep = self._slot_to_nodep(slot) + + if height == 1: + if self.is_valid_node(nodep): + yield nodep + else: + for child_node in self._iter_node(nodep, height - 1): + yield child_node + + def get_page_addresses(self, root: interfaces.objects.ObjectInterface) -> int: + """Walks the tree data structure + + Args: + root: The tree root object + + Yields: + A tree node pointer + """ + height = self.get_tree_height(root.vol.offset) + + nodep = self.get_head_node(root) + if not nodep: + return + + # Keep the internal flag before untagging it + is_internal = self.node_is_internal(nodep) + if self.is_node_tagged(nodep): + nodep = self.untag_node(nodep) + + if is_internal: + height = self.get_node_height(nodep) + + if height == 0: + if self.is_valid_node(nodep): + yield nodep + else: + for child_node in self._iter_node(nodep, height): + yield child_node + + +class XArray(Tree): + XARRAY_TAG_MASK = 3 + XARRAY_TAG_INTERNAL = 2 + + def get_tree_height(self, treep) -> int: + return 0 + + @property + def node_type_name(self) -> str: + return "xa_node" + + @property + def tag_internal_value(self) -> int: + return self.XARRAY_TAG_INTERNAL + + def get_node_height(self, nodep) -> int: + node = self.nodep_to_node(nodep) + return (node.shift / self.CHUNK_SHIFT) + 1 + + def get_head_node(self, tree) -> int: + return tree.xa_head + + def node_is_internal(self, nodep) -> bool: + return (nodep & self.XARRAY_TAG_MASK) == self.XARRAY_TAG_INTERNAL + + def is_node_tagged(self, nodep) -> bool: + return (nodep & self.XARRAY_TAG_MASK) != 0 + + def untag_node(self, nodep) -> int: + return nodep & (~self.XARRAY_TAG_MASK) + + def is_valid_node(self, nodep) -> bool: + # It should have the tag mask clear + return not self.is_node_tagged(nodep) + + +class RadixTree(Tree): + RADIX_TREE_INTERNAL_NODE = 1 + RADIX_TREE_EXCEPTIONAL_ENTRY = 2 + RADIX_TREE_ENTRY_MASK = 3 + + # Dynamic values. These will be initialized later + RADIX_TREE_INDEX_BITS = None + RADIX_TREE_MAX_PATH = None + RADIX_TREE_HEIGHT_SHIFT = None + RADIX_TREE_HEIGHT_MASK = None + + def __init__(self, *args, **kwargs) -> None: + super().__init__(*args, **kwargs) + + char_bits = 8 + self.RADIX_TREE_INDEX_BITS = char_bits * self.pointer_size + self.RADIX_TREE_MAX_PATH = int( + math.ceil(self.RADIX_TREE_INDEX_BITS / float(self.CHUNK_SHIFT)) + ) + self.RADIX_TREE_HEIGHT_SHIFT = self.RADIX_TREE_MAX_PATH + 1 + self.RADIX_TREE_HEIGHT_MASK = (1 << self.RADIX_TREE_HEIGHT_SHIFT) - 1 + + if not self.vmlinux.has_type("radix_tree_root"): + # In kernels 4.20, RADIX_TREE_INTERNAL_NODE flag took RADIX_TREE_EXCEPTIONAL_ENTRY's + # value. RADIX_TREE_EXCEPTIONAL_ENTRY was removed but that's managed in is_valid_node() + # Note that the Radix Tree is still in use for IDR, even after kernels 4.20 when XArray + # mostly replace it + self.RADIX_TREE_INTERNAL_NODE = 2 + + @property + def node_type_name(self) -> str: + return "radix_tree_node" + + @property + def tag_internal_value(self) -> int: + return self.RADIX_TREE_INTERNAL_NODE + + def get_tree_height(self, treep) -> int: + try: + if self.vmlinux.get_type("radix_tree_root").has_member("height"): + # kernels < 4.7.10 + radix_tree_root = self.vmlinux.object( + "radix_tree_root", offset=treep, absolute=True + ) + return radix_tree_root.height + except exceptions.SymbolError: + pass + + # kernels >= 4.7.10 + return 0 + + def _radix_tree_maxindex(self, node, height) -> int: + """Return the maximum key which can be store into a radix tree with this height.""" + + if not self.vmlinux.has_symbol("height_to_maxindex"): + # Kernels >= 4.7 + return (self.CHUNK_SIZE << node.shift) - 1 + else: + # Kernels < 4.7 + height_to_maxindex_array = self.vmlinux.object_from_symbol( + "height_to_maxindex" + ) + maxindex = height_to_maxindex_array[height] + return maxindex + + def get_node_height(self, nodep) -> int: + node = self.nodep_to_node(nodep) + if hasattr(node, "shift"): + # 4.7 <= Kernels < 4.20 + return (node.shift / self.CHUNK_SHIFT) + 1 + elif hasattr(node, "path"): + # 3.15 <= Kernels < 4.7 + return node.path & self.RADIX_TREE_HEIGHT_MASK + elif hasattr(node, "height"): + # Kernels < 3.15 + return node.height + else: + raise exceptions.VolatilityException("Cannot find radix-tree node height") + + def get_head_node(self, tree) -> int: + return tree.rnode + + def node_is_internal(self, nodep) -> bool: + return (nodep & self.RADIX_TREE_INTERNAL_NODE) != 0 + + def is_node_tagged(self, nodep) -> bool: + return self.node_is_internal(nodep) + + def untag_node(self, nodep) -> int: + return nodep & (~self.RADIX_TREE_ENTRY_MASK) + + def is_valid_node(self, nodep) -> bool: + # In kernels 4.20, exceptional nodes were removed and internal entries took their bitmask + if self.vmlinux.has_type("radix_tree_root"): + return ( + nodep & self.RADIX_TREE_ENTRY_MASK + ) != self.RADIX_TREE_EXCEPTIONAL_ENTRY + + return True + + +class PageCache(object): + """Linux Page Cache abstraction""" + + def __init__( + self, + page_cache: interfaces.objects.ObjectInterface, + vmlinux: interfaces.context.ModuleInterface, + ): + """ + Args: + page_cache: Page cache address space + vmlinux: Kernel module object + """ + self.vmlinux = vmlinux + self._page_cache = page_cache + self._tree = LinuxUtilities.choose_kernel_tree(self.vmlinux) + + def get_cached_pages(self) -> interfaces.objects.ObjectInterface: + """Returns all page cache contents + + Yields: + Page objects + """ + + for page_addr in self._tree.get_page_addresses(self._page_cache.i_pages): + if not page_addr: + continue + + page = self.vmlinux.object("page", offset=page_addr, absolute=True) + if page: + yield page diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3bfbe168a..300ab2ed0 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -4,10 +4,11 @@ import collections.abc import logging +import functools import stat from datetime import datetime import socket as socket_module -from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union +from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union, Dict from volatility3.framework import constants, exceptions, objects, interfaces, symbols from volatility3.framework.renderers import conversion @@ -1919,3 +1920,244 @@ class inode(objects.StructType): The inode's file mode string """ return stat.filemode(self.i_mode) + + def get_pages(self) -> interfaces.objects.ObjectInterface: + """Gets the inode's cached pages + + Yields: + The inode's cached pages + """ + if not self.i_size: + return + elif not (self.i_mapping and self.i_mapping.nrpages > 0): + return + + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + page_cache = linux.PageCache(self.i_mapping.dereference(), vmlinux) + yield from page_cache.get_cached_pages() + + def get_contents(self): + """Get the inode cached pages from the page cache + + Yields: + page_index (int): The page index in the Tree. File offset is page_index * PAGE_SIZE. + page_content (str): The page content + """ + for page_obj in self.get_pages(): + page_index = int(page_obj.index) + page_content = page_obj.get_content() + yield page_index, page_content + + +class address_space(objects.StructType): + @property + def i_pages(self): + """Returns the appropriate member containing the page cache tree""" + if self.has_member("i_pages"): + # Kernel >= 4.17 + return self.member("i_pages") + elif self.has_member("page_tree"): + # Kernel < 4.17 + return self.member("page_tree") + + raise exceptions.VolatilityException("Unsupported page cache tree") + + +class page(objects.StructType): + @property + @functools.cache + def pageflags_enum(self) -> Dict: + """Returns 'pageflags' enumeration key/values + + Returns: + A dictionary with the pageflags enumeration key/values + """ + # FIXME: It would be even better to use @functools.cached_property instead, + # however, this requires Python +3.8 + try: + pageflags_enum = self._context.symbol_space.get_enumeration( + self.get_symbol_table_name() + constants.BANG + "pageflags" + ).choices + except exceptions.SymbolError: + vollog.debug( + "Unable to find pageflags enum. This can happen in kernels < 2.6.26 or wrong ISF" + ) + # set to empty dict to show that the enum was not found, and so shouldn't be searched for again + pageflags_enum = {} + + return pageflags_enum + + def flags_list(self) -> List[str]: + """Returns a list of page flags + + Returns: + List of page flags + """ + flags = [] + for name, value in self.pageflags_enum.items(): + if self.flags & (1 << value) != 0: + flags.append(name) + + return flags + + def to_paddr(self) -> int: + """Converts a page's virtual address to its physical address using the current physical memory model. + + Returns: + int: page physical address + """ + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] + + vmemmap_start = None + if vmlinux.has_symbol("mem_section"): + # SPARSEMEM_VMEMMAP physical memory model: memmap is virtually contiguous + if vmlinux.has_symbol("vmemmap_base"): + # CONFIG_DYNAMIC_MEMORY_LAYOUT - KASLR kernels >= 4.9 + vmemmap_start = vmlinux.object_from_symbol("vmemmap_base") + else: + # !CONFIG_DYNAMIC_MEMORY_LAYOUT + if vmlinux_layer._maxvirtaddr < 57: + # 4-Level paging -> VMEMMAP_START = __VMEMMAP_BASE_L4 + vmemmap_base_l4 = 0xFFFFEA0000000000 + vmemmap_start = vmemmap_base_l4 + else: + # 5-Level paging -> VMEMMAP_START = __VMEMMAP_BASE_L5 + vmemmap_base_l5 = 0xFFD4000000000000 + vmemmap_start = vmemmap_base_l5 + + # FIXME: Remove this exception once 5-level paging is supported. + raise exceptions.VolatilityException( + "5-level paging is not yet supported" + ) + + elif vmlinux.has_symbol("mem_map"): + # FLATMEM physical memory model, typically 32bit + vmemmap_start = vmlinux.object_from_symbol("mem_map") + + elif vmlinux.has_symbol("node_data"): + raise exceptions.VolatilityException("NUMA systems are not yet supported") + else: + raise exceptions.VolatilityException("Unsupported Linux memory model") + + if not vmemmap_start: + raise exceptions.VolatilityException( + "Something went wrong, we shouldn't be here" + ) + + page_type_size = vmlinux.get_type("page").size + pagec = vmlinux_layer.canonicalize(self.vol.offset) + pfn = (pagec - vmemmap_start) // page_type_size + page_paddr = pfn * vmlinux_layer.page_size + + return page_paddr + + def get_content(self) -> Union[str, None]: + """Returns the page content + + Returns: + The page content + """ + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] + physical_layer = vmlinux.context.layers["memory_layer"] + page_paddr = self.to_paddr() + if not page_paddr: + return + + page_data = physical_layer.read(page_paddr, vmlinux_layer.page_size) + return page_data + + +class IDR(objects.StructType): + IDR_BITS = 8 + IDR_MASK = (1 << IDR_BITS) - 1 + INT_SIZE = 4 + MAX_IDR_SHIFT = INT_SIZE * 8 - 1 + MAX_IDR_BIT = 1 << MAX_IDR_SHIFT + + def idr_max(self, num_layers: int) -> int: + """Returns the maximum ID which can be allocated given idr::layers + + Args: + num_layers: Number of layers + + Returns: + Maximum ID for a given number of layers + """ + # Kernel < 4.17 + bits = min([self.INT_SIZE, num_layers * self.IDR_BITS, self.MAX_IDR_SHIFT]) + + return (1 << bits) - 1 + + def idr_find(self, idr_id: int) -> int: + """Finds an ID within the IDR data structure. + Based on idr_find_slowpath(), 3.9 <= Kernel < 4.11 + Args: + idr_id: The IDR element ID + + Returns: + A pointer to the given ID element + """ + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + if not vmlinux.get_type("idr_layer").has_member("layer"): + vollog.info( + "Unsupported IDR implementation, it should be a very very old kernel, probabably < 2.6" + ) + return + + if idr_id < 0: + return + + cur_layer = self.top + if not cur_layer: + return + + n = (cur_layer.layer + 1) * self.IDR_BITS + + if idr_id > self.idr_max(cur_layer.layer + 1): + return + + assert n != 0 + + while n > 0 and cur_layer: + n -= self.IDR_BITS + assert n == cur_layer.layer * self.IDR_BITS + cur_layer = cur_layer.ary[(idr_id >> n) & self.IDR_MASK] + + return cur_layer.v() + + def _old_kernel_get_page_addresses(self, in_use) -> int: + # Kernels < 4.11 + total = next_id = 0 + while total < in_use: + page_addr = self.idr_find(next_id) + if page_addr: + yield page_addr + total += 1 + + next_id += 1 + + def _new_kernel_get_page_addresses(self, _in_use) -> int: + # Kernels >= 4.11 + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + tree = linux.LinuxUtilities.choose_kernel_tree(vmlinux) + for page_addr in tree.get_page_addresses(root=self.idr_rt): + yield page_addr + + def get_page_addresses(self, in_use=0) -> int: + """Walks the IDR and yield a pointer associated with each element. + + Args: + in_use (int, optional): _description_. Defaults to 0. + + Yields: + A pointer associated with each element. + """ + if self.has_member("idr_rt"): + get_page_addresses_func = self._new_kernel_get_page_addresses + else: + get_page_addresses_func = self._old_kernel_get_page_addresses + + for page_addr in get_page_addresses_func(in_use): + yield page_addr From ac27d6663a3733e002cb064afd155139103c4c43 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 3 Aug 2024 21:26:29 +1000 Subject: [PATCH 0607/2186] Linux: Add two page cache plugins, linux.pagecache.Files and linux.pagecache.InodePages --- .../framework/plugins/linux/pagecache.py | 504 ++++++++++++++++++ 1 file changed, 504 insertions(+) create mode 100644 volatility3/framework/plugins/linux/pagecache.py diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py new file mode 100644 index 000000000..545c243e0 --- /dev/null +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -0,0 +1,504 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import math +import logging +import datetime +from dataclasses import dataclass, astuple +from typing import List + +from volatility3.framework import renderers, interfaces +from volatility3.framework.renderers import format_hints +from volatility3.framework.interfaces import plugins +from volatility3.framework.configuration import requirements +from volatility3.plugins import timeliner +from volatility3.plugins.linux import mountinfo + +vollog = logging.getLogger(__name__) + + +@dataclass +class InodeUser: + """Inode user representation, featuring augmented information and formatted fields. + This is the data the plugin will eventually display. + """ + + superblock_addr: int + mountpoint: str + device: str + inode_num: int + inode_addr: int + type: str + inode_pages: int + cached_pages: int + file_mode: str + access_time: str + modification_time: str + change_time: str + path: str + + +@dataclass +class InodeInternal: + """Inode internal representation containing only the core objects + + Fields: + superblock: 'super_block' struct + mountpoint: Superblock mountpoint path + inode: 'inode' struct + path: Dentry full path + """ + + superblock: interfaces.objects.ObjectInterface + mountpoint: str + inode: interfaces.objects.ObjectInterface + path: str + + def to_user( + self, kernel_layer: interfaces.layers.TranslationLayerInterface + ) -> InodeUser: + """Augment the inode information to be presented to the user + + Args: + kernel_layer: The kernel layer to obtain the page size + + Returns: + An InodeUser dataclass + """ + # Ensure all types are atomic immutable. Otherwise, astuple() will take a long + # time doing a deepcopy of the Volatility objects. + superblock_addr = self.superblock.vol.offset + device = f"{self.superblock.major}:{self.superblock.minor}" + inode_num = int(self.inode.i_ino) + inode_addr = self.inode.vol.offset + inode_type = renderers.UnparsableValue() + # Round up the number of pages to fit the inode's size + inode_pages = int(math.ceil(self.inode.i_size / float(kernel_layer.page_size))) + cached_pages = int(self.inode.i_mapping.nrpages) + file_mode = self.inode.get_file_mode() + access_time_dt = self.inode.get_access_time() + modification_time_str = self.inode.get_modification_time() + change_time_str = self.inode.get_change_time() + + inode_user = InodeUser( + superblock_addr=superblock_addr, + mountpoint=self.mountpoint, + device=device, + inode_num=inode_num, + inode_addr=inode_addr, + type=inode_type, + inode_pages=inode_pages, + cached_pages=cached_pages, + file_mode=file_mode, + access_time=access_time_dt, + modification_time=modification_time_str, + change_time=change_time_str, + path=self.path, + ) + return inode_user + + +class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): + """Lists files from memory""" + + _required_framework_version = (2, 0, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="mountinfo", plugin=mountinfo.MountInfo, version=(1, 1, 0) + ), + requirements.ListRequirement( + name="type", + description="List of space-separated file type filters i.e. --type REG DIR", + element_type=str, + optional=True, + ), + requirements.StringRequirement( + name="find", + description="Filename (full path) to find", + optional=True, + ), + ] + + @staticmethod + def _follow_symlink(inode, symlink_path) -> str: + """Follows (fast) symlinks (kernels >= 4.2.x). + Fast symlinks are filesystem agnostic. + + Args: + inode: The inode (or pointer) to dump + symlink_path: The symlink name + + Returns: + If it can resolve the symlink, it returns a string "symlink_path -> target_path" + Otherwise, it returns the same symlink_path + """ + # i_link (fast symlinks) were introduced in 4.2 + if inode and inode.is_link and inode.has_member("i_link") and inode.i_link: + i_link_str = inode.i_link.dereference().cast( + "string", max_length=255, encoding="utf-8", errors="replace" + ) + symlink_path = f"{symlink_path} -> {i_link_str}" + + return symlink_path + + @classmethod + def _walk_dentry(cls, seen_dentries, root_dentry, parent): + + for dentry in root_dentry.get_subdirs(): + dentry_addr = dentry.vol.offset + + # corruption + if dentry_addr == root_dentry.vol.offset: + continue + + if dentry_addr in seen_dentries: + continue + + seen_dentries.add(dentry_addr) + + inode = dentry.d_inode + if not (inode and inode.is_valid()): + continue + + # This allows us to have consistent paths + if dentry.d_name.name: + name = dentry.d_name.name_as_str() + # Do NOT use os.path.join() below + new_file = parent + "/" + name + else: + continue + + yield new_file, dentry, dentry.d_parent.vol.offset + + if inode.is_dir: + for new_file, dentry, parent_address in cls._walk_dentry( + seen_dentries, dentry, new_file + ): + yield new_file, dentry, parent_address + + @classmethod + def get_inodes( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + ): + """Retrieves the inodes from the superblocks + + Args: + context: The context that the plugin will operate within + config_path: The path to configuration data within the context configuration data + + Yields: + An InodeInternal object + """ + + superblocks_iter = mountinfo.MountInfo( + context=context, + config_path=config_path, + ).get_superblocks() + + seen_inodes = set() + seen_dentries = set() + for superblock, mountpoint in superblocks_iter: + parent = "" if mountpoint == "/" else mountpoint + + # Superblock root dentry + root_dentry = superblock.s_root + if not root_dentry: + continue + + # Dentry sanity check + if not root_dentry.is_root(): + continue + + # More dentry/inode sanity checks + root_inode_ptr = root_dentry.d_inode + if not root_inode_ptr: + continue + root_inode = root_inode_ptr.dereference() + if not root_inode.is_valid(): + continue + + # Inode already processed? + if root_inode_ptr in seen_inodes: + continue + seen_inodes.add(root_inode_ptr) + + root_path = mountpoint + + inode_in = InodeInternal( + superblock=superblock, + mountpoint=mountpoint, + inode=root_inode, + path=root_path, + ) + yield inode_in + + # Children + for file_path, file_dentry, _ in cls._walk_dentry( + seen_dentries, root_dentry, parent + ): + if not file_dentry: + continue + # Dentry/inode sanity checks + file_inode_ptr = file_dentry.d_inode + if not file_inode_ptr: + continue + file_inode = file_inode_ptr.dereference() + if not file_inode.is_valid(): + continue + + # Inode already processed? + if file_inode_ptr in seen_inodes: + continue + seen_inodes.add(file_inode_ptr) + + file_path = cls._follow_symlink(file_inode_ptr, file_path) + inode_in = InodeInternal( + superblock=superblock, + mountpoint=mountpoint, + inode=file_inode, + path=file_path, + ) + yield inode_in + + def _generator(self): + vmlinux = self.context.modules[self.config["kernel"]] + vmlinux_layer = self.context.layers[vmlinux.layer_name] + + inodes_iter = self.get_inodes( + context=self.context, config_path=self.config_path + ) + + types_filter = self.config["type"] + for inode_in in inodes_iter: + if types_filter and inode_in.inode.get_inode_type() not in types_filter: + continue + + if self.config["find"]: + if inode_in.path == self.config["find"]: + inode_out = inode_in.to_user(vmlinux_layer) + yield (0, astuple(inode_out)) + break # Only the first match + else: + inode_out = inode_in.to_user(vmlinux_layer) + yield (0, astuple(inode_out)) + + def generate_timeline(self): + """Generates tuples of (description, timestamp_type, timestamp) + + These need not be generated in any particular order, sorting + will be done later + """ + vmlinux = self.context.modules[self.config["kernel"]] + vmlinux_layer = self.context.layers[vmlinux.layer_name] + + inodes_iter = self.get_inodes( + context=self.context, config_path=self.config_path + ) + for inode_in in inodes_iter: + inode_out = inode_in.to_user(vmlinux_layer) + description = f"Cached Inode for {inode_out.path}" + yield description, timeliner.TimeLinerType.ACCESSED, inode_out.access_time + yield description, timeliner.TimeLinerType.MODIFIED, inode_out.modification_time + yield description, timeliner.TimeLinerType.CHANGE, inode_out.change_time + + @staticmethod + def format_fields_with_headers(headers, generator): + """Uses the headers type to cast the fields obtained from the generator""" + for level, fields in generator: + formatted_fields = [] + for header, field in zip(headers, fields): + header_type = header[1] + + if isinstance( + field, (header_type, interfaces.renderers.BaseAbsentValue) + ): + formatted_field = field + else: + formatted_field = header_type(field) + + formatted_fields.append(formatted_field) + yield level, formatted_fields + + def run(self): + headers = [ + ("SuperblockAddr", format_hints.Hex), + ("MountPoint", str), + ("Device", str), + ("InodeNum", int), + ("InodeAddr", format_hints.Hex), + ("FileType", str), + ("InodePages", int), + ("CachedPages", int), + ("FileMode", str), + ("AccessTime", datetime.datetime), + ("ModificationTime", datetime.datetime), + ("ChangeTime", datetime.datetime), + ("FilePath", str), + ] + + return renderers.TreeGrid( + headers, self.format_fields_with_headers(headers, self._generator()) + ) + + +class InodePages(plugins.PluginInterface): + """Lists and recovers cached inode pages""" + + _required_framework_version = (2, 0, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="files", plugin=Files, version=(1, 0, 0) + ), + requirements.StringRequirement( + name="find", + description="Filename (full path) to find ", + optional=True, + ), + requirements.IntRequirement( + name="inode", + description="Inode address", + optional=True, + ), + requirements.StringRequirement( + name="dump", + description="Output file path", + optional=True, + ), + ] + + @staticmethod + def write_inode_content_to_file( + inode: interfaces.objects.ObjectInterface, + filename: str, + vmlinux_layer: interfaces.layers.TranslationLayerInterface, + ) -> None: + """Extracts the inode's contents from the page cache and saves them to a file + + Args: + inode: The inode to dump + filename: Filename for writing the inode content + vmlinux_layer: The kernel layer to obtain the page size + """ + if not inode.is_reg: + vollog.error("The inode is not a regular file") + return + + # By using truncate/seek, provided the filesystem supports it, a sparse file will be + # created, saving both disk space and I/O time. + # Additionally, using the page index will guarantee that each page is written at the + # appropriate file position. + try: + with open(filename, "wb") as f: + inode_size = inode.i_size + f.truncate(inode_size) + + for page_idx, page_content in inode.get_contents(): + current_fp = page_idx * vmlinux_layer.page_size + max_length = inode_size - current_fp + page_bytes = page_content[:max_length] + if current_fp + len(page_bytes) > inode_size: + vollog.error( + "Page out of file bounds: inode 0x%x, inode size %d, page index %d", + inode.vol.object, + inode_size, + page_idx, + ) + f.seek(current_fp) + f.write(page_bytes) + + except IOError as e: + vollog.error("Unable to write to file (%s): %s", filename, e) + + def _generator(self): + vmlinux = self.context.modules[self.config["kernel"]] + vmlinux_layer = self.context.layers[vmlinux.layer_name] + + if self.config["inode"] and self.config["find"]: + vollog.error("Cannot use --inode and --find simultaneously") + return + + if self.config["find"]: + inodes_iter = Files.get_inodes( + context=self.context, config_path=self.config_path + ) + for inode_in in inodes_iter: + if inode_in.path == self.config["find"]: + inode = inode_in.inode + break # Only the first match + + elif self.config["inode"]: + inode = vmlinux.object("inode", self.config["inode"], absolute=True) + else: + vollog.error("You must use either --inode or --find") + return + + if not inode.is_reg: + vollog.error("The inode is not a regular file") + return + + inode_size = inode.i_size + if not inode.is_valid(): + vollog.error("Invalid inode at 0x%x", self.config["inode"]) + return + + for page_obj in inode.get_pages(): + page_vaddr = page_obj.vol.offset + page_paddr = page_obj.to_paddr() + page_mapping_addr = page_obj.mapping + page_index = int(page_obj.index) + page_file_offset = page_index * vmlinux_layer.page_size + dump_safe = page_file_offset < inode_size + page_flags_list = page_obj.get_flags() + page_flags = ",".join([x.replace("PG_", "") for x in page_flags_list]) + fields = ( + page_vaddr, + page_paddr, + page_mapping_addr, + page_index, + dump_safe, + page_flags, + ) + + yield 0, fields + + if self.config["dump"]: + filename = self.config["dump"] + vollog.info("[*] Writing inode at 0x%x to '%s'", inode.vol.offset, filename) + self.write_inode_content_to_file(inode, filename, vmlinux_layer) + + def run(self): + headers = [ + ("PageVAddr", format_hints.Hex), + ("PagePAddr", format_hints.Hex), + ("MappingAddr", format_hints.Hex), + ("Index", int), + ("DumpSafe", bool), + ("Flags", str), + ] + + return renderers.TreeGrid( + headers, Files.format_fields_with_headers(headers, self._generator()) + ) From 55212008f805abdd47f2f3d7d6211c198097f8d4 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 3 Aug 2024 21:39:51 +1000 Subject: [PATCH 0608/2186] Linux: Add pidhashtable plugin. This is based on the vol2 plugin, removing ancient kernel support, curating code and enhancing comments, while using the new IDR abstraction included also in this effort. --- .../framework/plugins/linux/pidhashtable.py | 249 ++++++++++++++++++ 1 file changed, 249 insertions(+) create mode 100644 volatility3/framework/plugins/linux/pidhashtable.py diff --git a/volatility3/framework/plugins/linux/pidhashtable.py b/volatility3/framework/plugins/linux/pidhashtable.py new file mode 100644 index 000000000..b24c73e77 --- /dev/null +++ b/volatility3/framework/plugins/linux/pidhashtable.py @@ -0,0 +1,249 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from typing import List + +from volatility3.framework import renderers, interfaces, constants +from volatility3.framework.symbols import linux +from volatility3.framework.renderers import format_hints +from volatility3.framework.interfaces import plugins +from volatility3.framework.configuration import requirements +from volatility3.plugins.linux import pslist + +vollog = logging.getLogger(__name__) + + +class PIDHashTable(plugins.PluginInterface): + """Enumerates processes through the PID hash table""" + + _required_framework_version = (2, 0, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="linuxutils", component=linux.LinuxUtilities, version=(2, 2, 0) + ), + requirements.BooleanRequirement( + name="decorate_comm", + description="Show `user threads` comm in curly brackets, and `kernel threads` comm in square brackets", + optional=True, + default=False, + ), + ] + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.vmlinux = None + self.vmlinux_layer = None + + def _is_valid_task(self, task): + return task and task.pid > 0 and self.vmlinux_layer.is_valid(task.parent) + + def _get_pidtype_pid(self): + # The pid_type enumeration is present since 2.5.37, just in case + pid_type_enum = self.vmlinux.get_enumeration("pid_type") + if not pid_type_enum: + vollog.error("Cannot find pid_type enum. Unsupported kernel") + return + + pidtype_pid = pid_type_enum.choices.get("PIDTYPE_PID") + if pidtype_pid is None: + vollog.error("Cannot find PIDTYPE_PID. Unsupported kernel") + return + + # Typically PIDTYPE_PID = 0 + return pidtype_pid + + def _get_pidhash_array(self): + pidhash_shift = self.vmlinux.object_from_symbol("pidhash_shift") + pidhash_size = 1 << pidhash_shift + + array_type_name = self.vmlinux.symbol_table_name + constants.BANG + "array" + + pidhash_ptr = self.vmlinux.object_from_symbol("pid_hash") + # pidhash is an array of hlist_heads + pidhash = self._context.object( + array_type_name, + offset=pidhash_ptr, + subtype=self.vmlinux.get_type("hlist_head"), + count=pidhash_size, + layer_name=self.vmlinux.layer_name, + ) + + return pidhash + + def _walk_upid(self, seen_upids, upid): + while upid and self.vmlinux_layer.is_valid(upid.vol.offset): + if upid.vol.offset in seen_upids: + break + seen_upids.add(upid.vol.offset) + + pid_chain = upid.pid_chain + if not (pid_chain and self.vmlinux_layer.is_valid(pid_chain.vol.offset)): + break + + upid = linux.LinuxUtilities.container_of( + pid_chain.next, "upid", "pid_chain", self.vmlinux + ) + + def _get_upids(self): + # 2.6.24 <= kernels < 4.15 + pidhash = self._get_pidhash_array() + + seen_upids = set() + for hlist in pidhash: + # each entry in the hlist is a upid which is wrapped in a pid + ent = hlist.first + + while ent and self.vmlinux_layer.is_valid(ent.vol.offset): + # upid->pid_chain exists 2.6.24 <= kernel < 4.15 + upid = linux.LinuxUtilities.container_of( + ent.vol.offset, "upid", "pid_chain", self.vmlinux + ) + + if upid.vol.offset in seen_upids: + break + + self._walk_upid(seen_upids, upid) + + ent = ent.next + + return seen_upids + + def _pid_hash_implementation(self): + # 2.6.24 <= kernels < 4.15 + task_pids_off = self.vmlinux.get_type("task_struct").relative_child_offset( + "pids" + ) + pidtype_pid = self._get_pidtype_pid() + + for upid in self._get_upids(): + pid = linux.LinuxUtilities.container_of( + upid, "pid", "numbers", self.vmlinux + ) + if not pid: + continue + + pid_tasks_0 = pid.tasks[pidtype_pid].first + if not pid_tasks_0: + continue + + task = self.vmlinux.object( + "task_struct", offset=pid_tasks_0 - task_pids_off, absolute=True + ) + if self._is_valid_task(task): + yield task + + def _task_for_radix_pid_node(self, nodep): + # kernels >= 4.15 + pid = self.vmlinux.object("pid", offset=nodep, absolute=True) + pidtype_pid = self._get_pidtype_pid() + + pid_tasks_0 = pid.tasks[pidtype_pid].first + if not pid_tasks_0: + return + + task_struct_type = self.vmlinux.get_type("task_struct") + if task_struct_type.has_member("pids"): + member = "pids" + elif task_struct_type.has_member("pid_links"): + member = "pid_links" + else: + return None + + task_pids_off = task_struct_type.relative_child_offset(member) + task = self.vmlinux.object( + "task_struct", offset=pid_tasks_0 - task_pids_off, absolute=True + ) + return task + + def _pid_namespace_idr(self): + # kernels >= 4.15 + ns_addr = self.vmlinux.get_symbol("init_pid_ns").address + ns = self.vmlinux.object("pid_namespace", offset=ns_addr) + + for page_addr in ns.idr.get_page_addresses(): + task = self._task_for_radix_pid_node(page_addr) + if self._is_valid_task(task): + yield task + + def _determine_pid_func(self): + pid_hash = self.vmlinux.has_symbol("pid_hash") and self.vmlinux.has_symbol( + "pidhash_shift" + ) # 2.5.55 <= kernels < 4.15 + + has_pid_numbers = self.vmlinux.has_type("pid") and self.vmlinux.get_type( + "pid" + ).has_member( + "numbers" + ) # kernels >= 2.6.24 + + has_pid_numbers = self.vmlinux.has_type("upid") and self.vmlinux.get_type( + "upid" + ).has_member( + "pid_chain" + ) # 2.6.24 <= kernels < 4.15 + + # kernels >= 4.15 + pid_idr = self.vmlinux.has_type("pid_namespace") and self.vmlinux.get_type( + "pid_namespace" + ).has_member("idr") + + if pid_idr: + # kernels >= 4.15 + return self._pid_namespace_idr + elif pid_hash and has_pid_numbers and has_pid_numbers: + # 2.6.24 <= kernels < 4.15 + return self._pid_hash_implementation + + return None + + def get_tasks(self) -> interfaces.objects.ObjectInterface: + """Enumerates processes through the PID hash table + + Yields: + task_struct objects + """ + self.vmlinux = self.context.modules[self.config["kernel"]] + self.vmlinux_layer = self.context.layers[self.vmlinux.layer_name] + pid_func = self._determine_pid_func() + if not pid_func: + vollog.error("Cannot determine which PID hash table this kernel is using") + return + + yield from sorted(pid_func(), key=lambda t: (t.tgid, t.pid)) + + def _generator( + self, decorate_comm: bool = False + ) -> interfaces.objects.ObjectInterface: + for task in self.get_tasks(): + offset, pid, tid, ppid, name = pslist.PsList.get_task_fields( + task, decorate_comm + ) + fields = format_hints.Hex(offset), pid, tid, ppid, name + yield 0, fields + + def run(self): + decorate_comm = self.config.get("decorate_comm") + + headers = [ + ("OFFSET", format_hints.Hex), + ("PID", int), + ("TID", int), + ("PPID", int), + ("COMM", str), + ] + return renderers.TreeGrid(headers, self._generator(decorate_comm=decorate_comm)) From 103537801ee0b49ca3475be11e1fe62670938e91 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 3 Aug 2024 21:44:38 +1000 Subject: [PATCH 0609/2186] Linux: Add a basic eBPF program enumeration plugin to test and demonstrate using the IDR abstraction --- volatility3/framework/plugins/linux/ebpf.py | 78 +++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 volatility3/framework/plugins/linux/ebpf.py diff --git a/volatility3/framework/plugins/linux/ebpf.py b/volatility3/framework/plugins/linux/ebpf.py new file mode 100644 index 000000000..33ba71faf --- /dev/null +++ b/volatility3/framework/plugins/linux/ebpf.py @@ -0,0 +1,78 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import binascii +import logging +from typing import List + +from volatility3.framework import renderers, interfaces, exceptions +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.framework.interfaces import plugins +from volatility3.framework.configuration import requirements + +vollog = logging.getLogger(__name__) + + +class EBPF(plugins.PluginInterface): + """Enumerate eBPF programs""" + + _required_framework_version = (2, 0, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + ] + + def get_ebpf_programs(self, vmlinux) -> interfaces.objects.ObjectInterface: + """Enumerate eBPF programs walking its IDR. + + Args: + vmlinux: The kernel symbols object + + Yields: + eBPF program objects + """ + if not vmlinux.has_symbol("prog_idr"): + raise exceptions.VolatilityException( + "Cannot find the eBPF prog idr. Unsupported kernel" + ) + + prog_idr_addr = vmlinux.get_symbol("prog_idr").address + prog_idr = vmlinux.object("idr", offset=prog_idr_addr) + for page_addr in prog_idr.get_page_addresses(): + bpf_prog = vmlinux.object("bpf_prog", offset=page_addr, absolute=True) + yield bpf_prog + + def _generator(self): + vmlinux = self.context.modules[self.config["kernel"]] + vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] + bpf_prog_types = vmlinux.get_enumeration("bpf_prog_type") + for prog in self.get_ebpf_programs(vmlinux): + prog_addr = prog.vol.offset + prog_type = bpf_prog_types.lookup(prog.type) + prog_tag_addr = prog.tag.vol.offset + prog_tag_size = prog.tag.count + prog_tag_bytes = vmlinux_layer.read(prog_tag_addr, prog_tag_size) + prog_tag = binascii.hexlify(prog_tag_bytes).decode() + prog_name = ( + utility.array_to_string(prog.aux.name) or renderers.NotAvailableValue() + ) + fields = (format_hints.Hex(prog_addr), prog_name, prog_tag, prog_type) + yield (0, fields) + + def run(self): + headers = [ + ("Address", format_hints.Hex), + ("Name", str), + ("Tag", str), + ("Type", str), + ] + return renderers.TreeGrid(headers, self._generator()) From cc04f665e35989fea4c108de2bdd1b31016145ed Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 3 Aug 2024 23:47:28 +1000 Subject: [PATCH 0610/2186] Fix inode type --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 545c243e0..c36f8a339 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -72,7 +72,7 @@ class InodeInternal: device = f"{self.superblock.major}:{self.superblock.minor}" inode_num = int(self.inode.i_ino) inode_addr = self.inode.vol.offset - inode_type = renderers.UnparsableValue() + inode_type = self.inode.get_inode_type() or renderers.UnparsableValue() # Round up the number of pages to fit the inode's size inode_pages = int(math.ceil(self.inode.i_size / float(kernel_layer.page_size))) cached_pages = int(self.inode.i_mapping.nrpages) From a515e571dcb9eef2fc268b707cc175951f0831b8 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Sat, 3 Aug 2024 12:03:20 -0700 Subject: [PATCH 0611/2186] add Win10x64 17763 --- .../framework/plugins/windows/consoles.py | 8 + .../consoles/consoles-win10-17763-x64.json | 595 ++++++++++++++++++ .../symbols/windows/extensions/consoles.py | 5 + 3 files changed, 608 insertions(+) create mode 100644 volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index 509b6ae9d..0ef9e990a 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -203,6 +203,7 @@ class Consoles(interfaces.plugins.PluginInterface): version_dict = {} else: version_dict = { + (10, 0, 17763, 0): "consoles-win10-17763-x64", (10, 0, 20348, 1): "consoles-win10-20348-x64", (10, 0, 20348, 1970): "consoles-win10-20348-1970-x64", (10, 0, 20348, 2461): "consoles-win10-20348-2461-x64", @@ -580,6 +581,13 @@ class Consoles(interfaces.plugins.PluginInterface): "data": command_history.CommandCount, } ) + console_properties.append( + { + "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}_LastDisplayed", + "address": command_history.LastDisplayed.vol.offset, + "data": command_history.LastDisplayed, + } + ) for ( cmd_index, bucket_cmd, diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json new file mode 100644 index 000000000..f11fb39b1 --- /dev/null +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json @@ -0,0 +1,595 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "short": { + "kind": "int", + "size": 2, + "signed": true, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_CONSOLE_INFORMATION": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 32 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 34 + }, + "CommandHistorySize": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 144 + }, + "HistoryBufferMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 148 + }, + "OriginalTitle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1736 + }, + "Title": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1672 + }, + "GetScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1800 + }, + "CurrentScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1384 + }, + "ConsoleProcessList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 1360 + }, + "ProcessCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1368 + }, + "HistoryList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": -760 + }, + "HistoryBufferCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": -752 + }, + "ExeAliasList": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1392 + } + }, + "kind": "struct", + "size": 140 + }, + "_VECTOR": { + "fields": { + "Begin": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 0 + }, + "End": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 8 + }, + "EndCapacity": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_CONSOLE_PROCESS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ConsoleProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_PROCESS_HANDLE": { + "fields": { + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 52 + }, + "_CONSOLE_PROCESS": { + "fields": { + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 28 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + }, + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND_HISTORY": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "CommandBucket": { + "type": { + "kind": "struct", + "name": "_VECTOR" + }, + "offset": 16 + }, + "CommandCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 40 + }, + "Application": { + "type": { + "kind": "struct", + "name": "_COMMAND" + }, + "offset": 48 + }, + "ConsoleProcessHandle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS_HANDLE" + } + }, + "offset": 80 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 88 + }, + "LastDisplayed": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 92 + } + }, + "kind": "struct", + "size": 96 + }, + "_SCREEN_INFORMATION": { + "fields": { + "TextBufferInfo": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 32 + }, + "Next": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 72 + }, + "_ROW_POINTER": { + "fields": { + "Row": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + + }, + "_ROWS_ARRAY": { + "fields": { + "Rows": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_ROW_POINTER" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_TEXT_BUFFER_INFO": { + "fields": { + "BufferDeque": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_DEQUE" + } + }, + "offset": 0 + }, + "BufferRows": { + "type": { + "kind": "pointer", + "name": "void", + "subtype": { + "kind": "struct", + "name": "_ROWS_ARRAY" + } + }, + "offset": 8 + }, + "BufferCapacity": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 32 + }, + "ThisBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 48 + }, + "BufferEnd": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 56 + }, + "BufferLastIndex": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 58 + }, + "BufferStart": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 112 + } + }, + "kind": "struct", + "size": 72 + }, + "_CHAR_ROW_CELL": { + "fields": { + "Text": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "DbcsAttribute": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 3 + }, + "_CHAR_ROW_CELL_ARRAY": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROW": { + "fields": { + "CharRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL_ARRAY" + } + }, + "offset": 8 + }, + "RowLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 64 + }, + "Index": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + }, + "RowLength2": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 80 + }, + "TextBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 88 + } }, + "kind": "struct", + "size": 96 + }, + "_DEQUE": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle", + "datetime": "2024-07-31T15:05:35-06:00" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/extensions/consoles.py b/volatility3/framework/symbols/windows/extensions/consoles.py index 279ee723e..74ea80e84 100644 --- a/volatility3/framework/symbols/windows/extensions/consoles.py +++ b/volatility3/framework/symbols/windows/extensions/consoles.py @@ -20,8 +20,13 @@ class ROW(objects.StructType): 0x28, 0x30, 0x48, + 0x50, 0x60, 0x80, + 0xa8, + 0xc0, + 0xc8, + 0x98, 0xF8, 0xF0, 0xA0, From 583cffe960a65a136d80bab194765368220bd9bf Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Sat, 3 Aug 2024 14:24:17 -0700 Subject: [PATCH 0612/2186] #816 - next console properties for better readability in treegrid --- .../framework/plugins/windows/cmdscan.py | 17 ++++++- .../framework/plugins/windows/consoles.py | 44 +++++++++++++++++-- 2 files changed, 57 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index 86a34a4f8..1e435c56f 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -175,6 +175,15 @@ class CmdScan(interfaces.plugins.PluginInterface): ) command_history_properties.append( { + "level": 0, + "name": "_COMMAND_HISTORY", + "address": command_history.vol.offset, + "data": "", + } + ) + command_history_properties.append( + { + "level": 1, "name": f"_COMMAND_HISTORY.Application", "address": command_history.Application.vol.offset, "data": command_history.get_application(), @@ -182,6 +191,7 @@ class CmdScan(interfaces.plugins.PluginInterface): ) command_history_properties.append( { + "level": 1, "name": f"_COMMAND_HISTORY.ProcessHandle", "address": command_history.ConsoleProcessHandle.ProcessHandle.vol.offset, "data": hex( @@ -191,6 +201,7 @@ class CmdScan(interfaces.plugins.PluginInterface): ) command_history_properties.append( { + "level": 1, "name": f"_COMMAND_HISTORY.CommandCount", "address": None, "data": command_history.CommandCount, @@ -198,6 +209,7 @@ class CmdScan(interfaces.plugins.PluginInterface): ) command_history_properties.append( { + "level": 1, "name": f"_COMMAND_HISTORY.LastDisplayed", "address": command_history.LastDisplayed.vol.offset, "data": command_history.LastDisplayed, @@ -205,6 +217,7 @@ class CmdScan(interfaces.plugins.PluginInterface): ) command_history_properties.append( { + "level": 1, "name": f"_COMMAND_HISTORY.CommandCountMax", "address": command_history.CommandCountMax.vol.offset, "data": command_history.CommandCountMax, @@ -213,6 +226,7 @@ class CmdScan(interfaces.plugins.PluginInterface): command_history_properties.append( { + "level": 1, "name": f"_COMMAND_HISTORY.CommandBucket", "address": command_history.CommandBucket.vol.offset, "data": "", @@ -225,6 +239,7 @@ class CmdScan(interfaces.plugins.PluginInterface): try: command_history_properties.append( { + "level": 2, "name": f"_COMMAND_HISTORY.CommandBucket_Command_{cmd_index}", "address": bucket_cmd.vol.offset, "data": bucket_cmd.get_command(), @@ -281,7 +296,7 @@ class CmdScan(interfaces.plugins.PluginInterface): if command_history and command_history_properties: for command_history_property in command_history_properties: yield ( - 0, + command_history_property["level"], ( proc.UniqueProcessId, process_name, diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index 0ef9e990a..3b87734e7 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -445,6 +445,15 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 0, + "name": "_CONSOLE_INFORMATION", + "address": console_info.vol.offset, + "data": "", + } + ) + console_properties.append( + { + "level": 1, "name": "_CONSOLE_INFORMATION.ScreenX", "address": console_info.ScreenX.vol.offset, "data": console_info.ScreenX, @@ -452,6 +461,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 1, "name": "_CONSOLE_INFORMATION.ScreenY", "address": console_info.ScreenY.vol.offset, "data": console_info.ScreenY, @@ -459,6 +469,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 1, "name": "_CONSOLE_INFORMATION.CommandHistorySize", "address": console_info.CommandHistorySize.vol.offset, "data": console_info.CommandHistorySize, @@ -466,6 +477,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 1, "name": "_CONSOLE_INFORMATION.HistoryBufferCount", "address": console_info.HistoryBufferCount.vol.offset, "data": console_info.HistoryBufferCount, @@ -473,6 +485,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 1, "name": "_CONSOLE_INFORMATION.HistoryBufferMax", "address": console_info.HistoryBufferMax.vol.offset, "data": console_info.HistoryBufferMax, @@ -480,6 +493,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 1, "name": "_CONSOLE_INFORMATION.Title", "address": console_info.Title.vol.offset, "data": console_info.get_title(), @@ -487,6 +501,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 1, "name": "_CONSOLE_INFORMATION.OriginalTitle", "address": console_info.OriginalTitle.vol.offset, "data": console_info.get_original_title(), @@ -498,6 +513,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 1, "name": "_CONSOLE_INFORMATION.ProcessCount", "address": console_info.ProcessCount.vol.offset, "data": console_info.ProcessCount, @@ -505,6 +521,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 1, "name": "_CONSOLE_INFORMATION.ConsoleProcessList", "address": console_info.ConsoleProcessList.vol.offset, "data": "", @@ -515,6 +532,7 @@ class Consoles(interfaces.plugins.PluginInterface): ): console_properties.append( { + "level": 2, "name": f"_CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_{index}", "address": attached_proc.ConsoleProcess.dereference().vol.offset, "data": "", @@ -522,6 +540,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 2, "name": f"_CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_{index}_ProcessId", "address": attached_proc.ConsoleProcess.ProcessId.vol.offset, "data": attached_proc.ConsoleProcess.ProcessId, @@ -529,6 +548,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 2, "name": f"_CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_{index}_ProcessHandle", "address": attached_proc.ConsoleProcess.ProcessHandle.vol.offset, "data": hex( @@ -542,6 +562,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 1, "name": "_CONSOLE_INFORMATION.HistoryList", "address": console_info.HistoryList.vol.offset, "data": "", @@ -553,6 +574,7 @@ class Consoles(interfaces.plugins.PluginInterface): try: console_properties.append( { + "level": 2, "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}", "address": command_history.vol.offset, "data": "", @@ -560,6 +582,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 2, "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}_Application", "address": command_history.Application.vol.offset, "data": command_history.get_application(), @@ -567,6 +590,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 2, "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}_ProcessHandle", "address": command_history.ConsoleProcessHandle.ProcessHandle.vol.offset, "data": hex( @@ -576,6 +600,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 2, "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}_CommandCount", "address": None, "data": command_history.CommandCount, @@ -583,6 +608,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 2, "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}_LastDisplayed", "address": command_history.LastDisplayed.vol.offset, "data": command_history.LastDisplayed, @@ -593,8 +619,8 @@ class Consoles(interfaces.plugins.PluginInterface): bucket_cmd, ) in command_history.get_commands(): try: - console_properties.append( - { + console_properties.append({ + "level": 3, "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}_Command_{cmd_index}", "address": bucket_cmd.vol.offset, "data": bucket_cmd.get_command(), @@ -610,12 +636,21 @@ class Consoles(interfaces.plugins.PluginInterface): ) vollog.debug(f"Getting ScreenBuffer entries for {console_info}") + console_properties.append( + { + "level": 1, + "name": "_CONSOLE_INFORMATION.CurrentScreenBuffer", + "address": console_info.CurrentScreenBuffer.vol.offset, + "data": "", + } + ) for screen_index, screen_info in enumerate( console_info.get_screens() ): try: console_properties.append( { + "level": 2, "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}", "address": screen_info, "data": "", @@ -623,6 +658,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 2, "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}.ScreenX", "address": None, "data": screen_info.ScreenX, @@ -630,6 +666,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 2, "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}.ScreenY", "address": None, "data": screen_info.ScreenY, @@ -637,6 +674,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) console_properties.append( { + "level": 2, "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}.Dump", "address": None, "data": "\n".join(screen_info.get_buffer()), @@ -748,7 +786,7 @@ class Consoles(interfaces.plugins.PluginInterface): if console_info and console_properties: for console_property in console_properties: yield ( - 0, + console_property["level"], ( proc.UniqueProcessId, process_name, From a3c50e8221ed39e399b500376cb448019f9403db Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Sat, 3 Aug 2024 14:27:42 -0700 Subject: [PATCH 0613/2186] #816 - black fixes --- .../framework/plugins/windows/consoles.py | 3 ++- .../symbols/windows/extensions/consoles.py | 21 +++++++++++++------ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index 3b87734e7..9b41b2890 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -619,7 +619,8 @@ class Consoles(interfaces.plugins.PluginInterface): bucket_cmd, ) in command_history.get_commands(): try: - console_properties.append({ + console_properties.append( + { "level": 3, "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}_Command_{cmd_index}", "address": bucket_cmd.vol.offset, diff --git a/volatility3/framework/symbols/windows/extensions/consoles.py b/volatility3/framework/symbols/windows/extensions/consoles.py index 74ea80e84..23670bb9b 100644 --- a/volatility3/framework/symbols/windows/extensions/consoles.py +++ b/volatility3/framework/symbols/windows/extensions/consoles.py @@ -23,9 +23,9 @@ class ROW(objects.StructType): 0x50, 0x60, 0x80, - 0xa8, - 0xc0, - 0xc8, + 0xA8, + 0xC0, + 0xC8, 0x98, 0xF8, 0xF0, @@ -226,7 +226,12 @@ class COMMAND(objects.StructType): """A Command Structure""" def is_valid(self): - if self.Length < 1 or self.Allocated < 1 or self.Length > 1024 or self.Allocated > 1024: + if ( + self.Length < 1 + or self.Allocated < 1 + or self.Length > 1024 + or self.Allocated > 1024 + ): return False return True @@ -256,7 +261,7 @@ class COMMAND_HISTORY(objects.StructType): @property def ProcessHandle(self): - """ Allow ProcessHandle to be referenced regardless of OS version """ + """Allow ProcessHandle to be referenced regardless of OS version""" return self.ConsoleProcessHandle.ProcessHandle def is_valid(self, max_history=50): @@ -269,7 +274,11 @@ class COMMAND_HISTORY(objects.StructType): return False # Process handle must be a valid pid - if self.ProcessHandle <= 0 or self.ProcessHandle > 0xFFFF or self.ProcessHandle % 4 != 0: + if ( + self.ProcessHandle <= 0 + or self.ProcessHandle > 0xFFFF + or self.ProcessHandle % 4 != 0 + ): return False return True From 60f14478e2860cb97ef15954f80ee82202f5935f Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Sat, 3 Aug 2024 14:30:27 -0700 Subject: [PATCH 0614/2186] #816 - black fixes --- .../framework/plugins/windows/cmdscan.py | 36 ++++++++++++------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index 1e435c56f..b92d7efab 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -65,7 +65,9 @@ class CmdScan(interfaces.plugins.PluginInterface): @classmethod def get_filtered_vads( - cls, conhost_proc: interfaces.context.ContextInterface, size_filter: Optional[int]=0x40000000 + cls, + conhost_proc: interfaces.context.ContextInterface, + size_filter: Optional[int] = 0x40000000, ) -> List[Tuple[int, int]]: """ Returns vads of a process with smaller than size_filter @@ -129,7 +131,9 @@ class CmdScan(interfaces.plugins.PluginInterface): f"Found conhost process {conhost_proc} with pid {conhost_proc.UniqueProcessId}" ) - conhostexe_base, conhostexe_size = consoles.Consoles.find_conhostexe(conhost_proc) + conhostexe_base, conhostexe_size = consoles.Consoles.find_conhostexe( + conhost_proc + ) if not conhostexe_base: vollog.info( "Unable to find the location of conhost.exe. Analysis cannot proceed." @@ -154,7 +158,7 @@ class CmdScan(interfaces.plugins.PluginInterface): context, scanners.BytesScanner(max_history_bytes), sections=sections, - ): + ): command_history_properties = [] try: @@ -272,18 +276,24 @@ class CmdScan(interfaces.plugins.PluginInterface): no_registry = self.config.get("no_registry") if no_registry is False: - max_history, _max_buffers = consoles.Consoles.get_console_settings_from_registry( - self.context, - self.config_path, - kernel.layer_name, - kernel.symbol_table_name, - max_history, - [], + max_history, _max_buffers = ( + consoles.Consoles.get_console_settings_from_registry( + self.context, + self.config_path, + kernel.layer_name, + kernel.symbol_table_name, + max_history, + [], + ) ) vollog.debug(f"Possible CommandHistorySize values: {max_history}") - for proc, command_history, command_history_properties in self.get_command_history( + for ( + proc, + command_history, + command_history_properties, + ) in self.get_command_history( self.context, kernel.layer_name, kernel.symbol_table_name, @@ -305,7 +315,9 @@ class CmdScan(interfaces.plugins.PluginInterface): ( renderers.NotApplicableValue() if command_history_property["address"] is None - else format_hints.Hex(command_history_property["address"]) + else format_hints.Hex( + command_history_property["address"] + ) ), str(command_history_property["data"]), ), From 3e75c2ae9d29084485f6d2803c64d2c42e064ee0 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 4 Aug 2024 14:40:45 +1000 Subject: [PATCH 0615/2186] Fix @functools.cache . It's available since Python 3.9 --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 300ab2ed0..2d48f677b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1965,7 +1965,7 @@ class address_space(objects.StructType): class page(objects.StructType): @property - @functools.cache + @functools.lru_cache() def pageflags_enum(self) -> Dict: """Returns 'pageflags' enumeration key/values From f8c25176f3cc07e2c0a3688b26166a92f386fb16 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Sun, 4 Aug 2024 09:30:37 -0700 Subject: [PATCH 0616/2186] #816 - add 17763, 18362, 19041 x64 support --- .../framework/plugins/windows/consoles.py | 15 +- .../consoles-win10-17763-3232-x64.json | 595 ++++++++++++++++++ .../consoles/consoles-win10-18362-x64.json | 585 +++++++++++++++++ .../consoles/consoles-win10-19041-x64.json | 585 +++++++++++++++++ 4 files changed, 1774 insertions(+), 6 deletions(-) create mode 100644 volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json create mode 100644 volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json create mode 100644 volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index 9b41b2890..c9e8522a4 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -174,7 +174,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) except: # unsure what to raise here. Also, it might be useful to add some kind of fallback, - # either to a user-provided version or to another method to determine tcpip.sys's version + # either to a user-provided version or to another method to determine conhost.exe's version raise exceptions.VolatilityException( "Kernel Debug Structure missing VERSION/KUSER structure, unable to determine Windows version!" ) @@ -203,7 +203,10 @@ class Consoles(interfaces.plugins.PluginInterface): version_dict = {} else: version_dict = { - (10, 0, 17763, 0): "consoles-win10-17763-x64", + (10, 0, 17763, 1): "consoles-win10-17763-x64", + (10, 0, 17763, 3232): "consoles-win10-17763-3232-x64", + (10, 0, 18362, 0): "consoles-win10-18362-x64", + (10, 0, 19041, 0): "consoles-win10-19041-x64", (10, 0, 20348, 1): "consoles-win10-20348-x64", (10, 0, 20348, 1970): "consoles-win10-20348-1970-x64", (10, 0, 20348, 2461): "consoles-win10-20348-2461-x64", @@ -280,11 +283,11 @@ class Consoles(interfaces.plugins.PluginInterface): # try to grab the latest supported version of the current image NT version. If that symbol # version does not work, support has to be added manually. current_versions = [ - (nt_maj, nt_min, vers_min, tcpip_ver) - for nt_maj, nt_min, vers_min, tcpip_ver in version_dict + (nt_maj, nt_min, vers_min, conhost_ver) + for nt_maj, nt_min, vers_min, conhost_ver in version_dict if nt_maj == nt_major_version and nt_min == nt_minor_version - and tcpip_ver <= conhost_mod_version + and conhost_ver <= conhost_mod_version ] current_versions.sort() @@ -319,7 +322,7 @@ class Consoles(interfaces.plugins.PluginInterface): nt_symbol_table: str, config_path: str, ) -> str: - """Creates a symbol table for TCP Listeners and TCP/UDP Endpoints. + """Creates a symbol table for conhost structures. Args: context: The context to retrieve required elements (layers, symbol tables) from diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json new file mode 100644 index 000000000..ba17645c4 --- /dev/null +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json @@ -0,0 +1,595 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "short": { + "kind": "int", + "size": 2, + "signed": true, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_CONSOLE_INFORMATION": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 32 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 34 + }, + "CommandHistorySize": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 144 + }, + "HistoryBufferMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 148 + }, + "OriginalTitle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1736 + }, + "Title": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1672 + }, + "GetScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1800 + }, + "CurrentScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1384 + }, + "ConsoleProcessList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 1360 + }, + "ProcessCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1368 + }, + "HistoryList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": -760 + }, + "HistoryBufferCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": -752 + }, + "ExeAliasList": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1392 + } + }, + "kind": "struct", + "size": 140 + }, + "_VECTOR": { + "fields": { + "Begin": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 0 + }, + "End": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 8 + }, + "EndCapacity": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_CONSOLE_PROCESS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ConsoleProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_PROCESS_HANDLE": { + "fields": { + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 52 + }, + "_CONSOLE_PROCESS": { + "fields": { + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 28 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + }, + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND_HISTORY": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "CommandBucket": { + "type": { + "kind": "struct", + "name": "_VECTOR" + }, + "offset": 16 + }, + "CommandCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 40 + }, + "Application": { + "type": { + "kind": "struct", + "name": "_COMMAND" + }, + "offset": 48 + }, + "ConsoleProcessHandle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS_HANDLE" + } + }, + "offset": 80 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 88 + }, + "LastDisplayed": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 92 + } + }, + "kind": "struct", + "size": 96 + }, + "_SCREEN_INFORMATION": { + "fields": { + "TextBufferInfo": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 56 + }, + "Next": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_ROW_POINTER": { + "fields": { + "Row": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + + }, + "_ROWS_ARRAY": { + "fields": { + "Rows": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_ROW_POINTER" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_TEXT_BUFFER_INFO": { + "fields": { + "BufferDeque": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_DEQUE" + } + }, + "offset": 0 + }, + "BufferRows": { + "type": { + "kind": "pointer", + "name": "void", + "subtype": { + "kind": "struct", + "name": "_ROWS_ARRAY" + } + }, + "offset": 8 + }, + "BufferCapacity": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 32 + }, + "ThisBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 48 + }, + "BufferEnd": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 56 + }, + "BufferLastIndex": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 58 + }, + "BufferStart": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 112 + } + }, + "kind": "struct", + "size": 72 + }, + "_CHAR_ROW_CELL": { + "fields": { + "Text": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "DbcsAttribute": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 3 + }, + "_CHAR_ROW_CELL_ARRAY": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROW": { + "fields": { + "CharRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL_ARRAY" + } + }, + "offset": 8 + }, + "RowLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 64 + }, + "Index": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + }, + "RowLength2": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 80 + }, + "TextBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 88 + } }, + "kind": "struct", + "size": 96 + }, + "_DEQUE": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle", + "datetime": "2024-07-31T15:05:35-06:00" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json new file mode 100644 index 000000000..3c1fde26e --- /dev/null +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json @@ -0,0 +1,585 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "short": { + "kind": "int", + "size": 2, + "signed": true, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_CONSOLE_INFORMATION": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 32 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 34 + }, + "CommandHistorySize": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 144 + }, + "HistoryBufferMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 148 + }, + "OriginalTitle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1744 + }, + "Title": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1680 + }, + "GetScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1808 + }, + "CurrentScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1392 + }, + "ConsoleProcessList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 1368 + }, + "ProcessCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1376 + }, + "HistoryList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": -768 + }, + "HistoryBufferCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": -760 + }, + "ExeAliasList": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1436 + } + }, + "kind": "struct", + "size": 140 + }, + "_VECTOR": { + "fields": { + "Begin": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 0 + }, + "End": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 8 + }, + "EndCapacity": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_CONSOLE_PROCESS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ConsoleProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_PROCESS_HANDLE": { + "fields": { + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 52 + }, + "_CONSOLE_PROCESS": { + "fields": { + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 28 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + }, + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND_HISTORY": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "CommandBucket": { + "type": { + "kind": "struct", + "name": "_VECTOR" + }, + "offset": 16 + }, + "CommandCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 40 + }, + "Application": { + "type": { + "kind": "struct", + "name": "_COMMAND" + }, + "offset": 48 + }, + "ConsoleProcessHandle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS_HANDLE" + } + }, + "offset": 80 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 88 + }, + "LastDisplayed": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 92 + } + }, + "kind": "struct", + "size": 96 + }, + "_SCREEN_INFORMATION": { + "fields": { + "TextBufferInfo": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 56 + }, + "Next": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_ROW_POINTER": { + "fields": { + "Row": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + + }, + "_ROWS_ARRAY": { + "fields": { + "Rows": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_ROW_POINTER" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_TEXT_BUFFER_INFO": { + "fields": { + "BufferDeque": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_DEQUE" + } + }, + "offset": 0 + }, + "BufferRows": { + "type": { + "kind": "pointer", + "name": "void", + "subtype": { + "kind": "struct", + "name": "_ROWS_ARRAY" + } + }, + "offset": 8 + }, + "BufferCapacity": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 32 + }, + "BufferEnd": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 56 + }, + "BufferLastIndex": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 58 + }, + "BufferStart": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 72 + }, + "_CHAR_ROW_CELL": { + "fields": { + "Text": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "DbcsAttribute": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 3 + }, + "_CHAR_ROW_CELL_ARRAY": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROW": { + "fields": { + "CharRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL_ARRAY" + } + }, + "offset": 8 + }, + "RowLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 64 + }, + "Index": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + }, + "RowLength2": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 80 + }, + "TextBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 88 + } }, + "kind": "struct", + "size": 96 + }, + "_DEQUE": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle", + "datetime": "2024-07-31T15:05:35-06:00" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json new file mode 100644 index 000000000..39ca5f0eb --- /dev/null +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json @@ -0,0 +1,585 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "short": { + "kind": "int", + "size": 2, + "signed": true, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_CONSOLE_INFORMATION": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 32 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 34 + }, + "CommandHistorySize": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 144 + }, + "HistoryBufferMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 148 + }, + "OriginalTitle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1752 + }, + "Title": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1688 + }, + "GetScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1816 + }, + "CurrentScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1392 + }, + "ConsoleProcessList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 1368 + }, + "ProcessCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1376 + }, + "HistoryList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": -352 + }, + "HistoryBufferCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": -344 + }, + "ExeAliasList": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1436 + } + }, + "kind": "struct", + "size": 140 + }, + "_VECTOR": { + "fields": { + "Begin": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 0 + }, + "End": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 8 + }, + "EndCapacity": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_CONSOLE_PROCESS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ConsoleProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_PROCESS_HANDLE": { + "fields": { + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 52 + }, + "_CONSOLE_PROCESS": { + "fields": { + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 28 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + }, + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND_HISTORY": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "CommandBucket": { + "type": { + "kind": "struct", + "name": "_VECTOR" + }, + "offset": 16 + }, + "CommandCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 40 + }, + "Application": { + "type": { + "kind": "struct", + "name": "_COMMAND" + }, + "offset": 48 + }, + "ConsoleProcessHandle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS_HANDLE" + } + }, + "offset": 80 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 88 + }, + "LastDisplayed": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 92 + } + }, + "kind": "struct", + "size": 96 + }, + "_SCREEN_INFORMATION": { + "fields": { + "TextBufferInfo": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 56 + }, + "Next": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_ROW_POINTER": { + "fields": { + "Row": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + + }, + "_ROWS_ARRAY": { + "fields": { + "Rows": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_ROW_POINTER" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_TEXT_BUFFER_INFO": { + "fields": { + "BufferDeque": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_DEQUE" + } + }, + "offset": 0 + }, + "BufferRows": { + "type": { + "kind": "pointer", + "name": "void", + "subtype": { + "kind": "struct", + "name": "_ROWS_ARRAY" + } + }, + "offset": 8 + }, + "BufferCapacity": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 32 + }, + "BufferEnd": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 56 + }, + "BufferLastIndex": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 58 + }, + "BufferStart": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 72 + }, + "_CHAR_ROW_CELL": { + "fields": { + "Text": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "DbcsAttribute": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 3 + }, + "_CHAR_ROW_CELL_ARRAY": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROW": { + "fields": { + "CharRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL_ARRAY" + } + }, + "offset": 8 + }, + "RowLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 64 + }, + "Index": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + }, + "RowLength2": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 80 + }, + "TextBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 88 + } }, + "kind": "struct", + "size": 96 + }, + "_DEQUE": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle", + "datetime": "2024-07-31T15:05:35-06:00" + }, + "format": "4.1.0" + } +} From 9b9535d8d716599630ab4c09b92b7e331a832d8b Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Sun, 4 Aug 2024 10:14:36 -0700 Subject: [PATCH 0617/2186] #816 - other 20348 symbols --- .../consoles-win10-20348-1970-x64.json | 595 ++++++++++++++++++ 1 file changed, 595 insertions(+) create mode 100644 volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json new file mode 100644 index 000000000..e0935b4be --- /dev/null +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json @@ -0,0 +1,595 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "short": { + "kind": "int", + "size": 2, + "signed": true, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_CONSOLE_INFORMATION": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 24 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 26 + }, + "CommandHistorySize": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 136 + }, + "HistoryBufferMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 140 + }, + "OriginalTitle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1616 + }, + "Title": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1552 + }, + "GetScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1680 + }, + "CurrentScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1296 + }, + "ConsoleProcessList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 1272 + }, + "ProcessCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1280 + }, + "HistoryList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 9320 + }, + "HistoryBufferCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 9328 + }, + "ExeAliasList": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2410 + } + }, + "kind": "struct", + "size": 140 + }, + "_VECTOR": { + "fields": { + "Begin": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 0 + }, + "End": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 8 + }, + "EndCapacity": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_CONSOLE_PROCESS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ConsoleProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_PROCESS_HANDLE": { + "fields": { + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 52 + }, + "_CONSOLE_PROCESS": { + "fields": { + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 28 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + }, + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND_HISTORY": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "CommandBucket": { + "type": { + "kind": "struct", + "name": "_VECTOR" + }, + "offset": 16 + }, + "CommandCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 40 + }, + "Application": { + "type": { + "kind": "struct", + "name": "_COMMAND" + }, + "offset": 48 + }, + "ConsoleProcessHandle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS_HANDLE" + } + }, + "offset": 80 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 88 + }, + "LastDisplayed": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 92 + } + }, + "kind": "struct", + "size": 96 + }, + "_SCREEN_INFORMATION": { + "fields": { + "TextBufferInfo": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 56 + }, + "Next": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_ROW_POINTER": { + "fields": { + "Row": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + + }, + "_ROWS_ARRAY": { + "fields": { + "Rows": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_ROW_POINTER" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_TEXT_BUFFER_INFO": { + "fields": { + "BufferDeque": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_DEQUE" + } + }, + "offset": 0 + }, + "BufferRows": { + "type": { + "kind": "pointer", + "name": "void", + "subtype": { + "kind": "struct", + "name": "_ROWS_ARRAY" + } + }, + "offset": 16 + }, + "BufferCapacity": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 40 + }, + "ThisBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 48 + }, + "BufferEnd": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 54 + }, + "BufferLastIndex": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 56 + }, + "BufferStart": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 72 + }, + "_CHAR_ROW_CELL": { + "fields": { + "Text": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "DbcsAttribute": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 3 + }, + "_CHAR_ROW_CELL_ARRAY": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROW": { + "fields": { + "CharRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL_ARRAY" + } + }, + "offset": 8 + }, + "RowLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 64 + }, + "Index": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + }, + "RowLength2": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 80 + }, + "TextBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 88 + } }, + "kind": "struct", + "size": 96 + }, + "_DEQUE": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle", + "datetime": "2024-07-31T15:05:35-06:00" + }, + "format": "4.1.0" + } +} From 8d6fd3cd78f0fadd223ae93a70a268048b4ccfe9 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Mon, 5 Aug 2024 14:28:43 +0200 Subject: [PATCH 0618/2186] Moved get_inode_metadata, separated inode and FD processing, error handling precision --- volatility3/framework/plugins/linux/lsof.py | 65 ++++++++++++------- .../framework/symbols/linux/__init__.py | 26 +------- 2 files changed, 45 insertions(+), 46 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index fa9d2bf61..167556e7d 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -6,7 +6,7 @@ found in Linux's /proc file system.""" import logging, datetime from typing import List, Callable -from volatility3.framework import renderers, interfaces, constants +from volatility3.framework import renderers, interfaces, constants, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -46,7 +46,30 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): ] @classmethod - def list_fds_and_inodes( + def get_inode_metadata(cls, filp: interfaces.objects.ObjectInterface): + try: + dentry = filp.get_dentry() + if dentry: + inode_object = dentry.d_inode + if inode_object and inode_object.is_valid(): + itype = ( + inode_object.get_inode_type() or renderers.NotAvailableValue() + ) + return ( + inode_object.i_ino, + itype, + inode_object.i_size, + inode_object.get_file_mode(), + inode_object.get_change_time(), + inode_object.get_modification_time(), + inode_object.get_access_time(), + ) + except (exceptions.InvalidAddressException, AttributeError) as e: + vollog.warning(f"Can't get inode metadata: {e}") + return tuple(renderers.NotAvailableValue() for _ in range(7)) + + @classmethod + def list_fds( cls, context: interfaces.context.ContextInterface, symbol_table: str, @@ -67,26 +90,27 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): ) for fd_fields in fd_generator: - fd_num, filp, full_path = fd_fields - inode_metadata = linux.LinuxUtilities.get_inode_metadata(context, filp) - try: - inode_num, itype, file_size, imode, ctime, mtime, atime = next( - inode_metadata - ) - except Exception as e: - vollog.warning( - f"Can't get inode metadata for file descriptor {fd_num}: {e}" - ) - inode_num = itype = file_size = imode = ctime = mtime = atime = ( - renderers.NotAvailableValue() - ) - yield pid, task_comm, task, fd_num, filp, full_path, inode_num, itype, imode, ctime, mtime, atime, file_size + yield pid, task_comm, task, fd_fields + + @classmethod + def list_fds_and_inodes( + cls, + context: interfaces.context.ContextInterface, + symbol_table: str, + filter_func: Callable[[int], bool] = lambda _: False, + ): + for pid, task_comm, task, (fd_num, filp, full_path) in cls.list_fds( + context, symbol_table, filter_func + ): + inode_metadata = cls.get_inode_metadata(filp) + yield pid, task_comm, task, fd_num, filp, full_path, inode_metadata def _generator(self, pids, symbol_table): filter_func = pslist.PsList.create_pid_filter(pids) fds_generator = self.list_fds_and_inodes( self.context, symbol_table, filter_func=filter_func ) + for ( pid, task_comm, @@ -94,14 +118,9 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): fd_num, filp, full_path, - inode_num, - itype, - imode, - ctime, - mtime, - atime, - file_size, + inode_metadata, ) in fds_generator: + inode_num, itype, file_size, imode, ctime, mtime, atime = inode_metadata fields = ( pid, task_comm, diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index d52c43dae..03353135d 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -1,8 +1,8 @@ -# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # from typing import Iterator, List, Tuple, Optional, Union -import datetime, stat + from volatility3 import framework from volatility3.framework import constants, exceptions, interfaces, objects from volatility3.framework.objects import utility @@ -67,7 +67,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" - _version = (2, 2, 0) + _version = (2, 1, 0) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) @@ -274,26 +274,6 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): yield fd_num, filp, full_path - @classmethod - def get_inode_metadata(cls, context: interfaces.context.ContextInterface, filp): - """ - A helper function that gets the inodes metadata from a file descriptor - """ - dentry = filp.get_dentry() - if dentry: - inode_object = dentry.d_inode - if inode_object and inode_object.is_valid(): - itype = inode_object.get_inode_type() or "?" - yield ( - inode_object.i_ino, - itype, - inode_object.i_size, - inode_object.get_file_mode(), - inode_object.get_change_time(), - inode_object.get_modification_time(), - inode_object.get_access_time(), - ) - @classmethod def mask_mods_list( cls, From c9eb81c95fa530c58e493d77cde506f001e9e4f3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 6 Aug 2024 04:40:48 -0700 Subject: [PATCH 0619/2186] PR review fixes: Improve eBPF extension objects: bpf_prog and added bpf_prog_aux. Apply changes to the EBPF and Sockstat plugins. --- volatility3/framework/plugins/linux/ebpf.py | 15 ++---- .../framework/plugins/linux/sockstat.py | 14 +++--- .../framework/symbols/linux/__init__.py | 1 + .../symbols/linux/extensions/__init__.py | 48 +++++++++++++++++-- 4 files changed, 54 insertions(+), 24 deletions(-) diff --git a/volatility3/framework/plugins/linux/ebpf.py b/volatility3/framework/plugins/linux/ebpf.py index 33ba71faf..8df506b06 100644 --- a/volatility3/framework/plugins/linux/ebpf.py +++ b/volatility3/framework/plugins/linux/ebpf.py @@ -1,12 +1,10 @@ # This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import binascii import logging from typing import List from volatility3.framework import renderers, interfaces, exceptions -from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.framework.interfaces import plugins from volatility3.framework.configuration import requirements @@ -53,18 +51,11 @@ class EBPF(plugins.PluginInterface): def _generator(self): vmlinux = self.context.modules[self.config["kernel"]] - vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] - bpf_prog_types = vmlinux.get_enumeration("bpf_prog_type") for prog in self.get_ebpf_programs(vmlinux): prog_addr = prog.vol.offset - prog_type = bpf_prog_types.lookup(prog.type) - prog_tag_addr = prog.tag.vol.offset - prog_tag_size = prog.tag.count - prog_tag_bytes = vmlinux_layer.read(prog_tag_addr, prog_tag_size) - prog_tag = binascii.hexlify(prog_tag_bytes).decode() - prog_name = ( - utility.array_to_string(prog.aux.name) or renderers.NotAvailableValue() - ) + prog_type = prog.get_type() or renderers.NotAvailableValue() + prog_tag = prog.get_tag() or renderers.NotAvailableValue() + prog_name = prog.get_name() or renderers.NotAvailableValue() fields = (format_hints.Hex(prog_addr), prog_name, prog_tag, prog_type) yield (0, fields) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 78217fbec..b0503b105 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -151,17 +151,15 @@ class SockHandlers(interfaces.configuration.VersionableInterface): bpfprog = sock_filter.prog - BPF_PROG_TYPE_UNSPEC = 0 # cBPF filter - try: - bpfprog_type = bpfprog.get_type() - if bpfprog_type == BPF_PROG_TYPE_UNSPEC: - return # cBPF filter - except AttributeError: + bpfprog_type = bpfprog.get_type() + if not bpfprog_type: # kernel < 3.18.140, it's a cBPF filter return None - BPF_PROG_TYPE_SOCKET_FILTER = 1 # eBPF filter - if bpfprog_type != BPF_PROG_TYPE_SOCKET_FILTER: + if bpfprog_type == "BPF_PROG_TYPE_UNSPEC": + return None # cBPF filter + + if bpfprog_type != "BPF_PROG_TYPE_SOCKET_FILTER": socket_filter["bpf_filter_type"] = f"UNK({bpfprog_type})" vollog.warning(f"Unexpected BPF type {bpfprog_type} for a socket") return None diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 248cb8d75..7a87135ff 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -38,6 +38,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): # Might not exist in the current symbols self.optional_set_type_class("module", extensions.module) self.optional_set_type_class("bpf_prog", extensions.bpf_prog) + self.optional_set_type_class("bpf_prog_aux", extensions.bpf_prog_aux) self.optional_set_type_class("kernel_cap_struct", extensions.kernel_cap_struct) self.optional_set_type_class("kernel_cap_t", extensions.kernel_cap_t) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 2d48f677b..2b971fb79 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -5,6 +5,7 @@ import collections.abc import logging import functools +import binascii import stat from datetime import datetime import socket as socket_module @@ -1607,20 +1608,59 @@ class xdp_sock(objects.StructType): class bpf_prog(objects.StructType): - def get_type(self): + def get_type(self) -> Union[str, None]: + """Returns a string with the eBPF program type""" + # The program type was in `bpf_prog_aux::prog_type` from 3.18.140 to # 4.1.52 before it was moved to `bpf_prog::type` if self.has_member("type"): # kernel >= 4.1.52 - return self.type + return self.type.description if self.has_member("aux") and self.aux: if self.aux.has_member("prog_type"): # 3.18.140 <= kernel < 4.1.52 - return self.aux.prog_type + return self.aux.prog_type.description # kernel < 3.18.140 - raise AttributeError("Unable to find the BPF type") + return None + + def get_tag(self) -> Union[str, None]: + """Returns a string with the eBPF program tag""" + # 'tag' was added in kernels 4.10 + if not self.has_member("tag"): + return None + + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] + + prog_tag_addr = self.tag.vol.offset + prog_tag_size = self.tag.count + prog_tag_bytes = vmlinux_layer.read(prog_tag_addr, prog_tag_size) + + prog_tag = binascii.hexlify(prog_tag_bytes).decode() + return prog_tag + + def get_name(self) -> Union[str, None]: + """Returns a string with the eBPF program name""" + if not self.has_member("aux"): + # 'prog_aux' was added in kernels 3.18 + return None + + return self.aux.get_name() + + +class bpf_prog_aux(objects.StructType): + def get_name(self) -> Union[str, None]: + """Returns a string with the eBPF program name""" + if not self.has_member("name"): + # 'name' was added in kernels 4.15 + return None + + if not self.name: + return None + + return utility.array_to_string(self.name) class cred(objects.StructType): From bd37aa3930c056fc8511969592f731a29e253c84 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 6 Aug 2024 04:48:49 -0700 Subject: [PATCH 0620/2186] PR review fixes: Fix pidhashtable plugin --- volatility3/framework/plugins/linux/pidhashtable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pidhashtable.py b/volatility3/framework/plugins/linux/pidhashtable.py index b24c73e77..ef110bdf1 100644 --- a/volatility3/framework/plugins/linux/pidhashtable.py +++ b/volatility3/framework/plugins/linux/pidhashtable.py @@ -191,7 +191,7 @@ class PIDHashTable(plugins.PluginInterface): "numbers" ) # kernels >= 2.6.24 - has_pid_numbers = self.vmlinux.has_type("upid") and self.vmlinux.get_type( + has_pid_chain = self.vmlinux.has_type("upid") and self.vmlinux.get_type( "upid" ).has_member( "pid_chain" @@ -205,7 +205,7 @@ class PIDHashTable(plugins.PluginInterface): if pid_idr: # kernels >= 4.15 return self._pid_namespace_idr - elif pid_hash and has_pid_numbers and has_pid_numbers: + elif pid_hash and has_pid_numbers and has_pid_numbers and has_pid_chain: # 2.6.24 <= kernels < 4.15 return self._pid_hash_implementation From 7df0636f30d47f1d5b9373671aac410549474766 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 6 Aug 2024 04:57:33 -0700 Subject: [PATCH 0621/2186] PR review fixes: Fix pidhashtable plugin explicit returns mixed with implicit returns --- volatility3/framework/plugins/linux/pidhashtable.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/pidhashtable.py b/volatility3/framework/plugins/linux/pidhashtable.py index ef110bdf1..73cdff452 100644 --- a/volatility3/framework/plugins/linux/pidhashtable.py +++ b/volatility3/framework/plugins/linux/pidhashtable.py @@ -50,19 +50,19 @@ class PIDHashTable(plugins.PluginInterface): self.vmlinux_layer = None def _is_valid_task(self, task): - return task and task.pid > 0 and self.vmlinux_layer.is_valid(task.parent) + return bool(task and task.pid > 0 and self.vmlinux_layer.is_valid(task.parent)) def _get_pidtype_pid(self): # The pid_type enumeration is present since 2.5.37, just in case pid_type_enum = self.vmlinux.get_enumeration("pid_type") if not pid_type_enum: vollog.error("Cannot find pid_type enum. Unsupported kernel") - return + return None pidtype_pid = pid_type_enum.choices.get("PIDTYPE_PID") if pidtype_pid is None: vollog.error("Cannot find PIDTYPE_PID. Unsupported kernel") - return + return None # Typically PIDTYPE_PID = 0 return pidtype_pid @@ -154,7 +154,7 @@ class PIDHashTable(plugins.PluginInterface): pid_tasks_0 = pid.tasks[pidtype_pid].first if not pid_tasks_0: - return + return None task_struct_type = self.vmlinux.get_type("task_struct") if task_struct_type.has_member("pids"): From 1e3e9e2c78cbfc4e24362c323432660c98373516 Mon Sep 17 00:00:00 2001 From: Arcuri Davide Date: Tue, 6 Aug 2024 16:28:59 +0200 Subject: [PATCH 0622/2186] add args and kwargs to threads.py init Without args and kwargs there were an issue with timeliner plugin that tried to pass additional parameters like progress_callback raising TypeError --- volatility3/framework/plugins/windows/threads.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index ae70e717b..39f3b7d77 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -18,9 +18,9 @@ class Threads(thrdscan.ThrdScan): _required_framework_version = (2, 4, 0) _version = (1, 0, 0) - def __init__(self): + def __init__(self, *args, **kwargs): self.implementation = self.list_process_threads - super().__init__() + super().__init__(*args, **kwargs) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 1d43eb305d993a1306cc3971333d8a28bfee03af Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Tue, 6 Aug 2024 15:18:49 -0700 Subject: [PATCH 0623/2186] fix invalid json on all files --- .../symbols/windows/consoles/consoles-win10-17763-3232-x64.json | 1 - .../symbols/windows/consoles/consoles-win10-17763-x64.json | 1 - .../symbols/windows/consoles/consoles-win10-18362-x64.json | 1 - .../symbols/windows/consoles/consoles-win10-19041-x64.json | 1 - .../symbols/windows/consoles/consoles-win10-20348-1970-x64.json | 1 - .../symbols/windows/consoles/consoles-win10-20348-2461-x64.json | 1 - 6 files changed, 6 deletions(-) diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json index ba17645c4..0a8cb5782 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json @@ -434,7 +434,6 @@ "BufferRows": { "type": { "kind": "pointer", - "name": "void", "subtype": { "kind": "struct", "name": "_ROWS_ARRAY" diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json index f11fb39b1..2b98945c9 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json @@ -434,7 +434,6 @@ "BufferRows": { "type": { "kind": "pointer", - "name": "void", "subtype": { "kind": "struct", "name": "_ROWS_ARRAY" diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json index 3c1fde26e..3d76d1cb4 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json @@ -434,7 +434,6 @@ "BufferRows": { "type": { "kind": "pointer", - "name": "void", "subtype": { "kind": "struct", "name": "_ROWS_ARRAY" diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json index 39ca5f0eb..681113b0f 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json @@ -434,7 +434,6 @@ "BufferRows": { "type": { "kind": "pointer", - "name": "void", "subtype": { "kind": "struct", "name": "_ROWS_ARRAY" diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json index e0935b4be..7bc6ae9d1 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json @@ -434,7 +434,6 @@ "BufferRows": { "type": { "kind": "pointer", - "name": "void", "subtype": { "kind": "struct", "name": "_ROWS_ARRAY" diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json index a4adf8028..f612c527a 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json @@ -434,7 +434,6 @@ "BufferRows": { "type": { "kind": "pointer", - "name": "void", "subtype": { "kind": "struct", "name": "_ROWS_ARRAY" From ac08f42cfd9b9f75067c7f0bd9162d15be05c8a2 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Sun, 4 Aug 2024 12:09:59 -0700 Subject: [PATCH 0624/2186] #816 - fix invalid json --- .../symbols/windows/consoles/consoles-win10-20348-x64.json | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json index 5cc7ab6f5..083a966a0 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json @@ -434,7 +434,6 @@ "BufferRows": { "type": { "kind": "pointer", - "name": "void", "subtype": { "kind": "struct", "name": "_ROWS_ARRAY" From 339a9a94f57adb2039984facf0cd22df0ba4bf90 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 6 Aug 2024 23:00:09 -0700 Subject: [PATCH 0625/2186] PR review fixes: pidhashtable plugin add missing typing. --- volatility3/framework/plugins/linux/pidhashtable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pidhashtable.py b/volatility3/framework/plugins/linux/pidhashtable.py index 73cdff452..3c429dc2f 100644 --- a/volatility3/framework/plugins/linux/pidhashtable.py +++ b/volatility3/framework/plugins/linux/pidhashtable.py @@ -49,7 +49,7 @@ class PIDHashTable(plugins.PluginInterface): self.vmlinux = None self.vmlinux_layer = None - def _is_valid_task(self, task): + def _is_valid_task(self, task) -> bool: return bool(task and task.pid > 0 and self.vmlinux_layer.is_valid(task.parent)) def _get_pidtype_pid(self): From c8cb4465da3d71a879b47d981fdd4871afd9d521 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 6 Aug 2024 23:08:21 -0700 Subject: [PATCH 0626/2186] PR review fixes: Remove filter function, it isn't needed --- volatility3/framework/plugins/linux/mountinfo.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index 319c92cca..dfb2e2f52 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -254,10 +254,7 @@ class MountInfo(plugins.PluginInterface): super_block: Kernel's struct super_block object """ # No filter so that we get all the mount namespaces from all tasks - pid_filter = pslist.PsList.create_pid_filter() - tasks = pslist.PsList.list_tasks( - self.context, self.config["kernel"], filter_func=pid_filter - ) + tasks = pslist.PsList.list_tasks(self.context, self.config["kernel"]) seen_sb_ptr = set() for task, mnt, _mnt_ns_id in self._get_tasks_mountpoints(tasks): From f737b88d03d9be9f4f0a9b43a83e02a88a620068 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 6 Aug 2024 23:12:01 -0700 Subject: [PATCH 0627/2186] PR review fixes: Improve _walk_dentry() and get_inodes() variable names, arguments and return values --- .../framework/plugins/linux/pagecache.py | 43 +++++++++++++------ 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index c36f8a339..cf09f23d8 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -6,7 +6,7 @@ import math import logging import datetime from dataclasses import dataclass, astuple -from typing import List +from typing import List, Set from volatility3.framework import renderers, interfaces from volatility3.framework.renderers import format_hints @@ -153,7 +153,23 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): return symlink_path @classmethod - def _walk_dentry(cls, seen_dentries, root_dentry, parent): + def _walk_dentry( + cls, + seen_dentries: Set[int], + root_dentry: interfaces.objects.ObjectInterface, + parent_dir: str, + ): + """Walk dentries recursively + + Args: + seen_dentries: A set to ensure each dentry is processed only once + root_dentry: Root dentry object + parent_dir: Parent directory path + + Yields: + file_path: Filename including path + dentry: Dentry object + """ for dentry in root_dentry.get_subdirs(): dentry_addr = dentry.vol.offset @@ -173,19 +189,16 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): # This allows us to have consistent paths if dentry.d_name.name: - name = dentry.d_name.name_as_str() + basename = dentry.d_name.name_as_str() # Do NOT use os.path.join() below - new_file = parent + "/" + name + file_path = parent_dir + "/" + basename else: continue - yield new_file, dentry, dentry.d_parent.vol.offset + yield file_path, dentry if inode.is_dir: - for new_file, dentry, parent_address in cls._walk_dentry( - seen_dentries, dentry, new_file - ): - yield new_file, dentry, parent_address + yield from cls._walk_dentry(seen_dentries, dentry, parent_dir=file_path) @classmethod def get_inodes( @@ -211,13 +224,15 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): seen_inodes = set() seen_dentries = set() for superblock, mountpoint in superblocks_iter: - parent = "" if mountpoint == "/" else mountpoint + parent_dir = "" if mountpoint == "/" else mountpoint # Superblock root dentry - root_dentry = superblock.s_root - if not root_dentry: + root_dentry_ptr = superblock.s_root + if not root_dentry_ptr: continue + root_dentry = root_dentry_ptr.dereference() + # Dentry sanity check if not root_dentry.is_root(): continue @@ -246,8 +261,8 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): yield inode_in # Children - for file_path, file_dentry, _ in cls._walk_dentry( - seen_dentries, root_dentry, parent + for file_path, file_dentry in cls._walk_dentry( + seen_dentries, root_dentry, parent_dir ): if not file_dentry: continue From 805b3514c3b14c53724cd38d722540d84949d51f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 7 Aug 2024 00:23:19 -0700 Subject: [PATCH 0628/2186] PR review fixes: Fix page flags list method name, this was introduced earlier in another commit of this PR. --- volatility3/framework/plugins/linux/pagecache.py | 2 +- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index cf09f23d8..fd62cc1e4 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -486,7 +486,7 @@ class InodePages(plugins.PluginInterface): page_index = int(page_obj.index) page_file_offset = page_index * vmlinux_layer.page_size dump_safe = page_file_offset < inode_size - page_flags_list = page_obj.get_flags() + page_flags_list = page_obj.get_flags_list() page_flags = ",".join([x.replace("PG_", "") for x in page_flags_list]) fields = ( page_vaddr, diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 2b971fb79..900cc9b6c 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2027,7 +2027,7 @@ class page(objects.StructType): return pageflags_enum - def flags_list(self) -> List[str]: + def get_flags_list(self) -> List[str]: """Returns a list of page flags Returns: From 46842981fb25aa6f1b242ef5990642fdeeb0cf00 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 7 Aug 2024 00:24:58 -0700 Subject: [PATCH 0629/2186] PR review fixes: Use contextlib.suppress() instead of an empty exception handler --- volatility3/framework/symbols/linux/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 7a87135ff..96bc56a18 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import math +import contextlib from abc import ABC, abstractmethod from typing import Iterator, List, Tuple, Optional, Union @@ -676,15 +677,13 @@ class RadixTree(Tree): return self.RADIX_TREE_INTERNAL_NODE def get_tree_height(self, treep) -> int: - try: + with contextlib.suppress(exceptions.SymbolError): if self.vmlinux.get_type("radix_tree_root").has_member("height"): # kernels < 4.7.10 radix_tree_root = self.vmlinux.object( "radix_tree_root", offset=treep, absolute=True ) return radix_tree_root.height - except exceptions.SymbolError: - pass # kernels >= 4.7.10 return 0 From 10376a2687b8546df88bf6b3a3e11126f8816479 Mon Sep 17 00:00:00 2001 From: Davide Arcuri Date: Wed, 7 Aug 2024 10:38:29 +0200 Subject: [PATCH 0630/2186] use one class with flag --- README.md | 2 +- pyproject.toml | 2 +- volatility3/framework/__init__.py | 2 +- .../framework/plugins/windows/vadyarascan.py | 7 +- volatility3/framework/plugins/yarascan.py | 81 ++++++++----------- 5 files changed, 38 insertions(+), 56 deletions(-) diff --git a/README.md b/README.md index 886790df8..1463c2bde 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ more details. ## Requirements -Volatility 3 requires Python 3.7.3 or later. To install the most minimal set of dependencies (some plugins will not work) use a command such as: +Volatility 3 requires Python 3.8.0 or later. To install the most minimal set of dependencies (some plugins will not work) use a command such as: ```shell pip3 install -r requirements-minimal.txt diff --git a/pyproject.toml b/pyproject.toml index 207f762cc..2e1636a43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ readme = "README.md" authors = [ { name = "Volatility Foundation", email = "volatility@volatilityfoundation.org" }, ] -requires-python = ">=3.7.3" +requires-python = ">=3.8.0" license = { text = "VSL" } dynamic = ["dependencies", "optional-dependencies", "version"] diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 74db773cf..51310bfa2 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -7,7 +7,7 @@ import glob import sys import zipfile -required_python_version = (3, 7, 3) +required_python_version = (3, 8, 0) if ( sys.version_info.major != required_python_version[0] or sys.version_info.minor < required_python_version[1] diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 4a84a1285..7bc3377c3 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -73,8 +73,9 @@ class VadYaraScan(interfaces.plugins.PluginInterface): ) continue + data = layer.read(start, size, True) if not yarascan.YaraScan._yara_x: - for match in rules.match(data=layer.read(start, size, True)): + for match in rules.match(data=data): if yarascan.YaraScan.yara_returns_instances(): for match_string in match.strings: for instance in match_string.instances: @@ -95,9 +96,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): value, ) else: - data = layer.read(start, size, True) - results = rules.scan(data) - for match in results.matching_rules: + for match in rules.scan(data).matching_rules: for match_string in match.patterns: for instance in match_string.matches: yield 0, ( diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 6a4dd9251..310bbd072 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -36,7 +36,7 @@ except ImportError: raise -class BaseYaraScanner(interfaces.layers.ScannerInterface): +class YaraScanner(interfaces.layers.ScannerInterface): _version = (2, 1, 0) # yara.Rules isn't exposed, so we can't type this properly @@ -45,32 +45,44 @@ class BaseYaraScanner(interfaces.layers.ScannerInterface): if rules is None: raise ValueError("No rules provided to YaraScanner") self._rules = rules - - -class YaraPythonScanner(BaseYaraScanner): - def __init__(self, rules) -> None: - super().__init__(rules) - self.st_object = not tuple(int(x) for x in yara.__version__.split(".")) < (4, 3) + self.st_object = ( + None + if USE_YARA_X + else not tuple(int(x) for x in yara.__version__.split(".")) < (4, 3) + ) def __call__( self, data: bytes, data_offset: int ) -> Iterable[Tuple[int, str, str, bytes]]: - for match in self._rules.match(data=data): - if YaraScan.yara_returns_instances(): - for match_string in match.strings: - for instance in match_string.instances: + if USE_YARA_X: + for match in self._rules.scan(data).matching_rules: + for match_string in match.patterns: + for instance in match_string.matches: yield ( instance.offset + data_offset, - match.rule, + f"{match.namespace}.{match.identifier}", match_string.identifier, - instance.matched_data, + data[instance.offset : instance.offset + instance.length], ) - else: - for offset, name, value in match.strings: - yield (offset + data_offset, match.rule, name, value) + else: + for match in self._rules.match(data=data): + if YaraScan.yara_returns_instances(): + for match_string in match.strings: + for instance in match_string.instances: + yield ( + instance.offset + data_offset, + match.rule, + match_string.identifier, + instance.matched_data, + ) + else: + for offset, name, value in match.strings: + yield (offset + data_offset, match.rule, name, value) @staticmethod def get_rule(rule): + if USE_YARA_X: + return yara_x.compile(f"rule r1 {{strings: $a = {rule} condition: $a}}") return yara.compile( sources={"n": f"rule r1 {{strings: $a = {rule} condition: $a}}"} ) @@ -78,47 +90,18 @@ class YaraPythonScanner(BaseYaraScanner): @staticmethod def from_compiled_file(filepath): with resources.ResourceAccessor().open(filepath, "rb") as fp: + if USE_YARA_X: + return yara_x.Rules.deserialize_from(file=fp) return yara.load(file=fp) @staticmethod def from_file(filepath): with resources.ResourceAccessor().open(filepath, "rb") as fp: + if USE_YARA_X: + return yara_x.compile(fp.read().decode()) return yara.compile(file=fp) -class YaraXScanner(BaseYaraScanner): - def __call__( - self, data: bytes, data_offset: int - ) -> Iterable[Tuple[int, str, str, bytes]]: - results = self._rules.scan(data) - for match in results.matching_rules: - for match_string in match.patterns: - for instance in match_string.matches: - yield ( - instance.offset + data_offset, - f"{match.namespace}.{match.identifier}", - match_string.identifier, - data[instance.offset : instance.offset + instance.length], - ) - - @staticmethod - def get_rule(rule): - return yara_x.compile(f"rule r1 {{strings: $a = {rule} condition: $a}}") - - @staticmethod - def from_compiled_file(filepath): - with resources.ResourceAccessor().open(filepath, "rb") as fp: - return yara_x.Rules.deserialize_from(file=fp) - - @staticmethod - def from_file(filepath): - with resources.ResourceAccessor().open(filepath, "rb") as fp: - return yara_x.compile(fp.read().decode()) - - -YaraScanner = YaraXScanner if USE_YARA_X else YaraPythonScanner - - class YaraScan(plugins.PluginInterface): """Scans kernel memory using yara rules (string or file).""" From de6637c9871ac16f1a5278c4831dfe60778852b9 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 8 Aug 2024 00:52:34 -0700 Subject: [PATCH 0631/2186] PR review fixes: ebpf plugin code improvement. Use the object_from_symbol() instead --- volatility3/framework/plugins/linux/ebpf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/ebpf.py b/volatility3/framework/plugins/linux/ebpf.py index 8df506b06..9d41c0ffb 100644 --- a/volatility3/framework/plugins/linux/ebpf.py +++ b/volatility3/framework/plugins/linux/ebpf.py @@ -43,8 +43,7 @@ class EBPF(plugins.PluginInterface): "Cannot find the eBPF prog idr. Unsupported kernel" ) - prog_idr_addr = vmlinux.get_symbol("prog_idr").address - prog_idr = vmlinux.object("idr", offset=prog_idr_addr) + prog_idr = vmlinux.object_from_symbol("prog_idr") for page_addr in prog_idr.get_page_addresses(): bpf_prog = vmlinux.object("bpf_prog", offset=page_addr, absolute=True) yield bpf_prog From ee10ba8abb7b8c932d9af85a37edefc3fd03fa63 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 8 Aug 2024 01:46:53 -0700 Subject: [PATCH 0632/2186] PR review fixes: Fix IDR explicit returns mixed with implicit returns and improve and fix code. --- .../symbols/linux/extensions/__init__.py | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 900cc9b6c..6eafd4173 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2134,7 +2134,7 @@ class IDR(objects.StructType): """Finds an ID within the IDR data structure. Based on idr_find_slowpath(), 3.9 <= Kernel < 4.11 Args: - idr_id: The IDR element ID + idr_id: The IDR lookup ID Returns: A pointer to the given ID element @@ -2144,28 +2144,28 @@ class IDR(objects.StructType): vollog.info( "Unsupported IDR implementation, it should be a very very old kernel, probabably < 2.6" ) - return + return None if idr_id < 0: - return + return None - cur_layer = self.top - if not cur_layer: - return + idr_layer = self.top + if not idr_layer: + return None - n = (cur_layer.layer + 1) * self.IDR_BITS + n = (idr_layer.layer + 1) * self.IDR_BITS - if idr_id > self.idr_max(cur_layer.layer + 1): - return + if idr_id > self.idr_max(idr_layer.layer + 1): + return None assert n != 0 - while n > 0 and cur_layer: + while n > 0 and idr_layer: n -= self.IDR_BITS - assert n == cur_layer.layer * self.IDR_BITS - cur_layer = cur_layer.ary[(idr_id >> n) & self.IDR_MASK] + assert n == idr_layer.layer * self.IDR_BITS + idr_layer = idr_layer.ary[(idr_id >> n) & self.IDR_MASK] - return cur_layer.v() + return idr_layer def _old_kernel_get_page_addresses(self, in_use) -> int: # Kernels < 4.11 From 0f3f33863370f68b7da3069db5b29282dabab932 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 8 Aug 2024 01:52:57 -0700 Subject: [PATCH 0633/2186] PR review fixes: Since the IDR, XArray and RadixTree can store any value, it renames the function names to a more generic name --- volatility3/framework/plugins/linux/ebpf.py | 2 +- .../framework/plugins/linux/pidhashtable.py | 2 +- volatility3/framework/symbols/linux/__init__.py | 4 ++-- .../symbols/linux/extensions/__init__.py | 16 +++++++++------- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/plugins/linux/ebpf.py b/volatility3/framework/plugins/linux/ebpf.py index 9d41c0ffb..70082daf5 100644 --- a/volatility3/framework/plugins/linux/ebpf.py +++ b/volatility3/framework/plugins/linux/ebpf.py @@ -44,7 +44,7 @@ class EBPF(plugins.PluginInterface): ) prog_idr = vmlinux.object_from_symbol("prog_idr") - for page_addr in prog_idr.get_page_addresses(): + for page_addr in prog_idr.get_entries(): bpf_prog = vmlinux.object("bpf_prog", offset=page_addr, absolute=True) yield bpf_prog diff --git a/volatility3/framework/plugins/linux/pidhashtable.py b/volatility3/framework/plugins/linux/pidhashtable.py index 3c429dc2f..c384cb5cd 100644 --- a/volatility3/framework/plugins/linux/pidhashtable.py +++ b/volatility3/framework/plugins/linux/pidhashtable.py @@ -175,7 +175,7 @@ class PIDHashTable(plugins.PluginInterface): ns_addr = self.vmlinux.get_symbol("init_pid_ns").address ns = self.vmlinux.object("pid_namespace", offset=ns_addr) - for page_addr in ns.idr.get_page_addresses(): + for page_addr in ns.idr.get_entries(): task = self._task_for_radix_pid_node(page_addr) if self._is_valid_task(task): yield task diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 96bc56a18..89f970275 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -572,7 +572,7 @@ class Tree(ABC): for child_node in self._iter_node(nodep, height - 1): yield child_node - def get_page_addresses(self, root: interfaces.objects.ObjectInterface) -> int: + def get_entries(self, root: interfaces.objects.ObjectInterface) -> int: """Walks the tree data structure Args: @@ -762,7 +762,7 @@ class PageCache(object): Page objects """ - for page_addr in self._tree.get_page_addresses(self._page_cache.i_pages): + for page_addr in self._tree.get_entries(self._page_cache.i_pages): if not page_addr: continue diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 6eafd4173..29af5c510 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2167,7 +2167,7 @@ class IDR(objects.StructType): return idr_layer - def _old_kernel_get_page_addresses(self, in_use) -> int: + def _old_kernel_get_entries(self) -> int: # Kernels < 4.11 total = next_id = 0 while total < in_use: @@ -2178,14 +2178,14 @@ class IDR(objects.StructType): next_id += 1 - def _new_kernel_get_page_addresses(self, _in_use) -> int: + def _new_kernel_get_entries(self) -> int: # Kernels >= 4.11 vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) tree = linux.LinuxUtilities.choose_kernel_tree(vmlinux) - for page_addr in tree.get_page_addresses(root=self.idr_rt): + for page_addr in tree.get_entries(root=self.idr_rt): yield page_addr - def get_page_addresses(self, in_use=0) -> int: + def get_entries(self) -> int: """Walks the IDR and yield a pointer associated with each element. Args: @@ -2195,9 +2195,11 @@ class IDR(objects.StructType): A pointer associated with each element. """ if self.has_member("idr_rt"): - get_page_addresses_func = self._new_kernel_get_page_addresses + # Kernels >= 4.11 + get_entries_func = self._new_kernel_get_entries else: - get_page_addresses_func = self._old_kernel_get_page_addresses + # Kernels < 4.11 + get_entries_func = self._old_kernel_get_entries - for page_addr in get_page_addresses_func(in_use): + for page_addr in get_entries_func(): yield page_addr From 7a8dea3356c709cda2bdd20b7cb3ff97f1f7987d Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 8 Aug 2024 01:57:35 -0700 Subject: [PATCH 0634/2186] PR review fixes: Code scanning complains about these unused variables. Let's comment them and adapt the FIXME message --- volatility3/framework/symbols/linux/extensions/__init__.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 29af5c510..9b03235cb 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2063,10 +2063,9 @@ class page(objects.StructType): vmemmap_start = vmemmap_base_l4 else: # 5-Level paging -> VMEMMAP_START = __VMEMMAP_BASE_L5 - vmemmap_base_l5 = 0xFFD4000000000000 - vmemmap_start = vmemmap_base_l5 - - # FIXME: Remove this exception once 5-level paging is supported. + # FIXME: Once 5-level paging is supported, uncomment the following lines and remove the exception + # vmemmap_base_l5 = 0xFFD4000000000000 + # vmemmap_start = vmemmap_base_l5 raise exceptions.VolatilityException( "5-level paging is not yet supported" ) From 06508a4afba235812e7d1b7bfb79467adf2ed6fc Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 8 Aug 2024 02:00:27 -0700 Subject: [PATCH 0635/2186] PR review fixes: Fix the IDR's old kernel get_entries --- .../framework/symbols/linux/extensions/__init__.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 9b03235cb..f7b0df6be 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2168,11 +2168,12 @@ class IDR(objects.StructType): def _old_kernel_get_entries(self) -> int: # Kernels < 4.11 + cur = self.cur total = next_id = 0 - while total < in_use: - page_addr = self.idr_find(next_id) - if page_addr: - yield page_addr + while next_id < cur: + entry = self.idr_find(next_id) + if entry: + yield entry total += 1 next_id += 1 From 2c85ea525e15c0cb745f3b806836f22ea44a4b4c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 8 Aug 2024 02:03:28 -0700 Subject: [PATCH 0636/2186] PR review fixes: Fix page extension object get_content() explicit returns mixed with implicit returns. --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index f7b0df6be..be4df6a13 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2102,7 +2102,7 @@ class page(objects.StructType): physical_layer = vmlinux.context.layers["memory_layer"] page_paddr = self.to_paddr() if not page_paddr: - return + return None page_data = physical_layer.read(page_paddr, vmlinux_layer.page_size) return page_data From f22575669a6ccd9afaeef126e81a6adad8b880f6 Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Fri, 9 Aug 2024 10:20:28 +0200 Subject: [PATCH 0637/2186] Modifications following the review --- volatility3/framework/plugins/linux/lsof.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 167556e7d..9a0fd7417 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -66,7 +66,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): ) except (exceptions.InvalidAddressException, AttributeError) as e: vollog.warning(f"Can't get inode metadata: {e}") - return tuple(renderers.NotAvailableValue() for _ in range(7)) + return None @classmethod def list_fds( @@ -103,6 +103,10 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): context, symbol_table, filter_func ): inode_metadata = cls.get_inode_metadata(filp) + if inode_metadata is None: + inode_metadata = tuple( + interfaces.renderers.BaseAbsentValue() for _ in range(7) + ) yield pid, task_comm, task, fd_num, filp, full_path, inode_metadata def _generator(self, pids, symbol_table): From 53f3d12341e722f1058c42436adfea600af94bab Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 9 Aug 2024 23:35:41 -0700 Subject: [PATCH 0638/2186] linuxutilities code improvement. Remove code duplication --- volatility3/framework/symbols/linux/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 89f970275..90f5cc8a2 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -419,9 +419,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): Returns: A kernel object (vmlinux) """ - symbol_table_arr = volobj.vol.type_name.split("!", 1) - symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None - + symbol_table = volobj.get_symbol_table_name() module_names = context.modules.get_modules_by_symbol_tables(symbol_table) module_names = list(module_names) From 17861618df3744d572955b50b2b1b1ad1d0961e5 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 10 Aug 2024 00:13:38 -0700 Subject: [PATCH 0639/2186] PR review fixes: Rename Tree to IDStorage. Move choose_id_storage() form LinuxUtilities to IDStorage. Use context and kernel_module_name instead of vmlinux --- .../framework/symbols/linux/__init__.py | 87 +++++++++++-------- .../symbols/linux/extensions/__init__.py | 14 +-- 2 files changed, 59 insertions(+), 42 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 90f5cc8a2..632ac2f6b 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -431,17 +431,51 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return kernel + +class IDStorage(ABC): + """Abstraction to support both XArray and RadixTree""" + + # Dynamic values, these will be initialized later + CHUNK_SHIFT = None + CHUNK_SIZE = None + CHUNK_MASK = None + + def __init__( + self, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + ): + self.vmlinux = context.modules[kernel_module_name] + self.vmlinux_layer = self.vmlinux.context.layers[self.vmlinux.layer_name] + + self.pointer_size = self.vmlinux.get_type("pointer").size + # Dynamically work out the (XA_CHUNK|RADIX_TREE_MAP)_SHIFT values based on + # the node.slots[] array size + node_type = self.vmlinux.get_type(self.node_type_name) + slots_array_size = node_type.child_template("slots").count + + # Calculate the LSB index - 1 + self.CHUNK_SHIFT = slots_array_size.bit_length() - 1 + self.CHUNK_SIZE = 1 << self.CHUNK_SHIFT + self.CHUNK_MASK = self.CHUNK_SIZE - 1 + @classmethod - def choose_kernel_tree(cls, vmlinux: interfaces.context.ModuleInterface) -> "Tree": - """Returns the appropriate tree data structure instance for the current kernel implementation. + def choose_id_storage( + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + ) -> "IDStorage": + """Returns the appropriate ID storage data structure instance for the current kernel implementation. This is used by the IDR and the PageCache to choose between the XArray and RadixTree. Args: - vmlinux: The kernel module object + context: The context to retrieve required elements (layers, symbol tables) from + kernel_module_name: The name of the kernel module on which to operate Returns: - The appropriate Tree instance for the current kernel + The appropriate ID storage instance for the current kernel """ + vmlinux = context.modules[kernel_module_name] address_space_type = vmlinux.get_type("address_space") address_space_has_i_pages = address_space_type.has_member("i_pages") i_pages_type_name = ( @@ -455,33 +489,9 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): ) and vmlinux.get_type("radix_tree_root").has_member("xa_head") if i_pages_is_xarray or i_pages_is_radix_tree_root: - return XArray(vmlinux) + return XArray(context, kernel_module_name) else: - return RadixTree(vmlinux) - - -class Tree(ABC): - """Abstraction to support both XArray and RadixTree""" - - # Dynamic values, these will be initialized later - CHUNK_SHIFT = None - CHUNK_SIZE = None - CHUNK_MASK = None - - def __init__(self, vmlinux: interfaces.context.ModuleInterface): - self.vmlinux = vmlinux - self.vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] - - self.pointer_size = self.vmlinux.get_type("pointer").size - # Dynamically work out the (XA_CHUNK|RADIX_TREE_MAP)_SHIFT values based on - # the node.slots[] array size - node_type = self.vmlinux.get_type(self.node_type_name) - slots_array_size = node_type.child_template("slots").count - - # Calculate the LSB index - 1 - self.CHUNK_SHIFT = slots_array_size.bit_length() - 1 - self.CHUNK_SIZE = 1 << self.CHUNK_SHIFT - self.CHUNK_MASK = self.CHUNK_SIZE - 1 + return RadixTree(context, kernel_module_name) @property @abstractmethod @@ -601,7 +611,7 @@ class Tree(ABC): yield child_node -class XArray(Tree): +class XArray(IDStorage): XARRAY_TAG_MASK = 3 XARRAY_TAG_INTERNAL = 2 @@ -637,7 +647,7 @@ class XArray(Tree): return not self.is_node_tagged(nodep) -class RadixTree(Tree): +class RadixTree(IDStorage): RADIX_TREE_INTERNAL_NODE = 1 RADIX_TREE_EXCEPTIONAL_ENTRY = 2 RADIX_TREE_ENTRY_MASK = 3 @@ -741,17 +751,20 @@ class PageCache(object): def __init__( self, + context: interfaces.context.ContextInterface, + kernel_module_name: str, page_cache: interfaces.objects.ObjectInterface, - vmlinux: interfaces.context.ModuleInterface, ): """ Args: + context: interfaces.context.ContextInterface, + kernel_module_name: The name of the kernel module on which to operate page_cache: Page cache address space - vmlinux: Kernel module object """ - self.vmlinux = vmlinux + self.vmlinux = context.modules[kernel_module_name] + self._page_cache = page_cache - self._tree = LinuxUtilities.choose_kernel_tree(self.vmlinux) + self._idstorage = IDStorage.choose_id_storage(context, kernel_module_name) def get_cached_pages(self) -> interfaces.objects.ObjectInterface: """Returns all page cache contents @@ -760,7 +773,7 @@ class PageCache(object): Page objects """ - for page_addr in self._tree.get_entries(self._page_cache.i_pages): + for page_addr in self._idstorage.get_entries(self._page_cache.i_pages): if not page_addr: continue diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index be4df6a13..d00af7a3f 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1972,8 +1972,11 @@ class inode(objects.StructType): elif not (self.i_mapping and self.i_mapping.nrpages > 0): return - vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) - page_cache = linux.PageCache(self.i_mapping.dereference(), vmlinux) + page_cache = linux.PageCache( + context=self._context, + kernel_module_name="kernel", + page_cache=self.i_mapping.dereference(), + ) yield from page_cache.get_cached_pages() def get_contents(self): @@ -2180,9 +2183,10 @@ class IDR(objects.StructType): def _new_kernel_get_entries(self) -> int: # Kernels >= 4.11 - vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) - tree = linux.LinuxUtilities.choose_kernel_tree(vmlinux) - for page_addr in tree.get_entries(root=self.idr_rt): + id_storage = linux.IDStorage.choose_id_storage( + self._context, kernel_module_name="kernel" + ) + for page_addr in id_storage.get_entries(root=self.idr_rt): yield page_addr def get_entries(self) -> int: From 8f9d565f6300750ad30c0aaca0aa01cfbcb1a417 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 10 Aug 2024 00:49:18 -0700 Subject: [PATCH 0640/2186] PR review fixes: Fix minor typo to match verb form from other docstrings --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index fd62cc1e4..f062655a6 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -159,7 +159,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): root_dentry: interfaces.objects.ObjectInterface, parent_dir: str, ): - """Walk dentries recursively + """Walks dentries recursively Args: seen_dentries: A set to ensure each dentry is processed only once From f804b44ff6f8451e8f1091383b8d9c2300f7bfbb Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 13 Aug 2024 01:00:57 -0700 Subject: [PATCH 0641/2186] Fix test.yaml, it should remove *.bin and not *.lime. There is no *.lime atm. --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 55b2e4b60..668b814ce 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -46,7 +46,7 @@ jobs: - name: Clean up post-test run: | - rm -rf *.lime + rm -rf *.bin rm -rf *.img cd volatility3/symbols rm -rf linux From 7efa2210a550d55f356b6ebb35cafcdfd4a58d1f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 13 Aug 2024 01:05:44 -0700 Subject: [PATCH 0642/2186] PR review fixes: Adjust LinuxUtilities version since we moved choose_id_storage() back to the IDStorage class. --- volatility3/framework/plugins/linux/pidhashtable.py | 2 +- volatility3/framework/symbols/linux/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pidhashtable.py b/volatility3/framework/plugins/linux/pidhashtable.py index c384cb5cd..9a2528543 100644 --- a/volatility3/framework/plugins/linux/pidhashtable.py +++ b/volatility3/framework/plugins/linux/pidhashtable.py @@ -34,7 +34,7 @@ class PIDHashTable(plugins.PluginInterface): name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), requirements.VersionRequirement( - name="linuxutils", component=linux.LinuxUtilities, version=(2, 2, 0) + name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) ), requirements.BooleanRequirement( name="decorate_comm", diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 632ac2f6b..91abf7db4 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -74,7 +74,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" - _version = (2, 2, 0) + _version = (2, 1, 1) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) From 918584537fafd67b2367e283871889bf291b2951 Mon Sep 17 00:00:00 2001 From: Steven Luke <97394870+sluke-nuix@users.noreply.github.com> Date: Tue, 13 Aug 2024 08:34:35 -0400 Subject: [PATCH 0643/2186] Update the modules.Modules version requirement. This is a response to PR [#1173](https://github.com/volatilityfoundation/volatility3/pull/1173) --- volatility3/framework/plugins/windows/truecrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/truecrypt.py b/volatility3/framework/plugins/windows/truecrypt.py index 81250a749..7fd26cb4e 100644 --- a/volatility3/framework/plugins/windows/truecrypt.py +++ b/volatility3/framework/plugins/windows/truecrypt.py @@ -33,7 +33,7 @@ class Passphrase(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="modules", component=modules.Modules, version=(1, 1, 0) + name="modules", component=modules.Modules, version=(2, 0, 0) ), requirements.IntRequirement( name="min-length", From 87fe3444ebb0d3bf7595c6cefc24f04145ff8dae Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 14 Aug 2024 23:50:39 -0700 Subject: [PATCH 0644/2186] Linux: Add support for mount namespace in kernels 6.8+. This fixes volatilityfoundation/volatility3#1187 --- .../framework/symbols/linux/__init__.py | 33 +++++++++++++++ .../symbols/linux/extensions/__init__.py | 42 +++++++++++++++---- 2 files changed, 68 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 03353135d..525492141 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -425,3 +425,36 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): kernel = context.modules[kernel_module_name] return kernel + + +class RBTree(object): + """Simple Red-Black tree abstraction""" + + def __init__(self, root): + self.root = root + + def _walk_nodes(self, root_node) -> Iterator[int]: + """Traverses the Red-Black tree from the root node and yields a pointer to each + node in this tree. + + Args: + root_node: A Red-Black tree node from which to start descending + + Yields: + A pointer to every node descending from the specified root node + """ + if not root_node: + return + + yield root_node + yield from self._walk_nodes(root_node.rb_left) + yield from self._walk_nodes(root_node.rb_right) + + def get_nodes(self) -> Iterator[int]: + """Yields a pointer to each node in the Red-Black tree + + Yields: + A pointer to every node in the Red-Black tree + """ + + yield from self._walk_nodes(root_node=self.root.rb_node) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 05679523f..645f493cb 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1299,14 +1299,42 @@ class mnt_namespace(objects.StructType): else: raise AttributeError("Unable to find mnt_namespace inode") - def get_mount_points(self): + def get_mount_points( + self, + ) -> Iterator[interfaces.objects.ObjectInterface]: + """Yields the mount points for this mount namespace. + + Yields: + mount struct instances + """ table_name = self.vol.type_name.split(constants.BANG)[0] - mnt_type = table_name + constants.BANG + "mount" - if not self._context.symbol_space.has_type(mnt_type): - # Old kernels ~ 2.6 - mnt_type = table_name + constants.BANG + "vfsmount" - for mount in self.list.to_list(mnt_type, "mnt_list"): - yield mount + + if self.has_member("list"): + # kernels < 6.8 + mnt_type = table_name + constants.BANG + "mount" + if not self._context.symbol_space.has_type(mnt_type): + # In kernels < 3.3, the 'mount' struct didn't exist, and the 'mnt_list' + # member was part of the 'vfsmount' struct. + mnt_type = table_name + constants.BANG + "vfsmount" + + yield from self.list.to_list(mnt_type, "mnt_list") + elif ( + self.has_member("mounts") + and self.mounts.vol.type_name == table_name + constants.BANG + "rb_root" + ): + # kernels >= 6.8 + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type( + self._context, self + ) + for node in linux.RBTree(self.mounts).get_nodes(): + mnt = linux.LinuxUtilities.container_of( + node, "mount", "mnt_list", vmlinux + ) + yield mnt + else: + raise exceptions.VolatilityException( + "Unsupported kernel mount namespace implementation" + ) class net(objects.StructType): From 4513806a7ec7f8c4da746a7ffde952d9f170a07f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 15 Aug 2024 07:55:45 -0700 Subject: [PATCH 0645/2186] Move RBTree to the rb_root extension object for better integration --- .../framework/symbols/linux/__init__.py | 34 +------------------ .../symbols/linux/extensions/__init__.py | 30 +++++++++++++++- 2 files changed, 30 insertions(+), 34 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 525492141..c2eb3d791 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -46,6 +46,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): # Might not exist in older kernels or the current symbols self.optional_set_type_class("mount", extensions.mount) self.optional_set_type_class("mnt_namespace", extensions.mnt_namespace) + self.optional_set_type_class("rb_root", extensions.rb_root) # Network self.set_type_class("net", extensions.net) @@ -425,36 +426,3 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): kernel = context.modules[kernel_module_name] return kernel - - -class RBTree(object): - """Simple Red-Black tree abstraction""" - - def __init__(self, root): - self.root = root - - def _walk_nodes(self, root_node) -> Iterator[int]: - """Traverses the Red-Black tree from the root node and yields a pointer to each - node in this tree. - - Args: - root_node: A Red-Black tree node from which to start descending - - Yields: - A pointer to every node descending from the specified root node - """ - if not root_node: - return - - yield root_node - yield from self._walk_nodes(root_node.rb_left) - yield from self._walk_nodes(root_node.rb_right) - - def get_nodes(self) -> Iterator[int]: - """Yields a pointer to each node in the Red-Black tree - - Yields: - A pointer to every node in the Red-Black tree - """ - - yield from self._walk_nodes(root_node=self.root.rb_node) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 645f493cb..c18cd093d 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1326,7 +1326,7 @@ class mnt_namespace(objects.StructType): vmlinux = linux.LinuxUtilities.get_module_from_volobj_type( self._context, self ) - for node in linux.RBTree(self.mounts).get_nodes(): + for node in self.mounts.get_nodes(): mnt = linux.LinuxUtilities.container_of( node, "mount", "mnt_list", vmlinux ) @@ -1925,3 +1925,31 @@ class inode(objects.StructType): The inode's file mode string """ return stat.filemode(self.i_mode) + + +class rb_root(objects.StructType): + def _walk_nodes(self, root_node) -> Iterator[int]: + """Traverses the Red-Black tree from the root node and yields a pointer to each + node in this tree. + + Args: + root_node: A Red-Black tree node from which to start descending + + Yields: + A pointer to every node descending from the specified root node + """ + if not root_node: + return + + yield root_node + yield from self._walk_nodes(root_node.rb_left) + yield from self._walk_nodes(root_node.rb_right) + + def get_nodes(self) -> Iterator[int]: + """Yields a pointer to each node in the Red-Black tree + + Yields: + A pointer to every node in the Red-Black tree + """ + + yield from self._walk_nodes(root_node=self.rb_node) From 8d7edfdca6fa84983b4ee734e3f45a9d07c28ff1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 21 Aug 2024 20:36:09 +0100 Subject: [PATCH 0646/2186] Bump as the release branch has been cut --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index f219fb0af..4df0b9041 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 8 # Number of changes that only add to the interface -VERSION_PATCH = 0 # Number of changes that do not change the interface +VERSION_PATCH = 1 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From 71cdca5883b234680773e000a663750964d4860e Mon Sep 17 00:00:00 2001 From: k1nd0ne Date: Thu, 22 Aug 2024 16:45:04 +0200 Subject: [PATCH 0647/2186] Updating version + docstring --- volatility3/framework/plugins/linux/lsof.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 9a0fd7417..360f89749 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -18,10 +18,10 @@ vollog = logging.getLogger(__name__) class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): - """Lists all memory maps for all processes.""" + """Lists open files for each processes.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (1, 2, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From feae6a9aa0f5c7869174e0b906ec83e61b3e14e3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 24 Aug 2024 00:42:52 +1000 Subject: [PATCH 0648/2186] PR review fixes: Use plugin's open method instead of the builtin open() --- volatility3/framework/plugins/linux/pagecache.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index f062655a6..cf4151c85 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -6,7 +6,7 @@ import math import logging import datetime from dataclasses import dataclass, astuple -from typing import List, Set +from typing import List, Set, Type from volatility3.framework import renderers, interfaces from volatility3.framework.renderers import format_hints @@ -408,6 +408,7 @@ class InodePages(plugins.PluginInterface): def write_inode_content_to_file( inode: interfaces.objects.ObjectInterface, filename: str, + open_method: Type[interfaces.plugins.FileHandlerInterface], vmlinux_layer: interfaces.layers.TranslationLayerInterface, ) -> None: """Extracts the inode's contents from the page cache and saves them to a file @@ -415,6 +416,7 @@ class InodePages(plugins.PluginInterface): Args: inode: The inode to dump filename: Filename for writing the inode content + open_method: class for constructing output files vmlinux_layer: The kernel layer to obtain the page size """ if not inode.is_reg: @@ -426,7 +428,7 @@ class InodePages(plugins.PluginInterface): # Additionally, using the page index will guarantee that each page is written at the # appropriate file position. try: - with open(filename, "wb") as f: + with open_method(filename) as f: inode_size = inode.i_size f.truncate(inode_size) @@ -502,7 +504,7 @@ class InodePages(plugins.PluginInterface): if self.config["dump"]: filename = self.config["dump"] vollog.info("[*] Writing inode at 0x%x to '%s'", inode.vol.offset, filename) - self.write_inode_content_to_file(inode, filename, vmlinux_layer) + self.write_inode_content_to_file(inode, filename, self.open, vmlinux_layer) def run(self): headers = [ From 3c70c1b9f7c2251e35eea276f5d5099b68392a48 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 24 Aug 2024 00:58:04 +1000 Subject: [PATCH 0649/2186] PR review fixes: Use context and module_name instead of vmlinux in ebpf plugin --- volatility3/framework/plugins/linux/ebpf.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/linux/ebpf.py b/volatility3/framework/plugins/linux/ebpf.py index 70082daf5..2267dd922 100644 --- a/volatility3/framework/plugins/linux/ebpf.py +++ b/volatility3/framework/plugins/linux/ebpf.py @@ -29,15 +29,21 @@ class EBPF(plugins.PluginInterface): ), ] - def get_ebpf_programs(self, vmlinux) -> interfaces.objects.ObjectInterface: + def get_ebpf_programs( + self, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> interfaces.objects.ObjectInterface: """Enumerate eBPF programs walking its IDR. Args: - vmlinux: The kernel symbols object - + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate Yields: eBPF program objects """ + vmlinux = context.modules[vmlinux_module_name] + if not vmlinux.has_symbol("prog_idr"): raise exceptions.VolatilityException( "Cannot find the eBPF prog idr. Unsupported kernel" @@ -49,8 +55,7 @@ class EBPF(plugins.PluginInterface): yield bpf_prog def _generator(self): - vmlinux = self.context.modules[self.config["kernel"]] - for prog in self.get_ebpf_programs(vmlinux): + for prog in self.get_ebpf_programs(self.context, self.config["kernel"]): prog_addr = prog.vol.offset prog_type = prog.get_type() or renderers.NotAvailableValue() prog_tag = prog.get_tag() or renderers.NotAvailableValue() From 695635199e2bd3af11bee522e054719ee1898db6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 24 Aug 2024 01:14:09 +1000 Subject: [PATCH 0650/2186] PR review fixes: Avoid saving state in the pidhashtable plugin --- .../framework/plugins/linux/pidhashtable.py | 79 +++++++++++-------- 1 file changed, 44 insertions(+), 35 deletions(-) diff --git a/volatility3/framework/plugins/linux/pidhashtable.py b/volatility3/framework/plugins/linux/pidhashtable.py index 9a2528543..3223aed4a 100644 --- a/volatility3/framework/plugins/linux/pidhashtable.py +++ b/volatility3/framework/plugins/linux/pidhashtable.py @@ -44,17 +44,16 @@ class PIDHashTable(plugins.PluginInterface): ), ] - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - self.vmlinux = None - self.vmlinux_layer = None - def _is_valid_task(self, task) -> bool: - return bool(task and task.pid > 0 and self.vmlinux_layer.is_valid(task.parent)) + vmlinux = self.context.modules[self.config["kernel"]] + vmlinux_layer = self.context.layers[vmlinux.layer_name] + return bool(task and task.pid > 0 and vmlinux_layer.is_valid(task.parent)) def _get_pidtype_pid(self): + vmlinux = self.context.modules[self.config["kernel"]] + # The pid_type enumeration is present since 2.5.37, just in case - pid_type_enum = self.vmlinux.get_enumeration("pid_type") + pid_type_enum = vmlinux.get_enumeration("pid_type") if not pid_type_enum: vollog.error("Cannot find pid_type enum. Unsupported kernel") return None @@ -68,38 +67,46 @@ class PIDHashTable(plugins.PluginInterface): return pidtype_pid def _get_pidhash_array(self): - pidhash_shift = self.vmlinux.object_from_symbol("pidhash_shift") + vmlinux = self.context.modules[self.config["kernel"]] + + pidhash_shift = vmlinux.object_from_symbol("pidhash_shift") pidhash_size = 1 << pidhash_shift - array_type_name = self.vmlinux.symbol_table_name + constants.BANG + "array" + array_type_name = vmlinux.symbol_table_name + constants.BANG + "array" - pidhash_ptr = self.vmlinux.object_from_symbol("pid_hash") + pidhash_ptr = vmlinux.object_from_symbol("pid_hash") # pidhash is an array of hlist_heads pidhash = self._context.object( array_type_name, offset=pidhash_ptr, - subtype=self.vmlinux.get_type("hlist_head"), + subtype=vmlinux.get_type("hlist_head"), count=pidhash_size, - layer_name=self.vmlinux.layer_name, + layer_name=vmlinux.layer_name, ) return pidhash def _walk_upid(self, seen_upids, upid): - while upid and self.vmlinux_layer.is_valid(upid.vol.offset): + vmlinux = self.context.modules[self.config["kernel"]] + vmlinux_layer = self.context.layers[vmlinux.layer_name] + + while upid and vmlinux_layer.is_valid(upid.vol.offset): if upid.vol.offset in seen_upids: break seen_upids.add(upid.vol.offset) pid_chain = upid.pid_chain - if not (pid_chain and self.vmlinux_layer.is_valid(pid_chain.vol.offset)): + if not (pid_chain and vmlinux_layer.is_valid(pid_chain.vol.offset)): break upid = linux.LinuxUtilities.container_of( - pid_chain.next, "upid", "pid_chain", self.vmlinux + pid_chain.next, "upid", "pid_chain", vmlinux ) def _get_upids(self): + vmlinux = self.context.modules[self.config["kernel"]] + vmlinux_layer = self.context.layers[vmlinux.layer_name] + # 2.6.24 <= kernels < 4.15 pidhash = self._get_pidhash_array() @@ -108,10 +115,10 @@ class PIDHashTable(plugins.PluginInterface): # each entry in the hlist is a upid which is wrapped in a pid ent = hlist.first - while ent and self.vmlinux_layer.is_valid(ent.vol.offset): + while ent and vmlinux_layer.is_valid(ent.vol.offset): # upid->pid_chain exists 2.6.24 <= kernel < 4.15 upid = linux.LinuxUtilities.container_of( - ent.vol.offset, "upid", "pid_chain", self.vmlinux + ent.vol.offset, "upid", "pid_chain", vmlinux ) if upid.vol.offset in seen_upids: @@ -124,16 +131,14 @@ class PIDHashTable(plugins.PluginInterface): return seen_upids def _pid_hash_implementation(self): + vmlinux = self.context.modules[self.config["kernel"]] + # 2.6.24 <= kernels < 4.15 - task_pids_off = self.vmlinux.get_type("task_struct").relative_child_offset( - "pids" - ) + task_pids_off = vmlinux.get_type("task_struct").relative_child_offset("pids") pidtype_pid = self._get_pidtype_pid() for upid in self._get_upids(): - pid = linux.LinuxUtilities.container_of( - upid, "pid", "numbers", self.vmlinux - ) + pid = linux.LinuxUtilities.container_of(upid, "pid", "numbers", vmlinux) if not pid: continue @@ -141,22 +146,24 @@ class PIDHashTable(plugins.PluginInterface): if not pid_tasks_0: continue - task = self.vmlinux.object( + task = vmlinux.object( "task_struct", offset=pid_tasks_0 - task_pids_off, absolute=True ) if self._is_valid_task(task): yield task def _task_for_radix_pid_node(self, nodep): + vmlinux = self.context.modules[self.config["kernel"]] + # kernels >= 4.15 - pid = self.vmlinux.object("pid", offset=nodep, absolute=True) + pid = vmlinux.object("pid", offset=nodep, absolute=True) pidtype_pid = self._get_pidtype_pid() pid_tasks_0 = pid.tasks[pidtype_pid].first if not pid_tasks_0: return None - task_struct_type = self.vmlinux.get_type("task_struct") + task_struct_type = vmlinux.get_type("task_struct") if task_struct_type.has_member("pids"): member = "pids" elif task_struct_type.has_member("pid_links"): @@ -165,15 +172,17 @@ class PIDHashTable(plugins.PluginInterface): return None task_pids_off = task_struct_type.relative_child_offset(member) - task = self.vmlinux.object( + task = vmlinux.object( "task_struct", offset=pid_tasks_0 - task_pids_off, absolute=True ) return task def _pid_namespace_idr(self): + vmlinux = self.context.modules[self.config["kernel"]] + # kernels >= 4.15 - ns_addr = self.vmlinux.get_symbol("init_pid_ns").address - ns = self.vmlinux.object("pid_namespace", offset=ns_addr) + ns_addr = vmlinux.get_symbol("init_pid_ns").address + ns = vmlinux.object("pid_namespace", offset=ns_addr) for page_addr in ns.idr.get_entries(): task = self._task_for_radix_pid_node(page_addr) @@ -181,24 +190,26 @@ class PIDHashTable(plugins.PluginInterface): yield task def _determine_pid_func(self): - pid_hash = self.vmlinux.has_symbol("pid_hash") and self.vmlinux.has_symbol( + vmlinux = self.context.modules[self.config["kernel"]] + + pid_hash = vmlinux.has_symbol("pid_hash") and vmlinux.has_symbol( "pidhash_shift" ) # 2.5.55 <= kernels < 4.15 - has_pid_numbers = self.vmlinux.has_type("pid") and self.vmlinux.get_type( + has_pid_numbers = vmlinux.has_type("pid") and vmlinux.get_type( "pid" ).has_member( "numbers" ) # kernels >= 2.6.24 - has_pid_chain = self.vmlinux.has_type("upid") and self.vmlinux.get_type( + has_pid_chain = vmlinux.has_type("upid") and vmlinux.get_type( "upid" ).has_member( "pid_chain" ) # 2.6.24 <= kernels < 4.15 # kernels >= 4.15 - pid_idr = self.vmlinux.has_type("pid_namespace") and self.vmlinux.get_type( + pid_idr = vmlinux.has_type("pid_namespace") and vmlinux.get_type( "pid_namespace" ).has_member("idr") @@ -217,8 +228,6 @@ class PIDHashTable(plugins.PluginInterface): Yields: task_struct objects """ - self.vmlinux = self.context.modules[self.config["kernel"]] - self.vmlinux_layer = self.context.layers[self.vmlinux.layer_name] pid_func = self._determine_pid_func() if not pid_func: vollog.error("Cannot determine which PID hash table this kernel is using") From d964e6f61de00b5a8608d48d468d9a59b7923ec7 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 24 Aug 2024 02:06:06 +1000 Subject: [PATCH 0651/2186] PR review fixes: Check for LinuxUtilities version everywhere we use it --- .../symbols/linux/extensions/__init__.py | 48 +++++++++++++++++-- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d00af7a3f..51dc37d31 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -13,6 +13,7 @@ from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union, from volatility3.framework import constants, exceptions, objects, interfaces, symbols from volatility3.framework.renderers import conversion +from volatility3.framework.configuration import requirements from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS @@ -1608,6 +1609,19 @@ class xdp_sock(objects.StructType): class bpf_prog(objects.StructType): + def _get_vmlinux(self): + linuxutils_required_version = (2, 1, 1) + linuxutils_current_version = linux.LinuxUtilities._version + if not requirements.VersionRequirement.matches_required( + linuxutils_required_version, linuxutils_current_version + ): + raise exceptions.PluginRequirementException( + f"linux.LinuxUtilities version not suitable: required {linuxutils_required_version} found {linuxutils_current_version}" + ) + + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + return vmlinux + def get_type(self) -> Union[str, None]: """Returns a string with the eBPF program type""" @@ -1631,7 +1645,7 @@ class bpf_prog(objects.StructType): if not self.has_member("tag"): return None - vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + vmlinux = self._get_vmlinux() vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] prog_tag_addr = self.tag.vol.offset @@ -2043,13 +2057,26 @@ class page(objects.StructType): return flags + def _get_vmlinux(self): + linuxutils_required_version = (2, 1, 1) + linuxutils_current_version = linux.LinuxUtilities._version + if not requirements.VersionRequirement.matches_required( + linuxutils_required_version, linuxutils_current_version + ): + raise exceptions.PluginRequirementException( + f"linux.LinuxUtilities version not suitable: required {linuxutils_required_version} found {linuxutils_current_version}" + ) + + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + return vmlinux + def to_paddr(self) -> int: """Converts a page's virtual address to its physical address using the current physical memory model. Returns: int: page physical address """ - vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + vmlinux = self._get_vmlinux() vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] vmemmap_start = None @@ -2100,7 +2127,7 @@ class page(objects.StructType): Returns: The page content """ - vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + vmlinux = self._get_vmlinux() vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] physical_layer = vmlinux.context.layers["memory_layer"] page_paddr = self.to_paddr() @@ -2118,6 +2145,19 @@ class IDR(objects.StructType): MAX_IDR_SHIFT = INT_SIZE * 8 - 1 MAX_IDR_BIT = 1 << MAX_IDR_SHIFT + def _get_vmlinux(self): + linuxutils_required_version = (2, 1, 1) + linuxutils_current_version = linux.LinuxUtilities._version + if not requirements.VersionRequirement.matches_required( + linuxutils_required_version, linuxutils_current_version + ): + raise exceptions.PluginRequirementException( + f"linux.LinuxUtilities version not suitable: required {linuxutils_required_version} found {linuxutils_current_version}" + ) + + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + return vmlinux + def idr_max(self, num_layers: int) -> int: """Returns the maximum ID which can be allocated given idr::layers @@ -2141,7 +2181,7 @@ class IDR(objects.StructType): Returns: A pointer to the given ID element """ - vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + vmlinux = self._get_vmlinux() if not vmlinux.get_type("idr_layer").has_member("layer"): vollog.info( "Unsupported IDR implementation, it should be a very very old kernel, probabably < 2.6" From d627f243e259efce2f730860f47d9116b3c78f3d Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 24 Aug 2024 10:55:01 +1000 Subject: [PATCH 0652/2186] PR review fixes: Add typing info to the get_inodes() class method. --- volatility3/framework/plugins/linux/pagecache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index cf4151c85..e384cbabf 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -6,7 +6,7 @@ import math import logging import datetime from dataclasses import dataclass, astuple -from typing import List, Set, Type +from typing import List, Set, Type, Iterable from volatility3.framework import renderers, interfaces from volatility3.framework.renderers import format_hints @@ -205,7 +205,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): cls, context: interfaces.context.ContextInterface, config_path: str, - ): + ) -> Iterable[InodeInternal]: """Retrieves the inodes from the superblocks Args: From 90b327e63253404a98cc5a79e3cecaa1b773048c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 24 Aug 2024 11:45:29 +1000 Subject: [PATCH 0653/2186] PR review fixes: Make mountinfo.get_superblocks() a classmethod and adapt the code using it. --- .../framework/plugins/linux/mountinfo.py | 19 +++++++++--- .../framework/plugins/linux/pagecache.py | 31 ++++++++++++------- 2 files changed, 33 insertions(+), 17 deletions(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index dfb2e2f52..1eaec77bf 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -37,7 +37,7 @@ class MountInfo(plugins.PluginInterface): _required_framework_version = (2, 2, 0) - _version = (1, 1, 0) + _version = (1, 2, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -143,8 +143,8 @@ class MountInfo(plugins.PluginInterface): sb_opts, ) + @staticmethod def _get_tasks_mountpoints( - self, tasks: Iterable[interfaces.objects.ObjectInterface], filtered_by_pids: bool = False, ): @@ -247,17 +247,26 @@ class MountInfo(plugins.PluginInterface): "Could not filter by mount namespace id. This field is not available in this kernel." ) - def get_superblocks(self): + @classmethod + def get_superblocks( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> Iterable[interfaces.objects.ObjectInterface]: """Yield file system superblocks based on the task's mounted filesystems. + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + Yields: super_block: Kernel's struct super_block object """ # No filter so that we get all the mount namespaces from all tasks - tasks = pslist.PsList.list_tasks(self.context, self.config["kernel"]) + tasks = pslist.PsList.list_tasks(context, vmlinux_module_name) seen_sb_ptr = set() - for task, mnt, _mnt_ns_id in self._get_tasks_mountpoints(tasks): + for task, mnt, _mnt_ns_id in cls._get_tasks_mountpoints(tasks): path_root = linux.LinuxUtilities.get_path_mnt(task, mnt) if not path_root: continue diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index e384cbabf..e54891480 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -115,7 +115,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="mountinfo", plugin=mountinfo.MountInfo, version=(1, 1, 0) + name="mountinfo", plugin=mountinfo.MountInfo, version=(1, 2, 0) ), requirements.ListRequirement( name="type", @@ -204,22 +204,22 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): def get_inodes( cls, context: interfaces.context.ContextInterface, - config_path: str, + vmlinux_module_name: str, ) -> Iterable[InodeInternal]: """Retrieves the inodes from the superblocks Args: context: The context that the plugin will operate within - config_path: The path to configuration data within the context configuration data + vmlinux_module_name: The name of the kernel module on which to operate Yields: An InodeInternal object """ - superblocks_iter = mountinfo.MountInfo( + superblocks_iter = mountinfo.MountInfo.get_superblocks( context=context, - config_path=config_path, - ).get_superblocks() + vmlinux_module_name=vmlinux_module_name, + ) seen_inodes = set() seen_dentries = set() @@ -289,11 +289,13 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): yield inode_in def _generator(self): - vmlinux = self.context.modules[self.config["kernel"]] + vmlinux_module_name = self.config["kernel"] + vmlinux = self.context.modules[vmlinux_module_name] vmlinux_layer = self.context.layers[vmlinux.layer_name] inodes_iter = self.get_inodes( - context=self.context, config_path=self.config_path + context=self.context, + vmlinux_module_name=vmlinux_module_name, ) types_filter = self.config["type"] @@ -316,12 +318,15 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): These need not be generated in any particular order, sorting will be done later """ - vmlinux = self.context.modules[self.config["kernel"]] + vmlinux_module_name = self.config["kernel"] + vmlinux = self.context.modules[vmlinux_module_name] vmlinux_layer = self.context.layers[vmlinux.layer_name] inodes_iter = self.get_inodes( - context=self.context, config_path=self.config_path + context=self.context, + vmlinux_module_name=vmlinux_module_name, ) + for inode_in in inodes_iter: inode_out = inode_in.to_user(vmlinux_layer) description = f"Cached Inode for {inode_out.path}" @@ -450,7 +455,8 @@ class InodePages(plugins.PluginInterface): vollog.error("Unable to write to file (%s): %s", filename, e) def _generator(self): - vmlinux = self.context.modules[self.config["kernel"]] + vmlinux_module_name = self.config["kernel"] + vmlinux = self.context.modules[vmlinux_module_name] vmlinux_layer = self.context.layers[vmlinux.layer_name] if self.config["inode"] and self.config["find"]: @@ -459,7 +465,8 @@ class InodePages(plugins.PluginInterface): if self.config["find"]: inodes_iter = Files.get_inodes( - context=self.context, config_path=self.config_path + context=self.context, + vmlinux_module_name=vmlinux_module_name, ) for inode_in in inodes_iter: if inode_in.path == self.config["find"]: From 3bf9f8cec0e1c4c75088abe17baadd0bc6d4c3d6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 24 Aug 2024 12:03:10 +1000 Subject: [PATCH 0654/2186] PR review fixes: Add typing info to pagecache.Files._follow_symlink() --- volatility3/framework/plugins/linux/pagecache.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index e54891480..b6c5f7cc0 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -131,7 +131,10 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): ] @staticmethod - def _follow_symlink(inode, symlink_path) -> str: + def _follow_symlink( + inode: interfaces.objects.ObjectInterface, + symlink_path: str, + ) -> str: """Follows (fast) symlinks (kernels >= 4.2.x). Fast symlinks are filesystem agnostic. From e97abae156721bc1c625729166c08325c164bd3a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 24 Aug 2024 15:02:31 +0100 Subject: [PATCH 0655/2186] Remove get_vmlinux calls Sorry, I know I asked for it, but I hadn't quite figured out what was going on. Things in the symbols/linux code are considered part of the framework, and therefore it's the framework version that should have been bumped. Since the framework comes packages with LinuxUtilities we can rely on the version numbers to be suitable. This cleans up the mess I caused, sorry for the extra work! 5:S --- volatility3/framework/constants/_version.py | 4 +- .../symbols/linux/extensions/__init__.py | 47 ++----------------- 2 files changed, 6 insertions(+), 45 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 4df0b9041..d30446d63 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 8 # Number of changes that only add to the interface -VERSION_PATCH = 1 # Number of changes that do not change the interface +VERSION_MINOR = 9 # Number of changes that only add to the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 51dc37d31..fdd34403a 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1609,19 +1609,6 @@ class xdp_sock(objects.StructType): class bpf_prog(objects.StructType): - def _get_vmlinux(self): - linuxutils_required_version = (2, 1, 1) - linuxutils_current_version = linux.LinuxUtilities._version - if not requirements.VersionRequirement.matches_required( - linuxutils_required_version, linuxutils_current_version - ): - raise exceptions.PluginRequirementException( - f"linux.LinuxUtilities version not suitable: required {linuxutils_required_version} found {linuxutils_current_version}" - ) - - vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) - return vmlinux - def get_type(self) -> Union[str, None]: """Returns a string with the eBPF program type""" @@ -1645,7 +1632,7 @@ class bpf_prog(objects.StructType): if not self.has_member("tag"): return None - vmlinux = self._get_vmlinux() + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] prog_tag_addr = self.tag.vol.offset @@ -2057,26 +2044,13 @@ class page(objects.StructType): return flags - def _get_vmlinux(self): - linuxutils_required_version = (2, 1, 1) - linuxutils_current_version = linux.LinuxUtilities._version - if not requirements.VersionRequirement.matches_required( - linuxutils_required_version, linuxutils_current_version - ): - raise exceptions.PluginRequirementException( - f"linux.LinuxUtilities version not suitable: required {linuxutils_required_version} found {linuxutils_current_version}" - ) - - vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) - return vmlinux - def to_paddr(self) -> int: """Converts a page's virtual address to its physical address using the current physical memory model. Returns: int: page physical address """ - vmlinux = self._get_vmlinux() + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] vmemmap_start = None @@ -2127,7 +2101,7 @@ class page(objects.StructType): Returns: The page content """ - vmlinux = self._get_vmlinux() + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] physical_layer = vmlinux.context.layers["memory_layer"] page_paddr = self.to_paddr() @@ -2145,19 +2119,6 @@ class IDR(objects.StructType): MAX_IDR_SHIFT = INT_SIZE * 8 - 1 MAX_IDR_BIT = 1 << MAX_IDR_SHIFT - def _get_vmlinux(self): - linuxutils_required_version = (2, 1, 1) - linuxutils_current_version = linux.LinuxUtilities._version - if not requirements.VersionRequirement.matches_required( - linuxutils_required_version, linuxutils_current_version - ): - raise exceptions.PluginRequirementException( - f"linux.LinuxUtilities version not suitable: required {linuxutils_required_version} found {linuxutils_current_version}" - ) - - vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) - return vmlinux - def idr_max(self, num_layers: int) -> int: """Returns the maximum ID which can be allocated given idr::layers @@ -2181,7 +2142,7 @@ class IDR(objects.StructType): Returns: A pointer to the given ID element """ - vmlinux = self._get_vmlinux() + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) if not vmlinux.get_type("idr_layer").has_member("layer"): vollog.info( "Unsupported IDR implementation, it should be a very very old kernel, probabably < 2.6" From 6a157a785f3364635de2c7a43eeab054ab7c6b3d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 27 Aug 2024 14:45:52 +0100 Subject: [PATCH 0656/2186] Bump the modules version number Pull-request #1173 bumped the version of the modules plugin (even though this only needed to be a MINOR version bump, see https://github.com/volatilityfoundation/volatility3/pull/1173#discussion_r1649614761), but failed to verify that other plugins which relied on it were also updated to make use of the new plugin. This was the version system working as intended, but highlighted a review failure that the neither the author, nor the reviewers, verified that the rest of the framework (specifically other plugins which relied on modules) worked correctly with the new code (which this kind of error is designed to fix). Fixes #1244. --- volatility3/framework/plugins/windows/ssdt.py | 2 +- volatility3/framework/plugins/windows/verinfo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/ssdt.py b/volatility3/framework/plugins/windows/ssdt.py index 6a47c36e9..1fcb6cc91 100644 --- a/volatility3/framework/plugins/windows/ssdt.py +++ b/volatility3/framework/plugins/windows/ssdt.py @@ -30,7 +30,7 @@ class SSDT(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(1, 0, 0) + name="modules", plugin=modules.Modules, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/verinfo.py b/volatility3/framework/plugins/windows/verinfo.py index 1c6615804..5b3c52bf6 100644 --- a/volatility3/framework/plugins/windows/verinfo.py +++ b/volatility3/framework/plugins/windows/verinfo.py @@ -46,7 +46,7 @@ class VerInfo(interfaces.plugins.PluginInterface): name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(1, 0, 0) + name="modules", plugin=modules.Modules, version=(2, 0, 0) ), requirements.VersionRequirement( name="dlllist", component=dlllist.DllList, version=(2, 0, 0) From a2196850bc01d5a1a41a2aa29685cdb1d2146e87 Mon Sep 17 00:00:00 2001 From: Davide Arcuri Date: Wed, 28 Aug 2024 10:39:28 +0200 Subject: [PATCH 0657/2186] increase python version to 3.8 --- .github/workflows/build-pypi.yml | 2 +- .github/workflows/install.yml | 2 +- .github/workflows/test.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-pypi.yml b/.github/workflows/build-pypi.yml index 346d0337e..d1a63b4da 100644 --- a/.github/workflows/build-pypi.yml +++ b/.github/workflows/build-pypi.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: ["3.7"] + python-version: ["3.8"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index e13161085..398ff8ae3 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -8,7 +8,7 @@ jobs: fail-fast: false matrix: host: [ ubuntu-latest, windows-latest ] - python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] + python-version: [ "3.8", "3.9", "3.10", "3.11" ] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 55b2e4b60..65dfb13c8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: ["3.7"] + python-version: ["3.8"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} From 7a479d617f8107590533eaed9afe105c3cd3b34f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 28 Aug 2024 18:40:41 +0200 Subject: [PATCH 0658/2186] add OS and framework architectures constants --- .../framework/constants/architectures.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 volatility3/framework/constants/architectures.py diff --git a/volatility3/framework/constants/architectures.py b/volatility3/framework/constants/architectures.py new file mode 100644 index 000000000..a8822d7d3 --- /dev/null +++ b/volatility3/framework/constants/architectures.py @@ -0,0 +1,21 @@ +from volatility3.framework.layers import intel + +WIN_ARCHS = ["Intel32", "Intel64"] +"""Windows supported architectures""" +WIN_ARCHS_LAYERS = [intel.Intel] +"""Windows supported architectures layers""" + +LINUX_ARCHS = ["Intel32", "Intel64"] +"""Linux supported architectures""" +LINUX_ARCHS_LAYERS = [intel.Intel] +"""Linux supported architectures layers""" + +MAC_ARCHS = ["Intel32", "Intel64"] +"""Mac supported architectures""" +MAC_ARCHS_LAYERS = [intel.Intel] +"""Mac supported architectures layers""" + +FRAMEWORK_ARCHS = ["Intel32", "Intel64"] +"""Framework supported architectures""" +FRAMEWORK_ARCHS_LAYERS = [intel.Intel] +"""Framework supported architectures layers""" From 46a26c7dc5f5bc87d93027a6c005acbf85bc8716 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 2 Sep 2024 12:17:16 -0500 Subject: [PATCH 0659/2186] Address feedback --- .../framework/plugins/windows/orphan_kernel_threads.py | 8 +++++--- volatility3/framework/plugins/windows/thrdscan.py | 3 +-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py index 1cdb1dcdf..f4901dc8c 100644 --- a/volatility3/framework/plugins/windows/orphan_kernel_threads.py +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -1,4 +1,4 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # @@ -48,8 +48,9 @@ class Threads(thrdscan.ThrdScan): """Yields thread objects of kernel threads that do not map to a module Args: - kernel - + cls + context: the context to operate upon + module_name: name of the module to use for scanning Returns: A generator of thread objects of orphaned threads """ @@ -61,6 +62,7 @@ class Threads(thrdscan.ThrdScan): context, layer_name, symbol_table ) + # FIXME - use a proper constant once established # used to filter out smeared pointers if symbols.symbol_table_is_64bit(context, symbol_table): kernel_start = 0xFFFFF80000000000 diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index ad885e8e9..b812a15ff 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -48,8 +48,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + module_name: Name of the module to use for scanning Returns: A list of _ETHREAD objects found by scanning memory for the "Thre" / "Thr\\xE5" pool signatures From 483cb7e4eebbb6b536cdec883caa3f75fa182ce2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 2 Sep 2024 15:08:29 -0500 Subject: [PATCH 0660/2186] Add smear checks in MFT parsing code --- .../framework/symbols/windows/extensions/mft.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index 14c1f08d6..c51dd0348 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -27,6 +27,11 @@ class MFTAttribute(objects.StructType): """This represents an MFT ATTRIBUTE""" def get_resident_filename(self) -> str: + # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems + # Length as 512 as its 256*2, which is the maximum size for an entire file path, so this is even generous + if self.Attr_Header.ContentOffset > 4194304 or self.Attr_Header.NameLength > 512: + return None + # To get the resident name, we jump to relative name offset and read name length * 2 bytes of data try: name = self._context.object( @@ -42,6 +47,11 @@ class MFTAttribute(objects.StructType): return None def get_resident_filecontent(self) -> bytes: + # smear observed in mass testing of samples + # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems + if self.Attr_Header.ContentOffset > 4194304 or self.Attr_Header.ContentLength > 4194304: + return None + # To get the resident content, we jump to relative content offset and read name length * 2 bytes of data try: bytesobj = self._context.object( From 660e8a7b89387bfc3e883a10a3662708a09fa146 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 2 Sep 2024 15:09:20 -0500 Subject: [PATCH 0661/2186] Add smear checks in MFT parsing code --- .../framework/symbols/windows/extensions/mft.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index c51dd0348..c0303eafb 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -29,7 +29,10 @@ class MFTAttribute(objects.StructType): def get_resident_filename(self) -> str: # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems # Length as 512 as its 256*2, which is the maximum size for an entire file path, so this is even generous - if self.Attr_Header.ContentOffset > 4194304 or self.Attr_Header.NameLength > 512: + if ( + self.Attr_Header.ContentOffset > 4194304 + or self.Attr_Header.NameLength > 512 + ): return None # To get the resident name, we jump to relative name offset and read name length * 2 bytes of data @@ -49,7 +52,10 @@ class MFTAttribute(objects.StructType): def get_resident_filecontent(self) -> bytes: # smear observed in mass testing of samples # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems - if self.Attr_Header.ContentOffset > 4194304 or self.Attr_Header.ContentLength > 4194304: + if ( + self.Attr_Header.ContentOffset > 4194304 + or self.Attr_Header.ContentLength > 4194304 + ): return None # To get the resident content, we jump to relative content offset and read name length * 2 bytes of data From 9c058936a88893d0b5dd6a3ee68ab87b037bacf4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Tue, 3 Sep 2024 10:30:05 -0500 Subject: [PATCH 0662/2186] Address feedback --- .../framework/symbols/windows/extensions/mft.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index c0303eafb..ebba882c0 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -2,6 +2,8 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +from typing import Optional + from volatility3.framework import objects, constants, exceptions @@ -26,11 +28,11 @@ class MFTFileName(objects.StructType): class MFTAttribute(objects.StructType): """This represents an MFT ATTRIBUTE""" - def get_resident_filename(self) -> str: + def get_resident_filename(self) -> Optional[str]: # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems # Length as 512 as its 256*2, which is the maximum size for an entire file path, so this is even generous if ( - self.Attr_Header.ContentOffset > 4194304 + self.Attr_Header.ContentOffset > 0x400000 or self.Attr_Header.NameLength > 512 ): return None @@ -49,12 +51,12 @@ class MFTAttribute(objects.StructType): except exceptions.InvalidAddressException: return None - def get_resident_filecontent(self) -> bytes: + def get_resident_filecontent(self) -> Optional[bytes]: # smear observed in mass testing of samples # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems if ( - self.Attr_Header.ContentOffset > 4194304 - or self.Attr_Header.ContentLength > 4194304 + self.Attr_Header.ContentOffset > 0x400000 + or self.Attr_Header.ContentLength > 0x400000 ): return None From 69e6e59daf39ec7a0cf9a82fb13762d4389c95a4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 6 Sep 2024 12:01:21 -0500 Subject: [PATCH 0663/2186] Add new pe_symbols API, debug registers plugin, unhooked system calls plugin --- .../plugins/windows/debugregisters.py | 223 ++++++ .../framework/plugins/windows/pe_symbols.py | 732 ++++++++++++++++++ .../plugins/windows/unhooked_system_calls.py | 183 +++++ .../framework/plugins/windows/vadinfo.py | 88 ++- 4 files changed, 1219 insertions(+), 7 deletions(-) create mode 100644 volatility3/framework/plugins/windows/debugregisters.py create mode 100644 volatility3/framework/plugins/windows/pe_symbols.py create mode 100644 volatility3/framework/plugins/windows/unhooked_system_calls.py diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py new file mode 100644 index 000000000..5f3c2e519 --- /dev/null +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -0,0 +1,223 @@ +import logging + +from typing import Tuple, Optional, Generator, List, Dict + +from functools import partial + +from volatility3.framework import renderers, interfaces, exceptions +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +import volatility3.plugins.windows.pslist as pslist +import volatility3.plugins.windows.threads as threads +import volatility3.plugins.windows.vadinfo as vadinfo +import volatility3.plugins.windows.pe_symbols as pe_symbols + +vollog = logging.getLogger(__name__) + + +class DebugRegisters(interfaces.plugins.PluginInterface): + # version 2.6.0 adds support for scanning for 'Ethread' structures by pool tags + _required_framework_version = (2, 6, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="pe_symbols", component=pe_symbols.PESymbols, version=(1, 0, 0) + ), + ] + + def _get_debug_info( + self, ethread: interfaces.objects.ObjectInterface + ) -> Optional[Tuple[interfaces.objects.ObjectInterface, int, int, int, int, int]]: + """ + Gathers information related to the debug registers for the given thread + """ + try: + dr7 = ethread.Tcb.TrapFrame.Dr7 + state = ethread.Tcb.State + except exceptions.InvalidAddressException: + return None + + # 0 = debug registers not active + # 4 = terminated + if dr7 == 0 or state == 4: + return None + + try: + owner_proc = ethread.owning_process() + except (AttributeError, exceptions.InvalidAddressException): + return None + + dr0 = ethread.Tcb.TrapFrame.Dr0 + dr1 = ethread.Tcb.TrapFrame.Dr1 + dr2 = ethread.Tcb.TrapFrame.Dr2 + dr3 = ethread.Tcb.TrapFrame.Dr3 + + # bail if all are 0 + if not (dr0 or dr1 or dr2 or dr3): + return None + + return owner_proc, dr7, dr0, dr1, dr2, dr3 + + def _get_vads( + self, + vads_cache: Dict[int, List[Tuple[int, int, str]]], + owner_proc: interfaces.objects.ObjectInterface, + ) -> Optional[List[Tuple[int, int, str]]]: + if owner_proc.vol.offset in vads_cache: + vads = vads_cache[owner_proc.vol.offset] + else: + vads = vadinfo.VadInfo.get_proc_vads_with_file_paths(owner_proc) + vads_cache[owner_proc.vol.offset] = vads + + # smear or terminated process + if len(vads) == 0: + return None + + return vads + + def _generator( + self, + ) -> Generator[ + Tuple[ + int, + Tuple[ + str, + int, + int, + int, + int, + format_hints.Hex, + str, + str, + format_hints.Hex, + str, + str, + format_hints.Hex, + str, + str, + format_hints.Hex, + str, + str, + ], + ], + None, + None, + ]: + kernel = self.context.modules[self.config["kernel"]] + + vads_cache: Dict[int, List[Tuple[int, int, str]]] = {} + + proc_modules = None + + procs = pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + ) + + for proc in procs: + for thread in threads.Threads.list_threads(kernel, proc): + debug_info = self._get_debug_info(thread) + if not debug_info: + continue + + owner_proc, dr7, dr0, dr1, dr2, dr3 = debug_info + + vads = self._get_vads(vads_cache, owner_proc) + if not vads: + continue + + # this lookup takes a while, so only perform if we need to + if not proc_modules: + proc_modules = pe_symbols.PESymbols.get_process_modules( + self.context, kernel.layer_name, kernel.symbol_table_name, None + ) + path_and_symbol = partial( + pe_symbols.PESymbols.path_and_symbol_for_address, + self.context, + self.config_path, + proc_modules, + ) + + file0, sym0 = path_and_symbol(vads, dr0) + file1, sym1 = path_and_symbol(vads, dr1) + file2, sym2 = path_and_symbol(vads, dr2) + file3, sym3 = path_and_symbol(vads, dr3) + + # if none map to an actual file VAD then bail + if not ( + isinstance(file0, str) + or isinstance(file1, str) + or isinstance(file2, str) + or isinstance(file3, str) + ): + continue + + process_name = owner_proc.ImageFileName.cast( + "string", + max_length=owner_proc.ImageFileName.vol.count, + errors="replace", + ) + + thread_tid = thread.Cid.UniqueThread + + yield ( + 0, + ( + process_name, + owner_proc.UniqueProcessId, + thread_tid, + thread.Tcb.State, + dr7, + format_hints.Hex(dr0), + file0, + sym0, + format_hints.Hex(dr1), + file1, + sym1, + format_hints.Hex(dr2), + file2, + sym2, + format_hints.Hex(dr3), + file3, + sym3, + ), + ) + + def run(self) -> renderers.TreeGrid: + return renderers.TreeGrid( + [ + ("Process", str), + ("PID", int), + ("TID", int), + ("State", int), + ("Dr7", int), + ("Dr0", format_hints.Hex), + ("Range0", str), + ("Symbol0", str), + ("Dr1", format_hints.Hex), + ("Range1", str), + ("Symbol1", str), + ("Dr2", format_hints.Hex), + ("Range2", str), + ("Symbol2", str), + ("Dr3", format_hints.Hex), + ("Range3", str), + ("Symbol3", str), + ], + self._generator(), + ) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py new file mode 100644 index 000000000..b7faeaf55 --- /dev/null +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -0,0 +1,732 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 + + +import io +import logging + +from typing import Dict, Tuple, Optional, List, Generator, Union + +import pefile + +from volatility3.framework import interfaces, exceptions +from volatility3.framework import renderers, constants +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.windows import pdbutil +from volatility3.framework.symbols.windows.extensions import pe +from volatility3.plugins.windows import pslist, vadinfo, modules + +vollog = logging.getLogger(__name__) + + +class PESymbolFinder: + """ + Interface for PE symbol finding classes + This interface provides a standard way for the calling code to + lookup symbols by name or address + """ + + cached_str = Union[str, None] + cached_str_dict = Dict[str, cached_str] + + cached_int = Union[int, None] + cached_int_dict = Dict[str, cached_int] + + cached_value = Union[int, str, None] + cached_value_dict = Dict[str, Union[Dict[str, List[str]], Dict[str, List[int]]]] + + def __init__( + self, + layer_name: str, + mod_name: str, + module_start: int, + symbol_module: Union[interfaces.context.ModuleInterface, pefile.ExportDirData], + ): + self._layer_name = layer_name + self._mod_name = mod_name + self._module_start = module_start + self._symbol_module = symbol_module + + self._address_cache: PESymbolFinder.cached_int_dict = {} + self._name_cache: PESymbolFinder.cached_str_dict = {} + + def _get_cache_key(self, value: cached_value) -> str: + """ + Maintain a cache for symbol lookups to avoid re-walking of PDB symbols or export tables + within the same module for the same address in the same layer + """ + return f"{self._layer_name}|{self._mod_name}|{value}" + + def get_name_for_address(self, address: int) -> cached_str: + cached_key = self._get_cache_key(address) + if cached_key not in self._name_cache: + name = self._do_get_name(address) + self._name_cache[cached_key] = name + + return self._name_cache[cached_key] + + def get_address_for_name(self, name: str) -> cached_int: + cached_key = self._get_cache_key(name) + if cached_key not in self._address_cache: + address = self._do_get_address(name) + self._address_cache[cached_key] = address + + return self._address_cache[cached_key] + + def _do_get_name(self, address: int) -> cached_str: + raise NotImplementedError("_do_get_name must be overwritten") + + def _do_get_address(self, name: str) -> cached_int: + raise NotImplementedError("_do_get_address must be overwritten") + + +class PDBSymbolFinder(PESymbolFinder): + """ + PESymbolFinder implementation for PDB modules + """ + + def _do_get_address(self, name: str) -> PESymbolFinder.cached_int: + try: + return self._symbol_module.get_absolute_symbol_address(name) + except exceptions.SymbolError: + return None + + def _do_get_name(self, address: int) -> PESymbolFinder.cached_str: + try: + name = self._symbol_module.get_symbols_by_absolute_location(address)[0] + return name.split(constants.BANG)[1] + except (exceptions.SymbolError, IndexError): + return None + + +class ExportSymbolFinder(PESymbolFinder): + """ + PESymbolFinder implementation for PDB modules + """ + + def _get_name(self, export: pefile.ExportData) -> Optional[str]: + # AttributeError throws on empty or ordinal-only exports + try: + return export.name.decode("ascii") + except AttributeError: + return None + + def _do_get_name(self, address: int) -> PESymbolFinder.cached_str: + for export in self._symbol_module: + if export.address + self._module_start == address: + return self._get_name(export) + + return None + + def _do_get_address(self, name: str) -> PESymbolFinder.cached_int: + for export in self._symbol_module: + sym_name = self._get_name(export) + if sym_name and sym_name == name: + return self._module_start + export.address + + return None + + +class PESymbols(interfaces.plugins.PluginInterface): + """Prints symbols in PE files in process and kernel memory""" + + _required_framework_version = (2, 7, 0) + + _version = (1, 0, 0) + + # used for special handling of the kernel PDB file. See later notes + os_module_name = "ntoskrnl.exe" + + # keys for specifying wanted names and/or addresses + # used for consistent access between the API and plugins + wanted_names = "names" + wanted_addresses = "addresses" + + # how wanted modules/symbols are specified, such as: + # {"ntdll.dll" : {wanted_addresses : [42, 43, 43]}} + # {"ntdll.dll" : {wanted_names : ["NtCreateThread"]}} + filter_modules_type = Dict[str, Union[Dict[str, List[str]], Dict[str, List[int]]]] + + # holds resolved symbols + # {"ntdll.dll": [("Bob", 123), ("Alice", 456)]} + found_symbols_type = Dict[str, List[Tuple[str, int]]] + + # used to hold informatin about a range (VAD or kernel module) + # (start address, size, file path) + range_type = Tuple[int, int, str] + ranges_type = List[range_type] + + @classmethod + def get_requirements(cls) -> List: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) + ), + requirements.ChoiceRequirement( + name="source", + description="Where to resolve symbols.", + choices=["kernel", "processes"], + optional=False, + ), + requirements.StringRequirement( + name="module", + description='Module in which to resolve symbols. Use "ntoskrnl.exe" to resolve in the base kernel executable.', + optional=False, + ), + requirements.StringRequirement( + name="symbol", + description="Symbol name to resolve", + optional=True, + ), + requirements.IntRequirement( + name="address", + description="Address of symbol to resolve", + optional=True, + ), + ] + + @staticmethod + def _get_pefile_obj( + context: interfaces.context.ContextInterface, + pe_table_name: str, + layer_name: str, + base_address: int, + ) -> Optional[pefile.PE]: + """ + Attempts to pefile object from the bytes of the PE file + + Args: + pe_table_name: name of the pe types table + layer_name: name of the process layer + base_address: base address of the module + + Returns: + the constructed pefile object + """ + pe_data = io.BytesIO() + + try: + dos_header = context.object( + pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", + offset=base_address, + layer_name=layer_name, + ) + + for offset, data in dos_header.reconstruct(): + pe_data.seek(offset) + pe_data.write(data) + + pe_ret = pefile.PE(data=pe_data.getvalue(), fast_load=True) + + except exceptions.InvalidAddressException: + pe_ret = None + + return pe_ret + + @staticmethod + def range_info_for_address( + ranges: ranges_type, address: int + ) -> Optional[range_type]: + """ + Helper for getting the range information for an address + """ + for start, size, filepath in ranges: + if start <= address < start + size: + return start, size, filepath + + return None + + @staticmethod + def filepath_for_address(ranges: ranges_type, address: int) -> Optional[str]: + """ + Helper to get the file path for an address + """ + info = PESymbols.range_info_for_address(ranges, address) + if info: + return info[2] + + return None + + @staticmethod + def filename_for_path(filepath: str) -> str: + """ + Consistent way to get the filename + """ + return filepath.split("\\")[-1] + + @staticmethod + def addresses_for_process_symbols( + context: interfaces.context.ContextInterface, + config_path: str, + layer_name: str, + symbol_table_name: str, + symbols: filter_modules_type, + ) -> found_symbols_type: + collected_modules = PESymbols.get_process_modules( + context, layer_name, symbol_table_name, symbols + ) + + found_symbols = PESymbols.find_symbols( + context, config_path, symbols, collected_modules + ) + + for mod_name, unresolved_symbols in symbols.items(): + for symbol in unresolved_symbols: + vollog.debug(f"Unable to resolve symbol {symbol} in module {mod_name}") + + return found_symbols + + @staticmethod + def path_and_symbol_for_address( + context: interfaces.context.ContextInterface, + config_path: str, + collected_modules: Dict[str, List[Tuple[str, int, int]]], + ranges: ranges_type, + address: int, + ) -> Tuple[str, str]: + """ + Method for plugins to determine the file path and symbol name for a given address + + collected_modules: return value from `get_kernel_modules` or `get_process_modules` + ranges: the memory ranges to examine in this layer. + address: address to resolve to its symbol name + """ + + if not address: + return renderers.NotApplicableValue(), renderers.NotApplicableValue() + + filepath = PESymbols.filepath_for_address(ranges, address) + + if not filepath: + return renderers.NotAvailableValue(), renderers.NotAvailableValue() + + filename = PESymbols.filename_for_path(filepath).lower() + + # setup to resolve the address + filter_module: PESymbols.filter_modules_type = { + filename: {PESymbols.wanted_addresses: [address]} + } + + found_symbols = PESymbols.find_symbols( + context, config_path, filter_module, collected_modules + ) + + if not found_symbols or not found_symbols[filename]: + return renderers.NotAvailableValue(), renderers.NotAvailableValue() + + return filepath, found_symbols[filename][0][0] + + @staticmethod + def _get_exported_symbols( + context: interfaces.context.ContextInterface, + pe_table_name: str, + mod_name: str, + module_info: Tuple[str, int, int], + ) -> Optional[ExportSymbolFinder]: + """ + Attempts to locate symbols based on export analysis + + mod_name: lower case name of the module to resolve symbols in + module_info: (layer_name, module_start, module_size) of the module to examine + """ + + layer_name = module_info[0] + module_start = module_info[1] + + # we need a valid PE with an export table + pe_module = PESymbols._get_pefile_obj( + context, pe_table_name, layer_name, module_start + ) + if not pe_module: + return None + + pe_module.parse_data_directories( + directories=[pefile.DIRECTORY_ENTRY["IMAGE_DIRECTORY_ENTRY_EXPORT"]] + ) + if not hasattr(pe_module, "DIRECTORY_ENTRY_EXPORT"): + return None + + return ExportSymbolFinder( + layer_name, mod_name, module_start, pe_module.DIRECTORY_ENTRY_EXPORT.symbols + ) + + @staticmethod + def _get_pdb_module( + context: interfaces.context.ContextInterface, + config_path: str, + mod_name: str, + module_info: Tuple[str, int, int], + ) -> Optional[PDBSymbolFinder]: + """ + Attempts to locate symbols based on PDB analysis + + mod_name: lower case name of the module to resolve symbols in + module_info: (layer_name, module_start, module_size) of the module to examine + """ + + mod_symbols = None + + layer_name, module_start, module_size = module_info + + # the PDB name of the kernel file is not consistent for an exe, for example, + # a `ntoskrnl.exe` can have an internal PDB name of any of the ones in the following list + # The code attempts to find all possible PDBs to ensure the best chance of recovery + if mod_name == PESymbols.os_module_name: + pdb_names = ["ntkrnlmp.pdb", "ntkrnlpa.pdb", "ntkrpamp.pdb", "ntoskrnl.pdb"] + + # for non-kernel files, replace the exe, sys, or dll extension with pdb + else: + mod_name = mod_name[:-3] + "pdb" + first_upper = mod_name[0].upper() + mod_name[1:] + pdb_names = [mod_name, first_upper] + + # loop through each PDB name (will be just one for all but the kernel) + for pdb_name in pdb_names: + try: + mod_symbols = pdbutil.PDBUtility.symbol_table_from_pdb( + context, + interfaces.configuration.path_join(config_path, mod_name), + layer_name, + pdb_name, + module_start, + module_size, + ) + + if mod_symbols: + break + + # this exception is expected when the PDB can't be found or downloaded + except exceptions.VolatilityException: + continue + + # this is not expected - it means pdbconv broke when parsing the PDB + except TypeError as e: + vollog.error( + f"Unable to parse PDB file for module {pdb_name} -> {e}. Please file a bug on the GitHub issue tracker." + ) + + # cannot do anything without the symbols + if not mod_symbols: + return None + + pdb_module = context.module( + mod_symbols, layer_name=layer_name, offset=module_start + ) + + return PDBSymbolFinder(layer_name, mod_name, module_start, pdb_module) + + @staticmethod + def _find_symbols_through_pdb( + context: interfaces.context.ContextInterface, + config_path: str, + module_instances: List[Tuple[str, int, int]], + mod_name: str, + ) -> Generator[PDBSymbolFinder, None, None]: + """ + Attempts to resolve the symbols in `wanted_symbols` through PDB analysis + """ + for module_info in module_instances: + mod_module = PESymbols._get_pdb_module( + context, config_path, mod_name, module_info + ) + if mod_module: + yield mod_module + + @staticmethod + def _find_symbols_through_exports( + context: interfaces.context.ContextInterface, + config_path: str, + module_instances: List[Tuple[str, int, int]], + mod_name: str, + ) -> Generator[ExportSymbolFinder, None, None]: + """ + Attempts to resolve the symbols in `wanted_symbols` through export analysis + """ + pe_table_name = intermed.IntermediateSymbolTable.create( + context, config_path, "windows", "pe", class_types=pe.class_types + ) + + # for each process layer and VAD, construct a PE and examine the export table + for module_info in module_instances: + exported_symbols = PESymbols._get_exported_symbols( + context, pe_table_name, mod_name, module_info + ) + if exported_symbols: + yield exported_symbols + + @staticmethod + def _get_symbol_value( + wanted_modules: PESymbolFinder.cached_value_dict, + mod_name: str, + symbol_resolver: PESymbolFinder, + ) -> Generator[Tuple[str, int], None, None]: + """ + Enumerates the symbols specified as wanted by the calling plugin + """ + wanted_symbols = wanted_modules[mod_name] + + if ( + PESymbols.wanted_names not in wanted_symbols + and PESymbols.wanted_addresses not in wanted_symbols + ): + vollog.warning( + f"Invalid `wanted_symbols` sent to `find_symbols` for module {mod_name}. addresses and names keys both misssing." + ) + return + + symbol_keys = [ + (PESymbols.wanted_names, "get_address_for_name"), + (PESymbols.wanted_addresses, "get_name_for_address"), + ] + + for symbol_key, symbol_getter in symbol_keys: + # address or name + if symbol_key in wanted_symbols: + # walk each wanted address or name + for wanted_value in wanted_symbols[symbol_key]: + symbol_value = symbol_resolver.__getattribute__(symbol_getter)( + wanted_value + ) + if symbol_value: + # yield out symbol name, symbol address + if symbol_key == PESymbols.wanted_names: + yield wanted_value, symbol_value # type: ignore + else: + yield symbol_value, wanted_value # type: ignore + + index = wanted_modules[mod_name][symbol_key].index(wanted_value) # type: ignore + + del wanted_modules[mod_name][symbol_key][index] + + # if all names or addresses from a module are found, delete the key + if not wanted_modules[mod_name][symbol_key]: + del wanted_modules[mod_name][symbol_key] + break + + @staticmethod + def _resolve_symbols_through_methods( + context: interfaces.context.ContextInterface, + config_path: str, + module_instances: List[Tuple[str, int, int]], + wanted_modules: PESymbolFinder.cached_value_dict, + mod_name: str, + ) -> Generator[Tuple[str, int], None, None]: + """ + Attempts to resolve every wanted symbol in `mod_name` + Every layer is enumerated for maximum chance of recovery + """ + symbol_resolving_methods = [ + PESymbols._find_symbols_through_pdb, + PESymbols._find_symbols_through_exports, + ] + + for method in symbol_resolving_methods: + for symbol_resolver in method( + context, config_path, module_instances, mod_name + ): + vollog.debug(f"Have resolver for method {method}") + yield from PESymbols._get_symbol_value( + wanted_modules, mod_name, symbol_resolver + ) + + if not wanted_modules[mod_name]: + break + + if not wanted_modules[mod_name]: + break + + @staticmethod + def find_symbols( + context: interfaces.context.ContextInterface, + config_path: str, + wanted_modules: PESymbolFinder.cached_value_dict, + collected_modules: Dict[str, List[Tuple[str, int, int]]], + ) -> found_symbols_type: + """ + Loops through each method of symbol analysis until each wanted symbol is found + Returns the resolved symbols as a dictionary that includes the name and runtime address + """ + found_symbols: PESymbols.found_symbols_type = {} + + for mod_name in wanted_modules: + if mod_name not in collected_modules: + continue + + module_instances = collected_modules[mod_name] + + # try to resolve the symbols for `mod_name` through each method (PDB and export table currently) + for symbol_name, address in PESymbols._resolve_symbols_through_methods( + context, config_path, module_instances, wanted_modules, mod_name + ): + if mod_name not in found_symbols: + found_symbols[mod_name] = [] + + found_symbols[mod_name].append((symbol_name, address)) + + # stop processing the layers (processes) if we found all the symbols for this module + if not wanted_modules[mod_name]: + break + + # stop processing this module if/when all symbols are found + if not wanted_modules[mod_name]: + del wanted_modules[mod_name] + break + + return found_symbols + + @staticmethod + def get_kernel_modules( + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table: str, + filter_modules: Optional[filter_modules_type], + ) -> Dict[str, List[Tuple[str, int, int]]]: + """ + Walks the kernel module list and finds the session layer, base, and size of each wanted module + """ + found_modules: Dict[str, List[Tuple[str, int, int]]] = {} + + if filter_modules: + # create a tuple of module names for use with `endswith` + filter_modules_check = tuple([key.lower() for key in filter_modules.keys()]) + else: + filter_modules_check = None + + session_layers = list( + modules.Modules.get_session_layers(context, layer_name, symbol_table) + ) + + # special handling for the kernel + gather_kernel = ( + filter_modules_check and PESymbols.os_module_name in filter_modules_check + ) + + for index, mod in enumerate( + modules.Modules.list_modules(context, layer_name, symbol_table) + ): + try: + mod_name = str(mod.BaseDllName.get_string().lower()) + except exceptions.InvalidAddressException: + continue + + # to analyze, it must either be the kernel or a wanted module + if not filter_modules_check or (gather_kernel and index == 0): + mod_name = PESymbols.os_module_name + elif filter_modules_check and not mod_name.endswith(filter_modules_check): + continue + + # we won't find symbol information if we can't analyze the module + session_layer_name = modules.Modules.find_session_layer( + context, session_layers, mod.DllBase + ) + if not session_layer_name: + continue + + if mod_name not in found_modules: + found_modules[mod_name] = [] + + found_modules[mod_name].append( + (session_layer_name, mod.DllBase, mod.SizeOfImage) + ) + + return found_modules + + @staticmethod + def get_process_modules( + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table: str, + filter_modules: Optional[filter_modules_type], + ) -> Dict[str, List[Tuple[str, int, int]]]: + """ + Walks the process list and each process' VAD to determine the base address and size of wanted modules + """ + proc_modules: Dict[str, List[Tuple[str, int, int]]] = {} + + if filter_modules: + # create a tuple of module names for use with `endswith` + filter_modules_check = tuple([key.lower() for key in filter_modules.keys()]) + else: + filter_modules_check = None + + for _, proc_layer_name, vads in vadinfo.VadInfo.get_all_vads_with_file_paths( + context, layer_name, symbol_table + ): + for vad_start, vad_size, filepath in vads: + filename = PESymbols.filename_for_path(filepath) + + if filter_modules_check and not filename.endswith(filter_modules_check): + continue + + # track each module along with the process layer and range to find it + if filename not in proc_modules: + proc_modules[filename] = [] + + proc_modules[filename].append((proc_layer_name, vad_start, vad_size)) + + return proc_modules + + def _generator(self) -> Generator[Tuple[int, Tuple[str, str, int]], None, None]: + kernel = self.context.modules[self.config["kernel"]] + + if self.config["symbol"]: + filter_module = { + self.config["module"].lower(): { + PESymbols.wanted_names: [self.config["symbol"]] + } + } + + elif self.config["address"]: + filter_module = { + self.config["module"].lower(): { + PESymbols.wanted_addresses: [self.config["address"]] + } + } + + else: + vollog.error("--address or --symbol must be specified") + return + + if self.config["source"] == "kernel": + module_resolver = self.get_kernel_modules + else: + module_resolver = self.get_process_modules + + collected_modules = module_resolver( + self.context, kernel.layer_name, kernel.symbol_table_name, filter_module + ) + + found_symbols = PESymbols.find_symbols( + self.context, self.config_path, filter_module, collected_modules + ) + + for module, symbols in found_symbols.items(): + for symbol, address in symbols: + yield (0, (module, symbol, format_hints.Hex(address))) + + def run(self) -> renderers.TreeGrid: + return renderers.TreeGrid( + [ + ("Module", str), + ("Symbol", str), + ("Address", format_hints.Hex), + ], + self._generator(), + ) diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py new file mode 100644 index 000000000..0438bc9e3 --- /dev/null +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -0,0 +1,183 @@ +import logging + +from typing import Dict, Tuple, List, Generator + +from volatility3.framework import interfaces, exceptions +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.plugins.windows import pslist, pe_symbols + +vollog = logging.getLogger(__name__) + + +class unhooked_system_calls(interfaces.plugins.PluginInterface): + """Looks for signs of Skeleton Key malware""" + + _required_framework_version = (2, 4, 0) + + system_calls = { + "ntdll.dll": { + pe_symbols.PESymbols.wanted_names: [ + "NtCreateThread", + "NtProtectVirtualMemory", + "NtReadVirtualMemory", + "NtOpenProcess", + "NtWriteFile", + "NtQueryVirtualMemory", + "NtAllocateVirtualMemory", + "NtWorkerFactoryWorkerReady", + "NtAcceptConnectPort", + "NtAddDriverEntry", + "NtAdjustPrivilegesToken", + "NtAlpcCreatePort", + "NtClose", + "NtCreateFile", + "NtCreateMutant", + "NtOpenFile", + "NtOpenIoCompletion", + "NtOpenJobObject", + "NtOpenKey", + "NtOpenKeyEx", + "NtOpenThread", + "NtOpenThreadToken", + "NtOpenThreadTokenEx", + "NtWriteVirtualMemory", + "NtTraceEvent", + "NtTranslateFilePath", + "NtUmsThreadYield", + "NtUnloadDriver", + "NtUnloadKey", + "NtUnloadKey2", + "NtUnloadKeyEx", + "NtCreateKey", + "NtCreateSection", + "NtDeleteKey", + "NtDeleteValueKey", + "NtDuplicateObject", + "NtQueryValueKey", + "NtReplaceKey", + "NtRequestWaitReplyPort", + "NtRestoreKey", + "NtSetContextThread", + "NtSetSecurityObject", + "NtSetValueKey", + "NtSystemDebugControl", + "NtTerminateProcess", + ] + } + } + + _code_bytes_type = Dict[str, Dict[str, Dict[bytes, List[Tuple[int, str]]]]] + + @classmethod + def get_requirements(cls) -> List: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(2, 0, 0) + ), + requirements.PluginRequirement( + name="pe_symbols", plugin=pe_symbols.PESymbols, version=(1, 0, 0) + ), + ] + + def _gather_code_bytes( + self, + kernel: interfaces.context.ModuleInterface, + found_symbols: pe_symbols.PESymbols.found_symbols_type, + ) -> _code_bytes_type: + """ + Enumerates the desired DLLs and function implementations in each process + Groups based on unique implementations of each DLLs' functions + The purpose is to detect when a function has different implementations (code) + in different processes. + This very effectively detects code injection. + """ + code_bytes: unhooked_system_calls._code_bytes_type = {} + + procs = pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + ) + + for proc in procs: + try: + proc_id = proc.UniqueProcessId + proc_name = utility.array_to_string(proc.ImageFileName) + proc_layer_name = proc.add_process_layer() + except exceptions.InvalidAddressException: + continue + + for dll_name, functions in found_symbols.items(): + for func_name, func_addr in functions: + try: + fbytes = self.context.layers[proc_layer_name].read( + func_addr, 0x20 + ) + except exceptions.InvalidAddressException: + continue + + if dll_name not in code_bytes: + code_bytes[dll_name] = {} + + if func_name not in code_bytes[dll_name]: + code_bytes[dll_name][func_name] = {} + + if fbytes not in code_bytes[dll_name][func_name]: + code_bytes[dll_name][func_name][fbytes] = [] + + code_bytes[dll_name][func_name][fbytes].append((proc_id, proc_name)) + + return code_bytes + + def _generator(self) -> Generator[Tuple[int, Tuple[str, str, int]], None, None]: + kernel = self.context.modules[self.config["kernel"]] + + found_symbols = pe_symbols.PESymbols.addresses_for_process_symbols( + self.context, + self.config_path, + kernel.layer_name, + kernel.symbol_table_name, + unhooked_system_calls.system_calls, + ) + + # code_bytes[dll_name][func_name][func_bytes] + code_bytes = self._gather_code_bytes(kernel, found_symbols) + + for functions in code_bytes.values(): + for func_name, cbb in functions.items(): + cb = list(cbb.values()) + + # same implementation in all + if len(cb) == 1: + yield 0, (func_name, "", len(cb[0])) + else: + # find the processes that are hooked for reporting + max_idx = 0 if len(cb[0]) > len(cb[1]) else 1 + small_idx = (~max_idx) & 1 + + ps = [] + + for pid, pname in cb[small_idx]: + ps.append("{:d}:{}".format(pid, pname)) + + proc_names = ", ".join(ps) + + yield 0, (func_name, proc_names, len(cb[max_idx])) + + def run(self) -> renderers.TreeGrid: + return renderers.TreeGrid( + [ + ("Function", str), + ("Distinct Implementations", str), + ("Total Implementations", int), + ], + self._generator(), + ) diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index abc6142fe..97a2f2455 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -3,13 +3,13 @@ # import logging -from typing import Callable, List, Generator, Iterable, Type, Optional +from typing import Callable, List, Generator, Iterable, Type, Optional, Tuple -from volatility3.framework import renderers, interfaces, exceptions +from volatility3.framework import renderers, interfaces, exceptions, symbols from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import pslist +from volatility3.plugins.windows import pslist, pe_symbols vollog = logging.getLogger(__name__) @@ -37,7 +37,7 @@ class VadInfo(interfaces.plugins.PluginInterface): _version = (2, 0, 0) MAXSIZE_DEFAULT = 1024 * 1024 * 1024 # 1 Gb - def __init__(self, *args, **kwargs): + def __init__(self, *args, **kwargs): # type: ignore super().__init__(*args, **kwargs) self._protect_values = None @@ -107,6 +107,58 @@ class VadInfo(interfaces.plugins.PluginInterface): ) return values # type: ignore + @staticmethod + def get_proc_vads_with_file_paths( + proc: interfaces.objects.ObjectInterface, + ) -> pe_symbols.PESymbols.ranges_type: + """ + Returns a list of the process' vads that map a file + """ + vads = [] + + for vad in proc.get_vad_root().traverse(): + filepath = vad.get_file_name() + if not isinstance(filepath, str) or filepath.count("\\") == 0: + continue + + vads.append((vad.get_start(), vad.get_size(), filepath)) + + return vads + + @classmethod + def get_all_vads_with_file_paths( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table_name: str, + ) -> Generator[ + Tuple[ + interfaces.objects.ObjectInterface, str, pe_symbols.PESymbols.ranges_type + ], + None, + None, + ]: + """ + Yields each set of vads for a process that have a file mapped, along with the process itself and its layer + """ + is_32bit_arch = not symbols.symbol_table_is_64bit(context, symbol_table_name) + + procs = pslist.PsList.list_processes( + context=context, + layer_name=layer_name, + symbol_table=symbol_table_name, + ) + + for proc in procs: + try: + proc_layer_name = proc.add_process_layer() + except exceptions.InvalidAddressException: + continue + + vads = cls.get_proc_vads_with_file_paths(proc) + + yield proc, proc_layer_name, vads + @classmethod def list_vads( cls, @@ -196,11 +248,33 @@ class VadInfo(interfaces.plugins.PluginInterface): return file_handle - def _generator(self, procs): + def _generator( + self, procs: List[interfaces.objects.ObjectInterface] + ) -> Generator[ + Tuple[ + int, + Tuple[ + int, + str, + format_hints.Hex, + format_hints.Hex, + format_hints.Hex, + str, + str, + int, + int, + format_hints.Hex, + str, + str, + ], + ], + None, + None, + ]: kernel = self.context.modules[self.config["kernel"]] kernel_layer = self.context.layers[kernel.layer_name] - def passthrough(_: interfaces.objects.ObjectInterface) -> bool: + def passthrough(x: interfaces.objects.ObjectInterface) -> bool: return False filter_func = passthrough @@ -250,7 +324,7 @@ class VadInfo(interfaces.plugins.PluginInterface): ), ) - def run(self): + def run(self) -> renderers.TreeGrid: kernel = self.context.modules[self.config["kernel"]] filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) From 3bb9264a5770d6828487129b6ebfec509ade8680 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 6 Sep 2024 12:11:16 -0500 Subject: [PATCH 0664/2186] formatting --- volatility3/framework/plugins/windows/debugregisters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index 5f3c2e519..c70f922ae 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -37,7 +37,7 @@ class DebugRegisters(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pe_symbols", component=pe_symbols.PESymbols, version=(1, 0, 0) ), - ] + ] def _get_debug_info( self, ethread: interfaces.objects.ObjectInterface From 30cb5bd3ab4bac9f3ebb224d2f37cb98d6960545 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 6 Sep 2024 12:14:06 -0500 Subject: [PATCH 0665/2186] Formatting that my local black doesn't understand --- volatility3/framework/plugins/windows/vadinfo.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 97a2f2455..b3b7bf5fb 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -249,8 +249,7 @@ class VadInfo(interfaces.plugins.PluginInterface): return file_handle def _generator( - self, procs: List[interfaces.objects.ObjectInterface] - ) -> Generator[ + self, procs: List[interfaces.objects.ObjectInterface]) -> Generator[ Tuple[ int, Tuple[ From c223ac6e762d1072f04c21276645d7c2dda79dde Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 6 Sep 2024 12:31:55 -0500 Subject: [PATCH 0666/2186] more black help --- volatility3/framework/plugins/windows/vadinfo.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index b3b7bf5fb..655e54be6 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -141,8 +141,6 @@ class VadInfo(interfaces.plugins.PluginInterface): """ Yields each set of vads for a process that have a file mapped, along with the process itself and its layer """ - is_32bit_arch = not symbols.symbol_table_is_64bit(context, symbol_table_name) - procs = pslist.PsList.list_processes( context=context, layer_name=layer_name, From 7b48ee4be489b4667c57cca55da84abd3c1c3d12 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 6 Sep 2024 12:36:13 -0500 Subject: [PATCH 0667/2186] more black help --- volatility3/framework/plugins/windows/vadinfo.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 655e54be6..594c0d67c 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -246,8 +246,7 @@ class VadInfo(interfaces.plugins.PluginInterface): return file_handle - def _generator( - self, procs: List[interfaces.objects.ObjectInterface]) -> Generator[ + def _generator(self, procs: List[interfaces.objects.ObjectInterface]) -> Generator[ Tuple[ int, Tuple[ From bcd93616c0628fdb991866290845bbb861889f8f Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 6 Sep 2024 12:36:35 -0500 Subject: [PATCH 0668/2186] more black help --- volatility3/framework/plugins/windows/vadinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 594c0d67c..e129ad4ef 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -5,7 +5,7 @@ import logging from typing import Callable, List, Generator, Iterable, Type, Optional, Tuple -from volatility3.framework import renderers, interfaces, exceptions, symbols +from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints From fd8777287736baee75e6f1a8843b471a47b6ced2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 6 Sep 2024 12:47:42 -0500 Subject: [PATCH 0669/2186] Move VAD enumeration into pe_symbols --- .../framework/plugins/windows/pe_symbols.py | 57 +++++++++++++++++-- .../framework/plugins/windows/vadinfo.py | 50 ---------------- 2 files changed, 52 insertions(+), 55 deletions(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index b7faeaf55..51558f71b 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -16,7 +16,7 @@ from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import pdbutil from volatility3.framework.symbols.windows.extensions import pe -from volatility3.plugins.windows import pslist, vadinfo, modules +from volatility3.plugins.windows import pslist, modules vollog = logging.getLogger(__name__) @@ -170,9 +170,6 @@ class PESymbols(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(2, 0, 0) ), - requirements.VersionRequirement( - name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) - ), requirements.VersionRequirement( name="modules", component=modules.Modules, version=(2, 0, 0) ), @@ -648,6 +645,56 @@ class PESymbols(interfaces.plugins.PluginInterface): return found_modules + @staticmethod + def get_proc_vads_with_file_paths( + proc: interfaces.objects.ObjectInterface, + ) -> ranges_type: + """ + Returns a list of the process' vads that map a file + """ + vads = [] + + for vad in proc.get_vad_root().traverse(): + filepath = vad.get_file_name() + if not isinstance(filepath, str) or filepath.count("\\") == 0: + continue + + vads.append((vad.get_start(), vad.get_size(), filepath)) + + return vads + + @classmethod + def get_all_vads_with_file_paths( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table_name: str, + ) -> Generator[ + Tuple[ + interfaces.objects.ObjectInterface, str, ranges_type + ], + None, + None, + ]: + """ + Yields each set of vads for a process that have a file mapped, along with the process itself and its layer + """ + procs = pslist.PsList.list_processes( + context=context, + layer_name=layer_name, + symbol_table=symbol_table_name, + ) + + for proc in procs: + try: + proc_layer_name = proc.add_process_layer() + except exceptions.InvalidAddressException: + continue + + vads = PESymbols.get_proc_vads_with_file_paths(proc) + + yield proc, proc_layer_name, vads + @staticmethod def get_process_modules( context: interfaces.context.ContextInterface, @@ -666,7 +713,7 @@ class PESymbols(interfaces.plugins.PluginInterface): else: filter_modules_check = None - for _, proc_layer_name, vads in vadinfo.VadInfo.get_all_vads_with_file_paths( + for _, proc_layer_name, vads in PESymbols.get_all_vads_with_file_paths( context, layer_name, symbol_table ): for vad_start, vad_size, filepath in vads: diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index e129ad4ef..974793a71 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -107,56 +107,6 @@ class VadInfo(interfaces.plugins.PluginInterface): ) return values # type: ignore - @staticmethod - def get_proc_vads_with_file_paths( - proc: interfaces.objects.ObjectInterface, - ) -> pe_symbols.PESymbols.ranges_type: - """ - Returns a list of the process' vads that map a file - """ - vads = [] - - for vad in proc.get_vad_root().traverse(): - filepath = vad.get_file_name() - if not isinstance(filepath, str) or filepath.count("\\") == 0: - continue - - vads.append((vad.get_start(), vad.get_size(), filepath)) - - return vads - - @classmethod - def get_all_vads_with_file_paths( - cls, - context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table_name: str, - ) -> Generator[ - Tuple[ - interfaces.objects.ObjectInterface, str, pe_symbols.PESymbols.ranges_type - ], - None, - None, - ]: - """ - Yields each set of vads for a process that have a file mapped, along with the process itself and its layer - """ - procs = pslist.PsList.list_processes( - context=context, - layer_name=layer_name, - symbol_table=symbol_table_name, - ) - - for proc in procs: - try: - proc_layer_name = proc.add_process_layer() - except exceptions.InvalidAddressException: - continue - - vads = cls.get_proc_vads_with_file_paths(proc) - - yield proc, proc_layer_name, vads - @classmethod def list_vads( cls, From 61cf58d97794359e3e093a97f3b8d2562661aea4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 6 Sep 2024 12:49:01 -0500 Subject: [PATCH 0670/2186] black fixes --- volatility3/framework/plugins/windows/pe_symbols.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 51558f71b..10e87c552 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -670,9 +670,7 @@ class PESymbols(interfaces.plugins.PluginInterface): layer_name: str, symbol_table_name: str, ) -> Generator[ - Tuple[ - interfaces.objects.ObjectInterface, str, ranges_type - ], + Tuple[interfaces.objects.ObjectInterface, str, ranges_type], None, None, ]: From 802fc024b5a7666f1e56a641af4fe219c856f6b4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 6 Sep 2024 13:27:04 -0500 Subject: [PATCH 0671/2186] switch api place --- volatility3/framework/plugins/windows/debugregisters.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index c70f922ae..931ccef37 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -9,7 +9,6 @@ from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints import volatility3.plugins.windows.pslist as pslist import volatility3.plugins.windows.threads as threads -import volatility3.plugins.windows.vadinfo as vadinfo import volatility3.plugins.windows.pe_symbols as pe_symbols vollog = logging.getLogger(__name__) @@ -31,9 +30,6 @@ class DebugRegisters(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(2, 0, 0) ), - requirements.VersionRequirement( - name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) - ), requirements.VersionRequirement( name="pe_symbols", component=pe_symbols.PESymbols, version=(1, 0, 0) ), @@ -80,7 +76,7 @@ class DebugRegisters(interfaces.plugins.PluginInterface): if owner_proc.vol.offset in vads_cache: vads = vads_cache[owner_proc.vol.offset] else: - vads = vadinfo.VadInfo.get_proc_vads_with_file_paths(owner_proc) + vads = pe_symbols.PESymbols.get_proc_vads_with_file_paths(owner_proc) vads_cache[owner_proc.vol.offset] = vads # smear or terminated process From 26cd73115b58cf5b1adfb430c9f1070e45dbe727 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 8 Sep 2024 13:31:09 +0100 Subject: [PATCH 0672/2186] CLI: Filter on rendered values --- volatility3/cli/text_renderer.py | 38 +++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index ab9e44141..1f9cfa9d8 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -179,7 +179,15 @@ class QuickTextRenderer(CLIRenderer): outfd.write("\n{}\n".format("\t".join(line))) def visitor(node: interfaces.renderers.TreeNode, accumulator): - if self.filter and self.filter.filter(node.values): + line = [] + for column_index in range(len(grid.columns)): + column = grid.columns[column_index] + renderer = self._type_renderers.get( + column.type, self._type_renderers["default"] + ) + line.append(renderer(node.values[column_index])) + + if self.filter and self.filter.filter(line): return accumulator accumulator.write("\n") @@ -188,13 +196,6 @@ class QuickTextRenderer(CLIRenderer): "*" * max(0, node.path_depth - 1) + ("" if (node.path_depth <= 1) else " ") ) - line = [] - for column_index in range(len(grid.columns)): - column = grid.columns[column_index] - renderer = self._type_renderers.get( - column.type, self._type_renderers["default"] - ) - line.append(renderer(node.values[column_index])) accumulator.write("{}".format("\t".join(line))) accumulator.flush() return accumulator @@ -259,12 +260,18 @@ class CSVRenderer(CLIRenderer): def visitor(node: interfaces.renderers.TreeNode, accumulator): # Nodes always have a path value, giving them a path_depth of at least 1, we use max just in case row = {"TreeDepth": str(max(0, node.path_depth - 1))} + line = [] for column_index in range(len(grid.columns)): column = grid.columns[column_index] renderer = self._type_renderers.get( column.type, self._type_renderers["default"] ) row[f"{column.name}"] = renderer(node.values[column_index]) + line.append(row[f"{column.name}"]) + + if self.filter and self.filter.filter(line): + return accumulator + accumulator.writerow(row) return accumulator @@ -317,10 +324,8 @@ class PrettyTextRenderer(CLIRenderer): max_column_widths.get(tree_indent_column, 0), node.path_depth ) - if self.filter and self.filter.filter(node.values): - return accumulator - line = {} + rendered_line = [] for column_index in range(len(grid.columns)): column = grid.columns[column_index] renderer = self._type_renderers.get( @@ -334,6 +339,11 @@ class PrettyTextRenderer(CLIRenderer): max_column_widths.get(column.name, len(column.name)), field_width ) line[column] = data.split("\n") + rendered_line.append(data) + + if self.filter and self.filter.filter(rendered_line): + return accumulator + accumulator.append((node.path_depth, line)) return accumulator @@ -437,6 +447,7 @@ class JsonRenderer(CLIRenderer): # Nodes always have a path value, giving them a path_depth of at least 1, we use max just in case acc_map, final_tree = accumulator node_dict: Dict[str, Any] = {"__children": []} + line = [] for column_index in range(len(grid.columns)): column = grid.columns[column_index] renderer = self._type_renderers.get( @@ -446,6 +457,11 @@ class JsonRenderer(CLIRenderer): if isinstance(data, interfaces.renderers.BaseAbsentValue): data = None node_dict[column.name] = data + line.append(data) + + if self.filter and self.filter.filter(line): + return accumulator + if node.parent: acc_map[node.parent.path]["__children"].append(node_dict) else: From 8259ca90199f548e1592aa3ab05444c9353fe66a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 8 Sep 2024 13:47:26 +0100 Subject: [PATCH 0673/2186] Core: Bump the framework number so we can differentiate CLI versions --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index d30446d63..a131609c9 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 9 # Number of changes that only add to the interface +VERSION_MINOR = 10 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" From 4361c3857393b7f7311e9b600d1ea5d4966cdb93 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 8 Sep 2024 14:55:04 +0100 Subject: [PATCH 0674/2186] Core: Verify plugin requirements of plugins --- .../framework/configuration/requirements.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 1c0622574..931995bb8 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -585,6 +585,24 @@ class PluginRequirement(VersionRequirement): version=version, ) + def unsatisfied( + self, context: interfaces.context.ContextInterface, config_path: str + ) -> Dict[str, interfaces.configuration.RequirementInterface]: + result = super().unsatisfied(context, config_path) + if not result: + component: Type[interfaces.plugins.PluginInterface] = self._component + for requirement in component.get_requirements(): + if isinstance(requirement, PluginRequirement): + result.update( + requirement.unsatisfied( + context, + interfaces.configuration.path_join(config_path, self.name), + ) + ) + if result: + result[config_path] = self + return result + class ModuleRequirement( interfaces.configuration.ConstructableRequirementInterface, From f3085b6c59b05190320722feef58f276357d2155 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 8 Sep 2024 16:06:23 +0100 Subject: [PATCH 0675/2186] Core: Move the pluginrequirement check to generic versionrequirement --- .../framework/configuration/requirements.py | 42 ++++++++++--------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 931995bb8..f95dac307 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -527,12 +527,14 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): def __init__( self, name: str, - description: str = None, + description: Optional[str] = None, default: bool = False, optional: bool = False, component: Type[interfaces.configuration.VersionableInterface] = None, version: Optional[Tuple[int, ...]] = None, ) -> None: + if description is None: + description = f"Version {".".join([str(x) for x in version])} dependency on {component.__module__}.{component.__name__} unmet" super().__init__( name=name, description=description, default=default, optional=optional ) @@ -550,9 +552,29 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): config_path = interfaces.configuration.path_join(config_path, self.name) if not self.matches_required(self._version, self._component.version): return {config_path: self} + + # Check for child requirements + if issubclass(self._component, interfaces.configuration.ConfigurableInterface): + result = {} + for requirement in self._component.get_requirements(): + if not requirement.optional and isinstance( + requirement, VersionRequirement + ): + result.update( + requirement.unsatisfied( + context, + config_path, + ) + ) + + if result: + result.update({config_path: self}) + return result + context.config[interfaces.configuration.path_join(config_path, self.name)] = ( True ) + return {} @classmethod @@ -585,24 +607,6 @@ class PluginRequirement(VersionRequirement): version=version, ) - def unsatisfied( - self, context: interfaces.context.ContextInterface, config_path: str - ) -> Dict[str, interfaces.configuration.RequirementInterface]: - result = super().unsatisfied(context, config_path) - if not result: - component: Type[interfaces.plugins.PluginInterface] = self._component - for requirement in component.get_requirements(): - if isinstance(requirement, PluginRequirement): - result.update( - requirement.unsatisfied( - context, - interfaces.configuration.path_join(config_path, self.name), - ) - ) - if result: - result[config_path] = self - return result - class ModuleRequirement( interfaces.configuration.ConstructableRequirementInterface, From ace590e8f0669797b5770773eeadcbcb27752a78 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 8 Sep 2024 16:08:48 +0100 Subject: [PATCH 0676/2186] Core: Fix up f-string containing a string --- volatility3/framework/configuration/requirements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index f95dac307..3a862a132 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -534,7 +534,7 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): version: Optional[Tuple[int, ...]] = None, ) -> None: if description is None: - description = f"Version {".".join([str(x) for x in version])} dependency on {component.__module__}.{component.__name__} unmet" + description = f"Version {'.'.join([str(x) for x in version])} dependency on {component.__module__}.{component.__name__} unmet" super().__init__( name=name, description=description, default=default, optional=optional ) From bf000ff0a0bafc0197ee1dd074f1df450362d02f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 8 Sep 2024 21:42:59 +0100 Subject: [PATCH 0677/2186] Core: Add recursion protection to VersionRequirement check --- .../framework/configuration/requirements.py | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 3a862a132..49ca49b59 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -546,13 +546,26 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): self._version = version def unsatisfied( - self, context: interfaces.context.ContextInterface, config_path: str + self, + context: interfaces.context.ContextInterface, + config_path: str, + accumulator: Optional[ + List[interfaces.configuration.VersionableInterface] + ] = None, ) -> Dict[str, interfaces.configuration.RequirementInterface]: # Mypy doesn't appreciate our classproperty implementation, self._plugin.version has no type config_path = interfaces.configuration.path_join(config_path, self.name) if not self.matches_required(self._version, self._component.version): return {config_path: self} + if accumulator is None: + accumulator = set([self._component]) + else: + if self._component in accumulator: + return {config_path: self} + else: + accumulator.add(self._component) + # Check for child requirements if issubclass(self._component, interfaces.configuration.ConfigurableInterface): result = {} @@ -562,8 +575,7 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): ): result.update( requirement.unsatisfied( - context, - config_path, + context, config_path, accumulator.copy() ) ) From 9152f33181fd347366468d00c47a2c22ae71cfc2 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 8 Sep 2024 21:58:09 +0100 Subject: [PATCH 0678/2186] Core: Allow circular dependencies as long as they are all met --- volatility3/framework/configuration/requirements.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 49ca49b59..dcb7505ea 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -558,16 +558,20 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): if not self.matches_required(self._version, self._component.version): return {config_path: self} + recurse = True if accumulator is None: accumulator = set([self._component]) else: if self._component in accumulator: - return {config_path: self} + recurse = False else: accumulator.add(self._component) # Check for child requirements - if issubclass(self._component, interfaces.configuration.ConfigurableInterface): + if ( + issubclass(self._component, interfaces.configuration.ConfigurableInterface) + and recurse + ): result = {} for requirement in self._component.get_requirements(): if not requirement.optional and isinstance( From fd2c97e1bafb5b30403a1788eae4c32723438746 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 9 Sep 2024 00:44:00 +0100 Subject: [PATCH 0679/2186] CLI: Use enumerate for renderers (thanks @gcmoreira) --- volatility3/cli/text_renderer.py | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 1f9cfa9d8..da0cdf62a 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -180,8 +180,7 @@ class QuickTextRenderer(CLIRenderer): def visitor(node: interfaces.renderers.TreeNode, accumulator): line = [] - for column_index in range(len(grid.columns)): - column = grid.columns[column_index] + for column_index, column in enumerate(grid.columns): renderer = self._type_renderers.get( column.type, self._type_renderers["default"] ) @@ -261,8 +260,7 @@ class CSVRenderer(CLIRenderer): # Nodes always have a path value, giving them a path_depth of at least 1, we use max just in case row = {"TreeDepth": str(max(0, node.path_depth - 1))} line = [] - for column_index in range(len(grid.columns)): - column = grid.columns[column_index] + for column_index, column in enumerate(grid.columns): renderer = self._type_renderers.get( column.type, self._type_renderers["default"] ) @@ -326,8 +324,7 @@ class PrettyTextRenderer(CLIRenderer): line = {} rendered_line = [] - for column_index in range(len(grid.columns)): - column = grid.columns[column_index] + for column_index, column in enumerate(grid.columns): renderer = self._type_renderers.get( column.type, self._type_renderers["default"] ) @@ -357,8 +354,7 @@ class PrettyTextRenderer(CLIRenderer): format_string_list = [ "{0:<" + str(max_column_widths.get(tree_indent_column, 0)) + "s}" ] - for column_index in range(len(grid.columns)): - column = grid.columns[column_index] + for column_index, column in enumerate(grid.columns): format_string_list.append( "{" + str(column_index + 1) @@ -448,8 +444,7 @@ class JsonRenderer(CLIRenderer): acc_map, final_tree = accumulator node_dict: Dict[str, Any] = {"__children": []} line = [] - for column_index in range(len(grid.columns)): - column = grid.columns[column_index] + for column_index, column in enumerate(grid.columns): renderer = self._type_renderers.get( column.type, self._type_renderers["default"] ) From b7e604d63f667663f9a00415493ec4f8b12a5024 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Tue, 10 Sep 2024 14:50:40 -0500 Subject: [PATCH 0680/2186] Address feedback --- .../plugins/windows/debugregisters.py | 33 +- .../framework/plugins/windows/pe_symbols.py | 394 ++++++++++++++---- .../plugins/windows/unhooked_system_calls.py | 7 +- .../framework/plugins/windows/vadinfo.py | 4 +- 4 files changed, 331 insertions(+), 107 deletions(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index 931ccef37..65b2e625b 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -1,3 +1,6 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 + import logging from typing import Tuple, Optional, Generator, List, Dict @@ -35,11 +38,16 @@ class DebugRegisters(interfaces.plugins.PluginInterface): ), ] + @staticmethod def _get_debug_info( - self, ethread: interfaces.objects.ObjectInterface + ethread: interfaces.objects.ObjectInterface, ) -> Optional[Tuple[interfaces.objects.ObjectInterface, int, int, int, int, int]]: """ Gathers information related to the debug registers for the given thread + Args: + ethread: the thread (_ETHREAD) to examine + Returns: + Tuple[interfaces.objects.ObjectInterface, int, int, int, int, int]: The owner process of the thread and the values for dr7, dr0, dr1, dr2, dr3 """ try: dr7 = ethread.Tcb.TrapFrame.Dr7 @@ -68,23 +76,6 @@ class DebugRegisters(interfaces.plugins.PluginInterface): return owner_proc, dr7, dr0, dr1, dr2, dr3 - def _get_vads( - self, - vads_cache: Dict[int, List[Tuple[int, int, str]]], - owner_proc: interfaces.objects.ObjectInterface, - ) -> Optional[List[Tuple[int, int, str]]]: - if owner_proc.vol.offset in vads_cache: - vads = vads_cache[owner_proc.vol.offset] - else: - vads = pe_symbols.PESymbols.get_proc_vads_with_file_paths(owner_proc) - vads_cache[owner_proc.vol.offset] = vads - - # smear or terminated process - if len(vads) == 0: - return None - - return vads - def _generator( self, ) -> Generator[ @@ -115,7 +106,7 @@ class DebugRegisters(interfaces.plugins.PluginInterface): ]: kernel = self.context.modules[self.config["kernel"]] - vads_cache: Dict[int, List[Tuple[int, int, str]]] = {} + vads_cache: Dict[int, pe_symbols.ranges_type] = {} proc_modules = None @@ -133,7 +124,9 @@ class DebugRegisters(interfaces.plugins.PluginInterface): owner_proc, dr7, dr0, dr1, dr2, dr3 = debug_info - vads = self._get_vads(vads_cache, owner_proc) + vads = pe_symbols.PESymbols.get_vads_for_process_cache( + vads_cache, owner_proc + ) if not vads: continue diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 10e87c552..c9785a1c9 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -1,9 +1,9 @@ # This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 - import io import logging +import ntpath from typing import Dict, Tuple, Optional, List, Generator, Union @@ -17,9 +17,37 @@ from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import pdbutil from volatility3.framework.symbols.windows.extensions import pe from volatility3.plugins.windows import pslist, modules +from volatility3.framework.constants.windows import KERNEL_MODULE_NAMES vollog = logging.getLogger(__name__) +# keys for specifying wanted names and/or addresses +# used for consistent access between the API and plugins +wanted_names_identifier = "names" +wanted_addresses_identifier = "addresses" + +# how wanted modules/symbols are specified, such as: +# {"ntdll.dll" : {wanted_addresses : [42, 43, 43]}} +# {"ntdll.dll" : {wanted_names : ["NtCreateThread"]}} +filter_modules_type = Dict[str, Union[Dict[str, List[str]], Dict[str, List[int]]]] + +# holds resolved symbols +# {"ntdll.dll": [("Bob", 123), ("Alice", 456)]} +found_symbols_type = Dict[str, List[Tuple[str, int]]] + +# used to hold informatin about a range (VAD or kernel module) +# (start address, size, file path) +range_type = Tuple[int, int, str] +ranges_type = List[range_type] + +# collected_modules are modules and their symbols found when walking vads or kernel modules +# Tuple of (process or kernel layer name, range start, range size) +collected_module_instance = Tuple[str, int, int] +collected_modules_info = List[collected_module_instance] +collected_modules_type = Dict[str, collected_modules_info] + +PESymbolFinders = Union[interfaces.context.ModuleInterface, pefile.ExportDirData] + class PESymbolFinder: """ @@ -28,21 +56,19 @@ class PESymbolFinder: lookup symbols by name or address """ - cached_str = Union[str, None] - cached_str_dict = Dict[str, cached_str] + cached_str_dict = Dict[str, Optional[str]] - cached_int = Union[int, None] - cached_int_dict = Dict[str, cached_int] + cached_int_dict = Dict[str, Optional[int]] cached_value = Union[int, str, None] - cached_value_dict = Dict[str, Union[Dict[str, List[str]], Dict[str, List[int]]]] + cached_value_dict = Dict[str, Dict[str, List[str]] | Dict[str, List[int]]] def __init__( self, layer_name: str, mod_name: str, module_start: int, - symbol_module: Union[interfaces.context.ModuleInterface, pefile.ExportDirData], + symbol_module: PESymbolFinders, ): self._layer_name = layer_name self._mod_name = mod_name @@ -56,10 +82,25 @@ class PESymbolFinder: """ Maintain a cache for symbol lookups to avoid re-walking of PDB symbols or export tables within the same module for the same address in the same layer + + Args: + value: The value (address or name) being cached + + Returns: + str: The constructed cache key that includes the layer and module name """ return f"{self._layer_name}|{self._mod_name}|{value}" - def get_name_for_address(self, address: int) -> cached_str: + def get_name_for_address(self, address: int) -> Optional[str]: + """ + Returns the name for the given address within the particular layer and module + + Args: + address: the address to resolve within the module + + Returns: + str: the name of the symbol, if found + """ cached_key = self._get_cache_key(address) if cached_key not in self._name_cache: name = self._do_get_name(address) @@ -67,7 +108,16 @@ class PESymbolFinder: return self._name_cache[cached_key] - def get_address_for_name(self, name: str) -> cached_int: + def get_address_for_name(self, name: str) -> Optional[int]: + """ + Returns the name for the given address within the particular layer and module + + Args: + str: the name of the symbol to resolve + + Returns: + address: the address of the symbol, if found + """ cached_key = self._get_cache_key(name) if cached_key not in self._address_cache: address = self._do_get_address(name) @@ -75,10 +125,30 @@ class PESymbolFinder: return self._address_cache[cached_key] - def _do_get_name(self, address: int) -> cached_str: + def _do_get_name(self, address: int) -> Optional[str]: + """ + Returns the name for the given address within the particular layer and module. + This method must be overwritten by sub classes. + + Args: + address: the address to resolve within the module + + Returns: + str: the name of the symbol, if found + """ raise NotImplementedError("_do_get_name must be overwritten") - def _do_get_address(self, name: str) -> cached_int: + def _do_get_address(self, name: str) -> Optional[int]: + """ + Returns the name for the given address within the particular layer and module + This method must be overwritten by sub classes. + + Args: + str: the name of the symbol to resolve + + Returns: + address: the address of the symbol, if found + """ raise NotImplementedError("_do_get_address must be overwritten") @@ -87,13 +157,31 @@ class PDBSymbolFinder(PESymbolFinder): PESymbolFinder implementation for PDB modules """ - def _do_get_address(self, name: str) -> PESymbolFinder.cached_int: + def _do_get_address(self, name: str) -> Optional[int]: + """ + _do_get_address implementation for PDBSymbolFinder + + Args: + str: the name of the symbol to resolve + + Returns: + address: the address of the symbol, if found + """ try: return self._symbol_module.get_absolute_symbol_address(name) except exceptions.SymbolError: return None - def _do_get_name(self, address: int) -> PESymbolFinder.cached_str: + def _do_get_name(self, address: int) -> Optional[str]: + """ + _do_get_name implementation for PDBSymbolFinder + + Args: + address: the address to resolve within the module + + Returns: + str: the name of the symbol, if found + """ try: name = self._symbol_module.get_symbols_by_absolute_location(address)[0] return name.split(constants.BANG)[1] @@ -113,14 +201,32 @@ class ExportSymbolFinder(PESymbolFinder): except AttributeError: return None - def _do_get_name(self, address: int) -> PESymbolFinder.cached_str: + def _do_get_name(self, address: int) -> Optional[str]: + """ + _do_get_name implementation for ExportSymbolFinder + + Args: + address: the address to resolve within the module + + Returns: + str: the name of the symbol, if found + """ for export in self._symbol_module: if export.address + self._module_start == address: return self._get_name(export) return None - def _do_get_address(self, name: str) -> PESymbolFinder.cached_int: + def _do_get_address(self, name: str) -> Optional[int]: + """ + _do_get_address implementation for ExportSymbolFinder + Args: + str: the name of the symbol to resolve + + Returns: + address: the address of the symbol, if found + """ + for export in self._symbol_module: sym_name = self._get_name(export) if sym_name and sym_name == name: @@ -139,25 +245,6 @@ class PESymbols(interfaces.plugins.PluginInterface): # used for special handling of the kernel PDB file. See later notes os_module_name = "ntoskrnl.exe" - # keys for specifying wanted names and/or addresses - # used for consistent access between the API and plugins - wanted_names = "names" - wanted_addresses = "addresses" - - # how wanted modules/symbols are specified, such as: - # {"ntdll.dll" : {wanted_addresses : [42, 43, 43]}} - # {"ntdll.dll" : {wanted_names : ["NtCreateThread"]}} - filter_modules_type = Dict[str, Union[Dict[str, List[str]], Dict[str, List[int]]]] - - # holds resolved symbols - # {"ntdll.dll": [("Bob", 123), ("Alice", 456)]} - found_symbols_type = Dict[str, List[Tuple[str, int]]] - - # used to hold informatin about a range (VAD or kernel module) - # (start address, size, file path) - range_type = Tuple[int, int, str] - ranges_type = List[range_type] - @classmethod def get_requirements(cls) -> List: # Since we're calling the plugin, make sure we have the plugin's requirements @@ -187,13 +274,15 @@ class PESymbols(interfaces.plugins.PluginInterface): description='Module in which to resolve symbols. Use "ntoskrnl.exe" to resolve in the base kernel executable.', optional=False, ), - requirements.StringRequirement( - name="symbol", + requirements.ListRequirement( + name="symbols", + element_type=str, description="Symbol name to resolve", optional=True, ), - requirements.IntRequirement( - name="address", + requirements.ListRequirement( + name="addresses", + element_type=int, description="Address of symbol to resolve", optional=True, ), @@ -242,7 +331,15 @@ class PESymbols(interfaces.plugins.PluginInterface): ranges: ranges_type, address: int ) -> Optional[range_type]: """ - Helper for getting the range information for an address + Helper for getting the range information for an address. + Finds the range holding the `address` parameter + + Args: + address: the address to find the range for + + Returns: + Tuple[int, int, str]: The starting address, size, and file path of the range + """ for start, size, filepath in ranges: if start <= address < start + size: @@ -254,6 +351,13 @@ class PESymbols(interfaces.plugins.PluginInterface): def filepath_for_address(ranges: ranges_type, address: int) -> Optional[str]: """ Helper to get the file path for an address + + Args: + ranges: The set of VADs with mapped files to find the address + address: The address to find inside of the VADs set + + Returns: + str: The full path of the file, if found and present """ info = PESymbols.range_info_for_address(ranges, address) if info: @@ -264,9 +368,15 @@ class PESymbols(interfaces.plugins.PluginInterface): @staticmethod def filename_for_path(filepath: str) -> str: """ - Consistent way to get the filename + Consistent way to get the filename regardless of platform + + Args: + str: the file path from `filepath_for_address` + + Returns: + str: the bsae file name of the full path """ - return filepath.split("\\")[-1] + return ntpath.basename(filepath) @staticmethod def addresses_for_process_symbols( @@ -276,6 +386,18 @@ class PESymbols(interfaces.plugins.PluginInterface): symbol_table_name: str, symbols: filter_modules_type, ) -> found_symbols_type: + """ + Used to easily resolve the addresses of names inside of modules. + + See the usage of this function for system call resolution in unhooked_system_calls.py + for an easy to understand example. + + Args: + symbols: The dictionary of symbols requested by the caller + + Returns: + found_symbols_type: The dictionary of symbols that were resolved + """ collected_modules = PESymbols.get_process_modules( context, layer_name, symbol_table_name, symbols ) @@ -294,16 +416,22 @@ class PESymbols(interfaces.plugins.PluginInterface): def path_and_symbol_for_address( context: interfaces.context.ContextInterface, config_path: str, - collected_modules: Dict[str, List[Tuple[str, int, int]]], + collected_modules: collected_modules_type, ranges: ranges_type, address: int, ) -> Tuple[str, str]: """ Method for plugins to determine the file path and symbol name for a given address - collected_modules: return value from `get_kernel_modules` or `get_process_modules` - ranges: the memory ranges to examine in this layer. - address: address to resolve to its symbol name + See debugregisters.py for an example of how this function is used along with get_vads_for_process_cache + for resolving symbols in processes. + + Args: + collected_modules: return value from `get_kernel_modules` or `get_process_modules` + ranges: the memory ranges to examine in this layer. + address: address to resolve to its symbol name + Returns: + Tuple[str|renderers.NotApplicableValue|renderers.NotAvailableValue, str|renderers.NotApplicableValue|renderers.NotAvailableValue] """ if not address: @@ -317,15 +445,15 @@ class PESymbols(interfaces.plugins.PluginInterface): filename = PESymbols.filename_for_path(filepath).lower() # setup to resolve the address - filter_module: PESymbols.filter_modules_type = { - filename: {PESymbols.wanted_addresses: [address]} + filter_module: filter_modules_type = { + filename: {wanted_addresses_identifier: [address]} } found_symbols = PESymbols.find_symbols( context, config_path, filter_module, collected_modules ) - if not found_symbols or not found_symbols[filename]: + if not found_symbols or filename not in found_symbols: return renderers.NotAvailableValue(), renderers.NotAvailableValue() return filepath, found_symbols[filename][0][0] @@ -335,13 +463,18 @@ class PESymbols(interfaces.plugins.PluginInterface): context: interfaces.context.ContextInterface, pe_table_name: str, mod_name: str, - module_info: Tuple[str, int, int], + module_info: collected_module_instance, ) -> Optional[ExportSymbolFinder]: """ Attempts to locate symbols based on export analysis - mod_name: lower case name of the module to resolve symbols in - module_info: (layer_name, module_start, module_size) of the module to examine + Args: + mod_name: lower case name of the module to resolve symbols in + module_info: (layer_name, module_start, module_size) of the module to examine + + Returns: + Optional[ExportSymbolFinder]: If the export table can be resolved, then the ExportSymbolFinder + instance for it """ layer_name = module_info[0] @@ -361,7 +494,10 @@ class PESymbols(interfaces.plugins.PluginInterface): return None return ExportSymbolFinder( - layer_name, mod_name, module_start, pe_module.DIRECTORY_ENTRY_EXPORT.symbols + layer_name, + mod_name.lower(), + module_start, + pe_module.DIRECTORY_ENTRY_EXPORT.symbols, ) @staticmethod @@ -369,13 +505,17 @@ class PESymbols(interfaces.plugins.PluginInterface): context: interfaces.context.ContextInterface, config_path: str, mod_name: str, - module_info: Tuple[str, int, int], + module_info: collected_module_instance, ) -> Optional[PDBSymbolFinder]: """ - Attempts to locate symbols based on PDB analysis + Attempts to locate symbols based on PDB analysis through each layer where the mod_name module was found - mod_name: lower case name of the module to resolve symbols in - module_info: (layer_name, module_start, module_size) of the module to examine + Args: + mod_name: lower case name of the module to resolve symbols in + module_info: (layer_name, module_start, module_size) of the module to examine + + Returns: + Optional[PDBSymbolFinder]: If the export table can be resolved, then the ExportSymbolFinder """ mod_symbols = None @@ -386,15 +526,17 @@ class PESymbols(interfaces.plugins.PluginInterface): # a `ntoskrnl.exe` can have an internal PDB name of any of the ones in the following list # The code attempts to find all possible PDBs to ensure the best chance of recovery if mod_name == PESymbols.os_module_name: - pdb_names = ["ntkrnlmp.pdb", "ntkrnlpa.pdb", "ntkrpamp.pdb", "ntoskrnl.pdb"] + pdb_names = [fn + ".pdb" for fn in KERNEL_MODULE_NAMES] # for non-kernel files, replace the exe, sys, or dll extension with pdb else: + # in testing we found where some DLLs, such amsi.dll, have its PDB string as Amsi.dll + # in certain Windows versions mod_name = mod_name[:-3] + "pdb" first_upper = mod_name[0].upper() + mod_name[1:] pdb_names = [mod_name, first_upper] - # loop through each PDB name (will be just one for all but the kernel) + # loop through each PDB name (all the kernel names or the dll name as lower() + first char upper case) for pdb_name in pdb_names: try: mod_symbols = pdbutil.PDBUtility.symbol_table_from_pdb( @@ -433,11 +575,17 @@ class PESymbols(interfaces.plugins.PluginInterface): def _find_symbols_through_pdb( context: interfaces.context.ContextInterface, config_path: str, - module_instances: List[Tuple[str, int, int]], + module_instances: collected_modules_info, mod_name: str, ) -> Generator[PDBSymbolFinder, None, None]: """ - Attempts to resolve the symbols in `wanted_symbols` through PDB analysis + Attempts to resolve the symbols in `mod_name` through PDB analysis + + Args: + module_instances: the set of layers in which the module was found + mod_name: name of the module to resolve symbols in + Returns: + Generator[PDBSymbolFinder]: a PDBSymbolFinder instance for each layer in which the module was found """ for module_info in module_instances: mod_module = PESymbols._get_pdb_module( @@ -450,11 +598,17 @@ class PESymbols(interfaces.plugins.PluginInterface): def _find_symbols_through_exports( context: interfaces.context.ContextInterface, config_path: str, - module_instances: List[Tuple[str, int, int]], + module_instances: collected_modules_info, mod_name: str, ) -> Generator[ExportSymbolFinder, None, None]: """ - Attempts to resolve the symbols in `wanted_symbols` through export analysis + Attempts to resolve the symbols in `mod_name` through export analysis + + Args: + module_instances: the set of layers in which the module was found + mod_name: name of the module to resolve symbols in + Returns: + Generator[ExportSymbolFinder]: an ExportSymbolFinder instance for each layer in which the module was found """ pe_table_name = intermed.IntermediateSymbolTable.create( context, config_path, "windows", "pe", class_types=pe.class_types @@ -476,12 +630,21 @@ class PESymbols(interfaces.plugins.PluginInterface): ) -> Generator[Tuple[str, int], None, None]: """ Enumerates the symbols specified as wanted by the calling plugin + + removes entries from wanted_modules as they found to avoid PDB or export analysis after resolving all symbols + + Args: + wanted_modules: the dictionary of modules and symbols to resolve. Modified to remove symbols as they are resolved. + mod_name: the name of module to resolve symbols in + + Returns: + Tuple[str, int]: the name and address of resolved symbols """ wanted_symbols = wanted_modules[mod_name] if ( - PESymbols.wanted_names not in wanted_symbols - and PESymbols.wanted_addresses not in wanted_symbols + wanted_names_identifier not in wanted_symbols + and wanted_addresses_identifier not in wanted_symbols ): vollog.warning( f"Invalid `wanted_symbols` sent to `find_symbols` for module {mod_name}. addresses and names keys both misssing." @@ -489,8 +652,8 @@ class PESymbols(interfaces.plugins.PluginInterface): return symbol_keys = [ - (PESymbols.wanted_names, "get_address_for_name"), - (PESymbols.wanted_addresses, "get_name_for_address"), + (wanted_names_identifier, "get_address_for_name"), + (wanted_addresses_identifier, "get_name_for_address"), ] for symbol_key, symbol_getter in symbol_keys: @@ -503,7 +666,7 @@ class PESymbols(interfaces.plugins.PluginInterface): ) if symbol_value: # yield out symbol name, symbol address - if symbol_key == PESymbols.wanted_names: + if symbol_key == wanted_names_identifier: yield wanted_value, symbol_value # type: ignore else: yield symbol_value, wanted_value # type: ignore @@ -521,13 +684,20 @@ class PESymbols(interfaces.plugins.PluginInterface): def _resolve_symbols_through_methods( context: interfaces.context.ContextInterface, config_path: str, - module_instances: List[Tuple[str, int, int]], + module_instances: collected_modules_info, wanted_modules: PESymbolFinder.cached_value_dict, mod_name: str, ) -> Generator[Tuple[str, int], None, None]: """ Attempts to resolve every wanted symbol in `mod_name` Every layer is enumerated for maximum chance of recovery + + Args: + module_instances: the set of layers in which the module was found + wanted_modules: The symbols to resolve tied to their module names + mod_name: name of the module to resolve symbols in + Returns: + Generator[Tuple[str, int]]: resolved symbol names and addresses """ symbol_resolving_methods = [ PESymbols._find_symbols_through_pdb, @@ -554,13 +724,19 @@ class PESymbols(interfaces.plugins.PluginInterface): context: interfaces.context.ContextInterface, config_path: str, wanted_modules: PESymbolFinder.cached_value_dict, - collected_modules: Dict[str, List[Tuple[str, int, int]]], + collected_modules: collected_modules_type, ) -> found_symbols_type: """ Loops through each method of symbol analysis until each wanted symbol is found Returns the resolved symbols as a dictionary that includes the name and runtime address + + Args: + wanted_modules: the dictionary of modules and symbols to resolve. Modified to remove symbols as they are resolved. + collected_modules: return value from `get_kernel_modules` or `get_process_modules` + Returns: + found_symbols_type: The set of symbols resolved to their name and/or address """ - found_symbols: PESymbols.found_symbols_type = {} + found_symbols: found_symbols_type = {} for mod_name in wanted_modules: if mod_name not in collected_modules: @@ -594,11 +770,16 @@ class PESymbols(interfaces.plugins.PluginInterface): layer_name: str, symbol_table: str, filter_modules: Optional[filter_modules_type], - ) -> Dict[str, List[Tuple[str, int, int]]]: + ) -> collected_modules_type: """ Walks the kernel module list and finds the session layer, base, and size of each wanted module + + Args: + filter_modules: The modules to filter the gathering to. If left as None, all kernel modules are gathered. + Returns: + collected_modules_type: The collection of modules found with at least one layer present """ - found_modules: Dict[str, List[Tuple[str, int, int]]] = {} + found_modules: collected_modules_type = {} if filter_modules: # create a tuple of module names for use with `endswith` @@ -645,16 +826,55 @@ class PESymbols(interfaces.plugins.PluginInterface): return found_modules + @staticmethod + def get_vads_for_process_cache( + vads_cache: Dict[int, ranges_type], + owner_proc: interfaces.objects.ObjectInterface, + ) -> Optional[ranges_type]: + """ + Creates and utilizes a cache of a process' VADs for efficient lookups + + Returns the vad information of the VAD hosting the address, if found + + Args: + vads_cache: The existing cache of VADs + owner_proc: The process being inspected + Returns: + Optional[ranges_type]: The range holding the address, if found + """ + if owner_proc.vol.offset in vads_cache: + vads = vads_cache[owner_proc.vol.offset] + else: + vads = PESymbols.get_proc_vads_with_file_paths(owner_proc) + vads_cache[owner_proc.vol.offset] = vads + + # smear or terminated process + if len(vads) == 0: + return None + + return vads + @staticmethod def get_proc_vads_with_file_paths( proc: interfaces.objects.ObjectInterface, ) -> ranges_type: """ Returns a list of the process' vads that map a file - """ - vads = [] - for vad in proc.get_vad_root().traverse(): + Args: + proc: The process to gather the VADs for + + Returns: + ranges_type: The list of VADs for this process that map a file + """ + vads: ranges_type = [] + + try: + vad_root = proc.get_vad_root() + except exceptions.InvalidAddressException: + return vads + + for vad in vad_root.traverse(): filepath = vad.get_file_name() if not isinstance(filepath, str) or filepath.count("\\") == 0: continue @@ -676,6 +896,9 @@ class PESymbols(interfaces.plugins.PluginInterface): ]: """ Yields each set of vads for a process that have a file mapped, along with the process itself and its layer + + Args: + Generator[Tuple[interfaces.objects.ObjectInterface, str, ranges_type]]: Yields tuple of process objects, layers, and VADs mapping files """ procs = pslist.PsList.list_processes( context=context, @@ -689,7 +912,7 @@ class PESymbols(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: continue - vads = PESymbols.get_proc_vads_with_file_paths(proc) + vads = cls.get_proc_vads_with_file_paths(proc) yield proc, proc_layer_name, vads @@ -699,11 +922,16 @@ class PESymbols(interfaces.plugins.PluginInterface): layer_name: str, symbol_table: str, filter_modules: Optional[filter_modules_type], - ) -> Dict[str, List[Tuple[str, int, int]]]: + ) -> collected_modules_type: """ Walks the process list and each process' VAD to determine the base address and size of wanted modules + + Args: + filter_modules: The modules to filter the gathering to. If left as None, all process modules are gathered. + Returns: + collected_modules_type: The collection of modules found with at least one layer present """ - proc_modules: Dict[str, List[Tuple[str, int, int]]] = {} + proc_modules: collected_modules_type = {} if filter_modules: # create a tuple of module names for use with `endswith` @@ -711,7 +939,7 @@ class PESymbols(interfaces.plugins.PluginInterface): else: filter_modules_check = None - for _, proc_layer_name, vads in PESymbols.get_all_vads_with_file_paths( + for _proc, proc_layer_name, vads in PESymbols.get_all_vads_with_file_paths( context, layer_name, symbol_table ): for vad_start, vad_size, filepath in vads: @@ -731,17 +959,17 @@ class PESymbols(interfaces.plugins.PluginInterface): def _generator(self) -> Generator[Tuple[int, Tuple[str, str, int]], None, None]: kernel = self.context.modules[self.config["kernel"]] - if self.config["symbol"]: + if self.config["symbols"]: filter_module = { self.config["module"].lower(): { - PESymbols.wanted_names: [self.config["symbol"]] + wanted_names_identifier: self.config["symbols"] } } - elif self.config["address"]: + elif self.config["addresses"]: filter_module = { self.config["module"].lower(): { - PESymbols.wanted_addresses: [self.config["address"]] + wanted_addresses_identifier: self.config["addresses"] } } diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index 0438bc9e3..68f4c4b80 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -1,3 +1,6 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 + import logging from typing import Dict, Tuple, List, Generator @@ -18,7 +21,7 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): system_calls = { "ntdll.dll": { - pe_symbols.PESymbols.wanted_names: [ + pe_symbols.wanted_names_identifier: [ "NtCreateThread", "NtProtectVirtualMemory", "NtReadVirtualMemory", @@ -90,7 +93,7 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): def _gather_code_bytes( self, kernel: interfaces.context.ModuleInterface, - found_symbols: pe_symbols.PESymbols.found_symbols_type, + found_symbols: pe_symbols.found_symbols_type, ) -> _code_bytes_type: """ Enumerates the desired DLLs and function implementations in each process diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 974793a71..2c6ed4daf 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -9,7 +9,7 @@ from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import pslist, pe_symbols +from volatility3.plugins.windows import pslist vollog = logging.getLogger(__name__) @@ -37,7 +37,7 @@ class VadInfo(interfaces.plugins.PluginInterface): _version = (2, 0, 0) MAXSIZE_DEFAULT = 1024 * 1024 * 1024 # 1 Gb - def __init__(self, *args, **kwargs): # type: ignore + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._protect_values = None From b40c20dd7fe0d1e348f94531c290a9aceee34dcb Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Tue, 10 Sep 2024 14:55:00 -0500 Subject: [PATCH 0681/2186] Revert back to union to avoid failed tests --- volatility3/framework/plugins/windows/pe_symbols.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index c9785a1c9..30e9b49d1 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -61,7 +61,7 @@ class PESymbolFinder: cached_int_dict = Dict[str, Optional[int]] cached_value = Union[int, str, None] - cached_value_dict = Dict[str, Dict[str, List[str]] | Dict[str, List[int]]] + cached_value_dict = Dict[str, Union[Dict[str, List[str]], Dict[str, List[int]]]] def __init__( self, From c86d973329e1795ceb0be15e70d9411a38b0f60e Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 11 Sep 2024 15:54:17 +1000 Subject: [PATCH 0682/2186] Linux page cache plugins pointer verification improvements --- .../framework/plugins/linux/mountinfo.py | 11 +++++--- .../framework/plugins/linux/pagecache.py | 27 ++++++++++++------- 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index 1eaec77bf..2499f009e 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -37,7 +37,7 @@ class MountInfo(plugins.PluginInterface): _required_framework_version = (2, 2, 0) - _version = (1, 2, 0) + _version = (1, 2, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -272,11 +272,16 @@ class MountInfo(plugins.PluginInterface): continue sb_ptr = mnt.get_mnt_sb() - if not sb_ptr or sb_ptr in seen_sb_ptr: + if not (sb_ptr and sb_ptr.is_readable()): + continue + + if sb_ptr in seen_sb_ptr: continue seen_sb_ptr.add(sb_ptr) - yield sb_ptr.dereference(), path_root + superblock = sb_ptr.dereference() + + yield superblock, path_root def run(self): pids = self.config.get("pids") diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index b6c5f7cc0..9b6f05c4d 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -104,7 +104,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -186,8 +186,12 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): seen_dentries.add(dentry_addr) - inode = dentry.d_inode - if not (inode and inode.is_valid()): + inode_ptr = dentry.d_inode + if not (inode_ptr and inode_ptr.is_readable()): + continue + + inode = inode_ptr.dereference() + if not inode.is_valid(): continue # This allows us to have consistent paths @@ -242,8 +246,9 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): # More dentry/inode sanity checks root_inode_ptr = root_dentry.d_inode - if not root_inode_ptr: + if not (root_inode_ptr and root_inode_ptr.is_readable()): continue + root_inode = root_inode_ptr.dereference() if not root_inode.is_valid(): continue @@ -269,10 +274,12 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): ): if not file_dentry: continue + # Dentry/inode sanity checks file_inode_ptr = file_dentry.d_inode - if not file_inode_ptr: + if not (file_inode_ptr and file_inode_ptr.is_readable()): continue + file_inode = file_inode_ptr.dereference() if not file_inode.is_valid(): continue @@ -382,7 +389,7 @@ class InodePages(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -482,15 +489,15 @@ class InodePages(plugins.PluginInterface): vollog.error("You must use either --inode or --find") return + if not inode.is_valid(): + vollog.error("Invalid inode at 0x%x", inode.vol.offset) + return + if not inode.is_reg: vollog.error("The inode is not a regular file") return inode_size = inode.i_size - if not inode.is_valid(): - vollog.error("Invalid inode at 0x%x", self.config["inode"]) - return - for page_obj in inode.get_pages(): page_vaddr = page_obj.vol.offset page_paddr = page_obj.to_paddr() From 037eb1ce036ae7dea48c427742ae889c9b2ec7a3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 11 Sep 2024 16:30:41 +1000 Subject: [PATCH 0683/2186] Linux Check_creds plugins pointer verification improvements --- volatility3/framework/plugins/linux/check_creds.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/check_creds.py b/volatility3/framework/plugins/linux/check_creds.py index ab6ee4935..45df966d2 100644 --- a/volatility3/framework/plugins/linux/check_creds.py +++ b/volatility3/framework/plugins/linux/check_creds.py @@ -16,6 +16,8 @@ class Check_creds(interfaces.plugins.PluginInterface): _required_framework_version = (2, 0, 0) + _version = (1, 0, 1) + @classmethod def get_requirements(cls): return [ @@ -46,7 +48,11 @@ class Check_creds(interfaces.plugins.PluginInterface): tasks = pslist.PsList.list_tasks(self.context, vmlinux.name) for task in tasks: - cred_addr = task.cred.dereference().vol.offset + task_cred_ptr = task.cred + if not (task_cred_ptr and task_cred_ptr.is_readable()): + continue + + cred_addr = task_cred_ptr.dereference().vol.offset if cred_addr not in creds: creds[cred_addr] = [] From c77c662b70c6751087bf947c400a045c81e7a8ec Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 11 Sep 2024 21:09:08 +1000 Subject: [PATCH 0684/2186] Linux pidhashtable plugin pointer verification improvements --- .../framework/plugins/linux/pidhashtable.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/linux/pidhashtable.py b/volatility3/framework/plugins/linux/pidhashtable.py index 3223aed4a..edafe97e0 100644 --- a/volatility3/framework/plugins/linux/pidhashtable.py +++ b/volatility3/framework/plugins/linux/pidhashtable.py @@ -20,7 +20,7 @@ class PIDHashTable(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -45,9 +45,7 @@ class PIDHashTable(plugins.PluginInterface): ] def _is_valid_task(self, task) -> bool: - vmlinux = self.context.modules[self.config["kernel"]] - vmlinux_layer = self.context.layers[vmlinux.layer_name] - return bool(task and task.pid > 0 and vmlinux_layer.is_valid(task.parent)) + return bool(task and task.pid > 0 and task.parent.is_readable()) def _get_pidtype_pid(self): vmlinux = self.context.modules[self.config["kernel"]] @@ -96,7 +94,7 @@ class PIDHashTable(plugins.PluginInterface): seen_upids.add(upid.vol.offset) pid_chain = upid.pid_chain - if not (pid_chain and vmlinux_layer.is_valid(pid_chain.vol.offset)): + if not (pid_chain.next and pid_chain.next.is_readable()): break upid = linux.LinuxUtilities.container_of( @@ -105,7 +103,6 @@ class PIDHashTable(plugins.PluginInterface): def _get_upids(self): vmlinux = self.context.modules[self.config["kernel"]] - vmlinux_layer = self.context.layers[vmlinux.layer_name] # 2.6.24 <= kernels < 4.15 pidhash = self._get_pidhash_array() @@ -115,7 +112,7 @@ class PIDHashTable(plugins.PluginInterface): # each entry in the hlist is a upid which is wrapped in a pid ent = hlist.first - while ent and vmlinux_layer.is_valid(ent.vol.offset): + while ent and ent.is_readable(): # upid->pid_chain exists 2.6.24 <= kernel < 4.15 upid = linux.LinuxUtilities.container_of( ent.vol.offset, "upid", "pid_chain", vmlinux @@ -143,7 +140,7 @@ class PIDHashTable(plugins.PluginInterface): continue pid_tasks_0 = pid.tasks[pidtype_pid].first - if not pid_tasks_0: + if not (pid_tasks_0 and pid_tasks_0.is_readable()): continue task = vmlinux.object( @@ -160,7 +157,7 @@ class PIDHashTable(plugins.PluginInterface): pidtype_pid = self._get_pidtype_pid() pid_tasks_0 = pid.tasks[pidtype_pid].first - if not pid_tasks_0: + if not (pid_tasks_0 and pid_tasks_0.is_readable()): return None task_struct_type = vmlinux.get_type("task_struct") From 9e8471799adcf090e20ea98a20309076193e9009 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 12 Sep 2024 10:44:43 +1000 Subject: [PATCH 0685/2186] Improving code and adding the credential virtual addresses to the output. --- .../framework/plugins/linux/check_creds.py | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_creds.py b/volatility3/framework/plugins/linux/check_creds.py index 45df966d2..3e292ae33 100644 --- a/volatility3/framework/plugins/linux/check_creds.py +++ b/volatility3/framework/plugins/linux/check_creds.py @@ -2,21 +2,18 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import logging - from volatility3.framework import interfaces, renderers +from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements from volatility3.plugins.linux import pslist -vollog = logging.getLogger(__name__) - class Check_creds(interfaces.plugins.PluginInterface): """Checks if any processes are sharing credential structures""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 1, 0) @classmethod def get_requirements(cls): @@ -54,18 +51,22 @@ class Check_creds(interfaces.plugins.PluginInterface): cred_addr = task_cred_ptr.dereference().vol.offset - if cred_addr not in creds: - creds[cred_addr] = [] - + creds.setdefault(cred_addr, []) creds[cred_addr].append(task.pid) - for _, pids in creds.items(): + for cred_addr, pids in creds.items(): if len(pids) > 1: - pid_str = "" - for pid in pids: - pid_str = pid_str + f"{pid:d}, " - pid_str = pid_str[:-2] - yield (0, [str(pid_str)]) + pid_str = ", ".join([str(pid) for pid in pids]) + + fields = [ + format_hints.Hex(cred_addr), + pid_str, + ] + yield (0, fields) def run(self): - return renderers.TreeGrid([("PIDs", str)], self._generator()) + headers = [ + ("CredVAddr", format_hints.Hex), + ("PIDs", str), + ] + return renderers.TreeGrid(headers, self._generator()) From 57de357ffdfe87dbcad8c219228a4a0d0e17c173 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 12 Sep 2024 16:05:40 +1000 Subject: [PATCH 0686/2186] Timeliner plugin: Fix issue with filtering TimeLinerInterface plugins and using the filter argument --- volatility3/framework/plugins/timeliner.py | 23 +++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index f657a2918..abe802e8f 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -45,6 +45,7 @@ class Timeliner(interfaces.plugins.PluginInterface): orders the results by time.""" _required_framework_version = (2, 0, 0) + _version = (1, 1, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -245,6 +246,17 @@ class Timeliner(interfaces.plugins.PluginInterface): filter_list = self.config["plugin-filter"] # Identify plugins that we can run which output datetimes for plugin_class in self.usable_plugins: + if not issubclass(plugin_class, TimeLinerInterface): + continue + + if filter_list and not any( + [ + filter in plugin_class.__module__ + "." + plugin_class.__name__ + for filter in filter_list + ] + ): + continue + try: automagics = automagic.choose_automagic(self.automagics, plugin_class) @@ -276,15 +288,8 @@ class Timeliner(interfaces.plugins.PluginInterface): config_value, ) - if isinstance(plugin, TimeLinerInterface): - if not len(filter_list) or any( - [ - filter - in plugin.__module__ + "." + plugin.__class__.__name__ - for filter in filter_list - ] - ): - plugins_to_run.append(plugin) + plugins_to_run.append(plugin) + except exceptions.UnsatisfiedException as excp: # Remove the failed plugin from the list and continue vollog.debug( From be05ace29b134156fe5f7584921887426fc2f41f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 12 Sep 2024 16:06:40 +1000 Subject: [PATCH 0687/2186] Timeliner plugin: Add exception information --- volatility3/framework/plugins/timeliner.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index abe802e8f..56fe465e4 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -199,9 +199,10 @@ class Timeliner(interfaces.plugins.PluginInterface): ), ) ) - except Exception: + except Exception as e: vollog.log( - logging.INFO, f"Exception occurred running plugin: {plugin_name}" + logging.INFO, + f"Exception occurred running plugin: {plugin_name}: {e}", ) vollog.log(logging.DEBUG, traceback.format_exc()) From a7dcd6d9e8adfe3124aa13db1b1536e6799d822c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 12 Sep 2024 16:19:13 +1000 Subject: [PATCH 0688/2186] Minor: Add comment on TimeLinerInterface subclass filter --- volatility3/framework/plugins/timeliner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index 56fe465e4..d1cb9f460 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -248,6 +248,7 @@ class Timeliner(interfaces.plugins.PluginInterface): # Identify plugins that we can run which output datetimes for plugin_class in self.usable_plugins: if not issubclass(plugin_class, TimeLinerInterface): + # get_usable_plugins() should filter this, but adding a safeguard just in case continue if filter_list and not any( From ebb9f0c20163fe215c72d510e9188dbf1d3c318a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 12 Sep 2024 17:05:45 +1000 Subject: [PATCH 0689/2186] Fix typo in timeliner function --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 9b6f05c4d..ad2c3b1be 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -342,7 +342,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): description = f"Cached Inode for {inode_out.path}" yield description, timeliner.TimeLinerType.ACCESSED, inode_out.access_time yield description, timeliner.TimeLinerType.MODIFIED, inode_out.modification_time - yield description, timeliner.TimeLinerType.CHANGE, inode_out.change_time + yield description, timeliner.TimeLinerType.CHANGED, inode_out.change_time @staticmethod def format_fields_with_headers(headers, generator): From 7b2e259c6dca79b1d36acdc82bc8d7b76f7aa00b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 12 Sep 2024 17:06:29 +1000 Subject: [PATCH 0690/2186] fix wrong variable names --- volatility3/framework/plugins/linux/pagecache.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index ad2c3b1be..81e1f3601 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -78,8 +78,8 @@ class InodeInternal: cached_pages = int(self.inode.i_mapping.nrpages) file_mode = self.inode.get_file_mode() access_time_dt = self.inode.get_access_time() - modification_time_str = self.inode.get_modification_time() - change_time_str = self.inode.get_change_time() + modification_time_dt = self.inode.get_modification_time() + change_time_dt = self.inode.get_change_time() inode_user = InodeUser( superblock_addr=superblock_addr, @@ -92,8 +92,8 @@ class InodeInternal: cached_pages=cached_pages, file_mode=file_mode, access_time=access_time_dt, - modification_time=modification_time_str, - change_time=change_time_str, + modification_time=modification_time_dt, + change_time=change_time_dt, path=self.path, ) return inode_user From 48ae43d64edd457b65eb40174fb00b54202aabda Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 12 Sep 2024 17:22:52 +1000 Subject: [PATCH 0691/2186] Bumping the major version since the output changed --- volatility3/framework/plugins/linux/check_creds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/check_creds.py b/volatility3/framework/plugins/linux/check_creds.py index 3e292ae33..b7f73c3eb 100644 --- a/volatility3/framework/plugins/linux/check_creds.py +++ b/volatility3/framework/plugins/linux/check_creds.py @@ -13,7 +13,7 @@ class Check_creds(interfaces.plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (1, 1, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls): From 867c8e3f1bdeb0fa57dd3e02056f32b526a81fb4 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 13 Sep 2024 15:33:19 +1000 Subject: [PATCH 0692/2186] Linux: Add support for threads in both lsof and sockstat plugins. - lsof plugin: source code refactored - lsof plugin: Added the 'device' column to complete the inode information. An inode number is specific to the filesystem/device it belongs to. - lsof/sockstat plugins: Add threads support. Threads may or may not share the file descriptor table with the thread group leader, depending on whether the CLONE_FILES flag is included in the clone() syscall. Also, once started, a thread can unshare the fd table with its parent. Refer to the unshare() libc syscall wrapper man page, unshare(2). Additionally, note that the Linux lsof command in user space includes thread listings by default as well. Now, there are two columns to identify the thread group ID (PID) and the task/thread ID (TID). - Added inode getters from both, the dentry and file structs. From kernels +3.9 the file struct cached the inode pointer. So, when possible, we get this value. - Improve smear protection in these plugins and various APIs (https://github.com/volatilityfoundation/volatility3/pull/1243) --- volatility3/framework/plugins/linux/lsof.py | 229 +++++++++++------- .../framework/plugins/linux/sockstat.py | 18 +- .../framework/symbols/linux/__init__.py | 4 +- .../symbols/linux/extensions/__init__.py | 42 +++- 4 files changed, 185 insertions(+), 108 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 360f89749..0325ebd4c 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -1,12 +1,12 @@ # This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -"""A module containing a collection of plugins that produce data typically -found in Linux's /proc file system.""" -import logging, datetime +import logging +from datetime import datetime +from dataclasses import dataclass, astuple, field from typing import List, Callable -from volatility3.framework import renderers, interfaces, constants, exceptions +from volatility3.framework import renderers, interfaces, constants from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -17,11 +17,94 @@ from volatility3.plugins import timeliner vollog = logging.getLogger(__name__) +@dataclass +class FDUser: + """FD user representation, featuring augmented information and formatted fields. + This is the data the plugin will eventually display. + """ + + task_tgid: int + task_tid: int + task_comm: str + fd_num: int + full_path: str + device: str = field(default=renderers.NotAvailableValue()) + inode_num: int = field(default=renderers.NotAvailableValue()) + inode_type: str = field(default=renderers.NotAvailableValue()) + file_mode: str = field(default=renderers.NotAvailableValue()) + change_time: datetime = field(default=renderers.NotAvailableValue()) + modification_time: datetime = field(default=renderers.NotAvailableValue()) + access_time: datetime = field(default=renderers.NotAvailableValue()) + inode_size: int = field(default=renderers.NotAvailableValue()) + + +@dataclass +class FDInternal: + """FD internal representation containing only the core objects + + Fields: + task: 'task_truct' object + fd_fields: FD fields as obtained from LinuxUtilities.files_descriptors_for_process() + """ + + task: interfaces.objects.ObjectInterface + fd_fields: tuple[int, int, str] + + def to_user(self) -> FDUser: + """Augment the FD information to be presented to the user + + Returns: + An InodeUser dataclass + """ + # Ensure all types are atomic immutable. Otherwise, astuple() will take a long + # time doing a deepcopy of the Volatility objects. + task_tgid = int(self.task.tgid) + task_tid = int(self.task.pid) + task_comm = utility.array_to_string(self.task.comm) + fd_num, filp, full_path = self.fd_fields + fd_num = int(fd_num) + full_path = str(full_path) + inode = filp.get_inode() + if inode: + superblock_ptr = inode.i_sb + if superblock_ptr and superblock_ptr.is_readable(): + device = f"{superblock_ptr.major}:{superblock_ptr.minor}" + else: + device = renderers.NotAvailableValue() + + fd_user = FDUser( + task_tgid=task_tgid, + task_tid=task_tid, + task_comm=task_comm, + fd_num=fd_num, + full_path=full_path, + device=device, + inode_num=int(inode.i_ino), + inode_type=inode.get_inode_type() or renderers.UnparsableValue(), + file_mode=inode.get_file_mode(), + change_time=inode.get_change_time(), + modification_time=inode.get_modification_time(), + access_time=inode.get_access_time(), + inode_size=int(inode.i_size), + ) + else: + # We use the dataclasses' default values + fd_user = FDUser( + task_tgid=task_tgid, + task_tid=task_tid, + task_comm=task_comm, + fd_num=fd_num, + full_path=full_path, + ) + + return fd_user + + class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists open files for each processes.""" _required_framework_version = (2, 0, 0) - _version = (1, 2, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -45,126 +128,86 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): ), ] - @classmethod - def get_inode_metadata(cls, filp: interfaces.objects.ObjectInterface): - try: - dentry = filp.get_dentry() - if dentry: - inode_object = dentry.d_inode - if inode_object and inode_object.is_valid(): - itype = ( - inode_object.get_inode_type() or renderers.NotAvailableValue() - ) - return ( - inode_object.i_ino, - itype, - inode_object.i_size, - inode_object.get_file_mode(), - inode_object.get_change_time(), - inode_object.get_modification_time(), - inode_object.get_access_time(), - ) - except (exceptions.InvalidAddressException, AttributeError) as e: - vollog.warning(f"Can't get inode metadata: {e}") - return None - @classmethod def list_fds( cls, context: interfaces.context.ContextInterface, - symbol_table: str, + vmlinux_module_name: str, filter_func: Callable[[int], bool] = lambda _: False, - ): + ) -> FDInternal: + """Enumerates open file descriptors in tasks + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + filter_func: A function which takes a process object and returns True if the process + should be ignored/filtered + + Yields: + A FDInternal object + """ linuxutils_symbol_table = None - for task in pslist.PsList.list_tasks(context, symbol_table, filter_func): + for task in pslist.PsList.list_tasks( + context, vmlinux_module_name, filter_func, include_threads=True + ): if linuxutils_symbol_table is None: if constants.BANG not in task.vol.type_name: raise ValueError("Task is not part of a symbol table") linuxutils_symbol_table = task.vol.type_name.split(constants.BANG)[0] - task_comm = utility.array_to_string(task.comm) - pid = int(task.pid) - fd_generator = linux.LinuxUtilities.files_descriptors_for_process( context, linuxutils_symbol_table, task ) for fd_fields in fd_generator: - yield pid, task_comm, task, fd_fields + yield FDInternal(task=task, fd_fields=fd_fields) - @classmethod - def list_fds_and_inodes( - cls, - context: interfaces.context.ContextInterface, - symbol_table: str, - filter_func: Callable[[int], bool] = lambda _: False, - ): - for pid, task_comm, task, (fd_num, filp, full_path) in cls.list_fds( - context, symbol_table, filter_func - ): - inode_metadata = cls.get_inode_metadata(filp) - if inode_metadata is None: - inode_metadata = tuple( - interfaces.renderers.BaseAbsentValue() for _ in range(7) - ) - yield pid, task_comm, task, fd_num, filp, full_path, inode_metadata - - def _generator(self, pids, symbol_table): + def _generator(self, pids, vmlinux_module_name): filter_func = pslist.PsList.create_pid_filter(pids) - fds_generator = self.list_fds_and_inodes( - self.context, symbol_table, filter_func=filter_func - ) - - for ( - pid, - task_comm, - task, - fd_num, - filp, - full_path, - inode_metadata, - ) in fds_generator: - inode_num, itype, file_size, imode, ctime, mtime, atime = inode_metadata - fields = ( - pid, - task_comm, - fd_num, - full_path, - inode_num, - itype, - imode, - ctime, - mtime, - atime, - file_size, - ) - yield (0, fields) + for fd_internal in self.list_fds( + self.context, vmlinux_module_name, filter_func=filter_func + ): + fd_user = fd_internal.to_user() + yield (0, astuple(fd_user)) def run(self): pids = self.config.get("pid", None) - symbol_table = self.config["kernel"] + vmlinux_module_name = self.config["kernel"] tree_grid_args = [ ("PID", int), + ("TID", int), ("Process", str), ("FD", int), ("Path", str), + ("Device", str), ("Inode", int), ("Type", str), ("Mode", str), - ("Changed", datetime.datetime), - ("Modified", datetime.datetime), - ("Accessed", datetime.datetime), + ("Changed", datetime), + ("Modified", datetime), + ("Accessed", datetime), ("Size", int), ] - return renderers.TreeGrid(tree_grid_args, self._generator(pids, symbol_table)) + return renderers.TreeGrid( + tree_grid_args, self._generator(pids, vmlinux_module_name) + ) def generate_timeline(self): pids = self.config.get("pid", None) - symbol_table = self.config["kernel"] - for row in self._generator(pids, symbol_table): - _depth, row_data = row - description = f'Process {row_data[1]} ({row_data[0]}) Open "{row_data[3]}"' - yield description, timeliner.TimeLinerType.CHANGED, row_data[7] - yield description, timeliner.TimeLinerType.MODIFIED, row_data[8] - yield description, timeliner.TimeLinerType.ACCESSED, row_data[9] + vmlinux_module_name = self.config["kernel"] + + filter_func = pslist.PsList.create_pid_filter(pids) + for fd_internal in self.list_fds( + self.context, vmlinux_module_name, filter_func=filter_func + ): + fd_user = fd_internal.to_user() + + description = ( + f"Process {fd_user.task_comm} ({fd_user.task_tgid}/{fd_user.task_tid}) " + f"Open '{fd_user.full_path}'" + ) + + yield description, timeliner.TimeLinerType.CHANGED, fd_user.change_time + yield description, timeliner.TimeLinerType.MODIFIED, fd_user.modification_time + yield description, timeliner.TimeLinerType.ACCESSED, fd_user.access_time diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index b0503b105..c76e0a6b4 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -22,9 +22,10 @@ class SockHandlers(interfaces.configuration.VersionableInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) - def __init__(self, vmlinux, task): + def __init__(self, vmlinux, task, *args, **kwargs): + super().__init__(*args, **kwargs) self._vmlinux = vmlinux self._task = task @@ -438,7 +439,7 @@ class Sockstat(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -452,7 +453,7 @@ class Sockstat(plugins.PluginInterface): name="SockHandlers", component=SockHandlers, version=(1, 0, 0) ), requirements.PluginRequirement( - name="lsof", plugin=lsof.Lsof, version=(1, 1, 0) + name="lsof", plugin=lsof.Lsof, version=(2, 0, 0) ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) @@ -507,8 +508,9 @@ class Sockstat(plugins.PluginInterface): dfop_addr = vmlinux.object_from_symbol("sockfs_dentry_operations").vol.offset fd_generator = lsof.Lsof.list_fds(context, vmlinux.name, filter_func) - for _pid, _task_comm, task, fd_fields in fd_generator: - fd_num, filp, _full_path = fd_fields + for fd_internal in fd_generator: + fd_num, filp, _full_path = fd_internal.fd_fields + task = fd_internal.task if filp.f_op not in (sfop_addr, dfop_addr): continue @@ -617,6 +619,7 @@ class Sockstat(plugins.PluginInterface): fields = ( netns_id, + task.tgid, task.pid, fd_num, format_hints.Hex(sock.vol.offset), @@ -636,7 +639,8 @@ class Sockstat(plugins.PluginInterface): tree_grid_args = [ ("NetNS", int), - ("Pid", int), + ("PID", int), + ("TID", int), ("FD", int), ("Sock Offset", format_hints.Hex), ("Family", str), diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 91abf7db4..6e9297517 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -256,7 +256,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): task: interfaces.objects.ObjectInterface, ): # task.files can be null - if not task.files: + if not (task.files and task.files.is_readable()): return None fd_table = task.files.get_fds() @@ -276,7 +276,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): ) for fd_num, filp in enumerate(fds): - if filp != 0: + if filp and filp.is_readable(): full_path = LinuxUtilities.path_for_file(context, task, filp) yield fd_num, filp, full_path diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index fdd34403a..fd5ddcffa 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -843,25 +843,55 @@ class dentry(objects.StructType): dentry_type_name = self.get_symbol_table_name() + constants.BANG + "dentry" yield from list_head_member.to_list(dentry_type_name, walk_member) + def get_inode(self) -> interfaces.objects.ObjectInterface: + """Returns the inode associated with this dentry""" + + inode_ptr = self.d_inode + if not (inode_ptr and inode_ptr.is_valid()): + return None + + return inode_ptr.dereference() + class struct_file(objects.StructType): def get_dentry(self) -> interfaces.objects.ObjectInterface: - if self.has_member("f_dentry"): - return self.f_dentry - elif self.has_member("f_path"): + """Returns a pointer to the dentry associated with this file""" + if self.has_member("f_path"): return self.f_path.dentry + elif self.has_member("f_dentry"): + return self.f_dentry else: raise AttributeError("Unable to find file -> dentry") def get_vfsmnt(self) -> interfaces.objects.ObjectInterface: """Returns the fs (vfsmount) where this file is mounted""" - if self.has_member("f_vfsmnt"): - return self.f_vfsmnt - elif self.has_member("f_path"): + if self.has_member("f_path"): return self.f_path.mnt + elif self.has_member("f_vfsmnt"): + return self.f_vfsmnt else: raise AttributeError("Unable to find file -> vfs mount") + def get_inode(self) -> interfaces.objects.ObjectInterface: + """Returns an inode associated with this file""" + + inode_ptr = None + if self.has_member("f_inode") and self.f_inode and self.f_inode.is_readable(): + # Try first the cached value, kernels +3.9 + inode_ptr = self.f_inode + + if not (inode_ptr and inode_ptr.is_valid()): + dentry_ptr = self.get_dentry() + if not (dentry_ptr and dentry_ptr.is_readable()): + return None + + inode_ptr = dentry_ptr.d_inode + + if not (inode_ptr and inode_ptr.is_valid()): + return None + + return inode_ptr.dereference() + class list_head(objects.StructType, collections.abc.Iterable): def to_list( From aecd31f0953142993dc10126be77441b8178dc51 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 13 Sep 2024 16:09:49 +1000 Subject: [PATCH 0693/2186] Add missing pointer verification --- volatility3/framework/symbols/linux/extensions/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index fd5ddcffa..46bed72aa 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -847,7 +847,7 @@ class dentry(objects.StructType): """Returns the inode associated with this dentry""" inode_ptr = self.d_inode - if not (inode_ptr and inode_ptr.is_valid()): + if not (inode_ptr and inode_ptr.is_readable() and inode_ptr.is_valid()): return None return inode_ptr.dereference() @@ -880,14 +880,14 @@ class struct_file(objects.StructType): # Try first the cached value, kernels +3.9 inode_ptr = self.f_inode - if not (inode_ptr and inode_ptr.is_valid()): + if not (inode_ptr and inode_ptr.is_readable() and inode_ptr.is_valid()): dentry_ptr = self.get_dentry() if not (dentry_ptr and dentry_ptr.is_readable()): return None inode_ptr = dentry_ptr.d_inode - if not (inode_ptr and inode_ptr.is_valid()): + if not (inode_ptr and inode_ptr.is_readable() and inode_ptr.is_valid()): return None return inode_ptr.dereference() From 32eaeeb7d2b631b4ff9c89a2bea2793e2ca36135 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 13 Sep 2024 16:13:00 +1000 Subject: [PATCH 0694/2186] Fix typing typo --- volatility3/framework/plugins/linux/lsof.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 0325ebd4c..527815738 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -4,7 +4,7 @@ import logging from datetime import datetime from dataclasses import dataclass, astuple, field -from typing import List, Callable +from typing import List, Callable, Tuple from volatility3.framework import renderers, interfaces, constants from volatility3.framework.configuration import requirements @@ -48,7 +48,7 @@ class FDInternal: """ task: interfaces.objects.ObjectInterface - fd_fields: tuple[int, int, str] + fd_fields: Tuple[int, int, str] def to_user(self) -> FDUser: """Augment the FD information to be presented to the user From e084086ee5f2d9dad29182bc4616912cbfe53f1e Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 13 Sep 2024 16:18:26 +1000 Subject: [PATCH 0695/2186] Improve pointer verification in super_block->get_type() --- .../symbols/linux/extensions/__init__.py | 62 ++++++++++++++++--- 1 file changed, 52 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index fdd34403a..aa18b8262 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -638,11 +638,23 @@ class super_block(objects.StructType): ] return sb_opts - def get_type(self): - mnt_sb_type = utility.pointer_to_string(self.s_type.name, count=255) - if self.s_subtype: - mnt_sb_subtype = utility.pointer_to_string(self.s_subtype, count=255) + def get_type(self) -> Optional[str]: + """Gets the superblock filesystem type string""" + + s_type_ptr = self.s_type + if not (s_type_ptr and s_type_ptr.is_readable()): + return None + + s_type_name_ptr = s_type_ptr.name + if not (s_type_name_ptr and s_type_name_ptr.is_readable()): + return None + + mnt_sb_type = utility.pointer_to_string(s_type_name_ptr, count=255) + s_subtype_ptr = self.s_subtype + if s_subtype_ptr and s_subtype_ptr.is_readable(): + mnt_sb_subtype = utility.pointer_to_string(s_subtype_ptr, count=255) mnt_sb_type += "." + mnt_sb_subtype + return mnt_sb_type @@ -843,25 +855,55 @@ class dentry(objects.StructType): dentry_type_name = self.get_symbol_table_name() + constants.BANG + "dentry" yield from list_head_member.to_list(dentry_type_name, walk_member) + def get_inode(self) -> interfaces.objects.ObjectInterface: + """Returns the inode associated with this dentry""" + + inode_ptr = self.d_inode + if not (inode_ptr and inode_ptr.is_readable() and inode_ptr.is_valid()): + return None + + return inode_ptr.dereference() + class struct_file(objects.StructType): def get_dentry(self) -> interfaces.objects.ObjectInterface: - if self.has_member("f_dentry"): - return self.f_dentry - elif self.has_member("f_path"): + """Returns a pointer to the dentry associated with this file""" + if self.has_member("f_path"): return self.f_path.dentry + elif self.has_member("f_dentry"): + return self.f_dentry else: raise AttributeError("Unable to find file -> dentry") def get_vfsmnt(self) -> interfaces.objects.ObjectInterface: """Returns the fs (vfsmount) where this file is mounted""" - if self.has_member("f_vfsmnt"): - return self.f_vfsmnt - elif self.has_member("f_path"): + if self.has_member("f_path"): return self.f_path.mnt + elif self.has_member("f_vfsmnt"): + return self.f_vfsmnt else: raise AttributeError("Unable to find file -> vfs mount") + def get_inode(self) -> interfaces.objects.ObjectInterface: + """Returns an inode associated with this file""" + + inode_ptr = None + if self.has_member("f_inode") and self.f_inode and self.f_inode.is_readable(): + # Try first the cached value, kernels +3.9 + inode_ptr = self.f_inode + + if not (inode_ptr and inode_ptr.is_readable() and inode_ptr.is_valid()): + dentry_ptr = self.get_dentry() + if not (dentry_ptr and dentry_ptr.is_readable()): + return None + + inode_ptr = dentry_ptr.d_inode + + if not (inode_ptr and inode_ptr.is_readable() and inode_ptr.is_valid()): + return None + + return inode_ptr.dereference() + class list_head(objects.StructType, collections.abc.Iterable): def to_list( From 997abeda6d9014a028f6c2b7a9e11352320c142f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 13 Sep 2024 17:27:02 +1000 Subject: [PATCH 0696/2186] Linux lsof: Add namespace dentry name --- .../framework/symbols/linux/__init__.py | 48 +++++++++++++++++-- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 91abf7db4..57b45667e 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -169,13 +169,30 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): Returns: str: Sock pipe pathname relative to the task's root directory. """ + # FIXME: This function must be moved to the 'dentry' object extension + # Also, the scope of this function went beyond the sock pipe path, so we need to rename this. + # Once https://github.com/volatilityfoundation/volatility3/pull/1263 is merged, replace the + # dentry inode getters + + if not (filp and filp.is_readable()): + return f" {filp:x}" + dentry = filp.get_dentry() + if not (dentry and dentry.is_readable()): + return f" {dentry:x}" kernel_module = cls.get_module_from_volobj_type(context, dentry) sym_addr = dentry.d_op.d_dname + if not (sym_addr and sym_addr.is_readable()): + return f" {sym_addr:x}" + symbs = list(kernel_module.get_symbols_by_absolute_location(sym_addr)) + inode = dentry.d_inode + if not (inode and inode.is_readable() and inode.is_valid()): + return f" {inode:x}" + if len(symbs) == 1: sym = symbs[0].split(constants.BANG)[1] @@ -191,13 +208,36 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): elif sym == "simple_dname": pre_name = cls._get_path_file(task, filp) - else: - pre_name = f"" + elif sym == "ns_dname": + # From Kernels 3.19 - ret = f"{pre_name}:[{dentry.d_inode.i_ino:d}]" + # In Kernels >= 6.9, see Linux kernel commit 1fa08aece42512be072351f482096d5796edf7ca + # ns_common->stashed change from 'atomic64_t' to 'dentry*' + try: + ns_common_type = kernel_module.get_type("ns_common") + stashed_template = ns_common_type.child_template("stashed") + stashed_type_full_name = stashed_template.vol.type_name + stashed_type_name = stashed_type_full_name.split(constants.BANG)[-1] + if stashed_type_name == "atomic64_t": + # 3.19 <= Kernels < 6.9 + ns_ops = dentry.d_fsdata.dereference().cast( + "proc_ns_operations" + ) + else: + # Kernels >= 6.9 + ns_common = inode.i_private.dereference().cast("ns_common") + ns_ops = ns_common.ops + + pre_name = utility.pointer_to_string(ns_ops.name, 255) + except IndexError: + ret = "" + else: + pre_name = f" {sym}" + + ret = f"{pre_name}:[{inode.i_ino:d}]" else: - ret = f" {sym_addr:x}" + ret = f" {sym_addr:x}" return ret From cd2af74e6d0c554e81d1e67a8020195cfca59983 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 13 Sep 2024 17:58:21 +1000 Subject: [PATCH 0697/2186] Improve pointers address verification and return message chain --- .../framework/symbols/linux/__init__.py | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 57b45667e..2410d2627 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -217,29 +217,32 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): ns_common_type = kernel_module.get_type("ns_common") stashed_template = ns_common_type.child_template("stashed") stashed_type_full_name = stashed_template.vol.type_name - stashed_type_name = stashed_type_full_name.split(constants.BANG)[-1] + stashed_type_name = stashed_type_full_name.split(constants.BANG)[1] if stashed_type_name == "atomic64_t": # 3.19 <= Kernels < 6.9 - ns_ops = dentry.d_fsdata.dereference().cast( - "proc_ns_operations" - ) + fsdata_ptr = dentry.d_fsdata + if not (fsdata_ptr and fsdata_ptr.is_readable()): + raise IndexError + + ns_ops = fsdata_ptr.dereference().cast("proc_ns_operations") else: # Kernels >= 6.9 - ns_common = inode.i_private.dereference().cast("ns_common") + private_ptr = inode.i_private + if not (private_ptr and private_ptr.is_readable()): + raise IndexError + + ns_common = private_ptr.dereference().cast("ns_common") ns_ops = ns_common.ops pre_name = utility.pointer_to_string(ns_ops.name, 255) except IndexError: - ret = "" + pre_name = "" else: pre_name = f" {sym}" - - ret = f"{pre_name}:[{inode.i_ino:d}]" - else: - ret = f" {sym_addr:x}" + pre_name = f" {sym_addr:x}" - return ret + return f"{pre_name}:[{inode.i_ino:d}]" @classmethod def path_for_file(cls, context, task, filp) -> str: From 67ee382c3229f10d4e29958b6a5bf257e29ed8f2 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 13 Sep 2024 18:53:33 +0200 Subject: [PATCH 0698/2186] use default req value in config_value call --- volatility3/framework/interfaces/configuration.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/interfaces/configuration.py b/volatility3/framework/interfaces/configuration.py index 3bb3cb019..da0a4556c 100644 --- a/volatility3/framework/interfaces/configuration.py +++ b/volatility3/framework/interfaces/configuration.py @@ -494,8 +494,7 @@ class SimpleTypeRequirement(RequirementInterface): """Validates the instance requirement based upon its `instance_type`.""" config_path = path_join(config_path, self.name) - - value = self.config_value(context, config_path, None) + value = self.config_value(context, config_path, self.default) if not isinstance(value, self.instance_type): vollog.log( constants.LOGLEVEL_V, @@ -536,7 +535,7 @@ class ClassRequirement(RequirementInterface): """Checks to see if a class can be recovered.""" config_path = path_join(config_path, self.name) - value = self.config_value(context, config_path, None) + value = self.config_value(context, config_path, self.default) self._cls = None if value is not None and isinstance(value, str): if "." in value: From ba0c975e73207ee6555bd80067460ddbea6426a2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 13 Sep 2024 18:50:47 -0500 Subject: [PATCH 0699/2186] Address all feedback --- .../framework/plugins/windows/pe_symbols.py | 126 +++++++++--------- 1 file changed, 65 insertions(+), 61 deletions(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 30e9b49d1..85bfb572e 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -1,11 +1,12 @@ # This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +import copy import io import logging import ntpath -from typing import Dict, Tuple, Optional, List, Generator, Union +from typing import Dict, Tuple, Optional, List, Generator, Union, Callable import pefile @@ -29,11 +30,13 @@ wanted_addresses_identifier = "addresses" # how wanted modules/symbols are specified, such as: # {"ntdll.dll" : {wanted_addresses : [42, 43, 43]}} # {"ntdll.dll" : {wanted_names : ["NtCreateThread"]}} -filter_modules_type = Dict[str, Union[Dict[str, List[str]], Dict[str, List[int]]]] +filter_module_info = Union[Dict[str, List[str]], Dict[str, List[int]]] +filter_modules_type = Dict[str, filter_module_info] # holds resolved symbols # {"ntdll.dll": [("Bob", 123), ("Alice", 456)]} -found_symbols_type = Dict[str, List[Tuple[str, int]]] +found_symbols_module = List[Tuple[str, int]] +found_symbols_type = Dict[str, found_symbols_module] # used to hold informatin about a range (VAD or kernel module) # (start address, size, file path) @@ -61,7 +64,8 @@ class PESymbolFinder: cached_int_dict = Dict[str, Optional[int]] cached_value = Union[int, str, None] - cached_value_dict = Dict[str, Union[Dict[str, List[str]], Dict[str, List[int]]]] + cached_module_lists = Union[Dict[str, List[str]], Dict[str, List[int]]] + cached_value_dict = Dict[str, cached_module_lists] def __init__( self, @@ -402,11 +406,11 @@ class PESymbols(interfaces.plugins.PluginInterface): context, layer_name, symbol_table_name, symbols ) - found_symbols = PESymbols.find_symbols( + found_symbols, missing_symbols = PESymbols.find_symbols( context, config_path, symbols, collected_modules ) - for mod_name, unresolved_symbols in symbols.items(): + for mod_name, unresolved_symbols in missing_symbols.items(): for symbol in unresolved_symbols: vollog.debug(f"Unable to resolve symbol {symbol} in module {mod_name}") @@ -449,7 +453,7 @@ class PESymbols(interfaces.plugins.PluginInterface): filename: {wanted_addresses_identifier: [address]} } - found_symbols = PESymbols.find_symbols( + found_symbols, _missing_msybols = PESymbols.find_symbols( context, config_path, filter_module, collected_modules ) @@ -624,61 +628,46 @@ class PESymbols(interfaces.plugins.PluginInterface): @staticmethod def _get_symbol_value( - wanted_modules: PESymbolFinder.cached_value_dict, - mod_name: str, + wanted_symbols: filter_module_info, symbol_resolver: PESymbolFinder, - ) -> Generator[Tuple[str, int], None, None]: + ) -> Generator[Tuple[str, int, str, int], None, None]: """ Enumerates the symbols specified as wanted by the calling plugin - removes entries from wanted_modules as they found to avoid PDB or export analysis after resolving all symbols - Args: - wanted_modules: the dictionary of modules and symbols to resolve. Modified to remove symbols as they are resolved. - mod_name: the name of module to resolve symbols in + wanted_symbols: the set of symbols for a particular module + symbol_resolver: method in a layer to resolve the symbols Returns: - Tuple[str, int]: the name and address of resolved symbols + Tuple[str, int, str, int]: the index and value of the found symbol in the wanted list, and the name and address of resolved symbol """ - wanted_symbols = wanted_modules[mod_name] - if ( wanted_names_identifier not in wanted_symbols and wanted_addresses_identifier not in wanted_symbols ): vollog.warning( - f"Invalid `wanted_symbols` sent to `find_symbols` for module {mod_name}. addresses and names keys both misssing." + f"Invalid `wanted_symbols` sent to `find_symbols`. addresses and names keys both misssing." ) return - symbol_keys = [ - (wanted_names_identifier, "get_address_for_name"), - (wanted_addresses_identifier, "get_name_for_address"), + symbol_keys: List[Tuple[str, Callable]] = [ + (wanted_names_identifier, symbol_resolver.get_address_for_name), + (wanted_addresses_identifier, symbol_resolver.get_name_for_address), ] for symbol_key, symbol_getter in symbol_keys: # address or name if symbol_key in wanted_symbols: # walk each wanted address or name - for wanted_value in wanted_symbols[symbol_key]: - symbol_value = symbol_resolver.__getattribute__(symbol_getter)( - wanted_value - ) + for value_index, wanted_value in enumerate(wanted_symbols[symbol_key]): + symbol_value = symbol_getter(wanted_value) + if symbol_value: - # yield out symbol name, symbol address + # yield out deleteion key, deletion index, symbol name, symbol address if symbol_key == wanted_names_identifier: - yield wanted_value, symbol_value # type: ignore + yield symbol_key, value_index, wanted_value, symbol_value # type: ignore else: - yield symbol_value, wanted_value # type: ignore - - index = wanted_modules[mod_name][symbol_key].index(wanted_value) # type: ignore - - del wanted_modules[mod_name][symbol_key][index] - - # if all names or addresses from a module are found, delete the key - if not wanted_modules[mod_name][symbol_key]: - del wanted_modules[mod_name][symbol_key] - break + yield symbol_key, value_index, symbol_value, wanted_value # type: ignore @staticmethod def _resolve_symbols_through_methods( @@ -687,7 +676,7 @@ class PESymbols(interfaces.plugins.PluginInterface): module_instances: collected_modules_info, wanted_modules: PESymbolFinder.cached_value_dict, mod_name: str, - ) -> Generator[Tuple[str, int], None, None]: + ) -> Tuple[found_symbols_module, PESymbolFinder.cached_module_lists]: """ Attempts to resolve every wanted symbol in `mod_name` Every layer is enumerated for maximum chance of recovery @@ -697,35 +686,53 @@ class PESymbols(interfaces.plugins.PluginInterface): wanted_modules: The symbols to resolve tied to their module names mod_name: name of the module to resolve symbols in Returns: - Generator[Tuple[str, int]]: resolved symbol names and addresses + Tuple[found_symbols_module, PESymbolFinder.cached_module_lists]: The set of found symbols and the ones that could not be resolved """ symbol_resolving_methods = [ PESymbols._find_symbols_through_pdb, PESymbols._find_symbols_through_exports, ] + found: found_symbols_module = [] + + # the symbols wanted from this module by the caller + wanted = wanted_modules[mod_name] + + # make a copy to remove from inside this function for returning to the caller + remaining = copy.deepcopy(wanted) + for method in symbol_resolving_methods: + # every layer where this module was found through the given method for symbol_resolver in method( context, config_path, module_instances, mod_name ): vollog.debug(f"Have resolver for method {method}") - yield from PESymbols._get_symbol_value( - wanted_modules, mod_name, symbol_resolver - ) + for ( + symbol_key, + value_index, + symbol_name, + symbol_address, + ) in PESymbols._get_symbol_value(remaining, symbol_resolver): + found.append((symbol_name, symbol_address)) + del remaining[symbol_key][value_index] - if not wanted_modules[mod_name]: + # everything was resolved, stop this resolver + if not remaining: break - if not wanted_modules[mod_name]: + # stop all resolving + if not remaining: break + return found, remaining + @staticmethod def find_symbols( context: interfaces.context.ContextInterface, config_path: str, wanted_modules: PESymbolFinder.cached_value_dict, collected_modules: collected_modules_type, - ) -> found_symbols_type: + ) -> Tuple[found_symbols_type, PESymbolFinder.cached_value_dict]: """ Loops through each method of symbol analysis until each wanted symbol is found Returns the resolved symbols as a dictionary that includes the name and runtime address @@ -734,9 +741,10 @@ class PESymbols(interfaces.plugins.PluginInterface): wanted_modules: the dictionary of modules and symbols to resolve. Modified to remove symbols as they are resolved. collected_modules: return value from `get_kernel_modules` or `get_process_modules` Returns: - found_symbols_type: The set of symbols resolved to their name and/or address + Tuple[found_symbols_type, PESymbolFinder.cached_value_dict]: The set of found symbols but the ones that could not be resolved """ found_symbols: found_symbols_type = {} + missing_symbols: PESymbolFinder.cached_value_dict = {} for mod_name in wanted_modules: if mod_name not in collected_modules: @@ -745,24 +753,20 @@ class PESymbols(interfaces.plugins.PluginInterface): module_instances = collected_modules[mod_name] # try to resolve the symbols for `mod_name` through each method (PDB and export table currently) - for symbol_name, address in PESymbols._resolve_symbols_through_methods( + ( + found_in_module, + missing_in_module, + ) = PESymbols._resolve_symbols_through_methods( context, config_path, module_instances, wanted_modules, mod_name - ): - if mod_name not in found_symbols: - found_symbols[mod_name] = [] + ) - found_symbols[mod_name].append((symbol_name, address)) + if found_in_module: + found_symbols[mod_name] = found_in_module - # stop processing the layers (processes) if we found all the symbols for this module - if not wanted_modules[mod_name]: - break + if missing_in_module: + missing_symbols[mod_name] = missing_in_module - # stop processing this module if/when all symbols are found - if not wanted_modules[mod_name]: - del wanted_modules[mod_name] - break - - return found_symbols + return found_symbols, missing_symbols @staticmethod def get_kernel_modules( @@ -986,7 +990,7 @@ class PESymbols(interfaces.plugins.PluginInterface): self.context, kernel.layer_name, kernel.symbol_table_name, filter_module ) - found_symbols = PESymbols.find_symbols( + found_symbols, _missing_symbols = PESymbols.find_symbols( self.context, self.config_path, filter_module, collected_modules ) From 21d21cf4b8ec3aafa5e98c563b207b21c41d5c3f Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 14 Sep 2024 16:26:38 -0500 Subject: [PATCH 0700/2186] Break properly in all paths. Help callers to ensure always lower case module name matching. --- volatility3/framework/plugins/windows/pe_symbols.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 85bfb572e..d0ddcac57 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -380,7 +380,7 @@ class PESymbols(interfaces.plugins.PluginInterface): Returns: str: the bsae file name of the full path """ - return ntpath.basename(filepath) + return ntpath.basename(filepath).lower() @staticmethod def addresses_for_process_symbols( @@ -717,11 +717,12 @@ class PESymbols(interfaces.plugins.PluginInterface): del remaining[symbol_key][value_index] # everything was resolved, stop this resolver - if not remaining: + if not remaining[symbol_key]: break # stop all resolving - if not remaining: + if not remaining[symbol_key]: + del remaining[symbol_key] break return found, remaining From 291bc878ad771388f3514b2c66d31b7325b2bc01 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 14 Sep 2024 16:31:33 -0500 Subject: [PATCH 0701/2186] Break in a cleaner flow --- volatility3/framework/plugins/windows/pe_symbols.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index d0ddcac57..44254513f 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -701,6 +701,8 @@ class PESymbols(interfaces.plugins.PluginInterface): # make a copy to remove from inside this function for returning to the caller remaining = copy.deepcopy(wanted) + done_processing = False + for method in symbol_resolving_methods: # every layer where this module was found through the given method for symbol_resolver in method( @@ -717,12 +719,14 @@ class PESymbols(interfaces.plugins.PluginInterface): del remaining[symbol_key][value_index] # everything was resolved, stop this resolver + # remove this key from the remaining symbols to resolve if not remaining[symbol_key]: + del remaining[symbol_key] + done_processing = True break # stop all resolving - if not remaining[symbol_key]: - del remaining[symbol_key] + if done_processing: break return found, remaining From 322f79fb5040e3e7ebdfa9de8c82a639729a39f2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 14 Sep 2024 17:18:26 -0500 Subject: [PATCH 0702/2186] Bail as early as possible --- .../framework/plugins/windows/pe_symbols.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 44254513f..0bf03e7d6 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -437,7 +437,6 @@ class PESymbols(interfaces.plugins.PluginInterface): Returns: Tuple[str|renderers.NotApplicableValue|renderers.NotAvailableValue, str|renderers.NotApplicableValue|renderers.NotAvailableValue] """ - if not address: return renderers.NotApplicableValue(), renderers.NotApplicableValue() @@ -458,7 +457,7 @@ class PESymbols(interfaces.plugins.PluginInterface): ) if not found_symbols or filename not in found_symbols: - return renderers.NotAvailableValue(), renderers.NotAvailableValue() + return filepath, renderers.NotAvailableValue() return filepath, found_symbols[filename][0][0] @@ -718,11 +717,14 @@ class PESymbols(interfaces.plugins.PluginInterface): found.append((symbol_name, symbol_address)) del remaining[symbol_key][value_index] - # everything was resolved, stop this resolver - # remove this key from the remaining symbols to resolve - if not remaining[symbol_key]: - del remaining[symbol_key] - done_processing = True + # everything was resolved, stop this resolver + # remove this key from the remaining symbols to resolve + if not remaining[symbol_key]: + del remaining[symbol_key] + done_processing = True + break + + if done_processing: break # stop all resolving @@ -885,6 +887,7 @@ class PESymbols(interfaces.plugins.PluginInterface): for vad in vad_root.traverse(): filepath = vad.get_file_name() + if not isinstance(filepath, str) or filepath.count("\\") == 0: continue From 79b8ff7d05b56316d90be682f56db22401f2c265 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 15 Sep 2024 18:29:05 -0500 Subject: [PATCH 0703/2186] Address final feedback --- .../plugins/windows/debugregisters.py | 23 ++++++++----------- .../framework/plugins/windows/pe_symbols.py | 10 ++++---- .../plugins/windows/unhooked_system_calls.py | 8 +++++++ 3 files changed, 22 insertions(+), 19 deletions(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index 65b2e625b..945ba1df0 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -148,12 +148,7 @@ class DebugRegisters(interfaces.plugins.PluginInterface): file3, sym3 = path_and_symbol(vads, dr3) # if none map to an actual file VAD then bail - if not ( - isinstance(file0, str) - or isinstance(file1, str) - or isinstance(file2, str) - or isinstance(file3, str) - ): + if not (file0 or file1 or file2 or file3): continue process_name = owner_proc.ImageFileName.cast( @@ -173,17 +168,17 @@ class DebugRegisters(interfaces.plugins.PluginInterface): thread.Tcb.State, dr7, format_hints.Hex(dr0), - file0, - sym0, + file0 or renderers.NotApplicableValue(), + sym0 or renderers.NotApplicableValue(), format_hints.Hex(dr1), - file1, - sym1, + file1 or renderers.NotApplicableValue(), + sym1 or renderers.NotApplicableValue(), format_hints.Hex(dr2), - file2, - sym2, + file2 or renderers.NotApplicableValue(), + sym2 or renderers.NotApplicableValue(), format_hints.Hex(dr3), - file3, - sym3, + file3 or renderers.NotApplicableValue(), + sym3 or renderers.NotApplicableValue(), ), ) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 0bf03e7d6..955098d6b 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -423,7 +423,7 @@ class PESymbols(interfaces.plugins.PluginInterface): collected_modules: collected_modules_type, ranges: ranges_type, address: int, - ) -> Tuple[str, str]: + ) -> Tuple[Optional[str], Optional[str]]: """ Method for plugins to determine the file path and symbol name for a given address @@ -438,12 +438,12 @@ class PESymbols(interfaces.plugins.PluginInterface): Tuple[str|renderers.NotApplicableValue|renderers.NotAvailableValue, str|renderers.NotApplicableValue|renderers.NotAvailableValue] """ if not address: - return renderers.NotApplicableValue(), renderers.NotApplicableValue() + return None, None filepath = PESymbols.filepath_for_address(ranges, address) if not filepath: - return renderers.NotAvailableValue(), renderers.NotAvailableValue() + return None, None filename = PESymbols.filename_for_path(filepath).lower() @@ -452,12 +452,12 @@ class PESymbols(interfaces.plugins.PluginInterface): filename: {wanted_addresses_identifier: [address]} } - found_symbols, _missing_msybols = PESymbols.find_symbols( + found_symbols, _missing_symbols = PESymbols.find_symbols( context, config_path, filter_module, collected_modules ) if not found_symbols or filename not in found_symbols: - return filepath, renderers.NotAvailableValue() + return filepath, None return filepath, found_symbols[filename][0][0] diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index 68f4c4b80..c3d98254d 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -71,6 +71,13 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): } } + # This data structure is used to track unique implementations of functions across processes + # The outer dictionary holds the module name (e.g., ntdll.dll) + # The next dictionary holds the function names (NtTerminateProcess, NtSetValueKey, etc.) inside a module + # The innermost dictionary holds the unique implementation (bytes) of a function across processes + # Each implementation is tracked along with the process(es) that host it + # For systems without malware, all functions should have the same implementation + # When API hooking/module unhooking is done, the victim (infected) processes will have unique implementations _code_bytes_type = Dict[str, Dict[str, Dict[bytes, List[Tuple[int, str]]]]] @classmethod @@ -127,6 +134,7 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: continue + # see the definition of _code_bytes_type for details of this data structure if dll_name not in code_bytes: code_bytes[dll_name] = {} From b788733683256e2cfd436750f616054f707252e9 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 15 Sep 2024 19:48:55 -0500 Subject: [PATCH 0704/2186] More comments on unhooked system calls --- .../plugins/windows/debugregisters.py | 4 ++++ .../plugins/windows/unhooked_system_calls.py | 18 ++++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index 945ba1df0..57dd1822c 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -1,6 +1,10 @@ # This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# Full details on the techniques used in these plugins to detect EDR-evading malware +# can be found in our 20 page whitepaper submitted to DEFCON along with the presentation +# https://www.volexity.com/wp-content/uploads/2024/08/Defcon24_EDR_Evasion_Detection_White-Paper_Andrew-Case.pdf + import logging from typing import Tuple, Optional, Generator, List, Dict diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index c3d98254d..1a1e59940 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -1,6 +1,10 @@ # This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# Full details on the techniques used in these plugins to detect EDR-evading malware +# can be found in our 20 page whitepaper submitted to DEFCON along with the presentation +# https://www.volexity.com/wp-content/uploads/2024/08/Defcon24_EDR_Evasion_Detection_White-Paper_Andrew-Case.pdf + import logging from typing import Dict, Tuple, List, Generator @@ -162,20 +166,30 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): # code_bytes[dll_name][func_name][func_bytes] code_bytes = self._gather_code_bytes(kernel, found_symbols) + # walk the functions that were evaluated for functions in code_bytes.values(): + # cbb is the distinct groups of bytes (instructions) + # for this function across processes for func_name, cbb in functions.items(): + # the dict key here is the raw instructions, which is not helpful to look at + # the values are the list of tuples for the (proc_id, proc_name) pairs for this set of bytes (instructions) cb = list(cbb.values()) - # same implementation in all + # if all processes map to the same implementation, then no malware is present if len(cb) == 1: yield 0, (func_name, "", len(cb[0])) else: - # find the processes that are hooked for reporting + # if there are differing implementations then it means + # that malware has overwritten system call(s) in infected processes + # max_idx and small_idx find which implementation of a system call has the least processes + # as all observed malware and open source projects only infected a few targets, leaving the + # rest with the original EDR hooks in place max_idx = 0 if len(cb[0]) > len(cb[1]) else 1 small_idx = (~max_idx) & 1 ps = [] + # gather processes on small_idx since these are the malware infected ones for pid, pname in cb[small_idx]: ps.append("{:d}:{}".format(pid, pname)) From 10ac21da2cbca02d47dc9aa938c2fe0d560af23d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 16 Sep 2024 12:16:43 +0100 Subject: [PATCH 0705/2186] Windows: Remove the unnecessary requirement on verinfo Fixes #1267 --- volatility3/framework/plugins/windows/verinfo.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/verinfo.py b/volatility3/framework/plugins/windows/verinfo.py index 5b3c52bf6..57b8dcd3f 100644 --- a/volatility3/framework/plugins/windows/verinfo.py +++ b/volatility3/framework/plugins/windows/verinfo.py @@ -48,9 +48,6 @@ class VerInfo(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="modules", plugin=modules.Modules, version=(2, 0, 0) ), - requirements.VersionRequirement( - name="dlllist", component=dlllist.DllList, version=(2, 0, 0) - ), requirements.BooleanRequirement( name="extensive", description="Search physical layer for version information", From f77003b670be71e012d0caa52f936a5adba8f162 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Sep 2024 12:50:58 +1000 Subject: [PATCH 0706/2186] Fix changes introduced to volatility3.framework.constants in PRs #838 and #1247 --- volatility3/framework/constants/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 8743a64b0..27fae4ba1 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -134,4 +134,5 @@ def __getattr__(name): ]: warnings.warn(f"{name} is deprecated", FutureWarning) return globals()[f"{deprecated_tag}{name}"] - return None + + return getattr(__import__(__name__), name) From 09fa859a92878b5d035e0dd5c44c0521661630fc Mon Sep 17 00:00:00 2001 From: eve Date: Wed, 25 Sep 2024 09:02:51 +0100 Subject: [PATCH 0707/2186] Windows: change warnings around large memory maps to debug level as per issue #1256 --- volatility3/framework/plugins/windows/vadyarascan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 7bc3377c3..efcc70d07 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -18,7 +18,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): """Scans all the Virtual Address Descriptor memory maps using yara.""" _required_framework_version = (2, 4, 0) - _version = (1, 1, 0) + _version = (1, 1, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -68,7 +68,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): layer = self.context.layers[layer_name] for start, size in self.get_vad_maps(task): if size > sanity_check: - vollog.warn( + vollog.debug( f"VAD at 0x{start:x} over sanity-check size, not scanning" ) continue From 7f37135739c9ff951e73680f7cdf4333b47ee231 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 25 Sep 2024 13:13:33 -0500 Subject: [PATCH 0708/2186] Linux: Update sockstat to render process names Currently, process names are not displayed for sockets in the sockstat plugin, making analysis more painful than it needs to be. This updates the `list_sockets` classmethod and the `generator` method to return the process name in addition to the PID. Because this is changing the public interface, this commit includes a major version bump for `linux.sockstat.Sockstat`. --- volatility3/framework/plugins/linux/sockstat.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index b0503b105..d3efc78dd 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -22,7 +22,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (2, 0, 0) def __init__(self, vmlinux, task): self._vmlinux = vmlinux @@ -507,7 +507,7 @@ class Sockstat(plugins.PluginInterface): dfop_addr = vmlinux.object_from_symbol("sockfs_dentry_operations").vol.offset fd_generator = lsof.Lsof.list_fds(context, vmlinux.name, filter_func) - for _pid, _task_comm, task, fd_fields in fd_generator: + for _pid, task_comm, task, fd_fields in fd_generator: fd_num, filp, _full_path = fd_fields if filp.f_op not in (sfop_addr, dfop_addr): @@ -548,7 +548,7 @@ class Sockstat(plugins.PluginInterface): except AttributeError: netns_id = NotAvailableValue() - yield task, netns_id, fd_num, family, sock_type, protocol, sock_fields + yield task_comm, task, netns_id, fd_num, family, sock_type, protocol, sock_fields def _format_fields(self, sock_stat, protocol): """Prepare the socket fields to be rendered @@ -595,6 +595,7 @@ class Sockstat(plugins.PluginInterface): ) for ( + task_comm, task, netns_id, fd_num, @@ -617,6 +618,7 @@ class Sockstat(plugins.PluginInterface): fields = ( netns_id, + task_comm, task.pid, fd_num, format_hints.Hex(sock.vol.offset), @@ -636,6 +638,7 @@ class Sockstat(plugins.PluginInterface): tree_grid_args = [ ("NetNS", int), + ("Process Name", str), ("Pid", int), ("FD", int), ("Sock Offset", format_hints.Hex), From 48d4048b487b665051c8f21a24ff8e77333ee682 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Fri, 27 Sep 2024 10:02:36 -0500 Subject: [PATCH 0709/2186] #816 - fixes and additional windows versions --- .../framework/plugins/windows/consoles.py | 291 ++++--- .../framework/plugins/windows/verinfo.py | 2 +- .../consoles-win10-17763-3232-x64.json | 71 +- .../consoles/consoles-win10-17763-x64.json | 71 +- .../consoles/consoles-win10-18362-x64.json | 73 +- .../consoles/consoles-win10-19041-x64.json | 73 +- .../consoles-win10-20348-1970-x64.json | 108 ++- .../consoles-win10-20348-2461-x64.json | 108 ++- .../consoles/consoles-win10-20348-x64.json | 108 ++- .../consoles/consoles-win10-22000-x64.json | 722 +++++++++++++++++ .../consoles-win10-22621-3672-x64.json | 722 +++++++++++++++++ .../consoles/consoles-win10-22621-x64.json | 722 +++++++++++++++++ .../consoles/consoles-win10-25398-x64.json | 723 ++++++++++++++++++ .../symbols/windows/extensions/consoles.py | 112 ++- 14 files changed, 3774 insertions(+), 132 deletions(-) create mode 100644 volatility3/framework/symbols/windows/consoles/consoles-win10-22000-x64.json create mode 100644 volatility3/framework/symbols/windows/consoles/consoles-win10-22621-3672-x64.json create mode 100644 volatility3/framework/symbols/windows/consoles/consoles-win10-22621-x64.json create mode 100644 volatility3/framework/symbols/windows/consoles/consoles-win10-25398-x64.json diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index c9e8522a4..46699aa31 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -11,12 +11,13 @@ from typing import Tuple, Generator, Set, Dict, Any, Type from volatility3.framework import interfaces, symbols, exceptions from volatility3.framework import renderers +from volatility3.framework.interfaces import configuration from volatility3.framework.configuration import requirements from volatility3.framework.layers import scanners from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed -from volatility3.framework.symbols.windows import pdbutil, versions +from volatility3.framework.symbols.windows import pdbutil from volatility3.framework.symbols.windows.extensions import pe, consoles from volatility3.plugins.windows import pslist, vadinfo, info, verinfo from volatility3.plugins.windows.registry import hivelist @@ -49,6 +50,9 @@ class Consoles(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="verinfo", component=verinfo.VerInfo, version=(1, 0, 0) + ), requirements.VersionRequirement( name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) ), @@ -92,18 +96,19 @@ class Consoles(interfaces.plugins.PluginInterface): """ for proc in proc_list: - try: - proc_id = proc.UniqueProcessId - proc_layer_name = proc.add_process_layer() + if utility.array_to_string(proc.ImageFileName).lower() == "conhost.exe": + try: + proc_id = proc.UniqueProcessId + proc_layer_name = proc.add_process_layer() - yield proc, proc_layer_name + yield proc, proc_layer_name - except exceptions.InvalidAddressException as excp: - vollog.debug( - "Process {}: invalid address {} in layer {}".format( - proc_id, excp.invalid_address, excp.layer_name + except exceptions.InvalidAddressException as excp: + vollog.debug( + "Process {}: invalid address {} in layer {}".format( + proc_id, excp.invalid_address, excp.layer_name + ) ) - ) @classmethod def find_conhostexe( @@ -122,7 +127,6 @@ class Consoles(interfaces.plugins.PluginInterface): """ for vad in conhost_proc.get_vad_root().traverse(): filename = vad.get_file_name() - if isinstance(filename, str) and filename.lower().endswith("conhost.exe"): base = vad.get_start() return base, vad.get_size() @@ -135,6 +139,9 @@ class Consoles(interfaces.plugins.PluginInterface): context: interfaces.context.ContextInterface, layer_name: str, nt_symbol_table: str, + config_path: str, + conhost_layer_name: str, + conhost_base: int, ) -> Tuple[str, Type]: """Tries to determine which symbol filename to use for the image's console information. This is similar to the netstat plugin. @@ -143,6 +150,9 @@ class Consoles(interfaces.plugins.PluginInterface): context: The context to retrieve required elements (layers, symbol tables) from layer_name: The name of the layer on which to operate nt_symbol_table: The name of the table containing the kernel symbols + config_path: The config path where to find symbol files + conhost_layer_name: The name of the conhot process memory layer + conhost_base: the base address of conhost.exe Returns: The filename of the symbol table to use and the associated class types. @@ -150,10 +160,6 @@ class Consoles(interfaces.plugins.PluginInterface): is_64bit = symbols.symbol_table_is_64bit(context, nt_symbol_table) - is_18363_or_later = versions.is_win10_18363_or_later( - context=context, symbol_table=nt_symbol_table - ) - if is_64bit: arch = "x64" else: @@ -211,23 +217,15 @@ class Consoles(interfaces.plugins.PluginInterface): (10, 0, 20348, 1970): "consoles-win10-20348-1970-x64", (10, 0, 20348, 2461): "consoles-win10-20348-2461-x64", (10, 0, 20348, 2520): "consoles-win10-20348-2461-x64", + (10, 0, 22000, 0): "consoles-win10-22000-x64", + (10, 0, 22621, 1): "consoles-win10-22621-x64", + (10, 0, 22621, 3672): "consoles-win10-22621-3672-x64", + (10, 0, 25398, 0): "consoles-win10-22000-x64", } # we do not need to check for conhost's specific FileVersion in every case conhost_mod_version = 0 # keep it 0 as a default - # special use cases - - # Win10_18363 is not recognized by windows.info as 18363 - # because all kernel file headers and debug structures report 18363 as - # "10.0.18362.1198" with the last part being incremented. However, we can use - # os_distinguisher to differentiate between 18362 and 18363 - if vers_minor_version == 18362 and is_18363_or_later: - vollog.debug( - "Detected 18363 data structures: working with 18363 symbol table." - ) - vers_minor_version = 18363 - # we need to define additional version numbers (which are then found via conhost.exe's FileVersion header) in case there is # ambiguity _within_ an OS version. If such a version number (last number of the tuple) is defined for the current OS # we need to inspect conhost.exe's headers to see if we can grab the precise version @@ -240,24 +238,40 @@ class Consoles(interfaces.plugins.PluginInterface): vollog.debug( "Requiring further version inspection due to OS version by checking conhost.exe's FileVersion header" ) - # the following is IntelLayer specific and might need to be adapted to other architectures. - physical_layer_name = context.layers[layer_name].config.get( - "memory_layer", None - ) - if physical_layer_name: - ver = verinfo.VerInfo.find_version_info( - context, physical_layer_name, "CONHOST.EXE" - ) - if ver: - conhost_mod_version = ver[3] - vollog.debug( - "Determined conhost.exe's FileVersion: {}".format( - conhost_mod_version - ) + pe_table_name = intermed.IntermediateSymbolTable.create( + context, + configuration.path_join(config_path, "conhost"), + "windows", + "pe", + class_types=pe.class_types + ) + + try: + (major, minor, product, build) = verinfo.VerInfo.get_version_information( + context, pe_table_name, conhost_layer_name, conhost_base + ) + conhost_mod_version = build + vollog.debug(f"Found conhost.exe version {major}.{minor}.{product}.{build} in {conhost_layer_name} at base {conhost_base:#x}") + except (exceptions.InvalidAddressException, TypeError, AttributeError): + # the following is IntelLayer specific and might need to be adapted to other architectures. + physical_layer_name = context.layers[layer_name].config.get( + "memory_layer", None + ) + if physical_layer_name: + ver = verinfo.VerInfo.find_version_info( + context, physical_layer_name, "CONHOST.EXE" ) - else: - vollog.debug("Could not determine conhost.exe's FileVersion.") + + if ver: + conhost_mod_version = ver[3] + vollog.debug( + "Determined conhost.exe's FileVersion: {}".format( + conhost_mod_version + ) + ) + else: + vollog.debug("Could not determine conhost.exe's FileVersion.") else: vollog.debug( "Unable to retrieve physical memory layer, skipping FileVersion check." @@ -287,6 +301,7 @@ class Consoles(interfaces.plugins.PluginInterface): for nt_maj, nt_min, vers_min, conhost_ver in version_dict if nt_maj == nt_major_version and nt_min == nt_minor_version + and vers_min <= vers_minor_version and conhost_ver <= conhost_mod_version ] current_versions.sort() @@ -321,6 +336,8 @@ class Consoles(interfaces.plugins.PluginInterface): layer_name: str, nt_symbol_table: str, config_path: str, + conhost_layer_name: str, + conhost_base: int, ) -> str: """Creates a symbol table for conhost structures. @@ -339,13 +356,16 @@ class Consoles(interfaces.plugins.PluginInterface): context, layer_name, nt_symbol_table, + config_path, + conhost_layer_name, + conhost_base, ) vollog.debug(f"Using symbol file '{symbol_filename}' and types {class_types}") return intermed.IntermediateSymbolTable.create( context, - config_path, + configuration.path_join(config_path, "conhost"), os.path.join("windows", "consoles"), symbol_filename, class_types=class_types, @@ -383,9 +403,7 @@ class Consoles(interfaces.plugins.PluginInterface): that console information structure. """ - conhost_symbol_table = cls.create_conhost_symbol_table( - context, kernel_layer_name, kernel_table_name, config_path - ) + conhost_symbol_table = None for conhost_proc, proc_layer_name in cls.find_conhost_proc(procs): if not conhost_proc: @@ -407,6 +425,16 @@ class Consoles(interfaces.plugins.PluginInterface): proc_layer = context.layers[proc_layer_name] + if conhost_symbol_table is None: + conhost_symbol_table = cls.create_conhost_symbol_table( + context, + kernel_layer_name, + kernel_table_name, + config_path, + proc_layer_name, + conhostexe_base + ) + conhost_module = context.module( conhost_symbol_table, proc_layer_name, offset=conhostexe_base ) @@ -560,6 +588,60 @@ class Consoles(interfaces.plugins.PluginInterface): } ) + vollog.debug( + f"Getting ExeAliasList entries for {console_info.ExeAliasList}" + ) + console_properties.append( + { + "level": 1, + "name": "_CONSOLE_INFORMATION.ExeAliasList", + "address": console_info.ExeAliasList.vol.offset, + "data": "", + } + ) + if console_info.ExeAliasList: + for index, exe_alias_list in enumerate( + console_info.get_exe_aliases() + ): + try: + console_properties.append( + { + "level": 2, + "name": f"_CONSOLE_INFORMATION.ExeAliasList.AliasList_{index}", + "address": exe_alias_list.vol.offset, + "data": "", + } + ) + console_properties.append( + { + "level": 2, + "name": f"_CONSOLE_INFORMATION.ExeAliasList.AliasList_{index}.ExeName", + "address": exe_alias_list.ExeName.vol.offset, + "data": exe_alias_list.get_exename(), + } + ) + for alias_index, alias in enumerate(exe_alias_list.get_aliases()): + console_properties.append( + { + "level": 3, + "name": f"_CONSOLE_INFORMATION.ExeAliasList.AliasList_{index}.Alias_{alias_index}.Source", + "address": alias.Source.vol.offset, + "data": alias.get_source(), + } + ) + console_properties.append( + { + "level": 3, + "name": f"_CONSOLE_INFORMATION.ExeAliasList.AliasList_{index}.Alias_{alias_index}.Target", + "address": alias.Target.vol.offset, + "data": alias.get_target(), + } + ) + except Exception as e: + vollog.debug( + f"reading {exe_alias_list} encountered exception {e}" + ) + vollog.debug( f"Getting HistoryList entries for {console_info.HistoryList}" ) @@ -639,60 +721,66 @@ class Consoles(interfaces.plugins.PluginInterface): f"reading {command_history} encountered exception {e}" ) - vollog.debug(f"Getting ScreenBuffer entries for {console_info}") - console_properties.append( - { - "level": 1, - "name": "_CONSOLE_INFORMATION.CurrentScreenBuffer", - "address": console_info.CurrentScreenBuffer.vol.offset, - "data": "", - } - ) - for screen_index, screen_info in enumerate( - console_info.get_screens() - ): - try: - console_properties.append( - { - "level": 2, - "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}", - "address": screen_info, - "data": "", - } - ) - console_properties.append( - { - "level": 2, - "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}.ScreenX", - "address": None, - "data": screen_info.ScreenX, - } - ) - console_properties.append( - { - "level": 2, - "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}.ScreenY", - "address": None, - "data": screen_info.ScreenY, - } - ) - console_properties.append( - { - "level": 2, - "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}.Dump", - "address": None, - "data": "\n".join(screen_info.get_buffer()), - } - ) - except Exception as e: - vollog.debug( - f"reading {screen_info} encountered exception {e}" - ) + try: + vollog.debug(f"Getting ScreenBuffer entries for {console_info}") + console_properties.append( + { + "level": 1, + "name": "_CONSOLE_INFORMATION.CurrentScreenBuffer", + "address": console_info.CurrentScreenBuffer.vol.offset, + "data": "", + } + ) + for screen_index, screen_info in enumerate( + console_info.get_screens() + ): + try: + console_properties.append( + { + "level": 2, + "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}", + "address": screen_info, + "data": "", + } + ) + console_properties.append( + { + "level": 2, + "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}.ScreenX", + "address": None, + "data": screen_info.ScreenX, + } + ) + console_properties.append( + { + "level": 2, + "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}.ScreenY", + "address": None, + "data": screen_info.ScreenY, + } + ) + console_properties.append( + { + "level": 2, + "name": f"_CONSOLE_INFORMATION.ScreenBuffer_{screen_index}.Dump", + "address": None, + "data": "\n".join(screen_info.get_buffer()), + } + ) + except Exception as e: + vollog.debug( + f"reading {screen_info} encountered exception {e}" + ) + except Exception as e: + vollog.debug( + f"reading _CONSOLE_INFORMATION.CurrentScreenBuffer encountered exception {e}" + ) except exceptions.PagedInvalidAddressException as exp: vollog.debug( f"Required memory at {exp.invalid_address:#x} is not valid" ) + continue yield conhost_proc, console_info, console_properties @@ -776,6 +864,7 @@ class Consoles(interfaces.plugins.PluginInterface): vollog.debug(f"Possible CommandHistorySize values: {max_history}") vollog.debug(f"Possible HistoryBufferMax values: {max_buffers}") + proc = None for proc, console_info, console_properties in self.get_console_info( self.context, kernel.layer_name, @@ -786,13 +875,14 @@ class Consoles(interfaces.plugins.PluginInterface): max_buffers, ): process_name = utility.array_to_string(proc.ImageFileName) + process_pid = proc.UniqueProcessId if console_info and console_properties: for console_property in console_properties: yield ( console_property["level"], ( - proc.UniqueProcessId, + process_pid, process_name, format_hints.Hex(console_info.vol.offset), console_property["name"], @@ -804,6 +894,11 @@ class Consoles(interfaces.plugins.PluginInterface): str(console_property["data"]), ), ) + else: + vollog.warn(f"_CONSOLE_INFORMATION not found for {process_name} with pid {process_pid}.") + + if proc is None: + vollog.warn("No conhost.exe processes found.") def _conhost_proc_filter(self, proc): """ @@ -811,7 +906,7 @@ class Consoles(interfaces.plugins.PluginInterface): """ process_name = utility.array_to_string(proc.ImageFileName) - return process_name != "conhost.exe" + return process_name.lower() != "conhost.exe" def run(self): kernel = self.context.modules[self.config["kernel"]] diff --git a/volatility3/framework/plugins/windows/verinfo.py b/volatility3/framework/plugins/windows/verinfo.py index 57b8dcd3f..4a06ed0c9 100644 --- a/volatility3/framework/plugins/windows/verinfo.py +++ b/volatility3/framework/plugins/windows/verinfo.py @@ -13,7 +13,7 @@ from volatility3.framework.layers import scanners from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows.extensions import pe -from volatility3.plugins.windows import pslist, modules, dlllist +from volatility3.plugins.windows import pslist, modules vollog = logging.getLogger(__name__) diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json index 0a8cb5782..413b6f466 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json @@ -152,8 +152,8 @@ }, "ExeAliasList": { "type": { - "kind": "base", - "name": "unsigned short" + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" }, "offset": 1392 } @@ -562,7 +562,8 @@ } }, "offset": 88 - } }, + } + }, "kind": "struct", "size": 96 }, @@ -581,6 +582,70 @@ }, "kind": "struct", "size": 8 + }, + "_EXE_ALIAS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExeLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 8 + }, + "ExeName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 24 + }, + "AliasList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 48 + }, + "_ALIAS": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Source": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "Target": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json index 2b98945c9..b3bf9666c 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json @@ -152,8 +152,8 @@ }, "ExeAliasList": { "type": { - "kind": "base", - "name": "unsigned short" + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" }, "offset": 1392 } @@ -562,7 +562,8 @@ } }, "offset": 88 - } }, + } + }, "kind": "struct", "size": 96 }, @@ -581,6 +582,70 @@ }, "kind": "struct", "size": 8 + }, + "_EXE_ALIAS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExeLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ExeName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 24 + }, + "AliasList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 48 + }, + "_ALIAS": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Source": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "Target": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json index 3d76d1cb4..d962418d3 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json @@ -152,10 +152,10 @@ }, "ExeAliasList": { "type": { - "kind": "base", - "name": "unsigned short" + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" }, - "offset": 1436 + "offset": -856 } }, "kind": "struct", @@ -552,7 +552,8 @@ } }, "offset": 88 - } }, + } + }, "kind": "struct", "size": 96 }, @@ -571,6 +572,70 @@ }, "kind": "struct", "size": 8 + }, + "_EXE_ALIAS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExeLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 8 + }, + "ExeName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 24 + }, + "AliasList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 48 + }, + "_ALIAS": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Source": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "Target": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json index 681113b0f..0963afee3 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json @@ -1,5 +1,5 @@ { - "symbols": {}, + "symbols": {}, "enums": {}, "base_types": { "unsigned long": { @@ -152,8 +152,8 @@ }, "ExeAliasList": { "type": { - "kind": "base", - "name": "unsigned short" + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" }, "offset": 1436 } @@ -552,7 +552,8 @@ } }, "offset": 88 - } }, + } + }, "kind": "struct", "size": 96 }, @@ -571,6 +572,70 @@ }, "kind": "struct", "size": 8 + }, + "_EXE_ALIAS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExeLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 8 + }, + "ExeName": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 24 + }, + "AliasList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 48 + }, + "_ALIAS": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Source": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "Target": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json index 7bc6ae9d1..cee78e2b5 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json @@ -152,8 +152,11 @@ }, "ExeAliasList": { "type": { - "kind": "base", - "name": "unsigned short" + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } }, "offset": 2410 } @@ -562,7 +565,8 @@ } }, "offset": 88 - } }, + } + }, "kind": "struct", "size": 96 }, @@ -581,6 +585,104 @@ }, "kind": "struct", "size": 8 + }, + "_EXE_ALIAS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExeName": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "AliasList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_ALIAS": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Source": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "Target": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 32 + }, + "_ALIAS_STRING": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json index f612c527a..59e9fd3b9 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json @@ -152,8 +152,11 @@ }, "ExeAliasList": { "type": { - "kind": "base", - "name": "unsigned short" + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } }, "offset": 9232 } @@ -562,7 +565,8 @@ } }, "offset": 88 - } }, + } + }, "kind": "struct", "size": 96 }, @@ -581,6 +585,104 @@ }, "kind": "struct", "size": 8 + }, + "_EXE_ALIAS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExeName": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "AliasList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_ALIAS": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Source": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "Target": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 32 + }, + "_ALIAS_STRING": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json index 083a966a0..df02169cb 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json @@ -152,8 +152,11 @@ }, "ExeAliasList": { "type": { - "kind": "base", - "name": "unsigned short" + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } }, "offset": -376 } @@ -562,7 +565,8 @@ } }, "offset": 88 - } }, + } + }, "kind": "struct", "size": 96 }, @@ -581,6 +585,104 @@ }, "kind": "struct", "size": 8 + }, + "_EXE_ALIAS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExeName": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "AliasList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_ALIAS": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Source": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "Target": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 32 + }, + "_ALIAS_STRING": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-22000-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-22000-x64.json new file mode 100644 index 000000000..0dfaf34af --- /dev/null +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-22000-x64.json @@ -0,0 +1,722 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "short": { + "kind": "int", + "size": 2, + "signed": true, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_CONSOLE_INFORMATION": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 24 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 26 + }, + "CommandHistorySize": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 136 + }, + "HistoryBufferMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 140 + }, + "OriginalTitle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1648 + }, + "Title": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 1616 + }, + "GetScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1664 + }, + "CurrentScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 1296 + }, + "ConsoleProcessList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 1272 + }, + "ProcessCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1280 + }, + "HistoryList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": -920 + }, + "HistoryBufferCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": -912 + }, + "ExeAliasList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": -1008 + } + }, + "kind": "struct", + "size": 140 + }, + "_VECTOR": { + "fields": { + "Begin": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 0 + }, + "End": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 8 + }, + "EndCapacity": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_CONSOLE_PROCESS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ConsoleProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_PROCESS_HANDLE": { + "fields": { + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 52 + }, + "_CONSOLE_PROCESS": { + "fields": { + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 28 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + }, + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND_HISTORY": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "CommandBucket": { + "type": { + "kind": "struct", + "name": "_VECTOR" + }, + "offset": 16 + }, + "CommandCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 40 + }, + "Application": { + "type": { + "kind": "struct", + "name": "_COMMAND" + }, + "offset": 48 + }, + "ConsoleProcessHandle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS_HANDLE" + } + }, + "offset": 80 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 88 + }, + "LastDisplayed": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 92 + } + }, + "kind": "struct", + "size": 96 + }, + "_SCREEN_INFORMATION": { + "fields": { + "TextBufferInfo": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 56 + }, + "Next": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_ROW_POINTER": { + "fields": { + "Row": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROWS_ARRAY": { + "fields": { + "Rows": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_TEXT_BUFFER_INFO": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 4 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 6 + }, + "BufferRows": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROWS_ARRAY" + } + }, + "offset": 8 + }, + "BufferCapacity": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 6 + }, + "ThisBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 32 + }, + "FirstRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 8 + }, + "LastRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 16 + }, + "BufferStart": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 72 + }, + "_CHAR_ROW_CELL": { + "fields": { + "Text": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "DbcsAttribute": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 3 + }, + "_CHAR_ROW_CELL_ARRAY": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROW": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": -88 + }, + "CharRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL_ARRAY" + } + }, + "offset": 0 + }, + "RowLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": -18 + }, + "Index": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": -20 + }, + "RowLength2": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 8 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "TextBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": -8 + } + }, + "kind": "struct", + "size": 480 + }, + "_DEQUE": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_EXE_ALIAS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExeName": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "AliasList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_ALIAS": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Source": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "Target": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 32 + }, + "_ALIAS_STRING": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle", + "datetime": "2024-07-31T15:05:35-06:00" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-3672-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-3672-x64.json new file mode 100644 index 000000000..4c71ee32e --- /dev/null +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-3672-x64.json @@ -0,0 +1,722 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "short": { + "kind": "int", + "size": 2, + "signed": true, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_CONSOLE_INFORMATION": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 2400 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 2402 + }, + "CommandHistorySize": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2512 + }, + "HistoryBufferMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2516 + }, + "OriginalTitle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 2944 + }, + "Title": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 2912 + }, + "GetScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 3008 + }, + "CurrentScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 2632 + }, + "ConsoleProcessList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 2608 + }, + "ProcessCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2616 + }, + "HistoryList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 10640 + }, + "HistoryBufferCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10648 + }, + "ExeAliasList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 10552 + } + }, + "kind": "struct", + "size": 140 + }, + "_VECTOR": { + "fields": { + "Begin": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 0 + }, + "End": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 8 + }, + "EndCapacity": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_CONSOLE_PROCESS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ConsoleProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_PROCESS_HANDLE": { + "fields": { + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 52 + }, + "_CONSOLE_PROCESS": { + "fields": { + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 28 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + }, + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND_HISTORY": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "CommandBucket": { + "type": { + "kind": "struct", + "name": "_VECTOR" + }, + "offset": 16 + }, + "CommandCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 40 + }, + "Application": { + "type": { + "kind": "struct", + "name": "_COMMAND" + }, + "offset": 48 + }, + "ConsoleProcessHandle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS_HANDLE" + } + }, + "offset": 80 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 88 + }, + "LastDisplayed": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 92 + } + }, + "kind": "struct", + "size": 96 + }, + "_SCREEN_INFORMATION": { + "fields": { + "TextBufferInfo": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 56 + }, + "Next": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_ROW_POINTER": { + "fields": { + "Row": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROWS_ARRAY": { + "fields": { + "Rows": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_TEXT_BUFFER_INFO": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 4 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 6 + }, + "BufferRows": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROWS_ARRAY" + } + }, + "offset": 8 + }, + "BufferCapacity": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 6 + }, + "ThisBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 32 + }, + "FirstRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 8 + }, + "LastRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 16 + }, + "BufferStart": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 72 + }, + "_CHAR_ROW_CELL": { + "fields": { + "Text": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "DbcsAttribute": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 3 + }, + "_CHAR_ROW_CELL_ARRAY": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROW": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": -80 + }, + "CharRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL_ARRAY" + } + }, + "offset": 0 + }, + "RowLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 8 + }, + "Index": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": -20 + }, + "RowLength2": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 8 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "TextBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": -16 + } + }, + "kind": "struct", + "size": 472 + }, + "_DEQUE": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_EXE_ALIAS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExeName": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "AliasList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_ALIAS": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Source": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "Target": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 32 + }, + "_ALIAS_STRING": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle", + "datetime": "2024-07-31T15:05:35-06:00" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-x64.json new file mode 100644 index 000000000..d6da72ef2 --- /dev/null +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-x64.json @@ -0,0 +1,722 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "short": { + "kind": "int", + "size": 2, + "signed": true, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_CONSOLE_INFORMATION": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 2400 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 2402 + }, + "CommandHistorySize": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2512 + }, + "HistoryBufferMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2516 + }, + "OriginalTitle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 2944 + }, + "Title": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 2912 + }, + "GetScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 3008 + }, + "CurrentScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 2632 + }, + "ConsoleProcessList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 2608 + }, + "ProcessCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2616 + }, + "HistoryList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 10664 + }, + "HistoryBufferCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10672 + }, + "ExeAliasList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 10576 + } + }, + "kind": "struct", + "size": 140 + }, + "_VECTOR": { + "fields": { + "Begin": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 0 + }, + "End": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 8 + }, + "EndCapacity": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_CONSOLE_PROCESS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ConsoleProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_PROCESS_HANDLE": { + "fields": { + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 52 + }, + "_CONSOLE_PROCESS": { + "fields": { + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 28 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + }, + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND_HISTORY": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "CommandBucket": { + "type": { + "kind": "struct", + "name": "_VECTOR" + }, + "offset": 16 + }, + "CommandCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 40 + }, + "Application": { + "type": { + "kind": "struct", + "name": "_COMMAND" + }, + "offset": 48 + }, + "ConsoleProcessHandle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS_HANDLE" + } + }, + "offset": 80 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 88 + }, + "LastDisplayed": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 92 + } + }, + "kind": "struct", + "size": 96 + }, + "_SCREEN_INFORMATION": { + "fields": { + "TextBufferInfo": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 56 + }, + "Next": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_ROW_POINTER": { + "fields": { + "Row": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROWS_ARRAY": { + "fields": { + "Rows": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_TEXT_BUFFER_INFO": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 4 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 6 + }, + "BufferRows": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROWS_ARRAY" + } + }, + "offset": 8 + }, + "BufferCapacity": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 6 + }, + "ThisBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 32 + }, + "FirstRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 8 + }, + "LastRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 16 + }, + "BufferStart": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 72 + }, + "_CHAR_ROW_CELL": { + "fields": { + "Text": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "DbcsAttribute": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 3 + }, + "_CHAR_ROW_CELL_ARRAY": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROW": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": -96 + }, + "CharRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL_ARRAY" + } + }, + "offset": 0 + }, + "RowLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 8 + }, + "Index": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": -20 + }, + "RowLength2": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 8 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "TextBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": -8 + } + }, + "kind": "struct", + "size": 480 + }, + "_DEQUE": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_EXE_ALIAS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExeName": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "AliasList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_ALIAS": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Source": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "Target": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 32 + }, + "_ALIAS_STRING": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle", + "datetime": "2024-07-31T15:05:35-06:00" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-25398-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-25398-x64.json new file mode 100644 index 000000000..120ad85ec --- /dev/null +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-25398-x64.json @@ -0,0 +1,723 @@ +{ + "symbols": {}, + "enums": {}, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little" + }, + "short": { + "kind": "int", + "size": 2, + "signed": true, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + } + }, + "user_types": { + "_CONSOLE_INFORMATION": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 2592 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 2594 + }, + "CommandHistorySize": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2704 + }, + "HistoryBufferMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2708 + }, + "OriginalTitle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 3056 + }, + "Title": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 3120 + }, + "GetScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 3216 + }, + "CurrentScreenBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 2824 + }, + "ConsoleProcessList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 2800 + }, + "ProcessCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2808 + }, + "HistoryList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": -360 + }, + "HistoryBufferCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": -352 + }, + "ExeAliasList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 3776 + } + }, + "kind": "struct", + "size": 140 + }, + "_VECTOR": { + "fields": { + "Begin": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 0 + }, + "End": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_COMMAND" + } + }, + "offset": 8 + }, + "EndCapacity": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_CONSOLE_PROCESS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ConsoleProcess": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS" + } + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_PROCESS_HANDLE": { + "fields": { + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 52 + }, + "_CONSOLE_PROCESS": { + "fields": { + "ProcessId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 28 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 32 + }, + "ProcessHandle": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 24 + }, + "_COMMAND_HISTORY": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "CommandBucket": { + "type": { + "kind": "struct", + "name": "_VECTOR" + }, + "offset": 16 + }, + "CommandCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 40 + }, + "Application": { + "type": { + "kind": "struct", + "name": "_COMMAND" + }, + "offset": 48 + }, + "ConsoleProcessHandle": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CONSOLE_PROCESS_HANDLE" + } + }, + "offset": 80 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 88 + }, + "LastDisplayed": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 92 + } + }, + "kind": "struct", + "size": 96 + }, + "_SCREEN_INFORMATION": { + "fields": { + "TextBufferInfo": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 56 + }, + "Next": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SCREEN_INFORMATION" + } + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_ROW_POINTER": { + "fields": { + "Row": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + + }, + "_ROWS_ARRAY": { + "fields": { + "Rows": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_ROW_POINTER" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_TEXT_BUFFER_INFO": { + "fields": { + "ScreenX": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 8 + }, + "ScreenY": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 10 + }, + "BufferRows": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROWS_ARRAY" + } + }, + "offset": 16 + }, + "BufferCapacity": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 10 + }, + "ThisBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": 40 + }, + "FirstRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 16 + }, + "LastRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": 24 + }, + "BufferStart": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 72 + }, + "_CHAR_ROW_CELL": { + "fields": { + "Text": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 0 + }, + "DbcsAttribute": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 3 + }, + "_CHAR_ROW_CELL_ARRAY": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_ROW": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_ROW" + } + }, + "offset": -88 + }, + "CharRow": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CHAR_ROW_CELL_ARRAY" + } + }, + "offset": 0 + }, + "RowLength": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 8 + }, + "Index": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": -20 + }, + "RowLength2": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 8 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "TextBuffer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_TEXT_BUFFER_INFO" + } + }, + "offset": -8 + } + }, + "kind": "struct", + "size": 464 + }, + "_DEQUE": { + "fields": { + "Blink": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_EXE_ALIAS_LIST": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExeName": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "AliasList": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + } + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_ALIAS": { + "fields": { + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "Source": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 16 + }, + "Target": { + "type": { + "kind": "struct", + "name": "_ALIAS_STRING" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 32 + }, + "_ALIAS_STRING": { + "fields": { + "Chars": { + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + }, + "offset": 0 + }, + "Pointer": { + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "string" + } + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 16 + }, + "Allocated": { + "type": { + "kind": "base", + "name": "unsigned int" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "Dave Lassalle", + "datetime": "2024-07-31T15:05:35-06:00" + }, + "format": "4.1.0" + } +} diff --git a/volatility3/framework/symbols/windows/extensions/consoles.py b/volatility3/framework/symbols/windows/extensions/consoles.py index 23670bb9b..70ef15093 100644 --- a/volatility3/framework/symbols/windows/extensions/consoles.py +++ b/volatility3/framework/symbols/windows/extensions/consoles.py @@ -9,30 +9,42 @@ from volatility3.framework import constants class ROW(objects.StructType): """A Row Structure.""" - def _valid_dbcs(self, c): + def _valid_dbcs(self, c, n): # TODO this need more research and testing # https://github.com/search?q=repo%3Amicrosoft%2Fterminal+DbcsAttr&type=code - valid = c in ( + valid = n == 0 and c in ( 0x0, 0x1, 0x2, + 0x8, + 0x10, + 0x18, 0x20, 0x28, 0x30, 0x48, 0x50, + 0x58, 0x60, + 0x68, + 0x70, + 0x78, 0x80, + 0x88, 0xA8, + 0xB8, 0xC0, 0xC8, 0x98, + 0xD8, + 0xE0, + 0xE8, 0xF8, 0xF0, 0xA0, ) - # if not valid: - # print("Bad Dbcs Attribute {}".format(hex(c))) + if n == 0 and not valid: + print("Bad Dbcs Attribute {}".format(hex(c))) return valid def get_text(self, truncate=True): @@ -50,10 +62,9 @@ class ROW(objects.StructType): try: if char_row: line = "".join( - # "{} {} =".format(char_row[i:i + 2].decode('utf-16le', errors='replace'), char_row[i+2]) if self._valid_dbcs(char_row[i+2]) else "" ( char_row[i : i + 2].decode("utf-16le", errors="replace") - if self._valid_dbcs(char_row[i + 2]) + if self._valid_dbcs(char_row[i + 2], char_row[i+1]) else "" ) for i in range(0, len(char_row), 3) @@ -68,12 +79,78 @@ class ROW(objects.StructType): return line +class ALIAS(objects.StructType): + """An Alias Structure""" + + def get_source(self): + if self.Source.Length < 8: + return self.Source.Chars.cast( + "string", + encoding="utf-16", + errors="replace", + max_length=self.Source.Length * 2, + ) + elif self.Source.Length < 1024: + return self.Source.Pointer.dereference().cast( + "string", encoding="utf-16", errors="replace", max_length=512 + ) + + def get_target(self): + if self.Target.Length < 8: + return self.Target.Chars.cast( + "string", + encoding="utf-16", + errors="replace", + max_length=self.Target.Length * 2, + ) + elif self.Target.Length < 1024: + return self.Target.Pointer.dereference().cast( + "string", encoding="utf-16", errors="replace", max_length=512 + ) + +class EXE_ALIAS_LIST(objects.StructType): + """An Exe Alias List Structure""" + + def get_exename(self): + exe_name = self.ExeName + # Windows 10 22000 and Server 20348 removed the Pointer + if isinstance(exe_name, objects.Pointer): + exe_name = exe_name.dereference() + return exe_name.get_string() + + if self.ExeName.Length < 8: + return self.ExeName.Chars.cast( + "string", + encoding="utf-16", + errors="replace", + max_length=self.ExeName.Length * 2, + ) + elif self.ExeName.Length < 1024: + return self.ExeName.Pointer.dereference().cast( + "string", encoding="utf-16", errors="replace", max_length=512 + ) + + def get_aliases(self): + """Generator for the individual aliases for a + particular executable.""" + for alias in self.AliasList.to_list( + f"{self.get_symbol_table_name()}{constants.BANG}_ALIAS", + "ListEntry", + ): + yield alias + + class SCREEN_INFORMATION(objects.StructType): """A Screen Information Structure.""" @property def ScreenX(self): - return self.TextBufferInfo.BufferRows.Rows[0].Row.RowLength2 + # 22000 change from an array of pointers to _ROW to an array of _ROW + row = self.TextBufferInfo.BufferRows.Rows[0] + if hasattr(row, "Row"): + return row.Row.RowLength2 + else: + return row.RowLength2 @property def ScreenY(self): @@ -127,7 +204,9 @@ class SCREEN_INFORMATION(objects.StructType): for i in range(capacity): index = (start + i) % capacity - row = buffer_rows.Rows[index].Row + row = buffer_rows.Rows[index] + if hasattr(row, "Row"): + row = row.Row try: text = row.get_text(truncate_lines) rows.append(text) @@ -138,9 +217,9 @@ class SCREEN_INFORMATION(objects.StructType): rows = self._truncate_rows(rows) if rows: - rows = ["=== Start of buffer ==="] + rows + ["=== End of buffer ==="] + rows = ["=== START OF BUFFER ==="] + rows + ["=== END OF BUFFER ==="] else: - rows = ["=== No buffer data found ==="] + rows = ["=== NO BUFFER DATA FOUND ==="] return rows @@ -198,6 +277,17 @@ class CONSOLE_INFORMATION(objects.StructType): ): yield cmd_hist + def get_exe_aliases(self): + exe_alias_list = self.ExeAliasList + # Windows 10 22000 and Server 20348 made this a Pointer + if isinstance(exe_alias_list, objects.Pointer): + exe_alias_list = exe_alias_list.dereference() + for exe_alias_list_item in exe_alias_list.to_list( + f"{self.get_symbol_table_name()}{constants.BANG}_EXE_ALIAS_LIST", + "ListEntry" + ): + yield exe_alias_list_item + def get_processes(self): for proc in self.ConsoleProcessList.dereference().to_list( f"{self.get_symbol_table_name()}{constants.BANG}_CONSOLE_PROCESS_LIST", @@ -331,6 +421,8 @@ class COMMAND_HISTORY(objects.StructType): win10_x64_class_types = { + "_EXE_ALIAS_LIST": EXE_ALIAS_LIST, + "_ALIAS": ALIAS, "_ROW": ROW, "_SCREEN_INFORMATION": SCREEN_INFORMATION, "_CONSOLE_INFORMATION": CONSOLE_INFORMATION, From 9d98ab9b6548cfc5b36c3e6ade3425ea87498442 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Fri, 27 Sep 2024 10:39:57 -0500 Subject: [PATCH 0710/2186] #816 - black fixes --- .../framework/plugins/windows/consoles.py | 26 +++++++++++++------ .../symbols/windows/extensions/consoles.py | 5 ++-- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index 46699aa31..89f9fcc80 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -244,15 +244,19 @@ class Consoles(interfaces.plugins.PluginInterface): configuration.path_join(config_path, "conhost"), "windows", "pe", - class_types=pe.class_types + class_types=pe.class_types, ) try: - (major, minor, product, build) = verinfo.VerInfo.get_version_information( - context, pe_table_name, conhost_layer_name, conhost_base + (major, minor, product, build) = ( + verinfo.VerInfo.get_version_information( + context, pe_table_name, conhost_layer_name, conhost_base + ) ) conhost_mod_version = build - vollog.debug(f"Found conhost.exe version {major}.{minor}.{product}.{build} in {conhost_layer_name} at base {conhost_base:#x}") + vollog.debug( + f"Found conhost.exe version {major}.{minor}.{product}.{build} in {conhost_layer_name} at base {conhost_base:#x}" + ) except (exceptions.InvalidAddressException, TypeError, AttributeError): # the following is IntelLayer specific and might need to be adapted to other architectures. physical_layer_name = context.layers[layer_name].config.get( @@ -432,7 +436,7 @@ class Consoles(interfaces.plugins.PluginInterface): kernel_table_name, config_path, proc_layer_name, - conhostexe_base + conhostexe_base, ) conhost_module = context.module( @@ -620,7 +624,9 @@ class Consoles(interfaces.plugins.PluginInterface): "data": exe_alias_list.get_exename(), } ) - for alias_index, alias in enumerate(exe_alias_list.get_aliases()): + for alias_index, alias in enumerate( + exe_alias_list.get_aliases() + ): console_properties.append( { "level": 3, @@ -722,7 +728,9 @@ class Consoles(interfaces.plugins.PluginInterface): ) try: - vollog.debug(f"Getting ScreenBuffer entries for {console_info}") + vollog.debug( + f"Getting ScreenBuffer entries for {console_info}" + ) console_properties.append( { "level": 1, @@ -895,7 +903,9 @@ class Consoles(interfaces.plugins.PluginInterface): ), ) else: - vollog.warn(f"_CONSOLE_INFORMATION not found for {process_name} with pid {process_pid}.") + vollog.warn( + f"_CONSOLE_INFORMATION not found for {process_name} with pid {process_pid}." + ) if proc is None: vollog.warn("No conhost.exe processes found.") diff --git a/volatility3/framework/symbols/windows/extensions/consoles.py b/volatility3/framework/symbols/windows/extensions/consoles.py index 70ef15093..555197fc4 100644 --- a/volatility3/framework/symbols/windows/extensions/consoles.py +++ b/volatility3/framework/symbols/windows/extensions/consoles.py @@ -64,7 +64,7 @@ class ROW(objects.StructType): line = "".join( ( char_row[i : i + 2].decode("utf-16le", errors="replace") - if self._valid_dbcs(char_row[i + 2], char_row[i+1]) + if self._valid_dbcs(char_row[i + 2], char_row[i + 1]) else "" ) for i in range(0, len(char_row), 3) @@ -108,6 +108,7 @@ class ALIAS(objects.StructType): "string", encoding="utf-16", errors="replace", max_length=512 ) + class EXE_ALIAS_LIST(objects.StructType): """An Exe Alias List Structure""" @@ -284,7 +285,7 @@ class CONSOLE_INFORMATION(objects.StructType): exe_alias_list = exe_alias_list.dereference() for exe_alias_list_item in exe_alias_list.to_list( f"{self.get_symbol_table_name()}{constants.BANG}_EXE_ALIAS_LIST", - "ListEntry" + "ListEntry", ): yield exe_alias_list_item From bd678eaf80482d4285e3409288a7dfd116dccd82 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Fri, 27 Sep 2024 16:07:44 -0500 Subject: [PATCH 0711/2186] #816 - fix cmdscan --- .../framework/plugins/windows/cmdscan.py | 78 ++++++++++++------- .../framework/plugins/windows/consoles.py | 38 +++++---- 2 files changed, 75 insertions(+), 41 deletions(-) diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index b92d7efab..09cb0f316 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -14,17 +14,9 @@ from volatility3.framework.configuration import requirements from volatility3.framework.layers import scanners from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import pslist, vadinfo, info, verinfo, consoles -from volatility3.plugins.windows.registry import hivelist +from volatility3.plugins.windows import pslist, consoles -try: - import capstone - - has_capstone = True -except ImportError: - has_capstone = False - vollog = logging.getLogger(__name__) @@ -32,6 +24,7 @@ class CmdScan(interfaces.plugins.PluginInterface): """Looks for Windows Command History lists""" _required_framework_version = (2, 4, 0) + _version = (1, 0, 0) @classmethod def get_requirements(cls): @@ -46,7 +39,7 @@ class CmdScan(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(2, 0, 0) ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="consoles", plugin=consoles.Consoles, version=(1, 0, 0) ), requirements.BooleanRequirement( name="no_registry", @@ -70,7 +63,7 @@ class CmdScan(interfaces.plugins.PluginInterface): size_filter: Optional[int] = 0x40000000, ) -> List[Tuple[int, int]]: """ - Returns vads of a process with smaller than size_filter + Returns vads of a process with size smaller than size_filter Args: conhost_proc: the process object for conhost.exe @@ -114,12 +107,10 @@ class CmdScan(interfaces.plugins.PluginInterface): Returns: The conhost process object, the command history structure, a dictionary of properties for - that command historyn structure. + that command history structure. """ - conhost_symbol_table = consoles.Consoles.create_conhost_symbol_table( - context, kernel_layer_name, kernel_table_name, config_path - ) + conhost_symbol_table = None for conhost_proc, proc_layer_name in consoles.Consoles.find_conhost_proc(procs): if not conhost_proc: @@ -143,11 +134,22 @@ class CmdScan(interfaces.plugins.PluginInterface): proc_layer = context.layers[proc_layer_name] + if conhost_symbol_table is None: + conhost_symbol_table = consoles.Consoles.create_conhost_symbol_table( + context, + kernel_layer_name, + kernel_table_name, + config_path, + proc_layer_name, + conhostexe_base, + ) + conhost_module = context.module( conhost_symbol_table, proc_layer_name, offset=conhostexe_base ) sections = cls.get_filtered_vads(conhost_proc) + found_history_for_proc = False # scan for potential _COMMAND_HISTORY structures by using the CommandHistorySize for max_history_value in max_history: max_history_bytes = struct.pack("H", max_history_value) @@ -258,7 +260,12 @@ class CmdScan(interfaces.plugins.PluginInterface): f"reading {command_history} encountered exception {e}" ) - yield conhost_proc, command_history, command_history_properties + if command_history and command_history_properties: + found_history_for_proc = True + yield conhost_proc, command_history, command_history_properties + + if not found_history_for_proc: + yield conhost_proc, command_history or None, [] def _generator( self, procs: Generator[interfaces.objects.ObjectInterface, None, None] @@ -276,19 +283,18 @@ class CmdScan(interfaces.plugins.PluginInterface): no_registry = self.config.get("no_registry") if no_registry is False: - max_history, _max_buffers = ( - consoles.Consoles.get_console_settings_from_registry( - self.context, - self.config_path, - kernel.layer_name, - kernel.symbol_table_name, - max_history, - [], - ) + max_history, _ = consoles.Consoles.get_console_settings_from_registry( + self.context, + self.config_path, + kernel.layer_name, + kernel.symbol_table_name, + max_history, + [], ) vollog.debug(f"Possible CommandHistorySize values: {max_history}") + proc = None for ( proc, command_history, @@ -302,13 +308,14 @@ class CmdScan(interfaces.plugins.PluginInterface): max_history, ): process_name = utility.array_to_string(proc.ImageFileName) + process_pid = proc.UniqueProcessId if command_history and command_history_properties: for command_history_property in command_history_properties: yield ( command_history_property["level"], ( - proc.UniqueProcessId, + process_pid, process_name, format_hints.Hex(command_history.vol.offset), command_history_property["name"], @@ -322,6 +329,25 @@ class CmdScan(interfaces.plugins.PluginInterface): str(command_history_property["data"]), ), ) + else: + yield ( + 0, + ( + process_pid, + process_name, + ( + format_hints.Hex(command_history.vol.offset) + if command_history + else renderers.NotApplicableValue() + ), + "_COMMAND_HISTORY", + renderers.NotApplicableValue(), + "History Not Found", + ), + ) + + if proc is None: + vollog.warn("No conhost.exe processes found.") def _conhost_proc_filter(self, proc): """ diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index 89f9fcc80..a2eade321 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -17,19 +17,11 @@ from volatility3.framework.layers import scanners from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed -from volatility3.framework.symbols.windows import pdbutil from volatility3.framework.symbols.windows.extensions import pe, consoles -from volatility3.plugins.windows import pslist, vadinfo, info, verinfo +from volatility3.plugins.windows import pslist, info, verinfo from volatility3.plugins.windows.registry import hivelist -try: - import capstone - - has_capstone = True -except ImportError: - has_capstone = False - vollog = logging.getLogger(__name__) @@ -37,6 +29,7 @@ class Consoles(interfaces.plugins.PluginInterface): """Looks for Windows console buffers""" _required_framework_version = (2, 4, 0) + _version = (1, 0, 0) @classmethod def get_requirements(cls): @@ -53,9 +46,6 @@ class Consoles(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="verinfo", component=verinfo.VerInfo, version=(1, 0, 0) ), - requirements.VersionRequirement( - name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) - ), requirements.PluginRequirement( name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) ), @@ -443,6 +433,7 @@ class Consoles(interfaces.plugins.PluginInterface): conhost_symbol_table, proc_layer_name, offset=conhostexe_base ) + found_console_info_for_proc = False # scan for potential _CONSOLE_INFORMATION structures by using the CommandHistorySize for max_history_value in max_history: max_history_bytes = struct.pack("H", max_history_value) @@ -790,7 +781,12 @@ class Consoles(interfaces.plugins.PluginInterface): ) continue - yield conhost_proc, console_info, console_properties + if console_info and console_properties: + found_console_info_for_proc = True + yield conhost_proc, console_info, console_properties + + if not found_console_info_for_proc: + yield conhost_proc, console_info or None, [] @classmethod def get_console_settings_from_registry( @@ -903,8 +899,20 @@ class Consoles(interfaces.plugins.PluginInterface): ), ) else: - vollog.warn( - f"_CONSOLE_INFORMATION not found for {process_name} with pid {process_pid}." + yield ( + 0, + ( + process_pid, + process_name, + ( + format_hints.Hex(console_info.vol.offset) + if console_info + else renderers.NotApplicableValue() + ), + "_CONSOLE_INFORMATION", + renderers.NotApplicableValue(), + "Console Information Not Found", + ), ) if proc is None: From f1200c85b7e6cd3e1752523d478721c288e9d91b Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 27 Sep 2024 16:14:43 -0500 Subject: [PATCH 0712/2186] Windows: PsList type-hint cleanup It's more appropriate to use `Iterator` than `Iterable` as a return type here. Also updates the `Iterator` item type to be `EPROCESS` instead of just `ObjectInterface`. --- volatility3/framework/plugins/windows/pslist.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 8234b210f..3411c618c 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -4,7 +4,7 @@ import datetime import logging -from typing import Callable, Iterable, List, Type +from typing import Callable, Iterator, List, Type, TYPE_CHECKING from volatility3.framework import renderers, interfaces, layers, exceptions, constants from volatility3.framework.configuration import requirements @@ -12,6 +12,7 @@ from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows.extensions import pe +from volatility3.framework.symbols.windows import extensions from volatility3.plugins import timeliner vollog = logging.getLogger(__name__) @@ -197,7 +198,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): filter_func: Callable[ [interfaces.objects.ObjectInterface], bool ] = lambda _: False, - ) -> Iterable[interfaces.objects.ObjectInterface]: + ) -> Iterator["extensions.EPROCESS"]: """Lists all the processes in the primary layer that are in the pid config option. From 4b0ece0fc992c27bea47b951b83219e19d633194 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 27 Sep 2024 16:17:02 -0500 Subject: [PATCH 0713/2186] Windows: psxview module type-hints and cleanup Adds type-hints to methods throughout the psxview module. --- .../framework/plugins/windows/psxview.py | 32 +++++++++++++------ 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 71919c410..18ab3ca2f 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -1,9 +1,13 @@ -import datetime, logging, string +import datetime +import logging +import string +from typing import Dict, Iterable, List from volatility3.framework import constants, exceptions -from volatility3.framework.interfaces import plugins from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints, TreeGrid +from volatility3.framework.interfaces import plugins +from volatility3.framework.renderers import TreeGrid, format_hints +from volatility3.framework.symbols.windows import extensions from volatility3.plugins.windows import ( handles, info, @@ -77,14 +81,16 @@ class PsXView(plugins.PluginInterface): return False return True - def _filter_garbage_procs(self, proc_list): + def _filter_garbage_procs( + self, proc_list: Iterable[extensions.EPROCESS] + ) -> List[extensions.EPROCESS]: return [ p for p in proc_list if p.is_valid() and self._is_valid_proc_name(self._proc_name_to_string(p)) ] - def _translate_offset(self, offset): + def _translate_offset(self, offset: int) -> int: if not self.config["physical-offsets"]: return offset @@ -100,21 +106,25 @@ class PsXView(plugins.PluginInterface): return offset - def _proc_list_to_dict(self, tasks): + def _proc_list_to_dict( + self, tasks: Iterable[extensions.EPROCESS] + ) -> Dict[int, extensions.EPROCESS]: tasks = self._filter_garbage_procs(tasks) return {self._translate_offset(proc.vol.offset): proc for proc in tasks} def _check_pslist(self, tasks): return self._proc_list_to_dict(tasks) - def _check_psscan(self, layer_name, symbol_table): + def _check_psscan( + self, layer_name: str, symbol_table: str + ) -> Dict[int, extensions.EPROCESS]: res = psscan.PsScan.scan_processes( context=self.context, layer_name=layer_name, symbol_table=symbol_table ) return self._proc_list_to_dict(res) - def _check_thrdscan(self): + def _check_thrdscan(self) -> Dict[int, extensions.EPROCESS]: ret = [] for ethread in thrdscan.ThrdScan.scan_threads( @@ -135,8 +145,10 @@ class PsXView(plugins.PluginInterface): return self._proc_list_to_dict(ret) - def _check_csrss_handles(self, tasks, layer_name, symbol_table): - ret = [] + def _check_csrss_handles( + self, tasks: Iterable[extensions.EPROCESS], layer_name: str, symbol_table: str + ) -> Dict[int, extensions.EPROCESS]: + ret: List[extensions.EPROCESS] = [] for p in tasks: name = self._proc_name_to_string(p) From 3ebee83d05ca6d82361b85fa265a8de64bafff44 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 27 Sep 2024 16:18:27 -0500 Subject: [PATCH 0714/2186] Windows: psxview cleanup Replaced this series of statements with a single invocation of the `all` builtin for brevity and conciseness. --- volatility3/framework/plugins/windows/psxview.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 18ab3ca2f..b7a372a40 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -75,11 +75,8 @@ class PsXView(plugins.PluginInterface): "string", max_length=proc.ImageFileName.vol.count, errors="replace" ) - def _is_valid_proc_name(self, str): - for c in str: - if not c in self.valid_proc_name_chars: - return False - return True + def _is_valid_proc_name(self, string: str) -> bool: + return all(c in self.valid_proc_name_chars for c in string) def _filter_garbage_procs( self, proc_list: Iterable[extensions.EPROCESS] From d38a69fd5c4813abe1239783550798ba163c38a2 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 29 Sep 2024 19:49:21 +0100 Subject: [PATCH 0715/2186] Ensure the class for Modules is stored in the configruation --- volatility3/framework/interfaces/context.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index a95f2b464..8b5e816e8 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -191,6 +191,9 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): self._native_layer_name ].build_configuration() + # Modules are constructable, and therefore require a class configuration variable + config["class"] = self.__class__.__module__ + "." + self.__class__.__name__ + for subconfig in subconfigs: for req in subconfigs[subconfig]: config[interfaces.configuration.path_join(subconfig, req)] = subconfigs[ From 49dc89c30cc005ec2a1fed7d697206c7aafc12d2 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 27 Sep 2024 16:19:27 -0500 Subject: [PATCH 0716/2186] Windows: psxview Win10+ fix The current implementation of this plugin does not incorporate the cookie on Win10+ systems, causing it to fail. This commit fixes that issue, and also contributes a performance improvement by extracting the call to `handles_plugin.get_type_map()` from the loop. Also replaces for-loop with list comprehension for clarity. --- .../framework/plugins/windows/pslist.py | 2 +- .../framework/plugins/windows/psxview.py | 71 +++++++++---------- 2 files changed, 35 insertions(+), 38 deletions(-) diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 3411c618c..478cc8b1b 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -4,7 +4,7 @@ import datetime import logging -from typing import Callable, Iterator, List, Type, TYPE_CHECKING +from typing import Callable, Iterator, List, Type from volatility3.framework import renderers, interfaces, layers, exceptions, constants from volatility3.framework.configuration import requirements diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index b7a372a40..a8d185a2c 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -1,6 +1,7 @@ import datetime import logging import string +from itertools import chain from typing import Dict, Iterable, List from volatility3.framework import constants, exceptions @@ -147,30 +148,33 @@ class PsXView(plugins.PluginInterface): ) -> Dict[int, extensions.EPROCESS]: ret: List[extensions.EPROCESS] = [] + handles_plugin = handles.Handles( + context=self.context, config_path=self.config_path + ) + + type_map = handles_plugin.get_type_map(self.context, layer_name, symbol_table) + + cookie = handles_plugin.find_cookie( + context=self.context, + layer_name=layer_name, + symbol_table=symbol_table, + ) + for p in tasks: name = self._proc_name_to_string(p) - if name == "csrss.exe": - try: - if p.has_member("ObjectTable"): - handles_plugin = handles.Handles( - context=self.context, config_path=self.config_path - ) - hndls = list(handles_plugin.handles(p.ObjectTable)) - for h in hndls: - if ( - h.get_object_type( - handles_plugin.get_type_map( - self.context, layer_name, symbol_table - ) - ) - == "Process" - ): - ret.append(h.Body.cast("_EPROCESS")) + if name != "csrss.exe": + continue - except exceptions.InvalidAddressException: - vollog.log( - constants.LOGLEVEL_VVV, "Cannot access eprocess object table" - ) + try: + ret += [ + handle.Body.cast("_EPROCESS") + for handle in handles_plugin.handles(p.ObjectTable) + if handle.get_object_type(type_map, cookie) == "Process" + ] + except exceptions.InvalidAddressException: + vollog.log( + constants.LOGLEVEL_VVV, "Cannot access eprocess object table" + ) return self._proc_list_to_dict(ret) @@ -187,7 +191,7 @@ class PsXView(plugins.PluginInterface): ) # get processes from each source - processes = {} + processes: Dict[str, Dict[int, extensions.EPROCESS]] = {} processes["pslist"] = self._check_pslist(kdbg_list_processes) processes["psscan"] = self._check_psscan(layer_name, symbol_table) @@ -196,27 +200,20 @@ class PsXView(plugins.PluginInterface): kdbg_list_processes, layer_name, symbol_table ) - # print results - - # list of lists of offsets - offsets = [list(processes[source].keys()) for source in processes] - - # flatten to one list - offsets = sum(offsets, []) - - # remove duplicates - offsets = set(offsets) + # Unique set of all offsets from all sources + offsets = set(chain(*(mapping.keys() for mapping in processes.values()))) for offset in offsets: - proc = None + # We know there will be at least one process mapped to each offset + proc: extensions.EPROCESS = next( + mapping[offset] for mapping in processes.values() if offset in mapping + ) in_sources = {src: False for src in processes} - for source in processes: - if offset in processes[source]: + for source, process_mapping in processes.items(): + if offset in process_mapping: in_sources[source] = True - if not proc: - proc = processes[source][offset] pid = proc.UniqueProcessId name = self._proc_name_to_string(proc) From d9dc28d0b5a05db8af852673ebefc5aab8257569 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Sep 2024 12:52:44 -0500 Subject: [PATCH 0717/2186] Windows: fix missing TCP connections This fixes some missing TCP connections in Windows 10 20348 by adding a scan constraint for `TTcb` pool tags. --- volatility3/framework/plugins/windows/netscan.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index 868bd8bcd..66a24da5a 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -76,7 +76,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # ~ vollog.debug("Using pool size constraints: TcpL {}, TcpE {}, UdpA {}".format(tcpl_size, tcpe_size, udpa_size)) - return [ + constraints = [ # TCP listener poolscanner.PoolConstraint( b"TcpL", @@ -100,6 +100,19 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), ] + if symbol_table.startswith("netscan-win10-20348"): + vollog.debug("Adding additional pool constraint for `TTcb` tags") + constraints.append( + poolscanner.PoolConstraint( + b"TTcb", + type_name=symbol_table + constants.BANG + "_TCP_ENDPOINT", + size=(tcpe_size, None), + page_type=poolscanner.PoolType.NONPAGED | poolscanner.PoolType.FREE, + ) + ) + + return constraints + @classmethod def determine_tcpip_version( cls, From 8ad592a490f23b27e6f79e1cbff7b67a7c2f8aba Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Sep 2024 11:00:58 -0500 Subject: [PATCH 0718/2186] Windows: Fixes bad callback validity check This fixes a bug in the callbacks plugin which causes it to miss `IoRegisterShutdownNotification` callbacks on x86b samples. The `header.NameInfo.Name` field was being incorrectly treated as the device type. This fixes the issue by updating the `is_valid` method on the `_SHUTDOWN_PACKET` extension type to take a `type_map` parameter, and updates the method to correctly validate the object type. --- .../framework/plugins/windows/callbacks.py | 8 ++++++-- .../symbols/windows/extensions/callbacks.py | 19 +++++++++++++++---- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index d5eeda1ea..562846def 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -248,8 +248,12 @@ class Callbacks(interfaces.plugins.PluginInterface): context, layer_name, nt_symbol_table, constraints ): try: - if hasattr(mem_object, "is_valid") and not mem_object.is_valid(): - continue + if isinstance(mem_object, callbacks._SHUTDOWN_PACKET): + if not mem_object.is_parseable(type_map): + continue + elif hasattr(mem_object, "is_valid"): + if not mem_object.is_valid(): + continue yield cls._process_scanned_callback(mem_object, type_map) except exceptions.InvalidAddressException: diff --git a/volatility3/framework/symbols/windows/extensions/callbacks.py b/volatility3/framework/symbols/windows/extensions/callbacks.py index f894644db..62e72803e 100644 --- a/volatility3/framework/symbols/windows/extensions/callbacks.py +++ b/volatility3/framework/symbols/windows/extensions/callbacks.py @@ -1,4 +1,5 @@ import logging +from typing import Dict from volatility3.framework import exceptions, objects from volatility3.framework.symbols.windows.extensions import pool @@ -14,7 +15,7 @@ class _SHUTDOWN_PACKET(objects.StructType, pool.ExecutiveObject): It exposes a function which sanity-checks structure members. """ - def is_valid(self) -> bool: + def is_parseable(self, type_map: Dict[int, str]) -> bool: """ Perform some checks. """ @@ -24,6 +25,9 @@ class _SHUTDOWN_PACKET(objects.StructType, pool.ExecutiveObject): and self.Entry.Blink.is_readable() and self.DeviceObject.is_readable() ): + vollog.debug( + f"Callback obj 0x{self.vol.offset:x} invalid due to unreadable structure members" + ) return False device = self.DeviceObject @@ -41,10 +45,17 @@ class _SHUTDOWN_PACKET(objects.StructType, pool.ExecutiveObject): try: header = device.get_object_header() - valid = header.NameInfo.Name == "Device" - return valid + object_type = header.get_object_type(type_map) + is_valid = object_type == "Device" + if not is_valid: + vollog.debug( + f"Callback obj 0x{self.vol.offset:x} invalid due to invalid device type: wanted 'Device', found '{object_type}'" + ) + return is_valid except ValueError: - vollog.debug(f"Could not get NameInfo for object at 0x{self.vol.offset:x}") + vollog.debug( + f"Could not get object type for object at 0x{self.vol.offset:x}" + ) return False From 806f78d3727b41152a2a70d4753f04012a5f8777 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Sep 2024 13:25:30 -0500 Subject: [PATCH 0719/2186] Linux: Sockstat - fix incorrect version bump I erred when I bumped the version as a part of !1271 - The `SockHandlers` class got the major version bump, not `Sockstat`. This reverts the `SockHandlers` version bump and applies it to `Sockstat` instead. --- volatility3/framework/plugins/linux/sockstat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index d3efc78dd..652d039cf 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -438,7 +438,7 @@ class Sockstat(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -449,7 +449,7 @@ class Sockstat(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="SockHandlers", component=SockHandlers, version=(1, 0, 0) + name="SockHandlers", component=SockHandlers, version=(2, 0, 0) ), requirements.PluginRequirement( name="lsof", plugin=lsof.Lsof, version=(1, 1, 0) From db55f23070b16d8c9df40e1ddfda5df8a6ad3282 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Sep 2024 16:55:27 -0500 Subject: [PATCH 0720/2186] Windows: Callbacks - fix breaking API change Moves as much of the `is_parseable` check as possible back into an `is_valid` method to avoid breaking API changes. --- .../symbols/windows/extensions/callbacks.py | 33 ++++++++++++++----- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/callbacks.py b/volatility3/framework/symbols/windows/extensions/callbacks.py index 62e72803e..f54db39f2 100644 --- a/volatility3/framework/symbols/windows/extensions/callbacks.py +++ b/volatility3/framework/symbols/windows/extensions/callbacks.py @@ -15,7 +15,7 @@ class _SHUTDOWN_PACKET(objects.StructType, pool.ExecutiveObject): It exposes a function which sanity-checks structure members. """ - def is_parseable(self, type_map: Dict[int, str]) -> bool: + def is_valid(self) -> bool: """ Perform some checks. """ @@ -30,6 +30,25 @@ class _SHUTDOWN_PACKET(objects.StructType, pool.ExecutiveObject): ) return False + except exceptions.InvalidAddressException: + vollog.debug( + f"callback obj 0x{self.vol.offset:x} invalid due to invalid address access" + ) + return False + + return True + + def is_parseable(self, type_map: Dict[int, str]) -> bool: + """ + Determines whether or not this `_SHUTDOWN_PACKET` callback can be reliably parsed. + Requires a `type_map` that maps NT executive object type indices to string representations. + This type map can be acquired via the `handles.Handles.get_type_map` classmethod. + """ + if not self.is_valid(): + return False + + try: + device = self.DeviceObject if not device or not (device.DriverObject.DriverStart % 0x1000 == 0): vollog.debug( @@ -37,13 +56,6 @@ class _SHUTDOWN_PACKET(objects.StructType, pool.ExecutiveObject): ) return False - except exceptions.InvalidAddressException: - vollog.debug( - f"callback obj 0x{self.vol.offset:x} invalid due to invalid address access" - ) - return False - - try: header = device.get_object_header() object_type = header.get_object_type(type_map) is_valid = object_type == "Device" @@ -52,6 +64,11 @@ class _SHUTDOWN_PACKET(objects.StructType, pool.ExecutiveObject): f"Callback obj 0x{self.vol.offset:x} invalid due to invalid device type: wanted 'Device', found '{object_type}'" ) return is_valid + except exceptions.InvalidAddressException: + vollog.debug( + f"callback obj 0x{self.vol.offset:x} invalid due to invalid address access" + ) + return False except ValueError: vollog.debug( f"Could not get object type for object at 0x{self.vol.offset:x}" From 6cd39c04c14735057c747c933eeccdf364bb7466 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Sep 2024 17:04:17 +1000 Subject: [PATCH 0721/2186] Refactor of module object. Adding function helpers to simplify the control of exceptions and errors and consolidate everything on them. --- .../symbols/linux/extensions/__init__.py | 89 +++++++++---------- 1 file changed, 40 insertions(+), 49 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index fdd34403a..0a879249b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -13,7 +13,6 @@ from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union, from volatility3.framework import constants, exceptions, objects, interfaces, symbols from volatility3.framework.renderers import conversion -from volatility3.framework.configuration import requirements from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS @@ -56,88 +55,80 @@ class module(generic.GenericIntelProcess): self._mod_mem_type = {} return self._mod_mem_type + def _get_mem_type(self, mod_mem_type_name): + module_mem_index = self.mod_mem_type.get(mod_mem_type_name) + if module_mem_index is None: + raise AttributeError(f"Unknown module memory type '{mod_mem_type_name}'") + + if not (0 <= module_mem_index < self.mem.count): + raise AttributeError( + f"Invalid module memory type index '{module_mem_index}'" + ) + + return self.mem[module_mem_index] + + def _get_mem_size(self, mod_mem_type_name): + return self._get_mem_type(mod_mem_type_name).size + + def _get_mem_base(self, mod_mem_type_name): + return self._get_mem_type(mod_mem_type_name).base + def get_module_base(self): if self.has_member("mem"): # kernels 6.4+ - try: - return self.mem[self.mod_mem_type["MOD_TEXT"]].base - except KeyError: - raise AttributeError( - "module -> get_module_base: Unable to get module base. Cannot read base from MOD_TEXT." - ) + return self._get_mem_base("MOD_TEXT") elif self.has_member("core_layout"): return self.core_layout.base elif self.has_member("module_core"): return self.module_core - raise AttributeError("module -> get_module_base: Unable to get module base") + + raise AttributeError("Unable to get module base") def get_init_size(self): if self.has_member("mem"): # kernels 6.4+ - try: - return ( - self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].size - + self.mem[self.mod_mem_type["MOD_INIT_DATA"]].size - + self.mem[self.mod_mem_type["MOD_INIT_RODATA"]].size - ) - except KeyError: - raise AttributeError( - "module -> get_init_size: Unable to determine .init section size of module. Cannot read size of MOD_INIT_TEXT, MOD_INIT_DATA, and MOD_INIT_RODATA" - ) + return ( + self._get_mem_size("MOD_INIT_TEXT") + + self._get_mem_size("MOD_INIT_DATA") + + self._get_mem_size("MOD_INIT_RODATA") + ) elif self.has_member("init_layout"): return self.init_layout.size elif self.has_member("init_size"): return self.init_size - raise AttributeError( - "module -> get_init_size: Unable to determine .init section size of module" - ) + + raise AttributeError("Unable to determine .init section size of module") def get_core_size(self): if self.has_member("mem"): # kernels 6.4+ - try: - return ( - self.mem[self.mod_mem_type["MOD_TEXT"]].size - + self.mem[self.mod_mem_type["MOD_DATA"]].size - + self.mem[self.mod_mem_type["MOD_RODATA"]].size - + self.mem[self.mod_mem_type["MOD_RO_AFTER_INIT"]].size - ) - except KeyError: - raise AttributeError( - "module -> get_core_size: Unable to determine core size of module. Cannot read size of MOD_TEXT, MOD_DATA, MOD_RODATA, and MOD_RO_AFTER_INIT." - ) + return ( + self._get_mem_size("MOD_TEXT") + + self._get_mem_size("MOD_DATA") + + self._get_mem_size("MOD_RODATA") + + self._get_mem_size("MOD_RO_AFTER_INIT") + ) elif self.has_member("core_layout"): return self.core_layout.size elif self.has_member("core_size"): return self.core_size - raise AttributeError( - "module -> get_core_size: Unable to determine core size of module" - ) + + raise AttributeError("Unable to determine core size of module") def get_module_core(self): if self.has_member("mem"): # kernels 6.4+ - try: - return self.mem[self.mod_mem_type["MOD_TEXT"]].base - except KeyError: - raise AttributeError( - "module -> get_module_core: Unable to get module core. Cannot read base from MOD_TEXT." - ) + return self._get_mem_base("MOD_TEXT") elif self.has_member("core_layout"): return self.core_layout.base elif self.has_member("module_core"): return self.module_core - raise AttributeError("module -> get_module_core: Unable to get module core") + raise AttributeError("Unable to get module core") def get_module_init(self): if self.has_member("mem"): # kernels 6.4+ - try: - return self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].base - except KeyError: - raise AttributeError( - "module -> get_module_core: Unable to get module init. Cannot read base from MOD_INIT_TEXT." - ) + return self._get_mem_base("MOD_INIT_TEXT") elif self.has_member("init_layout"): return self.init_layout.base elif self.has_member("module_init"): return self.module_init - raise AttributeError("module -> get_module_init: Unable to get module init") + raise AttributeError("Unable to get module init") def get_name(self): """Get the name of the module as a string""" From ba351f511d9e4427c3376bfa5d312e8253f85d9a Mon Sep 17 00:00:00 2001 From: eve Date: Tue, 1 Oct 2024 06:36:56 +0100 Subject: [PATCH 0722/2186] Linux: Update malfind plugin to use symbols.symbol_table_is_64bit when determining if a 32bit OS is detected in the sample --- volatility3/framework/plugins/linux/malfind.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index cf06ee0cc..18f3dcd56 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -5,7 +5,7 @@ from typing import List import logging from volatility3.framework import constants, interfaces -from volatility3.framework import renderers +from volatility3.framework import renderers, symbols from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints @@ -63,15 +63,9 @@ class Malfind(interfaces.plugins.PluginInterface): def _generator(self, tasks): # determine if we're on a 32 or 64 bit kernel vmlinux = self.context.modules[self.config["kernel"]] - if ( - self.context.symbol_space.get_type( - vmlinux.symbol_table_name + constants.BANG + "pointer" - ).size - == 4 - ): - is_32bit_arch = True - else: - is_32bit_arch = False + is_32bit_arch = not symbols.symbol_table_is_64bit( + self.context, vmlinux.symbol_table_name + ) for task in tasks: process_name = utility.array_to_string(task.comm) From 5dee3aeeee5e6b08481c1e39d2f7cb37a17c086c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 1 Oct 2024 19:30:50 +1000 Subject: [PATCH 0723/2186] Add linux.hidden_modules plugin --- .../framework/plugins/linux/hidden_modules.py | 331 ++++++++++++++++++ .../symbols/linux/extensions/__init__.py | 38 ++ 2 files changed, 369 insertions(+) create mode 100644 volatility3/framework/plugins/linux/hidden_modules.py diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py new file mode 100644 index 000000000..1c2429449 --- /dev/null +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -0,0 +1,331 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import re +import functools +import logging +import contextlib +from typing import List, Iterable +from volatility3.framework import renderers, interfaces, exceptions, objects +from volatility3.framework.constants.architectures import LINUX_ARCHS +from volatility3.framework.renderers import format_hints +from volatility3.framework.configuration import requirements +from volatility3.plugins.linux import lsmod + +vollog = logging.getLogger(__name__) + + +class Hidden_modules(interfaces.plugins.PluginInterface): + """Carves memory to find hidden kernel modules""" + + _required_framework_version = (2, 10, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=LINUX_ARCHS, + ), + requirements.PluginRequirement( + name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + ), + requirements.BooleanRequirement( + name="fast", + description="Fast scan method. Recommended only for kernels 4.2 and above", + optional=True, + default=False, + ), + ] + + def _get_modules_memory_boundaries(self, vmlinux): + if vmlinux.has_symbol("mod_tree"): + mod_tree = vmlinux.object_from_symbol("mod_tree") + modules_addr_min = mod_tree.addr_min + modules_addr_max = mod_tree.addr_max + elif vmlinux.has_symbol("module_addr_min"): + modules_addr_min = vmlinux.object_from_symbol("module_addr_min") + modules_addr_max = vmlinux.object_from_symbol("module_addr_max") + + if isinstance(modules_addr_min, objects.Void): + # Crap ISF! Here's my best-effort workaround + vollog.warning( + "Your ISF symbols are missing type information. You may need to update " + "the ISF using the latest version of dwarf2json" + ) + # See issue #1041. In the Linux kernel these are "unsigned long" + for type_name in ("long unsigned int", "unsigned long"): + if vmlinux.has_type(type_name): + modules_addr_min = modules_addr_min.cast(type_name) + modules_addr_max = modules_addr_max.cast(type_name) + break + else: + raise exceptions.VolatilityException( + "Bad ISF! Please update the ISF using the latest version of dwarf2json" + ) + else: + raise exceptions.VolatilityException( + "Cannot find the module memory allocation area. Unsupported kernel" + ) + + return modules_addr_min, modules_addr_max + + def _get_module_state_live_bytes( + self, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> bytes: + """Retrieve the MODULE_STATE_LIVE value bytes by introspecting its enum type + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + + Returns: + The MODULE_STATE_LIVE value bytes + """ + vmlinux = context.modules[vmlinux_module_name] + module_state_type_template = vmlinux.get_type("module").vol.members["state"][1] + module_state_live_val = module_state_type_template.choices["MODULE_STATE_LIVE"] + data_format = module_state_type_template.base_type.vol.data_format + module_state_live_bytes = objects.convert_value_to_data( + module_state_live_val, int, data_format + ) + return module_state_live_bytes + + def get_hidden_modules_vol2( + self, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + known_module_addresses, + modules_memory_boundaries: tuple, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Enumerate hidden modules using the traditional implementation. + + This is a port of the Volatility2 plugin, with minor code improvements. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + Yields: + module objects + """ + vmlinux = context.modules[vmlinux_module_name] + vmlinux_layer = context.layers[vmlinux.layer_name] + + check_nums = ( + 3000, + 2800, + 2700, + 2500, + 2300, + 2100, + 2000, + 1500, + 1300, + 1200, + 1024, + 512, + 256, + 128, + 96, + 64, + 48, + 32, + 24, + ) + modules_addr_min, modules_addr_max = modules_memory_boundaries + modules_addr_min = modules_addr_min & ~0xFFF + modules_addr_max = (modules_addr_max & ~0xFFF) + vmlinux_layer.page_size + + check_bufs = [] + replace_bufs = [] + minus_size = vmlinux.get_type("pointer").size + null_pointer_bytes = b"\x00" * minus_size + for num in check_nums: + check_bufs.append(b"\x00" * num) + replace_bufs.append((b"\xff" * (num - minus_size)) + null_pointer_bytes) + + all_ffs = b"\xff" * 4096 + scan_list = [] + for page_addr in range( + modules_addr_min, modules_addr_max, vmlinux_layer.page_size + ): + content_fixed = all_ffs + with contextlib.suppress( + exceptions.InvalidAddressException, + exceptions.PagedInvalidAddressException, + ): + content = vmlinux_layer.read(page_addr, vmlinux_layer.page_size) + + all_nulls = all(x == 0 for x in content) + if content and not all_nulls: + content_fixed = content + for check_bytes, replace_bytes in zip(check_bufs, replace_bufs): + content_fixed = content_fixed.replace( + check_bytes, replace_bytes + ) + + scan_list.append(content_fixed) + + scan_buf = b"".join(scan_list) + del scan_list + + module_state_live_bytes = self._get_module_state_live_bytes( + context, vmlinux_module_name + ) + # f'strings cannot be combined with bytes literals + for cur_addr in re.finditer(b"(?=(%s))" % (module_state_live_bytes), scan_buf): + module_addr = modules_addr_min + cur_addr.start() + + if module_addr in known_module_addresses: + continue + + module = vmlinux.object("module", offset=module_addr, absolute=True) + if module and module.is_valid(): + yield module + + @functools.cached_property + def module_address_alignment(self) -> int: + """Obtain the module memory address alignment. This is only used with the fast scan method. + + struct module is aligned to the L1 cache line, which is typically 64 bytes for most + common i386/AMD64/ARM64 configurations. In some cases, it can be 128 bytes, but this + will still work. + + Returns: + The struct module alignment + """ + # FIXME: When dwarf2json/ISF supports type alignments. Read it directly from the type metadata + # The cached_property won't provide any benefits until then + return 64 + + def get_hidden_modules_fast( + self, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + known_module_addresses, + modules_memory_boundaries: tuple, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Enumerate hidden modules by taking advantage of memory address alignment patterns + + This technique is much faster and uses less memory than the traditional scan method + in Volatility2, but it doesn't work with older kernels. + + From kernels 4.2 struct module allocation are aligned to the L1 cache line size. + In i386/amd64/arm64 this is typically 64 bytes. However, this can be changed in + the Linux kernel configuration via CONFIG_X86_L1_CACHE_SHIFT. The alignment can + also be obtained from the DWARF info i.e. DW_AT_alignment<64>, but dwarf2json + doesn't support this feature yet. + In kernels < 4.2, alignment attributes are absent in the struct module, meaning + alignment cannot be guaranteed. Therefore, for older kernels, it's better to use + the traditional scan technique. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + Yields: + module objects + """ + vmlinux = context.modules[vmlinux_module_name] + vmlinux_layer = context.layers[vmlinux.layer_name] + + module_addr_min, module_addr_max = modules_memory_boundaries + + module_state_live_bytes = self._get_module_state_live_bytes( + context, vmlinux_module_name + ) + + for module_addr in range( + module_addr_min, module_addr_max, self.module_address_alignment + ): + if module_addr in known_module_addresses: + continue + + try: + # This is just a pre-filter. Module readability and consistency are verified in module.is_valid() + module_state_bytes = vmlinux_layer.read( + module_addr, len(module_state_live_bytes) + ) + if module_state_bytes != module_state_live_bytes: + continue + except ( + exceptions.PagedInvalidAddressException, + exceptions.InvalidAddressException, + ): + continue + + module = vmlinux.object("module", offset=module_addr, absolute=True) + if module and module.is_valid(): + yield module + + def _validate_alignment_patterns(self, addresses: Iterable[int]) -> bool: + """Check if the memory addresses meet our alignments patterns + + Args: + addresses: Iterable with the address values + + Returns: + True if all the addresses meet the alignment + """ + return all(addr % self.module_address_alignment == 0 for addr in addresses) + + def get_hidden_modules( + self, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Enumerate hidden modules + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + Yields: + module objects + """ + vmlinux = context.modules[vmlinux_module_name] + vmlinux_layer = context.layers[vmlinux.layer_name] + + known_module_addresses = { + vmlinux_layer.canonicalize(module.vol.offset) + for module in lsmod.Lsmod.list_modules(context, vmlinux_module_name) + } + + modules_memory_boundaries = self._get_modules_memory_boundaries(vmlinux) + + if self.config.get("fast"): + if self._validate_alignment_patterns(known_module_addresses): + scan_method = self.get_hidden_modules_fast + else: + vollog.warning( + f"Module addresses aren't aligned to {self.module_address_alignment} bytes. " + "Switching to the traditional scan method." + ) + scan_method = self.get_hidden_modules_vol2 + else: + scan_method = self.get_hidden_modules_vol2 + + yield from scan_method( + context, + vmlinux_module_name, + known_module_addresses, + modules_memory_boundaries, + ) + + def _generator(self): + vmlinux_module_name = self.config["kernel"] + for module in self.get_hidden_modules(self.context, vmlinux_module_name): + module_addr = module.vol.offset + module_name = module.get_name() or renderers.NotAvailableValue() + fields = (format_hints.Hex(module_addr), module_name) + yield (0, fields) + + def run(self): + headers = [ + ("Address", format_hints.Hex), + ("Name", str), + ] + return renderers.TreeGrid(headers, self._generator()) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0a879249b..b30634ca3 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -35,6 +35,34 @@ class module(generic.GenericIntelProcess): super().__init__(*args, **kwargs) self._mod_mem_type = None # Initialize _mod_mem_type to None for memoization + def is_valid(self): + layer = self._context.layers[self.vol.layer_name] + # Make sure the entire module content is readable + if not layer.is_valid(self.vol.offset, self.vol.size): + return False + + if not self.state.is_valid_choice: + return False + + core_size = self.get_core_size() + if not ( + 1 <= core_size <= 20000000 + and core_size + self.get_init_size() >= 4096 + and 1 <= self.get_core_text_size() <= 20000000 + ): + return False + + if self.has_member("mkobj") and self.mkobj.has_member("mod"): + if not ( + self.mkobj + and self.mkobj.mod + and self.mkobj.mod.is_readable() + and self.mkobj.mod == self.vol.offset + ): + return False + + return True + @property def mod_mem_type(self): """Return the mod_mem_type enum choices if available or an empty dict if not""" @@ -112,6 +140,16 @@ class module(generic.GenericIntelProcess): raise AttributeError("Unable to determine core size of module") + def get_core_text_size(self): + if self.has_member("mem"): # kernels 6.4+ + return self._get_mem_size("MOD_TEXT") + elif self.has_member("core_layout"): + return self.core_layout.text_size + elif self.has_member("core_text_size"): + return self.core_text_size + + raise AttributeError("Unable to determine core text size of module") + def get_module_core(self): if self.has_member("mem"): # kernels 6.4+ return self._get_mem_base("MOD_TEXT") From c0672f6c4b2769138da961f2d7c17f5c688b81ac Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Sep 2024 16:22:26 -0500 Subject: [PATCH 0724/2186] Linux: Sockstat - adds pytest This adds a pytest for the `linux.sockstat.Sockstat` plugin. --- test/test_volatility.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/test_volatility.py b/test/test_volatility.py index 6e54aa053..847be88d9 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -341,6 +341,17 @@ def test_linux_tty_check(image, volatility, python): assert out.count(b"\n") >= 5 assert rc == 0 +def test_linux_sockstat(image, volatility, python): + rc, out, err = runvol_plugin("linux.sockstat.Sockstat", image, volatility, python) + + assert out.count(b"AF_UNIX") >= 354 + assert out.count(b"AF_BLUETOOTH") >= 5 + assert out.count(b"AF_INET") >= 32 + assert out.count(b"AF_INET6") >= 20 + assert out.count(b"AF_PACKET") >= 1 + assert out.count(b"AF_NETLINK") >= 43 + assert rc == 0 + def test_linux_library_list(image, volatility, python): rc, out, err = runvol_plugin( From ece2dbe9a77947d31eaaf7da7cbb1a6cea5f330d Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Tue, 1 Oct 2024 13:00:15 -0500 Subject: [PATCH 0725/2186] #816 formatting fixes --- .../framework/plugins/windows/consoles.py | 4 ++-- .../symbols/windows/extensions/consoles.py | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index a2eade321..dfc14f2d6 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -168,7 +168,7 @@ class Consoles(interfaces.plugins.PluginInterface): raise NotImplementedError( "Kernel Debug Structure version format not supported!" ) - except: + except Exception: # unsure what to raise here. Also, it might be useful to add some kind of fallback, # either to a user-provided version or to another method to determine conhost.exe's version raise exceptions.VolatilityException( @@ -834,7 +834,7 @@ class Consoles(interfaces.plugins.PluginInterface): max_history.add(value.decode_data()) elif val_name == "NumberOfHistoryBuffers": max_buffers.add(value.decode_data()) - except: + except Exception: continue return max_history, max_buffers diff --git a/volatility3/framework/symbols/windows/extensions/consoles.py b/volatility3/framework/symbols/windows/extensions/consoles.py index 555197fc4..390b6858d 100644 --- a/volatility3/framework/symbols/windows/extensions/consoles.py +++ b/volatility3/framework/symbols/windows/extensions/consoles.py @@ -95,6 +95,8 @@ class ALIAS(objects.StructType): "string", encoding="utf-16", errors="replace", max_length=512 ) + return None + def get_target(self): if self.Target.Length < 8: return self.Target.Chars.cast( @@ -108,6 +110,8 @@ class ALIAS(objects.StructType): "string", encoding="utf-16", errors="replace", max_length=512 ) + return None + class EXE_ALIAS_LIST(objects.StructType): """An Exe Alias List Structure""" @@ -131,6 +135,8 @@ class EXE_ALIAS_LIST(objects.StructType): "string", encoding="utf-16", errors="replace", max_length=512 ) + return None + def get_aliases(self): """Generator for the individual aliases for a particular executable.""" @@ -211,7 +217,7 @@ class SCREEN_INFORMATION(objects.StructType): try: text = row.get_text(truncate_lines) rows.append(text) - except: + except Exception: break if truncate_rows: @@ -301,7 +307,7 @@ class CONSOLE_INFORMATION(objects.StructType): return self.Title.dereference().cast( "string", encoding="utf-16", errors="replace", max_length=512 ) - except: + except Exception: return "" def get_original_title(self): @@ -309,7 +315,7 @@ class CONSOLE_INFORMATION(objects.StructType): return self.OriginalTitle.dereference().cast( "string", encoding="utf-16", errors="replace", max_length=512 ) - except: + except Exception: return "" @@ -340,6 +346,8 @@ class COMMAND(objects.StructType): "string", encoding="utf-16", errors="replace", max_length=512 ) + return None + class COMMAND_HISTORY(objects.StructType): """A Command History Structure.""" @@ -387,6 +395,8 @@ class COMMAND_HISTORY(objects.StructType): "string", encoding="utf-16", errors="replace", max_length=512 ) + return None + def scan_command_bucket(self, end=None): """Brute force print all strings pointed to by the CommandBucket entries by going to greater of EndCapacity or CommandCountMax*sizeof(_COMMAND)""" From 950ab3e201e0f31efeb496276e1d30169b091a2b Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 1 Oct 2024 19:47:09 +0100 Subject: [PATCH 0726/2186] Add in additional microarchitectures for vmscan --- .../generic/vmcs/nehalem-architecture.json | 131 ++++++++++++++++++ .../vmcs/sandybridge-architecture.json | 131 ++++++++++++++++++ .../generic/vmcs/westmere-architecture.json | 131 ++++++++++++++++++ 3 files changed, 393 insertions(+) create mode 100644 volatility3/symbols/generic/vmcs/nehalem-architecture.json create mode 100644 volatility3/symbols/generic/vmcs/sandybridge-architecture.json create mode 100644 volatility3/symbols/generic/vmcs/westmere-architecture.json diff --git a/volatility3/symbols/generic/vmcs/nehalem-architecture.json b/volatility3/symbols/generic/vmcs/nehalem-architecture.json new file mode 100644 index 000000000..ae0ab2863 --- /dev/null +++ b/volatility3/symbols/generic/vmcs/nehalem-architecture.json @@ -0,0 +1,131 @@ +{ + "base_types": { + "pointer": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 8 + }, + "unsigned char": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 1 + }, + "unsigned long": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 4 + }, + "unsigned long long": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 8 + }, + "unsigned short": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 2 + } + }, + "enums": {}, + "metadata": { + "format": "6.1.0", + "producer": { + "datetime": "2021-07-31T17:37:28.302702", + "name": "vmextract-by-hand", + "version": "0.0.1" + } + }, + "symbols": { + "revision_id": { + "address": 0, + "constant_data": "MTQ=" + } + }, + "user_types": { + "_VMCS": { + "fields": { + "ept": { + "offset": 232, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "executive_vmcs_ptr": { + "offset": 208, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_cr3": { + "offset": 736, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_cr4": { + "offset": 744, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_pdpte": { + "offset": 928, + "type": { + "count": 4, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "unsigned long long" + } + } + }, + "guest_physical_addr": { + "offset": 240, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "host_cr3": { + "offset": 832, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "host_cr4": { + "offset": 840, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "vmcs_link_ptr": { + "offset": 248, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "vpid": { + "offset": 752, + "type": { + "kind": "struct", + "name": "unsigned short" + } + } + }, + "kind": "struct", + "size": 4096 + } + } +} \ No newline at end of file diff --git a/volatility3/symbols/generic/vmcs/sandybridge-architecture.json b/volatility3/symbols/generic/vmcs/sandybridge-architecture.json new file mode 100644 index 000000000..b2b3cfebf --- /dev/null +++ b/volatility3/symbols/generic/vmcs/sandybridge-architecture.json @@ -0,0 +1,131 @@ +{ + "base_types": { + "pointer": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 8 + }, + "unsigned char": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 1 + }, + "unsigned long": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 4 + }, + "unsigned long long": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 8 + }, + "unsigned short": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 2 + } + }, + "enums": {}, + "metadata": { + "format": "6.1.0", + "producer": { + "datetime": "2021-07-31T17:37:28.311608", + "name": "vmextract-by-hand", + "version": "0.0.1" + } + }, + "symbols": { + "revision_id": { + "address": 0, + "constant_data": "MTY=" + } + }, + "user_types": { + "_VMCS": { + "fields": { + "ept": { + "offset": 232, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "executive_vmcs_ptr": { + "offset": 208, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_cr3": { + "offset": 736, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_cr4": { + "offset": 744, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_pdpte": { + "offset": 928, + "type": { + "count": 4, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "unsigned long long" + } + } + }, + "guest_physical_addr": { + "offset": 240, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "host_cr3": { + "offset": 832, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "host_cr4": { + "offset": 840, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "vmcs_link_ptr": { + "offset": 248, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "vpid": { + "offset": 752, + "type": { + "kind": "struct", + "name": "unsigned short" + } + } + }, + "kind": "struct", + "size": 4096 + } + } +} \ No newline at end of file diff --git a/volatility3/symbols/generic/vmcs/westmere-architecture.json b/volatility3/symbols/generic/vmcs/westmere-architecture.json new file mode 100644 index 000000000..2769f7081 --- /dev/null +++ b/volatility3/symbols/generic/vmcs/westmere-architecture.json @@ -0,0 +1,131 @@ +{ + "base_types": { + "pointer": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 8 + }, + "unsigned char": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 1 + }, + "unsigned long": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 4 + }, + "unsigned long long": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 8 + }, + "unsigned short": { + "endian": "little", + "kind": "int", + "signed": false, + "size": 2 + } + }, + "enums": {}, + "metadata": { + "format": "6.1.0", + "producer": { + "datetime": "2021-07-31T17:37:28.314801", + "name": "vmextract-by-hand", + "version": "0.0.1" + } + }, + "symbols": { + "revision_id": { + "address": 0, + "constant_data": "MTU=" + } + }, + "user_types": { + "_VMCS": { + "fields": { + "ept": { + "offset": 320, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "executive_vmcs_ptr": { + "offset": 208, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_cr3": { + "offset": 736, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_cr4": { + "offset": 744, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "guest_pdpte": { + "offset": 928, + "type": { + "count": 4, + "kind": "array", + "subtype": { + "kind": "struct", + "name": "unsigned long long" + } + } + }, + "guest_physical_addr": { + "offset": 328, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "host_cr3": { + "offset": 832, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "host_cr4": { + "offset": 840, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "vmcs_link_ptr": { + "offset": 248, + "type": { + "kind": "struct", + "name": "unsigned long long" + } + }, + "vpid": { + "offset": 220, + "type": { + "kind": "struct", + "name": "unsigned short" + } + } + }, + "kind": "struct", + "size": 4096 + } + } +} \ No newline at end of file From d5e6e7c203f4e17390f0891fa4b70138d1fb97a5 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 2 Oct 2024 09:43:27 +1000 Subject: [PATCH 0727/2186] Allow any module state value in both traditional and fast scan methods --- .../framework/plugins/linux/hidden_modules.py | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 1c2429449..6d04c08af 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -73,28 +73,29 @@ class Hidden_modules(interfaces.plugins.PluginInterface): return modules_addr_min, modules_addr_max - def _get_module_state_live_bytes( + def _get_module_state_values_bytes( self, context: interfaces.context.ContextInterface, vmlinux_module_name: str, - ) -> bytes: - """Retrieve the MODULE_STATE_LIVE value bytes by introspecting its enum type + ) -> List[bytes]: + """Retrieve the module state values bytes by introspecting its enum type Args: context: The context to retrieve required elements (layers, symbol tables) from vmlinux_module_name: The name of the kernel module on which to operate Returns: - The MODULE_STATE_LIVE value bytes + A list with the module state values bytes """ vmlinux = context.modules[vmlinux_module_name] module_state_type_template = vmlinux.get_type("module").vol.members["state"][1] - module_state_live_val = module_state_type_template.choices["MODULE_STATE_LIVE"] data_format = module_state_type_template.base_type.vol.data_format - module_state_live_bytes = objects.convert_value_to_data( - module_state_live_val, int, data_format - ) - return module_state_live_bytes + values = module_state_type_template.choices.values() + values_bytes = [ + objects.convert_value_to_data(value, int, data_format) + for value in sorted(values) + ] + return values_bytes def get_hidden_modules_vol2( self, @@ -174,11 +175,12 @@ class Hidden_modules(interfaces.plugins.PluginInterface): scan_buf = b"".join(scan_list) del scan_list - module_state_live_bytes = self._get_module_state_live_bytes( + module_state_values_bytes = self._get_module_state_values_bytes( context, vmlinux_module_name ) + values_bytes_pattern = b"|".join(module_state_values_bytes) # f'strings cannot be combined with bytes literals - for cur_addr in re.finditer(b"(?=(%s))" % (module_state_live_bytes), scan_buf): + for cur_addr in re.finditer(b"(?=(%s))" % values_bytes_pattern, scan_buf): module_addr = modules_addr_min + cur_addr.start() if module_addr in known_module_addresses: @@ -235,7 +237,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): module_addr_min, module_addr_max = modules_memory_boundaries - module_state_live_bytes = self._get_module_state_live_bytes( + module_state_values_bytes = self._get_module_state_values_bytes( context, vmlinux_module_name ) @@ -248,9 +250,9 @@ class Hidden_modules(interfaces.plugins.PluginInterface): try: # This is just a pre-filter. Module readability and consistency are verified in module.is_valid() module_state_bytes = vmlinux_layer.read( - module_addr, len(module_state_live_bytes) + module_addr, len(module_state_values_bytes[0]) ) - if module_state_bytes != module_state_live_bytes: + if module_state_bytes not in module_state_values_bytes: continue except ( exceptions.PagedInvalidAddressException, From c18818aa8d953f188e09dce7d5457488dbb6c4dc Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 2 Oct 2024 10:38:01 +1000 Subject: [PATCH 0728/2186] Fix misuse of all() and any() functions across the codebase --- volatility3/cli/text_filter.py | 4 +-- volatility3/cli/volshell/generic.py | 2 +- volatility3/framework/automagic/pdbscan.py | 6 ++-- .../framework/configuration/requirements.py | 28 ++++++++----------- volatility3/framework/interfaces/objects.py | 2 +- volatility3/framework/layers/intel.py | 6 ++-- volatility3/framework/layers/registry.py | 6 ++-- volatility3/framework/layers/segmented.py | 6 ++-- volatility3/framework/objects/__init__.py | 6 ++-- .../framework/plugins/linux/check_afinfo.py | 4 +-- volatility3/framework/plugins/timeliner.py | 8 ++---- volatility3/framework/symbols/metadata.py | 4 +-- 12 files changed, 31 insertions(+), 51 deletions(-) diff --git a/volatility3/cli/text_filter.py b/volatility3/cli/text_filter.py index 948e969df..3d69934e9 100644 --- a/volatility3/cli/text_filter.py +++ b/volatility3/cli/text_filter.py @@ -53,7 +53,7 @@ class CLIFilter: """Filters the row based on each of the column_filters""" if not self._filters: return False - found = any([column_filter.found(row) for column_filter in self._filters]) + found = any(column_filter.found(row) for column_filter in self._filters) return not found @@ -86,7 +86,7 @@ class ColumnFilter: otherwise it is filtered. """ if self.column_num is None: - found = any([self.find(x) for x in row]) + found = any(self.find(x) for x in row) else: found = self.find(row[self.column_num]) if self.exclude: diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index b95129d19..c5eac36e2 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -529,7 +529,7 @@ class Volshell(interfaces.plugins.PluginInterface): val, interfaces.configuration.BasicTypes ) and not isinstance(val, list): if not isinstance(val, list) or all( - [isinstance(x, interfaces.configuration.BasicTypes) for x in val] + isinstance(x, interfaces.configuration.BasicTypes) for x in val ): raise TypeError( "Configurable values must be simple types (int, bool, str, bytes)" diff --git a/volatility3/framework/automagic/pdbscan.py b/volatility3/framework/automagic/pdbscan.py index 06b2111b4..7f38a23e1 100644 --- a/volatility3/framework/automagic/pdbscan.py +++ b/volatility3/framework/automagic/pdbscan.py @@ -209,10 +209,8 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): try: kvp = vlayer.mapping(kvo, 0) if any( - [ - (p == kernel["mz_offset"] and layer_name == physical_layer_name) - for (_, _, p, _, layer_name) in kvp - ] + (p == kernel["mz_offset"] and layer_name == physical_layer_name) + for (_, _, p, _, layer_name) in kvp ): return (virtual_layer_name, kvo, kernel) else: diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index dcb7505ea..86e1aac52 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -161,7 +161,7 @@ class ListRequirement(interfaces.configuration.RequirementInterface): "TypeError - Too many values provided to list option.", ) return {config_path: self} - if not all([isinstance(element, self.element_type) for element in value]): + if not all(isinstance(element, self.element_type) for element in value): vollog.log( constants.LOGLEVEL_V, "TypeError - At least one element in the list is not of the correct type.", @@ -181,7 +181,7 @@ class ChoiceRequirement(interfaces.configuration.RequirementInterface): """ super().__init__(*args, **kwargs) if not isinstance(choices, list) or any( - [not isinstance(choice, str) for choice in choices] + not isinstance(choice, str) for choice in choices ): raise TypeError("ChoiceRequirement takes a list of strings as choices") self.choices = choices @@ -410,11 +410,9 @@ class TranslationLayerRequirement( args = {"context": context, "config_path": config_path, "name": name} if any( - [ - subreq.unsatisfied(context, config_path) - for subreq in self.requirements.values() - if not subreq.optional - ] + subreq.unsatisfied(context, config_path) + for subreq in self.requirements.values() + if not subreq.optional ): return None @@ -485,11 +483,9 @@ class SymbolTableRequirement( args = {"context": context, "config_path": config_path, "name": name} if any( - [ - subreq.unsatisfied(context, config_path) - for subreq in self.requirements.values() - if not subreq.optional - ] + subreq.unsatisfied(context, config_path) + for subreq in self.requirements.values() + if not subreq.optional ): return None @@ -710,11 +706,9 @@ class ModuleRequirement( args = {"context": context, "config_path": config_path, "name": name} if any( - [ - subreq.unsatisfied(context, config_path) - for subreq in self.requirements.values() - if not subreq.optional - ] + subreq.unsatisfied(context, config_path) + for subreq in self.requirements.values() + if not subreq.optional ): return None diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index ab568b927..51d25510d 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -216,7 +216,7 @@ class ObjectInterface(metaclass=abc.ABCMeta): Args: member_names: List of names to test as to members with those names validity """ - return all([self.has_valid_member(member_name) for member_name in member_names]) + return all(self.has_valid_member(member_name) for member_name in member_names) class VolTemplateProxy(metaclass=abc.ABCMeta): """A container for proxied methods that the ObjectTemplate of this diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index b969b952b..2b0df5372 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -270,10 +270,8 @@ class Intel(linear.LinearlyMappedLayer): try: # TODO: Consider reimplementing this, since calls to mapping can call is_valid return all( - [ - self._context.layers[layer].is_valid(mapped_offset) - for _, _, mapped_offset, _, layer in self.mapping(offset, length) - ] + self._context.layers[layer].is_valid(mapped_offset) + for _, _, mapped_offset, _, layer in self.mapping(offset, length) ) except exceptions.InvalidAddressException: return False diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index 9841d2bb0..471d19f68 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -318,10 +318,8 @@ class RegistryHive(linear.LinearlyMappedLayer): with contextlib.suppress(exceptions.InvalidAddressException): # Pass this to the lower layers for now return all( - [ - self.context.layers[layer].is_valid(offset, length) - for (_, _, offset, length, layer) in self.mapping(offset, length) - ] + self.context.layers[layer].is_valid(offset, length) + for (_, _, offset, length, layer) in self.mapping(offset, length) ) return False diff --git a/volatility3/framework/layers/segmented.py b/volatility3/framework/layers/segmented.py index e8c067072..9825ae15c 100644 --- a/volatility3/framework/layers/segmented.py +++ b/volatility3/framework/layers/segmented.py @@ -51,10 +51,8 @@ class NonLinearlySegmentedLayer( try: base_layer = self._context.layers[self._base_layer] return all( - [ - base_layer.is_valid(mapped_offset) - for _i, _i, mapped_offset, _i, _s in self.mapping(offset, length) - ] + base_layer.is_valid(mapped_offset) + for _i, _i, mapped_offset, _i, _s in self.mapping(offset, length) ) except exceptions.InvalidAddressException: return False diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index 316a30bec..b65277067 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -928,10 +928,8 @@ class AggregateType(interfaces.objects.ObjectInterface): members, collections.abc.Mapping ), f"{agg_name} members parameter must be a mapping: {type(members)}" assert all( - [ - (isinstance(member, tuple) and len(member) == 2) - for member in members.values() - ] + (isinstance(member, tuple) and len(member) == 2) + for member in members.values() ), f"{agg_name} members must be a tuple of relative_offsets and templates" def member(self, attr: str = "member") -> object: diff --git a/volatility3/framework/plugins/linux/check_afinfo.py b/volatility3/framework/plugins/linux/check_afinfo.py index 7fced6acd..201a443f7 100644 --- a/volatility3/framework/plugins/linux/check_afinfo.py +++ b/volatility3/framework/plugins/linux/check_afinfo.py @@ -53,9 +53,7 @@ class Check_afinfo(plugins.PluginInterface): def _check_afinfo(self, var_name, var, op_members, seq_members): # check if object has a least one of the members used for analysis by this function required_members = ["seq_fops", "seq_ops", "seq_show"] - has_required_member = any( - [var.has_member(member) for member in required_members] - ) + has_required_member = any(var.has_member(member) for member in required_members) if not has_required_member: vollog.debug( f"{var_name} object at {hex(var.vol.offset)} had none of the required members: {', '.join([member for member in required_members])}" diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index d1cb9f460..c754e43ef 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -66,7 +66,7 @@ class Timeliner(interfaces.plugins.PluginInterface): if selected_list: def filter_plugins(name: str, selected: List[str]) -> bool: - return any([s in name for s in selected]) + return any(s in name for s in selected) filter_func = filter_plugins else: @@ -252,10 +252,8 @@ class Timeliner(interfaces.plugins.PluginInterface): continue if filter_list and not any( - [ - filter in plugin_class.__module__ + "." + plugin_class.__name__ - for filter in filter_list - ] + filter in plugin_class.__module__ + "." + plugin_class.__name__ + for filter in filter_list ): continue diff --git a/volatility3/framework/symbols/metadata.py b/volatility3/framework/symbols/metadata.py index 149829371..95f542f07 100644 --- a/volatility3/framework/symbols/metadata.py +++ b/volatility3/framework/symbols/metadata.py @@ -24,8 +24,8 @@ class ProducerMetadata(interfaces.symbols.MetadataInterface): version = self._json_data.get("version", None) if not version: return None - if all([x in "0123456789." for x in version]): - return tuple([int(x) for x in version.split(".")]) + if all(x in "0123456789." for x in version): + return tuple(int(x) for x in version.split(".")) vollog.log( constants.LOGLEVEL_VVVV, f"Metadata version contains unexpected characters: '{version}'", From a63e9f1699e4042d1372c0873b05f207e2a8a8d4 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 2 Oct 2024 13:00:45 +1000 Subject: [PATCH 0729/2186] Add --remote-isf-url argument to be able mutually exclusive to --offline --- volatility3/cli/__init__.py | 11 ++++++++++- volatility3/cli/volshell/__init__.py | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 1209d7cdc..674fb4b4b 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -235,12 +235,19 @@ class CommandLine: default=constants.CACHE_PATH, type=str, ) - parser.add_argument( + isf_group = parser.add_mutually_exclusive_group() + isf_group.add_argument( "--offline", help="Do not search online for additional JSON files", default=False, action="store_true", ) + isf_group.add_argument( + "--remote-isf-url", + help="Search online for ISF json files", + default=constants.REMOTE_ISF_URL, + type=str, + ) parser.add_argument( "--filters", help="List of filters to apply to the output (in the form of [+-]columname,pattern[!])", @@ -313,6 +320,8 @@ class CommandLine: if partial_args.offline: constants.OFFLINE = partial_args.offline + elif partial_args.remote_isf_url: + constants.REMOTE_ISF_URL = partial_args.remote_isf_url # Do the initialization ctx = contexts.Context() # Construct a blank context diff --git a/volatility3/cli/volshell/__init__.py b/volatility3/cli/volshell/__init__.py index 2bf1958e2..fc2f87bc2 100644 --- a/volatility3/cli/volshell/__init__.py +++ b/volatility3/cli/volshell/__init__.py @@ -159,12 +159,19 @@ class VolShell(cli.CommandLine): default=constants.CACHE_PATH, type=str, ) - parser.add_argument( + isf_group = parser.add_mutually_exclusive_group() + isf_group.add_argument( "--offline", help="Do not search online for additional JSON files", default=False, action="store_true", ) + isf_group.add_argument( + "--remote-isf-url", + help="Search online for ISF json files", + default=constants.REMOTE_ISF_URL, + type=str, + ) # Volshell specific flags os_specific = parser.add_mutually_exclusive_group(required=False) @@ -236,6 +243,8 @@ class VolShell(cli.CommandLine): if partial_args.offline: constants.OFFLINE = partial_args.offline + elif partial_args.remote_isf_url: + constants.REMOTE_ISF_URL = partial_args.remote_isf_url # Do the initialization ctx = contexts.Context() # Construct a blank context From a64813be43594d5171748c901e1c10e2c2271ed0 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 2 Oct 2024 13:08:05 +1000 Subject: [PATCH 0730/2186] Added metavar and single letter argument to the --remote-isf-url --- volatility3/cli/__init__.py | 2 ++ volatility3/cli/volshell/__init__.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 674fb4b4b..50b5579af 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -243,7 +243,9 @@ class CommandLine: action="store_true", ) isf_group.add_argument( + "-u", "--remote-isf-url", + metavar="URL", help="Search online for ISF json files", default=constants.REMOTE_ISF_URL, type=str, diff --git a/volatility3/cli/volshell/__init__.py b/volatility3/cli/volshell/__init__.py index fc2f87bc2..5172c5363 100644 --- a/volatility3/cli/volshell/__init__.py +++ b/volatility3/cli/volshell/__init__.py @@ -167,7 +167,9 @@ class VolShell(cli.CommandLine): action="store_true", ) isf_group.add_argument( + "-u", "--remote-isf-url", + metavar="URL", help="Search online for ISF json files", default=constants.REMOTE_ISF_URL, type=str, From 57b5aabdfe885dd054ceb7d1cd1227b46f30ac22 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 3 Oct 2024 11:50:03 +1000 Subject: [PATCH 0731/2186] Add linux.ptrace plugin to enumerate tracer and tracee tasks --- .../framework/constants/linux/__init__.py | 39 +++++- volatility3/framework/plugins/linux/ptrace.py | 120 ++++++++++++++++++ 2 files changed, 158 insertions(+), 1 deletion(-) create mode 100644 volatility3/framework/plugins/linux/ptrace.py diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 3eabc2341..0567b8574 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -5,7 +5,7 @@ Linux-specific values that aren't found in debug symbols """ -from enum import IntEnum +from enum import IntEnum, Flag KERNEL_NAME = "__kernel__" @@ -302,3 +302,40 @@ class ELF_CLASS(IntEnum): ELFCLASSNONE = 0 ELFCLASS32 = 1 ELFCLASS64 = 2 + + +PT_OPT_FLAG_SHIFT = 3 + +PTRACE_EVENT_FORK = 1 +PTRACE_EVENT_VFORK = 2 +PTRACE_EVENT_CLONE = 3 +PTRACE_EVENT_EXEC = 4 +PTRACE_EVENT_VFORK_DONE = 5 +PTRACE_EVENT_EXIT = 6 +PTRACE_EVENT_SECCOMP = 7 + +PTRACE_O_EXITKILL = 1 << 20 +PTRACE_O_SUSPEND_SECCOMP = 1 << 21 + + +class PT_FLAGS(Flag): + "PTrace flags" + PT_PTRACED = 0x00001 + PT_SEIZED = 0x10000 + + PT_TRACESYSGOOD = 1 << (PT_OPT_FLAG_SHIFT + 0) + PT_TRACE_FORK = 1 << (PT_OPT_FLAG_SHIFT + PTRACE_EVENT_FORK) + PT_TRACE_VFORK = 1 << (PT_OPT_FLAG_SHIFT + PTRACE_EVENT_VFORK) + PT_TRACE_CLONE = 1 << (PT_OPT_FLAG_SHIFT + PTRACE_EVENT_CLONE) + PT_TRACE_EXEC = 1 << (PT_OPT_FLAG_SHIFT + PTRACE_EVENT_EXEC) + PT_TRACE_VFORK_DONE = 1 << (PT_OPT_FLAG_SHIFT + PTRACE_EVENT_VFORK_DONE) + PT_TRACE_EXIT = 1 << (PT_OPT_FLAG_SHIFT + PTRACE_EVENT_EXIT) + PT_TRACE_SECCOMP = 1 << (PT_OPT_FLAG_SHIFT + PTRACE_EVENT_SECCOMP) + + PT_EXITKILL = PTRACE_O_EXITKILL << PT_OPT_FLAG_SHIFT + PT_SUSPEND_SECCOMP = PTRACE_O_SUSPEND_SECCOMP << PT_OPT_FLAG_SHIFT + + @property + def flags(self) -> str: + """Returns the ptrace flags string""" + return str(self).replace(self.__class__.__name__ + ".", "") diff --git a/volatility3/framework/plugins/linux/ptrace.py b/volatility3/framework/plugins/linux/ptrace.py new file mode 100644 index 000000000..793a1b3a1 --- /dev/null +++ b/volatility3/framework/plugins/linux/ptrace.py @@ -0,0 +1,120 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from typing import List + +from volatility3.framework import renderers, interfaces, constants, objects +from volatility3.framework.constants.linux import PT_FLAGS +from volatility3.framework.constants.architectures import LINUX_ARCHS +from volatility3.framework.objects import utility +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.plugins.linux import pslist + +vollog = logging.getLogger(__name__) + + +class Ptrace(plugins.PluginInterface): + """Enumerates tracer and tracee tasks""" + + _required_framework_version = (2, 10, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=LINUX_ARCHS, + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 2, 1) + ), + ] + + @classmethod + def enumerate_ptraced_tasks( + cls, + context: interfaces.context.ContextInterface, + symbol_table: str, + ): + vmlinux = context.modules[symbol_table] + + tsk_struct_symname = vmlinux.symbol_table_name + constants.BANG + "task_struct" + + tasks = pslist.PsList.list_tasks( + context, + symbol_table, + filter_func=pslist.PsList.create_pid_filter(), + include_threads=True, + ) + + for task in tasks: + tracing_tid_list = [ + int(task_being_traced.pid) + for task_being_traced in task.ptraced.to_list( + tsk_struct_symname, "ptrace_entry" + ) + ] + + if task.ptrace == 0 and not tracing_tid_list: + continue + + flags = ( + PT_FLAGS(task.ptrace).flags + if task.ptrace != 0 + else renderers.NotAvailableValue() + ) + + traced_by_tid = ( + task.parent.pid + if task.real_parent != task.parent + else renderers.NotAvailableValue() + ) + + tracing_tids = ",".join(map(str, tracing_tid_list)) + + yield task.comm, task.tgid, task.pid, traced_by_tid, tracing_tids, flags + + def _generator(self, symbol_table): + for fields in self.enumerate_ptraced_tasks(self.context, symbol_table): + yield (0, fields) + + @staticmethod + def format_fields_with_headers(headers, generator): + """Uses the headers type to cast the fields obtained from the generator""" + for level, fields in generator: + formatted_fields = [] + for header, field in zip(headers, fields): + header_type = header[1] + + if isinstance( + field, (header_type, interfaces.renderers.BaseAbsentValue) + ): + formatted_field = field + elif isinstance(field, objects.Array) and header_type is str: + formatted_field = utility.array_to_string(field) + else: + formatted_field = header_type(field) + + formatted_fields.append(formatted_field) + yield level, formatted_fields + + def run(self): + symbol_table = self.config["kernel"] + + headers = [ + ("Process", str), + ("PID", int), + ("TID", int), + ("Traced by TID", int), + ("Tracing TIDs", str), + ("Flags", str), + ] + return renderers.TreeGrid( + headers, + self.format_fields_with_headers(headers, self._generator(symbol_table)), + ) From 590aa9c19ca56250e87c07ed49dbddc55a22b4a8 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 3 Oct 2024 14:50:39 +1000 Subject: [PATCH 0732/2186] Make it callable from other plugins. Additionally, classmethod helpers were added, and docstrings were enhanced for improved usability and clarity. --- .../framework/plugins/linux/hidden_modules.py | 154 +++++++++++++----- 1 file changed, 116 insertions(+), 38 deletions(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 6d04c08af..4843f3037 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -2,10 +2,9 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import re -import functools import logging import contextlib -from typing import List, Iterable +from typing import List, Set, Tuple, Iterable from volatility3.framework import renderers, interfaces, exceptions, objects from volatility3.framework.constants.architectures import LINUX_ARCHS from volatility3.framework.renderers import format_hints @@ -41,7 +40,21 @@ class Hidden_modules(interfaces.plugins.PluginInterface): ), ] - def _get_modules_memory_boundaries(self, vmlinux): + @staticmethod + def get_modules_memory_boundaries( + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> Tuple[int]: + """Determine the boundaries of the module allocation area + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + + Returns: + A tuple containing the minimum and maximum addresses for the module allocation area. + """ + vmlinux = context.modules[vmlinux_module_name] if vmlinux.has_symbol("mod_tree"): mod_tree = vmlinux.object_from_symbol("mod_tree") modules_addr_min = mod_tree.addr_min @@ -73,8 +86,8 @@ class Hidden_modules(interfaces.plugins.PluginInterface): return modules_addr_min, modules_addr_max + @staticmethod def _get_module_state_values_bytes( - self, context: interfaces.context.ContextInterface, vmlinux_module_name: str, ) -> List[bytes]: @@ -97,12 +110,13 @@ class Hidden_modules(interfaces.plugins.PluginInterface): ] return values_bytes - def get_hidden_modules_vol2( - self, + @classmethod + def _get_hidden_modules_vol2( + cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str, - known_module_addresses, - modules_memory_boundaries: tuple, + known_module_addresses: Set[int], + modules_memory_boundaries: Tuple, ) -> Iterable[interfaces.objects.ObjectInterface]: """Enumerate hidden modules using the traditional implementation. @@ -111,6 +125,9 @@ class Hidden_modules(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from vmlinux_module_name: The name of the kernel module on which to operate + known_module_addresses: Set with known module addresses + modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. + Yields: module objects """ @@ -175,7 +192,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): scan_buf = b"".join(scan_list) del scan_list - module_state_values_bytes = self._get_module_state_values_bytes( + module_state_values_bytes = cls._get_module_state_values_bytes( context, vmlinux_module_name ) values_bytes_pattern = b"|".join(module_state_values_bytes) @@ -190,27 +207,37 @@ class Hidden_modules(interfaces.plugins.PluginInterface): if module and module.is_valid(): yield module - @functools.cached_property - def module_address_alignment(self) -> int: + @classmethod + def _get_module_address_alignment( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> int: """Obtain the module memory address alignment. This is only used with the fast scan method. struct module is aligned to the L1 cache line, which is typically 64 bytes for most common i386/AMD64/ARM64 configurations. In some cases, it can be 128 bytes, but this will still work. + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + Returns: The struct module alignment """ # FIXME: When dwarf2json/ISF supports type alignments. Read it directly from the type metadata - # The cached_property won't provide any benefits until then + # Also, 'context' and 'vmlinux_module_name' are not used yet, but they will be needed to obtain + # the type metadata return 64 - def get_hidden_modules_fast( - self, + @classmethod + def _get_hidden_modules_fast( + cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str, - known_module_addresses, - modules_memory_boundaries: tuple, + known_module_addresses: Set[int], + modules_memory_boundaries: Tuple, ) -> Iterable[interfaces.objects.ObjectInterface]: """Enumerate hidden modules by taking advantage of memory address alignment patterns @@ -229,6 +256,9 @@ class Hidden_modules(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from vmlinux_module_name: The name of the kernel module on which to operate + known_module_addresses: Set with known module addresses + modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. + Yields: module objects """ @@ -237,12 +267,16 @@ class Hidden_modules(interfaces.plugins.PluginInterface): module_addr_min, module_addr_max = modules_memory_boundaries - module_state_values_bytes = self._get_module_state_values_bytes( + module_state_values_bytes = cls._get_module_state_values_bytes( + context, vmlinux_module_name + ) + + module_address_alignment = cls._get_module_address_alignment( context, vmlinux_module_name ) for module_addr in range( - module_addr_min, module_addr_max, self.module_address_alignment + module_addr_min, module_addr_max, module_address_alignment ): if module_addr in known_module_addresses: continue @@ -264,51 +298,59 @@ class Hidden_modules(interfaces.plugins.PluginInterface): if module and module.is_valid(): yield module - def _validate_alignment_patterns(self, addresses: Iterable[int]) -> bool: + @staticmethod + def _validate_alignment_patterns( + addresses: Iterable[int], + address_alignment: int, + ) -> bool: """Check if the memory addresses meet our alignments patterns Args: addresses: Iterable with the address values + address_alignment: Number of bytes for alignment validation Returns: True if all the addresses meet the alignment """ - return all(addr % self.module_address_alignment == 0 for addr in addresses) + return all(addr % address_alignment == 0 for addr in addresses) + @classmethod def get_hidden_modules( - self, + cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str, + known_module_addresses: Set[int], + modules_memory_boundaries: Tuple, + fast_method: bool = False, ) -> Iterable[interfaces.objects.ObjectInterface]: """Enumerate hidden modules Args: context: The context to retrieve required elements (layers, symbol tables) from vmlinux_module_name: The name of the kernel module on which to operate + known_module_addresses: Set with known module addresses + modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. + fast_method: If True, it uses the fast method. Otherwise, it uses the traditional one. + Yields: module objects """ - vmlinux = context.modules[vmlinux_module_name] - vmlinux_layer = context.layers[vmlinux.layer_name] - - known_module_addresses = { - vmlinux_layer.canonicalize(module.vol.offset) - for module in lsmod.Lsmod.list_modules(context, vmlinux_module_name) - } - - modules_memory_boundaries = self._get_modules_memory_boundaries(vmlinux) - - if self.config.get("fast"): - if self._validate_alignment_patterns(known_module_addresses): - scan_method = self.get_hidden_modules_fast + if fast_method: + module_address_alignment = cls._get_module_address_alignment( + context, vmlinux_module_name + ) + if cls._validate_alignment_patterns( + known_module_addresses, module_address_alignment + ): + scan_method = cls._get_hidden_modules_fast else: vollog.warning( - f"Module addresses aren't aligned to {self.module_address_alignment} bytes. " + f"Module addresses aren't aligned to {module_address_alignment} bytes. " "Switching to the traditional scan method." ) - scan_method = self.get_hidden_modules_vol2 + scan_method = cls._get_hidden_modules_vol2 else: - scan_method = self.get_hidden_modules_vol2 + scan_method = cls._get_hidden_modules_vol2 yield from scan_method( context, @@ -317,9 +359,45 @@ class Hidden_modules(interfaces.plugins.PluginInterface): modules_memory_boundaries, ) + @classmethod + def get_lsmod_module_addresses( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> Set[int]: + """Obtain a set the known module addresses from linux.lsmod plugin + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + + Returns: + A set containing known kernel module addresses + """ + vmlinux = context.modules[vmlinux_module_name] + vmlinux_layer = context.layers[vmlinux.layer_name] + + known_module_addresses = { + vmlinux_layer.canonicalize(module.vol.offset) + for module in lsmod.Lsmod.list_modules(context, vmlinux_module_name) + } + return known_module_addresses + def _generator(self): vmlinux_module_name = self.config["kernel"] - for module in self.get_hidden_modules(self.context, vmlinux_module_name): + known_module_addresses = self.get_lsmod_module_addresses( + self.context, vmlinux_module_name + ) + modules_memory_boundaries = self.get_modules_memory_boundaries( + self.context, vmlinux_module_name + ) + for module in self.get_hidden_modules( + self.context, + vmlinux_module_name, + known_module_addresses, + modules_memory_boundaries, + fast_method=self.config.get("fast"), + ): module_addr = module.vol.offset module_name = module.get_name() or renderers.NotAvailableValue() fields = (format_hints.Hex(module_addr), module_name) From 8d925bd8ad6346370d6256ddacced9d0db36b23d Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 3 Oct 2024 15:17:02 +1000 Subject: [PATCH 0733/2186] Added the --heuristic-mode option, which relaxes constraints to improve detection of more advanced threats --- .../framework/plugins/linux/hidden_modules.py | 46 ++++++++++++------- .../symbols/linux/extensions/__init__.py | 4 +- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 4843f3037..1ec43aefd 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -38,6 +38,13 @@ class Hidden_modules(interfaces.plugins.PluginInterface): optional=True, default=False, ), + requirements.BooleanRequirement( + name="heuristic-mode", + description="Relaxed constraints. This may generate some false positives and" + "take a bit longer. This feature is available only when using the --fast option", + optional=True, + default=False, + ), ] @staticmethod @@ -117,6 +124,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): vmlinux_module_name: str, known_module_addresses: Set[int], modules_memory_boundaries: Tuple, + heuristic_mode: bool = False, ) -> Iterable[interfaces.objects.ObjectInterface]: """Enumerate hidden modules using the traditional implementation. @@ -127,6 +135,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): vmlinux_module_name: The name of the kernel module on which to operate known_module_addresses: Set with known module addresses modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. + heuristic_mode: ignored for this scan method. Yields: module objects @@ -227,8 +236,8 @@ class Hidden_modules(interfaces.plugins.PluginInterface): The struct module alignment """ # FIXME: When dwarf2json/ISF supports type alignments. Read it directly from the type metadata - # Also, 'context' and 'vmlinux_module_name' are not used yet, but they will be needed to obtain - # the type metadata + # Additionally, while 'context' and 'vmlinux_module_name' are currently unused, they will be + # essential for retrieving type metadata in the future. return 64 @classmethod @@ -238,6 +247,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): vmlinux_module_name: str, known_module_addresses: Set[int], modules_memory_boundaries: Tuple, + heuristic_mode: bool = False, ) -> Iterable[interfaces.objects.ObjectInterface]: """Enumerate hidden modules by taking advantage of memory address alignment patterns @@ -258,7 +268,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): vmlinux_module_name: The name of the kernel module on which to operate known_module_addresses: Set with known module addresses modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. - + heuristic_mode: If True, it loosens constraints to enhance the detection of advanced threats. Yields: module objects """ @@ -281,21 +291,22 @@ class Hidden_modules(interfaces.plugins.PluginInterface): if module_addr in known_module_addresses: continue - try: - # This is just a pre-filter. Module readability and consistency are verified in module.is_valid() - module_state_bytes = vmlinux_layer.read( - module_addr, len(module_state_values_bytes[0]) - ) - if module_state_bytes not in module_state_values_bytes: + if not heuristic_mode: + try: + # This is just a pre-filter. Module readability and consistency are verified in module.is_valid() + module_state_bytes = vmlinux_layer.read( + module_addr, len(module_state_values_bytes[0]) + ) + if module_state_bytes not in module_state_values_bytes: + continue + except ( + exceptions.PagedInvalidAddressException, + exceptions.InvalidAddressException, + ): continue - except ( - exceptions.PagedInvalidAddressException, - exceptions.InvalidAddressException, - ): - continue module = vmlinux.object("module", offset=module_addr, absolute=True) - if module and module.is_valid(): + if module and module.is_valid(strict_states=not heuristic_mode): yield module @staticmethod @@ -322,6 +333,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): known_module_addresses: Set[int], modules_memory_boundaries: Tuple, fast_method: bool = False, + heuristic_mode: bool = False, ) -> Iterable[interfaces.objects.ObjectInterface]: """Enumerate hidden modules @@ -331,7 +343,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): known_module_addresses: Set with known module addresses modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. fast_method: If True, it uses the fast method. Otherwise, it uses the traditional one. - + heuristic_mode: If True, it loosens constraints to enhance the detection of advanced threats. Yields: module objects """ @@ -357,6 +369,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): vmlinux_module_name, known_module_addresses, modules_memory_boundaries, + heuristic_mode, ) @classmethod @@ -397,6 +410,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): known_module_addresses, modules_memory_boundaries, fast_method=self.config.get("fast"), + heuristic_mode=self.config.get("heuristic-mode"), ): module_addr = module.vol.offset module_name = module.get_name() or renderers.NotAvailableValue() diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index b30634ca3..810df41f8 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -35,13 +35,13 @@ class module(generic.GenericIntelProcess): super().__init__(*args, **kwargs) self._mod_mem_type = None # Initialize _mod_mem_type to None for memoization - def is_valid(self): + def is_valid(self, strict_states=True): layer = self._context.layers[self.vol.layer_name] # Make sure the entire module content is readable if not layer.is_valid(self.vol.offset, self.vol.size): return False - if not self.state.is_valid_choice: + if strict_states and not self.state.is_valid_choice: return False core_size = self.get_core_size() From e8754fadbd93864ea2623e7df10bb33265db5073 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 3 Oct 2024 15:50:30 +1000 Subject: [PATCH 0734/2186] Fix typo in usage help --- volatility3/framework/plugins/linux/hidden_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 1ec43aefd..86a4c3626 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -40,7 +40,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): ), requirements.BooleanRequirement( name="heuristic-mode", - description="Relaxed constraints. This may generate some false positives and" + description="Relaxed constraints. This may generate false positives and " "take a bit longer. This feature is available only when using the --fast option", optional=True, default=False, From 4ac9b0825a6a6b7548dfcb36cc2681c9b4753f3c Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Oct 2024 10:49:38 -0500 Subject: [PATCH 0735/2186] Linux: Properly get paths in simple_dname paths Some dentry paths were not being recovered from `simple_dname` paths, this fixes the issue by properly dereferencing the string pointer. --- volatility3/framework/symbols/linux/__init__.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 2410d2627..1aceade24 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -206,7 +206,14 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): pre_name = "pipe" elif sym == "simple_dname": - pre_name = cls._get_path_file(task, filp) + name = dentry.d_name.name + if name: + pre_name = name.dereference().cast( + "string", max_length=255, errors="replace" + ) + return "/" + pre_name + " (deleted)" + else: + pre_name = "" elif sym == "ns_dname": # From Kernels 3.19 From e605bee4119e5c7da857ce9576520c36a7eb4b19 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 6 Sep 2024 14:07:24 -0500 Subject: [PATCH 0736/2186] Windows: unloadedmodules bugfix This fixes a bug in the `windows.unloadedmodules` plugin. An `InvalidAddressException` can be raised when parsing the module name; this adds a try/except block to replace the missing module name with a `renderers.UnreadableValue` when the exception occurs. --- volatility3/framework/plugins/windows/unloadedmodules.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/unloadedmodules.py b/volatility3/framework/plugins/windows/unloadedmodules.py index 0d88e96ff..01e575818 100644 --- a/volatility3/framework/plugins/windows/unloadedmodules.py +++ b/volatility3/framework/plugins/windows/unloadedmodules.py @@ -7,7 +7,7 @@ import datetime from typing import List, Iterable from volatility3.framework import constants -from volatility3.framework import interfaces, symbols +from volatility3.framework import interfaces, symbols, exceptions from volatility3.framework import renderers from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import configuration @@ -132,10 +132,15 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt kernel.symbol_table_name, unloadedmodule_table_name, ): + try: + name = mod.Name.String + except exceptions.InvalidAddressException: + name = renderers.UnreadableValue() + yield ( 0, ( - mod.Name.String, + name, format_hints.Hex(mod.StartAddress), format_hints.Hex(mod.EndAddress), conversion.wintime_to_datetime(mod.CurrentTime), From b5948d7ec0e9bb6dcc193f8c74b40bdb498ac3a8 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 4 Oct 2024 07:48:25 +1000 Subject: [PATCH 0737/2186] Linux: hidden_modules: Add @Abyss-W4tcher suggestion to optimize the fast scan method for even better performance, using the mkobj.mod self referential validation used in module.is_valid() as pre-filter Removed the --heuristic-mode and the module.states validation, since the self referential check is enough by itself --- .../framework/plugins/linux/hidden_modules.py | 53 ++++++++----------- .../symbols/linux/extensions/__init__.py | 20 +++---- 2 files changed, 30 insertions(+), 43 deletions(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 86a4c3626..a76d1c69d 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -38,13 +38,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): optional=True, default=False, ), - requirements.BooleanRequirement( - name="heuristic-mode", - description="Relaxed constraints. This may generate false positives and " - "take a bit longer. This feature is available only when using the --fast option", - optional=True, - default=False, - ), ] @staticmethod @@ -124,7 +117,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): vmlinux_module_name: str, known_module_addresses: Set[int], modules_memory_boundaries: Tuple, - heuristic_mode: bool = False, ) -> Iterable[interfaces.objects.ObjectInterface]: """Enumerate hidden modules using the traditional implementation. @@ -135,7 +127,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): vmlinux_module_name: The name of the kernel module on which to operate known_module_addresses: Set with known module addresses modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. - heuristic_mode: ignored for this scan method. Yields: module objects @@ -247,7 +238,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): vmlinux_module_name: str, known_module_addresses: Set[int], modules_memory_boundaries: Tuple, - heuristic_mode: bool = False, ) -> Iterable[interfaces.objects.ObjectInterface]: """Enumerate hidden modules by taking advantage of memory address alignment patterns @@ -268,7 +258,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): vmlinux_module_name: The name of the kernel module on which to operate known_module_addresses: Set with known module addresses modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. - heuristic_mode: If True, it loosens constraints to enhance the detection of advanced threats. Yields: module objects """ @@ -276,37 +265,41 @@ class Hidden_modules(interfaces.plugins.PluginInterface): vmlinux_layer = context.layers[vmlinux.layer_name] module_addr_min, module_addr_max = modules_memory_boundaries - - module_state_values_bytes = cls._get_module_state_values_bytes( - context, vmlinux_module_name - ) - module_address_alignment = cls._get_module_address_alignment( context, vmlinux_module_name ) + mkobj_offset = vmlinux.get_type("module").relative_child_offset("mkobj") + mod_offset = vmlinux.get_type("module_kobject").relative_child_offset("mod") + offset_to_mkobj_mod = mkobj_offset + mod_offset + mod_member_template = vmlinux.get_type("module_kobject").vol.members["mod"][1] + mod_size = mod_member_template.size + mod_member_data_format = mod_member_template.data_format + for module_addr in range( module_addr_min, module_addr_max, module_address_alignment ): if module_addr in known_module_addresses: continue - if not heuristic_mode: - try: - # This is just a pre-filter. Module readability and consistency are verified in module.is_valid() - module_state_bytes = vmlinux_layer.read( - module_addr, len(module_state_values_bytes[0]) - ) - if module_state_bytes not in module_state_values_bytes: - continue - except ( - exceptions.PagedInvalidAddressException, - exceptions.InvalidAddressException, - ): + try: + # This is just a pre-filter. Module readability and consistency are verified in module.is_valid() + self_referential_bytes = vmlinux_layer.read( + module_addr + offset_to_mkobj_mod, mod_size + ) + self_referential = objects.convert_data_to_value( + self_referential_bytes, int, mod_member_data_format + ) + if self_referential != module_addr: continue + except ( + exceptions.PagedInvalidAddressException, + exceptions.InvalidAddressException, + ): + continue module = vmlinux.object("module", offset=module_addr, absolute=True) - if module and module.is_valid(strict_states=not heuristic_mode): + if module and module.is_valid(): yield module @staticmethod @@ -369,7 +362,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): vmlinux_module_name, known_module_addresses, modules_memory_boundaries, - heuristic_mode, ) @classmethod @@ -410,7 +402,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): known_module_addresses, modules_memory_boundaries, fast_method=self.config.get("fast"), - heuristic_mode=self.config.get("heuristic-mode"), ): module_addr = module.vol.offset module_name = module.get_name() or renderers.NotAvailableValue() diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 810df41f8..9f6622001 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -35,15 +35,12 @@ class module(generic.GenericIntelProcess): super().__init__(*args, **kwargs) self._mod_mem_type = None # Initialize _mod_mem_type to None for memoization - def is_valid(self, strict_states=True): + def is_valid(self): layer = self._context.layers[self.vol.layer_name] # Make sure the entire module content is readable if not layer.is_valid(self.vol.offset, self.vol.size): return False - if strict_states and not self.state.is_valid_choice: - return False - core_size = self.get_core_size() if not ( 1 <= core_size <= 20000000 @@ -52,14 +49,13 @@ class module(generic.GenericIntelProcess): ): return False - if self.has_member("mkobj") and self.mkobj.has_member("mod"): - if not ( - self.mkobj - and self.mkobj.mod - and self.mkobj.mod.is_readable() - and self.mkobj.mod == self.vol.offset - ): - return False + if not ( + self.mkobj + and self.mkobj.mod + and self.mkobj.mod.is_readable() + and self.mkobj.mod == self.vol.offset + ): + return False return True From f455c30e4962789e5cac595f57e9ea5090fac6b6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 4 Oct 2024 09:51:08 +1000 Subject: [PATCH 0738/2186] Linux: hidden_modules: remove missed optional heuristic_mode argument --- volatility3/framework/plugins/linux/hidden_modules.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index a76d1c69d..6542f58f3 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -326,7 +326,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): known_module_addresses: Set[int], modules_memory_boundaries: Tuple, fast_method: bool = False, - heuristic_mode: bool = False, ) -> Iterable[interfaces.objects.ObjectInterface]: """Enumerate hidden modules @@ -336,7 +335,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): known_module_addresses: Set with known module addresses modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. fast_method: If True, it uses the fast method. Otherwise, it uses the traditional one. - heuristic_mode: If True, it loosens constraints to enhance the detection of advanced threats. Yields: module objects """ From cffad872bbae6fda31eb415de230e445603c451c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 4 Oct 2024 12:22:53 +1000 Subject: [PATCH 0739/2186] Linux: sockstat. Fix #1271 which unnecessarily extends the interface of the list_sockets() class method --- volatility3/framework/plugins/linux/sockstat.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index bb9c46fad..0ddd3e26d 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -22,7 +22,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (3, 0, 0) def __init__(self, vmlinux, task, *args, **kwargs): super().__init__(*args, **kwargs) @@ -439,7 +439,7 @@ class Sockstat(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (3, 0, 0) @classmethod def get_requirements(cls): @@ -450,7 +450,7 @@ class Sockstat(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="SockHandlers", component=SockHandlers, version=(2, 0, 0) + name="SockHandlers", component=SockHandlers, version=(3, 0, 0) ), requirements.PluginRequirement( name="lsof", plugin=lsof.Lsof, version=(2, 0, 0) @@ -550,7 +550,7 @@ class Sockstat(plugins.PluginInterface): except AttributeError: netns_id = NotAvailableValue() - yield task_comm, task, netns_id, fd_num, family, sock_type, protocol, sock_fields + yield task, netns_id, fd_num, family, sock_type, protocol, sock_fields def _format_fields(self, sock_stat, protocol): """Prepare the socket fields to be rendered @@ -597,7 +597,6 @@ class Sockstat(plugins.PluginInterface): ) for ( - task_comm, task, netns_id, fd_num, @@ -618,6 +617,8 @@ class Sockstat(plugins.PluginInterface): else NotAvailableValue() ) + task_comm = utility.array_to_string(task.comm) + fields = ( netns_id, task_comm, From bb5a4475028c95af0e9d1e583d749ac9d01b82f3 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Sat, 5 Oct 2024 09:58:01 -0500 Subject: [PATCH 0740/2186] #1292 - use correct sector size for DataSectionObject file dumping --- .../framework/symbols/windows/extensions/__init__.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 80d3b48b7..ecfc2f163 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -1247,6 +1247,15 @@ class CONTROL_AREA(objects.StructType): is_64bit = symbols.symbol_table_is_64bit(self._context, symbol_table_name) is_pae = self._context.layers[self.vol.layer_name].metadata.get("pae", False) + # the sector_size is used as a multiplier to the StartingSector + # within each _SUBSECTION. ImageSectionObjects use a multiplier + # of 0x200 corresponding to sector alignment on disk, + # while DataSectionObjects use a multiplier of 0x1000 corresponding + # to the size of a page + sector_size = 0x200 + if self.u.Flags.Image != 1: + sector_size = 0x1000 + # This is a null-terminated single-linked list. while subsection != 0: try: @@ -1257,7 +1266,7 @@ class CONTROL_AREA(objects.StructType): # The offset into the file is stored implicitly based on the PTE location within the Subsection. starting_sector = subsection.StartingSector - subsection_offset = starting_sector * 0x200 + subsection_offset = starting_sector * sector_size # Similar to the check in is_valid(), make sure the SubsectionBase is not page aligned. # if subsection.SubsectionBase & self.PAGE_MASK == 0: From 5d072864d726242e85e632edb99449cafaf187dd Mon Sep 17 00:00:00 2001 From: eve Date: Mon, 7 Oct 2024 07:00:05 +0100 Subject: [PATCH 0741/2186] Docs: Add warning around LiME raw format --- doc/source/getting-started-linux-tutorial.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index 26ad2c2e4..d4b40d053 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -11,6 +11,7 @@ Volatility3 does not provide the ability to acquire memory. Below are some exam * `AVML - Acquire Volatile Memory for Linux `_ * `LiME - Linux Memory Extract `_ +Be aware that LiME raw format is not supported by volatility3, the padded or lime option should be used instead. `This issue contains further information `_. Procedure to create symbol tables for linux -------------------------------------------- From bf027236950d549b2309159d8d7e7660bd84452e Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 7 Oct 2024 17:59:55 +1100 Subject: [PATCH 0742/2186] Linux: lsof plugin: Fix module import to stick to the style guide --- volatility3/framework/plugins/linux/lsof.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 527815738..18e67cac9 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from datetime import datetime +import datetime from dataclasses import dataclass, astuple, field from typing import List, Callable, Tuple @@ -32,9 +32,9 @@ class FDUser: inode_num: int = field(default=renderers.NotAvailableValue()) inode_type: str = field(default=renderers.NotAvailableValue()) file_mode: str = field(default=renderers.NotAvailableValue()) - change_time: datetime = field(default=renderers.NotAvailableValue()) - modification_time: datetime = field(default=renderers.NotAvailableValue()) - access_time: datetime = field(default=renderers.NotAvailableValue()) + change_time: datetime.datetime = field(default=renderers.NotAvailableValue()) + modification_time: datetime.datetime = field(default=renderers.NotAvailableValue()) + access_time: datetime.datetime = field(default=renderers.NotAvailableValue()) inode_size: int = field(default=renderers.NotAvailableValue()) @@ -184,9 +184,9 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): ("Inode", int), ("Type", str), ("Mode", str), - ("Changed", datetime), - ("Modified", datetime), - ("Accessed", datetime), + ("Changed", datetime.datetime), + ("Modified", datetime.datetime), + ("Accessed", datetime.datetime), ("Size", int), ] return renderers.TreeGrid( From bf19b9f2e00de4bb01ea3156efb261b5619cac43 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 7 Oct 2024 18:46:18 +1100 Subject: [PATCH 0743/2186] Linux: lsof plugin: Fix dataclasses import to stick to the style guide --- volatility3/framework/plugins/linux/lsof.py | 30 ++++++++++++--------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 18e67cac9..8c3c4a299 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -3,7 +3,7 @@ # import logging import datetime -from dataclasses import dataclass, astuple, field +import dataclasses from typing import List, Callable, Tuple from volatility3.framework import renderers, interfaces, constants @@ -17,7 +17,7 @@ from volatility3.plugins import timeliner vollog = logging.getLogger(__name__) -@dataclass +@dataclasses.dataclass class FDUser: """FD user representation, featuring augmented information and formatted fields. This is the data the plugin will eventually display. @@ -28,17 +28,23 @@ class FDUser: task_comm: str fd_num: int full_path: str - device: str = field(default=renderers.NotAvailableValue()) - inode_num: int = field(default=renderers.NotAvailableValue()) - inode_type: str = field(default=renderers.NotAvailableValue()) - file_mode: str = field(default=renderers.NotAvailableValue()) - change_time: datetime.datetime = field(default=renderers.NotAvailableValue()) - modification_time: datetime.datetime = field(default=renderers.NotAvailableValue()) - access_time: datetime.datetime = field(default=renderers.NotAvailableValue()) - inode_size: int = field(default=renderers.NotAvailableValue()) + device: str = dataclasses.field(default=renderers.NotAvailableValue()) + inode_num: int = dataclasses.field(default=renderers.NotAvailableValue()) + inode_type: str = dataclasses.field(default=renderers.NotAvailableValue()) + file_mode: str = dataclasses.field(default=renderers.NotAvailableValue()) + change_time: datetime.datetime = dataclasses.field( + default=renderers.NotAvailableValue() + ) + modification_time: datetime.datetime = dataclasses.field( + default=renderers.NotAvailableValue() + ) + access_time: datetime.datetime = dataclasses.field( + default=renderers.NotAvailableValue() + ) + inode_size: int = dataclasses.field(default=renderers.NotAvailableValue()) -@dataclass +@dataclasses.dataclass class FDInternal: """FD internal representation containing only the core objects @@ -168,7 +174,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): self.context, vmlinux_module_name, filter_func=filter_func ): fd_user = fd_internal.to_user() - yield (0, astuple(fd_user)) + yield (0, dataclasses.astuple(fd_user)) def run(self): pids = self.config.get("pid", None) From 2859d7a641bee72f976e2e16b6dfec61bac107ce Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 7 Oct 2024 18:49:38 +1100 Subject: [PATCH 0744/2186] Linux: lsof plugin: Fix list_fds() return typing --- volatility3/framework/plugins/linux/lsof.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 8c3c4a299..075f2db84 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -4,7 +4,7 @@ import logging import datetime import dataclasses -from typing import List, Callable, Tuple +from typing import List, Callable, Tuple, Iterable from volatility3.framework import renderers, interfaces, constants from volatility3.framework.configuration import requirements @@ -140,7 +140,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): context: interfaces.context.ContextInterface, vmlinux_module_name: str, filter_func: Callable[[int], bool] = lambda _: False, - ) -> FDInternal: + ) -> Iterable[FDInternal]: """Enumerates open file descriptors in tasks Args: From ee759643456869c5d18cd093f5bb81c138a33eb5 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 7 Oct 2024 20:46:44 +1100 Subject: [PATCH 0745/2186] Linux: lsof plugin: Fix typo in docstring --- volatility3/framework/plugins/linux/lsof.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 075f2db84..42b447dfb 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -49,7 +49,7 @@ class FDInternal: """FD internal representation containing only the core objects Fields: - task: 'task_truct' object + task: 'task_struct' object fd_fields: FD fields as obtained from LinuxUtilities.files_descriptors_for_process() """ From cb98a085d74531105a18b7974fc6250870955b5a Mon Sep 17 00:00:00 2001 From: MHL Date: Mon, 7 Oct 2024 09:11:49 -0500 Subject: [PATCH 0746/2186] refs #1296 sort volshell methods alphabetically in hh() output --- volatility3/cli/volshell/generic.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index c5eac36e2..c1ca7b5fa 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -112,7 +112,7 @@ class Volshell(interfaces.plugins.PluginInterface): variables = [] print("\nMethods:") - for aliases, item in self.construct_locals(): + for aliases, item in sorted(self.construct_locals()): name = ", ".join(aliases) if item.__doc__ and callable(item): print(f"* {name}") @@ -125,8 +125,7 @@ class Volshell(interfaces.plugins.PluginInterface): print(f" {var}") def construct_locals(self) -> List[Tuple[List[str], Any]]: - """Returns a dictionary listing the functions to be added to the - environment.""" + """Returns a listing of the functions to be added to the environment.""" return [ (["dt", "display_type"], self.display_type), (["db", "display_bytes"], self.display_bytes), From 0dd082b7fda2d762026a823b38ba004819b039be Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 7 Oct 2024 12:26:17 -0500 Subject: [PATCH 0747/2186] #816 initial PR comment fixes --- .../framework/plugins/windows/cmdscan.py | 43 +++--- .../framework/plugins/windows/consoles.py | 6 +- .../consoles-win10-17763-3232-x64.json | 4 +- .../consoles/consoles-win10-17763-x64.json | 4 +- .../consoles/consoles-win10-18362-x64.json | 4 +- .../consoles/consoles-win10-19041-x64.json | 4 +- .../consoles-win10-20348-1970-x64.json | 47 +----- .../consoles-win10-20348-2461-x64.json | 47 +----- .../consoles/consoles-win10-20348-x64.json | 47 +----- .../consoles/consoles-win10-22000-x64.json | 47 +----- ...son => consoles-win10-22621-3527-x64.json} | 47 +----- .../consoles/consoles-win10-22621-x64.json | 47 +----- .../consoles/consoles-win10-25398-x64.json | 47 +----- .../symbols/windows/extensions/consoles.py | 144 +++++++----------- 14 files changed, 111 insertions(+), 427 deletions(-) rename volatility3/framework/symbols/windows/consoles/{consoles-win10-22621-3672-x64.json => consoles-win10-22621-3527-x64.json} (93%) diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index 09cb0f316..9a3460a20 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -61,7 +61,7 @@ class CmdScan(interfaces.plugins.PluginInterface): cls, conhost_proc: interfaces.context.ContextInterface, size_filter: Optional[int] = 0x40000000, - ) -> List[Tuple[int, int]]: + ) -> Generator[Tuple[int, int], None, None]: """ Returns vads of a process with size smaller than size_filter @@ -73,20 +73,17 @@ class CmdScan(interfaces.plugins.PluginInterface): vad_base: the base address vad_size: the size of the VAD """ - vads = [] for vad in conhost_proc.get_vad_root().traverse(): base = vad.get_start() if vad.get_size() < size_filter: - vads.append((base, vad.get_size())) - - return vads + yield (base, vad.get_size()) @classmethod def get_command_history( cls, context: interfaces.context.ContextInterface, kernel_layer_name: str, - kernel_table_name: str, + kernel_symbol_table_name: str, config_path: str, procs: Generator[interfaces.objects.ObjectInterface, None, None], max_history: Set[int], @@ -100,7 +97,7 @@ class CmdScan(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from kernel_layer_name: The name of the layer on which to operate - kernel_table_name: The name of the table containing the kernel symbols + kernel_symbol_table_name: The name of the table containing the kernel symbols config_path: The config path where to find symbol files procs: list of process objects max_history: an initial set of CommandHistorySize values @@ -138,7 +135,7 @@ class CmdScan(interfaces.plugins.PluginInterface): conhost_symbol_table = consoles.Consoles.create_conhost_symbol_table( context, kernel_layer_name, - kernel_table_name, + kernel_symbol_table_name, config_path, proc_layer_name, conhostexe_base, @@ -147,6 +144,9 @@ class CmdScan(interfaces.plugins.PluginInterface): conhost_module = context.module( conhost_symbol_table, proc_layer_name, offset=conhostexe_base ) + command_count_max_offset = conhost_module.get_type( + "_COMMAND_HISTORY" + ).relative_child_offset("CommandCountMax") sections = cls.get_filtered_vads(conhost_proc) found_history_for_proc = False @@ -161,15 +161,13 @@ class CmdScan(interfaces.plugins.PluginInterface): scanners.BytesScanner(max_history_bytes), sections=sections, ): + command_history = None command_history_properties = [] try: command_history = conhost_module.object( "_COMMAND_HISTORY", - offset=address - - conhost_module.get_type( - "_COMMAND_HISTORY" - ).relative_child_offset("CommandCountMax"), + offset=address - command_count_max_offset, absolute=True, ) @@ -184,13 +182,13 @@ class CmdScan(interfaces.plugins.PluginInterface): "level": 0, "name": "_COMMAND_HISTORY", "address": command_history.vol.offset, - "data": "", + "data": None, } ) command_history_properties.append( { "level": 1, - "name": f"_COMMAND_HISTORY.Application", + "name": "_COMMAND_HISTORY.Application", "address": command_history.Application.vol.offset, "data": command_history.get_application(), } @@ -198,7 +196,7 @@ class CmdScan(interfaces.plugins.PluginInterface): command_history_properties.append( { "level": 1, - "name": f"_COMMAND_HISTORY.ProcessHandle", + "name": "_COMMAND_HISTORY.ProcessHandle", "address": command_history.ConsoleProcessHandle.ProcessHandle.vol.offset, "data": hex( command_history.ConsoleProcessHandle.ProcessHandle @@ -208,7 +206,7 @@ class CmdScan(interfaces.plugins.PluginInterface): command_history_properties.append( { "level": 1, - "name": f"_COMMAND_HISTORY.CommandCount", + "name": "_COMMAND_HISTORY.CommandCount", "address": None, "data": command_history.CommandCount, } @@ -216,7 +214,7 @@ class CmdScan(interfaces.plugins.PluginInterface): command_history_properties.append( { "level": 1, - "name": f"_COMMAND_HISTORY.LastDisplayed", + "name": "_COMMAND_HISTORY.LastDisplayed", "address": command_history.LastDisplayed.vol.offset, "data": command_history.LastDisplayed, } @@ -224,7 +222,7 @@ class CmdScan(interfaces.plugins.PluginInterface): command_history_properties.append( { "level": 1, - "name": f"_COMMAND_HISTORY.CommandCountMax", + "name": "_COMMAND_HISTORY.CommandCountMax", "address": command_history.CommandCountMax.vol.offset, "data": command_history.CommandCountMax, } @@ -233,7 +231,7 @@ class CmdScan(interfaces.plugins.PluginInterface): command_history_properties.append( { "level": 1, - "name": f"_COMMAND_HISTORY.CommandBucket", + "name": "_COMMAND_HISTORY.CommandBucket", "address": command_history.CommandBucket.vol.offset, "data": "", } @@ -248,7 +246,7 @@ class CmdScan(interfaces.plugins.PluginInterface): "level": 2, "name": f"_COMMAND_HISTORY.CommandBucket_Command_{cmd_index}", "address": bucket_cmd.vol.offset, - "data": bucket_cmd.get_command(), + "data": bucket_cmd.get_command_string(), } ) except Exception as e: @@ -264,6 +262,9 @@ class CmdScan(interfaces.plugins.PluginInterface): found_history_for_proc = True yield conhost_proc, command_history, command_history_properties + # if found_history_for_proc is still False, then none of the scanned locations found + # a valid _COMMAND_HISTORY for the process, so yield the process and some empty data + # so the process can at least be reported that it was found with no history if not found_history_for_proc: yield conhost_proc, command_history or None, [] @@ -349,7 +350,7 @@ class CmdScan(interfaces.plugins.PluginInterface): if proc is None: vollog.warn("No conhost.exe processes found.") - def _conhost_proc_filter(self, proc): + def _conhost_proc_filter(self, proc: interfaces.objects.ObjectInterface): """ Used to filter to only conhost.exe processes """ diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index dfc14f2d6..cef7cba46 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -209,7 +209,7 @@ class Consoles(interfaces.plugins.PluginInterface): (10, 0, 20348, 2520): "consoles-win10-20348-2461-x64", (10, 0, 22000, 0): "consoles-win10-22000-x64", (10, 0, 22621, 1): "consoles-win10-22621-x64", - (10, 0, 22621, 3672): "consoles-win10-22621-3672-x64", + (10, 0, 22621, 3527): "consoles-win10-22621-3527-x64", (10, 0, 25398, 0): "consoles-win10-22000-x64", } @@ -706,7 +706,7 @@ class Consoles(interfaces.plugins.PluginInterface): "level": 3, "name": f"_CONSOLE_INFORMATION.HistoryList.CommandHistory_{index}_Command_{cmd_index}", "address": bucket_cmd.vol.offset, - "data": bucket_cmd.get_command(), + "data": bucket_cmd.get_command_string(), } ) except Exception as e: @@ -918,7 +918,7 @@ class Consoles(interfaces.plugins.PluginInterface): if proc is None: vollog.warn("No conhost.exe processes found.") - def _conhost_proc_filter(self, proc): + def _conhost_proc_filter(self, proc: interfaces.objects.ObjectInterface) -> bool: """ Used to filter to only conhost.exe processes """ diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json index 413b6f466..13382c7ee 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-3232-x64.json @@ -632,14 +632,14 @@ "Source": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, "Target": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 48 } diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json index b3bf9666c..f813691bc 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-17763-x64.json @@ -632,14 +632,14 @@ "Source": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, "Target": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 48 } diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json index d962418d3..85ef9d718 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-18362-x64.json @@ -622,14 +622,14 @@ "Source": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, "Target": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 48 } diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json index 0963afee3..8f6dd8c6a 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-19041-x64.json @@ -622,14 +622,14 @@ "Source": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, "Target": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 48 } diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json index cee78e2b5..8357ece4a 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-1970-x64.json @@ -598,7 +598,7 @@ "ExeName": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, @@ -628,61 +628,20 @@ "Source": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, "Target": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 48 } }, "kind": "struct", "size": 32 - }, - "_ALIAS_STRING": { - "fields": { - "Chars": { - "type": { - "count": 1, - "kind": "array", - "subtype": { - "kind": "base", - "name": "unsigned char" - } - }, - "offset": 0 - }, - "Pointer": { - "type": { - "kind": "pointer", - "subtype": { - "kind": "base", - "name": "string" - } - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 16 - }, - "Allocated": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json index 59e9fd3b9..f80a99148 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-2461-x64.json @@ -598,7 +598,7 @@ "ExeName": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, @@ -628,61 +628,20 @@ "Source": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, "Target": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 48 } }, "kind": "struct", "size": 32 - }, - "_ALIAS_STRING": { - "fields": { - "Chars": { - "type": { - "count": 1, - "kind": "array", - "subtype": { - "kind": "base", - "name": "unsigned char" - } - }, - "offset": 0 - }, - "Pointer": { - "type": { - "kind": "pointer", - "subtype": { - "kind": "base", - "name": "string" - } - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 16 - }, - "Allocated": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json index df02169cb..5c7fc8473 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-20348-x64.json @@ -598,7 +598,7 @@ "ExeName": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, @@ -628,61 +628,20 @@ "Source": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, "Target": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 48 } }, "kind": "struct", "size": 32 - }, - "_ALIAS_STRING": { - "fields": { - "Chars": { - "type": { - "count": 1, - "kind": "array", - "subtype": { - "kind": "base", - "name": "unsigned char" - } - }, - "offset": 0 - }, - "Pointer": { - "type": { - "kind": "pointer", - "subtype": { - "kind": "base", - "name": "string" - } - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 16 - }, - "Allocated": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-22000-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-22000-x64.json index 0dfaf34af..cf38d3e14 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-22000-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-22000-x64.json @@ -624,7 +624,7 @@ "ExeName": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, @@ -654,61 +654,20 @@ "Source": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, "Target": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 48 } }, "kind": "struct", "size": 32 - }, - "_ALIAS_STRING": { - "fields": { - "Chars": { - "type": { - "count": 1, - "kind": "array", - "subtype": { - "kind": "base", - "name": "unsigned char" - } - }, - "offset": 0 - }, - "Pointer": { - "type": { - "kind": "pointer", - "subtype": { - "kind": "base", - "name": "string" - } - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 16 - }, - "Allocated": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-3672-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-3527-x64.json similarity index 93% rename from volatility3/framework/symbols/windows/consoles/consoles-win10-22621-3672-x64.json rename to volatility3/framework/symbols/windows/consoles/consoles-win10-22621-3527-x64.json index 4c71ee32e..a5bda0f35 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-3672-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-3527-x64.json @@ -624,7 +624,7 @@ "ExeName": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, @@ -654,61 +654,20 @@ "Source": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, "Target": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 48 } }, "kind": "struct", "size": 32 - }, - "_ALIAS_STRING": { - "fields": { - "Chars": { - "type": { - "count": 1, - "kind": "array", - "subtype": { - "kind": "base", - "name": "unsigned char" - } - }, - "offset": 0 - }, - "Pointer": { - "type": { - "kind": "pointer", - "subtype": { - "kind": "base", - "name": "string" - } - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 16 - }, - "Allocated": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-x64.json index d6da72ef2..44f926a87 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-22621-x64.json @@ -624,7 +624,7 @@ "ExeName": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, @@ -654,61 +654,20 @@ "Source": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, "Target": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 48 } }, "kind": "struct", "size": 32 - }, - "_ALIAS_STRING": { - "fields": { - "Chars": { - "type": { - "count": 1, - "kind": "array", - "subtype": { - "kind": "base", - "name": "unsigned char" - } - }, - "offset": 0 - }, - "Pointer": { - "type": { - "kind": "pointer", - "subtype": { - "kind": "base", - "name": "string" - } - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 16 - }, - "Allocated": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/consoles/consoles-win10-25398-x64.json b/volatility3/framework/symbols/windows/consoles/consoles-win10-25398-x64.json index 120ad85ec..5e91d8824 100644 --- a/volatility3/framework/symbols/windows/consoles/consoles-win10-25398-x64.json +++ b/volatility3/framework/symbols/windows/consoles/consoles-win10-25398-x64.json @@ -625,7 +625,7 @@ "ExeName": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, @@ -655,61 +655,20 @@ "Source": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 16 }, "Target": { "type": { "kind": "struct", - "name": "_ALIAS_STRING" + "name": "_COMMAND" }, "offset": 48 } }, "kind": "struct", "size": 32 - }, - "_ALIAS_STRING": { - "fields": { - "Chars": { - "type": { - "count": 1, - "kind": "array", - "subtype": { - "kind": "base", - "name": "unsigned char" - } - }, - "offset": 0 - }, - "Pointer": { - "type": { - "kind": "pointer", - "subtype": { - "kind": "base", - "name": "string" - } - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 16 - }, - "Allocated": { - "type": { - "kind": "base", - "name": "unsigned int" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 } }, "metadata": { diff --git a/volatility3/framework/symbols/windows/extensions/consoles.py b/volatility3/framework/symbols/windows/extensions/consoles.py index 390b6858d..96f7892a5 100644 --- a/volatility3/framework/symbols/windows/extensions/consoles.py +++ b/volatility3/framework/symbols/windows/extensions/consoles.py @@ -2,17 +2,21 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from volatility3.framework import objects +import logging +from typing import Generator, List, Union, Tuple +from volatility3.framework import objects, interfaces from volatility3.framework import constants +vollog = logging.getLogger(__name__) + class ROW(objects.StructType): """A Row Structure.""" - def _valid_dbcs(self, c, n): + def _valid_dbcs(self, dbcs_attr: int, text_attr_msb: int) -> bool: # TODO this need more research and testing # https://github.com/search?q=repo%3Amicrosoft%2Fterminal+DbcsAttr&type=code - valid = n == 0 and c in ( + valid = text_attr_msb == 0 and dbcs_attr in ( 0x0, 0x1, 0x2, @@ -43,11 +47,11 @@ class ROW(objects.StructType): 0xF0, 0xA0, ) - if n == 0 and not valid: - print("Bad Dbcs Attribute {}".format(hex(c))) + if text_attr_msb == 0 and not valid: + vollog.debug(f"Bad Dbcs Attribute {dbcs_attr:#x}") return valid - def get_text(self, truncate=True): + def get_text(self, truncate: bool = True) -> str: """A convenience method to extract the text from the _ROW. The _ROW contains a pointer CharRow to an array of CharRowCell objects. Each CharRowCell contains the wide character and an attribute. Enumerating @@ -70,7 +74,6 @@ class ROW(objects.StructType): for i in range(0, len(char_row), 3) ) except Exception as e: - print(e) line = "" if truncate: @@ -82,62 +85,26 @@ class ROW(objects.StructType): class ALIAS(objects.StructType): """An Alias Structure""" - def get_source(self): - if self.Source.Length < 8: - return self.Source.Chars.cast( - "string", - encoding="utf-16", - errors="replace", - max_length=self.Source.Length * 2, - ) - elif self.Source.Length < 1024: - return self.Source.Pointer.dereference().cast( - "string", encoding="utf-16", errors="replace", max_length=512 - ) + def get_source(self) -> Union[str, None]: + return self.Source.get_command_string() - return None - - def get_target(self): - if self.Target.Length < 8: - return self.Target.Chars.cast( - "string", - encoding="utf-16", - errors="replace", - max_length=self.Target.Length * 2, - ) - elif self.Target.Length < 1024: - return self.Target.Pointer.dereference().cast( - "string", encoding="utf-16", errors="replace", max_length=512 - ) - - return None + def get_target(self) -> Union[str, None]: + return self.Target.get_command_string() class EXE_ALIAS_LIST(objects.StructType): """An Exe Alias List Structure""" - def get_exename(self): + def get_exename(self) -> Union[str, None]: exe_name = self.ExeName # Windows 10 22000 and Server 20348 removed the Pointer if isinstance(exe_name, objects.Pointer): exe_name = exe_name.dereference() return exe_name.get_string() - if self.ExeName.Length < 8: - return self.ExeName.Chars.cast( - "string", - encoding="utf-16", - errors="replace", - max_length=self.ExeName.Length * 2, - ) - elif self.ExeName.Length < 1024: - return self.ExeName.Pointer.dereference().cast( - "string", encoding="utf-16", errors="replace", max_length=512 - ) + return exe_name.get_command_string() - return None - - def get_aliases(self): + def get_aliases(self) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Generator for the individual aliases for a particular executable.""" for alias in self.AliasList.to_list( @@ -151,7 +118,7 @@ class SCREEN_INFORMATION(objects.StructType): """A Screen Information Structure.""" @property - def ScreenX(self): + def ScreenX(self) -> int: # 22000 change from an array of pointers to _ROW to an array of _ROW row = self.TextBufferInfo.BufferRows.Rows[0] if hasattr(row, "Row"): @@ -160,10 +127,10 @@ class SCREEN_INFORMATION(objects.StructType): return row.RowLength2 @property - def ScreenY(self): + def ScreenY(self) -> int: return self.TextBufferInfo.BufferCapacity - def _truncate_rows(self, rows): + def _truncate_rows(self, rows: List[str]) -> List[str]: """To truncate empty rows at the end, walk the list backwards and get the last non-empty row. Use that row index to splice. Rows are created based on the @@ -187,7 +154,9 @@ class SCREEN_INFORMATION(objects.StructType): return rows - def get_buffer(self, truncate_rows=True, truncate_lines=True): + def get_buffer( + self, truncate_rows: bool = True, truncate_lines: bool = True + ) -> List[str]: """Get the screen buffer. The screen buffer is comprised of the screen's Y @@ -206,7 +175,7 @@ class SCREEN_INFORMATION(objects.StructType): capacity = self.TextBufferInfo.BufferCapacity start = self.TextBufferInfo.BufferStart - buffer_rows = self.TextBufferInfo.BufferRows.dereference() + buffer_rows = self.TextBufferInfo.BufferRows buffer_rows.Rows.count = self.TextBufferInfo.BufferCapacity for i in range(capacity): @@ -234,10 +203,10 @@ class CONSOLE_INFORMATION(objects.StructType): """A Console Information Structure.""" @property - def ScreenBuffer(self): + def ScreenBuffer(self) -> interfaces.objects.ObjectInterface: return self.GetScreenBuffer - def is_valid(self, max_buffers=4) -> bool: + def is_valid(self, max_buffers: int = 4) -> bool: """Determine if the structure is valid.""" # Last displayed must be between -1 and max @@ -249,7 +218,7 @@ class CONSOLE_INFORMATION(objects.StructType): return True - def get_screens(self): + def get_screens(self) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Generator for screens in the console. A console can have multiple screen buffers at a time, @@ -277,14 +246,18 @@ class CONSOLE_INFORMATION(objects.StructType): seen.add(cur.vol.offset) cur = cur.Next - def get_histories(self): - for cmd_hist in self.HistoryList.dereference().to_list( + def get_histories( + self, + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: + for cmd_hist in self.HistoryList.to_list( f"{self.get_symbol_table_name()}{constants.BANG}_COMMAND_HISTORY", "ListEntry", ): yield cmd_hist - def get_exe_aliases(self): + def get_exe_aliases( + self, + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: exe_alias_list = self.ExeAliasList # Windows 10 22000 and Server 20348 made this a Pointer if isinstance(exe_alias_list, objects.Pointer): @@ -295,14 +268,16 @@ class CONSOLE_INFORMATION(objects.StructType): ): yield exe_alias_list_item - def get_processes(self): - for proc in self.ConsoleProcessList.dereference().to_list( + def get_processes( + self, + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: + for proc in self.ConsoleProcessList.to_list( f"{self.get_symbol_table_name()}{constants.BANG}_CONSOLE_PROCESS_LIST", "ListEntry", ): yield proc - def get_title(self): + def get_title(self) -> Union[str, None]: try: return self.Title.dereference().cast( "string", encoding="utf-16", errors="replace", max_length=512 @@ -310,7 +285,7 @@ class CONSOLE_INFORMATION(objects.StructType): except Exception: return "" - def get_original_title(self): + def get_original_title(self) -> Union[str, None]: try: return self.OriginalTitle.dereference().cast( "string", encoding="utf-16", errors="replace", max_length=512 @@ -322,7 +297,7 @@ class CONSOLE_INFORMATION(objects.StructType): class COMMAND(objects.StructType): """A Command Structure""" - def is_valid(self): + def is_valid(self) -> bool: if ( self.Length < 1 or self.Allocated < 1 @@ -333,7 +308,7 @@ class COMMAND(objects.StructType): return True - def get_command(self): + def get_command_string(self) -> Union[str, None]: if self.Length < 8: return self.Chars.cast( "string", @@ -343,7 +318,10 @@ class COMMAND(objects.StructType): ) elif self.Length < 1024: return self.Pointer.dereference().cast( - "string", encoding="utf-16", errors="replace", max_length=512 + "string", + encoding="utf-16", + errors="replace", + max_length=self.Length * 2, ) return None @@ -353,17 +331,17 @@ class COMMAND_HISTORY(objects.StructType): """A Command History Structure.""" @property - def CommandCount(self): + def CommandCount(self) -> int: command_type = self.get_symbol_table_name() + constants.BANG + "_COMMAND" command_size = self._context.symbol_space.get_type(command_type).size return int((self.CommandBucket.End - self.CommandBucket.Begin) / command_size) @property - def ProcessHandle(self): + def ProcessHandle(self) -> int: """Allow ProcessHandle to be referenced regardless of OS version""" return self.ConsoleProcessHandle.ProcessHandle - def is_valid(self, max_history=50): + def is_valid(self, max_history: int = 50) -> bool: # The count must be between zero and max if self.CommandCount < 0 or self.CommandCount > max_history: return False @@ -382,22 +360,12 @@ class COMMAND_HISTORY(objects.StructType): return True - def get_application(self): - if self.Application.Length < 8: - return self.Application.Chars.cast( - "string", - encoding="utf-16", - errors="replace", - max_length=self.Application.Length * 2, - ) - elif self.Application.Length < 1024: - return self.Application.Pointer.dereference().cast( - "string", encoding="utf-16", errors="replace", max_length=512 - ) + def get_application(self) -> Union[str, None]: + return self.Application.get_command_string() - return None - - def scan_command_bucket(self, end=None): + def scan_command_bucket( + self, end: Union[int, None] = None + ) -> Generator[Tuple[int, interfaces.objects.ObjectInterface], None, None]: """Brute force print all strings pointed to by the CommandBucket entries by going to greater of EndCapacity or CommandCountMax*sizeof(_COMMAND)""" @@ -418,7 +386,9 @@ class COMMAND_HISTORY(objects.StructType): if cmd.is_valid(): yield i, cmd - def get_commands(self): + def get_commands( + self, + ) -> Generator[Tuple[int, interfaces.objects.ObjectInterface], None, None]: """Generator for commands in the history buffer. The CommandBucket is an array of pointers to _COMMAND From 95f56ad122151bf7654dca68f943b7ce5f969f94 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 7 Oct 2024 12:39:03 -0500 Subject: [PATCH 0748/2186] #816 - remove extra text from buffer output --- volatility3/framework/plugins/windows/consoles.py | 6 +++++- .../framework/symbols/windows/extensions/consoles.py | 4 ---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index cef7cba46..ad1c9d4bd 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -895,7 +895,11 @@ class Consoles(interfaces.plugins.PluginInterface): if console_property["address"] is None else format_hints.Hex(console_property["address"]) ), - str(console_property["data"]), + ( + str(console_property["data"]) + if console_property["data"] + else renderers.NotAvailableValue() + ), ), ) else: diff --git a/volatility3/framework/symbols/windows/extensions/consoles.py b/volatility3/framework/symbols/windows/extensions/consoles.py index 96f7892a5..2312149c7 100644 --- a/volatility3/framework/symbols/windows/extensions/consoles.py +++ b/volatility3/framework/symbols/windows/extensions/consoles.py @@ -192,10 +192,6 @@ class SCREEN_INFORMATION(objects.StructType): if truncate_rows: rows = self._truncate_rows(rows) - if rows: - rows = ["=== START OF BUFFER ==="] + rows + ["=== END OF BUFFER ==="] - else: - rows = ["=== NO BUFFER DATA FOUND ==="] return rows From 1c3e5574f4dda317bfde0fdf72805ca488b342a6 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 7 Oct 2024 12:39:58 -0500 Subject: [PATCH 0749/2186] #816 - remove unused import --- volatility3/framework/plugins/windows/cmdscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index 9a3460a20..9645ee507 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -6,7 +6,7 @@ import logging import struct -from typing import Tuple, Generator, Set, Dict, Any, List, Optional +from typing import Tuple, Generator, Set, Dict, Any, Optional from volatility3.framework import interfaces from volatility3.framework import renderers From 0bfac049defe05ea589dcc6d2b611df5e0eaacd4 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 18 Jul 2024 10:44:51 -0500 Subject: [PATCH 0750/2186] Windows: Adds Amcache plugin --- .../framework/plugins/windows/amcache.py | 646 ++++++++++++++++++ .../plugins/windows/registry/hivelist.py | 10 +- .../symbols/windows/extensions/registry.py | 62 +- 3 files changed, 700 insertions(+), 18 deletions(-) create mode 100644 volatility3/framework/plugins/windows/amcache.py diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py new file mode 100644 index 000000000..5838c62a0 --- /dev/null +++ b/volatility3/framework/plugins/windows/amcache.py @@ -0,0 +1,646 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import dataclasses +import datetime +import enum +import logging +import itertools +from typing import Dict, Iterable, Iterator, List, Optional, Tuple, Union + +from volatility3.framework import interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.layers import registry +from volatility3.framework.renderers import conversion +from volatility3.framework.symbols.windows.extensions import registry as reg_extensions +from volatility3.plugins import timeliner +from volatility3.plugins.windows.registry import hivelist + +vollog = logging.getLogger(__name__) + +####################################################################### +# More information about the following enums can be found in the report +# 'Analysis of the AmCache` by Blanche Lagny, 2019 +####################################################################### + + +class Win8FileValName(enum.Enum): + """ + An enumeration that creates a helpful mapping of opaque Windows 8 Amcache + 'File' subkey value names to their human-readable equivalent. + """ + + ProgramID = "100" + SHA1Hash = "101" + Product = "0" + Company = "1" + Size = "6" + SizeOfImage = "7" + PEHeaderChecksum = "9" + LastModTime = "11" # REG_QWORD FILETIME + CreateTime = "12" # REG_QWORD FILETIME + Path = "15" + LastModTime2 = "17" # REG_QWORD FILETIME + Version = "d" + CompileTime = "f" # REG_QWORD UNIX EPOCH + + +class Win8ProgramValName(enum.Enum): + """ + An enumeration that creates a helpful mapping of opaque Windows 8 Amcache + 'Program' subkey value names to their human-readable equivalent. + """ + + Product = "0" + Version = "1" + Publisher = "2" + InstallTime = "a" + MSIProductCode = "11" + MSIPackageCode = "12" + ProductCode = "f" + PackageCode = "10" + + +class Win10InvAppFileValName(enum.Enum): + """ + An enumeration containing the most useful Windows 10 Amcache + 'InventoryApplicationFile' subkey value names. + """ + + FileId = "FileId" + LinkDate = "LinkDate" + LowerCaseLongPath = "LowerCaseLongPath" + ProductName = "ProductName" + ProductVersion = "ProductVersion" + ProgramID = "ProgramId" + Publisher = "Publisher" + + +class Win10InvAppValName(enum.Enum): + """ + An enumeration containing the most useful Windows 10 Amcache + 'InventoryApplication' subkey value names. + """ + + InstallDate = "InstallDate" + Name = "Name" + Publisher = "Publisher" + RootDirPath = "RootDirPath" + Version = "Version" + + +class Win10DriverBinaryValName(enum.Enum): + """ + An enumeration containing the most useful Windows 10 Amcache + 'InventoryDriverBinary' subkey value names. + """ + + DriverId = "DriverId" + DriverName = "DriverName" + DriverCompany = "DriverCompany" + Product = "Product" + Service = "Service" + DriverTimeStamp = "DriverTimeStamp" + + +class AmcacheEntryType(enum.IntEnum): + Driver = 1 + Program = 2 + File = 3 + + +NullableString = Union[str, None, interfaces.renderers.BaseAbsentValue] +NullableDatetime = Union[datetime.datetime, None, interfaces.renderers.BaseAbsentValue] + + +@dataclasses.dataclass +class _AmcacheEntry: + """ + A class containing all information about an entry from the Amcache registry hive. + Because all values could potentially be paged out of memory or malformed, they are all + a union between their expected value and `interfaces.renderers.BaseAbsentValue`. + """ + + entry_type: str + path: NullableString = renderers.NotApplicableValue() + company: NullableString = renderers.NotApplicableValue() + last_modify_time: NullableDatetime = renderers.NotApplicableValue() + last_modify_time_2: NullableDatetime = renderers.NotApplicableValue() + install_time: NullableDatetime = renderers.NotApplicableValue() + compile_time: NullableDatetime = renderers.NotApplicableValue() + sha1_hash: NullableString = renderers.NotApplicableValue() + service: NullableString = renderers.NotApplicableValue() + product_name: NullableString = renderers.NotApplicableValue() + + +def _entry_sort_key(entry_tuple: Tuple[NullableString, _AmcacheEntry]) -> str: + """Sorts entries by program ID. This is broken out as a function here + to ensure consistency in sorting between the `group_by` and `sorted` function + invocations. + """ + program_id, _ = entry_tuple + key = program_id if isinstance(program_id, str) else "" + return key + + +def _get_string_value( + values: Dict[str, reg_extensions.CM_KEY_VALUE], name: str +) -> NullableString: + try: + value = values[name] + except KeyError: + return renderers.NotAvailableValue() + + data = value.decode_data() + if not isinstance(data, bytes): + return renderers.UnparsableValue() + + return data.decode("utf-16le", errors="replace").rstrip("\u0000") + + +def _get_datetime_filetime_value( + values: Dict[str, reg_extensions.CM_KEY_VALUE], name: str +) -> NullableDatetime: + try: + value = values[name] + except KeyError: + return renderers.NotAvailableValue() + + data = value.decode_data() + if not isinstance(data, int): + return renderers.UnparsableValue() + + return conversion.wintime_to_datetime(data) + + +def _get_datetime_utc_epoch_value( + values: Dict[str, reg_extensions.CM_KEY_VALUE], name: str +) -> NullableDatetime: + try: + value = values[name] + except KeyError: + return renderers.NotAvailableValue() + + data = value.decode_data() + if not isinstance(data, (int, float)): + return renderers.UnparsableValue() + + try: + return datetime.datetime.fromtimestamp(float(data), datetime.timezone.utc) + except (ValueError, OverflowError, OSError): + return renderers.UnparsableValue() + + +def _get_datetime_str_value( + values: Dict[str, reg_extensions.CM_KEY_VALUE], name: str +) -> NullableDatetime: + try: + value = values[name] + except KeyError: + return renderers.NotAvailableValue() + + data = value.decode_data() + if not isinstance(data, int): + return renderers.UnparsableValue() + + if isinstance(data, str): + try: + return datetime.datetime.strptime(data, "%m/%d/%Y %H:%M:%S") + except ValueError: + return renderers.UnparsableValue() + else: + return renderers.UnparsableValue() + + +class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): + """Scans for windows services.""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + ), + ] + + def generate_timeline( + self, + ) -> Iterator[Tuple[str, timeliner.TimeLinerType, datetime.datetime]]: + for _, entry in self._generator(): + if isinstance(entry.last_modify_time, datetime.datetime): + yield f"Amcache: {entry.entry_type} {entry.path} registry key modified", timeliner.TimeLinerType.MODIFIED, entry.last_modify_time + if isinstance(entry.last_modify_time_2, datetime.datetime): + yield f"Amcache: {entry.entry_type} {entry.path} STANDARD_INFORMATION create time", timeliner.TimeLinerType.CREATED, entry.last_modify_time_2 + if isinstance(entry.install_time, datetime.datetime): + yield f"Amcache: {entry.entry_type} {entry.path} installed", timeliner.TimeLinerType.CREATED, entry.install_time + if isinstance(entry.compile_time, datetime.datetime): + yield f"Amcache: {entry.entry_type} {entry.path} compiled (PE metadata)", timeliner.TimeLinerType.MODIFIED, entry.compile_time + + @classmethod + def get_amcache_hive( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + kernel: interfaces.context.ModuleInterface, + ) -> Optional[registry.RegistryHive]: + """Retrieves the `Amcache.hve` registry hive from the kernel module, if it can be located.""" + return next( + hivelist.HiveList.list_hives( + context=context, + base_config_path=interfaces.configuration.path_join( + config_path, "hivelist" + ), + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_string="amcache", + ), + None, + ) + + @classmethod + def parse_file_key( + cls, file_key: reg_extensions.CM_KEY_NODE + ) -> Iterator[Tuple[NullableString, _AmcacheEntry]]: + """Parses File entries from the Windows 8 `Root\\File` key. + + :param programs_key: The `Root\\File` registry key. + + :return: An iterator of tuples, where the first member is the program ID string for + correlating `Root\\Program` entries, and the second member is the `AmcacheEntry`. + """ + + for file_entry_key in itertools.chain( + *(key.get_subkeys() for key in file_key.get_subkeys()) + ): + vollog.debug(f"Checking Win8 File key {file_entry_key.get_name()}") + values = { + str(value.get_name()): value + for value in file_entry_key.get_values() + if value.get_name() in [key.value for key in Win8FileValName] + } + + program_id = _get_string_value(values, Win8FileValName.ProgramID.value) + path = _get_string_value(values, Win8FileValName.Path.value) + company = _get_string_value(values, Win8FileValName.Company.value) + last_mod_time = _get_datetime_filetime_value( + values, Win8FileValName.LastModTime.value + ) + last_mod_time_2 = _get_datetime_filetime_value( + values, Win8FileValName.LastModTime2.value + ) + install_time = _get_datetime_filetime_value( + values, Win8FileValName.CreateTime.value + ) + compile_time = _get_datetime_utc_epoch_value( + values, Win8FileValName.CompileTime.value + ) + sha1_hash = _get_string_value(values, Win8FileValName.SHA1Hash.value) + vollog.debug(f"Found sha1hash {sha1_hash}") + product_name = _get_string_value(values, Win8FileValName.Product.value) + + yield program_id, _AmcacheEntry( + AmcacheEntryType.File.name, + path=path, + company=company, + last_modify_time=last_mod_time, + last_modify_time_2=last_mod_time_2, + install_time=install_time, + compile_time=compile_time, + sha1_hash=( + sha1_hash.lstrip("0000") + if isinstance(sha1_hash, str) + else sha1_hash + ), + product_name=product_name, + ) + + @classmethod + def parse_programs_key( + cls, programs_key: reg_extensions.CM_KEY_NODE + ) -> Iterator[Tuple[str, _AmcacheEntry]]: + """Parses Program entries from the Windows 8 `Root\\Programs` key. + + :param programs_key: The `Root\\Programs` registry key. + + :return: An iterator of tuples, where the first member is the program ID string for + correlating `Root\\File` entries, and the second member is the `AmcacheEntry`. + """ + for program_key in programs_key.get_subkeys(): + values = { + str(value.get_name()): value + for value in program_key.get_values() + if value.get_name() in [key.value for key in Win8ProgramValName] + } + vollog.debug(f"Parsing Win8 Program key {program_key.get_name()}") + program_id = program_key.get_name().strip().strip("\u0000") + + product = _get_string_value(values, Win8ProgramValName.Product.value) + company = _get_string_value(values, Win8ProgramValName.Publisher.value) + install_time = _get_datetime_utc_epoch_value( + values, Win8ProgramValName.InstallTime.value + ) + _version = _get_string_value(values, Win8ProgramValName.Version.value) + + if isinstance(_version, str): + if isinstance(product, str): + product = f"{product} {_version}" + else: + product = f"UNKNOWN {_version}" + + yield program_id, _AmcacheEntry( + AmcacheEntryType.Program.name, + company=company, + last_modify_time=conversion.wintime_to_datetime( + program_key.LastWriteTime.QuadPart + ), + install_time=install_time, + product_name=product, + ) + + @classmethod + def parse_inventory_app_key( + cls, inv_app_key: reg_extensions.CM_KEY_NODE + ) -> Iterator[Tuple[str, _AmcacheEntry]]: + """Parses InventoryApplication entries from the Windows 10 `Root\\InventoryApplication` key. + + :param programs_key: The `Root\\InventoryApplication` registry key. + + :return: An iterator of tuples, where the first member is the program ID string for + correlating `Root\\InventoryApplicationFile` entries, and the second member is the `AmcacheEntry`. + """ + for program_key in inv_app_key.get_subkeys(): + program_id = program_key.get_name() + + values = { + str(value.get_name()): value + for value in program_key.get_values() + if value.get_name() in [key.value for key in Win10InvAppValName] + } + + name = _get_string_value(values, Win10InvAppValName.Name.value) + version = _get_string_value(values, Win10InvAppValName.Version.value) + publisher = _get_string_value(values, Win10InvAppValName.Publisher.value) + path = _get_string_value(values, Win10InvAppValName.RootDirPath.value) + install_date = _get_datetime_str_value( + values, Win10InvAppValName.InstallDate.value + ) + last_mod = conversion.wintime_to_datetime( + program_key.LastWriteTime.QuadPart + ) + + product: str = name if isinstance(name, str) else "UNKNOWN" # type: ignore + if isinstance(version, str): + product += " " + version + + yield program_id.strip().strip("\u0000"), _AmcacheEntry( + AmcacheEntryType.Program.name, + path=path, + last_modify_time=last_mod, + install_time=install_date, + product_name=product, + company=publisher, + ) + + @classmethod + def parse_inventory_app_file_key( + cls, inv_app_file_key: reg_extensions.CM_KEY_NODE + ) -> Iterator[Tuple[NullableString, _AmcacheEntry]]: + """Parses executable file entries from the `Root\\InventoryApplicationFile` registry key. + + :param inv_app_file_key: The `Root\\InventoryApplicationFile` registry key. + :return: An iterator of tuples, where the first member is the program ID string for correlating + with it's parent `InventoryApplication` program entry, and the second member is the `Amcache` entry. + """ + + valName = Win10InvAppFileValName + + for file_key in inv_app_file_key.get_subkeys(): + + vollog.debug( + f"Parsing Win10 InventoryApplicationFile key {file_key.get_name()}" + ) + + values = { + str(value.get_name()): value + for value in file_key.get_values() + if value.get_name() in [key.value for key in valName] + } + + last_mod = conversion.wintime_to_datetime(file_key.LastWriteTime.QuadPart) + path = _get_string_value(values, valName.LowerCaseLongPath.value) + linkdate = _get_datetime_str_value(values, valName.LinkDate.value) + sha1_hash = _get_string_value(values, valName.FileId.value) + publisher = _get_string_value(values, valName.Publisher.value) + prod_name = _get_string_value(values, valName.ProductName.value) + prod_ver = _get_string_value(values, valName.ProductVersion.value) + program_id = _get_string_value(values, valName.ProgramID.value) + + if isinstance(prod_ver, str): + if isinstance(prod_name, str): + prod_name = f"{prod_name} {prod_ver}" + else: + prod_name = f"UNKNOWN {prod_ver}" + + yield program_id, _AmcacheEntry( + AmcacheEntryType.File.name, + path=path, + company=publisher, + last_modify_time=last_mod, + compile_time=linkdate, + sha1_hash=( + sha1_hash.lstrip("0000") + if isinstance(sha1_hash, str) + else sha1_hash + ), + product_name=prod_name, + ) + + @classmethod + def parse_driver_binary_key( + cls, driver_binary_key: reg_extensions.CM_KEY_NODE + ) -> Iterator[_AmcacheEntry]: + """Parses information about installed drivers from the `Root\\InventoryDriverBinary` registry key. + + :param driver_binary_key: The `Root\\InventoryDriverBinary` registry key + :return: An iterator of `AmcacheEntry`s + """ + for binary_key in driver_binary_key.get_subkeys(): + + valName = Win10DriverBinaryValName + + values = { + str(value.get_name()): value + for value in binary_key.get_values() + if value.get_name() in [key.value for key in valName] + } + + # Depending on the Windows version, the key name will be either the name + # of the driver, or its SHA1 hash. + if "/" in binary_key.get_name(): + driver_name = binary_key.get_name() + sha1_hash = _get_string_value(values, valName.DriverId.name) + else: + sha1_hash = binary_key.get_name() + driver_name = _get_string_value(values, valName.DriverName.name) + + if isinstance(sha1_hash, str): + sha1_hash = sha1_hash[4:] if sha1_hash.startswith("0000") else sha1_hash + + company, product, service, last_write_time, driver_timestamp = ( + _get_string_value(values, valName.DriverCompany.name), + _get_string_value(values, valName.Product.name), + _get_string_value(values, valName.Service.name), + conversion.wintime_to_datetime(binary_key.LastWriteTime.QuadPart), + _get_datetime_utc_epoch_value(values, valName.DriverTimeStamp.name), + ) + + yield _AmcacheEntry( + entry_type=AmcacheEntryType.Driver.name, + path=driver_name, + company=company, + last_modify_time=last_write_time, + compile_time=driver_timestamp, + sha1_hash=( + sha1_hash.lstrip("0000") + if isinstance(sha1_hash, str) + else sha1_hash + ), + service=service, + product_name=product, + ) + + def _generator(self) -> Iterator[Tuple[int, _AmcacheEntry]]: + kernel = self.context.modules[self.config["kernel"]] + + def indented( + entry_gen: Iterable[_AmcacheEntry], indent: int = 0 + ) -> Iterator[Tuple[int, _AmcacheEntry]]: + for item in entry_gen: + yield indent, item + + # Building the dictionary ahead of time is much better for performance + # vs looking up each service's DLL individually. + amcache = self.get_amcache_hive(self.context, self.config_path, kernel) + if amcache is None: + return + + try: + yield from indented( + self.parse_driver_binary_key( + amcache.get_key("Root\\InventoryDriverBinary") # type: ignore + ) + ) + except KeyError: + # Registry key not found + pass + + try: + programs: Dict[str, _AmcacheEntry] = { + program_id: entry + for program_id, entry in self.parse_programs_key( + amcache.get_key("Root\\Programs") + ) # type: ignore + } + except KeyError: + programs = {} + + try: + files = sorted( + list( + self.parse_file_key(amcache.get_key("Root\\File")), # type: ignore + ), + key=_entry_sort_key, + ) + except KeyError: + files = [] + + for program_id, file_entries in itertools.groupby( + files, + key=_entry_sort_key, + ): + files_indent = 0 + if isinstance(program_id, str): + try: + program_entry = programs.pop(program_id.strip().strip("\u0000")) + yield (0, program_entry) + + files_indent = 1 + except KeyError: + # No parent program for this file entry + pass + for _, entry in file_entries: + yield files_indent, entry + + for empty_program in programs.values(): + yield 0, empty_program + + try: + programs: Dict[str, _AmcacheEntry] = dict( + self.parse_inventory_app_key( + amcache.get_key("Root\\InventoryApplication") # type: ignore + ) + ) + except KeyError: + programs = {} + + try: + files = sorted( + list( + self.parse_inventory_app_file_key(amcache.get_key("Root\\InventoryApplicationFile")), # type: ignore + ), + key=_entry_sort_key, + ) + except KeyError: + files = [] + + for program_id, file_entries in itertools.groupby( + files, + key=_entry_sort_key, + ): + files_indent = 0 + + if isinstance(program_id, str): + try: + program_entry = programs.pop(program_id.strip().strip("\u0000")) + yield (0, program_entry) + files_indent = 1 + except KeyError: + # No parent program for this file entry + pass + + for _, entry in file_entries: + yield files_indent, entry + + for empty_program in programs.values(): + yield 0, empty_program + + def run(self): + + return renderers.TreeGrid( + [ + ("EntryType", str), + ("Path", str), + ("Company", str), + ("LastModifyTime", datetime.datetime), + ("LastModifyTime2", datetime.datetime), + ("InstallTime", datetime.datetime), + ("CompileTime", datetime.datetime), + ("SHA1", str), + ("Service", str), + ("ProductName", str), + ], + ( + (indent, dataclasses.astuple(entry)) + for indent, entry in self._generator() + ), + ) diff --git a/volatility3/framework/plugins/windows/registry/hivelist.py b/volatility3/framework/plugins/windows/registry/hivelist.py index 1cc76dad6..ddc9c1855 100644 --- a/volatility3/framework/plugins/windows/registry/hivelist.py +++ b/volatility3/framework/plugins/windows/registry/hivelist.py @@ -2,9 +2,9 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import Iterator, List, Tuple, Iterable, Optional +from typing import Iterator, List, Optional, Tuple -from volatility3.framework import renderers, interfaces, exceptions +from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.layers import registry from volatility3.framework.renderers import format_hints @@ -140,8 +140,8 @@ class HiveList(interfaces.plugins.PluginInterface): layer_name: str, symbol_table: str, filter_string: Optional[str] = None, - hive_offsets: List[int] = None, - ) -> Iterable[registry.RegistryHive]: + hive_offsets: Optional[List[int]] = None, + ) -> Iterator[registry.RegistryHive]: """Walks through a registry, hive by hive returning the constructed registry layer name. @@ -200,7 +200,7 @@ class HiveList(interfaces.plugins.PluginInterface): context: interfaces.context.ContextInterface, layer_name: str, symbol_table: str, - filter_string: str = None, + filter_string: Optional[str] = None, ) -> Iterator[interfaces.objects.ObjectInterface]: """Lists all the hives in the primary layer. diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index 51be0841c..2e401caa3 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -5,7 +5,7 @@ import contextlib import enum import logging import struct -from typing import Iterable, Optional, Union +from typing import Iterator, Optional, Union, cast from volatility3.framework import constants, exceptions, interfaces, objects from volatility3.framework.layers.registry import ( @@ -39,6 +39,29 @@ class RegValueTypes(enum.Enum): return cls(RegValueTypes.REG_UNKNOWN) +INTEGER_TYPES = [ + RegValueTypes.REG_DWORD, + RegValueTypes.REG_QWORD, + RegValueTypes.REG_DWORD_BIG_ENDIAN, + RegValueTypes.REG_DWORD_BIG_ENDIAN, +] + +STRING_TYPES = [ + RegValueTypes.REG_SZ, + RegValueTypes.REG_MULTI_SZ, + RegValueTypes.REG_EXPAND_SZ, + RegValueTypes.REG_LINK, +] + +BINARY_TYPES = [ + RegValueTypes.REG_RESOURCE_LIST, + RegValueTypes.REG_BINARY, + RegValueTypes.REG_FULL_RESOURCE_DESCRIPTOR, + RegValueTypes.REG_RESOURCE_REQUIREMENTS_LIST, + RegValueTypes.REG_NONE, +] + + class RegKeyFlags(enum.IntEnum): KEY_IS_VOLATILE = 0x01 KEY_HIVE_EXIT = 0x02 @@ -142,7 +165,7 @@ class CM_KEY_NODE(objects.StructType): ) return bool(self.vol.offset & 0x80000000) - def get_subkeys(self) -> Iterable[interfaces.objects.ObjectInterface]: + def get_subkeys(self) -> Iterator["CM_KEY_NODE"]: """Returns a list of the key nodes.""" hive = self._context.layers[self.vol.layer_name] if not isinstance(hive, RegistryHive): @@ -152,9 +175,18 @@ class CM_KEY_NODE(objects.StructType): subkey_node = hive.get_cell(self.SubKeyLists[index]).u.KeyIndex yield from self._get_subkeys_recursive(hive, subkey_node) + def get_value(self, value_name) -> Optional["CM_KEY_VALUE"]: + for value in self.get_values(): + if value.name == value_name: + return value + return next( + (value for value in self.get_values() if value.get_name() == value_name), + None, + ) + def _get_subkeys_recursive( self, hive: RegistryHive, node: interfaces.objects.ObjectInterface - ) -> Iterable[interfaces.objects.ObjectInterface]: + ) -> Iterator["CM_KEY_NODE"]: """Recursively descend a node returning subkeys.""" # The keylist appears to include 4 bytes of key name after each value # We can either double the list and only use the even items, or @@ -170,7 +202,7 @@ class CM_KEY_NODE(objects.StructType): elif signature == "lh" or signature == "lf": listjump = 2 elif node.vol.type_name.endswith(constants.BANG + "_CM_KEY_NODE"): - yield node + yield cast("CM_KEY_NODE", node) else: vollog.debug( "Unexpected node type encountered when traversing subkeys: {}, signature: {}".format( @@ -200,7 +232,7 @@ class CM_KEY_NODE(objects.StructType): continue yield from self._get_subkeys_recursive(hive, subnode) - def get_values(self) -> Iterable[interfaces.objects.ObjectInterface]: + def get_values(self) -> Iterator["CM_KEY_VALUE"]: """Returns a list of the Value nodes for a key.""" hive = self._context.layers[self.vol.layer_name] if not isinstance(hive, RegistryHive): @@ -216,13 +248,14 @@ class CM_KEY_NODE(objects.StructType): except (RegistryInvalidIndex, RegistryFormatException) as excp: vollog.debug(f"Invalid address {excp}") continue - if node.vol.type_name.endswith(constants.BANG + "_CM_KEY_VALUE"): + if isinstance(node, CM_KEY_VALUE): yield node + except (exceptions.InvalidAddressException, RegistryFormatException) as excp: vollog.debug(f"Invalid address in get_values iteration: {excp}") return None - def get_name(self) -> interfaces.objects.ObjectInterface: + def get_name(self) -> str: """Gets the name for the current key node""" namelength = self.NameLength self.Name.count = namelength @@ -249,6 +282,10 @@ class CM_KEY_VALUE(objects.StructType): self.Name.count = namelength return self.Name.cast("string", max_length=namelength, encoding="latin-1") + def get_type(self) -> RegValueTypes: + """Get the type of the registry value""" + return RegValueTypes(self.Type) + def decode_data(self) -> Union[int, bytes]: """Properly decodes the data associated with the value node""" # Determine if the data is stored inline @@ -293,29 +330,28 @@ class CM_KEY_VALUE(objects.StructType): # but the length at the start could be negative so just adding 4 to jump past it data = layer.read(self.Data + 4, datalen) - self_type = RegValueTypes(self.Type) - if self_type == RegValueTypes.REG_DWORD: + if self.get_type() == RegValueTypes.REG_DWORD: if len(data) != struct.calcsize("L"): raise ValueError( f"Size of data does not match the type of registry value {self.get_name()}" ) (res,) = struct.unpack(">L", data) return res - if self_type == RegValueTypes.REG_QWORD: + if self.get_type() == RegValueTypes.REG_QWORD: if len(data) != struct.calcsize(" Date: Mon, 7 Oct 2024 13:14:32 -0500 Subject: [PATCH 0751/2186] Remove unused method --- .../framework/symbols/windows/extensions/registry.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index 2e401caa3..9b09c7d98 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -175,15 +175,6 @@ class CM_KEY_NODE(objects.StructType): subkey_node = hive.get_cell(self.SubKeyLists[index]).u.KeyIndex yield from self._get_subkeys_recursive(hive, subkey_node) - def get_value(self, value_name) -> Optional["CM_KEY_VALUE"]: - for value in self.get_values(): - if value.name == value_name: - return value - return next( - (value for value in self.get_values() if value.get_name() == value_name), - None, - ) - def _get_subkeys_recursive( self, hive: RegistryHive, node: interfaces.objects.ObjectInterface ) -> Iterator["CM_KEY_NODE"]: From e46d24397db29f3eb61a872b3df62b4974f24041 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 7 Oct 2024 13:17:01 -0500 Subject: [PATCH 0752/2186] Code review fixes --- .../framework/plugins/windows/amcache.py | 108 ++++++++++-------- 1 file changed, 58 insertions(+), 50 deletions(-) diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index 5838c62a0..33bae718d 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -5,8 +5,8 @@ import dataclasses import datetime import enum -import logging import itertools +import logging from typing import Dict, Iterable, Iterator, List, Optional, Tuple, Union from volatility3.framework import interfaces, renderers @@ -132,6 +132,7 @@ class _AmcacheEntry: sha1_hash: NullableString = renderers.NotApplicableValue() service: NullableString = renderers.NotApplicableValue() product_name: NullableString = renderers.NotApplicableValue() + product_version: NullableString = renderers.NotApplicableValue() def _entry_sort_key(entry_tuple: Tuple[NullableString, _AmcacheEntry]) -> str: @@ -279,6 +280,10 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): correlating `Root\\Program` entries, and the second member is the `AmcacheEntry`. """ + val_enum = Win8FileValName + + wanted_values = [key.value for key in val_enum] + for file_entry_key in itertools.chain( *(key.get_subkeys() for key in file_key.get_subkeys()) ): @@ -286,27 +291,27 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): values = { str(value.get_name()): value for value in file_entry_key.get_values() - if value.get_name() in [key.value for key in Win8FileValName] + if value.get_name() in wanted_values } - program_id = _get_string_value(values, Win8FileValName.ProgramID.value) - path = _get_string_value(values, Win8FileValName.Path.value) - company = _get_string_value(values, Win8FileValName.Company.value) + program_id = _get_string_value(values, val_enum.ProgramID.value) + path = _get_string_value(values, val_enum.Path.value) + company = _get_string_value(values, val_enum.Company.value) last_mod_time = _get_datetime_filetime_value( - values, Win8FileValName.LastModTime.value + values, val_enum.LastModTime.value ) last_mod_time_2 = _get_datetime_filetime_value( - values, Win8FileValName.LastModTime2.value + values, val_enum.LastModTime2.value ) install_time = _get_datetime_filetime_value( - values, Win8FileValName.CreateTime.value + values, val_enum.CreateTime.value ) compile_time = _get_datetime_utc_epoch_value( - values, Win8FileValName.CompileTime.value + values, val_enum.CompileTime.value ) - sha1_hash = _get_string_value(values, Win8FileValName.SHA1Hash.value) + sha1_hash = _get_string_value(values, val_enum.SHA1Hash.value) vollog.debug(f"Found sha1hash {sha1_hash}") - product_name = _get_string_value(values, Win8FileValName.Product.value) + product_name = _get_string_value(values, val_enum.Product.value) yield program_id, _AmcacheEntry( AmcacheEntryType.File.name, @@ -335,21 +340,24 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): :return: An iterator of tuples, where the first member is the program ID string for correlating `Root\\File` entries, and the second member is the `AmcacheEntry`. """ + val_enum = Win8ProgramValName + + wanted_values = [key.value for key in val_enum] for program_key in programs_key.get_subkeys(): values = { str(value.get_name()): value for value in program_key.get_values() - if value.get_name() in [key.value for key in Win8ProgramValName] + if value.get_name() in wanted_values } vollog.debug(f"Parsing Win8 Program key {program_key.get_name()}") program_id = program_key.get_name().strip().strip("\u0000") - product = _get_string_value(values, Win8ProgramValName.Product.value) - company = _get_string_value(values, Win8ProgramValName.Publisher.value) + product = _get_string_value(values, val_enum.Product.value) + company = _get_string_value(values, val_enum.Publisher.value) install_time = _get_datetime_utc_epoch_value( - values, Win8ProgramValName.InstallTime.value + values, val_enum.InstallTime.value ) - _version = _get_string_value(values, Win8ProgramValName.Version.value) + _version = _get_string_value(values, val_enum.Version.value) if isinstance(_version, str): if isinstance(product, str): @@ -378,29 +386,29 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): :return: An iterator of tuples, where the first member is the program ID string for correlating `Root\\InventoryApplicationFile` entries, and the second member is the `AmcacheEntry`. """ + val_enum = Win10InvAppValName + + wanted_values = [key.value for key in val_enum] + for program_key in inv_app_key.get_subkeys(): program_id = program_key.get_name() values = { str(value.get_name()): value for value in program_key.get_values() - if value.get_name() in [key.value for key in Win10InvAppValName] + if value.get_name() in wanted_values } - name = _get_string_value(values, Win10InvAppValName.Name.value) - version = _get_string_value(values, Win10InvAppValName.Version.value) - publisher = _get_string_value(values, Win10InvAppValName.Publisher.value) - path = _get_string_value(values, Win10InvAppValName.RootDirPath.value) - install_date = _get_datetime_str_value( - values, Win10InvAppValName.InstallDate.value - ) + name = _get_string_value(values, val_enum.Name.value) + version = _get_string_value(values, val_enum.Version.value) + publisher = _get_string_value(values, val_enum.Publisher.value) + path = _get_string_value(values, val_enum.RootDirPath.value) + install_date = _get_datetime_str_value(values, val_enum.InstallDate.value) last_mod = conversion.wintime_to_datetime( program_key.LastWriteTime.QuadPart ) product: str = name if isinstance(name, str) else "UNKNOWN" # type: ignore - if isinstance(version, str): - product += " " + version yield program_id.strip().strip("\u0000"), _AmcacheEntry( AmcacheEntryType.Program.name, @@ -409,6 +417,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): install_time=install_date, product_name=product, company=publisher, + product_version=version, ) @classmethod @@ -422,7 +431,9 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): with it's parent `InventoryApplication` program entry, and the second member is the `Amcache` entry. """ - valName = Win10InvAppFileValName + val_enum = Win10InvAppFileValName + + wanted_values = [key.value for key in val_enum] for file_key in inv_app_file_key.get_subkeys(): @@ -433,23 +444,17 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): values = { str(value.get_name()): value for value in file_key.get_values() - if value.get_name() in [key.value for key in valName] + if value.get_name() in wanted_values } last_mod = conversion.wintime_to_datetime(file_key.LastWriteTime.QuadPart) - path = _get_string_value(values, valName.LowerCaseLongPath.value) - linkdate = _get_datetime_str_value(values, valName.LinkDate.value) - sha1_hash = _get_string_value(values, valName.FileId.value) - publisher = _get_string_value(values, valName.Publisher.value) - prod_name = _get_string_value(values, valName.ProductName.value) - prod_ver = _get_string_value(values, valName.ProductVersion.value) - program_id = _get_string_value(values, valName.ProgramID.value) - - if isinstance(prod_ver, str): - if isinstance(prod_name, str): - prod_name = f"{prod_name} {prod_ver}" - else: - prod_name = f"UNKNOWN {prod_ver}" + path = _get_string_value(values, val_enum.LowerCaseLongPath.value) + linkdate = _get_datetime_str_value(values, val_enum.LinkDate.value) + sha1_hash = _get_string_value(values, val_enum.FileId.value) + publisher = _get_string_value(values, val_enum.Publisher.value) + prod_name = _get_string_value(values, val_enum.ProductName.value) + prod_ver = _get_string_value(values, val_enum.ProductVersion.value) + program_id = _get_string_value(values, val_enum.ProgramID.value) yield program_id, _AmcacheEntry( AmcacheEntryType.File.name, @@ -463,6 +468,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): else sha1_hash ), product_name=prod_name, + product_version=prod_ver, ) @classmethod @@ -474,34 +480,36 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): :param driver_binary_key: The `Root\\InventoryDriverBinary` registry key :return: An iterator of `AmcacheEntry`s """ - for binary_key in driver_binary_key.get_subkeys(): + val_enum = Win10DriverBinaryValName - valName = Win10DriverBinaryValName + wanted_values = [key.value for key in val_enum] + + for binary_key in driver_binary_key.get_subkeys(): values = { str(value.get_name()): value for value in binary_key.get_values() - if value.get_name() in [key.value for key in valName] + if value.get_name() in wanted_values } # Depending on the Windows version, the key name will be either the name # of the driver, or its SHA1 hash. if "/" in binary_key.get_name(): driver_name = binary_key.get_name() - sha1_hash = _get_string_value(values, valName.DriverId.name) + sha1_hash = _get_string_value(values, val_enum.DriverId.name) else: sha1_hash = binary_key.get_name() - driver_name = _get_string_value(values, valName.DriverName.name) + driver_name = _get_string_value(values, val_enum.DriverName.name) if isinstance(sha1_hash, str): sha1_hash = sha1_hash[4:] if sha1_hash.startswith("0000") else sha1_hash company, product, service, last_write_time, driver_timestamp = ( - _get_string_value(values, valName.DriverCompany.name), - _get_string_value(values, valName.Product.name), - _get_string_value(values, valName.Service.name), + _get_string_value(values, val_enum.DriverCompany.name), + _get_string_value(values, val_enum.Product.name), + _get_string_value(values, val_enum.Service.name), conversion.wintime_to_datetime(binary_key.LastWriteTime.QuadPart), - _get_datetime_utc_epoch_value(values, valName.DriverTimeStamp.name), + _get_datetime_utc_epoch_value(values, val_enum.DriverTimeStamp.name), ) yield _AmcacheEntry( From e622acc7f8bd458b895d89a7a8922c1ee3f92e0e Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 7 Oct 2024 13:17:44 -0500 Subject: [PATCH 0753/2186] Minor version bump: registry extensions API addition --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index a131609c9..ce803a687 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 10 # Number of changes that only add to the interface +VERSION_MINOR = 11 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" From dec0d506f91c87f5ceced7a12766f746f0df68e3 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 7 Oct 2024 13:54:07 -0500 Subject: [PATCH 0754/2186] Fix type signature on get_name --- volatility3/framework/symbols/windows/extensions/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index 9b09c7d98..bebfaea89 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -246,7 +246,7 @@ class CM_KEY_NODE(objects.StructType): vollog.debug(f"Invalid address in get_values iteration: {excp}") return None - def get_name(self) -> str: + def get_name(self) -> interfaces.objects.ObjectInterface: """Gets the name for the current key node""" namelength = self.NameLength self.Name.count = namelength From 27ea555b378b89b005bb030ecbdd6f94c872d966 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 7 Oct 2024 13:54:30 -0500 Subject: [PATCH 0755/2186] Add product version to output columns --- volatility3/framework/plugins/windows/amcache.py | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index 33bae718d..8d0a4769e 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -357,13 +357,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): install_time = _get_datetime_utc_epoch_value( values, val_enum.InstallTime.value ) - _version = _get_string_value(values, val_enum.Version.value) - - if isinstance(_version, str): - if isinstance(product, str): - product = f"{product} {_version}" - else: - product = f"UNKNOWN {_version}" + version = _get_string_value(values, val_enum.Version.value) yield program_id, _AmcacheEntry( AmcacheEntryType.Program.name, @@ -373,6 +367,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), install_time=install_time, product_name=product, + product_version=version, ) @classmethod @@ -494,11 +489,11 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Depending on the Windows version, the key name will be either the name # of the driver, or its SHA1 hash. - if "/" in binary_key.get_name(): - driver_name = binary_key.get_name() + if "/" in str(binary_key.get_name()): + driver_name = str(binary_key.get_name()) sha1_hash = _get_string_value(values, val_enum.DriverId.name) else: - sha1_hash = binary_key.get_name() + sha1_hash = str(binary_key.get_name()) driver_name = _get_string_value(values, val_enum.DriverName.name) if isinstance(sha1_hash, str): @@ -646,6 +641,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ("SHA1", str), ("Service", str), ("ProductName", str), + ("ProductVersion", str), ], ( (indent, dataclasses.astuple(entry)) From 996875c059bd8f817e98a40bd7e782070798275d Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 7 Oct 2024 16:13:12 -0500 Subject: [PATCH 0756/2186] #1298 - include hive name in key path --- volatility3/framework/plugins/windows/registry/printkey.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index 180f8f9d9..4fe3f97fb 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -20,7 +20,7 @@ class PrintKey(interfaces.plugins.PluginInterface): """Lists the registry keys under a hive or specific key value.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -282,7 +282,7 @@ class PrintKey(interfaces.plugins.PluginInterface): renderers.UnreadableValue(), format_hints.Hex(hive.hive_offset), "Key", - "?\\" + (key or ""), + f"{hive.get_name()}\\" + (key or ""), renderers.UnreadableValue(), renderers.UnreadableValue(), renderers.UnreadableValue(), From 9addf6bee815bf6ad4a3333bb2ba155a5ad8ed06 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 7 Oct 2024 22:56:20 +0100 Subject: [PATCH 0757/2186] Remove the old .style.yapf This was used before we shifted to black permanently. It allowed additional spacing between keyword arguments and their default values, but it was inconsisnent and could get in a state where it would flip between two weights, so every "fix" would then be "fixed" back again. No longer feasible for a project of this size. --- .style.yapf | 261 ---------------------------------------------------- 1 file changed, 261 deletions(-) delete mode 100644 .style.yapf diff --git a/.style.yapf b/.style.yapf deleted file mode 100644 index 3f154e07b..000000000 --- a/.style.yapf +++ /dev/null @@ -1,261 +0,0 @@ -[style] -# Align closing bracket with visual indentation. -align_closing_bracket_with_visual_indent=True - -# Allow dictionary keys to exist on multiple lines. For example: -# -# x = { -# ('this is the first element of a tuple', -# 'this is the second element of a tuple'): -# value, -# } -allow_multiline_dictionary_keys=False - -# Allow lambdas to be formatted on more than one line. -allow_multiline_lambdas=False - -# Allow splits before the dictionary value. -allow_split_before_dict_value=True - -# Number of blank lines surrounding top-level function and class -# definitions. -blank_lines_around_top_level_definition=2 - -# Insert a blank line before a class-level docstring. -blank_line_before_class_docstring=False - -# Insert a blank line before a module docstring. -blank_line_before_module_docstring=False - -# Insert a blank line before a 'def' or 'class' immediately nested -# within another 'def' or 'class'. For example: -# -# class Foo: -# # <------ this blank line -# def method(): -# ... -blank_line_before_nested_class_or_def=True - -# Do not split consecutive brackets. Only relevant when -# dedent_closing_brackets is set. For example: -# -# call_func_that_takes_a_dict( -# { -# 'key1': 'value1', -# 'key2': 'value2', -# } -# ) -# -# would reformat to: -# -# call_func_that_takes_a_dict({ -# 'key1': 'value1', -# 'key2': 'value2', -# }) -coalesce_brackets=False - -# The column limit. -column_limit=120 - -# The style for continuation alignment. Possible values are: -# -# - SPACE: Use spaces for continuation alignment. This is default behavior. -# - FIXED: Use fixed number (CONTINUATION_INDENT_WIDTH) of columns -# (ie: CONTINUATION_INDENT_WIDTH/INDENT_WIDTH tabs) for continuation -# alignment. -# - LESS: Slightly left if cannot vertically align continuation lines with -# indent characters. -# - VALIGN-RIGHT: Vertically align continuation lines with indent -# characters. Slightly right (one more indent character) if cannot -# vertically align continuation lines with indent characters. -# -# For options FIXED, and VALIGN-RIGHT are only available when USE_TABS is -# enabled. -continuation_align_style=SPACE - -# Indent width used for line continuations. -continuation_indent_width=4 - -# Put closing brackets on a separate line, dedented, if the bracketed -# expression can't fit in a single line. Applies to all kinds of brackets, -# including function definitions and calls. For example: -# -# config = { -# 'key1': 'value1', -# 'key2': 'value2', -# } # <--- this bracket is dedented and on a separate line -# -# time_series = self.remote_client.query_entity_counters( -# entity='dev3246.region1', -# key='dns.query_latency_tcp', -# transform=Transformation.AVERAGE(window=timedelta(seconds=60)), -# start_ts=now()-timedelta(days=3), -# end_ts=now(), -# ) # <--- this bracket is dedented and on a separate line -dedent_closing_brackets=False - -# Disable the heuristic which places each list element on a separate line -# if the list is comma-terminated. -disable_ending_comma_heuristic=False - -# Place each dictionary entry onto its own line. -each_dict_entry_on_separate_line=True - -# The regex for an i18n comment. The presence of this comment stops -# reformatting of that line, because the comments are required to be -# next to the string they translate. -i18n_comment= - -# The i18n function call names. The presence of this function stops -# reformatting on that line, because the string it has cannot be moved -# away from the i18n comment. -i18n_function_call= - -# Indent the dictionary value if it cannot fit on the same line as the -# dictionary key. For example: -# -# config = { -# 'key1': -# 'value1', -# 'key2': value1 + -# value2, -# } -indent_dictionary_value=False - -# The number of columns to use for indentation. -indent_width=4 - -# Join short lines into one line. E.g., single line 'if' statements. -join_multiple_lines=True - -# Do not include spaces around selected binary operators. For example: -# -# 1 + 2 * 3 - 4 / 5 -# -# will be formatted as follows when configured with "*,/": -# -# 1 + 2*3 - 4/5 -# -no_spaces_around_selected_binary_operators= - -# Use spaces around default or named assigns. -spaces_around_default_or_named_assign=True - -# Use spaces around the power operator. -spaces_around_power_operator=True - -# The number of spaces required before a trailing comment. -spaces_before_comment=2 - -# Insert a space between the ending comma and closing bracket of a list, -# etc. -space_between_ending_comma_and_closing_bracket=True - -# Split before arguments -split_all_comma_separated_values=False - -# Split before arguments if the argument list is terminated by a -# comma. -split_arguments_when_comma_terminated=False - -# Set to True to prefer splitting before '&', '|' or '^' rather than -# after. -split_before_bitwise_operator=True - -# Split before the closing bracket if a list or dict literal doesn't fit on -# a single line. -split_before_closing_bracket=True - -# Split before a dictionary or set generator (comp_for). For example, note -# the split before the 'for': -# -# foo = { -# variable: 'Hello world, have a nice day!' -# for variable in bar if variable != 42 -# } -split_before_dict_set_generator=True - -# Split before the '.' if we need to split a longer expression: -# -# foo = ('This is a really long string: {}, {}, {}, {}'.format(a, b, c, d)) -# -# would reformat to something like: -# -# foo = ('This is a really long string: {}, {}, {}, {}' -# .format(a, b, c, d)) -split_before_dot=False - -# Split after the opening paren which surrounds an expression if it doesn't -# fit on a single line. -split_before_expression_after_opening_paren=False - -# If an argument / parameter list is going to be split, then split before -# the first argument. -split_before_first_argument=False - -# Set to True to prefer splitting before 'and' or 'or' rather than -# after. -split_before_logical_operator=True - -# Split named assignments onto individual lines. -split_before_named_assigns=True - -# Set to True to split list comprehensions and generators that have -# non-trivial expressions and multiple clauses before each of these -# clauses. For example: -# -# result = [ -# a_long_var + 100 for a_long_var in xrange(1000) -# if a_long_var % 10] -# -# would reformat to something like: -# -# result = [ -# a_long_var + 100 -# for a_long_var in xrange(1000) -# if a_long_var % 10] -split_complex_comprehension=True - -# The penalty for splitting right after the opening bracket. -split_penalty_after_opening_bracket=200 - -# The penalty for splitting the line after a unary operator. -split_penalty_after_unary_operator=10000 - -# The penalty for splitting right before an if expression. -split_penalty_before_if_expr=0 - -# The penalty of splitting the line around the '&', '|', and '^' -# operators. -split_penalty_bitwise_operator=300 - -# The penalty for splitting a list comprehension or generator -# expression. -split_penalty_comprehension=80 - -# The penalty for characters over the column limit. -split_penalty_excess_character=7000 - -# The penalty incurred by adding a line split to the unwrapped line. The -# more line splits added the higher the penalty. -split_penalty_for_added_line_split=30 - -# The penalty of splitting a list of "import as" names. For example: -# -# from a_very_long_or_indented_module_name_yada_yad import (long_argument_1, -# long_argument_2, -# long_argument_3) -# -# would reformat to something like: -# -# from a_very_long_or_indented_module_name_yada_yad import ( -# long_argument_1, long_argument_2, long_argument_3) -split_penalty_import_names=0 - -# The penalty of splitting the line around the 'and' and 'or' -# operators. -split_penalty_logical_operator=300 - -# Use the Tab character for indentation. -use_tabs=False - From e419b67581e6d31d7959480d5904e283fa2929a1 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 8 Oct 2024 02:06:04 +0200 Subject: [PATCH 0758/2186] introduce dirty state ioc --- .../framework/plugins/windows/malfind.py | 29 +++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 079274d69..5ce2279cc 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -122,10 +122,30 @@ class Malfind(interfaces.plugins.PluginInterface): vadinfo.winnt_protections, ) write_exec = "EXECUTE" in protection_string and "WRITE" in protection_string + dirty_page_check = False - # the write/exec check applies to everything if not write_exec: - continue + """ + # Inspect "PAGE_EXECUTE_READ" VAD pages to detect + # non writable memory regions having been injected + # using elevated WriteProcessMemory(). + """ + if "EXECUTE" in protection_string: + for page in range( + vad.get_start(), vad.get_end(), proc_layer.page_size + ): + try: + # If we have a dirty page in a non writable "EXECUTE" region, it is suspicious. + if proc_layer.is_dirty(page): + dirty_page_check = True + break + except exceptions.InvalidAddressException: + # Abort as it is likely that other addresses in the same range will also fail + break + if not dirty_page_check: + continue + else: + continue if (vad.get_private_memory() == 1 and vad.get_tag() == "VadS") or ( vad.get_private_memory() == 0 @@ -134,6 +154,11 @@ class Malfind(interfaces.plugins.PluginInterface): if cls.is_vad_empty(proc_layer, vad): continue + if dirty_page_check: + # Useful information to investigate the page content with volshell afterwards. + vollog.warning( + f"[proc_id {proc_id}] Found suspicious DIRTY + {protection_string} page at {hex(page)}", + ) data = proc_layer.read(vad.get_start(), 64, pad=True) yield vad, data From f92dfdd33b504e781d9ba660b8fba625618e33a9 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 8 Oct 2024 15:53:07 +1100 Subject: [PATCH 0759/2186] Linux: ptrace: remove patch number in plugin requirement --- volatility3/framework/plugins/linux/ptrace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/ptrace.py b/volatility3/framework/plugins/linux/ptrace.py index 793a1b3a1..1a37b8782 100644 --- a/volatility3/framework/plugins/linux/ptrace.py +++ b/volatility3/framework/plugins/linux/ptrace.py @@ -31,7 +31,7 @@ class Ptrace(plugins.PluginInterface): architectures=LINUX_ARCHS, ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 2, 1) + name="pslist", plugin=pslist.PsList, version=(2, 2, 0) ), ] From eb2d4b176518d8337a82ebc61b99ed04186904e3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 8 Oct 2024 15:54:48 +1100 Subject: [PATCH 0760/2186] Linux: ptrace: add ptrace functions to the task_struct object extension --- .../symbols/linux/extensions/__init__.py | 38 ++++++++++++++++++- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index fdd34403a..7f6d44319 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -13,13 +13,12 @@ from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union, from volatility3.framework import constants, exceptions, objects, interfaces, symbols from volatility3.framework.renderers import conversion -from volatility3.framework.configuration import requirements from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATES from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES -from volatility3.framework.constants.linux import CAPABILITIES +from volatility3.framework.constants.linux import CAPABILITIES, PT_FLAGS from volatility3.framework.layers import linear from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed @@ -374,6 +373,41 @@ class task_struct(generic.GenericIntelProcess): ): yield task + @property + def is_being_ptraced(self) -> bool: + """Returns True if this task is being traced using ptrace""" + return self.ptrace != 0 + + @property + def is_ptracing(self) -> bool: + """Returns True if this task is tracing other tasks using ptrace""" + is_tracing = ( + self.ptraced.next.is_readable() + and self.ptraced.next.dereference().vol.offset != self.ptraced.vol.offset + ) + return is_tracing + + def get_ptrace_tracer_tid(self) -> Optional[int]: + """Returns the tracer's TID tracing this task""" + return self.parent.pid if self.is_being_ptraced else None + + def get_ptrace_tracee_tids(self) -> List[int]: + """Returns the list of TIDs being traced by this task""" + task_symbol_table_name = self.get_symbol_table_name() + + task_struct_symname = f"{task_symbol_table_name}{constants.BANG}task_struct" + tracing_tid_list = [ + task_being_traced.pid + for task_being_traced in self.ptraced.to_list( + task_struct_symname, "ptrace_entry" + ) + ] + return tracing_tid_list + + def get_ptrace_tracee_flags(self) -> Optional[str]: + """Returns a string with the ptrace flags""" + return PT_FLAGS(self.ptrace).flags if self.is_being_ptraced else None + class fs_struct(objects.StructType): def get_root_dentry(self): From 3c4b9996ce78a00ef5121782fd75a45f90a557ae Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 8 Oct 2024 16:00:35 +1100 Subject: [PATCH 0761/2186] Linux: ptrace: move tracee TIDs to multiple rows --- volatility3/framework/plugins/linux/ptrace.py | 103 +++++++----------- 1 file changed, 40 insertions(+), 63 deletions(-) diff --git a/volatility3/framework/plugins/linux/ptrace.py b/volatility3/framework/plugins/linux/ptrace.py index 1a37b8782..a1964d960 100644 --- a/volatility3/framework/plugins/linux/ptrace.py +++ b/volatility3/framework/plugins/linux/ptrace.py @@ -3,10 +3,9 @@ # import logging -from typing import List +from typing import List, Iterator -from volatility3.framework import renderers, interfaces, constants, objects -from volatility3.framework.constants.linux import PT_FLAGS +from volatility3.framework import renderers, interfaces from volatility3.framework.constants.architectures import LINUX_ARCHS from volatility3.framework.objects import utility from volatility3.framework.configuration import requirements @@ -17,7 +16,7 @@ vollog = logging.getLogger(__name__) class Ptrace(plugins.PluginInterface): - """Enumerates tracer and tracee tasks""" + """Enumerates ptrace's tracer and tracee tasks""" _required_framework_version = (2, 10, 0) _version = (1, 0, 0) @@ -36,85 +35,63 @@ class Ptrace(plugins.PluginInterface): ] @classmethod - def enumerate_ptraced_tasks( + def enumerate_ptrace_tasks( cls, context: interfaces.context.ContextInterface, - symbol_table: str, - ): - vmlinux = context.modules[symbol_table] + vmlinux_module_name: str, + ) -> Iterator[interfaces.objects.ObjectInterface]: + """Enumerates ptrace's tracer and tracee tasks - tsk_struct_symname = vmlinux.symbol_table_name + constants.BANG + "task_struct" + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + + Yields: + A task_struct object + """ tasks = pslist.PsList.list_tasks( context, - symbol_table, + vmlinux_module_name, filter_func=pslist.PsList.create_pid_filter(), include_threads=True, ) for task in tasks: - tracing_tid_list = [ - int(task_being_traced.pid) - for task_being_traced in task.ptraced.to_list( - tsk_struct_symname, "ptrace_entry" - ) + if task.is_being_ptraced or task.is_ptracing: + yield task + + def _generator(self, vmlinux_module_name): + for task in self.enumerate_ptrace_tasks(self.context, vmlinux_module_name): + task_comm = utility.array_to_string(task.comm) + user_pid = task.tgid + user_tid = task.pid + tracer_tid = task.get_ptrace_tracer_tid() or renderers.NotAvailableValue() + tracee_tids = task.get_ptrace_tracee_tids() or [ + renderers.NotAvailableValue() ] + flags = task.get_ptrace_tracee_flags() or renderers.NotAvailableValue() - if task.ptrace == 0 and not tracing_tid_list: - continue - - flags = ( - PT_FLAGS(task.ptrace).flags - if task.ptrace != 0 - else renderers.NotAvailableValue() - ) - - traced_by_tid = ( - task.parent.pid - if task.real_parent != task.parent - else renderers.NotAvailableValue() - ) - - tracing_tids = ",".join(map(str, tracing_tid_list)) - - yield task.comm, task.tgid, task.pid, traced_by_tid, tracing_tids, flags - - def _generator(self, symbol_table): - for fields in self.enumerate_ptraced_tasks(self.context, symbol_table): - yield (0, fields) - - @staticmethod - def format_fields_with_headers(headers, generator): - """Uses the headers type to cast the fields obtained from the generator""" - for level, fields in generator: - formatted_fields = [] - for header, field in zip(headers, fields): - header_type = header[1] - - if isinstance( - field, (header_type, interfaces.renderers.BaseAbsentValue) - ): - formatted_field = field - elif isinstance(field, objects.Array) and header_type is str: - formatted_field = utility.array_to_string(field) - else: - formatted_field = header_type(field) - - formatted_fields.append(formatted_field) - yield level, formatted_fields + for tree, tracing_tid in enumerate(tracee_tids): + fields = [ + task_comm, + user_pid, + user_tid, + tracer_tid, + tracing_tid, + flags, + ] + yield (tree, fields) def run(self): - symbol_table = self.config["kernel"] + vmlinux_module_name = self.config["kernel"] headers = [ ("Process", str), ("PID", int), ("TID", int), ("Traced by TID", int), - ("Tracing TIDs", str), + ("Tracing TID", int), ("Flags", str), ] - return renderers.TreeGrid( - headers, - self.format_fields_with_headers(headers, self._generator(symbol_table)), - ) + return renderers.TreeGrid(headers, self._generator(vmlinux_module_name)) From aa959139409c22156cadb0b8fc91819f4d4f2c34 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 8 Oct 2024 16:03:36 +1100 Subject: [PATCH 0762/2186] Linux: ptrace: improve header names and variables --- volatility3/framework/plugins/linux/ptrace.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/linux/ptrace.py b/volatility3/framework/plugins/linux/ptrace.py index a1964d960..e501f3294 100644 --- a/volatility3/framework/plugins/linux/ptrace.py +++ b/volatility3/framework/plugins/linux/ptrace.py @@ -72,16 +72,16 @@ class Ptrace(plugins.PluginInterface): ] flags = task.get_ptrace_tracee_flags() or renderers.NotAvailableValue() - for tree, tracing_tid in enumerate(tracee_tids): + for level, tracee_tid in enumerate(tracee_tids): fields = [ task_comm, user_pid, user_tid, tracer_tid, - tracing_tid, + tracee_tid, flags, ] - yield (tree, fields) + yield (level, fields) def run(self): vmlinux_module_name = self.config["kernel"] @@ -90,8 +90,8 @@ class Ptrace(plugins.PluginInterface): ("Process", str), ("PID", int), ("TID", int), - ("Traced by TID", int), - ("Tracing TID", int), + ("Tracer TID", int), + ("Tracee TID", int), ("Flags", str), ] return renderers.TreeGrid(headers, self._generator(vmlinux_module_name)) From 384042202e19fe5a4761daa74b76bed7fc70f55d Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 8 Oct 2024 18:37:32 +1100 Subject: [PATCH 0763/2186] fix black stable version issue with Python 3.8 --- .github/workflows/black.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 5adab3259..e29ab6f29 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -11,3 +11,5 @@ jobs: with: options: "--check --diff --verbose" src: "./volatility3" + # FIXME: Remove when Volatility3 minimum Python version is >3.8 + version: "24.8.0" From 6b5bef41336b3fbd623aca85499aa39410188fb0 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 8 Oct 2024 21:27:29 +1100 Subject: [PATCH 0764/2186] Linux: ptrace: bumping version patch number to re-run the black linter with #1301 --- volatility3/framework/plugins/linux/ptrace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/ptrace.py b/volatility3/framework/plugins/linux/ptrace.py index e501f3294..34185f912 100644 --- a/volatility3/framework/plugins/linux/ptrace.py +++ b/volatility3/framework/plugins/linux/ptrace.py @@ -19,7 +19,7 @@ class Ptrace(plugins.PluginInterface): """Enumerates ptrace's tracer and tracee tasks""" _required_framework_version = (2, 10, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 620dd4e67d971e97adab5daea523b60458bc5c35 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 8 Oct 2024 21:55:21 +1100 Subject: [PATCH 0765/2186] Linux: ptrace: version patch number back to zero --- volatility3/framework/plugins/linux/ptrace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/ptrace.py b/volatility3/framework/plugins/linux/ptrace.py index 34185f912..e501f3294 100644 --- a/volatility3/framework/plugins/linux/ptrace.py +++ b/volatility3/framework/plugins/linux/ptrace.py @@ -19,7 +19,7 @@ class Ptrace(plugins.PluginInterface): """Enumerates ptrace's tracer and tracee tasks""" _required_framework_version = (2, 10, 0) - _version = (1, 0, 1) + _version = (1, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From e817e72bc2d82283ab2e942725f809ed31f5ca80 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 8 Oct 2024 22:52:44 +0100 Subject: [PATCH 0766/2186] Support hiding columns in the CLI --- volatility3/cli/__init__.py | 13 ++++ volatility3/cli/text_renderer.py | 92 +++++++++++++++++++++-------- volatility3/framework/exceptions.py | 4 ++ 3 files changed, 85 insertions(+), 24 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 50b5579af..b4e993dac 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -256,6 +256,14 @@ class CommandLine: default=[], action="append", ) + parser.add_argument( + "--hide-columns", + help="Case-insensitive space separated list of prefixes to determine which columns to hide in the output if provided", + default=None, + action="extend", + nargs="*", + type=str, + ) parser.set_defaults(**default_config) @@ -488,6 +496,7 @@ class CommandLine: grid = constructed.run() renderer = renderers[args.renderer]() renderer.filter = text_filter.CLIFilter(grid, args.filters) + renderer.column_hide_list = args.hide_columns renderer.render(grid) except exceptions.VolatilityException as excp: self.process_exceptions(excp) @@ -615,6 +624,10 @@ class CommandLine: caused_by = [ "A required python module is not installed (install the module and re-run)" ] + elif isinstance(excp, exceptions.RenderException): + general = "Volatility experienced an issue when rendering the output:" + detail = f"{excp}" + caused_by = ["An invalid renderer option, such as no visible columns"] else: general = "Volatility encountered an unexpected situation." detail = "" diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index da0cdf62a..96970d3ce 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -12,7 +12,7 @@ from functools import wraps from typing import Any, Callable, Dict, List, Tuple from volatility3.cli import text_filter -from volatility3.framework import interfaces, renderers +from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.renderers import format_hints vollog = logging.getLogger(__name__) @@ -141,6 +141,30 @@ class CLIRenderer(interfaces.renderers.Renderer): name = "unnamed" structured_output = False filter: text_filter.CLIFilter = None + column_hide_list: list = None + + def ignored_columns( + self, + grid: interfaces.renderers.TreeGrid, + ) -> List[interfaces.renderers.Column]: + ignored_column_list = [] + if self.column_hide_list: + for column in grid.columns: + accept = True + for column_prefix in self.column_hide_list: + if column.name.lower().startswith(column_prefix.lower()): + accept = False + if not accept: + ignored_column_list.append(column) + elif self.column_hide_list is None: + return [] + + if len(ignored_column_list) == len(grid.columns): + raise exceptions.RenderException("No visible columns to render") + vollog.info( + f"Hiding columns: {[column.name for column in ignored_column_list]}" + ) + return ignored_column_list class QuickTextRenderer(CLIRenderer): @@ -173,9 +197,11 @@ class QuickTextRenderer(CLIRenderer): outfd = sys.stdout line = [] + ignore_columns = self.ignored_columns(grid) for column in grid.columns: # Ignore the type because namedtuples don't realize they have accessible attributes - line.append(f"{column.name}") + if column not in ignore_columns: + line.append(f"{column.name}") outfd.write("\n{}\n".format("\t".join(line))) def visitor(node: interfaces.renderers.TreeNode, accumulator): @@ -184,7 +210,8 @@ class QuickTextRenderer(CLIRenderer): renderer = self._type_renderers.get( column.type, self._type_renderers["default"] ) - line.append(renderer(node.values[column_index])) + if column not in ignore_columns: + line.append(renderer(node.values[column_index])) if self.filter and self.filter.filter(line): return accumulator @@ -245,11 +272,13 @@ class CSVRenderer(CLIRenderer): grid: The TreeGrid object to render """ outfd = sys.stdout + ignore_columns = self.ignored_columns(grid) header_list = ["TreeDepth"] for column in grid.columns: # Ignore the type because namedtuples don't realize they have accessible attributes - header_list.append(f"{column.name}") + if column not in ignore_columns: + header_list.append(f"{column.name}") writer = csv.DictWriter( outfd, header_list, lineterminator="\n", escapechar="\\" @@ -265,7 +294,10 @@ class CSVRenderer(CLIRenderer): column.type, self._type_renderers["default"] ) row[f"{column.name}"] = renderer(node.values[column_index]) - line.append(row[f"{column.name}"]) + if column not in ignore_columns: + line.append(row[f"{column.name}"]) + else: + del row[f"{column.name}"] if self.filter and self.filter.filter(line): return accumulator @@ -303,6 +335,7 @@ class PrettyTextRenderer(CLIRenderer): sys.stderr.write("Formatting...\n") + ignore_columns = self.ignored_columns(grid) display_alignment = ">" column_separator = " | " @@ -335,7 +368,8 @@ class PrettyTextRenderer(CLIRenderer): max_column_widths[column.name] = max( max_column_widths.get(column.name, len(column.name)), field_width ) - line[column] = data.split("\n") + if column not in ignore_columns: + line[column] = data.split("\n") rendered_line.append(data) if self.filter and self.filter.filter(rendered_line): @@ -354,43 +388,49 @@ class PrettyTextRenderer(CLIRenderer): format_string_list = [ "{0:<" + str(max_column_widths.get(tree_indent_column, 0)) + "s}" ] + column_offset = 0 for column_index, column in enumerate(grid.columns): - format_string_list.append( - "{" - + str(column_index + 1) - + ":" - + display_alignment - + str(max_column_widths[column.name]) - + "s}" - ) + if column not in ignore_columns: + format_string_list.append( + "{" + + str(column_index - column_offset + 1) + + ":" + + display_alignment + + str(max_column_widths[column.name]) + + "s}" + ) + else: + column_offset += 1 format_string = column_separator.join(format_string_list) + "\n" - column_titles = [""] + [column.name for column in grid.columns] + column_titles = [""] + [ + column.name for column in grid.columns if column not in ignore_columns + ] + outfd.write(format_string.format(*column_titles)) for depth, line in final_output: nums_line = max([len(line[column]) for column in line]) for column in line: - line[column] = line[column] + ([""] * (nums_line - len(line[column]))) + if column in ignore_columns: + del line[column] + else: + line[column] = line[column] + ( + [""] * (nums_line - len(line[column])) + ) for index in range(nums_line): if index == 0: outfd.write( format_string.format( "*" * depth, - *[ - self.tab_stop(line[column][index]) - for column in grid.columns - ], + *[self.tab_stop(line[column][index]) for column in line], ) ) else: outfd.write( format_string.format( " " * depth, - *[ - self.tab_stop(line[column][index]) - for column in grid.columns - ], + *[self.tab_stop(line[column][index]) for column in line], ) ) @@ -436,6 +476,8 @@ class JsonRenderer(CLIRenderer): List[interfaces.renderers.TreeNode], ] = ({}, []) + ignore_columns = self.ignored_columns(grid) + def visitor( node: interfaces.renderers.TreeNode, accumulator: Tuple[Dict[str, Dict[str, Any]], List[Dict[str, Any]]], @@ -445,6 +487,8 @@ class JsonRenderer(CLIRenderer): node_dict: Dict[str, Any] = {"__children": []} line = [] for column_index, column in enumerate(grid.columns): + if column in ignore_columns: + continue renderer = self._type_renderers.get( column.type, self._type_renderers["default"] ) diff --git a/volatility3/framework/exceptions.py b/volatility3/framework/exceptions.py index f8701683b..c44fb4f2e 100644 --- a/volatility3/framework/exceptions.py +++ b/volatility3/framework/exceptions.py @@ -126,3 +126,7 @@ class OfflineException(VolatilityException): def __str__(self): return f"Volatility 3 is offline: unable to access {self._url}" + + +class RenderException(VolatilityException): + """Thrown if there is an error during rendering""" From 100c23ba4bc132e25c1c70f6f48fc80cd547e29d Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 8 Oct 2024 18:37:32 +1100 Subject: [PATCH 0767/2186] fix black stable version issue with Python 3.8 --- .github/workflows/black.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 5adab3259..e29ab6f29 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -11,3 +11,5 @@ jobs: with: options: "--check --diff --verbose" src: "./volatility3" + # FIXME: Remove when Volatility3 minimum Python version is >3.8 + version: "24.8.0" From 57ef3f587eae3bb0eb46e760e64ebdc9fbd36394 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Sep 2024 14:51:42 -0500 Subject: [PATCH 0768/2186] Windows: Adds scheduled tasks plugin This adds a plugin 'ScheduledTasks' that can decode binary-encoded scheduled tasks from the Windows registry's SOFTWARE hive using a custom reader that extends the `io.BytesIO` class. Decoding operations are intended to be as fault tolerant as possible, swallowing exceptions and returning `None` to account for smear or missing data. Because each task can have mulitple triggers and multiple actions, a single entry is generated for each trigger + action pair. In the event that the either the actions could not be parsed or the triggers could not be parsed due to missing or smeared data, an entry will still be generated using the available information from the other registry value, since trigger and action data is stored separately. Much more information is decoded than is rendered, this was done intentionally to avoid overpopulating the TreeGrid with less pertinent data and to avoid an explosion of trigger and action-specific fields that may not apply to most other entries. --- volatility3/framework/layers/registry.py | 3 + .../plugins/windows/scheduled_tasks.py | 1796 +++++++++++++++++ volatility3/framework/renderers/conversion.py | 21 + 3 files changed, 1820 insertions(+) create mode 100644 volatility3/framework/plugins/windows/scheduled_tasks.py diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index 471d19f68..609832886 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -170,6 +170,9 @@ class RegistryHive(linear.LinearlyMappedLayer): return_list specifies whether the return result will be a single node (default) or a list of nodes from root to the current node (if return_list is true). + + Raises RegistryFormatException if an invalid structure is encountered + Raises KeyError if the key is not found """ root_node = self.get_node(self.root_cell_offset) if not root_node.vol.type_name.endswith(constants.BANG + "_CM_KEY_NODE"): diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py new file mode 100644 index 000000000..6d3ee586d --- /dev/null +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -0,0 +1,1796 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import base64 +import binascii +import dataclasses +import datetime +import enum +import io +import itertools +import logging +import struct +import traceback +import unittest +from typing import Dict, Iterator, List, Optional, Tuple, Union + +from volatility3.framework import exceptions, interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.layers import registry +from volatility3.framework.renderers import conversion +from volatility3.framework.symbols.windows.extensions import registry as reg_extensions +from volatility3.plugins import timeliner +from volatility3.plugins.windows.registry import hivelist + +vollog = logging.getLogger(__name__) + +# Reference: https://cyber.wtf/2022/06/01/windows-registry-analysis-todays-episode-tasks/ + + +class TimeMode(enum.Enum): + """ + Enumeration containing the different time modes that a 'Time' trigger can be configured to run in. + """ + + Once = "Once" + + # run at and repeat every days + Daily = "Daily" + + # run on days of week <(data2 as day_of_week bitmap)> every weeks starting at + Weekly = "Weekly" + + # run in months <(data3 as months bitmap> on days <(data2:data1 as day in month bitmap)> + # starting at + DaysInMonths = "Days In Months" + + # run in months <(data3 as months bitmap> in weeks <(data2 as week bitmap)> + # on days <(data1 as day_of_week bitmap)> starting at + DaysInWeeksInMonths = "Days In Weeks in Months" + + Unknown = "Unknown" + + +class ActionType(enum.Enum): + """ + Enumeration that maps action types to their magic number encodings + """ + + Exe = 0x6666 + ComHandler = 0x7777 + Email = 0x8888 + MessageBox = 0x9999 + + +class TriggerType(enum.Enum): + """ + Enumeration that maps trigger types to their magic number encodings + """ + + WindowsNotificationFacility = 0x6666 + Session = 0x7777 + Registration = 0x8888 + Logon = 0xAAAA + Event = 0xCCCC + Time = 0xDDDD + Idle = 0xEEEE + Boot = 0xFFFF + + +class Weekday(enum.Enum): + """ + Enumeration that contains bitwise values for days of the week. + """ + + Sunday = 0x1 + Monday = 0x2 + Tuesday = 0x4 + Wednesday = 0x8 + Thursday = 0x10 + Friday = 0x20 + Saturday = 0x40 + + +class Months(enum.Enum): + """ + Enumeration that contains bitwise values for months of the year. + """ + + January = 0x1 + February = 0x2 + March = 0x4 + April = 0x8 + May = 0x10 + June = 0x20 + July = 0x40 + August = 0x80 + September = 0x100 + October = 0x200 + November = 0x400 + December = 0x800 + + +class SidType(enum.Enum): + """ + Enumeration that maps SID types to their encoded integer values + """ + + User = 1 + Group = 2 + Domain = 3 + Alias = 4 + WellKnownGroup = 5 + DeletedAccount = 6 + Invalid = 7 + Unknown = 8 + Computer = 9 + Label = 10 + LogonSession = 11 + + +@dataclasses.dataclass +class TaskSchedulerTime: + """ + A class containing datetime information about when a task will run + """ + + is_localized: bool + filetime: Optional[datetime.datetime] + + +@dataclasses.dataclass +class TaskSchedulerTimePeriod: + """ + Class containing information delimiting time periods within scheduled tasks. + """ + + years: int + months: int + weeks: int + days: int + hours: int + minutes: int + seconds: int + + +JOB_BUCKET_FLAGS = { + 0x2: "Run only if idle", + 0x4: "Restart on idle", + 0x8: "Stop on idle end", + 0x10: "Disallow start if on batteries", + 0x20: "Stop if going on batteries", + 0x40: "Start when available", + 0x80: "Run only if network available", + 0x100: "Allow start on demand", + 0x200: "Wake to run", + 0x400: "Execute parallel", + 0x800: "Execute stop existing", + 0x1000: "Execute queue", + 0x2000: "Execute ignore new", + 0x4000: "Logon type s4u", + 0x10000: "Logon type InteractiveToken", + 0x40000: "Logon type Password", + 0x80000: "Logon type InteractiveTokenOrPassword", + 0x400000: "Enabled", + 0x800000: "Hidden", + 0x1000000: "Runlevel highest available", + 0x2000000: "Task", + 0x4000000: "Version", + 0x8000000: "Token SID type none", + 0x10000000: "Token SID type unrestricted", + 0x20000000: "Interval", + 0x40000000: "Allow hard terminate", +} + +NULL = "\u0000" + + +class _ScheduledTasksReader(io.BytesIO): + + def read_task_scheduler_time(self) -> Optional[Tuple[bool, datetime.datetime]]: + is_localized = bool(self.read_aligned_u1()) + filetime = self.decode_filetime() + if filetime is None: + return None + return is_localized, filetime + + def read_filetime(self) -> Optional[datetime.datetime]: + return datetime.datetime.now() + + def seek_relative(self, offset) -> int: + return self.seek(offset, io.SEEK_CUR) + + def read_bool(self, aligned=False) -> Optional[bool]: + try: + val = struct.unpack("?", self.read(1))[0] + if aligned: + self.seek(7) + return val + except struct.error: + return None + + def decode_filetime(self) -> Optional[datetime.datetime]: + filetime = self.read_u8() + if filetime is None: + return None + + if filetime == 0 or filetime == 0xFFFFFFFFFFFFFFFF: + return None + filetime = conversion.wintime_to_datetime(filetime) + if isinstance(filetime, datetime.datetime): + return filetime + else: + return None + + def _read_uint( + self, size: int, format: str, aligned: bool = False + ) -> Optional[int]: + try: + val = struct.unpack(format, self.read(size))[0] + if aligned: + self.seek(8 - size, io.SEEK_CUR) + return val + except struct.error: + return None + + def read_aligned_u1(self) -> Optional[int]: + return self._read_uint(1, "B", True) + + def read_u2(self) -> Optional[int]: + return self._read_uint(2, " Optional[int]: + return self._read_uint(2, " Optional[int]: + return self._read_uint(4, " Optional[int]: + return self._read_uint(8, " Optional[int]: + return self._read_uint(4, " Optional[bytes]: + count = self.read_u4() if not aligned else self.read_aligned_u4() + if count is None: + return None + data = self.read(count) + if aligned: + self.seek((8 - (count % 8)) % 8, io.SEEK_CUR) + return data + + def read_bstring(self, aligned=False) -> Optional[str]: + size = self.read_u4() if not aligned else self.read_aligned_u4() + if size is None: + return None + try: + raw = self.read(size) + val = raw.decode("utf-16le", errors="replace").rstrip(NULL) or None + except UnicodeDecodeError: + val = None + + if aligned: + self.seek((8 - (size % 8)) % 8, io.SEEK_CUR) + + return val + + def read_aligned_bstring_expand_sz(self) -> Optional[str]: + # type: () -> Optional[str] + sz = self.read_aligned_u4() + if sz is None: + return None + byte_count = sz * 2 + 2 + + if sz == 0: + return None + + try: + content = self.read(byte_count).decode("utf-16le") + except UnicodeDecodeError: + content = None + + self.seek((8 - (byte_count % 8)) % 8, io.SEEK_CUR) + return content.rstrip("\x00") if content is not None else None + + def read_tstimeperiod(self) -> Optional[TaskSchedulerTimePeriod]: + values = ( + self.read_u2(), + self.read_u2(), + self.read_u2(), + self.read_u2(), + self.read_u2(), + self.read_u2(), + self.read_u2(), + ) + + if any(value is None for value in values): + return None + + return TaskSchedulerTimePeriod(*values) + + +def _build_guid_name_map(key: reg_extensions.CM_KEY_NODE) -> Dict[str, str]: + mapping = {} + task_id_value = None + for value in key.get_values(): + try: + if value.get_name() == "Id": + task_id_value = value + break + except exceptions.InvalidAddressException: + continue + + if ( + task_id_value is not None + and task_id_value.get_type() == reg_extensions.RegValueTypes.REG_SZ + ): + try: + id_str = task_id_value.decode_data() + except exceptions.InvalidAddressException: + id_str = None + + if isinstance(id_str, bytes): + mapping[id_str.decode("utf-16le", errors="replace").rstrip(NULL)] = str( + key.get_name() + ) + + for subkey in key.get_subkeys(): + mapping.update(_build_guid_name_map(subkey)) + return mapping + + +@dataclasses.dataclass +class TaskAction: + action_type: ActionType + action: str + action_args: Optional[str] + working_directory: Optional[str] + + @classmethod + def decode_messagebox_action( + cls, reader: _ScheduledTasksReader + ) -> Optional["TaskAction"]: + caption, content = reader.read_bstring(), reader.read_bstring() + return cls( + ActionType.MessageBox, + f'"{caption or ""}": {content or ""}', + None, + None, + ) + + @classmethod + def _decode_exe_action( + cls, reader: _ScheduledTasksReader, version: int + ) -> Optional["TaskAction"]: + command = reader.read_bstring() + args = reader.read_bstring() + if command is None or args is None: + return None + + workdir = reader.read_bstring() + if version == 3: + _flags = reader.read_u2() + + return cls(ActionType.Exe, command, args, workdir) + + @classmethod + def _decode_email_action( + cls, reader: _ScheduledTasksReader + ) -> Optional["TaskAction"]: + props = { + "From": reader.read_bstring(), + "To": reader.read_bstring(), + "Cc": reader.read_bstring(), + "Bcc": reader.read_bstring(), + "Reply_to": reader.read_bstring(), + "Server": reader.read_bstring(), + "Subject": reader.read_bstring(), + "Body": reader.read_bstring(), + } + + num_attachment_filenames = reader.read_u4() + if num_attachment_filenames is not None: + + attachment_filenames = [ + reader.read_bstring() for _ in range(num_attachment_filenames) + ] + + props["Attachments"] = ( + "<" + + ", ".join( + filename + for filename in attachment_filenames + if filename is not None + ) + + ">" + ) + + num_headers = reader.read_u4() + if num_headers is not None: + headers = [ + (reader.read_bstring(), reader.read_bstring()) + for _ in range(num_headers) + ] + + props["Headers"] = ( + "<" + + ", ".join( + f"{field}: {value}" + for field, value in headers + if field is not None and value is not None + ) + + ">" + ) + + cls( + ActionType.Email, + ", ".join( + f"{key}: {value}" for key, value in props.items() if value is not None + ), + None, + None, + ) + + @classmethod + def _decode_comhandler_action( + cls, reader: _ScheduledTasksReader + ) -> Optional["TaskAction"]: + guid_raw = reader.read(16) + if not guid_raw and len(guid_raw) == 16: + return None + clsid = conversion.windows_bytes_to_guid(guid_raw) + args = reader.read_bstring() + + return cls(ActionType.ComHandler, clsid, args, None) + + +@dataclasses.dataclass +class _ScheduledTaskEntry: + name: Union[str, interfaces.renderers.BaseAbsentValue] + principal_id: Union[str, interfaces.renderers.BaseAbsentValue] + display_name: Union[str, interfaces.renderers.BaseAbsentValue] + enabled: Union[bool, interfaces.renderers.BaseAbsentValue] + creation_time: Union[datetime.datetime, interfaces.renderers.BaseAbsentValue] + last_run_time: Union[datetime.datetime, interfaces.renderers.BaseAbsentValue] + last_successful_run_time: Union[ + datetime.datetime, interfaces.renderers.BaseAbsentValue + ] + trigger_type: Union[str, interfaces.renderers.BaseAbsentValue] + trigger_description: Union[str, interfaces.renderers.BaseAbsentValue] + action_type: Union[str, interfaces.renderers.BaseAbsentValue] + action_description: Union[str, interfaces.renderers.BaseAbsentValue] + action_args: Union[str, interfaces.renderers.BaseAbsentValue] + action_context: Union[str, interfaces.renderers.BaseAbsentValue] + working_directory: Union[str, interfaces.renderers.BaseAbsentValue] + guid: str + + +@dataclasses.dataclass +class _JobSchedule: + start_boundary: Optional[datetime.datetime] + end_boundary: Optional[datetime.datetime] + repetition_interval_secs: Optional[int] + repetition_duration_secs: Optional[int] + execution_time_limit_secs: Optional[int] + mode: Optional[TimeMode] + data1: Optional[int] + data2: Optional[int] + data3: Optional[int] + stop_tasks_at_duration_end: Optional[int] + is_enabled: Optional[bool] + max_delay_seconds: Optional[int] + + def get_description(self) -> Optional[str]: + if self.mode == TimeMode.Once: + return "Run one time starting at {}".format( + self.start_boundary.isoformat() + if self.start_boundary is not None + else "" + ) + + elif self.mode == TimeMode.Daily: + if self.data1 is None: + return None + return "Run at {} and repeat every {} days".format( + ( + self.start_boundary.isoformat() + if self.start_boundary is not None + else "" + ), + self.data1, + ) + + elif self.mode == TimeMode.Weekly: + if self.data2 is None: + return None + + days = [k.name for k in Weekday if k.value & self.data2] + return "Run on {} every {} weeks starting at {}".format( + ", ".join(days), + self.data1, + ( + self.start_boundary.isoformat() + if self.start_boundary is not None + else "" + ), + ) + elif self.mode == TimeMode.DaysInMonths: + if self.data2 is None or self.data1 is None or self.data3 is None: + return None + months = [month.name for month in Months if month.value & self.data3] + days_bitmap = (self.data2 << 16) + self.data1 + days = [str(v + 1) for v in range(31) if (1 << v) & days_bitmap] + return "Run in months {} on days {} starting at {}".format( + ", ".join(months), + ", ".join(days), + ( + self.start_boundary.isoformat() + if self.start_boundary is not None + else "" + ), + ) + elif self.mode == TimeMode.DaysInWeeksInMonths: + if self.data1 is None or self.data2 is None or self.data3 is None: + return None + + months = [month.name for month in Months if month.value & self.data3] + weeks = [str(v + 1) for v in range(5) if (v << 1) & self.data2] + days = [day.name for day in Weekday if day.value & self.data1] + return "Run in months {} in weeks {} on days {} starting at {}".format( + ", ".join(months), + ", ".join(weeks), + ", ".join(days), + ( + self.start_boundary.isoformat() + if self.start_boundary is not None + else "" + ), + ) + else: + return None + + @classmethod + def decode(cls, reader: _ScheduledTasksReader) -> Optional["_JobSchedule"]: + start_boundary = reader.read_task_scheduler_time() + end_boundary = reader.read_task_scheduler_time() + + _ = reader.read_task_scheduler_time() + repetition_interval_secs = reader.read_u4() + repetition_duration_secs = reader.read_u4() + execution_time_limit_secs = reader.read_u4() + mode_index = reader.read_u4() + try: + if mode_index is not None: + mode = list(TimeMode)[mode_index] + else: + mode = None + except IndexError: + mode = TimeMode.Unknown + data1 = reader.read_u2() + data2 = reader.read_u2() + data3 = reader.read_u2() + + reader.seek(2, io.SEEK_CUR) # pad + stop_tasks_at_duration_end = reader.read_bool() + is_enabled = reader.read_bool() + reader.seek(6, io.SEEK_CUR) # pad (2) + unknown (4) + max_delay_seconds = reader.read_u4() + reader.seek(4, io.SEEK_CUR) # pad + + return cls( + start_boundary[1] if start_boundary is not None else None, + end_boundary[1] if end_boundary is not None else None, + repetition_interval_secs, + repetition_duration_secs, + execution_time_limit_secs, + mode, + data1, + data2, + data3, + stop_tasks_at_duration_end, + is_enabled, + max_delay_seconds, + ) + + +def decode_sid(data: bytes) -> Optional[str]: + """ + Decodes a windows SID from variable-length raw bytes + + Returns the string representation of the SID if decoding was successful, or None + if the data could not be parsed due to an insufficent number of bytes. + """ + try: + revision, subid_count, id_authority = struct.unpack( + ">BBQ", data[:2] + b"\x00\x00" + data[2:8] + ) + subauthorities = struct.unpack( + "<" + "I" * subid_count, data[8 : 8 + subid_count * 4] + ) + sid_string = "S-" + "-".join( + [str(item) for item in [revision, id_authority] + list(subauthorities)] + ) + except struct.error: + return None + + return sid_string + + +@dataclasses.dataclass +class UserInfo: + sid_type: Optional[SidType] + sid: Optional[str] + username: Optional[str] + + @classmethod + def _decode(cls, reader: _ScheduledTasksReader) -> Optional["UserInfo"]: + skip_user = reader.read_aligned_u1() != 0 + if not skip_user: + skip_sid = reader.read_aligned_u1() != 0 + else: + skip_sid = None + + sid_type = None + sid = None + if not skip_user and not skip_sid: + try: + sid_type = SidType(reader.read_aligned_u4()) + except ValueError: + sid_type = SidType.Unknown + + sid_raw = reader.read_buffer(aligned=True) + if sid_raw is None: + return None + sid = decode_sid(sid_raw) + + username = reader.read_bstring(aligned=True) if not skip_user else None + + return UserInfo(sid_type, sid, username) + + +@dataclasses.dataclass +class OptionalSettings: + IdleDurationSeconds: int + idleWaitTimeoutSeconds: int + ExecutionTimeLimitSeconds: int + DeleteExpiredTaskAfter: int + Priority: int + RestartOnFailureDelay: int + RestartOnFailureRetries: int + NetworkId: bytes + Privileges: Optional[List[str]] + Periodicity: Optional[TaskSchedulerTimePeriod] + Deadline: Optional[TaskSchedulerTimePeriod] + Exclusive: Optional[bool] + + @classmethod + def _decode(cls, reader: _ScheduledTasksReader) -> Optional["OptionalSettings"]: + LEN_WITH_PRIVILEGES = 0x38 + LEN_WITH_TIME_PERIODS = 0x58 + length = reader.read_aligned_u4() + if length == 0: + return None + + base_values = ( + reader.read_u4(), + reader.read_u4(), + reader.read_u4(), + reader.read_u4(), + reader.read_u4(), + reader.read_u4(), + reader.read_u4(), + binascii.hexlify(reader.read(16)), + ) + + if any(value is None for value in base_values): + return None + + reader.seek(4, io.SEEK_CUR) # padding + + privileges = None + periodicity = None + deadline = None + exclusive = None + if length == LEN_WITH_PRIVILEGES or length == LEN_WITH_TIME_PERIODS: + privileges_raw = reader.read_u8() + if privileges_raw is None: + return None + privileges = [ + priv.name for priv in Privileges if priv.value & privileges_raw + ] + if length == LEN_WITH_TIME_PERIODS: + periodicity = reader.read_tstimeperiod() + deadline = reader.read_tstimeperiod() + exclusive = reader.read_bool() + reader.seek(3, io.SEEK_CUR) # padding + + return OptionalSettings( + *base_values, privileges, periodicity, deadline, exclusive + ) + + +@dataclasses.dataclass +class JobBucket: + flags: List[str] + crc32: int + principal_id: Optional[str] + display_name: Optional[str] + user_info: Optional[UserInfo] + optional_settings: Optional[OptionalSettings] + + @classmethod + def _decode( + cls, reader: _ScheduledTasksReader, version: int + ) -> Optional["JobBucket"]: + flags_raw = reader.read_aligned_u4() + if flags_raw is None: + return None + flags = [y for x, y in JOB_BUCKET_FLAGS.items() if x & flags_raw] + crc32 = reader.read_aligned_u4() + if crc32 is None: + return None + + principal_id = None + display_name = None + if version >= 0x16: + principal_id = reader.read_bstring(aligned=True) + if version >= 0x17: + display_name = reader.read_bstring(aligned=True) + + user_info = UserInfo._decode(reader) + optional_settings = OptionalSettings._decode(reader) + + return JobBucket( + flags, crc32, principal_id, display_name, user_info, optional_settings + ) + + +class Privileges(enum.Enum): + SeCreateTokenPrivilege = 0x4 + SeAssignPrimaryTokenPrivilege = 0x8 + SeLockMemoryPrivilege = 0x10 + SeIncreaseQuotaPrivilege = 0x20 + SeMachineAccountPrivilege = 0x40 + SeTcbPrivilege = 0x80 + SeSecurityPrivilege = 0x100 + SeTakeOwnershipPrivilege = 0x200 + SeLoadDriverPrivilege = 0x400 + SeSystemProfilePrivilege = 0x800 + SeSystemtimePrivilege = 0x1000 + SeProfileSingleProcessPrivilege = 0x2000 + SeIncreaseBasePriorityPrivilege = 0x4000 + SeCreatePagefilePrivilege = 0x8000 + SeCreatePermanentPrivilege = 0x10000 + SeBackupPrivilege = 0x20000 + SeRestorePrivilege = 0x40000 + SeShutdownPrivilege = 0x80000 + SeDebugPrivilege = 0x100000 + SeAuditPrivilege = 0x200000 + SeSystemEnvironmentPrivilege = 0x400000 + SeChangeNotifyPrivilege = 0x800000 + SeRemoteShutdownPrivilege = 0x1000000 + SeUndockPrivilege = 0x2000000 + SeSyncAgentPrivilege = 0x4000000 + SeEnableDelegationPrivilege = 0x8000000 + SeManageVolumePrivilege = 0x10000000 + SeImpersonatePrivilege = 0x20000000 + SeCreateGlobalPrivilege = 0x40000000 + SeTrustedCredManAccessPrivilege = 0x80000000 + SeRelabelPrivilege = 0x100000000 + SeIncreaseWorkingSetPrivilege = 0x200000000 + SeTimeZonePrivilege = 0x400000000 + SeCreateSymbolicLinkPrivilege = 0x800000000 + SeDelegateSessionUserImpersonatePrivilege = 0x1000000000 + + +class SessionState(enum.Enum): + ConsoleConnect = 1 + ConsoleDisconnect = 2 + RemoteConnect = 3 + RemoteDisconnect = 4 + SessionLock = 5 + SessionUnlock = 6 + Unknown = "Unknown" + + +@dataclasses.dataclass +class TaskTrigger: + start_boundary: Optional[datetime.datetime] + end_boundary: Optional[datetime.datetime] + repetition_interval_seconds: Optional[int] + enabled: Optional[bool] + trigger_type: TriggerType + description: Optional[str] + + @classmethod + def _decode_generic_trigger( + cls, reader: _ScheduledTasksReader, version: int, trigger_type: TriggerType + ) -> Optional["TaskTrigger"]: + start_boundary = reader.read_task_scheduler_time() + end_boundary = reader.read_task_scheduler_time() + + _ = reader.read_u4() # delay seconds + _ = reader.read_u4() # timeout seconds + + repetition_interval_secs = reader.read_u4() + _ = reader.read_u4() # reptition duration seconds + _ = reader.read_u4() # repetition duration seconds 2 + + _ = reader.read_bool() # stop at duration end + reader.seek(3, io.SEEK_CUR) + trigger_enabled = bool(reader.read_aligned_u1()) + reader.seek(8, io.SEEK_CUR) # unknown field + + if version >= 0x16: + cur = reader.tell() + _ = reader.read_bstring() # trigger id + reader.seek((8 - (reader.tell() - cur)) % 8, io.SEEK_CUR) # pad to block + + return cls( + start_boundary[1] if start_boundary is not None else None, + end_boundary[1] if end_boundary is not None else None, + repetition_interval_secs, + trigger_enabled, + trigger_type, + f"{trigger_type.name} trigger", + ) + + @classmethod + def _decode_logon_trigger( + cls, reader: _ScheduledTasksReader, version: int + ) -> Optional["TaskTrigger"]: + base = cls._decode_generic_trigger(reader, version, TriggerType.Logon) + if base is None: + return None + + user = UserInfo._decode(reader) + if user is not None and user.username is not None: + base.description = f"{user.username}: {user.sid} ({user.sid_type})" + + return base + + @classmethod + def _decode_session_trigger( + cls, reader: _ScheduledTasksReader, version: int + ) -> Optional["TaskTrigger"]: + base = cls._decode_generic_trigger(reader, version, TriggerType.Session) + if base is None: + return None + session_type_raw = reader.read_u4() + reader.seek(4, io.SEEK_CUR) + + try: + session_type = SessionState(session_type_raw) + except ValueError: + session_type = SessionState.Unknown + + user_info = UserInfo._decode(reader) + if user_info is not None and user_info.username is not None: + base.description = f"{session_type.name} for user {user_info.username}" + else: + base.description = session_type.name + + return base + + @classmethod + def _decode_time_trigger( + cls, reader: _ScheduledTasksReader, version: int + ) -> Optional["TaskTrigger"]: + job_schedule = _JobSchedule.decode(reader) + if job_schedule is None: + return None + + if version >= 0x16: + cur = reader.tell() + _ = reader.read_bstring() # trigger id + reader.seek((8 - (reader.tell() - cur)) % 8, io.SEEK_CUR) # pad to block + + return cls( + job_schedule.start_boundary, + job_schedule.end_boundary, + job_schedule.repetition_interval_secs, + job_schedule.is_enabled, + TriggerType.Time, + job_schedule.get_description() or None, + ) + + @classmethod + def _decode_event_trigger( + cls, reader: _ScheduledTasksReader, version: int + ) -> Optional["TaskTrigger"]: + base = cls._decode_generic_trigger(reader, version, TriggerType.Event) + if base is None: + return base + + subscription = reader.read_aligned_bstring_expand_sz() + reader.seek(8, io.SEEK_CUR) # 2 4-byte unknown fields + reader.read_aligned_bstring_expand_sz() # another unknown field + len_value_queries = reader.read_aligned_u4() + + if len_value_queries is None: + return base + + queries = [ + ( + reader.read_aligned_bstring_expand_sz(), + reader.read_aligned_bstring_expand_sz(), + ) + for _ in range(len_value_queries) + ] + valid = [(k, v) for (k, v) in queries if k is not None and v is not None] + if base.description is None: + base.description = "Event Trigger" + base.description += f": Subscription: {subscription}, Queries: {str(valid)}" + return base + + @classmethod + def _decode_boot_trigger( + cls, reader: _ScheduledTasksReader, version: int + ) -> Optional["TaskTrigger"]: + return cls._decode_generic_trigger(reader, version, TriggerType.Boot) + + @classmethod + def _decode_wnf_trigger( + cls, reader: _ScheduledTasksReader, version: int + ) -> Optional["TaskTrigger"]: + base = cls._decode_generic_trigger( + reader, version, TriggerType.WindowsNotificationFacility + ) + if base is None: + return None + + state_name = binascii.hexlify(reader.read(8)).decode("ascii") + datalen = reader.read_aligned_u4() + _ = base64.b64encode(reader.read(datalen)) # state binary data + base.description = f"WNF state {state_name}" + return base + + @classmethod + def _decode_idle_trigger( + cls, reader: _ScheduledTasksReader, version: int + ) -> Optional["TaskTrigger"]: + return cls._decode_generic_trigger(reader, version, TriggerType.Logon) + + @classmethod + def _decode_registration_trigger( + cls, reader: _ScheduledTasksReader, version: int + ) -> Optional["TaskTrigger"]: + return cls._decode_generic_trigger(reader, version, TriggerType.Logon) + + +@dataclasses.dataclass +class TriggerSet: + job_bucket: JobBucket + triggers: List[TaskTrigger] + + @classmethod + def decode(cls, data) -> Optional["TriggerSet"]: + reader = _ScheduledTasksReader(data) + + version = reader.read_aligned_u1() + _ = reader.read_task_scheduler_time() # start boundary + _ = reader.read_task_scheduler_time() # end_boundary + + if version is None: + return None + + job_bucket = JobBucket._decode(reader, version) + if job_bucket is None: + return None + + triggers = [] + + while True: + magic = reader.read_aligned_u4() + if magic is None: + break + try: + trigger_type = TriggerType(magic) + except ValueError: + vollog.warning(f"Invalid trigger magic {hex(magic)}") + break + + if trigger_type == TriggerType.Logon: + trigger = TaskTrigger._decode_logon_trigger(reader, version) + elif trigger_type == TriggerType.Session: + trigger = TaskTrigger._decode_session_trigger(reader, version) + elif trigger_type == TriggerType.WindowsNotificationFacility: + trigger = TaskTrigger._decode_wnf_trigger(reader, version) + elif trigger_type == TriggerType.Boot: + trigger = TaskTrigger._decode_boot_trigger(reader, version) + elif trigger_type == TriggerType.Registration: + trigger = TaskTrigger._decode_registration_trigger(reader, version) + elif trigger_type == TriggerType.Event: + trigger = TaskTrigger._decode_event_trigger(reader, version) + elif trigger_type == TriggerType.Idle: + trigger = TaskTrigger._decode_idle_trigger(reader, version) + elif trigger_type == TriggerType.Time: + trigger = TaskTrigger._decode_time_trigger(reader, version) + else: + vollog.warning( + f"Invalid trigger magic {hex(magic)} encountered at offset {hex(reader.tell() - 8)}, stopping parsing" + ) + break + triggers.append(trigger) + + return cls(job_bucket, triggers) + + +@dataclasses.dataclass +class ActionSet: + actions: List[TaskAction] + context: Optional[str] + + @classmethod + def decode(cls, data: bytes) -> Optional["ActionSet"]: + reader = _ScheduledTasksReader(data) + actions = [] + + version = reader.read_u2() + if version is None: + return None + + if version in [2, 3]: + action_context = reader.read_bstring() + else: + action_context = None + + while True: + magic = reader.read_u2() + if magic is None: + break + + _ = ( + reader.read_bstring() + ) # action identifier, usually (but not always) empty + + if magic == ActionType.Email.value: + action = TaskAction._decode_email_action(reader) + elif magic == ActionType.Exe.value: + action = TaskAction._decode_exe_action(reader, version) + elif magic == ActionType.ComHandler.value: + action = TaskAction._decode_comhandler_action(reader) + elif magic == ActionType.MessageBox.value: + action = TaskAction.decode_messagebox_action(reader) + else: + break + actions.append(action) + + return cls(actions, action_context) + + +@dataclasses.dataclass +class DynamicInfo: + """ + Contains information about execution history for this task, + including timestamps and the last error code + """ + + creation_time: Optional[datetime.datetime] + last_run_time: Optional[datetime.datetime] + last_successful_run_time: Optional[datetime.datetime] + last_error_code: Optional[int] + + @classmethod + def decode(cls, data: bytes) -> Optional["DynamicInfo"]: + """ + Decodes a DynamicInfo structure from RegBin value data. + Raises a `ScheduledTaskDecodingError` if the magic bytes are invalid, but otherwise + attempts to decode as much as possible without returning an error. + """ + DYNAMICINFO_MAGIC = 3 + + reader = _ScheduledTasksReader(data) + magic = reader.read_u4() + if magic != DYNAMICINFO_MAGIC: + return None + + creation_time = reader.decode_filetime() + last_run_time = reader.decode_filetime() + + reader.seek(4, io.SEEK_CUR) # deprecated field 'TaskState' + + last_error_code = reader.read_u4() + last_success_time = reader.decode_filetime() + + vollog.debug((creation_time, last_run_time, last_success_time)) + + return cls( + last_run_time, + creation_time, + last_success_time, + last_error_code, + ) + + +class ScheduledTasks(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): + """Decodes scheduled task information from the Windows registry, including + information about triggers, actions, run times, and creation times. + """ + + _required_framework_version = (2, 11, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel33", "Intel64"], + ), + requirements.PluginRequirement( + name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + ), + ] + + def generate_timeline( + self, + ) -> Iterator[Tuple[str, timeliner.TimeLinerType, datetime.datetime]]: + for _, task in self._generator(): + if isinstance(task.last_run_time, datetime.datetime): + yield f"ScheduledTasks: task action {task.action_description} with trigger {task.trigger_description} ran", timeliner.TimeLinerType.ACCESSED, task.last_run_time + if isinstance(task.last_successful_run_time, datetime.datetime): + yield f"ScheduledTasks: task action {task.action_description} with trigger {task.trigger_description} ran successfully", timeliner.TimeLinerType.ACCESSED, task.last_successful_run_time + if isinstance(task.creation_time, datetime.datetime): + yield f"ScheduledTasks: Creation Time for task {task.guid} with trigger {task.trigger_description or ''}", timeliner.TimeLinerType.CREATED, task.creation_time + + @classmethod + def get_software_hive( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + kernel: interfaces.context.ModuleInterface, + ) -> Optional[registry.RegistryHive]: + """Retrieves the `Amcache.hve` registry hive from the kernel module, if it can be located.""" + return next( + hivelist.HiveList.list_hives( + context=context, + base_config_path=interfaces.configuration.path_join( + config_path, "hivelist" + ), + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_string="SOFTWARE", + ), + None, + ) + + @classmethod + def parse_actions_value( + cls, actions_value: reg_extensions.CM_KEY_VALUE + ) -> Optional[ActionSet]: + """Parses File entries from the Windows 8 `Root\\File` key. + + :param programs_key: The `Root\\File` registry key. + + :return: An iterator of tuples, where the first member is the program ID string for + correlating `Root\\Program` entries, and the second member is the `AmcacheEntry`. + """ + try: + data = actions_value.decode_data() + except exceptions.InvalidAddressException: + data = None + + if not isinstance(data, bytes): + return None + + return ActionSet.decode(data) + + @classmethod + def parse_triggers_value( + cls, triggers_value: reg_extensions.CM_KEY_VALUE + ) -> Optional[TriggerSet]: + try: + data = triggers_value.decode_data() + except exceptions.InvalidAddressException: + data = None + + if not isinstance(data, bytes): + return None + + return TriggerSet.decode(data) + + @classmethod + def parse_dynamic_info_value( + cls, dyn_info_value: reg_extensions.CM_KEY_VALUE + ) -> Optional[DynamicInfo]: + + try: + data = dyn_info_value.decode_data() + except exceptions.InvalidAddressException: + data = None + + if not isinstance(data, bytes): + return None + + return DynamicInfo.decode(data) + + @classmethod + def _get_task_keys( + cls, software_hive: reg_extensions.RegistryHive + ) -> Tuple[ + Optional[reg_extensions.CM_KEY_NODE], Optional[reg_extensions.CM_KEY_NODE] + ]: + try: + task_key = software_hive.get_key( + "Microsoft\\Windows NT\\CurrentVersion\\Schedule\\TaskCache\\Tasks" + ) + except (KeyError, registry.RegistryFormatException): + task_key = None + + try: + task_tree = software_hive.get_key( + "Microsoft\\Windows NT\\CurrentVersion\\Schedule\\TaskCache\\Tree" + ) + except (KeyError, registry.RegistryFormatException): + task_tree = None + + return (task_key, task_tree) # type: ignore + + @classmethod + def _parse_task_key( + cls, key: reg_extensions.CM_KEY_NODE, guid_mapping: Dict[str, str] + ) -> Iterator[_ScheduledTaskEntry]: + values = {} + for value in key.get_values(): + try: + name = str(value.get_name()) + except exceptions.InvalidAddressException: + continue + + if name in ["Actions", "Triggers", "DynamicInfo"]: + values[name] = value + + task_name = guid_mapping.get(str(key.get_name()), renderers.NotAvailableValue()) + + try: + action_set = cls.parse_actions_value(values["Actions"]) + except KeyError: + vollog.debug("Failed to get Actions value") + action_set = None + + try: + triggers_value = values["Triggers"] + trigger_set = cls.parse_triggers_value(triggers_value) + except KeyError: + vollog.debug("Failed to get Triggers value") + trigger_set = None + + if trigger_set is not None: + vollog.debug("Parsed triggers successfully") + + principal_id = ( + trigger_set.job_bucket.principal_id or renderers.NotAvailableValue() + ) + display_name = ( + trigger_set.job_bucket.display_name or renderers.NotAvailableValue() + ) + else: + vollog.debug("Failed to parse triggers") + + principal_id = renderers.NotAvailableValue() + display_name = renderers.NotAvailableValue() + + try: + dynamic_info = cls.parse_dynamic_info_value(values["DynamicInfo"]) + except KeyError: + vollog.debug("DynamicInfo value not found") + dynamic_info = None + + vollog.debug(dynamic_info) + + creation_time = dynamic_info.creation_time if dynamic_info is not None else None + last_run_time = dynamic_info.last_run_time if dynamic_info is not None else None + last_successful_run_time = ( + dynamic_info.last_successful_run_time if dynamic_info is not None else None + ) + + all_triggers = ( + trigger_set.triggers or [None] if trigger_set is not None else [None] + ) + + all_actions = action_set.actions or [None] if action_set is not None else [None] + + for action, trigger in itertools.product(all_actions, all_triggers): + + if action is not None: + if action.action_type in ( + ActionType.Exe, + ActionType.ComHandler, + ): + if action.action_args is None: + args = renderers.NotAvailableValue() + else: + args = action.action_args + else: + args = renderers.NotApplicableValue() + + if action.action_type == ActionType.Exe: + working_directory = ( + action.working_directory or renderers.NotAvailableValue() + ) + else: + working_directory = renderers.NotApplicableValue() + + else: + args = renderers.NotAvailableValue() + working_directory = renderers.NotAvailableValue() + + if trigger is not None and trigger.enabled is not None: + enabled = trigger.enabled + else: + enabled = renderers.NotAvailableValue() + + yield _ScheduledTaskEntry( + task_name, + principal_id, + display_name, + enabled, + creation_time or renderers.NotAvailableValue(), + last_run_time or renderers.NotAvailableValue(), + last_successful_run_time or renderers.NotAvailableValue(), + ( + trigger.trigger_type.name + if trigger is not None + else renderers.NotAvailableValue() + ), + ( + trigger.description or renderers.NotAvailableValue() + if trigger is not None + else renderers.NotAvailableValue() + ), + ( + action.action_type.name + if action is not None + else renderers.NotAvailableValue() + ), + ( + action.action + if action is not None + else renderers.NotAvailableValue() + ), + args, + ( + action_set.context + if action_set is not None + else renderers.NotAvailableValue() + ), + working_directory, + str(key.get_name()), + ) + + def _generator(self) -> Iterator[Tuple[int, _ScheduledTaskEntry]]: + kernel = self.context.modules[self.config["kernel"]] + + # Building the dictionary ahead of time is much better for performance + # vs looking up each service's DLL individually. + software_hive = self.get_software_hive(self.context, self.config_path, kernel) + if software_hive is None: + vollog.warning("Failed to get SOFTWARE hive") + return + + task_key_root, task_tree = self._get_task_keys(software_hive) + if task_key_root is None: + vollog.warning("Failed to get 'Tasks' key") + return + + if task_tree is not None: + task_name_map = _build_guid_name_map(task_tree) + else: + vollog.info("'Tree' key not found, can't map GUIDs to task names") + task_name_map = {} + + for key in task_key_root.get_subkeys(): + for task in self._parse_task_key(key, task_name_map): + yield 0, task + + def run(self): + return renderers.TreeGrid( + [ + ("Task Name", str), + ("Principal ID", str), + ("Display Name", str), + ("Enabled", bool), + ("Creation Time", datetime.datetime), + ("Last Run Time", datetime.datetime), + ("Last Successful Run Time", datetime.datetime), + ("Trigger Type", str), + ("Trigger Description", str), + ("Action Type", str), + ("Action", str), + ("Action Arguments", str), + ("Action Context", str), + ("Working Directory", str), + ("Key Name", str), + ], + ( + (indent, dataclasses.astuple(entry)) + for indent, entry in self._generator() + ), + ) + + +class TestActionsDecoding(unittest.TestCase): + def test_decode_exe_action(self): + # fmt: off + buf = struct.pack( + "512B", + *[ + 0x03, 0x00, 0x16, 0x00, 0x00, 0x00, 0x4c, 0x00, + 0x6f, 0x00, 0x63, 0x00, 0x61, 0x00, 0x6c, 0x00, + 0x53, 0x00, 0x79, 0x00, 0x73, 0x00, 0x74, 0x00, + 0x65, 0x00, 0x6d, 0x00, 0x66, 0x66, 0x00, 0x00, + 0x00, 0x00, 0x6e, 0x00, 0x00, 0x00, 0x25, 0x00, + 0x77, 0x00, 0x69, 0x00, 0x6e, 0x00, 0x64, 0x00, + 0x69, 0x00, 0x72, 0x00, 0x25, 0x00, 0x5c, 0x00, + 0x73, 0x00, 0x79, 0x00, 0x73, 0x00, 0x74, 0x00, + 0x65, 0x00, 0x6d, 0x00, 0x33, 0x00, 0x32, 0x00, + 0x5c, 0x00, 0x57, 0x00, 0x69, 0x00, 0x6e, 0x00, + 0x64, 0x00, 0x6f, 0x00, 0x77, 0x00, 0x73, 0x00, + 0x50, 0x00, 0x6f, 0x00, 0x77, 0x00, 0x65, 0x00, + 0x72, 0x00, 0x53, 0x00, 0x68, 0x00, 0x65, 0x00, + 0x6c, 0x00, 0x6c, 0x00, 0x5c, 0x00, 0x76, 0x00, + 0x31, 0x00, 0x2e, 0x00, 0x30, 0x00, 0x5c, 0x00, + 0x70, 0x00, 0x6f, 0x00, 0x77, 0x00, 0x65, 0x00, + 0x72, 0x00, 0x73, 0x00, 0x68, 0x00, 0x65, 0x00, + 0x6c, 0x00, 0x6c, 0x00, 0x2e, 0x00, 0x65, 0x00, + 0x78, 0x00, 0x65, 0x00, 0x62, 0x01, 0x00, 0x00, + 0x2d, 0x00, 0x45, 0x00, 0x78, 0x00, 0x65, 0x00, + 0x63, 0x00, 0x75, 0x00, 0x74, 0x00, 0x69, 0x00, + 0x6f, 0x00, 0x6e, 0x00, 0x50, 0x00, 0x6f, 0x00, + 0x6c, 0x00, 0x69, 0x00, 0x63, 0x00, 0x79, 0x00, + 0x20, 0x00, 0x55, 0x00, 0x6e, 0x00, 0x72, 0x00, + 0x65, 0x00, 0x73, 0x00, 0x74, 0x00, 0x72, 0x00, + 0x69, 0x00, 0x63, 0x00, 0x74, 0x00, 0x65, 0x00, + 0x64, 0x00, 0x20, 0x00, 0x2d, 0x00, 0x4e, 0x00, + 0x6f, 0x00, 0x6e, 0x00, 0x49, 0x00, 0x6e, 0x00, + 0x74, 0x00, 0x65, 0x00, 0x72, 0x00, 0x61, 0x00, + 0x63, 0x00, 0x74, 0x00, 0x69, 0x00, 0x76, 0x00, + 0x65, 0x00, 0x20, 0x00, 0x2d, 0x00, 0x4e, 0x00, + 0x6f, 0x00, 0x50, 0x00, 0x72, 0x00, 0x6f, 0x00, + 0x66, 0x00, 0x69, 0x00, 0x6c, 0x00, 0x65, 0x00, + 0x20, 0x00, 0x2d, 0x00, 0x57, 0x00, 0x69, 0x00, + 0x6e, 0x00, 0x64, 0x00, 0x6f, 0x00, 0x77, 0x00, + 0x53, 0x00, 0x74, 0x00, 0x79, 0x00, 0x6c, 0x00, + 0x65, 0x00, 0x20, 0x00, 0x48, 0x00, 0x69, 0x00, + 0x64, 0x00, 0x64, 0x00, 0x65, 0x00, 0x6e, 0x00, + 0x20, 0x00, 0x22, 0x00, 0x26, 0x00, 0x20, 0x00, + 0x25, 0x00, 0x77, 0x00, 0x69, 0x00, 0x6e, 0x00, + 0x64, 0x00, 0x69, 0x00, 0x72, 0x00, 0x25, 0x00, + 0x5c, 0x00, 0x73, 0x00, 0x79, 0x00, 0x73, 0x00, + 0x74, 0x00, 0x65, 0x00, 0x6d, 0x00, 0x33, 0x00, + 0x32, 0x00, 0x5c, 0x00, 0x57, 0x00, 0x69, 0x00, + 0x6e, 0x00, 0x64, 0x00, 0x6f, 0x00, 0x77, 0x00, + 0x73, 0x00, 0x50, 0x00, 0x6f, 0x00, 0x77, 0x00, + 0x65, 0x00, 0x72, 0x00, 0x53, 0x00, 0x68, 0x00, + 0x65, 0x00, 0x6c, 0x00, 0x6c, 0x00, 0x5c, 0x00, + 0x76, 0x00, 0x31, 0x00, 0x2e, 0x00, 0x30, 0x00, + 0x5c, 0x00, 0x4d, 0x00, 0x6f, 0x00, 0x64, 0x00, + 0x75, 0x00, 0x6c, 0x00, 0x65, 0x00, 0x73, 0x00, + 0x5c, 0x00, 0x53, 0x00, 0x6d, 0x00, 0x62, 0x00, + 0x53, 0x00, 0x68, 0x00, 0x61, 0x00, 0x72, 0x00, + 0x65, 0x00, 0x5c, 0x00, 0x44, 0x00, 0x69, 0x00, + 0x73, 0x00, 0x61, 0x00, 0x62, 0x00, 0x6c, 0x00, + 0x65, 0x00, 0x55, 0x00, 0x6e, 0x00, 0x75, 0x00, + 0x73, 0x00, 0x65, 0x00, 0x64, 0x00, 0x53, 0x00, + 0x6d, 0x00, 0x62, 0x00, 0x31, 0x00, 0x2e, 0x00, + 0x70, 0x00, 0x73, 0x00, 0x31, 0x00, 0x20, 0x00, + 0x2d, 0x00, 0x53, 0x00, 0x63, 0x00, 0x65, 0x00, + 0x6e, 0x00, 0x61, 0x00, 0x72, 0x00, 0x69, 0x00, + 0x6f, 0x00, 0x20, 0x00, 0x43, 0x00, 0x6c, 0x00, + 0x69, 0x00, 0x65, 0x00, 0x6e, 0x00, 0x74, 0x00, + 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + ] + ) + + try: + actions = ActionSet.decode(buf) # type: ignore + self.assertEqual(len(actions), 1) + self.assertEqual(actions[0].action_type, ActionType.Exe) + except Exception: + self.fail( + "ActionDecoder.decode should not raise exception:\n%s" + % traceback.format_exc() + ) + + +class TestTriggersDecoding(unittest.TestCase): + def test_decode_all_triggers(self): + """ + Tests decoding a set of all triggers that can be constructed via the + Task Scheduler GUI interface. Ensures that the correct number of bytes + is being consumed for each trigger structure. + """ + buf = struct.pack( + "1808B", + # fmt: off + *[ + 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x38, 0x21, 0x41, 0x42, 0x48, 0x48, 0x48, 0x48, + 0xa0, 0x12, 0xa0, 0xa4, 0x48, 0x48, 0x48, 0x48, + 0x0e, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x41, 0x00, 0x75, 0x00, 0x74, 0x00, 0x68, 0x00, + 0x6f, 0x00, 0x72, 0x00, 0x00, 0x00, 0x48, 0x48, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x1c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, + 0x15, 0x00, 0x00, 0x00, 0x69, 0xce, 0x28, 0x2a, + 0xce, 0xd8, 0x1f, 0x77, 0x37, 0x9c, 0xe2, 0x44, + 0xf4, 0x01, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x40, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x44, 0x00, 0x45, 0x00, 0x53, 0x00, 0x4b, 0x00, + 0x54, 0x00, 0x4f, 0x00, 0x50, 0x00, 0x2d, 0x00, + 0x45, 0x00, 0x33, 0x00, 0x38, 0x00, 0x38, 0x00, + 0x44, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5c, 0x00, + 0x41, 0x00, 0x64, 0x00, 0x6d, 0x00, 0x69, 0x00, + 0x6e, 0x00, 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, + 0x72, 0x00, 0x61, 0x00, 0x74, 0x00, 0x6f, 0x00, + 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x2c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x80, 0xf4, 0x03, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0xdd, 0xdd, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x07, 0x0a, 0x00, 0x00, 0x00, 0x09, 0x00, + 0x80, 0x48, 0x11, 0xf8, 0x36, 0x1a, 0xdb, 0x01, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x01, 0x2e, 0xe2, 0x01, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0xc2, 0x31, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0xaa, 0xaa, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0xee, 0xee, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0xcc, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x00, 0x65, 0x00, 0x78, 0x00, 0x65, 0x00, + 0x22, 0x00, 0x20, 0x00, 0x53, 0x00, 0x74, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x84, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x3c, 0x00, 0x51, 0x00, 0x75, 0x00, 0x65, 0x00, + 0x72, 0x00, 0x79, 0x00, 0x4c, 0x00, 0x69, 0x00, + 0x73, 0x00, 0x74, 0x00, 0x3e, 0x00, 0x3c, 0x00, + 0x51, 0x00, 0x75, 0x00, 0x65, 0x00, 0x72, 0x00, + 0x79, 0x00, 0x20, 0x00, 0x49, 0x00, 0x64, 0x00, + 0x3d, 0x00, 0x22, 0x00, 0x30, 0x00, 0x22, 0x00, + 0x20, 0x00, 0x50, 0x00, 0x61, 0x00, 0x74, 0x00, + 0x68, 0x00, 0x3d, 0x00, 0x22, 0x00, 0x49, 0x00, + 0x6e, 0x00, 0x74, 0x00, 0x65, 0x00, 0x72, 0x00, + 0x6e, 0x00, 0x65, 0x00, 0x74, 0x00, 0x20, 0x00, + 0x45, 0x00, 0x78, 0x00, 0x70, 0x00, 0x6c, 0x00, + 0x6f, 0x00, 0x72, 0x00, 0x65, 0x00, 0x72, 0x00, + 0x22, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x53, 0x00, + 0x65, 0x00, 0x6c, 0x00, 0x65, 0x00, 0x63, 0x00, + 0x74, 0x00, 0x20, 0x00, 0x50, 0x00, 0x61, 0x00, + 0x74, 0x00, 0x68, 0x00, 0x3d, 0x00, 0x22, 0x00, + 0x49, 0x00, 0x6e, 0x00, 0x74, 0x00, 0x65, 0x00, + 0x72, 0x00, 0x6e, 0x00, 0x65, 0x00, 0x74, 0x00, + 0x20, 0x00, 0x45, 0x00, 0x78, 0x00, 0x70, 0x00, + 0x6c, 0x00, 0x6f, 0x00, 0x72, 0x00, 0x65, 0x00, + 0x72, 0x00, 0x22, 0x00, 0x3e, 0x00, 0x2a, 0x00, + 0x5b, 0x00, 0x53, 0x00, 0x79, 0x00, 0x73, 0x00, + 0x74, 0x00, 0x65, 0x00, 0x6d, 0x00, 0x5b, 0x00, + 0x45, 0x00, 0x76, 0x00, 0x65, 0x00, 0x6e, 0x00, + 0x74, 0x00, 0x49, 0x00, 0x44, 0x00, 0x3d, 0x00, + 0x32, 0x00, 0x5d, 0x00, 0x5d, 0x00, 0x3c, 0x00, + 0x2f, 0x00, 0x53, 0x00, 0x65, 0x00, 0x6c, 0x00, + 0x65, 0x00, 0x63, 0x00, 0x74, 0x00, 0x3e, 0x00, + 0x3c, 0x00, 0x2f, 0x00, 0x51, 0x00, 0x75, 0x00, + 0x65, 0x00, 0x72, 0x00, 0x79, 0x00, 0x3e, 0x00, + 0x3c, 0x00, 0x2f, 0x00, 0x51, 0x00, 0x75, 0x00, + 0x65, 0x00, 0x72, 0x00, 0x79, 0x00, 0x4c, 0x00, + 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, 0x3e, 0x00, + 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, + 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x1c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, + 0x15, 0x00, 0x00, 0x00, 0x69, 0xce, 0x28, 0x2a, + 0xce, 0xd8, 0x1f, 0x77, 0x37, 0x9c, 0xe2, 0x44, + 0xf4, 0x01, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x40, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x44, 0x00, 0x45, 0x00, 0x53, 0x00, 0x4b, 0x00, + 0x54, 0x00, 0x4f, 0x00, 0x50, 0x00, 0x2d, 0x00, + 0x45, 0x00, 0x33, 0x00, 0x38, 0x00, 0x38, 0x00, + 0x44, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5c, 0x00, + 0x41, 0x00, 0x64, 0x00, 0x6d, 0x00, 0x69, 0x00, + 0x6e, 0x00, 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, + 0x72, 0x00, 0x61, 0x00, 0x74, 0x00, 0x6f, 0x00, + 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, + 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, + 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x1c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, + 0x15, 0x00, 0x00, 0x00, 0x69, 0xce, 0x28, 0x2a, + 0xce, 0xd8, 0x1f, 0x77, 0x37, 0x9c, 0xe2, 0x44, + 0xf4, 0x01, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x40, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x44, 0x00, 0x45, 0x00, 0x53, 0x00, 0x4b, 0x00, + 0x54, 0x00, 0x4f, 0x00, 0x50, 0x00, 0x2d, 0x00, + 0x45, 0x00, 0x33, 0x00, 0x38, 0x00, 0x38, 0x00, + 0x44, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5c, 0x00, + 0x41, 0x00, 0x64, 0x00, 0x6d, 0x00, 0x69, 0x00, + 0x6e, 0x00, 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, + 0x72, 0x00, 0x61, 0x00, 0x74, 0x00, 0x6f, 0x00, + 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + ] + # fmt: on + ) + triggers = TriggerSet.decode(buf) + self.assertIsNotNone(triggers) + + def test_decode_triggers(self): + # fmt: off + buf = struct.pack( + "320B", + *[ + 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xB9, 0x61, 0x1A, 0xA8, 0xB9, 0x61, 0x1A, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xB9, 0x61, 0x1A, 0xA8, 0xB9, 0x61, 0x1A, + 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, + 0x08, 0xA1, 0x40, 0x42, 0x48, 0x48, 0x48, 0x48, + 0x7A, 0x7F, 0x59, 0xDC, 0x48, 0x48, 0x48, 0x48, + 0x22, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x49, 0x00, 0x6E, 0x00, 0x74, 0x00, 0x65, 0x00, + 0x72, 0x00, 0x61, 0x00, 0x63, 0x00, 0x74, 0x00, + 0x69, 0x00, 0x76, 0x00, 0x65, 0x00, 0x55, 0x00, + 0x73, 0x00, 0x65, 0x00, 0x72, 0x00, 0x73, 0x00, + 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x05, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x0C, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, + 0x04, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x2C, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, + 0x80, 0x51, 0x01, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, + 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0xAA, 0xAA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xB9, 0x61, 0x1A, 0xA8, 0xB9, 0x61, 0x1A, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xB9, 0x61, 0x1A, 0xA8, 0xB9, 0x61, 0x1A, + 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, + 0x2C, 0x01, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0xC1, 0xD9, 0x04, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + ] + ) + # fmt: on + triggers = TriggerSet.decode(buf) + self.assertIsNotNone(triggers) + if not triggers: + return + self.assertGreater(len(triggers.triggers), 0) diff --git a/volatility3/framework/renderers/conversion.py b/volatility3/framework/renderers/conversion.py index c8ddc19fd..e48684b31 100644 --- a/volatility3/framework/renderers/conversion.py +++ b/volatility3/framework/renderers/conversion.py @@ -28,6 +28,27 @@ def wintime_to_datetime( return renderers.UnparsableValue() +def windows_bytes_to_guid(buf: bytes) -> str: + """ + Converts 16 raw bytes to a windows GUID. + + Raises ValueError if the provided buffer is not exactly 16 bytes. + """ + if len(buf) != 16: + raise ValueError("Expected 16 bytes for GUID") + + head_components = [format(v, "x") for v in struct.unpack("HQ", + buf[8:10] + b"\x00\x00" + buf[10:16], + ) + ] + combined = head_components + tail_component + return "{" + "-".join(combined) + "}" + + def unixtime_to_datetime( unixtime: int, ) -> Union[interfaces.renderers.BaseAbsentValue, datetime.datetime]: From fb4dd924ceaffa04fd39dd3a86009f110748cd85 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 11 Oct 2024 10:15:43 -0500 Subject: [PATCH 0769/2186] Linux: Netfilter - fix traceback on missing module name When the module name can't be found, `None` ends up in this field, causing a traceback when rendering. This fixes it by replacing `None` with `renderers.NotAvailableValue()`. This occurred in the context of a netfilter hook from a hidden module. --- volatility3/framework/plugins/linux/netfilter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index d392a8371..f576c073c 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -714,7 +714,7 @@ class Netfilter(interfaces.plugins.PluginInterface): hook_name, priority, format_hints.Hex(hook_func), - module_name, + module_name or renderers.NotAvailableValue(), str(hooked), ) From e3521147d6c922a7e25d4481edcd6d4016888f74 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 13 Oct 2024 09:26:37 +1100 Subject: [PATCH 0770/2186] Linux - Add support for task threads in kernels >= 6.7 --- .../symbols/linux/extensions/__init__.py | 35 ++++++++++++------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index aa18b8262..0dab0db43 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -359,20 +359,29 @@ class task_struct(generic.GenericIntelProcess): """ return not self.is_kernel_thread and self.tgid != self.pid + def _get_tasks_iterable(self) -> Iterable[interfaces.objects.ObjectInterface]: + """Returns the respective iterable to obtain the threads in this process""" + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + task_struct_symname = f"{vmlinux.symbol_table_name}{constants.BANG}task_struct" + if vmlinux.get_type("task_struct").has_member("signal") and vmlinux.get_type( + "signal_struct" + ).has_member("thread_head"): + # kernels >= 6.7 - via signals + return self.signal.thread_head.to_list(task_struct_symname, "thread_node") + elif vmlinux.get_type("task_struct").has_member("thread_group"): + # kernels < 6.7 - via thread_group + return self.thread_group.to_list(task_struct_symname, "thread_group") + + raise AttributeError("Unable to find the root dentry") + def get_threads(self) -> Iterable[interfaces.objects.ObjectInterface]: - """Returns a list of the task_struct based on the list_head - thread_node structure.""" - - task_symbol_table_name = self.get_symbol_table_name() - - # iterating through the thread_list from thread_group - # this allows iterating through pointers to grab the - # threads and using the thread_group offset to get the - # corresponding task_struct - for task in self.thread_group.to_list( - f"{task_symbol_table_name}{constants.BANG}task_struct", "thread_group" - ): - yield task + """Returns each thread in this process""" + tasks_iterable = self._get_tasks_iterable() + threads_seen = set([self.vol.offset]) + for task in tasks_iterable: + if task.vol.offset not in threads_seen: + threads_seen.add(task.vol.offset) + yield task class fs_struct(objects.StructType): From 15a51cf1ec1e139193097976c115c820861bc034 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 14 Oct 2024 16:13:56 +1100 Subject: [PATCH 0771/2186] Linux - Add hlist_head object extension. Fix #1313 --- .../framework/symbols/linux/__init__.py | 1 + .../symbols/linux/extensions/__init__.py | 39 ++++++++++++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 219f120ee..1b7a331f8 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -22,6 +22,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): # Set-up Linux specific types self.set_type_class("file", extensions.struct_file) self.set_type_class("list_head", extensions.list_head) + self.set_type_class("hlist_head", extensions.hlist_head) self.set_type_class("mm_struct", extensions.mm_struct) self.set_type_class("super_block", extensions.super_block) self.set_type_class("task_struct", extensions.task_struct) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index aa18b8262..4b1df2a0b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -844,7 +844,7 @@ class dentry(objects.StructType): if self.has_member("d_sib") and self.has_member("d_children"): # kernels >= 6.8 walk_member = "d_sib" - list_head_member = self.d_children.first + list_head_member = self.d_children elif self.has_member("d_child") and self.has_member("d_subdirs"): # 2.5.0 <= kernels < 6.8 walk_member = "d_child" @@ -961,6 +961,43 @@ class list_head(objects.StructType, collections.abc.Iterable): return self.to_list(self.vol.parent.vol.type_name, self.vol.member_name) +class hlist_head(objects.StructType, collections.abc.Iterable): + def to_list( + self, + symbol_type: str, + member: str, + ) -> Iterator[interfaces.objects.ObjectInterface]: + """Returns an iterator of the entries in the list. + + This is a doubly linked list; however, it is not circular, so the 'forward' field + doesn't make sense. Also, the sentinel concept doesn't make sense here either; + unlike list_head, the head and nodes each have their own distinct types. A list_head + cannot be a node by itself. + - The 'pprev' of the first 'hlist_node' points to the 'hlist_head', not to the last node. + - The last element 'next' member is NULL + + Args: + symbol_type: Type of the list elements + member: Name of the list_head member in the list elements + + Yields: + Objects of the type specified via the "symbol_type" argument. + + """ + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + + current = self.first + while current and current.is_readable(): + yield linux.LinuxUtilities.container_of( + current, symbol_type, member, vmlinux + ) + + current = current.next + + def __iter__(self) -> Iterator[interfaces.objects.ObjectInterface]: + return self.to_list(self.vol.parent.vol.type_name, self.vol.member_name) + + class files_struct(objects.StructType): def get_fds(self) -> interfaces.objects.ObjectInterface: if self.has_member("fdt"): From f00c4c3c392a26bea29ba87d961c3a8f51092829 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 14 Oct 2024 16:35:43 +1100 Subject: [PATCH 0772/2186] Allows to create objects when using the same symbol table --- volatility3/framework/contexts/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index 4c169728c..6961d9328 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -245,7 +245,7 @@ class Module(interfaces.context.ModuleInterface): """ if constants.BANG not in object_type: object_type = self.symbol_table_name + constants.BANG + object_type - else: + elif not object_type.startswith(self.symbol_table_name + constants.BANG): raise ValueError( "Cannot reference another module when constructing an object" ) From e739d96a33217e013f0b126ab2c11007cf059cee Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 14 Oct 2024 14:03:38 +0200 Subject: [PATCH 0773/2186] dwarf2json rust type confusion sanity check --- volatility3/schemas/__init__.py | 54 +++++++++++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/volatility3/schemas/__init__.py b/volatility3/schemas/__init__.py index be120f2af..3ca00e5dc 100644 --- a/volatility3/schemas/__init__.py +++ b/volatility3/schemas/__init__.py @@ -6,8 +6,8 @@ import hashlib import json import logging import os -from typing import Any, Dict, Optional, Set - +import re +from typing import Any, Dict, Optional, Set, Tuple from volatility3.framework import constants vollog = logging.getLogger(__name__) @@ -77,6 +77,17 @@ def valid( input: Dict[str, Any], schema: Dict[str, Any], use_cache: bool = True ) -> bool: """Validates a json schema.""" + producer = input.get("metadata", {}).get("producer", {}) + if producer and producer.get("name") == "dwarf2json": + dwarf2json_version = parse_producer_version(producer.get("version", "")) + # No warnings if version couldn't be parsed, as it's not our role here + # to validate the schema. + if dwarf2json_version: + if dwarf2json_check_rust_type_confusion(input, dwarf2json_version): + vollog.warning( + "This ISF was generated by dwarf2json < 0.9.0, which is known to produce inaccurate results (see dwarf2json GitHub issue #63)." + ) + input_hash = create_json_hash(input, schema) if input_hash in cached_validations and use_cache: return True @@ -98,3 +109,42 @@ def valid( record_cached_validations(cached_validations) return True + + +def parse_producer_version(version_string: str) -> Optional[Tuple[int]]: + """Parses a producer version and returns a tuple of identifiers. + + Args: + version_string: string containing dot-separated integers, + expected to follow the Volatility3 versioning schema + + Returns: + A tuple containing each version identifier + """ + identifiers = re.search("^(\\d+)[.](\\d+)[.](\\d+)$", version_string) + if not identifiers: + return None + + return tuple(int(d) for d in identifiers.groups()) + + +# dwarf2json sanity checks # +def dwarf2json_check_rust_type_confusion( + input: Dict[str, Any], dwarf2json_version: Tuple[int] +) -> bool: + """dwarf2json sanity check for Rust and C types confusion: + - dwarf2json #63 + - volatility3 #1305 + + Args: + dwarf2json_version: a tuple containing each version identifier + + Returns: + True if the issue was detected + """ + + return "rust_helper_BUG" in input.get("symbols", {}) and dwarf2json_version < ( + 0, + 9, + 0, + ) From 2920694643d6951a980fe32df0e3afe295e5d418 Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 17:58:49 -0500 Subject: [PATCH 0774/2186] placeholder --- .../framework/plugins/windows/mftscan.py | 367 +++++++++--------- 1 file changed, 187 insertions(+), 180 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 9e6585345..0687c7796 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -20,6 +20,10 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): _required_framework_version = (2, 0, 0) + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self._record_map = {} + @classmethod def get_requirements(cls): return [ @@ -33,8 +37,10 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), ] - def _generator(self): - layer = self.context.layers[self.config["primary"]] + def enumerate_mft_records(self, attr_callback): + phys_layer = self.context.layers[self.config["primary"]].config["memory_layer"] + + layer = self.context.layers[phys_layer] # Yara Rule to scan for MFT Header Signatures rules = yarascan.YaraScan.process_yara_options( @@ -47,87 +53,36 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): config_path=self.config_path, sub_path="windows", filename="mft", - class_types={"FILE_NAME_ENTRY": mft.MFTFileName, "MFT_ENTRY": mft.MFTEntry}, + class_types={"FILE_NAME_ENTRY": mft.MFTFileName, "MFT_ENTRY": mft.MFTEntry, "ATTRIBUTE": mft.MFTAttribute}, ) # get each of the individual Field Sets - mft_object = symbol_table + constants.BANG + "MFT_ENTRY" - attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" - si_object = symbol_table + constants.BANG + "STANDARD_INFORMATION_ENTRY" - fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" + self.mft_object = symbol_table + constants.BANG + "MFT_ENTRY" + self.attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" + self.si_object = symbol_table + constants.BANG + "STANDARD_INFORMATION_ENTRY" + self.fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" # Scan the layer for Raw MFT records and parse the fields - for offset, _rule_name, _name, _value in layer.scan( + for offset, _, _, _ in layer.scan( context=self.context, scanner=yarascan.YaraScanner(rules=rules) ): - with contextlib.suppress(exceptions.PagedInvalidAddressException): + with contextlib.suppress(exceptions.InvalidAddressException): mft_record = self.context.object( - mft_object, offset=offset, layer_name=layer.name + self.mft_object, offset=offset, layer_name=layer.name ) # We will update this on each pass in the next loop and use it as the new offset. attr_base_offset = mft_record.FirstAttrOffset attr = self.context.object( - attribute_object, + self.attribute_object, offset=offset + attr_base_offset, layer_name=layer.name, ) # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr_header.AttrType - while attr.Attr_Header.AttrType.is_valid_choice: - vollog.debug(f"Attr Type: {attr.Attr_Header.AttrType.lookup()}") - - # MFT Flags determine the file type or dir - # If we don't have a valid enum, coerce to hex so we can keep the record - try: - mft_flag = mft_record.Flags.lookup() - except ValueError: - mft_flag = hex(mft_record.Flags) - - # Standard Information Attribute - if attr.Attr_Header.AttrType.lookup() == "STANDARD_INFORMATION": - attr_data = attr.Attr_Data.cast(si_object) - yield 0, ( - format_hints.Hex(attr_data.vol.offset), - mft_record.get_signature(), - mft_record.RecordNumber, - mft_record.LinkCount, - mft_flag, - renderers.NotApplicableValue(), - attr.Attr_Header.AttrType.lookup(), - conversion.wintime_to_datetime(attr_data.CreationTime), - conversion.wintime_to_datetime(attr_data.ModifiedTime), - conversion.wintime_to_datetime(attr_data.UpdatedTime), - conversion.wintime_to_datetime(attr_data.AccessedTime), - renderers.NotApplicableValue(), - ) - - # File Name Attribute - if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": - attr_data = attr.Attr_Data.cast(fn_object) - file_name = attr_data.get_full_name() - - # If we don't have a valid enum, coerce to hex so we can keep the record - try: - permissions = attr_data.Flags.lookup() - except ValueError: - permissions = hex(attr_data.Flags) - - yield 1, ( - format_hints.Hex(attr_data.vol.offset), - mft_record.get_signature(), - mft_record.RecordNumber, - mft_record.LinkCount, - mft_flag, - permissions, - attr.Attr_Header.AttrType.lookup(), - conversion.wintime_to_datetime(attr_data.CreationTime), - conversion.wintime_to_datetime(attr_data.ModifiedTime), - conversion.wintime_to_datetime(attr_data.UpdatedTime), - conversion.wintime_to_datetime(attr_data.AccessedTime), - file_name, - ) + for record in attr_callback(mft_record, attr): + yield record # If there's no advancement the loop will never end, so break it now if attr.Attr_Header.Length == 0: @@ -135,12 +90,69 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Update the base offset to point to the next attribute attr_base_offset += attr.Attr_Header.Length + # Get the next attribute attr = self.context.object( - attribute_object, + self.attribute_object, offset=offset + attr_base_offset, layer_name=layer.name, ) + def parse_mft_records(self, mft_record, attr): + # MFT Flags determine the file type or dir + # If we don't have a valid enum, coerce to hex so we can keep the record + try: + mft_flag = mft_record.Flags.lookup() + except ValueError: + mft_flag = hex(mft_record.Flags) + + # Standard Information Attribute + if attr.Attr_Header.AttrType.lookup() == "STANDARD_INFORMATION": + attr_data = attr.Attr_Data.cast(self.si_object) + yield 0, ( + format_hints.Hex(attr_data.vol.offset), + mft_record.get_signature(), + mft_record.RecordNumber, + mft_record.LinkCount, + mft_flag, + renderers.NotApplicableValue(), + attr.Attr_Header.AttrType.lookup(), + conversion.wintime_to_datetime(attr_data.CreationTime), + conversion.wintime_to_datetime(attr_data.ModifiedTime), + conversion.wintime_to_datetime(attr_data.UpdatedTime), + conversion.wintime_to_datetime(attr_data.AccessedTime), + renderers.NotApplicableValue(), + ) + + # File Name Attribute + elif attr.Attr_Header.AttrType.lookup() == "FILE_NAME": + attr_data = attr.Attr_Data.cast(self.fn_object) + file_name = attr_data.get_full_name() + + # If we don't have a valid enum, coerce to hex so we can keep the record + try: + permissions = attr_data.Flags.lookup() + except ValueError: + permissions = hex(attr_data.Flags) + + yield 1, ( + format_hints.Hex(attr_data.vol.offset), + mft_record.get_signature(), + mft_record.RecordNumber, + mft_record.LinkCount, + mft_flag, + permissions, + attr.Attr_Header.AttrType.lookup(), + conversion.wintime_to_datetime(attr_data.CreationTime), + conversion.wintime_to_datetime(attr_data.ModifiedTime), + conversion.wintime_to_datetime(attr_data.UpdatedTime), + conversion.wintime_to_datetime(attr_data.AccessedTime), + file_name, + ) + + def _generator(self): + for record in self.enumerate_mft_records(self.parse_mft_records): + yield record + def generate_timeline(self): for row in self._generator(): _depth, row_data = row @@ -173,127 +185,98 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): self._generator(), ) - -class ADS(interfaces.plugins.PluginInterface): +class ADS(MFTScan): """Scans for Alternate Data Stream""" _required_framework_version = (2, 0, 0) - @classmethod - def get_requirements(cls): - return [ - requirements.TranslationLayerRequirement( - name="primary", - description="Memory layer for the kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) - ), - ] + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + # which DATA attribute should be displayed + self._display_first_data = False + + def _parse_data_record(self, mft_record, attr): + if attr.Attr_Header.NonResidentFlag: + return + + # regular $DATA + if self._display_first_data: + content = attr.get_resident_filecontent() + if content: + content = format_hints.HexBytes(content) + else: + content = renderers.NotAvailableValue() + + yield 0, ( + format_hints.Hex(self._record_map[mft_record.RecordNumber][2]), + mft_record.get_signature(), + mft_record.RecordNumber, + attr.Attr_Header.AttrType.lookup(), + self._record_map[mft_record.RecordNumber][0], + content, + ) + + # ADS $DATA + elif attr.Attr_Header.NameLength > 0: + ads_name = attr.get_resident_filename() + if not ads_name: + ads_name = renderers.NotAvailableValue() + + content = attr.get_resident_filecontent() + if content: + content = format_hints.HexBytes(content) + else: + content = renderers.NotAvailableValue() + + yield 0, ( + format_hints.Hex(self._record_map[mft_record.RecordNumber][2]), + mft_record.get_signature(), + mft_record.RecordNumber, + attr.Attr_Header.AttrType.lookup(), + self._record_map[mft_record.RecordNumber][0], + ads_name, + content, + ) + + def parse_data_records(self, mft_record, attr): + rec_num = mft_record.RecordNumber + if rec_num not in self._record_map: + # file name, DATA count, offset + self._record_map[rec_num] = [renderers.NotAvailableValue(), 0, None] + + if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": + attr_data = attr.Attr_Data.cast(self.fn_object) + rec_name = attr_data.get_full_name() + self._record_map[rec_num][0] = rec_name + elif attr.Attr_Header.AttrType.lookup() == "DATA": + # first data + self._record_map[rec_num][2] = attr.Attr_Data.vol.offset + + display_data = False + + # first DATA attribute of this record + if self._record_map[rec_num][1] == 0: + if self._display_first_data: + display_data = True + else: + self._record_map[rec_num][1] = 1 + + # at the second DATA attribute of this record + elif not self._display_first_data: + display_data = True + + if display_data: + for record in self._parse_data_record( + mft_record, attr + ): + yield record def _generator(self): - layer = self.context.layers[self.config["primary"]] - - # Yara Rule to scan for MFT Header Signatures - rules = yarascan.YaraScan.process_yara_options( - {"yara_string": "/FILE0|FILE\\*|BAAD/"} - ) - - # Read in the Symbol File - symbol_table = intermed.IntermediateSymbolTable.create( - context=self.context, - config_path=self.config_path, - sub_path="windows", - filename="mft", - class_types={ - "MFT_ENTRY": mft.MFTEntry, - "FILE_NAME_ENTRY": mft.MFTFileName, - "ATTRIBUTE": mft.MFTAttribute, - }, - ) - - # get each of the individual Field Sets - mft_object = symbol_table + constants.BANG + "MFT_ENTRY" - attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" - fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" - - # Scan the layer for Raw MFT records and parse the fields - for offset, _rule_name, _name, _value in layer.scan( - context=self.context, scanner=yarascan.YaraScanner(rules=rules) + for record in self.enumerate_mft_records( + self.parse_data_records ): - with contextlib.suppress(exceptions.PagedInvalidAddressException): - mft_record = self.context.object( - mft_object, offset=offset, layer_name=layer.name - ) - # We will update this on each pass in the next loop and use it as the new offset. - attr_base_offset = mft_record.FirstAttrOffset - - attr = self.context.object( - attribute_object, - offset=offset + attr_base_offset, - layer_name=layer.name, - ) - - # There is no field that has a count of Attributes - # Keep Attempting to read attributes until we get an invalid attr.AttrType - is_ads = False - file_name = renderers.NotAvailableValue - # The First $DATA Attr is the 'principal' file itself not the ADS - while attr.Attr_Header.AttrType.is_valid_choice: - if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": - attr_data = attr.Attr_Data.cast(fn_object) - file_name = attr_data.get_full_name() - if attr.Attr_Header.AttrType.lookup() == "DATA": - if is_ads: - if not attr.Attr_Header.NonResidentFlag: - # Resident files are the most interesting. - if attr.Attr_Header.NameLength > 0: - ads_name = attr.get_resident_filename() - if not ads_name: - ads_name = renderers.NotAvailableValue - - content = attr.get_resident_filecontent() - if content: - # Preparing for Disassembly - disasm = interfaces.renderers.BaseAbsentValue - architecture = layer.metadata.get( - "architecture", None - ) - if architecture: - disasm = interfaces.renderers.Disassembly( - content, 0, architecture.lower() - ) - content = format_hints.HexBytes(content) - else: - content = renderers.NotAvailableValue() - disasm = interfaces.renderers.BaseAbsentValue() - - yield 0, ( - format_hints.Hex(attr_data.vol.offset), - mft_record.get_signature(), - mft_record.RecordNumber, - attr.Attr_Header.AttrType.lookup(), - file_name, - ads_name, - content, - disasm, - ) - else: - is_ads = True - - # If there's no advancement the loop will never end, so break it now - if attr.Attr_Header.Length == 0: - break - - # Update the base offset to point to the next attribute - attr_base_offset += attr.Attr_Header.Length - # Get the next attribute - attr = self.context.object( - attribute_object, - offset=offset + attr_base_offset, - layer_name=layer.name, - ) + yield record def run(self): return renderers.TreeGrid( @@ -305,7 +288,31 @@ class ADS(interfaces.plugins.PluginInterface): ("Filename", str), ("ADS Filename", str), ("Hexdump", format_hints.HexBytes), - ("Disasm", interfaces.renderers.Disassembly), ], self._generator(), ) + +class ResidentData(ADS): + """Scans for Alternate Data Stream""" + + _required_framework_version = (2, 0, 0) + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + # which DATA attribute should be displayed + self._display_first_data = True + + def run(self): + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("Record Type", str), + ("Record Number", int), + ("MFT Type", str), + ("Filename", str), + ("Hexdump", format_hints.HexBytes), + ], + self._generator(), + ) + From 8926823199e35cd26858f6782943f4ec4e53e20e Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 18:08:08 -0500 Subject: [PATCH 0775/2186] Format fixes --- .../framework/plugins/windows/mftscan.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 0687c7796..d6f4684ec 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -53,7 +53,11 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): config_path=self.config_path, sub_path="windows", filename="mft", - class_types={"FILE_NAME_ENTRY": mft.MFTFileName, "MFT_ENTRY": mft.MFTEntry, "ATTRIBUTE": mft.MFTAttribute}, + class_types={ + "FILE_NAME_ENTRY": mft.MFTFileName, + "MFT_ENTRY": mft.MFTEntry, + "ATTRIBUTE": mft.MFTAttribute + }, ) # get each of the individual Field Sets @@ -185,6 +189,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): self._generator(), ) + class ADS(MFTScan): """Scans for Alternate Data Stream""" @@ -242,7 +247,7 @@ class ADS(MFTScan): def parse_data_records(self, mft_record, attr): rec_num = mft_record.RecordNumber if rec_num not in self._record_map: - # file name, DATA count, offset + # file name, DATA count, offset self._record_map[rec_num] = [renderers.NotAvailableValue(), 0, None] if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": @@ -267,15 +272,11 @@ class ADS(MFTScan): display_data = True if display_data: - for record in self._parse_data_record( - mft_record, attr - ): + for record in self._parse_data_record(mft_record, attr): yield record def _generator(self): - for record in self.enumerate_mft_records( - self.parse_data_records - ): + for record in self.enumerate_mft_records(self.parse_data_records): yield record def run(self): @@ -292,6 +293,7 @@ class ADS(MFTScan): self._generator(), ) + class ResidentData(ADS): """Scans for Alternate Data Stream""" @@ -315,4 +317,3 @@ class ResidentData(ADS): ], self._generator(), ) - From 105b4bab25511dc8f5b2461f5f2a53422b55dafa Mon Sep 17 00:00:00 2001 From: atcuno Date: Wed, 19 Jun 2024 18:09:18 -0500 Subject: [PATCH 0776/2186] Format fixes --- volatility3/framework/plugins/windows/mftscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index d6f4684ec..540ab531c 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -56,7 +56,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): class_types={ "FILE_NAME_ENTRY": mft.MFTFileName, "MFT_ENTRY": mft.MFTEntry, - "ATTRIBUTE": mft.MFTAttribute + "ATTRIBUTE": mft.MFTAttribute, }, ) From 9b8eea015a4544752805f0dcfa2bde33b33e3084 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 18 Jul 2024 11:57:13 -0500 Subject: [PATCH 0777/2186] Address feedback --- .../framework/plugins/windows/mftscan.py | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 540ab531c..e2dfa12a3 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -5,6 +5,8 @@ import contextlib import datetime import logging +from typing import Generator, Iterable + from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import conversion, format_hints @@ -23,6 +25,10 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._record_map = {} + self.mft_object = None + self.attribute_object = None + self.si_object = None + self.fn_object = None @classmethod def get_requirements(cls): @@ -201,12 +207,17 @@ class ADS(MFTScan): # which DATA attribute should be displayed self._display_first_data = False - def _parse_data_record(self, mft_record, attr): + def _parse_data_record( + self, + mft_record: interfaces.objects.ObjectInterface, + attr: interfaces.objects.ObjectInterface, + ) -> Generator[Iterable, None, None]: + # we only care about resident data if attr.Attr_Header.NonResidentFlag: return # regular $DATA - if self._display_first_data: + elif self._display_first_data: content = attr.get_resident_filecontent() if content: content = format_hints.HexBytes(content) @@ -244,7 +255,11 @@ class ADS(MFTScan): content, ) - def parse_data_records(self, mft_record, attr): + def parse_data_records( + self, + mft_record: interfaces.objects.ObjectInterface, + attr: interfaces.objects.ObjectInterface, + ) -> Generator[Iterable, None, None]: rec_num = mft_record.RecordNumber if rec_num not in self._record_map: # file name, DATA count, offset From 2c73d8812a24eb8e34b84cfc6be61bf06a0c18b5 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 21 Jul 2024 08:55:27 -0500 Subject: [PATCH 0778/2186] Split layer gathering and add KeyError checks --- volatility3/framework/plugins/windows/mftscan.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index e2dfa12a3..6a4033a6f 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -44,7 +44,17 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ] def enumerate_mft_records(self, attr_callback): - phys_layer = self.context.layers[self.config["primary"]].config["memory_layer"] + try: + primary = self.context.layers[self.config["primary"]] + except KeyError: + vollog.error("Unable to obtain primary layer for scanning. Please file a bug on GitHub about this issue.") + return + + try: + phys_layer = primary.config["memory_layer"] + except KeyError: + vollog.error("Unable to obtain memory layer from primary layer. Please file a bug on GitHub about this issue.") + return layer = self.context.layers[phys_layer] From a8c6db2fc4b7d7a618477639e64d2c554c8961b2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 21 Jul 2024 11:56:52 -0500 Subject: [PATCH 0779/2186] Formatting fixes --- volatility3/framework/plugins/windows/mftscan.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 6a4033a6f..ec8dd5fe8 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -47,13 +47,17 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): try: primary = self.context.layers[self.config["primary"]] except KeyError: - vollog.error("Unable to obtain primary layer for scanning. Please file a bug on GitHub about this issue.") + vollog.error( + "Unable to obtain primary layer for scanning. Please file a bug on GitHub about this issue." + ) return try: phys_layer = primary.config["memory_layer"] except KeyError: - vollog.error("Unable to obtain memory layer from primary layer. Please file a bug on GitHub about this issue.") + vollog.error( + "Unable to obtain memory layer from primary layer. Please file a bug on GitHub about this issue." + ) return layer = self.context.layers[phys_layer] From dea0e156890e620ef78aeeadce8139a81e8e9042 Mon Sep 17 00:00:00 2001 From: atcuno Date: Mon, 22 Jul 2024 16:27:05 -0500 Subject: [PATCH 0780/2186] Address feedback --- .../framework/plugins/windows/mftscan.py | 338 +++++++++++------- 1 file changed, 215 insertions(+), 123 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index ec8dd5fe8..0d858cec1 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -5,7 +5,7 @@ import contextlib import datetime import logging -from typing import Generator, Iterable +from typing import Generator, Iterable, Dict, Tuple from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements @@ -22,13 +22,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): _required_framework_version = (2, 0, 0) - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - self._record_map = {} - self.mft_object = None - self.attribute_object = None - self.si_object = None - self.fn_object = None + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -43,9 +37,15 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), ] - def enumerate_mft_records(self, attr_callback): + @staticmethod + def enumerate_mft_records( + context: interfaces.context.ContextInterface, + config: interfaces.configuration.HierarchicalDict, + config_path: str, + attr_callback + ) -> interfaces.objects.ObjectInterface: try: - primary = self.context.layers[self.config["primary"]] + primary = context.layers[config["primary"]] except KeyError: vollog.error( "Unable to obtain primary layer for scanning. Please file a bug on GitHub about this issue." @@ -60,7 +60,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) return - layer = self.context.layers[phys_layer] + layer = context.layers[phys_layer] # Yara Rule to scan for MFT Header Signatures rules = yarascan.YaraScan.process_yara_options( @@ -69,8 +69,8 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Read in the Symbol File symbol_table = intermed.IntermediateSymbolTable.create( - context=self.context, - config_path=self.config_path, + context=context, + config_path=config_path, sub_path="windows", filename="mft", class_types={ @@ -81,23 +81,21 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) # get each of the individual Field Sets - self.mft_object = symbol_table + constants.BANG + "MFT_ENTRY" - self.attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" - self.si_object = symbol_table + constants.BANG + "STANDARD_INFORMATION_ENTRY" - self.fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" + mft_object = symbol_table + constants.BANG + "MFT_ENTRY" + attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" # Scan the layer for Raw MFT records and parse the fields for offset, _, _, _ in layer.scan( - context=self.context, scanner=yarascan.YaraScanner(rules=rules) + context=context, scanner=yarascan.YaraScanner(rules=rules) ): with contextlib.suppress(exceptions.InvalidAddressException): - mft_record = self.context.object( - self.mft_object, offset=offset, layer_name=layer.name + mft_record = context.object( + mft_object, offset=offset, layer_name=layer.name ) # We will update this on each pass in the next loop and use it as the new offset. attr_base_offset = mft_record.FirstAttrOffset - attr = self.context.object( - self.attribute_object, + attr = context.object( + attribute_object, offset=offset + attr_base_offset, layer_name=layer.name, ) @@ -105,7 +103,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr_header.AttrType while attr.Attr_Header.AttrType.is_valid_choice: - for record in attr_callback(mft_record, attr): + for record in attr_callback(mft_record, attr, symbol_table): yield record # If there's no advancement the loop will never end, so break it now @@ -115,13 +113,14 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Update the base offset to point to the next attribute attr_base_offset += attr.Attr_Header.Length # Get the next attribute - attr = self.context.object( - self.attribute_object, + attr = context.object( + attribute_object, offset=offset + attr_base_offset, layer_name=layer.name, ) - def parse_mft_records(self, mft_record, attr): + @staticmethod + def parse_mft_records(mft_record, attr, symbol_table): # MFT Flags determine the file type or dir # If we don't have a valid enum, coerce to hex so we can keep the record try: @@ -131,7 +130,8 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Standard Information Attribute if attr.Attr_Header.AttrType.lookup() == "STANDARD_INFORMATION": - attr_data = attr.Attr_Data.cast(self.si_object) + si_object = symbol_table + constants.BANG + "STANDARD_INFORMATION_ENTRY" + attr_data = attr.Attr_Data.cast(si_object) yield 0, ( format_hints.Hex(attr_data.vol.offset), mft_record.get_signature(), @@ -149,7 +149,9 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # File Name Attribute elif attr.Attr_Header.AttrType.lookup() == "FILE_NAME": - attr_data = attr.Attr_Data.cast(self.fn_object) + fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" + + attr_data = attr.Attr_Data.cast(fn_object) file_name = attr_data.get_full_name() # If we don't have a valid enum, coerce to hex so we can keep the record @@ -173,8 +175,114 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): file_name, ) + @staticmethod + def parse_data_record( + mft_record: interfaces.objects.ObjectInterface, + attr: interfaces.objects.ObjectInterface, + record_map: Dict[int, Tuple[str, int, int]], + return_first_record: bool, + ) -> Generator[Iterable, None, None]: + """ + Returns the parsed data from a MFT record + """ + # we only care about resident data + if attr.Attr_Header.NonResidentFlag: + return + + content = attr.get_resident_filecontent() + if content: + content = format_hints.HexBytes(content) + else: + content = renderers.NotAvailableValue() + + # past the first $DATA record, attempt to get the ADS name + # NotApplicableValue = 1st Data + # NotAvailableValue = > 1st Data, but name was not parsable + ads_name = renderers.NotApplicableValue() + if not return_first_record and attr.Attr_Header.NameLength > 0: + ads_name = attr.get_resident_filename() + if not ads_name: + ads_name = renderers.NotAvailableValue() + + yield ( + format_hints.Hex(record_map[mft_record.RecordNumber][2]), + mft_record.get_signature(), + mft_record.RecordNumber, + attr.Attr_Header.AttrType.lookup(), + record_map[mft_record.RecordNumber][0], + ads_name, + content, + ) + + @classmethod + def _do_parse_data_records( + cls, + mft_record: interfaces.objects.ObjectInterface, + attr: interfaces.objects.ObjectInterface, + symbol_table, + record_map: Dict[int, Tuple[str, int, int]], + return_first_record: bool, + ) -> Generator[Iterable, None, None]: + """ + Parses DATA records while maintaining the FILE_NAME association + from previous parsing of the record + Suports returning the first/main $DATA as well as however many + ADS records a file might have + """ + rec_num = mft_record.RecordNumber + if rec_num not in record_map: + # file name, DATA count, offset + record_map[rec_num] = [renderers.NotAvailableValue(), 0, None] + + if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": + fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" + attr_data = attr.Attr_Data.cast(fn_object) + rec_name = attr_data.get_full_name() + record_map[rec_num][0] = rec_name + elif attr.Attr_Header.AttrType.lookup() == "DATA": + # first data + record_map[rec_num][2] = attr.Attr_Data.vol.offset + + display_data = False + + # first DATA attribute of this record + if record_map[rec_num][1] == 0 and return_first_record: + if return_first_record: + display_data = True + else: + record_map[rec_num][1] = 1 + + # at the second DATA attribute of this record + elif not return_first_record: + display_data = True + + if display_data: + for record in cls.parse_data_record( + mft_record, attr, record_map, return_first_record + ): + yield record + + @classmethod + def parse_data_records( + cls, + mft_record: interfaces.objects.ObjectInterface, + attr: interfaces.objects.ObjectInterface, + symbol_table, + return_first_record: bool, + ): + """ + Callback for parsing data records through enumerate_mft_records + """ + record_map = {} + for record in cls._do_parse_data_records( + mft_record, attr, symbol_table, record_map, return_first_record + ): + yield record + def _generator(self): - for record in self.enumerate_mft_records(self.parse_mft_records): + for record in self.enumerate_mft_records( + self.context, self.config, self.config_path, self.parse_mft_records + ): yield record def generate_timeline(self): @@ -210,103 +318,53 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) -class ADS(MFTScan): +class ADS(interfaces.plugins.PluginInterface): """Scans for Alternate Data Stream""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 7, 0) - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) + _version = (1, 0, 0) - # which DATA attribute should be displayed - self._display_first_data = False + @classmethod + def get_requirements(cls): + return [ + requirements.PluginRequirement( + name="MFTScan", plugin=MFTScan, version=(2, 0, 0) + ), + requirements.TranslationLayerRequirement( + name="primary", + description="Memory layer for the kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + ), + ] - def _parse_data_record( - self, + @staticmethod + def parse_ads_data_records( mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, - ) -> Generator[Iterable, None, None]: - # we only care about resident data - if attr.Attr_Header.NonResidentFlag: - return - - # regular $DATA - elif self._display_first_data: - content = attr.get_resident_filecontent() - if content: - content = format_hints.HexBytes(content) - else: - content = renderers.NotAvailableValue() - - yield 0, ( - format_hints.Hex(self._record_map[mft_record.RecordNumber][2]), - mft_record.get_signature(), - mft_record.RecordNumber, - attr.Attr_Header.AttrType.lookup(), - self._record_map[mft_record.RecordNumber][0], - content, - ) - - # ADS $DATA - elif attr.Attr_Header.NameLength > 0: - ads_name = attr.get_resident_filename() - if not ads_name: - ads_name = renderers.NotAvailableValue() - - content = attr.get_resident_filecontent() - if content: - content = format_hints.HexBytes(content) - else: - content = renderers.NotAvailableValue() - - yield 0, ( - format_hints.Hex(self._record_map[mft_record.RecordNumber][2]), - mft_record.get_signature(), - mft_record.RecordNumber, - attr.Attr_Header.AttrType.lookup(), - self._record_map[mft_record.RecordNumber][0], - ads_name, - content, - ) - - def parse_data_records( - self, - mft_record: interfaces.objects.ObjectInterface, - attr: interfaces.objects.ObjectInterface, - ) -> Generator[Iterable, None, None]: - rec_num = mft_record.RecordNumber - if rec_num not in self._record_map: - # file name, DATA count, offset - self._record_map[rec_num] = [renderers.NotAvailableValue(), 0, None] - - if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": - attr_data = attr.Attr_Data.cast(self.fn_object) - rec_name = attr_data.get_full_name() - self._record_map[rec_num][0] = rec_name - elif attr.Attr_Header.AttrType.lookup() == "DATA": - # first data - self._record_map[rec_num][2] = attr.Attr_Data.vol.offset - - display_data = False - - # first DATA attribute of this record - if self._record_map[rec_num][1] == 0: - if self._display_first_data: - display_data = True - else: - self._record_map[rec_num][1] = 1 - - # at the second DATA attribute of this record - elif not self._display_first_data: - display_data = True - - if display_data: - for record in self._parse_data_record(mft_record, attr): - yield record + symbol_table, + ): + return MFTScan.parse_data_records(mft_record, attr, symbol_table, False) def _generator(self): - for record in self.enumerate_mft_records(self.parse_data_records): - yield record + for ( + offset, + rec_type, + rec_num, + attr_type, + file_name, + ads_name, + content, + ) in MFTScan.enumerate_mft_records( + self.context, self.config, self.config_path, self.parse_ads_data_records + ): + yield ( + 0, + (offset, rec_type, rec_num, attr_type, file_name, ads_name, content), + ) def run(self): return renderers.TreeGrid( @@ -323,16 +381,50 @@ class ADS(MFTScan): ) -class ResidentData(ADS): +class ResidentData(interfaces.plugins.PluginInterface): """Scans for Alternate Data Stream""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 7, 0) - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) + _version = (1, 0, 0) - # which DATA attribute should be displayed - self._display_first_data = True + @classmethod + def get_requirements(cls): + return [ + requirements.PluginRequirement( + name="MFTScan", plugin=MFTScan, version=(2, 0, 0) + ), + requirements.TranslationLayerRequirement( + name="primary", + description="Memory layer for the kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + ), + ] + + @staticmethod + def parse_first_data_records( + mft_record: interfaces.objects.ObjectInterface, + attr: interfaces.objects.ObjectInterface, + symbol_table, + ): + return MFTScan.parse_data_records(mft_record, attr, symbol_table, True) + + def _generator(self): + for ( + offset, + rec_type, + rec_num, + attr_type, + file_name, + _, + content, + ) in MFTScan.enumerate_mft_records( + self.context, self.config, self.config_path, self.parse_first_data_records + ): + yield (0, (offset, rec_type, rec_num, attr_type, file_name, content)) def run(self): return renderers.TreeGrid( From da843b0367b7353274626f79d09ddb4377a9148b Mon Sep 17 00:00:00 2001 From: atcuno Date: Mon, 22 Jul 2024 16:27:39 -0500 Subject: [PATCH 0781/2186] Address feedback --- volatility3/framework/plugins/windows/mftscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 0d858cec1..6a2aac440 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -42,7 +42,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): context: interfaces.context.ContextInterface, config: interfaces.configuration.HierarchicalDict, config_path: str, - attr_callback + attr_callback, ) -> interfaces.objects.ObjectInterface: try: primary = context.layers[config["primary"]] From 33716be15b4088e7743bc938f2c0e83ab8b5ea18 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 31 Jul 2024 13:56:38 -0500 Subject: [PATCH 0782/2186] Rework for proper ADS recovery. Memory OOM issues --- .../framework/plugins/windows/mftscan.py | 51 +++++++++++-------- 1 file changed, 31 insertions(+), 20 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 6a2aac440..430f3fc02 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -84,8 +84,10 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): mft_object = symbol_table + constants.BANG + "MFT_ENTRY" attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" + record_map = {} + # Scan the layer for Raw MFT records and parse the fields - for offset, _, _, _ in layer.scan( + for offset, _rule_name, _name, _value in layer.scan( context=context, scanner=yarascan.YaraScanner(rules=rules) ): with contextlib.suppress(exceptions.InvalidAddressException): @@ -103,7 +105,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr_header.AttrType while attr.Attr_Header.AttrType.is_valid_choice: - for record in attr_callback(mft_record, attr, symbol_table): + for record in attr_callback(record_map, mft_record, attr, symbol_table): yield record # If there's no advancement the loop will never end, so break it now @@ -120,7 +122,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) @staticmethod - def parse_mft_records(mft_record, attr, symbol_table): + def parse_mft_records(record_map, mft_record, attr, symbol_table): # MFT Flags determine the file type or dir # If we don't have a valid enum, coerce to hex so we can keep the record try: @@ -189,21 +191,27 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): if attr.Attr_Header.NonResidentFlag: return + # we aren't looking ADS when we want the first data record + if return_first_record: + ads_name = renderers.NotApplicableValue() + + # skip records without a name if we want ADS entries + elif attr.Attr_Header.NameLength == 0: + return + + else: + # past the first $DATA record, attempt to get the ADS name + # NotAvailableValue = > 1st Data, but name was not parsable + ads_name = attr.get_resident_filename() + if not ads_name: + ads_name = renderers.NotAvailableValue() + content = attr.get_resident_filecontent() if content: content = format_hints.HexBytes(content) else: content = renderers.NotAvailableValue() - # past the first $DATA record, attempt to get the ADS name - # NotApplicableValue = 1st Data - # NotAvailableValue = > 1st Data, but name was not parsable - ads_name = renderers.NotApplicableValue() - if not return_first_record and attr.Attr_Header.NameLength > 0: - ads_name = attr.get_resident_filename() - if not ads_name: - ads_name = renderers.NotAvailableValue() - yield ( format_hints.Hex(record_map[mft_record.RecordNumber][2]), mft_record.get_signature(), @@ -246,14 +254,15 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): display_data = False # first DATA attribute of this record - if record_map[rec_num][1] == 0 and return_first_record: + if record_map[rec_num][1] == 0: if return_first_record: display_data = True - else: - record_map[rec_num][1] = 1 + + record_map[rec_num][1] = 1 # at the second DATA attribute of this record - elif not return_first_record: + elif record_map[rec_num][1] == 1 and not return_first_record: + print("at second record") display_data = True if display_data: @@ -265,6 +274,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): @classmethod def parse_data_records( cls, + record_map: Dict[int, Tuple[str, int, int]], mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, symbol_table, @@ -273,7 +283,6 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """ Callback for parsing data records through enumerate_mft_records """ - record_map = {} for record in cls._do_parse_data_records( mft_record, attr, symbol_table, record_map, return_first_record ): @@ -343,11 +352,12 @@ class ADS(interfaces.plugins.PluginInterface): @staticmethod def parse_ads_data_records( + record_map: Dict[int, Tuple[str, int, int]], mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, symbol_table, ): - return MFTScan.parse_data_records(mft_record, attr, symbol_table, False) + return MFTScan.parse_data_records(record_map, mft_record, attr, symbol_table, False) def _generator(self): for ( @@ -382,7 +392,7 @@ class ADS(interfaces.plugins.PluginInterface): class ResidentData(interfaces.plugins.PluginInterface): - """Scans for Alternate Data Stream""" + """Scans for MFT Records with Resident Data""" _required_framework_version = (2, 7, 0) @@ -406,11 +416,12 @@ class ResidentData(interfaces.plugins.PluginInterface): @staticmethod def parse_first_data_records( + record_map: Dict[int, Tuple[str, int, int]], mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, symbol_table, ): - return MFTScan.parse_data_records(mft_record, attr, symbol_table, True) + return MFTScan.parse_data_records(record_map, mft_record, attr, symbol_table, True) def _generator(self): for ( From da41124b1cb936ab168555568cf17512f719b6b4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 2 Sep 2024 14:20:02 -0500 Subject: [PATCH 0783/2186] Fix formatting with black --- volatility3/framework/plugins/windows/mftscan.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 430f3fc02..2929b0522 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -105,7 +105,9 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr_header.AttrType while attr.Attr_Header.AttrType.is_valid_choice: - for record in attr_callback(record_map, mft_record, attr, symbol_table): + for record in attr_callback( + record_map, mft_record, attr, symbol_table + ): yield record # If there's no advancement the loop will never end, so break it now @@ -357,7 +359,9 @@ class ADS(interfaces.plugins.PluginInterface): attr: interfaces.objects.ObjectInterface, symbol_table, ): - return MFTScan.parse_data_records(record_map, mft_record, attr, symbol_table, False) + return MFTScan.parse_data_records( + record_map, mft_record, attr, symbol_table, False + ) def _generator(self): for ( @@ -421,7 +425,9 @@ class ResidentData(interfaces.plugins.PluginInterface): attr: interfaces.objects.ObjectInterface, symbol_table, ): - return MFTScan.parse_data_records(record_map, mft_record, attr, symbol_table, True) + return MFTScan.parse_data_records( + record_map, mft_record, attr, symbol_table, True + ) def _generator(self): for ( From 685dc97298719b9bcfb24d5a020b7d4550580f4c Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 30 Sep 2024 18:11:23 -0500 Subject: [PATCH 0784/2186] fix resident data bug for duplicate mft record numbers --- .../framework/plugins/windows/mftscan.py | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 2929b0522..16425ca22 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -215,11 +215,11 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): content = renderers.NotAvailableValue() yield ( - format_hints.Hex(record_map[mft_record.RecordNumber][2]), + format_hints.Hex(record_map[mft_record.vol.offset][2]), mft_record.get_signature(), mft_record.RecordNumber, attr.Attr_Header.AttrType.lookup(), - record_map[mft_record.RecordNumber][0], + record_map[mft_record.vol.offset][0], ads_name, content, ) @@ -239,31 +239,29 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): Suports returning the first/main $DATA as well as however many ADS records a file might have """ - rec_num = mft_record.RecordNumber - if rec_num not in record_map: + if mft_record.vol.offset not in record_map: # file name, DATA count, offset - record_map[rec_num] = [renderers.NotAvailableValue(), 0, None] - + record_map[mft_record.vol.offset] = [renderers.NotAvailableValue(), 0, None] if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" attr_data = attr.Attr_Data.cast(fn_object) rec_name = attr_data.get_full_name() - record_map[rec_num][0] = rec_name + record_map[mft_record.vol.offset][0] = rec_name elif attr.Attr_Header.AttrType.lookup() == "DATA": # first data - record_map[rec_num][2] = attr.Attr_Data.vol.offset + record_map[mft_record.vol.offset][2] = attr.Attr_Data.vol.offset display_data = False # first DATA attribute of this record - if record_map[rec_num][1] == 0: + if record_map[mft_record.vol.offset][1] == 0: if return_first_record: display_data = True - record_map[rec_num][1] = 1 + record_map[mft_record.vol.offset][1] = 1 # at the second DATA attribute of this record - elif record_map[rec_num][1] == 1 and not return_first_record: + elif record_map[mft_record.vol.offset][1] == 1 and not return_first_record: print("at second record") display_data = True From 79f81f0af9193878f0290d0ae05d5178e71502c6 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Tue, 15 Oct 2024 14:11:27 -0500 Subject: [PATCH 0785/2186] Address feedback --- .../framework/plugins/windows/mftscan.py | 37 +++++-------------- 1 file changed, 9 insertions(+), 28 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 16425ca22..94dce8c4d 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -40,12 +40,12 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): @staticmethod def enumerate_mft_records( context: interfaces.context.ContextInterface, - config: interfaces.configuration.HierarchicalDict, config_path: str, + primary_layer_name: str, attr_callback, ) -> interfaces.objects.ObjectInterface: try: - primary = context.layers[config["primary"]] + primary = context.layers[primary_layer_name] except KeyError: vollog.error( "Unable to obtain primary layer for scanning. Please file a bug on GitHub about this issue." @@ -105,10 +105,9 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr_header.AttrType while attr.Attr_Header.AttrType.is_valid_choice: - for record in attr_callback( + yield from attr_callback( record_map, mft_record, attr, symbol_table - ): - yield record + ) # If there's no advancement the loop will never end, so break it now if attr.Attr_Header.Length == 0: @@ -225,12 +224,12 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) @classmethod - def _do_parse_data_records( + def parse_data_records( cls, + record_map: Dict[int, Tuple[str, int, int]], mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, symbol_table, - record_map: Dict[int, Tuple[str, int, int]], return_first_record: bool, ) -> Generator[Iterable, None, None]: """ @@ -262,7 +261,6 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # at the second DATA attribute of this record elif record_map[mft_record.vol.offset][1] == 1 and not return_first_record: - print("at second record") display_data = True if display_data: @@ -271,26 +269,9 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ): yield record - @classmethod - def parse_data_records( - cls, - record_map: Dict[int, Tuple[str, int, int]], - mft_record: interfaces.objects.ObjectInterface, - attr: interfaces.objects.ObjectInterface, - symbol_table, - return_first_record: bool, - ): - """ - Callback for parsing data records through enumerate_mft_records - """ - for record in cls._do_parse_data_records( - mft_record, attr, symbol_table, record_map, return_first_record - ): - yield record - def _generator(self): for record in self.enumerate_mft_records( - self.context, self.config, self.config_path, self.parse_mft_records + self.context, self.config_path, self.config["primary"], self.parse_mft_records ): yield record @@ -371,7 +352,7 @@ class ADS(interfaces.plugins.PluginInterface): ads_name, content, ) in MFTScan.enumerate_mft_records( - self.context, self.config, self.config_path, self.parse_ads_data_records + self.context, self.config_path, self.config["primary"], self.parse_ads_data_records ): yield ( 0, @@ -437,7 +418,7 @@ class ResidentData(interfaces.plugins.PluginInterface): _, content, ) in MFTScan.enumerate_mft_records( - self.context, self.config, self.config_path, self.parse_first_data_records + self.context, self.config_path, self.config["primary"], self.parse_first_data_records ): yield (0, (offset, rec_type, rec_num, attr_type, file_name, content)) From adee265b1775a15913c0ce7d591cd9c6ccb32e18 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Tue, 15 Oct 2024 14:12:23 -0500 Subject: [PATCH 0786/2186] Address feedback --- .../framework/plugins/windows/mftscan.py | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 94dce8c4d..014516b7c 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -105,9 +105,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr_header.AttrType while attr.Attr_Header.AttrType.is_valid_choice: - yield from attr_callback( - record_map, mft_record, attr, symbol_table - ) + yield from attr_callback(record_map, mft_record, attr, symbol_table) # If there's no advancement the loop will never end, so break it now if attr.Attr_Header.Length == 0: @@ -271,7 +269,10 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): def _generator(self): for record in self.enumerate_mft_records( - self.context, self.config_path, self.config["primary"], self.parse_mft_records + self.context, + self.config_path, + self.config["primary"], + self.parse_mft_records, ): yield record @@ -352,7 +353,10 @@ class ADS(interfaces.plugins.PluginInterface): ads_name, content, ) in MFTScan.enumerate_mft_records( - self.context, self.config_path, self.config["primary"], self.parse_ads_data_records + self.context, + self.config_path, + self.config["primary"], + self.parse_ads_data_records, ): yield ( 0, @@ -418,7 +422,10 @@ class ResidentData(interfaces.plugins.PluginInterface): _, content, ) in MFTScan.enumerate_mft_records( - self.context, self.config_path, self.config["primary"], self.parse_first_data_records + self.context, + self.config_path, + self.config["primary"], + self.parse_first_data_records, ): yield (0, (offset, rec_type, rec_num, attr_type, file_name, content)) From d98c7ebb1d21f3074d413e7097bde7448932db85 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 16 Oct 2024 15:05:02 +1100 Subject: [PATCH 0787/2186] linux: hidden_modules: Make the fast method the default. Remove vol2 and fall back to a 1-byte alignment scan if addresses aren't aligned to the L1 cache size --- .../framework/plugins/linux/hidden_modules.py | 216 +++--------------- 1 file changed, 26 insertions(+), 190 deletions(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 6542f58f3..69b449261 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -32,12 +32,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) ), - requirements.BooleanRequirement( - name="fast", - description="Fast scan method. Recommended only for kernels 4.2 and above", - optional=True, - default=False, - ), ] @staticmethod @@ -86,134 +80,13 @@ class Hidden_modules(interfaces.plugins.PluginInterface): return modules_addr_min, modules_addr_max - @staticmethod - def _get_module_state_values_bytes( - context: interfaces.context.ContextInterface, - vmlinux_module_name: str, - ) -> List[bytes]: - """Retrieve the module state values bytes by introspecting its enum type - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - vmlinux_module_name: The name of the kernel module on which to operate - - Returns: - A list with the module state values bytes - """ - vmlinux = context.modules[vmlinux_module_name] - module_state_type_template = vmlinux.get_type("module").vol.members["state"][1] - data_format = module_state_type_template.base_type.vol.data_format - values = module_state_type_template.choices.values() - values_bytes = [ - objects.convert_value_to_data(value, int, data_format) - for value in sorted(values) - ] - return values_bytes - - @classmethod - def _get_hidden_modules_vol2( - cls, - context: interfaces.context.ContextInterface, - vmlinux_module_name: str, - known_module_addresses: Set[int], - modules_memory_boundaries: Tuple, - ) -> Iterable[interfaces.objects.ObjectInterface]: - """Enumerate hidden modules using the traditional implementation. - - This is a port of the Volatility2 plugin, with minor code improvements. - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - vmlinux_module_name: The name of the kernel module on which to operate - known_module_addresses: Set with known module addresses - modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. - - Yields: - module objects - """ - vmlinux = context.modules[vmlinux_module_name] - vmlinux_layer = context.layers[vmlinux.layer_name] - - check_nums = ( - 3000, - 2800, - 2700, - 2500, - 2300, - 2100, - 2000, - 1500, - 1300, - 1200, - 1024, - 512, - 256, - 128, - 96, - 64, - 48, - 32, - 24, - ) - modules_addr_min, modules_addr_max = modules_memory_boundaries - modules_addr_min = modules_addr_min & ~0xFFF - modules_addr_max = (modules_addr_max & ~0xFFF) + vmlinux_layer.page_size - - check_bufs = [] - replace_bufs = [] - minus_size = vmlinux.get_type("pointer").size - null_pointer_bytes = b"\x00" * minus_size - for num in check_nums: - check_bufs.append(b"\x00" * num) - replace_bufs.append((b"\xff" * (num - minus_size)) + null_pointer_bytes) - - all_ffs = b"\xff" * 4096 - scan_list = [] - for page_addr in range( - modules_addr_min, modules_addr_max, vmlinux_layer.page_size - ): - content_fixed = all_ffs - with contextlib.suppress( - exceptions.InvalidAddressException, - exceptions.PagedInvalidAddressException, - ): - content = vmlinux_layer.read(page_addr, vmlinux_layer.page_size) - - all_nulls = all(x == 0 for x in content) - if content and not all_nulls: - content_fixed = content - for check_bytes, replace_bytes in zip(check_bufs, replace_bufs): - content_fixed = content_fixed.replace( - check_bytes, replace_bytes - ) - - scan_list.append(content_fixed) - - scan_buf = b"".join(scan_list) - del scan_list - - module_state_values_bytes = cls._get_module_state_values_bytes( - context, vmlinux_module_name - ) - values_bytes_pattern = b"|".join(module_state_values_bytes) - # f'strings cannot be combined with bytes literals - for cur_addr in re.finditer(b"(?=(%s))" % values_bytes_pattern, scan_buf): - module_addr = modules_addr_min + cur_addr.start() - - if module_addr in known_module_addresses: - continue - - module = vmlinux.object("module", offset=module_addr, absolute=True) - if module and module.is_valid(): - yield module - @classmethod def _get_module_address_alignment( cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str, ) -> int: - """Obtain the module memory address alignment. This is only used with the fast scan method. + """Obtain the module memory address alignment. struct module is aligned to the L1 cache line, which is typically 64 bytes for most common i386/AMD64/ARM64 configurations. In some cases, it can be 128 bytes, but this @@ -231,8 +104,24 @@ class Hidden_modules(interfaces.plugins.PluginInterface): # essential for retrieving type metadata in the future. return 64 + @staticmethod + def _validate_alignment_patterns( + addresses: Iterable[int], + address_alignment: int, + ) -> bool: + """Check if the memory addresses meet our alignments patterns + + Args: + addresses: Iterable with the address values + address_alignment: Number of bytes for alignment validation + + Returns: + True if all the addresses meet the alignment + """ + return all(addr % address_alignment == 0 for addr in addresses) + @classmethod - def _get_hidden_modules_fast( + def get_hidden_modules( cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str, @@ -268,6 +157,14 @@ class Hidden_modules(interfaces.plugins.PluginInterface): module_address_alignment = cls._get_module_address_alignment( context, vmlinux_module_name ) + if not cls._validate_alignment_patterns( + known_module_addresses, module_address_alignment + ): + vollog.warning( + f"Module addresses aren't aligned to {module_address_alignment} bytes. " + "Switching to 1 byte aligment scan method." + ) + module_address_alignment = 1 mkobj_offset = vmlinux.get_type("module").relative_child_offset("mkobj") mod_offset = vmlinux.get_type("module_kobject").relative_child_offset("mod") @@ -302,66 +199,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): if module and module.is_valid(): yield module - @staticmethod - def _validate_alignment_patterns( - addresses: Iterable[int], - address_alignment: int, - ) -> bool: - """Check if the memory addresses meet our alignments patterns - - Args: - addresses: Iterable with the address values - address_alignment: Number of bytes for alignment validation - - Returns: - True if all the addresses meet the alignment - """ - return all(addr % address_alignment == 0 for addr in addresses) - - @classmethod - def get_hidden_modules( - cls, - context: interfaces.context.ContextInterface, - vmlinux_module_name: str, - known_module_addresses: Set[int], - modules_memory_boundaries: Tuple, - fast_method: bool = False, - ) -> Iterable[interfaces.objects.ObjectInterface]: - """Enumerate hidden modules - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - vmlinux_module_name: The name of the kernel module on which to operate - known_module_addresses: Set with known module addresses - modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. - fast_method: If True, it uses the fast method. Otherwise, it uses the traditional one. - Yields: - module objects - """ - if fast_method: - module_address_alignment = cls._get_module_address_alignment( - context, vmlinux_module_name - ) - if cls._validate_alignment_patterns( - known_module_addresses, module_address_alignment - ): - scan_method = cls._get_hidden_modules_fast - else: - vollog.warning( - f"Module addresses aren't aligned to {module_address_alignment} bytes. " - "Switching to the traditional scan method." - ) - scan_method = cls._get_hidden_modules_vol2 - else: - scan_method = cls._get_hidden_modules_vol2 - - yield from scan_method( - context, - vmlinux_module_name, - known_module_addresses, - modules_memory_boundaries, - ) - @classmethod def get_lsmod_module_addresses( cls, @@ -399,7 +236,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): vmlinux_module_name, known_module_addresses, modules_memory_boundaries, - fast_method=self.config.get("fast"), ): module_addr = module.vol.offset module_name = module.get_name() or renderers.NotAvailableValue() From 0ddd9210a8e95a9172a36f4939be68fff6edd8ed Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 16 Oct 2024 15:08:59 +1100 Subject: [PATCH 0788/2186] linux: hidden_modules: Remove unused module imports --- volatility3/framework/plugins/linux/hidden_modules.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 69b449261..679f2b00a 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -1,9 +1,7 @@ # This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import re import logging -import contextlib from typing import List, Set, Tuple, Iterable from volatility3.framework import renderers, interfaces, exceptions, objects from volatility3.framework.constants.architectures import LINUX_ARCHS From 18f7f035ee83080d2ea660acfef05453c8e04ab5 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 18 Oct 2024 12:29:09 +1100 Subject: [PATCH 0789/2186] linux: fix datetime import and remove unused ones --- .../framework/symbols/linux/extensions/__init__.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0dab0db43..d9392b9ba 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -7,13 +7,12 @@ import logging import functools import binascii import stat -from datetime import datetime +import datetime import socket as socket_module from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union, Dict from volatility3.framework import constants, exceptions, objects, interfaces, symbols from volatility3.framework.renderers import conversion -from volatility3.framework.configuration import requirements from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS @@ -1882,7 +1881,7 @@ class kernel_cap_t(kernel_cap_struct): class timespec64(objects.StructType): - def to_datetime(self) -> datetime: + def to_datetime(self) -> datetime.datetime: """Returns the respective aware datetime""" dt = conversion.unixtime_to_datetime(self.tv_sec + self.tv_nsec / 1e9) @@ -1958,7 +1957,7 @@ class inode(objects.StructType): else: return None - def _time_member_to_datetime(self, member) -> datetime: + def _time_member_to_datetime(self, member) -> datetime.datetime: if self.has_member(f"{member}_sec") and self.has_member(f"{member}_nsec"): # kernels >= 6.11 it's i_*_sec -> time64_t and i_*_nsec -> u32 # Ref Linux commit 3aa63a569c64e708df547a8913c84e64a06e7853 @@ -1977,7 +1976,7 @@ class inode(objects.StructType): "Unsupported kernel inode type implementation" ) - def get_access_time(self) -> datetime: + def get_access_time(self) -> datetime.datetime: """Returns the inode's last access time This is updated when inode contents are read @@ -1986,7 +1985,7 @@ class inode(objects.StructType): """ return self._time_member_to_datetime("i_atime") - def get_modification_time(self) -> datetime: + def get_modification_time(self) -> datetime.datetime: """Returns the inode's last modification time This is updated when the inode contents change @@ -1996,7 +1995,7 @@ class inode(objects.StructType): return self._time_member_to_datetime("i_mtime") - def get_change_time(self) -> datetime: + def get_change_time(self) -> datetime.datetime: """Returns the inode's last change time This is updated when the inode metadata changes From f8224684078dd9937da4b0924f504a0bfb25b8bf Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 18 Oct 2024 12:40:02 +1100 Subject: [PATCH 0790/2186] linux: Implement boot time support in the Volatility 3 core framework --- .../framework/constants/linux/__init__.py | 3 + .../framework/symbols/linux/__init__.py | 98 +++++++++ .../symbols/linux/extensions/__init__.py | 197 ++++++++++++++++++ 3 files changed, 298 insertions(+) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 3eabc2341..a481e1ba9 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -302,3 +302,6 @@ class ELF_CLASS(IntEnum): ELFCLASSNONE = 0 ELFCLASS32 = 1 ELFCLASS64 = 2 + + +NSEC_PER_SEC = 1e9 diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 219f120ee..95b476263 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -3,11 +3,15 @@ # import math import contextlib +import datetime +import dataclasses from abc import ABC, abstractmethod from typing import Iterator, List, Tuple, Optional, Union from volatility3 import framework from volatility3.framework import constants, exceptions, interfaces, objects +from volatility3.framework.renderers import conversion +from volatility3.framework.constants.linux import NSEC_PER_SEC from volatility3.framework.objects import utility from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux import extensions @@ -830,3 +834,97 @@ class PageCache(object): page = self.vmlinux.object("page", offset=page_addr, absolute=True) if page: yield page + + +@dataclasses.dataclass +class TimespecVol3(object): + """Internal helper class to handle all required timespec operations, convertions and + adjustments. + + NOTE: This is intended for exclusive use with get_boottime() and its related functions. + """ + + tv_sec: int = 0 + tv_nsec: int = 0 + + @classmethod + def new_from_timespec(cls, timespec) -> "TimespecVol3": + """Creates a new instance from a TimespecVol3 or timespec64 object""" + if not isinstance(timespec, (TimespecVol3, extensions.timespec64)): + raise TypeError("It requires either a TimespecVol3 or timespec64 type") + + tv_sec = int(timespec.tv_sec) + tv_nsec = int(timespec.tv_nsec) + return cls(tv_sec=tv_sec, tv_nsec=tv_nsec) + + @classmethod + def new_from_nsec(cls, nsec) -> "TimespecVol3": + """Creates a new instance from an integer in nanoseconds""" + + # Based on ns_to_timespec64() + if nsec > 0: + tv_sec = nsec // NSEC_PER_SEC + tv_nsec = nsec % NSEC_PER_SEC + elif nsec < 0: + tv_sec = -((-nsec - 1) // NSEC_PER_SEC) - 1 + rem = (-nsec - 1) % NSEC_PER_SEC + tv_nsec = NSEC_PER_SEC - rem - 1 + else: + tv_sec = tv_nsec = 0 + + return cls(tv_sec=tv_sec, tv_nsec=tv_nsec) + + def to_datetime(self) -> datetime.datetime: + """Converts this TimespecVol3 to a UTC aware datetime""" + return conversion.unixtime_to_datetime( + self.tv_sec + self.tv_nsec / NSEC_PER_SEC + ) + + def to_timedelta(self) -> datetime.timedelta: + """Converts this TimespecVol3 to timedelta""" + return datetime.timedelta(seconds=self.tv_sec + self.tv_nsec / NSEC_PER_SEC) + + def __add__(self, timespec) -> "TimespecVol3": + """Returns a new TimespecVol3 object that sums the current values with those + in the timespec argument""" + if not isinstance(timespec, (TimespecVol3, extensions.timespec64)): + raise TypeError("Cannot add a TimespecVol3 to this object") + + result = TimespecVol3( + tv_sec=self.tv_sec + timespec.tv_sec, + tv_nsec=self.tv_nsec + timespec.tv_nsec, + ) + + result.normalize() + + return result + + def __sub__(self, timespec) -> "TimespecVol3": + """Returns a new TimespecVol3 object that subtracts the values in the timespec + argument from the current object's values""" + if not isinstance(timespec, (TimespecVol3, extensions.timespec64)): + raise TypeError("Cannot add a TimespecVol3 to this object") + + result = TimespecVol3( + tv_sec=self.tv_sec - timespec.tv_sec, + tv_nsec=self.tv_nsec - timespec.tv_nsec, + ) + result.normalize() + + return result + + def normalize(self): + """Normalize any overflow in tv_sec and tv_nsec after previous addition or subtractions""" + # Based on kernel's set_normalized_timespec64() + while self.tv_nsec >= NSEC_PER_SEC: + self.tv_nsec -= NSEC_PER_SEC + self.tv_sec += 1 + + while self.tv_nsec < 0: + self.tv_nsec += NSEC_PER_SEC + self.tv_sec -= 1 + + def negate(self): + """Negates the sign of both tv_sec and tv_nsec""" + self.tv_sec = -self.tv_sec + self.tv_nsec = -self.tv_nsec diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d9392b9ba..b3e836102 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -382,6 +382,203 @@ class task_struct(generic.GenericIntelProcess): threads_seen.add(task.vol.offset) yield task + def _get_task_start_time(self) -> datetime.timedelta: + """Returns the task's monotonic start_time as a timedelta. + + Returns: + The task's start time as a timedelta object. + """ + for member_name in ("start_boottime", "real_start_time", "start_time"): + if self.has_member(member_name): + start_time_obj = self.member(member_name) + start_time_obj_type = start_time_obj.vol.type_name + start_time_obj_type_name = start_time_obj_type.split(constants.BANG)[1] + if start_time_obj_type_name != "timespec": + # kernels >= 3.17 real_start_time and start_time are u64 + # kernels >= 5.5 uses start_boottime which is also a u64 + start_time = linux.TimespecVol3.new_from_nsec(start_time_obj) + else: + # kernels < 3.17 real_start_time and start_time are timespec + start_time = linux.TimespecVol3.new_from_timespec(start_time_obj) + + # This is relative to the boot time so it makes sense to be a timedelta. + return start_time.to_timedelta() + + raise AttributeError("Unsupported task_struct start_time member") + + def get_time_namespace(self) -> Optional[interfaces.objects.ObjectInterface]: + """Returns the task's time namespace""" + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + if not self.has_member("nsproxy"): + # kernels < 2.6.19: ab516013ad9ca47f1d3a936fa81303bfbf734d52 + return None + + if not vmlinux.get_type("nsproxy").has_member("time_ns"): + # kernels < 5.6 769071ac9f20b6a447410c7eaa55d1a5233ef40c + return None + + return self.nsproxy.time_ns + + def get_time_namespace_id(self) -> int: + """Returns the task's time namespace ID.""" + time_ns = self.get_time_namespace() + if not time_ns: + # kernels < 5.6 + return + + # We are good. ns_common (ns) was introduced in kernels 3.19. So by the time the + # time namespace was added in kernels 5.6, it already included the ns member. + return time_ns.ns.inum + + def _get_time_namespace_offsets( + self, + ) -> Optional[interfaces.objects.ObjectInterface]: + """Returns the time offsets from the task's time namespace.""" + time_ns = self.get_time_namespace() + if not time_ns: + # kernels < 5.6 + return + + if not time_ns.has_member("offsets"): + # kernels < 5.6 af993f58d69ee9c1f421dfc87c3ed231c113989c + return None + + return time_ns.offsets + + def get_time_namespace_monotonic_offset( + self, + ) -> Optional[interfaces.objects.ObjectInterface]: + """Gets task's time namespace monotonic offset + + Returns: + a kernel's timespec64 object with the monotonic offset + """ + time_namespace_offsets = self._get_time_namespace_offsets() + if not time_namespace_offsets: + return None + + return time_namespace_offsets.monotonic + + def _get_time_namespace_boottime_offset( + self, + ) -> Optional[interfaces.objects.ObjectInterface]: + """Gets task's time namespace boottime offset + + Returns: + a kernel's timespec64 object with the boottime offset + """ + time_namespace_offsets = self._get_time_namespace_offsets() + if not time_namespace_offsets: + return None + + return time_namespace_offsets.boottime + + def _get_boottime_raw(self) -> "linux.TimespecVol3": + """Returns the boot time in a TimespecVol3.""" + + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + if vmlinux.has_symbol("tk_core"): + # kernels >= 3.17 | tk_core | 3fdb14fd1df70325e1e91e1203a699a4803ed741 + tk_core = vmlinux.object_from_symbol("tk_core") + timekeeper = tk_core.timekeeper + if not timekeeper.offs_real.has_member("tv64"): + # kernels >= 4.10 - Tested on Ubuntu 6.8.0-41 + boottime_nsec = timekeeper.offs_real - timekeeper.offs_boot + else: + # 3.17 <= kernels < 4.10 - Tested on Ubuntu 4.4.0-142 + boottime_nsec = timekeeper.offs_real.tv64 - timekeeper.offs_boot.tv64 + return linux.TimespecVol3.new_from_nsec(boottime_nsec) + + elif vmlinux.has_symbol("timekeeper") and vmlinux.get_type( + "timekeeper" + ).has_member("wall_to_monotonic"): + # 3.4 <= kernels < 3.17 - Tested on Ubuntu 3.13.0-185 + timekeeper = vmlinux.object_from_symbol("timekeeper") + + # timekeeper.wall_to_monotonic is timespec + boottime = linux.TimespecVol3.new_from_timespec( + timekeeper.wall_to_monotonic + ) + + boottime += timekeeper.total_sleep_time + + boottime.negate() + boottime.normalize() + + return boottime + + elif vmlinux.has_symbol("wall_to_monotonic"): + # kernels < 3.4 - Tested on Debian7 3.2.0-4 (3.2.57-3+deb7u2) + wall_to_monotonic = vmlinux.object_from_symbol("wall_to_monotonic") + boottime = linux.TimespecVol3.new_from_timespec(wall_to_monotonic) + if vmlinux.has_symbol("total_sleep_time"): + # 2.6.23 <= kernels < 3.4 7c3f1a573237b90ef331267260358a0ec4ac9079 + total_sleep_time = vmlinux.object_from_symbol("total_sleep_time") + full_type_name = total_sleep_time.vol.type_name + type_name = full_type_name.split(constants.BANG)[1] + if type_name == "timespec": + # kernels >= 2.6.32 total_sleep_time is a timespec + boottime += total_sleep_time + else: + # kernels < 2.6.32 total_sleep_time is an unsigned long as seconds + boottime.tv_sec += total_sleep_time + + boottime.negate() + boottime.normalize() + + return boottime + + raise exceptions.VolatilityException("Unsupported") + + def get_boottime(self, root_time_namespace: bool = True) -> datetime.datetime: + """Returns the boot time in UTC as a datetime. + + Args: + root_time_namespace: If True, it returns the boot time as seen from the root + time namespace. Otherwise, it returns the boot time relative to the + task's time namespace. + + Returns: + A datetime with the UTC boot time. + """ + boottime = self._get_boottime_raw() + if not boottime: + return None + + if not root_time_namespace: + # Shift boot timestamp according to the task's time namespace offset + boottime_offset_timespec = self._get_time_namespace_boottime_offset() + if boottime_offset_timespec: + # Time namespace support is from kernels 5.6 + boottime -= boottime_offset_timespec + + return boottime.to_datetime() + + def get_create_time(self) -> datetime.datetime: + """Retrieves the task's start time from its time namespace. + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + task: A reference task + + Returns: + A datetime with task's start time + """ + # Typically, we want to see the creation time seen from the root time namespace + boottime = self.get_boottime(root_time_namespace=True) + + # The kernel exports only tv_sec to procfs, see kernel's show_stat(). + # This means user-space tools, like those in the procps package (e.g., ps, top, etc.), + # only use the boot time seconds to compute dates relatives to this. + boottime = boottime.replace(microsecond=0) + + task_start_time_timedelta = self._get_task_start_time() + + # NOTE: Do NOT apply the task's time namespace offsets here. While the kernel uses + # timens_add_boottime_ns(), it's not needed here since we're seeing it from the + # root time namespace, not within the task's own time namespace + return boottime + task_start_time_timedelta + class fs_struct(objects.StructType): def get_root_dentry(self): From 69512dc9911fc6ce8d0e1ab65926663341513974 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 18 Oct 2024 12:58:02 +1100 Subject: [PATCH 0791/2186] Linux: pslist: Add creation time column and timeline support to the linux.pslist plugin --- volatility3/framework/plugins/linux/pslist.py | 31 ++++++++++++++++--- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 1888bd7b8..b05d69c7a 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -1,6 +1,7 @@ # This file is Copyright 2021 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import datetime from typing import Any, Callable, Iterable, List, Tuple from volatility3.framework import interfaces, renderers @@ -9,15 +10,16 @@ from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux.extensions import elf +from volatility3.plugins import timeliner from volatility3.plugins.linux import elfs -class PsList(interfaces.plugins.PluginInterface): +class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists the processes present in a particular linux memory image.""" _required_framework_version = (2, 0, 0) - _version = (2, 2, 1) + _version = (2, 3, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -81,7 +83,7 @@ class PsList(interfaces.plugins.PluginInterface): @classmethod def get_task_fields( cls, task: interfaces.objects.ObjectInterface, decorate_comm: bool = False - ) -> Tuple[int, int, int, str]: + ) -> Tuple[int, int, int, int, str, datetime.datetime]: """Extract the fields needed for the final output Args: @@ -96,13 +98,14 @@ class PsList(interfaces.plugins.PluginInterface): tid = task.pid ppid = task.parent.tgid if task.parent else 0 name = utility.array_to_string(task.comm) + start_time = task.get_create_time() if decorate_comm: if task.is_kernel_thread: name = f"[{name}]" elif task.is_user_thread: name = f"{{{name}}}" - task_fields = (task.vol.offset, pid, tid, ppid, name) + task_fields = (task.vol.offset, pid, tid, ppid, name, start_time) return task_fields def _get_file_output(self, task: interfaces.objects.ObjectInterface) -> str: @@ -177,7 +180,9 @@ class PsList(interfaces.plugins.PluginInterface): else: file_output = "Disabled" - offset, pid, tid, ppid, name = self.get_task_fields(task, decorate_comm) + offset, pid, tid, ppid, name, creation_time = self.get_task_fields( + task, decorate_comm + ) yield 0, ( format_hints.Hex(offset), @@ -185,6 +190,7 @@ class PsList(interfaces.plugins.PluginInterface): tid, ppid, name, + creation_time or renderers.NotAvailableValue(), file_output, ) @@ -233,8 +239,23 @@ class PsList(interfaces.plugins.PluginInterface): ("TID", int), ("PPID", int), ("COMM", str), + ("CREATION TIME", datetime.datetime), ("File output", str), ] return renderers.TreeGrid( columns, self._generator(filter_func, include_threads, decorate_comm, dump) ) + + def generate_timeline(self): + pids = self.config.get("pid") + filter_func = self.create_pid_filter(pids) + for task in self.list_tasks( + self.context, self.config["kernel"], filter_func, include_threads=True + ): + offset, user_pid, user_tid, _user_ppid, name, creation_time = ( + self.get_task_fields(task) + ) + + description = f"Process {user_pid}/{user_tid} {name} ({offset})" + + yield (description, timeliner.TimeLinerType.CREATED, creation_time) From d25df2357acf157641a6b30a7a9a30d0261bf147 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 18 Oct 2024 12:59:23 +1100 Subject: [PATCH 0792/2186] Linux: pslist: Add the boottime plugin --- .../framework/plugins/linux/boottime.py | 98 +++++++++++++++++++ volatility3/framework/plugins/timeliner.py | 13 ++- 2 files changed, 109 insertions(+), 2 deletions(-) create mode 100644 volatility3/framework/plugins/linux/boottime.py diff --git a/volatility3/framework/plugins/linux/boottime.py b/volatility3/framework/plugins/linux/boottime.py new file mode 100644 index 000000000..eeee418f8 --- /dev/null +++ b/volatility3/framework/plugins/linux/boottime.py @@ -0,0 +1,98 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import datetime +from typing import List, Tuple, Iterable + + +from volatility3.framework import interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.plugins import timeliner +from volatility3.plugins.linux import pslist + + +class Boottime(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): + """Shows the time the system was started""" + + _required_framework_version = (2, 11, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 3, 0) + ), + ] + + @classmethod + def get_time_namespaces_bootime( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> Iterable[Tuple[int, int, int, str, datetime.datetime]]: + """Enumerates tasks' boot times based on their time namespaces. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + pids: Pid list + unique: Filter unique time namespaces + + Yields: + A tuple with the fields to show in the plugin output. + """ + time_namespace_ids = set() + for task in pslist.PsList.list_tasks(context, vmlinux_module_name): + time_namespace_id = task.get_time_namespace_id() + # If it cannot get the time namespace i.e. kernels < 5.6, this still works + # using None to just get the first tasks + if time_namespace_id in time_namespace_ids: + continue + time_namespace_ids.add(time_namespace_id) + boottime = task.get_boottime(root_time_namespace=False) + + fields = ( + time_namespace_id, + boottime, + ) + yield fields + + def _generator(self): + for ( + time_namespace_id, + boottime, + ) in self.get_time_namespaces_bootime( + self.context, + self.config["kernel"], + ): + fields = [ + time_namespace_id or renderers.NotAvailableValue(), + boottime, + ] + yield 0, fields + + def generate_timeline(self): + for ( + time_namespace_id, + boottime, + ) in self.get_time_namespaces_bootime( + self.context, + self.config["kernel"], + ): + description = f"System boot time for time namespace {time_namespace_id}" + + yield description, timeliner.TimeLinerType.BOOTTIME, boottime + + def run(self): + columns = [ + ("TIME NS", int), + ("Boot Time", datetime.datetime), + ] + return renderers.TreeGrid(columns, self._generator()) diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index c754e43ef..70da0c4fb 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -23,6 +23,7 @@ class TimeLinerType(enum.IntEnum): MODIFIED = 2 ACCESSED = 3 CHANGED = 4 + BOOTTIME = 5 class TimeLinerInterface(metaclass=abc.ABCMeta): @@ -171,6 +172,10 @@ class Timeliner(interfaces.plugins.PluginInterface): TimeLinerType.CHANGED, renderers.NotApplicableValue(), ), + times.get( + TimeLinerType.BOOTTIME, + renderers.NotApplicableValue(), + ), ], ) ) @@ -178,11 +183,11 @@ class Timeliner(interfaces.plugins.PluginInterface): # Write each entry because the body file doesn't need to be sorted if fp: times = self.timeline[(plugin_name, item)] - # Body format is: MD5|name|inode|mode_as_string|UID|GID|size|atime|mtime|ctime|crtime + # Body format is: MD5|name|inode|mode_as_string|UID|GID|size|atime|mtime|ctime|crtime|boottime if self._any_time_present(times): fp.write( - "|{} - {}|0|0|0|0|0|{}|{}|{}|{}\n".format( + "|{} - {}|0|0|0|0|0|{}|{}|{}|{}|{}\n".format( plugin_name, self._sanitize_body_format(item), self._text_format( @@ -197,6 +202,9 @@ class Timeliner(interfaces.plugins.PluginInterface): self._text_format( times.get(TimeLinerType.CREATED, "0") ), + self._text_format( + times.get(TimeLinerType.BOOTTIME, "0") + ), ) ) except Exception as e: @@ -320,6 +328,7 @@ class Timeliner(interfaces.plugins.PluginInterface): ("Modified Date", datetime.datetime), ("Accessed Date", datetime.datetime), ("Changed Date", datetime.datetime), + ("Boot Date", datetime.datetime), ], generator=self._generator(plugins_to_run), ) From 1651ecb1d70bb32868be864c473ef4a346141381 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 18 Oct 2024 13:58:27 +1100 Subject: [PATCH 0793/2186] linux: boottime api: Fix explicit returns mixed with implicit (fall through) returns --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index b3e836102..2784aeda7 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -424,7 +424,7 @@ class task_struct(generic.GenericIntelProcess): time_ns = self.get_time_namespace() if not time_ns: # kernels < 5.6 - return + return None # We are good. ns_common (ns) was introduced in kernels 3.19. So by the time the # time namespace was added in kernels 5.6, it already included the ns member. @@ -437,7 +437,7 @@ class task_struct(generic.GenericIntelProcess): time_ns = self.get_time_namespace() if not time_ns: # kernels < 5.6 - return + return None if not time_ns.has_member("offsets"): # kernels < 5.6 af993f58d69ee9c1f421dfc87c3ed231c113989c From 65daab6cfa986130a33d6c63faab00d5e500534a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 22 Oct 2024 21:47:13 +0100 Subject: [PATCH 0794/2186] Linux: Fix minor coding style transgression --- volatility3/framework/plugins/linux/ptrace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/ptrace.py b/volatility3/framework/plugins/linux/ptrace.py index e501f3294..e467ee644 100644 --- a/volatility3/framework/plugins/linux/ptrace.py +++ b/volatility3/framework/plugins/linux/ptrace.py @@ -6,7 +6,7 @@ import logging from typing import List, Iterator from volatility3.framework import renderers, interfaces -from volatility3.framework.constants.architectures import LINUX_ARCHS +from volatility3.framework.constants import architectures from volatility3.framework.objects import utility from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins @@ -27,7 +27,7 @@ class Ptrace(plugins.PluginInterface): requirements.ModuleRequirement( name="kernel", description="Linux kernel", - architectures=LINUX_ARCHS, + architectures=architectures.LINUX_ARCHS, ), requirements.PluginRequirement( name="pslist", plugin=pslist.PsList, version=(2, 2, 0) From db8667f88abec074f3165ecfd04219e7ef72fbd1 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 23 Oct 2024 08:55:44 +1100 Subject: [PATCH 0795/2186] Linux - Fix hlist_head object extension by dropping the iterator since it can't determine the correct member_name --- volatility3/framework/symbols/linux/extensions/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 4b1df2a0b..acf78278b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -994,9 +994,6 @@ class hlist_head(objects.StructType, collections.abc.Iterable): current = current.next - def __iter__(self) -> Iterator[interfaces.objects.ObjectInterface]: - return self.to_list(self.vol.parent.vol.type_name, self.vol.member_name) - class files_struct(objects.StructType): def get_fds(self) -> interfaces.objects.ObjectInterface: From 708d9330216853bfebcaa9d5799053656e422e10 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 23 Oct 2024 21:23:14 +0200 Subject: [PATCH 0796/2186] use additional_locals in run method --- volatility3/cli/volshell/generic.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index c1ca7b5fa..39a7aa126 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -58,7 +58,7 @@ class Volshell(interfaces.plugins.PluginInterface): ] def run( - self, additional_locals: Dict[str, Any] = None + self, additional_locals: Dict[str, Any] = {} ) -> interfaces.renderers.TreeGrid: """Runs the interactive volshell plugin. @@ -94,7 +94,10 @@ class Volshell(interfaces.plugins.PluginInterface): """ sys.ps1 = f"({self.current_layer}) >>> " - self.__console = code.InteractiveConsole(locals=self._construct_locals_dict()) + # Dict self._construct_locals_dict() will have priority on keys + combined_locals = self._construct_locals_dict().copy() + combined_locals.update(additional_locals) + self.__console = code.InteractiveConsole(locals=combined_locals) # Since we have to do work to add the option only once for all different modes of volshell, we can't # rely on the default having been set if self.config.get("script", None) is not None: From 7f2d8eabb7f513148a7868d9a758c10f43d0450b Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 23 Oct 2024 21:39:57 +0200 Subject: [PATCH 0797/2186] set correct locals priority --- volatility3/cli/volshell/generic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 39a7aa126..a0477656e 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -95,8 +95,8 @@ class Volshell(interfaces.plugins.PluginInterface): sys.ps1 = f"({self.current_layer}) >>> " # Dict self._construct_locals_dict() will have priority on keys - combined_locals = self._construct_locals_dict().copy() - combined_locals.update(additional_locals) + combined_locals = additional_locals.copy() + combined_locals.update(self._construct_locals_dict()) self.__console = code.InteractiveConsole(locals=combined_locals) # Since we have to do work to add the option only once for all different modes of volshell, we can't # rely on the default having been set From 388a3e64587478b0a07121a41f2b05a684c4292e Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 24 Oct 2024 14:39:22 -0500 Subject: [PATCH 0798/2186] Linux: Adds missing abc.Iterable implementation `hlist_head` is missing an implementation for `collections.abc.Iterable`, resulting in a crash at runtime. This fixes the issue by providing the required `__iter__` implementation for `hlist_head`. --- volatility3/framework/symbols/linux/extensions/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 14be5ec0a..9bd401db2 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1037,6 +1037,9 @@ class hlist_head(objects.StructType, collections.abc.Iterable): current = current.next + def __iter__(self) -> Iterator[interfaces.objects.ObjectInterface]: + return self.to_list(self.vol.parent.vol.type_name, self.vol.member_name) + class files_struct(objects.StructType): def get_fds(self) -> interfaces.objects.ObjectInterface: From 4c2d2f98da5c6fcbfe8e8aa2efa590438cdf1444 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 24 Oct 2024 15:39:15 -0500 Subject: [PATCH 0799/2186] Removes collections.abc.Iterable superclass Per @gcmoreira this is the correct fix vs the one previously proposed, since self.vol.member_name cannot be used as the member name to iterate this type. --- volatility3/framework/symbols/linux/extensions/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 9bd401db2..eba775714 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1004,7 +1004,7 @@ class list_head(objects.StructType, collections.abc.Iterable): return self.to_list(self.vol.parent.vol.type_name, self.vol.member_name) -class hlist_head(objects.StructType, collections.abc.Iterable): +class hlist_head(objects.StructType): def to_list( self, symbol_type: str, @@ -1037,9 +1037,6 @@ class hlist_head(objects.StructType, collections.abc.Iterable): current = current.next - def __iter__(self) -> Iterator[interfaces.objects.ObjectInterface]: - return self.to_list(self.vol.parent.vol.type_name, self.vol.member_name) - class files_struct(objects.StructType): def get_fds(self) -> interfaces.objects.ObjectInterface: From 0413cc5e2634ad4a872c96cf85e0eaacae23d921 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 25 Oct 2024 12:46:32 -0500 Subject: [PATCH 0800/2186] Windows: Scheduled tasks - code review fixes --- test/__init__.py | 0 test/plugins/__init__.py | 0 test/plugins/windows/__init__.py | 0 test/plugins/windows/test_scheduled_tasks.py | 387 ++++++++++++++++ .../plugins/windows/scheduled_tasks.py | 416 +----------------- 5 files changed, 406 insertions(+), 397 deletions(-) create mode 100644 test/__init__.py create mode 100644 test/plugins/__init__.py create mode 100644 test/plugins/windows/__init__.py create mode 100644 test/plugins/windows/test_scheduled_tasks.py diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/test/plugins/__init__.py b/test/plugins/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/test/plugins/windows/__init__.py b/test/plugins/windows/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/test/plugins/windows/test_scheduled_tasks.py b/test/plugins/windows/test_scheduled_tasks.py new file mode 100644 index 000000000..8f771b323 --- /dev/null +++ b/test/plugins/windows/test_scheduled_tasks.py @@ -0,0 +1,387 @@ +import sys +import struct +import traceback +import unittest +sys.path.insert(0, "../../volatility3") +from volatility3.plugins.windows import scheduled_tasks + +class TestActionsDecoding(unittest.TestCase): + def test_decode_exe_action(self): + # fmt: off + buf = struct.pack( + "512B", + *[ + 0x03, 0x00, 0x16, 0x00, 0x00, 0x00, 0x4c, 0x00, + 0x6f, 0x00, 0x63, 0x00, 0x61, 0x00, 0x6c, 0x00, + 0x53, 0x00, 0x79, 0x00, 0x73, 0x00, 0x74, 0x00, + 0x65, 0x00, 0x6d, 0x00, 0x66, 0x66, 0x00, 0x00, + 0x00, 0x00, 0x6e, 0x00, 0x00, 0x00, 0x25, 0x00, + 0x77, 0x00, 0x69, 0x00, 0x6e, 0x00, 0x64, 0x00, + 0x69, 0x00, 0x72, 0x00, 0x25, 0x00, 0x5c, 0x00, + 0x73, 0x00, 0x79, 0x00, 0x73, 0x00, 0x74, 0x00, + 0x65, 0x00, 0x6d, 0x00, 0x33, 0x00, 0x32, 0x00, + 0x5c, 0x00, 0x57, 0x00, 0x69, 0x00, 0x6e, 0x00, + 0x64, 0x00, 0x6f, 0x00, 0x77, 0x00, 0x73, 0x00, + 0x50, 0x00, 0x6f, 0x00, 0x77, 0x00, 0x65, 0x00, + 0x72, 0x00, 0x53, 0x00, 0x68, 0x00, 0x65, 0x00, + 0x6c, 0x00, 0x6c, 0x00, 0x5c, 0x00, 0x76, 0x00, + 0x31, 0x00, 0x2e, 0x00, 0x30, 0x00, 0x5c, 0x00, + 0x70, 0x00, 0x6f, 0x00, 0x77, 0x00, 0x65, 0x00, + 0x72, 0x00, 0x73, 0x00, 0x68, 0x00, 0x65, 0x00, + 0x6c, 0x00, 0x6c, 0x00, 0x2e, 0x00, 0x65, 0x00, + 0x78, 0x00, 0x65, 0x00, 0x62, 0x01, 0x00, 0x00, + 0x2d, 0x00, 0x45, 0x00, 0x78, 0x00, 0x65, 0x00, + 0x63, 0x00, 0x75, 0x00, 0x74, 0x00, 0x69, 0x00, + 0x6f, 0x00, 0x6e, 0x00, 0x50, 0x00, 0x6f, 0x00, + 0x6c, 0x00, 0x69, 0x00, 0x63, 0x00, 0x79, 0x00, + 0x20, 0x00, 0x55, 0x00, 0x6e, 0x00, 0x72, 0x00, + 0x65, 0x00, 0x73, 0x00, 0x74, 0x00, 0x72, 0x00, + 0x69, 0x00, 0x63, 0x00, 0x74, 0x00, 0x65, 0x00, + 0x64, 0x00, 0x20, 0x00, 0x2d, 0x00, 0x4e, 0x00, + 0x6f, 0x00, 0x6e, 0x00, 0x49, 0x00, 0x6e, 0x00, + 0x74, 0x00, 0x65, 0x00, 0x72, 0x00, 0x61, 0x00, + 0x63, 0x00, 0x74, 0x00, 0x69, 0x00, 0x76, 0x00, + 0x65, 0x00, 0x20, 0x00, 0x2d, 0x00, 0x4e, 0x00, + 0x6f, 0x00, 0x50, 0x00, 0x72, 0x00, 0x6f, 0x00, + 0x66, 0x00, 0x69, 0x00, 0x6c, 0x00, 0x65, 0x00, + 0x20, 0x00, 0x2d, 0x00, 0x57, 0x00, 0x69, 0x00, + 0x6e, 0x00, 0x64, 0x00, 0x6f, 0x00, 0x77, 0x00, + 0x53, 0x00, 0x74, 0x00, 0x79, 0x00, 0x6c, 0x00, + 0x65, 0x00, 0x20, 0x00, 0x48, 0x00, 0x69, 0x00, + 0x64, 0x00, 0x64, 0x00, 0x65, 0x00, 0x6e, 0x00, + 0x20, 0x00, 0x22, 0x00, 0x26, 0x00, 0x20, 0x00, + 0x25, 0x00, 0x77, 0x00, 0x69, 0x00, 0x6e, 0x00, + 0x64, 0x00, 0x69, 0x00, 0x72, 0x00, 0x25, 0x00, + 0x5c, 0x00, 0x73, 0x00, 0x79, 0x00, 0x73, 0x00, + 0x74, 0x00, 0x65, 0x00, 0x6d, 0x00, 0x33, 0x00, + 0x32, 0x00, 0x5c, 0x00, 0x57, 0x00, 0x69, 0x00, + 0x6e, 0x00, 0x64, 0x00, 0x6f, 0x00, 0x77, 0x00, + 0x73, 0x00, 0x50, 0x00, 0x6f, 0x00, 0x77, 0x00, + 0x65, 0x00, 0x72, 0x00, 0x53, 0x00, 0x68, 0x00, + 0x65, 0x00, 0x6c, 0x00, 0x6c, 0x00, 0x5c, 0x00, + 0x76, 0x00, 0x31, 0x00, 0x2e, 0x00, 0x30, 0x00, + 0x5c, 0x00, 0x4d, 0x00, 0x6f, 0x00, 0x64, 0x00, + 0x75, 0x00, 0x6c, 0x00, 0x65, 0x00, 0x73, 0x00, + 0x5c, 0x00, 0x53, 0x00, 0x6d, 0x00, 0x62, 0x00, + 0x53, 0x00, 0x68, 0x00, 0x61, 0x00, 0x72, 0x00, + 0x65, 0x00, 0x5c, 0x00, 0x44, 0x00, 0x69, 0x00, + 0x73, 0x00, 0x61, 0x00, 0x62, 0x00, 0x6c, 0x00, + 0x65, 0x00, 0x55, 0x00, 0x6e, 0x00, 0x75, 0x00, + 0x73, 0x00, 0x65, 0x00, 0x64, 0x00, 0x53, 0x00, + 0x6d, 0x00, 0x62, 0x00, 0x31, 0x00, 0x2e, 0x00, + 0x70, 0x00, 0x73, 0x00, 0x31, 0x00, 0x20, 0x00, + 0x2d, 0x00, 0x53, 0x00, 0x63, 0x00, 0x65, 0x00, + 0x6e, 0x00, 0x61, 0x00, 0x72, 0x00, 0x69, 0x00, + 0x6f, 0x00, 0x20, 0x00, 0x43, 0x00, 0x6c, 0x00, + 0x69, 0x00, 0x65, 0x00, 0x6e, 0x00, 0x74, 0x00, + 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + ] + ) + + try: + actions = scheduled_tasks.ActionSet.decode(buf).actions # type: ignore + self.assertEqual(len(actions), 1) + self.assertEqual(actions[0].action_type, scheduled_tasks.ActionType.Exe) + except Exception: + self.fail( + "ActionDecoder.decode should not raise exception:\n%s" + % traceback.format_exc() + ) + + +class TestTriggersDecoding(unittest.TestCase): + def test_decode_all_triggers(self): + """ + Tests decoding a set of all triggers that can be constructed via the + Task Scheduler GUI interface. Ensures that the correct number of bytes + is being consumed for each trigger structure. + """ + buf = struct.pack( + "1808B", + # fmt: off + *[ + 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x38, 0x21, 0x41, 0x42, 0x48, 0x48, 0x48, 0x48, + 0xa0, 0x12, 0xa0, 0xa4, 0x48, 0x48, 0x48, 0x48, + 0x0e, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x41, 0x00, 0x75, 0x00, 0x74, 0x00, 0x68, 0x00, + 0x6f, 0x00, 0x72, 0x00, 0x00, 0x00, 0x48, 0x48, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x1c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, + 0x15, 0x00, 0x00, 0x00, 0x69, 0xce, 0x28, 0x2a, + 0xce, 0xd8, 0x1f, 0x77, 0x37, 0x9c, 0xe2, 0x44, + 0xf4, 0x01, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x40, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x44, 0x00, 0x45, 0x00, 0x53, 0x00, 0x4b, 0x00, + 0x54, 0x00, 0x4f, 0x00, 0x50, 0x00, 0x2d, 0x00, + 0x45, 0x00, 0x33, 0x00, 0x38, 0x00, 0x38, 0x00, + 0x44, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5c, 0x00, + 0x41, 0x00, 0x64, 0x00, 0x6d, 0x00, 0x69, 0x00, + 0x6e, 0x00, 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, + 0x72, 0x00, 0x61, 0x00, 0x74, 0x00, 0x6f, 0x00, + 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x2c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x80, 0xf4, 0x03, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0xdd, 0xdd, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x07, 0x0a, 0x00, 0x00, 0x00, 0x09, 0x00, + 0x80, 0x48, 0x11, 0xf8, 0x36, 0x1a, 0xdb, 0x01, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x01, 0x2e, 0xe2, 0x01, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0xc2, 0x31, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0xaa, 0xaa, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0xee, 0xee, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0xcc, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x00, 0x65, 0x00, 0x78, 0x00, 0x65, 0x00, + 0x22, 0x00, 0x20, 0x00, 0x53, 0x00, 0x74, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x84, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x3c, 0x00, 0x51, 0x00, 0x75, 0x00, 0x65, 0x00, + 0x72, 0x00, 0x79, 0x00, 0x4c, 0x00, 0x69, 0x00, + 0x73, 0x00, 0x74, 0x00, 0x3e, 0x00, 0x3c, 0x00, + 0x51, 0x00, 0x75, 0x00, 0x65, 0x00, 0x72, 0x00, + 0x79, 0x00, 0x20, 0x00, 0x49, 0x00, 0x64, 0x00, + 0x3d, 0x00, 0x22, 0x00, 0x30, 0x00, 0x22, 0x00, + 0x20, 0x00, 0x50, 0x00, 0x61, 0x00, 0x74, 0x00, + 0x68, 0x00, 0x3d, 0x00, 0x22, 0x00, 0x49, 0x00, + 0x6e, 0x00, 0x74, 0x00, 0x65, 0x00, 0x72, 0x00, + 0x6e, 0x00, 0x65, 0x00, 0x74, 0x00, 0x20, 0x00, + 0x45, 0x00, 0x78, 0x00, 0x70, 0x00, 0x6c, 0x00, + 0x6f, 0x00, 0x72, 0x00, 0x65, 0x00, 0x72, 0x00, + 0x22, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x53, 0x00, + 0x65, 0x00, 0x6c, 0x00, 0x65, 0x00, 0x63, 0x00, + 0x74, 0x00, 0x20, 0x00, 0x50, 0x00, 0x61, 0x00, + 0x74, 0x00, 0x68, 0x00, 0x3d, 0x00, 0x22, 0x00, + 0x49, 0x00, 0x6e, 0x00, 0x74, 0x00, 0x65, 0x00, + 0x72, 0x00, 0x6e, 0x00, 0x65, 0x00, 0x74, 0x00, + 0x20, 0x00, 0x45, 0x00, 0x78, 0x00, 0x70, 0x00, + 0x6c, 0x00, 0x6f, 0x00, 0x72, 0x00, 0x65, 0x00, + 0x72, 0x00, 0x22, 0x00, 0x3e, 0x00, 0x2a, 0x00, + 0x5b, 0x00, 0x53, 0x00, 0x79, 0x00, 0x73, 0x00, + 0x74, 0x00, 0x65, 0x00, 0x6d, 0x00, 0x5b, 0x00, + 0x45, 0x00, 0x76, 0x00, 0x65, 0x00, 0x6e, 0x00, + 0x74, 0x00, 0x49, 0x00, 0x44, 0x00, 0x3d, 0x00, + 0x32, 0x00, 0x5d, 0x00, 0x5d, 0x00, 0x3c, 0x00, + 0x2f, 0x00, 0x53, 0x00, 0x65, 0x00, 0x6c, 0x00, + 0x65, 0x00, 0x63, 0x00, 0x74, 0x00, 0x3e, 0x00, + 0x3c, 0x00, 0x2f, 0x00, 0x51, 0x00, 0x75, 0x00, + 0x65, 0x00, 0x72, 0x00, 0x79, 0x00, 0x3e, 0x00, + 0x3c, 0x00, 0x2f, 0x00, 0x51, 0x00, 0x75, 0x00, + 0x65, 0x00, 0x72, 0x00, 0x79, 0x00, 0x4c, 0x00, + 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, 0x3e, 0x00, + 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, + 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x1c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, + 0x15, 0x00, 0x00, 0x00, 0x69, 0xce, 0x28, 0x2a, + 0xce, 0xd8, 0x1f, 0x77, 0x37, 0x9c, 0xe2, 0x44, + 0xf4, 0x01, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x40, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x44, 0x00, 0x45, 0x00, 0x53, 0x00, 0x4b, 0x00, + 0x54, 0x00, 0x4f, 0x00, 0x50, 0x00, 0x2d, 0x00, + 0x45, 0x00, 0x33, 0x00, 0x38, 0x00, 0x38, 0x00, + 0x44, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5c, 0x00, + 0x41, 0x00, 0x64, 0x00, 0x6d, 0x00, 0x69, 0x00, + 0x6e, 0x00, 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, + 0x72, 0x00, 0x61, 0x00, 0x74, 0x00, 0x6f, 0x00, + 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, + 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, + 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x1c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, + 0x15, 0x00, 0x00, 0x00, 0x69, 0xce, 0x28, 0x2a, + 0xce, 0xd8, 0x1f, 0x77, 0x37, 0x9c, 0xe2, 0x44, + 0xf4, 0x01, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x40, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x44, 0x00, 0x45, 0x00, 0x53, 0x00, 0x4b, 0x00, + 0x54, 0x00, 0x4f, 0x00, 0x50, 0x00, 0x2d, 0x00, + 0x45, 0x00, 0x33, 0x00, 0x38, 0x00, 0x38, 0x00, + 0x44, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5c, 0x00, + 0x41, 0x00, 0x64, 0x00, 0x6d, 0x00, 0x69, 0x00, + 0x6e, 0x00, 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, + 0x72, 0x00, 0x61, 0x00, 0x74, 0x00, 0x6f, 0x00, + 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + ] + # fmt: on + ) + triggers = scheduled_tasks.TriggerSet.decode(buf) + self.assertIsNotNone(triggers) + + def test_decode_triggers(self): + # fmt: off + buf = struct.pack( + "320B", + *[ + 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xB9, 0x61, 0x1A, 0xA8, 0xB9, 0x61, 0x1A, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xB9, 0x61, 0x1A, 0xA8, 0xB9, 0x61, 0x1A, + 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, + 0x08, 0xA1, 0x40, 0x42, 0x48, 0x48, 0x48, 0x48, + 0x7A, 0x7F, 0x59, 0xDC, 0x48, 0x48, 0x48, 0x48, + 0x22, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x49, 0x00, 0x6E, 0x00, 0x74, 0x00, 0x65, 0x00, + 0x72, 0x00, 0x61, 0x00, 0x63, 0x00, 0x74, 0x00, + 0x69, 0x00, 0x76, 0x00, 0x65, 0x00, 0x55, 0x00, + 0x73, 0x00, 0x65, 0x00, 0x72, 0x00, 0x73, 0x00, + 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + 0x05, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x0C, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, + 0x04, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x2C, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, + 0x80, 0x51, 0x01, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, + 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0xAA, 0xAA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xB9, 0x61, 0x1A, 0xA8, 0xB9, 0x61, 0x1A, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xB9, 0x61, 0x1A, 0xA8, 0xB9, 0x61, 0x1A, + 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, + 0x2C, 0x01, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0xC1, 0xD9, 0x04, + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, + 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, + ] + ) + # fmt: on + triggers = scheduled_tasks.TriggerSet.decode(buf) + self.assertIsNotNone(triggers) + if not triggers: + return + self.assertGreater(len(triggers.triggers), 0) diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 6d3ee586d..374d2d47a 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -11,8 +11,6 @@ import io import itertools import logging import struct -import traceback -import unittest from typing import Dict, Iterator, List, Optional, Tuple, Union from volatility3.framework import exceptions, interfaces, renderers @@ -52,6 +50,16 @@ class TimeMode(enum.Enum): Unknown = "Unknown" +TIME_MODE_DESCRIPTION = { + TimeMode.Once: "Once", + TimeMode.Daily: "Daily", + TimeMode.Weekly: "Weekly", + TimeMode.DaysInMonths: "Days In Months", + TimeMode.DaysInWeeksInMonths: "Days In Weeks In Months", + TimeMode.Unknown: "Unknown", +} + + class ActionType(enum.Enum): """ Enumeration that maps action types to their magic number encodings @@ -193,14 +201,9 @@ class _ScheduledTasksReader(io.BytesIO): filetime = self.decode_filetime() if filetime is None: return None + return is_localized, filetime - def read_filetime(self) -> Optional[datetime.datetime]: - return datetime.datetime.now() - - def seek_relative(self, offset) -> int: - return self.seek(offset, io.SEEK_CUR) - def read_bool(self, aligned=False) -> Optional[bool]: try: val = struct.unpack("?", self.read(1))[0] @@ -561,13 +564,14 @@ class _JobSchedule: repetition_duration_secs = reader.read_u4() execution_time_limit_secs = reader.read_u4() mode_index = reader.read_u4() - try: - if mode_index is not None: - mode = list(TimeMode)[mode_index] - else: - mode = None - except IndexError: - mode = TimeMode.Unknown + if mode_index is not None: + try: + mode = TimeMode(mode_index) + except ValueError: + mode = TimeMode.Unknown + else: + mode = None + data1 = reader.read_u2() data2 = reader.read_u2() data3 = reader.read_u2() @@ -1412,385 +1416,3 @@ class ScheduledTasks(interfaces.plugins.PluginInterface, timeliner.TimeLinerInte for indent, entry in self._generator() ), ) - - -class TestActionsDecoding(unittest.TestCase): - def test_decode_exe_action(self): - # fmt: off - buf = struct.pack( - "512B", - *[ - 0x03, 0x00, 0x16, 0x00, 0x00, 0x00, 0x4c, 0x00, - 0x6f, 0x00, 0x63, 0x00, 0x61, 0x00, 0x6c, 0x00, - 0x53, 0x00, 0x79, 0x00, 0x73, 0x00, 0x74, 0x00, - 0x65, 0x00, 0x6d, 0x00, 0x66, 0x66, 0x00, 0x00, - 0x00, 0x00, 0x6e, 0x00, 0x00, 0x00, 0x25, 0x00, - 0x77, 0x00, 0x69, 0x00, 0x6e, 0x00, 0x64, 0x00, - 0x69, 0x00, 0x72, 0x00, 0x25, 0x00, 0x5c, 0x00, - 0x73, 0x00, 0x79, 0x00, 0x73, 0x00, 0x74, 0x00, - 0x65, 0x00, 0x6d, 0x00, 0x33, 0x00, 0x32, 0x00, - 0x5c, 0x00, 0x57, 0x00, 0x69, 0x00, 0x6e, 0x00, - 0x64, 0x00, 0x6f, 0x00, 0x77, 0x00, 0x73, 0x00, - 0x50, 0x00, 0x6f, 0x00, 0x77, 0x00, 0x65, 0x00, - 0x72, 0x00, 0x53, 0x00, 0x68, 0x00, 0x65, 0x00, - 0x6c, 0x00, 0x6c, 0x00, 0x5c, 0x00, 0x76, 0x00, - 0x31, 0x00, 0x2e, 0x00, 0x30, 0x00, 0x5c, 0x00, - 0x70, 0x00, 0x6f, 0x00, 0x77, 0x00, 0x65, 0x00, - 0x72, 0x00, 0x73, 0x00, 0x68, 0x00, 0x65, 0x00, - 0x6c, 0x00, 0x6c, 0x00, 0x2e, 0x00, 0x65, 0x00, - 0x78, 0x00, 0x65, 0x00, 0x62, 0x01, 0x00, 0x00, - 0x2d, 0x00, 0x45, 0x00, 0x78, 0x00, 0x65, 0x00, - 0x63, 0x00, 0x75, 0x00, 0x74, 0x00, 0x69, 0x00, - 0x6f, 0x00, 0x6e, 0x00, 0x50, 0x00, 0x6f, 0x00, - 0x6c, 0x00, 0x69, 0x00, 0x63, 0x00, 0x79, 0x00, - 0x20, 0x00, 0x55, 0x00, 0x6e, 0x00, 0x72, 0x00, - 0x65, 0x00, 0x73, 0x00, 0x74, 0x00, 0x72, 0x00, - 0x69, 0x00, 0x63, 0x00, 0x74, 0x00, 0x65, 0x00, - 0x64, 0x00, 0x20, 0x00, 0x2d, 0x00, 0x4e, 0x00, - 0x6f, 0x00, 0x6e, 0x00, 0x49, 0x00, 0x6e, 0x00, - 0x74, 0x00, 0x65, 0x00, 0x72, 0x00, 0x61, 0x00, - 0x63, 0x00, 0x74, 0x00, 0x69, 0x00, 0x76, 0x00, - 0x65, 0x00, 0x20, 0x00, 0x2d, 0x00, 0x4e, 0x00, - 0x6f, 0x00, 0x50, 0x00, 0x72, 0x00, 0x6f, 0x00, - 0x66, 0x00, 0x69, 0x00, 0x6c, 0x00, 0x65, 0x00, - 0x20, 0x00, 0x2d, 0x00, 0x57, 0x00, 0x69, 0x00, - 0x6e, 0x00, 0x64, 0x00, 0x6f, 0x00, 0x77, 0x00, - 0x53, 0x00, 0x74, 0x00, 0x79, 0x00, 0x6c, 0x00, - 0x65, 0x00, 0x20, 0x00, 0x48, 0x00, 0x69, 0x00, - 0x64, 0x00, 0x64, 0x00, 0x65, 0x00, 0x6e, 0x00, - 0x20, 0x00, 0x22, 0x00, 0x26, 0x00, 0x20, 0x00, - 0x25, 0x00, 0x77, 0x00, 0x69, 0x00, 0x6e, 0x00, - 0x64, 0x00, 0x69, 0x00, 0x72, 0x00, 0x25, 0x00, - 0x5c, 0x00, 0x73, 0x00, 0x79, 0x00, 0x73, 0x00, - 0x74, 0x00, 0x65, 0x00, 0x6d, 0x00, 0x33, 0x00, - 0x32, 0x00, 0x5c, 0x00, 0x57, 0x00, 0x69, 0x00, - 0x6e, 0x00, 0x64, 0x00, 0x6f, 0x00, 0x77, 0x00, - 0x73, 0x00, 0x50, 0x00, 0x6f, 0x00, 0x77, 0x00, - 0x65, 0x00, 0x72, 0x00, 0x53, 0x00, 0x68, 0x00, - 0x65, 0x00, 0x6c, 0x00, 0x6c, 0x00, 0x5c, 0x00, - 0x76, 0x00, 0x31, 0x00, 0x2e, 0x00, 0x30, 0x00, - 0x5c, 0x00, 0x4d, 0x00, 0x6f, 0x00, 0x64, 0x00, - 0x75, 0x00, 0x6c, 0x00, 0x65, 0x00, 0x73, 0x00, - 0x5c, 0x00, 0x53, 0x00, 0x6d, 0x00, 0x62, 0x00, - 0x53, 0x00, 0x68, 0x00, 0x61, 0x00, 0x72, 0x00, - 0x65, 0x00, 0x5c, 0x00, 0x44, 0x00, 0x69, 0x00, - 0x73, 0x00, 0x61, 0x00, 0x62, 0x00, 0x6c, 0x00, - 0x65, 0x00, 0x55, 0x00, 0x6e, 0x00, 0x75, 0x00, - 0x73, 0x00, 0x65, 0x00, 0x64, 0x00, 0x53, 0x00, - 0x6d, 0x00, 0x62, 0x00, 0x31, 0x00, 0x2e, 0x00, - 0x70, 0x00, 0x73, 0x00, 0x31, 0x00, 0x20, 0x00, - 0x2d, 0x00, 0x53, 0x00, 0x63, 0x00, 0x65, 0x00, - 0x6e, 0x00, 0x61, 0x00, 0x72, 0x00, 0x69, 0x00, - 0x6f, 0x00, 0x20, 0x00, 0x43, 0x00, 0x6c, 0x00, - 0x69, 0x00, 0x65, 0x00, 0x6e, 0x00, 0x74, 0x00, - 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - ] - ) - - try: - actions = ActionSet.decode(buf) # type: ignore - self.assertEqual(len(actions), 1) - self.assertEqual(actions[0].action_type, ActionType.Exe) - except Exception: - self.fail( - "ActionDecoder.decode should not raise exception:\n%s" - % traceback.format_exc() - ) - - -class TestTriggersDecoding(unittest.TestCase): - def test_decode_all_triggers(self): - """ - Tests decoding a set of all triggers that can be constructed via the - Task Scheduler GUI interface. Ensures that the correct number of bytes - is being consumed for each trigger structure. - """ - buf = struct.pack( - "1808B", - # fmt: off - *[ - 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x38, 0x21, 0x41, 0x42, 0x48, 0x48, 0x48, 0x48, - 0xa0, 0x12, 0xa0, 0xa4, 0x48, 0x48, 0x48, 0x48, - 0x0e, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x41, 0x00, 0x75, 0x00, 0x74, 0x00, 0x68, 0x00, - 0x6f, 0x00, 0x72, 0x00, 0x00, 0x00, 0x48, 0x48, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x1c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, - 0x15, 0x00, 0x00, 0x00, 0x69, 0xce, 0x28, 0x2a, - 0xce, 0xd8, 0x1f, 0x77, 0x37, 0x9c, 0xe2, 0x44, - 0xf4, 0x01, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x40, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x44, 0x00, 0x45, 0x00, 0x53, 0x00, 0x4b, 0x00, - 0x54, 0x00, 0x4f, 0x00, 0x50, 0x00, 0x2d, 0x00, - 0x45, 0x00, 0x33, 0x00, 0x38, 0x00, 0x38, 0x00, - 0x44, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5c, 0x00, - 0x41, 0x00, 0x64, 0x00, 0x6d, 0x00, 0x69, 0x00, - 0x6e, 0x00, 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, - 0x72, 0x00, 0x61, 0x00, 0x74, 0x00, 0x6f, 0x00, - 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x2c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x80, 0xf4, 0x03, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0xdd, 0xdd, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x07, 0x0a, 0x00, 0x00, 0x00, 0x09, 0x00, - 0x80, 0x48, 0x11, 0xf8, 0x36, 0x1a, 0xdb, 0x01, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x01, 0x2e, 0xe2, 0x01, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0xc2, 0x31, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0xaa, 0xaa, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, - 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0xee, 0xee, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0xcc, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x00, 0x65, 0x00, 0x78, 0x00, 0x65, 0x00, - 0x22, 0x00, 0x20, 0x00, 0x53, 0x00, 0x74, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x84, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x3c, 0x00, 0x51, 0x00, 0x75, 0x00, 0x65, 0x00, - 0x72, 0x00, 0x79, 0x00, 0x4c, 0x00, 0x69, 0x00, - 0x73, 0x00, 0x74, 0x00, 0x3e, 0x00, 0x3c, 0x00, - 0x51, 0x00, 0x75, 0x00, 0x65, 0x00, 0x72, 0x00, - 0x79, 0x00, 0x20, 0x00, 0x49, 0x00, 0x64, 0x00, - 0x3d, 0x00, 0x22, 0x00, 0x30, 0x00, 0x22, 0x00, - 0x20, 0x00, 0x50, 0x00, 0x61, 0x00, 0x74, 0x00, - 0x68, 0x00, 0x3d, 0x00, 0x22, 0x00, 0x49, 0x00, - 0x6e, 0x00, 0x74, 0x00, 0x65, 0x00, 0x72, 0x00, - 0x6e, 0x00, 0x65, 0x00, 0x74, 0x00, 0x20, 0x00, - 0x45, 0x00, 0x78, 0x00, 0x70, 0x00, 0x6c, 0x00, - 0x6f, 0x00, 0x72, 0x00, 0x65, 0x00, 0x72, 0x00, - 0x22, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x53, 0x00, - 0x65, 0x00, 0x6c, 0x00, 0x65, 0x00, 0x63, 0x00, - 0x74, 0x00, 0x20, 0x00, 0x50, 0x00, 0x61, 0x00, - 0x74, 0x00, 0x68, 0x00, 0x3d, 0x00, 0x22, 0x00, - 0x49, 0x00, 0x6e, 0x00, 0x74, 0x00, 0x65, 0x00, - 0x72, 0x00, 0x6e, 0x00, 0x65, 0x00, 0x74, 0x00, - 0x20, 0x00, 0x45, 0x00, 0x78, 0x00, 0x70, 0x00, - 0x6c, 0x00, 0x6f, 0x00, 0x72, 0x00, 0x65, 0x00, - 0x72, 0x00, 0x22, 0x00, 0x3e, 0x00, 0x2a, 0x00, - 0x5b, 0x00, 0x53, 0x00, 0x79, 0x00, 0x73, 0x00, - 0x74, 0x00, 0x65, 0x00, 0x6d, 0x00, 0x5b, 0x00, - 0x45, 0x00, 0x76, 0x00, 0x65, 0x00, 0x6e, 0x00, - 0x74, 0x00, 0x49, 0x00, 0x44, 0x00, 0x3d, 0x00, - 0x32, 0x00, 0x5d, 0x00, 0x5d, 0x00, 0x3c, 0x00, - 0x2f, 0x00, 0x53, 0x00, 0x65, 0x00, 0x6c, 0x00, - 0x65, 0x00, 0x63, 0x00, 0x74, 0x00, 0x3e, 0x00, - 0x3c, 0x00, 0x2f, 0x00, 0x51, 0x00, 0x75, 0x00, - 0x65, 0x00, 0x72, 0x00, 0x79, 0x00, 0x3e, 0x00, - 0x3c, 0x00, 0x2f, 0x00, 0x51, 0x00, 0x75, 0x00, - 0x65, 0x00, 0x72, 0x00, 0x79, 0x00, 0x4c, 0x00, - 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, 0x3e, 0x00, - 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, - 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, - 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x1c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, - 0x15, 0x00, 0x00, 0x00, 0x69, 0xce, 0x28, 0x2a, - 0xce, 0xd8, 0x1f, 0x77, 0x37, 0x9c, 0xe2, 0x44, - 0xf4, 0x01, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x40, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x44, 0x00, 0x45, 0x00, 0x53, 0x00, 0x4b, 0x00, - 0x54, 0x00, 0x4f, 0x00, 0x50, 0x00, 0x2d, 0x00, - 0x45, 0x00, 0x33, 0x00, 0x38, 0x00, 0x38, 0x00, - 0x44, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5c, 0x00, - 0x41, 0x00, 0x64, 0x00, 0x6d, 0x00, 0x69, 0x00, - 0x6e, 0x00, 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, - 0x72, 0x00, 0x61, 0x00, 0x74, 0x00, 0x6f, 0x00, - 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, - 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, - 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x1c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, - 0x15, 0x00, 0x00, 0x00, 0x69, 0xce, 0x28, 0x2a, - 0xce, 0xd8, 0x1f, 0x77, 0x37, 0x9c, 0xe2, 0x44, - 0xf4, 0x01, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x40, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x44, 0x00, 0x45, 0x00, 0x53, 0x00, 0x4b, 0x00, - 0x54, 0x00, 0x4f, 0x00, 0x50, 0x00, 0x2d, 0x00, - 0x45, 0x00, 0x33, 0x00, 0x38, 0x00, 0x38, 0x00, - 0x44, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5c, 0x00, - 0x41, 0x00, 0x64, 0x00, 0x6d, 0x00, 0x69, 0x00, - 0x6e, 0x00, 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, - 0x72, 0x00, 0x61, 0x00, 0x74, 0x00, 0x6f, 0x00, - 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 - ] - # fmt: on - ) - triggers = TriggerSet.decode(buf) - self.assertIsNotNone(triggers) - - def test_decode_triggers(self): - # fmt: off - buf = struct.pack( - "320B", - *[ - 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xB9, 0x61, 0x1A, 0xA8, 0xB9, 0x61, 0x1A, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xB9, 0x61, 0x1A, 0xA8, 0xB9, 0x61, 0x1A, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0x08, 0xA1, 0x40, 0x42, 0x48, 0x48, 0x48, 0x48, - 0x7A, 0x7F, 0x59, 0xDC, 0x48, 0x48, 0x48, 0x48, - 0x22, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x49, 0x00, 0x6E, 0x00, 0x74, 0x00, 0x65, 0x00, - 0x72, 0x00, 0x61, 0x00, 0x63, 0x00, 0x74, 0x00, - 0x69, 0x00, 0x76, 0x00, 0x65, 0x00, 0x55, 0x00, - 0x73, 0x00, 0x65, 0x00, 0x72, 0x00, 0x73, 0x00, - 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x05, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x0C, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, - 0x04, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x2C, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, - 0x80, 0x51, 0x01, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, - 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0xAA, 0xAA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xB9, 0x61, 0x1A, 0xA8, 0xB9, 0x61, 0x1A, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xB9, 0x61, 0x1A, 0xA8, 0xB9, 0x61, 0x1A, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0x2C, 0x01, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0xC1, 0xD9, 0x04, - 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - ] - ) - # fmt: on - triggers = TriggerSet.decode(buf) - self.assertIsNotNone(triggers) - if not triggers: - return - self.assertGreater(len(triggers.triggers), 0) From efdbc27b95e141fe739b8f7e8edd1357c61b4601 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 25 Oct 2024 14:06:41 -0500 Subject: [PATCH 0801/2186] Windows: Scheduled tasks - removes special time type Removes the TaskSchedulerTime dataclass and discards the is_localized value parsed with the timestamp. --- .../plugins/windows/scheduled_tasks.py | 24 ++++++------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 374d2d47a..277a0d856 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -137,16 +137,6 @@ class SidType(enum.Enum): LogonSession = 11 -@dataclasses.dataclass -class TaskSchedulerTime: - """ - A class containing datetime information about when a task will run - """ - - is_localized: bool - filetime: Optional[datetime.datetime] - - @dataclasses.dataclass class TaskSchedulerTimePeriod: """ @@ -196,13 +186,13 @@ NULL = "\u0000" class _ScheduledTasksReader(io.BytesIO): - def read_task_scheduler_time(self) -> Optional[Tuple[bool, datetime.datetime]]: - is_localized = bool(self.read_aligned_u1()) + def read_task_scheduler_time(self) -> Optional[datetime.datetime]: + _ = bool(self.read_aligned_u1()) # is_localized filetime = self.decode_filetime() if filetime is None: return None - return is_localized, filetime + return filetime def read_bool(self, aligned=False) -> Optional[bool]: try: @@ -584,8 +574,8 @@ class _JobSchedule: reader.seek(4, io.SEEK_CUR) # pad return cls( - start_boundary[1] if start_boundary is not None else None, - end_boundary[1] if end_boundary is not None else None, + start_boundary, + end_boundary, repetition_interval_secs, repetition_duration_secs, execution_time_limit_secs, @@ -833,8 +823,8 @@ class TaskTrigger: reader.seek((8 - (reader.tell() - cur)) % 8, io.SEEK_CUR) # pad to block return cls( - start_boundary[1] if start_boundary is not None else None, - end_boundary[1] if end_boundary is not None else None, + start_boundary, + end_boundary, repetition_interval_secs, trigger_enabled, trigger_type, From 094cdf18f14d795f385e504506390ba1602c0b55 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 29 Oct 2024 10:59:18 +1100 Subject: [PATCH 0802/2186] Linux: netfilter plugin: Fix hooked field to match vol2 output --- volatility3/framework/plugins/linux/netfilter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index f576c073c..66075f907 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -190,7 +190,7 @@ class AbstractNetfilter(ABC): priority = int(hook_ops.priority) hook_ops_hook = hook_ops.hook module_name = self.get_module_name_for_address(hook_ops_hook) - hooked = module_name is not None + hooked = module_name is None yield netns, proto_name, hook_name, priority, hook_ops_hook, module_name, hooked From 4895af47bdec7779c7806dca47c657ae686a6e0b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 29 Oct 2024 13:46:19 +1100 Subject: [PATCH 0803/2186] Linux: Boottime timeliner: Rollback timeliner event type changes and use the created time for the boot time plugin --- volatility3/framework/plugins/linux/boottime.py | 2 +- volatility3/framework/plugins/timeliner.py | 13 ++----------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/linux/boottime.py b/volatility3/framework/plugins/linux/boottime.py index eeee418f8..8f63ee7f8 100644 --- a/volatility3/framework/plugins/linux/boottime.py +++ b/volatility3/framework/plugins/linux/boottime.py @@ -88,7 +88,7 @@ class Boottime(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) ): description = f"System boot time for time namespace {time_namespace_id}" - yield description, timeliner.TimeLinerType.BOOTTIME, boottime + yield description, timeliner.TimeLinerType.CREATED, boottime def run(self): columns = [ diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index 70da0c4fb..c754e43ef 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -23,7 +23,6 @@ class TimeLinerType(enum.IntEnum): MODIFIED = 2 ACCESSED = 3 CHANGED = 4 - BOOTTIME = 5 class TimeLinerInterface(metaclass=abc.ABCMeta): @@ -172,10 +171,6 @@ class Timeliner(interfaces.plugins.PluginInterface): TimeLinerType.CHANGED, renderers.NotApplicableValue(), ), - times.get( - TimeLinerType.BOOTTIME, - renderers.NotApplicableValue(), - ), ], ) ) @@ -183,11 +178,11 @@ class Timeliner(interfaces.plugins.PluginInterface): # Write each entry because the body file doesn't need to be sorted if fp: times = self.timeline[(plugin_name, item)] - # Body format is: MD5|name|inode|mode_as_string|UID|GID|size|atime|mtime|ctime|crtime|boottime + # Body format is: MD5|name|inode|mode_as_string|UID|GID|size|atime|mtime|ctime|crtime if self._any_time_present(times): fp.write( - "|{} - {}|0|0|0|0|0|{}|{}|{}|{}|{}\n".format( + "|{} - {}|0|0|0|0|0|{}|{}|{}|{}\n".format( plugin_name, self._sanitize_body_format(item), self._text_format( @@ -202,9 +197,6 @@ class Timeliner(interfaces.plugins.PluginInterface): self._text_format( times.get(TimeLinerType.CREATED, "0") ), - self._text_format( - times.get(TimeLinerType.BOOTTIME, "0") - ), ) ) except Exception as e: @@ -328,7 +320,6 @@ class Timeliner(interfaces.plugins.PluginInterface): ("Modified Date", datetime.datetime), ("Accessed Date", datetime.datetime), ("Changed Date", datetime.datetime), - ("Boot Date", datetime.datetime), ], generator=self._generator(plugins_to_run), ) From c4274c942c4e94e909de44bbe3e12b47a15143f2 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 29 Oct 2024 13:49:58 +1100 Subject: [PATCH 0804/2186] Linux: Fix exception message in TimespecVol3::__sub__() --- volatility3/framework/symbols/linux/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 95b476263..8c28ca562 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -903,7 +903,7 @@ class TimespecVol3(object): """Returns a new TimespecVol3 object that subtracts the values in the timespec argument from the current object's values""" if not isinstance(timespec, (TimespecVol3, extensions.timespec64)): - raise TypeError("Cannot add a TimespecVol3 to this object") + raise TypeError("Cannot substract this object to a TimespecVol3") result = TimespecVol3( tv_sec=self.tv_sec - timespec.tv_sec, From 57ffd5b939df456b7e573d91d6b23bc01f36f353 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 29 Oct 2024 14:24:16 +1100 Subject: [PATCH 0805/2186] Linux: Boottime API: Refactor TimespecVol3::negate() to return a new object instead of modifying the original. It also normalizes its values, aligning with the behavior of the other addition and subtraction operators --- volatility3/framework/symbols/linux/__init__.py | 14 +++++++++++--- .../framework/symbols/linux/extensions/__init__.py | 10 ++-------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 8c28ca562..4123674ed 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -909,6 +909,7 @@ class TimespecVol3(object): tv_sec=self.tv_sec - timespec.tv_sec, tv_nsec=self.tv_nsec - timespec.tv_nsec, ) + result.normalize() return result @@ -925,6 +926,13 @@ class TimespecVol3(object): self.tv_sec -= 1 def negate(self): - """Negates the sign of both tv_sec and tv_nsec""" - self.tv_sec = -self.tv_sec - self.tv_nsec = -self.tv_nsec + """Returns a new TimespecVol3 object with the values of the current object negated""" + + result = TimespecVol3( + tv_sec=-self.tv_sec, + tv_nsec=-self.tv_nsec, + ) + + result.normalize() + + return result diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 2784aeda7..6fd55cb56 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -502,10 +502,7 @@ class task_struct(generic.GenericIntelProcess): boottime += timekeeper.total_sleep_time - boottime.negate() - boottime.normalize() - - return boottime + return boottime.negate() elif vmlinux.has_symbol("wall_to_monotonic"): # kernels < 3.4 - Tested on Debian7 3.2.0-4 (3.2.57-3+deb7u2) @@ -523,10 +520,7 @@ class task_struct(generic.GenericIntelProcess): # kernels < 2.6.32 total_sleep_time is an unsigned long as seconds boottime.tv_sec += total_sleep_time - boottime.negate() - boottime.normalize() - - return boottime + return boottime.negate() raise exceptions.VolatilityException("Unsupported") From bee2a398eb4d3f3b28644ed2039bb516ccc3e75e Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 29 Oct 2024 15:13:26 +1100 Subject: [PATCH 0806/2186] Linux: Minor: Add comment/header on each set of constants --- volatility3/framework/constants/linux/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 056c384ae..7bfa9268d 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -304,6 +304,7 @@ class ELF_CLASS(IntEnum): ELFCLASS64 = 2 +# PTrace PT_OPT_FLAG_SHIFT = 3 PTRACE_EVENT_FORK = 1 @@ -341,4 +342,5 @@ class PT_FLAGS(Flag): return str(self).replace(self.__class__.__name__ + ".", "") +# Boot time NSEC_PER_SEC = 1e9 From 526007f948b4b1fcefacb84e344d0b6ff49e945b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 29 Oct 2024 16:41:47 +1100 Subject: [PATCH 0807/2186] Linux: hidden_modules: Use child_template --- volatility3/framework/plugins/linux/hidden_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 679f2b00a..09b8851ec 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -167,7 +167,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): mkobj_offset = vmlinux.get_type("module").relative_child_offset("mkobj") mod_offset = vmlinux.get_type("module_kobject").relative_child_offset("mod") offset_to_mkobj_mod = mkobj_offset + mod_offset - mod_member_template = vmlinux.get_type("module_kobject").vol.members["mod"][1] + mod_member_template = vmlinux.get_type("module_kobject").child_template("mod") mod_size = mod_member_template.size mod_member_data_format = mod_member_template.data_format From cbe071ff3ef90c4c2ae78bc953390bd69deb7c02 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 29 Oct 2024 17:19:30 +1100 Subject: [PATCH 0808/2186] Linux: hidden_modules: Import the whole architectures module --- volatility3/framework/plugins/linux/hidden_modules.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 09b8851ec..b7513a952 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -4,7 +4,7 @@ import logging from typing import List, Set, Tuple, Iterable from volatility3.framework import renderers, interfaces, exceptions, objects -from volatility3.framework.constants.architectures import LINUX_ARCHS +from volatility3.framework.constants import architectures from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements from volatility3.plugins.linux import lsmod @@ -25,7 +25,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): requirements.ModuleRequirement( name="kernel", description="Linux kernel", - architectures=LINUX_ARCHS, + architectures=architectures.LINUX_ARCHS, ), requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) From dfd8a1f19565ddfdd9521206bf4fb9773ba52578 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 29 Oct 2024 17:22:48 +1100 Subject: [PATCH 0809/2186] Linux: hidden_modules: Include kernel version and commit details --- volatility3/framework/plugins/linux/hidden_modules.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index b7513a952..7fd5f9fad 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -48,10 +48,12 @@ class Hidden_modules(interfaces.plugins.PluginInterface): """ vmlinux = context.modules[vmlinux_module_name] if vmlinux.has_symbol("mod_tree"): + # Kernel >= 5.19 58d208de3e8d87dbe196caf0b57cc58c7a3836ca mod_tree = vmlinux.object_from_symbol("mod_tree") modules_addr_min = mod_tree.addr_min modules_addr_max = mod_tree.addr_max elif vmlinux.has_symbol("module_addr_min"): + # 2.6.27 <= kernel < 5.19 3a642e99babe0617febb6f402e1e063479f489db modules_addr_min = vmlinux.object_from_symbol("module_addr_min") modules_addr_max = vmlinux.object_from_symbol("module_addr_max") From 1c6a5480170d38760f53e3d1caa2a6dafcba2f46 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 29 Oct 2024 17:30:47 +1100 Subject: [PATCH 0810/2186] Linux: hidden_modules: Simplify symbols type checks --- .../framework/plugins/linux/hidden_modules.py | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 7fd5f9fad..7a01341c1 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -58,21 +58,10 @@ class Hidden_modules(interfaces.plugins.PluginInterface): modules_addr_max = vmlinux.object_from_symbol("module_addr_max") if isinstance(modules_addr_min, objects.Void): - # Crap ISF! Here's my best-effort workaround - vollog.warning( - "Your ISF symbols are missing type information. You may need to update " - "the ISF using the latest version of dwarf2json" + raise exceptions.VolatilityException( + "Your ISF symbols lack type information. You may need to update the" + "ISF using the latest version of dwarf2json" ) - # See issue #1041. In the Linux kernel these are "unsigned long" - for type_name in ("long unsigned int", "unsigned long"): - if vmlinux.has_type(type_name): - modules_addr_min = modules_addr_min.cast(type_name) - modules_addr_max = modules_addr_max.cast(type_name) - break - else: - raise exceptions.VolatilityException( - "Bad ISF! Please update the ISF using the latest version of dwarf2json" - ) else: raise exceptions.VolatilityException( "Cannot find the module memory allocation area. Unsupported kernel" From 8960bdab086bef47121c16ba92a630dd70a18a26 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 29 Oct 2024 17:33:06 +1100 Subject: [PATCH 0811/2186] Linux: hidden_modules: Add a symbol table check for a recent dwarf2json version --- volatility3/framework/plugins/linux/hidden_modules.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 7a01341c1..fd4b28943 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -232,6 +232,13 @@ class Hidden_modules(interfaces.plugins.PluginInterface): yield (0, fields) def run(self): + if self.context.symbol_space.verify_table_versions( + "dwarf2json", lambda version, _: (not version) or version < (0, 8, 0) + ): + raise exceptions.SymbolSpaceError( + "Invalid symbol table, please ensure the ISF table produced by dwarf2json was created with version 0.8.0 or later" + ) + headers = [ ("Address", format_hints.Hex), ("Name", str), From 4b76b699ad97f93fd9cf2949e6ab49c526784f3c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 30 Oct 2024 09:56:05 +1100 Subject: [PATCH 0812/2186] Linux: hidden_modules: Add docstrings and comments to enhance the documentation of the module verification process. Move the hardcoded values to the linux constants file. --- .../framework/constants/linux/__init__.py | 8 ++++ .../symbols/linux/extensions/__init__.py | 37 ++++++++++++++----- 2 files changed, 36 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 0567b8574..7c485d3c3 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -339,3 +339,11 @@ class PT_FLAGS(Flag): def flags(self) -> str: """Returns the ptrace flags string""" return str(self).replace(self.__class__.__name__ + ".", "") + + +# Valid sizes for modules. Note that the Linux kernel does not define these values; they +# are based on empirical observations of typical memory allocations for kernel modules. +# We use this to verify that the found module falls within reasonable limits. +MODULE_MAXIMUM_CORE_SIZE = 20000000 +MODULE_MAXIMUM_CORE_TEXT_SIZE = 20000000 +MODULE_MINIMUM_SIZE = 4096 diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index cc43df8f5..fedb3d96f 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -13,12 +13,24 @@ from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union, from volatility3.framework import constants, exceptions, objects, interfaces, symbols from volatility3.framework.renderers import conversion -from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY -from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS -from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS -from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATES -from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES -from volatility3.framework.constants.linux import CAPABILITIES, PT_FLAGS +from volatility3.framework.constants.linux import ( + SOCK_TYPES, + SOCK_FAMILY, + IP_PROTOCOLS, + IPV6_PROTOCOLS, + TCP_STATES, + NETLINK_PROTOCOLS, + ETH_PROTOCOLS, + BLUETOOTH_STATES, + BLUETOOTH_PROTOCOLS, + SOCKET_STATES, + CAPABILITIES, + PT_FLAGS, + MODULE_MAXIMUM_CORE_SIZE, + MODULE_MAXIMUM_CORE_TEXT_SIZE, + MODULE_MINIMUM_SIZE, +) + from volatility3.framework.layers import linear from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed @@ -36,16 +48,23 @@ class module(generic.GenericIntelProcess): self._mod_mem_type = None # Initialize _mod_mem_type to None for memoization def is_valid(self): + """Determine whether it is a valid module object by verifying the self-referential + in module_kobject. This also confirms that the module is actively allocated and + not a remnant of freed memory or a failed module load attempt by verifying the + module memory section sizes. + """ layer = self._context.layers[self.vol.layer_name] # Make sure the entire module content is readable if not layer.is_valid(self.vol.offset, self.vol.size): return False core_size = self.get_core_size() + core_text_size = self.get_core_text_size() + init_size = self.get_init_size() if not ( - 1 <= core_size <= 20000000 - and core_size + self.get_init_size() >= 4096 - and 1 <= self.get_core_text_size() <= 20000000 + 0 < core_text_size <= MODULE_MAXIMUM_CORE_TEXT_SIZE + and 0 < core_size <= MODULE_MAXIMUM_CORE_SIZE + and core_size + init_size >= MODULE_MINIMUM_SIZE ): return False From 722ccd527e351f90d2a34dd31d29c39bf65be513 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 30 Oct 2024 12:56:09 +1100 Subject: [PATCH 0813/2186] Linux: Extensions: Clean up the Linux constants imports in the object extension file --- .../symbols/linux/extensions/__init__.py | 83 ++++++++----------- 1 file changed, 35 insertions(+), 48 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index fedb3d96f..1f3e0504c 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -13,24 +13,7 @@ from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union, from volatility3.framework import constants, exceptions, objects, interfaces, symbols from volatility3.framework.renderers import conversion -from volatility3.framework.constants.linux import ( - SOCK_TYPES, - SOCK_FAMILY, - IP_PROTOCOLS, - IPV6_PROTOCOLS, - TCP_STATES, - NETLINK_PROTOCOLS, - ETH_PROTOCOLS, - BLUETOOTH_STATES, - BLUETOOTH_PROTOCOLS, - SOCKET_STATES, - CAPABILITIES, - PT_FLAGS, - MODULE_MAXIMUM_CORE_SIZE, - MODULE_MAXIMUM_CORE_TEXT_SIZE, - MODULE_MINIMUM_SIZE, -) - +from volatility3.framework.constants import linux as linux_constants from volatility3.framework.layers import linear from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed @@ -62,9 +45,9 @@ class module(generic.GenericIntelProcess): core_text_size = self.get_core_text_size() init_size = self.get_init_size() if not ( - 0 < core_text_size <= MODULE_MAXIMUM_CORE_TEXT_SIZE - and 0 < core_size <= MODULE_MAXIMUM_CORE_SIZE - and core_size + init_size >= MODULE_MINIMUM_SIZE + 0 < core_text_size <= linux_constants.MODULE_MAXIMUM_CORE_TEXT_SIZE + and 0 < core_size <= linux_constants.MODULE_MAXIMUM_CORE_SIZE + and core_size + init_size >= linux_constants.MODULE_MINIMUM_SIZE ): return False @@ -383,7 +366,7 @@ class task_struct(generic.GenericIntelProcess): Returns: bool: True, if this task is a kernel thread. Otherwise, False. """ - return (self.flags & constants.linux.PF_KTHREAD) != 0 + return (self.flags & linux_constants.PF_KTHREAD) != 0 @property def is_thread_group_leader(self) -> bool: @@ -460,7 +443,11 @@ class task_struct(generic.GenericIntelProcess): def get_ptrace_tracee_flags(self) -> Optional[str]: """Returns a string with the ptrace flags""" - return PT_FLAGS(self.ptrace).flags if self.is_being_ptraced else None + return ( + linux_constants.PT_FLAGS(self.ptrace).flags + if self.is_being_ptraced + else None + ) class fs_struct(objects.StructType): @@ -1567,18 +1554,18 @@ class socket(objects.StructType): def get_state(self): socket_state_idx = self.state - if 0 <= socket_state_idx < len(SOCKET_STATES): - return SOCKET_STATES[socket_state_idx] + if 0 <= socket_state_idx < len(linux_constants.SOCKET_STATES): + return linux_constants.SOCKET_STATES[socket_state_idx] class sock(objects.StructType): def get_family(self): family_idx = self.__sk_common.skc_family - if 0 <= family_idx < len(SOCK_FAMILY): - return SOCK_FAMILY[family_idx] + if 0 <= family_idx < len(linux_constants.SOCK_FAMILY): + return linux_constants.SOCK_FAMILY[family_idx] def get_type(self): - return SOCK_TYPES.get(self.sk_type, "") + return linux_constants.SOCK_TYPES.get(self.sk_type, "") def get_inode(self): if not self.sk_socket: @@ -1612,8 +1599,8 @@ class unix_sock(objects.StructType): # Unix socket states reuse (a subset) of the inet_sock states contants if self.sk.get_type() == "STREAM": state_idx = self.sk.__sk_common.skc_state - if 0 <= state_idx < len(TCP_STATES): - return TCP_STATES[state_idx] + if 0 <= state_idx < len(linux_constants.TCP_STATES): + return linux_constants.TCP_STATES[state_idx] else: # Return the generic socket state return self.sk.sk_socket.get_state() @@ -1625,15 +1612,15 @@ class unix_sock(objects.StructType): class inet_sock(objects.StructType): def get_family(self): family_idx = self.sk.__sk_common.skc_family - if 0 <= family_idx < len(SOCK_FAMILY): - return SOCK_FAMILY[family_idx] + if 0 <= family_idx < len(linux_constants.SOCK_FAMILY): + return linux_constants.SOCK_FAMILY[family_idx] def get_protocol(self): # If INET6 family and a proto is defined, we use that specific IPv6 protocol. # Otherwise, we use the standard IP protocol. - protocol = IP_PROTOCOLS.get(self.sk.sk_protocol) + protocol = linux_constants.IP_PROTOCOLS.get(self.sk.sk_protocol) if self.get_family() == "AF_INET6": - protocol = IPV6_PROTOCOLS.get(self.sk.sk_protocol, protocol) + protocol = linux_constants.IPV6_PROTOCOLS.get(self.sk.sk_protocol, protocol) return protocol def get_state(self): @@ -1641,8 +1628,8 @@ class inet_sock(objects.StructType): if self.sk.get_type() == "STREAM": state_idx = self.sk.__sk_common.skc_state - if 0 <= state_idx < len(TCP_STATES): - return TCP_STATES[state_idx] + if 0 <= state_idx < len(linux_constants.TCP_STATES): + return linux_constants.TCP_STATES[state_idx] else: # Return the generic socket state return self.sk.sk_socket.get_state() @@ -1725,8 +1712,8 @@ class inet_sock(objects.StructType): class netlink_sock(objects.StructType): def get_protocol(self): protocol_idx = self.sk.sk_protocol - if 0 <= protocol_idx < len(NETLINK_PROTOCOLS): - return NETLINK_PROTOCOLS[protocol_idx] + if 0 <= protocol_idx < len(linux_constants.NETLINK_PROTOCOLS): + return linux_constants.NETLINK_PROTOCOLS[protocol_idx] def get_state(self): # Return the generic socket state @@ -1768,8 +1755,8 @@ class packet_sock(objects.StructType): eth_proto = socket_module.htons(self.num) if eth_proto == 0: return None - elif eth_proto in ETH_PROTOCOLS: - return ETH_PROTOCOLS[eth_proto] + elif eth_proto in linux_constants.ETH_PROTOCOLS: + return linux_constants.ETH_PROTOCOLS[eth_proto] else: return f"0x{eth_proto:x}" @@ -1781,13 +1768,13 @@ class packet_sock(objects.StructType): class bt_sock(objects.StructType): def get_protocol(self): type_idx = self.sk.sk_protocol - if 0 <= type_idx < len(BLUETOOTH_PROTOCOLS): - return BLUETOOTH_PROTOCOLS[type_idx] + if 0 <= type_idx < len(linux_constants.BLUETOOTH_PROTOCOLS): + return linux_constants.BLUETOOTH_PROTOCOLS[type_idx] def get_state(self): state_idx = self.sk.__sk_common.skc_state - if 0 <= state_idx < len(BLUETOOTH_STATES): - return BLUETOOTH_STATES[state_idx] + if 0 <= state_idx < len(linux_constants.BLUETOOTH_STATES): + return linux_constants.BLUETOOTH_STATES[state_idx] class xdp_sock(objects.StructType): @@ -1905,7 +1892,7 @@ class kernel_cap_struct(objects.StructType): Returns: int: The latest capability ID supported by the framework. """ - return len(CAPABILITIES) - 1 + return len(linux_constants.CAPABILITIES) - 1 def get_kernel_cap_full(self) -> int: """Return the maximum value allowed for this kernel for a capability @@ -1934,7 +1921,7 @@ class kernel_cap_struct(objects.StructType): """ capabilities = [] - for bit, name in enumerate(CAPABILITIES): + for bit, name in enumerate(linux_constants.CAPABILITIES): if capabilities_bitfield & (1 << bit) != 0: capabilities.append(name) @@ -1995,10 +1982,10 @@ class kernel_cap_struct(objects.StructType): Returns: bool: "True" if the given capability is enabled. """ - if capability not in CAPABILITIES: + if capability not in linux_constants.CAPABILITIES: raise AttributeError(f"Unknown capability with name '{capability}'") - cap_value = 1 << CAPABILITIES.index(capability) + cap_value = 1 << linux_constants.CAPABILITIES.index(capability) return cap_value & self.get_capabilities() != 0 From 42d918c05d6a2d08d025d63f51b9c6764076be12 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 30 Oct 2024 15:21:13 +1100 Subject: [PATCH 0814/2186] Linux: Boottime API: Refactor Timespec Methods. Move TimespecVol3 methods to an abstract class Timespec64Abstract, which is now inherited by Timespec64 and Timespec64Concrete. --- .../framework/symbols/linux/__init__.py | 106 ------------- .../symbols/linux/extensions/__init__.py | 140 ++++++++++++++++-- 2 files changed, 127 insertions(+), 119 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 84f546a9f..1f2812c10 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -3,15 +3,11 @@ # import math import contextlib -import datetime -import dataclasses from abc import ABC, abstractmethod from typing import Iterator, List, Tuple, Optional, Union from volatility3 import framework from volatility3.framework import constants, exceptions, interfaces, objects -from volatility3.framework.renderers import conversion -from volatility3.framework.constants.linux import NSEC_PER_SEC from volatility3.framework.objects import utility from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux import extensions @@ -836,105 +832,3 @@ class PageCache(object): page = self.vmlinux.object("page", offset=page_addr, absolute=True) if page: yield page - - -@dataclasses.dataclass -class TimespecVol3(object): - """Internal helper class to handle all required timespec operations, convertions and - adjustments. - - NOTE: This is intended for exclusive use with get_boottime() and its related functions. - """ - - tv_sec: int = 0 - tv_nsec: int = 0 - - @classmethod - def new_from_timespec(cls, timespec) -> "TimespecVol3": - """Creates a new instance from a TimespecVol3 or timespec64 object""" - if not isinstance(timespec, (TimespecVol3, extensions.timespec64)): - raise TypeError("It requires either a TimespecVol3 or timespec64 type") - - tv_sec = int(timespec.tv_sec) - tv_nsec = int(timespec.tv_nsec) - return cls(tv_sec=tv_sec, tv_nsec=tv_nsec) - - @classmethod - def new_from_nsec(cls, nsec) -> "TimespecVol3": - """Creates a new instance from an integer in nanoseconds""" - - # Based on ns_to_timespec64() - if nsec > 0: - tv_sec = nsec // NSEC_PER_SEC - tv_nsec = nsec % NSEC_PER_SEC - elif nsec < 0: - tv_sec = -((-nsec - 1) // NSEC_PER_SEC) - 1 - rem = (-nsec - 1) % NSEC_PER_SEC - tv_nsec = NSEC_PER_SEC - rem - 1 - else: - tv_sec = tv_nsec = 0 - - return cls(tv_sec=tv_sec, tv_nsec=tv_nsec) - - def to_datetime(self) -> datetime.datetime: - """Converts this TimespecVol3 to a UTC aware datetime""" - return conversion.unixtime_to_datetime( - self.tv_sec + self.tv_nsec / NSEC_PER_SEC - ) - - def to_timedelta(self) -> datetime.timedelta: - """Converts this TimespecVol3 to timedelta""" - return datetime.timedelta(seconds=self.tv_sec + self.tv_nsec / NSEC_PER_SEC) - - def __add__(self, timespec) -> "TimespecVol3": - """Returns a new TimespecVol3 object that sums the current values with those - in the timespec argument""" - if not isinstance(timespec, (TimespecVol3, extensions.timespec64)): - raise TypeError("Cannot add a TimespecVol3 to this object") - - result = TimespecVol3( - tv_sec=self.tv_sec + timespec.tv_sec, - tv_nsec=self.tv_nsec + timespec.tv_nsec, - ) - - result.normalize() - - return result - - def __sub__(self, timespec) -> "TimespecVol3": - """Returns a new TimespecVol3 object that subtracts the values in the timespec - argument from the current object's values""" - if not isinstance(timespec, (TimespecVol3, extensions.timespec64)): - raise TypeError("Cannot substract this object to a TimespecVol3") - - result = TimespecVol3( - tv_sec=self.tv_sec - timespec.tv_sec, - tv_nsec=self.tv_nsec - timespec.tv_nsec, - ) - - result.normalize() - - return result - - def normalize(self): - """Normalize any overflow in tv_sec and tv_nsec after previous addition or subtractions""" - # Based on kernel's set_normalized_timespec64() - while self.tv_nsec >= NSEC_PER_SEC: - self.tv_nsec -= NSEC_PER_SEC - self.tv_sec += 1 - - while self.tv_nsec < 0: - self.tv_nsec += NSEC_PER_SEC - self.tv_sec -= 1 - - def negate(self): - """Returns a new TimespecVol3 object with the values of the current object negated""" - - result = TimespecVol3( - tv_sec=-self.tv_sec, - tv_nsec=-self.tv_nsec, - ) - - result.normalize() - - return result diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index e952ed968..ea20850b7 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import abc import collections.abc import logging import functools @@ -18,12 +19,13 @@ from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATES from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES -from volatility3.framework.constants.linux import CAPABILITIES, PT_FLAGS +from volatility3.framework.constants.linux import CAPABILITIES, PT_FLAGS, NSEC_PER_SEC from volatility3.framework.layers import linear from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed from volatility3.framework.symbols.linux.extensions import elf + vollog = logging.getLogger(__name__) # Keep these in a basic module, to prevent import cycles when symbol providers require them @@ -431,10 +433,10 @@ class task_struct(generic.GenericIntelProcess): if start_time_obj_type_name != "timespec": # kernels >= 3.17 real_start_time and start_time are u64 # kernels >= 5.5 uses start_boottime which is also a u64 - start_time = linux.TimespecVol3.new_from_nsec(start_time_obj) + start_time = Timespec64Concrete.new_from_nsec(start_time_obj) else: # kernels < 3.17 real_start_time and start_time are timespec - start_time = linux.TimespecVol3.new_from_timespec(start_time_obj) + start_time = Timespec64Concrete.new_from_timespec(start_time_obj) # This is relative to the boot time so it makes sense to be a timedelta. return start_time.to_timedelta() @@ -508,8 +510,8 @@ class task_struct(generic.GenericIntelProcess): return time_namespace_offsets.boottime - def _get_boottime_raw(self) -> "linux.TimespecVol3": - """Returns the boot time in a TimespecVol3.""" + def _get_boottime_raw(self) -> "Timespec64Concrete": + """Returns the boot time in a Timespec64Concrete object.""" vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) if vmlinux.has_symbol("tk_core"): @@ -522,7 +524,7 @@ class task_struct(generic.GenericIntelProcess): else: # 3.17 <= kernels < 4.10 - Tested on Ubuntu 4.4.0-142 boottime_nsec = timekeeper.offs_real.tv64 - timekeeper.offs_boot.tv64 - return linux.TimespecVol3.new_from_nsec(boottime_nsec) + return Timespec64Concrete.new_from_nsec(boottime_nsec) elif vmlinux.has_symbol("timekeeper") and vmlinux.get_type( "timekeeper" @@ -531,7 +533,7 @@ class task_struct(generic.GenericIntelProcess): timekeeper = vmlinux.object_from_symbol("timekeeper") # timekeeper.wall_to_monotonic is timespec - boottime = linux.TimespecVol3.new_from_timespec( + boottime = Timespec64Concrete.new_from_timespec( timekeeper.wall_to_monotonic ) @@ -542,7 +544,7 @@ class task_struct(generic.GenericIntelProcess): elif vmlinux.has_symbol("wall_to_monotonic"): # kernels < 3.4 - Tested on Debian7 3.2.0-4 (3.2.57-3+deb7u2) wall_to_monotonic = vmlinux.object_from_symbol("wall_to_monotonic") - boottime = linux.TimespecVol3.new_from_timespec(wall_to_monotonic) + boottime = Timespec64Concrete.new_from_timespec(wall_to_monotonic) if vmlinux.has_symbol("total_sleep_time"): # 2.6.23 <= kernels < 3.4 7c3f1a573237b90ef331267260358a0ec4ac9079 total_sleep_time = vmlinux.object_from_symbol("total_sleep_time") @@ -2168,12 +2170,124 @@ class kernel_cap_t(kernel_cap_struct): return cap_value & self.get_kernel_cap_full() -class timespec64(objects.StructType): - def to_datetime(self) -> datetime.datetime: - """Returns the respective aware datetime""" +class Timespec64Abstract(abc.ABC): + """Abstract class to handle all required timespec64 operations, convertions and + adjustments.""" - dt = conversion.unixtime_to_datetime(self.tv_sec + self.tv_nsec / 1e9) - return dt + @classmethod + def new_from_timespec(cls, other) -> "Timespec64Concrete": + """Creates a new instance from an Timespec64Abstract subclass object""" + if not isinstance(other, Timespec64Abstract): + raise TypeError("Requires an object subclass of Timespec64Abstract") + + tv_sec = int(other.tv_sec) + tv_nsec = int(other.tv_nsec) + return Timespec64Concrete(tv_sec=tv_sec, tv_nsec=tv_nsec) + + @classmethod + def new_from_nsec(cls, nsec) -> "Timespec64Concrete": + """Creates a new instance from an integer in nanoseconds""" + + # Based on ns_to_timespec64() + if nsec > 0: + tv_sec = nsec // NSEC_PER_SEC + tv_nsec = nsec % NSEC_PER_SEC + elif nsec < 0: + tv_sec = -((-nsec - 1) // NSEC_PER_SEC) - 1 + rem = (-nsec - 1) % NSEC_PER_SEC + tv_nsec = NSEC_PER_SEC - rem - 1 + else: + tv_sec = tv_nsec = 0 + + return Timespec64Concrete(tv_sec=tv_sec, tv_nsec=tv_nsec) + + def to_datetime(self) -> datetime.datetime: + """Converts this Timespec64Abstract subclass object to a UTC aware datetime""" + + # pylint: disable=E1101 + return conversion.unixtime_to_datetime( + self.tv_sec + self.tv_nsec / NSEC_PER_SEC + ) + + def to_timedelta(self) -> datetime.timedelta: + """Converts this Timespec64Abstract subclass object to timedelta""" + # pylint: disable=E1101 + return datetime.timedelta(seconds=self.tv_sec + self.tv_nsec / NSEC_PER_SEC) + + def __add__(self, other) -> "Timespec64Concrete": + """Returns a new Timespec64Concrete object that sums the current values with those + in the timespec argument""" + if not isinstance(other, Timespec64Abstract): + raise TypeError("Requires an object subclass of Timespec64Abstract") + + # pylint: disable=E1101 + result = Timespec64Concrete( + tv_sec=self.tv_sec + other.tv_sec, + tv_nsec=self.tv_nsec + other.tv_nsec, + ) + + result.normalize() + + return result + + def __sub__(self, other) -> "Timespec64Concrete": + """Returns a new Timespec64Abstract object that subtracts the values in the timespec + argument from the current object's values""" + if not isinstance(other, Timespec64Abstract): + raise TypeError("Requires an object subclass of Timespec64Abstract") + + # pylint: disable=E1101 + result = Timespec64Concrete( + tv_sec=self.tv_sec - other.tv_sec, + tv_nsec=self.tv_nsec - other.tv_nsec, + ) + + result.normalize() + + return result + + def normalize(self): + """Normalize any overflow in tv_sec and tv_nsec.""" + # Based on kernel's set_normalized_timespec64() + + # pylint: disable=E1101 + while self.tv_nsec >= NSEC_PER_SEC: + self.tv_nsec -= NSEC_PER_SEC + self.tv_sec += 1 + + while self.tv_nsec < 0: + self.tv_nsec += NSEC_PER_SEC + self.tv_sec -= 1 + + def negate(self): + """Returns a new Timespec64Concrete object with the values of the current object negated""" + # pylint: disable=E1101 + result = Timespec64Concrete( + tv_sec=-self.tv_sec, + tv_nsec=-self.tv_nsec, + ) + + result.normalize() + + return result + + +class Timespec64Concrete(Timespec64Abstract): + """Handle all required timespec64 operations, convertions and adjustments. + This is used to dynamically create timespec64-like objects, each its own variables + and the same methods as a timespec64 object extension. + """ + + def __init__(self, tv_sec=0, tv_nsec=0): + self.tv_sec = tv_sec + self.tv_nsec = tv_nsec + + +class timespec64(Timespec64Abstract, objects.StructType): + """Handle all required timespec64 operations, convertions and adjustments. + This works as an extension of the timespec64 object while maintaining the same methods + as a Timespec64Concrete object. + """ class inode(objects.StructType): From 7abe92cf2f2ddac1a5e7f15a27afe341e1810901 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 30 Oct 2024 15:36:46 +1100 Subject: [PATCH 0815/2186] Linux: Boottime API: Minor. Move negate() up --- .../symbols/linux/extensions/__init__.py | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index ea20850b7..f20d93755 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2244,6 +2244,18 @@ class Timespec64Abstract(abc.ABC): result.normalize() + return self + other.negate() + + def negate(self): + """Returns a new Timespec64Concrete object with the values of the current object negated""" + # pylint: disable=E1101 + result = Timespec64Concrete( + tv_sec=-self.tv_sec, + tv_nsec=-self.tv_nsec, + ) + + result.normalize() + return result def normalize(self): @@ -2259,18 +2271,6 @@ class Timespec64Abstract(abc.ABC): self.tv_nsec += NSEC_PER_SEC self.tv_sec -= 1 - def negate(self): - """Returns a new Timespec64Concrete object with the values of the current object negated""" - # pylint: disable=E1101 - result = Timespec64Concrete( - tv_sec=-self.tv_sec, - tv_nsec=-self.tv_nsec, - ) - - result.normalize() - - return result - class Timespec64Concrete(Timespec64Abstract): """Handle all required timespec64 operations, convertions and adjustments. From e197fbaf5fe7a7fba8fabce73533725af9110d74 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 30 Oct 2024 15:39:40 +1100 Subject: [PATCH 0816/2186] Linux: Boottime API: Refactor __sub__ to operate through __add__() and negate() for improved clarity and reuse --- .../framework/symbols/linux/extensions/__init__.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index f20d93755..c80ffa515 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2236,17 +2236,9 @@ class Timespec64Abstract(abc.ABC): if not isinstance(other, Timespec64Abstract): raise TypeError("Requires an object subclass of Timespec64Abstract") - # pylint: disable=E1101 - result = Timespec64Concrete( - tv_sec=self.tv_sec - other.tv_sec, - tv_nsec=self.tv_nsec - other.tv_nsec, - ) - - result.normalize() - return self + other.negate() - def negate(self): + def negate(self) -> "Timespec64Concrete": """Returns a new Timespec64Concrete object with the values of the current object negated""" # pylint: disable=E1101 result = Timespec64Concrete( From a05397e8b68c280ba74c58bc968cc6692d25e613 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 30 Oct 2024 15:57:00 +1100 Subject: [PATCH 0817/2186] Linux: Boottime API: Minor. Fix docstring typo --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index c80ffa515..a9127907e 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2266,7 +2266,7 @@ class Timespec64Abstract(abc.ABC): class Timespec64Concrete(Timespec64Abstract): """Handle all required timespec64 operations, convertions and adjustments. - This is used to dynamically create timespec64-like objects, each its own variables + This is used to dynamically create timespec64-like objects, each with its own variables and the same methods as a timespec64 object extension. """ From cf94b078cdd2534493209c08c5b926c85dbcd699 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 30 Oct 2024 16:11:03 +1100 Subject: [PATCH 0818/2186] Linux: PageCache API: Fix typing --- volatility3/framework/symbols/linux/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 1f2812c10..3289775b6 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -615,7 +615,7 @@ class IDStorage(ABC): return nodep - def _iter_node(self, nodep, height) -> int: + def _iter_node(self, nodep, height) -> Iterator[int]: node = self.nodep_to_node(nodep) node_slots = node.slots for off in range(self.CHUNK_SIZE): @@ -632,7 +632,7 @@ class IDStorage(ABC): for child_node in self._iter_node(nodep, height - 1): yield child_node - def get_entries(self, root: interfaces.objects.ObjectInterface) -> int: + def get_entries(self, root: interfaces.objects.ObjectInterface) -> Iterator[int]: """Walks the tree data structure Args: @@ -818,7 +818,7 @@ class PageCache(object): self._page_cache = page_cache self._idstorage = IDStorage.choose_id_storage(context, kernel_module_name) - def get_cached_pages(self) -> interfaces.objects.ObjectInterface: + def get_cached_pages(self) -> Iterator[interfaces.objects.ObjectInterface]: """Returns all page cache contents Yields: From 84a2233d04b9ef81c97467765a61f12e0403837e Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 30 Oct 2024 16:25:28 +1100 Subject: [PATCH 0819/2186] Linux: vfsmount type: Fix type comparison --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index eba775714..f3c29043f 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1299,7 +1299,7 @@ class vfsmount(objects.StructType): bool: 'True' if the given argument points to the the same 'vfsmount' as 'self'. """ - if type(vfsmount_ptr) == objects.Pointer: + if isinstance(vfsmount_ptr, objects.Pointer): return self.vol.offset == vfsmount_ptr else: raise exceptions.VolatilityException( From aecf8d432706bff371632c28f82c9f9f025da2e6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 30 Oct 2024 18:53:20 +1100 Subject: [PATCH 0820/2186] Linux: module extension object: Refactor to replace custom property cache with functools.cached_property that's available from Python 3.8 --- .../symbols/linux/extensions/__init__.py | 29 ++++++++----------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index eba775714..7dce16267 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -31,29 +31,24 @@ vollog = logging.getLogger(__name__) class module(generic.GenericIntelProcess): - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - self._mod_mem_type = None # Initialize _mod_mem_type to None for memoization - - @property + @functools.cached_property def mod_mem_type(self): """Return the mod_mem_type enum choices if available or an empty dict if not""" # mod_mem_type and module_memory were added in kernel 6.4 which replaces # module_layout for storing the information around core_layout etc. # see commit ac3b43283923440900b4f36ca5f9f0b1ca43b70e for more information + symbol_table_name = self.get_symbol_table_name() + mod_mem_type_symname = symbol_table_name + constants.BANG + "mod_mem_type" + symbol_space = self._context.symbol_space + try: + mod_mem_type = symbol_space.get_enumeration(mod_mem_type_symname).choices + except exceptions.SymbolError: + mod_mem_type = {} + vollog.debug( + "Unable to find mod_mem_type enum. This message can be ignored for kernels < 6.4" + ) - if self._mod_mem_type is None: - try: - self._mod_mem_type = self._context.symbol_space.get_enumeration( - self.get_symbol_table_name() + constants.BANG + "mod_mem_type" - ).choices - except exceptions.SymbolError: - vollog.debug( - "Unable to find mod_mem_type enum. This message can be ignored for kernels < 6.4" - ) - # set to empty dict to show that the enum was not found, and so shouldn't be searched for again - self._mod_mem_type = {} - return self._mod_mem_type + return mod_mem_type def get_module_base(self): if self.has_member("mem"): # kernels 6.4+ From b09859668751c992be2065d60ebe2220cb4d93cc Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 30 Oct 2024 19:50:13 +1100 Subject: [PATCH 0821/2186] Linux: module extension object: Add type annotation to the mod_mem_type property --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 7dce16267..fe3c7af49 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -32,7 +32,7 @@ vollog = logging.getLogger(__name__) class module(generic.GenericIntelProcess): @functools.cached_property - def mod_mem_type(self): + def mod_mem_type(self) -> Dict: """Return the mod_mem_type enum choices if available or an empty dict if not""" # mod_mem_type and module_memory were added in kernel 6.4 which replaces # module_layout for storing the information around core_layout etc. From e183f81de6cbea7725ac0fc2953b6b5003efb945 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 31 Oct 2024 08:28:07 +1100 Subject: [PATCH 0822/2186] linux: hidden_modules: Fix mess with merge #1283 --- .../symbols/linux/extensions/__init__.py | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 339896e9d..aa3e8c675 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -63,19 +63,18 @@ class module(generic.GenericIntelProcess): # mod_mem_type and module_memory were added in kernel 6.4 which replaces # module_layout for storing the information around core_layout etc. # see commit ac3b43283923440900b4f36ca5f9f0b1ca43b70e for more information + symbol_table_name = self.get_symbol_table_name() + mod_mem_type_symname = symbol_table_name + constants.BANG + "mod_mem_type" + symbol_space = self._context.symbol_space + try: + mod_mem_type = symbol_space.get_enumeration(mod_mem_type_symname).choices + except exceptions.SymbolError: + mod_mem_type = {} + vollog.debug( + "Unable to find mod_mem_type enum. This message can be ignored for kernels < 6.4" + ) - if self._mod_mem_type is None: - try: - self._mod_mem_type = self._context.symbol_space.get_enumeration( - self.get_symbol_table_name() + constants.BANG + "mod_mem_type" - ).choices - except exceptions.SymbolError: - vollog.debug( - "Unable to find mod_mem_type enum. This message can be ignored for kernels < 6.4" - ) - # set to empty dict to show that the enum was not found, and so shouldn't be searched for again - self._mod_mem_type = {} - return self._mod_mem_type + return mod_mem_type def _get_mem_type(self, mod_mem_type_name): module_mem_index = self.mod_mem_type.get(mod_mem_type_name) From d5a0b93383fda59267bdd9b42e716b70ad66595c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 31 Oct 2024 12:28:40 +0100 Subject: [PATCH 0823/2186] add TAINT_FLAGS constant --- .../framework/constants/linux/__init__.py | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 7c485d3c3..9f25c9225 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -347,3 +347,88 @@ class PT_FLAGS(Flag): MODULE_MAXIMUM_CORE_SIZE = 20000000 MODULE_MAXIMUM_CORE_TEXT_SIZE = 20000000 MODULE_MINIMUM_SIZE = 4096 + + +TAINT_FLAGS = { + "P": { + "shift": 1 << 0, + "desc": "PROPRIETARY_MODULE", + "when_present": True, + "module": True, + }, + "G": { + "shift": 1 << 0, + "desc": "PROPRIETARY_MODULE", + "when_present": False, + "module": True, + }, + "F": { + "shift": 1 << 1, + "desc": "FORCED_MODULE", + "when_present": True, + "module": False, + }, + # CPU_OUT_OF_SPEC was TAINT_UNSAFE_SMP on < 3.15-rc1 : https://lore.kernel.org/linux-kernel//20140303080432.GA25489@localhost/t/#:~:text=liked%20your%20proposal%3A-,%3E%20Right,-%2C%20I%20was%20about + "S": { + "shift": 1 << 2, + "desc": "CPU_OUT_OF_SPEC", + "when_present": True, + "module": False, + }, + "R": { + "shift": 1 << 3, + "desc": "FORCED_RMMOD", + "when_present": True, + "module": False, + }, + "M": { + "shift": 1 << 4, + "desc": "MACHINE_CHECK", + "when_present": True, + "module": False, + }, + "B": {"shift": 1 << 5, "desc": "BAD_PAGE", "when_present": True, "module": False}, + "U": {"shift": 1 << 6, "desc": "USER", "when_present": True, "module": False}, + "D": {"shift": 1 << 7, "desc": "DIE", "when_present": True, "module": False}, + "A": { + "shift": 1 << 8, + "desc": "OVERRIDDEN_ACPI_TABLE", + "when_present": True, + "module": False, + }, + "W": {"shift": 1 << 9, "desc": "WARN", "when_present": True, "module": False}, + "C": {"shift": 1 << 10, "desc": "CRAP", "when_present": True, "module": True}, + "I": { + "shift": 1 << 11, + "desc": "FIRMWARE_WORKAROUND", + "when_present": True, + "module": False, + }, + "O": {"shift": 1 << 12, "desc": "OOT_MODULE", "when_present": True, "module": True}, + "E": { + "shift": 1 << 13, + "desc": "UNSIGNED_MODULE", + "when_present": True, + "module": True, + }, + "L": { + "shift": 1 << 14, + "desc": "SOFTLOCKUP", + "when_present": True, + "module": False, + }, + "K": {"shift": 1 << 15, "desc": "LIVEPATCH", "when_present": True, "module": True}, + "X": {"shift": 1 << 16, "desc": "AUX", "when_present": True, "module": True}, + "T": {"shift": 1 << 17, "desc": "RANDSTRUCT", "when_present": True, "module": True}, + "N": {"shift": 1 << 18, "desc": "TEST", "when_present": True, "module": True}, +} +"""Flags used to taint kernel and modules, for debugging purposes. + +Map based on 6.12-rc5. + +Documentation : + - https://www.kernel.org/doc/Documentation/admin-guide/sysctl/kernel.rst#:~:text=guide/sysrq.rst.-,tainted,-%3D%3D%3D%3D%3D%3D%3D%0A%0ANon%2Dzero%20if + - https://www.kernel.org/doc/Documentation/admin-guide/tainted-kernels.rst#:~:text=More%20detailed%20explanation%20for%20tainting + - taint_flag kernel struct + - taint_flags kernel constant +""" From e1b343a284436ee4d92a7b8a6daf0a98dd01fdeb Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 31 Oct 2024 12:33:54 +0100 Subject: [PATCH 0824/2186] add module taints parsing apis --- .../symbols/linux/extensions/__init__.py | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index aa3e8c675..89e2cde27 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -279,6 +279,77 @@ class module(generic.GenericIntelProcess): return None + def _module_flags_taints_pre_4_10_rc1(self) -> str: + """Convert the module's taints value to a 1-1 character mapping. + Relies on statically defined taints mappings in the framework. + + Returns: + The raw taints string. + """ + taints_string = "" + for char, infos in linux_constants.TAINT_FLAGS.items(): + if infos["module"] and self.taints_value & infos["shift"]: + taints_string += char + + return taints_string + + def _module_flags_taints_post_4_10_rc1(self) -> str: + """Convert the module's taints value to a 1-1 character mapping. + Relies on kernel symbol embedded taints definitions. + + struct taint_flag { + char c_true; /* character printed when tainted */ + char c_false; /* character printed when not tainted */ + bool module; /* also show as a per-module taint flag */ + }; + + Returns: + The raw taints string. + """ + taints_string = "" + for i, taint_flag in enumerate(self.taint_flags_list): + c_true = chr(taint_flag.c_true) + c_false = chr(taint_flag.c_false) + if taint_flag.module and (self.taints_value & (1 << i)): + taints_string += c_true + elif taint_flag.module and c_false != " ": + taints_string += c_false + + return taints_string + + def get_taints_as_plain_string(self) -> str: + """Convert the module's taints value to a 1-1 character mapping. + + Returns: + The raw taints string. + + Documentation: + - module_flags_taint kernel function + """ + + if self.taint_flags_list: + return self._module_flags_taints_post_4_10_rc1() + return self._module_flags_taints_pre_4_10_rc1() + + def get_taints_parsed(self) -> List[str]: + """Convert the module's taints string to a 1-1 descriptor mapping. + + Returns: + A comprehensive (user-friendly) taint descriptor list. + + Documentation: + - module_flags_taint kernel function + """ + comprehensive_taints = [] + for c in self.get_taints_as_plain_string(): + infos = linux_constants.TAINT_FLAGS.get(c) + if not infos: + comprehensive_taints.append(f"") + elif infos["when_present"]: + comprehensive_taints.append(infos["desc"]) + + return comprehensive_taints + @property def section_symtab(self): if self.has_member("kallsyms"): @@ -307,6 +378,17 @@ class module(generic.GenericIntelProcess): return self.strtab raise AttributeError("module -> strtab: Unable to get strtab") + @property + def taints_value(self) -> int: + return self.taints + + @property + def taint_flags_list(self) -> Optional[List[interfaces.objects.ObjectInterface]]: + kernel = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + if kernel.has_symbol("taint_flags"): + return list(kernel.object_from_symbol("taint_flags")) + return None + class task_struct(generic.GenericIntelProcess): def add_process_layer( From c88ebe89270355d188770c74b39eb8acef1f3549 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 31 Oct 2024 12:35:54 +0100 Subject: [PATCH 0825/2186] introduce modxview linux plugin --- .../framework/plugins/linux/modxview.py | 195 ++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 volatility3/framework/plugins/linux/modxview.py diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py new file mode 100644 index 000000000..66b644164 --- /dev/null +++ b/volatility3/framework/plugins/linux/modxview.py @@ -0,0 +1,195 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import List, Dict, Set, Iterator +from volatility3.plugins.linux import lsmod, check_modules, hidden_modules +from volatility3.framework import interfaces +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints, TreeGrid, NotAvailableValue +from volatility3.framework.symbols.linux import extensions +from volatility3.framework.constants import architectures + +vollog = logging.getLogger(__name__) + + +class Modxview(interfaces.plugins.PluginInterface): + """Centralize lsmod, check_modules and hidden_modules results to efficiently + spot modules presence and taints.""" + + _version = (1, 0, 0) + _required_framework_version = (2, 11, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=architectures.LINUX_ARCHS, + ), + requirements.PluginRequirement( + name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + ), + requirements.PluginRequirement( + name="check_modules", + plugin=check_modules.Check_modules, + version=(0, 0, 0), + ), + requirements.PluginRequirement( + name="hidden_modules", + plugin=hidden_modules.Hidden_modules, + version=(1, 0, 0), + ), + requirements.BooleanRequirement( + name="plain_taints", + description="Display the plain taints string for each module.", + optional=True, + default=False, + ), + ] + + @classmethod + def run_lsmod( + cls, context: interfaces.context.ContextInterface, kernel_name: str + ) -> List[extensions.module]: + """Wrapper for the lsmod plugin.""" + return list(lsmod.Lsmod.list_modules(context, kernel_name)) + + @classmethod + def run_check_modules( + cls, + context: interfaces.context.ContextInterface, + kernel_name: str, + ) -> List[extensions.module]: + """Wrapper for the check_modules plugin. + Here, we extract the /sys/module/ list.""" + kernel = context.modules[kernel_name] + sysfs_modules: dict = check_modules.Check_modules.get_kset_modules( + context, kernel_name + ) + + # Convert get_kset_modules() offsets back to module objects + return [ + kernel.object(object_type="module", offset=m_offset, absolute=True) + for m_offset in sysfs_modules.values() + ] + + @classmethod + def run_hidden_modules( + cls, + context: interfaces.context.ContextInterface, + kernel_name: str, + known_modules_addresses: Set[int], + ) -> List[extensions.module]: + """Wrapper for the hidden_modules plugin.""" + modules_memory_boundaries = ( + hidden_modules.Hidden_modules.get_modules_memory_boundaries( + context, kernel_name + ) + ) + return list( + hidden_modules.Hidden_modules.get_hidden_modules( + context, + kernel_name, + known_modules_addresses, + modules_memory_boundaries, + ) + ) + + @classmethod + def flatten_run_modules_results( + cls, run_results: Dict[str, List[extensions.module]], deduplicate: bool = True + ) -> Iterator[extensions.module]: + """Flatten a dictionary mapping plugin names and modules list, to a single merged list. + This is useful to get a generic lookup list of all the detected modules. + + Args: + run_results: dictionary of plugin names mapping a list of detected modules + deduplicate: remove duplicate modules, based on their offsets + + Returns: + Iterator of modules objects + """ + seen_addresses = set() + for modules in run_results.values(): + for module in modules: + if deduplicate and module.vol.offset in seen_addresses: + continue + yield module + + @classmethod + def run_modules_scanners( + cls, + context: interfaces.context.ContextInterface, + kernel_name: str, + run_hidden_modules: bool = True, + ) -> Dict[str, List[extensions.module]]: + """Run module scanning plugins and aggregate the results. + + Args: + run_hidden_modules: specify if the hidden_modules plugin should be run + Returns: + Dictionary mapping each plugin to its corresponding result + """ + + kernel = context.modules[kernel_name] + run_results = {} + run_results["lsmod"] = cls.run_lsmod(context, kernel_name) + run_results["check_modules"] = cls.run_check_modules(context, kernel_name) + if run_hidden_modules: + known_module_addresses = set( + context.layers[kernel.layer_name].canonicalize(module.vol.offset) + for module in run_results["lsmod"] + run_results["check_modules"] + ) + run_results["hidden_modules"] = cls.run_hidden_modules( + context, kernel_name, known_module_addresses + ) + + return run_results + + def _generator(self): + kernel_name = self.config["kernel"] + run_results = self.run_modules_scanners(self.context, kernel_name) + modules_offsets = {} + for key in ["lsmod", "check_modules", "hidden_modules"]: + modules_offsets[key] = set(module.vol.offset for module in run_results[key]) + + seen_addresses = set() + for modules_list in run_results.values(): + for module in modules_list: + if module.vol.offset in seen_addresses: + continue + seen_addresses.add(module.vol.offset) + + if self.config.get("plain_taints"): + taints = module.get_taints_as_plain_string() + else: + taints = ",".join(module.get_taints_parsed()) + + yield ( + 0, + ( + module.get_name() or NotAvailableValue(), + format_hints.Hex(module.vol.offset), + module.vol.offset in modules_offsets["lsmod"], + module.vol.offset in modules_offsets["check_modules"], + module.vol.offset in modules_offsets["hidden_modules"], + taints or NotAvailableValue(), + ), + ) + + def run(self): + columns = [ + ("Name", str), + ("Address", format_hints.Hex), + ("In /proc/modules", bool), + ("In /sys/module/", bool), + ("Hidden", bool), + ("Taints", str), + ] + + return TreeGrid( + columns, + self._generator(), + ) From 9440f53429a1f9c7d77d51eeb75c2b5938da040f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 1 Nov 2024 15:05:25 +0100 Subject: [PATCH 0826/2186] use a dict of dataclasses for taint_flags --- .../framework/constants/linux/__init__.py | 112 +++++++----------- .../symbols/linux/extensions/__init__.py | 12 +- 2 files changed, 47 insertions(+), 77 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 9f25c9225..6cf8585f5 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -6,6 +6,7 @@ Linux-specific values that aren't found in debug symbols """ from enum import IntEnum, Flag +from dataclasses import dataclass KERNEL_NAME = "__kernel__" @@ -349,78 +350,47 @@ MODULE_MAXIMUM_CORE_TEXT_SIZE = 20000000 MODULE_MINIMUM_SIZE = 4096 +@dataclass +class TaintFlag: + shift: int + desc: str + when_present: bool + module: bool + + TAINT_FLAGS = { - "P": { - "shift": 1 << 0, - "desc": "PROPRIETARY_MODULE", - "when_present": True, - "module": True, - }, - "G": { - "shift": 1 << 0, - "desc": "PROPRIETARY_MODULE", - "when_present": False, - "module": True, - }, - "F": { - "shift": 1 << 1, - "desc": "FORCED_MODULE", - "when_present": True, - "module": False, - }, - # CPU_OUT_OF_SPEC was TAINT_UNSAFE_SMP on < 3.15-rc1 : https://lore.kernel.org/linux-kernel//20140303080432.GA25489@localhost/t/#:~:text=liked%20your%20proposal%3A-,%3E%20Right,-%2C%20I%20was%20about - "S": { - "shift": 1 << 2, - "desc": "CPU_OUT_OF_SPEC", - "when_present": True, - "module": False, - }, - "R": { - "shift": 1 << 3, - "desc": "FORCED_RMMOD", - "when_present": True, - "module": False, - }, - "M": { - "shift": 1 << 4, - "desc": "MACHINE_CHECK", - "when_present": True, - "module": False, - }, - "B": {"shift": 1 << 5, "desc": "BAD_PAGE", "when_present": True, "module": False}, - "U": {"shift": 1 << 6, "desc": "USER", "when_present": True, "module": False}, - "D": {"shift": 1 << 7, "desc": "DIE", "when_present": True, "module": False}, - "A": { - "shift": 1 << 8, - "desc": "OVERRIDDEN_ACPI_TABLE", - "when_present": True, - "module": False, - }, - "W": {"shift": 1 << 9, "desc": "WARN", "when_present": True, "module": False}, - "C": {"shift": 1 << 10, "desc": "CRAP", "when_present": True, "module": True}, - "I": { - "shift": 1 << 11, - "desc": "FIRMWARE_WORKAROUND", - "when_present": True, - "module": False, - }, - "O": {"shift": 1 << 12, "desc": "OOT_MODULE", "when_present": True, "module": True}, - "E": { - "shift": 1 << 13, - "desc": "UNSIGNED_MODULE", - "when_present": True, - "module": True, - }, - "L": { - "shift": 1 << 14, - "desc": "SOFTLOCKUP", - "when_present": True, - "module": False, - }, - "K": {"shift": 1 << 15, "desc": "LIVEPATCH", "when_present": True, "module": True}, - "X": {"shift": 1 << 16, "desc": "AUX", "when_present": True, "module": True}, - "T": {"shift": 1 << 17, "desc": "RANDSTRUCT", "when_present": True, "module": True}, - "N": {"shift": 1 << 18, "desc": "TEST", "when_present": True, "module": True}, + "P": TaintFlag( + shift=1 << 0, desc="PROPRIETARY_MODULE", when_present=True, module=True + ), + "G": TaintFlag( + shift=1 << 0, desc="PROPRIETARY_MODULE", when_present=False, module=True + ), + "F": TaintFlag(shift=1 << 1, desc="FORCED_MODULE", when_present=True, module=False), + "S": TaintFlag( + shift=1 << 2, desc="CPU_OUT_OF_SPEC", when_present=True, module=False + ), + "R": TaintFlag(shift=1 << 3, desc="FORCED_RMMOD", when_present=True, module=False), + "M": TaintFlag(shift=1 << 4, desc="MACHINE_CHECK", when_present=True, module=False), + "B": TaintFlag(shift=1 << 5, desc="BAD_PAGE", when_present=True, module=False), + "U": TaintFlag(shift=1 << 6, desc="USER", when_present=True, module=False), + "D": TaintFlag(shift=1 << 7, desc="DIE", when_present=True, module=False), + "A": TaintFlag( + shift=1 << 8, desc="OVERRIDDEN_ACPI_TABLE", when_present=True, module=False + ), + "W": TaintFlag(shift=1 << 9, desc="WARN", when_present=True, module=False), + "C": TaintFlag(shift=1 << 10, desc="CRAP", when_present=True, module=True), + "I": TaintFlag( + shift=1 << 11, desc="FIRMWARE_WORKAROUND", when_present=True, module=False + ), + "O": TaintFlag(shift=1 << 12, desc="OOT_MODULE", when_present=True, module=True), + "E": TaintFlag( + shift=1 << 13, desc="UNSIGNED_MODULE", when_present=True, module=True + ), + "L": TaintFlag(shift=1 << 14, desc="SOFTLOCKUP", when_present=True, module=False), + "K": TaintFlag(shift=1 << 15, desc="LIVEPATCH", when_present=True, module=True), + "X": TaintFlag(shift=1 << 16, desc="AUX", when_present=True, module=True), + "T": TaintFlag(shift=1 << 17, desc="RANDSTRUCT", when_present=True, module=True), + "N": TaintFlag(shift=1 << 18, desc="TEST", when_present=True, module=True), } """Flags used to taint kernel and modules, for debugging purposes. diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 89e2cde27..42c1a470d 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -287,8 +287,8 @@ class module(generic.GenericIntelProcess): The raw taints string. """ taints_string = "" - for char, infos in linux_constants.TAINT_FLAGS.items(): - if infos["module"] and self.taints_value & infos["shift"]: + for char, taint_flag in linux_constants.TAINT_FLAGS.items(): + if taint_flag.module and self.taints_value & taint_flag.shift: taints_string += char return taints_string @@ -342,11 +342,11 @@ class module(generic.GenericIntelProcess): """ comprehensive_taints = [] for c in self.get_taints_as_plain_string(): - infos = linux_constants.TAINT_FLAGS.get(c) - if not infos: + taint_flag = linux_constants.TAINT_FLAGS.get(c) + if not taint_flag: comprehensive_taints.append(f"") - elif infos["when_present"]: - comprehensive_taints.append(infos["desc"]) + elif taint_flag.when_present: + comprehensive_taints.append(taint_flag.desc) return comprehensive_taints From 9d08c4681ae1cf18ddf4bd53ff970f6a9bc26573 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 1 Nov 2024 15:07:23 +0100 Subject: [PATCH 0827/2186] add module offset to seen_addresses --- volatility3/framework/plugins/linux/modxview.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index 66b644164..f44984926 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -116,6 +116,7 @@ class Modxview(interfaces.plugins.PluginInterface): for module in modules: if deduplicate and module.vol.offset in seen_addresses: continue + seen_addresses.add(module.vol.offset) yield module @classmethod From b209ea36a284ae1a75ba18222cbe8db1c1eede4f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 1 Nov 2024 15:12:52 +0100 Subject: [PATCH 0828/2186] remove slashes in columns --- volatility3/framework/plugins/linux/modxview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index f44984926..d79f5e7a9 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -184,8 +184,8 @@ class Modxview(interfaces.plugins.PluginInterface): columns = [ ("Name", str), ("Address", format_hints.Hex), - ("In /proc/modules", bool), - ("In /sys/module/", bool), + ("In procfs", bool), + ("In sysfs", bool), ("Hidden", bool), ("Taints", str), ] From 512c1abe801b731f9f36551db51075d4d41413e1 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 4 Nov 2024 17:45:56 +1100 Subject: [PATCH 0829/2186] linux: VMCoreInfo plugin: Add VMCoreInfo API and its respective plugin --- .../framework/constants/linux/__init__.py | 6 ++ .../framework/plugins/linux/vmcoreinfo.py | 49 +++++++++ .../framework/symbols/linux/__init__.py | 102 +++++++++++++++++- 3 files changed, 156 insertions(+), 1 deletion(-) create mode 100644 volatility3/framework/plugins/linux/vmcoreinfo.py diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 7c485d3c3..dde256754 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -347,3 +347,9 @@ class PT_FLAGS(Flag): MODULE_MAXIMUM_CORE_SIZE = 20000000 MODULE_MAXIMUM_CORE_TEXT_SIZE = 20000000 MODULE_MINIMUM_SIZE = 4096 + +# VMCOREINFO +VMCOREINFO_MAGIC = b"VMCOREINFO\x00" +# Aligned to 4 bytes. See storenote() in kernels < 4.19 or append_kcore_note() in kernels >= 4.19 +VMCOREINFO_MAGIC_ALIGNED = VMCOREINFO_MAGIC + b"\x00" +OSRELEASE_TAG = b"OSRELEASE=" diff --git a/volatility3/framework/plugins/linux/vmcoreinfo.py b/volatility3/framework/plugins/linux/vmcoreinfo.py new file mode 100644 index 000000000..ea30520e3 --- /dev/null +++ b/volatility3/framework/plugins/linux/vmcoreinfo.py @@ -0,0 +1,49 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +from typing import List + +from volatility3.framework import renderers, interfaces +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.symbols import linux +from volatility3.framework.renderers import format_hints + + +class VMCoreInfo(plugins.PluginInterface): + """Enumerate VMCoreInfo tables""" + + _required_framework_version = (2, 11, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.TranslationLayerRequirement( + name="primary", description="Memory layer to scan" + ), + requirements.VersionRequirement( + name="VMCoreInfo", component=linux.VMCoreInfo, version=(1, 0, 0) + ), + ] + + def _generator(self): + layer_name = self.config["primary"] + for ( + vmcoreinfo_offset, + vmcoreinfo, + ) in linux.VMCoreInfo.search_vmcoreinfo_elf_note( + context=self.context, + layer_name=layer_name, + ): + for key, value in vmcoreinfo.items(): + yield 0, (format_hints.Hex(vmcoreinfo_offset), key, value) + + def run(self): + headers = [ + ("Offset", format_hints.Hex), + ("Key", str), + ("Value", str), + ] + return renderers.TreeGrid(headers, self._generator()) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 3289775b6..b0b6b7325 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -2,15 +2,18 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import math +import string import contextlib from abc import ABC, abstractmethod -from typing import Iterator, List, Tuple, Optional, Union +from typing import Iterator, List, Tuple, Optional, Union, Dict from volatility3 import framework from volatility3.framework import constants, exceptions, interfaces, objects from volatility3.framework.objects import utility from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux import extensions +from volatility3.framework.layers import scanners +from volatility3.framework.constants import linux as linux_constants class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): @@ -832,3 +835,100 @@ class PageCache(object): page = self.vmlinux.object("page", offset=page_addr, absolute=True) if page: yield page + + +class VMCoreInfo(interfaces.configuration.VersionableInterface): + _required_framework_version = (2, 11, 0) + + _version = (1, 0, 0) + + @staticmethod + def _vmcoreinfo_data_to_dict( + vmcoreinfo_data, + ) -> Optional[Dict[str, str]]: + """Converts the input VMCoreInfo data buffer into a dictionary""" + + # Ensure the whole buffer is printable + if not all(c in string.printable.encode() for c in vmcoreinfo_data): + # Abort, we are in the wrong place + return None + + vmcoreinfo_dict = dict() + for line in vmcoreinfo_data.decode().splitlines(): + if not line: + break + + key, value = line.split("=", 1) + vmcoreinfo_dict[key] = value + + return vmcoreinfo_dict + + @classmethod + def search_vmcoreinfo_elf_note( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + progress_callback: constants.ProgressCallback = None, + ) -> Iterator[Tuple[int, Dict[str, str]]]: + """Enumerates each VMCoreInfo ELF note table found in memory along with its offset. + + This approach is independent of any external ISF symbol or type, requiring only the + Elf64_Note found in 'elf.json', which is already included in the framework. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + layer_name: The layer within the context in which the module exists + progress_callback: A function that takes a percentage (and an optional description) that will be called periodically + + Yields: + Tuples with the VMCoreInfo ELF note offset and the VMCoreInfo table parsed in a dictionary. + """ + + elf_table_name = intermed.IntermediateSymbolTable.create( + context, "elf_symbol_table", "linux", "elf" + ) + module = context.module(elf_table_name, layer_name, 0) + layer = context.layers[layer_name] + + # Both Elf32_Note and Elf64_Note are of the same size + elf_note_size = context.symbol_space[elf_table_name].get_type("Elf64_Note").size + + for vmcoreinfo_offset in layer.scan( + scanner=scanners.BytesScanner(linux_constants.VMCOREINFO_MAGIC_ALIGNED), + context=context, + progress_callback=progress_callback, + ): + # vmcoreinfo_note kernels >= 2.6.24 fd59d231f81cb02870b9cf15f456a897f3669b4e + vmcoreinfo_elf_note_offset = vmcoreinfo_offset - elf_note_size + + # Elf32_Note and Elf64_Note are identical, so either can be used interchangeably here + elf_note = module.object( + object_type="Elf64_Note", + offset=vmcoreinfo_elf_note_offset, + absolute=True, + ) + + # Ensure that we are within an ELF note + if ( + elf_note.n_namesz != len(linux_constants.VMCOREINFO_MAGIC) + or elf_note.n_type != 0 + or elf_note.n_descsz == 0 + ): + continue + + vmcoreinfo_data_offset = vmcoreinfo_offset + len( + linux_constants.VMCOREINFO_MAGIC_ALIGNED + ) + + # Also, confirm this with the first tag, which has consistently been OSRELEASE + vmcoreinfo_data = layer.read(vmcoreinfo_data_offset, elf_note.n_descsz) + if not vmcoreinfo_data.startswith(linux_constants.OSRELEASE_TAG): + continue + + table = cls._vmcoreinfo_data_to_dict(vmcoreinfo_data) + if not table: + # Wrong VMCoreInfo note offset, keep trying + continue + + # A valid VMCoreInfo ELF note exists at 'vmcoreinfo_elf_note_offset' + yield vmcoreinfo_elf_note_offset, table From b4b78342763e743b25828bb6d684ba5e1be5f1d1 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 4 Nov 2024 17:47:57 +1100 Subject: [PATCH 0830/2186] linux: K/ASLR via VMCoreInfo --- volatility3/framework/automagic/linux.py | 108 ++++++++++++++++++++++- 1 file changed, 105 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 52a73f45a..fde060733 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -76,8 +76,12 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): isf_url=isf_path, ) context.symbol_space.append(table) + kaslr_shift, aslr_shift = cls.find_aslr( - context, table_name, layer_name, progress_callback=progress_callback + context, + table_name, + layer_name, + progress_callback=progress_callback, ) layer_class: Type = intel.Intel @@ -118,7 +122,7 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): return None @classmethod - def find_aslr( + def find_aslr_classic( cls, context: interfaces.context.ContextInterface, symbol_table: str, @@ -126,7 +130,17 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): progress_callback: constants.ProgressCallback = None, ) -> Tuple[int, int]: """Determines the offset of the actual DTB in physical space and its - symbol offset.""" + symbol offset. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + symbol_table: The name of the kernel module on which to operate + layer_name: The layer within the context in which the module exists + progress_callback: A function that takes a percentage (and an optional description) that will be called periodically + + Returns: + kaslr_shirt and aslr_shift + """ init_task_symbol = symbol_table + constants.BANG + "init_task" init_task_json_address = context.symbol_space.get_symbol( init_task_symbol @@ -184,6 +198,59 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): vollog.debug("Scanners could not determine any ASLR shifts, using 0 for both") return 0, 0 + @classmethod + def find_aslr_vmcoreinfo( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + progress_callback: constants.ProgressCallback = None, + ) -> Optional[Tuple[int, int]]: + """Determines the ASLR offsets using the VMCOREINFO ELF note + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + layer_name: The layer within the context in which the module exists + progress_callback: A function that takes a percentage (and an optional description) that will be called periodically + + Returns: + kaslr_shirt and aslr_shift + """ + + for ( + _vmcoreinfo_offset, + vmcoreinfo, + ) in linux.VMCoreInfo.search_vmcoreinfo_elf_note( + context=context, + layer_name=layer_name, + progress_callback=progress_callback, + ): + + phys_base_str = vmcoreinfo.get("NUMBER(phys_base)") + if phys_base_str is None: + # We are in kernel (x86) < 4.10 401721ecd1dcb0a428aa5d6832ee05ffbdbffbbe where it was SYMBOL(phys_base) + # It's the symbol address instead of the value itself, which is useless for calculating the physical address. + # raise Exception("Kernel < 4.10") + continue + + kerneloffset_str = vmcoreinfo.get("KERNELOFFSET") + if kerneloffset_str is None: + # KERNELOFFSET: (x86) kernels < 3.13 b6085a865762236bb84934161273cdac6dd11c2d + continue + + aslr_shift = int(kerneloffset_str, 16) + kaslr_shift = int(phys_base_str) + aslr_shift + + vollog.debug( + "Linux ASLR shift values found in VMCOREINFO ELF note: physical 0x%x virtual 0x%x", + kaslr_shift, + aslr_shift, + ) + + return kaslr_shift, aslr_shift + + vollog.debug("The vmcoreinfo scanner could not determine any ASLR shifts") + return None + @classmethod def virtual_to_physical_address(cls, addr: int) -> int: """Converts a virtual linux address to a physical one (does not account @@ -192,6 +259,41 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): return addr - 0xFFFFFFFF80000000 return addr - 0xC0000000 + @classmethod + def find_aslr( + cls, + context: interfaces.context.ContextInterface, + symbol_table: str, + layer_name: str, + progress_callback: constants.ProgressCallback = None, + ) -> Tuple[int, int]: + """Determines the offset of the actual DTB in physical space and its + symbol offset. + Args: + context: The context to retrieve required elements (layers, symbol tables) from + symbol_table: The name of the kernel module on which to operate + layer_name: The layer within the context in which the module exists + progress_callback: A function that takes a percentage (and an optional description) that will be called periodically + + Returns: + kaslr_shirt and aslr_shift + """ + + aslr_shifts = cls.find_aslr_vmcoreinfo( + context, layer_name, progress_callback=progress_callback + ) + if aslr_shifts: + kaslr_shift, aslr_shift = aslr_shifts + else: + # Fallback to the traditional scanner method + kaslr_shift, aslr_shift = cls.find_aslr_classic( + context, + symbol_table, + layer_name, + progress_callback=progress_callback, + ) + return kaslr_shift, aslr_shift + class LinuxSymbolFinder(symbol_finder.SymbolFinder): """Linux symbol loader based on uname signature strings.""" From 6610779e5c070e7b3225b47cbb3a0980caa1881f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 4 Nov 2024 19:30:30 +1100 Subject: [PATCH 0831/2186] linux: VMCoreInfo: Remove debug comment --- volatility3/framework/automagic/linux.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index fde060733..248bbf04d 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -229,7 +229,6 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): if phys_base_str is None: # We are in kernel (x86) < 4.10 401721ecd1dcb0a428aa5d6832ee05ffbdbffbbe where it was SYMBOL(phys_base) # It's the symbol address instead of the value itself, which is useless for calculating the physical address. - # raise Exception("Kernel < 4.10") continue kerneloffset_str = vmcoreinfo.get("KERNELOFFSET") From 2efb4e7d28d60a337aabae448de24da37c3feb7e Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 5 Nov 2024 19:56:15 +1100 Subject: [PATCH 0832/2186] Merge branch 'develop' into linux_boottime_support --- .../framework/constants/linux/__init__.py | 8 + .../framework/plugins/linux/hidden_modules.py | 246 ++++++++++++++++++ .../framework/symbols/linux/__init__.py | 6 +- .../symbols/linux/extensions/__init__.py | 225 +++++++++------- 4 files changed, 383 insertions(+), 102 deletions(-) create mode 100644 volatility3/framework/plugins/linux/hidden_modules.py diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 7bfa9268d..6e49e6f37 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -344,3 +344,11 @@ class PT_FLAGS(Flag): # Boot time NSEC_PER_SEC = 1e9 + + +# Valid sizes for modules. Note that the Linux kernel does not define these values; they +# are based on empirical observations of typical memory allocations for kernel modules. +# We use this to verify that the found module falls within reasonable limits. +MODULE_MAXIMUM_CORE_SIZE = 20000000 +MODULE_MAXIMUM_CORE_TEXT_SIZE = 20000000 +MODULE_MINIMUM_SIZE = 4096 diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py new file mode 100644 index 000000000..fd4b28943 --- /dev/null +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -0,0 +1,246 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import List, Set, Tuple, Iterable +from volatility3.framework import renderers, interfaces, exceptions, objects +from volatility3.framework.constants import architectures +from volatility3.framework.renderers import format_hints +from volatility3.framework.configuration import requirements +from volatility3.plugins.linux import lsmod + +vollog = logging.getLogger(__name__) + + +class Hidden_modules(interfaces.plugins.PluginInterface): + """Carves memory to find hidden kernel modules""" + + _required_framework_version = (2, 10, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=architectures.LINUX_ARCHS, + ), + requirements.PluginRequirement( + name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + ), + ] + + @staticmethod + def get_modules_memory_boundaries( + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> Tuple[int]: + """Determine the boundaries of the module allocation area + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + + Returns: + A tuple containing the minimum and maximum addresses for the module allocation area. + """ + vmlinux = context.modules[vmlinux_module_name] + if vmlinux.has_symbol("mod_tree"): + # Kernel >= 5.19 58d208de3e8d87dbe196caf0b57cc58c7a3836ca + mod_tree = vmlinux.object_from_symbol("mod_tree") + modules_addr_min = mod_tree.addr_min + modules_addr_max = mod_tree.addr_max + elif vmlinux.has_symbol("module_addr_min"): + # 2.6.27 <= kernel < 5.19 3a642e99babe0617febb6f402e1e063479f489db + modules_addr_min = vmlinux.object_from_symbol("module_addr_min") + modules_addr_max = vmlinux.object_from_symbol("module_addr_max") + + if isinstance(modules_addr_min, objects.Void): + raise exceptions.VolatilityException( + "Your ISF symbols lack type information. You may need to update the" + "ISF using the latest version of dwarf2json" + ) + else: + raise exceptions.VolatilityException( + "Cannot find the module memory allocation area. Unsupported kernel" + ) + + return modules_addr_min, modules_addr_max + + @classmethod + def _get_module_address_alignment( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> int: + """Obtain the module memory address alignment. + + struct module is aligned to the L1 cache line, which is typically 64 bytes for most + common i386/AMD64/ARM64 configurations. In some cases, it can be 128 bytes, but this + will still work. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + + Returns: + The struct module alignment + """ + # FIXME: When dwarf2json/ISF supports type alignments. Read it directly from the type metadata + # Additionally, while 'context' and 'vmlinux_module_name' are currently unused, they will be + # essential for retrieving type metadata in the future. + return 64 + + @staticmethod + def _validate_alignment_patterns( + addresses: Iterable[int], + address_alignment: int, + ) -> bool: + """Check if the memory addresses meet our alignments patterns + + Args: + addresses: Iterable with the address values + address_alignment: Number of bytes for alignment validation + + Returns: + True if all the addresses meet the alignment + """ + return all(addr % address_alignment == 0 for addr in addresses) + + @classmethod + def get_hidden_modules( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + known_module_addresses: Set[int], + modules_memory_boundaries: Tuple, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Enumerate hidden modules by taking advantage of memory address alignment patterns + + This technique is much faster and uses less memory than the traditional scan method + in Volatility2, but it doesn't work with older kernels. + + From kernels 4.2 struct module allocation are aligned to the L1 cache line size. + In i386/amd64/arm64 this is typically 64 bytes. However, this can be changed in + the Linux kernel configuration via CONFIG_X86_L1_CACHE_SHIFT. The alignment can + also be obtained from the DWARF info i.e. DW_AT_alignment<64>, but dwarf2json + doesn't support this feature yet. + In kernels < 4.2, alignment attributes are absent in the struct module, meaning + alignment cannot be guaranteed. Therefore, for older kernels, it's better to use + the traditional scan technique. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + known_module_addresses: Set with known module addresses + modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. + Yields: + module objects + """ + vmlinux = context.modules[vmlinux_module_name] + vmlinux_layer = context.layers[vmlinux.layer_name] + + module_addr_min, module_addr_max = modules_memory_boundaries + module_address_alignment = cls._get_module_address_alignment( + context, vmlinux_module_name + ) + if not cls._validate_alignment_patterns( + known_module_addresses, module_address_alignment + ): + vollog.warning( + f"Module addresses aren't aligned to {module_address_alignment} bytes. " + "Switching to 1 byte aligment scan method." + ) + module_address_alignment = 1 + + mkobj_offset = vmlinux.get_type("module").relative_child_offset("mkobj") + mod_offset = vmlinux.get_type("module_kobject").relative_child_offset("mod") + offset_to_mkobj_mod = mkobj_offset + mod_offset + mod_member_template = vmlinux.get_type("module_kobject").child_template("mod") + mod_size = mod_member_template.size + mod_member_data_format = mod_member_template.data_format + + for module_addr in range( + module_addr_min, module_addr_max, module_address_alignment + ): + if module_addr in known_module_addresses: + continue + + try: + # This is just a pre-filter. Module readability and consistency are verified in module.is_valid() + self_referential_bytes = vmlinux_layer.read( + module_addr + offset_to_mkobj_mod, mod_size + ) + self_referential = objects.convert_data_to_value( + self_referential_bytes, int, mod_member_data_format + ) + if self_referential != module_addr: + continue + except ( + exceptions.PagedInvalidAddressException, + exceptions.InvalidAddressException, + ): + continue + + module = vmlinux.object("module", offset=module_addr, absolute=True) + if module and module.is_valid(): + yield module + + @classmethod + def get_lsmod_module_addresses( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> Set[int]: + """Obtain a set the known module addresses from linux.lsmod plugin + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + + Returns: + A set containing known kernel module addresses + """ + vmlinux = context.modules[vmlinux_module_name] + vmlinux_layer = context.layers[vmlinux.layer_name] + + known_module_addresses = { + vmlinux_layer.canonicalize(module.vol.offset) + for module in lsmod.Lsmod.list_modules(context, vmlinux_module_name) + } + return known_module_addresses + + def _generator(self): + vmlinux_module_name = self.config["kernel"] + known_module_addresses = self.get_lsmod_module_addresses( + self.context, vmlinux_module_name + ) + modules_memory_boundaries = self.get_modules_memory_boundaries( + self.context, vmlinux_module_name + ) + for module in self.get_hidden_modules( + self.context, + vmlinux_module_name, + known_module_addresses, + modules_memory_boundaries, + ): + module_addr = module.vol.offset + module_name = module.get_name() or renderers.NotAvailableValue() + fields = (format_hints.Hex(module_addr), module_name) + yield (0, fields) + + def run(self): + if self.context.symbol_space.verify_table_versions( + "dwarf2json", lambda version, _: (not version) or version < (0, 8, 0) + ): + raise exceptions.SymbolSpaceError( + "Invalid symbol table, please ensure the ISF table produced by dwarf2json was created with version 0.8.0 or later" + ) + + headers = [ + ("Address", format_hints.Hex), + ("Name", str), + ] + return renderers.TreeGrid(headers, self._generator()) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 1f2812c10..3289775b6 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -615,7 +615,7 @@ class IDStorage(ABC): return nodep - def _iter_node(self, nodep, height) -> int: + def _iter_node(self, nodep, height) -> Iterator[int]: node = self.nodep_to_node(nodep) node_slots = node.slots for off in range(self.CHUNK_SIZE): @@ -632,7 +632,7 @@ class IDStorage(ABC): for child_node in self._iter_node(nodep, height - 1): yield child_node - def get_entries(self, root: interfaces.objects.ObjectInterface) -> int: + def get_entries(self, root: interfaces.objects.ObjectInterface) -> Iterator[int]: """Walks the tree data structure Args: @@ -818,7 +818,7 @@ class PageCache(object): self._page_cache = page_cache self._idstorage = IDStorage.choose_id_storage(context, kernel_module_name) - def get_cached_pages(self) -> interfaces.objects.ObjectInterface: + def get_cached_pages(self) -> Iterator[interfaces.objects.ObjectInterface]: """Returns all page cache contents Yields: diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index a9127907e..0099b17e1 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -14,12 +14,7 @@ from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union, from volatility3.framework import constants, exceptions, objects, interfaces, symbols from volatility3.framework.renderers import conversion -from volatility3.framework.constants.linux import SOCK_TYPES, SOCK_FAMILY -from volatility3.framework.constants.linux import IP_PROTOCOLS, IPV6_PROTOCOLS -from volatility3.framework.constants.linux import TCP_STATES, NETLINK_PROTOCOLS -from volatility3.framework.constants.linux import ETH_PROTOCOLS, BLUETOOTH_STATES -from volatility3.framework.constants.linux import BLUETOOTH_PROTOCOLS, SOCKET_STATES -from volatility3.framework.constants.linux import CAPABILITIES, PT_FLAGS, NSEC_PER_SEC +from volatility3.framework.constants import linux as linux_constants from volatility3.framework.layers import linear from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed @@ -33,112 +28,140 @@ vollog = logging.getLogger(__name__) class module(generic.GenericIntelProcess): - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - self._mod_mem_type = None # Initialize _mod_mem_type to None for memoization + def is_valid(self): + """Determine whether it is a valid module object by verifying the self-referential + in module_kobject. This also confirms that the module is actively allocated and + not a remnant of freed memory or a failed module load attempt by verifying the + module memory section sizes. + """ + layer = self._context.layers[self.vol.layer_name] + # Make sure the entire module content is readable + if not layer.is_valid(self.vol.offset, self.vol.size): + return False - @property - def mod_mem_type(self): + core_size = self.get_core_size() + core_text_size = self.get_core_text_size() + init_size = self.get_init_size() + if not ( + 0 < core_text_size <= linux_constants.MODULE_MAXIMUM_CORE_TEXT_SIZE + and 0 < core_size <= linux_constants.MODULE_MAXIMUM_CORE_SIZE + and core_size + init_size >= linux_constants.MODULE_MINIMUM_SIZE + ): + return False + + if not ( + self.mkobj + and self.mkobj.mod + and self.mkobj.mod.is_readable() + and self.mkobj.mod == self.vol.offset + ): + return False + + return True + + @functools.cached_property + def mod_mem_type(self) -> Dict: """Return the mod_mem_type enum choices if available or an empty dict if not""" # mod_mem_type and module_memory were added in kernel 6.4 which replaces # module_layout for storing the information around core_layout etc. # see commit ac3b43283923440900b4f36ca5f9f0b1ca43b70e for more information + symbol_table_name = self.get_symbol_table_name() + mod_mem_type_symname = symbol_table_name + constants.BANG + "mod_mem_type" + symbol_space = self._context.symbol_space + try: + mod_mem_type = symbol_space.get_enumeration(mod_mem_type_symname).choices + except exceptions.SymbolError: + mod_mem_type = {} + vollog.debug( + "Unable to find mod_mem_type enum. This message can be ignored for kernels < 6.4" + ) - if self._mod_mem_type is None: - try: - self._mod_mem_type = self._context.symbol_space.get_enumeration( - self.get_symbol_table_name() + constants.BANG + "mod_mem_type" - ).choices - except exceptions.SymbolError: - vollog.debug( - "Unable to find mod_mem_type enum. This message can be ignored for kernels < 6.4" - ) - # set to empty dict to show that the enum was not found, and so shouldn't be searched for again - self._mod_mem_type = {} - return self._mod_mem_type + return mod_mem_type + + def _get_mem_type(self, mod_mem_type_name): + module_mem_index = self.mod_mem_type.get(mod_mem_type_name) + if module_mem_index is None: + raise AttributeError(f"Unknown module memory type '{mod_mem_type_name}'") + + if not (0 <= module_mem_index < self.mem.count): + raise AttributeError( + f"Invalid module memory type index '{module_mem_index}'" + ) + + return self.mem[module_mem_index] + + def _get_mem_size(self, mod_mem_type_name): + return self._get_mem_type(mod_mem_type_name).size + + def _get_mem_base(self, mod_mem_type_name): + return self._get_mem_type(mod_mem_type_name).base def get_module_base(self): if self.has_member("mem"): # kernels 6.4+ - try: - return self.mem[self.mod_mem_type["MOD_TEXT"]].base - except KeyError: - raise AttributeError( - "module -> get_module_base: Unable to get module base. Cannot read base from MOD_TEXT." - ) + return self._get_mem_base("MOD_TEXT") elif self.has_member("core_layout"): return self.core_layout.base elif self.has_member("module_core"): return self.module_core - raise AttributeError("module -> get_module_base: Unable to get module base") + + raise AttributeError("Unable to get module base") def get_init_size(self): if self.has_member("mem"): # kernels 6.4+ - try: - return ( - self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].size - + self.mem[self.mod_mem_type["MOD_INIT_DATA"]].size - + self.mem[self.mod_mem_type["MOD_INIT_RODATA"]].size - ) - except KeyError: - raise AttributeError( - "module -> get_init_size: Unable to determine .init section size of module. Cannot read size of MOD_INIT_TEXT, MOD_INIT_DATA, and MOD_INIT_RODATA" - ) + return ( + self._get_mem_size("MOD_INIT_TEXT") + + self._get_mem_size("MOD_INIT_DATA") + + self._get_mem_size("MOD_INIT_RODATA") + ) elif self.has_member("init_layout"): return self.init_layout.size elif self.has_member("init_size"): return self.init_size - raise AttributeError( - "module -> get_init_size: Unable to determine .init section size of module" - ) + + raise AttributeError("Unable to determine .init section size of module") def get_core_size(self): if self.has_member("mem"): # kernels 6.4+ - try: - return ( - self.mem[self.mod_mem_type["MOD_TEXT"]].size - + self.mem[self.mod_mem_type["MOD_DATA"]].size - + self.mem[self.mod_mem_type["MOD_RODATA"]].size - + self.mem[self.mod_mem_type["MOD_RO_AFTER_INIT"]].size - ) - except KeyError: - raise AttributeError( - "module -> get_core_size: Unable to determine core size of module. Cannot read size of MOD_TEXT, MOD_DATA, MOD_RODATA, and MOD_RO_AFTER_INIT." - ) + return ( + self._get_mem_size("MOD_TEXT") + + self._get_mem_size("MOD_DATA") + + self._get_mem_size("MOD_RODATA") + + self._get_mem_size("MOD_RO_AFTER_INIT") + ) elif self.has_member("core_layout"): return self.core_layout.size elif self.has_member("core_size"): return self.core_size - raise AttributeError( - "module -> get_core_size: Unable to determine core size of module" - ) + + raise AttributeError("Unable to determine core size of module") + + def get_core_text_size(self): + if self.has_member("mem"): # kernels 6.4+ + return self._get_mem_size("MOD_TEXT") + elif self.has_member("core_layout"): + return self.core_layout.text_size + elif self.has_member("core_text_size"): + return self.core_text_size + + raise AttributeError("Unable to determine core text size of module") def get_module_core(self): if self.has_member("mem"): # kernels 6.4+ - try: - return self.mem[self.mod_mem_type["MOD_TEXT"]].base - except KeyError: - raise AttributeError( - "module -> get_module_core: Unable to get module core. Cannot read base from MOD_TEXT." - ) + return self._get_mem_base("MOD_TEXT") elif self.has_member("core_layout"): return self.core_layout.base elif self.has_member("module_core"): return self.module_core - raise AttributeError("module -> get_module_core: Unable to get module core") + raise AttributeError("Unable to get module core") def get_module_init(self): if self.has_member("mem"): # kernels 6.4+ - try: - return self.mem[self.mod_mem_type["MOD_INIT_TEXT"]].base - except KeyError: - raise AttributeError( - "module -> get_module_core: Unable to get module init. Cannot read base from MOD_INIT_TEXT." - ) + return self._get_mem_base("MOD_INIT_TEXT") elif self.has_member("init_layout"): return self.init_layout.base elif self.has_member("module_init"): return self.module_init - raise AttributeError("module -> get_module_init: Unable to get module init") + raise AttributeError("Unable to get module init") def get_name(self): """Get the name of the module as a string""" @@ -340,7 +363,7 @@ class task_struct(generic.GenericIntelProcess): Returns: bool: True, if this task is a kernel thread. Otherwise, False. """ - return (self.flags & constants.linux.PF_KTHREAD) != 0 + return (self.flags & linux_constants.PF_KTHREAD) != 0 @property def is_thread_group_leader(self) -> bool: @@ -417,7 +440,11 @@ class task_struct(generic.GenericIntelProcess): def get_ptrace_tracee_flags(self) -> Optional[str]: """Returns a string with the ptrace flags""" - return PT_FLAGS(self.ptrace).flags if self.is_being_ptraced else None + return ( + linux_constants.PT_FLAGS(self.ptrace).flags + if self.is_being_ptraced + else None + ) def _get_task_start_time(self) -> datetime.timedelta: """Returns the task's monotonic start_time as a timedelta. @@ -1492,7 +1519,7 @@ class vfsmount(objects.StructType): bool: 'True' if the given argument points to the the same 'vfsmount' as 'self'. """ - if type(vfsmount_ptr) == objects.Pointer: + if isinstance(vfsmount_ptr, objects.Pointer): return self.vol.offset == vfsmount_ptr else: raise exceptions.VolatilityException( @@ -1715,18 +1742,18 @@ class socket(objects.StructType): def get_state(self): socket_state_idx = self.state - if 0 <= socket_state_idx < len(SOCKET_STATES): - return SOCKET_STATES[socket_state_idx] + if 0 <= socket_state_idx < len(linux_constants.SOCKET_STATES): + return linux_constants.SOCKET_STATES[socket_state_idx] class sock(objects.StructType): def get_family(self): family_idx = self.__sk_common.skc_family - if 0 <= family_idx < len(SOCK_FAMILY): - return SOCK_FAMILY[family_idx] + if 0 <= family_idx < len(linux_constants.SOCK_FAMILY): + return linux_constants.SOCK_FAMILY[family_idx] def get_type(self): - return SOCK_TYPES.get(self.sk_type, "") + return linux_constants.SOCK_TYPES.get(self.sk_type, "") def get_inode(self): if not self.sk_socket: @@ -1760,8 +1787,8 @@ class unix_sock(objects.StructType): # Unix socket states reuse (a subset) of the inet_sock states contants if self.sk.get_type() == "STREAM": state_idx = self.sk.__sk_common.skc_state - if 0 <= state_idx < len(TCP_STATES): - return TCP_STATES[state_idx] + if 0 <= state_idx < len(linux_constants.TCP_STATES): + return linux_constants.TCP_STATES[state_idx] else: # Return the generic socket state return self.sk.sk_socket.get_state() @@ -1773,15 +1800,15 @@ class unix_sock(objects.StructType): class inet_sock(objects.StructType): def get_family(self): family_idx = self.sk.__sk_common.skc_family - if 0 <= family_idx < len(SOCK_FAMILY): - return SOCK_FAMILY[family_idx] + if 0 <= family_idx < len(linux_constants.SOCK_FAMILY): + return linux_constants.SOCK_FAMILY[family_idx] def get_protocol(self): # If INET6 family and a proto is defined, we use that specific IPv6 protocol. # Otherwise, we use the standard IP protocol. - protocol = IP_PROTOCOLS.get(self.sk.sk_protocol) + protocol = linux_constants.IP_PROTOCOLS.get(self.sk.sk_protocol) if self.get_family() == "AF_INET6": - protocol = IPV6_PROTOCOLS.get(self.sk.sk_protocol, protocol) + protocol = linux_constants.IPV6_PROTOCOLS.get(self.sk.sk_protocol, protocol) return protocol def get_state(self): @@ -1789,8 +1816,8 @@ class inet_sock(objects.StructType): if self.sk.get_type() == "STREAM": state_idx = self.sk.__sk_common.skc_state - if 0 <= state_idx < len(TCP_STATES): - return TCP_STATES[state_idx] + if 0 <= state_idx < len(linux_constants.TCP_STATES): + return linux_constants.TCP_STATES[state_idx] else: # Return the generic socket state return self.sk.sk_socket.get_state() @@ -1873,8 +1900,8 @@ class inet_sock(objects.StructType): class netlink_sock(objects.StructType): def get_protocol(self): protocol_idx = self.sk.sk_protocol - if 0 <= protocol_idx < len(NETLINK_PROTOCOLS): - return NETLINK_PROTOCOLS[protocol_idx] + if 0 <= protocol_idx < len(linux_constants.NETLINK_PROTOCOLS): + return linux_constants.NETLINK_PROTOCOLS[protocol_idx] def get_state(self): # Return the generic socket state @@ -1916,8 +1943,8 @@ class packet_sock(objects.StructType): eth_proto = socket_module.htons(self.num) if eth_proto == 0: return None - elif eth_proto in ETH_PROTOCOLS: - return ETH_PROTOCOLS[eth_proto] + elif eth_proto in linux_constants.ETH_PROTOCOLS: + return linux_constants.ETH_PROTOCOLS[eth_proto] else: return f"0x{eth_proto:x}" @@ -1929,13 +1956,13 @@ class packet_sock(objects.StructType): class bt_sock(objects.StructType): def get_protocol(self): type_idx = self.sk.sk_protocol - if 0 <= type_idx < len(BLUETOOTH_PROTOCOLS): - return BLUETOOTH_PROTOCOLS[type_idx] + if 0 <= type_idx < len(linux_constants.BLUETOOTH_PROTOCOLS): + return linux_constants.BLUETOOTH_PROTOCOLS[type_idx] def get_state(self): state_idx = self.sk.__sk_common.skc_state - if 0 <= state_idx < len(BLUETOOTH_STATES): - return BLUETOOTH_STATES[state_idx] + if 0 <= state_idx < len(linux_constants.BLUETOOTH_STATES): + return linux_constants.BLUETOOTH_STATES[state_idx] class xdp_sock(objects.StructType): @@ -2053,7 +2080,7 @@ class kernel_cap_struct(objects.StructType): Returns: int: The latest capability ID supported by the framework. """ - return len(CAPABILITIES) - 1 + return len(linux_constants.CAPABILITIES) - 1 def get_kernel_cap_full(self) -> int: """Return the maximum value allowed for this kernel for a capability @@ -2082,7 +2109,7 @@ class kernel_cap_struct(objects.StructType): """ capabilities = [] - for bit, name in enumerate(CAPABILITIES): + for bit, name in enumerate(linux_constants.CAPABILITIES): if capabilities_bitfield & (1 << bit) != 0: capabilities.append(name) @@ -2143,10 +2170,10 @@ class kernel_cap_struct(objects.StructType): Returns: bool: "True" if the given capability is enabled. """ - if capability not in CAPABILITIES: + if capability not in linux_constants.CAPABILITIES: raise AttributeError(f"Unknown capability with name '{capability}'") - cap_value = 1 << CAPABILITIES.index(capability) + cap_value = 1 << linux_constants.CAPABILITIES.index(capability) return cap_value & self.get_capabilities() != 0 From c0fa2cfcd67d676dab100150daad2f93948c641b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 5 Nov 2024 20:02:55 +1100 Subject: [PATCH 0833/2186] Linux: Boottime API: User linux_constanst import --- .../symbols/linux/extensions/__init__.py | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0099b17e1..d05c34304 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2217,12 +2217,12 @@ class Timespec64Abstract(abc.ABC): # Based on ns_to_timespec64() if nsec > 0: - tv_sec = nsec // NSEC_PER_SEC - tv_nsec = nsec % NSEC_PER_SEC + tv_sec = nsec // linux_constants.NSEC_PER_SEC + tv_nsec = nsec % linux_constants.NSEC_PER_SEC elif nsec < 0: - tv_sec = -((-nsec - 1) // NSEC_PER_SEC) - 1 - rem = (-nsec - 1) % NSEC_PER_SEC - tv_nsec = NSEC_PER_SEC - rem - 1 + tv_sec = -((-nsec - 1) // linux_constants.NSEC_PER_SEC) - 1 + rem = (-nsec - 1) % linux_constants.NSEC_PER_SEC + tv_nsec = linux_constants.NSEC_PER_SEC - rem - 1 else: tv_sec = tv_nsec = 0 @@ -2233,13 +2233,15 @@ class Timespec64Abstract(abc.ABC): # pylint: disable=E1101 return conversion.unixtime_to_datetime( - self.tv_sec + self.tv_nsec / NSEC_PER_SEC + self.tv_sec + self.tv_nsec / linux_constants.NSEC_PER_SEC ) def to_timedelta(self) -> datetime.timedelta: """Converts this Timespec64Abstract subclass object to timedelta""" # pylint: disable=E1101 - return datetime.timedelta(seconds=self.tv_sec + self.tv_nsec / NSEC_PER_SEC) + return datetime.timedelta( + seconds=self.tv_sec + self.tv_nsec / linux_constants.NSEC_PER_SEC + ) def __add__(self, other) -> "Timespec64Concrete": """Returns a new Timespec64Concrete object that sums the current values with those @@ -2282,12 +2284,12 @@ class Timespec64Abstract(abc.ABC): # Based on kernel's set_normalized_timespec64() # pylint: disable=E1101 - while self.tv_nsec >= NSEC_PER_SEC: - self.tv_nsec -= NSEC_PER_SEC + while self.tv_nsec >= linux_constants.NSEC_PER_SEC: + self.tv_nsec -= linux_constants.NSEC_PER_SEC self.tv_sec += 1 while self.tv_nsec < 0: - self.tv_nsec += NSEC_PER_SEC + self.tv_nsec += linux_constants.NSEC_PER_SEC self.tv_sec -= 1 From 0ad8054f125c360afadcd25db70c1f67d8265e57 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 7 Nov 2024 20:26:26 +1100 Subject: [PATCH 0834/2186] intel layer: minor improve lru_cache argument --- volatility3/framework/layers/intel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 2b0df5372..33d5432cc 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -252,7 +252,7 @@ class Intel(linear.LinearlyMappedLayer): return entry, position - @functools.lru_cache(1025) + @functools.lru_cache(maxsize=1025) def _get_valid_table(self, base_address: int) -> Optional[bytes]: """Extracts the table, validates it and returns it if it's valid.""" table = self._context.layers.read( From 9ae7c2bb109681bbd8b6cffc5a1f5b7f1dfa71cf Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 7 Nov 2024 20:28:21 +1100 Subject: [PATCH 0835/2186] Data layer interface: Convert address_mask to a cached property --- volatility3/framework/interfaces/layers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/layers.py b/volatility3/framework/interfaces/layers.py index e2a68780a..78687d8d5 100644 --- a/volatility3/framework/interfaces/layers.py +++ b/volatility3/framework/interfaces/layers.py @@ -136,7 +136,7 @@ class DataLayerInterface( def minimum_address(self) -> int: """Returns the minimum valid address of the space.""" - @property + @functools.cached_property def address_mask(self) -> int: """Returns a mask which encapsulates all the active bits of an address for this layer.""" From 73d4f2fc88e15ac038f962cb5f5b11acf7855091 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 7 Nov 2024 20:31:20 +1100 Subject: [PATCH 0836/2186] Linux: Add support for PROT_NONE, Intel Side Channel Vulnerability L1TF changes and fix _maxphyaddr in x86-64 --- volatility3/framework/automagic/linux.py | 6 +- .../framework/constants/linux/__init__.py | 8 ++ volatility3/framework/layers/intel.py | 100 ++++++++++++++++-- 3 files changed, 105 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 52a73f45a..27e07e564 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -80,14 +80,14 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): context, table_name, layer_name, progress_callback=progress_callback ) - layer_class: Type = intel.Intel if "init_top_pgt" in table.symbols: - layer_class = intel.Intel32e + layer_class = intel.LinuxIntel32e dtb_symbol_name = "init_top_pgt" elif "init_level4_pgt" in table.symbols: - layer_class = intel.Intel32e + layer_class = intel.LinuxIntel32e dtb_symbol_name = "init_level4_pgt" else: + layer_class = intel.LinuxIntel dtb_symbol_name = "swapper_pg_dir" dtb = cls.virtual_to_physical_address( diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 7c485d3c3..303c534ed 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -11,6 +11,14 @@ KERNEL_NAME = "__kernel__" """The value hard coded from the Linux Kernel (hence not extracted from the layer itself)""" +# Translation Layer constants +PAGE_BIT_PRESENT = 0 +PAGE_BIT_PSE = 7 # Page Size Extension: 4 MB (or 2MB) page +PAGE_BIT_PROTNONE = 8 +PAGE_BIT_PAT_LARGE = 12 # 2MB or 1GB pages +PAGE_PRESENT = 1 << PAGE_BIT_PRESENT +PAGE_PROTNONE = 1 << PAGE_BIT_PROTNONE + # include/linux/sched.h PF_KTHREAD = 0x00200000 # I'm a kernel thread diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 33d5432cc..e6d20d992 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -13,6 +13,7 @@ from volatility3 import classproperty from volatility3.framework import exceptions, interfaces, constants from volatility3.framework.configuration import requirements from volatility3.framework.layers import linear +from volatility3.framework.constants import linux as linux_constants vollog = logging.getLogger(__name__) @@ -163,12 +164,17 @@ class Intel(linear.LinearlyMappedLayer): entry, f"Page Fault at entry {hex(entry)} in page entry", ) - page = self._mask(entry, self._maxphyaddr - 1, position + 1) | self._mask( - offset, position, 0 - ) + + pfn = self.pte_pfn(entry) + page_offset = self._mask(offset, position, 0) + page = pfn << self.page_shift | page_offset return page, 1 << (position + 1), self._base_layer + def pte_pfn(self, entry: int) -> int: + """Extracts the page frame number (PFN) from the page table entry (PTE) entry""" + return entry >> self.page_shift + def _translate_entry(self, offset: int) -> Tuple[int, int]: """Translates a specific offset based on paging tables. @@ -203,10 +209,10 @@ class Intel(linear.LinearlyMappedLayer): "Page Fault at entry " + hex(entry) + " in table " + name, ) # Check if we're a large page - if large_page and (entry & (1 << 7)): + if large_page and (entry & (1 << linux_constants.PAGE_BIT_PSE)): # Mask off the PAT bit - if entry & (1 << 12): - entry -= 1 << 12 + if entry & (1 << linux_constants.PAGE_BIT_PAT_LARGE): + entry -= 1 << linux_constants.PAGE_BIT_PAT_LARGE # We're a large page, the rest is finished below # If we want to implement PSE-36, it would need to be done here break @@ -501,3 +507,85 @@ class WindowsIntel32e(WindowsMixin, Intel32e): def _translate(self, offset: int) -> Tuple[int, int, str]: return self._translate_swap(self, offset, self._bits_per_register // 2) + + +class LinuxMixin(Intel): + @functools.cached_property + def register_mask(self) -> int: + return (1 << self._bits_per_register) - 1 + + @functools.cached_property + def physical_mask(self) -> int: + # From kernels 4.18 the physical mask is dynamic: See AMD SME, Intel Multi-Key Total + # Memory Encryption and CONFIG_DYNAMIC_PHYSICAL_MASK: 94d49eb30e854c84d1319095b5dd0405a7da9362 + physical_mask = (1 << self._maxphyaddr) - 1 + # TODO: Come back once SME support is available in the framework + return physical_mask + + @functools.cached_property + def page_mask(self) -> int: + # Note that within the Intel class it's a class method. However, since it uses + # complement operations and we are working in Python, it would be more careful to + # limit it to the architecture's pointer size. + return ~(self.page_size - 1) & self.register_mask + + @functools.cached_property + def physical_page_mask(self) -> int: + return self.page_mask & self.physical_mask + + @functools.cached_property + def pte_pfn_mask(self) -> int: + return self.physical_page_mask + + @functools.cached_property + def pte_flags_mask(self) -> int: + return ~self.pte_pfn_mask & self.register_mask + + def pte_flags(self, pte) -> int: + return pte & self.pte_flags_mask + + def is_pte_present(self, entry: int) -> bool: + return ( + self.pte_flags(entry) + & (linux_constants.PAGE_PRESENT | linux_constants.PAGE_PROTNONE) + ) != 0 + + def _page_is_valid(self, entry: int) -> bool: + # Overrides the Intel static method with the Linux-specific implementation + return self.is_pte_present(entry) + + def pte_needs_invert(self, entry) -> bool: + # Entries that were set to PROT_NONE (PAGE_PRESENT/PAGE_GLOBAL) are inverted + return not (entry & linux_constants.PAGE_PRESENT) + + def protnone_mask(self, entry: int) -> int: + """Gets a mask to XOR with the page table entry to get the correct PFN""" + return ~0 & self.register_mask if self.pte_needs_invert(entry) else 0 + + def pte_pfn(self, entry: int) -> int: + """Extracts the page frame number from the page table entry""" + pfn = entry ^ self.protnone_mask(entry) + return (pfn & self.pte_pfn_mask) >> self.page_shift + + +class LinuxIntel(LinuxMixin, Intel): + pass + + +class LinuxIntelPAE(LinuxMixin, IntelPAE): + pass + + +class LinuxIntel32e(LinuxMixin, Intel32e): + # In the Linux kernel, the __PHYSICAL_MASK_SHIFT is a mask used to extract the + # physical address from a PTE. In Volatility3, this is referred to as _maxphyaddr. + # + # Until kernel version 4.17, Linux x86-64 used a 46-bit mask. With commit + # b83ce5ee91471d19c403ff91227204fb37c95fb2, this was extended to 52 bits, + # applying to both 4 and 5-level page tables. + # + # We initially used 52 bits for all Intel 64-bit systems, but this produced incorrect + # results for PROT_NONE pages. Since the mask value is defined by a preprocessor macro, + # it's difficult to detect the exact bit shift used in the current kernel. + # Using 46 bits has proven reliable for our use case, as seen in tools like crashtool. + _maxphyaddr = 46 From a5253ac2767ca3e0051dcc3a78de7d9b6a7589b8 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 7 Nov 2024 13:40:18 +0100 Subject: [PATCH 0837/2186] re-trigger black --- volatility3/framework/plugins/windows/malfind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 5ce2279cc..1df090b5b 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -140,7 +140,7 @@ class Malfind(interfaces.plugins.PluginInterface): dirty_page_check = True break except exceptions.InvalidAddressException: - # Abort as it is likely that other addresses in the same range will also fail + # Abort as it is likely that other addresses in the same range will also fail. break if not dirty_page_check: continue From 20317e0d13d049070201562a1617ea89256879dc Mon Sep 17 00:00:00 2001 From: Joren Vrancken Date: Thu, 7 Nov 2024 18:05:36 +0100 Subject: [PATCH 0838/2186] Improve windows.amcache plugin description --- volatility3/framework/plugins/windows/amcache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index 8d0a4769e..1e918d61c 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -215,7 +215,7 @@ def _get_datetime_str_value( class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): - """Scans for windows services.""" + """Extract information on executed applications from the AmCache.""" _required_framework_version = (2, 0, 0) _version = (1, 0, 0) From c7259037356fde4cf6120acddecbae4af16c9ea0 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 7 Nov 2024 18:08:58 +0100 Subject: [PATCH 0839/2186] introduce scatter-gather scatterlists --- .../framework/symbols/linux/__init__.py | 1 + .../symbols/linux/extensions/__init__.py | 104 ++++++++++++++++++ 2 files changed, 105 insertions(+) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 3289775b6..e8a3d5240 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -43,6 +43,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.optional_set_type_class("bpf_prog_aux", extensions.bpf_prog_aux) self.optional_set_type_class("kernel_cap_struct", extensions.kernel_cap_struct) self.optional_set_type_class("kernel_cap_t", extensions.kernel_cap_t) + self.optional_set_type_class("scatterlist", extensions.scatterlist) # kernels >= 4.18 self.optional_set_type_class("timespec64", extensions.timespec64) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index aa3e8c675..0dd657372 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2410,3 +2410,107 @@ class rb_root(objects.StructType): """ yield from self._walk_nodes(root_node=self.rb_node) + + +class scatterlist(objects.StructType): + SG_CHAIN = 0x01 + SG_END = 0x02 + SG_PAGE_LINK_MASK = SG_CHAIN | SG_END + + def _sg_flags(self) -> int: + return self.page_link & self.SG_PAGE_LINK_MASK + + def _sg_is_chain(self) -> int: + return self._sg_flags() & self.SG_CHAIN + + def _sg_is_last(self) -> int: + return self._sg_flags() & self.SG_END + + def _sg_chain_ptr(self) -> int: + """Clears the last two bits basically.""" + return self.page_link & ~self.SG_PAGE_LINK_MASK + + def _sg_dma_len(self) -> int: + # Depends on CONFIG_NEED_SG_DMA_LENGTH + if self.has_member("dma_length"): + return self.dma_length + return self.length + + def _get_sg_max_single_alloc(self) -> int: + """Based on kernel's SG_MAX_SINGLE_ALLOC. + + Doc. from kernel source : + * Maximum number of entries that will be allocated in one piece, if + * a list larger than this is required then chaining will be utilized. + """ + return self._context.layers[self.vol.layer_name].page_size // self.vol.size + + def _sg_next(self) -> interfaces.objects.ObjectInterface: + """Get the next scatterlist struct from the list. + Based on kernel's sg_next. + + Doc. from kernel source : + * Notes on SG table design. + * + * We use the unsigned long page_link field in the scatterlist struct to place + * the page pointer AND encode information about the sg table as well. The two + * lower bits are reserved for this information. + * + * If bit 0 is set, then the page_link contains a pointer to the next sg + * table list. Otherwise the next entry is at sg + 1. + * + * If bit 1 is set, then this sg entry is the last element in a list. + """ + if self._sg_is_last(): + return None + + if self._sg_is_chain(): + next_address = self._sg_chain_ptr() + else: + next_address = self.vol.offset + self.vol.size + + sg = self._context.object( + self.get_symbol_table_name() + constants.BANG + "scatterlist", + self.vol.layer_name, + next_address, + ) + return sg + + def for_each_sg(self) -> Iterator[interfaces.objects.ObjectInterface]: + """Iterate over each struct in the scatterlist.""" + sg = self + sg_max_single_alloc = self._get_sg_max_single_alloc() + + # Empty scatterlists protection + if sg.page_link == 0 and sg._sg_dma_len() == 0 and sg.dma_address == 0: + return None + else: + # Yield itself first + yield sg + + entries_count = 1 + # entries_count <= sg_max_single_alloc should always be true if the + # scatterlists were correctly chained. + while entries_count <= sg_max_single_alloc: + sg = sg._sg_next() + if sg is None: + break + # Points to a new scatterlist + elif sg._sg_is_chain(): + entries_count = 0 + else: + entries_count += 1 + yield sg + + def get_content( + self, + ) -> Iterator[bytes]: + """Traverse a scatterlist to gather content located at each + dma_address position. + + Returns: + An iterator of bytes + """ + physical_layer = self._context.layers["memory_layer"] + for sg in self.for_each_sg(): + yield from physical_layer.read(sg.dma_address, sg._sg_dma_len()) From 6494260d916838c8f1a854450e217049dff015bb Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 7 Nov 2024 23:33:52 +0000 Subject: [PATCH 0840/2186] Core: Limit capstone to compatible versions --- requirements.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index bd61edf14..e0d366391 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,8 @@ yara-python>=3.8.0 # This is required for several plugins that perform malware analysis and disassemble code. # It can also improve accuracy of Windows 8 and later memory samples. -capstone>=3.0.5 +# FIXME: Version 6.0.0 is incompatible (#1336) so we'll need an adaptor at some point +capstone>=3.0.5,<6.0.0 # This is required by plugins that decrypt passwords, password hashes, etc. pycryptodome @@ -19,4 +20,4 @@ leechcorepyc>=2.4.0; sys_platform != 'darwin' # This is required for memory analysis on a Amazon/MinIO S3 and Google Cloud object storage gcsfs>=2023.1.0 -s3fs>=2023.1.0 \ No newline at end of file +s3fs>=2023.1.0 From 74cf394ad0adb65d9cc149dae0451d7bee3d76a8 Mon Sep 17 00:00:00 2001 From: Joren Vrancken Date: Fri, 8 Nov 2024 10:06:59 +0100 Subject: [PATCH 0841/2186] Print plugin description on plugin --help --- volatility3/cli/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index b4e993dac..75b62abf6 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -367,7 +367,9 @@ class CommandLine: ) for plugin in sorted(plugin_list): plugin_parser = subparser.add_parser( - plugin, help=plugin_list[plugin].__doc__ + plugin, + help=plugin_list[plugin].__doc__, + description=plugin_list[plugin].__doc__, ) self.populate_requirements_argparse(plugin_parser, plugin_list[plugin]) From b37ba26dd62a9cc85c89e174c20f1afe549eb753 Mon Sep 17 00:00:00 2001 From: Joren Vrancken Date: Fri, 8 Nov 2024 10:19:05 +0100 Subject: [PATCH 0842/2186] Fix typo in SuspiciousThreads --- volatility3/framework/plugins/windows/suspicious_threads.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py index 2679b191a..4bfb6baa5 100644 --- a/volatility3/framework/plugins/windows/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -13,11 +13,11 @@ from volatility3.plugins.windows import pslist, threads, vadinfo, thrdscan vollog = logging.getLogger(__name__) -class SupsiciousThreads(interfaces.plugins.PluginInterface): +class SuspiciousThreads(interfaces.plugins.PluginInterface): """Lists suspicious userland process threads""" _required_framework_version = (2, 4, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 1fd51772600dc14ad6893e76362c9b8f599be180 Mon Sep 17 00:00:00 2001 From: lesander <4174509+lesander@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:33:20 +0100 Subject: [PATCH 0843/2186] move dependency definitions to pyproject.toml and bump minimal cpython version to 3.9.0 since 3.8.0 is EOL. --- README.md | 48 +++++++++++++--------------------------- mypy.ini | 4 ---- pyproject.toml | 42 ++++++++++++++++++++++++++++++----- requirements-dev.txt | 9 -------- requirements-minimal.txt | 2 -- requirements.txt | 23 ------------------- setup.py | 24 -------------------- 7 files changed, 51 insertions(+), 101 deletions(-) delete mode 100644 mypy.ini delete mode 100644 requirements-dev.txt delete mode 100644 requirements-minimal.txt delete mode 100644 requirements.txt delete mode 100644 setup.py diff --git a/README.md b/README.md index 1463c2bde..78eb7c491 100644 --- a/README.md +++ b/README.md @@ -18,62 +18,44 @@ the Volatility Software License (VSL). See the [LICENSE](https://www.volatilityfoundation.org/license/vsl-v1.0) file for more details. -## Requirements +## Installing -Volatility 3 requires Python 3.8.0 or later. To install the most minimal set of dependencies (some plugins will not work) use a command such as: +Volatility 3 requires Python 3.9.0 or later and is published on the [PyPi registry](https://pypi.org/project/volatility3). ```shell -pip3 install -r requirements-minimal.txt +pip install volatility3 ``` -Alternately, the minimal packages will be installed automatically when Volatility 3 is installed using pip. However, as noted in the Quick Start section below, Volatility 3 does not *need* to be installed prior to using it. +If you want to use the latest development version of Volatility 3 we recommend you manually clone this repository and install an editable version of the project. +We recommend you use a virtual environment to keep installed dependencies separate from system packages. -```shell -pip3 install . -``` - -To enable the full range of Volatility 3 functionality, use a command like the one below. For partial functionality, comment out any unnecessary packages in [requirements.txt](requirements.txt) prior to running the command. - -```shell -pip3 install -r requirements.txt -``` - -## Downloading Volatility - -The latest stable version of Volatility will always be the stable branch of the GitHub repository. You can get the latest version of the code using the following command: +The latest stable version of Volatility will always be the `stable` branch of the GitHub repository. The default branch is `develop`. ```shell git clone https://github.com/volatilityfoundation/volatility3.git +cd volatility3/ +python3 -m venv venv && . venv/bin/activate +pip install -e .[dev] ``` ## Quick Start -1. Clone the latest version of Volatility from GitHub: - - ```shell - git clone https://github.com/volatilityfoundation/volatility3.git - ``` +1. Install Volatility 3 as documented in the Installing section of the readme. 2. See available options: ```shell - python3 vol.py -h + vol -h ``` -3. To get more information on a Windows memory sample and to make sure -Volatility supports that sample type, run -`python3 vol.py -f windows.info` - - Example: +3. To get more information on a Windows memory sample and to make sure Volatility supports that sample type, run `vol -f windows.info`: ```shell - python3 vol.py -f /home/user/samples/stuxnet.vmem windows.info + vol -f /home/user/samples/stuxnet.vmem windows.info ``` -4. Run some other plugins. The `-f` or `--single-location` is not strictly -required, but most plugins expect a single sample. Some also -require/accept other options. Run `python3 vol.py -h` -for more information on a particular command. +4. Run some other plugins. The `-f` or `--single-location` is not strictly required, but most plugins expect a single sample. +Some also require/accept other options. Run `vol -h` for more information on a particular command. ## Symbol Tables diff --git a/mypy.ini b/mypy.ini deleted file mode 100644 index 6fb9f9ed3..000000000 --- a/mypy.ini +++ /dev/null @@ -1,4 +0,0 @@ -[mypy] -mypy_path = ./stubs -show_traceback = True -ignore_missing_imports = True diff --git a/pyproject.toml b/pyproject.toml index 2e1636a43..91848e1fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,15 +6,39 @@ readme = "README.md" authors = [ { name = "Volatility Foundation", email = "volatility@volatilityfoundation.org" }, ] -requires-python = ">=3.8.0" +requires-python = ">=3.9.0" license = { text = "VSL" } dynamic = ["dependencies", "optional-dependencies", "version"] +dependencies = [ + "pefile>=2024.8.26", +] + +[project.optional-dependencies] +full = [ + "yara-python>=4.5.1,<5", + "capstone>=5.0.3,<6", + "pycryptodome>=3.21.0,<4", + "leechcorepyc>=2.19.2,<3; sys_platform != 'darwin'", +] + +cloud = [ + "gcsfs>=2024.10.0", + "s3fs>=2024.10.0", +] + +dev = [ + "volatility3[full,cloud]", + "jsonschema>=4.23.0,<5", + "pyinstaller>=6.11.0,<7", + "pyinstaller-hooks-contrib>=2024.9", +] + [project.urls] -Homepage = "https://github.com/volatilityfoundation/volatility3/" -"Bug Tracker" = "https://github.com/volatilityfoundation/volatility3/issues" -Documentation = "https://volatility3.readthedocs.io/" -"Source Code" = "https://github.com/volatilityfoundation/volatility3" +homepage = "https://github.com/volatilityfoundation/volatility3/" +documentation = "https://volatility3.readthedocs.io/" +repository = "https://github.com/volatilityfoundation/volatility3" +issues = "https://github.com/volatilityfoundation/volatility3/issues" [project.scripts] vol = "volatility3.cli:main" @@ -22,11 +46,17 @@ volshell = "volatility3.cli.volshell:main" [tool.setuptools.dynamic] version = { attr = "volatility3.framework.constants._version.PACKAGE_VERSION" } -dependencies = { file = "requirements-minimal.txt" } [tool.setuptools.packages.find] include = ["volatility3*"] +[tool.mypy] +mypy_path = "./stubs" +show_traceback = true + +[tool.mypy.overrides] +ignore_missing_imports = true + [build-system] requires = ["setuptools>=68"] build-backend = "setuptools.build_meta" diff --git a/requirements-dev.txt b/requirements-dev.txt deleted file mode 100644 index ae3482290..000000000 --- a/requirements-dev.txt +++ /dev/null @@ -1,9 +0,0 @@ --r requirements.txt - -# This can improve error messages regarding improperly configured ISF files, -# but is only recommended for development -jsonschema>=2.3.0 - -# Used to build executable file -pyinstaller>=6.5.0 -pyinstaller-hooks-contrib>=2024.3 \ No newline at end of file diff --git a/requirements-minimal.txt b/requirements-minimal.txt deleted file mode 100644 index c030b332d..000000000 --- a/requirements-minimal.txt +++ /dev/null @@ -1,2 +0,0 @@ -# These packages are required for core functionality. -pefile>=2023.2.7 #foo \ No newline at end of file diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index e0d366391..000000000 --- a/requirements.txt +++ /dev/null @@ -1,23 +0,0 @@ -# Include the minimal requirements --r requirements-minimal.txt - -# The following packages are optional. -# If certain packages are not necessary, place a comment (#) at the start of the line. - -# This is required for the yara plugins -yara-python>=3.8.0 - -# This is required for several plugins that perform malware analysis and disassemble code. -# It can also improve accuracy of Windows 8 and later memory samples. -# FIXME: Version 6.0.0 is incompatible (#1336) so we'll need an adaptor at some point -capstone>=3.0.5,<6.0.0 - -# This is required by plugins that decrypt passwords, password hashes, etc. -pycryptodome - -# This is required for memory acquisition via leechcore/pcileech. -leechcorepyc>=2.4.0; sys_platform != 'darwin' - -# This is required for memory analysis on a Amazon/MinIO S3 and Google Cloud object storage -gcsfs>=2023.1.0 -s3fs>=2023.1.0 diff --git a/setup.py b/setup.py deleted file mode 100644 index 3af033160..000000000 --- a/setup.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 -# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 -# - -import setuptools - - -def get_requires(filename): - requirements = [] - with open(filename, "r", encoding="utf-8") as fh: - for line in fh.readlines(): - stripped_line = line.strip() - if stripped_line == "" or stripped_line.startswith(("#", "-r")): - continue - requirements.append(stripped_line) - return requirements - - -setuptools.setup( - extras_require={ - "dev": get_requires("requirements-dev.txt"), - "full": get_requires("requirements.txt"), - }, -) From a04c04c4e3789008987ef18207ed242ff606ba1e Mon Sep 17 00:00:00 2001 From: lesander <4174509+lesander@users.noreply.github.com> Date: Fri, 8 Nov 2024 14:03:08 +0100 Subject: [PATCH 0844/2186] fix ci --- .github/workflows/install.yml | 6 +----- .github/workflows/test.yaml | 6 ++---- .readthedocs.yml | 5 ++++- MANIFEST.in | 2 +- doc/requirements.txt | 9 --------- pyproject.toml | 15 ++++++++++++++- test/README.md | 6 ++---- test/requirements-testing.txt | 11 ----------- 8 files changed, 24 insertions(+), 36 deletions(-) delete mode 100644 doc/requirements.txt delete mode 100644 test/requirements-testing.txt diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 398ff8ae3..9b9cbed4d 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -20,12 +20,8 @@ jobs: - name: Setup python-pip run: python -m pip install --upgrade pip - - name: Install dependencies - run: | - pip install -r requirements.txt - - name: Install volatility3 run: pip install . - name: Run volatility3 - run: vol --help \ No newline at end of file + run: vol --help diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6358dd45d..930b68526 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,10 +16,8 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install Cmake - pip install build - pip install -r ./test/requirements-testing.txt + python -m pip install --upgrade pip Cmake build + pip install .[test] - name: Build PyPi packages run: | diff --git a/.readthedocs.yml b/.readthedocs.yml index e7c2b25d5..628e79ebf 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -20,4 +20,7 @@ build: # Optionally set the version of Python and requirements required to build your docs python: install: - - requirements: doc/requirements.txt + - method: pip + path: . + extra_requirements: + - docs diff --git a/MANIFEST.in b/MANIFEST.in index 1cec729f6..863621381 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,6 @@ prune development include * .* -include doc/make.bat doc/Makefile doc/requirements.txt +include pyproject.toml doc/make.bat doc/Makefile recursive-include doc/source * recursive-include volatility3 *.json recursive-exclude doc/source volatility3.*.rst diff --git a/doc/requirements.txt b/doc/requirements.txt deleted file mode 100644 index d3ba51224..000000000 --- a/doc/requirements.txt +++ /dev/null @@ -1,9 +0,0 @@ -# These packages are required for building the documentation. -sphinx>=4.0.0,<7 -sphinx_autodoc_typehints>=1.4.0 -sphinx-rtd-theme>=0.4.3 - -yara-python -yara-x -pycryptodome -pefile diff --git a/pyproject.toml b/pyproject.toml index 91848e1fd..a966e41b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ authors = [ ] requires-python = ">=3.9.0" license = { text = "VSL" } -dynamic = ["dependencies", "optional-dependencies", "version"] +dynamic = ["version"] dependencies = [ "pefile>=2024.8.26", @@ -34,6 +34,19 @@ dev = [ "pyinstaller-hooks-contrib>=2024.9", ] +test = [ + "volatility3[dev]", + "pytest>=8.3.3,<9", + "yara-x>=0.10.0,<1", +] + +docs = [ + "volatility3[dev]", + "sphinx>=8.0.0,<7", + "sphinx-autodoc-typehints>=2.5.0,<3", + "sphinx-rtd-theme>=3.0.1,<4", +] + [project.urls] homepage = "https://github.com/volatilityfoundation/volatility3/" documentation = "https://volatility3.readthedocs.io/" diff --git a/test/README.md b/test/README.md index dcbe289b0..5891d9508 100644 --- a/test/README.md +++ b/test/README.md @@ -2,14 +2,12 @@ ## Requirements -The Volatility 3 Testing Framework requires the same version of Python as Volatility3 itself. To install the current set of dependencies that the framework requires, use a command like this: +The Volatility 3 Testing Framework requires the same version of Python as Volatility 3 itself. To install the current set of dependencies that the framework requires, use a command like this: ```shell -pip3 install -r requirements-testing.txt +pip3 install -e .[test] ``` -NOTE: `requirements-testing.txt` can be found in this current `test/` directory. - ## Quick Start: Manual Testing 1. To test Volatility 3 on an image, first download one with a command such as: diff --git a/test/requirements-testing.txt b/test/requirements-testing.txt deleted file mode 100644 index 51c8f602c..000000000 --- a/test/requirements-testing.txt +++ /dev/null @@ -1,11 +0,0 @@ -# These packages are required for core functionality. -pefile>=2017.8.1 #foo - -# The following packages are optional. -# If certain packages are not necessary, place a comment (#) at the start of the line. - -# This is required for the yara plugins -yara-python>=3.8.0 -yara-x>=0.5.0 - -pytest>=7.0.0 From b739f8d067c024f84087bfdc2443b174cf559462 Mon Sep 17 00:00:00 2001 From: lesander <4174509+lesander@users.noreply.github.com> Date: Fri, 8 Nov 2024 14:05:54 +0100 Subject: [PATCH 0845/2186] revert 3.8 to 3.9 soft bump --- README.md | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78eb7c491..cc33d3cc4 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ more details. ## Installing -Volatility 3 requires Python 3.9.0 or later and is published on the [PyPi registry](https://pypi.org/project/volatility3). +Volatility 3 requires Python 3.8.0 or later and is published on the [PyPi registry](https://pypi.org/project/volatility3). ```shell pip install volatility3 diff --git a/pyproject.toml b/pyproject.toml index a966e41b2..fc1ab96cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ readme = "README.md" authors = [ { name = "Volatility Foundation", email = "volatility@volatilityfoundation.org" }, ] -requires-python = ">=3.9.0" +requires-python = ">=3.8.0" license = { text = "VSL" } dynamic = ["version"] From 8f33aaf5b4ee859b12ca35347144597bec59ee1b Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 8 Nov 2024 17:45:53 +0100 Subject: [PATCH 0846/2186] Optional type hints --- volatility3/framework/symbols/linux/extensions/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0dd657372..e5a074a49 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2445,7 +2445,7 @@ class scatterlist(objects.StructType): """ return self._context.layers[self.vol.layer_name].page_size // self.vol.size - def _sg_next(self) -> interfaces.objects.ObjectInterface: + def _sg_next(self) -> Optional[interfaces.objects.ObjectInterface]: """Get the next scatterlist struct from the list. Based on kernel's sg_next. @@ -2476,7 +2476,7 @@ class scatterlist(objects.StructType): ) return sg - def for_each_sg(self) -> Iterator[interfaces.objects.ObjectInterface]: + def for_each_sg(self) -> Optional[Iterator[interfaces.objects.ObjectInterface]]: """Iterate over each struct in the scatterlist.""" sg = self sg_max_single_alloc = self._get_sg_max_single_alloc() @@ -2504,7 +2504,7 @@ class scatterlist(objects.StructType): def get_content( self, - ) -> Iterator[bytes]: + ) -> Optional[Iterator[bytes]]: """Traverse a scatterlist to gather content located at each dma_address position. From 485ef894e113cf68eb1acaef3c679b675639281d Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 8 Nov 2024 17:49:08 +0100 Subject: [PATCH 0847/2186] remove taints_value overload attr --- .../framework/symbols/linux/extensions/__init__.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 42c1a470d..f9f72c161 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -288,7 +288,7 @@ class module(generic.GenericIntelProcess): """ taints_string = "" for char, taint_flag in linux_constants.TAINT_FLAGS.items(): - if taint_flag.module and self.taints_value & taint_flag.shift: + if taint_flag.module and self.taints & taint_flag.shift: taints_string += char return taints_string @@ -310,7 +310,7 @@ class module(generic.GenericIntelProcess): for i, taint_flag in enumerate(self.taint_flags_list): c_true = chr(taint_flag.c_true) c_false = chr(taint_flag.c_false) - if taint_flag.module and (self.taints_value & (1 << i)): + if taint_flag.module and (self.taints & (1 << i)): taints_string += c_true elif taint_flag.module and c_false != " ": taints_string += c_false @@ -378,10 +378,6 @@ class module(generic.GenericIntelProcess): return self.strtab raise AttributeError("module -> strtab: Unable to get strtab") - @property - def taints_value(self) -> int: - return self.taints - @property def taint_flags_list(self) -> Optional[List[interfaces.objects.ObjectInterface]]: kernel = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) From dd3542b127b751ad083c91be4e8ffd373a1c74f7 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 8 Nov 2024 17:51:48 +0100 Subject: [PATCH 0848/2186] explicit loop iterator --- volatility3/framework/symbols/linux/extensions/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index f9f72c161..402f8c9c6 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -341,10 +341,10 @@ class module(generic.GenericIntelProcess): - module_flags_taint kernel function """ comprehensive_taints = [] - for c in self.get_taints_as_plain_string(): - taint_flag = linux_constants.TAINT_FLAGS.get(c) + for character in self.get_taints_as_plain_string(): + taint_flag = linux_constants.TAINT_FLAGS.get(character) if not taint_flag: - comprehensive_taints.append(f"") + comprehensive_taints.append(f"") elif taint_flag.when_present: comprehensive_taints.append(taint_flag.desc) From 106b3b3dd0849194c4b83b9e254365b0c8f6070c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 12 Nov 2024 16:01:04 +1100 Subject: [PATCH 0849/2186] Linux: PageCache: Fix inode offset when logging an error --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 81e1f3601..005fc9acc 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -454,7 +454,7 @@ class InodePages(plugins.PluginInterface): if current_fp + len(page_bytes) > inode_size: vollog.error( "Page out of file bounds: inode 0x%x, inode size %d, page index %d", - inode.vol.object, + inode.vol.offset, inode_size, page_idx, ) From 3216700d8b6b0488f4a7431d6c1d940fc5299f24 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 12 Nov 2024 16:05:59 +1100 Subject: [PATCH 0850/2186] Linux: module object extension: Fix recursion call issue --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d05c34304..bc8e25105 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -294,7 +294,7 @@ class module(generic.GenericIntelProcess): if self.has_member("kallsyms"): return int(self.kallsyms.num_symtab) elif self.has_member("num_symtab"): - return int(self.num_symtab) + return int(self.member("num_symtab")) raise AttributeError( "module -> num_symtab: Unable to determine number of symbols" ) From a2e99b2633a0099e19bbb5692d7919a9e5cd17cd Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 12 Nov 2024 16:13:50 +1100 Subject: [PATCH 0851/2186] Linux: Object extensions: Fix type annotations for improved clarity and accuracy. --- .../framework/symbols/linux/extensions/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index bc8e25105..41d764f94 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -240,7 +240,7 @@ class module(generic.GenericIntelProcess): for sym in syms: yield sym - def get_symbols_names_and_addresses(self) -> Tuple[str, int]: + def get_symbols_names_and_addresses(self) -> Iterable[Tuple[str, int]]: """Get names and addresses for each symbol of the module Yields: @@ -1098,7 +1098,7 @@ class dentry(objects.StructType): current_dentry = current_dentry.d_parent return None - def get_subdirs(self) -> interfaces.objects.ObjectInterface: + def get_subdirs(self) -> Iterable[interfaces.objects.ObjectInterface]: """Walks dentry subdirs Yields: @@ -2435,7 +2435,7 @@ class inode(objects.StructType): """ return stat.filemode(self.i_mode) - def get_pages(self) -> interfaces.objects.ObjectInterface: + def get_pages(self) -> Iterable[interfaces.objects.ObjectInterface]: """Gets the inode's cached pages Yields: @@ -2643,7 +2643,7 @@ class IDR(objects.StructType): return idr_layer - def _old_kernel_get_entries(self) -> int: + def _old_kernel_get_entries(self) -> Iterable[int]: # Kernels < 4.11 cur = self.cur total = next_id = 0 @@ -2655,7 +2655,7 @@ class IDR(objects.StructType): next_id += 1 - def _new_kernel_get_entries(self) -> int: + def _new_kernel_get_entries(self) -> Iterable[int]: # Kernels >= 4.11 id_storage = linux.IDStorage.choose_id_storage( self._context, kernel_module_name="kernel" @@ -2663,7 +2663,7 @@ class IDR(objects.StructType): for page_addr in id_storage.get_entries(root=self.idr_rt): yield page_addr - def get_entries(self) -> int: + def get_entries(self) -> Iterable[int]: """Walks the IDR and yield a pointer associated with each element. Args: From 3a734fdeb159c8ff31b216b5ef1249d1dd4d3df7 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 12 Nov 2024 16:23:33 +1100 Subject: [PATCH 0852/2186] Linux: Object extensions: Remove redundant log message header; the logger handles this formatting. If needed, we can adjust the logger's format instead --- .../framework/symbols/linux/extensions/__init__.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 41d764f94..927f767e2 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -287,7 +287,7 @@ class module(generic.GenericIntelProcess): return self.kallsyms.symtab elif self.has_member("symtab"): return self.symtab - raise AttributeError("module -> symtab: Unable to get symtab") + raise AttributeError("Unable to get symtab") @property def num_symtab(self): @@ -295,9 +295,7 @@ class module(generic.GenericIntelProcess): return int(self.kallsyms.num_symtab) elif self.has_member("num_symtab"): return int(self.member("num_symtab")) - raise AttributeError( - "module -> num_symtab: Unable to determine number of symbols" - ) + raise AttributeError("Unable to determine number of symbols") @property def section_strtab(self): @@ -307,7 +305,7 @@ class module(generic.GenericIntelProcess): # Older kernels elif self.has_member("strtab"): return self.strtab - raise AttributeError("module -> strtab: Unable to get strtab") + raise AttributeError("Unable to get strtab") class task_struct(generic.GenericIntelProcess): From d90019657c26b2f6f723a5225ad99ad6c3fd012b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 12 Nov 2024 18:14:36 +1100 Subject: [PATCH 0853/2186] Linux: Add kthreads plugin to enumerate kernel thread functions --- .../framework/plugins/linux/kthreads.py | 109 ++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 volatility3/framework/plugins/linux/kthreads.py diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py new file mode 100644 index 000000000..639759e49 --- /dev/null +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -0,0 +1,109 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import List + +from volatility3.framework import constants, exceptions, interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import linux +from volatility3.framework.constants import architectures +from volatility3.framework.objects import utility +from volatility3.plugins.linux import pslist, lsmod + +vollog = logging.getLogger(__name__) + + +class Kthreads(plugins.PluginInterface): + """Enumerates kthread functions""" + + _required_framework_version = (2, 0, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=architectures.LINUX_ARCHS, + ), + requirements.VersionRequirement( + name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) + ), + ] + + def _generator(self): + vmlinux = self.context.modules[self.config["kernel"]] + + modules = lsmod.Lsmod.list_modules(self.context, vmlinux.name) + handlers = linux.LinuxUtilities.generate_kernel_handler_info( + self.context, vmlinux.name, modules + ) + + kthread_type = vmlinux.get_type( + vmlinux.symbol_table_name + constants.BANG + "kthread" + ) + + if not kthread_type.has_member("threadfn"): + raise exceptions.VolatilityException( + "Unsupported kthread implementation. This plugin only works with kernels >= 5.8" + ) + + for task in pslist.PsList.list_tasks( + self.context, vmlinux.name, include_threads=True + ): + if not task.is_kernel_thread: + continue + + if task.has_member("worker_private"): + # kernels >= 5.17 e32cf5dfbe227b355776948b2c9b5691b84d1cbd + ktread_base_pointer = task.worker_private + else: + # 5.8 <= kernels < 5.17 in 52782c92ac85c4e393eb4a903a62e6c24afa633f threadfn + # was added to struct kthread. task.set_child_tid is safe on those versions. + ktread_base_pointer = task.set_child_tid + + if not ktread_base_pointer.is_readable(): + continue + + kthread = ktread_base_pointer.dereference().cast("kthread") + threadfn = kthread.threadfn + if not (threadfn and threadfn.is_readable()): + continue + + task_name = utility.array_to_string(task.comm) + + # kernels >= 5.17 in d6986ce24fc00b0638bd29efe8fb7ba7619ed2aa full_name was added to kthread + thread_name = ( + utility.pointer_to_string(kthread.full_name, count=255) + if kthread.has_member("full_name") + else task_name + ) + module_name, symbol_name = linux.LinuxUtilities.lookup_module_address( + vmlinux, handlers, threadfn + ) + + fields = [ + task.pid, + thread_name, + format_hints.Hex(threadfn), + module_name, + symbol_name, + ] + yield 0, fields + + def run(self): + return renderers.TreeGrid( + [ + ("TID", int), + ("Thread Name", str), + ("Handler Address", format_hints.Hex), + ("Module", str), + ("Symbol", str), + ], + self._generator(), + ) From 780f9ab6f569af2c4e0095cb529736c2d5ef992d Mon Sep 17 00:00:00 2001 From: eve Date: Tue, 12 Nov 2024 07:22:45 +0000 Subject: [PATCH 0854/2186] Volshell: add regex_scan --- volatility3/cli/volshell/generic.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index a0477656e..9936244ee 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -14,7 +14,7 @@ from urllib import parse, request from volatility3.cli import text_renderer, volshell from volatility3.framework import exceptions, interfaces, objects, plugins, renderers from volatility3.framework.configuration import requirements -from volatility3.framework.layers import intel, physical, resources +from volatility3.framework.layers import intel, physical, resources, scanners try: import capstone @@ -149,6 +149,7 @@ class Volshell(interfaces.plugins.PluginInterface): (["cc", "create_configurable"], self.create_configurable), (["lf", "load_file"], self.load_file), (["rs", "run_script"], self.run_script), + (["re", "regex_scan"], self.regex_scan), ] def _construct_locals_dict(self) -> Dict[str, Any]: @@ -288,6 +289,21 @@ class Volshell(interfaces.plugins.PluginInterface): remaining_data = self._read_data(offset, count=count, layer_name=layer_name) self._display_data(offset, remaining_data, format_string="H") + def regex_scan(self, pattern, count=128, layer_name=None): + """Scans for regex pattern in layer using RegExScanner.""" + if not isinstance(pattern, bytes): + raise TypeError("pattern must be bytes, e.g. re(b'pattern')") + layer_name_to_scan = layer_name or self.current_layer + for offset in self.context.layers[layer_name_to_scan].scan( + scanner=scanners.RegExScanner(pattern), + context=self.context, + ): + remaining_data = self._read_data( + offset, count=count, layer_name=layer_name_to_scan + ) + self._display_data(offset, remaining_data) + print("") + def disassemble(self, offset, count=128, layer_name=None, architecture=None): """Disassembles a number of instructions from the code at offset""" remaining_data = self._read_data(offset, count=count, layer_name=layer_name) From 8efe429719f50603e35a170b3eb37e39fc43f5fc Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 12 Nov 2024 18:32:26 +1100 Subject: [PATCH 0855/2186] Linux: kthreads plugin: Adjust required framework version --- volatility3/framework/plugins/linux/kthreads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py index 639759e49..263793495 100644 --- a/volatility3/framework/plugins/linux/kthreads.py +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -19,7 +19,7 @@ vollog = logging.getLogger(__name__) class Kthreads(plugins.PluginInterface): """Enumerates kthread functions""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 11, 0) _version = (1, 0, 0) From 787e15ac2b51987db496f38b6d9fa17e4eb43fe9 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 13 Nov 2024 09:50:08 +1100 Subject: [PATCH 0856/2186] Linux: kthreads plugin: Add missing requirements --- volatility3/framework/plugins/linux/kthreads.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py index 263793495..2e51b4688 100644 --- a/volatility3/framework/plugins/linux/kthreads.py +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -34,6 +34,12 @@ class Kthreads(plugins.PluginInterface): requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 3, 0) + ), + requirements.PluginRequirement( + name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + ), ] def _generator(self): From 05e8f8ff1075adbb398076a7d91701ba256b8d8a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 13 Nov 2024 12:20:03 +1100 Subject: [PATCH 0857/2186] intel layer: Move constants to the Intel class --- .../framework/constants/linux/__init__.py | 8 ------- volatility3/framework/layers/intel.py | 24 ++++++++++++------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 303c534ed..7c485d3c3 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -11,14 +11,6 @@ KERNEL_NAME = "__kernel__" """The value hard coded from the Linux Kernel (hence not extracted from the layer itself)""" -# Translation Layer constants -PAGE_BIT_PRESENT = 0 -PAGE_BIT_PSE = 7 # Page Size Extension: 4 MB (or 2MB) page -PAGE_BIT_PROTNONE = 8 -PAGE_BIT_PAT_LARGE = 12 # 2MB or 1GB pages -PAGE_PRESENT = 1 << PAGE_BIT_PRESENT -PAGE_PROTNONE = 1 << PAGE_BIT_PROTNONE - # include/linux/sched.h PF_KTHREAD = 0x00200000 # I'm a kernel thread diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index e6d20d992..25a98fc21 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -13,7 +13,6 @@ from volatility3 import classproperty from volatility3.framework import exceptions, interfaces, constants from volatility3.framework.configuration import requirements from volatility3.framework.layers import linear -from volatility3.framework.constants import linux as linux_constants vollog = logging.getLogger(__name__) @@ -23,6 +22,16 @@ INTEL_TRANSLATION_DEBUGGING = False class Intel(linear.LinearlyMappedLayer): """Translation Layer for the Intel IA32 memory mapping.""" + _PAGE_BIT_PRESENT = 0 + _PAGE_BIT_PSE = 7 # Page Size Extension: 4 MB (or 2MB) page + _PAGE_BIT_PROTNONE = 8 + _PAGE_BIT_PAT_LARGE = 12 # 2MB or 1GB pages + + _PAGE_PRESENT = 1 << _PAGE_BIT_PRESENT + _PAGE_PSE = 1 << _PAGE_BIT_PSE + _PAGE_PROTNONE = 1 << _PAGE_BIT_PROTNONE + _PAGE_PAT_LARGE = 1 << _PAGE_BIT_PAT_LARGE + _entry_format = " bool: - return ( - self.pte_flags(entry) - & (linux_constants.PAGE_PRESENT | linux_constants.PAGE_PROTNONE) - ) != 0 + return (self.pte_flags(entry) & (self._PAGE_PRESENT | self._PAGE_PROTNONE)) != 0 def _page_is_valid(self, entry: int) -> bool: # Overrides the Intel static method with the Linux-specific implementation @@ -556,7 +562,7 @@ class LinuxMixin(Intel): def pte_needs_invert(self, entry) -> bool: # Entries that were set to PROT_NONE (PAGE_PRESENT/PAGE_GLOBAL) are inverted - return not (entry & linux_constants.PAGE_PRESENT) + return not (entry & self._PAGE_PRESENT) def protnone_mask(self, entry: int) -> int: """Gets a mask to XOR with the page table entry to get the correct PFN""" From 36c19aa6d91b561ab57db34eb6c6a2ba7bbe2316 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 13 Nov 2024 12:21:03 +1100 Subject: [PATCH 0858/2186] core: Bump framework minor version --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index ce803a687..55ef19e4b 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 11 # Number of changes that only add to the interface +VERSION_MINOR = 12 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" From 173e35105a6fc614e0ae329331e8e21e63f52f14 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 13 Nov 2024 12:30:11 +1100 Subject: [PATCH 0859/2186] LinuxMixin: Make new methods internal --- volatility3/framework/layers/intel.py | 46 ++++++++++++++------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 25a98fc21..dc88c20bf 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -174,13 +174,13 @@ class Intel(linear.LinearlyMappedLayer): f"Page Fault at entry {hex(entry)} in page entry", ) - pfn = self.pte_pfn(entry) + pfn = self._pte_pfn(entry) page_offset = self._mask(offset, position, 0) page = pfn << self.page_shift | page_offset return page, 1 << (position + 1), self._base_layer - def pte_pfn(self, entry: int) -> int: + def _pte_pfn(self, entry: int) -> int: """Extracts the page frame number (PFN) from the page table entry (PTE) entry""" return entry >> self.page_shift @@ -520,11 +520,11 @@ class WindowsIntel32e(WindowsMixin, Intel32e): class LinuxMixin(Intel): @functools.cached_property - def register_mask(self) -> int: + def _register_mask(self) -> int: return (1 << self._bits_per_register) - 1 @functools.cached_property - def physical_mask(self) -> int: + def _physical_mask(self) -> int: # From kernels 4.18 the physical mask is dynamic: See AMD SME, Intel Multi-Key Total # Memory Encryption and CONFIG_DYNAMIC_PHYSICAL_MASK: 94d49eb30e854c84d1319095b5dd0405a7da9362 physical_mask = (1 << self._maxphyaddr) - 1 @@ -536,42 +536,44 @@ class LinuxMixin(Intel): # Note that within the Intel class it's a class method. However, since it uses # complement operations and we are working in Python, it would be more careful to # limit it to the architecture's pointer size. - return ~(self.page_size - 1) & self.register_mask + return ~(self.page_size - 1) & self._register_mask @functools.cached_property - def physical_page_mask(self) -> int: - return self.page_mask & self.physical_mask + def _physical_page_mask(self) -> int: + return self.page_mask & self._physical_mask @functools.cached_property - def pte_pfn_mask(self) -> int: - return self.physical_page_mask + def _pte_pfn_mask(self) -> int: + return self._physical_page_mask @functools.cached_property - def pte_flags_mask(self) -> int: - return ~self.pte_pfn_mask & self.register_mask + def _pte_flags_mask(self) -> int: + return ~self._pte_pfn_mask & self._register_mask - def pte_flags(self, pte) -> int: - return pte & self.pte_flags_mask + def _pte_flags(self, pte) -> int: + return pte & self._pte_flags_mask - def is_pte_present(self, entry: int) -> bool: - return (self.pte_flags(entry) & (self._PAGE_PRESENT | self._PAGE_PROTNONE)) != 0 + def _is_pte_present(self, entry: int) -> bool: + return ( + self._pte_flags(entry) & (self._PAGE_PRESENT | self._PAGE_PROTNONE) + ) != 0 def _page_is_valid(self, entry: int) -> bool: # Overrides the Intel static method with the Linux-specific implementation - return self.is_pte_present(entry) + return self._is_pte_present(entry) - def pte_needs_invert(self, entry) -> bool: + def _pte_needs_invert(self, entry) -> bool: # Entries that were set to PROT_NONE (PAGE_PRESENT/PAGE_GLOBAL) are inverted return not (entry & self._PAGE_PRESENT) - def protnone_mask(self, entry: int) -> int: + def _protnone_mask(self, entry: int) -> int: """Gets a mask to XOR with the page table entry to get the correct PFN""" - return ~0 & self.register_mask if self.pte_needs_invert(entry) else 0 + return ~0 & self._register_mask if self._pte_needs_invert(entry) else 0 - def pte_pfn(self, entry: int) -> int: + def _pte_pfn(self, entry: int) -> int: """Extracts the page frame number from the page table entry""" - pfn = entry ^ self.protnone_mask(entry) - return (pfn & self.pte_pfn_mask) >> self.page_shift + pfn = entry ^ self._protnone_mask(entry) + return (pfn & self._pte_pfn_mask) >> self.page_shift class LinuxIntel(LinuxMixin, Intel): From af7a420cdc14689ee6d2ff72d5ac8eefad9e833d Mon Sep 17 00:00:00 2001 From: eve Date: Wed, 13 Nov 2024 08:56:58 +0000 Subject: [PATCH 0860/2186] Volshell: rename regex_scan short hand to rx so that it does not clash with the built in python re module --- volatility3/cli/volshell/generic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 9936244ee..b196360d5 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -149,7 +149,7 @@ class Volshell(interfaces.plugins.PluginInterface): (["cc", "create_configurable"], self.create_configurable), (["lf", "load_file"], self.load_file), (["rs", "run_script"], self.run_script), - (["re", "regex_scan"], self.regex_scan), + (["rx", "regex_scan"], self.regex_scan), ] def _construct_locals_dict(self) -> Dict[str, Any]: @@ -292,7 +292,7 @@ class Volshell(interfaces.plugins.PluginInterface): def regex_scan(self, pattern, count=128, layer_name=None): """Scans for regex pattern in layer using RegExScanner.""" if not isinstance(pattern, bytes): - raise TypeError("pattern must be bytes, e.g. re(b'pattern')") + raise TypeError("pattern must be bytes, e.g. rx(b'pattern')") layer_name_to_scan = layer_name or self.current_layer for offset in self.context.layers[layer_name_to_scan].scan( scanner=scanners.RegExScanner(pattern), From 5ab97564ac025978ab3baebe143a259111d6fbd3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 14 Nov 2024 16:37:05 +1100 Subject: [PATCH 0861/2186] linux: intel VMCoreInfo: Move to its own stacker... Maximize use of VMCOREINFO data without reliance on ISF symbols: - Obtain the DTB - Utilize OSRELEASE (the same as UTS_RELEASE used in the Linux banner and init_uts_ns/new_utsname) to prefilter the list of Linux banners, reducing search time for linux_banner in memory. - Find the correct layer using the VMCOREINFO data (including 32bit PAE). --- volatility3/framework/automagic/linux.py | 302 ++++++++++++++++------- 1 file changed, 212 insertions(+), 90 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 248bbf04d..f877d1cd0 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -122,7 +122,7 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): return None @classmethod - def find_aslr_classic( + def find_aslr( cls, context: interfaces.context.ContextInterface, symbol_table: str, @@ -198,101 +198,14 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): vollog.debug("Scanners could not determine any ASLR shifts, using 0 for both") return 0, 0 - @classmethod - def find_aslr_vmcoreinfo( - cls, - context: interfaces.context.ContextInterface, - layer_name: str, - progress_callback: constants.ProgressCallback = None, - ) -> Optional[Tuple[int, int]]: - """Determines the ASLR offsets using the VMCOREINFO ELF note - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The layer within the context in which the module exists - progress_callback: A function that takes a percentage (and an optional description) that will be called periodically - - Returns: - kaslr_shirt and aslr_shift - """ - - for ( - _vmcoreinfo_offset, - vmcoreinfo, - ) in linux.VMCoreInfo.search_vmcoreinfo_elf_note( - context=context, - layer_name=layer_name, - progress_callback=progress_callback, - ): - - phys_base_str = vmcoreinfo.get("NUMBER(phys_base)") - if phys_base_str is None: - # We are in kernel (x86) < 4.10 401721ecd1dcb0a428aa5d6832ee05ffbdbffbbe where it was SYMBOL(phys_base) - # It's the symbol address instead of the value itself, which is useless for calculating the physical address. - continue - - kerneloffset_str = vmcoreinfo.get("KERNELOFFSET") - if kerneloffset_str is None: - # KERNELOFFSET: (x86) kernels < 3.13 b6085a865762236bb84934161273cdac6dd11c2d - continue - - aslr_shift = int(kerneloffset_str, 16) - kaslr_shift = int(phys_base_str) + aslr_shift - - vollog.debug( - "Linux ASLR shift values found in VMCOREINFO ELF note: physical 0x%x virtual 0x%x", - kaslr_shift, - aslr_shift, - ) - - return kaslr_shift, aslr_shift - - vollog.debug("The vmcoreinfo scanner could not determine any ASLR shifts") - return None - - @classmethod - def virtual_to_physical_address(cls, addr: int) -> int: + @staticmethod + def virtual_to_physical_address(addr: int) -> int: """Converts a virtual linux address to a physical one (does not account of ASLR)""" if addr > 0xFFFFFFFF80000000: return addr - 0xFFFFFFFF80000000 return addr - 0xC0000000 - @classmethod - def find_aslr( - cls, - context: interfaces.context.ContextInterface, - symbol_table: str, - layer_name: str, - progress_callback: constants.ProgressCallback = None, - ) -> Tuple[int, int]: - """Determines the offset of the actual DTB in physical space and its - symbol offset. - Args: - context: The context to retrieve required elements (layers, symbol tables) from - symbol_table: The name of the kernel module on which to operate - layer_name: The layer within the context in which the module exists - progress_callback: A function that takes a percentage (and an optional description) that will be called periodically - - Returns: - kaslr_shirt and aslr_shift - """ - - aslr_shifts = cls.find_aslr_vmcoreinfo( - context, layer_name, progress_callback=progress_callback - ) - if aslr_shifts: - kaslr_shift, aslr_shift = aslr_shifts - else: - # Fallback to the traditional scanner method - kaslr_shift, aslr_shift = cls.find_aslr_classic( - context, - symbol_table, - layer_name, - progress_callback=progress_callback, - ) - return kaslr_shift, aslr_shift - class LinuxSymbolFinder(symbol_finder.SymbolFinder): """Linux symbol loader based on uname signature strings.""" @@ -302,3 +215,212 @@ class LinuxSymbolFinder(symbol_finder.SymbolFinder): symbol_class = "volatility3.framework.symbols.linux.LinuxKernelIntermedSymbols" find_aslr = lambda cls, *args: LinuxIntelStacker.find_aslr(*args)[1] exclusion_list = ["mac", "windows"] + + +class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): + stack_order = 34 + exclusion_list = ["mac", "windows"] + + @staticmethod + def _check_versions() -> bool: + """Verify the versions of the required modules""" + + # Check SQlite cache version + sqlitecache_version_required = (1, 0, 0) + if not requirements.VersionRequirement.matches_required( + sqlitecache_version_required, symbol_cache.SqliteCache.version + ): + vollog.info( + "SQLiteCache version not suitable: required %s found %s", + sqlitecache_version_required, + symbol_cache.SqliteCache.version, + ) + return False + + # Check VMCOREINFO API version + vmcoreinfo_version_required = (1, 0, 0) + if not requirements.VersionRequirement.matches_required( + vmcoreinfo_version_required, linux.VMCoreInfo._version + ): + vollog.info( + "VMCOREINFO version not suitable: required %s found %s", + vmcoreinfo_version_required, + linux.VMCoreInfo._version, + ) + return False + + return True + + @classmethod + def stack( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + progress_callback: constants.ProgressCallback = None, + ) -> Optional[interfaces.layers.DataLayerInterface]: + """Attempts to identify linux within this layer.""" + + # Verify the versions of the required modules + if not cls._check_versions(): + return None + + # Bail out by default unless we can stack properly + layer = context.layers[layer_name] + + # Never stack on top of an intel layer + # FIXME: Find a way to improve this check + if isinstance(layer, intel.Intel): + return None + + identifiers_path = os.path.join( + constants.CACHE_PATH, constants.IDENTIFIERS_FILENAME + ) + sqlite_cache = symbol_cache.SqliteCache(identifiers_path) + linux_banners = sqlite_cache.get_identifier_dictionary(operating_system="linux") + if not linux_banners: + # If we have no banners, don't bother scanning + vollog.info( + "No Linux banners found - if this is a linux plugin, please check your " + "symbol files location" + ) + return None + + vmcoreinfo_elf_notes_iter = linux.VMCoreInfo.search_vmcoreinfo_elf_note( + context=context, + layer_name=layer_name, + progress_callback=progress_callback, + ) + + # Iterate through each VMCOREINFO ELF note found, using the first one that is valid. + for _vmcoreinfo_offset, vmcoreinfo in vmcoreinfo_elf_notes_iter: + shifts = cls._vmcoreinfo_find_aslr(vmcoreinfo) + if not shifts: + # Let's try the next vmcoreinfo, in case this one isn't correct. + continue + + kaslr_shift, aslr_shift = shifts + + dtb = cls._vmcoreinfo_get_dtb(vmcoreinfo, aslr_shift, kaslr_shift) + + is_32bit, is_pae = cls._vmcoreinfo_is_32bit(vmcoreinfo) + if is_32bit: + layer_class = intel.IntelPAE if is_pae else intel.Intel + else: + layer_class = intel.Intel32e + + uts_release = vmcoreinfo["OSRELEASE"] + + # See how linux_banner constant is built in the linux kernel + linux_version_prefix = f"Linux version {uts_release} (".encode() + valid_banners = [ + x for x in linux_banners if x and x.startswith(linux_version_prefix) + ] + if not valid_banners: + # There's no banner matching this VMCOREINFO, keep trying with the next one + continue + + join = interfaces.configuration.path_join + mss = scanners.MultiStringScanner(valid_banners) + for _, banner in layer.scan( + context=context, scanner=mss, progress_callback=progress_callback + ): + isf_path = linux_banners.get(banner, None) + if not isf_path: + vollog.warning( + "Identified banner %r, but no matching ISF is available.", + banner, + ) + continue + + vollog.debug("Identified banner: %r", banner) + table_name = context.symbol_space.free_table_name("LintelStacker") + table = linux.LinuxKernelIntermedSymbols( + context, + f"temporary.{table_name}", + name=table_name, + isf_url=isf_path, + ) + context.symbol_space.append(table) + + # Build the new layer + new_layer_name = context.layers.free_layer_name("IntelLayer") + config_path = join("IntelHelper", new_layer_name) + kernel_banner = LinuxSymbolFinder.banner_config_key + banner_str = banner.decode(encoding="latin-1") + context.config[join(config_path, "memory_layer")] = layer_name + context.config[join(config_path, "page_map_offset")] = dtb + context.config[join(config_path, kernel_banner)] = banner_str + layer = layer_class( + context, + config_path=config_path, + name=new_layer_name, + metadata={"os": "Linux"}, + ) + layer.config["kernel_virtual_offset"] = aslr_shift + + if layer and dtb: + vollog.debug( + "Values found in VMCOREINFO: KASLR=0x%x, ASLR=0x%x, DTB=0x%x", + kaslr_shift, + aslr_shift, + dtb, + ) + + return layer + + vollog.debug("No suitable linux banner could be matched") + return None + + @staticmethod + def _vmcoreinfo_find_aslr(vmcoreinfo) -> Tuple[int, int]: + phys_base_str = vmcoreinfo.get("NUMBER(phys_base)") + if phys_base_str is None: + # In kernel < 4.10, there may be a SYMBOL(phys_base), but as noted in the + # c401721ecd1dcb0a428aa5d6832ee05ffbdbffbbe commit comment, this value + # isn't useful for calculating the physical address. + # There's nothing we can do here, so let's try with the next VMCOREINFO or + # the next Stacker. + return None + + # kernels 3.14 (b6085a865762236bb84934161273cdac6dd11c2d) KERNELOFFSET was added + kerneloffset_str = vmcoreinfo.get("KERNELOFFSET") + if kerneloffset_str is None: + # kernels < 3.14 if KERNELOFFSET is missing, KASLR might not be implemented. + # Oddly, NUMBER(phys_base) is present without it. To be safe, proceed only + # if both are present. + return None + + aslr_shift = int(kerneloffset_str, 16) + kaslr_shift = int(phys_base_str) + aslr_shift + + return kaslr_shift, aslr_shift + + @staticmethod + def _vmcoreinfo_get_dtb(vmcoreinfo, aslr_shift, kaslr_shift) -> int: + """Returns the page global directory address physical (a.k.a DTB or PGD)""" + # In x86-64, since kernels 2.5.22 swapper_pg_dir is a macro to the respective pgd. + # First, in e3ebadd95cb621e2c7436f3d3646447ac9d5c16d to init_level4_pgt, and later + # in kernels 4.13 in 65ade2f872b474fa8a04c2d397783350326634e6) to init_top_pgt. + # In x86-32, the pgd is swapper_pg_dir. So, in any case, for VMCOREINFO + # SYMBOL(swapper_pg_dir) will always have the right value. + dtb_vaddr = int(vmcoreinfo["SYMBOL(swapper_pg_dir)"], 16) + dtb_paddr = ( + LinuxIntelStacker.virtual_to_physical_address(dtb_vaddr) + - aslr_shift + + kaslr_shift + ) + + return dtb_paddr + + @staticmethod + def _vmcoreinfo_is_32bit(vmcoreinfo) -> Tuple[bool, bool]: + """Returns a tuple of booleans with is_32bit and is_pae values""" + is_pae = vmcoreinfo.get("CONFIG_X86_PAE", "n") == "y" + if is_pae: + is_32bit = True + else: + # Check the swapper_pg_dir virtual address size + dtb_vaddr = int(vmcoreinfo["SYMBOL(swapper_pg_dir)"], 16) + is_32bit = dtb_vaddr <= 2**32 + + return is_32bit, is_pae From 00b528aafe4205946e2b1ce11b4a203eaf467ec2 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 14 Nov 2024 18:57:26 +1100 Subject: [PATCH 0862/2186] linux: intel VMCoreInfo: Fix docstring typo --- volatility3/framework/automagic/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index f877d1cd0..556a02c1f 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -397,7 +397,7 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): @staticmethod def _vmcoreinfo_get_dtb(vmcoreinfo, aslr_shift, kaslr_shift) -> int: - """Returns the page global directory address physical (a.k.a DTB or PGD)""" + """Returns the page global directory physical address (a.k.a DTB or PGD)""" # In x86-64, since kernels 2.5.22 swapper_pg_dir is a macro to the respective pgd. # First, in e3ebadd95cb621e2c7436f3d3646447ac9d5c16d to init_level4_pgt, and later # in kernels 4.13 in 65ade2f872b474fa8a04c2d397783350326634e6) to init_top_pgt. From 41a93473e987bb43bca8e8095dddd890a1a1b351 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 14 Nov 2024 19:35:47 +1100 Subject: [PATCH 0863/2186] linux: intel VMCoreInfo: Improve layer config code --- volatility3/framework/automagic/linux.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 556a02c1f..c92fa05c4 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -347,16 +347,16 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): config_path = join("IntelHelper", new_layer_name) kernel_banner = LinuxSymbolFinder.banner_config_key banner_str = banner.decode(encoding="latin-1") + context.config[join(config_path, kernel_banner)] = banner_str context.config[join(config_path, "memory_layer")] = layer_name context.config[join(config_path, "page_map_offset")] = dtb - context.config[join(config_path, kernel_banner)] = banner_str + context.config[join(config_path, "kernel_virtual_offset")] = aslr_shift layer = layer_class( context, config_path=config_path, name=new_layer_name, metadata={"os": "Linux"}, ) - layer.config["kernel_virtual_offset"] = aslr_shift if layer and dtb: vollog.debug( From 357d8a914b4a69d231b4ed9de3aecdcf7179be7f Mon Sep 17 00:00:00 2001 From: eve Date: Thu, 14 Nov 2024 10:55:41 +0000 Subject: [PATCH 0864/2186] Volshell: Make the default number of bytes returned by db, dw, dd, dq, rx, and dis use the constant DEFAULT_NUM_DISPLAY_BYTES --- volatility3/cli/volshell/generic.py | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index b196360d5..82c470e1a 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -29,6 +29,8 @@ class Volshell(interfaces.plugins.PluginInterface): _required_framework_version = (2, 0, 0) + DEFAULT_NUM_DISPLAY_BYTES = 128 + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.__current_layer: Optional[str] = None @@ -269,27 +271,31 @@ class Volshell(interfaces.plugins.PluginInterface): self.__current_kernel_name = kernel_name print(f"Current kernel : {self.current_kernel_name}") - def display_bytes(self, offset, count=128, layer_name=None): + def display_bytes(self, offset, count=DEFAULT_NUM_DISPLAY_BYTES, layer_name=None): """Displays byte values and ASCII characters""" remaining_data = self._read_data(offset, count=count, layer_name=layer_name) self._display_data(offset, remaining_data) - def display_quadwords(self, offset, count=128, layer_name=None): + def display_quadwords( + self, offset, count=DEFAULT_NUM_DISPLAY_BYTES, layer_name=None + ): """Displays quad-word values (8 bytes) and corresponding ASCII characters""" remaining_data = self._read_data(offset, count=count, layer_name=layer_name) self._display_data(offset, remaining_data, format_string="Q") - def display_doublewords(self, offset, count=128, layer_name=None): + def display_doublewords( + self, offset, count=DEFAULT_NUM_DISPLAY_BYTES, layer_name=None + ): """Displays double-word values (4 bytes) and corresponding ASCII characters""" remaining_data = self._read_data(offset, count=count, layer_name=layer_name) self._display_data(offset, remaining_data, format_string="I") - def display_words(self, offset, count=128, layer_name=None): + def display_words(self, offset, count=DEFAULT_NUM_DISPLAY_BYTES, layer_name=None): """Displays word values (2 bytes) and corresponding ASCII characters""" remaining_data = self._read_data(offset, count=count, layer_name=layer_name) self._display_data(offset, remaining_data, format_string="H") - def regex_scan(self, pattern, count=128, layer_name=None): + def regex_scan(self, pattern, count=DEFAULT_NUM_DISPLAY_BYTES, layer_name=None): """Scans for regex pattern in layer using RegExScanner.""" if not isinstance(pattern, bytes): raise TypeError("pattern must be bytes, e.g. rx(b'pattern')") @@ -304,7 +310,13 @@ class Volshell(interfaces.plugins.PluginInterface): self._display_data(offset, remaining_data) print("") - def disassemble(self, offset, count=128, layer_name=None, architecture=None): + def disassemble( + self, + offset, + count=DEFAULT_NUM_DISPLAY_BYTES, + layer_name=None, + architecture=None, + ): """Disassembles a number of instructions from the code at offset""" remaining_data = self._read_data(offset, count=count, layer_name=layer_name) if not has_capstone: From bee3f001b66fa6a9ba9b1e325cb2fa2e273f8ff2 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 15 Nov 2024 11:31:30 +1100 Subject: [PATCH 0865/2186] linux: netfilter plugin: Enhance docstring to provide a clearer explanation of 'hooked' --- volatility3/framework/plugins/linux/netfilter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 66075f907..b371d5ad2 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -174,7 +174,7 @@ class AbstractNetfilter(ABC): priority [int]: Priority hook_ops_hook [int]: Hook address module_name [str]: Linux kernel module name - hooked [bool]: hooked? + hooked [bool]: "True" if the network stack has been hijacked """ for netns, net in self.get_net_namespaces(): for proto_idx, proto_name, hook_idx, hook_name in self._proto_hook_loop(): From c909fdd4e76af6f8743a5df9b2ab38c981e68003 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 15 Nov 2024 11:53:05 +1100 Subject: [PATCH 0866/2186] linux: netfilter plugin: Bump minor version --- volatility3/framework/plugins/linux/netfilter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index b371d5ad2..73496dfd9 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -675,7 +675,7 @@ class Netfilter(interfaces.plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 1, 0) _required_linuxutils_version = (2, 1, 0) _required_lsmod_version = (2, 0, 0) From b802b16c62ff5a50ea2dbc659450dc6d1fd5e83e Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 15 Nov 2024 13:03:36 +0000 Subject: [PATCH 0867/2186] Add first version of regex scanning plugins --- .../framework/plugins/linux/vmaregexscan.py | 127 +++++++++++++++++ volatility3/framework/plugins/regexscan.py | 77 +++++++++++ .../framework/plugins/windows/vadregexscan.py | 128 ++++++++++++++++++ 3 files changed, 332 insertions(+) create mode 100644 volatility3/framework/plugins/linux/vmaregexscan.py create mode 100644 volatility3/framework/plugins/regexscan.py create mode 100644 volatility3/framework/plugins/windows/vadregexscan.py diff --git a/volatility3/framework/plugins/linux/vmaregexscan.py b/volatility3/framework/plugins/linux/vmaregexscan.py new file mode 100644 index 000000000..83df5458f --- /dev/null +++ b/volatility3/framework/plugins/linux/vmaregexscan.py @@ -0,0 +1,127 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +import re + +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.layers import scanners +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.plugins.linux import pslist + +vollog = logging.getLogger(__name__) + + +class VmaRegExScan(plugins.PluginInterface): + """Scans all virtual memory areas for tasks using RegEx.""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + MAXSIZE_DEFAULT = 128 + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.ListRequirement( + name="pid", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + requirements.StringRequirement( + name="pattern", description="RegEx pattern", optional=False + ), + requirements.IntRequirement( + name="maxsize", + description="Maximum size in bytes for displayed context", + default=cls.MAXSIZE_DEFAULT, + optional=True, + ), + ] + + def _generator(self, regex_pattern, tasks): + regex_pattern = bytes(regex_pattern, "UTF-8") + vollog.debug(f"RegEx Pattern: {regex_pattern}") + + for task in tasks: + + if not task.mm: + continue + name = utility.array_to_string(task.comm) + + # attempt to create a process layer for each task and skip those + # that cannot (e.g. kernel threads) + proc_layer_name = task.add_process_layer() + if not proc_layer_name: + continue + + # get the proc_layer object from the context + proc_layer = self.context.layers[proc_layer_name] + + # get process sections for scanning + sections = [ + (start, size) for (start, size) in task.get_process_memory_sections() + ] + + for offset in proc_layer.scan( + context=self.context, + scanner=scanners.RegExScanner(regex_pattern), + sections=sections, + progress_callback=self._progress_callback, + ): + result_data = proc_layer.read(offset, self.MAXSIZE_DEFAULT, pad=True) + + # reapply the regex in order to extact just the match + regex_result = re.match(regex_pattern, result_data) + + if regex_result: + # the match is within the results_data (e.g. it fits within MAXSIZE_DEFAULT) + # extract just the match itself + regex_match = regex_result.group(0) + text_result = str(regex_match, encoding="UTF-8", errors="replace") + bytes_result = regex_match + else: + # the match is not with the results_data (e.g. it doesn't fit within MAXSIZE_DEFAULT) + text_result = str(result_data, encoding="UTF-8", errors="replace") + bytes_result = result_data + + user_pid = task.tgid + yield 0, ( + user_pid, + name, + format_hints.Hex(offset), + text_result, + bytes_result, + ) + + def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("Offset", format_hints.Hex), + ("Text", str), + ("Hex", bytes), + ], + self._generator( + self.config.get("pattern"), + pslist.PsList.list_tasks( + self.context, self.config["kernel"], filter_func=filter_func + ), + ), + ) diff --git a/volatility3/framework/plugins/regexscan.py b/volatility3/framework/plugins/regexscan.py new file mode 100644 index 000000000..d47a16407 --- /dev/null +++ b/volatility3/framework/plugins/regexscan.py @@ -0,0 +1,77 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +import re + +from volatility3.framework import interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.layers import scanners +from volatility3.framework.renderers import format_hints + +vollog = logging.getLogger(__name__) + + +class RegExScan(plugins.PluginInterface): + """Scans kernel memory using RegEx patterns.""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + MAXSIZE_DEFAULT = 128 + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.TranslationLayerRequirement( + name="primary", + description="Memory layer for the kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.StringRequirement( + name="pattern", description="RegEx pattern", optional=False + ), + requirements.IntRequirement( + name="maxsize", + description="Maximum size in bytes for displayed context", + default=cls.MAXSIZE_DEFAULT, + optional=True, + ), + ] + + def _generator(self, regex_pattern): + regex_pattern = bytes(regex_pattern, "UTF-8") + vollog.debug(f"RegEx Pattern: {regex_pattern}") + + layer = self.context.layers[self.config["primary"]] + for offset in layer.scan( + context=self.context, scanner=scanners.RegExScanner(regex_pattern) + ): + result_data = layer.read(offset, self.MAXSIZE_DEFAULT, pad=True) + + # reapply the regex in order to extact just the match + regex_result = re.match(regex_pattern, result_data) + + if regex_result: + # the match is within the results_data (e.g. it fits within MAXSIZE_DEFAULT) + # extract just the match itself + regex_match = regex_result.group(0) + text_result = str(regex_match, encoding="UTF-8", errors="replace") + bytes_result = regex_match + else: + # the match is not with the results_data (e.g. it doesn't fit within MAXSIZE_DEFAULT) + text_result = str(result_data, encoding="UTF-8", errors="replace") + bytes_result = result_data + + yield 0, (format_hints.Hex(offset), text_result, bytes_result) + + def run(self): + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("Text", str), + ("Hex", bytes), + ], + self._generator(self.config.get("pattern")), + ) diff --git a/volatility3/framework/plugins/windows/vadregexscan.py b/volatility3/framework/plugins/windows/vadregexscan.py new file mode 100644 index 000000000..742b00ace --- /dev/null +++ b/volatility3/framework/plugins/windows/vadregexscan.py @@ -0,0 +1,128 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +import re + +from volatility3.framework import interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.layers import scanners +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import pslist, vadyarascan + +vollog = logging.getLogger(__name__) + + +class VadRegExScan(plugins.PluginInterface): + """Scans all virtual memory areas for tasks using RegEx.""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + MAXSIZE_DEFAULT = 128 + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.PluginRequirement( + name="vadyarascan", plugin=vadyarascan.VadYaraScan, version=(1, 0, 0) + ), + requirements.ListRequirement( + name="pid", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + requirements.StringRequirement( + name="pattern", description="RegEx pattern", optional=False + ), + requirements.IntRequirement( + name="maxsize", + description="Maximum size in bytes for displayed context", + default=cls.MAXSIZE_DEFAULT, + optional=True, + ), + ] + + def _generator(self, regex_pattern, procs): + regex_pattern = bytes(regex_pattern, "UTF-8") + vollog.debug(f"RegEx Pattern: {regex_pattern}") + + for proc in procs: + + # attempt to create a process layer for each proc + proc_layer_name = proc.add_process_layer() + if not proc_layer_name: + continue + + # get the proc_layer object from the context + proc_layer = self.context.layers[proc_layer_name] + + # get process sections for scanning + sections = sections = vadyarascan.VadYaraScan.get_vad_maps(proc) + + for offset in proc_layer.scan( + context=self.context, + scanner=scanners.RegExScanner(regex_pattern), + sections=sections, + progress_callback=self._progress_callback, + ): + result_data = proc_layer.read(offset, self.MAXSIZE_DEFAULT, pad=True) + + # reapply the regex in order to extact just the match + regex_result = re.match(regex_pattern, result_data) + + if regex_result: + # the match is within the results_data (e.g. it fits within MAXSIZE_DEFAULT) + # extract just the match itself + regex_match = regex_result.group(0) + text_result = str(regex_match, encoding="UTF-8", errors="replace") + bytes_result = regex_match + else: + # the match is not with the results_data (e.g. it doesn't fit within MAXSIZE_DEFAULT) + text_result = str(result_data, encoding="UTF-8", errors="replace") + bytes_result = result_data + + proc_id = proc.UniqueProcessId + process_name = proc.ImageFileName.cast( + "string", + max_length=proc.ImageFileName.vol.count, + errors="replace", + ) + yield 0, ( + proc_id, + process_name, + format_hints.Hex(offset), + text_result, + bytes_result, + ) + + def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + kernel = self.context.modules[self.config["kernel"]] + procs = pslist.PsList.list_processes( + self.context, + kernel.layer_name, + kernel.symbol_table_name, + filter_func=filter_func, + ) + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("Offset", format_hints.Hex), + ("Text", str), + ("Hex", bytes), + ], + self._generator(self.config.get("pattern"), procs), + ) From c2058e744b9a0f1e213857f4712ba1d9fdf85964 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 15 Nov 2024 13:12:03 +0000 Subject: [PATCH 0868/2186] Fix missing type imports for regex plugins --- volatility3/framework/plugins/linux/vmaregexscan.py | 5 +++-- volatility3/framework/plugins/regexscan.py | 1 + volatility3/framework/plugins/windows/vadregexscan.py | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmaregexscan.py b/volatility3/framework/plugins/linux/vmaregexscan.py index 83df5458f..77ab29814 100644 --- a/volatility3/framework/plugins/linux/vmaregexscan.py +++ b/volatility3/framework/plugins/linux/vmaregexscan.py @@ -4,8 +4,9 @@ import logging import re +from typing import List -from volatility3.framework import renderers +from volatility3.framework import renderers, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.layers import scanners @@ -24,7 +25,7 @@ class VmaRegExScan(plugins.PluginInterface): MAXSIZE_DEFAULT = 128 @classmethod - def get_requirements(cls): + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: # Since we're calling the plugin, make sure we have the plugin's requirements return [ requirements.ModuleRequirement( diff --git a/volatility3/framework/plugins/regexscan.py b/volatility3/framework/plugins/regexscan.py index d47a16407..c526b1697 100644 --- a/volatility3/framework/plugins/regexscan.py +++ b/volatility3/framework/plugins/regexscan.py @@ -4,6 +4,7 @@ import logging import re +from typing import List from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements diff --git a/volatility3/framework/plugins/windows/vadregexscan.py b/volatility3/framework/plugins/windows/vadregexscan.py index 742b00ace..141508283 100644 --- a/volatility3/framework/plugins/windows/vadregexscan.py +++ b/volatility3/framework/plugins/windows/vadregexscan.py @@ -4,6 +4,7 @@ import logging import re +from typing import List from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements @@ -23,7 +24,7 @@ class VadRegExScan(plugins.PluginInterface): MAXSIZE_DEFAULT = 128 @classmethod - def get_requirements(cls): + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: # Since we're calling the plugin, make sure we have the plugin's requirements return [ requirements.ModuleRequirement( From aa93b57f0dde01b97bc94025447b242afa4c36b2 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 15 Nov 2024 13:15:40 +0000 Subject: [PATCH 0869/2186] Fix windows.vadregexscan sections --- volatility3/framework/plugins/windows/vadregexscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/vadregexscan.py b/volatility3/framework/plugins/windows/vadregexscan.py index 141508283..8d17c469c 100644 --- a/volatility3/framework/plugins/windows/vadregexscan.py +++ b/volatility3/framework/plugins/windows/vadregexscan.py @@ -70,7 +70,7 @@ class VadRegExScan(plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] # get process sections for scanning - sections = sections = vadyarascan.VadYaraScan.get_vad_maps(proc) + sections = vadyarascan.VadYaraScan.get_vad_maps(proc) for offset in proc_layer.scan( context=self.context, From 9f145ddcf0ddb84cf7ae45585ce7e9da0d204a17 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 15 Nov 2024 17:04:33 +0100 Subject: [PATCH 0870/2186] pillow dependency --- requirements.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/requirements.txt b/requirements.txt index e0d366391..21c8f9a76 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,3 +21,9 @@ leechcorepyc>=2.4.0; sys_platform != 'darwin' # This is required for memory analysis on a Amazon/MinIO S3 and Google Cloud object storage gcsfs>=2023.1.0 s3fs>=2023.1.0 + +# This is required by plugins that manipulate pixels and images. +# https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst +# 10.0.0 dropped support for Python3.7 +# 11.0.0 dropped support for Python3.8, which is still supported by Volatility3 +pillow>=10.0.0,<11.0.0 \ No newline at end of file From 36a18f405b8ba7605ca957ca47d540a5b7c520d7 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 15 Nov 2024 17:05:23 +0100 Subject: [PATCH 0871/2186] fourcc code converter helper --- volatility3/framework/symbols/linux/__init__.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 3289775b6..573bc66d8 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -483,6 +483,22 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return kernel + @classmethod + def convert_fourcc_code(cls, code: int) -> str: + """Convert a fourcc integer back to its fourcc string representation. + + Args: + code: the numerical representation of the fourcc + + Returns: + The fourcc code string. + """ + + code_bytes_length = (code.bit_length() + 7) // 8 + return "".join( + [chr((code >> (i * 8)) & 0xFF) for i in range(code_bytes_length)] + ) + class IDStorage(ABC): """Abstraction to support both XArray and RadixTree""" From a7620cd6f659dfa685a445536a240182225a778c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 15 Nov 2024 17:09:21 +0100 Subject: [PATCH 0872/2186] linux fbdev subsystem api plugin --- .../framework/plugins/linux/graphics/fbdev.py | 314 ++++++++++++++++++ 1 file changed, 314 insertions(+) create mode 100644 volatility3/framework/plugins/linux/graphics/fbdev.py diff --git a/volatility3/framework/plugins/linux/graphics/fbdev.py b/volatility3/framework/plugins/linux/graphics/fbdev.py new file mode 100644 index 000000000..4bde6f62f --- /dev/null +++ b/volatility3/framework/plugins/linux/graphics/fbdev.py @@ -0,0 +1,314 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +import io + +# Image manipulation functions are kept in the plugin, +# to prevent a general exit on missing PIL (pillow) dependency. +from PIL import Image +from dataclasses import dataclass +from typing import Type, List, Dict, Tuple +from volatility3.framework import constants, exceptions, interfaces +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints, TreeGrid, NotAvailableValue +from volatility3.framework.objects import utility +from volatility3.framework.constants import architectures +from volatility3.framework.symbols import linux + +vollog = logging.getLogger(__name__) + + +@dataclass +class Framebuffer: + """Framebuffer object internal representation. This is useful to unify an framebuffer with precalculated + properties and pass it through functions conveniently.""" + + id: str + xres_virtual: int + yres_virtual: int + line_length: int + bpp: int + """Bits Per Pixel""" + size: int + color_fields: Dict[str, Tuple[int, int, int]] + fb_info: interfaces.objects.ObjectInterface + + +class Fbdev(interfaces.plugins.PluginInterface): + """Extract framebuffers from the fbdev graphics subsystem""" + + _version = (1, 0, 0) + _required_framework_version = (2, 11, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=architectures.LINUX_ARCHS, + ), + requirements.BooleanRequirement( + name="dump", + description="Dump framebuffers", + default=False, + optional=True, + ), + ] + + @classmethod + def parse_fb_pixel_bitfields( + cls, fb_var_screeninfo: interfaces.objects.ObjectInterface + ) -> Dict[str, Tuple[int, int, int]]: + """Organize a framebuffer pixel format into a dictionary. + This is needed to know the position and bitlength of a color inside + a pixel. + + Args: + fb_var_screeninfo: a fb_var_screeninfo kernel object instance + + Returns: + The color fields mappings + + Documentation: + include/uapi/linux/fb.h: + struct fb_bitfield { + __u32 offset; /* beginning of bitfield */ + __u32 length; /* length of bitfield */ + __u32 msb_right; /* != 0 : Most significant bit is right */ + }; + """ + # Naturally order by RGBA + color_mappings = [ + ("R", fb_var_screeninfo.red), + ("G", fb_var_screeninfo.green), + ("B", fb_var_screeninfo.blue), + ("A", fb_var_screeninfo.transp), + ] + color_fields = {} + for color_code, fb_bitfield in color_mappings: + color_fields[color_code] = ( + int(fb_bitfield.offset), + int(fb_bitfield.length), + int(fb_bitfield.msb_right), + ) + return color_fields + + @classmethod + def convert_fb_raw_buffer_to_image( + cls, + context: interfaces.context.ContextInterface, + kernel_name: str, + fb: Framebuffer, + ) -> Image.Image: + """Convert raw framebuffer pixels to an image. + + Args: + fb: the relevant Framebuffer object + + Returns: + A PIL Image object + + Documentation: + include/uapi/linux/fb.h: + /* Interpretation of offset for color fields: All offsets are from the right, + * inside a "pixel" value, which is exactly 'bits_per_pixel' wide (means: you + * can use the offset as right argument to <<). A pixel afterwards is a bit + * stream and is written to video memory as that unmodified. + """ + kernel = context.modules[kernel_name] + kernel_layer = context.layers[kernel.layer_name] + + raw_pixels = io.BytesIO(kernel_layer.read(fb.fb_info.screen_base, fb.size)) + bytes_per_pixel = fb.bpp // 8 + image = Image.new("RGBA", (fb.xres_virtual, fb.yres_virtual)) + + # This is not designed to be extremely fast (numpy isn't available), + # but convenient and dynamic for any color field layout. + for y in range(fb.yres_virtual): + for x in range(fb.xres_virtual): + raw_pixel = int.from_bytes(raw_pixels.read(bytes_per_pixel), "little") + pixel = [0, 0, 0, 255] + # The framebuffer is expected to have been correctly constructed, + # especially by parse_fb_pixel_bitfields, to get the needed RGBA mappings. + for i, color_code in enumerate(["R", "G", "B", "A"]): + offset, length, msb_right = fb.color_fields[color_code] + if length == 0: + continue + color_value = (raw_pixel >> offset) & (2**length - 1) + if msb_right: + # Reverse bit order + color_value = int( + "{:0{length}b}".format(color_value, length=length)[::-1], 2 + ) + pixel[i] = color_value + image.putpixel((x, y), tuple(pixel)) + + return image + + @classmethod + def dump_fb( + cls, + context: interfaces.context.ContextInterface, + kernel_name: str, + open_method: Type[interfaces.plugins.FileHandlerInterface], + fb: Framebuffer, + convert_to_image: bool, + image_format: str = "PNG", + ) -> str: + """Dump a Framebuffer raw buffer to disk. + + Args: + fb: the relevant Framebuffer object + convert_to_image: a boolean specifying if the buffer should be converted to an image + image_format: the target PIL image format (defaults to PNG) + + Returns: + The filename of the dumped buffer. + """ + kernel = context.modules[kernel_name] + kernel_layer = context.layers[kernel.layer_name] + base_filename = f"{fb.id}_{fb.xres_virtual}x{fb.yres_virtual}_{fb.bpp}bpp" + if convert_to_image: + image = cls.convert_fb_raw_buffer_to_image(context, kernel_name, fb) + output = io.BytesIO() + image.save(output, image_format) + file_handle = open_method(f"{base_filename}.{image_format.lower()}") + file_handle.write(output.getvalue()) + else: + raw_pixels = kernel_layer.read(fb.fb_info.screen_base, fb.size) + file_handle = open_method(f"{base_filename}.raw") + file_handle.write(raw_pixels) + + file_handle.close() + return file_handle.preferred_filename + + @classmethod + def parse_fb_info( + cls, + fb_info: interfaces.objects.ObjectInterface, + ) -> Framebuffer: + """Parse an fb_info struct + Args: + fb_info: an fb_info kernel object live instance + + Returns: + A Framebuffer object + + Documentation: + https://docs.kernel.org/fb/api.html: + - struct fb_fix_screeninfo stores device independent unchangeable information about the frame buffer device and the current format. + Those information can't be directly modified by applications, but can be changed by the driver when an application modifies the format. + - struct fb_var_screeninfo stores device independent changeable information about a frame buffer device, its current format and video mode, + as well as other miscellaneous parameters. + """ + # NotAvailableValue() messes with the filename output on disk + id = utility.array_to_string(fb_info.fix.id) or "N-A" + color_fields = None + + # 0 = color, 1 = grayscale, >1 = FOURCC + if fb_info.var.grayscale in [0, 1]: + color_fields = cls.parse_fb_pixel_bitfields(fb_info.var) + + # There a lot of tricky pixel formats used by drivers and vendors in include/uapi/linux/videodev2.h. + # As Volatility3 is not a video format converter, it is best to play it safe and let the user parse + # the raw data manually (with ffmpeg for example). + elif fb_info.var.grayscale > 1: + fourcc = linux.LinuxUtilities.convert_fourcc_code(fb_info.var.grayscale) + warn_msg = f"""Framebuffer "{id}" uses a FOURCC pixel format "{fourcc}" that isn't natively supported. +You can try using ffmpeg to decode the raw buffer. Example usage: +"ffmpeg -pix_fmts" to list supported formats, then +"ffmpeg -f rawvideo -video_size {fb_info.var.xres_virtual}x{fb_info.var.yres_virtual} -i .raw -pix_fmt output.png".""" + vollog.warning(warn_msg) + + # Prefer using the virtual resolution, instead of the visible one. + # This prevents missing non-visible data stored in the framebuffer. + fb = Framebuffer( + id, + xres_virtual=fb_info.var.xres_virtual, + yres_virtual=fb_info.var.yres_virtual, + line_length=fb_info.fix.line_length, + bpp=fb_info.var.bits_per_pixel, + size=fb_info.var.yres_virtual * fb_info.fix.line_length, + color_fields=color_fields, + fb_info=fb_info, + ) + + return fb + + def _generator(self): + kernel_name = self.config["kernel"] + kernel = self.context.modules[kernel_name] + + if not kernel.has_symbol("num_registered_fb"): + raise exceptions.SymbolError( + "num_registered_fb", + kernel.symbol_table_name, + "The provided symbol does not exist in the symbol table. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt.", + ) + + num_registered_fb = kernel.object_from_symbol("num_registered_fb") + if num_registered_fb < 1: + vollog.info("No registered framebuffer in the fbdev API.") + return None + + registered_fb = kernel.object_from_symbol("registered_fb") + fb_info_list = utility.array_of_pointers( + registered_fb, + num_registered_fb, + kernel.symbol_table_name + constants.BANG + "fb_info", + self.context, + ) + + for fb_info in fb_info_list: + fb = self.parse_fb_info(fb_info) + file_output = "Disabled" + if self.config["dump"]: + try: + file_output = self.dump_fb( + self.context, kernel_name, self.open, fb, bool(fb.color_fields) + ) + except exceptions.InvalidAddressException as excp: + vollog.error( + f'Layer {excp.layer_name} failed to read address {hex(excp.invalid_address)} when dumping framebuffer "{fb.id}".' + ) + file_output = "Error" + + try: + fb_device_name = utility.pointer_to_string( + fb.fb_info.dev.kobj.name, 256 + ) + except exceptions.InvalidAddressException: + fb_device_name = NotAvailableValue() + + yield ( + 0, + ( + format_hints.Hex(fb.fb_info.screen_base), + fb_device_name, + fb.id, + fb.size, + f"{fb.xres_virtual}x{fb.yres_virtual}", + fb.bpp, + "RUNNING" if fb.fb_info.state == 0 else "SUSPENDED", + str(file_output), + ), + ) + + def run(self): + columns = [ + ("Address", format_hints.Hex), + ("Device", str), + ("ID", str), + ("Size", int), + ("Virtual resolution", str), + ("BPP", int), + ("State", str), + ("Filename", str), + ] + + return TreeGrid( + columns, + self._generator(), + ) From f192437a944f56ec3b8eae186d61f3049e691e80 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 15 Nov 2024 17:11:11 +0100 Subject: [PATCH 0873/2186] typo --- volatility3/framework/plugins/linux/graphics/fbdev.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/graphics/fbdev.py b/volatility3/framework/plugins/linux/graphics/fbdev.py index 4bde6f62f..60e00d033 100644 --- a/volatility3/framework/plugins/linux/graphics/fbdev.py +++ b/volatility3/framework/plugins/linux/graphics/fbdev.py @@ -21,7 +21,7 @@ vollog = logging.getLogger(__name__) @dataclass class Framebuffer: - """Framebuffer object internal representation. This is useful to unify an framebuffer with precalculated + """Framebuffer object internal representation. This is useful to unify a framebuffer with precalculated properties and pass it through functions conveniently.""" id: str From 4c0ddca7962ade96747e16b7c2db3bd126e1af6a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 18 Nov 2024 15:20:38 +1100 Subject: [PATCH 0874/2186] linux: intel VMCoreInfo: BugFix. Return layer if both values are present --- volatility3/framework/automagic/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index c92fa05c4..adecc36d0 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -366,7 +366,7 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): dtb, ) - return layer + return layer vollog.debug("No suitable linux banner could be matched") return None From 4a88a7450b8fb33b29c7bdf1ee2a9703c67b5446 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 18 Nov 2024 16:47:45 +1100 Subject: [PATCH 0875/2186] linux: VMCoreInfo API: Integrate support for value parsing within the VMCoreInfo API --- volatility3/framework/automagic/linux.py | 20 +++++++++++-------- .../framework/plugins/linux/vmcoreinfo.py | 5 +++++ .../framework/symbols/linux/__init__.py | 17 ++++++++++++++-- 3 files changed, 32 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index adecc36d0..ff6bbbfe4 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -373,8 +373,8 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): @staticmethod def _vmcoreinfo_find_aslr(vmcoreinfo) -> Tuple[int, int]: - phys_base_str = vmcoreinfo.get("NUMBER(phys_base)") - if phys_base_str is None: + phys_base = vmcoreinfo.get("NUMBER(phys_base)") + if phys_base is None: # In kernel < 4.10, there may be a SYMBOL(phys_base), but as noted in the # c401721ecd1dcb0a428aa5d6832ee05ffbdbffbbe commit comment, this value # isn't useful for calculating the physical address. @@ -383,15 +383,15 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): return None # kernels 3.14 (b6085a865762236bb84934161273cdac6dd11c2d) KERNELOFFSET was added - kerneloffset_str = vmcoreinfo.get("KERNELOFFSET") - if kerneloffset_str is None: + kerneloffset = vmcoreinfo.get("KERNELOFFSET") + if kerneloffset is None: # kernels < 3.14 if KERNELOFFSET is missing, KASLR might not be implemented. # Oddly, NUMBER(phys_base) is present without it. To be safe, proceed only # if both are present. return None - aslr_shift = int(kerneloffset_str, 16) - kaslr_shift = int(phys_base_str) + aslr_shift + aslr_shift = kerneloffset + kaslr_shift = phys_base + aslr_shift return kaslr_shift, aslr_shift @@ -403,7 +403,11 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): # in kernels 4.13 in 65ade2f872b474fa8a04c2d397783350326634e6) to init_top_pgt. # In x86-32, the pgd is swapper_pg_dir. So, in any case, for VMCOREINFO # SYMBOL(swapper_pg_dir) will always have the right value. - dtb_vaddr = int(vmcoreinfo["SYMBOL(swapper_pg_dir)"], 16) + dtb_vaddr = vmcoreinfo.get("SYMBOL(swapper_pg_dir)") + if dtb_vaddr is None: + # Abort, it should be present + return None + dtb_paddr = ( LinuxIntelStacker.virtual_to_physical_address(dtb_vaddr) - aslr_shift @@ -420,7 +424,7 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): is_32bit = True else: # Check the swapper_pg_dir virtual address size - dtb_vaddr = int(vmcoreinfo["SYMBOL(swapper_pg_dir)"], 16) + dtb_vaddr = vmcoreinfo["SYMBOL(swapper_pg_dir)"] is_32bit = dtb_vaddr <= 2**32 return is_32bit, is_pae diff --git a/volatility3/framework/plugins/linux/vmcoreinfo.py b/volatility3/framework/plugins/linux/vmcoreinfo.py index ea30520e3..0f07f8589 100644 --- a/volatility3/framework/plugins/linux/vmcoreinfo.py +++ b/volatility3/framework/plugins/linux/vmcoreinfo.py @@ -38,6 +38,11 @@ class VMCoreInfo(plugins.PluginInterface): layer_name=layer_name, ): for key, value in vmcoreinfo.items(): + if key.startswith("SYMBOL(") or key == "KERNELOFFSET": + value = f"0x{value:x}" + else: + value = str(value) + yield 0, (format_hints.Hex(vmcoreinfo_offset), key, value) def run(self): diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index b0b6b7325..b8a2056d5 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -842,8 +842,9 @@ class VMCoreInfo(interfaces.configuration.VersionableInterface): _version = (1, 0, 0) - @staticmethod + @classmethod def _vmcoreinfo_data_to_dict( + cls, vmcoreinfo_data, ) -> Optional[Dict[str, str]]: """Converts the input VMCoreInfo data buffer into a dictionary""" @@ -859,10 +860,22 @@ class VMCoreInfo(interfaces.configuration.VersionableInterface): break key, value = line.split("=", 1) - vmcoreinfo_dict[key] = value + vmcoreinfo_dict[key] = cls._parse_value(key, value) return vmcoreinfo_dict + @classmethod + def _parse_value(cls, key, value): + if key.startswith("SYMBOL(") or key == "KERNELOFFSET": + return int(value, 16) + elif key.startswith(("NUMBER(", "LENGTH(", "SIZE(", "OFFSET(")): + return int(value) + elif key == "PAGESIZE": + return int(value) + + # Default, as string + return value + @classmethod def search_vmcoreinfo_elf_note( cls, From f2a2f8aa679e2ec314049bdb721ad13376209514 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 18 Nov 2024 17:00:00 +1100 Subject: [PATCH 0876/2186] linux: intel VMCoreInfo: immediately abort processing the current VMCOREINFO if DTB is not found --- volatility3/framework/automagic/linux.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index ff6bbbfe4..64365bd83 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -295,12 +295,15 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): for _vmcoreinfo_offset, vmcoreinfo in vmcoreinfo_elf_notes_iter: shifts = cls._vmcoreinfo_find_aslr(vmcoreinfo) if not shifts: - # Let's try the next vmcoreinfo, in case this one isn't correct. + # Let's try the next VMCOREINFO, in case this one isn't correct. continue kaslr_shift, aslr_shift = shifts dtb = cls._vmcoreinfo_get_dtb(vmcoreinfo, aslr_shift, kaslr_shift) + if dtb is None: + # Discard this VMCOREINFO immediately + continue is_32bit, is_pae = cls._vmcoreinfo_is_32bit(vmcoreinfo) if is_32bit: @@ -358,7 +361,7 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): metadata={"os": "Linux"}, ) - if layer and dtb: + if layer: vollog.debug( "Values found in VMCOREINFO: KASLR=0x%x, ASLR=0x%x, DTB=0x%x", kaslr_shift, From 6d366f16ee84844bec5c49ee94a10655995ea3ed Mon Sep 17 00:00:00 2001 From: eve Date: Mon, 18 Nov 2024 06:38:06 +0000 Subject: [PATCH 0877/2186] Windows.vadregexscan: update imports --- volatility3/framework/plugins/windows/vadyarascan.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index efcc70d07..fd76bbc48 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -5,7 +5,8 @@ import logging from typing import Iterable, List, Tuple -from volatility3.framework import interfaces, renderers +from volatility3.framework import renderers +from volatility3.framework.interfaces import plugins, configuration, objects from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins import yarascan @@ -14,14 +15,14 @@ from volatility3.plugins.windows import pslist vollog = logging.getLogger(__name__) -class VadYaraScan(interfaces.plugins.PluginInterface): +class VadYaraScan(plugins.PluginInterface): """Scans all the Virtual Address Descriptor memory maps using yara.""" _required_framework_version = (2, 4, 0) _version = (1, 1, 1) @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + def get_requirements(cls) -> List[configuration.RequirementInterface]: # create a list of requirements for vadyarascan vadyarascan_requirements = [ requirements.ModuleRequirement( @@ -112,7 +113,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): @staticmethod def get_vad_maps( - task: interfaces.objects.ObjectInterface, + task: objects.ObjectInterface, ) -> Iterable[Tuple[int, int]]: """Creates a map of start/end addresses within a virtual address descriptor tree. From d80ef553255acf29ee16d884e864ec7c546a2be0 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 18 Nov 2024 17:49:30 +1100 Subject: [PATCH 0878/2186] linux: intel VMCoreInfo: Select the fastest scanner for each scenario --- volatility3/framework/automagic/linux.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 64365bd83..81f5f5661 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -321,12 +321,20 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): if not valid_banners: # There's no banner matching this VMCOREINFO, keep trying with the next one continue + elif len(valid_banners) == 1: + # Usually, we narrow down the Linux banner list to a single element. + # Using BytesScanner here is slightly faster than MultiStringScanner. + scanner = scanners.BytesScanner(valid_banners[0]) + else: + scanner = scanners.MultiStringScanner(valid_banners) join = interfaces.configuration.path_join - mss = scanners.MultiStringScanner(valid_banners) - for _, banner in layer.scan( - context=context, scanner=mss, progress_callback=progress_callback + for match in layer.scan( + context=context, scanner=scanner, progress_callback=progress_callback ): + # Unfortunately, the scanners do not maintain a consistent interface + banner = match[1] if isinstance(match, Tuple) else valid_banners[0] + isf_path = linux_banners.get(banner, None) if not isf_path: vollog.warning( From 13729ac25f699d72c280b999ddbe0e9d02fcede6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 18 Nov 2024 18:18:14 +1100 Subject: [PATCH 0879/2186] linux: VMCoreInfo API: AARCH64 uses NUMBER() with hex values. Fortunately, includes the 0x prefix, allowing the parser to still handle these cases correctly --- volatility3/framework/symbols/linux/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index b8a2056d5..cd4d16649 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -869,9 +869,9 @@ class VMCoreInfo(interfaces.configuration.VersionableInterface): if key.startswith("SYMBOL(") or key == "KERNELOFFSET": return int(value, 16) elif key.startswith(("NUMBER(", "LENGTH(", "SIZE(", "OFFSET(")): - return int(value) + return int(value, 0) elif key == "PAGESIZE": - return int(value) + return int(value, 0) # Default, as string return value From 07701fc4cf9385422f9d06b89cf64640e6a76b0d Mon Sep 17 00:00:00 2001 From: eve Date: Mon, 18 Nov 2024 18:32:51 +0000 Subject: [PATCH 0880/2186] windows.vadregexscan: remove dependency on vadyarascan --- volatility3/framework/plugins/windows/vadregexscan.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/vadregexscan.py b/volatility3/framework/plugins/windows/vadregexscan.py index 8d17c469c..206c9faae 100644 --- a/volatility3/framework/plugins/windows/vadregexscan.py +++ b/volatility3/framework/plugins/windows/vadregexscan.py @@ -11,7 +11,7 @@ from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.layers import scanners from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import pslist, vadyarascan +from volatility3.plugins.windows import pslist vollog = logging.getLogger(__name__) @@ -35,9 +35,6 @@ class VadRegExScan(plugins.PluginInterface): requirements.PluginRequirement( name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="vadyarascan", plugin=vadyarascan.VadYaraScan, version=(1, 0, 0) - ), requirements.ListRequirement( name="pid", description="Filter on specific process IDs", @@ -70,7 +67,11 @@ class VadRegExScan(plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] # get process sections for scanning - sections = vadyarascan.VadYaraScan.get_vad_maps(proc) + sections = [] + for vad in proc.get_vad_root().traverse(): + base = vad.get_start() + if vad.get_size(): + sections.append((base, vad.get_size())) for offset in proc_layer.scan( context=self.context, From e374ca96472279944bd5c0922f64e87f0b30e7e3 Mon Sep 17 00:00:00 2001 From: eve Date: Mon, 18 Nov 2024 21:15:06 +0000 Subject: [PATCH 0881/2186] Windows.vadregexscan: update imports, revert vadyarascan changes --- volatility3/framework/plugins/windows/vadregexscan.py | 6 +++--- volatility3/framework/plugins/windows/vadyarascan.py | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/windows/vadregexscan.py b/volatility3/framework/plugins/windows/vadregexscan.py index 206c9faae..0d35cd658 100644 --- a/volatility3/framework/plugins/windows/vadregexscan.py +++ b/volatility3/framework/plugins/windows/vadregexscan.py @@ -6,9 +6,9 @@ import logging import re from typing import List -from volatility3.framework import interfaces, renderers +from volatility3.framework import renderers from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins +from volatility3.framework.interfaces import plugins, configuration from volatility3.framework.layers import scanners from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import pslist @@ -24,7 +24,7 @@ class VadRegExScan(plugins.PluginInterface): MAXSIZE_DEFAULT = 128 @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + def get_requirements(cls) -> List[configuration.RequirementInterface]: # Since we're calling the plugin, make sure we have the plugin's requirements return [ requirements.ModuleRequirement( diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index fd76bbc48..efcc70d07 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -5,8 +5,7 @@ import logging from typing import Iterable, List, Tuple -from volatility3.framework import renderers -from volatility3.framework.interfaces import plugins, configuration, objects +from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins import yarascan @@ -15,14 +14,14 @@ from volatility3.plugins.windows import pslist vollog = logging.getLogger(__name__) -class VadYaraScan(plugins.PluginInterface): +class VadYaraScan(interfaces.plugins.PluginInterface): """Scans all the Virtual Address Descriptor memory maps using yara.""" _required_framework_version = (2, 4, 0) _version = (1, 1, 1) @classmethod - def get_requirements(cls) -> List[configuration.RequirementInterface]: + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: # create a list of requirements for vadyarascan vadyarascan_requirements = [ requirements.ModuleRequirement( @@ -113,7 +112,7 @@ class VadYaraScan(plugins.PluginInterface): @staticmethod def get_vad_maps( - task: objects.ObjectInterface, + task: interfaces.objects.ObjectInterface, ) -> Iterable[Tuple[int, int]]: """Creates a map of start/end addresses within a virtual address descriptor tree. From 1ba5b04b7d3ef1b9a8911eae973da10f4d33d7e5 Mon Sep 17 00:00:00 2001 From: eve Date: Mon, 18 Nov 2024 21:20:04 +0000 Subject: [PATCH 0882/2186] Windows: Remove dep on vadyarascan from svcscan plugin --- volatility3/framework/plugins/windows/svcscan.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 52ed5e759..ca390561f 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -20,7 +20,7 @@ from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import versions from volatility3.framework.symbols.windows.extensions import services as services_types -from volatility3.plugins.windows import poolscanner, pslist, vadyarascan +from volatility3.plugins.windows import poolscanner, pslist from volatility3.plugins.windows.registry import hivelist vollog = logging.getLogger(__name__) @@ -39,7 +39,7 @@ class SvcScan(interfaces.plugins.PluginInterface): """Scans for windows services.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 0) + _version = (3, 0, 1) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -60,9 +60,6 @@ class SvcScan(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) ), - requirements.PluginRequirement( - name="vadyarascan", plugin=vadyarascan.VadYaraScan, version=(1, 0, 0) - ), requirements.PluginRequirement( name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) ), @@ -317,10 +314,17 @@ class SvcScan(interfaces.plugins.PluginInterface): layer = context.layers[proc_layer_name] + # get process sections for scanning + sections = [] + for vad in task.get_vad_root().traverse(): + base = vad.get_start() + if vad.get_size(): + sections.append((base, vad.get_size())) + for offset in layer.scan( context=context, scanner=scanners.BytesScanner(needle=service_tag), - sections=vadyarascan.VadYaraScan.get_vad_maps(task), + sections=sections, ): if not is_vista_or_later: service_record = context.object( From 96f5fdae2f48b6a87f735daa3fc56e7aa2902c61 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 19 Nov 2024 11:25:52 +1100 Subject: [PATCH 0883/2186] linux: intel VMCoreInfo: Add the vmcoreinfo to the layer metadata --- volatility3/framework/automagic/linux.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 81f5f5661..2b7cdf4cc 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -2,8 +2,9 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import logging import os +import logging +import collections from typing import Optional, Tuple, Type from volatility3.framework import constants, interfaces @@ -107,11 +108,13 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): join(config_path, LinuxSymbolFinder.banner_config_key) ] = str(banner, "latin-1") + # Set an empty vmcoreinfo entry to prevent using the wrong one in the layer stack. + layer_metadata = dict(os="Linux", vmcoreinfo={}) layer = layer_class( context, config_path=config_path, name=new_layer_name, - metadata={"os": "Linux"}, + metadata=layer_metadata, ) layer.config["kernel_virtual_offset"] = aslr_shift @@ -376,6 +379,10 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): aslr_shift, dtb, ) + # Add the vmcoreinfo dict to the layer metadata + layer._direct_metadata = collections.ChainMap( + {"vmcoreinfo": vmcoreinfo}, layer._direct_metadata + ) return layer From 9f6d1949800981e7d5cc6416b661880fe8041a38 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 19 Nov 2024 12:47:56 +1100 Subject: [PATCH 0884/2186] linux: intel VMCoreInfo: The _direct_metadata class attribute needs to be modified; otherwise, it will only exist within the instance namespace. --- volatility3/framework/automagic/linux.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 2b7cdf4cc..8c4ccd8e3 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -379,8 +379,8 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): aslr_shift, dtb, ) - # Add the vmcoreinfo dict to the layer metadata - layer._direct_metadata = collections.ChainMap( + # Add the vmcoreinfo dict to the layer class metadata + layer.__class__._direct_metadata = collections.ChainMap( {"vmcoreinfo": vmcoreinfo}, layer._direct_metadata ) From 41d2e924d147aed9adfa2181aa6191e26fa90568 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 20 Nov 2024 11:47:37 +1100 Subject: [PATCH 0885/2186] linux: intel VMCoreInfo: Revert changes associated with adding vmcoreinfo dict to the layer metadata --- volatility3/framework/automagic/linux.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 8c4ccd8e3..b8ed47220 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -4,7 +4,6 @@ import os import logging -import collections from typing import Optional, Tuple, Type from volatility3.framework import constants, interfaces @@ -108,13 +107,11 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): join(config_path, LinuxSymbolFinder.banner_config_key) ] = str(banner, "latin-1") - # Set an empty vmcoreinfo entry to prevent using the wrong one in the layer stack. - layer_metadata = dict(os="Linux", vmcoreinfo={}) layer = layer_class( context, config_path=config_path, name=new_layer_name, - metadata=layer_metadata, + metadata={os: "Linux"}, ) layer.config["kernel_virtual_offset"] = aslr_shift @@ -379,10 +376,6 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): aslr_shift, dtb, ) - # Add the vmcoreinfo dict to the layer class metadata - layer.__class__._direct_metadata = collections.ChainMap( - {"vmcoreinfo": vmcoreinfo}, layer._direct_metadata - ) return layer From 1abb4cc881d052b4f76df1e52bc4d0d9521c8c0c Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 11:13:21 +0100 Subject: [PATCH 0886/2186] comply with xdg base directory spec by using XDG_CACHE_HOME if its set --- volatility3/framework/constants/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 27fae4ba1..84c9c22ce 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -6,6 +6,7 @@ Stores all the constant values that are generally fixed throughout volatility This includes default scanning block sizes, etc. """ + import enum import os.path import sys @@ -65,7 +66,10 @@ LOGLEVEL_VVV = 7 LOGLEVEL_VVVV = 6 """Logging level for four levels of detail: -vvvvvv""" -CACHE_PATH = os.path.join(os.path.expanduser("~"), ".cache", "volatility3") + +CACHE_PATH = os.path.join( + os.environ.get("XDG_CACHE_HOME") or os.path.expanduser("~/.cache"), "volatility3" +) """Default path to store cached data""" SQLITE_CACHE_PERIOD = "-3 days" From b93d5b7c13298ed2c1a24a951569a8e93f444c26 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 11:23:53 +0100 Subject: [PATCH 0887/2186] update docs --- doc/source/symbol-tables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/symbol-tables.rst b/doc/source/symbol-tables.rst index b7c26e046..722f9e468 100644 --- a/doc/source/symbol-tables.rst +++ b/doc/source/symbol-tables.rst @@ -9,7 +9,7 @@ How Volatility finds symbol tables All files are stored as JSON data, they can be in pure JSON files as ``.json``, or compressed as ``.json.gz`` or ``.json.xz``. Volatility will automatically decompress them on use. It will also cache their contents (compressed) when used, located -under the user's home directory, in :file:`.cache/volatility3`, along with other useful data. The cache directory currently +under the user's home directory, in :file:`.cache/volatility3` or when `XDG_CACHE_HOME` is set in :file:`${XDG_CACHE_HOME}/volatility3`, along with other useful data. The cache directory currently cannot be altered. Symbol table JSON files live, by default, under the :file:`volatility3/symbols` directory. The symbols directory is From a2b96c0dc0b2989e87e4eb4a9c2a274ef4ed6e7f Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 11:46:59 +0100 Subject: [PATCH 0888/2186] fix: dont use `/` for compat --- volatility3/framework/constants/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 84c9c22ce..8bdf84730 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -68,7 +68,8 @@ LOGLEVEL_VVVV = 6 CACHE_PATH = os.path.join( - os.environ.get("XDG_CACHE_HOME") or os.path.expanduser("~/.cache"), "volatility3" + os.environ.get("XDG_CACHE_HOME") or os.path.join(os.path.expanduser("~"), ".cache"), + "volatility3", ) """Default path to store cached data""" From bbd2f9bc3770d798c7e225586f5f78e22400970d Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 22 Nov 2024 22:40:53 +1100 Subject: [PATCH 0889/2186] linux: intel VMCoreInfo: Fix bug introduced in last commit reverting the layer metadata dict --- volatility3/framework/automagic/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index b8ed47220..90384b50d 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -111,7 +111,7 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): context, config_path=config_path, name=new_layer_name, - metadata={os: "Linux"}, + metadata={"os": "Linux"}, ) layer.config["kernel_virtual_offset"] = aslr_shift From 76ecfc08830e4b7def60520ab423a8d439e8fdbe Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 22 Nov 2024 12:16:14 +0000 Subject: [PATCH 0890/2186] Core: Add in generic cache-manager chooser function --- volatility3/framework/automagic/linux.py | 17 ++--------------- volatility3/framework/automagic/mac.py | 17 ++--------------- volatility3/framework/automagic/symbol_cache.py | 15 +++++++++++++++ 3 files changed, 19 insertions(+), 30 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 52a73f45a..6fe18a4a9 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -27,16 +27,6 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): progress_callback: constants.ProgressCallback = None, ) -> Optional[interfaces.layers.DataLayerInterface]: """Attempts to identify linux within this layer.""" - # Version check the SQlite cache - required = (1, 0, 0) - if not requirements.VersionRequirement.matches_required( - required, symbol_cache.SqliteCache.version - ): - vollog.info( - f"SQLiteCache version not suitable: required {required} found {symbol_cache.SqliteCache.version}" - ) - return None - # Bail out by default unless we can stack properly layer = context.layers[layer_name] join = interfaces.configuration.path_join @@ -46,12 +36,9 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): if isinstance(layer, intel.Intel): return None - identifiers_path = os.path.join( - constants.CACHE_PATH, constants.IDENTIFIERS_FILENAME + linux_banners = symbol_cache.load_cache_manager().get_identifier_dictionary( + operating_system="linux" ) - linux_banners = symbol_cache.SqliteCache( - identifiers_path - ).get_identifier_dictionary(operating_system="linux") # If we have no banners, don't bother scanning if not linux_banners: vollog.info( diff --git a/volatility3/framework/automagic/mac.py b/volatility3/framework/automagic/mac.py index e51753139..7c478b521 100644 --- a/volatility3/framework/automagic/mac.py +++ b/volatility3/framework/automagic/mac.py @@ -28,16 +28,6 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): progress_callback: constants.ProgressCallback = None, ) -> Optional[interfaces.layers.DataLayerInterface]: """Attempts to identify mac within this layer.""" - # Version check the SQlite cache - required = (1, 0, 0) - if not requirements.VersionRequirement.matches_required( - required, symbol_cache.SqliteCache.version - ): - vollog.info( - f"SQLiteCache version not suitable: required {required} found {symbol_cache.SqliteCache.version}" - ) - return None - # Bail out by default unless we can stack properly layer = context.layers[layer_name] new_layer = None @@ -48,12 +38,9 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): if isinstance(layer, intel.Intel): return None - identifiers_path = os.path.join( - constants.CACHE_PATH, constants.IDENTIFIERS_FILENAME + mac_banners = symbol_cache.load_cache_manager().get_identifier_dictionary( + operating_system="mac" ) - mac_banners = symbol_cache.SqliteCache( - identifiers_path - ).get_identifier_dictionary(operating_system="mac") # If we have no banners, don't bother scanning if not mac_banners: vollog.info( diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index 22f1c94f3..e38771f79 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -492,6 +492,21 @@ class SqliteCache(CacheManagerInterface): return output +def load_cache_manager(cache_file: Optional[str] = None) -> CacheManagerInterface: + """Loads a cache manager based on a specific cache file""" + if cache_file is None: + cache_file = os.path.join(constants.CACHE_PATH, constants.IDENTIFIERS_FILENAME) + # Different implementations of cache + if not os.path.exists(cache_file): + raise ValueError("Non-existant cache file provided") + with open(cache_file, "rb") as fp: + header = fp.read(4) + if header not in [b"SQLi"]: + raise ValueError("Identifier file not in recognized format") + # Currently only one choice, so use that + return SqliteCache(cache_file) + + ### Automagic From 4bc6e1001df8b60586309e56abb4ed7892b98c5d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 22 Nov 2024 19:45:15 +0000 Subject: [PATCH 0891/2186] Windows: Improve logging of slowscan to show possible PDB entries --- volatility3/framework/automagic/pdbscan.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/volatility3/framework/automagic/pdbscan.py b/volatility3/framework/automagic/pdbscan.py index 7f38a23e1..1d5bf55ea 100644 --- a/volatility3/framework/automagic/pdbscan.py +++ b/volatility3/framework/automagic/pdbscan.py @@ -270,6 +270,10 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): progress_callback=progress_callback, ) for kernel in kernels: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Testing potential kernel for {kernel.get('pdb_name', 'Unknown')} at {kernel.get('signature_offset', -1)} with MZ offset at {kernel.get('mz_offset', -1)}", + ) valid_kernel = test_kernel(physical_layer_name, virtual_layer_name, kernel) if valid_kernel is not None: break From 1a0d1a238da02db679c0bc5dfa10191abe25b6b7 Mon Sep 17 00:00:00 2001 From: lesander <4174509+lesander@users.noreply.github.com> Date: Sun, 24 Nov 2024 09:28:41 +0000 Subject: [PATCH 0892/2186] CLI: Partial changes by @lesander contributed in #1343 --- .github/workflows/test.yaml | 4 ++-- volatility3/cli/__init__.py | 5 +++-- volatility3/cli/volshell/__init__.py | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6358dd45d..73bf342b6 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -41,8 +41,8 @@ jobs: - name: Testing... run: | - py.test ./test/test_volatility.py --volatility=vol.py --image win-xp-laptop-2005-06-25.img -k test_windows -v - py.test ./test/test_volatility.py --volatility=vol.py --image linux-sample-1.bin -k test_linux -v + pytest ./test/test_volatility.py --volatility=vol.py --image win-xp-laptop-2005-06-25.img -k test_windows -v + pytest ./test/test_volatility.py --volatility=vol.py --image linux-sample-1.bin -k test_linux -v - name: Clean up post-test run: | diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 75b62abf6..5b2aa2838 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -88,7 +88,7 @@ class MuteProgress(PrintedProgress): class CommandLine: """Constructs a command-line interface object for users to run plugins.""" - CLI_NAME = "volatility" + CLI_NAME = os.path.basename(sys.argv[0]) # vol or volatility def __init__(self): self.setup_logging() @@ -364,6 +364,7 @@ class CommandLine: self.CLI_NAME ), action=volargparse.HelpfulSubparserAction, + metavar="PLUGIN", ) for plugin in sorted(plugin_list): plugin_parser = subparser.add_parser( @@ -385,7 +386,7 @@ class CommandLine: argcomplete.autocomplete(parser) args = parser.parse_args() if args.plugin is None: - parser.error("Please select a plugin to run") + parser.error(f"Please select a plugin to run (see '{self.CLI_NAME} --help' for options") vollog.log( constants.LOGLEVEL_VVV, f"Cache directory used: {constants.CACHE_PATH}" diff --git a/volatility3/cli/volshell/__init__.py b/volatility3/cli/volshell/__init__.py index 5172c5363..559adc12b 100644 --- a/volatility3/cli/volshell/__init__.py +++ b/volatility3/cli/volshell/__init__.py @@ -49,7 +49,7 @@ class VolShell(cli.CommandLine): python terminal with all the volatility support calls available. """ - CLI_NAME = "volshell" + CLI_NAME = os.path.basename(sys.argv[0]) # volshell def __init__(self): super().__init__() From 523a6e92fc75a972fe5d9a73c6dc65d4322a7f46 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 24 Nov 2024 09:33:30 +0000 Subject: [PATCH 0893/2186] CLI: Apply black to recent changes --- volatility3/cli/__init__.py | 6 ++++-- volatility3/cli/volshell/__init__.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 5b2aa2838..901f299a8 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -88,7 +88,7 @@ class MuteProgress(PrintedProgress): class CommandLine: """Constructs a command-line interface object for users to run plugins.""" - CLI_NAME = os.path.basename(sys.argv[0]) # vol or volatility + CLI_NAME = os.path.basename(sys.argv[0]) # vol or volatility def __init__(self): self.setup_logging() @@ -386,7 +386,9 @@ class CommandLine: argcomplete.autocomplete(parser) args = parser.parse_args() if args.plugin is None: - parser.error(f"Please select a plugin to run (see '{self.CLI_NAME} --help' for options") + parser.error( + f"Please select a plugin to run (see '{self.CLI_NAME} --help' for options" + ) vollog.log( constants.LOGLEVEL_VVV, f"Cache directory used: {constants.CACHE_PATH}" diff --git a/volatility3/cli/volshell/__init__.py b/volatility3/cli/volshell/__init__.py index 559adc12b..e9d3fda08 100644 --- a/volatility3/cli/volshell/__init__.py +++ b/volatility3/cli/volshell/__init__.py @@ -49,7 +49,7 @@ class VolShell(cli.CommandLine): python terminal with all the volatility support calls available. """ - CLI_NAME = os.path.basename(sys.argv[0]) # volshell + CLI_NAME = os.path.basename(sys.argv[0]) # volshell def __init__(self): super().__init__() From 641e008caf34b93b3c12360115066e1e291500ca Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 27 Nov 2024 15:06:33 +1100 Subject: [PATCH 0894/2186] Linux: intel: The non-present mapping shouldn't be inverted --- volatility3/framework/layers/intel.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index dc88c20bf..6d0aa6746 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -563,8 +563,9 @@ class LinuxMixin(Intel): return self._is_pte_present(entry) def _pte_needs_invert(self, entry) -> bool: - # Entries that were set to PROT_NONE (PAGE_PRESENT/PAGE_GLOBAL) are inverted - return not (entry & self._PAGE_PRESENT) + # Entries that were set to PROT_NONE (PAGE_PRESENT) are inverted + # A clear PTE shouldn't be inverted. See f19f5c4 + return entry and not (entry & self._PAGE_PRESENT) def _protnone_mask(self, entry: int) -> int: """Gets a mask to XOR with the page table entry to get the correct PFN""" From eff2a529c8e2e264553aca0550a5cd9ce3c9c298 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 27 Nov 2024 18:10:14 +1100 Subject: [PATCH 0895/2186] Linux: intel: Remove the bitwise zero complement to simplify the protnone mask calculation --- volatility3/framework/layers/intel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 6d0aa6746..d762b41a8 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -569,7 +569,7 @@ class LinuxMixin(Intel): def _protnone_mask(self, entry: int) -> int: """Gets a mask to XOR with the page table entry to get the correct PFN""" - return ~0 & self._register_mask if self._pte_needs_invert(entry) else 0 + return self._register_mask if self._pte_needs_invert(entry) else 0 def _pte_pfn(self, entry: int) -> int: """Extracts the page frame number from the page table entry""" From 7c559c53f4bad23557056fec14a633628e1d5fe2 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 28 Nov 2024 12:11:14 +1100 Subject: [PATCH 0896/2186] test_cases: underscore unused variables --- test/test_volatility.py | 91 ++++++++++++++++++++++------------------- 1 file changed, 50 insertions(+), 41 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 847be88d9..2f3ba3c63 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -61,7 +61,7 @@ def runvol_plugin(plugin, img, volatility, python, pluginargs=[], globalargs=[]) def test_windows_pslist(image, volatility, python): - rc, out, err = runvol_plugin("windows.pslist.PsList", image, volatility, python) + rc, out, _err = runvol_plugin("windows.pslist.PsList", image, volatility, python) out = out.lower() assert out.find(b"system") != -1 assert out.find(b"csrss.exe") != -1 @@ -69,7 +69,7 @@ def test_windows_pslist(image, volatility, python): assert out.count(b"\n") > 10 assert rc == 0 - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "windows.pslist.PsList", image, volatility, python, pluginargs=["--pid", "4"] ) out = out.lower() @@ -79,7 +79,7 @@ def test_windows_pslist(image, volatility, python): def test_windows_psscan(image, volatility, python): - rc, out, err = runvol_plugin("windows.psscan.PsScan", image, volatility, python) + rc, out, _err = runvol_plugin("windows.psscan.PsScan", image, volatility, python) out = out.lower() assert out.find(b"system") != -1 assert out.find(b"csrss.exe") != -1 @@ -89,21 +89,21 @@ def test_windows_psscan(image, volatility, python): def test_windows_dlllist(image, volatility, python): - rc, out, err = runvol_plugin("windows.dlllist.DllList", image, volatility, python) + rc, out, _err = runvol_plugin("windows.dlllist.DllList", image, volatility, python) out = out.lower() assert out.count(b"\n") > 10 assert rc == 0 def test_windows_modules(image, volatility, python): - rc, out, err = runvol_plugin("windows.modules.Modules", image, volatility, python) + rc, out, _err = runvol_plugin("windows.modules.Modules", image, volatility, python) out = out.lower() assert out.count(b"\n") > 10 assert rc == 0 def test_windows_hivelist(image, volatility, python): - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "windows.registry.hivelist.HiveList", image, volatility, python ) out = out.lower() @@ -136,7 +136,7 @@ def test_windows_dumpfiles(image, volatility, python): path = tempfile.mkdtemp() - rc, out, err = runvol_plugin( + rc, _out, _err = runvol_plugin( "windows.dumpfiles.DumpFiles", image, volatility, @@ -166,7 +166,7 @@ def test_windows_dumpfiles(image, volatility, python): def test_windows_handles(image, volatility, python): - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "windows.handles.Handles", image, volatility, python, pluginargs=["--pid", "4"] ) @@ -183,7 +183,7 @@ def test_windows_handles(image, volatility, python): def test_windows_svcscan(image, volatility, python): - rc, out, err = runvol_plugin("windows.svcscan.SvcScan", image, volatility, python) + rc, out, _err = runvol_plugin("windows.svcscan.SvcScan", image, volatility, python) assert out.find(b"Microsoft ACPI Driver") != -1 assert out.count(b"\n") > 250 @@ -191,17 +191,19 @@ def test_windows_svcscan(image, volatility, python): def test_windows_thrdscan(image, volatility, python): - rc, out, err = runvol_plugin("windows.thrdscan.ThrdScan", image, volatility, python) + rc, out, _err = runvol_plugin( + "windows.thrdscan.ThrdScan", image, volatility, python + ) # find pid 4 (of system process) which starts with lowest tids assert out.find(b"\t4\t8") != -1 assert out.find(b"\t4\t12") != -1 assert out.find(b"\t4\t16") != -1 - #assert out.find(b"this raieses AssertionError") != -1 + # assert out.find(b"this raieses AssertionError") != -1 assert rc == 0 def test_windows_privileges(image, volatility, python): - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "windows.privileges.Privs", image, volatility, python, pluginargs=["--pid", "4"] ) @@ -213,7 +215,7 @@ def test_windows_privileges(image, volatility, python): def test_windows_getsids(image, volatility, python): - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "windows.getsids.GetSIDs", image, volatility, python, pluginargs=["--pid", "4"] ) @@ -225,7 +227,7 @@ def test_windows_getsids(image, volatility, python): def test_windows_envars(image, volatility, python): - rc, out, err = runvol_plugin("windows.envars.Envars", image, volatility, python) + rc, out, _err = runvol_plugin("windows.envars.Envars", image, volatility, python) assert out.find(b"PATH") != -1 assert out.find(b"PROCESSOR_ARCHITECTURE") != -1 @@ -237,7 +239,7 @@ def test_windows_envars(image, volatility, python): def test_windows_callbacks(image, volatility, python): - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "windows.callbacks.Callbacks", image, volatility, python ) @@ -249,7 +251,7 @@ def test_windows_callbacks(image, volatility, python): def test_windows_vadwalk(image, volatility, python): - rc, out, err = runvol_plugin("windows.vadwalk.VadWalk", image, volatility, python) + rc, out, _err = runvol_plugin("windows.vadwalk.VadWalk", image, volatility, python) assert out.find(b"Vad") != -1 assert out.find(b"VadS") != -1 @@ -260,7 +262,7 @@ def test_windows_vadwalk(image, volatility, python): def test_windows_devicetree(image, volatility, python): - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "windows.devicetree.DeviceTree", image, volatility, python ) @@ -277,7 +279,7 @@ def test_windows_devicetree(image, volatility, python): def test_linux_pslist(image, volatility, python): - rc, out, err = runvol_plugin("linux.pslist.PsList", image, volatility, python) + rc, out, _err = runvol_plugin("linux.pslist.PsList", image, volatility, python) out = out.lower() assert (out.find(b"init") != -1) or (out.find(b"systemd") != -1) @@ -287,7 +289,9 @@ def test_linux_pslist(image, volatility, python): def test_linux_check_idt(image, volatility, python): - rc, out, err = runvol_plugin("linux.check_idt.Check_idt", image, volatility, python) + rc, out, _err = runvol_plugin( + "linux.check_idt.Check_idt", image, volatility, python + ) out = out.lower() assert out.count(b"__kernel__") >= 10 @@ -296,7 +300,7 @@ def test_linux_check_idt(image, volatility, python): def test_linux_check_syscall(image, volatility, python): - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "linux.check_syscall.Check_syscall", image, volatility, python ) out = out.lower() @@ -308,7 +312,7 @@ def test_linux_check_syscall(image, volatility, python): def test_linux_lsmod(image, volatility, python): - rc, out, err = runvol_plugin("linux.lsmod.Lsmod", image, volatility, python) + rc, out, _err = runvol_plugin("linux.lsmod.Lsmod", image, volatility, python) out = out.lower() assert out.count(b"\n") > 10 @@ -316,7 +320,7 @@ def test_linux_lsmod(image, volatility, python): def test_linux_lsof(image, volatility, python): - rc, out, err = runvol_plugin("linux.lsof.Lsof", image, volatility, python) + rc, out, _err = runvol_plugin("linux.lsof.Lsof", image, volatility, python) out = out.lower() assert out.count(b"socket:") >= 10 @@ -325,7 +329,7 @@ def test_linux_lsof(image, volatility, python): def test_linux_proc_maps(image, volatility, python): - rc, out, err = runvol_plugin("linux.proc.Maps", image, volatility, python) + rc, out, _err = runvol_plugin("linux.proc.Maps", image, volatility, python) out = out.lower() assert out.count(b"anonymous mapping") >= 10 @@ -334,15 +338,18 @@ def test_linux_proc_maps(image, volatility, python): def test_linux_tty_check(image, volatility, python): - rc, out, err = runvol_plugin("linux.tty_check.tty_check", image, volatility, python) + rc, out, _err = runvol_plugin( + "linux.tty_check.tty_check", image, volatility, python + ) out = out.lower() assert out.find(b"__kernel__") != -1 assert out.count(b"\n") >= 5 assert rc == 0 + def test_linux_sockstat(image, volatility, python): - rc, out, err = runvol_plugin("linux.sockstat.Sockstat", image, volatility, python) + rc, out, _err = runvol_plugin("linux.sockstat.Sockstat", image, volatility, python) assert out.count(b"AF_UNIX") >= 354 assert out.count(b"AF_BLUETOOTH") >= 5 @@ -354,7 +361,7 @@ def test_linux_sockstat(image, volatility, python): def test_linux_library_list(image, volatility, python): - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "linux.library_list.LibraryList", image, volatility, python ) @@ -383,7 +390,7 @@ def test_linux_library_list(image, volatility, python): def test_mac_pslist(image, volatility, python): - rc, out, err = runvol_plugin("mac.pslist.PsList", image, volatility, python) + rc, out, _err = runvol_plugin("mac.pslist.PsList", image, volatility, python) out = out.lower() assert (out.find(b"kernel_task") != -1) or (out.find(b"launchd") != -1) @@ -392,7 +399,7 @@ def test_mac_pslist(image, volatility, python): def test_mac_check_syscall(image, volatility, python): - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "mac.check_syscall.Check_syscall", image, volatility, python ) out = out.lower() @@ -405,7 +412,7 @@ def test_mac_check_syscall(image, volatility, python): def test_mac_check_sysctl(image, volatility, python): - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "mac.check_sysctl.Check_sysctl", image, volatility, python ) out = out.lower() @@ -416,7 +423,7 @@ def test_mac_check_sysctl(image, volatility, python): def test_mac_check_trap_table(image, volatility, python): - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "mac.check_trap_table.Check_trap_table", image, volatility, python ) out = out.lower() @@ -427,7 +434,7 @@ def test_mac_check_trap_table(image, volatility, python): def test_mac_ifconfig(image, volatility, python): - rc, out, err = runvol_plugin("mac.ifconfig.Ifconfig", image, volatility, python) + rc, out, _err = runvol_plugin("mac.ifconfig.Ifconfig", image, volatility, python) out = out.lower() assert out.find(b"127.0.0.1") != -1 @@ -437,7 +444,7 @@ def test_mac_ifconfig(image, volatility, python): def test_mac_lsmod(image, volatility, python): - rc, out, err = runvol_plugin("mac.lsmod.Lsmod", image, volatility, python) + rc, out, _err = runvol_plugin("mac.lsmod.Lsmod", image, volatility, python) out = out.lower() assert out.find(b"com.apple") != -1 @@ -446,7 +453,7 @@ def test_mac_lsmod(image, volatility, python): def test_mac_lsof(image, volatility, python): - rc, out, err = runvol_plugin("mac.lsof.Lsof", image, volatility, python) + rc, out, _err = runvol_plugin("mac.lsof.Lsof", image, volatility, python) out = out.lower() assert out.count(b"\n") > 50 @@ -454,7 +461,7 @@ def test_mac_lsof(image, volatility, python): def test_mac_malfind(image, volatility, python): - rc, out, err = runvol_plugin("mac.malfind.Malfind", image, volatility, python) + rc, out, _err = runvol_plugin("mac.malfind.Malfind", image, volatility, python) out = out.lower() assert out.count(b"\n") > 20 @@ -462,7 +469,7 @@ def test_mac_malfind(image, volatility, python): def test_mac_mount(image, volatility, python): - rc, out, err = runvol_plugin("mac.mount.Mount", image, volatility, python) + rc, out, _err = runvol_plugin("mac.mount.Mount", image, volatility, python) out = out.lower() assert out.find(b"/dev") != -1 @@ -471,7 +478,7 @@ def test_mac_mount(image, volatility, python): def test_mac_netstat(image, volatility, python): - rc, out, err = runvol_plugin("mac.netstat.Netstat", image, volatility, python) + rc, out, _err = runvol_plugin("mac.netstat.Netstat", image, volatility, python) assert out.find(b"TCP") != -1 assert out.find(b"UDP") != -1 @@ -481,7 +488,7 @@ def test_mac_netstat(image, volatility, python): def test_mac_proc_maps(image, volatility, python): - rc, out, err = runvol_plugin("mac.proc_maps.Maps", image, volatility, python) + rc, out, _err = runvol_plugin("mac.proc_maps.Maps", image, volatility, python) out = out.lower() assert out.find(b"[heap]") != -1 @@ -490,7 +497,7 @@ def test_mac_proc_maps(image, volatility, python): def test_mac_psaux(image, volatility, python): - rc, out, err = runvol_plugin("mac.psaux.Psaux", image, volatility, python) + rc, out, _err = runvol_plugin("mac.psaux.Psaux", image, volatility, python) out = out.lower() assert out.find(b"executable_path") != -1 @@ -499,7 +506,7 @@ def test_mac_psaux(image, volatility, python): def test_mac_socket_filters(image, volatility, python): - rc, out, err = runvol_plugin( + rc, out, _err = runvol_plugin( "mac.socket_filters.Socket_filters", image, volatility, python ) out = out.lower() @@ -509,7 +516,7 @@ def test_mac_socket_filters(image, volatility, python): def test_mac_timers(image, volatility, python): - rc, out, err = runvol_plugin("mac.timers.Timers", image, volatility, python) + rc, out, _err = runvol_plugin("mac.timers.Timers", image, volatility, python) out = out.lower() assert out.count(b"\n") > 6 @@ -517,7 +524,9 @@ def test_mac_timers(image, volatility, python): def test_mac_trustedbsd(image, volatility, python): - rc, out, err = runvol_plugin("mac.trustedbsd.Trustedbsd", image, volatility, python) + rc, out, _err = runvol_plugin( + "mac.trustedbsd.Trustedbsd", image, volatility, python + ) out = out.lower() assert out.count(b"\n") > 10 From 97534f02de61202475c5c3aa9418488d886f744c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 28 Nov 2024 12:19:56 +1100 Subject: [PATCH 0897/2186] linux: sockstat: It should import and verify the pslist version directly, instead of relying on lsof --- volatility3/framework/plugins/linux/sockstat.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 0ddd3e26d..e5cf48d16 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -12,6 +12,7 @@ from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility from volatility3.framework.symbols import linux from volatility3.plugins.linux import lsof +from volatility3.plugins.linux import pslist vollog = logging.getLogger(__name__) @@ -21,7 +22,6 @@ class SockHandlers(interfaces.configuration.VersionableInterface): """Handles several socket families extracting the sockets information.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 0) def __init__(self, vmlinux, task, *args, **kwargs): @@ -438,8 +438,7 @@ class Sockstat(plugins.PluginInterface): """Lists all network connections for all processes.""" _required_framework_version = (2, 0, 0) - - _version = (3, 0, 0) + _version = (3, 0, 1) @classmethod def get_requirements(cls): @@ -455,6 +454,9 @@ class Sockstat(plugins.PluginInterface): requirements.PluginRequirement( name="lsof", plugin=lsof.Lsof, version=(2, 0, 0) ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) ), @@ -591,7 +593,7 @@ class Sockstat(plugins.PluginInterface): tasks: String with a list of tasks and FDs using a socket. It can also have extended information such as socket filters, bpf info, etc. """ - filter_func = lsof.pslist.PsList.create_pid_filter(pids) + filter_func = pslist.PsList.create_pid_filter(pids) socket_generator = self.list_sockets( self.context, symbol_table, filter_func=filter_func ) From fa060646352d41cf6d818e6cb8c40deaa91e7e7f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 28 Nov 2024 13:16:33 +1100 Subject: [PATCH 0898/2186] linux plugins: Update pslist major version and its 18 dependent plugins --- volatility3/framework/plugins/linux/bash.py | 3 ++- volatility3/framework/plugins/linux/boottime.py | 4 ++-- .../framework/plugins/linux/capabilities.py | 7 +++---- .../framework/plugins/linux/check_creds.py | 5 ++--- volatility3/framework/plugins/linux/elfs.py | 4 ++-- volatility3/framework/plugins/linux/envars.py | 3 ++- volatility3/framework/plugins/linux/kthreads.py | 5 ++--- .../framework/plugins/linux/library_list.py | 5 ++--- volatility3/framework/plugins/linux/lsof.py | 4 ++-- volatility3/framework/plugins/linux/malfind.py | 5 +++-- volatility3/framework/plugins/linux/mountinfo.py | 5 ++--- .../framework/plugins/linux/pidhashtable.py | 9 ++++----- volatility3/framework/plugins/linux/proc.py | 5 +++-- volatility3/framework/plugins/linux/psaux.py | 3 ++- volatility3/framework/plugins/linux/pslist.py | 3 +-- volatility3/framework/plugins/linux/pstree.py | 15 +++++++-------- volatility3/framework/plugins/linux/ptrace.py | 4 ++-- .../framework/plugins/linux/vmaregexscan.py | 5 +++-- .../framework/plugins/linux/vmayarascan.py | 4 ++-- 19 files changed, 48 insertions(+), 50 deletions(-) diff --git a/volatility3/framework/plugins/linux/bash.py b/volatility3/framework/plugins/linux/bash.py index ce4567ca6..77a433a3b 100644 --- a/volatility3/framework/plugins/linux/bash.py +++ b/volatility3/framework/plugins/linux/bash.py @@ -22,6 +22,7 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): """Recovers bash command history from memory.""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -32,7 +33,7 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/boottime.py b/volatility3/framework/plugins/linux/boottime.py index 8f63ee7f8..3df5cb3ac 100644 --- a/volatility3/framework/plugins/linux/boottime.py +++ b/volatility3/framework/plugins/linux/boottime.py @@ -16,7 +16,7 @@ class Boottime(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) _required_framework_version = (2, 11, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -27,7 +27,7 @@ class Boottime(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 3, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index bfdb69aba..a8a8fb1fa 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -50,8 +50,7 @@ class Capabilities(plugins.PluginInterface): """Lists process capabilities""" _required_framework_version = (2, 0, 0) - - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -62,7 +61,7 @@ class Capabilities(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pids", @@ -87,7 +86,7 @@ class Capabilities(plugins.PluginInterface): try: kernel_cap_last_cap = vmlinux.object_from_symbol(symbol_name="cap_last_cap") except exceptions.SymbolError: - # It should be a kernel < 3.2 + # It should be a kernel < 3.2 See 73efc0394e148d0e15583e13712637831f926720 return None vol2_last_cap = extensions.kernel_cap_struct.get_last_cap_value() diff --git a/volatility3/framework/plugins/linux/check_creds.py b/volatility3/framework/plugins/linux/check_creds.py index b7f73c3eb..0857576d5 100644 --- a/volatility3/framework/plugins/linux/check_creds.py +++ b/volatility3/framework/plugins/linux/check_creds.py @@ -12,8 +12,7 @@ class Check_creds(interfaces.plugins.PluginInterface): """Checks if any processes are sharing credential structures""" _required_framework_version = (2, 0, 0) - - _version = (2, 0, 0) + _version = (2, 0, 1) @classmethod def get_requirements(cls): @@ -24,7 +23,7 @@ class Check_creds(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index 22e39d127..9f3bd274b 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -25,7 +25,7 @@ class Elfs(plugins.PluginInterface): """Lists all memory mapped ELF files for all processes.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 1) + _version = (2, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -36,7 +36,7 @@ class Elfs(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index 5cbf0f502..22aba6408 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -17,6 +17,7 @@ class Envars(plugins.PluginInterface): """Lists processes with their environment variables""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): @@ -28,7 +29,7 @@ class Envars(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py index 2e51b4688..b9ced73f3 100644 --- a/volatility3/framework/plugins/linux/kthreads.py +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -20,8 +20,7 @@ class Kthreads(plugins.PluginInterface): """Enumerates kthread functions""" _required_framework_version = (2, 11, 0) - - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -35,7 +34,7 @@ class Kthreads(plugins.PluginInterface): name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 3, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/linux/library_list.py b/volatility3/framework/plugins/linux/library_list.py index 062ed078e..7ec1f7f7f 100644 --- a/volatility3/framework/plugins/linux/library_list.py +++ b/volatility3/framework/plugins/linux/library_list.py @@ -21,8 +21,7 @@ class LibraryList(interfaces.plugins.PluginInterface): """Enumerate libraries loaded into processes""" _required_framework_version = (2, 0, 0) - - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): @@ -33,7 +32,7 @@ class LibraryList(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 2, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pids", diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 42b447dfb..802954f43 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -110,7 +110,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists open files for each processes.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -121,7 +121,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 18f3dcd56..0b10e60c6 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -4,7 +4,7 @@ from typing import List import logging -from volatility3.framework import constants, interfaces +from volatility3.framework import interfaces from volatility3.framework import renderers, symbols from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility @@ -18,6 +18,7 @@ class Malfind(interfaces.plugins.PluginInterface): """Lists process memory ranges that potentially contain injected code.""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -28,7 +29,7 @@ class Malfind(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index 2499f009e..65775c4aa 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -36,8 +36,7 @@ class MountInfo(plugins.PluginInterface): """Lists mount points on processes mount namespaces""" _required_framework_version = (2, 2, 0) - - _version = (1, 2, 1) + _version = (1, 2, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -48,7 +47,7 @@ class MountInfo(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) diff --git a/volatility3/framework/plugins/linux/pidhashtable.py b/volatility3/framework/plugins/linux/pidhashtable.py index edafe97e0..2d210c233 100644 --- a/volatility3/framework/plugins/linux/pidhashtable.py +++ b/volatility3/framework/plugins/linux/pidhashtable.py @@ -19,8 +19,7 @@ class PIDHashTable(plugins.PluginInterface): """Enumerates processes through the PID hash table""" _required_framework_version = (2, 0, 0) - - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -31,7 +30,7 @@ class PIDHashTable(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) @@ -236,8 +235,8 @@ class PIDHashTable(plugins.PluginInterface): self, decorate_comm: bool = False ) -> interfaces.objects.ObjectInterface: for task in self.get_tasks(): - offset, pid, tid, ppid, name = pslist.PsList.get_task_fields( - task, decorate_comm + offset, pid, tid, ppid, name, _creation_time = ( + pslist.PsList.get_task_fields(task, decorate_comm) ) fields = format_hints.Hex(offset), pid, tid, ppid, name yield 0, fields diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index e7d38b107..00832140a 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -21,7 +21,8 @@ class Maps(plugins.PluginInterface): """Lists all memory maps for all processes.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) + MAXSIZE_DEFAULT = 1024 * 1024 * 1024 # 1 Gb @classmethod @@ -34,7 +35,7 @@ class Maps(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/psaux.py b/volatility3/framework/plugins/linux/psaux.py index a4a23498f..5467c3b4c 100644 --- a/volatility3/framework/plugins/linux/psaux.py +++ b/volatility3/framework/plugins/linux/psaux.py @@ -15,6 +15,7 @@ class PsAux(plugins.PluginInterface): """Lists processes with their command line arguments""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): @@ -26,7 +27,7 @@ class PsAux(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index b05d69c7a..6460462a7 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -18,8 +18,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists the processes present in a particular linux memory image.""" _required_framework_version = (2, 0, 0) - - _version = (2, 3, 0) + _version = (3, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: diff --git a/volatility3/framework/plugins/linux/pstree.py b/volatility3/framework/plugins/linux/pstree.py index efe5223df..9dc5ea3cc 100644 --- a/volatility3/framework/plugins/linux/pstree.py +++ b/volatility3/framework/plugins/linux/pstree.py @@ -13,6 +13,7 @@ class PsTree(interfaces.plugins.PluginInterface): ID.""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): @@ -24,7 +25,7 @@ class PsTree(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 2, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", @@ -100,13 +101,11 @@ class PsTree(interfaces.plugins.PluginInterface): def yield_processes(pid): task = self._tasks[pid] - row = pslist.PsList.get_task_fields(task, decorate_comm) - # update the first element, the offset, in the row tuple to use format_hints.Hex - # as a simple int is returned from get_task_fields. - row = (format_hints.Hex(row[0]),) + row[1:] - - tid = task.pid - yield (self._levels[tid] - 1, row) + offset, pid, tid, ppid, name, _creation_time = ( + pslist.PsList.get_task_fields(task, decorate_comm) + ) + fields = format_hints.Hex(offset), pid, tid, ppid, name + yield (self._levels[tid] - 1, fields) for child_pid in sorted(self._children.get(tid, [])): yield from yield_processes(child_pid) diff --git a/volatility3/framework/plugins/linux/ptrace.py b/volatility3/framework/plugins/linux/ptrace.py index e467ee644..271c0e75e 100644 --- a/volatility3/framework/plugins/linux/ptrace.py +++ b/volatility3/framework/plugins/linux/ptrace.py @@ -19,7 +19,7 @@ class Ptrace(plugins.PluginInterface): """Enumerates ptrace's tracer and tracee tasks""" _required_framework_version = (2, 10, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -30,7 +30,7 @@ class Ptrace(plugins.PluginInterface): architectures=architectures.LINUX_ARCHS, ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 2, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/linux/vmaregexscan.py b/volatility3/framework/plugins/linux/vmaregexscan.py index 77ab29814..4446fc550 100644 --- a/volatility3/framework/plugins/linux/vmaregexscan.py +++ b/volatility3/framework/plugins/linux/vmaregexscan.py @@ -21,7 +21,8 @@ class VmaRegExScan(plugins.PluginInterface): """Scans all virtual memory areas for tasks using RegEx.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) + MAXSIZE_DEFAULT = 128 @classmethod @@ -34,7 +35,7 @@ class VmaRegExScan(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 9fe06b0c8..38d6cbaac 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -15,7 +15,7 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): """Scans all virtual memory areas for tasks using yara.""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -28,7 +28,7 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): optional=True, ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) From 63ac0abe642b4ba7fe93edfd2be0d6dd32e0483d Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 28 Nov 2024 13:25:08 +1100 Subject: [PATCH 0899/2186] linux: Add 15 new test cases for plugins dependent on pslist --- test/test_volatility.py | 165 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 165 insertions(+) diff --git a/test/test_volatility.py b/test/test_volatility.py index 2f3ba3c63..4e948a2bd 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -386,6 +386,171 @@ def test_linux_library_list(image, volatility, python): assert rc == 0 +def test_linux_pstree(image, volatility, python): + rc, out, _err = runvol_plugin("linux.pstree.PsTree", image, volatility, python) + out = out.lower() + + assert (out.find(b"init") != -1) or (out.find(b"systemd") != -1) + assert out.count(b"\n") > 10 + assert rc == 0 + + +def test_linux_pidhashtable(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.pidhashtable.PIDHashTable", image, volatility, python + ) + out = out.lower() + + assert (out.find(b"init") != -1) or (out.find(b"systemd") != -1) + assert out.count(b"\n") > 10 + assert rc == 0 + + +def test_linux_bash(image, volatility, python): + rc, out, _err = runvol_plugin("linux.bash.Bash", image, volatility, python) + out = out.lower() + + assert out.count(b"\n") > 10 + assert rc == 0 + + +def test_linux_boottime(image, volatility, python): + rc, out, _err = runvol_plugin("linux.boottime.Boottime", image, volatility, python) + out = out.lower() + + assert out.count(b"utc") >= 1 + assert rc == 0 + + +def test_linux_capabilities(image, volatility, python): + rc, out, err = runvol_plugin( + "linux.capabilities.Capabilities", + image, + volatility, + python, + globalargs=["-vvv"], + ) + if rc != 0 and err.count(b"Unsupported kernel capabilities implementation") > 0: + # The linux-sample-1.bin kernel implementation isn't supported. + # However, we can still check that the plugin requirements are met. + return None + + out = out.lower() + + assert out.count(b"\n") > 10 + assert rc == 0 + + +def test_linux_check_creds(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.check_creds.Check_creds", image, volatility, python + ) + out = out.lower() + + # linux-sample-1.bin has no processes sharing credentials. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + + +def test_linux_elfs(image, volatility, python): + rc, out, _err = runvol_plugin("linux.elfs.Elfs", image, volatility, python) + out = out.lower() + + assert out.count(b"\n") > 10 + assert rc == 0 + + +def test_linux_envars(image, volatility, python): + rc, out, _err = runvol_plugin("linux.envars.Envars", image, volatility, python) + out = out.lower() + + assert out.count(b"\n") > 10 + assert rc == 0 + + +def test_linux_kthreads(image, volatility, python): + rc, out, err = runvol_plugin( + "linux.kthreads.Kthreads", + image, + volatility, + python, + globalargs=["-vvv"], + ) + out = out.lower() + + if rc != 0 and err.count(b"Unsupported kthread implementation") > 0: + # The linux-sample-1.bin kernel implementation isn't supported. + # However, we can still check that the plugin requirements are met. + return None + + assert out.count(b"\n") > 10 + assert rc == 0 + + +def test_linux_malfind(image, volatility, python): + rc, out, _err = runvol_plugin("linux.malfind.Malfind", image, volatility, python) + out = out.lower() + + # linux-sample-1.bin has no process memory ranges with potential injected code. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + + +def test_linux_mountinfo(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.mountinfo.MountInfo", image, volatility, python + ) + out = out.lower() + + assert out.count(b"\n") > 10 + assert rc == 0 + + +def test_linux_psaux(image, volatility, python): + rc, out, _err = runvol_plugin("linux.psaux.PsAux", image, volatility, python) + out = out.lower() + + assert out.count(b"\n") > 50 + assert rc == 0 + + +def test_linux_ptrace(image, volatility, python): + rc, out, _err = runvol_plugin("linux.ptrace.Ptrace", image, volatility, python) + out = out.lower() + + # linux-sample-1.bin has no processes being ptreaced. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + + +def test_linux_vmaregexscan(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.vmaregexscan.VmaRegExScan", + image, + volatility, + python, + pluginargs=["--pid", "1", "--pattern", "\\x7fELF"], + ) + out = out.lower() + + assert out.count(b"\n") > 10 + assert rc == 0 + + +def test_linux_vmayarascan(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.vmayarascan.VmaYaraScan", + image, + volatility, + python, + pluginargs=["--pid", "1", "--yara-string", "ELF"], + ) + out = out.lower() + + assert out.count(b"\n") > 10 + assert rc == 0 + + # MAC From fb4ab9d4778b61e3a7af7761acac29f3bfe17ffd Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 28 Nov 2024 13:45:26 +1100 Subject: [PATCH 0900/2186] linux: test cases: remove unused variables --- test/test_volatility.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 4e948a2bd..c0cc11cd3 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -442,10 +442,9 @@ def test_linux_capabilities(image, volatility, python): def test_linux_check_creds(image, volatility, python): - rc, out, _err = runvol_plugin( + rc, _out, _err = runvol_plugin( "linux.check_creds.Check_creds", image, volatility, python ) - out = out.lower() # linux-sample-1.bin has no processes sharing credentials. # This validates that plugin requirements are met and exceptions are not raised. @@ -488,8 +487,7 @@ def test_linux_kthreads(image, volatility, python): def test_linux_malfind(image, volatility, python): - rc, out, _err = runvol_plugin("linux.malfind.Malfind", image, volatility, python) - out = out.lower() + rc, _out, _err = runvol_plugin("linux.malfind.Malfind", image, volatility, python) # linux-sample-1.bin has no process memory ranges with potential injected code. # This validates that plugin requirements are met and exceptions are not raised. @@ -515,8 +513,7 @@ def test_linux_psaux(image, volatility, python): def test_linux_ptrace(image, volatility, python): - rc, out, _err = runvol_plugin("linux.ptrace.Ptrace", image, volatility, python) - out = out.lower() + rc, _out, _err = runvol_plugin("linux.ptrace.Ptrace", image, volatility, python) # linux-sample-1.bin has no processes being ptreaced. # This validates that plugin requirements are met and exceptions are not raised. From 9048cd1ab8683edac7d2ccfeb7fdcbee13d447df Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 28 Nov 2024 13:47:03 +1100 Subject: [PATCH 0901/2186] linux: boottime: Minor, removed unnecessary blank line --- volatility3/framework/plugins/linux/boottime.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/boottime.py b/volatility3/framework/plugins/linux/boottime.py index 3df5cb3ac..56de52883 100644 --- a/volatility3/framework/plugins/linux/boottime.py +++ b/volatility3/framework/plugins/linux/boottime.py @@ -15,7 +15,6 @@ class Boottime(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) """Shows the time the system was started""" _required_framework_version = (2, 11, 0) - _version = (1, 0, 1) @classmethod From aaeec80fdf4650be6a9b1f6c25ef5ba4aea03e29 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 28 Nov 2024 13:53:11 +1100 Subject: [PATCH 0902/2186] linux: library_list testcase: Optimize testing performance by limiting the number of processes to just one. This change will reduce execution time and speed up the test --- test/test_volatility.py | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index c0cc11cd3..eb365ccf3 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -362,27 +362,19 @@ def test_linux_sockstat(image, volatility, python): def test_linux_library_list(image, volatility, python): rc, out, _err = runvol_plugin( - "linux.library_list.LibraryList", image, volatility, python + "linux.library_list.LibraryList", + image, + volatility, + python, + pluginargs=["--pids", "2363"], ) assert re.search( rb"NetworkManager\s2363\s0x7f52cdda0000\s/lib/x86_64-linux-gnu/libnss_files.so.2", out, ) - assert re.search( - rb"gnome-settings-\s3807\s0x7f7e660b5000\s/lib/x86_64-linux-gnu/libbz2.so.1.0", - out, - ) - assert re.search( - rb"gdu-notificatio\s3878\s0x7f25ce33e000\s/usr/lib/x86_64-linux-gnu/libXau.so.6", - out, - ) - assert re.search( - rb"bash\s8600\s0x7fe78a85f000\s/lib/x86_64-linux-gnu/libnss_files.so.2", - out, - ) - assert out.count(b"\n") >= 2677 + assert out.count(b"\n") > 10 assert rc == 0 From 8ecd7e2ddddb018164d3ef734899b91a93899d09 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 28 Nov 2024 15:17:22 +1100 Subject: [PATCH 0903/2186] Linux/Mac: Log producer information --- .../framework/automagic/symbol_finder.py | 31 ++++++++++++++++--- volatility3/framework/symbols/intermed.py | 15 ++++++--- volatility3/framework/symbols/metadata.py | 13 +++++++- 3 files changed, 49 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/automagic/symbol_finder.py b/volatility3/framework/automagic/symbol_finder.py index 21e594549..55e2ad6f5 100644 --- a/volatility3/framework/automagic/symbol_finder.py +++ b/volatility3/framework/automagic/symbol_finder.py @@ -142,11 +142,11 @@ class SymbolFinder(interfaces.automagic.AutomagicInterface): ) for _, banner in banner_list: - vollog.debug(f"Identified banner: {repr(banner)}") - symbol_files = self.banners.get(banner, None) - if symbol_files: - isf_path = symbol_files - vollog.debug(f"Using symbol library: {symbol_files}") + vollog.debug(f"Identified banner: {banner!r}") + symbols_file = self.banners.get(banner, None) + if symbols_file: + isf_path = symbols_file + vollog.debug(f"Using symbol library: {symbols_file}") clazz = self.symbol_class # Set the discovered options path_join = interfaces.configuration.path_join @@ -160,8 +160,29 @@ class SymbolFinder(interfaces.automagic.AutomagicInterface): path_join(config_path, requirement.name, "symbol_mask") ] = layer.address_mask + # Keep track of the existing table names so we know which ones were added + old_table_names = set(context.symbol_space._dict) + # Construct the appropriate symbol table requirement.construct(context, config_path) + + new_table_names = context.symbol_space._dict.keys() - old_table_names + # It should add only one symbol table. Ignore the next steps if it doesn't + if len(new_table_names) == 1: + new_table_name = new_table_names.pop() + symbol_table = context.symbol_space._dict[new_table_name] + producer = symbol_table.producer + vollog.debug( + f"producer_name: {producer.name}, producer_version: {producer.version_string}" + ) + for category in symbol_table.metadata._json_data: + vollog.debug(f"{category}:") + for subkey in symbol_table.metadata._json_data[category]: + subkey_item = ", ".join( + f"{key}: '{value}'" for key, value in subkey.items() + ) + vollog.debug(f"\t{subkey_item}") + break else: vollog.debug(f"Symbol library path not found for: {banner}") diff --git a/volatility3/framework/symbols/intermed.py b/volatility3/framework/symbols/intermed.py index 751f88e39..5f558bf12 100644 --- a/volatility3/framework/symbols/intermed.py +++ b/volatility3/framework/symbols/intermed.py @@ -738,10 +738,17 @@ class Version6Format(Version5Format): @property def metadata(self) -> Optional[interfaces.symbols.MetadataInterface]: """Returns a MetadataInterface object.""" - if self._json_object.get("metadata", {}).get("windows"): - return metadata.WindowsMetadata(self._json_object["metadata"]["windows"]) - if self._json_object.get("metadata", {}).get("linux"): - return metadata.LinuxMetadata(self._json_object["metadata"]["linux"]) + if "metadata" not in self._json_object: + return None + + json_metadata = self._json_object["metadata"] + if "windows" in json_metadata: + return metadata.WindowsMetadata(json_metadata["windows"]) + if "linux" in json_metadata: + return metadata.LinuxMetadata(json_metadata["linux"]) + if "mac" in json_metadata: + return metadata.MacMetadata(json_metadata["mac"]) + return None diff --git a/volatility3/framework/symbols/metadata.py b/volatility3/framework/symbols/metadata.py index 95f542f07..39ddd6544 100644 --- a/volatility3/framework/symbols/metadata.py +++ b/volatility3/framework/symbols/metadata.py @@ -18,10 +18,17 @@ class ProducerMetadata(interfaces.symbols.MetadataInterface): def name(self) -> Optional[str]: return self._json_data.get("name", None) + @property + def version_string(self) -> str: + """Returns the ISF file producer's version as a string. + If no version is present, an empty string is returned. + """ + return self._json_data.get("version", "") + @property def version(self) -> Optional[Tuple[int]]: """Returns the version of the ISF file producer""" - version = self._json_data.get("version", None) + version = self.version_string() if not version: return None if all(x in "0123456789." for x in version): @@ -81,3 +88,7 @@ class WindowsMetadata(interfaces.symbols.MetadataInterface): class LinuxMetadata(interfaces.symbols.MetadataInterface): """Class to handle the metadata from a Linux symbol table.""" + + +class MacMetadata(interfaces.symbols.MetadataInterface): + """Class to handle the metadata from a Mac symbol table.""" From 3748cb89b8e2493fd8792315a9b3419d9a26dfb3 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 28 Nov 2024 10:22:45 +0000 Subject: [PATCH 0904/2186] Windows: Improve debugging output for pdbscan --- volatility3/framework/automagic/pdbscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/pdbscan.py b/volatility3/framework/automagic/pdbscan.py index 1d5bf55ea..3751b383e 100644 --- a/volatility3/framework/automagic/pdbscan.py +++ b/volatility3/framework/automagic/pdbscan.py @@ -272,7 +272,7 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): for kernel in kernels: vollog.log( constants.LOGLEVEL_VVVV, - f"Testing potential kernel for {kernel.get('pdb_name', 'Unknown')} at {kernel.get('signature_offset', -1)} with MZ offset at {kernel.get('mz_offset', -1)}", + f"Testing potential kernel for {kernel.get('pdb_name', 'Unknown')} at {kernel.get('signature_offset', -1):x} with MZ offset at {kernel.get('mz_offset', -1):x}", ) valid_kernel = test_kernel(physical_layer_name, virtual_layer_name, kernel) if valid_kernel is not None: From bec6bc659475b7fc016f1b05093e7783ca70d904 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 28 Nov 2024 16:59:52 +0000 Subject: [PATCH 0905/2186] Fix up vmayarascan and vadyarascan to use yarascan properly --- .../framework/plugins/linux/vmayarascan.py | 58 +++++++++------ .../framework/plugins/windows/vadyarascan.py | 71 ++++++++----------- 2 files changed, 64 insertions(+), 65 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 9fe06b0c8..3d8eb603b 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import logging from typing import Iterable, List, Tuple from volatility3.framework import interfaces, renderers @@ -10,6 +11,8 @@ from volatility3.framework.renderers import format_hints from volatility3.plugins import yarascan from volatility3.plugins.linux import pslist +vollog = logging.getLogger(__name__) + class VmaYaraScan(interfaces.plugins.PluginInterface): """Scans all virtual memory areas for tasks using yara.""" @@ -50,6 +53,8 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): # use yarascan to parse the yara options provided and create the rules rules = yarascan.YaraScan.process_yara_options(dict(self.config)) + sanity_check = 1024 * 1024 * 1024 # 1 GB + # filter based on the pid option if provided filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) for task in pslist.PsList.list_tasks( @@ -66,29 +71,36 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): # get the proc_layer object from the context proc_layer = self.context.layers[proc_layer_name] - for start, end in self.get_vma_maps(task): - for match in rules.match( - data=proc_layer.read(start, end - start, True) - ): - if yarascan.YaraScan.yara_returns_instances(): - for match_string in match.strings: - for instance in match_string.instances: - yield 0, ( - format_hints.Hex(instance.offset + start), - task.UniqueProcessId, - match.rule, - match_string.identifier, - instance.matched_data, - ) - else: - for offset, name, value in match.strings: - yield 0, ( - format_hints.Hex(offset + start), - task.tgid, - match.rule, - name, - value, - ) + vma_maps = list(self.get_vma_maps(task)) + insane_vma_maps = [ + start for (start, size) in vma_maps if size > sanity_check + ] + for start in insane_vma_maps: + vollog.debug(f"VMA at 0x{start:x} over sanity-check size, not scanning") + + if not vma_maps: + vollog.warning(f"No VMAs were found for task {task.pid}, aborting") + continue + + max_vma_size: int = max( + [size for (start, size) in vma_maps if size <= sanity_check] + ) + scanner = yarascan.YaraScanner(rules=rules) + scanner.chunk_size = max_vma_size + + # scan the process layer with the yarascanner + for offset, rule_name, name, value in proc_layer.scan( + context=self.context, + scanner=scanner, + sections=vma_maps, + ): + yield 0, ( + format_hints.Hex(offset), + task.tgid, + rule_name, + name, + value, + ) @staticmethod def get_vma_maps( diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index efcc70d07..65006bdc2 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -32,6 +32,9 @@ class VadYaraScan(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + ), requirements.PluginRequirement( name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) ), @@ -66,49 +69,33 @@ class VadYaraScan(interfaces.plugins.PluginInterface): ): layer_name = task.add_process_layer() layer = self.context.layers[layer_name] - for start, size in self.get_vad_maps(task): - if size > sanity_check: - vollog.debug( - f"VAD at 0x{start:x} over sanity-check size, not scanning" - ) - continue - data = layer.read(start, size, True) - if not yarascan.YaraScan._yara_x: - for match in rules.match(data=data): - if yarascan.YaraScan.yara_returns_instances(): - for match_string in match.strings: - for instance in match_string.instances: - yield 0, ( - format_hints.Hex(instance.offset + start), - task.UniqueProcessId, - match.rule, - match_string.identifier, - instance.matched_data, - ) - else: - for offset, name, value in match.strings: - yield 0, ( - format_hints.Hex(offset + start), - task.UniqueProcessId, - match.rule, - name, - value, - ) - else: - for match in rules.scan(data).matching_rules: - for match_string in match.patterns: - for instance in match_string.matches: - yield 0, ( - format_hints.Hex(instance.offset + start), - task.UniqueProcessId, - f"{match.namespace}.{match.identifier}", - match_string.identifier, - data[ - instance.offset : instance.offset - + instance.length - ], - ) + vad_maps = list(self.get_vad_maps(task)) + insane_vad_maps = [ + start for (start, size) in vad_maps if size > sanity_check + ] + for start in insane_vad_maps: + vollog.debug(f"VAD at 0x{start:x} over sanity-check size, not scanning") + + max_vad_size: int = max( + [size for (start, size) in vad_maps if size <= sanity_check] + ) + scanner = yarascan.YaraScanner(rules=rules) + scanner.chunk_size = max_vad_size + + # scan the process layer with the yarascanner + for offset, rule_name, name, value in layer.scan( + context=self.context, + scanner=scanner, + sections=vad_maps, + ): + yield 0, ( + format_hints.Hex(offset), + task.UniqueProcessId, + rule_name, + name, + value, + ) @staticmethod def get_vad_maps( From b8023f0c97ae97253ab9b8eae99e1dc4cba1eb79 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 29 Nov 2024 19:05:27 +1100 Subject: [PATCH 0906/2186] Linux/Mac: Address code review suggestions - Add getters for Linux/Mac ISF sources - Avoid using internal attributes - Use the dict repr instead of walking the dict to simplify code --- .../framework/automagic/symbol_finder.py | 26 ++++++++++--------- volatility3/framework/symbols/metadata.py | 19 +++++++++++--- 2 files changed, 29 insertions(+), 16 deletions(-) diff --git a/volatility3/framework/automagic/symbol_finder.py b/volatility3/framework/automagic/symbol_finder.py index 55e2ad6f5..6d689e194 100644 --- a/volatility3/framework/automagic/symbol_finder.py +++ b/volatility3/framework/automagic/symbol_finder.py @@ -161,27 +161,29 @@ class SymbolFinder(interfaces.automagic.AutomagicInterface): ] = layer.address_mask # Keep track of the existing table names so we know which ones were added - old_table_names = set(context.symbol_space._dict) + old_table_names = set(context.symbol_space) # Construct the appropriate symbol table requirement.construct(context, config_path) - new_table_names = context.symbol_space._dict.keys() - old_table_names + new_table_names = set(context.symbol_space) - old_table_names # It should add only one symbol table. Ignore the next steps if it doesn't if len(new_table_names) == 1: new_table_name = new_table_names.pop() - symbol_table = context.symbol_space._dict[new_table_name] - producer = symbol_table.producer + symbol_table = context.symbol_space[new_table_name] + producer_metadata = symbol_table.producer vollog.debug( - f"producer_name: {producer.name}, producer_version: {producer.version_string}" + f"producer_name: {producer_metadata.name}, producer_version: {producer_metadata.version_string}" ) - for category in symbol_table.metadata._json_data: - vollog.debug(f"{category}:") - for subkey in symbol_table.metadata._json_data[category]: - subkey_item = ", ".join( - f"{key}: '{value}'" for key, value in subkey.items() - ) - vollog.debug(f"\t{subkey_item}") + + symbol_metadata = symbol_table.metadata + vollog.debug("Types:") + for types_source_dict in symbol_metadata.get_types_sources(): + vollog.debug(f"\t{types_source_dict}") + + vollog.debug("Symbols:") + for symbol_source_dict in symbol_metadata.get_symbols_sources(): + vollog.debug(f"\t{symbol_source_dict}") break else: diff --git a/volatility3/framework/symbols/metadata.py b/volatility3/framework/symbols/metadata.py index 39ddd6544..02e9cc489 100644 --- a/volatility3/framework/symbols/metadata.py +++ b/volatility3/framework/symbols/metadata.py @@ -4,8 +4,7 @@ import datetime import logging -from typing import Optional, Tuple, Union - +from typing import Optional, Tuple, Union, List, Dict from volatility3.framework import constants, interfaces vollog = logging.getLogger(__name__) @@ -86,9 +85,21 @@ class WindowsMetadata(interfaces.symbols.MetadataInterface): return self._json_data.get("pdb", {}).get("age", None) -class LinuxMetadata(interfaces.symbols.MetadataInterface): +class DwarfMetadata(interfaces.symbols.MetadataInterface): + """Base class to handle metadata of DWARF-based ISF sources""" + + def get_types_sources(self) -> List[Optional[Dict]]: + """Returns the types sources metadata""" + return self._json_data.get("types", []) + + def get_symbols_sources(self) -> List[Optional[Dict]]: + """Returns the symbols sources metadata""" + return self._json_data.get("symbols", []) + + +class LinuxMetadata(DwarfMetadata): """Class to handle the metadata from a Linux symbol table.""" -class MacMetadata(interfaces.symbols.MetadataInterface): +class MacMetadata(DwarfMetadata): """Class to handle the metadata from a Mac symbol table.""" From 77778ee6f6cfaa9a9af1d73a225c67a8836727c7 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 29 Nov 2024 19:35:18 +1100 Subject: [PATCH 0907/2186] Linux/Mac: ISF metadata: Rename s/DWARF/POSIX/, as I'm not happy with the generic name. BTF source could potentially generate the same keys --- volatility3/framework/symbols/metadata.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/metadata.py b/volatility3/framework/symbols/metadata.py index 02e9cc489..73ad2cf21 100644 --- a/volatility3/framework/symbols/metadata.py +++ b/volatility3/framework/symbols/metadata.py @@ -85,8 +85,8 @@ class WindowsMetadata(interfaces.symbols.MetadataInterface): return self._json_data.get("pdb", {}).get("age", None) -class DwarfMetadata(interfaces.symbols.MetadataInterface): - """Base class to handle metadata of DWARF-based ISF sources""" +class PosixMetadata(interfaces.symbols.MetadataInterface): + """Base class to handle metadata of Posix-based ISF sources""" def get_types_sources(self) -> List[Optional[Dict]]: """Returns the types sources metadata""" @@ -97,9 +97,9 @@ class DwarfMetadata(interfaces.symbols.MetadataInterface): return self._json_data.get("symbols", []) -class LinuxMetadata(DwarfMetadata): +class LinuxMetadata(PosixMetadata): """Class to handle the metadata from a Linux symbol table.""" -class MacMetadata(DwarfMetadata): +class MacMetadata(PosixMetadata): """Class to handle the metadata from a Mac symbol table.""" From 0030129ff8b440f8f3e43870f87d697b3847baa6 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 29 Nov 2024 08:43:04 +0000 Subject: [PATCH 0908/2186] Make suggested fixes to reduce loops and ignore insane sections --- .../framework/plugins/linux/vmayarascan.py | 25 +++++++++-------- .../framework/plugins/windows/vadyarascan.py | 28 ++++++++++++------- 2 files changed, 31 insertions(+), 22 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 3d8eb603b..89210be69 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -71,20 +71,21 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): # get the proc_layer object from the context proc_layer = self.context.layers[proc_layer_name] - vma_maps = list(self.get_vma_maps(task)) - insane_vma_maps = [ - start for (start, size) in vma_maps if size > sanity_check - ] - for start in insane_vma_maps: - vollog.debug(f"VMA at 0x{start:x} over sanity-check size, not scanning") + max_vma_size = 0 + vma_maps_to_scan = [] + for start, size in self.get_vma_maps(task): + if size > sanity_check: + vollog.debug( + f"VMA at 0x{start:x} over sanity-check size, not scanning" + ) + continue + max_vma_size = max(max_vma_size, size) + vma_maps_to_scan.append((start, size)) - if not vma_maps: - vollog.warning(f"No VMAs were found for task {task.pid}, aborting") + if not vma_maps_to_scan: + vollog.warning(f"No VMAs were found for task {task.tgid}, not scanning") continue - max_vma_size: int = max( - [size for (start, size) in vma_maps if size <= sanity_check] - ) scanner = yarascan.YaraScanner(rules=rules) scanner.chunk_size = max_vma_size @@ -92,7 +93,7 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): for offset, rule_name, name, value in proc_layer.scan( context=self.context, scanner=scanner, - sections=vma_maps, + sections=vma_maps_to_scan, ): yield 0, ( format_hints.Hex(offset), diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 65006bdc2..a67b8dc0b 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -70,16 +70,24 @@ class VadYaraScan(interfaces.plugins.PluginInterface): layer_name = task.add_process_layer() layer = self.context.layers[layer_name] - vad_maps = list(self.get_vad_maps(task)) - insane_vad_maps = [ - start for (start, size) in vad_maps if size > sanity_check - ] - for start in insane_vad_maps: - vollog.debug(f"VAD at 0x{start:x} over sanity-check size, not scanning") + max_vad_size = 0 + vad_maps_to_scan = [] + + for start, size in self.get_vad_maps(task): + if size > sanity_check: + vollog.debug( + f"VAD at 0x{start:x} over sanity-check size, not scanning" + ) + continue + max_vad_size = max(max_vad_size, size) + vad_maps_to_scan.append((start, size)) + + if not vad_maps_to_scan: + vollog.warning( + f"No VADs were found for task {task.UniqueProcessID}, not scanning" + ) + continue - max_vad_size: int = max( - [size for (start, size) in vad_maps if size <= sanity_check] - ) scanner = yarascan.YaraScanner(rules=rules) scanner.chunk_size = max_vad_size @@ -87,7 +95,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): for offset, rule_name, name, value in layer.scan( context=self.context, scanner=scanner, - sections=vad_maps, + sections=vad_maps_to_scan, ): yield 0, ( format_hints.Hex(offset), From 393db1050f7df14d39c6f71bc0782e5422ed3188 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 29 Nov 2024 08:51:06 +0000 Subject: [PATCH 0909/2186] Windows: protect again mz_offsets being None --- volatility3/framework/automagic/pdbscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/pdbscan.py b/volatility3/framework/automagic/pdbscan.py index 3751b383e..0b4f6c73a 100644 --- a/volatility3/framework/automagic/pdbscan.py +++ b/volatility3/framework/automagic/pdbscan.py @@ -272,7 +272,7 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): for kernel in kernels: vollog.log( constants.LOGLEVEL_VVVV, - f"Testing potential kernel for {kernel.get('pdb_name', 'Unknown')} at {kernel.get('signature_offset', -1):x} with MZ offset at {kernel.get('mz_offset', -1):x}", + f"Testing potential kernel for {kernel.get('pdb_name', 'Unknown')} at {kernel.get('signature_offset', -1):x} with MZ offset at {(kernel.get('mz_offset', -1) or -1):x}", ) valid_kernel = test_kernel(physical_layer_name, virtual_layer_name, kernel) if valid_kernel is not None: From 3df385369cbd2489f8e057b616e98a83b79cf397 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 30 Nov 2024 11:28:09 +0000 Subject: [PATCH 0910/2186] Ensure the VAD/VMA gets scanned in a single block --- .../framework/plugins/linux/vmayarascan.py | 28 ++++++++++--------- .../framework/plugins/windows/vadyarascan.py | 25 ++++++++--------- 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 89210be69..8dd64404d 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -36,6 +36,9 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + ), requirements.ModuleRequirement( name="kernel", description="Linux kernel", @@ -89,19 +92,18 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): scanner = yarascan.YaraScanner(rules=rules) scanner.chunk_size = max_vma_size - # scan the process layer with the yarascanner - for offset, rule_name, name, value in proc_layer.scan( - context=self.context, - scanner=scanner, - sections=vma_maps_to_scan, - ): - yield 0, ( - format_hints.Hex(offset), - task.tgid, - rule_name, - name, - value, - ) + # scan the VMA data (in one contiguous block) with the yarascanner + for start, size in vma_maps_to_scan: + for offset, rule_name, name, value in scanner( + proc_layer.read(start, size, pad=True), start + ): + yield 0, ( + format_hints.Hex(offset), + task.tgid, + rule_name, + name, + value, + ) @staticmethod def get_vma_maps( diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index a67b8dc0b..2e9cc44ea 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -91,19 +91,18 @@ class VadYaraScan(interfaces.plugins.PluginInterface): scanner = yarascan.YaraScanner(rules=rules) scanner.chunk_size = max_vad_size - # scan the process layer with the yarascanner - for offset, rule_name, name, value in layer.scan( - context=self.context, - scanner=scanner, - sections=vad_maps_to_scan, - ): - yield 0, ( - format_hints.Hex(offset), - task.UniqueProcessId, - rule_name, - name, - value, - ) + # scan the VAD data (in one contiguous block) with the yarascanner + for start, size in vad_maps_to_scan: + for offset, rule_name, name, value in scanner( + layer.read(start, size, pad=True), start + ): + yield 0, ( + format_hints.Hex(offset), + task.UniqueProcessId, + rule_name, + name, + value, + ) @staticmethod def get_vad_maps( From 56f6ef0add6d73ecebeb41837a69627f960e8b0d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 30 Nov 2024 11:52:16 +0000 Subject: [PATCH 0911/2186] Include a test developed by @gcmoreira and @eve-mem --- test/test_volatility.py | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/test/test_volatility.py b/test/test_volatility.py index 847be88d9..ea9ad8211 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -14,6 +14,7 @@ import tempfile import hashlib import ntpath import json +import contextlib # # HELPER FUNCTIONS @@ -378,6 +379,42 @@ def test_linux_library_list(image, volatility, python): assert out.count(b"\n") >= 2677 assert rc == 0 +def test_linux_vmayarascan_yara_rule(image, volatility, python): + yara_rule_01 = r""" + rule fullvmayarascan + { + strings: + $s1 = "_nss_files_parse_grent" + $s2 = "/lib64/ld-linux-x86-64.so.2" + $s3 = "(bufferend - (char *) 0) % sizeof (char *) == 0" + condition: + all of them + } + """ + + # FIXME: When the minimum Python version includes 3.12, replace the following with: + # with tempfile.NamedTemporaryFile(delete_on_close=False) as fd: ... + fd, filename = tempfile.mkstemp(suffix=".yar") + try: + with os.fdopen(fd, "w") as f: + f.write(yara_rule_01) + + rc, out, _err = runvol_plugin( + "linux.vmayarascan.VmaYaraScan", + image, + volatility, + python, + pluginargs=["--pid", "8600", "--yara-file", filename], + ) + finally: + with contextlib.suppress(FileNotFoundError): + os.remove(filename) + + out = out.lower() + assert out.count(b"\n") > 4 + assert rc == 0 + + # MAC From 2dc168628936ffcc334c1de37c024dc3d0fd7ff6 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 30 Nov 2024 13:36:14 +0000 Subject: [PATCH 0912/2186] Windows: Protect the SERICE_RECORD is_valid function a little more The request to .Order could fail depending on where the structure lies in memory. --- .../symbols/windows/extensions/services.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/services.py b/volatility3/framework/symbols/windows/extensions/services.py index e14de761d..0a2194e07 100644 --- a/volatility3/framework/symbols/windows/extensions/services.py +++ b/volatility3/framework/symbols/windows/extensions/services.py @@ -14,13 +14,16 @@ class SERVICE_RECORD(objects.StructType): def is_valid(self) -> bool: """Determine if the structure is valid.""" - if self.Order < 0 or self.Order > 0xFFFF: - return False - try: - _ = self.State.description - _ = self.Start.description - except ValueError: + if self.Order < 0 or self.Order > 0xFFFF: + return False + + try: + _ = self.State.description + _ = self.Start.description + except ValueError: + return False + except exceptions.InvalidAddressException: return False return True From d404747de5ce622ac1907199ed48b4f9905f2bbc Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 1 Dec 2024 00:04:46 +0000 Subject: [PATCH 0913/2186] Tests: Add in vadyarascan tests --- test/test_volatility.py | 58 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index ea9ad8211..371dd281c 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -197,7 +197,7 @@ def test_windows_thrdscan(image, volatility, python): assert out.find(b"\t4\t8") != -1 assert out.find(b"\t4\t12") != -1 assert out.find(b"\t4\t16") != -1 - #assert out.find(b"this raieses AssertionError") != -1 + # assert out.find(b"this raieses AssertionError") != -1 assert rc == 0 @@ -274,6 +274,59 @@ def test_windows_devicetree(image, volatility, python): assert rc == 0 +def test_windows_vadyarascan_yara_rule(image, volatility, python): + yara_rule_01 = r""" + rule fullvadyarascan + { + strings: + $s1 = "!This program cannot be run in DOS mode." + $s2 = "Qw))Pw" + $s3 = "W_wD)Pw" + $s4 = "1Xw+2Xw" + $s5 = "xd`wh``w" + $s6 = "0g`w0g`w8g`w8g`w@g`w@g`wHg`wHg`wPg`wPg`wXg`wXg`w`g`w`g`whg`whg`wpg`wpg`wxg`wxg`w" + condition: + all of them + } + """ + + # FIXME: When the minimum Python version includes 3.12, replace the following with: + # with tempfile.NamedTemporaryFile(delete_on_close=False) as fd: ... + fd, filename = tempfile.mkstemp(suffix=".yar") + try: + with os.fdopen(fd, "w") as f: + f.write(yara_rule_01) + + rc, out, _err = runvol_plugin( + "windows.vadyarascan.VadYaraScan", + image, + volatility, + python, + pluginargs=["--pid", "4012", "--yara-file", filename], + ) + finally: + with contextlib.suppress(FileNotFoundError): + os.remove(filename) + + out = out.lower() + assert out.count(b"\n") > 4 + assert rc == 0 + + +def test_windows_vadyarascan(image, volatility, python): + rc, out, _err = runvol_plugin( + "windows.vadyarascan.VadYaraScan", + image, + volatility, + python, + pluginargs=["--pid", "4012", "--yara-string", "MZ"], + ) + out = out.lower() + + assert out.count(b"\n") > 10 + assert rc == 0 + + # LINUX @@ -342,6 +395,7 @@ def test_linux_tty_check(image, volatility, python): assert out.count(b"\n") >= 5 assert rc == 0 + def test_linux_sockstat(image, volatility, python): rc, out, err = runvol_plugin("linux.sockstat.Sockstat", image, volatility, python) @@ -379,6 +433,7 @@ def test_linux_library_list(image, volatility, python): assert out.count(b"\n") >= 2677 assert rc == 0 + def test_linux_vmayarascan_yara_rule(image, volatility, python): yara_rule_01 = r""" rule fullvmayarascan @@ -415,7 +470,6 @@ def test_linux_vmayarascan_yara_rule(image, volatility, python): assert rc == 0 - # MAC From 3c20e46902a3cc11ed00fcdf122f375ed1ca4b6c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 1 Dec 2024 12:36:35 +1100 Subject: [PATCH 0914/2186] renderers: Fix HexBytes formatter to apply padding also at the end of the string, ensuring proper output alignment when the pretty renderer justifies each line to the right --- volatility3/cli/text_renderer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 96970d3ce..31307f67e 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -51,8 +51,10 @@ def hex_bytes_as_text(value: bytes, width: int = 16) -> str: # Handle leftovers when the lenght is not mutiple of width if printables: - output += " " * (width - len(printables)) + padding = width - len(printables) + output += " " * (padding) output += printables + output += " " * (padding) return output From c19a54cbd982fc29c7d937d90c830c1dda3bfd03 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 1 Dec 2024 14:08:53 +1100 Subject: [PATCH 0915/2186] testcases: Minor cleanup: Renaming and reordering functions to align with the Linux/Windows test cases --- test/test_volatility.py | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 97098d1ca..f7cb23e93 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -315,7 +315,7 @@ def test_windows_vadyarascan_yara_rule(image, volatility, python): assert rc == 0 -def test_windows_vadyarascan(image, volatility, python): +def test_windows_vadyarascan_yara_string(image, volatility, python): rc, out, _err = runvol_plugin( "windows.vadyarascan.VadYaraScan", image, @@ -476,6 +476,7 @@ def test_linux_capabilities(image, volatility, python): python, globalargs=["-vvv"], ) + if rc != 0 and err.count(b"Unsupported kernel capabilities implementation") > 0: # The linux-sample-1.bin kernel implementation isn't supported. # However, we can still check that the plugin requirements are met. @@ -521,13 +522,14 @@ def test_linux_kthreads(image, volatility, python): python, globalargs=["-vvv"], ) - out = out.lower() if rc != 0 and err.count(b"Unsupported kthread implementation") > 0: # The linux-sample-1.bin kernel implementation isn't supported. # However, we can still check that the plugin requirements are met. return None + out = out.lower() + assert out.count(b"\n") > 10 assert rc == 0 @@ -580,20 +582,6 @@ def test_linux_vmaregexscan(image, volatility, python): assert rc == 0 -def test_linux_vmayarascan(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.vmayarascan.VmaYaraScan", - image, - volatility, - python, - pluginargs=["--pid", "1", "--yara-string", "ELF"], - ) - out = out.lower() - - assert out.count(b"\n") > 10 - assert rc == 0 - - def test_linux_vmayarascan_yara_rule(image, volatility, python): yara_rule_01 = r""" rule fullvmayarascan @@ -630,6 +618,20 @@ def test_linux_vmayarascan_yara_rule(image, volatility, python): assert rc == 0 +def test_linux_vmayarascan_yara_string(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.vmayarascan.VmaYaraScan", + image, + volatility, + python, + pluginargs=["--pid", "1", "--yara-string", "ELF"], + ) + out = out.lower() + + assert out.count(b"\n") > 10 + assert rc == 0 + + # MAC From 535ce3a22a575c14100ca30627f3d2889fd86c9c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 1 Dec 2024 19:34:35 +1100 Subject: [PATCH 0916/2186] testing: Enable automatic selection of the OS image based on the test and filename prefix, addressing an issue in the development environment. For example, when using VSCode with pytest, test autodiscovery triggers pytest_generate_tests(), adding all images to each test case. This causes issues, as Linux tests end up being executed with Windows and Mac images, and vice versa. --- .github/workflows/test.yaml | 10 ++++++---- test/conftest.py | 33 ++++++++++++++++++++++++++++----- 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 084cce295..dfc42499d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -25,10 +25,13 @@ jobs: - name: Download images run: | + mkdir test_images + cd test_images curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/linux-sample-1.bin.gz" gunzip linux-sample-1.bin.gz curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/win-xp-laptop-2005-06-25.img.gz" gunzip win-xp-laptop-2005-06-25.img.gz + cd - - name: Download and Extract symbols run: | @@ -39,13 +42,12 @@ jobs: - name: Testing... run: | - pytest ./test/test_volatility.py --volatility=vol.py --image win-xp-laptop-2005-06-25.img -k test_windows -v - pytest ./test/test_volatility.py --volatility=vol.py --image linux-sample-1.bin -k test_linux -v + pytest ./test/test_volatility.py --volatility=vol.py --image-dir=./test_images -k test_windows -v + pytest ./test/test_volatility.py --volatility=vol.py --image-dir=./test_images -k test_linux -v - name: Clean up post-test run: | - rm -rf *.bin - rm -rf *.img + rm -rf test_images cd volatility3/symbols rm -rf linux rm -rf linux.zip diff --git a/test/conftest.py b/test/conftest.py index 4ad63065b..0115fade9 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -35,16 +35,39 @@ def pytest_addoption(parser): def pytest_generate_tests(metafunc): """Parameterize tests based on image names""" - images = metafunc.config.getoption("image") + images = metafunc.config.getoption("image").copy() for image_dir in metafunc.config.getoption("image_dir"): - images = images + [ - os.path.join(image_dir, dir) for dir in os.listdir(image_dir) + images += [ + os.path.join(image_dir, dir_name) for dir_name in os.listdir(image_dir) ] - # tests with "image" parameter are run against images + # tests with "image" parameter are run against image if "image" in metafunc.fixturenames: + filtered_images = [] + ids = [] + for image in images: + image_base = os.path.basename(image) + test_name = metafunc.definition.originalname + if test_name.startswith("test_windows_") and not image_base.startswith( + "win-" + ): + continue + elif test_name.startswith("test_linux_") and not image_base.startswith( + "linux-" + ): + continue + elif test_name.startswith("test_mac_") and not image_base.startswith( + "mac-" + ): + continue + + filtered_images.append(image) + ids.append(image_base) + metafunc.parametrize( - "image", images, ids=[os.path.basename(image) for image in images] + "image", + filtered_images, + ids=ids, ) From 20f15d3591a5e6340ecd2d3628406c01aef71924 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 2 Dec 2024 11:34:49 +0100 Subject: [PATCH 0917/2186] modular physical_layer access --- volatility3/framework/symbols/linux/extensions/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index e5a074a49..2d77b8562 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2511,6 +2511,10 @@ class scatterlist(objects.StructType): Returns: An iterator of bytes """ - physical_layer = self._context.layers["memory_layer"] + # Either "physical" is layer-1 because this is a module layer, either "physical" is the current layer + physical_layer_name = self._context.layers[self.vol.layer_name].config.get( + "memory_layer", self.vol.layer_name + ) + physical_layer = self._context.layers[physical_layer_name] for sg in self.for_each_sg(): yield from physical_layer.read(sg.dma_address, sg._sg_dma_len()) From 3ff304ceed2501df6d9291259f9bc6b3c587c303 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 3 Dec 2024 19:58:19 +0000 Subject: [PATCH 0918/2186] Layers: Fix intel bug introduced in commit 73d4f2f The patch failed to mask the incoming address to the maximum physical address. This allowed non-canonical addresses (potentially within the page table) to be looked up incorrectly. Fixes #1374. Thanks to @the-rectifier for quickly identifying the issue! --- volatility3/framework/layers/intel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index d762b41a8..c30ae48a8 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -182,7 +182,7 @@ class Intel(linear.LinearlyMappedLayer): def _pte_pfn(self, entry: int) -> int: """Extracts the page frame number (PFN) from the page table entry (PTE) entry""" - return entry >> self.page_shift + return self._mask(entry, self._maxphyaddr - 1, 0) >> self.page_shift def _translate_entry(self, offset: int) -> Tuple[int, int]: """Translates a specific offset based on paging tables. From 5acf8858d95e413d32b7342fe5f388a68597201e Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 5 Dec 2024 18:31:04 +0000 Subject: [PATCH 0919/2186] =?UTF-8?q?PEP=20488=20=E2=80=93=20Elimination?= =?UTF-8?q?=20of=20PYO=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Python 3.5 implememted PEP 488, eliminating .pyo files. --- volatility3/framework/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 51310bfa2..4c09b4dae 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -164,7 +164,6 @@ def _filter_files(filename: str): return ( filename.endswith(".py") or filename.endswith(".pyc") - or filename.endswith(".pyo") ) and not filename.startswith("__") From f11ef06c27bbaaeb25cb83c3eadfba192531b52b Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 5 Dec 2024 21:30:20 +0000 Subject: [PATCH 0920/2186] =?UTF-8?q?PEP=20488=20=E2=80=93=20Elimination?= =?UTF-8?q?=20of=20PYO=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Python 3.5 implememted PEP 488, eliminating .pyo files. --- volatility3/framework/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 4c09b4dae..23ea745de 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -162,8 +162,7 @@ def import_files(base_module, ignore_errors: bool = False) -> List[str]: def _filter_files(filename: str): """Ensures that a filename traversed is an importable python file""" return ( - filename.endswith(".py") - or filename.endswith(".pyc") + filename.endswith(".py") or filename.endswith(".pyc") ) and not filename.startswith("__") From 846403115a8f14a5b6c47ee6fb53bb20f4d6dc78 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Fri, 6 Dec 2024 16:00:03 +0000 Subject: [PATCH 0921/2186] Small documention changes --- doc/source/basics.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 1b8e64780..91a45fbbf 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -14,7 +14,7 @@ Memory layers ------------- A memory layer is a body of data that can be accessed by requesting data at a specific address. At its lowest level -this data is stored on a phyiscal medium (RAM) and very early computers addresses locations in memory directly. However, +this data is stored on a phyiscal medium (RAM) and very early computers addressed locations in memory directly. However, as the size of memory increased and it became more difficult to manage memory most architectures moved to a "paged" model of memory, where the available memory is cut into specific fixed-sized pages. To help further, programs can ask for any address and the processor will look up their (virtual) address in a map, to find out where the (physical) address that it lives at is, @@ -25,8 +25,8 @@ address `9`). The automagic that runs at the start of every volatility session a kernel virtual layer, which allows for kernel addresses to be looked up and the correct data returned. There can, however, be several maps, and in general there is a different map for each process (although a portion of the operating system's memory is usually mapped to the same location across all processes). The maps may take the same address but point to a different part of -physical memory. It also means that two processes could theoretically share memory, but having an virtual address mapped to the -same physical address as another process. See the worked example below for more information. +physical memory. It also means that two processes could theoretically share memory, both having a virtual address mapped to the +same physical address. See the worked example below for more information. To translate an address on a layer, call :py:meth:`layer.mapping(offset, length, ignore_errors) ` and it will return a list of chunks without overlap, in order, for the requested range. If a portion cannot be mapped, an exception will be thrown unless `ignore_errors` is true. Each @@ -61,7 +61,7 @@ mean they each see something different: 4 -> 2 16 - Free In this example, part of the operating system is visible across all processes (although not all processes can write to the memory, there -is a permissions model for intel addressing which is not discussed further here).) +is a permissions model for Intel addressing which is not discussed further here). In Volatility 3 mappings are represented by a directed graph of layers, whose end nodes are :py:class:`DataLayers ` and whose internal nodes are :py:class:`TranslationLayers `. @@ -69,13 +69,13 @@ In this way, a raw memory image in the LiME file format and a page file can be c memory layer. When requesting addresses from the Intel layer, it will use the Intel memory mapping algorithm, along with the address of the directory table base or page table map, to translate that address into a physical address, which will then either be directed towards the swap layer or the LiME layer. Should it -be directed towards the LiME layer, the LiME file format algorithm will be translate the new address to determine where +be directed towards the LiME layer, the LiME file format algorithm will translate the new address to determine where within the file the data is stored. When the :py:meth:`layer.read() ` method is called, the translation is done automatically and the correct data gathered and combined. .. note:: Volatility 2 had a similar concept, called address spaces, but these could only stack linearly one on top of another. -The list of layers supported by volatility can be determined by running the `frameworkinfo` plugin. +The list of layers supported by Volatility can be determined by running the `frameworkinfo` plugin. Templates and Objects --------------------- From 93a47e811b94c4683db119f81ab4496c9e008736 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Fri, 6 Dec 2024 21:52:51 +0000 Subject: [PATCH 0922/2186] Small documentation changes --- doc/source/basics.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 91a45fbbf..278ef4d73 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -167,8 +167,7 @@ There are certain setup tasks that establish the context in a way favorable to a several tasks that are repetitive and also easy to get wrong. These are called :py:class:`Automagic `, since they do things like magically taking a raw memory image and automatically providing the plugin with an appropriate Intel translation layer and an -accurate symbol table without either the plugin or the calling program having to specify all the necessary details. +accurate symbol table without either the plugin or the calling program having to specify all the necessary details. Automagics are a core component which consumers of the library can call or not at their discretion. .. note:: Volatility 2 used to do this as well, but it wasn't a particularly modular mechanism, and was used only for stacking address spaces (rather than identifying profiles), and it couldn't really be disabled/configured easily. - Automagics in Volatility 3 are a core component which consumers of the library can call or not at their discretion. From d29c23e922d22b5ccce0f4bc2ac439acd695a31c Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 7 Dec 2024 15:51:35 +0000 Subject: [PATCH 0923/2186] Windows: Protect against missing _MM_SESSION_SPACE symbol --- volatility3/framework/symbols/windows/extensions/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index ecfc2f163..793e506c3 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -825,6 +825,11 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): constants.LOGLEVEL_VVV, f"Cannot access _EPROCESS.Session.SessionId at {self.vol.offset:#x}", ) + except exceptions.SymbolError: + vollog.log( + constants.LOGLEVEL_VVV, + "Could not lookup _MM_SESSION_SPACE in symbol table", + ) return renderers.UnreadableValue() From 9ebc0bd90d544faeec98ab4d4dd46723aa0c3ed2 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 7 Dec 2024 16:20:45 +0000 Subject: [PATCH 0924/2186] Cosmetic changes to documentation --- doc/source/symbol-tables.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/source/symbol-tables.rst b/doc/source/symbol-tables.rst index 722f9e468..7f0b4153d 100644 --- a/doc/source/symbol-tables.rst +++ b/doc/source/symbol-tables.rst @@ -25,9 +25,9 @@ as long as the symbol files stay in the same location. Windows symbol tables --------------------- -For Windows systems, Volatility accepts a string made up of the GUID and Age of the required PDB file. It then +For Windows systems, Volatility accepts a string made up of the GUID and age of the required PDB file. It then searches all files under the configured symbol directories under the windows subdirectory. Any that contain metadata -which matches the pdb name and GUID/age (or any compressed variant) will be used. If such a symbol table cannot be found, then +which matches the PDB name and GUID/age (or any compressed variant) will be used. If such a symbol table cannot be found, then the associated PDB file will be downloaded from Microsoft's Symbol Server and converted into the appropriate JSON format, and will be saved in the correct location. @@ -35,7 +35,7 @@ Windows symbol tables can be manually constructed from an appropriate PDB file. is built into Volatility 3, called :file:`pdbconv.py`. It can be run from the top-level Volatility path, using the following command: -:command:`PYTHONPATH="." python volatility3/framework/symbols/windows/pdbconv.py` +:command:`PYTHONPATH="."; python volatility3/framework/symbols/windows/pdbconv.py` The :envvar:`PYTHONPATH` environment variable is not required if the Volatility library is installed in the system's library path or a virtual environment. @@ -54,8 +54,8 @@ most Volatility plugins. Note that in most linux distributions, the standard ke and the kernel with debugging information is stored in a package that must be acquired separately. A generic table isn't guaranteed to produce accurate results, and would reduce the number of structures -that all plugins could rely on. As such, and because linux kernels with different configurations can produce different structures, -volatility 3 requires that the banners in the JSON file match the banners found in the image *exactly*, not just the version +that all plugins could rely on. As such, and because Linux kernels with different configurations can produce different structures, +Volatility 3 requires that the banners in the JSON file match the banners found in the image *exactly*, not just the version number. This can include elements such as the compilation time and even the version of gcc used for the compilation. The exact match is required to ensure that the results volatility returns are accurate, therefore there is no simple means provided to get the wrong JSON ISF file to easily match. @@ -63,8 +63,8 @@ provided to get the wrong JSON ISF file to easily match. To determine the string for a particular memory image, use the `banners` plugin. Once the specific banner is known, try to locate that exact kernel debugging package for the operating system. Unfortunately each distribution provides its debugging packages under different package names and there are so many that the distribution may not keep all old -versions of the debugging symbols, and therefore **it may not be possible to find the right symbols to analyze a linux -memory image with volatility**. With Macs there are far fewer kernels and only one distribution, making it easier to +versions of the debugging symbols, and therefore **it may not be possible to find the right symbols to analyze a Linux +memory image with Volatility**. With Macs there are far fewer kernels and only one distribution, making it easier to ensure that the right symbols can be found. Once a kernel with debugging symbols/appropriate DWARF file has been located, `dwarf2json `_ will convert it into an @@ -75,7 +75,7 @@ symbol offsets within the DWARF data, which dwarf2json can extract into the JSON The banners available for volatility to use can be found using the `isfinfo` plugin, but this will potentially take a long time to run depending on the number of JSON files available. This will list all the JSON (ISF) files that -volatility3 is aware of, and for linux/mac systems what banner string they search for. For volatility to use the JSON +Volatility 3 is aware of, and for linux/mac systems what banner string they search for. For volatility to use the JSON file, the banners must match exactly (down to the compilation date). .. note:: From 97698cc5edc4a4d699e452353307c624ccb58a88 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 7 Dec 2024 16:29:58 +0000 Subject: [PATCH 0925/2186] Cosmetic changes to documentation --- doc/source/vol2to3.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/source/vol2to3.rst b/doc/source/vol2to3.rst index e768df0c2..2520562a6 100644 --- a/doc/source/vol2to3.rst +++ b/doc/source/vol2to3.rst @@ -27,7 +27,7 @@ The object model has changed as well, objects now inherit directly from their Py object is actually a Python integer (and has all the associated methods, and can be used wherever a normal int could). In Volatility 2, a complex proxy object was constructed which tried to emulate all the methods of the host object, but ultimately it was a different type and could not be used in the same places (critically, it could make the ordering of -operations important, since a + b might not work, but b + a might work fine). +operations important, since x + y might not work, but y + x might work fine). Volatility 3 has also had significant speed improvements, where Volatility 2 was designed to allow access to live memory images and situations in which the underlying data could change during the run of the plugin, in Volatility 3 the data @@ -56,15 +56,14 @@ Volatility 2 were strictly limited to a stack, one on top of one other. In Vola Automagic --------- -In Volatility 2, we often tried to make this simpler for both users and developers. This resulted in something was -referred to as automagic, in that it was magic that happened automatically. We've now codified that more, so that the +In Volatility 2, we often tried to make this simpler for both users and developers. This resulted in something referred to as automagic, in that it was magic that happened automatically. We've now codified that more, so that the automagic processes are clearly defined and can be enabled or disabled as necessary for any particular run. We also included a stacker automagic to emulate the most common feature of Volatility 2, automatically stacking address spaces (now translation layers) on top of each other. -By default the automagic chosen to be run are determined based on the plugin requested, so that linux plugins get linux -specific automagic and windows plugins get windows specific automagic. This should reduce unnecessarily searching for -linux kernels in a windows image, for example. At the moment this is not user configurableS. +By default the automagic chosen to be run are determined based on the plugin requested, so that Linux plugins get Linux +specific automagic and Windows plugins get Windows specific automagic. This should reduce unnecessarily searching for +Linux kernels in a Windows image, for example. At the moment this is not user configurable. Searching and Scanning ---------------------- From 04d25544428c4a890c7cc88ebe4f80908a101464 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 7 Dec 2024 16:36:18 +0000 Subject: [PATCH 0926/2186] Cosmetic changes to documentation --- doc/source/volshell.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/volshell.rst b/doc/source/volshell.rst index 5a4b21ade..3c4f4ce5d 100644 --- a/doc/source/volshell.rst +++ b/doc/source/volshell.rst @@ -144,12 +144,12 @@ We can provide arguments via the `dpo` method call: 356 4 smss.exe 0x8c0bccf8d040 3 - N/A False 2021-03-13 17:25:33.000000 N/A Disabled ... -Here's we've provided the kernel name that was requested by the volshell plugin itself (the generic volshell does not +Here we've provided the kernel name that was requested by the volshell plugin itself (the generic volshell does not load a kernel module, and instead only has a TranslationLayerRequirement). A different module could be created and provided instead. The context used by the `dpo` method is always `context`. -Instead of print the results directly to screen, they can be gathered into a TreeGrid objects for direct access by +Instead of printing the results directly to screen, they can be gathered into a TreeGrid objects for direct access by using the `generate_treegrid` or `gt` command. :: From e165c78ba70de9961749f1d347fac2bcf6bca13d Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 7 Dec 2024 16:37:39 +0000 Subject: [PATCH 0927/2186] Cosmetic changes to documentation --- doc/source/vol2to3.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/vol2to3.rst b/doc/source/vol2to3.rst index 2520562a6..9b5a739f8 100644 --- a/doc/source/vol2to3.rst +++ b/doc/source/vol2to3.rst @@ -36,11 +36,11 @@ This was because live memory analysis was barely ever used, and this feature cou re-read many times over for no benefit (particularly since each re-read could result in many additional image reads from following page table translations). -Finally, in order to provide Volatility specific information without impact on the ability for structures to have members +Further, in order to provide Volatility specific information without impact on the ability for structures to have members with arbitrary names, all the metadata about the object (such as its layer or offset) have been moved to a read-only :py:meth:`~volatility3.framework.interfaces.objects.ObjectInterface.vol` dictionary. -Further the distinction between a :py:class:`~volatility3.framework.interfaces.objects.Template` (the thing that +Finally, the distinction between a :py:class:`~volatility3.framework.interfaces.objects.Template` (the thing that constructs an object) and the :py:class:`Object ` itself has been made more explicit. In Volatility 2, some information (such as size) could only be determined from a constructed object, leading to instantiating a template on an empty buffer, just to determine the size. In Volatility 3, templates contain From 45f9064623cedf0ac0ceb9b95a5f2729904ba12b Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 7 Dec 2024 17:11:49 +0000 Subject: [PATCH 0928/2186] Cosmetic changes to documentation --- doc/source/symbol-tables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/symbol-tables.rst b/doc/source/symbol-tables.rst index 7f0b4153d..59c1febcc 100644 --- a/doc/source/symbol-tables.rst +++ b/doc/source/symbol-tables.rst @@ -35,7 +35,7 @@ Windows symbol tables can be manually constructed from an appropriate PDB file. is built into Volatility 3, called :file:`pdbconv.py`. It can be run from the top-level Volatility path, using the following command: -:command:`PYTHONPATH="."; python volatility3/framework/symbols/windows/pdbconv.py` +:command:`PYTHONPATH="." python volatility3/framework/symbols/windows/pdbconv.py` The :envvar:`PYTHONPATH` environment variable is not required if the Volatility library is installed in the system's library path or a virtual environment. From b86e8397188900740e3fce848b6ac3abddf1389c Mon Sep 17 00:00:00 2001 From: eve Date: Mon, 9 Dec 2024 18:30:19 +0000 Subject: [PATCH 0929/2186] Interfaces: change allow list for filenames to ensure they work safely on windows. Fixes issue #1387 --- volatility3/framework/interfaces/plugins.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/interfaces/plugins.py b/volatility3/framework/interfaces/plugins.py index 697e4cdc3..74902636e 100644 --- a/volatility3/framework/interfaces/plugins.py +++ b/volatility3/framework/interfaces/plugins.py @@ -59,14 +59,14 @@ class FileHandlerInterface(io.RawIOBase): @staticmethod def sanitize_filename(filename: str) -> str: - """Sanititizes the filename to ensure only a specific whitelist of characters is allowed through""" - allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.- ()[]{}!$%^:#~?<>,|" + """Sanititizes the filename to ensure only a specific allow list of characters is allowed through""" + allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.- ()[]{}!$%^#~," result = "" for char in filename: if char in allowed: result += char else: - result += "?" + result += "_" # change unwanted chars to an underscore return result def __enter__(self): From 582feccf938a75571d455552c3a3e51c026d3a66 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 9 Dec 2024 12:56:07 -0600 Subject: [PATCH 0930/2186] Address feedback --- .../framework/plugins/windows/mftscan.py | 41 ++++++++++++------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 014516b7c..feea78ece 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -5,7 +5,7 @@ import contextlib import datetime import logging -from typing import Generator, Iterable, Dict, Tuple +from typing import Generator, Iterable, Dict, Tuple, Callable from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements @@ -42,7 +42,15 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): context: interfaces.context.ContextInterface, config_path: str, primary_layer_name: str, - attr_callback, + attr_callback: Callable[ + [ + Dict[int, Tuple[str, int, int]], + interfaces.objects.ObjectInterface, + interfaces.objects.ObjectInterface, + str, + ], + Generator, + ], ) -> interfaces.objects.ObjectInterface: try: primary = context.layers[primary_layer_name] @@ -121,7 +129,12 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) @staticmethod - def parse_mft_records(record_map, mft_record, attr, symbol_table): + def parse_mft_records( + record_map: Dict[int, Tuple[str, int, int]], + mft_record: interfaces.objects.ObjectInterface, + attr: interfaces.objects.ObjectInterface, + symbol_table_name: str, + ): # MFT Flags determine the file type or dir # If we don't have a valid enum, coerce to hex so we can keep the record try: @@ -131,7 +144,9 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Standard Information Attribute if attr.Attr_Header.AttrType.lookup() == "STANDARD_INFORMATION": - si_object = symbol_table + constants.BANG + "STANDARD_INFORMATION_ENTRY" + si_object = ( + symbol_table_name + constants.BANG + "STANDARD_INFORMATION_ENTRY" + ) attr_data = attr.Attr_Data.cast(si_object) yield 0, ( format_hints.Hex(attr_data.vol.offset), @@ -150,7 +165,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # File Name Attribute elif attr.Attr_Header.AttrType.lookup() == "FILE_NAME": - fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" + fn_object = symbol_table_name + constants.BANG + "FILE_NAME_ENTRY" attr_data = attr.Attr_Data.cast(fn_object) file_name = attr_data.get_full_name() @@ -201,9 +216,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): else: # past the first $DATA record, attempt to get the ADS name # NotAvailableValue = > 1st Data, but name was not parsable - ads_name = attr.get_resident_filename() - if not ads_name: - ads_name = renderers.NotAvailableValue() + ads_name = attr.get_resident_filename() or renderers.NotAvailableValue() content = attr.get_resident_filecontent() if content: @@ -227,7 +240,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): record_map: Dict[int, Tuple[str, int, int]], mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, - symbol_table, + symbol_table_name: str, return_first_record: bool, ) -> Generator[Iterable, None, None]: """ @@ -240,7 +253,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # file name, DATA count, offset record_map[mft_record.vol.offset] = [renderers.NotAvailableValue(), 0, None] if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": - fn_object = symbol_table + constants.BANG + "FILE_NAME_ENTRY" + fn_object = symbol_table_name + constants.BANG + "FILE_NAME_ENTRY" attr_data = attr.Attr_Data.cast(fn_object) rec_name = attr_data.get_full_name() record_map[mft_record.vol.offset][0] = rec_name @@ -337,10 +350,10 @@ class ADS(interfaces.plugins.PluginInterface): record_map: Dict[int, Tuple[str, int, int]], mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, - symbol_table, + symbol_table_name: str, ): return MFTScan.parse_data_records( - record_map, mft_record, attr, symbol_table, False + record_map, mft_record, attr, symbol_table_name, False ) def _generator(self): @@ -406,10 +419,10 @@ class ResidentData(interfaces.plugins.PluginInterface): record_map: Dict[int, Tuple[str, int, int]], mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, - symbol_table, + symbol_table_name: str, ): return MFTScan.parse_data_records( - record_map, mft_record, attr, symbol_table, True + record_map, mft_record, attr, symbol_table_name, True ) def _generator(self): From e66a3e929b3c1253255f762db5677efd6c0510ec Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 12 Sep 2024 18:51:47 -0500 Subject: [PATCH 0931/2186] Add detection of direct and indirect system calls --- .../plugins/windows/direct_system_calls.py | 450 ++++++++++++++++++ .../plugins/windows/indirect_system_calls.py | 124 +++++ 2 files changed, 574 insertions(+) create mode 100644 volatility3/framework/plugins/windows/direct_system_calls.py create mode 100644 volatility3/framework/plugins/windows/indirect_system_calls.py diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py new file mode 100644 index 000000000..409f24750 --- /dev/null +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -0,0 +1,450 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +import capstone +from collections import namedtuple +from typing import List, Tuple, Optional, Generator, Callable + +from volatility3.framework.objects import utility +from volatility3.framework import interfaces, renderers, symbols, exceptions +from volatility3.framework.configuration import requirements +from volatility3.plugins import yarascan +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import pslist + +vollog = logging.getLogger(__name__) + + +# Full details on the techniques used in these plugins to detect EDR-evading malware +# can be found in our 20 page whitepaper submitted to DEFCON along with the presentation +# https://www.volexity.com/wp-content/uploads/2024/08/Defcon24_EDR_Evasion_Detection_White-Paper_Andrew-Case.pdf + +syscall_finder_type = namedtuple( + "syscall_finder_type", + [ + "get_syscall_target_address", + "wants_syscall_inst", + "rule_str", + "invalid_ops", + "termination_ops", + ], +) + +syscall_finder_type.__doc__ = """ +This type to used to specify how malicious system call invocations should be found. + +`get_syscall_target_address` is optionally used to extract the address containing the malicious 'syscall' instruction +`wants_syscall_inst` whether or not this method expects the 'syscall' instrunction directly within the malicious code block +`rule` the opcode string to search for the malicious syscall instructions +`invalid_ops` instructions that only appear in invalid code blocks. Stops processing of the code block when encountered. +`termination_ops` instructions that are expected to be present in the code block and that stop processing +""" + + +class DirectSystemCalls(interfaces.plugins.PluginInterface): + """Detects the Direct System Call technique used to bypass EDRs""" + + _required_framework_version = (2, 4, 0) + _version = (1, 0, 0) + + valid_syscall_handlers = ("ntdll.dll", "win32u.dll") + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + self.syscall_finder = syscall_finder_type( + # for direct system calls, we find the `syscall` instruction directly, so we already know the address + None, + # yes, we want the syscall instruction present as it is what this technique looks for + True, + # regex to find "\x0f\x05" (syscall) followed later by "\xc3" (ret) + # we allow spacing in between to break naive anti-analysis forms (e.g., TarTarus Gate) + # Standard techniques, such as HellsGate, look like: + # mov r10, rcx + # mov eax, + # syscall + # ret + "/\\x0f\\x05[^\\xc3]{,24}\\xc3/", + # any of these will not be in a workable, malicious direct system call block + ["jmp", "call", "leave", "int3"], + # the expected form is to end with a "ret" back to the calling code + ["ret"], + ) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # create a list of requirements for vadyarascan + vadyarascan_requirements = [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) + ), + requirements.PluginRequirement( + name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) + ), + ] + + # get base yarascan requirements for command line options + yarascan_requirements = yarascan.YaraScan.get_yarascan_option_requirements() + + # return the combined requirements + return yarascan_requirements + vadyarascan_requirements + + @staticmethod + def _is_syscall_block( + disasm_func: Callable, + syscall_finder: syscall_finder_type, + data: bytes, + address: int, + ) -> Optional[Tuple[str, capstone._cs_insn]]: + """ + Determines if the bytes starting at `data` represent a valid syscall instrunction invocation block + + To maliciously invoke the system call instruction, malware must do each of the following: + + 1) update RAX to the system call number + 2) update R10 to the first parameter + 3) hit the 'termination' instrunction set in `syscall_finder_type` + + We also track whether the 'syscall' instruction was encountered while parsing + + This function is reusable for every technique we found and studied during the DEFCON research timeframe + + Args: + disasm_func: capstone disassembly function gathered from `get_disasm_function` + syscall_finder: the method and constraints on the malicious system call blocks that the calling plugin knows how to find + data: the bytes from memory to search for malicious syscall invocations + address: the address from where `data` came from in the particular process + Returns: + Optional[Tuple[str, capstone._cs_insn]]: For valid blocks, the disassembled bytes in string from and the last (termination) instruction + """ + found_movr10 = False + found_movreax = False + found_syscall = False + found_end = False + end_inst = None + + disasm_bytes = "" + + for inst in disasm_func(data, address): + disasm_bytes += f"{inst.address:#x}: {inst.mnemonic} {inst.op_str}; " + + # an instruction of all 0x00 opcodes + if inst.opcode.count(0) == len(inst.opcode): + break + + op = inst.mnemonic + + # invalid op, bail + if op in syscall_finder.invalid_ops: + break + + # found the end instruction wanted by the caller + elif op in syscall_finder.termination_ops: + found_end = True + end_inst = inst + break + + # track this no matter what to make code more re-usable + elif op == "syscall": + found_syscall = True + + # if we hit a 'syscall' but RAX or R10 haven't been touched + # then we are in an invalid path, so bail + if not syscall_finder.wants_syscall_inst or ( + not (found_movr10 and found_movreax) + ): + break + + else: + # attempt to see if any other instruction type wrote to registers + try: + _, regs_written = inst.regs_access() + except capstone.CsError: + continue + + if regs_written: + for r in regs_written: + # track writes to eax/rax or R10 + reg = inst.reg_name(r) + if reg in ["eax", "rax"]: + found_movreax = True + + elif reg == "r10": + found_movr10 = True + + # if any of these are missing, the block is invalid regardless of + # the technique we are trying to detect now or in the future + if not (found_movr10 and found_movreax and found_end): + return None + + # if the finder requires a 'syscall' instruction then bail now if we didn't find one + if syscall_finder.wants_syscall_inst and not found_syscall: + return None + + return disasm_bytes, end_inst + + @staticmethod + def get_disasm_function(architecture: str) -> Callable: + """ + Returns the disassembly handler for the given architecture + .detail is used to get full instruction information + + Args: + architecture: the name of the architecture for the process being disassembled + Returns: + The disasm function from capstone for the given architecture + """ + disasm_types = { + "intel": capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_32), + "intel64": capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_64), + } + + disasm_type = disasm_types[architecture] + disasm_type.detail = True + return disasm_type.disasm + + @classmethod + def _is_valid_syscall( + cls, + syscall_finder: syscall_finder_type, + proc_layer: interfaces.layers.DataLayerInterface, + architecture: str, + vads: List[Tuple[int, int, str]], + address: int, + ) -> Optional[Tuple[int, str]]: + """ + Args: + syscall_finder: + proc_layer: the memory layer of the process being scanned + architecture: the name of the architecture for the process being disassembled + vads: the ranges of this process under 10MB + address: the starting address to check for malicious syscall code blocks + + Returns: + Optional[Tuple[int, str]]: For valid code blocks, the starting address of the block and the disassembly string + """ + # the number bytes behind the yara rule hit to scan + behind = 32 + + address = address - behind + + try: + data = proc_layer.read(address, behind * 2) + except exceptions.InvalidAddressException: + return None + + disasm_func = cls.get_disasm_function(architecture) + + # since Intel does not have fixed-size instructions, we have to scan + # each byte offset and re-disassemble the remaining block + for offset in range(behind): + # if this looks like a system call back (r10, rax, ret/jmp) + syscall_info = cls._is_syscall_block( + disasm_func, syscall_finder, data[offset:], address + offset + ) + if syscall_info: + disasm_bytes, end_inst = syscall_info + + # if we can recover (and require) a target address for this malware technique + if syscall_finder.get_syscall_target_address: + target_address = syscall_finder.get_syscall_target_address( + proc_layer, end_inst + ) + + # could not determine the address -> invalid basic block + if not target_address: + continue + + # we only care about calls to system call DLLs + path = cls._get_range_path(vads, target_address) + if not isinstance(path, str) or not path.lower().endswith( + cls.valid_syscall_handlers + ): + continue + + # return the address and disassembly string if all checks pass + return address + offset, disasm_bytes + + return None + + @staticmethod + def _get_vad_maps( + task: interfaces.objects.ObjectInterface, + ) -> List[Tuple[int, int, str]]: + """Creates a map of start/end addresses within a virtual address + descriptor tree. + + Args: + task: The EPROCESS object of which to traverse the vad tree + + Returns: + An iterable of tuples containing start and end addresses for each descriptor + """ + vads: List[Tuple[int, int, str]] = [] + + # scan regions under 10MB + scan_max = 10 * 1000 * 1000 + + vad_root = task.get_vad_root() + + for vad in vad_root.traverse(): + if vad.get_size() < scan_max: + vads.append((vad.get_start(), vad.get_size(), vad.get_file_name())) + + return vads + + @staticmethod + def _get_range_path(ranges: List[Tuple[int, int, str]], address: int) -> Optional[str]: + """ + Returns the path for the range holding `address`, if found + + Args: + ranges: VADs collected from `_get_vad_maps` + address: the address to find + Returns: + The path holding the address, if any + """ + for start, size, path in ranges: + if start <= address < start + size: + return path + + return None + + @classmethod + def _get_tasks_to_scan( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table_name: str, + ) -> Generator[ + Tuple[interfaces.objects.ObjectInterface, str, str, str], None, None + ]: + """ + Gathers active processes with the extra information needed + to detect malicious syscall instructions + + Returns: + Generator of the process object, name, memory layer, and architecture + """ + + # gather active processes + filter_func = pslist.PsList.create_active_process_filter() + + is_32bit_arch = not symbols.symbol_table_is_64bit(context, symbol_table_name) + + for proc in pslist.PsList.list_processes( + context=context, + layer_name=layer_name, + symbol_table=symbol_table_name, + filter_func=filter_func, + ): + proc_name = utility.array_to_string(proc.ImageFileName) + + # skip Defender + if proc_name in ["MsMpEng.exe"]: + continue + + try: + proc_layer_name = proc.add_process_layer() + except exceptions.InvalidAddressException: + continue + + if is_32bit_arch or proc.get_is_wow64(): + architecture = "intel" + else: + architecture = "intel64" + + yield proc, proc_name, proc_layer_name, architecture + + @classmethod + def _get_rule_hits( + cls, + context: interfaces.objects.ObjectInterface, + proc_layer: interfaces.layers.DataLayerInterface, + vads: List[Tuple[int, int, str]], + pattern: str, + ) -> Generator[Tuple[int, Optional[str]], None, None]: + """ + Runs the given opcode rule through Yara and returns the address and file path of hits + + Args: + context: + proc_layer: the layer to scan + vads: the ranges inside of the process being scanned + pattern: the opcodes rule from the plugin to detect a particular EDR-bypass technique + + Returns: + Generator of the address and file path of hits + """ + sections = [(vad[0], vad[1]) for vad in vads] + + rule = yarascan.YaraScanner.get_rule(pattern) + + for hit in proc_layer.scan( + context=context, + scanner=yarascan.YaraScanner(rules=rule), + sections=sections, + ): + address = hit[0] + + path = cls._get_range_path(vads, address) + + # ignore hits in the system call DLLs + if isinstance(path, str) and path.lower().endswith( + cls.valid_syscall_handlers + ): + continue + + yield address, path + + def _generator(self) -> Generator[Tuple[int, Tuple[str, int, Optional[str], int, str]], None, None]: + kernel = self.context.modules[self.config["kernel"]] + + for proc, proc_name, proc_layer_name, architecture in self._get_tasks_to_scan( + self.context, kernel.layer_name, kernel.symbol_table_name + ): + proc_layer = self.context.layers[proc_layer_name] + + vads = self._get_vad_maps(proc) + + # for each valid process, look for malicious syscall invocations + for address, vad_path in self._get_rule_hits( + self.context, proc_layer, vads, self.syscall_finder.rule_str + ): + syscall_info = self._is_valid_syscall( + self.syscall_finder, proc_layer, architecture, vads, address + ) + if not syscall_info: + continue + + address, disasm_bytes = syscall_info + + yield 0, ( + proc_name, + proc.UniqueProcessId, + vad_path, + format_hints.Hex(address), + disasm_bytes, + ) + + def run(self) -> renderers.TreeGrid: + return renderers.TreeGrid( + [ + ("Process", str), + ("PID", int), + ("Range", str), + ("Address", format_hints.Hex), + ("Disasm", str), + ], + self._generator(), + ) diff --git a/volatility3/framework/plugins/windows/indirect_system_calls.py b/volatility3/framework/plugins/windows/indirect_system_calls.py new file mode 100644 index 000000000..417c1b46e --- /dev/null +++ b/volatility3/framework/plugins/windows/indirect_system_calls.py @@ -0,0 +1,124 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import struct +import logging +from typing import List, Optional + +import capstone + +from volatility3.framework import interfaces, exceptions +from volatility3.framework.configuration import requirements +from volatility3.plugins import yarascan +from volatility3.plugins.windows import pslist, direct_system_calls + +vollog = logging.getLogger(__name__) + + +class IndirectSystemCalls(direct_system_calls.DirectSystemCalls): + _required_framework_version = (2, 4, 0) + _version = (1, 0, 0) + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + self.syscall_finder = direct_system_calls.syscall_finder_type( + # gets the target address of a indirect jmp + self._indirect_syscall_block_target, + # we are looking for indirect system calls, so we don't want 'syscall' instructions in our code block + False, + # jmp [address]; ret + "/\\xff\\x25[^\\xc3]{,24}\\xc3/", + # any of these mean we aren't in a malicious indirect call + ["call", "leave", "int3", "ret"], + # stop at jmp, this should reference the system call instruction + ["jmp"], + ) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # create a list of requirements for vadyarascan + vadyarascan_requirements = [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) + ), + requirements.PluginRequirement( + name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) + ), + requirements.PluginRequirement( + name="direct_system_calls", + plugin=direct_system_calls.DirectSystemCalls, + version=(1, 0, 0), + ), + ] + + # get base yarascan requirements for command line options + yarascan_requirements = yarascan.YaraScan.get_yarascan_option_requirements() + + # return the combined requirements + return yarascan_requirements + vadyarascan_requirements + + @staticmethod + def _indirect_syscall_block_target( + proc_layer: interfaces.layers.DataLayerInterface, inst: capstone._cs_insn + ) -> Optional[int]: + """ + This function determines the address of a jmp in the following form: + + jmp [address] + + To determine this, we must: + 1) Pull the 4 byte relative offset of 'address' inside the instruction + 2) Compute the full address of this relative offset + 3) Read from the address as it is being dereferenced + 4) Ensure the target address points to a 'syscall' instruction + + Args: + proc_layer: the layer of the potential syscall block + inst: the terminating instruction of the syscall block check + Returns: + The target address of the jump if it can be computed + """ + + try: + jmp_address_str = proc_layer.read(inst.address, 6) + except exceptions.InvalidAddressException: + return None + + # Should be an jmp... + if jmp_address_str[0:2] != b"\xff\x25": + return None + + # get the address of the 'jmp [address]' instrunction + relative_offset = struct.unpack(" Date: Thu, 12 Sep 2024 18:58:16 -0500 Subject: [PATCH 0932/2186] Fix formatting problem between black versions --- .../framework/plugins/windows/direct_system_calls.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index 409f24750..1edc01671 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -304,7 +304,9 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): return vads @staticmethod - def _get_range_path(ranges: List[Tuple[int, int, str]], address: int) -> Optional[str]: + def _get_range_path( + ranges: List[Tuple[int, int, str]], address: int + ) -> Optional[str]: """ Returns the path for the range holding `address`, if found @@ -407,7 +409,9 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): yield address, path - def _generator(self) -> Generator[Tuple[int, Tuple[str, int, Optional[str], int, str]], None, None]: + def _generator( + self, + ) -> Generator[Tuple[int, Tuple[str, int, Optional[str], int, str]], None, None]: kernel = self.context.modules[self.config["kernel"]] for proc, proc_name, proc_layer_name, architecture in self._get_tasks_to_scan( From fce2125a8e4d2742720cc90f9d80e1e2fed9f4c8 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 14 Sep 2024 15:03:51 -0500 Subject: [PATCH 0933/2186] Make VAD API public as intended --- .../plugins/windows/direct_system_calls.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index 1edc01671..1999563fd 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -49,6 +49,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): _required_framework_version = (2, 4, 0) _version = (1, 0, 0) + # DLLs that are expected to host system call invocations valid_syscall_handlers = ("ntdll.dll", "win32u.dll") def __init__(self, *args, **kwargs): @@ -266,7 +267,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): continue # we only care about calls to system call DLLs - path = cls._get_range_path(vads, target_address) + path = cls.get_range_path(vads, target_address) if not isinstance(path, str) or not path.lower().endswith( cls.valid_syscall_handlers ): @@ -278,7 +279,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): return None @staticmethod - def _get_vad_maps( + def get_vad_maps( task: interfaces.objects.ObjectInterface, ) -> List[Tuple[int, int, str]]: """Creates a map of start/end addresses within a virtual address @@ -304,14 +305,14 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): return vads @staticmethod - def _get_range_path( + def get_range_path( ranges: List[Tuple[int, int, str]], address: int ) -> Optional[str]: """ Returns the path for the range holding `address`, if found Args: - ranges: VADs collected from `_get_vad_maps` + ranges: VADs collected from `get_vad_maps` address: the address to find Returns: The path holding the address, if any @@ -399,7 +400,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): ): address = hit[0] - path = cls._get_range_path(vads, address) + path = cls.get_range_path(vads, address) # ignore hits in the system call DLLs if isinstance(path, str) and path.lower().endswith( @@ -419,7 +420,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): ): proc_layer = self.context.layers[proc_layer_name] - vads = self._get_vad_maps(proc) + vads = self.get_vad_maps(proc) # for each valid process, look for malicious syscall invocations for address, vad_path in self._get_rule_hits( From 262c7f1aa7e7113508d067afc0e45219643ab943 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 14 Sep 2024 15:22:50 -0500 Subject: [PATCH 0934/2186] Make VAD API public as intended --- volatility3/framework/plugins/windows/direct_system_calls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index 1999563fd..151776e75 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -324,7 +324,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): return None @classmethod - def _get_tasks_to_scan( + def get_tasks_to_scan( cls, context: interfaces.context.ContextInterface, layer_name: str, @@ -415,7 +415,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): ) -> Generator[Tuple[int, Tuple[str, int, Optional[str], int, str]], None, None]: kernel = self.context.modules[self.config["kernel"]] - for proc, proc_name, proc_layer_name, architecture in self._get_tasks_to_scan( + for proc, proc_name, proc_layer_name, architecture in self.get_tasks_to_scan( self.context, kernel.layer_name, kernel.symbol_table_name ): proc_layer = self.context.layers[proc_layer_name] From e7fca5a83f6607a72183d560d4646121d85291e2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 16 Sep 2024 09:38:15 -0500 Subject: [PATCH 0935/2186] Update year --- volatility3/framework/plugins/windows/direct_system_calls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index 151776e75..eac18e8d4 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -1,4 +1,4 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # From af65d7e32daf778488928960e176d8774a2ed1b1 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 18 Oct 2024 11:33:38 -0500 Subject: [PATCH 0936/2186] Address feedback --- .../plugins/windows/direct_system_calls.py | 16 ++++++++++++++-- .../plugins/windows/indirect_system_calls.py | 10 +++++++--- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index eac18e8d4..ec8cd811b 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -3,7 +3,7 @@ # import logging -import capstone + from collections import namedtuple from typing import List, Tuple, Optional, Generator, Callable @@ -16,6 +16,12 @@ from volatility3.plugins.windows import pslist vollog = logging.getLogger(__name__) +try: + import capstone + + has_capstone = True +except ImportError: + has_capstone = False # Full details on the techniques used in these plugins to detect EDR-evading malware # can be found in our 20 page whitepaper submitted to DEFCON along with the presentation @@ -114,7 +120,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): 1) update RAX to the system call number 2) update R10 to the first parameter - 3) hit the 'termination' instrunction set in `syscall_finder_type` + 3) hit the 'termination' instruction set in `syscall_finder_type` We also track whether the 'syscall' instruction was encountered while parsing @@ -413,6 +419,12 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): def _generator( self, ) -> Generator[Tuple[int, Tuple[str, int, Optional[str], int, str]], None, None]: + if not has_capstone: + vollog.warning( + "capstone is not installed. This plugin requires capstone to operate." + ) + return + kernel = self.context.modules[self.config["kernel"]] for proc, proc_name, proc_layer_name, architecture in self.get_tasks_to_scan( diff --git a/volatility3/framework/plugins/windows/indirect_system_calls.py b/volatility3/framework/plugins/windows/indirect_system_calls.py index 417c1b46e..b6494645e 100644 --- a/volatility3/framework/plugins/windows/indirect_system_calls.py +++ b/volatility3/framework/plugins/windows/indirect_system_calls.py @@ -6,8 +6,6 @@ import struct import logging from typing import List, Optional -import capstone - from volatility3.framework import interfaces, exceptions from volatility3.framework.configuration import requirements from volatility3.plugins import yarascan @@ -15,6 +13,12 @@ from volatility3.plugins.windows import pslist, direct_system_calls vollog = logging.getLogger(__name__) +# The generator of DirectSystemCalls will bail with a warning if capstone is not installed +try: + import capstone +except ImportError: + pass + class IndirectSystemCalls(direct_system_calls.DirectSystemCalls): _required_framework_version = (2, 4, 0) @@ -98,7 +102,7 @@ class IndirectSystemCalls(direct_system_calls.DirectSystemCalls): if jmp_address_str[0:2] != b"\xff\x25": return None - # get the address of the 'jmp [address]' instrunction + # get the address of the 'jmp [address]' instruction relative_offset = struct.unpack(" Date: Mon, 9 Dec 2024 13:19:06 -0600 Subject: [PATCH 0937/2186] Add capstone to test system requirements. Allow lazy type checks --- pyproject.toml | 1 + volatility3/framework/plugins/windows/direct_system_calls.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fc1ab96cb..9b4b8d485 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,7 @@ dev = [ test = [ "volatility3[dev]", "pytest>=8.3.3,<9", + "capstone>=5.0.3,<6", "yara-x>=0.10.0,<1", ] diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index ec8cd811b..51035b2bc 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -112,7 +112,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): syscall_finder: syscall_finder_type, data: bytes, address: int, - ) -> Optional[Tuple[str, capstone._cs_insn]]: + ) -> Optional[Tuple[str, "capstone._cs_insn"]]: """ Determines if the bytes starting at `data` represent a valid syscall instrunction invocation block From a07ee5a0d53b553b854a8f2ff697ddf7922255a2 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 9 Dec 2024 17:49:22 -0600 Subject: [PATCH 0938/2186] fix(Windows: Handles): Unreliable SAR value on 24H2 Handles are not being decoded in 24H2+ samples. This is because the `Handles._decode_pointer` method grabs the SAR shift value from the disassemble function, but in these samples this value (`0x11`) is incorrect. Adding a fallback to the default SAR value of `0x10` if the obtained pointer is not valid in the kernel address space resolves the issue. --- volatility3/framework/plugins/windows/handles.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 3e5a2fd82..e5cbbf4ca 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -21,11 +21,14 @@ except ImportError: has_capstone = False +DEFAULT_SAR_VALUE = 0x10 # to be used only when decoding fails + + class Handles(interfaces.plugins.PluginInterface): """Lists process open handles.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 2) + _version = (1, 0, 3) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -118,6 +121,10 @@ class Handles(interfaces.plugins.PluginInterface): ) offset = self._decode_pointer(handle_table_entry.LowValue, magic) + if not self.context.layers[virtual].is_valid(offset): + offset = self._decode_pointer( + handle_table_entry.LowValue, DEFAULT_SAR_VALUE + ) else: if handle_table_entry.InfoTable == 0: return None @@ -142,7 +149,6 @@ class Handles(interfaces.plugins.PluginInterface): pointers in the _HANDLE_TABLE_ENTRY which allows us to find the associated _OBJECT_HEADER. """ - DEFAULT_SAR_VALUE = 0x10 # to be used only when decoding fails if self._sar_value is None: if not has_capstone: From 1cde9ae06ee855e084fe5631eb37f2ffa979ef5c Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 10 Dec 2024 09:46:28 +0000 Subject: [PATCH 0939/2186] Slightly modify volshell.rst --- doc/source/volshell.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/volshell.rst b/doc/source/volshell.rst index 3c4f4ce5d..c95456dda 100644 --- a/doc/source/volshell.rst +++ b/doc/source/volshell.rst @@ -36,7 +36,7 @@ operating system mode for volshell, and the current layer available for use. (primary) >>> -Volshell itself in essentially a plugin, but an interactive one. As such, most values are accessed through `self` +Volshell itself is essentially a plugin, but an interactive one. As such, most values are accessed through `self` although there is also a `context` object whenever a context must be provided. The prompt for the tool will indicate the name of the current layer (which can be accessed as `self.current_layer` @@ -92,7 +92,7 @@ It can also be provided with an object and will interpret the data for each in t 0x2e8 : UniqueProcessId symbol_table_name1!pointer 4 ... -These values can be accessed directory as attributes +These values can be accessed directly as attributes :: @@ -180,7 +180,7 @@ used: layer = cc(mynewlayer.MyNewLayer, on_top_of = 'primary', other_parameter = 'important') with open('output.dmp', 'wb') as fp: - for i in range(0, 1073741824, 0x1000): + for i in range(0, 0x4000000, 0x1000): data = layer.read(i, 0x1000, pad = True) fp.write(data) From fdd49d0921a8ca22ea388573dec33ba93a1ef485 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:11:26 +0000 Subject: [PATCH 0940/2186] Slightly modify documentation --- doc/source/glossary.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/glossary.rst b/doc/source/glossary.rst index 66dabfafe..c4a93f908 100644 --- a/doc/source/glossary.rst +++ b/doc/source/glossary.rst @@ -145,9 +145,9 @@ Struct, Structure Symbol This is used in many different contexts, as a short term for many things. Within Volatility, a symbol is a - construct that usually encompasses a specific type :ref:`type` at a specific :ref:`offset`, + construct that usually encompasses a specific :ref:`type` at a specific :ref:`offset`, representing a particular instance of that type within the memory of a compiled and running program. An example - would be the location in memory of a list of active tcp endpoints maintained by the networking stack + would be the location in memory of a list of active TCP endpoints maintained by the networking stack within an operating system. T From 4bccf116292e6269f0ecc306b8dba0973af55697 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:31:16 +0000 Subject: [PATCH 0941/2186] Remove redundant part of if statement Also reorder imports. --- volatility3/cli/volshell/generic.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 82c470e1a..534546dcd 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -11,11 +11,6 @@ import sys from typing import Any, Dict, Iterable, List, Optional, Tuple, Type, Union from urllib import parse, request -from volatility3.cli import text_renderer, volshell -from volatility3.framework import exceptions, interfaces, objects, plugins, renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.layers import intel, physical, resources, scanners - try: import capstone @@ -23,6 +18,11 @@ try: except ImportError: has_capstone = False +from volatility3.cli import text_renderer, volshell +from volatility3.framework import exceptions, interfaces, objects, plugins, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.layers import intel, physical, resources, scanners + class Volshell(interfaces.plugins.PluginInterface): """Shell environment to directly interact with a memory image.""" @@ -553,12 +553,11 @@ class Volshell(interfaces.plugins.PluginInterface): if argname in kwargs: del kwargs[argname] - for keyword in kwargs: - val = kwargs[keyword] + for keyword, val in kwargs.items(): if not isinstance( val, interfaces.configuration.BasicTypes ) and not isinstance(val, list): - if not isinstance(val, list) or all( + if all( isinstance(x, interfaces.configuration.BasicTypes) for x in val ): raise TypeError( From faa6cab797da8719305f49e1e824448a159509eb Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 10 Dec 2024 12:16:42 +0000 Subject: [PATCH 0942/2186] Remove redundant part of if statement Also reorder imports. --- volatility3/cli/volshell/generic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 534546dcd..b1a61fcff 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -555,8 +555,8 @@ class Volshell(interfaces.plugins.PluginInterface): for keyword, val in kwargs.items(): if not isinstance( - val, interfaces.configuration.BasicTypes - ) and not isinstance(val, list): + val, (interfaces.configuration.BasicTypes, list) + ): if all( isinstance(x, interfaces.configuration.BasicTypes) for x in val ): From 0b2f4fdeb772ccb097aaf310ff3169ae37279f13 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 10 Dec 2024 12:26:39 +0000 Subject: [PATCH 0943/2186] Remove redundant part of if statement Also reorder imports. --- volatility3/cli/volshell/generic.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index b1a61fcff..08132608b 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -554,12 +554,8 @@ class Volshell(interfaces.plugins.PluginInterface): del kwargs[argname] for keyword, val in kwargs.items(): - if not isinstance( - val, (interfaces.configuration.BasicTypes, list) - ): - if all( - isinstance(x, interfaces.configuration.BasicTypes) for x in val - ): + if not isinstance(val, (interfaces.configuration.BasicTypes, list)): + if all(isinstance(x, interfaces.configuration.BasicTypes) for x in val): raise TypeError( "Configurable values must be simple types (int, bool, str, bytes)" ) From 39cb75accae827436d8d923592f1d62b34cf9ede Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:02:48 +0000 Subject: [PATCH 0944/2186] Slightly modify documentation Include regex_scan, new functionality of volshell. --- doc/source/volshell.rst | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/source/volshell.rst b/doc/source/volshell.rst index c95456dda..73b000763 100644 --- a/doc/source/volshell.rst +++ b/doc/source/volshell.rst @@ -187,8 +187,22 @@ used: As this demonstrates, all of the python is accessible, as are the volshell built in functions (such as `cc` which creates a constructable, like a layer or a symbol table). +User Convenience +---------------- + +There are functions available that make often-done tasks easiers, and generally provide a shell-like experience. These can be listed using `help()` which, as already mentioned, is mentioned when volshell starts. + Loading files -------------- +^^^^^^^^^^^^^ Files can be loaded as physical layers using the `load_file` or `lf` command, which takes a filename or a URI. This will be added to `context.layers` and can be accessed by the name returned by `lf`. + +Regex +^^^^^ + +It is easy to scan for some bytes or a pattern using `regex_scan` or `rx`. + +An optional size can be given for the displayed results as with the other fuctions (db, dw, dd, dq, etc). + +You can of course specify a different layer name as well. From fc33fd912787d0420cd9c4c5effbfba0ea89a933 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:14:59 +0000 Subject: [PATCH 0945/2186] Slightly modify documentation Include regex_scan, new functionality of volshell. --- doc/source/volshell.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/volshell.rst b/doc/source/volshell.rst index 73b000763..b46647dc3 100644 --- a/doc/source/volshell.rst +++ b/doc/source/volshell.rst @@ -190,7 +190,7 @@ creates a constructable, like a layer or a symbol table). User Convenience ---------------- -There are functions available that make often-done tasks easiers, and generally provide a shell-like experience. These can be listed using `help()` which, as already mentioned, is mentioned when volshell starts. +There are functions available that make often-done tasks easier, and generally provide a shell-like experience. These can be listed using `help()` which, as already mentioned, is advertised when volshell starts. Loading files ^^^^^^^^^^^^^ From b6717d80d9ac5c820cf84803b53c9aee1e115464 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 10 Dec 2024 23:55:44 +0000 Subject: [PATCH 0946/2186] Windows: Fix up minor typo and CodeQL warning --- volatility3/framework/plugins/windows/direct_system_calls.py | 2 +- volatility3/framework/plugins/windows/indirect_system_calls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index 51035b2bc..b0c162f46 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -39,7 +39,7 @@ syscall_finder_type = namedtuple( ) syscall_finder_type.__doc__ = """ -This type to used to specify how malicious system call invocations should be found. +This type is used to specify how malicious system call invocations should be found. `get_syscall_target_address` is optionally used to extract the address containing the malicious 'syscall' instruction `wants_syscall_inst` whether or not this method expects the 'syscall' instrunction directly within the malicious code block diff --git a/volatility3/framework/plugins/windows/indirect_system_calls.py b/volatility3/framework/plugins/windows/indirect_system_calls.py index b6494645e..1a5eb317f 100644 --- a/volatility3/framework/plugins/windows/indirect_system_calls.py +++ b/volatility3/framework/plugins/windows/indirect_system_calls.py @@ -13,10 +13,10 @@ from volatility3.plugins.windows import pslist, direct_system_calls vollog = logging.getLogger(__name__) -# The generator of DirectSystemCalls will bail with a warning if capstone is not installed try: import capstone except ImportError: + # The generator of DirectSystemCalls will bail with a warning if capstone is not installed pass From 3d260f3829e5f7bd4611db726358169498bb6ae8 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Wed, 11 Dec 2024 12:42:20 +0000 Subject: [PATCH 0947/2186] Slightly modify documentation Include regex_scan, new functionality of volshell. --- doc/source/volshell.rst | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/doc/source/volshell.rst b/doc/source/volshell.rst index b46647dc3..47ea2e905 100644 --- a/doc/source/volshell.rst +++ b/doc/source/volshell.rst @@ -203,6 +203,45 @@ Regex It is easy to scan for some bytes or a pattern using `regex_scan` or `rx`. +:: + + (layer_name) >>> rx(rb"(Linux version|Darwin Kernel Version) [0-9]+\.[0-9]+\.[0-9]+") + 0x880001400070 4c 69 6e 75 78 20 76 65 72 73 69 6f 6e 20 33 2e Linux.version.3. + 0x880001400080 32 2e 30 2d 34 2d 61 6d 64 36 34 20 28 64 65 62 2.0-4-amd64.(deb + 0x880001400090 69 61 6e 2d 6b 65 72 6e 65 6c 40 6c 69 73 74 73 ian-kernel@lists + 0x8800014000a0 2e 64 65 62 69 61 6e 2e 6f 72 67 29 20 28 67 63 .debian.org).(gc + 0x8800014000b0 63 20 76 65 72 73 69 6f 6e 20 34 2e 36 2e 33 20 c.version.4.6.3. + 0x8800014000c0 28 44 65 62 69 61 6e 20 34 2e 36 2e 33 2d 31 34 (Debian.4.6.3-14 + 0x8800014000d0 29 20 29 20 23 31 20 53 4d 50 20 44 65 62 69 61 ).).#1.SMP.Debia + 0x8800014000e0 6e 20 33 2e 32 2e 35 37 2d 33 2b 64 65 62 37 75 n.3.2.57-3+deb7u + + 0x880001769027 4c 69 6e 75 78 20 76 65 72 73 69 6f 6e 20 33 2e Linux.version.3. + 0x880001769037 32 2e 30 2d 34 2d 61 6d 64 36 34 20 28 64 65 62 2.0-4-amd64.(deb + 0x880001769047 69 61 6e 2d 6b 65 72 6e 65 6c 40 6c 69 73 74 73 ian-kernel@lists + 0x880001769057 2e 64 65 62 69 61 6e 2e 6f 72 67 29 20 28 67 63 .debian.org).(gc + 0x880001769067 63 20 76 65 72 73 69 6f 6e 20 34 2e 36 2e 33 20 c.version.4.6.3. + 0x880001769077 28 44 65 62 69 61 6e 20 34 2e 36 2e 33 2d 31 34 (Debian.4.6.3-14 + 0x880001769087 29 20 29 20 23 31 20 53 4d 50 20 44 65 62 69 61 ).).#1.SMP.Debia + 0x880001769097 6e 20 33 2e 32 2e 35 37 2d 33 2b 64 65 62 37 75 n.3.2.57-3+deb7u + + 0xffff81400070 4c 69 6e 75 78 20 76 65 72 73 69 6f 6e 20 33 2e Linux.version.3. + 0xffff81400080 32 2e 30 2d 34 2d 61 6d 64 36 34 20 28 64 65 62 2.0-4-amd64.(deb + 0xffff81400090 69 61 6e 2d 6b 65 72 6e 65 6c 40 6c 69 73 74 73 ian-kernel@lists + 0xffff814000a0 2e 64 65 62 69 61 6e 2e 6f 72 67 29 20 28 67 63 .debian.org).(gc + 0xffff814000b0 63 20 76 65 72 73 69 6f 6e 20 34 2e 36 2e 33 20 c.version.4.6.3. + 0xffff814000c0 28 44 65 62 69 61 6e 20 34 2e 36 2e 33 2d 31 34 (Debian.4.6.3-14 + 0xffff814000d0 29 20 29 20 23 31 20 53 4d 50 20 44 65 62 69 61 ).).#1.SMP.Debia + 0xffff814000e0 6e 20 33 2e 32 2e 35 37 2d 33 2b 64 65 62 37 75 n.3.2.57-3+deb7u + + 0xffff81769027 4c 69 6e 75 78 20 76 65 72 73 69 6f 6e 20 33 2e Linux.version.3. + 0xffff81769037 32 2e 30 2d 34 2d 61 6d 64 36 34 20 28 64 65 62 2.0-4-amd64.(deb + 0xffff81769047 69 61 6e 2d 6b 65 72 6e 65 6c 40 6c 69 73 74 73 ian-kernel@lists + 0xffff81769057 2e 64 65 62 69 61 6e 2e 6f 72 67 29 20 28 67 63 .debian.org).(gc + 0xffff81769067 63 20 76 65 72 73 69 6f 6e 20 34 2e 36 2e 33 20 c.version.4.6.3. + 0xffff81769077 28 44 65 62 69 61 6e 20 34 2e 36 2e 33 2d 31 34 (Debian.4.6.3-14 + 0xffff81769087 29 20 29 20 23 31 20 53 4d 50 20 44 65 62 69 61 ).).#1.SMP.Debia + 0xffff81769097 6e 20 33 2e 32 2e 35 37 2d 33 2b 64 65 62 37 75 n.3.2.57-3+deb7u + An optional size can be given for the displayed results as with the other fuctions (db, dw, dd, dq, etc). -You can of course specify a different layer name as well. +You can, of course, specify a different layer name as well. From 9d0cd4b4c985a568083e20cb4ff13164e6d60963 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 12 Dec 2024 11:17:15 +1100 Subject: [PATCH 0948/2186] Linux: PageCache: Update inode plugin to conform to framework dumping convention --- .../framework/plugins/linux/pagecache.py | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 005fc9acc..6d2607ada 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -389,7 +389,7 @@ class InodePages(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -412,9 +412,10 @@ class InodePages(plugins.PluginInterface): description="Inode address", optional=True, ), - requirements.StringRequirement( + requirements.BooleanRequirement( name="dump", - description="Output file path", + description="Extract inode content", + default=False, optional=True, ), ] @@ -436,7 +437,7 @@ class InodePages(plugins.PluginInterface): """ if not inode.is_reg: vollog.error("The inode is not a regular file") - return + return None # By using truncate/seek, provided the filesystem supports it, a sparse file will be # created, saving both disk space and I/O time. @@ -471,7 +472,7 @@ class InodePages(plugins.PluginInterface): if self.config["inode"] and self.config["find"]: vollog.error("Cannot use --inode and --find simultaneously") - return + return None if self.config["find"]: inodes_iter = Files.get_inodes( @@ -487,15 +488,15 @@ class InodePages(plugins.PluginInterface): inode = vmlinux.object("inode", self.config["inode"], absolute=True) else: vollog.error("You must use either --inode or --find") - return + return None if not inode.is_valid(): vollog.error("Invalid inode at 0x%x", inode.vol.offset) - return + return None if not inode.is_reg: vollog.error("The inode is not a regular file") - return + return None inode_size = inode.i_size for page_obj in inode.get_pages(): @@ -520,8 +521,13 @@ class InodePages(plugins.PluginInterface): if self.config["dump"]: filename = self.config["dump"] - vollog.info("[*] Writing inode at 0x%x to '%s'", inode.vol.offset, filename) - self.write_inode_content_to_file(inode, filename, self.open, vmlinux_layer) + open_method = self.open + inode_address = inode.vol.offset + filename = open_method.sanitize_filename(f"inode_0x{inode_address:x}.dmp") + vollog.info("[*] Writing inode at 0x%x to '%s'", inode_address, filename) + self.write_inode_content_to_file( + inode, filename, open_method, vmlinux_layer + ) def run(self): headers = [ From 58a9c3d6dae0759e0dbf590d53e14d7553f30a28 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 12 Dec 2024 07:20:30 +0000 Subject: [PATCH 0949/2186] Slightly modify documentation Include regex_scan, new functionality of volshell. Add Intermediate Symbol File (ISF) to glossary. --- doc/source/glossary.rst | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/doc/source/glossary.rst b/doc/source/glossary.rst index c4a93f908..a9460b1a2 100644 --- a/doc/source/glossary.rst +++ b/doc/source/glossary.rst @@ -23,7 +23,7 @@ Alignment .. _Array: Array - This represents a list of items, which can be access by an index, which is zero-based (meaning the first + This represents a list of items, which can be accessed by an index, which is zero-based (meaning the first element has index 0). Items in arrays are almost always the same size (it is not a generic list, as in python) even if they are :ref:`pointers` to different sized objects. @@ -43,7 +43,14 @@ Dereference .. _Domain: Domain - This the grouping for input values for a mapping or mathematical function. + The set of input values for a mapping or mathematical function. + +I +- +.. _Intermediate Symbol File (ISF): + +Intermediate Symbol File (ISF) + They contain kernel structures and specific offsets formatted as JSON. For macOS and Linux analysis, the kernel needs to be added as an ISF file to the volatility 3 symbols directory. For Windows, the required ISF file can often be generated from PDB files automatically downloaded from Microsoft servers, and therefore does not require manual intervention. M - @@ -55,7 +62,7 @@ Map, mapping attempts to use mathematical functional notation where possible. Within volatility a mapping is most often used to refer to the function for translating addresses from a higher layer (domain) to a lower layer (range). For further information, please see - `Function (mathematics) in wikipedia https://en.wikipedia.org/wiki/Function_(mathematics)` + `https://en.wikipedia.org/wiki/Function_(mathematics)`. .. _Member: @@ -69,7 +76,7 @@ O .. _Object: Object - This has a specific meaning within computer programming (as in Object Oriented Programming), but within the world + This has a specific meaning within computer programming (as in object-oriented programming), but within the world of Volatility it is used to refer to a type that has been associated with a chunk of data, or a specific instance of a type. See also :ref:`Type`. From 6ffef285f4c1ba39816d76726f00086029abdedc Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:36:51 +0000 Subject: [PATCH 0950/2186] Tweak the getting started linux tutorial --- doc/source/getting-started-linux-tutorial.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index d4b40d053..a1aad235d 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -27,7 +27,7 @@ To create a symbol table please refer to :ref:`symbol-tables:Mac or Linux symbol Listing plugins --------------- -The following is a sample of the linux plugins available for volatility3, it is not complete and more more plugins may +The following is a sample of the linux plugins available for volatility3, it is not complete and more plugins may be added. For a complete reference, please see the volatility 3 :doc:`list of plugins `. For plugin requests, please create an issue with a description of the requested plugin. @@ -40,7 +40,7 @@ For plugin requests, please create an issue with a description of the requested linux.check_creds.Check_creds linux.check_idt.Check_idt -.. note:: Here the the command is piped to grep and head in-order to provide the start of the list of linux plugins. +.. note:: Here the the command is piped to grep and head to provide the start of the list of linux plugins. Using plugins @@ -80,9 +80,9 @@ Thanks go to `stuxnet `_ for providing this memo The above command helps us to find the memory dump's kernel version and the distribution version. Now using the above banner we can search for the needed ISF file from the ISF server. -If ISF file cannot be found then, follow the instructions on :ref:`getting-started-linux-tutorial:Procedure to create symbol tables for linux`. After that, place the ISF file under the ``volatility3/symbols/linux`` directory. +If an ISF file cannot be found then, follow the instructions on :ref:`getting-started-linux-tutorial:Procedure to create symbol tables for linux`. After that, place the ISF file under the ``volatility3/symbols/linux`` directory. -.. tip:: Use the banner text which is most repeated to search from ISF Server. +.. tip:: Use the banner text which is most repeated to search on the ISF Server. linux.pslist ~~~~~~~~~~~~ @@ -157,7 +157,7 @@ linux.pstree ***** 1548 1266 gsd-keyboard ***** 1550 1266 gsd-media-keys -``linux.pstree`` helps us to display the parent child relationships between processes. +``linux.pstree`` helps us to display the parent-child relationships between processes. linux.bash ~~~~~~~~~~ From e31e13f471006f7dcff11f8b7f601b45a9cdf471 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:44:01 +0000 Subject: [PATCH 0951/2186] Tweak the getting started mac tutorial --- doc/source/getting-started-mac-tutorial.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/getting-started-mac-tutorial.rst b/doc/source/getting-started-mac-tutorial.rst index 42e58c0d5..61af7089b 100644 --- a/doc/source/getting-started-mac-tutorial.rst +++ b/doc/source/getting-started-mac-tutorial.rst @@ -37,7 +37,7 @@ For plugin requests, please create an issue with a description of the requested mac.check_sysctl.Check_sysctl mac.check_trap_table.Check_trap_table -.. note:: Here the the command is piped to grep and head in-order to provide the start of the list of macOS plugins. +.. note:: Here the the command is piped to grep and head to provide the start of the list of macOS plugins. Using plugins @@ -78,7 +78,7 @@ Thanks go to `stuxnet `_ for providing this memo The above command helps us to find the memory dump's Darwin kernel version. Now using the above banner we can search for the needed ISF file. -If ISF file cannot be found then, follow the instructions on :ref:`getting-started-mac-tutorial:Procedure to create symbol tables for macOS`. After that, place the ISF file under the ``volatility3/symbols`` directory. +If an ISF file cannot be found then, follow the instructions on :ref:`getting-started-mac-tutorial:Procedure to create symbol tables for macOS`. After that, place the ISF file under the ``volatility3/symbols`` directory. mac.pslist ~~~~~~~~~~ @@ -125,7 +125,7 @@ mac.pstree 337 1 system_installd * 455 337 update_dyld_shar -``mac.pstree`` helps us to display the parent child relationships between processes. +``mac.pstree`` helps us to display the parent-child relationships between processes. mac.ifconfig ~~~~~~~~~~~~ @@ -150,4 +150,4 @@ mac.ifconfig utun0 False utun0 fe80:5::2a95:bb15:87e3:977c False -we can use the ``mac.ifconfig`` plugin to get information about the configuration of the network interfaces of the host under investigation. +We can use the ``mac.ifconfig`` plugin to get information about the configuration of the network interfaces of the host under investigation. From d77d696e2b017fa7dc8b2355efa9cdde88470d6e Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:49:25 +0000 Subject: [PATCH 0952/2186] Tweak the getting started windows tutorial --- doc/source/getting-started-windows-tutorial.rst | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/doc/source/getting-started-windows-tutorial.rst b/doc/source/getting-started-windows-tutorial.rst index c89b065f5..979cf1d96 100644 --- a/doc/source/getting-started-windows-tutorial.rst +++ b/doc/source/getting-started-windows-tutorial.rst @@ -15,19 +15,19 @@ Memory can be acquired using a number of tools, below are some examples but othe Listing Plugins --------------- -The following is a sample of the windows plugins available for volatility3, it is not complete and more more plugins may +The following is a sample of the windows plugins available for volatility3, it is not complete and more plugins may be added. For a complete reference, please see the volatility 3 :doc:`list of plugins `. For plugin requests, please create an issue with a description of the requested plugin. .. code-block:: shell-session - $ python3 vol.py --help | grep windows | head -n 5 + $ python3 vol.py --help | grep windows | head -n 4 windows.bigpools.BigPools windows.cmdline.CmdLine windows.crashinfo.Crashinfo windows.dlllist.DllList -.. note:: Here the the command is piped to grep and head in-order to provide the start of a list of the available windows plugins. +.. note:: Here the the command is piped to grep and head to provide the start of a list of the available windows plugins. Using plugins ------------- @@ -95,9 +95,9 @@ windows.pstree ** 616 504 svchost.exe 0xfa8002b86ab0 13 314 0 False 2022-02-07 16:32:16.000000 N/A ** 624 504 svchost.exe 0xfa8002410630 10 350 0 False 2022-02-07 16:30:14.000000 N/A -``windows.pstree`` helps to display the parent child relationships between processes. +``windows.pstree`` helps to display the parent-child relationships between processes. -.. note:: Here the the command is piped to head in-order to provide smaller output, here listing only the first 20. +.. note:: Here the the command is piped to head to provide smaller output, here listing only the first 20. windows.hashdump ~~~~~~~~~~~~~~~~ @@ -116,9 +116,3 @@ windows.hashdump Dennis 1003 aad3b435b51404eeaad3b435b51404ee cf96684bbc7877920adaa9663698bf54 ``windows.hashdump`` helps to list the hashes of the users in the system. - - - - - - From c740a6c77017834329f0361866536509938bc0c4 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:14:35 +0000 Subject: [PATCH 0953/2186] Modify using as a library documentation Tiny changes. --- doc/source/using-as-a-library.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/source/using-as-a-library.rst b/doc/source/using-as-a-library.rst index 4acf35f98..55b77e90a 100644 --- a/doc/source/using-as-a-library.rst +++ b/doc/source/using-as-a-library.rst @@ -3,7 +3,7 @@ Using Volatility 3 as a Library This portion of the documentation discusses how to access the Volatility 3 framework from an external application. -The general process of using volatility as a library is to as follows: +The general process of using volatility as a library is as follows: 1. :ref:`create_context` 2. (Optional) :ref:`available_plugins` @@ -21,7 +21,7 @@ Creating a context First we make sure the volatility framework works the way we expect it (and is the version we expect). The versioning used is semantic versioning, meaning any version with the same major number and a higher or equal minor number will satisfy the requirement. An example is below since the CLI doesn't need any of the features -from versions 1.1 or 1.2: +from version 1.1: :: @@ -86,7 +86,7 @@ List requirements are a list of simple types (integers, booleans, floats and str options, multiple requirements needs all their subrequirements fulfilled and the other types require the names of valid translation layers or symbol tables within the context, respectively. Luckily, each of these requirements can tell you whether they've been fulfilled or not later in the process. For now, they can be used to ask the user to -fill in any parameters they made need to. Some requirements are optional, others are not. +fill in any parameters they may need to. Some requirements are optional, others are not. The plugin is essentially a multiple requirement. It should also be noted that automagic classes can have requirements (as can translation layers). @@ -100,7 +100,7 @@ Once you know what requirements the plugin will need, you can populate them with The configuration is essentially a hierarchical tree of values, much like the windows registry. Each plugin is instantiated at a particular branch within the hierarchy and will look for its configuration options under that hierarchy (if it holds any configurable items, it will likely instantiate those at a point -underneaths its own branch). To set the hierarchy, you'll need to know where the configurables will be constructed. +underneath its own branch). To set the hierarchy, you'll need to know where the configurables will be constructed. For this example, we'll assume plugins' base_config_path is set as `plugins`, and that automagics are configured under the `automagic` tree. We'll see later how to ensure this matches up with the plugins and automagic when they're @@ -139,7 +139,7 @@ A suitable list of automagics for a particular plugin (based on operating system This will take the plugin module, extract the operating system (first level of the hierarchy) and then return just the automagics which apply to the operating system. Each automagic can exclude itself from being used for specific -operating systems, so that an automagic designed for linux is not used for windows or mac plugins. +operating systems, so that for example an automagic designed for linux is not used for windows or mac plugins. These automagics can then be run by providing the list, the context, the plugin to be run, the hierarchy name that the plugin will be constructed on ('plugins' by default) and a progress_callback. This is a callable which takes @@ -157,8 +157,8 @@ Any exceptions that occur during the execution of the automagic will be returned Run the plugin -------------- -Firstly, we should check whether the plugin will be able to run (ie, whether the configuration options it needs -have been successfully set). We do this as follow (where plugin_config_path is the base_config_path (which defaults +Firstly, we should check whether the plugin will be able to run (i.e., whether the configuration options it needs +have been successfully set). We do this as follows, where plugin_config_path is the base_config_path (which defaults to `plugins` and then the name of the class itself): :: @@ -166,7 +166,7 @@ to `plugins` and then the name of the class itself): unsatisfied = plugin.unsatisfied(context, plugin_config_path) If unsatisfied is an empty list, then the plugin has been given everything it requires. If not, it will be a -Dictionary of the hierarchy paths and their associated requirements that weren't satisfied. +dictionary of the hierarchy paths and their associated requirements that weren't satisfied. The plugin can then be instantiated with the context (containing the plugin's configuration) and the path that the plugin can find its configuration at. This configuration path only needs to be a unique value to identify where the From b235ed05b7f916de864916db98e7f2385a52bb07 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:50:23 +0000 Subject: [PATCH 0954/2186] Update the CLI manual documentation --- doc/source/vol-cli.rst | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/doc/source/vol-cli.rst b/doc/source/vol-cli.rst index 7b91e815d..9fb48e67a 100644 --- a/doc/source/vol-cli.rst +++ b/doc/source/vol-cli.rst @@ -58,7 +58,7 @@ Options EXTEND. Extensions must be of the form **configuration.item.name=value** -p PLUGIN_DIRS, --plugin-dirs PLUGIN_DIRS - Specified a semi-colon separated list of paths that contain directories + Specified as a semi-colon separated list of paths that contain directories where plugins may be found. These paths are searched before the default paths when loading python files for plugins. This can therefore be used to override built-in plugins. NOTE: All python code within this directory @@ -67,12 +67,12 @@ Options -s SYMBOL_DIRS, --symbol-dirs SYMBOL_DIRS SYMBOL_DIRS is a semi-colon separated list of paths that contain symbol files or symbol zip packs. Symbols must be within a particular directory - structure if they depending on the operating system of the symbols, + structure if they depend on the operating system of the symbols, whilst symbol packs must be in the root of the directory and named after - the after the operating system to which they apply. + the operating system to which they apply. -v, --verbose - A flag which can be used multiple times, each time increasing the level of + A flag which can be used multiple times (up to four), each time increasing the level of detail in the logs produced. -l LOG, --log LOG @@ -87,7 +87,7 @@ Options -q, --quiet When present, this flag mutes the progress feedback for operations. This can be beneficial when piping the output directly to a file or another - tool. This also removes the + tool. -r RENDERER, --renderer RENDERER Specifies the output format in which to display results. The default is @@ -120,9 +120,7 @@ Options Change the default path used to store the cache. --offline - Do not search online for additional JSON files. - Run offline mode (defaults to false) and for - remote windows symbol tables, linux/mac banner repositories. + Run offline mode (defaults to false). Do not search online for additional JSON files, remote windows symbol tables, nor linux/mac banner repositories. --single-location SINGLE_LOCATION This specifies a URL which will be downloaded if necessary, and built @@ -152,7 +150,7 @@ but can be overridden by creating a JSON file (`%APPDATA%/volatility3/vol.json` systems, or `~/.config/volatility3/vol.json` or `volshell.json` for all others). The format of this file is a JSON dictionary, containing the options above and their value. -It should be noted that the ordering is (`<` means is overridden by): +It should be noted that the ordering is (`x < y` means `x` is overridden by `y`): `in-built default value < config file value < command line parameter` From 04517ca79768c16cb8afc323a5625567fe87d225 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 12 Dec 2024 23:24:40 -0600 Subject: [PATCH 0955/2186] Windows: Handle missing _MM_SESSION_SPACE As of Windows 11 24H2, the `_MM_SESSION_SPACE` type no longer appears in the kernel PDB. Instead, the `_EPROCESS.Session` member refers to a new type, `_PSP_SESSION_SPACE`, which does not have a type definition. However, experimentation has shown that this new structure is functionally identical to the old structure - the `ProcessList` and `SessionId` members still appear to be at their old offsets. In order to account for this when analyzing these newer Windows versions, this catches the `SymbolError` and instantiates an `unsigned long` at the offset (8) where the `SessionId` member would normally be defined within an `_MM_SESSION_SPACE` structure. --- .../framework/plugins/windows/modules.py | 34 ++++++++++++++---- .../symbols/windows/extensions/__init__.py | 35 +++++++++++++------ 2 files changed, 51 insertions(+), 18 deletions(-) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index ba45834d5..5ff252074 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -165,13 +165,33 @@ class Modules(interfaces.plugins.PluginInterface): # create the session space object in the process' own layer. # not all processes have a valid session pointer. - session_space = context.object( - symbol_table + constants.BANG + "_MM_SESSION_SPACE", - layer_name=layer_name, - offset=proc.Session, - ) + try: + session_space = context.object( + symbol_table + constants.BANG + "_MM_SESSION_SPACE", + layer_name=layer_name, + offset=proc.Session, + ) + session_id = session_space.SessionId - if session_space.SessionId in seen_ids: + except exceptions.SymbolError: + # In Windows 11 24H2, the _MM_SESSION_SPACE type was + # replaced with _PSP_SESSION_SPACE, and the kernel PDB + # doesn't contain information about its members (otherwise, + # we would just fall back to the new type). However, it + # appears to be, for our purposes, functionally identical + # to the _MM_SESSION_SPACE. Because _MM_SESSION_SPACE + # stores its session ID at offset 8 as an unsigned long, we + # create an unsigned long at that offset and use that + # instead. + session_id = int( + context.object( + layer_name=layer_name, + object_type=symbol_table + constants.BANG + "unsigned long", + offset=proc.Session + 8, + ) + ) + + if session_id in seen_ids: continue except exceptions.InvalidAddressException: @@ -184,7 +204,7 @@ class Modules(interfaces.plugins.PluginInterface): continue # save the layer if we haven't seen the session yet - seen_ids.append(session_space.SessionId) + seen_ids.append(session_id) yield proc_layer_name @classmethod diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 793e506c3..78f59fc0c 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -813,23 +813,36 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): offset=kvo, native_layer_name=self.vol.native_layer_name, ) - session = ntkrnlmp.object( - object_type="_MM_SESSION_SPACE", offset=self.Session, absolute=True - ) - - if session.has_member("SessionId"): - return session.SessionId + try: + session = ntkrnlmp.object( + object_type="_MM_SESSION_SPACE", + offset=self.Session, + absolute=True, + ) + if session.has_member("SessionId"): + return session.SessionId + except exceptions.SymbolError: + # In Windows 11 24H2, the _MM_SESSION_SPACE type was + # replaced with _PSP_SESSION_SPACE, and the kernel PDB + # doesn't contain information about its members (otherwise, + # we would just fall back to the new type). However, it + # appears to be, for our purposes, functionally identical + # to the _MM_SESSION_SPACE. Because _MM_SESSION_SPACE + # stores its session ID at offset 8 as an unsigned long, we + # create an unsigned long at that offset and use that + # instead. + session_id = ntkrnlmp.object( + object_type="unsigned long", + offset=self.Session + 8, + absolute=True, + ) + return int(session_id) except exceptions.InvalidAddressException: vollog.log( constants.LOGLEVEL_VVV, f"Cannot access _EPROCESS.Session.SessionId at {self.vol.offset:#x}", ) - except exceptions.SymbolError: - vollog.log( - constants.LOGLEVEL_VVV, - "Could not lookup _MM_SESSION_SPACE in symbol table", - ) return renderers.UnreadableValue() From e8b318552839e25264ebade5c0cc58d3fae27b12 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 13 Dec 2024 00:09:02 -0600 Subject: [PATCH 0956/2186] Windows: Handles - New pointer calculation method After researching this structure (`_HANDLE_TABLE_ENTRY`), it appears to be stable as far back as Windows 8. It's also a union, with an `ObjectPointerBits` member at the same offset as `LowValue` but within a specific bit range (bit length 44, bit position 20). Taking this value and shifting it left by four produces the correct pointer. This four-bit shift is due to 16-byte alignment of object header structures, and is what we would expect to see with 44-bit pointers in Windows. See https://www.alex-ionescu.com/behind-windows-x64s-44-bit-memory-addressing-limit/ --- .../framework/plugins/windows/handles.py | 122 +----------------- 1 file changed, 4 insertions(+), 118 deletions(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index e5cbbf4ca..977a8c804 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -3,9 +3,9 @@ # import logging -from typing import List, Optional, Dict +from typing import Dict, List, Optional -from volatility3.framework import constants, exceptions, renderers, interfaces, symbols +from volatility3.framework import constants, exceptions, interfaces, renderers, symbols from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints @@ -13,16 +13,6 @@ from volatility3.plugins.windows import pslist, psscan vollog = logging.getLogger(__name__) -try: - import capstone - - has_capstone = True -except ImportError: - has_capstone = False - - -DEFAULT_SAR_VALUE = 0x10 # to be used only when decoding fails - class Handles(interfaces.plugins.PluginInterface): """Lists process open handles.""" @@ -32,7 +22,6 @@ class Handles(interfaces.plugins.PluginInterface): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - self._sar_value = None self._type_map = None self._cookie = None self._level_mask = 7 @@ -65,21 +54,6 @@ class Handles(interfaces.plugins.PluginInterface): ), ] - def _decode_pointer(self, value, magic): - """Windows encodes pointers to objects and decodes them on the fly - before using them. - - This function mimics the decoding routine so we can generate the - proper pointer values as well. - """ - - value = value & 0xFFFFFFFFFFFFFFF8 - value = value >> magic - # if (value & (1 << 47)): - # value = value | 0xFFFF000000000000 - - return value - def _get_item(self, handle_table_entry, handle_value): """Given a handle table entry (_HANDLE_TABLE_ENTRY) structure from a process' handle table, determine where the corresponding object's @@ -103,28 +77,11 @@ class Handles(interfaces.plugins.PluginInterface): ) if is_64bit: - if handle_table_entry.LowValue == 0: + if handle_table_entry.ObjectPointerBits == 0: return None - magic = self.find_sar_value() + offset = handle_table_entry.ObjectPointerBits << 4 - # is this the right thing to raise here? - if magic is None: - if has_capstone: - raise AttributeError( - "Unable to find the SAR value for decoding handle table pointers" - ) - else: - raise exceptions.MissingModuleException( - "capstone", - "Requires capstone to find the SAR value for decoding handle table pointers", - ) - - offset = self._decode_pointer(handle_table_entry.LowValue, magic) - if not self.context.layers[virtual].is_valid(offset): - offset = self._decode_pointer( - handle_table_entry.LowValue, DEFAULT_SAR_VALUE - ) else: if handle_table_entry.InfoTable == 0: return None @@ -142,77 +99,6 @@ class Handles(interfaces.plugins.PluginInterface): object_header.HandleValue = handle_value return object_header - def find_sar_value(self): - """Locate ObpCaptureHandleInformationEx if it exists in the sample. - - Once found, parse it for the SAR value that we need to decode - pointers in the _HANDLE_TABLE_ENTRY which allows us to find the - associated _OBJECT_HEADER. - """ - - if self._sar_value is None: - if not has_capstone: - vollog.debug( - "capstone module is missing, unable to create disassembly of ObpCaptureHandleInformationEx" - ) - return None - kernel = self.context.modules[self.config["kernel"]] - - virtual_layer_name = kernel.layer_name - kvo = self.context.layers[virtual_layer_name].config[ - "kernel_virtual_offset" - ] - ntkrnlmp = self.context.module( - kernel.symbol_table_name, layer_name=virtual_layer_name, offset=kvo - ) - - try: - func_addr = ntkrnlmp.get_symbol("ObpCaptureHandleInformationEx").address - except exceptions.SymbolError: - vollog.debug("Unable to locate ObpCaptureHandleInformationEx symbol") - return None - - try: - func_addr_to_read = kvo + func_addr - num_bytes_to_read = 0x200 - vollog.debug( - f"ObpCaptureHandleInformationEx symbol located at {hex(func_addr_to_read)}" - ) - data = self.context.layers.read( - virtual_layer_name, func_addr_to_read, num_bytes_to_read - ) - except exceptions.InvalidAddressException: - vollog.warning( - f"Failed to read {hex(num_bytes_to_read)} bytes at symbol {hex(func_addr_to_read)}. Unable to decode SAR value. Failing back to a common value of {hex(DEFAULT_SAR_VALUE)}" - ) - self._sar_value = DEFAULT_SAR_VALUE - return self._sar_value - - md = capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_64) - - instruction_count = 0 - for address, size, mnemonic, op_str in md.disasm_lite( - data, kvo + func_addr - ): - # print("{} {} {} {}".format(address, size, mnemonic, op_str)) - instruction_count += 1 - if mnemonic.startswith("sar"): - # if we don't want to parse op strings, we can disasm the - # single sar instruction again, but we use disasm_lite for speed - self._sar_value = int(op_str.split(",")[1].strip(), 16) - vollog.debug( - f"SAR located at {hex(address)} with value of {hex(self._sar_value)}" - ) - break - - if self._sar_value is None: - vollog.warning( - f"Failed to to locate SAR value having parsed {instruction_count} instructions, failing back to a common value of {hex(DEFAULT_SAR_VALUE)}" - ) - self._sar_value = DEFAULT_SAR_VALUE - - return self._sar_value - @classmethod def get_type_map( cls, From 31492f4ab80dcc3c5ca38c2c4754ccfafc46a994 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 14 Dec 2024 15:50:50 +0000 Subject: [PATCH 0957/2186] Rectify maximum repetition of verbose flag From four to six (-vvvvvv). --- doc/source/vol-cli.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/vol-cli.rst b/doc/source/vol-cli.rst index 9fb48e67a..43ca33f04 100644 --- a/doc/source/vol-cli.rst +++ b/doc/source/vol-cli.rst @@ -72,7 +72,7 @@ Options the operating system to which they apply. -v, --verbose - A flag which can be used multiple times (up to four), each time increasing the level of + A flag which can be used multiple times (up to six, -vvvvvv), each time increasing the level of detail in the logs produced. -l LOG, --log LOG From 5086be30b2c153bf168704022cff793190e1a750 Mon Sep 17 00:00:00 2001 From: TheMythologist Date: Sun, 15 Dec 2024 14:04:15 +0800 Subject: [PATCH 0958/2186] Refactor: move version None check to top --- volatility3/framework/configuration/requirements.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 86e1aac52..f130f9544 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -529,6 +529,8 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): component: Type[interfaces.configuration.VersionableInterface] = None, version: Optional[Tuple[int, ...]] = None, ) -> None: + if version is None: + raise TypeError("Version cannot be None") if description is None: description = f"Version {'.'.join([str(x) for x in version])} dependency on {component.__module__}.{component.__name__} unmet" super().__init__( @@ -537,8 +539,6 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): if component is None: raise TypeError("Component cannot be None") self._component: Type[interfaces.configuration.VersionableInterface] = component - if version is None: - raise TypeError("Version cannot be None") self._version = version def unsatisfied( From c8c39837abdf489c8316aa51ebb4f2634321d77c Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sun, 15 Dec 2024 19:26:22 +0000 Subject: [PATCH 0959/2186] Tiny change text_renderer.py --- volatility3/cli/text_renderer.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 31307f67e..408a562d8 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -49,12 +49,12 @@ def hex_bytes_as_text(value: bytes, width: int = 16) -> str: output += "\n" printables = "" - # Handle leftovers when the lenght is not mutiple of width + # Handle leftovers when the length is not mutiple of width if printables: padding = width - len(printables) - output += " " * (padding) + output += " " * padding output += printables - output += " " * (padding) + output += " " * padding return output @@ -132,7 +132,7 @@ def display_disassembly(disasm: interfaces.renderers.Disassembly) -> str: for i in disasm_types[disasm.architecture].disasm( disasm.data, disasm.offset ): - output += f"\n0x{i.address:x}:\t{i.mnemonic}\t{i.op_str}" + output += f"\n{i.address:#x}:\t{i.mnemonic}\t{i.op_str}" return output return QuickTextRenderer._type_renderers[bytes](disasm.data) @@ -342,7 +342,7 @@ class PrettyTextRenderer(CLIRenderer): column_separator = " | " tree_indent_column = "".join( - random.choice(string.ascii_uppercase + string.digits) for _ in range(20) + random.choices(string.ascii_uppercase + string.digits, k=20) ) max_column_widths = dict( [(column.name, len(column.name)) for column in grid.columns] From bb1ff69e426ad688ea116bcdab2f1a9c77a182e6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 16 Dec 2024 19:25:24 +1100 Subject: [PATCH 0960/2186] linux: dentry: Fix dentry type support for kernels pre-3.19 --- .../framework/symbols/linux/extensions/__init__.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 927f767e2..829622154 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1107,9 +1107,16 @@ class dentry(objects.StructType): walk_member = "d_sib" list_head_member = self.d_children elif self.has_member("d_child") and self.has_member("d_subdirs"): - # 2.5.0 <= kernels < 6.8 + # 3.19.0 <= kernels < 6.8 walk_member = "d_child" list_head_member = self.d_subdirs + elif self.has_member("d_u") and self.has_member("d_subdirs"): + # kernels < 3.19 + + # Actually, 'd_u.d_child' but to_list() doesn't support something like that. + # Since, it's an union, everything is at the same offset than 'd_u'. + walk_member = "d_u" + list_head_member = self.d_subdirs else: raise exceptions.VolatilityException("Unsupported dentry type") From 3b0f0915c7fd24512d12603ab989a53f6ac68928 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 16 Dec 2024 19:36:54 +1100 Subject: [PATCH 0961/2186] linux: page_cache: add testcase for page_cache.files plugin --- test/test_volatility.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/test/test_volatility.py b/test/test_volatility.py index f7cb23e93..b5910e1c8 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -632,6 +632,26 @@ def test_linux_vmayarascan_yara_string(image, volatility, python): assert rc == 0 +def test_linux_page_cache_files(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.pagecache.Files", + image, + volatility, + python, + pluginargs=["--find", "/etc/passwd"], + ) + out = out.lower() + + assert out.count(b"\n") > 4 + + # inode_num inode_addr ... file_path + assert re.search( + rb"146829\s0x88001ab5c270.*?/etc/passwd", + out, + ) + assert rc == 0 + + # MAC From 02b11b44a28634c230b0676bf4feafe37fac6dff Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:59:58 +0000 Subject: [PATCH 0962/2186] Remove use of int function after math.ceil Return type of math.ceil is already an int. --- volatility3/framework/layers/intel.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index c30ae48a8..846f246dc 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -73,8 +73,8 @@ class Intel(linear.LinearlyMappedLayer): ) # These can vary depending on the type of space - self._index_shift = int( - math.ceil(math.log2(struct.calcsize(self._entry_format))) + self._index_shift = math.ceil( + math.log2(struct.calcsize(self._entry_format)) ) @classproperty @@ -125,7 +125,6 @@ class Intel(linear.LinearlyMappedLayer): high_mask = (1 << (high_bit + 1)) - 1 low_mask = (1 << low_bit) - 1 mask = high_mask ^ low_mask - # print(high_bit, low_bit, bin(mask), bin(value)) return value & mask @staticmethod @@ -147,7 +146,7 @@ class Intel(linear.LinearlyMappedLayer): return self._mask(addr, self._maxvirtaddr, 0) + self._canonical_prefix def decanonicalize(self, addr: int) -> int: - """Removes canonicalization to ensure an adress fits within the correct range if it has been canonicalized + """Removes canonicalization to ensure an address fits within the correct range if it has been canonicalized This will produce an address outside the range if the canonicalization is incorrect """ From b37923c183bec9a6381d5d592b405a9fcf51887f Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:08:37 +0000 Subject: [PATCH 0963/2186] Remove use of int function after math.ceil Return type of math.ceil is already an int. --- volatility3/framework/layers/intel.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 846f246dc..7918ebed4 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -73,9 +73,7 @@ class Intel(linear.LinearlyMappedLayer): ) # These can vary depending on the type of space - self._index_shift = math.ceil( - math.log2(struct.calcsize(self._entry_format)) - ) + self._index_shift = math.ceil(math.log2(struct.calcsize(self._entry_format))) @classproperty @functools.lru_cache() From 4e2227e2643b52d2a6f660f62c058ba85526123b Mon Sep 17 00:00:00 2001 From: eve Date: Mon, 16 Dec 2024 17:54:01 +0000 Subject: [PATCH 0964/2186] Windows: Update get_commit_charge extension to handle Core.CommitCharge case --- volatility3/framework/symbols/windows/extensions/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 793e506c3..ff6d14a8c 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -269,7 +269,10 @@ class MMVAD_SHORT(objects.StructType): return self.u.VadFlags.CommitCharge elif self.has_member("Core"): - return self.Core.u1.VadFlags1.CommitCharge + if self.Core.has_member("CommitCharge"): + return self.Core.CommitCharge + else: + return self.Core.u1.VadFlags1.CommitCharge raise AttributeError("Unable to find the commit charge member") From 267c5a60c3b99da48cb0ead9c9d1492b857ea340 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 17 Dec 2024 10:05:38 +1100 Subject: [PATCH 0965/2186] Linux: PageCache: Remove unused variable --- volatility3/framework/plugins/linux/pagecache.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 6d2607ada..46b24b27a 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -520,7 +520,6 @@ class InodePages(plugins.PluginInterface): yield 0, fields if self.config["dump"]: - filename = self.config["dump"] open_method = self.open inode_address = inode.vol.offset filename = open_method.sanitize_filename(f"inode_0x{inode_address:x}.dmp") From 7299f925dcd8a7ae1a00b47cf4846fc683c8e5ac Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 16 Dec 2024 17:58:53 -0600 Subject: [PATCH 0966/2186] Windows: Handles - major version bump Bumps the major version in plugin + dependences after removal of a publicly exposed instance method. --- volatility3/framework/plugins/windows/callbacks.py | 2 +- volatility3/framework/plugins/windows/dumpfiles.py | 2 +- volatility3/framework/plugins/windows/handles.py | 2 +- volatility3/framework/plugins/windows/poolscanner.py | 2 +- volatility3/framework/plugins/windows/psxview.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index 562846def..414a8814a 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -48,7 +48,7 @@ class Callbacks(interfaces.plugins.PluginInterface): name="driverirp", plugin=driverirp.DriverIrp, version=(1, 0, 0) ), requirements.PluginRequirement( - name="handles", plugin=handles.Handles, version=(1, 0, 0) + name="handles", plugin=handles.Handles, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index 33d2d0d41..bc554c0bf 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -69,7 +69,7 @@ class DumpFiles(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(2, 0, 0) ), requirements.VersionRequirement( - name="handles", component=handles.Handles, version=(1, 0, 0) + name="handles", component=handles.Handles, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 977a8c804..a3067b09f 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -18,7 +18,7 @@ class Handles(interfaces.plugins.PluginInterface): """Lists process open handles.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 3) + _version = (2, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 1f70cfb8c..8c56d202d 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -139,7 +139,7 @@ class PoolScanner(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="handles", plugin=handles.Handles, version=(1, 0, 0) + name="handles", plugin=handles.Handles, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index a8d185a2c..6c845bf81 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -62,7 +62,7 @@ class PsXView(plugins.PluginInterface): name="thrdscan", component=thrdscan.ThrdScan, version=(1, 0, 0) ), requirements.VersionRequirement( - name="handles", component=handles.Handles, version=(1, 0, 0) + name="handles", component=handles.Handles, version=(2, 0, 0) ), requirements.BooleanRequirement( name="physical-offsets", From fd9d3ec04c967c5e1a16d7735cf7f064d2b82a47 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 16 Dec 2024 18:17:42 -0600 Subject: [PATCH 0967/2186] Windows: Typing - Remove type casts, add signature Removes the needless `int` casts, and adds the return type to the `get_session_id` method signature. --- volatility3/framework/plugins/windows/modules.py | 16 +++++++--------- .../symbols/windows/extensions/__init__.py | 4 ++-- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 5ff252074..b9d754328 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -2,14 +2,14 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import List, Iterable, Generator +from typing import Generator, Iterable, List -from volatility3.framework import exceptions, interfaces, constants, renderers +from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows.extensions import pe -from volatility3.plugins.windows import pslist, pedump +from volatility3.plugins.windows import pedump, pslist vollog = logging.getLogger(__name__) @@ -183,12 +183,10 @@ class Modules(interfaces.plugins.PluginInterface): # stores its session ID at offset 8 as an unsigned long, we # create an unsigned long at that offset and use that # instead. - session_id = int( - context.object( - layer_name=layer_name, - object_type=symbol_table + constants.BANG + "unsigned long", - offset=proc.Session + 8, - ) + session_id = context.object( + layer_name=layer_name, + object_type=symbol_table + constants.BANG + "unsigned long", + offset=proc.Session + 8, ) if session_id in seen_ids: diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 78f59fc0c..12f84ca90 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -797,7 +797,7 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): return renderers.UnreadableValue() - def get_session_id(self): + def get_session_id(self) -> Union[int, interfaces.renderers.BaseAbsentValue]: try: if self.has_member("Session"): if self.Session == 0: @@ -836,7 +836,7 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): offset=self.Session + 8, absolute=True, ) - return int(session_id) + return session_id except exceptions.InvalidAddressException: vollog.log( From 02f17af8a632fb70d1152c66ff3847b2fb921033 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 17 Dec 2024 12:09:29 +1100 Subject: [PATCH 0968/2186] linux: fix task parent pid in several plugins. It also adds a method to get the correct one in a unified way from the task object extension --- .../framework/plugins/linux/capabilities.py | 4 ++-- volatility3/framework/plugins/linux/envars.py | 12 ++---------- volatility3/framework/plugins/linux/psaux.py | 10 ++-------- volatility3/framework/plugins/linux/pslist.py | 4 ++-- volatility3/framework/plugins/linux/psscan.py | 7 ++----- volatility3/framework/plugins/linux/pstree.py | 6 +++--- .../framework/symbols/linux/extensions/__init__.py | 14 ++++++++++++++ 7 files changed, 27 insertions(+), 30 deletions(-) diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index a8a8fb1fa..a06ee4c1b 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -50,7 +50,7 @@ class Capabilities(plugins.PluginInterface): """Lists process capabilities""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -136,7 +136,7 @@ class Capabilities(plugins.PluginInterface): comm=utility.array_to_string(task.comm), pid=int(task.pid), tgid=int(task.tgid), - ppid=int(task.parent.pid), + ppid=int(task.get_parent_pid()), euid=int(task.cred.euid), ) diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index 22aba6408..a3eb21cf5 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -17,7 +17,7 @@ class Envars(plugins.PluginInterface): """Lists processes with their environment variables""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 1, 0) @classmethod def get_requirements(cls): @@ -48,15 +48,7 @@ class Envars(plugins.PluginInterface): # get process name as string name = utility.array_to_string(task.comm) - - # try and get task parent - try: - ppid = task.parent.pid - except exceptions.InvalidAddressException: - vollog.debug( - f"Unable to read parent pid for task {pid} {name}, setting ppid to 0." - ) - ppid = 0 + ppid = task.get_parent_pid() # kernel threads never have an mm as they do not have userland mappings try: diff --git a/volatility3/framework/plugins/linux/psaux.py b/volatility3/framework/plugins/linux/psaux.py index 5467c3b4c..5a4d75c70 100644 --- a/volatility3/framework/plugins/linux/psaux.py +++ b/volatility3/framework/plugins/linux/psaux.py @@ -15,7 +15,7 @@ class PsAux(plugins.PluginInterface): """Lists processes with their command line arguments""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 1, 0) @classmethod def get_requirements(cls): @@ -98,14 +98,8 @@ class PsAux(plugins.PluginInterface): # walk the process list and report the arguments for task in tasks: pid = task.pid - - try: - ppid = task.parent.pid - except exceptions.InvalidAddressException: - ppid = 0 - + ppid = task.get_parent_pid() name = utility.array_to_string(task.comm) - args = self._get_command_line_args(task, name) yield (0, (pid, ppid, name, args)) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 6460462a7..edfc0688c 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -18,7 +18,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists the processes present in a particular linux memory image.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 0) + _version = (3, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -95,7 +95,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """ pid = task.tgid tid = task.pid - ppid = task.parent.tgid if task.parent else 0 + ppid = task.get_parent_pid() name = utility.array_to_string(task.comm) start_time = task.get_create_time() if decorate_comm: diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index 40784a647..55e3778ab 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -28,7 +28,7 @@ class PsScan(interfaces.plugins.PluginInterface): """Scans for processes present in a particular linux image.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -52,10 +52,7 @@ class PsScan(interfaces.plugins.PluginInterface): """ pid = task.tgid tid = task.pid - ppid = 0 - - if task.parent.is_readable(): - ppid = task.parent.tgid + ppid = task.get_parent_pid() name = utility.array_to_string(task.comm) exit_state = DescExitStateEnum(task.exit_state).name diff --git a/volatility3/framework/plugins/linux/pstree.py b/volatility3/framework/plugins/linux/pstree.py index 9dc5ea3cc..7ea9df3d6 100644 --- a/volatility3/framework/plugins/linux/pstree.py +++ b/volatility3/framework/plugins/linux/pstree.py @@ -13,7 +13,7 @@ class PsTree(interfaces.plugins.PluginInterface): ID.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 1, 0) @classmethod def get_requirements(cls): @@ -56,9 +56,9 @@ class PsTree(interfaces.plugins.PluginInterface): seen = set([pid]) level = 0 proc = self._tasks.get(pid) - while proc and proc.parent and proc.parent.pid not in seen: + while proc and proc.get_parent_pid() not in seen: if proc.is_thread_group_leader: - parent_pid = proc.parent.pid + parent_pid = proc.get_parent_pid() else: parent_pid = proc.tgid diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 927f767e2..f27306e67 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -635,6 +635,20 @@ class task_struct(generic.GenericIntelProcess): # root time namespace, not within the task's own time namespace return boottime + task_start_time_timedelta + def get_parent_pid(self) -> int: + """Returns the parent process ID (PPID) + + This method replicates the Linux kernel's `getppid` syscall behavior. + Avoid using `task.parent`; instead, use this function for accurate results. + """ + + if self.real_parent and self.real_parent.is_readable(): + ppid = self.real_parent.pid + else: + ppid = 0 + + return ppid + class fs_struct(objects.StructType): def get_root_dentry(self): From 74ff42a12d2665d05e64c7c71beb2bec5f4c9333 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 17 Dec 2024 13:28:57 +1100 Subject: [PATCH 0969/2186] Fix ProducerMetadata class bug introduced in #1369 --- volatility3/framework/symbols/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/metadata.py b/volatility3/framework/symbols/metadata.py index 73ad2cf21..7e069e518 100644 --- a/volatility3/framework/symbols/metadata.py +++ b/volatility3/framework/symbols/metadata.py @@ -27,7 +27,7 @@ class ProducerMetadata(interfaces.symbols.MetadataInterface): @property def version(self) -> Optional[Tuple[int]]: """Returns the version of the ISF file producer""" - version = self.version_string() + version = self.version_string if not version: return None if all(x in "0123456789." for x in version): From 0255151ef508f5c4a1e75c71dfafa99218e15b05 Mon Sep 17 00:00:00 2001 From: TheMythologist Date: Tue, 17 Dec 2024 12:15:46 +0800 Subject: [PATCH 0970/2186] Fix: Error early if no inodes are found in linux.pagecache.InodePages plugin --- volatility3/framework/plugins/linux/pagecache.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 46b24b27a..7dbf074b3 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -483,6 +483,9 @@ class InodePages(plugins.PluginInterface): if inode_in.path == self.config["find"]: inode = inode_in.inode break # Only the first match + else: + vollog.error("Unable to find inode with path %s", self.config["find"]) + return None elif self.config["inode"]: inode = vmlinux.object("inode", self.config["inode"], absolute=True) From 054f0496c123ec074a134ab9e75416fdef15e1c4 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 17 Dec 2024 17:55:52 +0000 Subject: [PATCH 0971/2186] Windows: Cannot use capstone typing information if capstone didn'tr import --- volatility3/framework/plugins/windows/indirect_system_calls.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/indirect_system_calls.py b/volatility3/framework/plugins/windows/indirect_system_calls.py index 1a5eb317f..c4f3f6d28 100644 --- a/volatility3/framework/plugins/windows/indirect_system_calls.py +++ b/volatility3/framework/plugins/windows/indirect_system_calls.py @@ -73,8 +73,7 @@ class IndirectSystemCalls(direct_system_calls.DirectSystemCalls): @staticmethod def _indirect_syscall_block_target( - proc_layer: interfaces.layers.DataLayerInterface, inst: capstone._cs_insn - ) -> Optional[int]: + proc_layer: interfaces.layers.DataLayerInterface, inst) -> Optional[int]: """ This function determines the address of a jmp in the following form: From 246d19c0fadbb986e4ec4c019505bed4d32b6359 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 17 Dec 2024 18:14:29 +0000 Subject: [PATCH 0972/2186] Windows: Fix black issue --- volatility3/framework/plugins/windows/indirect_system_calls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/indirect_system_calls.py b/volatility3/framework/plugins/windows/indirect_system_calls.py index c4f3f6d28..f09851b30 100644 --- a/volatility3/framework/plugins/windows/indirect_system_calls.py +++ b/volatility3/framework/plugins/windows/indirect_system_calls.py @@ -73,7 +73,8 @@ class IndirectSystemCalls(direct_system_calls.DirectSystemCalls): @staticmethod def _indirect_syscall_block_target( - proc_layer: interfaces.layers.DataLayerInterface, inst) -> Optional[int]: + proc_layer: interfaces.layers.DataLayerInterface, inst + ) -> Optional[int]: """ This function determines the address of a jmp in the following form: From c45beb3ebe7feaec42567eb8ef3dd665e15db3ae Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 17 Dec 2024 18:12:19 +0000 Subject: [PATCH 0973/2186] Automagic: Fixes #1417 --- volatility3/framework/automagic/symbol_cache.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index e38771f79..2c9883c7d 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -299,6 +299,13 @@ class SqliteCache(CacheManagerInterface): This also updates remote locations based on a cache timeout. """ + if progress_callback is None: + + def dummy_progress(*args, **kargs) -> None: + return None + + progress_callback = dummy_progress + on_disk_locations = set( [ filename From f0f3bb65581e433cc7b44c2e877a1e95c927e17e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 17 Dec 2024 18:31:41 +0000 Subject: [PATCH 0974/2186] Core: Start to fix up the typing in ModuleCollection Fixes #1418 --- volatility3/framework/contexts/__init__.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index 6961d9328..1a55656b3 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -11,7 +11,7 @@ without them interfering with each other. import functools import hashlib import logging -from typing import Callable, Iterable, List, Optional, Set, Tuple, Union +from typing import Callable, Dict, Iterable, List, Optional, Set, Tuple, Union from volatility3.framework import constants, interfaces, symbols, exceptions from volatility3.framework.objects import templates @@ -386,10 +386,9 @@ class ModuleCollection(interfaces.context.ModuleContainer): """Class to contain a collection of SizedModules and reason about their contents.""" - def __init__( - self, modules: Optional[List[interfaces.context.ModuleInterface]] = None - ) -> None: + def __init__(self, modules: Optional[List[SizedModule]] = None) -> None: self._prefix_count = {} + self._modules: Dict[str, SizedModule] = {} super().__init__(modules) def deduplicate(self) -> "ModuleCollection": @@ -402,9 +401,9 @@ class ModuleCollection(interfaces.context.ModuleContainer): new_modules = [] seen: Set[str] = set() for mod in self._modules: - if mod.hash not in seen or mod.size == 0: + if self._modules[mod].hash not in seen or self._modules[mod].size == 0: new_modules.append(mod) - seen.add(mod.hash) # type: ignore # FIXME: mypy #5107 + seen.add(self._modules[mod].hash) return ModuleCollection(new_modules) def free_module_name(self, prefix: str = "module") -> str: From a0b169cf6b1f0a5d8ced886ff855e7ad7dd791c0 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 17 Dec 2024 18:34:19 +0000 Subject: [PATCH 0975/2186] This PR does not strictly change any interfaces, just the inner workings of a function. --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 55ef19e4b..2ea034176 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 12 # Number of changes that only add to the interface -VERSION_PATCH = 0 # Number of changes that do not change the interface +VERSION_PATCH = 1 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From 1b8f831fda1fc0d47eaf81144dec81354dca8490 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 17 Dec 2024 18:37:39 +0000 Subject: [PATCH 0976/2186] Core: Also fix up the interface to match the concrete classes --- volatility3/framework/interfaces/context.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index 8b5e816e8..e85429732 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -295,6 +295,7 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): def has_enumeration(self, name: str) -> bool: """Determines whether an enumeration is present in the module's symbol table.""" + @property def symbols(self) -> List: """Lists the symbols contained in the symbol table for this module""" From 9ef90c2091a5b838817fc9251251b74f34dccf7e Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 17 Dec 2024 13:14:33 -0600 Subject: [PATCH 0977/2186] Windows: PeDump - use contextmanager Several tools, including pyright and PyCharm, report that `file_handle` may be an unbound local. Regardless of whether or not this is likely to happen in practice, it makes sense to just use a `ContextManager` here anyway, since `FileHandlerInterface` implements it. --- .../framework/plugins/windows/pedump.py | 41 +++++++++---------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/volatility3/framework/plugins/windows/pedump.py b/volatility3/framework/plugins/windows/pedump.py index 858d0615a..5b4bb07d7 100644 --- a/volatility3/framework/plugins/windows/pedump.py +++ b/volatility3/framework/plugins/windows/pedump.py @@ -64,30 +64,27 @@ class PEDump(interfaces.plugins.PluginInterface): """ Returns the filename of the dump file or None """ - try: - file_handle = open_method(file_name) + with open_method(file_name) as file_handle: + try: + dos_header = context.object( + pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", + offset=base, + layer_name=layer_name, + ) - dos_header = context.object( - pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", - offset=base, - layer_name=layer_name, - ) + for offset, data in dos_header.reconstruct(): + file_handle.seek(offset) + file_handle.write(data) + except ( + IOError, + exceptions.VolatilityException, + OverflowError, + ValueError, + ) as excp: + vollog.debug(f"Unable to dump PE file at offset {base}: {excp}") + return None - for offset, data in dos_header.reconstruct(): - file_handle.seek(offset) - file_handle.write(data) - except ( - IOError, - exceptions.VolatilityException, - OverflowError, - ValueError, - ) as excp: - vollog.debug(f"Unable to dump PE file at offset {base}: {excp}") - return None - finally: - file_handle.close() - - return file_handle.preferred_filename + return file_handle.preferred_filename @classmethod def dump_ldr_entry( From 24e1904376aa501e5ec4b240f2cbe6fb23267ebe Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 17 Dec 2024 19:22:35 +0000 Subject: [PATCH 0978/2186] Modify using as a library documentation Tiny changes. --- doc/source/using-as-a-library.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/using-as-a-library.rst b/doc/source/using-as-a-library.rst index 55b77e90a..144cae644 100644 --- a/doc/source/using-as-a-library.rst +++ b/doc/source/using-as-a-library.rst @@ -21,7 +21,7 @@ Creating a context First we make sure the volatility framework works the way we expect it (and is the version we expect). The versioning used is semantic versioning, meaning any version with the same major number and a higher or equal minor number will satisfy the requirement. An example is below since the CLI doesn't need any of the features -from version 1.1: +from version 1.1 or later: :: @@ -139,7 +139,7 @@ A suitable list of automagics for a particular plugin (based on operating system This will take the plugin module, extract the operating system (first level of the hierarchy) and then return just the automagics which apply to the operating system. Each automagic can exclude itself from being used for specific -operating systems, so that for example an automagic designed for linux is not used for windows or mac plugins. +operating systems, such that an automagic designed for linux is not used for windows or mac plugins. These automagics can then be run by providing the list, the context, the plugin to be run, the hierarchy name that the plugin will be constructed on ('plugins' by default) and a progress_callback. This is a callable which takes @@ -166,7 +166,7 @@ to `plugins` and then the name of the class itself): unsatisfied = plugin.unsatisfied(context, plugin_config_path) If unsatisfied is an empty list, then the plugin has been given everything it requires. If not, it will be a -dictionary of the hierarchy paths and their associated requirements that weren't satisfied. +dict of the hierarchy paths and their associated requirements that weren't satisfied. The plugin can then be instantiated with the context (containing the plugin's configuration) and the path that the plugin can find its configuration at. This configuration path only needs to be a unique value to identify where the From b04ca88d0754bfc2e79fbe70c9280eba344d8375 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 17 Dec 2024 13:28:37 -0600 Subject: [PATCH 0979/2186] Windows Extensions: Fixes type-hint on list_timers This method is incorrectly type-hinted as returning a `Tuple` when it should be returning an instance of the `KTIMER` extension class. This leaves the version number as is since it only updates the type-hint, but let me know if that's incorrect and we need to bump it. --- volatility3/framework/plugins/windows/timers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py index d49c28784..fad25df72 100644 --- a/volatility3/framework/plugins/windows/timers.py +++ b/volatility3/framework/plugins/windows/timers.py @@ -14,7 +14,7 @@ from volatility3.framework import ( ) from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints -from volatility3.framework.symbols.windows import versions +from volatility3.framework.symbols.windows import versions, extensions from volatility3.plugins.windows import ssdt, kpcrs vollog = logging.getLogger(__name__) @@ -49,7 +49,7 @@ class Timers(interfaces.plugins.PluginInterface): kernel_module_name: str, layer_name: str, symbol_table: str, - ) -> Iterable[Tuple[str, int, str]]: + ) -> Iterable[extensions.KTIMER]: """Lists all kernel timers. Args: From c134dcd64306e3c5f355f97d4e117d34c3e76f33 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 17 Dec 2024 13:55:34 -0600 Subject: [PATCH 0980/2186] Windows Timers: Bump patch version --- volatility3/framework/plugins/windows/timers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py index fad25df72..8bd7c8eb4 100644 --- a/volatility3/framework/plugins/windows/timers.py +++ b/volatility3/framework/plugins/windows/timers.py @@ -24,7 +24,7 @@ class Timers(interfaces.plugins.PluginInterface): """Print kernel timers and associated module DPCs""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From d76bf96f36a60a4c17aa51fa9033b80836b10812 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 17 Dec 2024 20:25:10 +0000 Subject: [PATCH 0981/2186] Use generator expressions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PEP 289 – Generator Expressions. --- volatility3/framework/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 23ea745de..61ad787a1 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -64,8 +64,8 @@ def require_interface_version(*args) -> None: if args[1] > interface_version()[1]: raise RuntimeError( "Framework interface version {} is an older revision than the required version {}".format( - ".".join([str(x) for x in interface_version()[0:2]]), - ".".join([str(x) for x in args[0:2]]), + ".".join(str(x) for x in interface_version()[0:2]), + ".".join(str(x) for x in args[0:2]), ) ) From 60ca99710728fc923420b8e7c64b8b8dfa60e1a2 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 17 Dec 2024 20:40:54 +0000 Subject: [PATCH 0982/2186] Use generator expressions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PEP 289 – Generator Expressions. --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 55ef19e4b..8c4856f0b 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -5,7 +5,7 @@ VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( - ".".join([str(x) for x in [VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH]]) + ".".join(str(x) for x in [VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH]) + VERSION_SUFFIX ) """The canonical version of the volatility3 package""" From c8e2347a0f1577f349cbc212821e7b3122cc60e1 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 17 Dec 2024 20:47:36 +0000 Subject: [PATCH 0983/2186] Use generator expressions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PEP 289 – Generator Expressions. --- volatility3/framework/plugins/windows/getservicesids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/getservicesids.py b/volatility3/framework/plugins/windows/getservicesids.py index 9b20ed2d0..12fc44682 100644 --- a/volatility3/framework/plugins/windows/getservicesids.py +++ b/volatility3/framework/plugins/windows/getservicesids.py @@ -26,7 +26,7 @@ def createservicesid(svc) -> str: ## The use of struct here is OK. It doesn't make much sense ## to leverage obj.Object inside this loop. dec.append(struct.unpack(" Date: Tue, 17 Dec 2024 20:48:42 +0000 Subject: [PATCH 0984/2186] Use generator expressions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PEP 289 – Generator Expressions. --- volatility3/framework/plugins/linux/check_creds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/check_creds.py b/volatility3/framework/plugins/linux/check_creds.py index 0857576d5..4916b67d2 100644 --- a/volatility3/framework/plugins/linux/check_creds.py +++ b/volatility3/framework/plugins/linux/check_creds.py @@ -55,7 +55,7 @@ class Check_creds(interfaces.plugins.PluginInterface): for cred_addr, pids in creds.items(): if len(pids) > 1: - pid_str = ", ".join([str(pid) for pid in pids]) + pid_str = ", ".join(str(pid) for pid in pids) fields = [ format_hints.Hex(cred_addr), From eeb7cf71317bb5a195172d756d44ec11916b84a9 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 17 Dec 2024 20:50:38 +0000 Subject: [PATCH 0985/2186] Use generator expressions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PEP 289 – Generator Expressions. --- volatility3/cli/volshell/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 82c470e1a..d02d054ee 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -203,7 +203,7 @@ class Volshell(interfaces.plugins.PluginInterface): connector = " " if chunk_size < 2: connector = "" - ascii_data = connector.join([self._ascii_bytes(x) for x in valid_data]) + ascii_data = connector.join(self._ascii_bytes(x) for x in valid_data) print(hex(offset), " ", hex_data, " ", ascii_data) offset += 16 From ae1079f923a4b5f36aa394805c26805e0b31408e Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 17 Dec 2024 20:52:29 +0000 Subject: [PATCH 0986/2186] Use generator expressions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PEP 289 – Generator Expressions. --- volatility3/framework/configuration/requirements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index f130f9544..a52d7ff27 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -532,7 +532,7 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): if version is None: raise TypeError("Version cannot be None") if description is None: - description = f"Version {'.'.join([str(x) for x in version])} dependency on {component.__module__}.{component.__name__} unmet" + description = f"Version {'.'.join(str(x) for x in version)} dependency on {component.__module__}.{component.__name__} unmet" super().__init__( name=name, description=description, default=default, optional=optional ) From 8e9b719a1641a8c72fcbae61c313061fb60864f0 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 13:23:11 +0100 Subject: [PATCH 0987/2186] use ruff for linting and enforce linting via ci --- .github/workflows/ruff.yaml | 15 +++++++++++++++ pyproject.toml | 18 ++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/workflows/ruff.yaml diff --git a/.github/workflows/ruff.yaml b/.github/workflows/ruff.yaml new file mode 100644 index 000000000..77e3aa864 --- /dev/null +++ b/.github/workflows/ruff.yaml @@ -0,0 +1,15 @@ +--- +name: Ruff + +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: astral-sh/ruff-action@v1 + with: + args: check + src: "." diff --git a/pyproject.toml b/pyproject.toml index 9b4b8d485..7035f7a15 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,6 +71,24 @@ show_traceback = true [tool.mypy.overrides] ignore_missing_imports = true +[tool.ruff] +line-length = 88 +target-version = "py38" + +[tool.ruff.lint] +select = [ + "F", # pyflakes + "E", # pycodestyle errors + "W", # pycodestyle warnings + "G", # flake8-logging-format + "PIE", # flake8-pie + "UP", # pyupgrade +] + +ignore = [ + "E501", # ignore due to conflict with formatter +] + [build-system] requires = ["setuptools>=68"] build-backend = "setuptools.build_meta" From ad7daafc508da70e140ccb4babb3c53b9a2085d7 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 16:45:18 +0100 Subject: [PATCH 0988/2186] linted with ruff (`ruff check . --fix`) --- development/compare-vol.py | 2 +- development/pdbparse-to-json.py | 5 +- development/schema_validate.py | 4 +- volatility3/cli/__init__.py | 22 +++----- volatility3/cli/text_filter.py | 2 +- volatility3/cli/text_renderer.py | 2 +- volatility3/cli/volargparse.py | 2 +- volatility3/cli/volshell/__init__.py | 6 +-- volatility3/cli/volshell/generic.py | 1 - volatility3/framework/__init__.py | 10 ++-- volatility3/framework/automagic/linux.py | 4 +- volatility3/framework/automagic/mac.py | 2 +- volatility3/framework/automagic/pdbscan.py | 4 +- .../framework/automagic/symbol_cache.py | 9 +--- .../framework/automagic/symbol_finder.py | 2 +- .../framework/configuration/requirements.py | 4 +- volatility3/framework/contexts/__init__.py | 2 +- .../framework/interfaces/configuration.py | 10 ++-- volatility3/framework/interfaces/layers.py | 7 +-- volatility3/framework/interfaces/plugins.py | 2 +- volatility3/framework/interfaces/renderers.py | 12 +++-- volatility3/framework/interfaces/symbols.py | 3 +- volatility3/framework/layers/crash.py | 9 ++-- volatility3/framework/layers/intel.py | 19 +++---- volatility3/framework/layers/leechcore.py | 2 +- volatility3/framework/layers/qemu.py | 2 +- volatility3/framework/layers/registry.py | 8 +-- volatility3/framework/layers/resources.py | 2 +- .../framework/layers/scanners/multiregexp.py | 2 +- volatility3/framework/objects/utility.py | 4 +- volatility3/framework/plugins/layerwriter.py | 2 +- .../framework/plugins/linux/check_idt.py | 2 +- .../framework/plugins/linux/check_syscall.py | 2 +- .../framework/plugins/linux/pagecache.py | 2 +- volatility3/framework/plugins/linux/proc.py | 4 +- volatility3/framework/plugins/linux/psscan.py | 2 +- .../framework/plugins/mac/proc_maps.py | 4 +- volatility3/framework/plugins/timeliner.py | 4 +- .../framework/plugins/windows/cmdline.py | 4 +- .../framework/plugins/windows/consoles.py | 22 ++------ .../framework/plugins/windows/dlllist.py | 15 ++---- .../framework/plugins/windows/dumpfiles.py | 8 +-- .../framework/plugins/windows/envars.py | 6 +-- .../plugins/windows/getservicesids.py | 2 +- .../framework/plugins/windows/getsids.py | 6 +-- .../plugins/windows/hollowprocesses.py | 37 +++++-------- volatility3/framework/plugins/windows/iat.py | 8 +-- .../framework/plugins/windows/malfind.py | 8 +-- .../framework/plugins/windows/memmap.py | 10 +--- .../framework/plugins/windows/modules.py | 4 +- .../framework/plugins/windows/netscan.py | 31 ++--------- .../framework/plugins/windows/netstat.py | 8 +-- .../framework/plugins/windows/pe_symbols.py | 2 +- .../framework/plugins/windows/pedump.py | 54 +++++++++---------- .../framework/plugins/windows/privileges.py | 2 +- .../framework/plugins/windows/psxview.py | 1 - .../plugins/windows/registry/hivelist.py | 26 +++------ .../plugins/windows/registry/userassist.py | 6 +-- .../plugins/windows/skeleton_key_check.py | 8 +-- .../framework/plugins/windows/strings.py | 4 +- .../framework/plugins/windows/svclist.py | 4 +- .../framework/plugins/windows/svcscan.py | 14 ++--- .../framework/plugins/windows/thrdscan.py | 2 +- .../framework/plugins/windows/threads.py | 2 +- .../framework/plugins/windows/timers.py | 2 +- .../plugins/windows/unhooked_system_calls.py | 2 +- .../framework/plugins/windows/vadinfo.py | 4 +- .../framework/plugins/windows/verinfo.py | 4 +- volatility3/framework/renderers/__init__.py | 8 +-- volatility3/framework/symbols/intermed.py | 2 +- .../framework/symbols/linux/__init__.py | 2 +- .../symbols/linux/extensions/__init__.py | 4 +- .../symbols/windows/extensions/__init__.py | 8 +-- .../symbols/windows/extensions/consoles.py | 2 +- .../symbols/windows/extensions/mbr.py | 7 +-- .../symbols/windows/extensions/network.py | 8 ++- .../symbols/windows/extensions/pe.py | 4 +- .../symbols/windows/extensions/pool.py | 6 +-- .../symbols/windows/extensions/registry.py | 4 +- .../framework/symbols/windows/pdbconv.py | 6 +-- .../framework/symbols/windows/pdbutil.py | 6 +-- .../plugins/windows/registry/certificates.py | 2 +- volatility3/plugins/windows/statistics.py | 4 +- volatility3/schemas/__init__.py | 6 +-- 84 files changed, 191 insertions(+), 381 deletions(-) diff --git a/development/compare-vol.py b/development/compare-vol.py index d0d834038..1074c5d9c 100644 --- a/development/compare-vol.py +++ b/development/compare-vol.py @@ -101,7 +101,7 @@ class Volatility2Test(VolatilityTest): print(f" Tested volatility2 imageinfo with image {image.filepath}: {end_time - start_time}") with open(os.path.join(self.output_directory, f'vol2_imageinfo_{image_hash}_stdout'), "wb") as f: f.write(vol2_completed.stdout) - image.vol2_profile = re.search(b"Suggested Profile\(s\) : ([^,]+)", vol2_completed.stdout)[1] + image.vol2_profile = re.search(rb"Suggested Profile\(s\) : ([^,]+)", vol2_completed.stdout)[1] class RekallTest(VolatilityTest): diff --git a/development/pdbparse-to-json.py b/development/pdbparse-to-json.py index 819e44e15..6eb265227 100644 --- a/development/pdbparse-to-json.py +++ b/development/pdbparse-to-json.py @@ -145,8 +145,7 @@ class PDBConvertor: """Generates the metadata necessary for this object""" dbg = self._pdb.STREAM_DBI last_bytes = str(binascii.hexlify(self._pdb.STREAM_PDB.GUID.Data4), 'ascii')[-16:] - guidstr = u'{:08x}{:04x}{:04x}{}'.format(self._pdb.STREAM_PDB.GUID.Data1, self._pdb.STREAM_PDB.GUID.Data2, - self._pdb.STREAM_PDB.GUID.Data3, last_bytes) + guidstr = f'{self._pdb.STREAM_PDB.GUID.Data1:08x}{self._pdb.STREAM_PDB.GUID.Data2:04x}{self._pdb.STREAM_PDB.GUID.Data3:04x}{last_bytes}' pdb_data = { "GUID": guidstr.upper(), "age": self._pdb.STREAM_PDB.Age, @@ -195,7 +194,7 @@ class PDBConvertor: try: sects = self._pdb.STREAM_SECT_HDR_ORIG.sections omap = self._pdb.STREAM_OMAP_FROM_SRC - except AttributeError as e: + except AttributeError: # In this case there is no OMAP, so we use the given section # headers and use the identity function for omap.remap sects = self._pdb.STREAM_SECT_HDR.sections diff --git a/development/schema_validate.py b/development/schema_validate.py index 0908e934f..031039e38 100644 --- a/development/schema_validate.py +++ b/development/schema_validate.py @@ -28,7 +28,7 @@ if __name__ == '__main__': schema = None if args.schema: - with open(os.path.abspath(args.schema), 'r') as s: + with open(os.path.abspath(args.schema)) as s: schema = json.load(s) failures = [] @@ -36,7 +36,7 @@ if __name__ == '__main__': try: if os.path.exists(filename): print(f"[?] Validating file: {filename}") - with open(filename, 'r') as t: + with open(filename) as t: test = json.load(t) if args.schema: diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 901f299a8..cf1335443 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -57,7 +57,7 @@ formatter = logging.Formatter("%(levelname)-8s %(name)-12s: %(message)s") console.setFormatter(formatter) -class PrintedProgress(object): +class PrintedProgress: """A progress handler that prints the progress value and the description onto the command line.""" @@ -126,9 +126,7 @@ class CommandLine: "--help", action="help", default=argparse.SUPPRESS, - help="Show this help message and exit, for specific plugin options use '{} --help'".format( - parser.prog - ), + help=f"Show this help message and exit, for specific plugin options use '{parser.prog} --help'", ) parser.add_argument( "-c", @@ -360,9 +358,7 @@ class CommandLine: subparser = parser.add_subparsers( title="Plugins", dest="plugin", - description="For plugin specific options, run '{} --help'".format( - self.CLI_NAME - ), + description=f"For plugin specific options, run '{self.CLI_NAME} --help'", action=volargparse.HelpfulSubparserAction, metavar="PLUGIN", ) @@ -416,7 +412,7 @@ class CommandLine: # UI fills in the config, here we load it from the config file and do it before we process the CL parameters if args.config: - with open(args.config, "r") as f: + with open(args.config) as f: json_val = json.load(f) ctx.config.splice( plugin_config_path, @@ -722,9 +718,7 @@ class CommandLine: if isinstance(requirement, requirements.ListRequirement): if not isinstance(value, list): raise TypeError( - "Configuration for ListRequirement was not a list: {}".format( - requirement.name - ) + f"Configuration for ListRequirement was not a list: {requirement.name}" ) value = [requirement.element_type(x) for x in value] if not inspect.isclass(configurables_list[configurable]): @@ -797,7 +791,7 @@ class CommandLine: fd, self._name = tempfile.mkstemp( suffix=".vol3", prefix="tmp_", dir=output_dir ) - self._file = io.open(fd, mode="w+b") + self._file = open(fd, mode="w+b") CLIFileHandler.__init__(self, filename) for item in dir(self._file): if not item.startswith("_") and item not in ( @@ -870,9 +864,7 @@ class CommandLine: requirement, interfaces.configuration.RequirementInterface ): raise TypeError( - "Plugin contains requirements that are not RequirementInterfaces: {}".format( - configurable.__name__ - ) + f"Plugin contains requirements that are not RequirementInterfaces: {configurable.__name__}" ) if isinstance(requirement, interfaces.configuration.SimpleTypeRequirement): additional["type"] = requirement.instance_type diff --git a/volatility3/cli/text_filter.py b/volatility3/cli/text_filter.py index 3d69934e9..955d647f5 100644 --- a/volatility3/cli/text_filter.py +++ b/volatility3/cli/text_filter.py @@ -76,7 +76,7 @@ class ColumnFilter: if self.regex: return re.search(self.pattern, f"{item}") return self.pattern in f"{item}" - except IOError: + except OSError: return False def found(self, row: List[Any]) -> bool: diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 408a562d8..937ba4ef4 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -467,7 +467,7 @@ class JsonRenderer(CLIRenderer): def output_result(self, outfd, result): """Outputs the JSON data to a file in a particular format""" - outfd.write("{}\n".format(json.dumps(result, indent=2, sort_keys=True))) + outfd.write(f"{json.dumps(result, indent=2, sort_keys=True)}\n") def render(self, grid: interfaces.renderers.TreeGrid): outfd = sys.stdout diff --git a/volatility3/cli/volargparse.py b/volatility3/cli/volargparse.py index fd61ddce0..dce9cafa6 100644 --- a/volatility3/cli/volargparse.py +++ b/volatility3/cli/volargparse.py @@ -5,7 +5,7 @@ import argparse import gettext import re -from typing import List, Optional, Sequence, Any, Union +from typing import Optional, Sequence, Any, Union # This effectively overrides/monkeypatches the core argparse module to provide more helpful output around choices diff --git a/volatility3/cli/volshell/__init__.py b/volatility3/cli/volshell/__init__.py index e9d3fda08..0affe5d59 100644 --- a/volatility3/cli/volshell/__init__.py +++ b/volatility3/cli/volshell/__init__.py @@ -282,9 +282,7 @@ class VolShell(cli.CommandLine): for plugin in volshell_plugin_list: subparser = parser.add_argument_group( title=plugin.capitalize(), - description="Configuration options based on {} options".format( - plugin.capitalize() - ), + description=f"Configuration options based on {plugin.capitalize()} options", ) self.populate_requirements_argparse(subparser, volshell_plugin_list[plugin]) configurables_list[plugin] = volshell_plugin_list[plugin] @@ -331,7 +329,7 @@ class VolShell(cli.CommandLine): # UI fills in the config, here we load it from the config file and do it before we process the CL parameters if args.config: - with open(args.config, "r") as f: + with open(args.config) as f: json_val = json.load(f) ctx.config.splice( plugin_config_path, diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 82c470e1a..65040bb2a 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -585,7 +585,6 @@ class NullFileHandler(io.BytesIO, interfaces.plugins.FileHandlerInterface): def writelines(self, lines: Iterable[bytes]): """Dummy method""" - pass def write(self, b: bytes): """Dummy method""" diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 23ea745de..e0f7c778a 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -56,9 +56,7 @@ def require_interface_version(*args) -> None: if len(args): if args[0] != interface_version()[0]: raise RuntimeError( - "Framework interface version {} is incompatible with required version {}".format( - interface_version()[0], args[0] - ) + f"Framework interface version {interface_version()[0]} is incompatible with required version {args[0]}" ) if len(args) > 1: if args[1] > interface_version()[1]: @@ -70,7 +68,7 @@ def require_interface_version(*args) -> None: ) -class NonInheritable(object): +class NonInheritable: def __init__(self, value: Any, cls: Type) -> None: self.default_value = value self.cls = cls @@ -187,9 +185,7 @@ def import_file(module: str, path: str, ignore_errors: bool = False) -> List[str traceback.TracebackException.from_exception(e).format(chain=True) ) ) - vollog.debug( - "Failed to import module {} based on file: {}".format(module, path) - ) + vollog.debug(f"Failed to import module {module} based on file: {path}") failures.append(module) if not ignore_errors: raise diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index ef54a0aa5..6b58577a3 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -173,9 +173,7 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): if aslr_shift & 0xFFF != 0 or kaslr_shift & 0xFFF != 0: continue vollog.debug( - "Linux ASLR shift values determined: physical {:0x} virtual {:0x}".format( - kaslr_shift, aslr_shift - ) + f"Linux ASLR shift values determined: physical {kaslr_shift:0x} virtual {aslr_shift:0x}" ) return kaslr_shift, aslr_shift diff --git a/volatility3/framework/automagic/mac.py b/volatility3/framework/automagic/mac.py index 7c478b521..89dd5a187 100644 --- a/volatility3/framework/automagic/mac.py +++ b/volatility3/framework/automagic/mac.py @@ -184,7 +184,7 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): aslr_shift = 0 for offset, banner in offset_generator: - banner_major, banner_minor = [int(x) for x in banner[22:].split(b".")[0:2]] + banner_major, banner_minor = (int(x) for x in banner[22:].split(b".")[0:2]) tmp_aslr_shift = offset - cls.virtual_to_physical_address( version_json_address diff --git a/volatility3/framework/automagic/pdbscan.py b/volatility3/framework/automagic/pdbscan.py index 0b4f6c73a..729c48063 100644 --- a/volatility3/framework/automagic/pdbscan.py +++ b/volatility3/framework/automagic/pdbscan.py @@ -215,9 +215,7 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): return (virtual_layer_name, kvo, kernel) else: vollog.debug( - "Potential kernel_virtual_offset did not map to expected location: {}".format( - hex(kvo) - ) + f"Potential kernel_virtual_offset did not map to expected location: {hex(kvo)}" ) except exceptions.InvalidAddressException: vollog.debug( diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index e38771f79..9fad506ae 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -106,7 +106,6 @@ class CacheManagerInterface(interfaces.configuration.VersionableInterface): def add_identifier(self, location: str, operating_system: str, identifier: str): """Adds an identifier to the store""" - pass def find_location( self, identifier: bytes, operating_system: Optional[str] @@ -120,18 +119,15 @@ class CacheManagerInterface(interfaces.configuration.VersionableInterface): Returns: The location of the symbols file that matches the identifier """ - pass def get_local_locations(self) -> Iterable[str]: """Returns a list of all the local locations""" - pass def update(self): """Locates all files under the symbol directories. Updates the cache with additions, modifications and removals. This also updates remote locations based on a cache timeout. """ - pass def get_identifier_dictionary( self, operating_system: Optional[str] = None, local_only: bool = False @@ -145,15 +141,12 @@ class CacheManagerInterface(interfaces.configuration.VersionableInterface): Returns: A dictionary of identifiers mapped to a location """ - pass def get_identifier(self, location: str) -> Optional[bytes]: """Returns an identifier based on a specific location or None""" - pass def get_identifiers(self, operating_system: Optional[str]) -> List[bytes]: """Returns all identifiers for a particular operating system""" - pass def get_location_statistics( self, location: str @@ -572,6 +565,6 @@ class RemoteIdentifierFormat: try: subrbf = RemoteIdentifierFormat(location) yield from subrbf.process(identifiers, operating_system) - except IOError: + except OSError: vollog.debug(f"Remote file not found: {location}") return identifiers diff --git a/volatility3/framework/automagic/symbol_finder.py b/volatility3/framework/automagic/symbol_finder.py index 6d689e194..1d30f3f51 100644 --- a/volatility3/framework/automagic/symbol_finder.py +++ b/volatility3/framework/automagic/symbol_finder.py @@ -4,7 +4,7 @@ import logging import os -from typing import Any, Callable, Iterable, List, Optional, Tuple +from typing import Callable, List, Optional, Tuple from volatility3.framework import constants, interfaces, layers from volatility3.framework.automagic import symbol_cache diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index f130f9544..828c89daa 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -664,9 +664,7 @@ class ModuleRequirement( if value is not None: vollog.log( constants.LOGLEVEL_V, - "TypeError - Module Requirement only accepts string labels: {}".format( - repr(value) - ), + f"TypeError - Module Requirement only accepts string labels: {repr(value)}", ) return {config_path: self} diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index 6961d9328..5111b168a 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -356,7 +356,7 @@ class SizedModule(Module): return size or 0 @property # type: ignore # FIXME: mypy #5107 - @functools.lru_cache() + @functools.lru_cache def hash(self) -> str: """Hashes the module for equality checks. diff --git a/volatility3/framework/interfaces/configuration.py b/volatility3/framework/interfaces/configuration.py index da0a4556c..cbbf7e342 100644 --- a/volatility3/framework/interfaces/configuration.py +++ b/volatility3/framework/interfaces/configuration.py @@ -94,7 +94,7 @@ class HierarchicalDict(collections.abc.Mapping): raise TypeError(f"Separator must be a one character string: {separator}") self._separator = separator self._data: Dict[str, ConfigSimpleType] = {} - self._subdict: Dict[str, "HierarchicalDict"] = {} + self._subdict: Dict[str, HierarchicalDict] = {} if isinstance(initial_dict, str): initial_dict = json.loads(initial_dict) if isinstance(initial_dict, dict): @@ -182,9 +182,7 @@ class HierarchicalDict(collections.abc.Mapping): else: if not isinstance(value, HierarchicalDict): raise TypeError( - "HierarchicalDicts can only store HierarchicalDicts within their structure: {}".format( - type(value) - ) + f"HierarchicalDicts can only store HierarchicalDicts within their structure: {type(value)}" ) self._subdict[key] = value @@ -498,9 +496,7 @@ class SimpleTypeRequirement(RequirementInterface): if not isinstance(value, self.instance_type): vollog.log( constants.LOGLEVEL_V, - "TypeError - {} requirements only accept {} type: {}".format( - self.name, self.instance_type.__name__, repr(value) - ), + f"TypeError - {self.name} requirements only accept {self.instance_type.__name__} type: {repr(value)}", ) return {config_path: self} return {} diff --git a/volatility3/framework/interfaces/layers.py b/volatility3/framework/interfaces/layers.py index 78687d8d5..56798aca9 100644 --- a/volatility3/framework/interfaces/layers.py +++ b/volatility3/framework/interfaces/layers.py @@ -188,7 +188,6 @@ class DataLayerInterface( the object unreadable (exceptions will be thrown using a DataLayer after destruction) """ - pass @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -361,9 +360,7 @@ class DataLayerInterface( data += self.context.layers[layer_name].read(address, chunk_size) except exceptions.InvalidAddressException: vollog.debug( - "Invalid address in layer {} found scanning {} at address {:x}".format( - layer_name, self.name, address - ) + f"Invalid address in layer {layer_name} found scanning {self.name} at address {address:x}" ) if len(data) > scanner.chunk_size + scanner.overlap: @@ -721,7 +718,7 @@ class LayerContainer(collections.abc.Mapping): raise NotImplementedError("Cycle checking has not yet been implemented") -class DummyProgress(object): +class DummyProgress: """A class to emulate Multiprocessing/threading Value objects.""" def __init__(self) -> None: diff --git a/volatility3/framework/interfaces/plugins.py b/volatility3/framework/interfaces/plugins.py index 74902636e..f763815a6 100644 --- a/volatility3/framework/interfaces/plugins.py +++ b/volatility3/framework/interfaces/plugins.py @@ -46,7 +46,7 @@ class FileHandlerInterface(io.RawIOBase): def preferred_filename(self, filename: str): """Sets the preferred filename""" if self.closed: - raise IOError("FileHandler name cannot be changed once closed") + raise OSError("FileHandler name cannot be changed once closed") if not isinstance(filename, str): raise TypeError("FileHandler preferred filenames must be strings") if os.path.sep in filename: diff --git a/volatility3/framework/interfaces/renderers.py b/volatility3/framework/interfaces/renderers.py index b13de1834..7105274c0 100644 --- a/volatility3/framework/interfaces/renderers.py +++ b/volatility3/framework/interfaces/renderers.py @@ -26,7 +26,11 @@ from typing import ( Union, ) -Column = NamedTuple("Column", [("name", str), ("type", Any)]) + +class Column(NamedTuple): + name: str + type: Any + RenderOption = Any @@ -98,11 +102,11 @@ class TreeNode(abc.Sequence, metaclass=ABCMeta): """ -class BaseAbsentValue(object): +class BaseAbsentValue: """Class that represents values which are not present for some reason.""" -class Disassembly(object): +class Disassembly: """A class to indicate that the bytes provided should be disassembled (based on the architecture)""" @@ -137,7 +141,7 @@ ColumnsType = List[Tuple[str, BaseTypes]] VisitorSignature = Callable[[TreeNode, _Type], _Type] -class TreeGrid(object, metaclass=ABCMeta): +class TreeGrid(metaclass=ABCMeta): """Class providing the interface for a TreeGrid (which contains TreeNodes) The structure of a TreeGrid is designed to maintain the structure of the tree in a single object. diff --git a/volatility3/framework/interfaces/symbols.py b/volatility3/framework/interfaces/symbols.py index b645f5cd1..ead91fb4d 100644 --- a/volatility3/framework/interfaces/symbols.py +++ b/volatility3/framework/interfaces/symbols.py @@ -250,7 +250,6 @@ class BaseSymbolTableInterface: def clear_symbol_cache(self) -> None: """Clears the symbol cache of this symbol table.""" - pass class SymbolSpaceInterface(collections.abc.Mapping): @@ -378,7 +377,7 @@ class NativeTableInterface(BaseSymbolTableInterface): return [] -class MetadataInterface(object): +class MetadataInterface: """Interface for accessing metadata stored within a symbol table.""" def __init__(self, json_data: Dict) -> None: diff --git a/volatility3/framework/layers/crash.py b/volatility3/framework/layers/crash.py index 3cfc0a25b..a5b25d178 100644 --- a/volatility3/framework/layers/crash.py +++ b/volatility3/framework/layers/crash.py @@ -1,7 +1,6 @@ # This file is Copyright 2021 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import contextlib import logging import struct from typing import Tuple, Optional @@ -138,7 +137,7 @@ class WindowsCrashDump32Layer(segmented.SegmentedLayer): ulong_bitmap_array = summary_header.get_buffer_long() # outer_index points to a 32 bits array inside a list of arrays, # each bit indicating a page mapping state - for outer_index in range(0, ulong_bitmap_array.vol.count): + for outer_index in range(ulong_bitmap_array.vol.count): ulong_bitmap = ulong_bitmap_array[outer_index] # All pages in this 32 bits array are mapped (speedup iteration process) if ulong_bitmap == 0xFFFFFFFF: @@ -166,7 +165,7 @@ class WindowsCrashDump32Layer(segmented.SegmentedLayer): seg_first_bit = None # Some pages in this 32 bits array are mapped and some aren't else: - for inner_bit_position in range(0, 32): + for inner_bit_position in range(32): current_bit = outer_index * 32 + inner_bit_position page_mapped = ulong_bitmap & (1 << inner_bit_position) if page_mapped: @@ -220,9 +219,7 @@ class WindowsCrashDump32Layer(segmented.SegmentedLayer): for idx, (start_position, mapped_offset, length, _) in enumerate(segments): vollog.log( constants.LOGLEVEL_VVVV, - "Segment {}: Position {:#x} Offset {:#x} Length {:#x}".format( - idx, start_position, mapped_offset, length - ), + f"Segment {idx}: Position {start_position:#x} Offset {mapped_offset:#x} Length {length:#x}", ) self._segments = segments diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 7918ebed4..7c2c72ac1 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -76,13 +76,13 @@ class Intel(linear.LinearlyMappedLayer): self._index_shift = math.ceil(math.log2(struct.calcsize(self._entry_format))) @classproperty - @functools.lru_cache() + @functools.lru_cache def page_shift(cls) -> int: """Page shift for the intel memory layers.""" return cls._page_size_in_bits @classproperty - @functools.lru_cache() + @functools.lru_cache def page_size(cls) -> int: """Page size for the intel memory layers. @@ -91,25 +91,25 @@ class Intel(linear.LinearlyMappedLayer): return 1 << cls._page_size_in_bits @classproperty - @functools.lru_cache() + @functools.lru_cache def page_mask(cls) -> int: """Page mask for the intel memory layers.""" return ~(cls.page_size - 1) @classproperty - @functools.lru_cache() + @functools.lru_cache def bits_per_register(cls) -> int: """Returns the bits_per_register to determine the range of an IntelTranslationLayer.""" return cls._bits_per_register @classproperty - @functools.lru_cache() + @functools.lru_cache def minimum_address(cls) -> int: return 0 @classproperty - @functools.lru_cache() + @functools.lru_cache def maximum_address(cls) -> int: return (1 << cls._maxvirtaddr) - 1 @@ -251,12 +251,7 @@ class Intel(linear.LinearlyMappedLayer): if INTEL_TRANSLATION_DEBUGGING: vollog.log( constants.LOGLEVEL_VVVV, - "Entry {} at index {} gives data {} as {}".format( - hex(entry), - hex(index), - hex(struct.unpack(self._entry_format, entry_data)[0]), - name, - ), + f"Entry {hex(entry)} at index {hex(index)} gives data {hex(struct.unpack(self._entry_format, entry_data)[0])} as {name}", ) # Read out the new entry from memory diff --git a/volatility3/framework/layers/leechcore.py b/volatility3/framework/layers/leechcore.py index 542fd6ca2..eeede1673 100644 --- a/volatility3/framework/layers/leechcore.py +++ b/volatility3/framework/layers/leechcore.py @@ -48,7 +48,7 @@ if HAS_LEECHCORE: try: self._handle = leechcorepyc.LeechCore(self._device) except TypeError: - raise IOError(f"Unable to open LeechCore device {self._device}") + raise OSError(f"Unable to open LeechCore device {self._device}") return self._handle def fileno(self): diff --git a/volatility3/framework/layers/qemu.py b/volatility3/framework/layers/qemu.py index ff483291c..a8127e954 100644 --- a/volatility3/framework/layers/qemu.py +++ b/volatility3/framework/layers/qemu.py @@ -236,7 +236,7 @@ class QemuSuspendLayer(segmented.NonLinearlySegmentedLayer): if self._architecture is None: vollog.log( constants.LOGLEVEL_VV, - f"QEVM architecture could not be determined", + "QEVM architecture could not be determined", ) # Once all segments have been read, determine the PCI hole if any diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index 609832886..cc364ad50 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -156,9 +156,7 @@ class RegistryHive(linear.LinearlyMappedLayer): else: # It doesn't matter that we use KeyNode, we're just after the first two bytes vollog.debug( - "Unknown Signature {} (0x{:x}) at offset {}".format( - signature, cell.u.KeyNode.Signature, cell_offset - ) + f"Unknown Signature {signature} (0x{cell.u.KeyNode.Signature:x}) at offset {cell_offset}" ) return cell @@ -178,9 +176,7 @@ class RegistryHive(linear.LinearlyMappedLayer): if not root_node.vol.type_name.endswith(constants.BANG + "_CM_KEY_NODE"): raise RegistryFormatException( self.name, - "Encountered {} instead of _CM_KEY_NODE".format( - root_node.vol.type_name - ), + f"Encountered {root_node.vol.type_name} instead of _CM_KEY_NODE", ) node_key = [root_node] if key.endswith("\\"): diff --git a/volatility3/framework/layers/resources.py b/volatility3/framework/layers/resources.py index 2dba7caa8..c7a7fee67 100644 --- a/volatility3/framework/layers/resources.py +++ b/volatility3/framework/layers/resources.py @@ -57,7 +57,7 @@ def cascadeCloseFile(new_fp: IO[bytes], original_fp: IO[bytes]) -> IO[bytes]: return new_fp -class ResourceAccessor(object): +class ResourceAccessor: """Object for opening URLs as files (downloading locally first if necessary)""" diff --git a/volatility3/framework/layers/scanners/multiregexp.py b/volatility3/framework/layers/scanners/multiregexp.py index be3581f05..9831a9d8e 100644 --- a/volatility3/framework/layers/scanners/multiregexp.py +++ b/volatility3/framework/layers/scanners/multiregexp.py @@ -6,7 +6,7 @@ import re from typing import Generator, List, Tuple -class MultiRegexp(object): +class MultiRegexp: """Algorithm for multi-string matching.""" def __init__(self) -> None: diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 8aa527cdb..b241ed56a 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -22,8 +22,8 @@ def bswap_32(value: int) -> int: def bswap_64(value: int) -> int: - low = bswap_32((value >> 32)) - high = bswap_32((value & 0xFFFFFFFF)) + low = bswap_32(value >> 32) + high = bswap_32(value & 0xFFFFFFFF) return ((high << 32) | low) & 0xFFFFFFFFFFFFFFFF diff --git a/volatility3/framework/plugins/layerwriter.py b/volatility3/framework/plugins/layerwriter.py index 24149a390..10e7a7a72 100644 --- a/volatility3/framework/plugins/layerwriter.py +++ b/volatility3/framework/plugins/layerwriter.py @@ -119,7 +119,7 @@ class LayerWriter(plugins.PluginInterface): # Update the filename, which may have changed if a file # with the same name already existed. output_name = file_handle.preferred_filename - except IOError as excp: + except OSError as excp: yield 0, (f"Layer cannot be written to {output_name}: {excp}",) yield 0, (f"Layer has been written to {output_name}",) diff --git a/volatility3/framework/plugins/linux/check_idt.py b/volatility3/framework/plugins/linux/check_idt.py index cc3a08933..07582e2c1 100644 --- a/volatility3/framework/plugins/linux/check_idt.py +++ b/volatility3/framework/plugins/linux/check_idt.py @@ -53,7 +53,7 @@ class Check_idt(interfaces.plugins.PluginInterface): address_mask = self.context.layers[vmlinux.layer_name].address_mask # hw handlers + system call - check_idxs = list(range(0, 20)) + [128] + check_idxs = list(range(20)) + [128] if is_32bit: if vmlinux.has_type("gate_struct"): diff --git a/volatility3/framework/plugins/linux/check_syscall.py b/volatility3/framework/plugins/linux/check_syscall.py index b6634d612..3537a9fa1 100644 --- a/volatility3/framework/plugins/linux/check_syscall.py +++ b/volatility3/framework/plugins/linux/check_syscall.py @@ -103,7 +103,7 @@ class Check_syscall(plugins.PluginInterface): try: func_addr = vmlinux.get_symbol(syscall_entry_func).address - except exceptions.SymbolError as e: + except exceptions.SymbolError: # if we can't find the disassemble function then bail and rely on a different method return 0 diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 7dbf074b3..382268515 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -462,7 +462,7 @@ class InodePages(plugins.PluginInterface): f.seek(current_fp) f.write(page_bytes) - except IOError as e: + except OSError as e: vollog.error("Unable to write to file (%s): %s", filename, e) def _generator(self): diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index 00832140a..065f239a9 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -125,9 +125,7 @@ class Maps(plugins.PluginInterface): proc_layer_name = task.add_process_layer() except exceptions.InvalidAddressException as excp: vollog.debug( - "Process {}: invalid address {} in layer {}".format( - pid, excp.invalid_address, excp.layer_name - ) + f"Process {pid}: invalid address {excp.invalid_address} in layer {excp.layer_name}" ) return None vm_size = vm_end - vm_start diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index 40784a647..0cca4704f 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -133,7 +133,7 @@ class PsScan(interfaces.plugins.PluginInterface): ) elif len(kernel_layer.dependencies) == 0: vollog.error( - f"Kernel layer has no dependencies, meaning there is no memory layer for this plugin to scan." + "Kernel layer has no dependencies, meaning there is no memory layer for this plugin to scan." ) raise exceptions.LayerException( kernel_layer_name, f"Layer {kernel_layer_name} has no dependencies" diff --git a/volatility3/framework/plugins/mac/proc_maps.py b/volatility3/framework/plugins/mac/proc_maps.py index fe5179dfa..5c002e472 100644 --- a/volatility3/framework/plugins/mac/proc_maps.py +++ b/volatility3/framework/plugins/mac/proc_maps.py @@ -115,9 +115,7 @@ class Maps(interfaces.plugins.PluginInterface): proc_layer_name = task.add_process_layer() except exceptions.InvalidAddressException as excp: vollog.debug( - "Process {}: invalid address {} in layer {}".format( - pid, excp.invalid_address, excp.layer_name - ) + f"Process {pid}: invalid address {excp.invalid_address} in layer {excp.layer_name}" ) return None vm_size = vm_end - vm_start diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index c754e43ef..ba729f898 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -143,9 +143,7 @@ class Timeliner(interfaces.plugins.PluginInterface): times = self.timeline.get((plugin_name, item), {}) if times.get(timestamp_type, None) is not None: vollog.debug( - "Multiple timestamps for the same plugin/file combination found: {} {}".format( - plugin_name, item - ) + f"Multiple timestamps for the same plugin/file combination found: {plugin_name} {item}" ) times[timestamp_type] = timestamp self.timeline[(plugin_name, item)] = times diff --git a/volatility3/framework/plugins/windows/cmdline.py b/volatility3/framework/plugins/windows/cmdline.py index 8cfb5576c..9bd9eda0e 100644 --- a/volatility3/framework/plugins/windows/cmdline.py +++ b/volatility3/framework/plugins/windows/cmdline.py @@ -84,9 +84,7 @@ class CmdLine(interfaces.plugins.PluginInterface): result_text = f"Required memory at {exp.invalid_address:#x} is not valid (process exited?)" except exceptions.InvalidAddressException as exp: - result_text = "Process {}: Required memory at {:#x} is not valid (incomplete layer {}?)".format( - proc_id, exp.invalid_address, exp.layer_name - ) + result_text = f"Process {proc_id}: Required memory at {exp.invalid_address:#x} is not valid (incomplete layer {exp.layer_name}?)" yield (0, (proc.UniqueProcessId, process_name, result_text)) diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index ad1c9d4bd..a448989c0 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -95,9 +95,7 @@ class Consoles(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException as excp: vollog.debug( - "Process {}: invalid address {} in layer {}".format( - proc_id, excp.invalid_address, excp.layer_name - ) + f"Process {proc_id}: invalid address {excp.invalid_address} in layer {excp.layer_name}" ) @classmethod @@ -176,12 +174,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) vollog.debug( - "Determined OS Version: {}.{} {}.{}".format( - kuser.NtMajorVersion, - kuser.NtMinorVersion, - vers.MajorVersion, - vers.MinorVersion, - ) + f"Determined OS Version: {kuser.NtMajorVersion}.{kuser.NtMinorVersion} {vers.MajorVersion}.{vers.MinorVersion}" ) if nt_major_version == 10 and arch == "x64": @@ -260,9 +253,7 @@ class Consoles(interfaces.plugins.PluginInterface): if ver: conhost_mod_version = ver[3] vollog.debug( - "Determined conhost.exe's FileVersion: {}".format( - conhost_mod_version - ) + f"Determined conhost.exe's FileVersion: {conhost_mod_version}" ) else: vollog.debug("Could not determine conhost.exe's FileVersion.") @@ -311,12 +302,7 @@ class Consoles(interfaces.plugins.PluginInterface): else: raise NotImplementedError( - "This version of Windows is not supported: {}.{} {}.{}!".format( - nt_major_version, - nt_minor_version, - vers.MajorVersion, - vers_minor_version, - ) + f"This version of Windows is not supported: {nt_major_version}.{nt_minor_version} {vers.MajorVersion}.{vers_minor_version}!" ) vollog.debug(f"Determined symbol filename: {filename}") diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index 5a1b37fcf..57f19f620 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -5,9 +5,9 @@ import contextlib import datetime import logging import re -from typing import List, Optional, Type +from typing import List -from volatility3.framework import constants, exceptions, interfaces, renderers +from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed @@ -199,16 +199,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): _depth, row_data = row if not isinstance(row_data[6], datetime.datetime): continue - description = ( - "DLL Load: Process {} {} Loaded {} ({}) Size {} Offset {}".format( - row_data[0], - row_data[1], - row_data[4], - row_data[5], - row_data[3], - row_data[2], - ) - ) + description = f"DLL Load: Process {row_data[0]} {row_data[1]} Loaded {row_data[4]} ({row_data[5]}) Size {row_data[3]} Offset {row_data[2]}" yield (description, timeliner.TimeLinerType.CREATED, row_data[6]) def run(self): diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index bc554c0bf..64d9be4db 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -192,13 +192,7 @@ class DumpFiles(interfaces.plugins.PluginInterface): for memory_object, layer, extension in dump_parameters: cache_name = EXTENSION_CACHE_MAP[extension] - desired_file_name = "file.{0:#x}.{1:#x}.{2}.{3}.{4}".format( - file_obj.vol.offset, - memory_object.vol.offset, - cache_name, - ntpath.basename(obj_name), - extension, - ) + desired_file_name = f"file.{file_obj.vol.offset:#x}.{memory_object.vol.offset:#x}.{cache_name}.{ntpath.basename(obj_name)}.{extension}" file_handle = cls.dump_file_producer( file_obj, memory_object, open_method, layer, desired_file_name diff --git a/volatility3/framework/plugins/windows/envars.py b/volatility3/framework/plugins/windows/envars.py index 66db03c9c..cac4ecf40 100644 --- a/volatility3/framework/plugins/windows/envars.py +++ b/volatility3/framework/plugins/windows/envars.py @@ -92,7 +92,7 @@ class Envars(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, registry.RegistryFormatException, - ) as excp: + ): vollog.log( constants.LOGLEVEL_VVV, "Error while parsing global environment variables keys (some keys might be excluded)", @@ -113,7 +113,7 @@ class Envars(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, registry.RegistryFormatException, - ) as excp: + ): vollog.log( constants.LOGLEVEL_VVV, "Error while parsing user environment variables keys (some keys might be excluded)", @@ -134,7 +134,7 @@ class Envars(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, registry.RegistryFormatException, - ) as excp: + ): vollog.log( constants.LOGLEVEL_VVV, "Error while parsing volatile environment variables keys (some keys might be excluded)", diff --git a/volatility3/framework/plugins/windows/getservicesids.py b/volatility3/framework/plugins/windows/getservicesids.py index 9b20ed2d0..37df940a2 100644 --- a/volatility3/framework/plugins/windows/getservicesids.py +++ b/volatility3/framework/plugins/windows/getservicesids.py @@ -55,7 +55,7 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface): ) # Get service sids dictionary (we need only the service sids). - with open(sids_json_file_name, "r") as file_handle: + with open(sids_json_file_name) as file_handle: self.servicesids = json.load(file_handle)["service sids"] @classmethod diff --git a/volatility3/framework/plugins/windows/getsids.py b/volatility3/framework/plugins/windows/getsids.py index 3e332f85d..df0c7a835 100644 --- a/volatility3/framework/plugins/windows/getsids.py +++ b/volatility3/framework/plugins/windows/getsids.py @@ -58,7 +58,7 @@ class GetSIDs(interfaces.plugins.PluginInterface): ) # Get all the sids from the json file. - with open(sids_json_file_name, "r") as file_handle: + with open(sids_json_file_name) as file_handle: sids_json_data = json.load(file_handle) self.servicesids = sids_json_data["service sids"] self.well_known_sids = sids_json_data["well known"] @@ -122,7 +122,7 @@ class GetSIDs(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, layers.registry.RegistryFormatException, - ) as excp: + ): continue try: value_data = node.decode_data() @@ -156,7 +156,7 @@ class GetSIDs(interfaces.plugins.PluginInterface): ValueError, exceptions.InvalidAddressException, layers.registry.RegistryFormatException, - ) as excp: + ): continue except (KeyError, exceptions.InvalidAddressException): continue diff --git a/volatility3/framework/plugins/windows/hollowprocesses.py b/volatility3/framework/plugins/windows/hollowprocesses.py index 69fa94f06..30d4b602c 100644 --- a/volatility3/framework/plugins/windows/hollowprocesses.py +++ b/volatility3/framework/plugins/windows/hollowprocesses.py @@ -12,20 +12,15 @@ from volatility3.plugins.windows import pslist, vadinfo vollog = logging.getLogger(__name__) -VadData = NamedTuple( - "VadData", - [ - ("protection", str), - ("path", str), - ], -) -DLLData = NamedTuple( - "DLLData", - [ - ("path", str), - ], -) +class VadData(NamedTuple): + protection: str + path: str + + +class DLLData(NamedTuple): + path: str + ### Useful references on process hollowing # https://cysinfo.com/detecting-deceptive-hollowing-techniques/ @@ -146,9 +141,7 @@ class HollowProcesses(interfaces.plugins.PluginInterface): """ image_base = self._get_image_base(proc) if image_base is not None and image_base != proc.SectionBaseAddress: - yield "The ImageBaseAddress reported from the PEB ({:#x}) does not match the process SectionBaseAddress ({:#x})".format( - image_base, proc.SectionBaseAddress - ) + yield f"The ImageBaseAddress reported from the PEB ({image_base:#x}) does not match the process SectionBaseAddress ({proc.SectionBaseAddress:#x})" def _check_exe_protection( self, proc, vads: Dict[int, VadData], __ @@ -166,13 +159,9 @@ class HollowProcesses(interfaces.plugins.PluginInterface): base = proc.SectionBaseAddress if base not in vads: - yield "There is no VAD starting at the base address of the process executable ({:#x})".format( - base - ) + yield f"There is no VAD starting at the base address of the process executable ({base:#x})" elif vads[base].protection != "PAGE_EXECUTE_WRITECOPY": - yield "Unexpected protection ({}) for VAD hosting the process executable ({:#x}) with path {}".format( - vads[base].protection, base, vads[base].path - ) + yield f"Unexpected protection ({vads[base].protection}) for VAD hosting the process executable ({base:#x}) with path {vads[base].path}" def _check_dlls_protection( self, _, vads: Dict[int, VadData], dlls: Dict[int, DLLData] @@ -184,9 +173,7 @@ class HollowProcesses(interfaces.plugins.PluginInterface): # PAGE_EXECUTE_WRITECOPY is the only valid permission for mapped DLLs and .exe files if vads[dll_base].protection != "PAGE_EXECUTE_WRITECOPY": - yield "Unexpected protection ({}) for DLL in the PEB's load order list ({:#x}) with path {}".format( - vads[dll_base].protection, dll_base, dlls[dll_base].path - ) + yield f"Unexpected protection ({vads[dll_base].protection}) for DLL in the PEB's load order list ({dll_base:#x}) with path {dlls[dll_base].path}" def _generator(self, procs): checks = [ diff --git a/volatility3/framework/plugins/windows/iat.py b/volatility3/framework/plugins/windows/iat.py index d2fdc0ad8..3bf7f57ed 100644 --- a/volatility3/framework/plugins/windows/iat.py +++ b/volatility3/framework/plugins/windows/iat.py @@ -1,7 +1,9 @@ # This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 -import logging, io, pefile +import logging +import io +import pefile from volatility3.framework.symbols import intermed from volatility3.framework import renderers, interfaces, exceptions, constants from volatility3.framework.configuration import requirements @@ -119,9 +121,7 @@ class IAT(interfaces.plugins.PluginInterface): ) except exceptions.InvalidAddressException as excp: vollog.debug( - "Process {}: invalid address {} in layer {}".format( - proc_id, excp.invalid_address, excp.layer_name - ) + f"Process {proc_id}: invalid address {excp.invalid_address} in layer {excp.layer_name}" ) continue diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 1df090b5b..510719352 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -106,9 +106,7 @@ class Malfind(interfaces.plugins.PluginInterface): proc_layer_name = proc.add_process_layer() except exceptions.InvalidAddressException as excp: vollog.debug( - "Process {}: invalid address {} in layer {}".format( - proc_id, excp.invalid_address, excp.layer_name - ) + f"Process {proc_id}: invalid address {excp.invalid_address} in layer {excp.layer_name}" ) return None @@ -211,9 +209,7 @@ class Malfind(interfaces.plugins.PluginInterface): file_output = file_handle.preferred_filename except (exceptions.InvalidAddressException, OverflowError) as excp: vollog.debug( - "Unable to dump PE with pid {0}.{1:#x}: {2}".format( - proc.UniqueProcessId, vad.get_start(), excp - ) + f"Unable to dump PE with pid {proc.UniqueProcessId}.{vad.get_start():#x}: {excp}" ) yield ( diff --git a/volatility3/framework/plugins/windows/memmap.py b/volatility3/framework/plugins/windows/memmap.py index b5c9a211e..62ab3c510 100644 --- a/volatility3/framework/plugins/windows/memmap.py +++ b/volatility3/framework/plugins/windows/memmap.py @@ -53,9 +53,7 @@ class Memmap(interfaces.plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] except exceptions.InvalidAddressException as excp: vollog.debug( - "Process {}: invalid address {} in layer {}".format( - pid, excp.invalid_address, excp.layer_name - ) + f"Process {pid}: invalid address {excp.invalid_address} in layer {excp.layer_name}" ) continue @@ -80,11 +78,7 @@ class Memmap(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: file_output = "Error outputting to file" vollog.debug( - "Unable to write {}'s address {} to {}".format( - proc_layer_name, - offset, - file_handle.preferred_filename, - ) + f"Unable to write {proc_layer_name}'s address {offset} to {file_handle.preferred_filename}" ) yield ( diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index ba45834d5..2e8dc1b0e 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -177,9 +177,7 @@ class Modules(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: vollog.log( constants.LOGLEVEL_VVV, - "Process {} does not have a valid Session or a layer could not be constructed for it".format( - proc_id - ), + f"Process {proc_id} does not have a valid Session or a layer could not be constructed for it", ) continue diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index 66a24da5a..77bd22ab9 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -169,12 +169,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) vollog.debug( - "Determined OS Version: {}.{} {}.{}".format( - kuser.NtMajorVersion, - kuser.NtMinorVersion, - vers.MajorVersion, - vers.MinorVersion, - ) + f"Determined OS Version: {kuser.NtMajorVersion}.{kuser.NtMinorVersion} {vers.MajorVersion}.{vers.MinorVersion}" ) if nt_major_version == 10 and arch == "x64": @@ -272,9 +267,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): if ver: tcpip_mod_version = ver[3] vollog.debug( - "Determined tcpip.sys's FileVersion: {}".format( - tcpip_mod_version - ) + f"Determined tcpip.sys's FileVersion: {tcpip_mod_version}" ) else: vollog.debug("Could not determine tcpip.sys's FileVersion.") @@ -316,12 +309,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): else: raise NotImplementedError( - "This version of Windows is not supported: {}.{} {}.{}!".format( - nt_major_version, - nt_minor_version, - vers.MajorVersion, - vers_minor_version, - ) + f"This version of Windows is not supported: {nt_major_version}.{nt_minor_version} {vers.MajorVersion}.{vers_minor_version}!" ) vollog.debug(f"Determined symbol filename: {filename}") @@ -510,17 +498,8 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): for i in row_data ] description = ( - "Network connection: Process {} {} Local Address {}:{} " - "Remote Address {}:{} State {} Protocol {} ".format( - row_data[7], - row_data[8], - row_data[2], - row_data[3], - row_data[4], - row_data[5], - row_data[6], - row_data[1], - ) + f"Network connection: Process {row_data[7]} {row_data[8]} Local Address {row_data[2]}:{row_data[3]} " + f"Remote Address {row_data[4]}:{row_data[5]} State {row_data[6]} Protocol {row_data[1]} " ) yield (description, timeliner.TimeLinerType.CREATED, row_data[9]) diff --git a/volatility3/framework/plugins/windows/netstat.py b/volatility3/framework/plugins/windows/netstat.py index 0908767fc..c774e23a3 100644 --- a/volatility3/framework/plugins/windows/netstat.py +++ b/volatility3/framework/plugins/windows/netstat.py @@ -311,9 +311,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): part_table.Partitions.count = part_count vollog.debug( - "Found TCP connection PartitionTable @ 0x{:x} (partition count: {})".format( - part_table_addr, part_count - ) + f"Found TCP connection PartitionTable @ 0x{part_table_addr:x} (partition count: {part_count})" ) entry_offset = context.symbol_space.get_type(obj_name).relative_child_offset( "ListEntry" @@ -624,9 +622,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): proto = "TCPv6" else: vollog.debug( - "TCP Endpoint @ 0x{:2x} has unknown address family 0x{:x}".format( - netw_obj.vol.offset, netw_obj.get_address_family() - ) + f"TCP Endpoint @ 0x{netw_obj.vol.offset:2x} has unknown address family 0x{netw_obj.get_address_family():x}" ) proto = "TCPv?" diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 955098d6b..002577241 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -645,7 +645,7 @@ class PESymbols(interfaces.plugins.PluginInterface): and wanted_addresses_identifier not in wanted_symbols ): vollog.warning( - f"Invalid `wanted_symbols` sent to `find_symbols`. addresses and names keys both misssing." + "Invalid `wanted_symbols` sent to `find_symbols`. addresses and names keys both misssing." ) return diff --git a/volatility3/framework/plugins/windows/pedump.py b/volatility3/framework/plugins/windows/pedump.py index 5b4bb07d7..d2a8a7370 100644 --- a/volatility3/framework/plugins/windows/pedump.py +++ b/volatility3/framework/plugins/windows/pedump.py @@ -64,27 +64,30 @@ class PEDump(interfaces.plugins.PluginInterface): """ Returns the filename of the dump file or None """ - with open_method(file_name) as file_handle: - try: - dos_header = context.object( - pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", - offset=base, - layer_name=layer_name, - ) + try: + file_handle = open_method(file_name) - for offset, data in dos_header.reconstruct(): - file_handle.seek(offset) - file_handle.write(data) - except ( - IOError, - exceptions.VolatilityException, - OverflowError, - ValueError, - ) as excp: - vollog.debug(f"Unable to dump PE file at offset {base}: {excp}") - return None + dos_header = context.object( + pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", + offset=base, + layer_name=layer_name, + ) - return file_handle.preferred_filename + for offset, data in dos_header.reconstruct(): + file_handle.seek(offset) + file_handle.write(data) + except ( + OSError, + exceptions.VolatilityException, + OverflowError, + ValueError, + ) as excp: + vollog.debug(f"Unable to dump PE file at offset {base}: {excp}") + return None + finally: + file_handle.close() + + return file_handle.preferred_filename @classmethod def dump_ldr_entry( @@ -116,12 +119,7 @@ class PEDump(interfaces.plugins.PluginInterface): if layer_name is None: layer_name = ldr_entry.vol.layer_name - file_name = "{}{}.{:#x}.{:#x}.dmp".format( - prefix, - ntpath.basename(name), - ldr_entry.vol.offset, - ldr_entry.DllBase, - ) + file_name = f"{prefix}{ntpath.basename(name)}.{ldr_entry.vol.offset:#x}.{ldr_entry.DllBase:#x}.dmp" return cls.dump_pe( context, @@ -143,11 +141,7 @@ class PEDump(interfaces.plugins.PluginInterface): pid: int, base: int, ) -> Optional[str]: - file_name = "PE.{:#x}.{:d}.{:#x}.dmp".format( - proc_offset, - pid, - base, - ) + file_name = f"PE.{proc_offset:#x}.{pid:d}.{base:#x}.dmp" return PEDump.dump_pe( context, pe_table_name, layer_name, open_method, file_name, base diff --git a/volatility3/framework/plugins/windows/privileges.py b/volatility3/framework/plugins/windows/privileges.py index 0370dfc92..7b4d00205 100644 --- a/volatility3/framework/plugins/windows/privileges.py +++ b/volatility3/framework/plugins/windows/privileges.py @@ -39,7 +39,7 @@ class Privs(interfaces.plugins.PluginInterface): ) # Get service sids dictionary (we need only the service sids). - with open(sids_json_file_name, "r") as file_handle: + with open(sids_json_file_name) as file_handle: temp_json = json.load(file_handle)["privileges"] self.privilege_info = { int(priv_num): temp_json[priv_num] for priv_num in temp_json diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 6c845bf81..053ec20d5 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -14,7 +14,6 @@ from volatility3.plugins.windows import ( info, pslist, psscan, - sessions, thrdscan, ) diff --git a/volatility3/framework/plugins/windows/registry/hivelist.py b/volatility3/framework/plugins/windows/registry/hivelist.py index ddc9c1855..91a99a9fb 100644 --- a/volatility3/framework/plugins/windows/registry/hivelist.py +++ b/volatility3/framework/plugins/windows/registry/hivelist.py @@ -232,10 +232,8 @@ class HiveList(interfaces.plugins.PluginInterface): for hive in hg: if hive.vol.offset in seen: vollog.debug( - "Hivelist found an already seen offset {} while " - "traversing forwards, this should not occur".format( - hex(hive.vol.offset) - ) + f"Hivelist found an already seen offset {hex(hive.vol.offset)} while " + "traversing forwards, this should not occur" ) break seen.add(hive.vol.offset) @@ -249,18 +247,14 @@ class HiveList(interfaces.plugins.PluginInterface): forward_invalid = hg.invalid if forward_invalid: vollog.debug( - "Hivelist failed traversing the list forwards at {}, traversing backwards".format( - hex(forward_invalid) - ) + f"Hivelist failed traversing the list forwards at {hex(forward_invalid)}, traversing backwards" ) hg = HiveGenerator(cmhive, forward=False) for hive in hg: if hive.vol.offset in seen: vollog.debug( - "Hivelist found an already seen offset {} while " - "traversing backwards, list walking met in the middle".format( - hex(hive.vol.offset) - ) + f"Hivelist found an already seen offset {hex(hive.vol.offset)} while " + "traversing backwards, list walking met in the middle" ) break seen.add(hive.vol.offset) @@ -281,10 +275,8 @@ class HiveList(interfaces.plugins.PluginInterface): # by walking the list, so revert to scanning, and walk the list forwards and backwards from each # found hive vollog.debug( - "Hivelist failed traversing backwards at {}, a different " - "location from forwards, revert to scanning".format( - hex(backward_invalid) - ) + f"Hivelist failed traversing backwards at {hex(backward_invalid)}, a different " + "location from forwards, revert to scanning" ) for hive in hivescan.HiveScan.scan_hives( context, layer_name, symbol_table @@ -320,9 +312,7 @@ class HiveList(interfaces.plugins.PluginInterface): yield linked_hive except exceptions.InvalidAddressException: vollog.debug( - "InvalidAddressException when traversing hive {} found from scan, skipping".format( - hex(hive.vol.offset) - ) + f"InvalidAddressException when traversing hive {hex(hive.vol.offset)} found from scan, skipping" ) def run(self) -> renderers.TreeGrid: diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index bd832b20c..932ee9d6f 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -39,7 +39,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac os.path.join(os.path.dirname(__file__), "userassist.json"), "rb" ) as fp: self._folder_guids = json.load(fp) - except IOError: + except OSError: vollog.error("Usersassist data file not found") @classmethod @@ -308,9 +308,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac ) except exceptions.InvalidAddressException as excp: vollog.debug( - "Invalid address identified in lower layer {}: {}".format( - excp.layer_name, excp.invalid_address - ) + f"Invalid address identified in lower layer {excp.layer_name}: {excp.invalid_address}" ) except KeyError: vollog.debug( diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index d321c2cc0..f5d7e1b3a 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -172,9 +172,7 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: vollog.debug( - "Unable to construct cSystems array at given offset: {:x}".format( - array_start - ) + f"Unable to construct cSystems array at given offset: {array_start:x}" ) array = None @@ -291,9 +289,7 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException as excp: vollog.debug( - "Process {}: invalid address {} in layer {}".format( - proc_id, excp.invalid_address, excp.layer_name - ) + f"Process {proc_id}: invalid address {excp.invalid_address} in layer {excp.layer_name}" ) return None, None diff --git a/volatility3/framework/plugins/windows/strings.py b/volatility3/framework/plugins/windows/strings.py index 0eaa65884..b8dea0cdd 100644 --- a/volatility3/framework/plugins/windows/strings.py +++ b/volatility3/framework/plugins/windows/strings.py @@ -170,9 +170,7 @@ class Strings(interfaces.plugins.PluginInterface): proc_layer_name = process.add_process_layer() except exceptions.InvalidAddressException as excp: vollog.debug( - "Process {}: invalid address {} in layer {}".format( - proc_id, excp.invalid_address, excp.layer_name - ) + f"Process {proc_id}: invalid address {excp.invalid_address} in layer {excp.layer_name}" ) continue diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index a59581063..7c26a09bd 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -85,9 +85,7 @@ class SvcList(svcscan.SvcScan): layer_name = proc.add_process_layer() except exceptions.InvalidAddressException: vollog.warning( - "Unable to access memory of services.exe running with PID: {}".format( - proc.UniqueProcessId - ) + f"Unable to access memory of services.exe running with PID: {proc.UniqueProcessId}" ) continue diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index ca390561f..bd477ba27 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -26,13 +26,9 @@ from volatility3.plugins.windows.registry import hivelist vollog = logging.getLogger(__name__) -ServiceBinaryInfo = NamedTuple( - "ServiceBinaryInfo", - [ - ("dll", Union[str, interfaces.renderers.BaseAbsentValue]), - ("binary", Union[str, interfaces.renderers.BaseAbsentValue]), - ], -) +class ServiceBinaryInfo(NamedTuple): + dll: Union[str, interfaces.renderers.BaseAbsentValue] + binary: Union[str, interfaces.renderers.BaseAbsentValue] class SvcScan(interfaces.plugins.PluginInterface): @@ -306,9 +302,7 @@ class SvcScan(interfaces.plugins.PluginInterface): proc_layer_name = task.add_process_layer() except exceptions.InvalidAddressException as excp: vollog.debug( - "Process {}: invalid address {} in layer {}".format( - proc_id, excp.invalid_address, excp.layer_name - ) + f"Process {proc_id}: invalid address {excp.invalid_address} in layer {excp.layer_name}" ) continue diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index b812a15ff..c0963e754 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -82,7 +82,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) ethread.get_exit_time() ) # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object except exceptions.InvalidAddressException: - vollog.debug("Thread invalid address {:#x}".format(ethread.vol.offset)) + vollog.debug(f"Thread invalid address {ethread.vol.offset:#x}") return None return ( diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index 98a3169a5..a34818fc1 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -3,7 +3,7 @@ # import logging -from typing import Callable, Iterable, List, Generator +from typing import Iterable, List, Generator from volatility3.framework import interfaces, constants from volatility3.framework.configuration import requirements diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py index d49c28784..54bca1a1e 100644 --- a/volatility3/framework/plugins/windows/timers.py +++ b/volatility3/framework/plugins/windows/timers.py @@ -141,7 +141,7 @@ class Timers(interfaces.plugins.PluginInterface): if dpc.DeferredRoutine == 0: continue deferred_routine = dpc.DeferredRoutine - except Exception as e: + except Exception: continue module_symbols = list( diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index 1a1e59940..5b21225c8 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -191,7 +191,7 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): # gather processes on small_idx since these are the malware infected ones for pid, pname in cb[small_idx]: - ps.append("{:d}:{}".format(pid, pname)) + ps.append(f"{pid:d}:{pname}") proc_names = ", ".join(ps) diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 2c6ed4daf..0c4a8aaca 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -169,9 +169,7 @@ class VadInfo(interfaces.plugins.PluginInterface): proc_layer_name = proc.add_process_layer() except exceptions.InvalidAddressException as excp: vollog.debug( - "Process {}: invalid address {} in layer {}".format( - proc_id, excp.invalid_address, excp.layer_name - ) + f"Process {proc_id}: invalid address {excp.invalid_address} in layer {excp.layer_name}" ) return None diff --git a/volatility3/framework/plugins/windows/verinfo.py b/volatility3/framework/plugins/windows/verinfo.py index 4a06ed0c9..4930789d2 100644 --- a/volatility3/framework/plugins/windows/verinfo.py +++ b/volatility3/framework/plugins/windows/verinfo.py @@ -212,9 +212,7 @@ class VerInfo(interfaces.plugins.PluginInterface): proc_layer_name = proc.add_process_layer() except exceptions.InvalidAddressException as excp: vollog.debug( - "Process {}: invalid address {} in layer {}".format( - proc_id, excp.invalid_address, excp.layer_name - ) + f"Process {proc_id}: invalid address {excp.invalid_address} in layer {excp.layer_name}" ) continue diff --git a/volatility3/framework/renderers/__init__.py b/volatility3/framework/renderers/__init__.py index 43bb59a21..02805acc2 100644 --- a/volatility3/framework/renderers/__init__.py +++ b/volatility3/framework/renderers/__init__.py @@ -88,9 +88,7 @@ class TreeNode(interfaces.renderers.TreeNode): val = values[index] if not isinstance(val, (column.type, interfaces.renderers.BaseAbsentValue)): raise TypeError( - "Values item with index {} is the wrong type for column {} (got {} but expected {})".format( - index, column.name, type(val), column.type - ) + f"Values item with index {index} is the wrong type for column {column.name} (got {type(val)} but expected {column.type})" ) # TODO: Consider how to deal with timezone naive/aware datetimes (and alert plugin uses to be precise) # if isinstance(val, datetime.datetime): @@ -189,9 +187,7 @@ class TreeGrid(interfaces.renderers.TreeGrid): is_simple_type = issubclass(column_type, self.base_types) if not is_simple_type: raise TypeError( - "Column {}'s type is not a simple type: {}".format( - name, column_type.__class__.__name__ - ) + f"Column {name}'s type is not a simple type: {column_type.__class__.__name__}" ) converted_columns.append(interfaces.renderers.Column(name, column_type)) self.RowStructure = RowStructureConstructor( diff --git a/volatility3/framework/symbols/intermed.py b/volatility3/framework/symbols/intermed.py index 5f558bf12..8a28d732f 100644 --- a/volatility3/framework/symbols/intermed.py +++ b/volatility3/framework/symbols/intermed.py @@ -171,7 +171,7 @@ class IntermediateSymbolTable(interfaces.symbols.SymbolTableInterface): (indicating that only additive changes have been made) than the consumer (in this case, the file reader). """ - major, minor, patch = [int(x) for x in version.split(".")] + major, minor, patch = (int(x) for x in version.split(".")) supported_versions = [x for x in versions if x[0] == major and x[1] >= minor] if not supported_versions: raise ValueError( diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 3289775b6..537b729ad 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -798,7 +798,7 @@ class RadixTree(IDStorage): return True -class PageCache(object): +class PageCache: """Linux Page Cache abstraction""" def __init__( diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 829622154..e9fd09eaa 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1469,7 +1469,7 @@ class mount(objects.StructType): def next_peer(self): table_name = self.vol.type_name.split(constants.BANG)[0] - mount_struct = "{0}{1}mount".format(table_name, constants.BANG) + mount_struct = f"{table_name}{constants.BANG}mount" offset = self._context.symbol_space.get_type( mount_struct ).relative_child_offset("mnt_share") @@ -2487,7 +2487,7 @@ class address_space(objects.StructType): class page(objects.StructType): @property - @functools.lru_cache() + @functools.lru_cache def pageflags_enum(self) -> Dict: """Returns 'pageflags' enumeration key/values diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 793e506c3..07ab5f5a8 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -1081,7 +1081,7 @@ class KTIMER(objects.StructType): return self.Header.Type in self.VALID_TYPES def get_due_time(self): - return "{0:#010x}:{1:#010x}".format(self.DueTime.HighPart, self.DueTime.LowPart) + return f"{self.DueTime.HighPart:#010x}:{self.DueTime.LowPart:#010x}" def get_dpc(self): """Return Dpc, and if Windows 7 or later, decode it""" @@ -1388,7 +1388,7 @@ class SHARED_CACHE_MAP(objects.StructType): ) # Iterate through the entries - for counter in range(0, self.VACB_ARRAY): + for counter in range(self.VACB_ARRAY): # Check if the VACB entry is in use if not vacb_array[counter]: continue @@ -1472,7 +1472,7 @@ class SHARED_CACHE_MAP(objects.StructType): if not section_size > self.VACB_SIZE_OF_FIRST_LEVEL: array_head = vacb_obj - for counter in range(0, full_blocks): + for counter in range(full_blocks): vacb_entry = self._context.object( symbol_table_name + constants.BANG + "pointer", layer_name=self.vol.layer_name, @@ -1531,7 +1531,7 @@ class SHARED_CACHE_MAP(objects.StructType): # Walk the array and if any entry points to the shared cache map object then we extract it. # Otherwise, if it is non-zero, then traverse to the next level. - for counter in range(0, self.VACB_ARRAY): + for counter in range(self.VACB_ARRAY): if not vacb_array[counter]: continue diff --git a/volatility3/framework/symbols/windows/extensions/consoles.py b/volatility3/framework/symbols/windows/extensions/consoles.py index 2312149c7..cf6f43a9b 100644 --- a/volatility3/framework/symbols/windows/extensions/consoles.py +++ b/volatility3/framework/symbols/windows/extensions/consoles.py @@ -73,7 +73,7 @@ class ROW(objects.StructType): ) for i in range(0, len(char_row), 3) ) - except Exception as e: + except Exception: line = "" if truncate: diff --git a/volatility3/framework/symbols/windows/extensions/mbr.py b/volatility3/framework/symbols/windows/extensions/mbr.py index afdc73a17..078c4beb0 100644 --- a/volatility3/framework/symbols/windows/extensions/mbr.py +++ b/volatility3/framework/symbols/windows/extensions/mbr.py @@ -8,12 +8,7 @@ from volatility3.framework import objects class PARTITION_TABLE(objects.StructType): def get_disk_signature(self) -> str: """Get Disk Signature (GUID).""" - return "{0:02x}-{1:02x}-{2:02x}-{3:02x}".format( - self.DiskSignature[0], - self.DiskSignature[1], - self.DiskSignature[2], - self.DiskSignature[3], - ) + return f"{self.DiskSignature[0]:02x}-{self.DiskSignature[1]:02x}-{self.DiskSignature[2]:02x}-{self.DiskSignature[3]:02x}" class PARTITION_ENTRY(objects.StructType): diff --git a/volatility3/framework/symbols/windows/extensions/network.py b/volatility3/framework/symbols/windows/extensions/network.py index 9b7573c2e..00c24f176 100644 --- a/volatility3/framework/symbols/windows/extensions/network.py +++ b/volatility3/framework/symbols/windows/extensions/network.py @@ -22,7 +22,7 @@ def inet_ntop(address_family: int, packed_ip: Union[List[int], Array]) -> str: raise RuntimeError( "This version of python does not have socket.inet_ntop, please upgrade" ) - raise socket.error("[Errno 97] Address family not supported by protocol") + raise OSError("[Errno 97] Address family not supported by protocol") # Python's socket.AF_INET6 is 0x1e but Microsoft defines it @@ -167,11 +167,9 @@ class _TCP_LISTENER(objects.StructType): def is_valid(self): try: - if not self.get_address_family() in (AF_INET, AF_INET6): + if self.get_address_family() not in (AF_INET, AF_INET6): vollog.debug( - "netw obj 0x{:x} invalid due to invalid address_family {}".format( - self.vol.offset, self.get_address_family() - ) + f"netw obj 0x{self.vol.offset:x} invalid due to invalid address_family {self.get_address_family()}" ) return False diff --git a/volatility3/framework/symbols/windows/extensions/pe.py b/volatility3/framework/symbols/windows/extensions/pe.py index 3f34fc3dd..2c7400f25 100644 --- a/volatility3/framework/symbols/windows/extensions/pe.py +++ b/volatility3/framework/symbols/windows/extensions/pe.py @@ -101,9 +101,9 @@ class IMAGE_DOS_HEADER(objects.StructType): ) except OverflowError: vollog.warning( - "Volatility was unable to fix the image base for the PE file at base address {:#x}. " + f"Volatility was unable to fix the image base for the PE file at base address {self.vol.offset:#x}. " "This will cause issues with many static analysis tools if you do not inform the " - "tool of the in-memory load address.".format(self.vol.offset) + "tool of the in-memory load address." ) new_pe = raw_data diff --git a/volatility3/framework/symbols/windows/extensions/pool.py b/volatility3/framework/symbols/windows/extensions/pool.py index b761ddad8..5a7847986 100644 --- a/volatility3/framework/symbols/windows/extensions/pool.py +++ b/volatility3/framework/symbols/windows/extensions/pool.py @@ -217,7 +217,7 @@ class POOL_HEADER(objects.StructType): yield mem_object @classmethod - @functools.lru_cache() + @functools.lru_cache def _calculate_optional_header_lengths( cls, context: interfaces.context.ContextInterface, symbol_table_name: str ) -> Tuple[List[str], List[int]]: @@ -430,9 +430,7 @@ class OBJECT_HEADER(objects.StructType): if header_offset == 0: raise ValueError( - "Could not find _OBJECT_HEADER_NAME_INFO for object at {} of layer {}".format( - self.vol.offset, self.vol.layer_name - ) + f"Could not find _OBJECT_HEADER_NAME_INFO for object at {self.vol.offset} of layer {self.vol.layer_name}" ) header = ntkrnlmp.object( diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index bebfaea89..9e2f8df3b 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -196,9 +196,7 @@ class CM_KEY_NODE(objects.StructType): yield cast("CM_KEY_NODE", node) else: vollog.debug( - "Unexpected node type encountered when traversing subkeys: {}, signature: {}".format( - node.vol.type_name, signature - ) + f"Unexpected node type encountered when traversing subkeys: {node.vol.type_name}, signature: {signature}" ) if listjump: diff --git a/volatility3/framework/symbols/windows/pdbconv.py b/volatility3/framework/symbols/windows/pdbconv.py index 82ec31ccb..4feb396e7 100644 --- a/volatility3/framework/symbols/windows/pdbconv.py +++ b/volatility3/framework/symbols/windows/pdbconv.py @@ -263,9 +263,7 @@ class PdbReader: ) if header.index_max < header.index_min: raise ValueError( - "Maximum {} index is smaller than minimum TPI index, found: {} < {} ".format( - stream_name, header.index_max, header.index_min - ) + f"Maximum {stream_name} index is smaller than minimum TPI index, found: {header.index_max} < {header.index_min} " ) # Reset the state info_references: Dict[str, int] = {} @@ -976,7 +974,7 @@ class PdbRetreiver: if __name__ == "__main__": import argparse - class PrintedProgress(object): + class PrintedProgress: """A progress handler that prints the progress value and the description onto the command line.""" diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index 3816312cd..1a8644fa8 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -94,7 +94,7 @@ class PDBUtility(interfaces.configuration.VersionableInterface): if not requirements.VersionRequirement.matches_required( (1, 0, 0), symbol_cache.SqliteCache.version ): - vollog.debug(f"Required version of SQLiteCache not found") + vollog.debug("Required version of SQLiteCache not found") return None identifiers_path = os.path.join( @@ -291,9 +291,7 @@ class PDBUtility(interfaces.configuration.VersionableInterface): break except PermissionError: vollog.warning( - "Cannot write necessary symbol file, please check permissions on {}".format( - potential_output_filename - ) + f"Cannot write necessary symbol file, please check permissions on {potential_output_filename}" ) continue finally: diff --git a/volatility3/plugins/windows/registry/certificates.py b/volatility3/plugins/windows/registry/certificates.py index 5ef840f32..8587b3719 100644 --- a/volatility3/plugins/windows/registry/certificates.py +++ b/volatility3/plugins/windows/registry/certificates.py @@ -60,7 +60,7 @@ class Certificates(interfaces.plugins.PluginInterface): open_method: Type[interfaces.plugins.FileHandlerInterface], ) -> Optional[interfaces.plugins.FileHandlerInterface]: try: - dump_name = "{}-{}-{}.crt".format(hive_offset, reg_section, key_hash) + dump_name = f"{hive_offset}-{reg_section}-{key_hash}.crt" file_handle = open_method(dump_name) file_handle.write(certificate_data) return file_handle diff --git a/volatility3/plugins/windows/statistics.py b/volatility3/plugins/windows/statistics.py index 7f56b75f8..e7557dc0c 100644 --- a/volatility3/plugins/windows/statistics.py +++ b/volatility3/plugins/windows/statistics.py @@ -64,9 +64,7 @@ class Statistics(plugins.PluginInterface): other_invalid += 1 page_size = expected_page_size vollog.debug( - "A non-page lookup invalid address exception occurred at: {} in layer {}".format( - hex(excp.invalid_address), excp.layer_name - ) + f"A non-page lookup invalid address exception occurred at: {hex(excp.invalid_address)} in layer {excp.layer_name}" ) page_addr += page_size diff --git a/volatility3/schemas/__init__.py b/volatility3/schemas/__init__.py index 3ca00e5dc..90cfaba48 100644 --- a/volatility3/schemas/__init__.py +++ b/volatility3/schemas/__init__.py @@ -20,7 +20,7 @@ def load_cached_validations() -> Set[str]: to revalidate them.""" validhashes: Set = set() if os.path.exists(cached_validation_filepath): - with open(cached_validation_filepath, "r") as f: + with open(cached_validation_filepath) as f: validhashes.update(json.load(f)) return validhashes @@ -46,7 +46,7 @@ def validate(input: Dict[str, Any], use_cache: bool = True) -> bool: if not os.path.exists(schema_path): vollog.debug(f"Schema for format not found: {schema_path}") return False - with open(schema_path, "r") as s: + with open(schema_path) as s: schema = json.load(s) return valid(input, schema, use_cache) @@ -66,7 +66,7 @@ def create_json_hash( if not os.path.exists(schema_path): vollog.debug(f"Schema for format not found: {schema_path}") return None - with open(schema_path, "r") as s: + with open(schema_path) as s: schema = json.load(s) return hashlib.sha1( bytes(json.dumps((input, schema), sort_keys=True), "utf-8") From a63ea662f46bcbcf156df1d4bd69257c4ac0a0b3 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 17:05:34 +0100 Subject: [PATCH 0989/2186] apply unsafe fixes (`ruff check --unsafe-fixes --fix`) --- test/plugins/windows/test_scheduled_tasks.py | 3 +- volatility3/framework/__init__.py | 9 +++-- volatility3/framework/plugins/linux/lsmod.py | 3 +- volatility3/framework/plugins/linux/proc.py | 4 ++- .../framework/plugins/linux/sockstat.py | 2 +- .../framework/plugins/mac/check_sysctl.py | 5 ++- volatility3/framework/plugins/mac/kevents.py | 3 +- volatility3/framework/plugins/mac/mount.py | 3 +- .../framework/plugins/mac/proc_maps.py | 4 ++- volatility3/framework/plugins/mac/pslist.py | 4 ++- volatility3/framework/plugins/timeliner.py | 3 +- .../framework/plugins/windows/handles.py | 6 ++-- .../framework/plugins/windows/modules.py | 3 +- .../framework/plugins/windows/netstat.py | 5 ++- .../framework/plugins/windows/pslist.py | 35 +++++++++++++------ .../framework/plugins/windows/psscan.py | 35 ++++++++++++------- .../framework/plugins/windows/shimcachemem.py | 7 ++-- .../framework/plugins/windows/svclist.py | 5 ++- .../framework/plugins/windows/threads.py | 3 +- .../plugins/windows/unloadedmodules.py | 3 +- .../framework/plugins/windows/virtmap.py | 3 +- .../framework/renderers/format_hints.py | 30 +++++++++------- .../framework/symbols/linux/__init__.py | 6 ++-- .../symbols/linux/extensions/__init__.py | 12 +++---- volatility3/framework/symbols/mac/__init__.py | 15 ++++---- .../symbols/windows/extensions/__init__.py | 15 ++++---- .../symbols/windows/extensions/consoles.py | 23 +++++------- .../framework/symbols/windows/pdbconv.py | 5 ++- 28 files changed, 129 insertions(+), 125 deletions(-) diff --git a/test/plugins/windows/test_scheduled_tasks.py b/test/plugins/windows/test_scheduled_tasks.py index 8f771b323..fdb19fbae 100644 --- a/test/plugins/windows/test_scheduled_tasks.py +++ b/test/plugins/windows/test_scheduled_tasks.py @@ -84,8 +84,7 @@ class TestActionsDecoding(unittest.TestCase): self.assertEqual(actions[0].action_type, scheduled_tasks.ActionType.Exe) except Exception: self.fail( - "ActionDecoder.decode should not raise exception:\n%s" - % traceback.format_exc() + f"ActionDecoder.decode should not raise exception:\n{traceback.format_exc()}" ) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index e0f7c778a..244b353a2 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -97,8 +97,7 @@ def class_subclasses(cls: Type[T]) -> Generator[Type[T], None, None]: # The typing system is not clever enough to realize that clazz has a hidden attr after the hasattr check if not hasattr(clazz, "hidden") or not clazz.hidden: # type: ignore yield clazz - for return_value in class_subclasses(clazz): - yield return_value + yield from class_subclasses(clazz) def import_files(base_module, ignore_errors: bool = False) -> List[str]: @@ -159,9 +158,9 @@ def import_files(base_module, ignore_errors: bool = False) -> List[str]: def _filter_files(filename: str): """Ensures that a filename traversed is an importable python file""" - return ( - filename.endswith(".py") or filename.endswith(".pyc") - ) and not filename.startswith("__") + return (filename.endswith((".py", ".pyc"))) and not filename.startswith( + "__" + ) def import_file(module: str, path: str, ignore_errors: bool = False) -> List[str]: diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index a65b0d00b..49e990e93 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -54,8 +54,7 @@ class Lsmod(plugins.PluginInterface): table_name = modules.vol.type_name.split(constants.BANG)[0] - for module in modules.to_list(table_name + constants.BANG + "module", "list"): - yield module + yield from modules.to_list(table_name + constants.BANG + "module", "list") def _generator(self): try: diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index 065f239a9..893eea71e 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -163,7 +163,9 @@ class Maps(plugins.PluginInterface): address_list = self.config.get("address", None) if not address_list: # do not filter as no address_list was supplied - vma_filter_func = lambda _: True + def vma_filter_func(_): + return True + else: # filter for any vm_start that matches the supplied address config def vma_filter_function(x: interfaces.objects.ObjectInterface) -> bool: diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index e5cf48d16..aee0b1e2e 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -372,7 +372,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): bt_sock = sock.cast("bt_sock") def bt_addr(addr): - return ":".join(reversed(["%02x" % x for x in addr.b])) + return ":".join(reversed([f"{x:02x}" for x in addr.b])) src_addr = src_port = dst_addr = dst_port = None bt_protocol = bt_sock.get_protocol() diff --git a/volatility3/framework/plugins/mac/check_sysctl.py b/volatility3/framework/plugins/mac/check_sysctl.py index 4f64eaed8..e8218962d 100644 --- a/volatility3/framework/plugins/mac/check_sysctl.py +++ b/volatility3/framework/plugins/mac/check_sysctl.py @@ -93,10 +93,9 @@ class Check_sysctl(plugins.PluginInterface): val = self._parse_global_variable_sysctls(kernel, name) elif ctltype == "CTLTYPE_NODE": if sysctl.oid_handler == 0: - for info in self._process_sysctl_list( + yield from self._process_sysctl_list( kernel, sysctl.oid_arg1, recursive=1 - ): - yield info + ) val = "Node" diff --git a/volatility3/framework/plugins/mac/kevents.py b/volatility3/framework/plugins/mac/kevents.py index 2a8692b77..41fde31ca 100644 --- a/volatility3/framework/plugins/mac/kevents.py +++ b/volatility3/framework/plugins/mac/kevents.py @@ -119,8 +119,7 @@ class Kevents(interfaces.plugins.PluginInterface): return None for klist in klist_array: - for kn in mac.MacUtilities.walk_slist(klist, "kn_link"): - yield kn + yield from mac.MacUtilities.walk_slist(klist, "kn_link") @classmethod def _get_task_kevents(cls, kernel, task): diff --git a/volatility3/framework/plugins/mac/mount.py b/volatility3/framework/plugins/mac/mount.py index ff654e1a7..1a1e33571 100644 --- a/volatility3/framework/plugins/mac/mount.py +++ b/volatility3/framework/plugins/mac/mount.py @@ -49,8 +49,7 @@ class Mount(plugins.PluginInterface): list_head = kernel.object_from_symbol(symbol_name="mountlist") - for mount in mac.MacUtilities.walk_tailq(list_head, "mnt_list"): - yield mount + yield from mac.MacUtilities.walk_tailq(list_head, "mnt_list") def _generator(self): for mount in self.list_mounts(self.context, self.config["kernel"]): diff --git a/volatility3/framework/plugins/mac/proc_maps.py b/volatility3/framework/plugins/mac/proc_maps.py index 5c002e472..bd905615d 100644 --- a/volatility3/framework/plugins/mac/proc_maps.py +++ b/volatility3/framework/plugins/mac/proc_maps.py @@ -152,7 +152,9 @@ class Maps(interfaces.plugins.PluginInterface): address_list = self.config.get("address", None) if not address_list: # do not filter as no address_list was supplied - vma_filter_func = lambda _: True + def vma_filter_func(_): + return True + else: # filter for any vm_start that matches the supplied address config def vma_filter_function(task: interfaces.objects.ObjectInterface) -> bool: diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index 9b570f3f9..74d044ba9 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -83,7 +83,9 @@ class PsList(interfaces.plugins.PluginInterface): @classmethod def create_pid_filter(cls, pid_list: List[int] = None) -> Callable[[int], bool]: - filter_func = lambda _: False + def filter_func(_): + return False + # FIXME: mypy #4973 or #2608 pid_list = pid_list or [] filter_list = [x for x in pid_list if x is not None] diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index ba729f898..4e483922b 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -204,8 +204,7 @@ class Timeliner(interfaces.plugins.PluginInterface): ) vollog.log(logging.DEBUG, traceback.format_exc()) - for data_item in sorted(data, key=self._sort_function): - yield data_item + yield from sorted(data, key=self._sort_function) # Write out a body file if necessary if self.config.get("create-bodyfile", True): diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index a3067b09f..62eceb973 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -227,8 +227,7 @@ class Handles(interfaces.plugins.PluginInterface): for entry in table: if level > 0: - for x in self._make_handle_array(entry, level - 1, depth): - yield x + yield from self._make_handle_array(entry, level - 1, depth) depth += 1 else: handle_multiplier = 4 @@ -264,8 +263,7 @@ class Handles(interfaces.plugins.PluginInterface): ) return None - for handle_table_entry in self._make_handle_array(TableCode, table_levels): - yield handle_table_entry + yield from self._make_handle_array(TableCode, table_levels) def _generator(self, procs): kernel = self.context.modules[self.config["kernel"]] diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 2e8dc1b0e..00424938f 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -248,8 +248,7 @@ class Modules(interfaces.plugins.PluginInterface): object_type=type_name, offset=list_entry.vol.offset - reloff, absolute=True ) - for mod in module.InLoadOrderLinks: - yield mod + yield from module.InLoadOrderLinks def run(self): return renderers.TreeGrid( diff --git a/volatility3/framework/plugins/windows/netstat.py b/volatility3/framework/plugins/windows/netstat.py index c774e23a3..a1521a8c6 100644 --- a/volatility3/framework/plugins/windows/netstat.py +++ b/volatility3/framework/plugins/windows/netstat.py @@ -488,14 +488,13 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """ # first, TCP endpoints by parsing the partition table - for endpoint in cls.parse_partitions( + yield from cls.parse_partitions( context, layer_name, net_symbol_table, tcpip_symbol_table, tcpip_module_offset, - ): - yield endpoint + ) # then, towards the UDP and TCP port pools # first, find their addresses diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 478cc8b1b..f262aeae6 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -126,15 +126,24 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): Returns: Filter function for passing to the `list_processes` method """ - filter_func = lambda _: False + + def filter_func(_): + return False + # FIXME: mypy #4973 or #2608 pid_list = pid_list or [] filter_list = [x for x in pid_list if x is not None] if filter_list: if exclude: - filter_func = lambda x: x.UniqueProcessId in filter_list + + def filter_func(x): + return x.UniqueProcessId in filter_list + else: - filter_func = lambda x: x.UniqueProcessId not in filter_list + + def filter_func(x): + return x.UniqueProcessId not in filter_list + return filter_func @classmethod @@ -173,20 +182,24 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): Returns: Filter function for passing to the `list_processes` method """ - filter_func = lambda _: False + + def filter_func(_): + return False + # FIXME: mypy #4973 or #2608 name_list = name_list or [] filter_list = [x for x in name_list if x is not None] if filter_list: if exclude: - filter_func = ( - lambda x: utility.array_to_string(x.ImageFileName) in filter_list - ) + + def filter_func(x): + return utility.array_to_string(x.ImageFileName) in filter_list + else: - filter_func = ( - lambda x: utility.array_to_string(x.ImageFileName) - not in filter_list - ) + + def filter_func(x): + return utility.array_to_string(x.ImageFileName) not in filter_list + return filter_func @classmethod diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index 5ce470cd8..86eb47300 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -102,29 +102,38 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): Returns: Filter function to be passed to the list of processes. """ - filter_func = lambda _: False + + def filter_func(_): + return False if offset: if physical: if exclude: - filter_func = ( - lambda proc: cls.physical_offset_from_virtual( - context, layer_name, proc + + def filter_func(proc): + return ( + cls.physical_offset_from_virtual(context, layer_name, proc) + == offset ) - == offset - ) + else: - filter_func = ( - lambda proc: cls.physical_offset_from_virtual( - context, layer_name, proc + + def filter_func(proc): + return ( + cls.physical_offset_from_virtual(context, layer_name, proc) + != offset ) - != offset - ) + else: if exclude: - filter_func = lambda proc: proc.vol.offset == offset + + def filter_func(proc): + return proc.vol.offset == offset + else: - filter_func = lambda proc: proc.vol.offset != offset + + def filter_func(proc): + return proc.vol.offset != offset return filter_func diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index 6afaf4356..3cf6d60d8 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -285,10 +285,9 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf if not shim_head: return - for shim_entry in shim_head.ListEntry.to_list( + yield from shim_head.ListEntry.to_list( shimcache_symbol_table + constants.BANG + "SHIM_CACHE_ENTRY", "ListEntry" - ): - yield shim_entry + ) @classmethod def try_get_shim_head_at_offset( @@ -333,7 +332,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf eresource_rel_off = ersrc_size + ((offset - ersrc_size) % ersrc_alignment) eresource_offset = offset - eresource_rel_off - vollog.debug("Constructing ERESOURCE at %s" % hex(eresource_offset)) + vollog.debug(f"Constructing ERESOURCE at {hex(eresource_offset)}") eresource = context.object( kernel_symbol_table + constants.BANG + "_ERESOURCE", layer_name, diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index 7c26a09bd..ea73247ce 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -103,11 +103,10 @@ class SvcList(svcscan.SvcScan): scanner=scanners.BytesScanner(needle=b"Sc27"), sections=exe_range, ): - for record in cls.enumerate_vista_or_later_header( + yield from cls.enumerate_vista_or_later_header( context, service_table_name, service_binary_dll_map, layer_name, offset, - ): - yield record + ) diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index a34818fc1..84daa8595 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -82,5 +82,4 @@ class Threads(thrdscan.ThrdScan): symbol_table=symbol_table_name, filter_func=filter_func, ): - for thread in cls.list_threads(module, proc): - yield thread + yield from cls.list_threads(module, proc) diff --git a/volatility3/framework/plugins/windows/unloadedmodules.py b/volatility3/framework/plugins/windows/unloadedmodules.py index 01e575818..077fe33cb 100644 --- a/volatility3/framework/plugins/windows/unloadedmodules.py +++ b/volatility3/framework/plugins/windows/unloadedmodules.py @@ -116,8 +116,7 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt ) unloadedmodules_array.UnloadedDrivers.count = unloaded_count - for mod in unloadedmodules_array.UnloadedDrivers: - yield mod + yield from unloadedmodules_array.UnloadedDrivers def _generator(self): kernel = self.context.modules[self.config["kernel"]] diff --git a/volatility3/framework/plugins/windows/virtmap.py b/volatility3/framework/plugins/windows/virtmap.py index 3f3f270e2..e02cca89e 100644 --- a/volatility3/framework/plugins/windows/virtmap.py +++ b/volatility3/framework/plugins/windows/virtmap.py @@ -138,8 +138,7 @@ class VirtMap(interfaces.plugins.PluginInterface): mapping = cls.determine_map(module) for entry in mapping: if "Unused" not in entry: - for value in mapping[entry]: - yield value + yield from mapping[entry] def run(self): kernel = self.context.modules[self.config["kernel"]] diff --git a/volatility3/framework/renderers/format_hints.py b/volatility3/framework/renderers/format_hints.py index 194e38099..d57c7e9f1 100644 --- a/volatility3/framework/renderers/format_hints.py +++ b/volatility3/framework/renderers/format_hints.py @@ -70,15 +70,21 @@ class MultiTypeData(bytes): ) -BinOrAbsent = lambda x: ( - Bin(x) if not isinstance(x, interfaces.renderers.BaseAbsentValue) else x -) -HexOrAbsent = lambda x: ( - Hex(x) if not isinstance(x, interfaces.renderers.BaseAbsentValue) else x -) -HexBytesOrAbsent = lambda x: ( - HexBytes(x) if not isinstance(x, interfaces.renderers.BaseAbsentValue) else x -) -MultiTypeDataOrAbsent = lambda x: ( - MultiTypeData(x) if not isinstance(x, interfaces.renderers.BaseAbsentValue) else x -) +def BinOrAbsent(x): + return Bin(x) if not isinstance(x, interfaces.renderers.BaseAbsentValue) else x + + +def HexOrAbsent(x): + return Hex(x) if not isinstance(x, interfaces.renderers.BaseAbsentValue) else x + + +def HexBytesOrAbsent(x): + return HexBytes(x) if not isinstance(x, interfaces.renderers.BaseAbsentValue) else x + + +def MultiTypeDataOrAbsent(x): + return ( + MultiTypeData(x) + if not isinstance(x, interfaces.renderers.BaseAbsentValue) + else x + ) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 537b729ad..0230a9c48 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -629,8 +629,7 @@ class IDStorage(ABC): if self.is_valid_node(nodep): yield nodep else: - for child_node in self._iter_node(nodep, height - 1): - yield child_node + yield from self._iter_node(nodep, height - 1) def get_entries(self, root: interfaces.objects.ObjectInterface) -> Iterator[int]: """Walks the tree data structure @@ -659,8 +658,7 @@ class IDStorage(ABC): if self.is_valid_node(nodep): yield nodep else: - for child_node in self._iter_node(nodep, height): - yield child_node + yield from self._iter_node(nodep, height) class XArray(IDStorage): diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index e9fd09eaa..61b7b8f73 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -200,8 +200,7 @@ class module(generic.GenericIntelProcess): count=num_sects, ) - for attr in arr: - yield attr + yield from arr def get_elf_table_name(self): elf_table_name = intermed.IntermediateSymbolTable.create( @@ -237,8 +236,7 @@ class module(generic.GenericIntelProcess): count=self.num_symtab + 1, ) if self.section_strtab: - for sym in syms: - yield sym + yield from syms def get_symbols_names_and_addresses(self) -> Iterable[Tuple[str, int]]: """Get names and addresses for each symbol of the module @@ -2665,8 +2663,7 @@ class IDR(objects.StructType): id_storage = linux.IDStorage.choose_id_storage( self._context, kernel_module_name="kernel" ) - for page_addr in id_storage.get_entries(root=self.idr_rt): - yield page_addr + yield from id_storage.get_entries(root=self.idr_rt) def get_entries(self) -> Iterable[int]: """Walks the IDR and yield a pointer associated with each element. @@ -2684,8 +2681,7 @@ class IDR(objects.StructType): # Kernels < 4.11 get_entries_func = self._old_kernel_get_entries - for page_addr in get_entries_func(): - yield page_addr + yield from get_entries_func() class rb_root(objects.StructType): diff --git a/volatility3/framework/symbols/mac/__init__.py b/volatility3/framework/symbols/mac/__init__.py index c695ca77a..ee6dd10a3 100644 --- a/volatility3/framework/symbols/mac/__init__.py +++ b/volatility3/framework/symbols/mac/__init__.py @@ -232,10 +232,9 @@ class MacUtilities(interfaces.configuration.VersionableInterface): next_member: str, max_elements: int = 4096, ) -> Iterable[interfaces.objects.ObjectInterface]: - for element in cls._walk_iterable( + yield from cls._walk_iterable( queue, "tqh_first", "tqe_next", next_member, max_elements - ): - yield element + ) @classmethod def walk_list_head( @@ -244,10 +243,9 @@ class MacUtilities(interfaces.configuration.VersionableInterface): next_member: str, max_elements: int = 4096, ) -> Iterable[interfaces.objects.ObjectInterface]: - for element in cls._walk_iterable( + yield from cls._walk_iterable( queue, "lh_first", "le_next", next_member, max_elements - ): - yield element + ) @classmethod def walk_slist( @@ -256,7 +254,6 @@ class MacUtilities(interfaces.configuration.VersionableInterface): next_member: str, max_elements: int = 4096, ) -> Iterable[interfaces.objects.ObjectInterface]: - for element in cls._walk_iterable( + yield from cls._walk_iterable( queue, "slh_first", "sle_next", next_member, max_elements - ): - yield element + ) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 07ab5f5a8..d40df6bd6 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -749,11 +749,10 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): try: peb = self.get_peb() - for entry in peb.Ldr.InLoadOrderModuleList.to_list( + yield from peb.Ldr.InLoadOrderModuleList.to_list( f"{self.get_symbol_table_name()}{constants.BANG}_LDR_DATA_TABLE_ENTRY", "InLoadOrderLinks", - ): - yield entry + ) except exceptions.InvalidAddressException: return None @@ -762,11 +761,10 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): try: peb = self.get_peb() - for entry in peb.Ldr.InInitializationOrderModuleList.to_list( + yield from peb.Ldr.InInitializationOrderModuleList.to_list( f"{self.get_symbol_table_name()}{constants.BANG}_LDR_DATA_TABLE_ENTRY", "InInitializationOrderLinks", - ): - yield entry + ) except exceptions.InvalidAddressException: return None @@ -775,11 +773,10 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): try: peb = self.get_peb() - for entry in peb.Ldr.InMemoryOrderModuleList.to_list( + yield from peb.Ldr.InMemoryOrderModuleList.to_list( f"{self.get_symbol_table_name()}{constants.BANG}_LDR_DATA_TABLE_ENTRY", "InMemoryOrderLinks", - ): - yield entry + ) except exceptions.InvalidAddressException: return None diff --git a/volatility3/framework/symbols/windows/extensions/consoles.py b/volatility3/framework/symbols/windows/extensions/consoles.py index cf6f43a9b..9666fd79c 100644 --- a/volatility3/framework/symbols/windows/extensions/consoles.py +++ b/volatility3/framework/symbols/windows/extensions/consoles.py @@ -107,11 +107,10 @@ class EXE_ALIAS_LIST(objects.StructType): def get_aliases(self) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Generator for the individual aliases for a particular executable.""" - for alias in self.AliasList.to_list( + yield from self.AliasList.to_list( f"{self.get_symbol_table_name()}{constants.BANG}_ALIAS", "ListEntry", - ): - yield alias + ) class SCREEN_INFORMATION(objects.StructType): @@ -245,11 +244,10 @@ class CONSOLE_INFORMATION(objects.StructType): def get_histories( self, ) -> Generator[interfaces.objects.ObjectInterface, None, None]: - for cmd_hist in self.HistoryList.to_list( + yield from self.HistoryList.to_list( f"{self.get_symbol_table_name()}{constants.BANG}_COMMAND_HISTORY", "ListEntry", - ): - yield cmd_hist + ) def get_exe_aliases( self, @@ -258,20 +256,18 @@ class CONSOLE_INFORMATION(objects.StructType): # Windows 10 22000 and Server 20348 made this a Pointer if isinstance(exe_alias_list, objects.Pointer): exe_alias_list = exe_alias_list.dereference() - for exe_alias_list_item in exe_alias_list.to_list( + yield from exe_alias_list.to_list( f"{self.get_symbol_table_name()}{constants.BANG}_EXE_ALIAS_LIST", "ListEntry", - ): - yield exe_alias_list_item + ) def get_processes( self, ) -> Generator[interfaces.objects.ObjectInterface, None, None]: - for proc in self.ConsoleProcessList.to_list( + yield from self.ConsoleProcessList.to_list( f"{self.get_symbol_table_name()}{constants.BANG}_CONSOLE_PROCESS_LIST", "ListEntry", - ): - yield proc + ) def get_title(self) -> Union[str, None]: try: @@ -393,8 +389,7 @@ class COMMAND_HISTORY(objects.StructType): rest are coalesced. """ - for i, cmd in self.scan_command_bucket(self.CommandBucket.End): - yield i, cmd + yield from self.scan_command_bucket(self.CommandBucket.End) win10_x64_class_types = { diff --git a/volatility3/framework/symbols/windows/pdbconv.py b/volatility3/framework/symbols/windows/pdbconv.py index 4feb396e7..ea2884bb2 100644 --- a/volatility3/framework/symbols/windows/pdbconv.py +++ b/volatility3/framework/symbols/windows/pdbconv.py @@ -128,7 +128,10 @@ class PdbReader: self._layer_name, self._context = self.load_pdb_layer(context, location) self._dbiheader: Optional[interfaces.objects.ObjectInterface] = None if not progress_callback: - progress_callback = lambda x, y: None + + def progress_callback(x, y): + return None + self._progress_callback = progress_callback self.types: List[ Tuple[ From e708a62eefa6bc48823050850959e689f67abd9e Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 17:28:43 +0100 Subject: [PATCH 0990/2186] make ruff happy --- development/mac-kdk/parse_pbzx2.py | 7 ++-- development/pdbparse-to-json.py | 6 ++-- development/schema_validate.py | 4 +-- doc/source/conf.py | 12 +++---- volatility3/cli/__init__.py | 2 +- volatility3/framework/__init__.py | 16 ++++----- .../framework/configuration/__init__.py | 2 ++ volatility3/framework/constants/__init__.py | 35 ++++++++++++++++++- volatility3/framework/interfaces/__init__.py | 11 ++++++ volatility3/framework/layers/resources.py | 2 +- .../framework/layers/scanners/__init__.py | 3 ++ volatility3/framework/objects/__init__.py | 12 +++---- volatility3/framework/plugins/isfinfo.py | 9 ++--- volatility3/framework/plugins/linux/kmsg.py | 4 +-- .../framework/plugins/mac/check_sysctl.py | 2 +- .../framework/plugins/mac/kauth_scopes.py | 2 +- .../framework/plugins/windows/netscan.py | 2 +- .../framework/plugins/windows/psxview.py | 2 +- .../framework/plugins/windows/shimcachemem.py | 2 +- volatility3/framework/renderers/__init__.py | 4 +-- .../symbols/mac/extensions/__init__.py | 2 +- 21 files changed, 93 insertions(+), 48 deletions(-) diff --git a/development/mac-kdk/parse_pbzx2.py b/development/mac-kdk/parse_pbzx2.py index 173a4d648..1ca212211 100644 --- a/development/mac-kdk/parse_pbzx2.py +++ b/development/mac-kdk/parse_pbzx2.py @@ -7,6 +7,7 @@ # Cleaned up C version (as the basis for my code) here, thanks to Pepijn Bruienne / @bruienne # https://gist.github.com/bruienne/029494bbcfb358098b41 +import os import struct import sys @@ -22,7 +23,7 @@ def seekread(f, offset = None, length = 0, relative = True): def parse_pbzx(pbzx_path): section = 0 - xar_out_path = '%s.part%02d.cpio.xz' % (pbzx_path, section) + xar_out_path = f'{pbzx_path}.part{section:02d}.cpio.xz' with open(pbzx_path, 'rb') as f: # pbzx = f.read() # f.close() @@ -50,12 +51,12 @@ def parse_pbzx(pbzx_path): # ... and split it out ... f_content = seekread(f, length = f_length) section += 1 - decomp_out = '%s.part%02d.cpio' % (pbzx_path, section) + decomp_out = f'{pbzx_path}.part{section:02d}.cpio' with open(decomp_out, 'wb') as g: g.write(f_content) # Now to start the next section, which should hopefully be .xz (we'll just assume it is ...) section += 1 - xar_out_path = '%s.part%02d.cpio.xz' % (pbzx_path, section) + xar_out_path = f'{pbzx_path}.part{section:02d}.cpio.xz' else: f_length -= 6 # This part needs buffering diff --git a/development/pdbparse-to-json.py b/development/pdbparse-to-json.py index 6eb265227..6ffa4ea49 100644 --- a/development/pdbparse-to-json.py +++ b/development/pdbparse-to-json.py @@ -32,12 +32,12 @@ class PDBRetreiver: result = None for suffix in [file_name[:-1] + '_', file_name]: try: - logger.debug(f"Attempting to retrieve {url + suffix}") + logger.debug("Attempting to retrieve %s", url + suffix) result, _ = request.urlretrieve(url + suffix) except request.HTTPError as excp: - logger.debug(f"Failed with {excp}") + logger.debug("Failed with %s", excp) if result: - logger.debug(f"Successfully written to {result}") + logger.debug("Successfully written to %s", result) break return result diff --git a/development/schema_validate.py b/development/schema_validate.py index 031039e38..f44b3267e 100644 --- a/development/schema_validate.py +++ b/development/schema_validate.py @@ -6,7 +6,7 @@ import sys # TODO: Rather nasty hack, when volatility's actually installed this would be unnecessary sys.path += ".." -import logging +import logging # noqa: E402 console = logging.StreamHandler() console.setLevel(logging.DEBUG) @@ -17,7 +17,7 @@ logger = logging.getLogger("") logger.addHandler(console) logger.setLevel(logging.DEBUG) -from volatility3 import schemas +from volatility3 import schemas # noqa: E402 if __name__ == '__main__': parser = argparse.ArgumentParser("Validates ") diff --git a/doc/source/conf.py b/doc/source/conf.py index cabfdc327..7a9a72891 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -19,6 +19,8 @@ import sys import sphinx.ext.apidoc +from importlib.util import find_spec + def setup(app): volatility_directory = os.path.abspath( @@ -124,7 +126,7 @@ def setup(app): # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath("../..")) -from volatility3.framework import constants +from volatility3.framework import constants # noqa: E402 # -- General configuration ------------------------------------------------ @@ -147,13 +149,9 @@ extensions = [ autosectionlabel_prefix_document = True -try: - import sphinx_autodoc_typehints - +if find_spec("sphinx_autodoc_typehints") is not None: extensions.append("sphinx_autodoc_typehints") -except ImportError: - # If the autodoc typehints extension isn't available, carry on regardless - pass +# If the autodoc typehints extension isn't available, carry on regardless # Add any paths that contain templates here, relative to this directory. # templates_path = ['tools/templates'] diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index cf1335443..da046de57 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -879,7 +879,7 @@ class CommandLine: volatility3.framework.configuration.requirements.ListRequirement, ): # Allow a list of integers, specified with the convenient 0x hexadecimal format - if requirement.element_type == int: + if requirement.element_type is int: additional["type"] = lambda x: int(x, 0) else: additional["type"] = requirement.element_type diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 244b353a2..bf7d3ab74 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -22,14 +22,14 @@ if ( ) ) -import importlib -import inspect -import logging -import os -import traceback -from typing import Any, Dict, Generator, List, Tuple, Type, TypeVar +import importlib # noqa: E402 +import inspect # noqa: E402 +import logging # noqa: E402 +import os # noqa: E402 +import traceback # noqa: E402 +from typing import Any, Dict, Generator, List, Tuple, Type, TypeVar # noqa: E402 -from volatility3.framework import constants, interfaces +from volatility3.framework import constants, interfaces # noqa: E402 # ## @@ -74,7 +74,7 @@ class NonInheritable: self.cls = cls def __get__(self, obj: Any, get_type: Type = None) -> Any: - if type == self.cls: + if type is self.cls: if hasattr(self.default_value, "__get__"): return self.default_value.__get__(obj, get_type) return self.default_value diff --git a/volatility3/framework/configuration/__init__.py b/volatility3/framework/configuration/__init__.py index 7a84ee455..6ca8b4ee3 100644 --- a/volatility3/framework/configuration/__init__.py +++ b/volatility3/framework/configuration/__init__.py @@ -3,3 +3,5 @@ # from volatility3.framework.configuration import requirements + +__all__ = ["requirements"] diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 8bdf84730..427d666e0 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -14,7 +14,7 @@ import warnings from typing import Callable, Optional import volatility3.framework.constants.linux -import volatility3.framework.constants.windows +import volatility3.framework.constants.windows # noqa: F401 from volatility3.framework.constants._version import ( PACKAGE_VERSION, VERSION_MAJOR, @@ -141,3 +141,36 @@ def __getattr__(name): return globals()[f"{deprecated_tag}{name}"] return getattr(__import__(__name__), name) + + +__all__ = [ + "PACKAGE_VERSION", + "VERSION_MAJOR", + "VERSION_MINOR", + "VERSION_PATCH", + "VERSION_SUFFIX", + "PLUGINS_PATH", + "SYMBOL_BASEPATHS", + "ISF_EXTENSIONS", + "BANG", + "AUTOMAGIC_CONFIG_PATH", + "LOGLEVEL_INFO", + "LOGLEVEL_DEBUG", + "LOGLEVEL_V", + "LOGLEVEL_VV", + "LOGLEVEL_VVV", + "LOGLEVEL_VVVV", + "CACHE_PATH", + "SQLITE_CACHE_PERIOD", + "IDENTIFIERS_FILENAME", + "CACHE_SQLITE_SCHEMA_VERSION", + "BUG_URL", + "ProgressCallback", + "OS_CATEGORIES", + "Parallelism", + "PARALLELISM", + "ISF_MINIMUM_SUPPORTED", + "ISF_MINIMUM_DEPRECATED", + "OFFLINE", + "REMOTE_ISF_URL", +] diff --git a/volatility3/framework/interfaces/__init__.py b/volatility3/framework/interfaces/__init__.py index 51d81d63a..19d11e2f4 100644 --- a/volatility3/framework/interfaces/__init__.py +++ b/volatility3/framework/interfaces/__init__.py @@ -22,3 +22,14 @@ from volatility3.framework.interfaces import ( symbols, automagic, ) + +__all__ = [ + "renderers", + "configuration", + "context", + "layers", + "objects", + "plugins", + "symbols", + "automagic", +] diff --git a/volatility3/framework/layers/resources.py b/volatility3/framework/layers/resources.py index c7a7fee67..6b17db5ff 100644 --- a/volatility3/framework/layers/resources.py +++ b/volatility3/framework/layers/resources.py @@ -29,7 +29,7 @@ except ImportError: try: # Import so that the handler is found by the framework.class_subclasses callc - import smb.SMBHandler # lgtm [py/unused-import] + import smb.SMBHandler # lgtm [py/unused-import] # noqa: F401 except ImportError: # If we fail to import this, it means that SMB handling won't be available pass diff --git a/volatility3/framework/layers/scanners/__init__.py b/volatility3/framework/layers/scanners/__init__.py index dd8dc46be..a36236a11 100644 --- a/volatility3/framework/layers/scanners/__init__.py +++ b/volatility3/framework/layers/scanners/__init__.py @@ -136,3 +136,6 @@ class MultiStringScanner(layers.ScannerInterface): ) for match in re.finditer(self._regex, haystack): yield match.start(0), match.group() + + +__all__ = ["multiregexp", "BytesScanner", "RegExScanner", "MultiStringScanner"] diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index b65277067..5846da070 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -35,13 +35,13 @@ def convert_data_to_value( data_format: DataFormatInfo, ) -> TUnion[int, float, bytes, str, bool]: """Converts a series of bytes to a particular type of value.""" - if struct_type == int: + if struct_type is int: return int.from_bytes( data, byteorder=data_format.byteorder, signed=data_format.signed ) - if struct_type == bool: + if struct_type is bool: struct_format = "?" - elif struct_type == float: + elif struct_type is float: float_vals = "zzezfzzzd" if ( data_format.length > len(float_vals) @@ -70,7 +70,7 @@ def convert_value_to_data( f"Written value is not of the correct type for {struct_type.__name__}" ) - if struct_type == int and isinstance(value, int): + if struct_type is int and isinstance(value, int): # Doubling up on the isinstance is for mypy return int.to_bytes( value, @@ -78,9 +78,9 @@ def convert_value_to_data( byteorder=data_format.byteorder, signed=data_format.signed, ) - if struct_type == bool: + if struct_type is bool: struct_format = "?" - elif struct_type == float: + elif struct_type is float: float_vals = "zzezfzzzd" if ( data_format.length > len(float_vals) diff --git a/volatility3/framework/plugins/isfinfo.py b/volatility3/framework/plugins/isfinfo.py index 4f07bd5a8..78e78fb9e 100644 --- a/volatility3/framework/plugins/isfinfo.py +++ b/volatility3/framework/plugins/isfinfo.py @@ -7,6 +7,7 @@ import os import pathlib import zipfile from typing import Generator, List +from importlib.util import find_spec from volatility3 import schemas, symbols from volatility3.framework import constants, interfaces, renderers @@ -96,16 +97,12 @@ class IsfInfo(plugins.PluginInterface): if filter_item in isf_file: filtered_list.append(isf_file) - try: - import jsonschema - - if not self.config["validate"]: - raise ImportError # Act as if we couldn't import if validation is turned off + if find_spec("jsonschema") and self.config["validate"]: def check_valid(data): return "True" if schemas.validate(data, True) else "False" - except ImportError: + else: def check_valid(data): return "Unknown" diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index e26d69543..d66e3b9ca 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -149,7 +149,7 @@ class ABCKmsg(ABC): # This might seem insignificant but it could cause some issues # when compared with userland tool results or when used in # timelines. - return "%lu.%06lu" % (nsec / 1000000000, (nsec % 1000000000) / 1000) + return f"{nsec / 1000000000:lu}.{(nsec % 1000000000) / 1000:06lu}" def get_timestamp_in_sec_str(self, obj) -> str: # obj could be log, printk_log or printk_info @@ -166,7 +166,7 @@ class ABCKmsg(ABC): def get_caller_text(self, caller_id): caller_name = "CPU" if caller_id & 0x80000000 else "Task" - caller = "%s(%u)" % (caller_name, caller_id & ~0x80000000) + caller = f"{caller_name}({caller_id & ~0x80000000:u})" return caller def get_prefix(self, obj) -> Tuple[int, int, str, str]: diff --git a/volatility3/framework/plugins/mac/check_sysctl.py b/volatility3/framework/plugins/mac/check_sysctl.py index e8218962d..ed3e34aea 100644 --- a/volatility3/framework/plugins/mac/check_sysctl.py +++ b/volatility3/framework/plugins/mac/check_sysctl.py @@ -60,7 +60,7 @@ class Check_sysctl(plugins.PluginInterface): return var_str def _process_sysctl_list(self, kernel, sysctl_list, recursive=0): - if type(sysctl_list) == volatility3.framework.objects.Pointer: + if type(sysctl_list) is volatility3.framework.objects.Pointer: sysctl_list = sysctl_list.dereference().cast("sysctl_oid_list") sysctl = sysctl_list.slh_first diff --git a/volatility3/framework/plugins/mac/kauth_scopes.py b/volatility3/framework/plugins/mac/kauth_scopes.py index afb320a07..c2c473eac 100644 --- a/volatility3/framework/plugins/mac/kauth_scopes.py +++ b/volatility3/framework/plugins/mac/kauth_scopes.py @@ -80,7 +80,7 @@ class Kauth_scopes(interfaces.plugins.PluginInterface): ( identifier, format_hints.Hex(scope.ks_idata), - len([l for l in scope.get_listeners()]), + len([listener for listener in scope.get_listeners()]), format_hints.Hex(callback), module_name, symbol_name, diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index 77bd22ab9..dd8e4b133 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -161,7 +161,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): raise NotImplementedError( "Kernel Debug Structure version format not supported!" ) - except: + except: # noqa: E722 # unsure what to raise here. Also, it might be useful to add some kind of fallback, # either to a user-provided version or to another method to determine tcpip.sys's version raise exceptions.VolatilityException( diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 053ec20d5..e3ec216dd 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -218,7 +218,7 @@ class PsXView(plugins.PluginInterface): name = self._proc_name_to_string(proc) exit_time = proc.get_exit_time() - if type(exit_time) != datetime.datetime: + if type(exit_time) is not datetime.datetime: exit_time = "" else: exit_time = str(exit_time) diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index 3cf6d60d8..59f33510d 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -146,7 +146,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf context, layer_name, kernel_symbol_table ): pid = process.UniqueProcessId - vollog.debug("checking process %d" % pid) + vollog.debug("checking process %d", pid) for vad in vadinfo.VadInfo.list_vads( process, lambda x: x.get_tag() == b"Vad " and x.Protection == 4 ): diff --git a/volatility3/framework/renderers/__init__.py b/volatility3/framework/renderers/__init__.py index 02805acc2..39ce1135d 100644 --- a/volatility3/framework/renderers/__init__.py +++ b/volatility3/framework/renderers/__init__.py @@ -430,10 +430,10 @@ class ColumnSortKey(interfaces.renderers.ColumnSortKey): value = datetime.datetime.min elif self._type in [int, float]: value = -1 - elif self._type == bool: + elif self._type is bool: value = False elif self._type in [str, renderers.Disassembly]: value = "-" - elif self._type == bytes: + elif self._type is bytes: value = b"" return value diff --git a/volatility3/framework/symbols/mac/extensions/__init__.py b/volatility3/framework/symbols/mac/extensions/__init__.py index 15fe7aeda..d2573fb95 100644 --- a/volatility3/framework/symbols/mac/extensions/__init__.py +++ b/volatility3/framework/symbols/mac/extensions/__init__.py @@ -237,7 +237,7 @@ class vm_map_entry(objects.StructType): def get_path(self, context, config_prefix): node = self.get_vnode(context, config_prefix) - if type(node) == str and node == "sub_map": + if type(node) is str and node == "sub_map": ret = node elif node: path = [] From 75a324ddba73462d13362ab3f0f5bbdfeb0a3d33 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 18:04:22 +0100 Subject: [PATCH 0991/2186] chore(developement/schema_validate): move logging import up --- development/schema_validate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/development/schema_validate.py b/development/schema_validate.py index f44b3267e..0ea82d537 100644 --- a/development/schema_validate.py +++ b/development/schema_validate.py @@ -1,13 +1,12 @@ import argparse import json +import logging import os import sys # TODO: Rather nasty hack, when volatility's actually installed this would be unnecessary sys.path += ".." -import logging # noqa: E402 - console = logging.StreamHandler() console.setLevel(logging.DEBUG) formatter = logging.Formatter('%(levelname)-8s %(name)-12s: %(message)s') From 2e093c1a53520c12c209d49cb108b654a2cc2290 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 18:08:22 +0100 Subject: [PATCH 0992/2186] chore(framework/automagic/linux): convert lambda to function --- volatility3/framework/automagic/linux.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 6b58577a3..93131a120 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -196,5 +196,8 @@ class LinuxSymbolFinder(symbol_finder.SymbolFinder): banner_config_key = "kernel_banner" operating_system = "linux" symbol_class = "volatility3.framework.symbols.linux.LinuxKernelIntermedSymbols" - find_aslr = lambda cls, *args: LinuxIntelStacker.find_aslr(*args)[1] exclusion_list = ["mac", "windows"] + + @classmethod + def find_aslr(cls, *args): + return LinuxIntelStacker.find_aslr(*args)[1] From c33e378c847b3cddcf3730f8b6ea5fc5efa8384e Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 18:18:54 +0100 Subject: [PATCH 0993/2186] chore(framework/__init__): move up imports --- volatility3/framework/__init__.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index bf7d3ab74..364e6f5ec 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -6,6 +6,14 @@ import glob import sys import zipfile +import importlib +import inspect +import logging +import os +import traceback +from typing import Any, Dict, Generator, List, Tuple, Type, TypeVar + +from volatility3.framework import constants, interfaces required_python_version = (3, 8, 0) if ( @@ -22,15 +30,6 @@ if ( ) ) -import importlib # noqa: E402 -import inspect # noqa: E402 -import logging # noqa: E402 -import os # noqa: E402 -import traceback # noqa: E402 -from typing import Any, Dict, Generator, List, Tuple, Type, TypeVar # noqa: E402 - -from volatility3.framework import constants, interfaces # noqa: E402 - # ## # From 2119b8c7b820e3fde75f9f4871cb7504ef0b5473 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 18:37:46 +0100 Subject: [PATCH 0994/2186] fix framework/__init__ --- volatility3/framework/__init__.py | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 364e6f5ec..df8d2d2b8 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -5,15 +5,6 @@ # Check the python version to ensure it's suitable import glob import sys -import zipfile -import importlib -import inspect -import logging -import os -import traceback -from typing import Any, Dict, Generator, List, Tuple, Type, TypeVar - -from volatility3.framework import constants, interfaces required_python_version = (3, 8, 0) if ( @@ -25,10 +16,18 @@ if ( ) ): raise RuntimeError( - "Volatility framework requires python version {}.{}.{} or greater".format( - *required_python_version - ) + f"Volatility framework requires python version {'.'.join(map(str, required_python_version))} or greater" ) +else: + import zipfile + import importlib + import inspect + import logging + import os + import traceback + from typing import Any, Dict, Generator, List, Tuple, Type, TypeVar + + from volatility3.framework import constants, interfaces # ## From ccd3e8f367df22d60eb5be300a0c8a830b8db59a Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 18:43:27 +0100 Subject: [PATCH 0995/2186] move python version check into its own module --- volatility3/framework/__init__.py | 31 ++++++------------- volatility3/framework/check_python_version.py | 14 +++++++++ 2 files changed, 23 insertions(+), 22 deletions(-) create mode 100644 volatility3/framework/check_python_version.py diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index df8d2d2b8..bf71c3c99 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -5,29 +5,16 @@ # Check the python version to ensure it's suitable import glob import sys +import volatility3.framework.check_python_version # noqa: F401 +import zipfile +import importlib +import inspect +import logging +import os +import traceback +from typing import Any, Dict, Generator, List, Tuple, Type, TypeVar -required_python_version = (3, 8, 0) -if ( - sys.version_info.major != required_python_version[0] - or sys.version_info.minor < required_python_version[1] - or ( - sys.version_info.minor == required_python_version[1] - and sys.version_info.micro < required_python_version[2] - ) -): - raise RuntimeError( - f"Volatility framework requires python version {'.'.join(map(str, required_python_version))} or greater" - ) -else: - import zipfile - import importlib - import inspect - import logging - import os - import traceback - from typing import Any, Dict, Generator, List, Tuple, Type, TypeVar - - from volatility3.framework import constants, interfaces +from volatility3.framework import constants, interfaces # ## diff --git a/volatility3/framework/check_python_version.py b/volatility3/framework/check_python_version.py new file mode 100644 index 000000000..f2d284f2a --- /dev/null +++ b/volatility3/framework/check_python_version.py @@ -0,0 +1,14 @@ +import sys + +required_python_version = (3, 8, 0) +if ( + sys.version_info.major != required_python_version[0] + or sys.version_info.minor < required_python_version[1] + or ( + sys.version_info.minor == required_python_version[1] + and sys.version_info.micro < required_python_version[2] + ) +): + raise RuntimeError( + f"Volatility framework requires python version {required_python_version[0]}.{required_python_version[1]}.{required_python_version[2]} or greater" + ) From 53133f4478bab042d96c468d5fd14c95f96b9913 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 21:27:38 +0100 Subject: [PATCH 0996/2186] fix codeQL error --- volatility3/framework/plugins/windows/modules.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 00424938f..3c0f5ab7c 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -104,12 +104,11 @@ class Modules(interfaces.plugins.PluginInterface): try: BaseDllName = mod.BaseDllName.get_string() + if self.config["name"] and self.config["name"] not in BaseDllName: + continue except exceptions.InvalidAddressException: BaseDllName = interfaces.renderers.BaseAbsentValue() - if self.config["name"] and self.config["name"] not in BaseDllName: - continue - try: FullDllName = mod.FullDllName.get_string() except exceptions.InvalidAddressException: From 1c0d0b086adba32763668f2b06dd1b659163d350 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 22 Nov 2024 23:07:42 +0100 Subject: [PATCH 0997/2186] use redundant import aliases instead of __all__ and noqa's --- volatility3/framework/__init__.py | 2 +- .../framework/configuration/__init__.py | 4 +- volatility3/framework/constants/__init__.py | 47 +++---------------- volatility3/framework/interfaces/__init__.py | 27 ++++------- .../framework/layers/scanners/__init__.py | 5 +- 5 files changed, 18 insertions(+), 67 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index bf71c3c99..b60ae5576 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -5,7 +5,7 @@ # Check the python version to ensure it's suitable import glob import sys -import volatility3.framework.check_python_version # noqa: F401 +from volatility3.framework import check_python_version as check_python_version import zipfile import importlib import inspect diff --git a/volatility3/framework/configuration/__init__.py b/volatility3/framework/configuration/__init__.py index 6ca8b4ee3..7b914cf16 100644 --- a/volatility3/framework/configuration/__init__.py +++ b/volatility3/framework/configuration/__init__.py @@ -2,6 +2,4 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from volatility3.framework.configuration import requirements - -__all__ = ["requirements"] +from volatility3.framework.configuration import requirements as requirements diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 427d666e0..23cc2dde5 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -13,14 +13,14 @@ import sys import warnings from typing import Callable, Optional -import volatility3.framework.constants.linux -import volatility3.framework.constants.windows # noqa: F401 +from volatility3.framework.constants import linux as linux +from volatility3.framework.constants import windows as windows from volatility3.framework.constants._version import ( - PACKAGE_VERSION, - VERSION_MAJOR, - VERSION_MINOR, - VERSION_PATCH, - VERSION_SUFFIX, + PACKAGE_VERSION as PACKAGE_VERSION, + VERSION_MAJOR as VERSION_MAJOR, + VERSION_MINOR as VERSION_MINOR, + VERSION_PATCH as VERSION_PATCH, + VERSION_SUFFIX as VERSION_SUFFIX, ) PLUGINS_PATH = [ @@ -141,36 +141,3 @@ def __getattr__(name): return globals()[f"{deprecated_tag}{name}"] return getattr(__import__(__name__), name) - - -__all__ = [ - "PACKAGE_VERSION", - "VERSION_MAJOR", - "VERSION_MINOR", - "VERSION_PATCH", - "VERSION_SUFFIX", - "PLUGINS_PATH", - "SYMBOL_BASEPATHS", - "ISF_EXTENSIONS", - "BANG", - "AUTOMAGIC_CONFIG_PATH", - "LOGLEVEL_INFO", - "LOGLEVEL_DEBUG", - "LOGLEVEL_V", - "LOGLEVEL_VV", - "LOGLEVEL_VVV", - "LOGLEVEL_VVVV", - "CACHE_PATH", - "SQLITE_CACHE_PERIOD", - "IDENTIFIERS_FILENAME", - "CACHE_SQLITE_SCHEMA_VERSION", - "BUG_URL", - "ProgressCallback", - "OS_CATEGORIES", - "Parallelism", - "PARALLELISM", - "ISF_MINIMUM_SUPPORTED", - "ISF_MINIMUM_DEPRECATED", - "OFFLINE", - "REMOTE_ISF_URL", -] diff --git a/volatility3/framework/interfaces/__init__.py b/volatility3/framework/interfaces/__init__.py index 19d11e2f4..fd6b1e062 100644 --- a/volatility3/framework/interfaces/__init__.py +++ b/volatility3/framework/interfaces/__init__.py @@ -13,23 +13,12 @@ components of volatility to write plugins. # This will also avoid namespace issues, because people can use interfaces.layers to # avoid clashing with the layers package from volatility3.framework.interfaces import ( - renderers, - configuration, - context, - layers, - objects, - plugins, - symbols, - automagic, + renderers as renderers, + configuration as configuration, + context as context, + layers as layers, + objects as objects, + plugins as plugins, + symbols as symbols, + automagic as automagic, ) - -__all__ = [ - "renderers", - "configuration", - "context", - "layers", - "objects", - "plugins", - "symbols", - "automagic", -] diff --git a/volatility3/framework/layers/scanners/__init__.py b/volatility3/framework/layers/scanners/__init__.py index a36236a11..f54b44ff4 100644 --- a/volatility3/framework/layers/scanners/__init__.py +++ b/volatility3/framework/layers/scanners/__init__.py @@ -5,7 +5,7 @@ import re from typing import Generator, List, Tuple, Dict, Optional from volatility3.framework.interfaces import layers -from volatility3.framework.layers.scanners import multiregexp +from volatility3.framework.layers.scanners import multiregexp as multiregexp class BytesScanner(layers.ScannerInterface): @@ -136,6 +136,3 @@ class MultiStringScanner(layers.ScannerInterface): ) for match in re.finditer(self._regex, haystack): yield match.start(0), match.group() - - -__all__ = ["multiregexp", "BytesScanner", "RegExScanner", "MultiStringScanner"] From 6283ab6a1a7d871eacb1c7fc9e3d71f9333f4bab Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Sun, 24 Nov 2024 11:26:25 +0100 Subject: [PATCH 0998/2186] adjust SMBHandler import to use redundat alias --- volatility3/framework/layers/resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/resources.py b/volatility3/framework/layers/resources.py index 6b17db5ff..dc510452a 100644 --- a/volatility3/framework/layers/resources.py +++ b/volatility3/framework/layers/resources.py @@ -29,7 +29,7 @@ except ImportError: try: # Import so that the handler is found by the framework.class_subclasses callc - import smb.SMBHandler # lgtm [py/unused-import] # noqa: F401 + from smb import SMBHandler as SMBHandler except ImportError: # If we fail to import this, it means that SMB handling won't be available pass From d95c32b25a65e87fc1a3a57f46dafa628d0b5568 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Sun, 24 Nov 2024 11:27:41 +0100 Subject: [PATCH 0999/2186] run `ruff check --fix` --- volatility3/framework/automagic/linux.py | 2 -- volatility3/framework/automagic/mac.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 93131a120..c044fdd93 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -3,12 +3,10 @@ # import logging -import os from typing import Optional, Tuple, Type from volatility3.framework import constants, interfaces from volatility3.framework.automagic import symbol_cache, symbol_finder -from volatility3.framework.configuration import requirements from volatility3.framework.layers import intel, scanners from volatility3.framework.symbols import linux diff --git a/volatility3/framework/automagic/mac.py b/volatility3/framework/automagic/mac.py index 89dd5a187..f3679d160 100644 --- a/volatility3/framework/automagic/mac.py +++ b/volatility3/framework/automagic/mac.py @@ -3,13 +3,11 @@ # import logging -import os import struct from typing import Optional from volatility3.framework import constants, exceptions, interfaces, layers from volatility3.framework.automagic import symbol_cache, symbol_finder -from volatility3.framework.configuration import requirements from volatility3.framework.layers import intel, scanners from volatility3.framework.symbols import mac From 0b4d595bac567b478c343a9a9f18957e0270c410 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Sun, 24 Nov 2024 11:35:33 +0100 Subject: [PATCH 1000/2186] don't use bare except in windows netscan plugin --- volatility3/framework/plugins/windows/netscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index dd8e4b133..9462df43d 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -161,7 +161,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): raise NotImplementedError( "Kernel Debug Structure version format not supported!" ) - except: # noqa: E722 + except Exception: # unsure what to raise here. Also, it might be useful to add some kind of fallback, # either to a user-provided version or to another method to determine tcpip.sys's version raise exceptions.VolatilityException( From 8dc9bd037d67d0dd3805ba3421a19d8b8a76304f Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Sun, 24 Nov 2024 11:39:08 +0100 Subject: [PATCH 1001/2186] add fixme to windows/netscan plugin --- volatility3/framework/plugins/windows/netscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index 9462df43d..162031104 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -162,7 +162,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): "Kernel Debug Structure version format not supported!" ) except Exception: - # unsure what to raise here. Also, it might be useful to add some kind of fallback, + # FIXME: unsure what to raise here. Also, it might be useful to add some kind of fallback, # either to a user-provided version or to another method to determine tcpip.sys's version raise exceptions.VolatilityException( "Kernel Debug Structure missing VERSION/KUSER structure, unable to determine Windows version!" From eee015033ac3a7b17742ea149d3f3e01b9a7698e Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Sun, 24 Nov 2024 12:30:44 +0100 Subject: [PATCH 1002/2186] add back lgtm imperative --- volatility3/framework/layers/resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/resources.py b/volatility3/framework/layers/resources.py index dc510452a..00215f624 100644 --- a/volatility3/framework/layers/resources.py +++ b/volatility3/framework/layers/resources.py @@ -29,7 +29,7 @@ except ImportError: try: # Import so that the handler is found by the framework.class_subclasses callc - from smb import SMBHandler as SMBHandler + from smb import SMBHandler as SMBHandler # lgtm [py/unused-import] except ImportError: # If we fail to import this, it means that SMB handling won't be available pass From f6c852c478e5bf676cbc3def50900f8af66679b5 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Sun, 24 Nov 2024 13:04:13 +0100 Subject: [PATCH 1003/2186] format with black --- development/banner_server.py | 45 ++- development/compare-vol.py | 340 ++++++++++++------- development/mac-kdk/parse_pbzx2.py | 50 +-- development/pdbparse-to-json.py | 188 ++++++---- development/schema_validate.py | 8 +- development/stock-linux-json.py | 98 +++--- test/plugins/windows/test_scheduled_tasks.py | 2 + volatility3/framework/layers/resources.py | 2 +- 8 files changed, 462 insertions(+), 271 deletions(-) diff --git a/development/banner_server.py b/development/banner_server.py index 3aea41c82..b62477a26 100644 --- a/development/banner_server.py +++ b/development/banner_server.py @@ -28,10 +28,10 @@ class BannerCacheGenerator: def run(self): context = contexts.Context() - json_output = {'version': 1} + json_output = {"version": 1} path = self._path - filename = '*' + filename = "*" for banner_cache in [linux.LinuxBannerCache, mac.MacBannerCache]: sub_path = banner_cache.os @@ -39,37 +39,54 @@ class BannerCacheGenerator: for extension in constants.ISF_EXTENSIONS: # Hopefully these will not be large lists, otherwise this might be slow try: - for found in pathlib.Path(path).joinpath(sub_path).resolve().rglob(filename + extension): + for found in ( + pathlib.Path(path) + .joinpath(sub_path) + .resolve() + .rglob(filename + extension) + ): potentials.append(found.as_uri()) except FileNotFoundError: # If there's no linux symbols, don't cry about it pass - new_banners = banner_cache.read_new_banners(context, 'BannerServer', potentials, banner_cache.symbol_name, - banner_cache.os, progress_callback = PrintedProgress()) + new_banners = banner_cache.read_new_banners( + context, + "BannerServer", + potentials, + banner_cache.symbol_name, + banner_cache.os, + progress_callback=PrintedProgress(), + ) result_banners = {} for new_banner in new_banners: # Only accept file schemes - value = [self.convert_url(url) for url in new_banners[new_banner] if - urllib.parse.urlparse(url).scheme == 'file'] + value = [ + self.convert_url(url) + for url in new_banners[new_banner] + if urllib.parse.urlparse(url).scheme == "file" + ] if value and new_banner: # Convert files into URLs - result_banners[str(base64.b64encode(new_banner), 'latin-1')] = value + result_banners[str(base64.b64encode(new_banner), "latin-1")] = value json_output[banner_cache.os] = result_banners - output_path = os.path.join(self._path, 'banners.json') - with open(output_path, 'w') as fp: + output_path = os.path.join(self._path, "banners.json") + with open(output_path, "w") as fp: vollog.warning(f"Banners file written to {output_path}") json.dump(json_output, fp) -if __name__ == '__main__': +if __name__ == "__main__": parser = argparse.ArgumentParser() - parser.add_argument('--path', default = os.path.dirname(__file__)) - parser.add_argument('--urlprefix', help = 'Web prefix that will eventually serve the ISF files', - default = 'http://localhost/symbols') + parser.add_argument("--path", default=os.path.dirname(__file__)) + parser.add_argument( + "--urlprefix", + help="Web prefix that will eventually serve the ISF files", + default="http://localhost/symbols", + ) args = parser.parse_args() diff --git a/development/compare-vol.py b/development/compare-vol.py index 1074c5d9c..a01d8e93c 100644 --- a/development/compare-vol.py +++ b/development/compare-vol.py @@ -15,17 +15,17 @@ class VolatilityImage: filepath: str = "" vol2_profile: str = "" vol2_imageinfo_time: float = None - vol2_plugin_parameters: Dict[str, List[str]] = field(default_factory = dict) - vol3_plugin_parameters: Dict[str, List[str]] = field(default_factory = dict) - rekall_plugin_parameters: Dict[str, List[str]] = field(default_factory = dict) + vol2_plugin_parameters: Dict[str, List[str]] = field(default_factory=dict) + vol3_plugin_parameters: Dict[str, List[str]] = field(default_factory=dict) + rekall_plugin_parameters: Dict[str, List[str]] = field(default_factory=dict) @dataclass class VolatilityPlugin: name: str = "" - vol2_plugin_parameters: List[str] = field(default_factory = list) - vol3_plugin_parameters: List[str] = field(default_factory = list) - rekall_plugin_parameters: List[str] = field(default_factory = list) + vol2_plugin_parameters: List[str] = field(default_factory=list) + vol3_plugin_parameters: List[str] = field(default_factory=list) + rekall_plugin_parameters: List[str] = field(default_factory=list) class VolatilityTest: @@ -39,32 +39,50 @@ class VolatilityTest: def result_titles(self) -> List[str]: return [self.long_name] - def create_prerequisites(self, plugin: VolatilityPlugin, image: VolatilityImage, image_hash: str) -> None: + def create_prerequisites( + self, plugin: VolatilityPlugin, image: VolatilityImage, image_hash: str + ) -> None: pass - def create_results(self, plugin: VolatilityPlugin, image: VolatilityImage, image_hash: str) -> List[float]: + def create_results( + self, plugin: VolatilityPlugin, image: VolatilityImage, image_hash: str + ) -> List[float]: self.create_prerequisites(plugin, image, image_hash) # Volatility 2 Test - print(f"[*] Testing {self.short_name} {plugin.name} with image {image.filepath}") + print( + f"[*] Testing {self.short_name} {plugin.name} with image {image.filepath}" + ) os.chdir(self.path) cmd = self.plugin_cmd(plugin, image) start_time = time.perf_counter() try: - completed = subprocess.run(cmd, cwd = self.path, capture_output = True, timeout = 420) + completed = subprocess.run( + cmd, cwd=self.path, capture_output=True, timeout=420 + ) except subprocess.TimeoutExpired as excp: completed = excp end_time = time.perf_counter() total_time = end_time - start_time - print(f" Tested {self.short_name} {plugin.name} with image {image.filepath}: {total_time}") + print( + f" Tested {self.short_name} {plugin.name} with image {image.filepath}: {total_time}" + ) with open( - os.path.join(self.output_directory, f'{self.short_name}_{plugin.name}_{image_hash}_stdout'), - "wb") as f: + os.path.join( + self.output_directory, + f"{self.short_name}_{plugin.name}_{image_hash}_stdout", + ), + "wb", + ) as f: f.write(completed.stdout) if completed.stderr: with open( - os.path.join(self.output_directory, f'{self.short_name}_{plugin.name}_{image_hash}_stderr'), - "wb") as f: + os.path.join( + self.output_directory, + f"{self.short_name}_{plugin.name}_{image_hash}_stderr", + ), + "wb", + ) as f: f.write(completed.stderr) return [total_time] @@ -77,31 +95,57 @@ class Volatility2Test(VolatilityTest): long_name = "Volatility 2" def plugin_cmd(self, plugin: VolatilityPlugin, image: VolatilityImage): - return ["python2", "-u", "vol.py", "-f", image.filepath, "--profile", image.vol2_profile - ] + plugin.vol2_plugin_parameters + image.vol2_plugin_parameters.get(plugin.name, []) + return ( + [ + "python2", + "-u", + "vol.py", + "-f", + image.filepath, + "--profile", + image.vol2_profile, + ] + + plugin.vol2_plugin_parameters + + image.vol2_plugin_parameters.get(plugin.name, []) + ) def result_titles(self): return [self.long_name, "Imageinfo", f"{self.long_name} + Imageinfo"] - def create_results(self, plugin: VolatilityPlugin, image: VolatilityImage, image_hash) -> List[float]: + def create_results( + self, plugin: VolatilityPlugin, image: VolatilityImage, image_hash + ) -> List[float]: result = super().create_results(plugin, image, image_hash) result += [image.vol2_imageinfo_time, result[0] + image.vol2_imageinfo_time] return result - def create_prerequisites(self, plugin: VolatilityPlugin, image: VolatilityImage, image_hash): + def create_prerequisites( + self, plugin: VolatilityPlugin, image: VolatilityImage, image_hash + ): # Volatility 2 image info if not image.vol2_profile: - print(f"[*] Testing {self.short_name} imageinfo with image {image.filepath}") + print( + f"[*] Testing {self.short_name} imageinfo with image {image.filepath}" + ) os.chdir(self.path) cmd = ["python2", "-u", "vol.py", "-f", image.filepath, "imageinfo"] start_time = time.perf_counter() - vol2_completed = subprocess.run(cmd, cwd = self.path, capture_output = True) + vol2_completed = subprocess.run(cmd, cwd=self.path, capture_output=True) end_time = time.perf_counter() image.vol2_imageinfo_time = end_time - start_time - print(f" Tested volatility2 imageinfo with image {image.filepath}: {end_time - start_time}") - with open(os.path.join(self.output_directory, f'vol2_imageinfo_{image_hash}_stdout'), "wb") as f: + print( + f" Tested volatility2 imageinfo with image {image.filepath}: {end_time - start_time}" + ) + with open( + os.path.join( + self.output_directory, f"vol2_imageinfo_{image_hash}_stdout" + ), + "wb", + ) as f: f.write(vol2_completed.stdout) - image.vol2_profile = re.search(rb"Suggested Profile\(s\) : ([^,]+)", vol2_completed.stdout)[1] + image.vol2_profile = re.search( + rb"Suggested Profile\(s\) : ([^,]+)", vol2_completed.stdout + )[1] class RekallTest(VolatilityTest): @@ -113,11 +157,16 @@ class RekallTest(VolatilityTest): plugin.rekall_plugin_parameters = plugin.vol2_plugin_parameters if not image.rekall_plugin_parameters: image.rekall_plugin_parameters = image.vol2_plugin_parameters - return ["rekall", "-f", image.filepath] + plugin.rekall_plugin_parameters + image.rekall_plugin_parameters.get( - plugin.name, []) + return ( + ["rekall", "-f", image.filepath] + + plugin.rekall_plugin_parameters + + image.rekall_plugin_parameters.get(plugin.name, []) + ) - def create_prerequisites(self, plugin: VolatilityPlugin, image: VolatilityImage, image_hash: str) -> None: - shutil.rmtree('/home/mike/.rekall_cache/sessions') + def create_prerequisites( + self, plugin: VolatilityPlugin, image: VolatilityImage, image_hash: str + ) -> None: + shutil.rmtree("/home/mike/.rekall_cache/sessions") class Volatility3Test(VolatilityTest): @@ -125,14 +174,18 @@ class Volatility3Test(VolatilityTest): long_name = "Volatility 3" def plugin_cmd(self, plugin: VolatilityPlugin, image: VolatilityImage) -> List[str]: - return [ - "python", - "-u", - "vol.py", - "-q", - "-f", - image.filepath, - ] + plugin.vol3_plugin_parameters + image.vol3_plugin_parameters.get(plugin.name, []) + return ( + [ + "python", + "-u", + "vol.py", + "-q", + "-f", + image.filepath, + ] + + plugin.vol3_plugin_parameters + + image.vol3_plugin_parameters.get(plugin.name, []) + ) class Volatility3PyPyTest(VolatilityTest): @@ -140,26 +193,32 @@ class Volatility3PyPyTest(VolatilityTest): long_name = "Volatility 3 (PyPy)" def plugin_cmd(self, plugin: VolatilityPlugin, image: VolatilityImage) -> List[str]: - return [ - "pypy3", - "-u", - "vol.py", - "-q", - "-f", - image.filepath, - ] + plugin.vol3_plugin_parameters + image.vol3_plugin_parameters.get(plugin.name, []) + return ( + [ + "pypy3", + "-u", + "vol.py", + "-q", + "-f", + image.filepath, + ] + + plugin.vol3_plugin_parameters + + image.vol3_plugin_parameters.get(plugin.name, []) + ) class VolatilityTester: - def __init__(self, - images: List[VolatilityImage], - plugins: List[VolatilityPlugin], - frameworks: List[str], - output_dir: str, - vol2_path: str = None, - vol3_path: str = None, - rekall_path = None): + def __init__( + self, + images: List[VolatilityImage], + plugins: List[VolatilityPlugin], + frameworks: List[str], + output_dir: str, + vol2_path: str = None, + vol3_path: str = None, + rekall_path=None, + ): self.images = images self.plugins = plugins if not vol2_path: @@ -172,7 +231,7 @@ class VolatilityTester: Volatility3Test(vol3_path, output_dir), Volatility3PyPyTest(vol3_path, output_dir), Volatility2Test(vol2_path, output_dir), - RekallTest(rekall_path, output_dir) + RekallTest(rekall_path, output_dir), ] self.tests = [x for x in available_tests if x.short_name.lower() in frameworks] self.csv_writer = None @@ -183,7 +242,7 @@ class VolatilityTester: print(f"[?] Frameworks: {[x.long_name for x in self.tests]}") def run_tests(self): - with open("volatility-timings.csv", 'w') as csvfile: + with open("volatility-timings.csv", "w") as csvfile: self.csv_writer = csv.writer(csvfile) titles = ["Image Hash", "Image Path", "Plugin Name"] for test in self.tests: @@ -203,72 +262,121 @@ class VolatilityTester: self.csv_writer.writerow([image_hash, image.filepath, plugin.name] + results) -if __name__ == '__main__': +if __name__ == "__main__": plugins = [ - VolatilityPlugin(name = "pslist", - vol2_plugin_parameters = ["pslist"], - vol3_plugin_parameters = ["windows.pslist"]), - VolatilityPlugin(name = "psscan", - vol2_plugin_parameters = ["psscan"], - vol3_plugin_parameters = ["windows.psscan"], - rekall_plugin_parameters = ["psscan", "--scan_kernel"]), - VolatilityPlugin(name = "driverscan", - vol2_plugin_parameters = ["driverscan"], - vol3_plugin_parameters = ["windows.driverscan"], - rekall_plugin_parameters = ["driverscan", "--scan_kernel"]), - VolatilityPlugin(name = "handles", - vol2_plugin_parameters = ["handles"], - vol3_plugin_parameters = ["windows.handles"]), - VolatilityPlugin(name = "modules", - vol2_plugin_parameters = ["modules"], - vol3_plugin_parameters = ["windows.modules"]), - VolatilityPlugin(name = "hivelist", - vol2_plugin_parameters = ["hivelist"], - vol3_plugin_parameters = ["registry.hivelist"], - rekall_plugin_parameters = ["hives"]), - VolatilityPlugin(name = "vadinfo", - vol2_plugin_parameters = ["vadinfo"], - vol3_plugin_parameters = ["windows.vadinfo"], - rekall_plugin_parameters = ["vad"]), - VolatilityPlugin(name = "modscan", - vol2_plugin_parameters = ["modscan"], - vol3_plugin_parameters = ["windows.modscan"], - rekall_plugin_parameters = ["modscan", "--scan_kernel"]), - VolatilityPlugin(name = "svcscan", - vol2_plugin_parameters = ["svcscan"], - vol3_plugin_parameters = ["windows.svcscan"], - rekall_plugin_parameters = ["svcscan"]), - VolatilityPlugin(name = "ssdt", vol2_plugin_parameters = ["ssdt"], vol3_plugin_parameters = ["windows.ssdt"]), - VolatilityPlugin(name = "printkey", - vol2_plugin_parameters = ["printkey", "-K", "Classes"], - vol3_plugin_parameters = ["registry.printkey", "--key", "Classes"], - rekall_plugin_parameters = ["printkey", "--key", "Classes"]) + VolatilityPlugin( + name="pslist", + vol2_plugin_parameters=["pslist"], + vol3_plugin_parameters=["windows.pslist"], + ), + VolatilityPlugin( + name="psscan", + vol2_plugin_parameters=["psscan"], + vol3_plugin_parameters=["windows.psscan"], + rekall_plugin_parameters=["psscan", "--scan_kernel"], + ), + VolatilityPlugin( + name="driverscan", + vol2_plugin_parameters=["driverscan"], + vol3_plugin_parameters=["windows.driverscan"], + rekall_plugin_parameters=["driverscan", "--scan_kernel"], + ), + VolatilityPlugin( + name="handles", + vol2_plugin_parameters=["handles"], + vol3_plugin_parameters=["windows.handles"], + ), + VolatilityPlugin( + name="modules", + vol2_plugin_parameters=["modules"], + vol3_plugin_parameters=["windows.modules"], + ), + VolatilityPlugin( + name="hivelist", + vol2_plugin_parameters=["hivelist"], + vol3_plugin_parameters=["registry.hivelist"], + rekall_plugin_parameters=["hives"], + ), + VolatilityPlugin( + name="vadinfo", + vol2_plugin_parameters=["vadinfo"], + vol3_plugin_parameters=["windows.vadinfo"], + rekall_plugin_parameters=["vad"], + ), + VolatilityPlugin( + name="modscan", + vol2_plugin_parameters=["modscan"], + vol3_plugin_parameters=["windows.modscan"], + rekall_plugin_parameters=["modscan", "--scan_kernel"], + ), + VolatilityPlugin( + name="svcscan", + vol2_plugin_parameters=["svcscan"], + vol3_plugin_parameters=["windows.svcscan"], + rekall_plugin_parameters=["svcscan"], + ), + VolatilityPlugin( + name="ssdt", + vol2_plugin_parameters=["ssdt"], + vol3_plugin_parameters=["windows.ssdt"], + ), + VolatilityPlugin( + name="printkey", + vol2_plugin_parameters=["printkey", "-K", "Classes"], + vol3_plugin_parameters=["registry.printkey", "--key", "Classes"], + rekall_plugin_parameters=["printkey", "--key", "Classes"], + ), ] parser = argparse.ArgumentParser() - parser.add_argument("--output-dir", type = str, default = os.getcwd(), help = "Directory to store all results") - parser.add_argument("--vol3path", - type = str, - default = os.path.join(os.getcwd(), 'volatility3'), - help = "Path ot the volatility 3 directory") - parser.add_argument("--vol2path", - type = str, - default = os.path.join(os.getcwd(), 'volatility'), - help = "Path to the volatility 2 directory") - parser.add_argument("--rekallpath", - type = str, - default = os.path.join(os.getcwd(), 'rekall'), - help = "Path to the rekall directory") - parser.add_argument("--frameworks", - nargs = "+", - type = str, - choices = [x.short_name.lower() for x in VolatilityTest.__subclasses__()], - default = [x.short_name.lower() for x in VolatilityTest.__subclasses__()], - help = "A comma separated list of frameworks to test") - parser.add_argument('images', metavar = 'IMAGE', type = str, nargs = '+', help = 'The list of images to compare') + parser.add_argument( + "--output-dir", + type=str, + default=os.getcwd(), + help="Directory to store all results", + ) + parser.add_argument( + "--vol3path", + type=str, + default=os.path.join(os.getcwd(), "volatility3"), + help="Path ot the volatility 3 directory", + ) + parser.add_argument( + "--vol2path", + type=str, + default=os.path.join(os.getcwd(), "volatility"), + help="Path to the volatility 2 directory", + ) + parser.add_argument( + "--rekallpath", + type=str, + default=os.path.join(os.getcwd(), "rekall"), + help="Path to the rekall directory", + ) + parser.add_argument( + "--frameworks", + nargs="+", + type=str, + choices=[x.short_name.lower() for x in VolatilityTest.__subclasses__()], + default=[x.short_name.lower() for x in VolatilityTest.__subclasses__()], + help="A comma separated list of frameworks to test", + ) + parser.add_argument( + "images", + metavar="IMAGE", + type=str, + nargs="+", + help="The list of images to compare", + ) args = parser.parse_args() - vt = VolatilityTester([VolatilityImage(filepath = x) for x in args.images], plugins, - [x.lower() for x in args.frameworks], args.output_dir, args.vol2path, args.vol3path, - args.rekallpath) + vt = VolatilityTester( + [VolatilityImage(filepath=x) for x in args.images], + plugins, + [x.lower() for x in args.frameworks], + args.output_dir, + args.vol2path, + args.vol3path, + args.rekallpath, + ) vt.run_tests() diff --git a/development/mac-kdk/parse_pbzx2.py b/development/mac-kdk/parse_pbzx2.py index 1ca212211..b175539b3 100644 --- a/development/mac-kdk/parse_pbzx2.py +++ b/development/mac-kdk/parse_pbzx2.py @@ -12,7 +12,7 @@ import struct import sys -def seekread(f, offset = None, length = 0, relative = True): +def seekread(f, offset=None, length=0, relative=True): if offset is not None: # offset provided, let's seek f.seek(offset, [0, 1, 2][relative]) @@ -23,55 +23,57 @@ def seekread(f, offset = None, length = 0, relative = True): def parse_pbzx(pbzx_path): section = 0 - xar_out_path = f'{pbzx_path}.part{section:02d}.cpio.xz' - with open(pbzx_path, 'rb') as f: + xar_out_path = f"{pbzx_path}.part{section:02d}.cpio.xz" + with open(pbzx_path, "rb") as f: # pbzx = f.read() # f.close() - magic = seekread(f, length = 4) - if magic != 'pbzx': + magic = seekread(f, length=4) + if magic != "pbzx": raise RuntimeError("Error: Not a pbzx file") # Read 8 bytes for initial flags - flags = seekread(f, length = 8) + flags = seekread(f, length=8) # Interpret the flags as a 64-bit big-endian unsigned int - flags = struct.unpack('>Q', flags)[0] + flags = struct.unpack(">Q", flags)[0] while flags & (1 << 24): - with open(xar_out_path, 'wb') as xar_f: + with open(xar_out_path, "wb") as xar_f: xar_f.seek(0, os.SEEK_END) # Read in more flags - flags = seekread(f, length = 8) - flags = struct.unpack('>Q', flags)[0] + flags = seekread(f, length=8) + flags = struct.unpack(">Q", flags)[0] # Read in length - f_length = seekread(f, length = 8) - f_length = struct.unpack('>Q', f_length)[0] - xzmagic = seekread(f, length = 6) - if xzmagic != '\xfd7zXZ\x00': + f_length = seekread(f, length=8) + f_length = struct.unpack(">Q", f_length)[0] + xzmagic = seekread(f, length=6) + if xzmagic != "\xfd7zXZ\x00": # This isn't xz content, this is actually _raw decompressed cpio_ chunk of 16MB in size... # Let's back up ... - seekread(f, offset = -6, length = 0) + seekread(f, offset=-6, length=0) # ... and split it out ... - f_content = seekread(f, length = f_length) + f_content = seekread(f, length=f_length) section += 1 - decomp_out = f'{pbzx_path}.part{section:02d}.cpio' - with open(decomp_out, 'wb') as g: + decomp_out = f"{pbzx_path}.part{section:02d}.cpio" + with open(decomp_out, "wb") as g: g.write(f_content) # Now to start the next section, which should hopefully be .xz (we'll just assume it is ...) section += 1 - xar_out_path = f'{pbzx_path}.part{section:02d}.cpio.xz' + xar_out_path = f"{pbzx_path}.part{section:02d}.cpio.xz" else: f_length -= 6 # This part needs buffering - f_content = seekread(f, length = f_length) - tail = seekread(f, offset = -2, length = 2) + f_content = seekread(f, length=f_length) + tail = seekread(f, offset=-2, length=2) xar_f.write(xzmagic) xar_f.write(f_content) - if tail != 'YZ': + if tail != "YZ": raise RuntimeError("Error: Footer is not xar file footer") def main(): parse_pbzx(sys.argv[1]) - print("Now xz decompress the .xz chunks, then 'cat' them all together in order into a single new.cpio file") + print( + "Now xz decompress the .xz chunks, then 'cat' them all together in order into a single new.cpio file" + ) -if __name__ == '__main__': +if __name__ == "__main__": main() diff --git a/development/pdbparse-to-json.py b/development/pdbparse-to-json.py index 6ffa4ea49..49b4da009 100644 --- a/development/pdbparse-to-json.py +++ b/development/pdbparse-to-json.py @@ -13,10 +13,10 @@ import pdbparse.undecorate logger = logging.getLogger(__name__) logger.setLevel(1) -if __name__ == '__main__': +if __name__ == "__main__": console = logging.StreamHandler() console.setLevel(1) - formatter = logging.Formatter('%(levelname)-8s %(name)-12s: %(message)s') + formatter = logging.Formatter("%(levelname)-8s %(name)-12s: %(message)s") console.setFormatter(formatter) logger.addHandler(console) @@ -25,12 +25,12 @@ class PDBRetreiver: def retreive_pdb(self, guid: str, file_name: str) -> Optional[str]: logger.info("Download PDB file...") - file_name = ".".join(file_name.split(".")[:-1] + ['pdb']) - for sym_url in ['http://msdl.microsoft.com/download/symbols']: + file_name = ".".join(file_name.split(".")[:-1] + ["pdb"]) + for sym_url in ["http://msdl.microsoft.com/download/symbols"]: url = sym_url + f"/{file_name}/{guid}/" result = None - for suffix in [file_name[:-1] + '_', file_name]: + for suffix in [file_name[:-1] + "_", file_name]: try: logger.debug("Attempting to retrieve %s", url + suffix) result, _ = request.urlretrieve(url + suffix) @@ -69,7 +69,7 @@ class PDBConvertor: "float": "float", "double": "float", "long double": "float", - "void": "void" + "void": "void", } base_type_size = { @@ -122,13 +122,18 @@ class PDBConvertor: self._seen_ctypes.add(ctype) return self.ctype[ctype] - def lookup_ctype_pointers(self, ctype_pointer: str) -> Dict[str, Union[str, Dict[str, str]]]: - base_type = ctype_pointer.replace('32P', '').replace('64P', '') + def lookup_ctype_pointers( + self, ctype_pointer: str + ) -> Dict[str, Union[str, Dict[str, str]]]: + base_type = ctype_pointer.replace("32P", "").replace("64P", "") if base_type == ctype_pointer: # We raise a KeyError, because we've been asked about a type that isn't a pointer raise KeyError self._seen_ctypes.add(base_type) - return {"kind": "pointer", "subtype": {"kind": "base", "name": self.ctype[base_type]}} + return { + "kind": "pointer", + "subtype": {"kind": "base", "name": self.ctype[base_type]}, + } def read_pdb(self) -> Dict: """Reads in the PDB file and forms essentially a python dictionary of necessary data""" @@ -137,31 +142,31 @@ class PDBConvertor: "enums": self.read_enums(), "metadata": self.generate_metadata(), "symbols": self.read_symbols(), - "base_types": self.read_basetypes() + "base_types": self.read_basetypes(), } return output def generate_metadata(self) -> Dict[str, Any]: """Generates the metadata necessary for this object""" dbg = self._pdb.STREAM_DBI - last_bytes = str(binascii.hexlify(self._pdb.STREAM_PDB.GUID.Data4), 'ascii')[-16:] - guidstr = f'{self._pdb.STREAM_PDB.GUID.Data1:08x}{self._pdb.STREAM_PDB.GUID.Data2:04x}{self._pdb.STREAM_PDB.GUID.Data3:04x}{last_bytes}' + last_bytes = str(binascii.hexlify(self._pdb.STREAM_PDB.GUID.Data4), "ascii")[ + -16: + ] + guidstr = f"{self._pdb.STREAM_PDB.GUID.Data1:08x}{self._pdb.STREAM_PDB.GUID.Data2:04x}{self._pdb.STREAM_PDB.GUID.Data3:04x}{last_bytes}" pdb_data = { "GUID": guidstr.upper(), "age": self._pdb.STREAM_PDB.Age, "database": "ntkrnlmp.pdb", - "machine_type": int(dbg.machine) + "machine_type": int(dbg.machine), } result = { "format": "6.0.0", "producer": { "datetime": datetime.datetime.now().isoformat(), "name": "pdbconv", - "version": "0.1.0" + "version": "0.1.0", }, - "windows": { - "pdb": pdb_data - } + "windows": {"pdb": pdb_data}, } return result @@ -172,16 +177,21 @@ class PDBConvertor: stream = self._pdb.STREAM_TPI for type_index in stream.types: user_type = stream.types[type_index] - if (user_type.leaf_type == "LF_ENUM" and not user_type.prop.fwdref): + if user_type.leaf_type == "LF_ENUM" and not user_type.prop.fwdref: output.update(self._format_enum(user_type)) return output def _format_enum(self, user_enum): output = { user_enum.name: { - 'base': self.lookup_ctype(user_enum.utype), - 'size': self._determine_size(user_enum.utype), - 'constants': dict([(enum.name, enum.enum_value) for enum in user_enum.fieldlist.substructs]) + "base": self.lookup_ctype(user_enum.utype), + "size": self._determine_size(user_enum.utype), + "constants": dict( + [ + (enum.name, enum.enum_value) + for enum in user_enum.fieldlist.substructs + ] + ), } } return output @@ -201,7 +211,7 @@ class PDBConvertor: omap = None for sym in self._pdb.STREAM_GSYM.globals: - if not hasattr(sym, 'offset'): + if not hasattr(sym, "offset"): continue try: virt_base = sects[sym.segment - 1].VirtualAddress @@ -222,9 +232,9 @@ class PDBConvertor: stream = self._pdb.STREAM_TPI for type_index in stream.types: user_type = stream.types[type_index] - if (user_type.leaf_type == "LF_STRUCTURE" and not user_type.prop.fwdref): + if user_type.leaf_type == "LF_STRUCTURE" and not user_type.prop.fwdref: output.update(self._format_usertype(user_type, "struct")) - elif (user_type.leaf_type == "LF_UNION" and not user_type.prop.fwdref): + elif user_type.leaf_type == "LF_UNION" and not user_type.prop.fwdref: output.update(self._format_usertype(user_type, "union")) return output @@ -232,16 +242,22 @@ class PDBConvertor: """Produces a single usertype""" fields: Dict[str, Dict[str, Any]] = {} [fields.update(self._format_field(s)) for s in usertype.fieldlist.substructs] - return {usertype.name: {'fields': fields, 'kind': kind, 'size': usertype.size}} + return {usertype.name: {"fields": fields, "kind": kind, "size": usertype.size}} def _format_field(self, field) -> Dict[str, Dict[str, Any]]: - return {field.name: {"offset": field.offset, "type": self._format_kind(field.index)}} + return { + field.name: {"offset": field.offset, "type": self._format_kind(field.index)} + } def _determine_size(self, field): output = None if isinstance(field, str): output = self.base_type_size[field] - elif (field.leaf_type == "LF_STRUCTURE" or field.leaf_type == "LF_ARRAY" or field.leaf_type == "LF_UNION"): + elif ( + field.leaf_type == "LF_STRUCTURE" + or field.leaf_type == "LF_ARRAY" + or field.leaf_type == "LF_UNION" + ): output = field.size elif field.leaf_type == "LF_POINTER": output = self.base_type_size[field.ptr_attr.type] @@ -255,6 +271,7 @@ class PDBConvertor: output = self._determine_size(field.index) if output is None: import pdb + pdb.set_trace() raise ValueError(f"Unknown size for field: {field.name}") return output @@ -266,36 +283,37 @@ class PDBConvertor: output = self.lookup_ctype_pointers(kind) except KeyError: try: - output = {'kind': 'base', 'name': self.lookup_ctype(kind)} + output = {"kind": "base", "name": self.lookup_ctype(kind)} except KeyError: - output = {'kind': 'base', 'name': kind} - elif kind.leaf_type == 'LF_MODIFIER': + output = {"kind": "base", "name": kind} + elif kind.leaf_type == "LF_MODIFIER": output = self._format_kind(kind.modified_type) - elif kind.leaf_type == 'LF_STRUCTURE': - output = {'kind': 'struct', 'name': kind.name} - elif kind.leaf_type == 'LF_UNION': - output = {'kind': 'union', 'name': kind.name} - elif kind.leaf_type == 'LF_BITFIELD': + elif kind.leaf_type == "LF_STRUCTURE": + output = {"kind": "struct", "name": kind.name} + elif kind.leaf_type == "LF_UNION": + output = {"kind": "union", "name": kind.name} + elif kind.leaf_type == "LF_BITFIELD": output = { - 'kind': 'bitfield', - 'type': self._format_kind(kind.base_type), - 'bit_length': kind.length, - 'bit_position': kind.position + "kind": "bitfield", + "type": self._format_kind(kind.base_type), + "bit_length": kind.length, + "bit_position": kind.position, } - elif kind.leaf_type == 'LF_POINTER': - output = {'kind': 'pointer', 'subtype': self._format_kind(kind.utype)} - elif kind.leaf_type == 'LF_ARRAY': + elif kind.leaf_type == "LF_POINTER": + output = {"kind": "pointer", "subtype": self._format_kind(kind.utype)} + elif kind.leaf_type == "LF_ARRAY": output = { - 'kind': 'array', - 'count': kind.size // self._determine_size(kind.element_type), - 'subtype': self._format_kind(kind.element_type) + "kind": "array", + "count": kind.size // self._determine_size(kind.element_type), + "subtype": self._format_kind(kind.element_type), } - elif kind.leaf_type == 'LF_ENUM': - output = {'kind': 'enum', 'name': kind.name} - elif kind.leaf_type == 'LF_PROCEDURE': - output = {'kind': "function"} + elif kind.leaf_type == "LF_ENUM": + output = {"kind": "enum", "name": kind.name} + elif kind.leaf_type == "LF_PROCEDURE": + output = {"kind": "function"} else: import pdb + pdb.set_trace() return output @@ -305,40 +323,70 @@ class PDBConvertor: if "64" in self._pdb.STREAM_DBI.machine: ptr_size = 8 - output = {"pointer": {"endian": "little", "kind": "int", "signed": False, "size": ptr_size}} + output = { + "pointer": { + "endian": "little", + "kind": "int", + "signed": False, + "size": ptr_size, + } + } for index in self._seen_ctypes: output[self.ctype[index]] = { "endian": "little", "kind": self.ctype_python_types.get(self.ctype[index], "int"), "signed": False if "_U" in index else True, - "size": self.base_type_size[index] + "size": self.base_type_size[index], } return output -if __name__ == '__main__': - parser = argparse.ArgumentParser(description = "Convertor for PDB files to Volatility 3 Intermediate Symbol Format") - parser.add_argument("-o", "--output", metavar = "OUTPUT", help = "Filename for data output", required = True) - file_group = parser.add_argument_group("file", description = "File-based conversion of PDB to ISF") - file_group.add_argument("-f", "--file", metavar = "FILE", help = "PDB file to translate to ISF") - data_group = parser.add_argument_group("data", description = "Convert based on a GUID and filename pattern") - data_group.add_argument("-p", "--pattern", metavar = "PATTERN", help = "Filename pattern to recover PDB file") - data_group.add_argument("-g", - "--guid", - metavar = "GUID", - help = "GUID + Age string for the required PDB file", - default = None) - data_group.add_argument("-k", - "--keep", - action = "store_true", - default = False, - help = "Keep the downloaded PDB file") +if __name__ == "__main__": + parser = argparse.ArgumentParser( + description="Convertor for PDB files to Volatility 3 Intermediate Symbol Format" + ) + parser.add_argument( + "-o", + "--output", + metavar="OUTPUT", + help="Filename for data output", + required=True, + ) + file_group = parser.add_argument_group( + "file", description="File-based conversion of PDB to ISF" + ) + file_group.add_argument( + "-f", "--file", metavar="FILE", help="PDB file to translate to ISF" + ) + data_group = parser.add_argument_group( + "data", description="Convert based on a GUID and filename pattern" + ) + data_group.add_argument( + "-p", + "--pattern", + metavar="PATTERN", + help="Filename pattern to recover PDB file", + ) + data_group.add_argument( + "-g", + "--guid", + metavar="GUID", + help="GUID + Age string for the required PDB file", + default=None, + ) + data_group.add_argument( + "-k", + "--keep", + action="store_true", + default=False, + help="Keep the downloaded PDB file", + ) args = parser.parse_args() delfile = False filename = None if args.guid is not None and args.pattern is not None: - filename = PDBRetreiver().retreive_pdb(guid = args.guid, file_name = args.pattern) + filename = PDBRetreiver().retreive_pdb(guid=args.guid, file_name=args.pattern) delfile = True elif args.file: filename = args.file @@ -351,7 +399,7 @@ if __name__ == '__main__': convertor = PDBConvertor(filename) with open(args.output, "w") as f: - json.dump(convertor.read_pdb(), f, indent = 2, sort_keys = True) + json.dump(convertor.read_pdb(), f, indent=2, sort_keys=True) if args.keep: print(f"Temporary PDB file: {filename}") diff --git a/development/schema_validate.py b/development/schema_validate.py index 0ea82d537..cf9565d68 100644 --- a/development/schema_validate.py +++ b/development/schema_validate.py @@ -9,7 +9,7 @@ sys.path += ".." console = logging.StreamHandler() console.setLevel(logging.DEBUG) -formatter = logging.Formatter('%(levelname)-8s %(name)-12s: %(message)s') +formatter = logging.Formatter("%(levelname)-8s %(name)-12s: %(message)s") console.setFormatter(formatter) logger = logging.getLogger("") @@ -18,10 +18,10 @@ logger.setLevel(logging.DEBUG) from volatility3 import schemas # noqa: E402 -if __name__ == '__main__': +if __name__ == "__main__": parser = argparse.ArgumentParser("Validates ") - parser.add_argument("-s", "--schema", dest = "schema", default = None) - parser.add_argument("filenames", metavar = "FILE", nargs = '+') + parser.add_argument("-s", "--schema", dest="schema", default=None) + parser.add_argument("filenames", metavar="FILE", nargs="+") args = parser.parse_args() diff --git a/development/stock-linux-json.py b/development/stock-linux-json.py index 877f78e1c..967cc7e18 100644 --- a/development/stock-linux-json.py +++ b/development/stock-linux-json.py @@ -9,7 +9,7 @@ import requests import rpmfile from debian import debfile -DWARF2JSON = './dwarf2json' +DWARF2JSON = "./dwarf2json" class Downloader: @@ -17,7 +17,7 @@ class Downloader: def __init__(self, url_lists: List[List[str]]) -> None: self.url_lists = url_lists - def download_lists(self, keep = False): + def download_lists(self, keep=False): for url_list in self.url_lists: print("Downloading files...") files_for_processing = self.download_list(url_list) @@ -35,43 +35,45 @@ class Downloader: with tempfile.NamedTemporaryFile() as archivedata: archivedata.write(data.content) archivedata.seek(0) - if url.endswith('.rpm'): + if url.endswith(".rpm"): processed_files[url] = self.process_rpm(archivedata) - elif url.endswith('.deb'): + elif url.endswith(".deb"): processed_files[url] = self.process_deb(archivedata) return processed_files def process_rpm(self, archivedata) -> Optional[str]: - rpm = rpmfile.RPMFile(fileobj = archivedata) + rpm = rpmfile.RPMFile(fileobj=archivedata) member = None extracted = None for member in rpm.getmembers(): - if 'vmlinux' in member.name or 'System.map' in member.name: + if "vmlinux" in member.name or "System.map" in member.name: print(f" - Extracting {member.name}") extracted = rpm.extractfile(member) break if not member or not extracted: return None - with tempfile.NamedTemporaryFile(delete = False, - prefix = 'vmlinux' if 'vmlinux' in member.name else 'System.map') as output: + with tempfile.NamedTemporaryFile( + delete=False, prefix="vmlinux" if "vmlinux" in member.name else "System.map" + ) as output: print(f" - Writing to {output.name}") output.write(extracted.read()) return output.name def process_deb(self, archivedata) -> Optional[str]: - deb = debfile.DebFile(fileobj = archivedata) + deb = debfile.DebFile(fileobj=archivedata) member = None extracted = None for member in deb.data.tgz().getmembers(): - if member.name.endswith('vmlinux') or 'System.map' in member.name: + if member.name.endswith("vmlinux") or "System.map" in member.name: print(f" - Extracting {member.name}") extracted = deb.data.get_file(member.name) break if not member or not extracted: return None - with tempfile.NamedTemporaryFile(delete = False, - prefix = 'vmlinux' if 'vmlinux' in member.name else 'System.map') as output: + with tempfile.NamedTemporaryFile( + delete=False, prefix="vmlinux" if "vmlinux" in member.name else "System.map" + ) as output: print(f" - Writing to {output.name}") output.write(extracted.read()) return output.name @@ -83,43 +85,55 @@ class Downloader: if named_files[i] is None: print(f"FAILURE: None encountered for {i}") return - args = [DWARF2JSON, 'linux'] - output_filename = 'unknown-kernel.json' + args = [DWARF2JSON, "linux"] + output_filename = "unknown-kernel.json" for named_file in named_files: - prefix = '--system-map' - if 'System' not in named_files[named_file]: - prefix = '--elf' - output_filename = './' + '-'.join((named_file.split('/')[-1]).split('-')[2:])[:-4] + '.json.xz' + prefix = "--system-map" + if "System" not in named_files[named_file]: + prefix = "--elf" + output_filename = ( + "./" + + "-".join((named_file.split("/")[-1]).split("-")[2:])[:-4] + + ".json.xz" + ) args += [prefix, named_files[named_file]] print(f" - Running {args}") - proc = subprocess.run(args, capture_output = True) + proc = subprocess.run(args, capture_output=True) print(f" - Writing to {output_filename}") - with lzma.open(output_filename, 'w') as f: + with lzma.open(output_filename, "w") as f: f.write(proc.stdout) -if __name__ == '__main__': - parser = argparse.ArgumentParser(description = "Takes a list of URLs for Centos and downloads them") - parser.add_argument("-f", - "--file", - dest = 'filename', - metavar = "FILENAME", - help = "Filename to be read", - required = True) - parser.add_argument("-d", - "--dwarf2json", - dest = 'dwarfpath', - metavar = "PATH", - default = DWARF2JSON, - help = "Path to the dwarf2json binary", - required = True) - parser.add_argument("-k", - "--keep", - dest = 'keep', - action = 'store_true', - help = 'Keep extracted temporary files after completion', - default = False) +if __name__ == "__main__": + parser = argparse.ArgumentParser( + description="Takes a list of URLs for Centos and downloads them" + ) + parser.add_argument( + "-f", + "--file", + dest="filename", + metavar="FILENAME", + help="Filename to be read", + required=True, + ) + parser.add_argument( + "-d", + "--dwarf2json", + dest="dwarfpath", + metavar="PATH", + default=DWARF2JSON, + help="Path to the dwarf2json binary", + required=True, + ) + parser.add_argument( + "-k", + "--keep", + dest="keep", + action="store_true", + help="Keep extracted temporary files after completion", + default=False, + ) args = parser.parse_args() DWARF2JSON = args.dwarfpath @@ -132,4 +146,4 @@ if __name__ == '__main__': urls += [[lines[2 * i].strip(), lines[(2 * i) + 1].strip()]] d = Downloader(urls) - d.download_lists(keep = args.keep) + d.download_lists(keep=args.keep) diff --git a/test/plugins/windows/test_scheduled_tasks.py b/test/plugins/windows/test_scheduled_tasks.py index fdb19fbae..15d7f79a6 100644 --- a/test/plugins/windows/test_scheduled_tasks.py +++ b/test/plugins/windows/test_scheduled_tasks.py @@ -2,9 +2,11 @@ import sys import struct import traceback import unittest + sys.path.insert(0, "../../volatility3") from volatility3.plugins.windows import scheduled_tasks + class TestActionsDecoding(unittest.TestCase): def test_decode_exe_action(self): # fmt: off diff --git a/volatility3/framework/layers/resources.py b/volatility3/framework/layers/resources.py index 00215f624..236d256f1 100644 --- a/volatility3/framework/layers/resources.py +++ b/volatility3/framework/layers/resources.py @@ -29,7 +29,7 @@ except ImportError: try: # Import so that the handler is found by the framework.class_subclasses callc - from smb import SMBHandler as SMBHandler # lgtm [py/unused-import] + from smb import SMBHandler as SMBHandler # lgtm [py/unused-import] except ImportError: # If we fail to import this, it means that SMB handling won't be available pass From 503999ddcafc6eee23d53a0e08c3ebad3139892e Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Sun, 24 Nov 2024 13:04:58 +0100 Subject: [PATCH 1004/2186] update black workflow (formatter not a linter) --- .github/workflows/black.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index e29ab6f29..d755d9402 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -1,4 +1,4 @@ -name: Black python linter +name: Black python formatter on: [push, pull_request] From ab19b52d5b85a6fc7275bf8108fa74e966c72694 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Wed, 27 Nov 2024 11:58:14 +0100 Subject: [PATCH 1005/2186] run `ruff check --fix` --- volatility3/framework/automagic/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index c044fdd93..f22cae012 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -3,7 +3,7 @@ # import logging -from typing import Optional, Tuple, Type +from typing import Optional, Tuple from volatility3.framework import constants, interfaces from volatility3.framework.automagic import symbol_cache, symbol_finder From d9c370c6ae94ba7ff94075279f65608034b91830 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Mon, 9 Dec 2024 15:01:32 +0100 Subject: [PATCH 1006/2186] format with black --- volatility3/framework/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index b60ae5576..d5e2c50b4 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -143,9 +143,7 @@ def import_files(base_module, ignore_errors: bool = False) -> List[str]: def _filter_files(filename: str): """Ensures that a filename traversed is an importable python file""" - return (filename.endswith((".py", ".pyc"))) and not filename.startswith( - "__" - ) + return (filename.endswith((".py", ".pyc"))) and not filename.startswith("__") def import_file(module: str, path: str, ignore_errors: bool = False) -> List[str]: From c6c3b35f52a33d8a4c7ddb57245d73c6270e08f3 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Thu, 12 Dec 2024 09:21:36 +0100 Subject: [PATCH 1007/2186] run `ruff check . --unsafe-fixes --fix` --- volatility3/framework/plugins/windows/mftscan.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index feea78ece..c4d05e634 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -275,19 +275,17 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): display_data = True if display_data: - for record in cls.parse_data_record( + yield from cls.parse_data_record( mft_record, attr, record_map, return_first_record - ): - yield record + ) def _generator(self): - for record in self.enumerate_mft_records( + yield from self.enumerate_mft_records( self.context, self.config_path, self.config["primary"], self.parse_mft_records, - ): - yield record + ) def generate_timeline(self): for row in self._generator(): From 44e8ac645fe08de903df830b15eca32d006d8f50 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Tue, 17 Dec 2024 22:59:04 +0100 Subject: [PATCH 1008/2186] chore: make ruff happy the import is not needed, was previously used for type annotations --- .../framework/plugins/windows/indirect_system_calls.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/indirect_system_calls.py b/volatility3/framework/plugins/windows/indirect_system_calls.py index f09851b30..dac0f9c4a 100644 --- a/volatility3/framework/plugins/windows/indirect_system_calls.py +++ b/volatility3/framework/plugins/windows/indirect_system_calls.py @@ -13,12 +13,6 @@ from volatility3.plugins.windows import pslist, direct_system_calls vollog = logging.getLogger(__name__) -try: - import capstone -except ImportError: - # The generator of DirectSystemCalls will bail with a warning if capstone is not installed - pass - class IndirectSystemCalls(direct_system_calls.DirectSystemCalls): _required_framework_version = (2, 4, 0) From 0d7c2906eecadcc083e4919176350f113e6d8931 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Tue, 17 Dec 2024 16:01:51 -0600 Subject: [PATCH 1009/2186] #1324 - update pedump error messages --- volatility3/framework/plugins/windows/pedump.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/pedump.py b/volatility3/framework/plugins/windows/pedump.py index 5b4bb07d7..d9ab39b4a 100644 --- a/volatility3/framework/plugins/windows/pedump.py +++ b/volatility3/framework/plugins/windows/pedump.py @@ -224,11 +224,11 @@ class PEDump(interfaces.plugins.PluginInterface): ) if self.config["kernel_module"] and self.config["pid"]: - vollog.error("Only --kernel_module or --pid should be set. Not both") + vollog.error("Only 'kernel-module' or 'pid' should be set, not both") return if not self.config["kernel_module"] and not self.config["pid"]: - vollog.error("--kernel_module or --pid must be set") + vollog.error("Either 'kernel-module' or 'pid' argument must be set") return if self.config["kernel_module"]: From e035faa32392bc27d20f4b7b0c01feb0e9da2210 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 09:55:13 +1100 Subject: [PATCH 1010/2186] bump framework minor version --- volatility3/framework/constants/_version.py | 2 +- volatility3/framework/plugins/linux/capabilities.py | 2 +- volatility3/framework/plugins/linux/envars.py | 2 +- volatility3/framework/plugins/linux/psaux.py | 2 +- volatility3/framework/plugins/linux/pslist.py | 2 +- volatility3/framework/plugins/linux/psscan.py | 2 +- volatility3/framework/plugins/linux/pstree.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 55ef19e4b..93e9c8432 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 12 # Number of changes that only add to the interface +VERSION_MINOR = 13 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index a06ee4c1b..afd91c48e 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -49,7 +49,7 @@ class CapabilitiesData: class Capabilities(plugins.PluginInterface): """Lists process capabilities""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 13, 0) _version = (1, 1, 0) @classmethod diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index a3eb21cf5..aec3eeb14 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -16,7 +16,7 @@ vollog = logging.getLogger(__name__) class Envars(plugins.PluginInterface): """Lists processes with their environment variables""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 13, 0) _version = (1, 1, 0) @classmethod diff --git a/volatility3/framework/plugins/linux/psaux.py b/volatility3/framework/plugins/linux/psaux.py index 5a4d75c70..60424a990 100644 --- a/volatility3/framework/plugins/linux/psaux.py +++ b/volatility3/framework/plugins/linux/psaux.py @@ -14,7 +14,7 @@ from volatility3.plugins.linux import pslist class PsAux(plugins.PluginInterface): """Lists processes with their command line arguments""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 13, 0) _version = (1, 1, 0) @classmethod diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index edfc0688c..a6d2e6538 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -17,7 +17,7 @@ from volatility3.plugins.linux import elfs class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists the processes present in a particular linux memory image.""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 13, 0) _version = (3, 1, 0) @classmethod diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index 55e3778ab..2b20ce583 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -27,7 +27,7 @@ class DescExitStateEnum(Enum): class PsScan(interfaces.plugins.PluginInterface): """Scans for processes present in a particular linux image.""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 13, 0) _version = (1, 1, 0) @classmethod diff --git a/volatility3/framework/plugins/linux/pstree.py b/volatility3/framework/plugins/linux/pstree.py index 7ea9df3d6..c80cfbec7 100644 --- a/volatility3/framework/plugins/linux/pstree.py +++ b/volatility3/framework/plugins/linux/pstree.py @@ -12,7 +12,7 @@ class PsTree(interfaces.plugins.PluginInterface): """Plugin for listing processes in a tree based on their parent process ID.""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 13, 0) _version = (1, 1, 0) @classmethod From 9c587b037885489442c55525add1ab6bfb69b852 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 10:12:32 +1100 Subject: [PATCH 1011/2186] linux: testcases: improve existent testcases code and checks --- test/test_volatility.py | 89 ++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 49 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index b5910e1c8..300ab572c 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -334,84 +334,84 @@ def test_windows_vadyarascan_yara_string(image, volatility, python): def test_linux_pslist(image, volatility, python): rc, out, _err = runvol_plugin("linux.pslist.PsList", image, volatility, python) - out = out.lower() + assert rc == 0 + out = out.lower() assert (out.find(b"init") != -1) or (out.find(b"systemd") != -1) assert out.find(b"watchdog") != -1 assert out.count(b"\n") > 10 - assert rc == 0 def test_linux_check_idt(image, volatility, python): rc, out, _err = runvol_plugin( "linux.check_idt.Check_idt", image, volatility, python ) - out = out.lower() + assert rc == 0 + out = out.lower() assert out.count(b"__kernel__") >= 10 assert out.count(b"\n") > 10 - assert rc == 0 def test_linux_check_syscall(image, volatility, python): rc, out, _err = runvol_plugin( "linux.check_syscall.Check_syscall", image, volatility, python ) - out = out.lower() + assert rc == 0 + out = out.lower() assert out.find(b"sys_close") != -1 assert out.find(b"sys_open") != -1 assert out.count(b"\n") > 100 - assert rc == 0 def test_linux_lsmod(image, volatility, python): rc, out, _err = runvol_plugin("linux.lsmod.Lsmod", image, volatility, python) - out = out.lower() - assert out.count(b"\n") > 10 assert rc == 0 + out = out.lower() + assert out.count(b"\n") > 10 def test_linux_lsof(image, volatility, python): rc, out, _err = runvol_plugin("linux.lsof.Lsof", image, volatility, python) - out = out.lower() + assert rc == 0 + out = out.lower() assert out.count(b"socket:") >= 10 assert out.count(b"\n") > 35 - assert rc == 0 def test_linux_proc_maps(image, volatility, python): rc, out, _err = runvol_plugin("linux.proc.Maps", image, volatility, python) - out = out.lower() + assert rc == 0 + out = out.lower() assert out.count(b"anonymous mapping") >= 10 assert out.count(b"\n") > 100 - assert rc == 0 def test_linux_tty_check(image, volatility, python): rc, out, _err = runvol_plugin( "linux.tty_check.tty_check", image, volatility, python ) - out = out.lower() + assert rc == 0 + out = out.lower() assert out.find(b"__kernel__") != -1 assert out.count(b"\n") >= 5 - assert rc == 0 def test_linux_sockstat(image, volatility, python): rc, out, _err = runvol_plugin("linux.sockstat.Sockstat", image, volatility, python) + assert rc == 0 assert out.count(b"AF_UNIX") >= 354 assert out.count(b"AF_BLUETOOTH") >= 5 assert out.count(b"AF_INET") >= 32 assert out.count(b"AF_INET6") >= 20 assert out.count(b"AF_PACKET") >= 1 assert out.count(b"AF_NETLINK") >= 43 - assert rc == 0 def test_linux_library_list(image, volatility, python): @@ -423,49 +423,48 @@ def test_linux_library_list(image, volatility, python): pluginargs=["--pids", "2363"], ) + assert rc == 0 assert re.search( rb"NetworkManager\s2363\s0x7f52cdda0000\s/lib/x86_64-linux-gnu/libnss_files.so.2", out, ) assert out.count(b"\n") > 10 - assert rc == 0 def test_linux_pstree(image, volatility, python): rc, out, _err = runvol_plugin("linux.pstree.PsTree", image, volatility, python) - out = out.lower() + assert rc == 0 + out = out.lower() assert (out.find(b"init") != -1) or (out.find(b"systemd") != -1) assert out.count(b"\n") > 10 - assert rc == 0 def test_linux_pidhashtable(image, volatility, python): rc, out, _err = runvol_plugin( "linux.pidhashtable.PIDHashTable", image, volatility, python ) - out = out.lower() + assert rc == 0 + out = out.lower() assert (out.find(b"init") != -1) or (out.find(b"systemd") != -1) assert out.count(b"\n") > 10 - assert rc == 0 def test_linux_bash(image, volatility, python): rc, out, _err = runvol_plugin("linux.bash.Bash", image, volatility, python) - out = out.lower() - assert out.count(b"\n") > 10 assert rc == 0 + assert out.count(b"\n") > 10 def test_linux_boottime(image, volatility, python): rc, out, _err = runvol_plugin("linux.boottime.Boottime", image, volatility, python) - out = out.lower() - assert out.count(b"utc") >= 1 assert rc == 0 + out = out.lower() + assert out.count(b"utc") >= 1 def test_linux_capabilities(image, volatility, python): @@ -482,36 +481,33 @@ def test_linux_capabilities(image, volatility, python): # However, we can still check that the plugin requirements are met. return None - out = out.lower() - - assert out.count(b"\n") > 10 assert rc == 0 + assert out.count(b"\n") > 10 def test_linux_check_creds(image, volatility, python): - rc, _out, _err = runvol_plugin( + rc, out, _err = runvol_plugin( "linux.check_creds.Check_creds", image, volatility, python ) # linux-sample-1.bin has no processes sharing credentials. # This validates that plugin requirements are met and exceptions are not raised. assert rc == 0 + assert out.count(b"\n") >= 4 def test_linux_elfs(image, volatility, python): rc, out, _err = runvol_plugin("linux.elfs.Elfs", image, volatility, python) - out = out.lower() - assert out.count(b"\n") > 10 assert rc == 0 + assert out.count(b"\n") > 10 def test_linux_envars(image, volatility, python): rc, out, _err = runvol_plugin("linux.envars.Envars", image, volatility, python) - out = out.lower() - assert out.count(b"\n") > 10 assert rc == 0 + assert out.count(b"\n") > 10 def test_linux_kthreads(image, volatility, python): @@ -528,44 +524,42 @@ def test_linux_kthreads(image, volatility, python): # However, we can still check that the plugin requirements are met. return None - out = out.lower() - - assert out.count(b"\n") > 10 assert rc == 0 + assert out.count(b"\n") >= 4 def test_linux_malfind(image, volatility, python): - rc, _out, _err = runvol_plugin("linux.malfind.Malfind", image, volatility, python) + rc, out, _err = runvol_plugin("linux.malfind.Malfind", image, volatility, python) # linux-sample-1.bin has no process memory ranges with potential injected code. # This validates that plugin requirements are met and exceptions are not raised. assert rc == 0 + assert out.count(b"\n") >= 4 def test_linux_mountinfo(image, volatility, python): rc, out, _err = runvol_plugin( "linux.mountinfo.MountInfo", image, volatility, python ) - out = out.lower() - assert out.count(b"\n") > 10 assert rc == 0 + assert out.count(b"\n") > 10 def test_linux_psaux(image, volatility, python): rc, out, _err = runvol_plugin("linux.psaux.PsAux", image, volatility, python) - out = out.lower() - assert out.count(b"\n") > 50 assert rc == 0 + assert out.count(b"\n") > 50 def test_linux_ptrace(image, volatility, python): - rc, _out, _err = runvol_plugin("linux.ptrace.Ptrace", image, volatility, python) + rc, out, _err = runvol_plugin("linux.ptrace.Ptrace", image, volatility, python) - # linux-sample-1.bin has no processes being ptreaced. + # linux-sample-1.bin has no processes being ptraced. # This validates that plugin requirements are met and exceptions are not raised. assert rc == 0 + assert out.count(b"\n") >= 4 def test_linux_vmaregexscan(image, volatility, python): @@ -576,10 +570,9 @@ def test_linux_vmaregexscan(image, volatility, python): python, pluginargs=["--pid", "1", "--pattern", "\\x7fELF"], ) - out = out.lower() - assert out.count(b"\n") > 10 assert rc == 0 + assert out.count(b"\n") > 10 def test_linux_vmayarascan_yara_rule(image, volatility, python): @@ -613,9 +606,8 @@ def test_linux_vmayarascan_yara_rule(image, volatility, python): with contextlib.suppress(FileNotFoundError): os.remove(filename) - out = out.lower() - assert out.count(b"\n") > 4 assert rc == 0 + assert out.count(b"\n") > 4 def test_linux_vmayarascan_yara_string(image, volatility, python): @@ -626,10 +618,9 @@ def test_linux_vmayarascan_yara_string(image, volatility, python): python, pluginargs=["--pid", "1", "--yara-string", "ELF"], ) - out = out.lower() - assert out.count(b"\n") > 10 assert rc == 0 + assert out.count(b"\n") > 10 def test_linux_page_cache_files(image, volatility, python): @@ -640,8 +631,8 @@ def test_linux_page_cache_files(image, volatility, python): python, pluginargs=["--find", "/etc/passwd"], ) - out = out.lower() + assert rc == 0 assert out.count(b"\n") > 4 # inode_num inode_addr ... file_path From 69d291c644910b14c9ff07df83b24f23601f945d Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 10:16:59 +1100 Subject: [PATCH 1012/2186] linux: testcases: add 10 final test cases to achieve full plugin coverage --- test/test_volatility.py | 123 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) diff --git a/test/test_volatility.py b/test/test_volatility.py index 300ab572c..4b0455596 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -640,7 +640,130 @@ def test_linux_page_cache_files(image, volatility, python): rb"146829\s0x88001ab5c270.*?/etc/passwd", out, ) + + +def test_linux_page_cache_inodepages(image, volatility, python): + + inode_address = hex(0x88001AB5C270) + inode_dump_filename = f"inode_{inode_address}.dmp" + try: + rc, out, _err = runvol_plugin( + "linux.pagecache.InodePages", + image, + volatility, + python, + pluginargs=["--inode", inode_address, "--dump"], + ) + + assert rc == 0 + assert out.count(b"\n") > 4 + + # PageVAddr PagePAddr MappingAddr .. DumpSafe + assert re.search( + rb"0xea000054c5f8\s0x18389000\s0x88001ab5c3b0.*?True", + out, + ) + assert os.path.exists(inode_dump_filename) + inode_contents = open(inode_dump_filename, "rb").read() + assert inode_contents.count(b"\n") > 30 + assert inode_contents.count(b"root:x:0:0:root:/root:/bin/bash") > 0 + finally: + with contextlib.suppress(FileNotFoundError): + os.remove(inode_dump_filename) + + +def test_linux_check_afinfo(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.check_afinfo.Check_afinfo", image, volatility, python + ) + + # linux-sample-1.bin has no suspicious results. + # This validates that plugin requirements are met and exceptions are not raised. assert rc == 0 + assert out.count(b"\n") >= 4 + + +def test_linux_check_modules(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.check_modules.Check_modules", image, volatility, python + ) + + # linux-sample-1.bin has no suspicious results. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") >= 4 + + +def test_linux_ebpf_progs(image, volatility, python): + rc, out, err = runvol_plugin( + "linux.ebpf.EBPF", + image, + volatility, + python, + globalargs=["-vvv"], + ) + + if rc != 0 and err.count(b"Unsupported kernel") > 0: + # The linux-sample-1.bin kernel implementation isn't supported. + # However, we can still check that the plugin requirements are met. + return None + + assert rc == 0 + assert out.count(b"\n") > 4 + + +def test_linux_iomem(image, volatility, python): + rc, out, _err = runvol_plugin("linux.iomem.IOMem", image, volatility, python) + + assert rc == 0 + assert out.count(b"\n") > 100 + + +def test_linux_keyboard_notifiers(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.keyboard_notifiers.Keyboard_notifiers", image, volatility, python + ) + + # linux-sample-1.bin has no suspicious results for this plugin. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") >= 4 + + +def test_linux_kmesg(image, volatility, python): + rc, out, _err = runvol_plugin("linux.kmsg.Kmsg", image, volatility, python) + + assert rc == 0 + assert out.count(b"\n") > 100 + + +def test_linux_netfilter(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.netfilter.Netfilter", image, volatility, python + ) + + # linux-sample-1.bin has no suspicious results for this plugin. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") >= 4 + + +def test_linux_psscan(image, volatility, python): + rc, out, _err = runvol_plugin("linux.psscan.PsScan", image, volatility, python) + + assert rc == 0 + assert out.count(b"\n") > 100 + + +def test_linux_hidden_modules(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.hidden_modules.Hidden_modules", image, volatility, python + ) + + # linux-sample-1.bin has no hidden modules. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") >= 4 # MAC From 9c0dcad7b13cca5b3d75b1977ad4ad4a963bb0f9 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 10:42:54 +1100 Subject: [PATCH 1013/2186] linux: page cache inodepages testcase: explicitly close the file to improve clarity for AI processing --- test/test_volatility.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 4b0455596..5bce07481 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -664,7 +664,8 @@ def test_linux_page_cache_inodepages(image, volatility, python): out, ) assert os.path.exists(inode_dump_filename) - inode_contents = open(inode_dump_filename, "rb").read() + with open(inode_dump_filename, "rb") as fp: + inode_contents = fp.read() assert inode_contents.count(b"\n") > 30 assert inode_contents.count(b"root:x:0:0:root:/root:/bin/bash") > 0 finally: From e8a73dfb2d5ae368c4af758739b5593643b6bd41 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 11:29:28 +1100 Subject: [PATCH 1014/2186] linux: envars plugin: Add function to retrieve environment variables for a specific task. Code improvements. --- volatility3/framework/plugins/linux/envars.py | 147 ++++++++++-------- 1 file changed, 84 insertions(+), 63 deletions(-) diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index aec3eeb14..bb6f52a7a 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -3,8 +3,9 @@ # import logging +from typing import Iterable, Tuple -from volatility3.framework import exceptions, renderers +from volatility3.framework import renderers, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -17,7 +18,7 @@ class Envars(plugins.PluginInterface): """Lists processes with their environment variables""" _required_framework_version = (2, 13, 0) - _version = (1, 1, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -39,76 +40,96 @@ class Envars(plugins.PluginInterface): ), ] + @staticmethod + def get_task_env_variables( + context: interfaces.context.ContextInterface, + task: interfaces.objects.ObjectInterface, + env_area_max_size: int = 8192, + ) -> Iterable[Tuple[str, str]]: + """Yields environment variables for a given task. + + Args: + context: The plugin's operational context. + task: The task object from which to extract environment variables. + + Yields: + Tuples of (key, value) representing each environment variable. + """ + + task_name = utility.array_to_string(task.comm) + task_pid = task.pid + env_start = task.mm.env_start + env_end = task.mm.env_end + env_area_size = env_end - env_start + if not (0 < env_area_size <= env_area_max_size): + vollog.debug( + f"Task {task_pid} {task_name} appears to have environment variables of size " + f"{env_area_size} bytes which fails the sanity checking, will not extract " + "any envars." + ) + return None + + # Get process layer to read envars from + proc_layer_name = task.add_process_layer() + if proc_layer_name is None: + return None + proc_layer = context.layers[proc_layer_name] + + # Ensure the entire buffer is readable to prevent relying on exception handling + if not proc_layer.is_valid(env_start, env_area_size): + # Not mapped / swapped out + vollog.debug( + f"Unable to read environment variables for {task_pid} {task_name} starting at " + f" virtual address 0x{env_start:x} for {env_area_size} bytes, will not " + "extract any envars." + ) + return None + + # Read the full task environment variable buffer. + envar_data = proc_layer.read(env_start, env_area_size) + + # Parse envar data, envars are null terminated, keys and values are separated by '=' + envar_data = envar_data.rstrip(b"\x00") + for envar_pair in envar_data.split(b"\x00"): + try: + env_key, env_value = envar_pair.decode().split("=", 1) + except ValueError: + # Some legitimate programs, like 'avahi-daemon', avoid reallocating the args + # and instead exploit the fact that the environment variables area is contiguous + # to the args. This allows them to include a longer process name in the listing, + # causing overwrites and incorrect results. In such cases, it's better to abort + # the current task rather than displaying misleading or incorrect output. + break + + yield env_key, env_value + def _generator(self, tasks): """Generates a listing of processes along with environment variables""" # walk the process list and return the envars for task in tasks: - pid = task.pid - - # get process name as string - name = utility.array_to_string(task.comm) - ppid = task.get_parent_pid() - - # kernel threads never have an mm as they do not have userland mappings - try: - mm = task.mm - except exceptions.InvalidAddressException: - # no mm so cannot get envars - vollog.debug( - f"Unable to access mm for task {pid} {name} it is likely a kernel thread, will not extract any envars." - ) - mm = None + if task.is_kernel_thread: continue - # if mm exists attempt to get envars - if mm: - # get process layer to read envars from - proc_layer_name = task.add_process_layer() - if proc_layer_name is None: - vollog.debug( - f"Unable to construct process layer for task {pid} {name}, will not extract any envars." - ) - continue - proc_layer = self.context.layers[proc_layer_name] + task_pid = task.pid + task_name = utility.array_to_string(task.comm) + task_ppid = task.get_parent_pid() - # get the size of the envars with sanity checking - envars_size = task.mm.env_end - task.mm.env_start - if not (0 < envars_size <= 8192): - vollog.debug( - f"Task {pid} {name} appears to have envars of size {envars_size} bytes which fails the sanity checking, will not extract any envars." - ) - continue - - # attempt to read all envars data - try: - envar_data = proc_layer.read(task.mm.env_start, envars_size) - except exceptions.InvalidAddressException: - vollog.debug( - f"Unable to read full envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)} for {envars_size} bytes, will not extract any envars." - ) - continue - - # parse envar data, envars are null terminated, keys and values are separated by '=' - envar_data = envar_data.rstrip(b"\x00") - for envar_pair in envar_data.split(b"\x00"): - try: - key, value = envar_pair.decode().split("=", 1) - except ValueError: - vollog.debug( - f"Unable to extract envars for {pid} {name} starting at virtual offset {hex(task.mm.env_start)}, they don't appear to be '=' separated" - ) - continue - yield (0, (pid, ppid, name, key, value)) + for env_key, env_value in self.get_task_env_variables(self.context, task): + yield (0, (task_pid, task_ppid, task_name, env_key, env_value)) def run(self): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - - return renderers.TreeGrid( - [("PID", int), ("PPID", int), ("COMM", str), ("KEY", str), ("VALUE", str)], - self._generator( - pslist.PsList.list_tasks( - self.context, self.config["kernel"], filter_func=filter_func - ) - ), + tasks = pslist.PsList.list_tasks( + self.context, self.config["kernel"], filter_func=filter_func ) + + headers = [ + ("PID", int), + ("PPID", int), + ("COMM", str), + ("KEY", str), + ("VALUE", str), + ] + + return renderers.TreeGrid(headers, self._generator(tasks)) From e231d826a96f416e988b6f35d5a180e2d9342579 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 11:38:51 +1100 Subject: [PATCH 1015/2186] linux: envars plugin: Complete get_task_env_variables() docstring --- volatility3/framework/plugins/linux/envars.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index bb6f52a7a..05ce17f8a 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -51,6 +51,8 @@ class Envars(plugins.PluginInterface): Args: context: The plugin's operational context. task: The task object from which to extract environment variables. + env_area_max_size: Maximum allowable size for the environment variables area. + Tasks exceeding this size will be skipped. Default is 8192. Yields: Tuples of (key, value) representing each environment variable. From d934d4421b94c3d7285cc1594830bf84c4846373 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 12:02:14 +1100 Subject: [PATCH 1016/2186] linux: get_parent_pid: Fix parent ID to correctly mimic getppid() syscall behavior by using TGID instead of PID --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 7b025450c..3c26805b7 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -641,7 +641,7 @@ class task_struct(generic.GenericIntelProcess): """ if self.real_parent and self.real_parent.is_readable(): - ppid = self.real_parent.pid + ppid = self.real_parent.tgid else: ppid = 0 From 2de553e1c17eab61cc566308cdabe9f9ba60b4ed Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 15:25:07 +1100 Subject: [PATCH 1017/2186] linux: cred: add user identifiers to the cred object extension --- .../symbols/linux/extensions/__init__.py | 31 +++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 7b025450c..2c6d9147d 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2079,13 +2079,40 @@ class cred(objects.StructType): return int(value) @property - def euid(self): + def uid(self) -> int: + """Returns the real user ID + + Returns: + The real user ID value + """ + return self._get_cred_int_value("uid") + + @property + def gid(self) -> int: + """Returns the real user ID + + Returns: + The real user ID value + """ + return self._get_cred_int_value("gid") + + @property + def euid(self) -> int: """Returns the effective user ID + Returns: + The effective user ID value + """ + return self._get_cred_int_value("euid") + + @property + def egid(self) -> int: + """Returns the effective group ID + Returns: int: the effective user ID value """ - return self._get_cred_int_value("euid") + return self._get_cred_int_value("egid") class kernel_cap_struct(objects.StructType): From 448ba24eac7bb11aba30d9f3e4d0dedcd9246d43 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 15:53:07 +1100 Subject: [PATCH 1018/2186] linux: pslist: add user/group , real/effective identifiers to the output: uid,gid, euid and egid. We reimplemented get_task_fields() using a dataclass, reducing the size of the function's interface and preventing unbounded growth. This change simplifies future modifications and enhances maintainability. --- volatility3/framework/plugins/linux/pslist.py | 86 +++++++++++++------ 1 file changed, 61 insertions(+), 25 deletions(-) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index a6d2e6538..2244b91ce 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -2,7 +2,9 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import datetime -from typing import Any, Callable, Iterable, List, Tuple +import dataclasses +import contextlib +from typing import Any, Callable, Iterable, List, Optional from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements @@ -14,11 +16,25 @@ from volatility3.plugins import timeliner from volatility3.plugins.linux import elfs +@dataclasses.dataclass +class TaskFields: + offset: int + user_pid: int + user_tid: int + user_ppid: int + name: str + uid: Optional[int] + gid: Optional[int] + euid: Optional[int] + egid: Optional[int] + creation_time: Optional[datetime.datetime] + + class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists the processes present in a particular linux memory image.""" _required_framework_version = (2, 13, 0) - _version = (3, 1, 0) + _version = (4, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -82,7 +98,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): @classmethod def get_task_fields( cls, task: interfaces.objects.ObjectInterface, decorate_comm: bool = False - ) -> Tuple[int, int, int, int, str, datetime.datetime]: + ) -> TaskFields: """Extract the fields needed for the final output Args: @@ -91,21 +107,34 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): and of Kernel threads in square brackets. Defaults to False. Returns: - A tuple with the fields to show in the plugin output. + A TaskFields object with the fields to show in the plugin output. """ - pid = task.tgid - tid = task.pid - ppid = task.get_parent_pid() name = utility.array_to_string(task.comm) - start_time = task.get_create_time() if decorate_comm: if task.is_kernel_thread: name = f"[{name}]" elif task.is_user_thread: name = f"{{{name}}}" - task_fields = (task.vol.offset, pid, tid, ppid, name, start_time) - return task_fields + # This function may be called with a partially initialized/uninitialized task. + # Ensure it always returns a valid TaskFields object, ready for use in a plugin. + valid_cred = task.cred and task.cred.is_readable() + creation_time = None + with contextlib.suppress(Exception): + creation_time = task.get_create_time() + + return TaskFields( + offset=task.vol.offset, + user_pid=task.tgid, + user_tid=task.pid, + user_ppid=task.get_parent_pid(), + name=name, + uid=task.cred.uid if valid_cred else None, + gid=task.cred.gid if valid_cred else None, + euid=task.cred.euid if valid_cred else None, + egid=task.cred.egid if valid_cred else None, + creation_time=creation_time, + ) def _get_file_output(self, task: interfaces.objects.ObjectInterface) -> str: """Extract the elf for the process if requested @@ -179,17 +208,19 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): else: file_output = "Disabled" - offset, pid, tid, ppid, name, creation_time = self.get_task_fields( - task, decorate_comm - ) + task_fields = self.get_task_fields(task, decorate_comm) yield 0, ( - format_hints.Hex(offset), - pid, - tid, - ppid, - name, - creation_time or renderers.NotAvailableValue(), + format_hints.Hex(task_fields.offset), + task_fields.user_pid, + task_fields.user_tid, + task_fields.user_ppid, + task_fields.name, + task_fields.uid, + task_fields.gid, + task_fields.euid, + task_fields.egid, + task_fields.creation_time or renderers.NotAvailableValue(), file_output, ) @@ -238,6 +269,10 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ("TID", int), ("PPID", int), ("COMM", str), + ("UID", int), + ("GID", int), + ("EUID", int), + ("EGID", int), ("CREATION TIME", datetime.datetime), ("File output", str), ] @@ -251,10 +286,11 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): for task in self.list_tasks( self.context, self.config["kernel"], filter_func, include_threads=True ): - offset, user_pid, user_tid, _user_ppid, name, creation_time = ( - self.get_task_fields(task) + task_fields = self.get_task_fields(task) + description = f"Process {task_fields.user_pid}/{task_fields.user_tid} {task_fields.name} ({task_fields.offset})" + + yield ( + description, + timeliner.TimeLinerType.CREATED, + task_fields.creation_time, ) - - description = f"Process {user_pid}/{user_tid} {name} ({offset})" - - yield (description, timeliner.TimeLinerType.CREATED, creation_time) From 8e12cf02e3720c3c58df6a3fb66930278d797b38 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 15:56:55 +1100 Subject: [PATCH 1019/2186] linux: psscan: reimplemented to make use of pslist.get_task_fields() --- volatility3/framework/plugins/linux/psscan.py | 49 +++++++------------ 1 file changed, 18 insertions(+), 31 deletions(-) diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index c93f06088..ba68c4856 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -2,15 +2,15 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import Iterable, List, Tuple +from typing import Iterable, List import struct from enum import Enum from volatility3.framework import renderers, interfaces, symbols, constants, exceptions from volatility3.framework.configuration import requirements -from volatility3.framework.objects import utility from volatility3.framework.layers import scanners from volatility3.framework.renderers import format_hints +from volatility3.plugins.linux import pslist vollog = logging.getLogger(__name__) @@ -28,7 +28,7 @@ class PsScan(interfaces.plugins.PluginInterface): """Scans for processes present in a particular linux image.""" _required_framework_version = (2, 13, 0) - _version = (1, 1, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -38,34 +38,11 @@ class PsScan(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + ), ] - def _get_task_fields( - self, task: interfaces.objects.ObjectInterface - ) -> Tuple[int, int, int, str, str]: - """Extract the fields needed for the final output - - Args: - task: A task object from where to get the fields. - Returns: - A tuple with the fields to show in the plugin output. - """ - pid = task.tgid - tid = task.pid - ppid = task.get_parent_pid() - name = utility.array_to_string(task.comm) - exit_state = DescExitStateEnum(task.exit_state).name - - task_fields = ( - format_hints.Hex(task.vol.offset), - pid, - tid, - ppid, - name, - exit_state, - ) - return task_fields - def _generator(self): """Generates the tasks found from scanning.""" @@ -75,8 +52,18 @@ class PsScan(interfaces.plugins.PluginInterface): for task in self.scan_tasks( self.context, vmlinux_module_name, vmlinux.layer_name ): - row = self._get_task_fields(task) - yield (0, row) + task_fields = pslist.PsList.get_task_fields(task) + exit_state = DescExitStateEnum(task.exit_state).name + fields = ( + format_hints.Hex(task_fields.offset), + task_fields.user_pid, + task_fields.user_tid, + task_fields.user_ppid, + task_fields.name, + exit_state, + ) + + yield (0, fields) @classmethod def scan_tasks( From 40bdbf62daec2047f7c0e1bc06a5feb85b10ca77 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 16:00:14 +1100 Subject: [PATCH 1020/2186] linux: pidhashtable: Update to use TaskFields from pslist.get_task_fields(). Fix some type annotations --- .../framework/plugins/linux/pidhashtable.py | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/linux/pidhashtable.py b/volatility3/framework/plugins/linux/pidhashtable.py index 2d210c233..060b3928e 100644 --- a/volatility3/framework/plugins/linux/pidhashtable.py +++ b/volatility3/framework/plugins/linux/pidhashtable.py @@ -3,7 +3,7 @@ # import logging -from typing import List +from typing import List, Iterable from volatility3.framework import renderers, interfaces, constants from volatility3.framework.symbols import linux @@ -19,7 +19,7 @@ class PIDHashTable(plugins.PluginInterface): """Enumerates processes through the PID hash table""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 2) + _version = (1, 0, 3) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -30,7 +30,7 @@ class PIDHashTable(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) @@ -218,7 +218,7 @@ class PIDHashTable(plugins.PluginInterface): return None - def get_tasks(self) -> interfaces.objects.ObjectInterface: + def get_tasks(self) -> Iterable[interfaces.objects.ObjectInterface]: """Enumerates processes through the PID hash table Yields: @@ -231,14 +231,16 @@ class PIDHashTable(plugins.PluginInterface): yield from sorted(pid_func(), key=lambda t: (t.tgid, t.pid)) - def _generator( - self, decorate_comm: bool = False - ) -> interfaces.objects.ObjectInterface: + def _generator(self, decorate_comm: bool = False): for task in self.get_tasks(): - offset, pid, tid, ppid, name, _creation_time = ( - pslist.PsList.get_task_fields(task, decorate_comm) + task_fields = pslist.PsList.get_task_fields(task, decorate_comm) + fields = ( + format_hints.Hex(task_fields.offset), + task_fields.user_pid, + task_fields.user_tid, + task_fields.user_ppid, + task_fields.name, ) - fields = format_hints.Hex(offset), pid, tid, ppid, name yield 0, fields def run(self): From f3cf182206cd00fd70742c304ce48dbfe80ba246 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 16:00:50 +1100 Subject: [PATCH 1021/2186] linux: pstree: Update to use TaskFields from pslist.get_task_fields() --- volatility3/framework/plugins/linux/pstree.py | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/pstree.py b/volatility3/framework/plugins/linux/pstree.py index c80cfbec7..74e172139 100644 --- a/volatility3/framework/plugins/linux/pstree.py +++ b/volatility3/framework/plugins/linux/pstree.py @@ -13,7 +13,7 @@ class PsTree(interfaces.plugins.PluginInterface): ID.""" _required_framework_version = (2, 13, 0) - _version = (1, 1, 0) + _version = (1, 1, 1) @classmethod def get_requirements(cls): @@ -25,7 +25,7 @@ class PsTree(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", @@ -101,13 +101,17 @@ class PsTree(interfaces.plugins.PluginInterface): def yield_processes(pid): task = self._tasks[pid] - offset, pid, tid, ppid, name, _creation_time = ( - pslist.PsList.get_task_fields(task, decorate_comm) + task_fields = pslist.PsList.get_task_fields(task, decorate_comm) + fields = ( + format_hints.Hex(task_fields.offset), + task_fields.user_pid, + task_fields.user_tid, + task_fields.user_ppid, + task_fields.name, ) - fields = format_hints.Hex(offset), pid, tid, ppid, name - yield (self._levels[tid] - 1, fields) + yield (self._levels[task_fields.user_tid] - 1, fields) - for child_pid in sorted(self._children.get(tid, [])): + for child_pid in sorted(self._children.get(task_fields.user_tid, [])): yield from yield_processes(child_pid) for pid, level in self._levels.items(): From e92b55ac862ad1f8df2a7a10bbf2b542eb26b6cb Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 16:03:46 +1100 Subject: [PATCH 1022/2186] linux: Update version requirements in all plugins dependent on pslist --- volatility3/framework/plugins/linux/bash.py | 4 ++-- volatility3/framework/plugins/linux/boottime.py | 4 ++-- volatility3/framework/plugins/linux/capabilities.py | 4 ++-- volatility3/framework/plugins/linux/check_creds.py | 4 ++-- volatility3/framework/plugins/linux/elfs.py | 4 ++-- volatility3/framework/plugins/linux/envars.py | 4 ++-- volatility3/framework/plugins/linux/kthreads.py | 4 ++-- volatility3/framework/plugins/linux/library_list.py | 4 ++-- volatility3/framework/plugins/linux/lsof.py | 4 ++-- volatility3/framework/plugins/linux/malfind.py | 4 ++-- volatility3/framework/plugins/linux/mountinfo.py | 4 ++-- volatility3/framework/plugins/linux/proc.py | 4 ++-- volatility3/framework/plugins/linux/psaux.py | 4 ++-- volatility3/framework/plugins/linux/ptrace.py | 4 ++-- volatility3/framework/plugins/linux/sockstat.py | 4 ++-- volatility3/framework/plugins/linux/vmaregexscan.py | 4 ++-- volatility3/framework/plugins/linux/vmayarascan.py | 4 ++-- 17 files changed, 34 insertions(+), 34 deletions(-) diff --git a/volatility3/framework/plugins/linux/bash.py b/volatility3/framework/plugins/linux/bash.py index 77a433a3b..056e3cd51 100644 --- a/volatility3/framework/plugins/linux/bash.py +++ b/volatility3/framework/plugins/linux/bash.py @@ -22,7 +22,7 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): """Recovers bash command history from memory.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -33,7 +33,7 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/boottime.py b/volatility3/framework/plugins/linux/boottime.py index 56de52883..c57bdd65a 100644 --- a/volatility3/framework/plugins/linux/boottime.py +++ b/volatility3/framework/plugins/linux/boottime.py @@ -15,7 +15,7 @@ class Boottime(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) """Shows the time the system was started""" _required_framework_version = (2, 11, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -26,7 +26,7 @@ class Boottime(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), ] diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index afd91c48e..1d0c60c11 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -50,7 +50,7 @@ class Capabilities(plugins.PluginInterface): """Lists process capabilities""" _required_framework_version = (2, 13, 0) - _version = (1, 1, 0) + _version = (1, 1, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -61,7 +61,7 @@ class Capabilities(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pids", diff --git a/volatility3/framework/plugins/linux/check_creds.py b/volatility3/framework/plugins/linux/check_creds.py index 4916b67d2..96f77ce4d 100644 --- a/volatility3/framework/plugins/linux/check_creds.py +++ b/volatility3/framework/plugins/linux/check_creds.py @@ -12,7 +12,7 @@ class Check_creds(interfaces.plugins.PluginInterface): """Checks if any processes are sharing credential structures""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 1) + _version = (2, 0, 2) @classmethod def get_requirements(cls): @@ -23,7 +23,7 @@ class Check_creds(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), ] diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index 9f3bd274b..2fd740941 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -25,7 +25,7 @@ class Elfs(plugins.PluginInterface): """Lists all memory mapped ELF files for all processes.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 2) + _version = (2, 0, 3) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -36,7 +36,7 @@ class Elfs(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index aec3eeb14..9f29ef74e 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -17,7 +17,7 @@ class Envars(plugins.PluginInterface): """Lists processes with their environment variables""" _required_framework_version = (2, 13, 0) - _version = (1, 1, 0) + _version = (1, 1, 1) @classmethod def get_requirements(cls): @@ -29,7 +29,7 @@ class Envars(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py index b9ced73f3..40e992069 100644 --- a/volatility3/framework/plugins/linux/kthreads.py +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -20,7 +20,7 @@ class Kthreads(plugins.PluginInterface): """Enumerates kthread functions""" _required_framework_version = (2, 11, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -34,7 +34,7 @@ class Kthreads(plugins.PluginInterface): name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/linux/library_list.py b/volatility3/framework/plugins/linux/library_list.py index 7ec1f7f7f..e251b5689 100644 --- a/volatility3/framework/plugins/linux/library_list.py +++ b/volatility3/framework/plugins/linux/library_list.py @@ -21,7 +21,7 @@ class LibraryList(interfaces.plugins.PluginInterface): """Enumerate libraries loaded into processes""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls): @@ -32,7 +32,7 @@ class LibraryList(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pids", diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 802954f43..daa8e5a3d 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -110,7 +110,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists open files for each processes.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 1) + _version = (2, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -121,7 +121,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 0b10e60c6..e45688e97 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -18,7 +18,7 @@ class Malfind(interfaces.plugins.PluginInterface): """Lists process memory ranges that potentially contain injected code.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -29,7 +29,7 @@ class Malfind(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index 65775c4aa..b4f80e4f5 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -36,7 +36,7 @@ class MountInfo(plugins.PluginInterface): """Lists mount points on processes mount namespaces""" _required_framework_version = (2, 2, 0) - _version = (1, 2, 2) + _version = (1, 2, 3) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -47,7 +47,7 @@ class MountInfo(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index 893eea71e..441c6bc93 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -21,7 +21,7 @@ class Maps(plugins.PluginInterface): """Lists all memory maps for all processes.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) MAXSIZE_DEFAULT = 1024 * 1024 * 1024 # 1 Gb @@ -35,7 +35,7 @@ class Maps(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/psaux.py b/volatility3/framework/plugins/linux/psaux.py index 60424a990..a544c9d67 100644 --- a/volatility3/framework/plugins/linux/psaux.py +++ b/volatility3/framework/plugins/linux/psaux.py @@ -15,7 +15,7 @@ class PsAux(plugins.PluginInterface): """Lists processes with their command line arguments""" _required_framework_version = (2, 13, 0) - _version = (1, 1, 0) + _version = (1, 1, 1) @classmethod def get_requirements(cls): @@ -27,7 +27,7 @@ class PsAux(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/ptrace.py b/volatility3/framework/plugins/linux/ptrace.py index 271c0e75e..6493f22b9 100644 --- a/volatility3/framework/plugins/linux/ptrace.py +++ b/volatility3/framework/plugins/linux/ptrace.py @@ -19,7 +19,7 @@ class Ptrace(plugins.PluginInterface): """Enumerates ptrace's tracer and tracee tasks""" _required_framework_version = (2, 10, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -30,7 +30,7 @@ class Ptrace(plugins.PluginInterface): architectures=architectures.LINUX_ARCHS, ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), ] diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index aee0b1e2e..7376bcbee 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -438,7 +438,7 @@ class Sockstat(plugins.PluginInterface): """Lists all network connections for all processes.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 1) + _version = (3, 0, 2) @classmethod def get_requirements(cls): @@ -455,7 +455,7 @@ class Sockstat(plugins.PluginInterface): name="lsof", plugin=lsof.Lsof, version=(2, 0, 0) ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/linux/vmaregexscan.py b/volatility3/framework/plugins/linux/vmaregexscan.py index 4446fc550..8fb96da1e 100644 --- a/volatility3/framework/plugins/linux/vmaregexscan.py +++ b/volatility3/framework/plugins/linux/vmaregexscan.py @@ -21,7 +21,7 @@ class VmaRegExScan(plugins.PluginInterface): """Scans all virtual memory areas for tasks using RegEx.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) MAXSIZE_DEFAULT = 128 @@ -35,7 +35,7 @@ class VmaRegExScan(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 650fcf078..4db23e50b 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -18,7 +18,7 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): """Scans all virtual memory areas for tasks using yara.""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -31,7 +31,7 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): optional=True, ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.PluginRequirement( name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) From ddb4db5eab4d5e6a9e9ea40b81339be89a8be4cc Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 18 Dec 2024 16:22:27 +1100 Subject: [PATCH 1023/2186] linux: pslist: Handle cases where credential IDs are unavailable due to an invalid credential pointer --- volatility3/framework/plugins/linux/pslist.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 2244b91ce..641a27b92 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -216,10 +216,10 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): task_fields.user_tid, task_fields.user_ppid, task_fields.name, - task_fields.uid, - task_fields.gid, - task_fields.euid, - task_fields.egid, + task_fields.uid or renderers.NotAvailableValue(), + task_fields.gid or renderers.NotAvailableValue(), + task_fields.euid or renderers.NotAvailableValue(), + task_fields.egid or renderers.NotAvailableValue(), task_fields.creation_time or renderers.NotAvailableValue(), file_output, ) From 3da14b3873a3f19e291e21b79735ae4a8c5794a8 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Wed, 18 Dec 2024 06:40:19 +0000 Subject: [PATCH 1024/2186] Use generator expressions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PEP 289 – Generator Expressions. --- volatility3/cli/text_renderer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 937ba4ef4..b1944ae5a 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -176,7 +176,7 @@ class QuickTextRenderer(CLIRenderer): format_hints.HexBytes: optional(hex_bytes_as_text), format_hints.MultiTypeData: quoted_optional(multitypedata_as_text), interfaces.renderers.Disassembly: optional(display_disassembly), - bytes: optional(lambda x: " ".join([f"{b:02x}" for b in x])), + bytes: optional(lambda x: " ".join(f"{b:02x}" for b in x)), datetime.datetime: optional(lambda x: x.strftime("%Y-%m-%d %H:%M:%S.%f %Z")), "default": optional(lambda x: f"{x}"), } @@ -256,7 +256,7 @@ class CSVRenderer(CLIRenderer): format_hints.HexBytes: optional(hex_bytes_as_text), format_hints.MultiTypeData: optional(multitypedata_as_text), interfaces.renderers.Disassembly: optional(display_disassembly), - bytes: optional(lambda x: " ".join([f"{b:02x}" for b in x])), + bytes: optional(lambda x: " ".join(f"{b:02x}" for b in x)), datetime.datetime: optional(lambda x: x.strftime("%Y-%m-%d %H:%M:%S.%f %Z")), "default": optional(lambda x: f"{x}"), } @@ -450,7 +450,7 @@ class JsonRenderer(CLIRenderer): format_hints.HexBytes: quoted_optional(hex_bytes_as_text), interfaces.renderers.Disassembly: quoted_optional(display_disassembly), format_hints.MultiTypeData: quoted_optional(multitypedata_as_text), - bytes: optional(lambda x: " ".join([f"{b:02x}" for b in x])), + bytes: optional(lambda x: " ".join(f"{b:02x}" for b in x)), datetime.datetime: lambda x: ( x.isoformat() if not isinstance(x, interfaces.renderers.BaseAbsentValue) From 860a8146fbd529da524bac2282fb00a31b3568bc Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Wed, 18 Dec 2024 06:44:23 +0000 Subject: [PATCH 1025/2186] Use floor division --- volatility3/framework/layers/msf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/msf.py b/volatility3/framework/layers/msf.py index 8d84a774b..03e144e25 100644 --- a/volatility3/framework/layers/msf.py +++ b/volatility3/framework/layers/msf.py @@ -225,7 +225,7 @@ class PdbMSFStream(linear.LinearlyMappedLayer): returned = 0 page_size = self._pdb_layer.page_size while length > 0: - page = math.floor((offset + returned) / page_size) + page = (offset + returned) // page_size page_position = (offset + returned) % page_size chunk_size = min(page_size - page_position, length) if page >= self._pages_len: From d7f678879d8982b1222e6f5676caed4b0e5a9f70 Mon Sep 17 00:00:00 2001 From: TheMythologist Date: Wed, 18 Dec 2024 15:17:26 +0800 Subject: [PATCH 1026/2186] Minor improvements for `mypy` --- pyproject.toml | 3 ++- volatility3/cli/__init__.py | 6 ++--- volatility3/cli/text_filter.py | 2 +- volatility3/cli/volshell/generic.py | 10 ++++---- volatility3/cli/volshell/linux.py | 6 ++--- volatility3/cli/volshell/mac.py | 6 ++--- volatility3/cli/volshell/windows.py | 6 ++--- volatility3/framework/__init__.py | 7 +++--- volatility3/framework/automagic/stacker.py | 4 +++- .../framework/automagic/symbol_cache.py | 9 +++++++ .../framework/configuration/requirements.py | 24 +++++++++---------- volatility3/framework/contexts/__init__.py | 2 +- volatility3/framework/interfaces/automagic.py | 2 +- .../framework/interfaces/configuration.py | 7 +++--- volatility3/framework/interfaces/context.py | 14 +++++++++-- volatility3/framework/interfaces/layers.py | 2 +- volatility3/framework/interfaces/objects.py | 1 + volatility3/framework/interfaces/renderers.py | 4 ++-- volatility3/framework/interfaces/symbols.py | 1 + .../framework/layers/scanners/__init__.py | 2 +- volatility3/framework/objects/__init__.py | 6 ++--- volatility3/framework/plugins/linux/pslist.py | 6 +++-- volatility3/framework/plugins/mac/pslist.py | 6 +++-- volatility3/framework/plugins/timeliner.py | 4 +++- .../framework/plugins/windows/modules.py | 4 ++-- .../framework/plugins/windows/pedump.py | 2 +- .../framework/plugins/windows/poolscanner.py | 2 +- .../framework/plugins/windows/pslist.py | 6 ++--- .../framework/plugins/windows/psscan.py | 2 +- .../plugins/windows/registry/printkey.py | 10 ++++---- .../plugins/windows/scheduled_tasks.py | 1 - volatility3/framework/renderers/__init__.py | 2 +- volatility3/framework/symbols/__init__.py | 8 +++---- .../framework/symbols/generic/__init__.py | 6 ++--- volatility3/framework/symbols/intermed.py | 4 ++-- .../symbols/linux/extensions/__init__.py | 2 +- volatility3/framework/symbols/mac/__init__.py | 4 ++-- .../symbols/mac/extensions/__init__.py | 2 +- volatility3/framework/symbols/metadata.py | 2 +- .../symbols/windows/extensions/__init__.py | 4 +++- .../symbols/windows/extensions/pool.py | 2 +- .../framework/symbols/windows/pdbconv.py | 4 +++- .../framework/symbols/windows/pdbutil.py | 14 +++++------ 43 files changed, 127 insertions(+), 94 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7035f7a15..cc09922e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,7 @@ dev = [ "jsonschema>=4.23.0,<5", "pyinstaller>=6.11.0,<7", "pyinstaller-hooks-contrib>=2024.9", + "types-jsonschema>=4.23.0,<5", ] test = [ @@ -68,7 +69,7 @@ include = ["volatility3*"] mypy_path = "./stubs" show_traceback = true -[tool.mypy.overrides] +[[tool.mypy.overrides]] ignore_missing_imports = true [tool.ruff] diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index da046de57..6172a17f3 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -19,7 +19,7 @@ import os import sys import tempfile import traceback -from typing import Any, Dict, List, Tuple, Type, Union +from typing import Any, Dict, List, Optional, Tuple, Type, Union from urllib import parse, request try: @@ -64,7 +64,7 @@ class PrintedProgress: def __init__(self): self._max_message_len = 0 - def __call__(self, progress: Union[int, float], description: str = None): + def __call__(self, progress: Union[int, float], description: Optional[str] = None): """A simple function for providing text-based feedback. .. warning:: Only for development use. @@ -81,7 +81,7 @@ class PrintedProgress: class MuteProgress(PrintedProgress): """A dummy progress handler that produces no output when called.""" - def __call__(self, progress: Union[int, float], description: str = None): + def __call__(self, progress: Union[int, float], description: Optional[str] = None): pass diff --git a/volatility3/cli/text_filter.py b/volatility3/cli/text_filter.py index 955d647f5..6bd6878a5 100644 --- a/volatility3/cli/text_filter.py +++ b/volatility3/cli/text_filter.py @@ -74,7 +74,7 @@ class ColumnFilter: """Identifies whether an item is found in the appropriate column""" try: if self.regex: - return re.search(self.pattern, f"{item}") + return bool(re.search(self.pattern, f"{item}")) return self.pattern in f"{item}" except OSError: return False diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 93a75ca19..12f5499f6 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -240,7 +240,7 @@ class Volshell(interfaces.plugins.PluginInterface): return None return self.context.modules[self.current_kernel_name] - def change_layer(self, layer_name: str = None): + def change_layer(self, layer_name: Optional[str] = None): """Changes the current default layer""" if not layer_name: layer_name = self.current_layer @@ -250,7 +250,7 @@ class Volshell(interfaces.plugins.PluginInterface): self.__current_layer = layer_name sys.ps1 = f"({self.current_layer}) >>> " - def change_symbol_table(self, symbol_table_name: str = None): + def change_symbol_table(self, symbol_table_name: Optional[str] = None): """Changes the current_symbol_table""" if not symbol_table_name: print("No symbol table provided, not changing current symbol table") @@ -262,7 +262,7 @@ class Volshell(interfaces.plugins.PluginInterface): self.__current_symbol_table = symbol_table_name print(f"Current Symbol Table: {self.current_symbol_table}") - def change_kernel(self, kernel_name: str = None): + def change_kernel(self, kernel_name: Optional[str] = None): if not kernel_name: print("No kernel module name provided, not changing current kernel") if kernel_name not in self.context.modules: @@ -347,7 +347,7 @@ class Volshell(interfaces.plugins.PluginInterface): object: Union[ str, interfaces.objects.ObjectInterface, interfaces.objects.Template ], - offset: int = None, + offset: Optional[int] = None, ): """Display Type describes the members of a particular object in alphabetical order""" if not isinstance( @@ -479,7 +479,7 @@ class Volshell(interfaces.plugins.PluginInterface): if treegrid is not None: self.render_treegrid(treegrid) - def display_symbols(self, symbol_table: str = None): + def display_symbols(self, symbol_table: Optional[str] = None): """Prints an alphabetical list of symbols for a symbol table""" if symbol_table is None: print("No symbol table provided") diff --git a/volatility3/cli/volshell/linux.py b/volatility3/cli/volshell/linux.py index c5e555ec7..41b86f78b 100644 --- a/volatility3/cli/volshell/linux.py +++ b/volatility3/cli/volshell/linux.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Any, List, Tuple, Union +from typing import Any, List, Optional, Tuple, Union from volatility3.cli.volshell import generic from volatility3.framework import constants, interfaces @@ -61,7 +61,7 @@ class Volshell(generic.Volshell): object: Union[ str, interfaces.objects.ObjectInterface, interfaces.objects.Template ], - offset: int = None, + offset: Optional[int] = None, ): """Display Type describes the members of a particular object in alphabetical order""" if isinstance(object, str): @@ -69,7 +69,7 @@ class Volshell(generic.Volshell): object = self.current_symbol_table + constants.BANG + object return super().display_type(object, offset) - def display_symbols(self, symbol_table: str = None): + def display_symbols(self, symbol_table: Optional[str] = None): """Prints an alphabetical list of symbols for a symbol table""" if symbol_table is None: symbol_table = self.current_symbol_table diff --git a/volatility3/cli/volshell/mac.py b/volatility3/cli/volshell/mac.py index 2b32ad677..0ed35eb27 100644 --- a/volatility3/cli/volshell/mac.py +++ b/volatility3/cli/volshell/mac.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Any, List, Tuple, Union +from typing import Any, List, Optional, Tuple, Union from volatility3.cli.volshell import generic from volatility3.framework import constants, interfaces @@ -63,7 +63,7 @@ class Volshell(generic.Volshell): object: Union[ str, interfaces.objects.ObjectInterface, interfaces.objects.Template ], - offset: int = None, + offset: Optional[int] = None, ): """Display Type describes the members of a particular object in alphabetical order""" if isinstance(object, str): @@ -71,7 +71,7 @@ class Volshell(generic.Volshell): object = self.current_symbol_table + constants.BANG + object return super().display_type(object, offset) - def display_symbols(self, symbol_table: str = None): + def display_symbols(self, symbol_table: Optional[str] = None): """Prints an alphabetical list of symbols for a symbol table""" if symbol_table is None: symbol_table = self.current_symbol_table diff --git a/volatility3/cli/volshell/windows.py b/volatility3/cli/volshell/windows.py index 5c2190c02..303d4d5c3 100644 --- a/volatility3/cli/volshell/windows.py +++ b/volatility3/cli/volshell/windows.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Any, List, Tuple, Union +from typing import Any, List, Optional, Tuple, Union from volatility3.cli.volshell import generic from volatility3.framework import constants, interfaces @@ -60,7 +60,7 @@ class Volshell(generic.Volshell): object: Union[ str, interfaces.objects.ObjectInterface, interfaces.objects.Template ], - offset: int = None, + offset: Optional[int] = None, ): """Display Type describes the members of a particular object in alphabetical order""" if isinstance(object, str): @@ -68,7 +68,7 @@ class Volshell(generic.Volshell): object = self.current_symbol_table + constants.BANG + object return super().display_type(object, offset) - def display_symbols(self, symbol_table: str = None): + def display_symbols(self, symbol_table: Optional[str] = None): """Prints an alphabetical list of symbols for a symbol table""" if symbol_table is None: symbol_table = self.current_symbol_table diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index c9a2c92ea..754939460 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -12,7 +12,7 @@ import inspect import logging import os import traceback -from typing import Any, Dict, Generator, List, Tuple, Type, TypeVar +from typing import Any, Dict, Generator, List, Optional, Tuple, Type, TypeVar from volatility3.framework import constants, interfaces @@ -58,7 +58,7 @@ class NonInheritable: self.default_value = value self.cls = cls - def __get__(self, obj: Any, get_type: Type = None) -> Any: + def __get__(self, obj: Any, get_type: Type = Optional[None]) -> Any: if type is self.cls: if hasattr(self.default_value, "__get__"): return self.default_value.__get__(obj, get_type) @@ -185,8 +185,7 @@ def _zipwalk(path: str): zip_results[os.path.join(path, os.path.dirname(file.filename))] = ( dirlist ) - for value in zip_results: - yield value, zip_results[value] + yield from zip_results.items() def list_plugins() -> Dict[str, Type[interfaces.plugins.PluginInterface]]: diff --git a/volatility3/framework/automagic/stacker.py b/volatility3/framework/automagic/stacker.py index c251d3c46..596864264 100644 --- a/volatility3/framework/automagic/stacker.py +++ b/volatility3/framework/automagic/stacker.py @@ -166,7 +166,9 @@ class LayerStacker(interfaces.automagic.AutomagicInterface): cls, context: interfaces.context.ContextInterface, initial_layer: str, - stack_set: List[Type[interfaces.automagic.StackerLayerInterface]] = None, + stack_set: Optional[ + List[Type[interfaces.automagic.StackerLayerInterface]] + ] = None, progress_callback: constants.ProgressCallback = None, ): """Stacks as many possible layers on top of the initial layer as can be done. diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index 9fad506ae..065eb6d43 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -104,9 +104,11 @@ class CacheManagerInterface(interfaces.configuration.VersionableInterface): for subclazz in framework.class_subclasses(IdentifierProcessor): self._classifiers[subclazz.operating_system] = subclazz + @abstractmethod def add_identifier(self, location: str, operating_system: str, identifier: str): """Adds an identifier to the store""" + @abstractmethod def find_location( self, identifier: bytes, operating_system: Optional[str] ) -> Optional[str]: @@ -120,15 +122,18 @@ class CacheManagerInterface(interfaces.configuration.VersionableInterface): The location of the symbols file that matches the identifier """ + @abstractmethod def get_local_locations(self) -> Iterable[str]: """Returns a list of all the local locations""" + @abstractmethod def update(self): """Locates all files under the symbol directories. Updates the cache with additions, modifications and removals. This also updates remote locations based on a cache timeout. """ + @abstractmethod def get_identifier_dictionary( self, operating_system: Optional[str] = None, local_only: bool = False ) -> Dict[bytes, str]: @@ -142,12 +147,15 @@ class CacheManagerInterface(interfaces.configuration.VersionableInterface): A dictionary of identifiers mapped to a location """ + @abstractmethod def get_identifier(self, location: str) -> Optional[bytes]: """Returns an identifier based on a specific location or None""" + @abstractmethod def get_identifiers(self, operating_system: Optional[str]) -> List[bytes]: """Returns all identifiers for a particular operating system""" + @abstractmethod def get_location_statistics( self, location: str ) -> Optional[Tuple[int, int, int, int]]: @@ -157,6 +165,7 @@ class CacheManagerInterface(interfaces.configuration.VersionableInterface): A tuple of base_types, types, enums, symbols, or None is location not found """ + @abstractmethod def get_hash(self, location: str) -> Optional[str]: """Returns the hash of the JSON from within a location ISF""" diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 0cfaf5693..812b8ec59 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -11,7 +11,7 @@ expect to be in the context (such as particular layers or symboltables). import abc import logging import os -from typing import Any, ClassVar, Dict, List, Optional, Tuple, Type +from typing import Any, ClassVar, Dict, List, Optional, Set, Tuple, Type from urllib import parse, request from volatility3.framework import constants, interfaces @@ -314,11 +314,11 @@ class TranslationLayerRequirement( def __init__( self, name: str, - description: str = None, + description: Optional[str] = None, default: interfaces.configuration.ConfigSimpleType = None, optional: bool = False, - oses: List = None, - architectures: List = None, + oses: Optional[List] = None, + architectures: Optional[List[str]] = None, ) -> None: """Constructs a Translation Layer Requirement. @@ -526,18 +526,18 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): description: Optional[str] = None, default: bool = False, optional: bool = False, - component: Type[interfaces.configuration.VersionableInterface] = None, + component: Optional[Type[interfaces.configuration.VersionableInterface]] = None, version: Optional[Tuple[int, ...]] = None, ) -> None: if version is None: raise TypeError("Version cannot be None") + if component is None: + raise TypeError("Component cannot be None") if description is None: description = f"Version {'.'.join(str(x) for x in version)} dependency on {component.__module__}.{component.__name__} unmet" super().__init__( name=name, description=description, default=default, optional=optional ) - if component is None: - raise TypeError("Component cannot be None") self._component: Type[interfaces.configuration.VersionableInterface] = component self._version = version @@ -546,7 +546,7 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): context: interfaces.context.ContextInterface, config_path: str, accumulator: Optional[ - List[interfaces.configuration.VersionableInterface] + Set[interfaces.configuration.VersionableInterface] ] = None, ) -> Dict[str, interfaces.configuration.RequirementInterface]: # Mypy doesn't appreciate our classproperty implementation, self._plugin.version has no type @@ -580,7 +580,7 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): ) if result: - result.update({config_path: self}) + result[config_path] = self return result context.config[interfaces.configuration.path_join(config_path, self.name)] = ( @@ -604,10 +604,10 @@ class PluginRequirement(VersionRequirement): def __init__( self, name: str, - description: str = None, + description: Optional[str] = None, default: bool = False, optional: bool = False, - plugin: Type[interfaces.plugins.PluginInterface] = None, + plugin: Optional[Type[interfaces.plugins.PluginInterface]] = None, version: Optional[Tuple[int, ...]] = None, ) -> None: super().__init__( @@ -627,7 +627,7 @@ class ModuleRequirement( def __init__( self, name: str, - description: str = None, + description: Optional[str] = None, default: bool = False, architectures: Optional[List[str]] = None, optional: bool = False, diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index 5111b168a..f527544c0 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -229,7 +229,7 @@ class Module(interfaces.context.ModuleInterface): def object( self, object_type: str, - offset: int = None, + offset: Optional[int] = None, native_layer_name: Optional[str] = None, absolute: bool = False, **kwargs, diff --git a/volatility3/framework/interfaces/automagic.py b/volatility3/framework/interfaces/automagic.py index 0867b1608..4ac386fc0 100644 --- a/volatility3/framework/interfaces/automagic.py +++ b/volatility3/framework/interfaces/automagic.py @@ -42,7 +42,7 @@ class AutomagicInterface( priority = 10 """An ordering to indicate how soon this automagic should be run""" - exclusion_list = [] + exclusion_list: List[str] = [] """A list of plugin categories (typically operating systems) which the plugin will not operate on""" def __init__( diff --git a/volatility3/framework/interfaces/configuration.py b/volatility3/framework/interfaces/configuration.py index cbbf7e342..2e4f580a7 100644 --- a/volatility3/framework/interfaces/configuration.py +++ b/volatility3/framework/interfaces/configuration.py @@ -82,7 +82,7 @@ class HierarchicalDict(collections.abc.Mapping): def __init__( self, - initial_dict: Dict[str, "SimpleTypeRequirement"] = None, + initial_dict: Optional[Dict[str, "SimpleTypeRequirement"]] = None, separator: str = CONFIG_SEPARATOR, ) -> None: """ @@ -328,7 +328,7 @@ class RequirementInterface(metaclass=ABCMeta): def __init__( self, name: str, - description: str = None, + description: Optional[str] = None, default: ConfigSimpleType = None, optional: bool = False, ) -> None: @@ -618,7 +618,7 @@ class ConstructableRequirementInterface(RequirementInterface): self, context: "interfaces.context.ContextInterface", config_path: str, - requirement_dict: Dict[str, object] = None, + requirement_dict: Optional[Dict[str, object]] = None, ) -> Optional["interfaces.objects.ObjectInterface"]: """Constructs the class, handing args and the subrequirements as parameters to __init__""" @@ -652,6 +652,7 @@ class ConstructableRequirementInterface(RequirementInterface): class ConfigurableRequirementInterface(RequirementInterface): """Simple Abstract class to provide build_required_config.""" + @abstractmethod def build_configuration( self, context: "interfaces.context.ContextInterface", diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index 8b5e816e8..a87e0f1e8 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -85,7 +85,7 @@ class ContextInterface(metaclass=ABCMeta): object_type: Union[str, "interfaces.objects.Template"], layer_name: str, offset: int, - native_layer_name: str = None, + native_layer_name: Optional[str] = None, **arguments, ) -> "interfaces.objects.ObjectInterface": """Object factory, takes a context, symbol, offset and optional @@ -114,6 +114,7 @@ class ContextInterface(metaclass=ABCMeta): """ return copy.deepcopy(self) + @abstractmethod def module( self, module_name: str, @@ -232,7 +233,7 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): def object( self, object_type: str, - offset: int = None, + offset: Optional[int] = None, native_layer_name: Optional[str] = None, absolute: bool = False, **kwargs, @@ -277,27 +278,35 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): symbol = self.get_symbol(name) return self.offset + symbol.address + @abstractmethod def get_type(self, name: str) -> "interfaces.objects.Template": """Returns a type from the module's symbol table.""" + @abstractmethod def get_symbol(self, name: str) -> "interfaces.symbols.SymbolInterface": """Returns a symbol object from the module's symbol table.""" + @abstractmethod def get_enumeration(self, name: str) -> "interfaces.objects.Template": """Returns an enumeration from the module's symbol table.""" + @abstractmethod def has_type(self, name: str) -> bool: """Determines whether a type is present in the module's symbol table.""" + @abstractmethod def has_symbol(self, name: str) -> bool: """Determines whether a symbol is present in the module's symbol table.""" + @abstractmethod def has_enumeration(self, name: str) -> bool: """Determines whether an enumeration is present in the module's symbol table.""" + @abstractmethod def symbols(self) -> List: """Lists the symbols contained in the symbol table for this module""" + @abstractmethod def get_symbols_by_absolute_location(self, offset: int, size: int = 0) -> List[str]: """Returns the symbols within table_name (or this module if not specified) that live at the specified absolute offset provided.""" @@ -343,6 +352,7 @@ class ModuleContainer(collections.abc.Mapping): def __iter__(self): return iter(self._modules) + @abstractmethod def free_module_name(self, prefix: str = "module") -> str: """Returns an unused table name to ensure no collision occurs when inserting a symbol table.""" diff --git a/volatility3/framework/interfaces/layers.py b/volatility3/framework/interfaces/layers.py index 56798aca9..a90a78667 100644 --- a/volatility3/framework/interfaces/layers.py +++ b/volatility3/framework/interfaces/layers.py @@ -210,7 +210,7 @@ class DataLayerInterface( context: interfaces.context.ContextInterface, scanner: ScannerInterface, progress_callback: constants.ProgressCallback = None, - sections: Iterable[Tuple[int, int]] = None, + sections: Optional[Iterable[Tuple[int, int]]] = None, ) -> Iterable[Any]: """Scans a Translation layer by chunk. diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 51d25510d..23c90b13b 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -374,6 +374,7 @@ class Template: f"{self.__class__.__name__} object has no attribute {attr}" ) + @abc.abstractmethod def __call__( self, context: "interfaces.context.ContextInterface", diff --git a/volatility3/framework/interfaces/renderers.py b/volatility3/framework/interfaces/renderers.py index 7105274c0..e26164ee7 100644 --- a/volatility3/framework/interfaces/renderers.py +++ b/volatility3/framework/interfaces/renderers.py @@ -183,7 +183,7 @@ class TreeGrid(metaclass=ABCMeta): @abstractmethod def populate( self, - function: VisitorSignature = None, + function: Optional[VisitorSignature] = None, initial_accumulator: Any = None, fail_on_errors: bool = True, ) -> Optional[Exception]: @@ -235,7 +235,7 @@ class TreeGrid(metaclass=ABCMeta): node: Optional[TreeNode], function: VisitorSignature, initial_accumulator: _Type, - sort_key: ColumnSortKey = None, + sort_key: Optional[ColumnSortKey] = None, ) -> None: """Visits all the nodes in a tree, calling function on each one. diff --git a/volatility3/framework/interfaces/symbols.py b/volatility3/framework/interfaces/symbols.py index ead91fb4d..b8712e38d 100644 --- a/volatility3/framework/interfaces/symbols.py +++ b/volatility3/framework/interfaces/symbols.py @@ -256,6 +256,7 @@ class SymbolSpaceInterface(collections.abc.Mapping): """An interface for the container that holds all the symbol-containing tables for use within a context.""" + @abstractmethod def free_table_name(self, prefix: str = "layer") -> str: """Returns an unused table name to ensure no collision occurs when inserting a symbol table.""" diff --git a/volatility3/framework/layers/scanners/__init__.py b/volatility3/framework/layers/scanners/__init__.py index f54b44ff4..be9f1c39a 100644 --- a/volatility3/framework/layers/scanners/__init__.py +++ b/volatility3/framework/layers/scanners/__init__.py @@ -72,7 +72,7 @@ class MultiStringScanner(layers.ScannerInterface): return None for char in value: - trie[char] = trie.get(char, {}) + trie.setdefault(char, {}) trie = trie[char] # Mark the end of a string diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index 5846da070..869d4dae6 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -152,7 +152,7 @@ class PrimitiveObject(interfaces.objects.ObjectInterface): type_name: str, object_info: interfaces.objects.ObjectInformation, data_format: DataFormatInfo, - new_value: TUnion[int, float, bool, bytes, str] = None, + new_value: Optional[TUnion[int, float, bool, bytes, str]] = None, **kwargs, ) -> "PrimitiveObject": """Creates the appropriate class and returns it so that the native type @@ -601,7 +601,7 @@ class Enumeration(interfaces.objects.ObjectInterface, int): inverse_choices[v] = k return inverse_choices - def lookup(self, value: int = None) -> str: + def lookup(self, value: Optional[int] = None) -> str: """Looks up an individual value and returns the associated name. If multiple identifiers map to the same value, the first matching identifier will be returned @@ -690,7 +690,7 @@ class Array(interfaces.objects.ObjectInterface, collections.abc.Sequence): type_name: str, object_info: interfaces.objects.ObjectInformation, count: int = 0, - subtype: templates.ObjectTemplate = None, + subtype: Optional[templates.ObjectTemplate] = None, ) -> None: super().__init__(context=context, type_name=type_name, object_info=object_info) self._vol["count"] = count diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index a6d2e6538..82b8dcc67 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import datetime -from typing import Any, Callable, Iterable, List, Tuple +from typing import Any, Callable, Iterable, List, Optional, Tuple from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements @@ -58,7 +58,9 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ] @classmethod - def create_pid_filter(cls, pid_list: List[int] = None) -> Callable[[Any], bool]: + def create_pid_filter( + cls, pid_list: Optional[List[int]] = None + ) -> Callable[[Any], bool]: """Constructs a filter function for process IDs. Args: diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index 74d044ba9..8c5e5c1a5 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -4,7 +4,7 @@ import datetime import logging -from typing import Callable, Dict, Iterable, List +from typing import Callable, Dict, Iterable, List, Optional from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.configuration import requirements @@ -82,7 +82,9 @@ class PsList(interfaces.plugins.PluginInterface): return list_tasks @classmethod - def create_pid_filter(cls, pid_list: List[int] = None) -> Callable[[int], bool]: + def create_pid_filter( + cls, pid_list: Optional[List[int]] = None + ) -> Callable[[int], bool]: def filter_func(_): return False diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index 4e483922b..0f4064d79 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -54,7 +54,9 @@ class Timeliner(interfaces.plugins.PluginInterface): self.automagics: Optional[List[interfaces.automagic.AutomagicInterface]] = None @classmethod - def get_usable_plugins(cls, selected_list: List[str] = None) -> List[Type]: + def get_usable_plugins( + cls, selected_list: Optional[List[str]] = None + ) -> List[Type]: # Initialize for the run plugin_list = list(framework.class_subclasses(TimeLinerInterface)) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index a3677ad34..85eb474a8 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import Generator, Iterable, List +from typing import Generator, Iterable, List, Optional from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements @@ -133,7 +133,7 @@ class Modules(interfaces.plugins.PluginInterface): context: interfaces.context.ContextInterface, layer_name: str, symbol_table: str, - pids: List[int] = None, + pids: Optional[List[int]] = None, ) -> Generator[str, None, None]: """Build a cache of possible virtual layers, in priority starting with the primary/kernel layer. Then keep one layer per session by cycling diff --git a/volatility3/framework/plugins/windows/pedump.py b/volatility3/framework/plugins/windows/pedump.py index 85d5d14d1..678652624 100644 --- a/volatility3/framework/plugins/windows/pedump.py +++ b/volatility3/framework/plugins/windows/pedump.py @@ -96,7 +96,7 @@ class PEDump(interfaces.plugins.PluginInterface): pe_table_name: str, ldr_entry: interfaces.objects.ObjectInterface, open_method: Type[interfaces.plugins.FileHandlerInterface], - layer_name: str = None, + layer_name: Optional[str] = None, prefix: str = "", ) -> Optional[str]: """Extracts the PE file referenced an LDR_DATA_TABLE_ENTRY (DLL, kernel module) instance diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 8c56d202d..efde09638 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -183,7 +183,7 @@ class PoolScanner(plugins.PluginInterface): @staticmethod def builtin_constraints( - symbol_table: str, tags_filter: List[bytes] = None + symbol_table: str, tags_filter: Optional[List[bytes]] = None ) -> List[PoolConstraint]: """Get built-in PoolConstraints given a list of pool tags. diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index f262aeae6..579a235d8 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -4,7 +4,7 @@ import datetime import logging -from typing import Callable, Iterator, List, Type +from typing import Callable, Iterator, List, Optional, Type from volatility3.framework import renderers, interfaces, layers, exceptions, constants from volatility3.framework.configuration import requirements @@ -114,7 +114,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): @classmethod def create_pid_filter( - cls, pid_list: List[int] = None, exclude: bool = False + cls, pid_list: Optional[List[int]] = None, exclude: bool = False ) -> Callable[[interfaces.objects.ObjectInterface], bool]: """A factory for producing filter functions that filter based on a list of process IDs. @@ -171,7 +171,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): @classmethod def create_name_filter( - cls, name_list: List[str] = None, exclude: bool = False + cls, name_list: Optional[List[str]] = None, exclude: bool = False ) -> Callable[[interfaces.objects.ObjectInterface], bool]: """A factory for producing filter functions that filter based on a list of process names. diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index 86eb47300..cdf344ee6 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -89,7 +89,7 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): cls, context: interfaces.context.ContextInterface, layer_name: str, - offset: int = None, + offset: Optional[int] = None, physical: bool = True, exclude: bool = False, ) -> Callable[[interfaces.objects.ObjectInterface], bool]: diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index 4fe3f97fb..ed926805b 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -4,7 +4,7 @@ import datetime import logging -from typing import List, Sequence, Iterable, Tuple, Union +from typing import List, Optional, Sequence, Iterable, Tuple, Union from volatility3.framework import objects, renderers, exceptions, interfaces, constants from volatility3.framework.configuration import requirements @@ -51,7 +51,7 @@ class PrintKey(interfaces.plugins.PluginInterface): def key_iterator( cls, hive: RegistryHive, - node_path: Sequence[objects.StructType] = None, + node_path: Optional[Sequence[objects.StructType]] = None, recurse: bool = False, ) -> Iterable[ Tuple[ @@ -121,7 +121,7 @@ class PrintKey(interfaces.plugins.PluginInterface): def _printkey_iterator( self, hive: RegistryHive, - node_path: Sequence[objects.StructType] = None, + node_path: Optional[Sequence[objects.StructType]] = None, recurse: bool = False, ): """Method that wraps the more generic key_iterator, to provide output @@ -242,8 +242,8 @@ class PrintKey(interfaces.plugins.PluginInterface): self, layer_name: str, symbol_table: str, - hive_offsets: List[int] = None, - key: str = None, + hive_offsets: Optional[List[int]] = None, + key: Optional[str] = None, recurse: bool = False, ): for hive in hivelist.HiveList.list_hives( diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 277a0d856..6dd5613c4 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -270,7 +270,6 @@ class _ScheduledTasksReader(io.BytesIO): return val def read_aligned_bstring_expand_sz(self) -> Optional[str]: - # type: () -> Optional[str] sz = self.read_aligned_u4() if sz is None: return None diff --git a/volatility3/framework/renderers/__init__.py b/volatility3/framework/renderers/__init__.py index 39ce1135d..112e93751 100644 --- a/volatility3/framework/renderers/__init__.py +++ b/volatility3/framework/renderers/__init__.py @@ -214,7 +214,7 @@ class TreeGrid(interfaces.renderers.TreeGrid): def populate( self, - function: interfaces.renderers.VisitorSignature = None, + function: Optional[interfaces.renderers.VisitorSignature] = None, initial_accumulator: Any = None, fail_on_errors: bool = True, ) -> Optional[Exception]: diff --git a/volatility3/framework/symbols/__init__.py b/volatility3/framework/symbols/__init__.py index a8753bd4d..87f2288d7 100644 --- a/volatility3/framework/symbols/__init__.py +++ b/volatility3/framework/symbols/__init__.py @@ -53,10 +53,10 @@ class SymbolSpace(interfaces.symbols.SymbolSpaceInterface): self._resolved: Dict[str, interfaces.objects.Template] = {} self._resolved_symbols: Dict[str, interfaces.objects.Template] = {} - def clear_symbol_cache(self, table_name: str = None) -> None: + def clear_symbol_cache(self, table_name: Optional[str] = None) -> None: """Clears the symbol cache for the specified table name. If no table name is specified, the caches of all symbol tables are cleared.""" - table_list: List[interfaces.symbols.BaseSymbolTableInterface] = list() + table_list: List[interfaces.symbols.BaseSymbolTableInterface] = [] if table_name is None: table_list = list(self._dict.values()) else: @@ -81,7 +81,7 @@ class SymbolSpace(interfaces.symbols.SymbolSpaceInterface): yield table + constants.BANG + symbol_name def get_symbols_by_location( - self, offset: int, size: int = 0, table_name: str = None + self, offset: int, size: int = 0, table_name: Optional[str] = None ) -> Iterable[str]: """Returns all symbols that exist at a specific relative address.""" table_list: Iterable[interfaces.symbols.BaseSymbolTableInterface] = ( @@ -128,7 +128,7 @@ class SymbolSpace(interfaces.symbols.SymbolSpaceInterface): self, producer: str, validator: Callable[[Optional[Tuple], Optional[datetime.datetime]], bool], - tables: List[str] = None, + tables: Optional[List[str]] = None, ) -> bool: """Verifies the producer metadata and version of tables diff --git a/volatility3/framework/symbols/generic/__init__.py b/volatility3/framework/symbols/generic/__init__.py index 9d6da5aa4..7dd00fa75 100644 --- a/volatility3/framework/symbols/generic/__init__.py +++ b/volatility3/framework/symbols/generic/__init__.py @@ -4,7 +4,7 @@ import random import string -from typing import Union +from typing import Optional, Union from volatility3.framework import objects, interfaces @@ -14,8 +14,8 @@ class GenericIntelProcess(objects.StructType): self, context: interfaces.context.ContextInterface, dtb: Union[int, interfaces.objects.ObjectInterface], - config_prefix: str = None, - preferred_name: str = None, + config_prefix: Optional[str] = None, + preferred_name: Optional[str] = None, ) -> str: """Constructs a new layer based on the process's DirectoryTableBase.""" diff --git a/volatility3/framework/symbols/intermed.py b/volatility3/framework/symbols/intermed.py index 8a28d732f..5b4aa22b8 100644 --- a/volatility3/framework/symbols/intermed.py +++ b/volatility3/framework/symbols/intermed.py @@ -86,7 +86,7 @@ class IntermediateSymbolTable(interfaces.symbols.SymbolTableInterface): config_path: str, name: str, isf_url: str, - native_types: interfaces.symbols.NativeTableInterface = None, + native_types: Optional[interfaces.symbols.NativeTableInterface] = None, table_mapping: Optional[Dict[str, str]] = None, validate: bool = True, class_types: Optional[ @@ -319,7 +319,7 @@ class ISFormatTable(interfaces.symbols.SymbolTableInterface, metaclass=ABCMeta): config_path: str, name: str, json_object: Any, - native_types: interfaces.symbols.NativeTableInterface = None, + native_types: Optional[interfaces.symbols.NativeTableInterface] = None, table_mapping: Optional[Dict[str, str]] = None, ) -> None: self._json_object = json_object diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 7b025450c..4e2e80bc6 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -308,7 +308,7 @@ class module(generic.GenericIntelProcess): class task_struct(generic.GenericIntelProcess): def add_process_layer( - self, config_prefix: str = None, preferred_name: str = None + self, config_prefix: Optional[str] = None, preferred_name: Optional[str] = None ) -> Optional[str]: """Constructs a new layer based on the process's DTB. diff --git a/volatility3/framework/symbols/mac/__init__.py b/volatility3/framework/symbols/mac/__init__.py index ee6dd10a3..dc54a8371 100644 --- a/volatility3/framework/symbols/mac/__init__.py +++ b/volatility3/framework/symbols/mac/__init__.py @@ -1,7 +1,7 @@ # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Iterator, Any, Iterable, List, Tuple, Set +from typing import Iterator, Any, Iterable, List, Optional, Tuple, Set from volatility3.framework import interfaces, objects, exceptions, constants from volatility3.framework.symbols import intermed @@ -97,7 +97,7 @@ class MacUtilities(interfaces.configuration.VersionableInterface): context: interfaces.context.ContextInterface, handlers: Iterator[Any], target_address, - kernel_module_name: str = None, + kernel_module_name: Optional[str] = None, ): mod_name = "UNKNOWN" symbol_name = "N/A" diff --git a/volatility3/framework/symbols/mac/extensions/__init__.py b/volatility3/framework/symbols/mac/extensions/__init__.py index d2573fb95..cc700f209 100644 --- a/volatility3/framework/symbols/mac/extensions/__init__.py +++ b/volatility3/framework/symbols/mac/extensions/__init__.py @@ -18,7 +18,7 @@ class proc(generic.GenericIntelProcess): return self.task.dereference().cast("task") def add_process_layer( - self, config_prefix: str = None, preferred_name: str = None + self, config_prefix: Optional[str] = None, preferred_name: Optional[str] = None ) -> Optional[str]: """Constructs a new layer based on the process's DTB. diff --git a/volatility3/framework/symbols/metadata.py b/volatility3/framework/symbols/metadata.py index 7e069e518..ea635f1f1 100644 --- a/volatility3/framework/symbols/metadata.py +++ b/volatility3/framework/symbols/metadata.py @@ -25,7 +25,7 @@ class ProducerMetadata(interfaces.symbols.MetadataInterface): return self._json_data.get("version", "") @property - def version(self) -> Optional[Tuple[int]]: + def version(self) -> Optional[Tuple[int, ...]]: """Returns the version of the ISF file producer""" version = self.version_string if not version: diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 600f3e23f..d63f138b6 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -692,7 +692,9 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): return True - def add_process_layer(self, config_prefix: str = None, preferred_name: str = None): + def add_process_layer( + self, config_prefix: Optional[str] = None, preferred_name: Optional[str] = None + ): """Constructs a new layer based on the process's DirectoryTableBase.""" parent_layer = self._context.layers[self.vol.layer_name] diff --git a/volatility3/framework/symbols/windows/extensions/pool.py b/volatility3/framework/symbols/windows/extensions/pool.py index 5a7847986..de5c8271b 100644 --- a/volatility3/framework/symbols/windows/extensions/pool.py +++ b/volatility3/framework/symbols/windows/extensions/pool.py @@ -362,7 +362,7 @@ class OBJECT_HEADER(objects.StructType): return True def get_object_type( - self, type_map: Dict[int, str], cookie: int = None + self, type_map: Dict[int, str], cookie: Optional[int] = None ) -> Optional[str]: """Across all Windows versions, the _OBJECT_HEADER embeds details on the type of object (i.e. process, file) but the way its embedded diff --git a/volatility3/framework/symbols/windows/pdbconv.py b/volatility3/framework/symbols/windows/pdbconv.py index ea2884bb2..248ef7d0c 100644 --- a/volatility3/framework/symbols/windows/pdbconv.py +++ b/volatility3/framework/symbols/windows/pdbconv.py @@ -984,7 +984,9 @@ if __name__ == "__main__": def __init__(self): self._max_message_len = 0 - def __call__(self, progress: Union[int, float], description: str = None): + def __call__( + self, progress: Union[int, float], description: Optional[str] = None + ): """A simple function for providing text-based feedback. .. warning:: Only for development use. diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index 1a8644fa8..b5e8ca70a 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -36,7 +36,7 @@ class PDBUtility(interfaces.configuration.VersionableInterface): layer_name: str, offset: int, symbol_table_class: str = "volatility3.framework.symbols.intermed.IntermediateSymbolTable", - config_path: str = None, + config_path: Optional[str] = None, progress_callback: constants.ProgressCallback = None, ) -> Optional[str]: """Produces the name of a symbol table loaded from the offset for an MZ header @@ -388,8 +388,8 @@ class PDBUtility(interfaces.configuration.VersionableInterface): config_path: str, layer_name: str, pdb_name: str, - module_offset: int = None, - module_size: int = None, + module_offset: Optional[int] = None, + module_size: Optional[int] = None, ) -> str: """Creates symbol table for a module in the specified layer_name. @@ -418,8 +418,8 @@ class PDBUtility(interfaces.configuration.VersionableInterface): config_path: str, layer_name: str, pdb_name: str, - module_offset: int = None, - module_size: int = None, + module_offset: Optional[int] = None, + module_size: Optional[int] = None, create_module: bool = False, ) -> Tuple[Optional[str], Optional[str]]: if module_offset is None: @@ -478,8 +478,8 @@ class PDBUtility(interfaces.configuration.VersionableInterface): config_path: str, layer_name: str, pdb_name: str, - module_offset: int = None, - module_size: int = None, + module_offset: Optional[int] = None, + module_size: Optional[int] = None, ) -> str: """Creates a module in the specified layer_name based on a pdb name. From cf7aabead44aa1aee02384c57860f7e3ba1a5a84 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Wed, 18 Dec 2024 08:12:49 +0000 Subject: [PATCH 1027/2186] Change semi-colon to colon --- volatility3/framework/configuration/requirements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 0cfaf5693..cc3ed847e 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -111,7 +111,7 @@ class ListRequirement(interfaces.configuration.RequirementInterface): Args: element_type: The (requirement) type of each element within the list - max_elements; The maximum number of acceptable elements this list can contain + max_elements: The maximum number of acceptable elements this list can contain min_elements: The minimum number of acceptable elements this list can contain """ super().__init__(*args, **kwargs) From 7464a3b883a50ee35a2e3c607d1906dd6d8c1807 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 18 Dec 2024 10:57:33 -0600 Subject: [PATCH 1028/2186] Windows Extensions: Fix potential AttributeErrors If `self.get_owner()` returns `None`, and the chained call to `is_valid()` is executed, an `AttributeError` will occur. This fixes two instances of this bug by intializing a local variable with the result of the `get_owner()` call, checking for `None`, and returning if that's the case. Also adds type-hints for these methods. --- .../symbols/windows/extensions/network.py | 30 ++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/network.py b/volatility3/framework/symbols/windows/extensions/network.py index 9b7573c2e..cfa2a7a30 100644 --- a/volatility3/framework/symbols/windows/extensions/network.py +++ b/volatility3/framework/symbols/windows/extensions/network.py @@ -4,7 +4,7 @@ import logging import socket -from typing import Dict, Tuple, List, Union +from typing import Dict, Tuple, List, Union, Optional from volatility3.framework import exceptions from volatility3.framework import objects, interfaces @@ -86,19 +86,29 @@ class _TCP_LISTENER(objects.StructType): except exceptions.InvalidAddressException: return None - def get_owner_pid(self): - if self.get_owner().is_valid(): - if self.get_owner().has_valid_member("UniqueProcessId"): - return self.get_owner().UniqueProcessId + def get_owner_pid(self) -> Optional[int]: + owner = self.get_owner() + + if owner is None: + return None + + if owner.is_valid(): + if owner.has_valid_member("UniqueProcessId"): + return owner.UniqueProcessId return None - def get_owner_procname(self): - if self.get_owner().is_valid(): - if self.get_owner().has_valid_member("ImageFileName"): - return self.get_owner().ImageFileName.cast( + def get_owner_procname(self) -> Optional[str]: + owner = self.get_owner() + + if owner is None: + return None + + if owner.is_valid(): + if owner.has_valid_member("ImageFileName"): + return owner.ImageFileName.cast( "string", - max_length=self.get_owner().ImageFileName.vol.count, + max_length=owner.ImageFileName.vol.count, errors="replace", ) From c865f4892c88d346d010a4d08ed75ecdb10a44c5 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:36:05 +0000 Subject: [PATCH 1029/2186] Slightly modify documentation --- doc/source/glossary.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/source/glossary.rst b/doc/source/glossary.rst index a9460b1a2..33e56883a 100644 --- a/doc/source/glossary.rst +++ b/doc/source/glossary.rst @@ -123,6 +123,11 @@ Page Table possible to use them as a way to map a particular address within a (potentially larger, but sparsely populated) virtual space to a concrete (and usually contiguous) physical space, through the process of :ref:`mapping`. +.. _Plugin: + +Plugin + Plugins are the "functions" of the volatility framework. They carry out algorithms on data stored in layers using objects constructed from symbols. Broadly, plugins take in a number of TranslationLayers (the data, which is a representation of part of an image, in a specified type described by templates) and outputs a TreeGrid. + .. _Pointer: Pointer From 1e2900d587acb1b752a1c8352bcf4fc112a9ec7a Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:39:03 +0000 Subject: [PATCH 1030/2186] Slightly modify documentation --- doc/source/glossary.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/source/glossary.rst b/doc/source/glossary.rst index 33e56883a..04f1fb090 100644 --- a/doc/source/glossary.rst +++ b/doc/source/glossary.rst @@ -61,9 +61,7 @@ Map, mapping of the :ref:`Range`). Mappings can be seen as a mathematical function, and therefore volatility 3 attempts to use mathematical functional notation where possible. Within volatility a mapping is most often used to refer to the function for translating addresses from a higher layer (domain) to a lower layer (range). - For further information, please see - `https://en.wikipedia.org/wiki/Function_(mathematics)`. - + For further information, please see `[Function (mathematics) in Wikipedia](https://en.wikipedia.org/wiki/Function_(mathematics))`. .. _Member: From 7eca407b6d8fc6123486c79121f0d6db2bf7dc8b Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 18 Dec 2024 11:34:25 -0600 Subject: [PATCH 1031/2186] Windows PEDump: Revert overwritten changes When #1364 was merged, it may not have been rebased onto the changes introduced in #1422, and they ended up overwritten to the old version. This reverts those changes. --- .../framework/plugins/windows/pedump.py | 41 +++++++++---------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/volatility3/framework/plugins/windows/pedump.py b/volatility3/framework/plugins/windows/pedump.py index 85d5d14d1..275775ddb 100644 --- a/volatility3/framework/plugins/windows/pedump.py +++ b/volatility3/framework/plugins/windows/pedump.py @@ -64,30 +64,27 @@ class PEDump(interfaces.plugins.PluginInterface): """ Returns the filename of the dump file or None """ - try: - file_handle = open_method(file_name) + with open_method(file_name) as file_handle: + try: + dos_header = context.object( + pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", + offset=base, + layer_name=layer_name, + ) - dos_header = context.object( - pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", - offset=base, - layer_name=layer_name, - ) + for offset, data in dos_header.reconstruct(): + file_handle.seek(offset) + file_handle.write(data) + except ( + OSError, + exceptions.VolatilityException, + OverflowError, + ValueError, + ) as excp: + vollog.debug(f"Unable to dump PE file at offset {base}: {excp}") + return None - for offset, data in dos_header.reconstruct(): - file_handle.seek(offset) - file_handle.write(data) - except ( - OSError, - exceptions.VolatilityException, - OverflowError, - ValueError, - ) as excp: - vollog.debug(f"Unable to dump PE file at offset {base}: {excp}") - return None - finally: - file_handle.close() - - return file_handle.preferred_filename + return file_handle.preferred_filename @classmethod def dump_ldr_entry( From a9417edd2810e682474966d501786bfb8e3206ec Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:49:56 +0000 Subject: [PATCH 1032/2186] Slightly modify documentation --- doc/source/glossary.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/glossary.rst b/doc/source/glossary.rst index 04f1fb090..d3bc9613a 100644 --- a/doc/source/glossary.rst +++ b/doc/source/glossary.rst @@ -61,7 +61,7 @@ Map, mapping of the :ref:`Range`). Mappings can be seen as a mathematical function, and therefore volatility 3 attempts to use mathematical functional notation where possible. Within volatility a mapping is most often used to refer to the function for translating addresses from a higher layer (domain) to a lower layer (range). - For further information, please see `[Function (mathematics) in Wikipedia](https://en.wikipedia.org/wiki/Function_(mathematics))`. + For further information, please see `Function (mathematics) in Wikipedia_`. .. _Member: From 3c26955e34d68150e5d009557a66581fd7188bb4 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 19 Dec 2024 12:02:16 +1100 Subject: [PATCH 1033/2186] xen_layer: fix potential uninitialized variable issue #1434 --- volatility3/framework/layers/xen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/layers/xen.py b/volatility3/framework/layers/xen.py index e7aa0ccec..c0a5e1a7d 100644 --- a/volatility3/framework/layers/xen.py +++ b/volatility3/framework/layers/xen.py @@ -54,6 +54,7 @@ class XenCoreDumpLayer(elf.Elf64Layer): segments = [] self._segment_headers = [] + segment_names = None for sindex in range(ehdr.e_shnum): shdr = self.context.object( From d14c777b4f2ba75ff06e1a39d4a23fa52473a5fa Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 19 Dec 2024 14:40:51 +1100 Subject: [PATCH 1034/2186] linux: vmcoreinfo layer: Update to use the new cache-manager --- volatility3/framework/automagic/linux.py | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index bb3bf2091..ce73ee969 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -224,19 +224,6 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): @staticmethod def _check_versions() -> bool: """Verify the versions of the required modules""" - - # Check SQlite cache version - sqlitecache_version_required = (1, 0, 0) - if not requirements.VersionRequirement.matches_required( - sqlitecache_version_required, symbol_cache.SqliteCache.version - ): - vollog.info( - "SQLiteCache version not suitable: required %s found %s", - sqlitecache_version_required, - symbol_cache.SqliteCache.version, - ) - return False - # Check VMCOREINFO API version vmcoreinfo_version_required = (1, 0, 0) if not requirements.VersionRequirement.matches_required( @@ -272,11 +259,9 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): if isinstance(layer, intel.Intel): return None - identifiers_path = os.path.join( - constants.CACHE_PATH, constants.IDENTIFIERS_FILENAME + linux_banners = symbol_cache.load_cache_manager().get_identifier_dictionary( + operating_system="linux" ) - sqlite_cache = symbol_cache.SqliteCache(identifiers_path) - linux_banners = sqlite_cache.get_identifier_dictionary(operating_system="linux") if not linux_banners: # If we have no banners, don't bother scanning vollog.info( From d56f3a5537de12d4b188b2d2eeace213396feea5 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 19 Dec 2024 14:49:23 +1100 Subject: [PATCH 1035/2186] linux: vmcoreinfo layer: Add review suggestions --- volatility3/framework/automagic/linux.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index ce73ee969..c2fc3306d 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -339,8 +339,8 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): context.symbol_space.append(table) # Build the new layer - new_layer_name = context.layers.free_layer_name("IntelLayer") - config_path = join("IntelHelper", new_layer_name) + new_layer_name = context.layers.free_layer_name("primary") + config_path = join("vmcoreinfo", new_layer_name) kernel_banner = LinuxSymbolFinder.banner_config_key banner_str = banner.decode(encoding="latin-1") context.config[join(config_path, kernel_banner)] = banner_str From 7858af3d6d69e3054c1b2c3690e115257efc82b0 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 19 Dec 2024 14:51:33 +1100 Subject: [PATCH 1036/2186] linux: vmcoreinfo layer: remove unused import --- volatility3/framework/automagic/linux.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index c2fc3306d..76c7f7ab3 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -2,7 +2,6 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import os import logging from typing import Optional, Tuple From c82d432b10258136ff0777dfec1fbf5844316132 Mon Sep 17 00:00:00 2001 From: TheMythologist Date: Thu, 19 Dec 2024 12:16:55 +0800 Subject: [PATCH 1037/2186] Typing fix --- volatility3/framework/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 754939460..a1925faef 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -5,7 +5,6 @@ # Check the python version to ensure it's suitable import glob import sys -from volatility3.framework import check_python_version as check_python_version import zipfile import importlib import inspect @@ -58,7 +57,7 @@ class NonInheritable: self.default_value = value self.cls = cls - def __get__(self, obj: Any, get_type: Type = Optional[None]) -> Any: + def __get__(self, obj: Any, get_type: Optional[Type] = None) -> Any: if type is self.cls: if hasattr(self.default_value, "__get__"): return self.default_value.__get__(obj, get_type) From 7ed8b99e9845b2f982da4ef186bed137ba77af8f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 19 Dec 2024 15:50:17 +1100 Subject: [PATCH 1038/2186] linux: vmcoreinfo layer: Use the version class accessor instead of the internal class member --- volatility3/framework/automagic/linux.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 76c7f7ab3..58195744b 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -226,12 +226,12 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface): # Check VMCOREINFO API version vmcoreinfo_version_required = (1, 0, 0) if not requirements.VersionRequirement.matches_required( - vmcoreinfo_version_required, linux.VMCoreInfo._version + vmcoreinfo_version_required, linux.VMCoreInfo.version ): vollog.info( "VMCOREINFO version not suitable: required %s found %s", vmcoreinfo_version_required, - linux.VMCoreInfo._version, + linux.VMCoreInfo.version, ) return False From 95e103d9ea6c556e93872f35cc1a83d8453ab94f Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:35:34 +0000 Subject: [PATCH 1039/2186] Remove commented out import --- volatility3/framework/plugins/windows/shimcachemem.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index 59f33510d..b8e9b5bd7 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -17,8 +17,6 @@ from volatility3.framework.symbols.windows.extensions import pe, shimcache from volatility3.plugins import timeliner from volatility3.plugins.windows import modules, pslist, vadinfo -# from volatility3.plugins.windows import pslist, vadinfo, modules - vollog = logging.getLogger(__name__) From c56d9334f82f90e90d46e1026e43d5e209cf9466 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 19 Dec 2024 12:00:27 +0000 Subject: [PATCH 1040/2186] Tweak comment --- volatility3/framework/plugins/windows/pe_symbols.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 002577241..21e657ab3 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -158,7 +158,7 @@ class PESymbolFinder: class PDBSymbolFinder(PESymbolFinder): """ - PESymbolFinder implementation for PDB modules + PESymbolFinder implementation for PDB modules """ def _do_get_address(self, name: str) -> Optional[int]: @@ -195,7 +195,7 @@ class PDBSymbolFinder(PESymbolFinder): class ExportSymbolFinder(PESymbolFinder): """ - PESymbolFinder implementation for PDB modules + PESymbolFinder implementation for PDB modules """ def _get_name(self, export: pefile.ExportData) -> Optional[str]: @@ -300,7 +300,7 @@ class PESymbols(interfaces.plugins.PluginInterface): base_address: int, ) -> Optional[pefile.PE]: """ - Attempts to pefile object from the bytes of the PE file + Attempts to create a pefile object from the bytes of the PE file Args: pe_table_name: name of the pe types table From 0e0c959cd0f3d4a7d14f5cd19a683609b64808f6 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 19 Dec 2024 12:21:20 +0000 Subject: [PATCH 1041/2186] Swap two letters in a typo --- volatility3/framework/plugins/windows/psxview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index e3ec216dd..b5ddd2ee5 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -25,7 +25,7 @@ class PsXView(plugins.PluginInterface): identify processes that are trying to hide themselves. I recommend using -r pretty if you are looking at this plugin's output in a terminal.""" - # I've omitted the desktop thread scanning method because Volatility3 doesn't appear to have the funcitonality + # I've omitted the desktop thread scanning method because Volatility3 doesn't appear to have the functionality # which the original plugin used to do it. # The sessions method is omitted because it begins with the list of processes found by Pslist anyway. From a11131b3d4767ec15619bab8084c4914ad528f75 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 19 Dec 2024 14:59:58 +0000 Subject: [PATCH 1042/2186] Update how to write a simple plugin --- doc/source/simple-plugin.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/simple-plugin.rst b/doc/source/simple-plugin.rst index 39670a62d..84b921114 100644 --- a/doc/source/simple-plugin.rst +++ b/doc/source/simple-plugin.rst @@ -52,7 +52,7 @@ to be able to run properly. Any that are defined as optional need not necessari version = (2, 0, 0))] -This is a classmethod, because it is called before the specific plugin object has been instantiated (in order to know how +This is a classmethod, so it can be called before the specific plugin object has been instantiated (in order to know how to instantiate the plugin). At the moment these requirements are fairly straightforward: :: From 4fe3db50df1a53d80d79ac100fdfaf577146fa86 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:32:30 +0000 Subject: [PATCH 1043/2186] Reorder requirements by type --- .../framework/plugins/windows/dlllist.py | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index 57f19f620..35b9fb2dc 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -19,7 +19,7 @@ vollog = logging.getLogger(__name__) class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): - """Lists the loaded modules in a particular windows memory image.""" + """Lists the loaded DLLs in a particular windows memory image.""" _required_framework_version = (2, 0, 0) _version = (3, 0, 0) @@ -39,6 +39,9 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="psscan", component=psscan.PsScan, version=(1, 1, 0) ), + requirements.VersionRequirement( + name="pedump", component=pedump.PEDump, version=(1, 0, 0) + ), requirements.VersionRequirement( name="info", component=info.Info, version=(1, 0, 0) ), @@ -53,16 +56,16 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): description="Process offset in the physical address space", optional=True, ), - requirements.StringRequirement( - name="name", - description="Specify a regular expression to match dll name(s)", - optional=True, - ), requirements.IntRequirement( name="base", description="Specify a base virtual address in process memory", optional=True, ), + requirements.StringRequirement( + name="name", + description="Specify a regular expression to match dll name(s)", + optional=True, + ), requirements.BooleanRequirement( name="ignore-case", description="Specify case insensitivity for the regular expression name matching", @@ -75,9 +78,6 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): default=False, optional=True, ), - requirements.VersionRequirement( - name="pedump", component=pedump.PEDump, version=(1, 0, 0) - ), ] def _generator(self, procs): @@ -90,12 +90,15 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): kuser = info.Info.get_kuser_structure( self.context, kernel.layer_name, kernel.symbol_table_name ) + nt_major_version = int(kuser.NtMajorVersion) nt_minor_version = int(kuser.NtMinorVersion) + # LoadTime only applies to versions higher or equal to Window 7 (6.1 and higher) dll_load_time_field = (nt_major_version > 6) or ( nt_major_version == 6 and nt_minor_version >= 1 ) + for proc in procs: proc_id = proc.UniqueProcessId proc_layer_name = proc.add_process_layer() @@ -114,7 +117,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): mod_re = re.compile(self.config["name"], flags) except re.error: vollog.debug( - "Error parsing regular expression: %s", self.config["name"] + f"Error parsing regular expression: {self.config["name"]}" ) return None From 59a5e85b504c48a381fb65f8fc2b42a84bf1bc9a Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 19 Dec 2024 17:36:42 +0000 Subject: [PATCH 1044/2186] Reorder requirements by type --- volatility3/framework/plugins/windows/dlllist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index 35b9fb2dc..65e337dfc 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -117,7 +117,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): mod_re = re.compile(self.config["name"], flags) except re.error: vollog.debug( - f"Error parsing regular expression: {self.config["name"]}" + f'Error parsing regular expression: {self.config["name"]}' ) return None @@ -138,7 +138,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): if dll_load_time_field: # Versions prior to 6.1 won't have the LoadTime attribute - # and 32bit version shouldn't have the Quadpart according to MSDN + # and 32-bit version shouldn't have the Quadpart according to MSDN try: DllLoadTime = conversion.wintime_to_datetime( entry.LoadTime.QuadPart From 8b35031d0f443184953d80263f2689e4dd0a059f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 20 Dec 2024 00:37:31 +0000 Subject: [PATCH 1045/2186] Volshell: Bump linux.pslist plugin requirement --- volatility3/cli/volshell/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/linux.py b/volatility3/cli/volshell/linux.py index c5e555ec7..72193201c 100644 --- a/volatility3/cli/volshell/linux.py +++ b/volatility3/cli/volshell/linux.py @@ -20,7 +20,7 @@ class Volshell(generic.Volshell): name="kernel", description="Linux kernel module" ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), requirements.IntRequirement( name="pid", description="Process ID", optional=True From 658d40335a15bc40d2ecb5679198d759858492b5 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 20 Dec 2024 13:06:14 +1100 Subject: [PATCH 1046/2186] testcases: Add basic volshell testcases for each OS image --- .github/workflows/test.yaml | 5 ++++ test/test_volatility.py | 51 +++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index dfc42499d..e07673175 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -42,6 +42,11 @@ jobs: - name: Testing... run: | + # VolShell + pytest ./test/test_volatility.py --volatility=volshell.py --image-dir=./test_images -k test_windows_volshell -v + pytest ./test/test_volatility.py --volatility=volshell.py --image-dir=./test_images -k test_linux_volshell -v + + # Volatility pytest ./test/test_volatility.py --volatility=vol.py --image-dir=./test_images -k test_windows -v pytest ./test/test_volatility.py --volatility=vol.py --image-dir=./test_images -k test_linux -v diff --git a/test/test_volatility.py b/test/test_volatility.py index 5bce07481..8ef6d8b70 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -54,13 +54,56 @@ def runvol_plugin(plugin, img, volatility, python, pluginargs=[], globalargs=[]) return runvol(args, volatility, python) +def runvolshell(img, volshell, python, volshellargs=[], globalargs=[]): + args = ( + globalargs + + [ + "--single-location", + img, + "-q", + ] + + volshellargs + ) + + return runvol(args, volshell, python) + + # # TESTS # + +def basic_volshell_test(image, volatility, python): + # Basic VolShell test to verify requirements and ensure VolShell runs without crashing + + # FIXME: When the minimum Python version includes 3.12, replace the following with: + # with tempfile.NamedTemporaryFile(delete_on_close=False) as fd: ... + fd, filename = tempfile.mkstemp(suffix=".txt") + try: + with os.fdopen(fd, "w") as f: + f.write("exit()") + + rc, out, _err = runvolshell( + img=image, + volshell=volatility, + python=python, + volshellargs=["--script", filename], + ) + finally: + with contextlib.suppress(FileNotFoundError): + os.remove(filename) + + assert rc == 0 + assert out.count(b"\n") >= 4 + + # WINDOWS +def test_windows_volshell(image, volatility, python): + basic_volshell_test(image, volatility, python) + + def test_windows_pslist(image, volatility, python): rc, out, _err = runvol_plugin("windows.pslist.PsList", image, volatility, python) out = out.lower() @@ -332,6 +375,10 @@ def test_windows_vadyarascan_yara_string(image, volatility, python): # LINUX +def test_linux_volshell(image, volatility, python): + basic_volshell_test(image, volatility, python) + + def test_linux_pslist(image, volatility, python): rc, out, _err = runvol_plugin("linux.pslist.PsList", image, volatility, python) @@ -770,6 +817,10 @@ def test_linux_hidden_modules(image, volatility, python): # MAC +def test_mac_volshell(image, volatility, python): + basic_volshell_test(image, volatility, python) + + def test_mac_pslist(image, volatility, python): rc, out, _err = runvol_plugin("mac.pslist.PsList", image, volatility, python) out = out.lower() From 90766f466f581561e17b2cc5e2c7d8eca56c56e6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 20 Dec 2024 13:21:24 +1100 Subject: [PATCH 1047/2186] testcases: exclude volshell test from the volatility set --- .github/workflows/test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e07673175..ce2722457 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -47,8 +47,8 @@ jobs: pytest ./test/test_volatility.py --volatility=volshell.py --image-dir=./test_images -k test_linux_volshell -v # Volatility - pytest ./test/test_volatility.py --volatility=vol.py --image-dir=./test_images -k test_windows -v - pytest ./test/test_volatility.py --volatility=vol.py --image-dir=./test_images -k test_linux -v + pytest ./test/test_volatility.py --volatility=vol.py --image-dir=./test_images -k "test_windows and not test_windows_volshell" -v + pytest ./test/test_volatility.py --volatility=vol.py --image-dir=./test_images -k "test_linux and not test_linux_volshell" -v - name: Clean up post-test run: | From e6e0754fa523f9c0edb6a6e449bdbf08a16fa712 Mon Sep 17 00:00:00 2001 From: TheMythologist Date: Fri, 20 Dec 2024 10:46:54 +0800 Subject: [PATCH 1048/2186] Remove mypy overrides section --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cc09922e9..d695a4eac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,9 +69,6 @@ include = ["volatility3*"] mypy_path = "./stubs" show_traceback = true -[[tool.mypy.overrides]] -ignore_missing_imports = true - [tool.ruff] line-length = 88 target-version = "py38" From c317a45eb56a5da26ee50e2edc0d2e8c6821d262 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 20 Dec 2024 14:31:40 +1100 Subject: [PATCH 1049/2186] testcases: Add missing operating system argument --- test/test_volatility.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 8ef6d8b70..f8a32fef3 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -73,7 +73,7 @@ def runvolshell(img, volshell, python, volshellargs=[], globalargs=[]): # -def basic_volshell_test(image, volatility, python): +def basic_volshell_test(image, volatility, python, globalargs): # Basic VolShell test to verify requirements and ensure VolShell runs without crashing # FIXME: When the minimum Python version includes 3.12, replace the following with: @@ -88,6 +88,7 @@ def basic_volshell_test(image, volatility, python): volshell=volatility, python=python, volshellargs=["--script", filename], + globalargs=globalargs, ) finally: with contextlib.suppress(FileNotFoundError): @@ -101,7 +102,7 @@ def basic_volshell_test(image, volatility, python): def test_windows_volshell(image, volatility, python): - basic_volshell_test(image, volatility, python) + basic_volshell_test(image, volatility, python, globalargs=["-w"]) def test_windows_pslist(image, volatility, python): @@ -376,7 +377,7 @@ def test_windows_vadyarascan_yara_string(image, volatility, python): def test_linux_volshell(image, volatility, python): - basic_volshell_test(image, volatility, python) + basic_volshell_test(image, volatility, python, globalargs=["-l"]) def test_linux_pslist(image, volatility, python): @@ -818,7 +819,7 @@ def test_linux_hidden_modules(image, volatility, python): def test_mac_volshell(image, volatility, python): - basic_volshell_test(image, volatility, python) + basic_volshell_test(image, volatility, python, globalargs=["-m"]) def test_mac_pslist(image, volatility, python): From d546c983f3012f3060aca2b2721fedcc48321370 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 20 Dec 2024 14:33:36 +1100 Subject: [PATCH 1050/2186] testcases: Fix runvol* default list arguments --- test/test_volatility.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index f8a32fef3..47ef9769f 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -39,7 +39,9 @@ def runvol(args, volatility, python): return p.returncode, stdout, stderr -def runvol_plugin(plugin, img, volatility, python, pluginargs=[], globalargs=[]): +def runvol_plugin(plugin, img, volatility, python, pluginargs=None, globalargs=None): + pluginargs = pluginargs or [] + globalargs = globalargs or [] args = ( globalargs + [ @@ -54,7 +56,9 @@ def runvol_plugin(plugin, img, volatility, python, pluginargs=[], globalargs=[]) return runvol(args, volatility, python) -def runvolshell(img, volshell, python, volshellargs=[], globalargs=[]): +def runvolshell(img, volshell, python, volshellargs=None, globalargs=None): + volshellargs = volshellargs or [] + globalargs = globalargs or [] args = ( globalargs + [ From ef977efe62af8e4cc5baa96e8a20fb713ee7494f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 20 Dec 2024 14:50:35 +1100 Subject: [PATCH 1051/2186] testcases: Improve volshell basic testcase calling ps() on each of them --- test/test_volatility.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 47ef9769f..bb7c9a851 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -80,12 +80,18 @@ def runvolshell(img, volshell, python, volshellargs=None, globalargs=None): def basic_volshell_test(image, volatility, python, globalargs): # Basic VolShell test to verify requirements and ensure VolShell runs without crashing + volshell_commands = [ + "print(ps())", + "exit()", + ] + # FIXME: When the minimum Python version includes 3.12, replace the following with: # with tempfile.NamedTemporaryFile(delete_on_close=False) as fd: ... fd, filename = tempfile.mkstemp(suffix=".txt") try: + volshell_script = "\n".join(volshell_commands) with os.fdopen(fd, "w") as f: - f.write("exit()") + f.write(volshell_script) rc, out, _err = runvolshell( img=image, @@ -101,12 +107,15 @@ def basic_volshell_test(image, volatility, python, globalargs): assert rc == 0 assert out.count(b"\n") >= 4 + return out + # WINDOWS def test_windows_volshell(image, volatility, python): - basic_volshell_test(image, volatility, python, globalargs=["-w"]) + out = basic_volshell_test(image, volatility, python, globalargs=["-w"]) + assert out.count(b" 40 def test_windows_pslist(image, volatility, python): @@ -381,7 +390,8 @@ def test_windows_vadyarascan_yara_string(image, volatility, python): def test_linux_volshell(image, volatility, python): - basic_volshell_test(image, volatility, python, globalargs=["-l"]) + out = basic_volshell_test(image, volatility, python, globalargs=["-l"]) + assert out.count(b" 100 def test_linux_pslist(image, volatility, python): From 89564cca66a14f9a1707a6d3e056ef56e605b4f0 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Fri, 20 Dec 2024 05:48:42 +0000 Subject: [PATCH 1052/2186] Revert one f-string As part of the ruff linting we did recently all vollog messages should have explicitly been reverted back to %-formatting. --- volatility3/framework/plugins/windows/dlllist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index 65e337dfc..1dafb6bf5 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -117,7 +117,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): mod_re = re.compile(self.config["name"], flags) except re.error: vollog.debug( - f'Error parsing regular expression: {self.config["name"]}' + "Error parsing regular expression: %s", self.config["name"] ) return None From 15eb80b600e6a2114e232355a04cb1bbf5ce8972 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 20 Dec 2024 13:11:35 +0100 Subject: [PATCH 1053/2186] fix unbound page variable access --- volatility3/framework/plugins/windows/malfind.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 510719352..14362776b 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -120,8 +120,7 @@ class Malfind(interfaces.plugins.PluginInterface): vadinfo.winnt_protections, ) write_exec = "EXECUTE" in protection_string and "WRITE" in protection_string - dirty_page_check = False - + dirty_page = None if not write_exec: """ # Inspect "PAGE_EXECUTE_READ" VAD pages to detect @@ -135,12 +134,12 @@ class Malfind(interfaces.plugins.PluginInterface): try: # If we have a dirty page in a non writable "EXECUTE" region, it is suspicious. if proc_layer.is_dirty(page): - dirty_page_check = True + dirty_page = page break except exceptions.InvalidAddressException: # Abort as it is likely that other addresses in the same range will also fail. break - if not dirty_page_check: + if dirty_page is None: continue else: continue @@ -152,10 +151,10 @@ class Malfind(interfaces.plugins.PluginInterface): if cls.is_vad_empty(proc_layer, vad): continue - if dirty_page_check: + if dirty_page is not None: # Useful information to investigate the page content with volshell afterwards. vollog.warning( - f"[proc_id {proc_id}] Found suspicious DIRTY + {protection_string} page at {hex(page)}", + f"[proc_id {proc_id}] Found suspicious DIRTY + {protection_string} page at {hex(dirty_page)}", ) data = proc_layer.read(vad.get_start(), 64, pad=True) yield vad, data From 675ef6deea00cf4659bca50e0004dea3be43e8c1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 20 Dec 2024 15:01:09 +0000 Subject: [PATCH 1054/2186] Generic: Fix up potential issue with isfinfo Fixes #1436 --- volatility3/framework/plugins/isfinfo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/isfinfo.py b/volatility3/framework/plugins/isfinfo.py index 78e78fb9e..1c2ac52e9 100644 --- a/volatility3/framework/plugins/isfinfo.py +++ b/volatility3/framework/plugins/isfinfo.py @@ -132,6 +132,7 @@ class IsfInfo(plugins.PluginInterface): valid = check_valid(data) except (UnicodeDecodeError, json.decoder.JSONDecodeError): vollog.warning(f"Invalid ISF: {entry}") + continue yield ( 0, ( From f6f4c7b986c8c2adf7a73211f7aeb1375b00f255 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 20 Dec 2024 15:11:42 +0000 Subject: [PATCH 1055/2186] Layers: Fix MSF page len on a possibly uninitialized variable Fixes #1441 --- volatility3/framework/layers/msf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/msf.py b/volatility3/framework/layers/msf.py index 03e144e25..2b4fae963 100644 --- a/volatility3/framework/layers/msf.py +++ b/volatility3/framework/layers/msf.py @@ -194,7 +194,7 @@ class PdbMSFStream(linear.LinearlyMappedLayer): ) -> None: super().__init__(context, config_path, name, metadata) self._base_layer = self.config["base_layer"] - self._pages = self.config.get("pages", None) + self._pages = self.config.get("pages", []) self._pages_len = len(self._pages) if not self._pages: raise PDBFormatException(name, "Invalid/no pages specified") From eaca7b31bba1c9d8f934ad3e607fced26797abfd Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 20 Dec 2024 15:16:17 +0000 Subject: [PATCH 1056/2186] Layers: Fix vmware layer without a suitable meta Fixes #1442 --- volatility3/framework/layers/vmware.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/volatility3/framework/layers/vmware.py b/volatility3/framework/layers/vmware.py index 622ff0250..39fb21b63 100644 --- a/volatility3/framework/layers/vmware.py +++ b/volatility3/framework/layers/vmware.py @@ -57,6 +57,10 @@ class VmwareLayer(segmented.SegmentedLayer): ) meta_layer = self.context.layers.get(self._meta_layer, None) + if meta_layer is None: + raise exceptions.LayerException( + self._meta_layer, "VMware: Meta layer not found" + ) header_size = struct.calcsize(self.header_structure) data = meta_layer.read(0, header_size) magic, unknown, groupCount = struct.unpack(self.header_structure, data) From cc8fbd5b6824231d5f7bfb53a66560cb2e3fe3b1 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Fri, 20 Dec 2024 17:34:52 +0000 Subject: [PATCH 1057/2186] Tweak a comment --- volatility3/framework/plugins/windows/svclist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index ea73247ce..a5825e1fe 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -41,7 +41,7 @@ class SvcList(svcscan.SvcScan): @classmethod def _get_exe_range(cls, proc) -> Optional[Tuple[int, int]]: """ - Returns a tuple of starting,ending address for + Returns a tuple of starting address and size of the the VAD containing services.exe """ From bed03dfbc7024d97c289b0c26f98d0627e105eee Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 21 Dec 2024 06:15:35 +0000 Subject: [PATCH 1058/2186] Refactor check of BasicType The intention is either a BasicType or a list where each element is only a BasicType (and not a list). --- volatility3/cli/volshell/generic.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 08132608b..a4b141c2d 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -554,11 +554,15 @@ class Volshell(interfaces.plugins.PluginInterface): del kwargs[argname] for keyword, val in kwargs.items(): - if not isinstance(val, (interfaces.configuration.BasicTypes, list)): - if all(isinstance(x, interfaces.configuration.BasicTypes) for x in val): - raise TypeError( - "Configurable values must be simple types (int, bool, str, bytes)" - ) + BasicType_or_list_of_BasicType = False # excludes list of lists + if isinstance(val, interfaces.configuration.BasicTypes): + BasicType_or_list_of_BasicType = True + if all(isinstance(x, interfaces.configuration.BasicTypes) for x in val): + BasicType_or_list_of_BasicType = True + if not BasicType_or_list_of_BasicType: + raise TypeError( + "Configurable values must be simple types (int, bool, str, bytes)" + ) self.context.config[config_path + "." + keyword] = val constructed = clazz(self.context, config_path, **constructor_args) From 88eb2aa88648180439e4d5311c9bf49ef2ae9363 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 21 Dec 2024 13:22:04 +0100 Subject: [PATCH 1059/2186] switch pillow to pyproject.toml --- pyproject.toml | 78 ++++++++++++++++++++++++++++++++++++++++++++---- requirements.txt | 29 ------------------ 2 files changed, 72 insertions(+), 35 deletions(-) delete mode 100644 requirements.txt diff --git a/pyproject.toml b/pyproject.toml index 2e1636a43..c8b2971e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,13 +8,55 @@ authors = [ ] requires-python = ">=3.8.0" license = { text = "VSL" } -dynamic = ["dependencies", "optional-dependencies", "version"] +dynamic = ["version"] + +dependencies = [ + "pefile>=2024.8.26", +] + +[project.optional-dependencies] +full = [ + "yara-python>=4.5.1,<5", + "capstone>=5.0.3,<6", + "pycryptodome>=3.21.0,<4", + "leechcorepyc>=2.19.2,<3; sys_platform != 'darwin'", + # https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst + # 10.0.0 dropped support for Python3.7 + # 11.0.0 dropped support for Python3.8, which is still supported by Volatility3 + "pillow>=10.0.0,<11.0.0", +] + +cloud = [ + "gcsfs>=2024.10.0", + "s3fs>=2024.10.0", +] + +dev = [ + "volatility3[full,cloud]", + "jsonschema>=4.23.0,<5", + "pyinstaller>=6.11.0,<7", + "pyinstaller-hooks-contrib>=2024.9", +] + +test = [ + "volatility3[dev]", + "pytest>=8.3.3,<9", + "capstone>=5.0.3,<6", + "yara-x>=0.10.0,<1", +] + +docs = [ + "volatility3[dev]", + "sphinx>=8.0.0,<7", + "sphinx-autodoc-typehints>=2.5.0,<3", + "sphinx-rtd-theme>=3.0.1,<4", +] [project.urls] -Homepage = "https://github.com/volatilityfoundation/volatility3/" -"Bug Tracker" = "https://github.com/volatilityfoundation/volatility3/issues" -Documentation = "https://volatility3.readthedocs.io/" -"Source Code" = "https://github.com/volatilityfoundation/volatility3" +homepage = "https://github.com/volatilityfoundation/volatility3/" +documentation = "https://volatility3.readthedocs.io/" +repository = "https://github.com/volatilityfoundation/volatility3" +issues = "https://github.com/volatilityfoundation/volatility3/issues" [project.scripts] vol = "volatility3.cli:main" @@ -22,11 +64,35 @@ volshell = "volatility3.cli.volshell:main" [tool.setuptools.dynamic] version = { attr = "volatility3.framework.constants._version.PACKAGE_VERSION" } -dependencies = { file = "requirements-minimal.txt" } [tool.setuptools.packages.find] include = ["volatility3*"] +[tool.mypy] +mypy_path = "./stubs" +show_traceback = true + +[tool.mypy.overrides] +ignore_missing_imports = true + +[tool.ruff] +line-length = 88 +target-version = "py38" + +[tool.ruff.lint] +select = [ + "F", # pyflakes + "E", # pycodestyle errors + "W", # pycodestyle warnings + "G", # flake8-logging-format + "PIE", # flake8-pie + "UP", # pyupgrade +] + +ignore = [ + "E501", # ignore due to conflict with formatter +] + [build-system] requires = ["setuptools>=68"] build-backend = "setuptools.build_meta" diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 21c8f9a76..000000000 --- a/requirements.txt +++ /dev/null @@ -1,29 +0,0 @@ -# Include the minimal requirements --r requirements-minimal.txt - -# The following packages are optional. -# If certain packages are not necessary, place a comment (#) at the start of the line. - -# This is required for the yara plugins -yara-python>=3.8.0 - -# This is required for several plugins that perform malware analysis and disassemble code. -# It can also improve accuracy of Windows 8 and later memory samples. -# FIXME: Version 6.0.0 is incompatible (#1336) so we'll need an adaptor at some point -capstone>=3.0.5,<6.0.0 - -# This is required by plugins that decrypt passwords, password hashes, etc. -pycryptodome - -# This is required for memory acquisition via leechcore/pcileech. -leechcorepyc>=2.4.0; sys_platform != 'darwin' - -# This is required for memory analysis on a Amazon/MinIO S3 and Google Cloud object storage -gcsfs>=2023.1.0 -s3fs>=2023.1.0 - -# This is required by plugins that manipulate pixels and images. -# https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst -# 10.0.0 dropped support for Python3.7 -# 11.0.0 dropped support for Python3.8, which is still supported by Volatility3 -pillow>=10.0.0,<11.0.0 \ No newline at end of file From f6a54c5c48b6ba47a334956cb7994fecfcf14f0c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 21 Dec 2024 13:31:29 +0100 Subject: [PATCH 1060/2186] ruff fix --- volatility3/framework/plugins/linux/graphics/fbdev.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/graphics/fbdev.py b/volatility3/framework/plugins/linux/graphics/fbdev.py index 60e00d033..7144e081a 100644 --- a/volatility3/framework/plugins/linux/graphics/fbdev.py +++ b/volatility3/framework/plugins/linux/graphics/fbdev.py @@ -218,7 +218,7 @@ class Fbdev(interfaces.plugins.PluginInterface): fourcc = linux.LinuxUtilities.convert_fourcc_code(fb_info.var.grayscale) warn_msg = f"""Framebuffer "{id}" uses a FOURCC pixel format "{fourcc}" that isn't natively supported. You can try using ffmpeg to decode the raw buffer. Example usage: -"ffmpeg -pix_fmts" to list supported formats, then +"ffmpeg -pix_fmts" to list supported formats, then "ffmpeg -f rawvideo -video_size {fb_info.var.xres_virtual}x{fb_info.var.yres_virtual} -i .raw -pix_fmt output.png".""" vollog.warning(warn_msg) From a84d3611130b1ba42e1e3c317bc6f633adc669ab Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 21 Dec 2024 12:18:23 -0600 Subject: [PATCH 1061/2186] Add the suspended threads plugin from DEF CON 2024 --- .../plugins/windows/suspended_threads.py | 147 ++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 volatility3/framework/plugins/windows/suspended_threads.py diff --git a/volatility3/framework/plugins/windows/suspended_threads.py b/volatility3/framework/plugins/windows/suspended_threads.py new file mode 100644 index 000000000..2cc0673d7 --- /dev/null +++ b/volatility3/framework/plugins/windows/suspended_threads.py @@ -0,0 +1,147 @@ +import logging + +from typing import Dict +from functools import partial + +from volatility3.framework import renderers, interfaces, exceptions +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +import volatility3.plugins.windows.pslist as pslist +import volatility3.plugins.windows.threads as threads +import volatility3.plugins.windows.pe_symbols as pe_symbols + +from volatility3.framework.objects import utility + +vollog = logging.getLogger(__name__) + + +class SuspendedThreads(interfaces.plugins.PluginInterface): + """Enumerates suspended threads.""" + + _required_framework_version = (2, 13, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="pe_symbols", component=pe_symbols.PESymbols, version=(1, 0, 0) + ), + requirements.VersionRequirement( + name="threads", component=threads.Threads, version=(1, 0, 0) + ), + ] + + def _generator(self): + """ + The goal of this plugin is to report on threads that are suspended + + Legitimate programs can start threads suspended but then will later resume them + + Subsets of malware techniques, such as EDR evasion and process hollowing, + create suspended threads and do not resume them. These are the threads that this + plugin is designed to catch. + + See the whitepaper from our DEF CON 2024 presentation for more details: + + https://www.volexity.com/wp-content/uploads/2024/08/Defcon24_EDR_Evasion_Detection_White-Paper_Andrew-Case.pdf + """ + kernel = self.context.modules[self.config["kernel"]] + + vads_cache: Dict[int, pe_symbols.PESymbols.ranges_type] = {} + + proc_modules = None + + # walk the threads of each process checking for suspended threads + for proc in pslist.PsList.list_processes( + context=self.context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + ): + for thread in threads.Threads.list_threads(kernel, proc): + try: + # we only care if the thread is suspended + if thread.Tcb.SuspendCount == 0: + continue + + # 4 == terminated + if thread.Tcb.State == 4: + continue + + owner_proc = thread.owning_process() + owner_proc_pid = thread.Cid.UniqueProcess + owner_proc_name = utility.array_to_string(owner_proc.ImageFileName) + thread_tid = thread.Cid.UniqueThread + thread_start_addr = thread.StartAddress + thread_win32_addr = thread.Win32StartAddress + except exceptions.InvalidAddressException: + continue + + # Nothing useful to report if a process doesn't have VADs.. Also a sign of smear/terminated + vads = pe_symbols.PESymbols.get_vads_for_process_cache(vads_cache, owner_proc) + if not vads: + continue + + # Only compute this if needed as its expensive and 99.9% of samples + # will not have suspended threads + if not proc_modules: + proc_modules = pe_symbols.PESymbols.get_process_modules( + self.context, kernel.layer_name, kernel.symbol_table_name, None + ) + + path_and_symbol = partial( + pe_symbols.PESymbols.path_and_symbol_for_address, + self.context, + self.config_path, + proc_modules, + ) + + start_file, start_sym = path_and_symbol(vads, thread_start_addr) + win32_file, win32_sym = path_and_symbol(vads, thread_win32_addr) + + # the only false positive found in mass scanning of samples + if start_file and start_file.endswith("\\WorkFoldersShell.dll"): + continue + + if win32_file and win32_file.endswith("\\WorkFoldersShell.dll"): + continue + + yield ( + 0, + ( + owner_proc_name, + owner_proc_pid, + thread_tid, + start_file or renderers.NotAvailableValue(), + start_sym or renderers.NotAvailableValue(), + format_hints.Hex(thread_start_addr), + win32_file or renderers.NotAvailableValue(), + win32_sym or renderers.NotAvailableValue(), + format_hints.Hex(thread_win32_addr), + ), + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Process", str), + ("PID", int), + ("TID", int), + ("StartFile", str), + ("StartSymbol", str), + ("StartAddress", format_hints.Hex), + ("Win32StartFile", str), + ("Win32StartSymbol", str), + ("Win32StartAddress", format_hints.Hex), + ], + self._generator(), + ) + From d31ac276edb29721847f248c13953696c4a98a9c Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 21 Dec 2024 12:22:33 -0600 Subject: [PATCH 1062/2186] Add the suspended threads plugin from DEF CON 2024 --- volatility3/framework/plugins/windows/suspended_threads.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/suspended_threads.py b/volatility3/framework/plugins/windows/suspended_threads.py index 2cc0673d7..6ddfecca7 100644 --- a/volatility3/framework/plugins/windows/suspended_threads.py +++ b/volatility3/framework/plugins/windows/suspended_threads.py @@ -86,7 +86,9 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): continue # Nothing useful to report if a process doesn't have VADs.. Also a sign of smear/terminated - vads = pe_symbols.PESymbols.get_vads_for_process_cache(vads_cache, owner_proc) + vads = pe_symbols.PESymbols.get_vads_for_process_cache( + vads_cache, owner_proc + ) if not vads: continue @@ -144,4 +146,3 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): ], self._generator(), ) - From b9fa217d7980042aa7264efbdafee6ce4daa930f Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 21 Dec 2024 18:48:12 +0000 Subject: [PATCH 1063/2186] Add a required framework version Added _required_framework_version and set it to the same value (2, 0, 0) as its plugin requirement of svcscan. Also tweaked one comment. --- volatility3/framework/plugins/windows/svclist.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index a5825e1fe..8a64084c5 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -18,6 +18,7 @@ vollog = logging.getLogger(__name__) class SvcList(svcscan.SvcScan): """Lists services contained with the services.exe doubly linked list of services""" + _required_framework_version = (2, 0, 0) _version = (1, 0, 0) def __init__(self, *args, **kwargs): @@ -41,7 +42,7 @@ class SvcList(svcscan.SvcScan): @classmethod def _get_exe_range(cls, proc) -> Optional[Tuple[int, int]]: """ - Returns a tuple of starting address and size of the + Returns a tuple of starting address and size of the VAD containing services.exe """ From 104f430b2c49cb5887ab90d5574eb515f5d1b8a8 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 21 Dec 2024 20:04:02 +0000 Subject: [PATCH 1064/2186] Plugins: Update vmayarascan and vadyarascan --- .../framework/plugins/linux/vmayarascan.py | 61 ++++++++++------- .../framework/plugins/windows/vadyarascan.py | 66 +++++++++---------- 2 files changed, 68 insertions(+), 59 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 9fe06b0c8..9f6a7a9b8 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import logging from typing import Iterable, List, Tuple from volatility3.framework import interfaces, renderers @@ -10,12 +11,14 @@ from volatility3.framework.renderers import format_hints from volatility3.plugins import yarascan from volatility3.plugins.linux import pslist +vollog = logging.getLogger(__name__) + class VmaYaraScan(interfaces.plugins.PluginInterface): """Scans all virtual memory areas for tasks using yara.""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 0) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -33,6 +36,9 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + ), requirements.ModuleRequirement( name="kernel", description="Linux kernel", @@ -50,6 +56,8 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): # use yarascan to parse the yara options provided and create the rules rules = yarascan.YaraScan.process_yara_options(dict(self.config)) + sanity_check = 1024 * 1024 * 1024 # 1 GB + # filter based on the pid option if provided filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) for task in pslist.PsList.list_tasks( @@ -66,29 +74,36 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): # get the proc_layer object from the context proc_layer = self.context.layers[proc_layer_name] - for start, end in self.get_vma_maps(task): - for match in rules.match( - data=proc_layer.read(start, end - start, True) + max_vma_size = 0 + vma_maps_to_scan = [] + for start, size in self.get_vma_maps(task): + if size > sanity_check: + vollog.debug( + f"VMA at 0x{start:x} over sanity-check size, not scanning" + ) + continue + max_vma_size = max(max_vma_size, size) + vma_maps_to_scan.append((start, size)) + + if not vma_maps_to_scan: + vollog.warning(f"No VMAs were found for task {task.tgid}, not scanning") + continue + + scanner = yarascan.YaraScanner(rules=rules) + scanner.chunk_size = max_vma_size + + # scan the VMA data (in one contiguous block) with the yarascanner + for start, size in vma_maps_to_scan: + for offset, rule_name, name, value in scanner( + proc_layer.read(start, size, pad=True), start ): - if yarascan.YaraScan.yara_returns_instances(): - for match_string in match.strings: - for instance in match_string.instances: - yield 0, ( - format_hints.Hex(instance.offset + start), - task.UniqueProcessId, - match.rule, - match_string.identifier, - instance.matched_data, - ) - else: - for offset, name, value in match.strings: - yield 0, ( - format_hints.Hex(offset + start), - task.tgid, - match.rule, - name, - value, - ) + yield 0, ( + format_hints.Hex(offset), + task.tgid, + rule_name, + name, + value, + ) @staticmethod def get_vma_maps( diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index efcc70d07..2e9cc44ea 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -32,6 +32,9 @@ class VadYaraScan(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) + ), requirements.PluginRequirement( name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) ), @@ -66,49 +69,40 @@ class VadYaraScan(interfaces.plugins.PluginInterface): ): layer_name = task.add_process_layer() layer = self.context.layers[layer_name] + + max_vad_size = 0 + vad_maps_to_scan = [] + for start, size in self.get_vad_maps(task): if size > sanity_check: vollog.debug( f"VAD at 0x{start:x} over sanity-check size, not scanning" ) continue + max_vad_size = max(max_vad_size, size) + vad_maps_to_scan.append((start, size)) - data = layer.read(start, size, True) - if not yarascan.YaraScan._yara_x: - for match in rules.match(data=data): - if yarascan.YaraScan.yara_returns_instances(): - for match_string in match.strings: - for instance in match_string.instances: - yield 0, ( - format_hints.Hex(instance.offset + start), - task.UniqueProcessId, - match.rule, - match_string.identifier, - instance.matched_data, - ) - else: - for offset, name, value in match.strings: - yield 0, ( - format_hints.Hex(offset + start), - task.UniqueProcessId, - match.rule, - name, - value, - ) - else: - for match in rules.scan(data).matching_rules: - for match_string in match.patterns: - for instance in match_string.matches: - yield 0, ( - format_hints.Hex(instance.offset + start), - task.UniqueProcessId, - f"{match.namespace}.{match.identifier}", - match_string.identifier, - data[ - instance.offset : instance.offset - + instance.length - ], - ) + if not vad_maps_to_scan: + vollog.warning( + f"No VADs were found for task {task.UniqueProcessID}, not scanning" + ) + continue + + scanner = yarascan.YaraScanner(rules=rules) + scanner.chunk_size = max_vad_size + + # scan the VAD data (in one contiguous block) with the yarascanner + for start, size in vad_maps_to_scan: + for offset, rule_name, name, value in scanner( + layer.read(start, size, pad=True), start + ): + yield 0, ( + format_hints.Hex(offset), + task.UniqueProcessId, + rule_name, + name, + value, + ) @staticmethod def get_vad_maps( From ea273fe878fd5724f1801fd709a805bfa92d7ce0 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 21 Dec 2024 23:23:37 +0000 Subject: [PATCH 1065/2186] Volshell: Fix up shuffled imports --- volatility3/cli/volshell/generic.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 90d73b4ac..2321408fe 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -11,6 +11,11 @@ import sys from typing import Any, Dict, Iterable, List, Optional, Tuple, Type, Union from urllib import parse, request +from volatility3.cli import text_renderer, volshell +from volatility3.framework import exceptions, interfaces, objects, plugins, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.layers import intel, physical, resources, scanners + try: import capstone @@ -18,11 +23,6 @@ try: except ImportError: has_capstone = False -from volatility3.cli import text_renderer, volshell -from volatility3.framework import exceptions, interfaces, objects, plugins, renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.layers import intel, physical, resources, scanners - class Volshell(interfaces.plugins.PluginInterface): """Shell environment to directly interact with a memory image.""" From 7caf8c572a4629a2a235a974e6dfff112ccabecd Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 22 Dec 2024 14:03:26 +0100 Subject: [PATCH 1066/2186] PIL import graceful exit --- .../framework/plugins/linux/graphics/fbdev.py | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/graphics/fbdev.py b/volatility3/framework/plugins/linux/graphics/fbdev.py index 7144e081a..28cae8000 100644 --- a/volatility3/framework/plugins/linux/graphics/fbdev.py +++ b/volatility3/framework/plugins/linux/graphics/fbdev.py @@ -4,9 +4,6 @@ import logging import io -# Image manipulation functions are kept in the plugin, -# to prevent a general exit on missing PIL (pillow) dependency. -from PIL import Image from dataclasses import dataclass from typing import Type, List, Dict, Tuple from volatility3.framework import constants, exceptions, interfaces @@ -16,6 +13,15 @@ from volatility3.framework.objects import utility from volatility3.framework.constants import architectures from volatility3.framework.symbols import linux +# Image manipulation functions are kept in the plugin, +# to prevent a general exit on missing PIL (pillow) dependency. +try: + from PIL import Image + + has_pil = True +except ImportError: + has_pil = False + vollog = logging.getLogger(__name__) @@ -101,7 +107,7 @@ class Fbdev(interfaces.plugins.PluginInterface): context: interfaces.context.ContextInterface, kernel_name: str, fb: Framebuffer, - ) -> Image.Image: + ): """Convert raw framebuffer pixels to an image. Args: @@ -238,6 +244,13 @@ You can try using ffmpeg to decode the raw buffer. Example usage: return fb def _generator(self): + + if not has_pil: + vollog.error( + "PIL (pillow) module is required to use this plugin. Please install it manually or through pyproject.toml." + ) + return None + kernel_name = self.config["kernel"] kernel = self.context.modules[kernel_name] From 1fef570022eb0ae13924ed321e5c09a24fe72563 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 22 Dec 2024 14:15:45 +0100 Subject: [PATCH 1067/2186] restrict output to PNG, unify file handling --- .../framework/plugins/linux/graphics/fbdev.py | 28 +++++++++---------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/plugins/linux/graphics/fbdev.py b/volatility3/framework/plugins/linux/graphics/fbdev.py index 28cae8000..e82827944 100644 --- a/volatility3/framework/plugins/linux/graphics/fbdev.py +++ b/volatility3/framework/plugins/linux/graphics/fbdev.py @@ -160,15 +160,13 @@ class Fbdev(interfaces.plugins.PluginInterface): kernel_name: str, open_method: Type[interfaces.plugins.FileHandlerInterface], fb: Framebuffer, - convert_to_image: bool, - image_format: str = "PNG", + convert_to_png_image: bool, ) -> str: - """Dump a Framebuffer raw buffer to disk. + """Dump a Framebuffer buffer to disk. Args: fb: the relevant Framebuffer object convert_to_image: a boolean specifying if the buffer should be converted to an image - image_format: the target PIL image format (defaults to PNG) Returns: The filename of the dumped buffer. @@ -176,19 +174,19 @@ class Fbdev(interfaces.plugins.PluginInterface): kernel = context.modules[kernel_name] kernel_layer = context.layers[kernel.layer_name] base_filename = f"{fb.id}_{fb.xres_virtual}x{fb.yres_virtual}_{fb.bpp}bpp" - if convert_to_image: - image = cls.convert_fb_raw_buffer_to_image(context, kernel_name, fb) - output = io.BytesIO() - image.save(output, image_format) - file_handle = open_method(f"{base_filename}.{image_format.lower()}") - file_handle.write(output.getvalue()) + if convert_to_png_image: + image_object = cls.convert_fb_raw_buffer_to_image(context, kernel_name, fb) + raw_io_output = io.BytesIO() + image_object.save(raw_io_output, "PNG") + final_fb_buffer = raw_io_output.getvalue() + filename = f"{base_filename}.png" else: - raw_pixels = kernel_layer.read(fb.fb_info.screen_base, fb.size) - file_handle = open_method(f"{base_filename}.raw") - file_handle.write(raw_pixels) + final_fb_buffer = kernel_layer.read(fb.fb_info.screen_base, fb.size) + filename = f"{base_filename}.raw" - file_handle.close() - return file_handle.preferred_filename + with open_method(filename) as f: + f.write(final_fb_buffer) + return f.preferred_filename @classmethod def parse_fb_info( From 8d213284e642c545f44502d0fab3f026bc4fa0ff Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 22 Dec 2024 14:23:04 +0100 Subject: [PATCH 1068/2186] handle NotAvailableValue in filename --- volatility3/framework/plugins/linux/graphics/fbdev.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/graphics/fbdev.py b/volatility3/framework/plugins/linux/graphics/fbdev.py index e82827944..7f7deee4e 100644 --- a/volatility3/framework/plugins/linux/graphics/fbdev.py +++ b/volatility3/framework/plugins/linux/graphics/fbdev.py @@ -173,7 +173,8 @@ class Fbdev(interfaces.plugins.PluginInterface): """ kernel = context.modules[kernel_name] kernel_layer = context.layers[kernel.layer_name] - base_filename = f"{fb.id}_{fb.xres_virtual}x{fb.yres_virtual}_{fb.bpp}bpp" + id = "N-A" if isinstance(fb.id, NotAvailableValue) else fb.id + base_filename = f"{id}_{fb.xres_virtual}x{fb.yres_virtual}_{fb.bpp}bpp" if convert_to_png_image: image_object = cls.convert_fb_raw_buffer_to_image(context, kernel_name, fb) raw_io_output = io.BytesIO() @@ -207,8 +208,7 @@ class Fbdev(interfaces.plugins.PluginInterface): - struct fb_var_screeninfo stores device independent changeable information about a frame buffer device, its current format and video mode, as well as other miscellaneous parameters. """ - # NotAvailableValue() messes with the filename output on disk - id = utility.array_to_string(fb_info.fix.id) or "N-A" + id = utility.array_to_string(fb_info.fix.id) or NotAvailableValue() color_fields = None # 0 = color, 1 = grayscale, >1 = FOURCC From f3d7647433a727a5bb7bc8c91fa3803ad44a6bf4 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 22 Dec 2024 15:48:29 +0100 Subject: [PATCH 1069/2186] unify Tainting parsing capabilities --- .../framework/symbols/linux/__init__.py | 121 ++++++++++++++++++ .../symbols/linux/extensions/__init__.py | 74 ++--------- 2 files changed, 131 insertions(+), 64 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 0230a9c48..832b1de9b 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -11,6 +11,7 @@ from volatility3.framework import constants, exceptions, interfaces, objects from volatility3.framework.objects import utility from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux import extensions +from volatility3.framework.constants import linux as linux_constants class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): @@ -830,3 +831,123 @@ class PageCache: page = self.vmlinux.object("page", offset=page_addr, absolute=True) if page: yield page + + +class Tainting: + """Tainted kernel and modules parsing capabilities. + + Relevant kernel functions: + - modules: module_flags_taint + - kernel: print_tainted + """ + + def __init__( + self, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + ): + self.kernel = context.modules[kernel_module_name] + + @property + def kernel_taint_flags_list( + self, + ) -> Optional[List[interfaces.objects.ObjectInterface]]: + if self.kernel.has_symbol("taint_flags"): + return list(self.kernel.object_from_symbol("taint_flags")) + return None + + def _module_flags_taint_pre_4_10_rc1( + self, taints: int, is_module: bool = False + ) -> str: + """Convert the module's taints value to a 1-1 character mapping. + Relies on statically defined taints mappings in the framework. + + Args: + taints: The taints value, represented by an integer + is_module: Indicates if the taints value is associated with a built-in/LKM module + + Returns: + The raw taints string. + """ + taints_string = "" + for char, taint_flag in linux_constants.TAINT_FLAGS.items(): + if is_module and is_module != taint_flag.module: + continue + + if taints & taint_flag.shift: + taints_string += char + + return taints_string + + def _module_flags_taint_post_4_10_rc1( + self, taints: int, is_module: bool = False + ) -> str: + """Convert the module's taints value to a 1-1 character mapping. + Relies on kernel symbol embedded taints definitions. + + struct taint_flag { + char c_true; /* character printed when tainted */ + char c_false; /* character printed when not tainted */ + bool module; /* also show as a per-module taint flag */ + }; + + Args: + taints: The taints value, represented by an integer + is_module: Indicates if the taints value is associated with a built-in/LKM module + + Returns: + The raw taints string. + """ + taints_string = "" + for i, taint_flag in enumerate(self.kernel_taint_flags_list): + if is_module and is_module != taint_flag.module: + continue + c_true = chr(taint_flag.c_true) + c_false = chr(taint_flag.c_false) + if taints & (1 << i): + taints_string += c_true + elif c_false != " ": + taints_string += c_false + + return taints_string + + def get_taints_as_plain_string(self, taints: int, is_module: bool = False) -> str: + """Convert the taints value to a 1-1 character mapping. + + Args: + taints: The taints value, represented by an integer + is_module: Indicates if the taints value is associated with a built-in/LKM module + s + Returns: + The raw taints string. + + Documentation: + - module_flags_taint kernel function + """ + + if self.kernel_taint_flags_list: + return self._module_flags_taint_post_4_10_rc1(taints, is_module) + return self._module_flags_taint_pre_4_10_rc1(taints, is_module) + + def get_taints_parsed(self, taints: int, is_module: bool = False) -> List[str]: + """Convert the taints string to a 1-1 descriptor mapping. + + Args: + taints: The taints value, represented by an integer + is_module: Indicates if the taints value is associated with a built-in/LKM module + + Returns: + A comprehensive (user-friendly) taint descriptor list. + + Documentation: + - module_flags_taint kernel function + """ + comprehensive_taints = [] + for character in self.get_taints_as_plain_string(taints, is_module): + taint_flag = linux_constants.TAINT_FLAGS.get(character) + if not taint_flag: + comprehensive_taints.append(f"") + elif taint_flag.when_present: + comprehensive_taints.append(taint_flag.desc) + + return comprehensive_taints diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0ecf731f4..075a83ae8 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -279,76 +279,29 @@ class module(generic.GenericIntelProcess): return None - def _module_flags_taints_pre_4_10_rc1(self) -> str: - """Convert the module's taints value to a 1-1 character mapping. - Relies on statically defined taints mappings in the framework. - - Returns: - The raw taints string. - """ - taints_string = "" - for char, taint_flag in linux_constants.TAINT_FLAGS.items(): - if taint_flag.module and self.taints & taint_flag.shift: - taints_string += char - - return taints_string - - def _module_flags_taints_post_4_10_rc1(self) -> str: - """Convert the module's taints value to a 1-1 character mapping. - Relies on kernel symbol embedded taints definitions. - - struct taint_flag { - char c_true; /* character printed when tainted */ - char c_false; /* character printed when not tainted */ - bool module; /* also show as a per-module taint flag */ - }; - - Returns: - The raw taints string. - """ - taints_string = "" - for i, taint_flag in enumerate(self.taint_flags_list): - c_true = chr(taint_flag.c_true) - c_false = chr(taint_flag.c_false) - if taint_flag.module and (self.taints & (1 << i)): - taints_string += c_true - elif taint_flag.module and c_false != " ": - taints_string += c_false - - return taints_string - def get_taints_as_plain_string(self) -> str: """Convert the module's taints value to a 1-1 character mapping. + Convenient wrapper around framework's Tainting capabilities. Returns: The raw taints string. - - Documentation: - - module_flags_taint kernel function """ - - if self.taint_flags_list: - return self._module_flags_taints_post_4_10_rc1() - return self._module_flags_taints_pre_4_10_rc1() + return linux.Tainting( + self._context, + linux.LinuxUtilities.get_module_from_volobj_type(self._context, self).name, + ).get_taints_as_plain_string(self.taints, True) def get_taints_parsed(self) -> List[str]: """Convert the module's taints string to a 1-1 descriptor mapping. + Convenient wrapper around framework's Tainting capabilities. Returns: A comprehensive (user-friendly) taint descriptor list. - - Documentation: - - module_flags_taint kernel function """ - comprehensive_taints = [] - for character in self.get_taints_as_plain_string(): - taint_flag = linux_constants.TAINT_FLAGS.get(character) - if not taint_flag: - comprehensive_taints.append(f"") - elif taint_flag.when_present: - comprehensive_taints.append(taint_flag.desc) - - return comprehensive_taints + return linux.Tainting( + self._context, + linux.LinuxUtilities.get_module_from_volobj_type(self._context, self).name, + ).get_taints_parsed(self.taints, True) @property def section_symtab(self): @@ -376,13 +329,6 @@ class module(generic.GenericIntelProcess): return self.strtab raise AttributeError("Unable to get strtab") - @property - def taint_flags_list(self) -> Optional[List[interfaces.objects.ObjectInterface]]: - kernel = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) - if kernel.has_symbol("taint_flags"): - return list(kernel.object_from_symbol("taint_flags")) - return None - class task_struct(generic.GenericIntelProcess): def add_process_layer( From 9d4dd010a7eb6212effc43dd8d57f86e127684f2 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:28:40 +0000 Subject: [PATCH 1070/2186] Reformat how to write a simple plugin --- doc/source/simple-plugin.rst | 93 ++++++++++++++++++++++-------------- 1 file changed, 58 insertions(+), 35 deletions(-) diff --git a/doc/source/simple-plugin.rst b/doc/source/simple-plugin.rst index 84b921114..aa8ec3a7e 100644 --- a/doc/source/simple-plugin.rst +++ b/doc/source/simple-plugin.rst @@ -41,15 +41,24 @@ to be able to run properly. Any that are defined as optional need not necessari @classmethod def get_requirements(cls): - return [requirements.ModuleRequirement(name = 'kernel', description = 'Windows kernel', - architectures = ["Intel32", "Intel64"]), - requirements.ListRequirement(name = 'pid', - element_type = int, - description = "Process IDs to include (all other processes are excluded)", - optional = True), - requirements.PluginRequirement(name = 'pslist', - plugin = pslist.PsList, - version = (2, 0, 0))] + return [ + requirements.ModuleRequirement( + name = 'kernel', + description = 'Windows kernel', + architectures = ["Intel32", "Intel64"] + ), + requirements.ListRequirement( + name = 'pid', + element_type = int, + description = "Process IDs to include (all other processes are excluded)", + optional = True + ), + requirements.PluginRequirement( + name = 'pslist', + plugin = pslist.PsList, + version = (2, 0, 0) + ), + ] This is a classmethod, so it can be called before the specific plugin object has been instantiated (in order to know how @@ -57,8 +66,11 @@ to instantiate the plugin). At the moment these requirements are fairly straigh :: - requirements.ModuleRequirement(name = 'kernel', description = 'Windows kernel', - architectures = ["Intel32", "Intel64"]), + requirements.ModuleRequirement( + name = 'kernel', + description = 'Windows kernel', + architectures = ["Intel32", "Intel64"] + ), This requirement specifies the need for a particular submodule. Each module requires a :py:class:`TranslationLayer ` and a @@ -85,9 +97,11 @@ not be requested directly from the user. :: - requirements.TranslationLayerRequirement(name = 'primary', - description = 'Memory layer for the kernel', - architectures = ["Intel32", "Intel64"]), + requirements.TranslationLayerRequirement( + name = 'primary', + description = 'Memory layer for the kernel', + architectures = ["Intel32", "Intel64"] + ), This requirement indicates that the plugin will operate on a single :py:class:`TranslationLayer `. The name of the @@ -110,8 +124,10 @@ not be requested directly from the user. :: - requirements.SymbolTableRequirement(name = "nt_symbols", - description = "Windows kernel symbols"), + requirements.SymbolTableRequirement( + name = "nt_symbols", + description = "Windows kernel symbols" + ), This requirement specifies the need for a particular :py:class:`SymbolTable ` @@ -127,10 +143,12 @@ not be requested directly from the user. :: - requirements.ListRequirement(name = 'pid', - description = 'Filter on specific process IDs', - element_type = int, - optional = True), + requirements.ListRequirement( + name = 'pid', + description = 'Filter on specific process IDs', + element_type = int, + optional = True + ), The next requirement is a List Requirement, populated by integers. The description will be presented to the user to describe what the value represents. The optional flag indicates that the plugin can function without the ``pid`` value @@ -138,9 +156,11 @@ being defined within the configuration tree at all. :: - requirements.PluginRequirement(name = 'pslist', - plugin = pslist.PsList, - version = (2, 0, 0))] + requirements.PluginRequirement( + name = 'pslist', + plugin = pslist.PsList, + version = (2, 0, 0) + ) This requirement indicates that the plugin will make use of another plugin's code, and specifies the version requirements on that plugin. The version is specified in terms of Semantic Versioning meaning that, to be compatible, the major @@ -180,16 +200,21 @@ that will be output as part of the :py:class:`~volatility3.framework.interfaces. filter_func = pslist.PsList.create_pid_filter(self.config.get('pid', None)) kernel = self.context.modules[self.config['kernel']] - return renderers.TreeGrid([("PID", int), - ("Process", str), - ("Base", format_hints.Hex), - ("Size", format_hints.Hex), - ("Name", str), - ("Path", str)], - self._generator(pslist.PsList.list_processes(self.context, - kernel.layer_name, - kernel.symbol_table_name, - filter_func = filter_func))) + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("Base", format_hints.Hex), + ("Size", format_hints.Hex), + ("Name", str), + ("Path", str), + ], + self._generator( + pslist.PsList.list_processes( + self.context, kernel.layer_name, kernel.symbol_table_name, filter_func = filter_func + ) + ) + ) In this instance, the plugin constructs a filter (using the PsList plugin's *classmethod* for creating filters). It checks the plugin's configuration for the ``pid`` value, and passes it in as a list if it finds it, or None if @@ -281,5 +306,3 @@ such as ``!_UNICODE``) and the parameters to that type. Since the cast value must populate a string typed column, it had to be a Python string (such as being cast to the native type string) and could not have been a special Structure such as ``_UNICODE``. For the format hint columns, the format hint type must be used to ensure the error checking does not fail. - - From df37f0a909255410bd5df31cd4d16bdabb1aa9e8 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:34:17 +0000 Subject: [PATCH 1071/2186] Reformat how to write a simple plugin --- doc/source/simple-plugin.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/source/simple-plugin.rst b/doc/source/simple-plugin.rst index aa8ec3a7e..07d9e1467 100644 --- a/doc/source/simple-plugin.rst +++ b/doc/source/simple-plugin.rst @@ -211,7 +211,10 @@ that will be output as part of the :py:class:`~volatility3.framework.interfaces. ], self._generator( pslist.PsList.list_processes( - self.context, kernel.layer_name, kernel.symbol_table_name, filter_func = filter_func + self.context, + kernel.layer_name, + kernel.symbol_table_name, + filter_func = filter_func ) ) ) From 0bb09191aae08b2a1b481fef4fbd565e07a7d91f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 23 Dec 2024 21:28:58 +0100 Subject: [PATCH 1072/2186] file output failure results in UnreadableValue --- .../framework/plugins/linux/graphics/fbdev.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/graphics/fbdev.py b/volatility3/framework/plugins/linux/graphics/fbdev.py index 7f7deee4e..ab4289cf1 100644 --- a/volatility3/framework/plugins/linux/graphics/fbdev.py +++ b/volatility3/framework/plugins/linux/graphics/fbdev.py @@ -8,7 +8,12 @@ from dataclasses import dataclass from typing import Type, List, Dict, Tuple from volatility3.framework import constants, exceptions, interfaces from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints, TreeGrid, NotAvailableValue +from volatility3.framework.renderers import ( + format_hints, + TreeGrid, + NotAvailableValue, + UnreadableValue, +) from volatility3.framework.objects import utility from volatility3.framework.constants import architectures from volatility3.framework.symbols import linux @@ -280,11 +285,12 @@ You can try using ffmpeg to decode the raw buffer. Example usage: file_output = self.dump_fb( self.context, kernel_name, self.open, fb, bool(fb.color_fields) ) + file_output = str(file_output) except exceptions.InvalidAddressException as excp: vollog.error( f'Layer {excp.layer_name} failed to read address {hex(excp.invalid_address)} when dumping framebuffer "{fb.id}".' ) - file_output = "Error" + file_output = UnreadableValue() try: fb_device_name = utility.pointer_to_string( @@ -303,7 +309,7 @@ You can try using ffmpeg to decode the raw buffer. Example usage: f"{fb.xres_virtual}x{fb.yres_virtual}", fb.bpp, "RUNNING" if fb.fb_info.state == 0 else "SUSPENDED", - str(file_output), + file_output, ), ) From ea2757c06ce23d9a24e01e2ce7823e4980889ee8 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 24 Dec 2024 11:45:23 +0100 Subject: [PATCH 1073/2186] minor version bump --- volatility3/framework/constants/_version.py | 2 +- volatility3/framework/plugins/linux/graphics/fbdev.py | 3 +++ volatility3/framework/symbols/linux/__init__.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 11edc07d8..9ca2d0a5b 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 13 # Number of changes that only add to the interface +VERSION_MINOR = 14 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" diff --git a/volatility3/framework/plugins/linux/graphics/fbdev.py b/volatility3/framework/plugins/linux/graphics/fbdev.py index ab4289cf1..7b644eccf 100644 --- a/volatility3/framework/plugins/linux/graphics/fbdev.py +++ b/volatility3/framework/plugins/linux/graphics/fbdev.py @@ -60,6 +60,9 @@ class Fbdev(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=architectures.LINUX_ARCHS, ), + requirements.VersionRequirement( + name="linuxutils", component=linux.LinuxUtilities, version=(2, 2, 0) + ), requirements.BooleanRequirement( name="dump", description="Dump framebuffers", diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index ba223f979..5aa27b964 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -76,7 +76,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" - _version = (2, 1, 1) + _version = (2, 2, 0) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) From 79fe1c50dfcda812cd9d4b307b271ddcc3c26bd9 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 24 Dec 2024 19:42:05 +0000 Subject: [PATCH 1074/2186] Tweak configuration.py Create a tuple directly and replace random.choice by random.choices. --- volatility3/framework/interfaces/configuration.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/interfaces/configuration.py b/volatility3/framework/interfaces/configuration.py index 2e4f580a7..a376fa813 100644 --- a/volatility3/framework/interfaces/configuration.py +++ b/volatility3/framework/interfaces/configuration.py @@ -53,7 +53,7 @@ ConfigSimpleType = Optional[Union[SimpleTypes, List[SimpleTypes]]] def path_join(*args) -> str: """Joins configuration paths together.""" # If a path element (particularly the first) is empty, then remove it from the list - args = tuple([arg for arg in args if arg]) + args = tuple(arg for arg in args if arg) return CONFIG_SEPARATOR.join(args) @@ -772,8 +772,7 @@ class ConfigurableInterface(metaclass=ABCMeta): str: The newly generated full configuration path """ random_config_dict = "".join( - random.SystemRandom().choice(string.ascii_uppercase + string.digits) - for _ in range(8) + random.SystemRandom().choices(string.ascii_uppercase + string.digits, k=8) ) new_config_path = path_join(base_config_path, random_config_dict) # TODO: Check that the new_config_path is empty, although it's not critical if it's not since the values are merged in From 4c430d2ec464b3e1fdf8ddd9b51fdf4525078814 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 26 Dec 2024 07:27:45 +0000 Subject: [PATCH 1075/2186] Use BasicTypes variable This removes a "float", which should be excluded. --- volatility3/framework/interfaces/configuration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/interfaces/configuration.py b/volatility3/framework/interfaces/configuration.py index a376fa813..b6f4f889c 100644 --- a/volatility3/framework/interfaces/configuration.py +++ b/volatility3/framework/interfaces/configuration.py @@ -779,9 +779,9 @@ class ConfigurableInterface(metaclass=ABCMeta): # This should check that each k corresponds to a requirement and each v is of the appropriate type # This would require knowledge of the new configurable itself to verify, and they should do validation in the - # constructor anyway, however, to prevent bad types getting into the config tree we just verify that v is a simple type + # constructor anyway, however, to prevent bad types getting into the config tree we just verify that v is a basic type for k, v in kwargs.items(): - if not isinstance(v, (int, str, bool, float, bytes)): + if not isinstance(v, BasicTypes): raise TypeError( "Config values passed to make_subconfig can only be simple types" ) From 834b7d0f072984f232dfc7880c0214b40df424fb Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 28 Dec 2024 14:58:12 +0000 Subject: [PATCH 1076/2186] Make ETHREAD year check dynamic Change upper bound year check of ETHREAD to be a decade from now. Makes consistent with EPROCESS. --- volatility3/framework/symbols/windows/extensions/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index d63f138b6..5ec84f95f 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -519,7 +519,8 @@ class ETHREAD(objects.StructType, pool.ExecutiveObject): if not isinstance(ctime, datetime.datetime): return False - if not (1998 < ctime.year < 2030): + current_year = datetime.datetime.now().year + if not (1998 < ctime.year < current_year + 10): return False except exceptions.InvalidAddressException: From 37873f9e1593fad055b0319085694d67a9568f4b Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 28 Dec 2024 16:58:24 +0000 Subject: [PATCH 1077/2186] Remove superfluous spaces in intermed.py --- volatility3/framework/symbols/intermed.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/intermed.py b/volatility3/framework/symbols/intermed.py index 5b4aa22b8..6802af7d6 100644 --- a/volatility3/framework/symbols/intermed.py +++ b/volatility3/framework/symbols/intermed.py @@ -101,7 +101,7 @@ class IntermediateSymbolTable(interfaces.symbols.SymbolTableInterface): Args: context: The volatility context for the symbol table config_path: The configuration path for the symbol table - name: The name for the symbol table (this is used in symbols e.g. table!symbol ) + name: The name for the symbol table (this is used in symbols e.g. table!symbol) isf_url: The URL pointing to the ISF file location native_types: The NativeSymbolTable that contains the native types for this symbol table table_mapping: A dictionary linking names referenced in the file with symbol tables in the context @@ -111,7 +111,7 @@ class IntermediateSymbolTable(interfaces.symbols.SymbolTableInterface): """ # Check there are no obvious errors # Open the file and test the version - self._versions = dict([(x.version, x) for x in class_subclasses(ISFormatTable)]) + self._versions = dict((x.version, x) for x in class_subclasses(ISFormatTable)) with resources.ResourceAccessor().open(isf_url) as fp: reader = codecs.getreader("utf-8") json_object = json.load(reader(fp)) # type: ignore @@ -166,9 +166,9 @@ class IntermediateSymbolTable(interfaces.symbols.SymbolTableInterface): format. An interface version such as Major.Minor.Patch means that Major - of the provider must be equal to that of the consumer, and the + of the provider must be equal to that of the consumer, and the provider (the JSON in this instance) must have a greater minor - (indicating that only additive changes have been made) than + (indicating that only additive changes have been made) than the consumer (in this case, the file reader). """ major, minor, patch = (int(x) for x in version.split(".")) From 1bd031b9a86677f6b234e13f93ab2ad9feeb2cc8 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 28 Dec 2024 22:42:25 +0000 Subject: [PATCH 1078/2186] Prevent infinite loops in device enumeration extensions #1483 --- .../symbols/windows/extensions/__init__.py | 39 ++++++++++++++++--- 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index d63f138b6..6dec08c38 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -405,11 +405,24 @@ class DEVICE_OBJECT(objects.StructType, pool.ExecutiveObject): def get_attached_devices(self) -> Generator[ObjectInterface, None, None]: """Enumerate the attached device's objects""" - device = self.AttachedDevice.dereference() - while device: - yield device - device = device.AttachedDevice.dereference() + seen = set() + try: + device = self.AttachedDevice.dereference() + except exceptions.InvalidAddressException: + return + + while device: + if device.vol.offset in seen: + break + seen.add(device.vol.offset) + + yield device + + try: + device = device.AttachedDevice.dereference() + except exceptions.InvalidAddressException: + return class DRIVER_OBJECT(objects.StructType, pool.ExecutiveObject): """A class for kernel driver objects.""" @@ -421,10 +434,24 @@ class DRIVER_OBJECT(objects.StructType, pool.ExecutiveObject): def get_devices(self) -> Generator[ObjectInterface, None, None]: """Enumerate the driver's device objects""" - device = self.DeviceObject.dereference() + seen = set() + + try: + device = self.DeviceObject.dereference() + except exceptions.InvalidAddressException: + return + while device: + if device.vol.offset in seen: + return + seen.add(device.vol.offset) + yield device - device = device.NextDevice.dereference() + + try: + device = device.NextDevice.dereference() + except exceptions.InvalidAddressException: + return def is_valid(self) -> bool: """Determine if the object is valid.""" From bf7f1ca91ed88bf482b19bd2558d79aa70bb5c0e Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 28 Dec 2024 22:43:56 +0000 Subject: [PATCH 1079/2186] Prevent infinite loops in device enumeration extensions #1483 --- volatility3/framework/symbols/windows/extensions/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 6dec08c38..c38d47f73 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -424,6 +424,7 @@ class DEVICE_OBJECT(objects.StructType, pool.ExecutiveObject): except exceptions.InvalidAddressException: return + class DRIVER_OBJECT(objects.StructType, pool.ExecutiveObject): """A class for kernel driver objects.""" From e64af61efa1a37f6d5c91e34d5375219b1544ee3 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 29 Dec 2024 02:13:18 +0000 Subject: [PATCH 1080/2186] Do not analyze processes without VADs #1470 --- volatility3/framework/plugins/windows/direct_system_calls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index b0c162f46..183e4095c 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -433,6 +433,8 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] vads = self.get_vad_maps(proc) + if not vads: + continue # for each valid process, look for malicious syscall invocations for address, vad_path in self._get_rule_hits( From 33855cf920a8ef76d2bfa414779b7cf96c8c8def Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 29 Dec 2024 02:20:02 +0000 Subject: [PATCH 1081/2186] Significantly improve the smear/error handling in the netstat plugin --- .../framework/plugins/windows/netstat.py | 157 +++++++++++++----- .../symbols/windows/extensions/network.py | 8 +- 2 files changed, 120 insertions(+), 45 deletions(-) diff --git a/volatility3/framework/plugins/windows/netstat.py b/volatility3/framework/plugins/windows/netstat.py index a1521a8c6..3408c0a3a 100644 --- a/volatility3/framework/plugins/windows/netstat.py +++ b/volatility3/framework/plugins/windows/netstat.py @@ -111,8 +111,21 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): The list of indices at which a 1 was found. """ ret = [] + # This value is broken in many samples and was causing essentially infinite loops + # Testing showed that 8192 is the current size across all Windows versions + # We give some leeway in case it increases in later versions, while still keeping it sane + # The problematic samples had values that looked like addresses, so in the billions + if bitmap_size_in_byte > 8192 * 10: + return ret + for idx in range(bitmap_size_in_byte): - current_byte = context.layers[layer_name].read(bitmap_offset + idx, 1)[0] + try: + current_byte = context.layers[layer_name].read(bitmap_offset + idx, 1)[ + 0 + ] + except exceptions.InvalidAddressException: + continue + current_offs = idx * 8 for bit in range(8): if current_byte & (1 << bit) != 0: @@ -154,32 +167,37 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) else: # invalid argument. - return None + return vollog.debug(f"Current Port: {port}") # the given port serves as a shifted index into the port pool lists list_index = port >> 8 truncated_port = port & 0xFF - # constructing port_pool object here so callers don't have to - port_pool = context.object( - net_symbol_table + constants.BANG + "_INET_PORT_POOL", - layer_name=layer_name, - offset=port_pool_addr, - ) + try: + # constructing port_pool object here so callers don't have to + port_pool = context.object( + net_symbol_table + constants.BANG + "_INET_PORT_POOL", + layer_name=layer_name, + offset=port_pool_addr, + ) + # first, grab the given port's PortAssignment (`_PORT_ASSIGNMENT`) + inpa = port_pool.PortAssignments[list_index] - # first, grab the given port's PortAssignment (`_PORT_ASSIGNMENT`) - inpa = port_pool.PortAssignments[list_index] - - # then parse the port assignment list (`_PORT_ASSIGNMENT_LIST`) and grab the correct entry - assignment = inpa.InPaBigPoolBase.Assignments[truncated_port] + # then parse the port assignment list (`_PORT_ASSIGNMENT_LIST`) and grab the correct entry + assignment = inpa.InPaBigPoolBase.Assignments[truncated_port] + except exceptions.InvalidAddressException: + return if not assignment: - return None + return # the value within assignment.Entry is a) masked and b) points inside of the network object # first decode the pointer - netw_inside = cls._decode_pointer(assignment.Entry) + try: + netw_inside = cls._decode_pointer(assignment.Entry) + except exceptions.InvalidAddressException: + return if netw_inside: # if the value is valid, calculate the actual object address by subtracting the offset @@ -188,16 +206,30 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) yield curr_obj + try: + next_obj_address = cls._decode_pointer(curr_obj.Next) + except exceptions.InvalidAddressException: + return + # if the same port is used on different interfaces multiple objects are created # those can be found by following the pointer within the object's `Next` field until it is empty - while curr_obj.Next: - curr_obj = context.object( - obj_name, - layer_name=layer_name, - offset=cls._decode_pointer(curr_obj.Next) - ptr_offset, - ) + while next_obj_address: + try: + curr_obj = context.object( + obj_name, + layer_name=layer_name, + offset=next_obj_address - ptr_offset, + ) + except exceptions.InvalidAddressException: + return + yield curr_obj + try: + next_obj_address = cls._decode_pointer(curr_obj.Next) + except exceptions.InvalidAddressException: + return + @classmethod def get_tcpip_module( cls, @@ -243,16 +275,25 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): The hash table entries which are _not_ empty """ # we are looking for entries whose values are not their own address + # smear sanity check from mass testing + if ht_length > 4096: + return + for index in range(ht_length): current_addr = ht_offset + index * alignment - current_pointer = context.object( - net_symbol_table + constants.BANG + "pointer", - layer_name=layer_name, - offset=current_addr, - ) + try: + current_pointer = context.object( + net_symbol_table + constants.BANG + "pointer", + layer_name=layer_name, + offset=current_addr, + ) + except exceptions.InvalidAddressException: + continue + # check if addr of pointer is equal to the value pointed to if current_pointer.vol.offset == current_pointer: continue + yield current_pointer @classmethod @@ -292,11 +333,15 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): tcpip_symbol_table + constants.BANG + "PartitionCount" ).address - part_table_addr = context.object( - net_symbol_table + constants.BANG + "pointer", - layer_name=layer_name, - offset=tcpip_module_offset + part_table_symbol, - ) + try: + part_table_addr = context.object( + net_symbol_table + constants.BANG + "pointer", + layer_name=layer_name, + offset=tcpip_module_offset + part_table_symbol, + ) + except exceptions.InvalidAddressException: + vollog.debug(f"`PartitionTable` not present in memory.") + return # part_table is the actual partition table offset and consists out of a dynamic amount of _PARTITION objects part_table = context.object( @@ -304,10 +349,18 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): layer_name=layer_name, offset=part_table_addr, ) - part_count = int.from_bytes( - context.layers[layer_name].read(tcpip_module_offset + part_count_symbol, 1), - "little", - ) + + try: + part_count = int.from_bytes( + context.layers[layer_name].read( + tcpip_module_offset + part_count_symbol, 1 + ), + "little", + ) + except exceptions.InvalidAddressException: + vollog.debug(f"`PartitionCount` not present in memory.") + return + part_table.Partitions.count = part_count vollog.debug( @@ -316,9 +369,21 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): entry_offset = context.symbol_space.get_type(obj_name).relative_child_offset( "ListEntry" ) - for ctr, partition in enumerate(part_table.Partitions): + + try: + partitions = part_table.Partitions + except exceptions.InvalidAddressException: + vollog.debug("Partitions member not present in memory") + return + + for ctr, partition in enumerate(partitions): vollog.debug(f"Parsing partition {ctr}") - if partition.Endpoints.NumEntries > 0: + try: + num_entries = partition.Endpoints.NumEntries + except exceptions.InvalidAddressException: + continue + + if num_entries > 0: for endpoint_entry in cls.parse_hashtable( context, layer_name, @@ -402,6 +467,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): upp_symbol = context.symbol_space.get_symbol( tcpip_symbol_table + constants.BANG + "UdpPortPool" ).address + upp_addr = context.object( net_symbol_table + constants.BANG + "pointer", layer_name=layer_name, @@ -498,13 +564,16 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # then, towards the UDP and TCP port pools # first, find their addresses - upp_addr, tpp_addr = cls.find_port_pools( - context, - layer_name, - net_symbol_table, - tcpip_symbol_table, - tcpip_module_offset, - ) + try: + upp_addr, tpp_addr = cls.find_port_pools( + context, + layer_name, + net_symbol_table, + tcpip_symbol_table, + tcpip_module_offset, + ) + except (exceptions.SymbolError, exceptions.InvalidAddressException): + vollog.debug("Unable to reconstruct port pools") # create port pool objects at the detected address and parse the port bitmap upp_obj = context.object( diff --git a/volatility3/framework/symbols/windows/extensions/network.py b/volatility3/framework/symbols/windows/extensions/network.py index 478deab6b..e41ac6a05 100644 --- a/volatility3/framework/symbols/windows/extensions/network.py +++ b/volatility3/framework/symbols/windows/extensions/network.py @@ -219,7 +219,13 @@ class _TCP_ENDPOINT(_TCP_LISTENER): return None def is_valid(self): - if self.State not in self.State.choices.values(): + # netstat calls this before validating the object itself + try: + state = self.State + except exceptions.InvalidAddressException: + return False + + if state not in state.choices.values(): vollog.debug( f"{type(self)} 0x{self.vol.offset:x} invalid due to invalid tcp state {self.State}" ) From 61d6a92f8f32e4fe81d951fc35fd7f36e80a2146 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 29 Dec 2024 02:25:17 +0000 Subject: [PATCH 1082/2186] Significantly improve the smear/error handling in the netstat plugin --- volatility3/framework/plugins/windows/netstat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/netstat.py b/volatility3/framework/plugins/windows/netstat.py index 3408c0a3a..902be5fc8 100644 --- a/volatility3/framework/plugins/windows/netstat.py +++ b/volatility3/framework/plugins/windows/netstat.py @@ -340,7 +340,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): offset=tcpip_module_offset + part_table_symbol, ) except exceptions.InvalidAddressException: - vollog.debug(f"`PartitionTable` not present in memory.") + vollog.debug("`PartitionTable` not present in memory.") return # part_table is the actual partition table offset and consists out of a dynamic amount of _PARTITION objects @@ -358,7 +358,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): "little", ) except exceptions.InvalidAddressException: - vollog.debug(f"`PartitionCount` not present in memory.") + vollog.debug("`PartitionCount` not present in memory.") return part_table.Partitions.count = part_count From 65f602965b14a76dba1596e35a71ab1762257ea7 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 29 Dec 2024 02:47:48 +0000 Subject: [PATCH 1083/2186] Address feedback --- volatility3/framework/plugins/windows/suspended_threads.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/suspended_threads.py b/volatility3/framework/plugins/windows/suspended_threads.py index 6ddfecca7..cec51ed37 100644 --- a/volatility3/framework/plugins/windows/suspended_threads.py +++ b/volatility3/framework/plugins/windows/suspended_threads.py @@ -1,7 +1,7 @@ import logging from typing import Dict -from functools import partial +import functools from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.configuration import requirements @@ -99,7 +99,7 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): self.context, kernel.layer_name, kernel.symbol_table_name, None ) - path_and_symbol = partial( + path_and_symbol = functools.partial( pe_symbols.PESymbols.path_and_symbol_for_address, self.context, self.config_path, From 52a643d5b7f6c57e67acf39eed7c1feb2a0e9dbe Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sun, 29 Dec 2024 20:29:03 +0000 Subject: [PATCH 1084/2186] Use enumerate for readability --- volatility3/framework/renderers/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/renderers/__init__.py b/volatility3/framework/renderers/__init__.py index 112e93751..093edf8cc 100644 --- a/volatility3/framework/renderers/__init__.py +++ b/volatility3/framework/renderers/__init__.py @@ -83,8 +83,7 @@ class TreeNode(interfaces.renderers.TreeNode): raise TypeError( "Values must be a list of objects made up of simple types and number the same as the columns" ) - for index in range(len(self._treegrid.columns)): - column = self._treegrid.columns[index] + for index, column in enumerate(self._treegrid.columns): val = values[index] if not isinstance(val, (column.type, interfaces.renderers.BaseAbsentValue)): raise TypeError( @@ -413,8 +412,7 @@ class ColumnSortKey(interfaces.renderers.ColumnSortKey): _index = None self._type = None self.ascending = ascending - for i in range(len(treegrid.columns)): - column = treegrid.columns[i] + for i, column in enumerate(treegrid.columns): if column.name.lower() == column_name.lower(): _index = i self._type = column.type From 28ff910d6280edc0dfa21b3b0585a1ab07de9279 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Mon, 30 Dec 2024 10:58:38 +0000 Subject: [PATCH 1085/2186] Use rsplit instead of split Since we want to split rightmost only. --- volatility3/plugins/windows/registry/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/plugins/windows/registry/__init__.py b/volatility3/plugins/windows/registry/__init__.py index 8915cdfad..aeeaa87f2 100644 --- a/volatility3/plugins/windows/registry/__init__.py +++ b/volatility3/plugins/windows/registry/__init__.py @@ -15,5 +15,5 @@ import os import sys # This is necessary to ensure the core plugins are available, whilst still be overridable -parent_module, module_name = ".".join(__name__.split(".")[:-1]), __name__.split(".")[-1] +parent_module, module_name = __name__.rsplit(".", maxsplit=1) __path__ = [os.path.join(x, module_name) for x in sys.modules[parent_module].__path__] From e9d9345cef488067e7035aa485ff11ed665c4414 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Dec 2024 09:37:40 -0600 Subject: [PATCH 1086/2186] Windows Cachedump: Handle uncaught InvalidAddressException --- volatility3/framework/plugins/windows/cachedump.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index 6e667984a..6c730e6ae 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -8,7 +8,7 @@ from typing import Tuple from Crypto.Cipher import ARC4, AES from Crypto.Hash import HMAC -from volatility3.framework import interfaces, renderers +from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.layers import registry from volatility3.framework.symbols.windows import versions @@ -140,9 +140,14 @@ class Cachedump(interfaces.plugins.PluginInterface): if cache_item.Name == "NL$Control": continue - data = sechive.read(cache_item.Data + 4, cache_item.DataLength) - if data is None: + try: + data = sechive.read(cache_item.Data + 4, cache_item.DataLength) + except exceptions.InvalidAddressException: continue + + if not data: + continue + ( uname_len, domain_len, From 2153b742a1dbde57b369adb34fedc5e05e5eb40c Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 30 Dec 2024 18:06:04 +0000 Subject: [PATCH 1087/2186] Fix uncheck read() call and remove variable that would not be definied if exception triggers --- .../plugins/windows/skeleton_key_check.py | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index f5d7e1b3a..b103bc831 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -289,7 +289,7 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException as excp: vollog.debug( - f"Process {proc_id}: invalid address {excp.invalid_address} in layer {excp.layer_name}" + f"Invalid address {excp.invalid_address} in layer {excp.layer_name}" ) return None, None @@ -431,15 +431,20 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): # we do not want to fail just because the count is not in memory # 16 was the size on samples I tested, so I chose it as the default + count = 16 + if target_address: - count = int.from_bytes( - self.context.layers[proc_layer_name].read( - target_address, 4 - ), - "little", - ) - else: - count = 16 + try: + count = int.from_bytes( + self.context.layers[proc_layer_name].read( + target_address, 4 + ), + "little", + ) + except exceptions.InvalidAddressException: + vollog.debug( + "Unable to read `cCsystems`. Defaulting to 16." + ) found_count = True From a3844e8bc54f9d597d459005830e733bd73d7256 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 30 Dec 2024 18:08:30 +0000 Subject: [PATCH 1088/2186] Fix uncheck read() call and remove variable that would not be definied if exception triggers --- volatility3/framework/plugins/windows/skeleton_key_check.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index b103bc831..6ae07381a 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -282,7 +282,6 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): for proc in proc_list: try: - proc_id = proc.UniqueProcessId proc_layer_name = proc.add_process_layer() return proc, proc_layer_name From 5af5363c461eab6ae1661665429a1794a2a712fb Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Dec 2024 13:50:05 -0600 Subject: [PATCH 1089/2186] Windows Handles: Work in fixes from @attrc These changes fix bugs encountered during regression testing related to virtual offset validation and string length checks. --- volatility3/framework/plugins/windows/handles.py | 8 ++++++++ .../framework/symbols/windows/extensions/pool.py | 11 ++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 62eceb973..e3845b376 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -226,6 +226,14 @@ class Handles(interfaces.plugins.PluginInterface): masked_offset = offset & layer_object.maximum_address for entry in table: + # This triggered a backtrace in many testing samples + # in the level == 0 path + # The code above this calls `is_valid` on the `offset` + # It is sent but then does not validate `entry` before + # sending it to `_get_item` + if not self.context.layers[virtual].is_valid(entry.vol.offset): + continue + if level > 0: yield from self._make_handle_array(entry, level - 1, depth) depth += 1 diff --git a/volatility3/framework/symbols/windows/extensions/pool.py b/volatility3/framework/symbols/windows/extensions/pool.py index de5c8271b..ff65acdeb 100644 --- a/volatility3/framework/symbols/windows/extensions/pool.py +++ b/volatility3/framework/symbols/windows/extensions/pool.py @@ -376,7 +376,16 @@ class OBJECT_HEADER(objects.StructType): try: # vista and earlier have a Type member - self._vol["object_header_object_type"] = self.Type.Name.String + length = self.Type.member("Name").Length + if length == 0 or length > 128: + string = None + else: + string = self.Type.Name.String + if len(string) == 0 or len(string) > 128: + string = None + + self._vol["object_header_object_type"] = string + except AttributeError: # windows 7 and later have a TypeIndex, but windows 10 # further encodes the index value with nt1!ObHeaderCookie From 3eeb10be2916bb7988d296c7a85785ffb5a7f25e Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Dec 2024 10:10:03 -0600 Subject: [PATCH 1090/2186] Windows Registry: Handle uncaught exceptions A number of calls to `get_key` across multiple plugins are not made within a `try/except` block that handles `registry.RegistryFormatException` - the calls are either unprotected or only check for `KeyError`. This adds the required `try/except` blocks, or updates the existing ones as needed. --- volatility3/framework/plugins/windows/amcache.py | 10 +++++----- volatility3/framework/plugins/windows/hashdump.py | 2 +- volatility3/framework/plugins/windows/lsadump.py | 7 +++++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index 1e918d61c..46a742233 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -543,7 +543,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): amcache.get_key("Root\\InventoryDriverBinary") # type: ignore ) ) - except KeyError: + except (KeyError, registry.RegistryFormatException): # Registry key not found pass @@ -554,7 +554,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): amcache.get_key("Root\\Programs") ) # type: ignore } - except KeyError: + except (KeyError, registry.RegistryFormatException): programs = {} try: @@ -564,7 +564,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), key=_entry_sort_key, ) - except KeyError: + except (KeyError, registry.RegistryFormatException): files = [] for program_id, file_entries in itertools.groupby( @@ -593,7 +593,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): amcache.get_key("Root\\InventoryApplication") # type: ignore ) ) - except KeyError: + except (KeyError, registry.RegistryFormatException): programs = {} try: @@ -603,7 +603,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), key=_entry_sort_key, ) - except KeyError: + except (KeyError, registry.RegistryFormatException): files = [] for program_id, file_entries in itertools.groupby( diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index 0c98ab8ca..621b0ae53 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -332,7 +332,7 @@ class Hashdump(interfaces.plugins.PluginInterface): try: if hive: result = hive.get_key(key) - except KeyError: + except (KeyError, registry.RegistryFormatException): vollog.info( f"Unable to load the required registry key {hive.get_name()}\\{key} from this memory image" ) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index da8dee325..f3925f2a2 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -8,7 +8,7 @@ from typing import Optional from Crypto.Cipher import ARC4, DES, AES from Crypto.Hash import MD5, SHA256 -from volatility3.framework import interfaces, renderers +from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.layers import registry from volatility3.framework.symbols.windows import versions @@ -81,7 +81,10 @@ class Lsadump(interfaces.plugins.PluginInterface): if not enc_reg_value: return None - obf_lsa_key = sechive.read(enc_reg_value.Data + 4, enc_reg_value.DataLength) + try: + obf_lsa_key = sechive.read(enc_reg_value.Data + 4, enc_reg_value.DataLength) + except exceptions.InvalidAddressException: + return None if not obf_lsa_key: return None From f3294ef5f12a6b036989585b88105fde62634ce2 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Dec 2024 12:58:44 -0600 Subject: [PATCH 1091/2186] Windows Registry: Handle possible exception in get_node Encountered a `SwappedInvalidAddressException` within the call to `cast` due to an underlying call to `read`. --- volatility3/framework/layers/registry.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index cc364ad50..ee7286e1e 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -140,7 +140,14 @@ class RegistryHive(linear.LinearlyMappedLayer): """Returns the appropriate Node, interpreted from the Cell based on its Signature.""" cell = self.get_cell(cell_offset) - signature = cell.cast("string", max_length=2, encoding="latin-1") + try: + signature = cell.cast("string", max_length=2, encoding="latin-1") + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to read cell signature for cell at {cell.vol.offset:x}" + ) + return cell + if signature == "nk": return cell.u.KeyNode elif signature == "sk": From 21077f909f6bda2dec6a3900c7e9ec53268b8213 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Mon, 30 Dec 2024 22:28:47 +0000 Subject: [PATCH 1092/2186] Sort imports and swap two assignments --- volatility3/cli/text_filter.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/text_filter.py b/volatility3/cli/text_filter.py index 6bd6878a5..b6f019da9 100644 --- a/volatility3/cli/text_filter.py +++ b/volatility3/cli/text_filter.py @@ -1,7 +1,8 @@ import logging -from typing import Any, List, Optional -from volatility3.framework import constants, interfaces import re +from typing import Any, List, Optional + +from volatility3.framework import constants, interfaces vollog = logging.getLogger(__name__) @@ -67,8 +68,8 @@ class ColumnFilter: ) -> None: self.column_num = column_num self.pattern = pattern - self.exclude = exclude self.regex = regex + self.exclude = exclude def find(self, item) -> bool: """Identifies whether an item is found in the appropriate column""" From 3288ac971397500f61501b86a99678592cbd4128 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Dec 2024 14:01:40 -0600 Subject: [PATCH 1093/2186] Windows Handles: Handle possibly invalid memory accesses Any number of member accesses here can raise an `InvalidAddressException`; each is now checked, and `None` returned if any `InvalidAddressException` occurs. --- .../framework/plugins/windows/handles.py | 30 +++++++++++++++---- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index e3845b376..85b16d2d4 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -68,7 +68,12 @@ class Handles(interfaces.plugins.PluginInterface): if not self.context.layers[virtual].is_valid(handle_table_entry.Object): return None fast_ref = handle_table_entry.Object.cast("_EX_FAST_REF") - object_header = fast_ref.dereference().cast("_OBJECT_HEADER") + + try: + object_header = fast_ref.dereference().cast("_OBJECT_HEADER") + except exceptions.InvalidAddressException: + return None + object_header.GrantedAccess = handle_table_entry.GrantedAccess except AttributeError: # starting with windows 8 @@ -77,16 +82,26 @@ class Handles(interfaces.plugins.PluginInterface): ) if is_64bit: - if handle_table_entry.ObjectPointerBits == 0: + try: + pointer_bits = handle_table_entry.ObjectPointerBits + except exceptions.InvalidAddressException: return None - offset = handle_table_entry.ObjectPointerBits << 4 + if pointer_bits == 0: + return None + + offset = pointer_bits << 4 else: - if handle_table_entry.InfoTable == 0: + try: + info_table = handle_table_entry.InfoTable + except exceptions.InvalidAddressException: return None - offset = handle_table_entry.InfoTable & ~7 + if info_table == 0: + return None + + offset = info_table & ~7 # print("LowValue: {0:#x} Magic: {1:#x} Offset: {2:#x}".format(handle_table_entry.InfoTable, magic, offset)) object_header = self.context.object( @@ -94,7 +109,10 @@ class Handles(interfaces.plugins.PluginInterface): virtual, offset=offset, ) - object_header.GrantedAccess = handle_table_entry.GrantedAccessBits + try: + object_header.GrantedAccess = handle_table_entry.GrantedAccessBits + except exceptions.InvalidAddressException: + return None object_header.HandleValue = handle_value return object_header From 9a5365e681e971f0e58b23ed42195df09dced6e3 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 30 Dec 2024 16:59:40 -0600 Subject: [PATCH 1094/2186] Windows Handles: Fix unbound local in exception handler This fixes an unbound local used in a debug message; If the exception is raised during the dereference operation, the `objct` variable may be uninitialized. This uses the offset of `ptr` instead. --- volatility3/framework/plugins/windows/handles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 85b16d2d4..38ccfbfbc 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -178,7 +178,7 @@ class Handles(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: vollog.log( constants.LOGLEVEL_VVV, - f"Cannot access _OBJECT_HEADER Name at {objt.vol.offset:#x}", + f"Cannot access _OBJECT_HEADER Name at {ptr.vol.offset:#x}", ) continue From 263c87611b51f1cb9710c2ec71d1f41eb98e9c77 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 31 Dec 2024 10:43:27 -0600 Subject: [PATCH 1095/2186] Windows Registry: Handle exceptions in read calls These calls to `.read()` can raise an `InvalidAddressException`. Instead of propagating this exception to the caller, this adds debug logging, and pads the data will null bytes. Also updates the docstring for `decode_data()` to indicate that it can raise `TypeError` and `ValueError`. --- .../symbols/windows/extensions/registry.py | 31 ++++++++++++++++--- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index 9e2f8df3b..97dd7390d 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -276,7 +276,16 @@ class CM_KEY_VALUE(objects.StructType): return RegValueTypes(self.Type) def decode_data(self) -> Union[int, bytes]: - """Properly decodes the data associated with the value node""" + """ + Properly decodes the data associated with the value node. + + If an InvalidAddressException occurs when reading data from the + underlying RegistryHive layer, the data will be padded with null bytes + of the same length. + + Raises ValueError if the data cannot be read + Raises TypeError if the class was not instantiated on a RegistryHive layer + """ # Determine if the data is stored inline datalen = self.DataLength data = b"" @@ -310,14 +319,26 @@ class CM_KEY_VALUE(objects.StructType): and block_offset < layer.maximum_address ): amount = min(BIG_DATA_MAXLEN, datalen) - data += layer.read( - offset=layer.get_cell(block_offset).vol.offset, length=amount - ) + try: + data += layer.read( + offset=layer.get_cell(block_offset).vol.offset, + length=amount, + ) + except exceptions.InvalidAddressException: + vollog.debug( + f"Failed to read {amount:x} bytes of data, padding with {amount:x}" + ) datalen -= amount else: # Suspect Data actually points to a Cell, # but the length at the start could be negative so just adding 4 to jump past it - data = layer.read(self.Data + 4, datalen) + try: + data = layer.read(self.Data + 4, datalen) + except exceptions.InvalidAddressException: + vollog.debug( + f"Failed to read {datalen:x} bytes of data, returning {datalen:x} null bytes" + ) + data = b"\x00" * datalen if self.get_type() == RegValueTypes.REG_DWORD: if len(data) != struct.calcsize(" Date: Tue, 31 Dec 2024 11:11:57 -0600 Subject: [PATCH 1096/2186] Windows Registry: Update docstrings + exceptions This updates the docstrings on several methods to indicate that they may raise an exception. --- .../symbols/windows/extensions/registry.py | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index 97dd7390d..e53338855 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -159,6 +159,11 @@ class CM_KEY_NODE(objects.StructType): """Extension to allow traversal of registry keys.""" def get_volatile(self) -> bool: + """ + Returns a bool indicating whether or not the key is volatile. + + Raises ValueError if the key was not instantiated on a RegistryHive layer + """ if not isinstance(self._context.layers[self.vol.layer_name], RegistryHive): raise ValueError( "Cannot determine volatility of registry key without an offset in a RegistryHive layer" @@ -166,7 +171,10 @@ class CM_KEY_NODE(objects.StructType): return bool(self.vol.offset & 0x80000000) def get_subkeys(self) -> Iterator["CM_KEY_NODE"]: - """Returns a list of the key nodes.""" + """Returns a list of the key nodes. + + Raises TypeError if the key was not instantiated on a RegistryHive layer + """ hive = self._context.layers[self.vol.layer_name] if not isinstance(hive, RegistryHive): raise TypeError("CM_KEY_NODE was not instantiated on a RegistryHive layer") @@ -222,7 +230,10 @@ class CM_KEY_NODE(objects.StructType): yield from self._get_subkeys_recursive(hive, subnode) def get_values(self) -> Iterator["CM_KEY_VALUE"]: - """Returns a list of the Value nodes for a key.""" + """Returns a list of the Value nodes for a key. + + Raises TypeError if the key was not instantiated on a RegistryHive layer + """ hive = self._context.layers[self.vol.layer_name] if not isinstance(hive, RegistryHive): raise TypeError("CM_KEY_NODE was not instantiated on a RegistryHive layer") @@ -251,6 +262,11 @@ class CM_KEY_NODE(objects.StructType): return self.Name.cast("string", max_length=namelength, encoding="latin-1") def get_key_path(self) -> str: + """ + Returns the full path to this registry key. + + Raises TypeError if the key was not instantiated on a RegistryHive layer + """ reg = self._context.layers[self.vol.layer_name] if not isinstance(reg, RegistryHive): raise TypeError("Key was not instantiated on a RegistryHive layer") From fa67f10d3183cd743ca7e44b66d152141a34b2fb Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 31 Dec 2024 11:40:41 -0600 Subject: [PATCH 1097/2186] Windows Registry: Catch RegistryInvalidIndex refs #1484 This catches uncaught exceptions when casting the cell to a string in `get_node`. --- volatility3/framework/layers/registry.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index cc364ad50..c684ccd40 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -140,7 +140,13 @@ class RegistryHive(linear.LinearlyMappedLayer): """Returns the appropriate Node, interpreted from the Cell based on its Signature.""" cell = self.get_cell(cell_offset) - signature = cell.cast("string", max_length=2, encoding="latin-1") + try: + signature = cell.cast("string", max_length=2, encoding="latin-1") + except (RegistryInvalidIndex, exceptions.InvalidAddressException): + vollog.debug( + f"Failed to get cell signature for cell (0x{cell.vol.offset:x})" + ) + return cell if signature == "nk": return cell.u.KeyNode elif signature == "sk": From c6209800bdc810627f8757881f32e1cf0cfb6f17 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 1 Jan 2025 13:23:02 +0000 Subject: [PATCH 1098/2186] Core: Fix up issues when resolving merge --- volatility3/framework/constants/_version.py | 2 +- volatility3/framework/interfaces/context.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 02402c5c9..694375538 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 15 # Number of changes that only add to the interface +VERSION_MINOR = 14 # Number of changes that only add to the interface VERSION_PATCH = 1 # Number of changes that do not change the interface VERSION_SUFFIX = "" diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index 30840a5b9..0b2ae0cc9 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -306,6 +306,7 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): @abstractmethod def symbols(self) -> List: """Lists the symbols contained in the symbol table for this module""" + raise NotImplementedError("Symbols property has not been implemented.") @abstractmethod def get_symbols_by_absolute_location(self, offset: int, size: int = 0) -> List[str]: From 443f7afc9c95c5738cd9eec841ca834860914759 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 1 Jan 2025 13:59:20 +0000 Subject: [PATCH 1099/2186] Core: Fix code scanning issue concerning equality --- volatility3/framework/contexts/__init__.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index a9ec4ac69..e1fb56d94 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -11,6 +11,7 @@ without them interfering with each other. import functools import hashlib import logging +import re from typing import Callable, Dict, Iterable, List, Optional, Set, Tuple, Union from volatility3.framework import constants, interfaces, symbols, exceptions @@ -387,7 +388,6 @@ class ModuleCollection(interfaces.context.ModuleContainer): contents.""" def __init__(self, modules: Optional[List[SizedModule]] = None) -> None: - self._prefix_count = {} self._modules: Dict[str, SizedModule] = {} super().__init__(modules) @@ -408,13 +408,12 @@ class ModuleCollection(interfaces.context.ModuleContainer): def free_module_name(self, prefix: str = "module") -> str: """Returns an unused module name""" - if prefix not in self._prefix_count: - self._prefix_count[prefix] = 1 + existing_names = [name for name in self if re.match(rf"^{prefix}[0-9]*$", name)] + if not existing_names: return prefix - count = self._prefix_count[prefix] + count = len(existing_names) while prefix + str(count) in self: count += 1 - self._prefix_count[prefix] = count return prefix + str(count) @property From 6be039a7e5ddf23f918f073428cbab7e3604f4e7 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 1 Jan 2025 14:05:02 +0000 Subject: [PATCH 1100/2186] Core: Fix black error --- volatility3/framework/interfaces/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index 0b2ae0cc9..48c066e96 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -306,7 +306,7 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): @abstractmethod def symbols(self) -> List: """Lists the symbols contained in the symbol table for this module""" - raise NotImplementedError("Symbols property has not been implemented.") + raise NotImplementedError("Symbols property has not been implemented.") @abstractmethod def get_symbols_by_absolute_location(self, offset: int, size: int = 0) -> List[str]: From 9c02f0d12a13fb77db8fb326f6f68dc31fceec1f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 1 Jan 2025 15:22:09 +0000 Subject: [PATCH 1101/2186] Linux: Fix kmsf f-strings Closes #1496 --- volatility3/framework/plugins/linux/kmsg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index d66e3b9ca..c1d09aff8 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -149,7 +149,7 @@ class ABCKmsg(ABC): # This might seem insignificant but it could cause some issues # when compared with userland tool results or when used in # timelines. - return f"{nsec / 1000000000:lu}.{(nsec % 1000000000) / 1000:06lu}" + return f"{nsec / 1000000000}.{(nsec % 1000000000) / 1000:06}" def get_timestamp_in_sec_str(self, obj) -> str: # obj could be log, printk_log or printk_info @@ -166,7 +166,7 @@ class ABCKmsg(ABC): def get_caller_text(self, caller_id): caller_name = "CPU" if caller_id & 0x80000000 else "Task" - caller = f"{caller_name}({caller_id & ~0x80000000:u})" + caller = f"{caller_name}({int(caller_id & ~0x80000000)})" return caller def get_prefix(self, obj) -> Tuple[int, int, str, str]: From ac3e76665b7a44b6c5dbc18e633814bd2371ff75 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 1 Jan 2025 15:29:07 +0000 Subject: [PATCH 1102/2186] Linux: Fix kmsg unguarded read of msg.len --- volatility3/framework/plugins/linux/kmsg.py | 34 ++++++++++++--------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index d66e3b9ca..67114c087 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -317,23 +317,27 @@ class Kmsg_3_5_to_3_11(ABCKmsg): while cur_idx < end_idx: msg_offset = log_buf_ptr + cur_idx # type: ignore msg = self.vmlinux.object(object_type=log_struct_name, offset=msg_offset) - if msg.len == 0: - # As per kernel/printk.c: - # A length == 0 for the next message indicates a wrap-around to - # the beginning of the buffer. - cur_idx = 0 - end_idx = log_next_idx - else: - facility, level, timestamp, caller = self.get_prefix(msg) - level_txt = self.get_level_text(level) - facility_txt = self.get_facility_text(facility) + try: + if msg.len == 0: + # As per kernel/printk.c: + # A length == 0 for the next message indicates a wrap-around to + # the beginning of the buffer. + cur_idx = 0 + end_idx = log_next_idx + else: + facility, level, timestamp, caller = self.get_prefix(msg) + level_txt = self.get_level_text(level) + facility_txt = self.get_facility_text(facility) - for line in self.get_log_lines(msg): - yield facility_txt, level_txt, timestamp, caller, line - for line in self.get_dict_lines(msg): - yield facility_txt, level_txt, timestamp, caller, line + for line in self.get_log_lines(msg): + yield facility_txt, level_txt, timestamp, caller, line + for line in self.get_dict_lines(msg): + yield facility_txt, level_txt, timestamp, caller, line - cur_idx += msg.len + cur_idx += msg.len + except exceptions.InvalidAddressException: + vollog.warning("Kmsg buffer msg length could not be read") + return class Kmsg_3_11_to_5_10(Kmsg_3_5_to_3_11): From c8e67e526a831dcd05b59fa0adeeda8937c4f81a Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 1 Jan 2025 22:33:25 -0600 Subject: [PATCH 1103/2186] Convert ValueError to TypeError All other methods in this class raise a `TypeError` if the hive was not instantiated on a registry layer; this changes makes this method consistent with the convention used in the others. All `except` blocks checking for `ValueError` have been audited to ensure that this doesn't break exception handling in existing code within the framework. This also includes a minor version bump because: 1. RegistryHives are currently only instantiated one way, which is through the `hivelist` plugin. `hivelist` uses the correct layers when instantiating the hives. 2. Because there is currently a single source for registry hives, and it's unlikely that a hive from that source will ever be created on the wrong layer, it's unlikely that the existing `ValueError` is being raised anywhere within the framework's code. 3. It seems unlikely that consumers of this framework would be instantiating registry hives independent of the `hivelist` plugin, given that they would effectively have to duplicate the `hivelist` code to do so. For these reasons, we're going to do a minor version bump, even though an argument can be made that this warrants a major version bump according to the SemVer rules. This is a one-off and does not indicate any change in the way that we typically update version numbers. --- volatility3/framework/constants/_version.py | 2 +- .../framework/symbols/windows/extensions/registry.py | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 9ca2d0a5b..2f0c53093 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 14 # Number of changes that only add to the interface +VERSION_MINOR = 15 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index e53338855..c9544a8ba 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -162,12 +162,10 @@ class CM_KEY_NODE(objects.StructType): """ Returns a bool indicating whether or not the key is volatile. - Raises ValueError if the key was not instantiated on a RegistryHive layer + Raises TypeError if the key was not instantiated on a RegistryHive layer """ if not isinstance(self._context.layers[self.vol.layer_name], RegistryHive): - raise ValueError( - "Cannot determine volatility of registry key without an offset in a RegistryHive layer" - ) + raise TypeError("CM_KEY_NODE was not instantiated on a RegistryHive layer") return bool(self.vol.offset & 0x80000000) def get_subkeys(self) -> Iterator["CM_KEY_NODE"]: From ac299b0cfc1b12d431c370ce0217d39d0b5cd111 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 2 Jan 2025 17:58:51 +1100 Subject: [PATCH 1104/2186] linux: module symbols: Fixes and improve code. - Fixed an issue causing the generation of an invalid, extra symbol. - Reuse ELF sym API instead of reimplemented it - Updated the function to return the symbol index, enabling the use of additional module tables. - Ensured the ELF symbol object has `cached_strtab` set, allowing retrieval of critical symbol information like names. - Added typing hints --- .../framework/constants/linux/__init__.py | 3 + .../symbols/linux/extensions/__init__.py | 73 ++++++++++--------- .../framework/symbols/linux/extensions/elf.py | 34 +++++---- 3 files changed, 61 insertions(+), 49 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 6e49e6f37..f3a13f2a5 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -352,3 +352,6 @@ NSEC_PER_SEC = 1e9 MODULE_MAXIMUM_CORE_SIZE = 20000000 MODULE_MAXIMUM_CORE_TEXT_SIZE = 20000000 MODULE_MINIMUM_SIZE = 4096 + +# Kallsyms +KSYM_NAME_LEN = 512 diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 34d0fcba9..28fbb3fc5 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -213,30 +213,37 @@ class module(generic.GenericIntelProcess): ) return elf_table_name - def get_symbols(self): + def get_symbols( + self, + ) -> Iterable[Tuple[int, interfaces.objects.ObjectInterface]]: """Get symbols of the module Yields: - A symbol object + A tuple containing the ELF symbol index and the corresponding ELF symbol object """ - if not hasattr(self, "_elf_table_name"): - self._elf_table_name = self.get_elf_table_name() - if symbols.symbol_table_is_64bit(self._context, self.get_symbol_table_name()): - prefix = "Elf64_" - else: - prefix = "Elf32_" - syms = self._context.object( - self.get_symbol_table_name() + constants.BANG + "array", + if not self.section_strtab or self.num_symtab < 1: + return None + + elf_table_name = self.get_elf_table_name() + symbol_table_name = self.get_symbol_table_name() + + is_64bit = symbols.symbol_table_is_64bit(self._context, symbol_table_name) + sym_name = "Elf64_Sym" if is_64bit else "Elf32_Sym" + sym_type = self._context.symbol_space.get_type( + elf_table_name + constants.BANG + sym_name + ) + elf_syms = self._context.object( + symbol_table_name + constants.BANG + "array", layer_name=self.vol.layer_name, offset=self.section_symtab, - subtype=self._context.symbol_space.get_type( - self._elf_table_name + constants.BANG + prefix + "Sym" - ), - count=self.num_symtab + 1, + subtype=sym_type, + count=self.num_symtab, ) - if self.section_strtab: - yield from syms + for elf_sym_num, elf_sym_obj in enumerate(elf_syms): + # Prepare the symbol object for methods like get_name() + elf_sym_obj.cached_strtab = self.section_strtab + yield elf_sym_num, elf_sym_obj def get_symbols_names_and_addresses(self) -> Iterable[Tuple[str, int]]: """Get names and addresses for each symbol of the module @@ -244,34 +251,25 @@ class module(generic.GenericIntelProcess): Yields: A tuple for each symbol containing the symbol name and its corresponding value """ - - for sym in self.get_symbols(): - sym_arr = self._context.object( - self.get_symbol_table_name() + constants.BANG + "array", - layer_name=self.vol.native_layer_name, - offset=self.section_strtab + sym.st_name, - ) - try: - sym_name = utility.array_to_string( - sym_arr, 512 - ) # 512 is the value of KSYM_NAME_LEN kernel constant - except exceptions.InvalidAddressException: + layer = self._context.layers[self.vol.layer_name] + for _sym_num, sym in self.get_symbols(): + sym_name = sym.get_name() + if not sym_name: continue - if sym_name != "": - # Normalize sym.st_value offset, which is an address pointing to the symbol value - mask = self._context.layers[self.vol.layer_name].address_mask - sym_address = sym.st_value & mask - yield (sym_name, sym_address) - def get_symbol(self, wanted_sym_name): - """Get symbol value for a given symbol name""" + # Normalize sym.st_value offset, which is an address pointing to the symbol value + sym_address = sym.st_value & layer.address_mask + yield (sym_name, sym_address) + + def get_symbol(self, wanted_sym_name) -> Optional[int]: + """Get symbol address for a given symbol name""" for sym_name, sym_address in self.get_symbols_names_and_addresses(): if wanted_sym_name == sym_name: return sym_address return None - def get_symbol_by_address(self, wanted_sym_address): + def get_symbol_by_address(self, wanted_sym_address) -> Optional[str]: """Get symbol name for a given symbol address""" for sym_name, sym_address in self.get_symbols_names_and_addresses(): if wanted_sym_address == sym_address: @@ -285,6 +283,7 @@ class module(generic.GenericIntelProcess): return self.kallsyms.symtab elif self.has_member("symtab"): return self.symtab + raise AttributeError("Unable to get symtab") @property @@ -293,6 +292,7 @@ class module(generic.GenericIntelProcess): return int(self.kallsyms.num_symtab) elif self.has_member("num_symtab"): return int(self.member("num_symtab")) + raise AttributeError("Unable to determine number of symbols") @property @@ -303,6 +303,7 @@ class module(generic.GenericIntelProcess): # Older kernels elif self.has_member("strtab"): return self.strtab + raise AttributeError("Unable to get strtab") diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index eadcbbae0..4de73d952 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -2,13 +2,14 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Dict, Tuple +from typing import Dict, Tuple, Optional import logging from volatility3.framework import constants from volatility3.framework.constants.linux import ( ELF_IDENT, ELF_CLASS, + KSYM_NAME_LEN, ) from volatility3.framework import objects, interfaces, exceptions @@ -328,22 +329,29 @@ class elf_sym(objects.StructType): def cached_strtab(self, cached_strtab): self._cached_strtab = cached_strtab - def get_name(self): + def get_name(self, max_size=KSYM_NAME_LEN) -> Optional[str]: + """Returns the symbol name + + Args: + max_size: Maximum length for a symbol name string. Defaults to KSYM_NAME_LEN (512 bytes). + + Returns: + The symbol name + """ + addr = self._cached_strtab + self.st_name - # Just get the first 255 characters, it should be enough for a symbol name - name_bytes = self._context.layers[self.vol.layer_name].read(addr, 255, pad=True) - - if name_bytes: - idx = name_bytes.find(b"\x00") - if idx != -1: - name_bytes = name_bytes[:idx] - return name_bytes.decode("utf-8", errors="ignore") - else: - # If we cannot read the name from the address space, - # we return None. + layer = self._context.layers[self.vol.layer_name] + name_bytes = layer.read(addr, max_size, pad=True) + if not name_bytes: return None + idx = name_bytes.find(b"\x00") + if idx != -1: + name_bytes = name_bytes[:idx] + + return name_bytes.decode("utf-8", errors="ignore") + class elf_phdr(objects.StructType): """An elf program header""" From 97b93abe438bf32b32067bd962a19e07d9917406 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 2 Jan 2025 11:26:21 +0000 Subject: [PATCH 1105/2186] Linux: Remove unnecessary int cast --- volatility3/framework/plugins/linux/kmsg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index c1d09aff8..894ca575f 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -166,7 +166,7 @@ class ABCKmsg(ABC): def get_caller_text(self, caller_id): caller_name = "CPU" if caller_id & 0x80000000 else "Task" - caller = f"{caller_name}({int(caller_id & ~0x80000000)})" + caller = f"{caller_name}({caller_id & ~0x80000000})" return caller def get_prefix(self, obj) -> Tuple[int, int, str, str]: From 7278bb244f58f36b346d254512e393cde6f63871 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 2 Jan 2025 14:47:18 +0100 Subject: [PATCH 1106/2186] move get_flags_list at bottom --- .../framework/symbols/linux/extensions/__init__.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 34d0fcba9..9546fcf82 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2628,6 +2628,19 @@ class page(objects.StructType): page_data = physical_layer.read(page_paddr, vmlinux_layer.page_size) return page_data + def get_flags_list(self) -> List[str]: + """Returns a list of page flags + + Returns: + List of page flags + """ + flags = [] + for name, value in self.pageflags_enum.items(): + if self.flags & (1 << value) != 0: + flags.append(name) + + return flags + class IDR(objects.StructType): IDR_BITS = 8 From b61ba66223a866a29a119eb17f44fba250ecc01e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 2 Jan 2025 14:51:23 +0100 Subject: [PATCH 1107/2186] multi-architecture vmemmap_start calculation --- .../symbols/linux/extensions/__init__.py | 62 ++++++++++++------- 1 file changed, 38 insertions(+), 24 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 9546fcf82..b02f80433 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -15,7 +15,7 @@ from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union, from volatility3.framework import constants, exceptions, objects, interfaces, symbols from volatility3.framework.renderers import conversion from volatility3.framework.constants import linux as linux_constants -from volatility3.framework.layers import linear +from volatility3.framework.layers import linear, intel from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed from volatility3.framework.symbols.linux.extensions import elf @@ -2525,16 +2525,13 @@ class address_space(objects.StructType): class page(objects.StructType): - @property - @functools.lru_cache + @functools.cached_property def pageflags_enum(self) -> Dict: """Returns 'pageflags' enumeration key/values Returns: A dictionary with the pageflags enumeration key/values """ - # FIXME: It would be even better to use @functools.cached_property instead, - # however, this requires Python +3.8 try: pageflags_enum = self._context.symbol_space.get_enumeration( self.get_symbol_table_name() + constants.BANG + "pageflags" @@ -2548,24 +2545,12 @@ class page(objects.StructType): return pageflags_enum - def get_flags_list(self) -> List[str]: - """Returns a list of page flags + @functools.cached_property + def _intel_vmemmap_start(self) -> int: + """Determine the start of the struct page array, for Intel systems. Returns: - List of page flags - """ - flags = [] - for name, value in self.pageflags_enum.items(): - if self.flags & (1 << value) != 0: - flags.append(name) - - return flags - - def to_paddr(self) -> int: - """Converts a page's virtual address to its physical address using the current physical memory model. - - Returns: - int: page physical address + int: vmemmap_start address """ vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] @@ -2605,13 +2590,39 @@ class page(objects.StructType): "Something went wrong, we shouldn't be here" ) - page_type_size = vmlinux.get_type("page").size + return vmemmap_start + + def _intel_to_paddr(self) -> int: + """Converts a page's virtual address to its physical address using the current Intel memory model. + + Returns: + int: page physical address + """ + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] pagec = vmlinux_layer.canonicalize(self.vol.offset) - pfn = (pagec - vmemmap_start) // page_type_size + pfn = (pagec - self._intel_vmemmap_start) // vmlinux.get_type("page").size page_paddr = pfn * vmlinux_layer.page_size return page_paddr + def to_paddr(self) -> int: + """Converts a page's virtual address to its physical address using the current CPU memory model. + + Returns: + int: page physical address + """ + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] + if isinstance(vmlinux_layer, intel.Intel): + page_paddr = self._intel_to_paddr() + else: + raise exceptions.LayerException( + f"Architecture {type(vmlinux_layer)} vmemmap_start calculation isn't currently supported." + ) + + return page_paddr + def get_content(self) -> Union[str, None]: """Returns the page content @@ -2620,7 +2631,10 @@ class page(objects.StructType): """ vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] - physical_layer = vmlinux.context.layers["memory_layer"] + physical_layer_name = self._context.layers[self.vol.layer_name].config.get( + "memory_layer", self.vol.layer_name + ) + physical_layer = self._context.layers[physical_layer_name] page_paddr = self.to_paddr() if not page_paddr: return None From dda104bd62b9f5f7b9c0208832c6d788c0ebd2ea Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 2 Jan 2025 16:37:14 +0100 Subject: [PATCH 1108/2186] move out Tainting capabilities --- .../framework/symbols/linux/__init__.py | 121 ------------------ 1 file changed, 121 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 832b1de9b..0230a9c48 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -11,7 +11,6 @@ from volatility3.framework import constants, exceptions, interfaces, objects from volatility3.framework.objects import utility from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux import extensions -from volatility3.framework.constants import linux as linux_constants class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): @@ -831,123 +830,3 @@ class PageCache: page = self.vmlinux.object("page", offset=page_addr, absolute=True) if page: yield page - - -class Tainting: - """Tainted kernel and modules parsing capabilities. - - Relevant kernel functions: - - modules: module_flags_taint - - kernel: print_tainted - """ - - def __init__( - self, - context: interfaces.context.ContextInterface, - kernel_module_name: str, - ): - self.kernel = context.modules[kernel_module_name] - - @property - def kernel_taint_flags_list( - self, - ) -> Optional[List[interfaces.objects.ObjectInterface]]: - if self.kernel.has_symbol("taint_flags"): - return list(self.kernel.object_from_symbol("taint_flags")) - return None - - def _module_flags_taint_pre_4_10_rc1( - self, taints: int, is_module: bool = False - ) -> str: - """Convert the module's taints value to a 1-1 character mapping. - Relies on statically defined taints mappings in the framework. - - Args: - taints: The taints value, represented by an integer - is_module: Indicates if the taints value is associated with a built-in/LKM module - - Returns: - The raw taints string. - """ - taints_string = "" - for char, taint_flag in linux_constants.TAINT_FLAGS.items(): - if is_module and is_module != taint_flag.module: - continue - - if taints & taint_flag.shift: - taints_string += char - - return taints_string - - def _module_flags_taint_post_4_10_rc1( - self, taints: int, is_module: bool = False - ) -> str: - """Convert the module's taints value to a 1-1 character mapping. - Relies on kernel symbol embedded taints definitions. - - struct taint_flag { - char c_true; /* character printed when tainted */ - char c_false; /* character printed when not tainted */ - bool module; /* also show as a per-module taint flag */ - }; - - Args: - taints: The taints value, represented by an integer - is_module: Indicates if the taints value is associated with a built-in/LKM module - - Returns: - The raw taints string. - """ - taints_string = "" - for i, taint_flag in enumerate(self.kernel_taint_flags_list): - if is_module and is_module != taint_flag.module: - continue - c_true = chr(taint_flag.c_true) - c_false = chr(taint_flag.c_false) - if taints & (1 << i): - taints_string += c_true - elif c_false != " ": - taints_string += c_false - - return taints_string - - def get_taints_as_plain_string(self, taints: int, is_module: bool = False) -> str: - """Convert the taints value to a 1-1 character mapping. - - Args: - taints: The taints value, represented by an integer - is_module: Indicates if the taints value is associated with a built-in/LKM module - s - Returns: - The raw taints string. - - Documentation: - - module_flags_taint kernel function - """ - - if self.kernel_taint_flags_list: - return self._module_flags_taint_post_4_10_rc1(taints, is_module) - return self._module_flags_taint_pre_4_10_rc1(taints, is_module) - - def get_taints_parsed(self, taints: int, is_module: bool = False) -> List[str]: - """Convert the taints string to a 1-1 descriptor mapping. - - Args: - taints: The taints value, represented by an integer - is_module: Indicates if the taints value is associated with a built-in/LKM module - - Returns: - A comprehensive (user-friendly) taint descriptor list. - - Documentation: - - module_flags_taint kernel function - """ - comprehensive_taints = [] - for character in self.get_taints_as_plain_string(taints, is_module): - taint_flag = linux_constants.TAINT_FLAGS.get(character) - if not taint_flag: - comprehensive_taints.append(f"") - elif taint_flag.when_present: - comprehensive_taints.append(taint_flag.desc) - - return comprehensive_taints From 2a5f38ebad48e0d729b3b22caac84bd4209f20a2 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 2 Jan 2025 16:39:07 +0100 Subject: [PATCH 1109/2186] introduce versioned Linux utilities --- .../framework/symbols/linux/utilities/__init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 volatility3/framework/symbols/linux/utilities/__init__.py diff --git a/volatility3/framework/symbols/linux/utilities/__init__.py b/volatility3/framework/symbols/linux/utilities/__init__.py new file mode 100644 index 000000000..4225d444b --- /dev/null +++ b/volatility3/framework/symbols/linux/utilities/__init__.py @@ -0,0 +1,11 @@ +from volatility3 import framework +from volatility3.framework import interfaces + + +class LinuxUtilityInterface(interfaces.configuration.VersionableInterface): + """Class with multiple useful Linux functions surrounding a specific piece of functionality.""" + + _version = (2, 1, 1) + _required_framework_version = (2, 0, 0) + + framework.require_interface_version(*_required_framework_version) From 8bc62598f4530bdf2fb99aeb725e5b8f3e0d8cd5 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 2 Jan 2025 16:39:57 +0100 Subject: [PATCH 1110/2186] initial tainting utilities --- .../symbols/linux/utilities/tainting.py | 130 ++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 volatility3/framework/symbols/linux/utilities/tainting.py diff --git a/volatility3/framework/symbols/linux/utilities/tainting.py b/volatility3/framework/symbols/linux/utilities/tainting.py new file mode 100644 index 000000000..e6d75a963 --- /dev/null +++ b/volatility3/framework/symbols/linux/utilities/tainting.py @@ -0,0 +1,130 @@ +from volatility3 import framework +from volatility3.framework import interfaces +from volatility3.framework.symbols.linux.utilities import LinuxUtilityInterface +from volatility3.framework.constants import linux as linux_constants +from typing import List, Optional + + +class Tainting(LinuxUtilityInterface): + """Tainted kernel and modules parsing capabilities. + + Relevant Linux kernel functions: + - modules: module_flags_taint + - kernel: print_tainted + """ + + _version = (1, 0, 0) + _required_framework_version = (2, 14, 0) + + framework.require_interface_version(*_required_framework_version) + + def __init__( + self, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + ): + self.kernel = context.modules[kernel_module_name] + + @property + def _kernel_taint_flags_list( + self, + ) -> Optional[List[interfaces.objects.ObjectInterface]]: + if self.kernel.has_symbol("taint_flags"): + return list(self.kernel.object_from_symbol("taint_flags")) + return None + + def _module_flags_taint_pre_4_10_rc1( + self, taints: int, is_module: bool = False + ) -> str: + """Convert the module's taints value to a 1-1 character mapping. + Relies on statically defined taints mappings in the framework. + + Args: + taints: The taints value, represented by an integer + is_module: Indicates if the taints value is associated with a built-in/LKM module + + Returns: + The raw taints string. + """ + taints_string = "" + for char, taint_flag in linux_constants.TAINT_FLAGS.items(): + if is_module and is_module != taint_flag.module: + continue + + if taints & taint_flag.shift: + taints_string += char + + return taints_string + + def _module_flags_taint_post_4_10_rc1( + self, taints: int, is_module: bool = False + ) -> str: + """Convert the module's taints value to a 1-1 character mapping. + Relies on kernel symbol embedded taints definitions. + + struct taint_flag { + char c_true; /* character printed when tainted */ + char c_false; /* character printed when not tainted */ + bool module; /* also show as a per-module taint flag */ + }; + + Args: + taints: The taints value, represented by an integer + is_module: Indicates if the taints value is associated with a built-in/LKM module + + Returns: + The raw taints string. + """ + taints_string = "" + for i, taint_flag in enumerate(self._kernel_taint_flags_list): + if is_module and is_module != taint_flag.module: + continue + c_true = chr(taint_flag.c_true) + c_false = chr(taint_flag.c_false) + if taints & (1 << i): + taints_string += c_true + elif c_false != " ": + taints_string += c_false + + return taints_string + + def get_taints_as_plain_string(self, taints: int, is_module: bool = False) -> str: + """Convert the taints value to a 1-1 character mapping. + + Args: + taints: The taints value, represented by an integer + is_module: Indicates if the taints value is associated with a built-in/LKM module + s + Returns: + The raw taints string. + + Documentation: + - module_flags_taint kernel function + """ + + if self._kernel_taint_flags_list: + return self._module_flags_taint_post_4_10_rc1(taints, is_module) + return self._module_flags_taint_pre_4_10_rc1(taints, is_module) + + def get_taints_parsed(self, taints: int, is_module: bool = False) -> List[str]: + """Convert the taints string to a 1-1 descriptor mapping. + + Args: + taints: The taints value, represented by an integer + is_module: Indicates if the taints value is associated with a built-in/LKM module + + Returns: + A comprehensive (user-friendly) taint descriptor list. + + Documentation: + - module_flags_taint kernel function + """ + comprehensive_taints = [] + for character in self.get_taints_as_plain_string(taints, is_module): + taint_flag = linux_constants.TAINT_FLAGS.get(character) + if not taint_flag: + comprehensive_taints.append(f"") + elif taint_flag.when_present: + comprehensive_taints.append(taint_flag.desc) + + return comprehensive_taints From 3105a31964a1a36420281bd995d983a81b161e97 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 2 Jan 2025 16:40:49 +0100 Subject: [PATCH 1111/2186] leverage Tainting from separated Linux utilities --- volatility3/framework/symbols/linux/extensions/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 075a83ae8..ac07d2def 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -19,7 +19,7 @@ from volatility3.framework.layers import linear from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed from volatility3.framework.symbols.linux.extensions import elf - +from volatility3.framework.symbols.linux.utilities import tainting vollog = logging.getLogger(__name__) @@ -286,7 +286,7 @@ class module(generic.GenericIntelProcess): Returns: The raw taints string. """ - return linux.Tainting( + return tainting.Tainting( self._context, linux.LinuxUtilities.get_module_from_volobj_type(self._context, self).name, ).get_taints_as_plain_string(self.taints, True) @@ -298,7 +298,7 @@ class module(generic.GenericIntelProcess): Returns: A comprehensive (user-friendly) taint descriptor list. """ - return linux.Tainting( + return tainting.Tainting( self._context, linux.LinuxUtilities.get_module_from_volobj_type(self._context, self).name, ).get_taints_parsed(self.taints, True) From 6e4213e321b96dd8f0b35df6c87aa8426698a42c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 2 Jan 2025 16:41:37 +0100 Subject: [PATCH 1112/2186] update tainting requirements to new versioned utilities --- volatility3/framework/plugins/linux/modxview.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index d79f5e7a9..c97864a87 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -9,6 +9,7 @@ from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints, TreeGrid, NotAvailableValue from volatility3.framework.symbols.linux import extensions from volatility3.framework.constants import architectures +from volatility3.framework.symbols.linux.utilities import tainting vollog = logging.getLogger(__name__) @@ -18,7 +19,7 @@ class Modxview(interfaces.plugins.PluginInterface): spot modules presence and taints.""" _version = (1, 0, 0) - _required_framework_version = (2, 11, 0) + _required_framework_version = (2, 14, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -28,6 +29,9 @@ class Modxview(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=architectures.LINUX_ARCHS, ), + requirements.VersionRequirement( + name="linux-tainting", component=tainting.Tainting, version=(1, 0, 0) + ), requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) ), From 0a3502697cca4dac2ac2f39896ecfaaef507ac9b Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 2 Jan 2025 16:42:16 +0100 Subject: [PATCH 1113/2186] 2.13.0 -> 2.14.0 bump --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 11edc07d8..9ca2d0a5b 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 13 # Number of changes that only add to the interface +VERSION_MINOR = 14 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" From 89b8da8c39fe14f699d711c95a8311ec1e21331e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 2 Jan 2025 16:48:22 +0100 Subject: [PATCH 1114/2186] make self.kernel private and call parent __init__ --- .../framework/symbols/linux/utilities/tainting.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/tainting.py b/volatility3/framework/symbols/linux/utilities/tainting.py index e6d75a963..603215961 100644 --- a/volatility3/framework/symbols/linux/utilities/tainting.py +++ b/volatility3/framework/symbols/linux/utilities/tainting.py @@ -22,15 +22,18 @@ class Tainting(LinuxUtilityInterface): self, context: interfaces.context.ContextInterface, kernel_module_name: str, + *args, + **kwargs, ): - self.kernel = context.modules[kernel_module_name] + super().__init__(*args, **kwargs) + self._kernel = context.modules[kernel_module_name] @property def _kernel_taint_flags_list( self, ) -> Optional[List[interfaces.objects.ObjectInterface]]: - if self.kernel.has_symbol("taint_flags"): - return list(self.kernel.object_from_symbol("taint_flags")) + if self._kernel.has_symbol("taint_flags"): + return list(self._kernel.object_from_symbol("taint_flags")) return None def _module_flags_taint_pre_4_10_rc1( From d2bb5c9f31d7f01fe2e343867c0c7c1926b3ac50 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 3 Jan 2025 10:01:37 +1100 Subject: [PATCH 1115/2186] linux: fix kmsg fstring bug introduced in #1502 --- volatility3/framework/plugins/linux/kmsg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index 894ca575f..30f67b319 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -149,7 +149,7 @@ class ABCKmsg(ABC): # This might seem insignificant but it could cause some issues # when compared with userland tool results or when used in # timelines. - return f"{nsec / 1000000000}.{(nsec % 1000000000) / 1000:06}" + return f"{nsec // 1000000000}.{(nsec % 1000000000) // 1000:06}" def get_timestamp_in_sec_str(self, obj) -> str: # obj could be log, printk_log or printk_info From 4a34b988d1e4cb02e33e555c3e2ed63d808e5028 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 3 Jan 2025 13:21:09 +0100 Subject: [PATCH 1116/2186] minor readability adjustments --- .../framework/symbols/linux/utilities/tainting.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/tainting.py b/volatility3/framework/symbols/linux/utilities/tainting.py index 603215961..f7f6c83ec 100644 --- a/volatility3/framework/symbols/linux/utilities/tainting.py +++ b/volatility3/framework/symbols/linux/utilities/tainting.py @@ -51,7 +51,7 @@ class Tainting(LinuxUtilityInterface): """ taints_string = "" for char, taint_flag in linux_constants.TAINT_FLAGS.items(): - if is_module and is_module != taint_flag.module: + if is_module and not taint_flag.module: continue if taints & taint_flag.shift: @@ -79,12 +79,12 @@ class Tainting(LinuxUtilityInterface): The raw taints string. """ taints_string = "" - for i, taint_flag in enumerate(self._kernel_taint_flags_list): - if is_module and is_module != taint_flag.module: + for taint_bit, taint_flag in enumerate(self._kernel_taint_flags_list): + if is_module and not taint_flag.module: continue c_true = chr(taint_flag.c_true) c_false = chr(taint_flag.c_false) - if taints & (1 << i): + if taints & (1 << taint_bit): taints_string += c_true elif c_false != " ": taints_string += c_false @@ -97,7 +97,6 @@ class Tainting(LinuxUtilityInterface): Args: taints: The taints value, represented by an integer is_module: Indicates if the taints value is associated with a built-in/LKM module - s Returns: The raw taints string. From 38c5cc168f93a4d1a5cab2a6c9b071cf32e22fc2 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 3 Jan 2025 13:23:27 +0100 Subject: [PATCH 1117/2186] bump framework req to 2.16.0 --- volatility3/framework/plugins/linux/modxview.py | 2 +- volatility3/framework/symbols/linux/utilities/tainting.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index c97864a87..042930740 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -19,7 +19,7 @@ class Modxview(interfaces.plugins.PluginInterface): spot modules presence and taints.""" _version = (1, 0, 0) - _required_framework_version = (2, 14, 0) + _required_framework_version = (2, 16, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: diff --git a/volatility3/framework/symbols/linux/utilities/tainting.py b/volatility3/framework/symbols/linux/utilities/tainting.py index f7f6c83ec..fc2f94109 100644 --- a/volatility3/framework/symbols/linux/utilities/tainting.py +++ b/volatility3/framework/symbols/linux/utilities/tainting.py @@ -14,7 +14,7 @@ class Tainting(LinuxUtilityInterface): """ _version = (1, 0, 0) - _required_framework_version = (2, 14, 0) + _required_framework_version = (2, 16, 0) framework.require_interface_version(*_required_framework_version) From 32ca62bbb1205b11be0338e741e3046d503153a8 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:20:35 +0000 Subject: [PATCH 1118/2186] Make f-string slightly more readable --- .../framework/plugins/windows/shimcachemem.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index b8e9b5bd7..9d968c30a 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -305,14 +305,14 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf If a number of validity checks are passed, this method will return the `SHIM_CACHE_HEAD` object. Otherwise, `None` is returned. """ - # print("checking RTL_AVL_TABLE at offset %s" % hex(offset)) + # Check RTL_AVL_TABLE at offset rtl_avl_table = context.object( symbol_table + constants.BANG + "_RTL_AVL_TABLE", layer_name, offset ) if not rtl_avl_table.is_valid(mod_page_start, mod_page_end): return None - vollog.debug(f"Candidate RTL_AVL_TABLE found at offset {hex(offset)}") + vollog.debug(f"Candidate RTL_AVL_TABLE found at offset {offset:#x}") ersrc_size = context.symbol_space.get_type( kernel_symbol_table + constants.BANG + "_ERESOURCE" @@ -324,13 +324,13 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf # 0x20 if context.symbol_space.get_type("pointer").size == 8 else 0x10 ) vollog.debug( - f"ERESOURCE size: {hex(ersrc_size)}, ERESOURCE alignment: {hex(ersrc_alignment)}" + f"ERESOURCE size: {ersrc_size:#x}, ERESOURCE alignment: {ersrc_alignment:#x}" ) eresource_rel_off = ersrc_size + ((offset - ersrc_size) % ersrc_alignment) eresource_offset = offset - eresource_rel_off - vollog.debug(f"Constructing ERESOURCE at {hex(eresource_offset)}") + vollog.debug(f"Constructing ERESOURCE at {eresource_offset:#x}") eresource = context.object( kernel_symbol_table + constants.BANG + "_ERESOURCE", layer_name, @@ -408,8 +408,8 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf # iterate over ahcache kernel module's .data section in search of *two* SHIM handles shim_heads = [] - vollog.debug(f"PAGE offset: {hex(mod_page_offset)}") - vollog.debug(f".data offset: {hex(data_sec_offset)}") + vollog.debug(f"PAGE offset: {mod_page_offset:#x}") + vollog.debug(f".data offset: {data_sec_offset:#x}") handle_type = context.symbol_space.get_type( shimcache_symbol_table + constants.BANG + "SHIM_CACHE_HANDLE" @@ -419,7 +419,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf data_sec_offset + data_sec_size, 8 if symbols.symbol_table_is_64bit(context, nt_symbol_table) else 4, ): - vollog.debug(f"Building shim handle pointer at {hex(offset)}") + vollog.debug(f"Building shim handle pointer at {offset:#x}") shim_handle = context.object( object_type=shimcache_symbol_table + constants.BANG + "pointer", layer_name=kernel_layer_name, @@ -430,7 +430,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf if shim_handle.is_valid(mod_page_offset, mod_page_offset + mod_page_size): if shim_handle.head is not None: vollog.debug( - f"Found valid shim handle @ {hex(shim_handle.vol.offset)}" + f"Found valid shim handle @ {shim_handle.vol.offset:#x}" ) shim_heads.append(shim_handle.head) if len(shim_heads) == 2: @@ -440,7 +440,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf vollog.debug("Failed to identify two valid SHIM_CACHE_HANDLE structures") return - # On Windows 8 x64, the frist cache contains the shim cache + # On Windows 8 x64, the first cache contains the shim cache. # On Windows 8 x86, 8.1 x86/x64, and 10, the second cache contains the shim cache. if ( not symbols.symbol_table_is_64bit(context, nt_symbol_table) From 03049f789559af5c4cdb56f343460178b52220f9 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 3 Jan 2025 18:40:52 +0000 Subject: [PATCH 1119/2186] Add missing exception handling in env var recovery. Prevent backtraces --- volatility3/framework/plugins/linux/envars.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index 8cdbfe493..04b75c8a8 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -5,7 +5,7 @@ import logging from typing import Iterable, Tuple -from volatility3.framework import renderers, interfaces +from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -58,10 +58,16 @@ class Envars(plugins.PluginInterface): Tuples of (key, value) representing each environment variable. """ - task_name = utility.array_to_string(task.comm) + # This ensures the `task` is valid as well as its + # memory mapping structures + try: + task_name = utility.array_to_string(task.comm) + env_start = task.mm.env_start + env_end = task.mm.env_end + except exceptions.InvalidAddressException: + return None + task_pid = task.pid - env_start = task.mm.env_start - env_end = task.mm.env_end env_area_size = env_end - env_start if not (0 < env_area_size <= env_area_max_size): vollog.debug( From 8ba60a2aaddf86e4cbd065c95d2553ce221db183 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 4 Jan 2025 16:49:02 +0000 Subject: [PATCH 1120/2186] Change add_process_layer to return None instead of throwing an exception as it was meant to be designed --- volatility3/framework/symbols/linux/extensions/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index b02f80433..df1c00e3d 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -324,9 +324,11 @@ class task_struct(generic.GenericIntelProcess): raise TypeError( "Parent layer is not a translation layer, unable to construct process layer" ) - dtb, layer_name = parent_layer.translate(pgd) - if not dtb: + try: + dtb, layer_name = parent_layer.translate(pgd) + except exceptions.InvalidAddressException: return None + if preferred_name is None: preferred_name = self.vol.layer_name + f"_Process{self.pid}" # Add the constructed layer and return the name From 5f1d318c715311ed12d67bde5a87a8a78e0d3bf0 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sun, 5 Jan 2025 13:39:00 +0000 Subject: [PATCH 1121/2186] Tiny comment changes --- volatility3/framework/plugins/windows/cmdscan.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index 9645ee507..3dc70d649 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -67,6 +67,7 @@ class CmdScan(interfaces.plugins.PluginInterface): Args: conhost_proc: the process object for conhost.exe + size_filter: filter (keep) vads less than this size (bytes) Returns: A list of tuples of: @@ -100,7 +101,7 @@ class CmdScan(interfaces.plugins.PluginInterface): kernel_symbol_table_name: The name of the table containing the kernel symbols config_path: The config path where to find symbol files procs: list of process objects - max_history: an initial set of CommandHistorySize values + max_history: An initial set of CommandHistorySize values Returns: The conhost process object, the command history structure, a dictionary of properties for @@ -227,7 +228,6 @@ class CmdScan(interfaces.plugins.PluginInterface): "data": command_history.CommandCountMax, } ) - command_history_properties.append( { "level": 1, @@ -236,6 +236,7 @@ class CmdScan(interfaces.plugins.PluginInterface): "data": "", } ) + for ( cmd_index, bucket_cmd, @@ -352,7 +353,7 @@ class CmdScan(interfaces.plugins.PluginInterface): def _conhost_proc_filter(self, proc: interfaces.objects.ObjectInterface): """ - Used to filter to only conhost.exe processes + Used to filter only conhost.exe processes """ process_name = utility.array_to_string(proc.ImageFileName) From ab60add9933ee3863c3f2329d2c99af314b5b453 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sun, 5 Jan 2025 17:14:21 +0000 Subject: [PATCH 1122/2186] Update case insensitive check Update link and use casefold() instead of lower(). --- volatility3/framework/layers/registry.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index c684ccd40..6d85da982 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -192,9 +192,9 @@ class RegistryHive(linear.LinearlyMappedLayer): while key_array and node_key: subkeys = node_key[-1].get_subkeys() for subkey in subkeys: - # registry keys are not case sensitive so compare lowercase - # https://msdn.microsoft.com/en-us/library/windows/desktop/ms724946(v=vs.85).aspx - if subkey.get_name().lower() == key_array[0].lower(): + # registry keys are not case sensitive so compare likewise + # https://learn.microsoft.com/en-gb/windows/win32/sysinfo/structure-of-the-registry + if subkey.get_name().casefold() == key_array[0].casefold(): node_key = node_key + [subkey] found_key, key_array = found_key + [key_array[0]], key_array[1:] break From 8f4f576e93a7594666f0e58f8ae73cce5538902c Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sun, 5 Jan 2025 21:09:15 +0000 Subject: [PATCH 1123/2186] Update case insensitive check Update link and use casefold() instead of lower(). --- volatility3/framework/layers/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index 6d85da982..21e1a938e 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -193,7 +193,7 @@ class RegistryHive(linear.LinearlyMappedLayer): subkeys = node_key[-1].get_subkeys() for subkey in subkeys: # registry keys are not case sensitive so compare likewise - # https://learn.microsoft.com/en-gb/windows/win32/sysinfo/structure-of-the-registry + # https://learn.microsoft.com/en-us/windows/win32/sysinfo/structure-of-the-registry if subkey.get_name().casefold() == key_array[0].casefold(): node_key = node_key + [subkey] found_key, key_array = found_key + [key_array[0]], key_array[1:] From 94ec7d89c09b2a276e79fc4c7561828340d5712a Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sun, 5 Jan 2025 21:55:58 +0000 Subject: [PATCH 1124/2186] Tiny comment changes --- volatility3/framework/plugins/windows/cmdscan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index 3dc70d649..0cd0addb2 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -67,7 +67,7 @@ class CmdScan(interfaces.plugins.PluginInterface): Args: conhost_proc: the process object for conhost.exe - size_filter: filter (keep) vads less than this size (bytes) + size_filter: size above which vads will not be returned Returns: A list of tuples of: @@ -100,7 +100,7 @@ class CmdScan(interfaces.plugins.PluginInterface): kernel_layer_name: The name of the layer on which to operate kernel_symbol_table_name: The name of the table containing the kernel symbols config_path: The config path where to find symbol files - procs: list of process objects + procs: List of process objects max_history: An initial set of CommandHistorySize values Returns: From a7b4e2fb45bef981eb54c44a5e0cef87b879058f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 6 Jan 2025 00:02:15 +0100 Subject: [PATCH 1125/2186] version check_modules --- volatility3/framework/plugins/linux/check_modules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index 9b3594c5e..0ed638d9c 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -18,6 +18,7 @@ vollog = logging.getLogger(__name__) class Check_modules(plugins.PluginInterface): """Compares module list to sysfs info, if available""" + _version = (1, 0, 0) _required_framework_version = (2, 0, 0) @classmethod From 2d262e7acf5c9aabb32240c01cd57890b7d57647 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 6 Jan 2025 00:20:56 +0100 Subject: [PATCH 1126/2186] cut unnecessary intermediate LinuxUtilityInterface --- .../framework/symbols/linux/utilities/__init__.py | 11 ----------- .../framework/symbols/linux/utilities/tainting.py | 5 ++--- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/__init__.py b/volatility3/framework/symbols/linux/utilities/__init__.py index 4225d444b..e69de29bb 100644 --- a/volatility3/framework/symbols/linux/utilities/__init__.py +++ b/volatility3/framework/symbols/linux/utilities/__init__.py @@ -1,11 +0,0 @@ -from volatility3 import framework -from volatility3.framework import interfaces - - -class LinuxUtilityInterface(interfaces.configuration.VersionableInterface): - """Class with multiple useful Linux functions surrounding a specific piece of functionality.""" - - _version = (2, 1, 1) - _required_framework_version = (2, 0, 0) - - framework.require_interface_version(*_required_framework_version) diff --git a/volatility3/framework/symbols/linux/utilities/tainting.py b/volatility3/framework/symbols/linux/utilities/tainting.py index fc2f94109..29d7d2b5b 100644 --- a/volatility3/framework/symbols/linux/utilities/tainting.py +++ b/volatility3/framework/symbols/linux/utilities/tainting.py @@ -1,11 +1,10 @@ from volatility3 import framework from volatility3.framework import interfaces -from volatility3.framework.symbols.linux.utilities import LinuxUtilityInterface from volatility3.framework.constants import linux as linux_constants from typing import List, Optional -class Tainting(LinuxUtilityInterface): +class Tainting(interfaces.configuration.VersionableInterface): """Tainted kernel and modules parsing capabilities. Relevant Linux kernel functions: @@ -14,7 +13,7 @@ class Tainting(LinuxUtilityInterface): """ _version = (1, 0, 0) - _required_framework_version = (2, 16, 0) + _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) From 5c70356c27aedc931c03a8e633952b126ef5254b Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 6 Jan 2025 00:23:16 +0100 Subject: [PATCH 1127/2186] version check_modules requirement --- volatility3/framework/plugins/linux/modxview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index 042930740..b44f84c7d 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -38,7 +38,7 @@ class Modxview(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="check_modules", plugin=check_modules.Check_modules, - version=(0, 0, 0), + version=(1, 0, 0), ), requirements.PluginRequirement( name="hidden_modules", From 302f9fdf5ba1c24d07d2fce3d0f7c87c3e6bd1f2 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 6 Jan 2025 00:24:18 +0100 Subject: [PATCH 1128/2186] cut unnecessary plugin runner functions --- .../framework/plugins/linux/modxview.py | 78 ++++++------------- 1 file changed, 25 insertions(+), 53 deletions(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index b44f84c7d..a247bc2cc 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -53,54 +53,6 @@ class Modxview(interfaces.plugins.PluginInterface): ), ] - @classmethod - def run_lsmod( - cls, context: interfaces.context.ContextInterface, kernel_name: str - ) -> List[extensions.module]: - """Wrapper for the lsmod plugin.""" - return list(lsmod.Lsmod.list_modules(context, kernel_name)) - - @classmethod - def run_check_modules( - cls, - context: interfaces.context.ContextInterface, - kernel_name: str, - ) -> List[extensions.module]: - """Wrapper for the check_modules plugin. - Here, we extract the /sys/module/ list.""" - kernel = context.modules[kernel_name] - sysfs_modules: dict = check_modules.Check_modules.get_kset_modules( - context, kernel_name - ) - - # Convert get_kset_modules() offsets back to module objects - return [ - kernel.object(object_type="module", offset=m_offset, absolute=True) - for m_offset in sysfs_modules.values() - ] - - @classmethod - def run_hidden_modules( - cls, - context: interfaces.context.ContextInterface, - kernel_name: str, - known_modules_addresses: Set[int], - ) -> List[extensions.module]: - """Wrapper for the hidden_modules plugin.""" - modules_memory_boundaries = ( - hidden_modules.Hidden_modules.get_modules_memory_boundaries( - context, kernel_name - ) - ) - return list( - hidden_modules.Hidden_modules.get_hidden_modules( - context, - kernel_name, - known_modules_addresses, - modules_memory_boundaries, - ) - ) - @classmethod def flatten_run_modules_results( cls, run_results: Dict[str, List[extensions.module]], deduplicate: bool = True @@ -140,15 +92,35 @@ class Modxview(interfaces.plugins.PluginInterface): kernel = context.modules[kernel_name] run_results = {} - run_results["lsmod"] = cls.run_lsmod(context, kernel_name) - run_results["check_modules"] = cls.run_check_modules(context, kernel_name) + # lsmod + run_results["lsmod"] = list(lsmod.Lsmod.list_modules(context, kernel_name)) + # check_modules + sysfs_modules: dict = check_modules.Check_modules.get_kset_modules( + context, kernel_name + ) + ## Convert get_kset_modules() offsets back to module objects + run_results["check_modules"] = [ + kernel.object(object_type="module", offset=m_offset, absolute=True) + for m_offset in sysfs_modules.values() + ] + # hidden_modules if run_hidden_modules: - known_module_addresses = set( + known_modules_addresses = set( context.layers[kernel.layer_name].canonicalize(module.vol.offset) for module in run_results["lsmod"] + run_results["check_modules"] ) - run_results["hidden_modules"] = cls.run_hidden_modules( - context, kernel_name, known_module_addresses + modules_memory_boundaries = ( + hidden_modules.Hidden_modules.get_modules_memory_boundaries( + context, kernel_name + ) + ) + run_results["hidden_modules"] = list( + hidden_modules.Hidden_modules.get_hidden_modules( + context, + kernel_name, + known_modules_addresses, + modules_memory_boundaries, + ) ) return run_results From 4115c26e7cc119a68aa33fff7f5b8a730b5b2c69 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 6 Jan 2025 00:24:44 +0100 Subject: [PATCH 1129/2186] bump framework req to 2.18.0 --- volatility3/framework/plugins/linux/modxview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index a247bc2cc..34f5bac8f 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -19,7 +19,7 @@ class Modxview(interfaces.plugins.PluginInterface): spot modules presence and taints.""" _version = (1, 0, 0) - _required_framework_version = (2, 16, 0) + _required_framework_version = (2, 18, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From bd82f4f33d860cb067e379600da5bbc74f9e2247 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 6 Jan 2025 00:25:07 +0100 Subject: [PATCH 1130/2186] 2.16.0 -> 2.18.0 bump --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 24f96fa89..832b2a5ba 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 16 # Number of changes that only add to the interface +VERSION_MINOR = 18 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" From d956742db98610dfa94678ffb98d53c5b6bcd161 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 6 Jan 2025 00:31:39 +0100 Subject: [PATCH 1131/2186] remove typing.Set import --- volatility3/framework/plugins/linux/modxview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index 34f5bac8f..3655200e8 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import List, Dict, Set, Iterator +from typing import List, Dict, Iterator from volatility3.plugins.linux import lsmod, check_modules, hidden_modules from volatility3.framework import interfaces from volatility3.framework.configuration import requirements From b5bc54cfaed91f4d615790305c80ce802658dafe Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 7 Jan 2025 15:18:34 +0000 Subject: [PATCH 1132/2186] Use in-place subtraction Also tweak comments. --- volatility3/framework/renderers/conversion.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/renderers/conversion.py b/volatility3/framework/renderers/conversion.py index e48684b31..f848b2dad 100644 --- a/volatility3/framework/renderers/conversion.py +++ b/volatility3/framework/renderers/conversion.py @@ -18,7 +18,7 @@ def wintime_to_datetime( unix_time = wintime // 10000000 if unix_time == 0: return renderers.NotApplicableValue() - unix_time = unix_time - 11644473600 + unix_time -= 11644473600 try: return datetime.datetime.fromtimestamp(unix_time, datetime.timezone.utc) # Windows sometimes throws OSErrors rather than ValueError/OverflowError when it can't convert a value @@ -71,7 +71,7 @@ def round(addr: int, align: int, up: bool = False) -> int: Args: addr: the address align: the alignment value - up: Whether to round up or not + up: whether to round up or not Returns: The aligned address @@ -122,11 +122,12 @@ def convert_port(port_as_integer): def convert_network_four_tuple(family, four_tuple): - """Converts the connection four_tuple: (source ip, source port, dest ip, - dest port) + """Converts the connection four_tuple: + + (source ip, source port, dest ip, dest port) into their string equivalents. IP addresses are expected as a tuple - of unsigned shorts Ports are converted to proper endianness as well + of unsigned shorts. Ports are converted to proper endianness as well. """ if family == socket.AF_INET: From 43ac6c4d6271c928d9bcdaf6407e01e1c96d7cf9 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 7 Jan 2025 10:24:46 -0600 Subject: [PATCH 1133/2186] Fix copy-pasted module docstrings This updates the module docstrings for 5 modules that duplicate the docstring from the `proc` module. This was presumably the result of using the `proc` module as a template for the others. --- volatility3/framework/plugins/linux/bash.py | 4 ++-- volatility3/framework/plugins/linux/check_afinfo.py | 4 ++-- volatility3/framework/plugins/linux/check_syscall.py | 3 +-- volatility3/framework/plugins/linux/elfs.py | 4 ++-- volatility3/framework/plugins/linux/lsmod.py | 3 +-- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/linux/bash.py b/volatility3/framework/plugins/linux/bash.py index 056e3cd51..8acfeb848 100644 --- a/volatility3/framework/plugins/linux/bash.py +++ b/volatility3/framework/plugins/linux/bash.py @@ -1,8 +1,8 @@ # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -"""A module containing a collection of plugins that produce data typically -found in Linux's /proc file system.""" +"""A module containing a plugin that recovers bash command history +from bash process memory.""" import datetime import struct diff --git a/volatility3/framework/plugins/linux/check_afinfo.py b/volatility3/framework/plugins/linux/check_afinfo.py index 201a443f7..7aa3cbdd2 100644 --- a/volatility3/framework/plugins/linux/check_afinfo.py +++ b/volatility3/framework/plugins/linux/check_afinfo.py @@ -1,8 +1,8 @@ # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -"""A module containing a collection of plugins that produce data typically -found in Linux's /proc file system.""" +"""A module containing a plugin that verifies the operation function +pointers of network protocols.""" import logging from typing import List diff --git a/volatility3/framework/plugins/linux/check_syscall.py b/volatility3/framework/plugins/linux/check_syscall.py index 3537a9fa1..13d312f2f 100644 --- a/volatility3/framework/plugins/linux/check_syscall.py +++ b/volatility3/framework/plugins/linux/check_syscall.py @@ -1,8 +1,7 @@ # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -"""A module containing a collection of plugins that produce data typically -found in Linux's /proc file system.""" +"""A module containing a plugin that checks the system call table for hooks.""" import contextlib import logging from typing import List diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index 2fd740941..0d1c9c2dd 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -1,8 +1,8 @@ # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -"""A module containing a collection of plugins that produce data typically -found in Linux's /proc file system.""" +"""A module containing a plugin for enumerating memory-mapped +ELF files across all processes.""" import logging from typing import List, Optional, Type diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index 49e990e93..e9a2a7137 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -1,8 +1,7 @@ # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -"""A module containing a collection of plugins that produce data typically -found in Linux's /proc file system.""" +"""A module containing a plugin that lists loaded kernel modules.""" import logging from typing import List, Iterable From 32cb6e11f6abe86ce5284e1a618bae9ab1cd4a5f Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 7 Jan 2025 19:41:02 +0000 Subject: [PATCH 1134/2186] Change one letter of a typo --- volatility3/framework/plugins/windows/driverscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/driverscan.py b/volatility3/framework/plugins/windows/driverscan.py index 24d81c3d5..d388ffbb7 100644 --- a/volatility3/framework/plugins/windows/driverscan.py +++ b/volatility3/framework/plugins/windows/driverscan.py @@ -64,7 +64,7 @@ class DriverScan(interfaces.plugins.PluginInterface): names associated with a driver Args: - driver: A Eriver object + driver: A Driver object Returns: A tuple of strings of (driver name, service key, driver alt. name) From 0860441c2fc5a5a97902a7582473d8462c457bc3 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 9 Jan 2025 17:11:02 +0000 Subject: [PATCH 1135/2186] Core: Improve speed to JSONSchema validation --- pyproject.toml | 3 +-- volatility3/framework/plugins/isfinfo.py | 2 +- volatility3/schemas/__init__.py | 16 +++++++++++++--- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 86e3921d2..af22cbe0a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,10 +33,9 @@ cloud = [ dev = [ "volatility3[full,cloud]", - "jsonschema>=4.23.0,<5", + "fastjsonschema>=2.21.1,<3", "pyinstaller>=6.11.0,<7", "pyinstaller-hooks-contrib>=2024.9", - "types-jsonschema>=4.23.0,<5", ] test = [ diff --git a/volatility3/framework/plugins/isfinfo.py b/volatility3/framework/plugins/isfinfo.py index 1c2ac52e9..34b0a5653 100644 --- a/volatility3/framework/plugins/isfinfo.py +++ b/volatility3/framework/plugins/isfinfo.py @@ -97,7 +97,7 @@ class IsfInfo(plugins.PluginInterface): if filter_item in isf_file: filtered_list.append(isf_file) - if find_spec("jsonschema") and self.config["validate"]: + if find_spec("fastjsonschema") and self.config["validate"]: def check_valid(data): return "True" if schemas.validate(data, True) else "False" diff --git a/volatility3/schemas/__init__.py b/volatility3/schemas/__init__.py index 90cfaba48..3964e29a6 100644 --- a/volatility3/schemas/__init__.py +++ b/volatility3/schemas/__init__.py @@ -14,6 +14,8 @@ vollog = logging.getLogger(__name__) cached_validation_filepath = os.path.join(constants.CACHE_PATH, "valid_isf.hashcache") +validators = {} + def load_cached_validations() -> Set[str]: """Loads up the list of successfully cached json objects, so we don't need @@ -92,7 +94,12 @@ def valid( if input_hash in cached_validations and use_cache: return True try: - import jsonschema + import fastjsonschema + + schema_key = json.dumps(schema, sort_keys=True) + if schema_key not in validators: + validator = fastjsonschema.compile(schema) + validators[schema_key] = validator except ImportError: vollog.info("Dependency for validation unavailable: jsonschema") vollog.debug("All validations will report success, even with malformed input") @@ -100,10 +107,13 @@ def valid( try: vollog.debug("Validating JSON against schema...") - jsonschema.validate(input, schema) + validators[schema_key](input) + import pdb + + pdb.set_trace() cached_validations.add(input_hash) vollog.debug("JSON validated against schema (result cached)") - except jsonschema.exceptions.SchemaError: + except fastjsonschema.JsonSchemaValueException: vollog.debug("Schema validation error", exc_info=True) return False From e676e6179a3cd9c8d6afb838560d7a9e4d3a5420 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 9 Jan 2025 18:08:22 +0000 Subject: [PATCH 1136/2186] Swap fastjsonschema for jsonschema because of date-time validation issues --- volatility3/schemas/__init__.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/volatility3/schemas/__init__.py b/volatility3/schemas/__init__.py index 3964e29a6..b94e0831d 100644 --- a/volatility3/schemas/__init__.py +++ b/volatility3/schemas/__init__.py @@ -94,11 +94,13 @@ def valid( if input_hash in cached_validations and use_cache: return True try: - import fastjsonschema + import jsonschema schema_key = json.dumps(schema, sort_keys=True) if schema_key not in validators: - validator = fastjsonschema.compile(schema) + validator_class = jsonschema.validators.validator_for(schema) + validator_class.check_schema(schema) + validator = validator_class(schema) validators[schema_key] = validator except ImportError: vollog.info("Dependency for validation unavailable: jsonschema") @@ -107,10 +109,7 @@ def valid( try: vollog.debug("Validating JSON against schema...") - validators[schema_key](input) - import pdb - - pdb.set_trace() + validators[schema_key].validate(input) cached_validations.add(input_hash) vollog.debug("JSON validated against schema (result cached)") except fastjsonschema.JsonSchemaValueException: From 21decf13708d882369cc1f8fa2884f5a8ae5494d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 9 Jan 2025 18:12:36 +0000 Subject: [PATCH 1137/2186] Core: Put the dependencies back for jsonschema --- pyproject.toml | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index af22cbe0a..fbdbf0a8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,15 @@ [project] name = "volatility3" description = "Memory forensics framework" -keywords = ["volatility", "memory", "forensics", "framework", "windows", "linux", "volshell"] +keywords = [ + "volatility", + "memory", + "forensics", + "framework", + "windows", + "linux", + "volshell", +] readme = "README.md" authors = [ { name = "Volatility Foundation", email = "volatility@volatilityfoundation.org" }, @@ -10,9 +18,7 @@ requires-python = ">=3.8.0" license = { text = "VSL" } dynamic = ["version"] -dependencies = [ - "pefile>=2024.8.26", -] +dependencies = ["pefile>=2024.8.26"] [project.optional-dependencies] full = [ @@ -26,16 +32,14 @@ full = [ "pillow>=10.0.0,<11.0.0", ] -cloud = [ - "gcsfs>=2024.10.0", - "s3fs>=2024.10.0", -] +cloud = ["gcsfs>=2024.10.0", "s3fs>=2024.10.0"] dev = [ "volatility3[full,cloud]", - "fastjsonschema>=2.21.1,<3", + "jsonschema>=4.23.0,<5", "pyinstaller>=6.11.0,<7", "pyinstaller-hooks-contrib>=2024.9", + "types-jsonschema>=4.23.0,<5", ] test = [ @@ -78,16 +82,16 @@ target-version = "py38" [tool.ruff.lint] select = [ - "F", # pyflakes - "E", # pycodestyle errors - "W", # pycodestyle warnings - "G", # flake8-logging-format - "PIE", # flake8-pie - "UP", # pyupgrade + "F", # pyflakes + "E", # pycodestyle errors + "W", # pycodestyle warnings + "G", # flake8-logging-format + "PIE", # flake8-pie + "UP", # pyupgrade ] ignore = [ - "E501", # ignore due to conflict with formatter + "E501", # ignore due to conflict with formatter ] [build-system] From d07d31047b2ed49a570aa4b3698f6a64145c2d83 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 9 Jan 2025 18:24:48 +0000 Subject: [PATCH 1138/2186] Core: Revert the exception catching too --- volatility3/schemas/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/schemas/__init__.py b/volatility3/schemas/__init__.py index b94e0831d..e894def9f 100644 --- a/volatility3/schemas/__init__.py +++ b/volatility3/schemas/__init__.py @@ -112,7 +112,7 @@ def valid( validators[schema_key].validate(input) cached_validations.add(input_hash) vollog.debug("JSON validated against schema (result cached)") - except fastjsonschema.JsonSchemaValueException: + except jsonschema.exceptions.SchemaError: vollog.debug("Schema validation error", exc_info=True) return False From 585901105275a015a3c4326e486f4e2a52d8eb12 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 10 Jan 2025 12:35:04 +0100 Subject: [PATCH 1139/2186] introduce customizable plugin arparse epilog --- volatility3/cli/__init__.py | 3 +++ volatility3/framework/interfaces/plugins.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 6172a17f3..87caaece6 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -368,6 +368,9 @@ class CommandLine: help=plugin_list[plugin].__doc__, description=plugin_list[plugin].__doc__, ) + epilog = getattr(plugin_list[plugin], "_argparse_epilog", None) + if epilog is not None: + plugin_parser.epilog = epilog self.populate_requirements_argparse(plugin_parser, plugin_list[plugin]) ### diff --git a/volatility3/framework/interfaces/plugins.py b/volatility3/framework/interfaces/plugins.py index f763815a6..6cd72f02e 100644 --- a/volatility3/framework/interfaces/plugins.py +++ b/volatility3/framework/interfaces/plugins.py @@ -112,6 +112,8 @@ class PluginInterface( # Be careful with inheritance around this (We default to requiring a version which doesn't exist, so it must be set) _required_framework_version: Tuple[int, int, int] = (0, 0, 0) """The _version variable is a quick way for plugins to define their current interface, it should follow SemVer rules""" + _argparse_epilog: str = None + """Display additional description of the plugin after the description of the arguments. See: https://docs.python.org/3/library/argparse.html#epilog""" def __init__( self, From 530617a700e259f69d53f62f08ccc3382bcdd057 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Fri, 10 Jan 2025 11:52:54 +0000 Subject: [PATCH 1140/2186] Small readability improvements --- volatility3/framework/automagic/mac.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/automagic/mac.py b/volatility3/framework/automagic/mac.py index f3679d160..a883028d2 100644 --- a/volatility3/framework/automagic/mac.py +++ b/volatility3/framework/automagic/mac.py @@ -101,7 +101,7 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): except exceptions.InvalidAddressException: vollog.log( constants.LOGLEVEL_VVVV, - f"Skipping invalid idlepml4_ptr: 0x{idlepml4_ptr:0x}", + f"Skipping invalid idlepml4_ptr: {idlepml4_ptr:#x}", ) continue @@ -112,7 +112,7 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): if tmp_dtb % 4096: vollog.log( constants.LOGLEVEL_VVV, - f"Skipping non-page aligned DTB: 0x{tmp_dtb:0x}", + f"Skipping non-page aligned DTB: {tmp_dtb:#x}", ) continue @@ -136,7 +136,7 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): new_layer.config["kernel_virtual_offset"] = kaslr_shift if new_layer and dtb: - vollog.debug(f"DTB was found at: 0x{dtb:0x}") + vollog.debug(f"DTB was found at: {dtb:#x}") return new_layer vollog.debug("No suitable mac banner could be matched") return None @@ -182,7 +182,7 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): aslr_shift = 0 for offset, banner in offset_generator: - banner_major, banner_minor = (int(x) for x in banner[22:].split(b".")[0:2]) + banner_major, banner_minor = (int(x) for x in banner[22:].split(b".")[:2]) tmp_aslr_shift = offset - cls.virtual_to_physical_address( version_json_address @@ -208,7 +208,6 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): continue aslr_shift = tmp_aslr_shift & 0xFFFFFFFF - break vollog.log(constants.LOGLEVEL_VVVV, f"Mac find_aslr returned: {aslr_shift:0x}") @@ -219,9 +218,9 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): """Converts a virtual mac address to a physical one (does not account of ASLR)""" if addr > 0xFFFFFF8000000000: - addr = addr - 0xFFFFFF8000000000 + addr -= 0xFFFFFF8000000000 else: - addr = addr - 0xFF8000000000 + addr -= 0xFF8000000000 return addr From a7661d45e78b10bc736946425055755c9627d111 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 10 Jan 2025 09:21:21 -0600 Subject: [PATCH 1141/2186] Windows: Certificates - handle uncaught RegistryFormatException Changes variable import to module import, and catches an unhandled `RegistryFormatException` in certificates.py --- .../plugins/windows/registry/certificates.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/volatility3/plugins/windows/registry/certificates.py b/volatility3/plugins/windows/registry/certificates.py index 8587b3719..a83badb90 100644 --- a/volatility3/plugins/windows/registry/certificates.py +++ b/volatility3/plugins/windows/registry/certificates.py @@ -1,11 +1,11 @@ import contextlib import logging import struct -from typing import List, Iterator, Optional, Tuple, Type +from typing import Iterator, List, Optional, Tuple, Type from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.configuration import requirements -from volatility3.framework.symbols.windows.extensions.registry import RegValueTypes +from volatility3.framework.symbols.windows.extensions import registry from volatility3.plugins.windows.registry import hivelist, printkey vollog = logging.getLogger(__name__) @@ -81,7 +81,11 @@ class Certificates(interfaces.plugins.PluginInterface): "Microsoft\\SystemCertificates", "Software\\Microsoft\\SystemCertificates", ]: - with contextlib.suppress(KeyError, exceptions.InvalidAddressException): + with contextlib.suppress( + KeyError, + registry.RegistryFormatException, + exceptions.InvalidAddressException, + ): # Walk it node_path = hive.get_key(top_key, return_list=True) for ( @@ -92,7 +96,11 @@ class Certificates(interfaces.plugins.PluginInterface): _volatility, node, ) in printkey.PrintKey.key_iterator(hive, node_path, recurse=True): - if not is_key and RegValueTypes(node.Type).name == "REG_BINARY": + if ( + not is_key + and registry.RegValueTypes(node.Type) + == registry.RegValueTypes.REG_BINARY + ): name, certificate_data = self.parse_data(node.decode_data()) unique_key_offset = ( key_path.casefold().index(top_key.casefold()) From 96eca6e0162a77699c2befcce6df16f7deac4d23 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 10 Jan 2025 19:38:07 +0100 Subject: [PATCH 1142/2186] more compact _argparse_epilog --- volatility3/cli/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 87caaece6..37923362a 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -368,9 +368,9 @@ class CommandLine: help=plugin_list[plugin].__doc__, description=plugin_list[plugin].__doc__, ) - epilog = getattr(plugin_list[plugin], "_argparse_epilog", None) - if epilog is not None: - plugin_parser.epilog = epilog + plugin_parser.epilog = getattr( + plugin_list[plugin], "_argparse_epilog", None + ) self.populate_requirements_argparse(plugin_parser, plugin_list[plugin]) ### From 615d1d5a2e85dcd2f9d65493690a474c15f691cd Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 10 Jan 2025 19:49:25 +0100 Subject: [PATCH 1143/2186] more compact _argparse_epilog --- volatility3/cli/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 37923362a..fde4fcc6d 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -367,9 +367,7 @@ class CommandLine: plugin, help=plugin_list[plugin].__doc__, description=plugin_list[plugin].__doc__, - ) - plugin_parser.epilog = getattr( - plugin_list[plugin], "_argparse_epilog", None + epilog=getattr(plugin_list[plugin], "_argparse_epilog", None), ) self.populate_requirements_argparse(plugin_parser, plugin_list[plugin]) From a26ff8fa6e6ba03a6ea3ebe6c5f3b38b3a4d8851 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Fri, 10 Jan 2025 19:03:51 +0000 Subject: [PATCH 1144/2186] Small readability improvements --- volatility3/framework/automagic/mac.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/automagic/mac.py b/volatility3/framework/automagic/mac.py index a883028d2..3b16eb353 100644 --- a/volatility3/framework/automagic/mac.py +++ b/volatility3/framework/automagic/mac.py @@ -184,12 +184,12 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): for offset, banner in offset_generator: banner_major, banner_minor = (int(x) for x in banner[22:].split(b".")[:2]) - tmp_aslr_shift = offset - cls.virtual_to_physical_address( + aslr_shift = offset - cls.virtual_to_physical_address( version_json_address ) major_string = context.layers[layer_name].read( - version_major_phys_offset + tmp_aslr_shift, 4 + version_major_phys_offset + aslr_shift, 4 ) major = struct.unpack(" Date: Fri, 10 Jan 2025 19:08:56 +0000 Subject: [PATCH 1145/2186] Small readability improvements --- volatility3/framework/automagic/mac.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volatility3/framework/automagic/mac.py b/volatility3/framework/automagic/mac.py index 3b16eb353..94c259463 100644 --- a/volatility3/framework/automagic/mac.py +++ b/volatility3/framework/automagic/mac.py @@ -184,9 +184,7 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): for offset, banner in offset_generator: banner_major, banner_minor = (int(x) for x in banner[22:].split(b".")[:2]) - aslr_shift = offset - cls.virtual_to_physical_address( - version_json_address - ) + aslr_shift = offset - cls.virtual_to_physical_address(version_json_address) major_string = context.layers[layer_name].read( version_major_phys_offset + aslr_shift, 4 From 1cf0232d25fa6dffa21ae3c281e1f568bbb280ab Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 10 Jan 2025 21:19:31 +0100 Subject: [PATCH 1146/2186] less specific argparse epilog reference --- volatility3/cli/__init__.py | 2 +- volatility3/framework/interfaces/plugins.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index fde4fcc6d..82a2a4205 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -367,7 +367,7 @@ class CommandLine: plugin, help=plugin_list[plugin].__doc__, description=plugin_list[plugin].__doc__, - epilog=getattr(plugin_list[plugin], "_argparse_epilog", None), + epilog=plugin_list[plugin].additional_description, ) self.populate_requirements_argparse(plugin_parser, plugin_list[plugin]) diff --git a/volatility3/framework/interfaces/plugins.py b/volatility3/framework/interfaces/plugins.py index 6cd72f02e..7ad78d0ba 100644 --- a/volatility3/framework/interfaces/plugins.py +++ b/volatility3/framework/interfaces/plugins.py @@ -112,7 +112,7 @@ class PluginInterface( # Be careful with inheritance around this (We default to requiring a version which doesn't exist, so it must be set) _required_framework_version: Tuple[int, int, int] = (0, 0, 0) """The _version variable is a quick way for plugins to define their current interface, it should follow SemVer rules""" - _argparse_epilog: str = None + additional_description: str = None """Display additional description of the plugin after the description of the arguments. See: https://docs.python.org/3/library/argparse.html#epilog""" def __init__( From 7913fb2bb0aac4cc390ce6e42ad6621115f0ae7c Mon Sep 17 00:00:00 2001 From: ikelos Date: Fri, 10 Jan 2025 21:07:08 +0000 Subject: [PATCH 1147/2186] Revert "Small readability improvements" --- volatility3/framework/automagic/mac.py | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/automagic/mac.py b/volatility3/framework/automagic/mac.py index 94c259463..f3679d160 100644 --- a/volatility3/framework/automagic/mac.py +++ b/volatility3/framework/automagic/mac.py @@ -101,7 +101,7 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): except exceptions.InvalidAddressException: vollog.log( constants.LOGLEVEL_VVVV, - f"Skipping invalid idlepml4_ptr: {idlepml4_ptr:#x}", + f"Skipping invalid idlepml4_ptr: 0x{idlepml4_ptr:0x}", ) continue @@ -112,7 +112,7 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): if tmp_dtb % 4096: vollog.log( constants.LOGLEVEL_VVV, - f"Skipping non-page aligned DTB: {tmp_dtb:#x}", + f"Skipping non-page aligned DTB: 0x{tmp_dtb:0x}", ) continue @@ -136,7 +136,7 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): new_layer.config["kernel_virtual_offset"] = kaslr_shift if new_layer and dtb: - vollog.debug(f"DTB was found at: {dtb:#x}") + vollog.debug(f"DTB was found at: 0x{dtb:0x}") return new_layer vollog.debug("No suitable mac banner could be matched") return None @@ -182,12 +182,14 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface): aslr_shift = 0 for offset, banner in offset_generator: - banner_major, banner_minor = (int(x) for x in banner[22:].split(b".")[:2]) + banner_major, banner_minor = (int(x) for x in banner[22:].split(b".")[0:2]) - aslr_shift = offset - cls.virtual_to_physical_address(version_json_address) + tmp_aslr_shift = offset - cls.virtual_to_physical_address( + version_json_address + ) major_string = context.layers[layer_name].read( - version_major_phys_offset + aslr_shift, 4 + version_major_phys_offset + tmp_aslr_shift, 4 ) major = struct.unpack(" 0xFFFFFF8000000000: - addr -= 0xFFFFFF8000000000 + addr = addr - 0xFFFFFF8000000000 else: - addr -= 0xFF8000000000 + addr = addr - 0xFF8000000000 return addr From 884237534142ec10ba6e7386eedc06ef30d277d0 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 10 Jan 2025 23:28:02 +0100 Subject: [PATCH 1148/2186] 2.15.0 -> 2.16.0 bump --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 2f0c53093..24f96fa89 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 15 # Number of changes that only add to the interface +VERSION_MINOR = 16 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" From 0e4e7518447837b9c7f0f30203155b3a3fee0c3a Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 11 Jan 2025 14:05:36 +0100 Subject: [PATCH 1149/2186] stateless classmethods --- .../symbols/linux/utilities/tainting.py | 67 +++++++++++++------ 1 file changed, 45 insertions(+), 22 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/tainting.py b/volatility3/framework/symbols/linux/utilities/tainting.py index 29d7d2b5b..552f51b98 100644 --- a/volatility3/framework/symbols/linux/utilities/tainting.py +++ b/volatility3/framework/symbols/linux/utilities/tainting.py @@ -17,26 +17,22 @@ class Tainting(interfaces.configuration.VersionableInterface): framework.require_interface_version(*_required_framework_version) - def __init__( - self, + @classmethod + def _get_kernel_taint_flags_list( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str, - *args, - **kwargs, - ): - super().__init__(*args, **kwargs) - self._kernel = context.modules[kernel_module_name] - - @property - def _kernel_taint_flags_list( - self, ) -> Optional[List[interfaces.objects.ObjectInterface]]: - if self._kernel.has_symbol("taint_flags"): - return list(self._kernel.object_from_symbol("taint_flags")) + kernel = context.modules[kernel_module_name] + if kernel.has_symbol("taint_flags"): + return list(kernel.object_from_symbol("taint_flags")) return None + @classmethod def _module_flags_taint_pre_4_10_rc1( - self, taints: int, is_module: bool = False + cls, + taints: int, + is_module: bool = False, ) -> str: """Convert the module's taints value to a 1-1 character mapping. Relies on statically defined taints mappings in the framework. @@ -58,8 +54,13 @@ class Tainting(interfaces.configuration.VersionableInterface): return taints_string + @classmethod def _module_flags_taint_post_4_10_rc1( - self, taints: int, is_module: bool = False + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + taints: int, + is_module: bool = False, ) -> str: """Convert the module's taints value to a 1-1 character mapping. Relies on kernel symbol embedded taints definitions. @@ -78,7 +79,9 @@ class Tainting(interfaces.configuration.VersionableInterface): The raw taints string. """ taints_string = "" - for taint_bit, taint_flag in enumerate(self._kernel_taint_flags_list): + for taint_bit, taint_flag in enumerate( + cls._get_kernel_taint_flags_list(context, kernel_module_name) + ): if is_module and not taint_flag.module: continue c_true = chr(taint_flag.c_true) @@ -90,7 +93,14 @@ class Tainting(interfaces.configuration.VersionableInterface): return taints_string - def get_taints_as_plain_string(self, taints: int, is_module: bool = False) -> str: + @classmethod + def get_taints_as_plain_string( + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + taints: int, + is_module: bool = False, + ) -> str: """Convert the taints value to a 1-1 character mapping. Args: @@ -103,11 +113,22 @@ class Tainting(interfaces.configuration.VersionableInterface): - module_flags_taint kernel function """ - if self._kernel_taint_flags_list: - return self._module_flags_taint_post_4_10_rc1(taints, is_module) - return self._module_flags_taint_pre_4_10_rc1(taints, is_module) + if cls._get_kernel_taint_flags_list(context, kernel_module_name): + return cls._module_flags_taint_post_4_10_rc1( + context, kernel_module_name, taints, is_module + ) + return cls._module_flags_taint_pre_4_10_rc1( + context, kernel_module_name, taints, is_module + ) - def get_taints_parsed(self, taints: int, is_module: bool = False) -> List[str]: + @classmethod + def get_taints_parsed( + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + taints: int, + is_module: bool = False, + ) -> List[str]: """Convert the taints string to a 1-1 descriptor mapping. Args: @@ -121,7 +142,9 @@ class Tainting(interfaces.configuration.VersionableInterface): - module_flags_taint kernel function """ comprehensive_taints = [] - for character in self.get_taints_as_plain_string(taints, is_module): + for character in cls.get_taints_as_plain_string( + context, kernel_module_name, taints, is_module + ): taint_flag = linux_constants.TAINT_FLAGS.get(character) if not taint_flag: comprehensive_taints.append(f"") From 6817d2c765fb5117a8ec6adb92cf343d37a92595 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 13 Jan 2025 16:00:50 +1100 Subject: [PATCH 1150/2186] linux: ensure process listing functions yield only valid tasks --- volatility3/framework/plugins/linux/pslist.py | 5 ++- .../symbols/linux/extensions/__init__.py | 32 +++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 37cf000fc..931acf29a 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -34,7 +34,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists the processes present in a particular linux memory image.""" _required_framework_version = (2, 13, 0) - _version = (4, 0, 0) + _version = (4, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -250,6 +250,9 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Note that the init_task itself is not yielded, since "ps" also never shows it. for task in init_task.tasks: + if not task.is_valid(): + continue + if filter_func(task): continue diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index df1c00e3d..a50b8ae09 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -307,6 +307,36 @@ class module(generic.GenericIntelProcess): class task_struct(generic.GenericIntelProcess): + def is_valid(self) -> bool: + layer = self._context.layers[self.vol.layer_name] + # Make sure the entire task content is readable + if not layer.is_valid(self.vol.offset, self.vol.size): + return False + + if self.pid < 0: + return False + + if not (self.signal and self.signal.is_readable()): + return False + + if not (self.nsproxy and self.nsproxy.is_readable()): + return False + + if not (self.real_parent and self.real_parent.is_readable()): + return False + + if self.active_mm and not self.active_mm.is_readable(): + return False + + if self.mm: + if not self.mm.is_readable(): + return False + + if self.mm != self.active_mm: + return False + + return True + def add_process_layer( self, config_prefix: Optional[str] = None, preferred_name: Optional[str] = None ) -> Optional[str]: @@ -401,6 +431,8 @@ class task_struct(generic.GenericIntelProcess): tasks_iterable = self._get_tasks_iterable() threads_seen = set([self.vol.offset]) for task in tasks_iterable: + if not task.is_valid(): + continue if task.vol.offset not in threads_seen: threads_seen.add(task.vol.offset) yield task From 093b12b7cdf4a1623a5d534309f0673c0311cc6b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 13 Jan 2025 16:52:45 +1100 Subject: [PATCH 1151/2186] Linux and Windows: Ensure linked list object extensions consistently yield valid entries --- .../symbols/linux/extensions/__init__.py | 42 ++++++++++------- .../symbols/windows/extensions/__init__.py | 47 +++++++++---------- 2 files changed, 48 insertions(+), 41 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index df1c00e3d..2065b3bb4 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1209,35 +1209,43 @@ class list_head(objects.StructType, collections.abc.Iterable): Objects of the type specified via the "symbol_type" argument. """ - layer = layer or self.vol.layer_name + layer_name = layer or self.vol.layer_name + + trans_layer = self._context.layers[layer_name] + if not trans_layer.is_valid(self.vol.offset): + return None relative_offset = self._context.symbol_space.get_type( symbol_type ).relative_child_offset(member) - direction = "prev" - if forward: - direction = "next" - try: - link = getattr(self, direction).dereference() - except exceptions.InvalidAddressException: + direction = "next" if forward else "prev" + + link_ptr = getattr(self, direction) + if not (link_ptr and link_ptr.is_readable()): return None + link = link_ptr.dereference() + if not sentinel: - yield self._context.object( - symbol_type, layer, offset=self.vol.offset - relative_offset - ) + obj_offset = self.vol.offset - relative_offset + if not trans_layer.is_valid(obj_offset): + return None + + yield self._context.object(symbol_type, layer_name, offset=obj_offset) + seen = {self.vol.offset} while link.vol.offset not in seen: - obj = self._context.object( - symbol_type, layer, offset=link.vol.offset - relative_offset - ) - yield obj + obj_offset = link.vol.offset - relative_offset + if not trans_layer.is_valid(obj_offset): + return None + + yield self._context.object(symbol_type, layer_name, offset=obj_offset) seen.add(link.vol.offset) - try: - link = getattr(link, direction).dereference() - except exceptions.InvalidAddressException: + link_ptr = getattr(link, direction) + if not (link_ptr and link_ptr.is_readable()): break + link = link_ptr.dereference() def __iter__(self) -> Iterator[interfaces.objects.ObjectInterface]: return self.to_list(self.vol.parent.vol.type_name, self.vol.member_name) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index f12fd3f5b..214002f49 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -962,56 +962,55 @@ class LIST_ENTRY(objects.StructType, collections.abc.Iterable): ) -> Iterator[interfaces.objects.ObjectInterface]: """Returns an iterator of the entries in the list.""" - layer = layer or self.vol.layer_name + layer_name = layer or self.vol.layer_name + native_layer_name = layer_name or self.vol.native_layer_name + + trans_layer = self._context.layers[layer_name] + if not trans_layer.is_valid(self.vol.offset): + return None relative_offset = self._context.symbol_space.get_type( symbol_type ).relative_child_offset(member) - direction = "Blink" - if forward: - direction = "Flink" + direction = "Flink" if forward else "Blink" - trans_layer = self._context.layers[layer] - - try: - is_valid = trans_layer.is_valid(self.vol.offset) - if not is_valid: - return None - - link = getattr(self, direction).dereference() - except exceptions.InvalidAddressException: + link_ptr = getattr(self, direction) + if not (link_ptr and link_ptr.is_readable()): return None + link = link_ptr.dereference() if not sentinel: + obj_offset = self.vol.offset - relative_offset + if not trans_layer.is_valid(obj_offset): + return None + yield self._context.object( symbol_type, - layer, - offset=self.vol.offset - relative_offset, - native_layer_name=layer or self.vol.native_layer_name, + layer_name, + offset=obj_offset, + native_layer_name=native_layer_name, ) seen = {self.vol.offset} while link.vol.offset not in seen: obj_offset = link.vol.offset - relative_offset - if not trans_layer.is_valid(obj_offset): return None - obj = self._context.object( + yield self._context.object( symbol_type, - layer, + layer_name, offset=obj_offset, - native_layer_name=layer or self.vol.native_layer_name, + native_layer_name=native_layer_name, ) - yield obj seen.add(link.vol.offset) - try: - link = getattr(link, direction).dereference() - except exceptions.InvalidAddressException: + link_ptr = getattr(link, direction) + if not (link_ptr and link_ptr.is_readable()): return None + link = link_ptr.dereference() def __iter__(self) -> Iterator[interfaces.objects.ObjectInterface]: return self.to_list(self.vol.parent.vol.type_name, self.vol.member_name) From 0d9715136cc9cc96637996b2bb027a76b8b5e87a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 13 Jan 2025 17:13:44 +1100 Subject: [PATCH 1152/2186] Linux: Ensure VMA enumration functions yield only valid objects consistently --- .../symbols/linux/extensions/__init__.py | 46 +++++++++++++------ 1 file changed, 32 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index df1c00e3d..61562270a 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -811,23 +811,30 @@ class mm_struct(objects.StructType): def _get_mmap_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """Returns an iterator for the mmap list member of an mm_struct. Use this only if required, get_vma_iter() will choose the correct _get_maple_tree_iter() or - _get_mmap_iter() automatically as required.""" + _get_mmap_iter() automatically as required. + + Yields: + vm_area_struct objects + """ if not self.has_member("mmap"): raise AttributeError( "_get_mmap_iter called on mm_struct where no mmap member exists." ) - if not self.mmap: + vma_pointer = self.mmap + if not (vma_pointer and vma_pointer.is_readable()): return None - yield self.mmap + vma_object = vma_pointer.dereference() + yield vma_object - seen = {self.mmap.vol.offset} - link = self.mmap.vm_next + seen = {vma_pointer} + vma_pointer = vma_pointer.vm_next - while link != 0 and link.vol.offset not in seen: - yield link - seen.add(link.vol.offset) - link = link.vm_next + while vma_pointer and vma_pointer.is_readable() and vma_pointer not in seen: + vma_object = vma_pointer.dereference() + yield vma_object + seen.add(vma_pointer) + vma_pointer = vma_pointer.vm_next # TODO: As of version 3.0.0 this method should be removed def get_maple_tree_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: @@ -842,7 +849,11 @@ class mm_struct(objects.StructType): def _get_maple_tree_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """Returns an iterator for the mm_mt member of an mm_struct. Use this only if required, get_vma_iter() will choose the correct _get_maple_tree_iter() or - get_mmap_iter() automatically as required.""" + get_mmap_iter() automatically as required. + + Yields: + vm_area_struct objects + """ if not self.has_member("mm_mt"): raise AttributeError( @@ -850,20 +861,27 @@ class mm_struct(objects.StructType): ) symbol_table_name = self.get_symbol_table_name() for vma_pointer in self.mm_mt.get_slot_iter(): - # convert pointer to vm_area_struct and yield - vma = self._context.object( + # Convert pointer to vm_area_struct and yield + vma_object = self._context.object( symbol_table_name + constants.BANG + "vm_area_struct", layer_name=self.vol.native_layer_name, offset=vma_pointer, ) - yield vma + yield vma_object def get_vma_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: - """Returns an iterator for the VMAs in an mm_struct. Automatically choosing the mmap or mm_mt as required.""" + """Returns an iterator for the VMAs in an mm_struct. + Automatically choosing the mmap or mm_mt as required. + + Yields: + vm_area_struct objects + """ if self.has_member("mmap"): + # kernels < 6.1 yield from self._get_mmap_iter() elif self.has_member("mm_mt"): + # kernels >= 6.1 d4af56c5c7c6781ca6ca8075e2cf5bc119ed33d1 yield from self._get_maple_tree_iter() else: raise AttributeError("Unable to find mmap or mm_mt in mm_struct") From 35fa9321b3bdac0bc3b8097148eeb6872cade138 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 13 Jan 2025 17:44:26 +1100 Subject: [PATCH 1153/2186] Linux: file struct: Remove `f_dentry` and `f_vfsmnt`, as they were preprocessor macro shortcuts, not actual members of the type. --- .../framework/symbols/linux/extensions/__init__.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index df1c00e3d..22c28f6fa 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1152,19 +1152,15 @@ class struct_file(objects.StructType): """Returns a pointer to the dentry associated with this file""" if self.has_member("f_path"): return self.f_path.dentry - elif self.has_member("f_dentry"): - return self.f_dentry - else: - raise AttributeError("Unable to find file -> dentry") + + raise AttributeError("Unable to find file -> dentry") def get_vfsmnt(self) -> interfaces.objects.ObjectInterface: """Returns the fs (vfsmount) where this file is mounted""" if self.has_member("f_path"): return self.f_path.mnt - elif self.has_member("f_vfsmnt"): - return self.f_vfsmnt - else: - raise AttributeError("Unable to find file -> vfs mount") + + raise AttributeError("Unable to find file -> vfs mount") def get_inode(self) -> interfaces.objects.ObjectInterface: """Returns an inode associated with this file""" From fba8f05c8075e07ccecbaca6299ef106127623e3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 13 Jan 2025 17:48:53 +1100 Subject: [PATCH 1154/2186] linux: Rename variable to clarify pointer type and avoid confusion with the 'dentry' class. --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 22c28f6fa..4d89764f3 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1390,9 +1390,9 @@ class mount(objects.StructType): A dentry pointer """ vfsmnt = self.get_vfsmnt_current() - dentry = vfsmnt.mnt_root + dentry_pointer = vfsmnt.mnt_root - return dentry + return dentry_pointer def get_dentry_parent(self): """Returns the parent root of the mounted tree From 4b10d658509faaf42b21c67ec543b9bd34f57f84 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 13 Jan 2025 17:51:30 +1100 Subject: [PATCH 1155/2186] linux: minor docstring improvements --- .../framework/symbols/linux/__init__.py | 7 +-- .../symbols/linux/extensions/__init__.py | 46 ++++++++++--------- 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 5aa27b964..93ff35a06 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -106,8 +106,8 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): Args: task (task_struct): A reference task mnt (vfsmount or mount): A mounted filesystem or a mount point. - - kernels < 3.3.8 type is 'vfsmount' - - kernels >= 3.3.8 type is 'mount' + - kernels < 3.3 type is 'vfsmount' + - kernels >= 3.3 type is 'mount' Returns: str: Pathname of the mount point relative to the task's root directory. @@ -129,7 +129,8 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): rdentry (dentry *): A pointer to the root dentry rmnt (vfsmount *): A pointer to the root vfsmount dentry (dentry *): A pointer to the dentry - vfsmnt (vfsmount *): A pointer to the vfsmount + vfsmnt (vfsmount/vfsmount *): A vfsmount object (kernels >= 3.3) or a + vfsmount pointer (kernels < 3.3) Returns: str: Pathname of the mount point or file diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 4d89764f3..6d341653b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1500,16 +1500,18 @@ class vfsmount(objects.StructType): ) def _is_kernel_prior_to_struct_mount(self) -> bool: - """Helper to distinguish between kernels prior to version 3.3.8 that - lacked the 'mount' structure and later versions that have it. + """Helper to distinguish between kernels prior to version 3.3 which lacked the + 'mount' struct, versus later versions that include it. + See 7d6fec45a5131918b51dcd76da52f2ec86a85be6. - The 'mnt_parent' member was moved from struct 'vfsmount' to struct - 'mount' when the latter was introduced. + # Following that commit, also in kernel version 3.3 (3376f34fff5be9954fd9a9c4fd68f4a0a36d480e), + # the 'mnt_parent' member was relocated from the 'vfsmount' struct to the newly + # introduced 'mount' struct. Alternatively, vmlinux.has_type('mount') can be used here but it is faster. Returns: - bool: 'True' if the kernel + 'True' if the kernel lacks the 'mount' struct, typically indicating kernel < 3.3. """ return self.has_member("mnt_parent") @@ -1517,22 +1519,21 @@ class vfsmount(objects.StructType): def is_equal(self, vfsmount_ptr) -> bool: """Helper to make sure it is comparing two pointers to 'vfsmount'. - Depending on the kernel version, the calling object (self) could be - a 'vfsmount \\*' (<3.3.8) or a 'vfsmount' (>=3.3.8). This way we trust - in the framework "auto" dereferencing ability to assure that when we - reach this point 'self' will be a 'vfsmount' already and self.vol.offset - a 'vfsmount \\*' and not a 'vfsmount \\*\\*'. The argument must be a 'vfsmount \\*'. + Depending on the kernel version, see 3376f34fff5be9954fd9a9c4fd68f4a0a36d480e, + the calling object (self) could be a 'vfsmount *' (<3.3) or a 'vfsmount' (>=3.3). + This way we trust in the framework "auto" dereferencing ability to assure that + when we reach this point 'self' will be a 'vfsmount' already and self.vol.offset + a 'vfsmount *' and not a 'vfsmount **'. The argument must be a 'vfsmount *'. Typically, it's called from do_get_path(). Args: - vfsmount_ptr (vfsmount *): A pointer to a 'vfsmount' + vfsmount_ptr: A pointer to a 'vfsmount' Raises: - exceptions.VolatilityException: If vfsmount_ptr is not a 'vfsmount \\*' + exceptions.VolatilityException: If vfsmount_ptr is not a 'vfsmount *' Returns: - bool: 'True' if the given argument points to the the same 'vfsmount' - as 'self'. + 'True' if the given argument points to the same 'vfsmount' as 'self'. """ if isinstance(vfsmount_ptr, objects.Pointer): return self.vol.offset == vfsmount_ptr @@ -1541,13 +1542,14 @@ class vfsmount(objects.StructType): "Unexpected argument type. It has to be a 'vfsmount *'" ) - def _get_real_mnt(self): + def _get_real_mnt(self) -> interfaces.objects.ObjectInterface: """Gets the struct 'mount' containing this 'vfsmount'. - It should be only called from kernels >= 3.3.8 when 'struct mount' was introduced. + It should be only called from kernels >= 3.3 when 'struct mount' was introduced. + See 7d6fec45a5131918b51dcd76da52f2ec86a85be6 Returns: - mount: the struct 'mount' containing this 'vfsmount'. + The 'mount' object containing this 'vfsmount'. """ vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) return linux.LinuxUtilities.container_of( @@ -1566,8 +1568,8 @@ class vfsmount(objects.StructType): """Gets the parent fs (vfsmount) to where it's mounted on Returns: - For kernels < 3.3.8: A vfsmount pointer - For kernels >= 3.3.8: A vfsmount object + For kernels < 3.3: A vfsmount pointer + For kernels >= 3.3: A vfsmount object """ if self._is_kernel_prior_to_struct_mount(): return self.get_mnt_parent() @@ -1600,8 +1602,8 @@ class vfsmount(objects.StructType): """Gets the mnt_parent member. Returns: - For kernels < 3.3.8: A vfsmount pointer - For kernels >= 3.3.8: A mount pointer + For kernels < 3.3: A vfsmount pointer + For kernels >= 3.3: A mount pointer """ if self._is_kernel_prior_to_struct_mount(): return self.mnt_parent @@ -1672,8 +1674,10 @@ class kobject(objects.StructType): class mnt_namespace(objects.StructType): def get_inode(self): if self.has_member("proc_inum"): + # 98f842e675f96ffac96e6c50315790912b2812be 3.8 <= kernels < 3.19 return self.proc_inum elif self.has_member("ns") and self.ns.has_member("inum"): + # kernels >= 3.19 435d5f4bb2ccba3b791d9ef61d2590e30b8e806e return self.ns.inum else: raise AttributeError("Unable to find mnt_namespace inode") From d4803a3884343f475a90a14de4be7fa947e561c5 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 13 Jan 2025 17:58:21 +1100 Subject: [PATCH 1156/2186] Linux: Ensure mount API consistently returns valid mountpoints and path names --- .../framework/plugins/linux/mountinfo.py | 6 ++++-- .../framework/symbols/linux/__init__.py | 21 ++++++++++++++++--- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index b4f80e4f5..5a0d39f31 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -36,7 +36,7 @@ class MountInfo(plugins.PluginInterface): """Lists mount points on processes mount namespaces""" _required_framework_version = (2, 2, 0) - _version = (1, 2, 3) + _version = (1, 3, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -152,9 +152,11 @@ class MountInfo(plugins.PluginInterface): if not ( task and task.fs - and task.fs.root + and task.fs.is_readable() and task.nsproxy + and task.nsproxy.is_readable() and task.nsproxy.mnt_ns + and task.nsproxy.mnt_ns.is_readable() ): # This task doesn't have all the information required. # It should be a kernel < 2.6.30 diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 93ff35a06..03f4e501a 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -76,7 +76,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" - _version = (2, 2, 0) + _version = (2, 3, 0) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) @@ -121,7 +121,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return cls.do_get_path(rdentry, rmnt, dentry, vfsmnt) @classmethod - def do_get_path(cls, rdentry, rmnt, dentry, vfsmnt) -> Union[None, str]: + def do_get_path(cls, rdentry, rmnt, dentry, vfsmnt) -> str: """Returns a pathname of the mount point or file It mimics the Linux kernel prepend_path function. @@ -136,8 +136,19 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): str: Pathname of the mount point or file """ + if not (rdentry and rdentry.is_readable() and rmnt and rmnt.is_readable()): + return "" + + if isinstance(vfsmnt, objects.Pointer) and not (rmnt and rmnt.is_readable()): + # vfsmnt can be the vfsmount object itself (>=3.3) or a vfsmount * (<3.3) + return "" + path_reversed = [] - while dentry != rdentry or not vfsmnt.is_equal(rmnt): + while ( + dentry + and dentry.is_readable() + and (dentry != rdentry or not vfsmnt.is_equal(rmnt)) + ): if dentry == vfsmnt.get_mnt_root() or dentry.is_root(): # Escaped? if dentry != vfsmnt.get_mnt_root(): @@ -450,6 +461,10 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): type_dec = vmlinux.get_type(type_name) member_offset = type_dec.relative_child_offset(member_name) container_addr = addr - member_offset + layer = vmlinux.context.layers[vmlinux.layer_name] + if not layer.is_valid(container_addr): + return None + return vmlinux.object( object_type=type_name, offset=container_addr, absolute=True ) From 1707e0a89ce88696f8585734587cc0f300b160ad Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 13 Jan 2025 18:01:31 +1100 Subject: [PATCH 1157/2186] Fix array_to_string helper method: If called with other object than array and a count value, it will end up with an AttributeError exception --- volatility3/framework/objects/utility.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index b241ed56a..0bc285517 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -33,11 +33,12 @@ def array_to_string( ) -> interfaces.objects.ObjectInterface: """Takes a volatility Array of characters and returns a string.""" # TODO: Consider checking the Array's target is a native char - if count is None: - count = array.vol.count if not isinstance(array, objects.Array): raise TypeError("Array_to_string takes an Array of char") + if count is None: + count = array.vol.count + return array.cast("string", max_length=count, errors=errors) @@ -45,8 +46,10 @@ def pointer_to_string(pointer: "objects.Pointer", count: int, errors: str = "rep """Takes a volatility Pointer to characters and returns a string.""" if not isinstance(pointer, objects.Pointer): raise TypeError("pointer_to_string takes a Pointer") + if count < 1: raise ValueError("pointer_to_string requires a positive count") + char = pointer.dereference() return char.cast("string", max_length=count, errors=errors) From 77ad6f0d831a33cfbc037012a8f2bec0c57520ca Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 13 Jan 2025 18:25:04 +1100 Subject: [PATCH 1158/2186] linux: remove unused import --- volatility3/framework/symbols/linux/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 03f4e501a..931c461b9 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -4,7 +4,7 @@ import math import contextlib from abc import ABC, abstractmethod -from typing import Iterator, List, Tuple, Optional, Union +from typing import Iterator, List, Tuple, Optional from volatility3 import framework from volatility3.framework import constants, exceptions, interfaces, objects From 8bc04529350c3ce5a927099a72bc4e419a049db5 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Jan 2025 11:21:23 +1100 Subject: [PATCH 1159/2186] linux: Improve compatibility with ancient kernels --- .../symbols/linux/extensions/__init__.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index a50b8ae09..4a1a263dd 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -316,16 +316,26 @@ class task_struct(generic.GenericIntelProcess): if self.pid < 0: return False - if not (self.signal and self.signal.is_readable()): + if self.has_member("signal") and not ( + self.signal and self.signal.is_readable() + ): return False - if not (self.nsproxy and self.nsproxy.is_readable()): + if self.has_member("nsproxy") and not ( + self.nsproxy and self.nsproxy.is_readable() + ): return False - if not (self.real_parent and self.real_parent.is_readable()): + if self.has_member("real_parent") and not ( + self.real_parent and self.real_parent.is_readable() + ): return False - if self.active_mm and not self.active_mm.is_readable(): + if ( + self.has_member("active_mm") + and self.active_mm + and not self.active_mm.is_readable() + ): return False if self.mm: From 7fc2af5b4ecf4b1ced5c71357d164981b05ed309 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Jan 2025 11:39:48 +1100 Subject: [PATCH 1160/2186] linux: Add an additional quick check before validating pointer readability --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 4a1a263dd..e2c9454f6 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -313,7 +313,7 @@ class task_struct(generic.GenericIntelProcess): if not layer.is_valid(self.vol.offset, self.vol.size): return False - if self.pid < 0: + if self.pid < 0 or self.tgid < 0: return False if self.has_member("signal") and not ( From d21fdb4211c800404acd863b71b8302022d090e4 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 13 Jan 2025 16:52:45 +1100 Subject: [PATCH 1161/2186] Linux: pagecache: Harden Page Cache API to consistently yield valid entries --- .../framework/plugins/linux/pagecache.py | 14 ++++++-- .../framework/symbols/linux/__init__.py | 9 +++--- .../symbols/linux/extensions/__init__.py | 32 +++++++++++++------ 3 files changed, 39 insertions(+), 16 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 382268515..430190970 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -104,7 +104,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -253,6 +253,10 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): if not root_inode.is_valid(): continue + if not (root_inode.i_mapping and root_inode.i_mapping.is_readable()): + # Retrieving data from the page cache requires a valid address space + continue + # Inode already processed? if root_inode_ptr in seen_inodes: continue @@ -284,6 +288,10 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): if not file_inode.is_valid(): continue + if not (file_inode.i_mapping and file_inode.i_mapping.is_readable()): + # Retrieving data from the page cache requires a valid address space + continue + # Inode already processed? if file_inode_ptr in seen_inodes: continue @@ -316,10 +324,12 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): if self.config["find"]: if inode_in.path == self.config["find"]: inode_out = inode_in.to_user(vmlinux_layer) + yield (0, astuple(inode_out)) break # Only the first match else: inode_out = inode_in.to_user(vmlinux_layer) + yield (0, astuple(inode_out)) def generate_timeline(self): @@ -389,7 +399,7 @@ class InodePages(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 5aa27b964..3265dfd37 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -838,11 +838,12 @@ class PageCache: Yields: Page objects """ - + layer = self.vmlinux.context.layers[self.vmlinux.layer_name] for page_addr in self._idstorage.get_entries(self._page_cache.i_pages): if not page_addr: continue - page = self.vmlinux.object("page", offset=page_addr, absolute=True) - if page: - yield page + if not layer.is_valid(page_addr): + continue + + yield self.vmlinux.object("page", offset=page_addr, absolute=True) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index df1c00e3d..187b1e280 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2489,7 +2489,12 @@ class inode(objects.StructType): """ if not self.i_size: return - elif not (self.i_mapping and self.i_mapping.nrpages > 0): + + if not ( + self.i_mapping + and self.i_mapping.is_readable() + and self.i_mapping.nrpages > 0 + ): return page_cache = linux.PageCache( @@ -2497,19 +2502,21 @@ class inode(objects.StructType): kernel_module_name="kernel", page_cache=self.i_mapping.dereference(), ) + yield from page_cache.get_cached_pages() - def get_contents(self): + def get_contents(self) -> Iterable[Tuple[int, bytes]]: """Get the inode cached pages from the page cache Yields: page_index (int): The page index in the Tree. File offset is page_index * PAGE_SIZE. - page_content (str): The page content + page_content (bytes): The page content """ for page_obj in self.get_pages(): page_index = int(page_obj.index) page_content = page_obj.get_content() - yield page_index, page_content + if page_content: + yield page_index, page_content class address_space(objects.StructType): @@ -2625,7 +2632,7 @@ class page(objects.StructType): return page_paddr - def get_content(self) -> Union[str, None]: + def get_content(self) -> Union[bytes, None]: """Returns the page content Returns: @@ -2641,8 +2648,13 @@ class page(objects.StructType): if not page_paddr: return None - page_data = physical_layer.read(page_paddr, vmlinux_layer.page_size) - return page_data + if not physical_layer.is_valid(page_paddr, length=vmlinux_layer.page_size): + vollog.debug( + "Unable to read page 0x%x content at 0x%x", self.vol.offset, page_paddr + ) + return None + + return physical_layer.read(page_paddr, vmlinux_layer.page_size) def get_flags_list(self) -> List[str]: """Returns a list of page flags @@ -2755,17 +2767,17 @@ class IDR(objects.StructType): class rb_root(objects.StructType): - def _walk_nodes(self, root_node) -> Iterator[int]: + def _walk_nodes(self, root_node: int) -> Iterator[int]: """Traverses the Red-Black tree from the root node and yields a pointer to each node in this tree. Args: - root_node: A Red-Black tree node from which to start descending + root_node: A Red-Black tree node pointer from which to start descending Yields: A pointer to every node descending from the specified root node """ - if not root_node: + if not (root_node and root_node.is_readable()): return yield root_node From 529b67fc96d7e975bdff83edd7096c4c0cd8db80 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Tue, 14 Jan 2025 12:31:25 +1100 Subject: [PATCH 1162/2186] Linux: pagecache: Fix issue reported in #1527 --- volatility3/framework/plugins/linux/pagecache.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 430190970..9aff0e4f9 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -469,6 +469,8 @@ class InodePages(plugins.PluginInterface): inode_size, page_idx, ) + continue + f.seek(current_fp) f.write(page_bytes) From 1a84f96c70060bc09aab3c1b3348d980f8b9bc0e Mon Sep 17 00:00:00 2001 From: Kerry Goodwine Date: Thu, 9 Jan 2025 15:49:24 -0500 Subject: [PATCH 1163/2186] Actions: Add new workflow for generating windows EXEs with pyinstaller --- .github/workflows/build-pyinstaller.yml | 50 +++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/build-pyinstaller.yml diff --git a/.github/workflows/build-pyinstaller.yml b/.github/workflows/build-pyinstaller.yml new file mode 100644 index 000000000..bcba95403 --- /dev/null +++ b/.github/workflows/build-pyinstaller.yml @@ -0,0 +1,50 @@ +name: build-pyinstaller +on: + push: + branches: + - stable + - develop + - 'release/**' + pull_request: + branches: + - stable + - 'release/**' + +jobs: + + exe: + runs-on: windows-latest + strategy: + matrix: + python-version: ["3.11"] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pyinstaller + + - name: Pyinstall executable + run: | + pyinstaller --clean -y vol.spec + pyinstaller --clean -y volshell.spec + + - name: Move files + run: | + mv dist/vol.exe vol.exe + mv dist/volshell.exe volshell.exe + + - name: Archive + uses: actions/upload-artifact@v4 + with: + name: volatility3-pyinstaller + path: | + vol.exe + volshell.exe + README.md + LICENSE.txt From 9f08af47b161579bf31f9d45c8b248c23861388a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 15 Jan 2025 12:51:52 +1100 Subject: [PATCH 1164/2186] Linux: Add support for Intel 32bit with PAE --- volatility3/framework/automagic/linux.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index f22cae012..542d26a8d 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -71,6 +71,12 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): elif "init_level4_pgt" in table.symbols: layer_class = intel.LinuxIntel32e dtb_symbol_name = "init_level4_pgt" + elif ( + "pkmap_count" in table.symbols + and table.get_symbol("pkmap_count").type.count == 512 + ): + layer_class = intel.LinuxIntelPAE + dtb_symbol_name = "swapper_pg_dir" else: layer_class = intel.LinuxIntel dtb_symbol_name = "swapper_pg_dir" From 28c74f8c1b853df3680de14f6fdc22958516a9c2 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 15 Jan 2025 13:23:39 +1100 Subject: [PATCH 1165/2186] Linux: Add support for Intel 32bit with PAE in early kernels, including versions 2.3.27 and 2.3.28. --- volatility3/framework/automagic/linux.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 542d26a8d..cb4f3cc64 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -71,10 +71,9 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): elif "init_level4_pgt" in table.symbols: layer_class = intel.LinuxIntel32e dtb_symbol_name = "init_level4_pgt" - elif ( - "pkmap_count" in table.symbols - and table.get_symbol("pkmap_count").type.count == 512 - ): + elif "pkmap_count" in table.symbols and table.get_symbol( + "pkmap_count" + ).type.count in (512, 2048): layer_class = intel.LinuxIntelPAE dtb_symbol_name = "swapper_pg_dir" else: From b27f98fed258b597e043a5c80304d8489da27b32 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 15 Jan 2025 14:37:35 +1100 Subject: [PATCH 1166/2186] linux: pslist: fix task credentials rendering --- volatility3/framework/plugins/linux/pslist.py | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 37cf000fc..77b57e000 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -179,6 +179,10 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): file_output = "VMA start matching task start_code not found" return file_output + @staticmethod + def _format_cred(cred): + return renderers.NotAvailableValue() if cred is None else cred + def _generator( self, pid_filter: Callable[[Any], bool], @@ -212,16 +216,21 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): task_fields = self.get_task_fields(task, decorate_comm) + task_uid = self._format_cred(task_fields.uid) + task_gid = self._format_cred(task_fields.gid) + task_euid = self._format_cred(task_fields.euid) + task_egid = self._format_cred(task_fields.egid) + yield 0, ( format_hints.Hex(task_fields.offset), task_fields.user_pid, task_fields.user_tid, task_fields.user_ppid, task_fields.name, - task_fields.uid or renderers.NotAvailableValue(), - task_fields.gid or renderers.NotAvailableValue(), - task_fields.euid or renderers.NotAvailableValue(), - task_fields.egid or renderers.NotAvailableValue(), + task_uid, + task_gid, + task_euid, + task_egid, task_fields.creation_time or renderers.NotAvailableValue(), file_output, ) From 66084878627f636d0bebabbecc79842ac954d209 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 15 Jan 2025 15:08:57 +1100 Subject: [PATCH 1167/2186] Linux: pagecache: Fix issue with incosistent inode page caches --- volatility3/framework/plugins/linux/pagecache.py | 6 +++++- volatility3/framework/symbols/linux/__init__.py | 14 ++++++++++++-- .../framework/symbols/linux/extensions/__init__.py | 9 +++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 9aff0e4f9..b2766be8d 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -520,7 +520,11 @@ class InodePages(plugins.PluginInterface): page_mapping_addr = page_obj.mapping page_index = int(page_obj.index) page_file_offset = page_index * vmlinux_layer.page_size - dump_safe = page_file_offset < inode_size + dump_safe = ( + page_file_offset < inode_size + and page_mapping_addr + and page_mapping_addr.is_readable() + ) page_flags_list = page_obj.get_flags_list() page_flags = ",".join([x.replace("PG_", "") for x in page_flags_list]) fields = ( diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 3265dfd37..08f69c326 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -3,6 +3,7 @@ # import math import contextlib +import logging from abc import ABC, abstractmethod from typing import Iterator, List, Tuple, Optional, Union @@ -12,6 +13,8 @@ from volatility3.framework.objects import utility from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux import extensions +vollog = logging.getLogger(__name__) + class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): provides = {"type": "interface"} @@ -612,7 +615,7 @@ class IDStorage(ABC): raise NotImplementedError def nodep_to_node(self, nodep) -> interfaces.objects.ObjectInterface: - """Instanciates a tree node from its pointer + """Instantiates a tree node from its pointer Args: nodep: Pointer to the XArray/RadixTree node @@ -846,4 +849,11 @@ class PageCache: if not layer.is_valid(page_addr): continue - yield self.vmlinux.object("page", offset=page_addr, absolute=True) + page = self.vmlinux.object("page", offset=page_addr, absolute=True) + if not page.is_valid(): + vollog.error( + f"Invalid cached page at {page.vol.offset:#x}, aborting", + ) + break + + yield page diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 187b1e280..6ae022923 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2534,6 +2534,15 @@ class address_space(objects.StructType): class page(objects.StructType): + def is_valid(self) -> bool: + if self.mapping and not self.mapping.is_readable(): + return False + + if self.to_paddr() < 0: + return False + + return True + @functools.cached_property def pageflags_enum(self) -> Dict: """Returns 'pageflags' enumeration key/values From ce40659d8728f57f9b6e63709af4b7a17588a309 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 16 Jan 2025 19:19:47 +1100 Subject: [PATCH 1168/2186] linux: radix_tree: Fix various issues, enhance early inconsistency detection, and improve compatibility with older kernel versions --- volatility3/framework/exceptions.py | 4 ++ .../framework/symbols/linux/__init__.py | 62 ++++++++++++------- 2 files changed, 44 insertions(+), 22 deletions(-) diff --git a/volatility3/framework/exceptions.py b/volatility3/framework/exceptions.py index c44fb4f2e..41c67b88d 100644 --- a/volatility3/framework/exceptions.py +++ b/volatility3/framework/exceptions.py @@ -130,3 +130,7 @@ class OfflineException(VolatilityException): class RenderException(VolatilityException): """Thrown if there is an error during rendering""" + + +class LinuxPageCacheException(VolatilityException): + """Thrown if there is an error during Linux Page Cache processing""" diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 08f69c326..4c9934439 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -3,6 +3,7 @@ # import math import contextlib +import functools import logging from abc import ABC, abstractmethod from typing import Iterator, List, Tuple, Optional, Union @@ -662,7 +663,7 @@ class IDStorage(ABC): height = self.get_tree_height(root.vol.offset) nodep = self.get_head_node(root) - if not nodep: + if not (nodep and nodep.is_readable()): return # Keep the internal flag before untagging it @@ -697,7 +698,7 @@ class XArray(IDStorage): def get_node_height(self, nodep) -> int: node = self.nodep_to_node(nodep) - return (node.shift / self.CHUNK_SHIFT) + 1 + return (node.shift // self.CHUNK_SHIFT) + 1 def get_head_node(self, tree) -> int: return tree.xa_head @@ -720,6 +721,7 @@ class RadixTree(IDStorage): RADIX_TREE_INTERNAL_NODE = 1 RADIX_TREE_EXCEPTIONAL_ENTRY = 2 RADIX_TREE_ENTRY_MASK = 3 + RADIX_TREE_MAP_SHIFT = 6 # CONFIG_BASE_FULL # Dynamic values. These will be initialized later RADIX_TREE_INDEX_BITS = None @@ -756,43 +758,57 @@ class RadixTree(IDStorage): def get_tree_height(self, treep) -> int: with contextlib.suppress(exceptions.SymbolError): if self.vmlinux.get_type("radix_tree_root").has_member("height"): - # kernels < 4.7.10 + # kernels < 4.7 d0891265bbc988dc91ed8580b38eb3dac128581b radix_tree_root = self.vmlinux.object( "radix_tree_root", offset=treep, absolute=True ) return radix_tree_root.height - # kernels >= 4.7.10 + # kernels >= 4.7 return 0 + @functools.cached_property + def _max_height_array(self): + if self.vmlinux.has_symbol("height_to_maxindex"): + # 2.6.24 26fb1589cb0aaec3a0b4418c54f30c1a2b1781f6 <= Kernels < 4.7 d0891265bbc988dc91ed8580b38eb3dac128581b + return self.vmlinux.object_from_symbol("height_to_maxindex") + elif self.vmlinux.has_symbol("height_to_maxnodes"): + # 4.8 c78c66d1ddfdbd2353f3fcfeba0268524537b096 <= kernels < 4.20 8cf2f98411e3a0865026a1061af637161b16d32b + return self.vmlinux.object_from_symbol("height_to_maxnodes") + + return None + def _radix_tree_maxindex(self, node, height) -> int: """Return the maximum key which can be store into a radix tree with this height.""" - if not self.vmlinux.has_symbol("height_to_maxindex"): - # Kernels >= 4.7 - return (self.CHUNK_SIZE << node.shift) - 1 + if self._max_height_array: + # 2.6.24 <= kernels <= 4.20 See _max_height_array() + return self._max_height_array[height] else: - # Kernels < 4.7 - height_to_maxindex_array = self.vmlinux.object_from_symbol( - "height_to_maxindex" - ) - maxindex = height_to_maxindex_array[height] - return maxindex + # Kernels >= 4.20 + return (self.CHUNK_SIZE << node.shift) - 1 def get_node_height(self, nodep) -> int: node = self.nodep_to_node(nodep) if hasattr(node, "shift"): # 4.7 <= Kernels < 4.20 - return (node.shift / self.CHUNK_SHIFT) + 1 + height = (node.shift // self.CHUNK_SHIFT) + 1 elif hasattr(node, "path"): # 3.15 <= Kernels < 4.7 - return node.path & self.RADIX_TREE_HEIGHT_MASK + height = node.path & self.RADIX_TREE_HEIGHT_MASK elif hasattr(node, "height"): # Kernels < 3.15 - return node.height + height = node.height else: raise exceptions.VolatilityException("Cannot find radix-tree node height") + if self._max_height_array and not (0 <= height < self._max_height_array.count): + error_msg = f"Radix Tree node {node.vol.offset:#x} height {height} exceeds max height of {self._max_height_array.count}" + vollog.error(error_msg) + raise exceptions.LinuxPageCacheException(error_msg) + + return height + def get_head_node(self, tree) -> int: return tree.rnode @@ -805,14 +821,16 @@ class RadixTree(IDStorage): def untag_node(self, nodep) -> int: return nodep & (~self.RADIX_TREE_ENTRY_MASK) - def is_valid_node(self, nodep) -> bool: + def _is_exceptional_node(self, nodep) -> bool: # In kernels 4.20, exceptional nodes were removed and internal entries took their bitmask - if self.vmlinux.has_type("radix_tree_root"): - return ( - nodep & self.RADIX_TREE_ENTRY_MASK - ) != self.RADIX_TREE_EXCEPTIONAL_ENTRY + return ( + self.vmlinux.has_type("radix_tree_root") + and (nodep & self.RADIX_TREE_ENTRY_MASK) + == self.RADIX_TREE_EXCEPTIONAL_ENTRY + ) - return True + def is_valid_node(self, nodep) -> bool: + return not self._is_exceptional_node(nodep) class PageCache: From 3c92d7f7b7d3d7d9548275e960571d4ac37a6a21 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 16 Jan 2025 19:22:46 +1100 Subject: [PATCH 1169/2186] linux: page_cache: enhance early inconsistency detection --- volatility3/framework/symbols/linux/__init__.py | 14 ++++++-------- .../framework/symbols/linux/extensions/__init__.py | 7 ++++++- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 4c9934439..a7e6ef405 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -861,17 +861,15 @@ class PageCache: """ layer = self.vmlinux.context.layers[self.vmlinux.layer_name] for page_addr in self._idstorage.get_entries(self._page_cache.i_pages): - if not page_addr: - continue - if not layer.is_valid(page_addr): - continue + error_msg = f"Invalid cached page address at {page_addr:#x}, aborting" + vollog.error(error_msg) + raise exceptions.LinuxPageCacheException(error_msg) page = self.vmlinux.object("page", offset=page_addr, absolute=True) if not page.is_valid(): - vollog.error( - f"Invalid cached page at {page.vol.offset:#x}, aborting", - ) - break + error_msg = f"Invalid cached page at {page_addr:#x}, aborting" + vollog.error(error_msg) + raise exceptions.LinuxPageCacheException(error_msg) yield page diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 6ae022923..997370bbb 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2513,6 +2513,11 @@ class inode(objects.StructType): page_content (bytes): The page content """ for page_obj in self.get_pages(): + if page_obj.mapping != self.i_mapping: + vollog.warning( + f"Cached page at {page_obj.vol.offset:#x} has a mismatched address space with the inode. Skipping page" + ) + continue page_index = int(page_obj.index) page_content = page_obj.get_content() if page_content: @@ -2524,7 +2529,7 @@ class address_space(objects.StructType): def i_pages(self): """Returns the appropriate member containing the page cache tree""" if self.has_member("i_pages"): - # Kernel >= 4.17 + # Kernel >= 4.17 b93b016313b3ba8003c3b8bb71f569af91f19fc7 return self.member("i_pages") elif self.has_member("page_tree"): # Kernel < 4.17 From c1497410b4721703ebbb9f30f2ab3db497a4438b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 16 Jan 2025 19:28:25 +1100 Subject: [PATCH 1170/2186] linux: page_cache plugin: lazy file initialization and avoid redundant inode page cache walk during dumps not showing output with dumping to file. --- .../framework/plugins/linux/pagecache.py | 89 ++++++++++++------- 1 file changed, 57 insertions(+), 32 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index b2766be8d..7ad0f5a8f 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -8,7 +8,7 @@ import datetime from dataclasses import dataclass, astuple from typing import List, Set, Type, Iterable -from volatility3.framework import renderers, interfaces +from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.renderers import format_hints from volatility3.framework.interfaces import plugins from volatility3.framework.configuration import requirements @@ -453,16 +453,18 @@ class InodePages(plugins.PluginInterface): # created, saving both disk space and I/O time. # Additionally, using the page index will guarantee that each page is written at the # appropriate file position. + inode_size = inode.i_size try: - with open_method(filename) as f: - inode_size = inode.i_size - f.truncate(inode_size) - + file_initialized = False + with open_method(filename) as file_obj: for page_idx, page_content in inode.get_contents(): current_fp = page_idx * vmlinux_layer.page_size max_length = inode_size - current_fp - page_bytes = page_content[:max_length] - if current_fp + len(page_bytes) > inode_size: + page_bytes_len = min(max_length, len(page_content)) + if ( + current_fp >= inode_size + or current_fp + page_bytes_len > inode_size + ): vollog.error( "Page out of file bounds: inode 0x%x, inode size %d, page index %d", inode.vol.offset, @@ -470,10 +472,20 @@ class InodePages(plugins.PluginInterface): page_idx, ) continue + page_bytes = page_content[:page_bytes_len] - f.seek(current_fp) - f.write(page_bytes) + if not file_initialized: + # Lazy initialization to avoid truncating the file until we are + # certain there is something to write + file_obj.truncate(inode_size) + file_initialized = True + file_obj.seek(current_fp) + file_obj.write(page_bytes) + except exceptions.LinuxPageCacheException: + vollog.error( + f"Error dumping cached pages for inode at {inode.vol.offset:#x}" + ) except OSError as e: vollog.error("Unable to write to file (%s): %s", filename, e) @@ -514,31 +526,44 @@ class InodePages(plugins.PluginInterface): return None inode_size = inode.i_size - for page_obj in inode.get_pages(): - page_vaddr = page_obj.vol.offset - page_paddr = page_obj.to_paddr() - page_mapping_addr = page_obj.mapping - page_index = int(page_obj.index) - page_file_offset = page_index * vmlinux_layer.page_size - dump_safe = ( - page_file_offset < inode_size - and page_mapping_addr - and page_mapping_addr.is_readable() - ) - page_flags_list = page_obj.get_flags_list() - page_flags = ",".join([x.replace("PG_", "") for x in page_flags_list]) - fields = ( - page_vaddr, - page_paddr, - page_mapping_addr, - page_index, - dump_safe, - page_flags, - ) + if not self.config["dump"]: + try: + for page_obj in inode.get_pages(): + if page_obj.mapping != inode.i_mapping: + vollog.warning( + f"Cached page at {page_obj.vol.offset:#x} has a mismatched address space with the inode. Skipping page" + ) + continue + page_vaddr = page_obj.vol.offset + page_paddr = page_obj.to_paddr() + page_mapping_addr = page_obj.mapping + page_index = int(page_obj.index) + page_file_offset = page_index * vmlinux_layer.page_size + dump_safe = ( + page_file_offset < inode_size + and page_mapping_addr + and page_mapping_addr.is_readable() + ) + page_flags_list = page_obj.get_flags_list() + page_flags = ",".join( + [x.replace("PG_", "") for x in page_flags_list] + ) + fields = ( + page_vaddr, + page_paddr, + page_mapping_addr, + page_index, + dump_safe, + page_flags, + ) - yield 0, fields + yield 0, fields + except exceptions.LinuxPageCacheException: + vollog.warning( + f"Page cache for inode at {inode.vol.offset:#x} is corrupt" + ) - if self.config["dump"]: + else: open_method = self.open inode_address = inode.vol.offset filename = open_method.sanitize_filename(f"inode_0x{inode_address:x}.dmp") From 5502a54198fc7617bb22e2e96519114c59704ab0 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 16 Jan 2025 19:38:41 +1100 Subject: [PATCH 1171/2186] linux: page_cache plugin: Refactor to make _generator more readable --- .../framework/plugins/linux/pagecache.py | 83 ++++++++++--------- 1 file changed, 42 insertions(+), 41 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 7ad0f5a8f..39ed60486 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -6,7 +6,7 @@ import math import logging import datetime from dataclasses import dataclass, astuple -from typing import List, Set, Type, Iterable +from typing import List, Set, Type, Iterable, Tuple from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.renderers import format_hints @@ -489,6 +489,44 @@ class InodePages(plugins.PluginInterface): except OSError as e: vollog.error("Unable to write to file (%s): %s", filename, e) + def _generate_inode_fields( + self, + inode: interfaces.objects.ObjectInterface, + vmlinux_layer: interfaces.layers.TranslationLayerInterface, + ) -> Iterable[Tuple[int, int, int, int, bool, str]]: + inode_size = inode.i_size + try: + for page_obj in inode.get_pages(): + if page_obj.mapping != inode.i_mapping: + vollog.warning( + f"Cached page at {page_obj.vol.offset:#x} has a mismatched address space with the inode. Skipping page" + ) + continue + page_vaddr = page_obj.vol.offset + page_paddr = page_obj.to_paddr() + page_mapping_addr = page_obj.mapping + page_index = int(page_obj.index) + page_file_offset = page_index * vmlinux_layer.page_size + dump_safe = ( + page_file_offset < inode_size + and page_mapping_addr + and page_mapping_addr.is_readable() + ) + page_flags_list = page_obj.get_flags_list() + page_flags = ",".join([x.replace("PG_", "") for x in page_flags_list]) + fields = ( + page_vaddr, + page_paddr, + page_mapping_addr, + page_index, + dump_safe, + page_flags, + ) + + yield 0, fields + except exceptions.LinuxPageCacheException: + vollog.warning(f"Page cache for inode at {inode.vol.offset:#x} is corrupt") + def _generator(self): vmlinux_module_name = self.config["kernel"] vmlinux = self.context.modules[vmlinux_module_name] @@ -510,7 +548,6 @@ class InodePages(plugins.PluginInterface): else: vollog.error("Unable to find inode with path %s", self.config["find"]) return None - elif self.config["inode"]: inode = vmlinux.object("inode", self.config["inode"], absolute=True) else: @@ -525,45 +562,7 @@ class InodePages(plugins.PluginInterface): vollog.error("The inode is not a regular file") return None - inode_size = inode.i_size - if not self.config["dump"]: - try: - for page_obj in inode.get_pages(): - if page_obj.mapping != inode.i_mapping: - vollog.warning( - f"Cached page at {page_obj.vol.offset:#x} has a mismatched address space with the inode. Skipping page" - ) - continue - page_vaddr = page_obj.vol.offset - page_paddr = page_obj.to_paddr() - page_mapping_addr = page_obj.mapping - page_index = int(page_obj.index) - page_file_offset = page_index * vmlinux_layer.page_size - dump_safe = ( - page_file_offset < inode_size - and page_mapping_addr - and page_mapping_addr.is_readable() - ) - page_flags_list = page_obj.get_flags_list() - page_flags = ",".join( - [x.replace("PG_", "") for x in page_flags_list] - ) - fields = ( - page_vaddr, - page_paddr, - page_mapping_addr, - page_index, - dump_safe, - page_flags, - ) - - yield 0, fields - except exceptions.LinuxPageCacheException: - vollog.warning( - f"Page cache for inode at {inode.vol.offset:#x} is corrupt" - ) - - else: + if self.config["dump"]: open_method = self.open inode_address = inode.vol.offset filename = open_method.sanitize_filename(f"inode_0x{inode_address:x}.dmp") @@ -571,6 +570,8 @@ class InodePages(plugins.PluginInterface): self.write_inode_content_to_file( inode, filename, open_method, vmlinux_layer ) + else: + yield from self._generate_inode_fields(inode, vmlinux_layer) def run(self): headers = [ From 9944fcc61f179a0d949266a90d3e0e290d5017c6 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 16 Jan 2025 21:15:00 +1100 Subject: [PATCH 1172/2186] linux: page_cache test case: Since the --dump no longer generate output, we test both modes, listing and dumping. --- test/test_volatility.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index bb7c9a851..e25e8278b 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -714,7 +714,7 @@ def test_linux_page_cache_inodepages(image, volatility, python): image, volatility, python, - pluginargs=["--inode", inode_address, "--dump"], + pluginargs=["--inode", inode_address], ) assert rc == 0 @@ -725,6 +725,14 @@ def test_linux_page_cache_inodepages(image, volatility, python): rb"0xea000054c5f8\s0x18389000\s0x88001ab5c3b0.*?True", out, ) + + rc, out, _err = runvol_plugin( + "linux.pagecache.InodePages", + image, + volatility, + python, + pluginargs=["--inode", inode_address, "--dump"], + ) assert os.path.exists(inode_dump_filename) with open(inode_dump_filename, "rb") as fp: inode_contents = fp.read() From d8254b63735388b9ef6be27009474ccea5726650 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 16 Jan 2025 21:39:37 +1100 Subject: [PATCH 1173/2186] linux: page_cache test case: Improve test --- test/test_volatility.py | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index e25e8278b..8676d1f3e 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -708,24 +708,25 @@ def test_linux_page_cache_inodepages(image, volatility, python): inode_address = hex(0x88001AB5C270) inode_dump_filename = f"inode_{inode_address}.dmp" + + rc, out, _err = runvol_plugin( + "linux.pagecache.InodePages", + image, + volatility, + python, + pluginargs=["--inode", inode_address], + ) + + assert rc == 0 + assert out.count(b"\n") > 4 + + # PageVAddr PagePAddr MappingAddr .. DumpSafe + assert re.search( + rb"0xea000054c5f8\s0x18389000\s0x88001ab5c3b0.*?True", + out, + ) + try: - rc, out, _err = runvol_plugin( - "linux.pagecache.InodePages", - image, - volatility, - python, - pluginargs=["--inode", inode_address], - ) - - assert rc == 0 - assert out.count(b"\n") > 4 - - # PageVAddr PagePAddr MappingAddr .. DumpSafe - assert re.search( - rb"0xea000054c5f8\s0x18389000\s0x88001ab5c3b0.*?True", - out, - ) - rc, out, _err = runvol_plugin( "linux.pagecache.InodePages", image, @@ -733,6 +734,10 @@ def test_linux_page_cache_inodepages(image, volatility, python): python, pluginargs=["--inode", inode_address, "--dump"], ) + + assert rc == 0 + assert out.count(b"\n") >= 4 + assert os.path.exists(inode_dump_filename) with open(inode_dump_filename, "rb") as fp: inode_contents = fp.read() From 749a0f9c656d8da0f5087faf25f225a6097ac8b4 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 16 Jan 2025 12:06:22 +0000 Subject: [PATCH 1174/2186] Core: Fix up ISFinfo looking for fastjsonschema --- volatility3/framework/plugins/isfinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/isfinfo.py b/volatility3/framework/plugins/isfinfo.py index 34b0a5653..1c2ac52e9 100644 --- a/volatility3/framework/plugins/isfinfo.py +++ b/volatility3/framework/plugins/isfinfo.py @@ -97,7 +97,7 @@ class IsfInfo(plugins.PluginInterface): if filter_item in isf_file: filtered_list.append(isf_file) - if find_spec("fastjsonschema") and self.config["validate"]: + if find_spec("jsonschema") and self.config["validate"]: def check_valid(data): return "True" if schemas.validate(data, True) else "False" From b447bfa81c36e91c3cf30bdc432e6eba48afbc53 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 16 Jan 2025 16:24:38 +0100 Subject: [PATCH 1175/2186] remove module tainting proxies --- .../framework/plugins/linux/modxview.py | 16 ++++++++++-- .../symbols/linux/extensions/__init__.py | 25 ------------------- 2 files changed, 14 insertions(+), 27 deletions(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index 3655200e8..69c6ac8bb 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -140,9 +140,21 @@ class Modxview(interfaces.plugins.PluginInterface): seen_addresses.add(module.vol.offset) if self.config.get("plain_taints"): - taints = module.get_taints_as_plain_string() + taints = tainting.Tainting.get_taints_as_plain_string( + self.context, + kernel_name, + module.taints, + True, + ) else: - taints = ",".join(module.get_taints_parsed()) + taints = ",".join( + tainting.Tainting.get_taints_parsed( + self.context, + kernel_name, + module.taints, + True, + ) + ) yield ( 0, diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index ac2f87df0..289d6c0a4 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -19,7 +19,6 @@ from volatility3.framework.layers import linear, intel from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed from volatility3.framework.symbols.linux.extensions import elf -from volatility3.framework.symbols.linux.utilities import tainting vollog = logging.getLogger(__name__) @@ -279,30 +278,6 @@ class module(generic.GenericIntelProcess): return None - def get_taints_as_plain_string(self) -> str: - """Convert the module's taints value to a 1-1 character mapping. - Convenient wrapper around framework's Tainting capabilities. - - Returns: - The raw taints string. - """ - return tainting.Tainting( - self._context, - linux.LinuxUtilities.get_module_from_volobj_type(self._context, self).name, - ).get_taints_as_plain_string(self.taints, True) - - def get_taints_parsed(self) -> List[str]: - """Convert the module's taints string to a 1-1 descriptor mapping. - Convenient wrapper around framework's Tainting capabilities. - - Returns: - A comprehensive (user-friendly) taint descriptor list. - """ - return tainting.Tainting( - self._context, - linux.LinuxUtilities.get_module_from_volobj_type(self._context, self).name, - ).get_taints_parsed(self.taints, True) - @property def section_symtab(self): if self.has_member("kallsyms"): From 94704c6674d7f5fb9d57698faa0d9ed943c6158c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 16 Jan 2025 16:26:57 +0100 Subject: [PATCH 1176/2186] 2.16.0 -> 2.17.0 bump --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 832b2a5ba..3d68ab810 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 18 # Number of changes that only add to the interface +VERSION_MINOR = 17 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" From cd8690a8059836f7e216c211c4397924ae311c84 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 16 Jan 2025 16:27:22 +0100 Subject: [PATCH 1177/2186] require framework version 2.17.0 --- volatility3/framework/plugins/linux/modxview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index 69c6ac8bb..3c2c5f05e 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -19,7 +19,7 @@ class Modxview(interfaces.plugins.PluginInterface): spot modules presence and taints.""" _version = (1, 0, 0) - _required_framework_version = (2, 18, 0) + _required_framework_version = (2, 17, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 3ab5fa90424b86904bca0a4ca987370aa890249f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 16 Jan 2025 19:59:31 +0000 Subject: [PATCH 1178/2186] Update copyright dates --- README.md | 2 +- doc/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1463c2bde..4e6953592 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ The latest generated copy of the documentation can be found at: Date: Fri, 17 Jan 2025 07:28:13 +1100 Subject: [PATCH 1179/2186] linux: mount api: fix vfsmount pointer check --- volatility3/framework/symbols/linux/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 931c461b9..f9a3ddde5 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -139,7 +139,9 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): if not (rdentry and rdentry.is_readable() and rmnt and rmnt.is_readable()): return "" - if isinstance(vfsmnt, objects.Pointer) and not (rmnt and rmnt.is_readable()): + if isinstance(vfsmnt, objects.Pointer) and not ( + vfsmnt and vfsmnt.is_readable() + ): # vfsmnt can be the vfsmount object itself (>=3.3) or a vfsmount * (<3.3) return "" From 4d05e8a76c4b91ed9c998bce316d230614af031e Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 17 Jan 2025 08:49:20 +1100 Subject: [PATCH 1180/2186] linux: mount API: escape '*' in docstrings to ensure correct documentation rendering --- volatility3/framework/symbols/linux/extensions/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 6d341653b..9ba3cabab 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1520,17 +1520,17 @@ class vfsmount(objects.StructType): """Helper to make sure it is comparing two pointers to 'vfsmount'. Depending on the kernel version, see 3376f34fff5be9954fd9a9c4fd68f4a0a36d480e, - the calling object (self) could be a 'vfsmount *' (<3.3) or a 'vfsmount' (>=3.3). + the calling object (self) could be a 'vfsmount \\*' (<3.3) or a 'vfsmount' (>=3.3). This way we trust in the framework "auto" dereferencing ability to assure that when we reach this point 'self' will be a 'vfsmount' already and self.vol.offset - a 'vfsmount *' and not a 'vfsmount **'. The argument must be a 'vfsmount *'. + a 'vfsmount \\*' and not a 'vfsmount \\*\\*'. The argument must be a 'vfsmount \\*'. Typically, it's called from do_get_path(). Args: vfsmount_ptr: A pointer to a 'vfsmount' Raises: - exceptions.VolatilityException: If vfsmount_ptr is not a 'vfsmount *' + exceptions.VolatilityException: If vfsmount_ptr is not a 'vfsmount \\*' Returns: 'True' if the given argument points to the same 'vfsmount' as 'self'. From ad0c48e8c9871538e8e31e7047553c68ddcfc69f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 17 Jan 2025 08:50:57 +1100 Subject: [PATCH 1181/2186] linux: mount info plugin: revert minor version increment in favor of a patch-level update --- volatility3/framework/plugins/linux/mountinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index 5a0d39f31..47d8705c8 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -36,7 +36,7 @@ class MountInfo(plugins.PluginInterface): """Lists mount points on processes mount namespaces""" _required_framework_version = (2, 2, 0) - _version = (1, 3, 0) + _version = (1, 2, 4) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 50c690e280dedfeb8f64a46f908c9bddc9e06f70 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 17 Jan 2025 09:27:07 +1100 Subject: [PATCH 1182/2186] linux: proc.Maps plugin: improve pointers validation --- volatility3/framework/plugins/linux/proc.py | 59 ++++++++++++--------- 1 file changed, 33 insertions(+), 26 deletions(-) diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index 441c6bc93..23d6605b7 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -21,7 +21,7 @@ class Maps(plugins.PluginInterface): """Lists all memory maps for all processes.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 2) + _version = (1, 0, 3) MAXSIZE_DEFAULT = 1024 * 1024 * 1024 # 1 Gb @@ -83,18 +83,24 @@ class Maps(plugins.PluginInterface): Returns: Yields vmas based on the task and filtered based on the filter function """ - if task.mm: - for vma in task.mm.get_vma_iter(): - if filter_func(vma): - yield vma - else: - vollog.debug( - f"Excluded vma at offset {vma.vol.offset:#x} for pid {task.pid} due to filter_func" - ) - else: + mm_pointer = task.mm + if not mm_pointer: vollog.debug( - f"Excluded pid {task.pid} as there is no mm member. It is likely a kernel thread." + f"Excluded pid {task.pid} as there is no mm member. It is likely a kernel thread" ) + return + + if not mm_pointer.is_readable(): + vollog.error(f"Task {task.pid} has an invalid mm member") + return + + for vma in mm_pointer.get_vma_iter(): + if filter_func(vma): + yield vma + else: + vollog.debug( + f"Excluded vma at offset {vma.vol.offset:#x} for pid {task.pid} due to filter_func" + ) @classmethod def vma_dump( @@ -174,31 +180,32 @@ class Maps(plugins.PluginInterface): ] # if any of the user supplied addresses would fall within this vma return true - if addrs_in_vma: - return True - else: - return False + return bool(addrs_in_vma) vma_filter_func = vma_filter_function + for task in tasks: - if not task.mm: + if not (task.mm and task.mm.is_readable()): continue name = utility.array_to_string(task.comm) for vma in self.list_vmas(task, filter_func=vma_filter_func): flags = vma.get_protection() page_offset = vma.get_page_offset() - major = 0 - minor = 0 - inode = 0 - if vma.vm_file != 0: + inode_num = None + try: dentry = vma.vm_file.get_dentry() - if dentry != 0: - inode_object = dentry.d_inode - major = inode_object.i_sb.major - minor = inode_object.i_sb.minor - inode = inode_object.i_ino + inode_ptr = dentry.d_inode + inode_num = inode_ptr.i_ino + major = inode_ptr.i_sb.major + minor = inode_ptr.i_sb.minor + except exceptions.InvalidAddressException: + if not inode_num: + inode_num = 0 + major = 0 + minor = 0 + path = vma.get_name(self.context, task) file_output = "Disabled" @@ -238,7 +245,7 @@ class Maps(plugins.PluginInterface): format_hints.Hex(page_offset), major, minor, - inode, + inode_num, path, file_output, ), From 5dc4dfcee8aca6b3e1b0a314e53e8476aa499339 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 17 Jan 2025 09:30:59 +1100 Subject: [PATCH 1183/2186] linux: bpf_prog extension object: improve pointers validation --- volatility3/framework/symbols/linux/extensions/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index df1c00e3d..a3cd66238 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2023,8 +2023,11 @@ class bpf_prog(objects.StructType): prog_tag_addr = self.tag.vol.offset prog_tag_size = self.tag.count - prog_tag_bytes = vmlinux_layer.read(prog_tag_addr, prog_tag_size) + if not vmlinux_layer.is_valid(prog_tag_addr, prog_tag_size): + vollog.debug("Unable to read bpf tag string from 0x%x", prog_tag_addr) + return None + prog_tag_bytes = vmlinux_layer.read(prog_tag_addr, prog_tag_size) prog_tag = binascii.hexlify(prog_tag_bytes).decode() return prog_tag From c28944cdd3c65c72e033d1fc344fdfa858a2545a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 17 Jan 2025 09:33:01 +1100 Subject: [PATCH 1184/2186] linux:sockstat plugin and list_sockets API: improve pointers validation --- volatility3/framework/plugins/linux/sockstat.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 7376bcbee..764c04563 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -438,7 +438,7 @@ class Sockstat(plugins.PluginInterface): """Lists all network connections for all processes.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 2) + _version = (3, 0, 3) @classmethod def get_requirements(cls): @@ -514,25 +514,28 @@ class Sockstat(plugins.PluginInterface): fd_num, filp, _full_path = fd_internal.fd_fields task = fd_internal.task + if not (filp.f_op and filp.f_op.is_readable()): + continue + if filp.f_op not in (sfop_addr, dfop_addr): continue dentry = filp.get_dentry() - if not dentry: + if not (dentry and dentry.is_readable()): continue d_inode = dentry.d_inode - if not d_inode: + if not (d_inode and d_inode.is_readable()): continue socket_alloc = linux.LinuxUtilities.container_of( d_inode, "socket_alloc", "vfs_inode", vmlinux ) - socket = socket_alloc.socket - - if not (socket and socket.sk): + if not socket_alloc: + continue + socket = socket_alloc.socket + if not (socket.sk and socket.sk.is_readable()): continue - sock = socket.sk.dereference() sock_type = sock.get_type() From 77b8058913910badde4f6a48c0af568d45ceae6f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 17 Jan 2025 09:41:25 +1100 Subject: [PATCH 1185/2186] linux:kmsg plugin: improve pointers validation --- volatility3/framework/plugins/linux/kmsg.py | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index 638c2ccf2..248e37dd8 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -136,7 +136,12 @@ class ABCKmsg(ABC): """ def get_string(self, addr: int, length: int) -> str: - txt = self._context.layers[self.layer_name].read(addr, length) # type: ignore + layer = self._context.layers[self.layer_name] + if not layer.is_valid(addr, length): + return "" + + txt = layer.read(addr, length) + return txt.decode(encoding="utf8", errors="replace") def nsec_to_sec_str(self, nsec: int) -> str: @@ -281,9 +286,13 @@ class Kmsg_3_5_to_3_11(ABCKmsg): log_struct_name = self._get_log_struct_name() log_struct_size = self.vmlinux.get_type(log_struct_name).size dict_offset = msg.vol.offset + log_struct_size + msg.text_len - dict_data = self._context.layers[self.layer_name].read( - dict_offset, msg.dict_len - ) + layer = self._context.layers[self.layer_name] + try: + dict_data = layer.read(dict_offset, msg.dict_len) + except exceptions.InvalidAddressException: + vollog.debug("Unable to read kmsg dict from 0x%x", dict_offset) + return None + for chunk in dict_data.split(b"\x00"): yield " " + chunk.decode() From 583a06630f9cef5659fb5667c74911701e0e095c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 17 Jan 2025 09:49:53 +1100 Subject: [PATCH 1186/2186] linux:check_syscall plugin: improve pointers validation --- volatility3/framework/plugins/linux/check_syscall.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_syscall.py b/volatility3/framework/plugins/linux/check_syscall.py index 13d312f2f..9ffd4c497 100644 --- a/volatility3/framework/plugins/linux/check_syscall.py +++ b/volatility3/framework/plugins/linux/check_syscall.py @@ -82,7 +82,7 @@ class Check_syscall(plugins.PluginInterface): return table_size - def _get_table_info_disassembly(self, ptr_sz, vmlinux): + def _get_table_info_disassembly(self, ptr_sz, vmlinux) -> int: """Find the size of the system call table by disassembling functions that immediately reference it in their first instruction This is in the form 'cmp reg,NR_syscalls'.""" @@ -107,9 +107,13 @@ class Check_syscall(plugins.PluginInterface): return 0 vmlinux = self.context.modules[self.config["kernel"]] - data = self.context.layers.read(vmlinux.layer_name, func_addr, 6) + vmlinux_layer = self.context.layers[vmlinux.layer_name] + try: + data = vmlinux_layer.read(func_addr, 6) + except exceptions.InvalidAddressException: + return 0 - for address, size, mnemonic, op_str in md.disasm_lite(data, func_addr): + for _address, _size, mnemonic, op_str in md.disasm_lite(data, func_addr): if mnemonic == "CMP": table_size = int(op_str.split(",")[1].strip()) & 0xFFFF break From 6dac7195dc88518fa8b40a70d57e855d40b30b01 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 17 Jan 2025 09:50:53 +1100 Subject: [PATCH 1187/2186] linux: elf_linkmap object extension: Use a more generic invalid address exception --- volatility3/framework/symbols/linux/extensions/elf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index eadcbbae0..fb5f89f60 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -437,7 +437,7 @@ class elf_linkmap(objects.StructType): def get_name(self): try: buf = self._context.layers.read(self.vol.layer_name, self.l_name, 256) - except exceptions.PagedInvalidAddressException: + except exceptions.InvalidAddressException: # Protection against memory smear vollog.log( constants.LOGLEVEL_VVVV, From adf81bc74a388d6ff5bffabe588bc5ca72147506 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 16 Jan 2025 19:59:31 +0000 Subject: [PATCH 1188/2186] Update copyright dates --- README.md | 2 +- doc/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cc33d3cc4..b74bdab0b 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ The latest generated copy of the documentation can be found at: Date: Fri, 17 Jan 2025 16:03:47 +0000 Subject: [PATCH 1189/2186] Core: Correct version dependencies to avoid conflicts Fixes #1546 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 86e3921d2..542a1480a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ cloud = [ dev = [ "volatility3[full,cloud]", "jsonschema>=4.23.0,<5", - "pyinstaller>=6.11.0,<7", + "pyinstaller>=6.5.0,<7", "pyinstaller-hooks-contrib>=2024.9", "types-jsonschema>=4.23.0,<5", ] @@ -48,7 +48,7 @@ test = [ docs = [ "volatility3[dev]", - "sphinx>=8.0.0,<7", + "sphinx>=8.0.0,<9", "sphinx-autodoc-typehints>=2.5.0,<3", "sphinx-rtd-theme>=3.0.1,<4", ] From c4430cda8d6b13b0d69a787fe32e8158ae471c3a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 17 Jan 2025 16:09:35 +0000 Subject: [PATCH 1190/2186] Core: Try to maintain python-3.8 support for the documentation --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 542a1480a..8944bb058 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ test = [ docs = [ "volatility3[dev]", "sphinx>=8.0.0,<9", - "sphinx-autodoc-typehints>=2.5.0,<3", + "sphinx-autodoc-typehints>=2.0.0,<3", "sphinx-rtd-theme>=3.0.1,<4", ] From 13a8c53f7b64bc7180b665e363b2a3f0348e8b04 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 17 Jan 2025 16:13:35 +0000 Subject: [PATCH 1191/2186] Core: There was no clear reason to stop supporting older versions of sphinx --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8944bb058..3f16eeece 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ test = [ docs = [ "volatility3[dev]", - "sphinx>=8.0.0,<9", + "sphinx>=4.0.0,<9", "sphinx-autodoc-typehints>=2.0.0,<3", "sphinx-rtd-theme>=3.0.1,<4", ] From cc9486cf03f6f8b8035069f02702ce30a589cb7e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 02:19:11 +0100 Subject: [PATCH 1192/2186] pre-process module triaging to improve readability --- .../framework/plugins/linux/modxview.py | 71 ++++++++++--------- 1 file changed, 38 insertions(+), 33 deletions(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index 3c2c5f05e..125c1cc33 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -82,7 +82,8 @@ class Modxview(interfaces.plugins.PluginInterface): kernel_name: str, run_hidden_modules: bool = True, ) -> Dict[str, List[extensions.module]]: - """Run module scanning plugins and aggregate the results. + """Run module scanning plugins and aggregate the results. It is designed + to not operate any inter-plugin results triage. Args: run_hidden_modules: specify if the hidden_modules plugin should be run @@ -128,46 +129,50 @@ class Modxview(interfaces.plugins.PluginInterface): def _generator(self): kernel_name = self.config["kernel"] run_results = self.run_modules_scanners(self.context, kernel_name) - modules_offsets = {} - for key in ["lsmod", "check_modules", "hidden_modules"]: - modules_offsets[key] = set(module.vol.offset for module in run_results[key]) + aggregated_modules = {} + # We want to be explicit on the plugins results we are interested in + for plugin_name in ["lsmod", "check_modules", "hidden_modules"]: + # Iterate over each recovered module + for module in run_results[plugin_name]: + # Use offsets as unique keys, whether a module + # appears in many plugin runs or not + if aggregated_modules.get(module.vol.offset): + # Append the plugin to the list of originating plugins + aggregated_modules[module.vol.offset][1].append(plugin_name) + else: + aggregated_modules[module.vol.offset] = (module, [plugin_name]) - seen_addresses = set() - for modules_list in run_results.values(): - for module in modules_list: - if module.vol.offset in seen_addresses: - continue - seen_addresses.add(module.vol.offset) - - if self.config.get("plain_taints"): - taints = tainting.Tainting.get_taints_as_plain_string( + for module_offset, (module, originating_plugins) in aggregated_modules.items(): + # Tainting parsing capabilities applied to the module + if self.config.get("plain_taints"): + taints = tainting.Tainting.get_taints_as_plain_string( + self.context, + kernel_name, + module.taints, + True, + ) + else: + taints = ",".join( + tainting.Tainting.get_taints_parsed( self.context, kernel_name, module.taints, True, ) - else: - taints = ",".join( - tainting.Tainting.get_taints_parsed( - self.context, - kernel_name, - module.taints, - True, - ) - ) - - yield ( - 0, - ( - module.get_name() or NotAvailableValue(), - format_hints.Hex(module.vol.offset), - module.vol.offset in modules_offsets["lsmod"], - module.vol.offset in modules_offsets["check_modules"], - module.vol.offset in modules_offsets["hidden_modules"], - taints or NotAvailableValue(), - ), ) + yield ( + 0, + ( + module.get_name() or NotAvailableValue(), + format_hints.Hex(module_offset), + "lsmod" in originating_plugins, + "check_modules" in originating_plugins, + "hidden_modules" in originating_plugins, + taints or NotAvailableValue(), + ), + ) + def run(self): columns = [ ("Name", str), From 3b679cbafbb50a2c986a63efd223cf9088bbc330 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 13:26:43 +0100 Subject: [PATCH 1193/2186] explicit None check --- volatility3/framework/plugins/linux/modxview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index 125c1cc33..c74bf28e8 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -136,7 +136,7 @@ class Modxview(interfaces.plugins.PluginInterface): for module in run_results[plugin_name]: # Use offsets as unique keys, whether a module # appears in many plugin runs or not - if aggregated_modules.get(module.vol.offset): + if aggregated_modules.get(module.vol.offset, None) is not None: # Append the plugin to the list of originating plugins aggregated_modules[module.vol.offset][1].append(plugin_name) else: From bb6556dbc0145682866d56bb2608b5b841e381e8 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 13:37:52 +0100 Subject: [PATCH 1194/2186] correct arguments for pre_4_10_rc1 --- volatility3/framework/symbols/linux/utilities/tainting.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/tainting.py b/volatility3/framework/symbols/linux/utilities/tainting.py index 552f51b98..14b69d3d6 100644 --- a/volatility3/framework/symbols/linux/utilities/tainting.py +++ b/volatility3/framework/symbols/linux/utilities/tainting.py @@ -117,9 +117,7 @@ class Tainting(interfaces.configuration.VersionableInterface): return cls._module_flags_taint_post_4_10_rc1( context, kernel_module_name, taints, is_module ) - return cls._module_flags_taint_pre_4_10_rc1( - context, kernel_module_name, taints, is_module - ) + return cls._module_flags_taint_pre_4_10_rc1(taints, is_module) @classmethod def get_taints_parsed( From 0b82f731375583076abdfabd332ce067612d69f5 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 13:45:30 +0100 Subject: [PATCH 1195/2186] functools caching and doc. --- .../framework/symbols/linux/utilities/tainting.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/volatility3/framework/symbols/linux/utilities/tainting.py b/volatility3/framework/symbols/linux/utilities/tainting.py index 14b69d3d6..c1136436e 100644 --- a/volatility3/framework/symbols/linux/utilities/tainting.py +++ b/volatility3/framework/symbols/linux/utilities/tainting.py @@ -1,3 +1,5 @@ +import functools + from volatility3 import framework from volatility3.framework import interfaces from volatility3.framework.constants import linux as linux_constants @@ -18,11 +20,18 @@ class Tainting(interfaces.configuration.VersionableInterface): framework.require_interface_version(*_required_framework_version) @classmethod + @functools.lru_cache def _get_kernel_taint_flags_list( cls, context: interfaces.context.ContextInterface, kernel_module_name: str, ) -> Optional[List[interfaces.objects.ObjectInterface]]: + """Determine whether the kernel embeds taint flags definition + in-memory or not. + + Returns: + A list of "taint_flag" kernel objects if taint_flags symbok exists + """ kernel = context.modules[kernel_module_name] if kernel.has_symbol("taint_flags"): return list(kernel.object_from_symbol("taint_flags")) From 8095924e8a926990f6002f16d2c7259c5c750980 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 13:46:13 +0100 Subject: [PATCH 1196/2186] typo --- volatility3/framework/symbols/linux/utilities/tainting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/utilities/tainting.py b/volatility3/framework/symbols/linux/utilities/tainting.py index c1136436e..2360401d5 100644 --- a/volatility3/framework/symbols/linux/utilities/tainting.py +++ b/volatility3/framework/symbols/linux/utilities/tainting.py @@ -30,7 +30,7 @@ class Tainting(interfaces.configuration.VersionableInterface): in-memory or not. Returns: - A list of "taint_flag" kernel objects if taint_flags symbok exists + A list of "taint_flag" kernel objects if taint_flags symbol exists """ kernel = context.modules[kernel_module_name] if kernel.has_symbol("taint_flags"): From 2fe8ee5983bd5faf8a89db5712512aa411329dbc Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 18 Jan 2025 13:18:53 +0000 Subject: [PATCH 1197/2186] Layers: Update LeechCore RawIO with better error handling for readlines Fixes #1419 --- volatility3/framework/layers/leechcore.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/framework/layers/leechcore.py b/volatility3/framework/layers/leechcore.py index eeede1673..06c359203 100644 --- a/volatility3/framework/layers/leechcore.py +++ b/volatility3/framework/layers/leechcore.py @@ -129,6 +129,8 @@ if HAS_LEECHCORE: def readline(self, __size: Optional[int] = ...) -> bytes: data = b"" + if not __size: + __size = 0 while __size > self._chunk_size or __size < 0: data += self.read(self._chunk_size) index = data.find(b"\n") From 0849c163a1c517fa8595f9cc7610a737d1904fc2 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 14:48:37 +0100 Subject: [PATCH 1198/2186] appropriate symbols type hinting --- volatility3/framework/contexts/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index f527544c0..17a91e827 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -337,7 +337,7 @@ class Module(interfaces.context.ModuleInterface): ) @property - def symbols(self): + def symbols(self) -> Iterable[str]: return self.context.symbol_space[self.symbol_table_name].symbols get_symbol = get_module_wrapper("get_symbol") From d46cb3328d07ae2216045ba3fc33679c2ab13fbc Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 14:48:46 +0100 Subject: [PATCH 1199/2186] appropriate symbols type hinting --- volatility3/framework/interfaces/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index a87e0f1e8..2b95a18ad 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -303,8 +303,8 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): """Determines whether an enumeration is present in the module's symbol table.""" @abstractmethod - def symbols(self) -> List: - """Lists the symbols contained in the symbol table for this module""" + def symbols(self) -> Iterable[str]: + """Returns an iterable of the symbols contained in the symbol table for this module""" @abstractmethod def get_symbols_by_absolute_location(self, offset: int, size: int = 0) -> List[str]: From fb93d2333b8d3854d348548decc76ac67f358699 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 14:50:14 +0100 Subject: [PATCH 1200/2186] improve comments --- volatility3/framework/interfaces/symbols.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/interfaces/symbols.py b/volatility3/framework/interfaces/symbols.py index b8712e38d..c0bebe1e2 100644 --- a/volatility3/framework/interfaces/symbols.py +++ b/volatility3/framework/interfaces/symbols.py @@ -122,7 +122,7 @@ class BaseSymbolTableInterface: @property def symbols(self) -> Iterable[str]: - """Returns an iterator of the Symbol names.""" + """Returns an iterable of the available symbol names.""" raise NotImplementedError( "Abstract property symbols not implemented by subclass." ) @@ -131,7 +131,7 @@ class BaseSymbolTableInterface: @property def types(self) -> Iterable[str]: - """Returns an iterator of the Symbol type names.""" + """Returns an iterable of the available symbol type names.""" raise NotImplementedError( "Abstract property types not implemented by subclass." ) @@ -149,7 +149,7 @@ class BaseSymbolTableInterface: @property def enumerations(self) -> Iterable[Any]: - """Returns an iterator of the Enumeration names.""" + """Returns an iterable of the available enumerations names.""" raise NotImplementedError( "Abstract property enumerations not implemented by subclass." ) @@ -366,6 +366,7 @@ class NativeTableInterface(BaseSymbolTableInterface): @property def symbols(self) -> Iterable[str]: + """Returns an iterable of the available symbol names.""" return [] def get_enumeration(self, name: str) -> objects.Template: From 1e9551b0530be824ab8d9a40db57cbd813d48136 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 14:50:28 +0100 Subject: [PATCH 1201/2186] types base class and comments improvements --- volatility3/framework/interfaces/symbols.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/symbols.py b/volatility3/framework/interfaces/symbols.py index c0bebe1e2..752d288f7 100644 --- a/volatility3/framework/interfaces/symbols.py +++ b/volatility3/framework/interfaces/symbols.py @@ -375,7 +375,13 @@ class NativeTableInterface(BaseSymbolTableInterface): ) @property - def enumerations(self) -> Iterable[str]: + def enumerations(self) -> Iterable[Any]: + """Returns an iterable of the available enumerations.""" + return [] + + @property + def types(self) -> Iterable[str]: + """Returns an iterable of the available symbol type names.""" return [] From aa99410dd2c50ee556293db959c469739c882684 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 14:51:31 +0100 Subject: [PATCH 1202/2186] prefer KeysView iterable to lists --- volatility3/framework/symbols/intermed.py | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/symbols/intermed.py b/volatility3/framework/symbols/intermed.py index 6802af7d6..0a30148aa 100644 --- a/volatility3/framework/symbols/intermed.py +++ b/volatility3/framework/symbols/intermed.py @@ -411,18 +411,23 @@ class Version1Format(ISFormatTable): @property def symbols(self) -> Iterable[str]: - """Returns an iterator of the symbol names.""" - return list(self._json_object.get("symbols", {})) + """Returns an iterable (KeysView) of the available symbol names.""" + return self._json_object.get("symbols", {}).keys() @property - def enumerations(self) -> Iterable[str]: - """Returns an iterator of the available enumerations.""" - return list(self._json_object.get("enums", {})) + def enumerations(self) -> Iterable[Any]: + """Returns an iterable (KeysView) of the available enumerations.""" + return self._json_object.get("enums", {}).keys() @property - def types(self) -> Iterable[str]: - """Returns an iterator of the symbol type names.""" - return list(self._json_object.get("user_types", {})) + list(self.natives.types) + def types(self): + """Returns an iterable (KeysView) of the available symbol type names.""" + # self.natives.types (set) is generally very small compared to user_types, + # so the dict conversion overhead can be neglected + return { + **self._json_object.get("user_types", {}), + **dict.fromkeys(self.natives.types), + }.keys() def get_type_class(self, name: str) -> Type[interfaces.objects.ObjectInterface]: return self._overrides.get(name, objects.AggregateType) From 3a2933155b6f92a8585666f611cd2069424ce5a9 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 14:51:52 +0100 Subject: [PATCH 1203/2186] improve comments --- volatility3/framework/symbols/native.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/native.py b/volatility3/framework/symbols/native.py index 7c3e1b312..61417532e 100644 --- a/volatility3/framework/symbols/native.py +++ b/volatility3/framework/symbols/native.py @@ -30,7 +30,7 @@ class NativeTable(interfaces.symbols.NativeTableInterface): @property def types(self) -> Iterable[str]: - """Returns an iterator of the symbol type names.""" + """Returns an iterable (set) of the available symbol type names.""" return self._types def get_type(self, type_name: str) -> interfaces.objects.Template: From ba09db6952d37590f62a647265c2bb5bb903ec3c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 14:54:04 +0100 Subject: [PATCH 1204/2186] improve comments --- volatility3/framework/interfaces/symbols.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/symbols.py b/volatility3/framework/interfaces/symbols.py index 752d288f7..2d142de9a 100644 --- a/volatility3/framework/interfaces/symbols.py +++ b/volatility3/framework/interfaces/symbols.py @@ -149,7 +149,7 @@ class BaseSymbolTableInterface: @property def enumerations(self) -> Iterable[Any]: - """Returns an iterable of the available enumerations names.""" + """Returns an iterable of the available enumerations.""" raise NotImplementedError( "Abstract property enumerations not implemented by subclass." ) From 4b3d93b0f0637c7d41acc545f397e3522a913978 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 15:00:03 +0100 Subject: [PATCH 1205/2186] 2.17.0 -> 2.18.0 bump --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 3d68ab810..832b2a5ba 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 17 # Number of changes that only add to the interface +VERSION_MINOR = 18 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" From c5628c5d79496ae051942598bab08c19d3632a18 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 15:48:44 +0100 Subject: [PATCH 1206/2186] revert the mistakenly removed types type hinting --- volatility3/framework/symbols/intermed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/intermed.py b/volatility3/framework/symbols/intermed.py index 0a30148aa..9ece69d8b 100644 --- a/volatility3/framework/symbols/intermed.py +++ b/volatility3/framework/symbols/intermed.py @@ -420,7 +420,7 @@ class Version1Format(ISFormatTable): return self._json_object.get("enums", {}).keys() @property - def types(self): + def types(self) -> Iterable[str]: """Returns an iterable (KeysView) of the available symbol type names.""" # self.natives.types (set) is generally very small compared to user_types, # so the dict conversion overhead can be neglected From 0ee016e65554539318705a5b7c292864fcc2f436 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 15:50:28 +0100 Subject: [PATCH 1207/2186] 2.17.0 -> 2.17.1 bump --- volatility3/framework/constants/_version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 832b2a5ba..041439909 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 18 # Number of changes that only add to the interface -VERSION_PATCH = 0 # Number of changes that do not change the interface +VERSION_MINOR = 17 # Number of changes that only add to the interface +VERSION_PATCH = 1 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From c2ef3c2fe575f2c3ea49541b7e1207e7d93884f1 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 18 Jan 2025 15:59:51 +0100 Subject: [PATCH 1208/2186] add fixme about merge operator --- volatility3/framework/symbols/intermed.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/intermed.py b/volatility3/framework/symbols/intermed.py index 9ece69d8b..cb0b67969 100644 --- a/volatility3/framework/symbols/intermed.py +++ b/volatility3/framework/symbols/intermed.py @@ -422,8 +422,12 @@ class Version1Format(ISFormatTable): @property def types(self) -> Iterable[str]: """Returns an iterable (KeysView) of the available symbol type names.""" - # self.natives.types (set) is generally very small compared to user_types, - # so the dict conversion overhead can be neglected + # We use ** instead of + # `set(self._json_object.get("user_types", {}).keys()).union(self.natives.types)` + # because converting user_types dict to a set is costly. + # It is more efficient to convert the (very small) self.natives.types set to a dict. + # FIXME: On Python3.8 support drop, merge the two dicts using the merge operator: + # (self._json_object.get("user_types", {}) | dict.fromkeys(self.natives.types)).keys() return { **self._json_object.get("user_types", {}), **dict.fromkeys(self.natives.types), From 726fbe6ccec8480c1baa74fadcc7fc4e87377bcd Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 13:01:14 +0100 Subject: [PATCH 1209/2186] 2.17.1 -> 2.18.0 bump --- volatility3/framework/constants/_version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 041439909..832b2a5ba 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 17 # Number of changes that only add to the interface -VERSION_PATCH = 1 # Number of changes that do not change the interface +VERSION_MINOR = 18 # Number of changes that only add to the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From 08830fee05c30adfc5ea4e997ce317f6f6927033 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 15:06:42 +0100 Subject: [PATCH 1210/2186] use architectures.LINUX_ARCHS --- volatility3/framework/plugins/linux/pagecache.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 382268515..408a9b98a 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -8,6 +8,7 @@ import datetime from dataclasses import dataclass, astuple from typing import List, Set, Type, Iterable +from volatility3.framework.constants import architectures from volatility3.framework import renderers, interfaces from volatility3.framework.renderers import format_hints from volatility3.framework.interfaces import plugins @@ -112,7 +113,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.ModuleRequirement( name="kernel", description="Linux kernel", - architectures=["Intel32", "Intel64"], + architectures=architectures.LINUX_ARCHS, ), requirements.PluginRequirement( name="mountinfo", plugin=mountinfo.MountInfo, version=(1, 2, 0) @@ -397,7 +398,7 @@ class InodePages(plugins.PluginInterface): requirements.ModuleRequirement( name="kernel", description="Linux kernel", - architectures=["Intel32", "Intel64"], + architectures=architectures.LINUX_ARCHS, ), requirements.PluginRequirement( name="files", plugin=Files, version=(1, 0, 0) From d325e1ca176b55f68de03f462ca855631736ef6c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 15:08:27 +0100 Subject: [PATCH 1211/2186] add inode_size and format_symlink to Inode* dataclasses --- volatility3/framework/plugins/linux/pagecache.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 408a9b98a..c86664f3d 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -38,6 +38,11 @@ class InodeUser: modification_time: str change_time: str path: str + inode_size: int + + @staticmethod + def format_symlink(symlink_source: str, symlink_dest: str): + return f"{symlink_source} -> {symlink_dest}" @dataclass @@ -81,6 +86,7 @@ class InodeInternal: access_time_dt = self.inode.get_access_time() modification_time_dt = self.inode.get_modification_time() change_time_dt = self.inode.get_change_time() + inode_size = int(self.inode.i_size) inode_user = InodeUser( superblock_addr=superblock_addr, @@ -96,6 +102,7 @@ class InodeInternal: modification_time=modification_time_dt, change_time=change_time_dt, path=self.path, + inode_size=inode_size, ) return inode_user From 1d0159325fbf04bb5029a9ed4ae2ea1acc770cee Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 15:09:20 +0100 Subject: [PATCH 1212/2186] switch to InodeUser.format_symlink --- volatility3/framework/plugins/linux/pagecache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index c86664f3d..a0dd8efe4 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -156,10 +156,10 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): """ # i_link (fast symlinks) were introduced in 4.2 if inode and inode.is_link and inode.has_member("i_link") and inode.i_link: - i_link_str = inode.i_link.dereference().cast( + symlink_dest = inode.i_link.dereference().cast( "string", max_length=255, encoding="utf-8", errors="replace" ) - symlink_path = f"{symlink_path} -> {i_link_str}" + symlink_path = InodeUser.format_symlink(symlink_path, symlink_dest) return symlink_path From 48a8f3929bbe992ff687a494e3ea0e6a7446f42c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 15:10:32 +0100 Subject: [PATCH 1213/2186] add and leverage follow_symlinks parameter --- volatility3/framework/plugins/linux/pagecache.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index a0dd8efe4..4871d0d0f 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -220,12 +220,14 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str, + follow_symlinks: bool = True, ) -> Iterable[InodeInternal]: """Retrieves the inodes from the superblocks Args: context: The context that the plugin will operate within vmlinux_module_name: The name of the kernel module on which to operate + follow_symlinks: Whether to follow symlinks or not Yields: An InodeInternal object @@ -297,7 +299,9 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): continue seen_inodes.add(file_inode_ptr) - file_path = cls._follow_symlink(file_inode_ptr, file_path) + if follow_symlinks: + file_path = cls._follow_symlink(file_inode_ptr, file_path) + inode_in = InodeInternal( superblock=superblock, mountpoint=mountpoint, From 6f2ff4f7c6f702c11bf7d75b5ab78cb8f5881a20 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 15:11:03 +0100 Subject: [PATCH 1214/2186] add InodeSize column to Files --- volatility3/framework/plugins/linux/pagecache.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 4871d0d0f..770c6391a 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -389,6 +389,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): ("ModificationTime", datetime.datetime), ("ChangeTime", datetime.datetime), ("FilePath", str), + ("InodeSize", int), ] return renderers.TreeGrid( From 85941060051b530350ad8e770de4c1f2d3edefee Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 15:12:10 +0100 Subject: [PATCH 1215/2186] 1.0.1 -> 1.2.0 Files bump --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 770c6391a..d57bd77f8 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -112,7 +112,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 2, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From e8b44efc17dbfd6e412436d324702ed3e4cc7c7f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 15:13:26 +0100 Subject: [PATCH 1216/2186] add and leverage write_inode_content_to_stream --- .../framework/plugins/linux/pagecache.py | 60 ++++++++++++------- 1 file changed, 38 insertions(+), 22 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index d57bd77f8..42fa7538f 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -6,7 +6,7 @@ import math import logging import datetime from dataclasses import dataclass, astuple -from typing import List, Set, Type, Iterable +from typing import List, Set, Type, Iterable, IO from volatility3.framework.constants import architectures from volatility3.framework import renderers, interfaces @@ -452,31 +452,47 @@ class InodePages(plugins.PluginInterface): vollog.error("The inode is not a regular file") return None - # By using truncate/seek, provided the filesystem supports it, a sparse file will be + try: + with open_method(filename) as f: + InodePages.write_inode_content_to_stream(inode, f, vmlinux_layer) + except OSError as e: + vollog.error("Unable to write to file (%s): %s", filename, e) + + @staticmethod + def write_inode_content_to_stream( + inode: interfaces.objects.ObjectInterface, + stream: IO, + vmlinux_layer: interfaces.layers.TranslationLayerInterface, + ) -> None: + """Extracts the inode's contents from the page cache and saves them to a stream + + Args: + inode: The inode to dump + stream: A IO steam to write to, typically FileHandlerInterface or BytesIO + vmlinux_layer: The kernel layer to obtain the page size + """ + + # By using truncate/seek, provided the filesystem supports it, and the + # stream is a File interface, a sparse file will be # created, saving both disk space and I/O time. # Additionally, using the page index will guarantee that each page is written at the # appropriate file position. - try: - with open_method(filename) as f: - inode_size = inode.i_size - f.truncate(inode_size) + inode_size = inode.i_size + stream.truncate(inode_size) - for page_idx, page_content in inode.get_contents(): - current_fp = page_idx * vmlinux_layer.page_size - max_length = inode_size - current_fp - page_bytes = page_content[:max_length] - if current_fp + len(page_bytes) > inode_size: - vollog.error( - "Page out of file bounds: inode 0x%x, inode size %d, page index %d", - inode.vol.offset, - inode_size, - page_idx, - ) - f.seek(current_fp) - f.write(page_bytes) - - except OSError as e: - vollog.error("Unable to write to file (%s): %s", filename, e) + for page_idx, page_content in inode.get_contents(): + current_fp = page_idx * vmlinux_layer.page_size + max_length = inode_size - current_fp + page_bytes = page_content[:max_length] + if current_fp + len(page_bytes) > inode_size: + vollog.error( + "Page out of file bounds: inode 0x%x, inode size %d, page index %d", + inode.vol.offset, + inode_size, + page_idx, + ) + stream.seek(current_fp) + stream.write(page_bytes) def _generator(self): vmlinux_module_name = self.config["kernel"] From 818ddb746bb5bcbf45fe22fb54e8022d75d5fedd Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 15:15:55 +0100 Subject: [PATCH 1217/2186] 2.0.0 -> 2.1.0 InodePages bump --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 42fa7538f..feac31bb7 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -402,7 +402,7 @@ class InodePages(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (2, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From da068676d13eeefae033e46f8a916d91881bc2a6 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 15:16:09 +0100 Subject: [PATCH 1218/2186] typo --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index feac31bb7..e87bc2c9d 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -468,7 +468,7 @@ class InodePages(plugins.PluginInterface): Args: inode: The inode to dump - stream: A IO steam to write to, typically FileHandlerInterface or BytesIO + stream: An IO steam to write to, typically FileHandlerInterface or BytesIO vmlinux_layer: The kernel layer to obtain the page size """ From 452d6e705b973213238becd22d736f6ee1cb45e0 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 16:26:25 +0100 Subject: [PATCH 1219/2186] 1.0.1 -> 1.1.0 Files bump --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index e87bc2c9d..89d30a9eb 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -112,7 +112,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): _required_framework_version = (2, 0, 0) - _version = (1, 2, 0) + _version = (1, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From ecae545f5897e7c9a59d231d0b3f04b195cbf169 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 17:05:52 +0100 Subject: [PATCH 1220/2186] typo --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 7d211150a..850045244 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2948,7 +2948,7 @@ class scatterlist(objects.StructType): Returns: An iterator of bytes """ - # Either "physical" is layer-1 because this is a module layer, either "physical" is the current layer + # Either "physical" is layer-1 because this is a module layer, or "physical" is the current layer physical_layer_name = self._context.layers[self.vol.layer_name].config.get( "memory_layer", self.vol.layer_name ) From eddba98ef7c8c72162233dd19332e770d2a916d7 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 17:09:59 +0100 Subject: [PATCH 1221/2186] type hint format_symlink --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 89d30a9eb..d98103368 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -41,7 +41,7 @@ class InodeUser: inode_size: int @staticmethod - def format_symlink(symlink_source: str, symlink_dest: str): + def format_symlink(symlink_source: str, symlink_dest: str) -> str: return f"{symlink_source} -> {symlink_dest}" From 59703045c78941a12087a295b18cc8bc98414a06 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 17:26:42 +0100 Subject: [PATCH 1222/2186] switch calling convention to context and layer name --- .../framework/plugins/linux/pagecache.py | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index d98103368..d5297ab10 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -435,18 +435,20 @@ class InodePages(plugins.PluginInterface): @staticmethod def write_inode_content_to_file( + context: interfaces.context.ContextInterface, + layer_name: str, inode: interfaces.objects.ObjectInterface, filename: str, open_method: Type[interfaces.plugins.FileHandlerInterface], - vmlinux_layer: interfaces.layers.TranslationLayerInterface, ) -> None: """Extracts the inode's contents from the page cache and saves them to a file Args: + context: The context on which to operate + layer_name: The name of the layer on which to operate inode: The inode to dump filename: Filename for writing the inode content open_method: class for constructing output files - vmlinux_layer: The kernel layer to obtain the page size """ if not inode.is_reg: vollog.error("The inode is not a regular file") @@ -454,24 +456,26 @@ class InodePages(plugins.PluginInterface): try: with open_method(filename) as f: - InodePages.write_inode_content_to_stream(inode, f, vmlinux_layer) + InodePages.write_inode_content_to_stream(context, layer_name, inode, f) except OSError as e: vollog.error("Unable to write to file (%s): %s", filename, e) @staticmethod def write_inode_content_to_stream( + context: interfaces.context.ContextInterface, + layer_name: str, inode: interfaces.objects.ObjectInterface, stream: IO, - vmlinux_layer: interfaces.layers.TranslationLayerInterface, ) -> None: """Extracts the inode's contents from the page cache and saves them to a stream Args: + context: The context on which to operate + layer_name: The name of the layer on which to operate inode: The inode to dump stream: An IO steam to write to, typically FileHandlerInterface or BytesIO - vmlinux_layer: The kernel layer to obtain the page size """ - + layer = context.layers[layer_name] # By using truncate/seek, provided the filesystem supports it, and the # stream is a File interface, a sparse file will be # created, saving both disk space and I/O time. @@ -481,7 +485,7 @@ class InodePages(plugins.PluginInterface): stream.truncate(inode_size) for page_idx, page_content in inode.get_contents(): - current_fp = page_idx * vmlinux_layer.page_size + current_fp = page_idx * layer.page_size max_length = inode_size - current_fp page_bytes = page_content[:max_length] if current_fp + len(page_bytes) > inode_size: @@ -557,7 +561,7 @@ class InodePages(plugins.PluginInterface): filename = open_method.sanitize_filename(f"inode_0x{inode_address:x}.dmp") vollog.info("[*] Writing inode at 0x%x to '%s'", inode_address, filename) self.write_inode_content_to_file( - inode, filename, open_method, vmlinux_layer + self.context, vmlinux_layer.name, inode, filename, open_method ) def run(self): From a02243bb3c4a14076cda7a516c7499e1734f19d0 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 17:27:27 +0100 Subject: [PATCH 1223/2186] 2.1.0 -> 3.0.0 InodePages bump --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index d5297ab10..a86c1b936 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -402,7 +402,7 @@ class InodePages(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (2, 1, 0) + _version = (3, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From d42ffc01e22672602a346b21f90b3733cd02db3e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 19 Jan 2025 17:33:47 +0100 Subject: [PATCH 1224/2186] typo --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index a86c1b936..77aa42338 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -473,7 +473,7 @@ class InodePages(plugins.PluginInterface): context: The context on which to operate layer_name: The name of the layer on which to operate inode: The inode to dump - stream: An IO steam to write to, typically FileHandlerInterface or BytesIO + stream: An IO stream to write to, typically FileHandlerInterface or BytesIO """ layer = context.layers[layer_name] # By using truncate/seek, provided the filesystem supports it, and the From 74b98e62c7aa4ca721f48651243122fa222548a5 Mon Sep 17 00:00:00 2001 From: ikelos Date: Sun, 19 Jan 2025 23:42:41 +0000 Subject: [PATCH 1225/2186] Revert "Add missing exception handling in env var recovery. Prevent backtraces" --- volatility3/framework/plugins/linux/envars.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index 04b75c8a8..8cdbfe493 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -5,7 +5,7 @@ import logging from typing import Iterable, Tuple -from volatility3.framework import renderers, interfaces, exceptions +from volatility3.framework import renderers, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -58,16 +58,10 @@ class Envars(plugins.PluginInterface): Tuples of (key, value) representing each environment variable. """ - # This ensures the `task` is valid as well as its - # memory mapping structures - try: - task_name = utility.array_to_string(task.comm) - env_start = task.mm.env_start - env_end = task.mm.env_end - except exceptions.InvalidAddressException: - return None - + task_name = utility.array_to_string(task.comm) task_pid = task.pid + env_start = task.mm.env_start + env_end = task.mm.env_end env_area_size = env_end - env_start if not (0 < env_area_size <= env_area_max_size): vollog.debug( From e18bffdde95e4adb0ee89aeb28b3845c53b37687 Mon Sep 17 00:00:00 2001 From: ikelos Date: Sun, 19 Jan 2025 23:51:28 +0000 Subject: [PATCH 1226/2186] Revert "Pre linux.pagecache.recoverfs support" --- .../framework/plugins/linux/pagecache.py | 97 ++++++------------- 1 file changed, 32 insertions(+), 65 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 77aa42338..382268515 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -6,9 +6,8 @@ import math import logging import datetime from dataclasses import dataclass, astuple -from typing import List, Set, Type, Iterable, IO +from typing import List, Set, Type, Iterable -from volatility3.framework.constants import architectures from volatility3.framework import renderers, interfaces from volatility3.framework.renderers import format_hints from volatility3.framework.interfaces import plugins @@ -38,11 +37,6 @@ class InodeUser: modification_time: str change_time: str path: str - inode_size: int - - @staticmethod - def format_symlink(symlink_source: str, symlink_dest: str) -> str: - return f"{symlink_source} -> {symlink_dest}" @dataclass @@ -86,7 +80,6 @@ class InodeInternal: access_time_dt = self.inode.get_access_time() modification_time_dt = self.inode.get_modification_time() change_time_dt = self.inode.get_change_time() - inode_size = int(self.inode.i_size) inode_user = InodeUser( superblock_addr=superblock_addr, @@ -102,7 +95,6 @@ class InodeInternal: modification_time=modification_time_dt, change_time=change_time_dt, path=self.path, - inode_size=inode_size, ) return inode_user @@ -112,7 +104,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): _required_framework_version = (2, 0, 0) - _version = (1, 1, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -120,7 +112,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.ModuleRequirement( name="kernel", description="Linux kernel", - architectures=architectures.LINUX_ARCHS, + architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( name="mountinfo", plugin=mountinfo.MountInfo, version=(1, 2, 0) @@ -156,10 +148,10 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): """ # i_link (fast symlinks) were introduced in 4.2 if inode and inode.is_link and inode.has_member("i_link") and inode.i_link: - symlink_dest = inode.i_link.dereference().cast( + i_link_str = inode.i_link.dereference().cast( "string", max_length=255, encoding="utf-8", errors="replace" ) - symlink_path = InodeUser.format_symlink(symlink_path, symlink_dest) + symlink_path = f"{symlink_path} -> {i_link_str}" return symlink_path @@ -220,14 +212,12 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str, - follow_symlinks: bool = True, ) -> Iterable[InodeInternal]: """Retrieves the inodes from the superblocks Args: context: The context that the plugin will operate within vmlinux_module_name: The name of the kernel module on which to operate - follow_symlinks: Whether to follow symlinks or not Yields: An InodeInternal object @@ -299,9 +289,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): continue seen_inodes.add(file_inode_ptr) - if follow_symlinks: - file_path = cls._follow_symlink(file_inode_ptr, file_path) - + file_path = cls._follow_symlink(file_inode_ptr, file_path) inode_in = InodeInternal( superblock=superblock, mountpoint=mountpoint, @@ -389,7 +377,6 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): ("ModificationTime", datetime.datetime), ("ChangeTime", datetime.datetime), ("FilePath", str), - ("InodeSize", int), ] return renderers.TreeGrid( @@ -402,7 +389,7 @@ class InodePages(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (3, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -410,7 +397,7 @@ class InodePages(plugins.PluginInterface): requirements.ModuleRequirement( name="kernel", description="Linux kernel", - architectures=architectures.LINUX_ARCHS, + architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( name="files", plugin=Files, version=(1, 0, 0) @@ -435,68 +422,48 @@ class InodePages(plugins.PluginInterface): @staticmethod def write_inode_content_to_file( - context: interfaces.context.ContextInterface, - layer_name: str, inode: interfaces.objects.ObjectInterface, filename: str, open_method: Type[interfaces.plugins.FileHandlerInterface], + vmlinux_layer: interfaces.layers.TranslationLayerInterface, ) -> None: """Extracts the inode's contents from the page cache and saves them to a file Args: - context: The context on which to operate - layer_name: The name of the layer on which to operate inode: The inode to dump filename: Filename for writing the inode content open_method: class for constructing output files + vmlinux_layer: The kernel layer to obtain the page size """ if not inode.is_reg: vollog.error("The inode is not a regular file") return None - try: - with open_method(filename) as f: - InodePages.write_inode_content_to_stream(context, layer_name, inode, f) - except OSError as e: - vollog.error("Unable to write to file (%s): %s", filename, e) - - @staticmethod - def write_inode_content_to_stream( - context: interfaces.context.ContextInterface, - layer_name: str, - inode: interfaces.objects.ObjectInterface, - stream: IO, - ) -> None: - """Extracts the inode's contents from the page cache and saves them to a stream - - Args: - context: The context on which to operate - layer_name: The name of the layer on which to operate - inode: The inode to dump - stream: An IO stream to write to, typically FileHandlerInterface or BytesIO - """ - layer = context.layers[layer_name] - # By using truncate/seek, provided the filesystem supports it, and the - # stream is a File interface, a sparse file will be + # By using truncate/seek, provided the filesystem supports it, a sparse file will be # created, saving both disk space and I/O time. # Additionally, using the page index will guarantee that each page is written at the # appropriate file position. - inode_size = inode.i_size - stream.truncate(inode_size) + try: + with open_method(filename) as f: + inode_size = inode.i_size + f.truncate(inode_size) - for page_idx, page_content in inode.get_contents(): - current_fp = page_idx * layer.page_size - max_length = inode_size - current_fp - page_bytes = page_content[:max_length] - if current_fp + len(page_bytes) > inode_size: - vollog.error( - "Page out of file bounds: inode 0x%x, inode size %d, page index %d", - inode.vol.offset, - inode_size, - page_idx, - ) - stream.seek(current_fp) - stream.write(page_bytes) + for page_idx, page_content in inode.get_contents(): + current_fp = page_idx * vmlinux_layer.page_size + max_length = inode_size - current_fp + page_bytes = page_content[:max_length] + if current_fp + len(page_bytes) > inode_size: + vollog.error( + "Page out of file bounds: inode 0x%x, inode size %d, page index %d", + inode.vol.offset, + inode_size, + page_idx, + ) + f.seek(current_fp) + f.write(page_bytes) + + except OSError as e: + vollog.error("Unable to write to file (%s): %s", filename, e) def _generator(self): vmlinux_module_name = self.config["kernel"] @@ -561,7 +528,7 @@ class InodePages(plugins.PluginInterface): filename = open_method.sanitize_filename(f"inode_0x{inode_address:x}.dmp") vollog.info("[*] Writing inode at 0x%x to '%s'", inode_address, filename) self.write_inode_content_to_file( - self.context, vmlinux_layer.name, inode, filename, open_method + inode, filename, open_method, vmlinux_layer ) def run(self): From bf76aad1e2367e2db4d561d9cc1cd76a42162420 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 20 Jan 2025 10:28:46 +1100 Subject: [PATCH 1227/2186] linux: page_cache.Files plugin: Ensure the inode's i_link pointer is readable --- volatility3/framework/plugins/linux/pagecache.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 39ed60486..f265241b6 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -147,7 +147,13 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): Otherwise, it returns the same symlink_path """ # i_link (fast symlinks) were introduced in 4.2 - if inode and inode.is_link and inode.has_member("i_link") and inode.i_link: + if ( + inode + and inode.is_link + and inode.has_member("i_link") + and inode.i_link + and inode.i_link.is_readable() + ): i_link_str = inode.i_link.dereference().cast( "string", max_length=255, encoding="utf-8", errors="replace" ) From ec7a101eb92499741cafeb4dea1ab1ef1683a27c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 20 Jan 2025 11:05:09 +1100 Subject: [PATCH 1228/2186] linux: page_cache.InodePages plugin: Remove unnecesary casting --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index f265241b6..32b176b72 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -511,7 +511,7 @@ class InodePages(plugins.PluginInterface): page_vaddr = page_obj.vol.offset page_paddr = page_obj.to_paddr() page_mapping_addr = page_obj.mapping - page_index = int(page_obj.index) + page_index = page_obj.index page_file_offset = page_index * vmlinux_layer.page_size dump_safe = ( page_file_offset < inode_size From dfe3d255c064b9c78edf4f5f58eff6c15cc56486 Mon Sep 17 00:00:00 2001 From: Odysseas Stavrou Date: Mon, 20 Jan 2025 22:25:01 +0200 Subject: [PATCH 1229/2186] Volshell: Update Process retrieval methods with virtual/physical offsets --- volatility3/cli/volshell/linux.py | 58 +++++++++++++++++++++++++++++ volatility3/cli/volshell/windows.py | 47 +++++++++++++++++++++++ 2 files changed, 105 insertions(+) diff --git a/volatility3/cli/volshell/linux.py b/volatility3/cli/volshell/linux.py index cc58fa1c2..9ea3ea1f5 100644 --- a/volatility3/cli/volshell/linux.py +++ b/volatility3/cli/volshell/linux.py @@ -3,6 +3,7 @@ # from typing import Any, List, Optional, Tuple, Union +from enum import Enum from volatility3.cli.volshell import generic from volatility3.framework import constants, interfaces @@ -10,6 +11,16 @@ from volatility3.framework.configuration import requirements from volatility3.plugins.linux import pslist +# Could import the enum from psscan.py to avoid code duplication +class DescExitStateEnum(Enum): + """Enum for linux task exit_state as defined in include/linux/sched.h""" + + TASK_RUNNING = 0x00000000 + EXIT_DEAD = 0x00000010 + EXIT_ZOMBIE = 0x00000020 + EXIT_TRACE = EXIT_ZOMBIE | EXIT_DEAD + + class Volshell(generic.Volshell): """Shell environment to directly interact with a linux memory image.""" @@ -40,6 +51,52 @@ class Volshell(generic.Volshell): return None print(f"No task with task ID {pid} found") + def get_process(self, pid=None, offset=None): + """Get Task based on a process ID. Does not retrieve the layer, to change layer use the .pid attribute. The offset argument can be used both for physical or virtual offsets""" + + if pid is not None and offset is not None: + print("Only one parameter is accepted") + return None + + if offset is not None: + vmlinux_module_name = self.config["kernel"] + vmlinux = self.context.modules[vmlinux_module_name] + + kernel_layer_name = vmlinux.layer_name + kernel_layer = self.context.layers[kernel_layer_name] + + memory_layer_name = kernel_layer.dependencies[0] + + ptask = self.context.object( + vmlinux.symbol_table_name + constants.BANG + "task_struct", + layer_name=memory_layer_name, + offset=offset, + native_layer_name=kernel_layer_name, + ) + + try: + DescExitStateEnum(ptask.exit_state) + except ValueError: + print( + f"task_struct @ {hex(ptask.vol.offset)} as exit_state {ptask.exit_state} is likely not valid" + ) + + if not (0 < ptask.pid < 65535): + print( + f"task_struct @ {hex(ptask.vol.offset)} as pid {ptask.pid} is likely not valid" + ) + + return ptask + + if pid is not None: + tasks = self.list_tasks() + for task in tasks: + if task.pid == pid: + return task + print(f"No task with task ID {pid} found") + + return None + def list_tasks(self): """Returns a list of task objects from the primary layer""" # We always use the main kernel memory and associated symbols @@ -50,6 +107,7 @@ class Volshell(generic.Volshell): result += [ (["ct", "change_task", "cp"], self.change_task), (["lt", "list_tasks", "ps"], self.list_tasks), + (["gp", "get_process"], self.get_process), (["symbols"], self.context.symbol_space[self.current_symbol_table]), ] if self.config.get("pid", None) is not None: diff --git a/volatility3/cli/volshell/windows.py b/volatility3/cli/volshell/windows.py index 303d4d5c3..a77392561 100644 --- a/volatility3/cli/volshell/windows.py +++ b/volatility3/cli/volshell/windows.py @@ -44,11 +44,58 @@ class Volshell(generic.Volshell): ) ) + def get_process(self, pid=None, v_offset=None, p_offset=None): + """Returns the EPROCESS object that matches the pid. If v_offset/p_offset is provided, construct the EPROCESS object at the provided address. Only one parameter is allowed.""" + + if sum(1 if x is not None else 0 for x in [pid, v_offset, p_offset]) != 1: + print("Only one parameter is accepted") + return None + + kernel_name = self.config["kernel"] + kernel = self.context.modules[kernel_name] + + kernel_layer_name = kernel.layer_name + + kernel_layer = self.context.layers[kernel_layer_name] + memory_layer_name = kernel_layer.dependencies[0] + + eprocess_symbol = kernel.symbol_table_name + constants.BANG + "_EPROCESS" + + if v_offset is not None: + eproc = self.context.object( + eprocess_symbol, + layer_name=kernel_layer_name, + offset=v_offset, + ) + + return eproc + + if p_offset is not None: + eproc = self.context.object( + eprocess_symbol, + layer_name=memory_layer_name, + offset=p_offset, + native_layer_name=kernel_layer_name, + ) + + return eproc + + if pid is not None: + processes = self.list_processes() + for process in processes: + if process.UniqueProcessId == pid: + return process + print(f"No process with process ID {pid} found") + return None + + return None + def construct_locals(self) -> List[Tuple[List[str], Any]]: result = super().construct_locals() result += [ (["cp", "change_process"], self.change_process), (["lp", "list_processes", "ps"], self.list_processes), + (["gp", "get_process"], self.get_process), (["symbols"], self.context.symbol_space[self.current_symbol_table]), ] if self.config.get("pid", None) is not None: From b8e8fb6e92e403bfad4e52675e2737b9eb7ba49c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 21 Jan 2025 18:37:04 +0100 Subject: [PATCH 1230/2186] initial split linux modules utilities --- .../symbols/linux/utilities/modules.py | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 volatility3/framework/symbols/linux/utilities/modules.py diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py new file mode 100644 index 000000000..bb8519643 --- /dev/null +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -0,0 +1,41 @@ +from volatility3 import framework +from volatility3.framework import interfaces +from volatility3.framework.symbols.linux import extensions, LinuxUtilities +from typing import Iterable, Optional + + +class Modules(interfaces.configuration.VersionableInterface): + """Kernel modules related utilities.""" + + _version = (1, 0, 0) + _required_framework_version = (2, 0, 0) + + framework.require_interface_version(*_required_framework_version) + + @classmethod + def module_lookup_by_address( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + modules: Iterable[extensions.module], + target_address: int, + ) -> Optional[extensions.module]: + """ + Determine if a target address lies in a module memory space. + Returns the module where the provided address lies. + + Args: + context: The context on which to operate + layer_name: The name of the layer on which to operate + modules: An iterable containing the modules to match the address against + target_address: The address to check for a match + """ + + for module in modules: + _, start, end = LinuxUtilities.mask_mods_list( + context, layer_name, [module] + )[0] + if start <= target_address <= end: + return module + + return None From f007a28ee7e76ee85ec0641581d2acf506195121 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 21 Jan 2025 18:37:55 +0100 Subject: [PATCH 1231/2186] initial linux.tracing.ftrace.Check_ftrace --- .../framework/plugins/linux/tracing/ftrace.py | 285 ++++++++++++++++++ 1 file changed, 285 insertions(+) create mode 100644 volatility3/framework/plugins/linux/tracing/ftrace.py diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py new file mode 100644 index 000000000..ba52a93ce --- /dev/null +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -0,0 +1,285 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +# Public researches: https://i.blackhat.com/USA21/Wednesday-Handouts/us-21-Fixing-A-Memory-Forensics-Blind-Spot-Linux-Kernel-Tracing-wp.pdf + +import logging +from typing import List, Iterable, Tuple, Set +from enum import auto, IntFlag +from volatility3.plugins.linux import hidden_modules, modxview +from volatility3.framework import constants, exceptions, interfaces +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints, TreeGrid, NotAvailableValue +from volatility3.framework.symbols.linux import extensions +from volatility3.framework.symbols.linux.utilities import modules as modules_utilities +from volatility3.framework.constants import architectures + +vollog = logging.getLogger(__name__) + + +# https://docs.python.org/3.13/library/enum.html#enum.IntFlag +class FTRACE_OPS_FLAGS(IntFlag): + """Denote the state of an ftrace_ops struct. + Based on https://elixir.bootlin.com/linux/v6.13-rc3/source/include/linux/ftrace.h#L255. + """ + + FTRACE_OPS_FL_ENABLED = auto() + FTRACE_OPS_FL_DYNAMIC = auto() + FTRACE_OPS_FL_SAVE_REGS = auto() + FTRACE_OPS_FL_SAVE_REGS_IF_SUPPORTED = auto() + FTRACE_OPS_FL_RECURSION = auto() + FTRACE_OPS_FL_STUB = auto() + FTRACE_OPS_FL_INITIALIZED = auto() + FTRACE_OPS_FL_DELETED = auto() + FTRACE_OPS_FL_ADDING = auto() + FTRACE_OPS_FL_REMOVING = auto() + FTRACE_OPS_FL_MODIFYING = auto() + FTRACE_OPS_FL_ALLOC_TRAMP = auto() + FTRACE_OPS_FL_IPMODIFY = auto() + FTRACE_OPS_FL_PID = auto() + FTRACE_OPS_FL_RCU = auto() + FTRACE_OPS_FL_TRACE_ARRAY = auto() + FTRACE_OPS_FL_PERMANENT = auto() + FTRACE_OPS_FL_DIRECT = auto() + FTRACE_OPS_FL_SUBOP = auto() + + +class Check_ftrace(interfaces.plugins.PluginInterface): + """Detect ftrace hooking""" + + _version = (1, 0, 0) + _required_framework_version = (2, 17, 0) + additional_description = """Investigate the ftrace infrastructure to uncover kernel attached callbacks, which can be leveraged + to hook kernel functions and modify their behaviour.""" + _hidden_modules_run = False + """Flag to determine if the hidden_modules plugin was run, + in the context of this plugin.""" + + @staticmethod + def get_requirements() -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=architectures.LINUX_ARCHS, + ), + requirements.VersionRequirement( + name="modules_utilities", + component=modules_utilities.Modules, + version=(1, 0, 0), + ), + requirements.PluginRequirement( + name="modxview", plugin=modxview.Modxview, version=(1, 0, 0) + ), + requirements.PluginRequirement( + name="hidden_modules", + plugin=hidden_modules.Hidden_modules, + version=(1, 0, 0), + ), + requirements.BooleanRequirement( + name="show_ftrace_flags", + description="Show ftrace flags associated with an ftrace_ops struct", + optional=True, + default=False, + ), + ] + + @classmethod + def _set_hidden_modules_run(cls) -> None: + """Use a self-contained setter, to prevent running hidden_modules multiple times.""" + cls._hidden_modules_run = True + + @staticmethod + def extract_hash_table_filters( + ftrace_ops: interfaces.objects.ObjectInterface, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Wrap the process of walking to every ftrace_func_entry of an ftrace_ops. + Those are stored in a hash table of filters that indicates the addresses hooked. + + Args: + ftrace_ops: The ftrace_ops struct to walk through + + Returns: + An iterable of ftrace_func_entry structs + """ + + try: + current_bucket_ptr = ftrace_ops.func_hash.filter_hash.buckets.first + except exceptions.InvalidAddressException: + vollog.log( + constants.LOGLEVEL_VV, + f"ftrace_func_entry list of ftrace_ops@{ftrace_ops.vol.offset:#x} is empty/invalid. Skipping it...", + ) + return [] + + while current_bucket_ptr.is_readable(): + yield current_bucket_ptr.dereference().cast("ftrace_func_entry") + current_bucket_ptr = current_bucket_ptr.next + + @classmethod + def parse_ftrace_ops( + cls, + context: interfaces.context.ContextInterface, + kernel_name: str, + known_modules: Set[extensions.module], + ftrace_ops: interfaces.objects.ObjectInterface, + parse_flags: bool = False, + ) -> Tuple: + """Parse an ftrace_ops struct to highlight ftrace kernel hooking. + Iterates over embedded ftrace_func_entry entries, which point to hooked memory areas. + + Args: + known_modules: A set of known modules to iterate over, used to locate callbacks origin + ftrace_ops: The ftrace_ops struct to parse + parse_flags: Whether to parse ftrace_ops flags or not + + Yields: + A tuple containing a selection of useful fields (callback, hook, module) related to an ftrace_func_entry struct + """ + kernel = context.modules[kernel_name] + callback = ftrace_ops.func + + # Try to lookup within the known modules if the callback address fits + module = modules_utilities.Modules.module_lookup_by_address( + context, kernel.layer_name, known_modules, callback + ) + # Run hidden_modules plugin if a callback origin couldn't be determined (only done once, results are re-used afterwards) + if module is None and not cls._hidden_modules_run: + vollog.info( + f"A callback module origin could not be determined. hidden_modules plugin will be run to detect additional modules.", + ) + known_modules_addresses = set( + context.layers[kernel.layer_name].canonicalize(module.vol.offset) + for module in known_modules + ) + modules_memory_boundaries = ( + hidden_modules.Hidden_modules.get_modules_memory_boundaries( + context, kernel_name + ) + ) + known_modules.update( + hidden_modules.Hidden_modules.get_hidden_modules( + context, + kernel_name, + known_modules_addresses, + modules_memory_boundaries, + ) + ) + cls._set_hidden_modules_run() + # Lookup the updated list to see if hidden_modules was able + # to find the missing module + module = modules_utilities.Modules.module_lookup_by_address( + context, kernel.layer_name, known_modules, callback + ) + + # Fetch more information about the module + if module: + module_address = format_hints.Hex(module.vol.offset) + module_name = module.get_name() or NotAvailableValue() + callback_symbol = ( + module.get_symbol_by_address(callback) or NotAvailableValue() + ) + else: + vollog.warning( + f"Could not determine ftrace_ops@{ftrace_ops.vol.offset:#x} callback {callback:#x} module origin.", + ) + module_address = NotAvailableValue() + module_name = NotAvailableValue() + callback_symbol = NotAvailableValue() + + # Iterate over ftrace_func_entry list + for ftrace_func_entry in cls.extract_hash_table_filters(ftrace_ops): + hook_address = ftrace_func_entry.ip.cast("pointer") + + # Determine the symbols associated with a hook + hooked_symbols = kernel.get_symbols_by_absolute_location(hook_address) + hooked_symbols = ",".join( + [s.split(constants.BANG)[-1] for s in hooked_symbols] + ) + parsed_entry = ( + format_hints.Hex(ftrace_ops.vol.offset), + callback_symbol, + format_hints.Hex(callback), + hooked_symbols or NotAvailableValue(), + module_name, + module_address, + ) + + if parse_flags: + # e.g. FTRACE_OPS_FL_ENABLED,FTRACE_OPS_FL_DYNAMIC + parsed_entry += ( + FTRACE_OPS_FLAGS(ftrace_ops.flags).name.replace("|", ","), + ) + + return parsed_entry + + @staticmethod + def iterate_ftrace_ops_list( + context: interfaces.context.ContextInterface, kernel_name: str + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Iterate over (ftrace_ops *)ftrace_ops_list. + + Returns: + An iterable of ftrace_ops structs + """ + kernel = context.modules[kernel_name] + current_frace_ops_ptr = kernel.object_from_symbol("ftrace_ops_list") + ftrace_list_end = kernel.object_from_symbol("ftrace_list_end") + + while current_frace_ops_ptr.is_readable(): + # ftrace_list_end is not considered a valid struct + # see kernel function test_rec_ops_needs_regs + if current_frace_ops_ptr != ftrace_list_end.vol.offset: + yield current_frace_ops_ptr.dereference() + current_frace_ops_ptr = current_frace_ops_ptr.next + else: + break + + def _generator(self): + kernel_name = self.config["kernel"] + kernel = self.context.modules[kernel_name] + + if not kernel.has_symbol("ftrace_ops_list"): + raise exceptions.SymbolError( + "ftrace_ops_list", + kernel.symbol_table_name, + 'The provided symbol table does not include the "ftrace_ops_list" symbol. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupted.', + ) + + # Do not run hidden_modules by default, but only on failure to find a module + known_modules = set( + modxview.Modxview.flatten_run_modules_results( + modxview.Modxview.run_modules_scanners( + self.context, kernel_name, run_hidden_modules=False + ) + ) + ) + for ftrace_ops in self.iterate_ftrace_ops_list(self.context, kernel_name): + ftrace_ops_parsed = self.parse_ftrace_ops( + self.context, + kernel_name, + known_modules, + ftrace_ops, + self.config.get("show_ftrace_flags"), + ) + if ftrace_ops_parsed is not None: + yield (0, (ftrace_ops_parsed)) + + def run(self): + columns = [ + ("ftrace_ops address", format_hints.Hex), + ("Callback", str), + ("Callback address", format_hints.Hex), + ("Hooked symbols", str), + ("Module", str), + ("Module address", format_hints.Hex), + ] + + if self.config.get("show_ftrace_flags"): + columns.append(("Flags", str)) + + return TreeGrid( + columns, + self._generator(), + ) From 414cab128b06281fb845cb990f698885c0adce18 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 21 Jan 2025 18:38:24 +0100 Subject: [PATCH 1232/2186] 2.18.0 -> 2.19.0 bump --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 832b2a5ba..f2403cf4a 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 18 # Number of changes that only add to the interface +VERSION_MINOR = 19 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" From d5a21340449c1dc63853e05e57aa0b9b06c1e234 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 21 Jan 2025 18:39:02 +0100 Subject: [PATCH 1233/2186] modules utilities __init__.py --- volatility3/framework/plugins/linux/tracing/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 volatility3/framework/plugins/linux/tracing/__init__.py diff --git a/volatility3/framework/plugins/linux/tracing/__init__.py b/volatility3/framework/plugins/linux/tracing/__init__.py new file mode 100644 index 000000000..e69de29bb From 37b792b09c440591abcdfa19d8b49dc32f5b5695 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 21 Jan 2025 18:57:42 +0100 Subject: [PATCH 1234/2186] ruff fix --- volatility3/framework/plugins/linux/tracing/ftrace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index ba52a93ce..01268aa8a 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -53,7 +53,7 @@ class Check_ftrace(interfaces.plugins.PluginInterface): additional_description = """Investigate the ftrace infrastructure to uncover kernel attached callbacks, which can be leveraged to hook kernel functions and modify their behaviour.""" _hidden_modules_run = False - """Flag to determine if the hidden_modules plugin was run, + """Flag to determine if the hidden_modules plugin was run, in the context of this plugin.""" @staticmethod @@ -147,7 +147,7 @@ class Check_ftrace(interfaces.plugins.PluginInterface): # Run hidden_modules plugin if a callback origin couldn't be determined (only done once, results are re-used afterwards) if module is None and not cls._hidden_modules_run: vollog.info( - f"A callback module origin could not be determined. hidden_modules plugin will be run to detect additional modules.", + "A callback module origin could not be determined. hidden_modules plugin will be run to detect additional modules.", ) known_modules_addresses = set( context.layers[kernel.layer_name].canonicalize(module.vol.offset) From 614ac507be14a0500cd9b41d9315c47b218a6aae Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 21 Jan 2025 19:23:38 +0100 Subject: [PATCH 1235/2186] explicit returns and extra Optional type hinting --- .../framework/plugins/linux/tracing/ftrace.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 01268aa8a..a198647d9 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -5,7 +5,7 @@ # Public researches: https://i.blackhat.com/USA21/Wednesday-Handouts/us-21-Fixing-A-Memory-Forensics-Blind-Spot-Linux-Kernel-Tracing-wp.pdf import logging -from typing import List, Iterable, Tuple, Set +from typing import List, Iterable, Optional, Tuple, Set from enum import auto, IntFlag from volatility3.plugins.linux import hidden_modules, modxview from volatility3.framework import constants, exceptions, interfaces @@ -93,7 +93,7 @@ class Check_ftrace(interfaces.plugins.PluginInterface): @staticmethod def extract_hash_table_filters( ftrace_ops: interfaces.objects.ObjectInterface, - ) -> Iterable[interfaces.objects.ObjectInterface]: + ) -> Optional[Iterable[interfaces.objects.ObjectInterface]]: """Wrap the process of walking to every ftrace_func_entry of an ftrace_ops. Those are stored in a hash table of filters that indicates the addresses hooked. @@ -117,6 +117,8 @@ class Check_ftrace(interfaces.plugins.PluginInterface): yield current_bucket_ptr.dereference().cast("ftrace_func_entry") current_bucket_ptr = current_bucket_ptr.next + return None + @classmethod def parse_ftrace_ops( cls, @@ -125,7 +127,7 @@ class Check_ftrace(interfaces.plugins.PluginInterface): known_modules: Set[extensions.module], ftrace_ops: interfaces.objects.ObjectInterface, parse_flags: bool = False, - ) -> Tuple: + ) -> Optional[Tuple]: """Parse an ftrace_ops struct to highlight ftrace kernel hooking. Iterates over embedded ftrace_func_entry entries, which point to hooked memory areas. @@ -214,10 +216,12 @@ class Check_ftrace(interfaces.plugins.PluginInterface): return parsed_entry + return None + @staticmethod def iterate_ftrace_ops_list( context: interfaces.context.ContextInterface, kernel_name: str - ) -> Iterable[interfaces.objects.ObjectInterface]: + ) -> Optional[Iterable[interfaces.objects.ObjectInterface]]: """Iterate over (ftrace_ops *)ftrace_ops_list. Returns: From d297693876b057d7a56ba81ec851b0b0fe9627d0 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 21 Jan 2025 23:31:17 +0100 Subject: [PATCH 1236/2186] correct required framework version --- volatility3/framework/plugins/linux/tracing/ftrace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index a198647d9..a04491550 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -49,7 +49,7 @@ class Check_ftrace(interfaces.plugins.PluginInterface): """Detect ftrace hooking""" _version = (1, 0, 0) - _required_framework_version = (2, 17, 0) + _required_framework_version = (2, 19, 0) additional_description = """Investigate the ftrace infrastructure to uncover kernel attached callbacks, which can be leveraged to hook kernel functions and modify their behaviour.""" _hidden_modules_run = False From 3ba60d55f7d0c6b62fdbc9b4381b9bd96006a171 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 22 Jan 2025 00:52:41 +0100 Subject: [PATCH 1237/2186] remove self-contained hidden_modules check, switch to dataclass --- .../framework/plugins/linux/tracing/ftrace.py | 131 ++++++++++-------- 1 file changed, 76 insertions(+), 55 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index a04491550..009d48ce8 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -5,8 +5,10 @@ # Public researches: https://i.blackhat.com/USA21/Wednesday-Handouts/us-21-Fixing-A-Memory-Forensics-Blind-Spot-Linux-Kernel-Tracing-wp.pdf import logging -from typing import List, Iterable, Optional, Tuple, Set +from typing import Dict, List, Iterable, Optional from enum import auto, IntFlag +from dataclasses import dataclass + from volatility3.plugins.linux import hidden_modules, modxview from volatility3.framework import constants, exceptions, interfaces from volatility3.framework.configuration import requirements @@ -19,7 +21,7 @@ vollog = logging.getLogger(__name__) # https://docs.python.org/3.13/library/enum.html#enum.IntFlag -class FTRACE_OPS_FLAGS(IntFlag): +class FtraceOpsFlags(IntFlag): """Denote the state of an ftrace_ops struct. Based on https://elixir.bootlin.com/linux/v6.13-rc3/source/include/linux/ftrace.h#L255. """ @@ -45,16 +47,27 @@ class FTRACE_OPS_FLAGS(IntFlag): FTRACE_OPS_FL_SUBOP = auto() -class Check_ftrace(interfaces.plugins.PluginInterface): +@dataclass +class ParsedFtraceOps: + """Parsed ftrace_ops struct representation, containing a selection of forensics valuable + informations.""" + + ftrace_ops_offset: int + callback_symbol: str + callback_address: int + hooked_symbols: str + module_name: str + module_address: int + flags: str + + +class CheckFtrace(interfaces.plugins.PluginInterface): """Detect ftrace hooking""" _version = (1, 0, 0) _required_framework_version = (2, 19, 0) additional_description = """Investigate the ftrace infrastructure to uncover kernel attached callbacks, which can be leveraged to hook kernel functions and modify their behaviour.""" - _hidden_modules_run = False - """Flag to determine if the hidden_modules plugin was run, - in the context of this plugin.""" @staticmethod def get_requirements() -> List[interfaces.configuration.RequirementInterface]: @@ -85,11 +98,6 @@ class Check_ftrace(interfaces.plugins.PluginInterface): ), ] - @classmethod - def _set_hidden_modules_run(cls) -> None: - """Use a self-contained setter, to prevent running hidden_modules multiple times.""" - cls._hidden_modules_run = True - @staticmethod def extract_hash_table_filters( ftrace_ops: interfaces.objects.ObjectInterface, @@ -124,43 +132,54 @@ class Check_ftrace(interfaces.plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, kernel_name: str, - known_modules: Set[extensions.module], + known_modules: Dict[str, List[extensions.module]], ftrace_ops: interfaces.objects.ObjectInterface, - parse_flags: bool = False, - ) -> Optional[Tuple]: + run_hidden_modules: bool = True, + ) -> Optional[Iterable[ParsedFtraceOps]]: """Parse an ftrace_ops struct to highlight ftrace kernel hooking. Iterates over embedded ftrace_func_entry entries, which point to hooked memory areas. Args: - known_modules: A set of known modules to iterate over, used to locate callbacks origin + known_modules: A dict of known modules, used to locate callbacks origin. Typically obtained through modxview.run_modules_scanners(). ftrace_ops: The ftrace_ops struct to parse - parse_flags: Whether to parse ftrace_ops flags or not + run_hidden_modules: Whether to run the hidden_modules plugin or not. Note: it won't be run, even if specified, \ +if the "hidden_modules" key is present in known_modules. Yields: - A tuple containing a selection of useful fields (callback, hook, module) related to an ftrace_func_entry struct + An iterable of ParsedFtraceOps dataclasses, containing a selection of useful fields (callback, hook, module) related to an ftrace_ops struct """ kernel = context.modules[kernel_name] callback = ftrace_ops.func + callback_symbol = module_address = module_name = None # Try to lookup within the known modules if the callback address fits module = modules_utilities.Modules.module_lookup_by_address( - context, kernel.layer_name, known_modules, callback + context, + kernel.layer_name, + modxview.Modxview.flatten_run_modules_results(known_modules), + callback, ) # Run hidden_modules plugin if a callback origin couldn't be determined (only done once, results are re-used afterwards) - if module is None and not cls._hidden_modules_run: + if ( + module is None + and run_hidden_modules + and "hidden_modules" not in known_modules + ): vollog.info( "A callback module origin could not be determined. hidden_modules plugin will be run to detect additional modules.", ) known_modules_addresses = set( context.layers[kernel.layer_name].canonicalize(module.vol.offset) - for module in known_modules + for module in modxview.Modxview.flatten_run_modules_results( + known_modules + ) ) modules_memory_boundaries = ( hidden_modules.Hidden_modules.get_modules_memory_boundaries( context, kernel_name ) ) - known_modules.update( + known_modules["hidden_modules"] = list( hidden_modules.Hidden_modules.get_hidden_modules( context, kernel_name, @@ -168,27 +187,24 @@ class Check_ftrace(interfaces.plugins.PluginInterface): modules_memory_boundaries, ) ) - cls._set_hidden_modules_run() # Lookup the updated list to see if hidden_modules was able # to find the missing module module = modules_utilities.Modules.module_lookup_by_address( - context, kernel.layer_name, known_modules, callback + context, + kernel.layer_name, + modxview.Modxview.flatten_run_modules_results(known_modules), + callback, ) # Fetch more information about the module - if module: - module_address = format_hints.Hex(module.vol.offset) - module_name = module.get_name() or NotAvailableValue() - callback_symbol = ( - module.get_symbol_by_address(callback) or NotAvailableValue() - ) + if module is not None: + module_address = module.vol.offset + module_name = module.get_name() + callback_symbol = module.get_symbol_by_address(callback) else: vollog.warning( f"Could not determine ftrace_ops@{ftrace_ops.vol.offset:#x} callback {callback:#x} module origin.", ) - module_address = NotAvailableValue() - module_name = NotAvailableValue() - callback_symbol = NotAvailableValue() # Iterate over ftrace_func_entry list for ftrace_func_entry in cls.extract_hash_table_filters(ftrace_ops): @@ -199,23 +215,20 @@ class Check_ftrace(interfaces.plugins.PluginInterface): hooked_symbols = ",".join( [s.split(constants.BANG)[-1] for s in hooked_symbols] ) - parsed_entry = ( - format_hints.Hex(ftrace_ops.vol.offset), + yield ParsedFtraceOps( + ftrace_ops.vol.offset, callback_symbol, - format_hints.Hex(callback), - hooked_symbols or NotAvailableValue(), + callback, + hooked_symbols, module_name, module_address, + # FtraceOpsFlags(ftrace_ops.flags).name is valid in > Python3.10, but + # returns None <= Python 3.10. We need to manipulate it like so to ensure compatibility: + # FtraceOpsFlags.FTRACE_OPS_FL_IPMODIFY|FTRACE_OPS_FL_ALLOC_TRAMP + # -> FTRACE_OPS_FL_IPMODIFY,FTRACE_OPS_FL_ALLOC_TRAMP + str(FtraceOpsFlags(ftrace_ops.flags)).split(".")[-1].replace("|", ","), ) - if parse_flags: - # e.g. FTRACE_OPS_FL_ENABLED,FTRACE_OPS_FL_DYNAMIC - parsed_entry += ( - FTRACE_OPS_FLAGS(ftrace_ops.flags).name.replace("|", ","), - ) - - return parsed_entry - return None @staticmethod @@ -252,23 +265,31 @@ class Check_ftrace(interfaces.plugins.PluginInterface): ) # Do not run hidden_modules by default, but only on failure to find a module - known_modules = set( - modxview.Modxview.flatten_run_modules_results( - modxview.Modxview.run_modules_scanners( - self.context, kernel_name, run_hidden_modules=False - ) - ) + known_modules = modxview.Modxview.run_modules_scanners( + self.context, kernel_name, run_hidden_modules=False ) for ftrace_ops in self.iterate_ftrace_ops_list(self.context, kernel_name): - ftrace_ops_parsed = self.parse_ftrace_ops( + for ftrace_ops_parsed in self.parse_ftrace_ops( self.context, kernel_name, known_modules, ftrace_ops, - self.config.get("show_ftrace_flags"), - ) - if ftrace_ops_parsed is not None: - yield (0, (ftrace_ops_parsed)) + ): + formatted_results = ( + format_hints.Hex(ftrace_ops_parsed.ftrace_ops_offset), + ftrace_ops_parsed.callback_symbol or NotAvailableValue(), + format_hints.Hex(ftrace_ops_parsed.callback_address), + ftrace_ops_parsed.hooked_symbols or NotAvailableValue(), + ftrace_ops_parsed.module_name or NotAvailableValue(), + ( + format_hints.Hex(ftrace_ops_parsed.module_address) + if ftrace_ops_parsed.module_address is not None + else NotAvailableValue() + ), + ) + if self.config["show_ftrace_flags"]: + formatted_results += (ftrace_ops_parsed.flags,) + yield (0, formatted_results) def run(self): columns = [ From b59f051353cd58b7d6e4bfda2f07746820f4f32a Mon Sep 17 00:00:00 2001 From: Odysseas Stavrou Date: Wed, 22 Jan 2025 02:39:35 +0200 Subject: [PATCH 1238/2186] Volshell: Updates to the get_process() methods --- volatility3/cli/volshell/linux.py | 55 +++++++++++++++++++---------- volatility3/cli/volshell/windows.py | 23 ++++++++---- 2 files changed, 53 insertions(+), 25 deletions(-) diff --git a/volatility3/cli/volshell/linux.py b/volatility3/cli/volshell/linux.py index 9ea3ea1f5..b3689c3ae 100644 --- a/volatility3/cli/volshell/linux.py +++ b/volatility3/cli/volshell/linux.py @@ -51,42 +51,61 @@ class Volshell(generic.Volshell): return None print(f"No task with task ID {pid} found") - def get_process(self, pid=None, offset=None): - """Get Task based on a process ID. Does not retrieve the layer, to change layer use the .pid attribute. The offset argument can be used both for physical or virtual offsets""" + def get_process(self, pid=None, virtaddr=None, physaddr=None): + """Return the task_struct object that matches the pid. If a physical or a virtual address is provided, construct the task_struct object at said address. Only one parameter is allowed. - if pid is not None and offset is not None: + Args: + pid (int, optional): PID to search for + virtaddr (int, optional): Virtual address to construct object at + physaddr (int, optional): Physical address to construct object at + + Returns: + ObjectInterface: task_struct Object + """ + + if sum(1 if x is not None else 0 for x in [pid, virtaddr, physaddr]) != 1: print("Only one parameter is accepted") return None - if offset is not None: - vmlinux_module_name = self.config["kernel"] - vmlinux = self.context.modules[vmlinux_module_name] + vmlinux_module_name = self.config["kernel"] + vmlinux = self.context.modules[vmlinux_module_name] - kernel_layer_name = vmlinux.layer_name - kernel_layer = self.context.layers[kernel_layer_name] + kernel_layer_name = vmlinux.layer_name + kernel_layer = self.context.layers[kernel_layer_name] - memory_layer_name = kernel_layer.dependencies[0] + memory_layer_name = kernel_layer.dependencies[0] - ptask = self.context.object( - vmlinux.symbol_table_name + constants.BANG + "task_struct", + task_struct_symbol = vmlinux.symbol_table_name + constants.BANG + "task_struct" + + if virtaddr is not None: + task = self.context.object( + task_struct_symbol, + layer_name=kernel_layer_name, + offset=virtaddr, + ) + + if physaddr is not None: + task = self.context.object( + task_struct_symbol, layer_name=memory_layer_name, - offset=offset, + offset=physaddr, native_layer_name=kernel_layer_name, ) + if physaddr is not None or virtaddr is not None: try: - DescExitStateEnum(ptask.exit_state) + DescExitStateEnum(task.exit_state) except ValueError: print( - f"task_struct @ {hex(ptask.vol.offset)} as exit_state {ptask.exit_state} is likely not valid" + f"task_struct @ {hex(task.vol.offset)} as exit_state {task.exit_state} is likely not valid" ) - if not (0 < ptask.pid < 65535): + if not (0 < task.pid < 65535): print( - f"task_struct @ {hex(ptask.vol.offset)} as pid {ptask.pid} is likely not valid" + f"task_struct @ {hex(task.vol.offset)} as pid {task.pid} is likely not valid" ) - return ptask + return task if pid is not None: tasks = self.list_tasks() @@ -107,7 +126,7 @@ class Volshell(generic.Volshell): result += [ (["ct", "change_task", "cp"], self.change_task), (["lt", "list_tasks", "ps"], self.list_tasks), - (["gp", "get_process"], self.get_process), + (["gp", "get_process", "get_task"], self.get_process), (["symbols"], self.context.symbol_space[self.current_symbol_table]), ] if self.config.get("pid", None) is not None: diff --git a/volatility3/cli/volshell/windows.py b/volatility3/cli/volshell/windows.py index a77392561..9b89a8b81 100644 --- a/volatility3/cli/volshell/windows.py +++ b/volatility3/cli/volshell/windows.py @@ -44,10 +44,19 @@ class Volshell(generic.Volshell): ) ) - def get_process(self, pid=None, v_offset=None, p_offset=None): - """Returns the EPROCESS object that matches the pid. If v_offset/p_offset is provided, construct the EPROCESS object at the provided address. Only one parameter is allowed.""" + def get_process(self, pid=None, virtaddr=None, physaddr=None): + """Returns the _EPROCESS object that matches the pid. If a physical or a virtual address is provided, construct the _EPROCESS object at said address. Only one parameter is allowed. - if sum(1 if x is not None else 0 for x in [pid, v_offset, p_offset]) != 1: + Args: + pid (int, optional): PID / UniqueProcessId to search for. + virtaddr (int, optional): Virtual address to construct object at + physaddr (int, optional): Physical address to construct object at + + Returns: + ObjectInterface: _EPROCESS Object + """ + + if sum(1 if x is not None else 0 for x in [pid, virtaddr, physaddr]) != 1: print("Only one parameter is accepted") return None @@ -61,20 +70,20 @@ class Volshell(generic.Volshell): eprocess_symbol = kernel.symbol_table_name + constants.BANG + "_EPROCESS" - if v_offset is not None: + if virtaddr is not None: eproc = self.context.object( eprocess_symbol, layer_name=kernel_layer_name, - offset=v_offset, + offset=virtaddr, ) return eproc - if p_offset is not None: + if physaddr is not None: eproc = self.context.object( eprocess_symbol, layer_name=memory_layer_name, - offset=p_offset, + offset=physaddr, native_layer_name=kernel_layer_name, ) From c10572905f3f3760594db07575534a5805a10fe3 Mon Sep 17 00:00:00 2001 From: Daniel Davidov <35842733+Danking555@users.noreply.github.com> Date: Wed, 22 Jan 2025 10:45:52 +0200 Subject: [PATCH 1239/2186] Add low stub offset kernel detection reference: Memprocfs and https://www.youtube.com/watch?v=_ShCSth6dWM --- volatility3/framework/automagic/pdbscan.py | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/volatility3/framework/automagic/pdbscan.py b/volatility3/framework/automagic/pdbscan.py index 729c48063..1ccecf97a 100644 --- a/volatility3/framework/automagic/pdbscan.py +++ b/volatility3/framework/automagic/pdbscan.py @@ -11,6 +11,7 @@ import contextlib import logging import math import os +import struct from typing import Any, Callable, Dict, Iterable, List, Optional, Set, Tuple, Union from volatility3.framework import constants, exceptions, interfaces, layers @@ -376,8 +377,43 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): valid_kernel = (virtual_layer_name, address, res[0]) return valid_kernel + def method_low_stub_offset(self, + context: interfaces.context.ContextInterface, + vlayer: layers.intel.Intel, + progress_callback: constants.ProgressCallback = None, + ) -> Optional[ValidKernelType]: + kernel_hint = 0 + kernel_base = 0 + physical_layer = context.layers.get('memory_layer') + + # try locating kernel base via x64 Low Stub in lower 1MB starting from second page (4KB) + # if "Discard Low Memory" setting is disabled in BIOS, the Low Stub may be at the third/fourth or further pages + for offset in range(0x1000,0x100000, 0x1000): + if 0xffffffffffff00ff & int.from_bytes(physical_layer.read(offset, 0x8), "little") != 0x00000001000600E9: + continue # not _PROCESSOR_START_BLOCK->Jmp + potential_kernel_hint = int.from_bytes(physical_layer.read(offset + 0x70, 0x8), "little") + if (0xfffff80000000003 & potential_kernel_hint) != 0xfffff80000000000: + continue # not _PROCESSOR_START_BLOCK->LmTarget + kernel_hint = potential_kernel_hint & 0xffffffffffff + kernel_base = kernel_hint & (~0x1fffff) & 0xffffffffffff + break + + if kernel_base: + # Scanning 32mb in 2mb chunks for the 'ntoskrnl' base address + while (kernel_base + 0x2000000) > kernel_hint: + for i in range(0, 0x200000, 0x1000): + valid_kernel = self.check_kernel_offset( + context, vlayer, kernel_base, progress_callback + ) + if valid_kernel: + return valid_kernel + kernel_base -= 0x200000 + + return None + # List of methods to be run, in order, to determine the valid kernels methods = [ + method_low_stub_offset, method_kdbg_offset, method_module_offset, method_fixed_mapping, From e7b51bd1a71b9af453605b53182f6b8c9b719d08 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 22 Jan 2025 16:51:06 +0100 Subject: [PATCH 1240/2186] prefer staticmethod when cls is not needed --- volatility3/framework/symbols/linux/utilities/modules.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index bb8519643..4be460a68 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -12,9 +12,8 @@ class Modules(interfaces.configuration.VersionableInterface): framework.require_interface_version(*_required_framework_version) - @classmethod + @staticmethod def module_lookup_by_address( - cls, context: interfaces.context.ContextInterface, layer_name: str, modules: Iterable[extensions.module], From 34a7dfc72fb3dced313e9a52b73b96dff31b778a Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 23 Jan 2025 10:42:52 +0100 Subject: [PATCH 1241/2186] split linux modules utilities --- .../symbols/linux/utilities/modules.py | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 volatility3/framework/symbols/linux/utilities/modules.py diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py new file mode 100644 index 000000000..ac9b2afaf --- /dev/null +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -0,0 +1,68 @@ +from typing import Iterator, List, Tuple + +from volatility3 import framework +from volatility3.framework import constants, interfaces +from volatility3.framework.objects import utility + + +class Modules(interfaces.configuration.VersionableInterface): + """Kernel modules related utilities.""" + + _version = (1, 0, 0) + _required_framework_version = (2, 0, 0) + + framework.require_interface_version(*_required_framework_version) + + @staticmethod + def mask_mods_list( + context: interfaces.context.ContextInterface, + layer_name: str, + mods: Iterator[interfaces.objects.ObjectInterface], + ) -> List[Tuple[str, int, int]]: + """ + A helper function to mask the starting and end address of kernel modules + """ + mask = context.layers[layer_name].address_mask + + return [ + ( + utility.array_to_string(mod.name), + mod.get_module_base() & mask, + (mod.get_module_base() & mask) + mod.get_core_size(), + ) + for mod in mods + ] + + @staticmethod + def lookup_module_address( + context: interfaces.context.ContextInterface, + kernel_module_name: str, + handlers: List[Tuple[str, int, int]], + target_address: int, + ) -> Tuple[str, str]: + """ + Searches between the start and end address of the kernel module using target_address. + Returns the module and symbol name of the address provided. + """ + kernel_module = context.modules[kernel_module_name] + mod_name = "UNKNOWN" + symbol_name = "N/A" + + for name, start, end in handlers: + if start <= target_address <= end: + mod_name = name + if name == constants.linux.KERNEL_NAME: + symbols = list( + kernel_module.get_symbols_by_absolute_location(target_address) + ) + + if len(symbols): + symbol_name = ( + symbols[0].split(constants.BANG)[1] + if constants.BANG in symbols[0] + else symbols[0] + ) + + break + + return mod_name, symbol_name From 43ab0b0c314832742c00f7821cd6f3327529894e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 23 Jan 2025 10:43:14 +0100 Subject: [PATCH 1242/2186] add deprecation decorator --- .../framework/configuration/requirements.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 3e3608000..3af5601dc 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -11,6 +11,7 @@ expect to be in the context (such as particular layers or symboltables). import abc import logging import os +import functools from typing import Any, ClassVar, Dict, List, Optional, Set, Tuple, Type from urllib import parse, request @@ -723,3 +724,25 @@ class ModuleRequirement( """Builds the appropriate configuration for the specified requirement.""" return context.modules[value].build_configuration() + + +def deprecated_method(replacement: str, additional_information: str = ""): + """A decorator for marking functions as deprecated. + + Args: + replacement: The replacement function overriding the deprecated API (full path preferred, starting from "volatility3."). String was preferred, for convenience and to prevent import conflicts on caller side. + additional_information: Information appended at the end of the deprecation message + """ + + def decorator(deprecated_func): + @functools.wraps(deprecated_func) + def wrapper(*args, **kwargs): + nonlocal replacement, additional_information + deprecation_msg = f"Method \"{deprecated_func.__module__ + '.' + deprecated_func.__name__}\" is deprecated, use \"{replacement}\" instead. {additional_information}" + vollog.warning(deprecation_msg) + # Return the wrapped function with its original arguments + return deprecated_func(*args, **kwargs) + + return wrapper + + return decorator From 7575aa5d6354419b51d1ac563c1de4db62da0ca1 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 23 Jan 2025 10:44:20 +0100 Subject: [PATCH 1243/2186] deprecate lookup_module_address and mask_mods_list --- .../framework/symbols/linux/__init__.py | 101 ++++++++---------- 1 file changed, 44 insertions(+), 57 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 423284b03..3dc744f78 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -8,11 +8,13 @@ import logging from abc import ABC, abstractmethod from typing import Iterator, List, Tuple, Optional, Union +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3 import framework from volatility3.framework import constants, exceptions, interfaces, objects from volatility3.framework.objects import utility from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux import extensions +from volatility3.framework.configuration import requirements vollog = logging.getLogger(__name__) @@ -81,7 +83,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" - _version = (2, 2, 0) + _version = (2, 2, 1) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) @@ -338,27 +340,6 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): yield fd_num, filp, full_path - @classmethod - def mask_mods_list( - cls, - context: interfaces.context.ContextInterface, - layer_name: str, - mods: Iterator[interfaces.objects.ObjectInterface], - ) -> List[Tuple[str, int, int]]: - """ - A helper function to mask the starting and end address of kernel modules - """ - mask = context.layers[layer_name].address_mask - - return [ - ( - utility.array_to_string(mod.name), - mod.get_module_base() & mask, - (mod.get_module_base() & mask) + mod.get_core_size(), - ) - for mod in mods - ] - @classmethod def generate_kernel_handler_info( cls, @@ -382,41 +363,9 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return [ (constants.linux.KERNEL_NAME, start_addr, end_addr) - ] + LinuxUtilities.mask_mods_list(context, kernel.layer_name, mods_list) - - @classmethod - def lookup_module_address( - cls, - kernel_module: interfaces.context.ModuleInterface, - handlers: List[Tuple[str, int, int]], - target_address: int, - ): - """ - Searches between the start and end address of the kernel module using target_address. - Returns the module and symbol name of the address provided. - """ - - mod_name = "UNKNOWN" - symbol_name = "N/A" - - for name, start, end in handlers: - if start <= target_address <= end: - mod_name = name - if name == constants.linux.KERNEL_NAME: - symbols = list( - kernel_module.get_symbols_by_absolute_location(target_address) - ) - - if len(symbols): - symbol_name = ( - symbols[0].split(constants.BANG)[1] - if constants.BANG in symbols[0] - else symbols[0] - ) - - break - - return mod_name, symbol_name + ] + linux_utilities_modules.Modules.mask_mods_list( + context, kernel.layer_name, mods_list + ) @classmethod def walk_internal_list(cls, vmlinux, struct_name, list_member, list_start): @@ -504,6 +453,44 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): [chr((code >> (i * 8)) & 0xFF) for i in range(code_bytes_length)] ) + ## Deprecated APIs ## + @classmethod + @requirements.deprecated_method( + replacement="volatility3.framework.symbols.linux.utilities.modules.Modules.mask_mods_list" + ) + def mask_mods_list( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + mods: Iterator[interfaces.objects.ObjectInterface], + ) -> List[Tuple[str, int, int]]: + """ + DEPRECATED: use "volatility3.framework.symbols.linux.utilities.modules.Modules.mask_mods_list" instead. + + A helper function to mask the starting and end address of kernel modules + """ + return linux_utilities_modules.Modules.mask_mods_list(context, layer_name, mods) + + @classmethod + @requirements.deprecated_method( + replacement="volatility3.framework.symbols.linux.utilities.modules.Modules.lookup_module_address" + ) + def lookup_module_address( + cls, + kernel_module: interfaces.context.ModuleInterface, + handlers: List[Tuple[str, int, int]], + target_address: int, + ) -> Tuple[str, str]: + """ + DEPRECATED: use "volatility3.framework.symbols.linux.utilities.modules.Modules.lookup_module_address" instead. + + Searches between the start and end address of the kernel module using target_address. + Returns the module and symbol name of the address provided. + """ + return linux_utilities_modules.Modules.lookup_module_address( + kernel_module.context, kernel_module.name, handlers, target_address + ) + class IDStorage(ABC): """Abstraction to support both XArray and RadixTree""" From fd77c041537b40f38db7428ce05a876ad5b1e08b Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 23 Jan 2025 10:46:42 +0100 Subject: [PATCH 1244/2186] move to linux_utilities_modules APIs --- volatility3/framework/plugins/linux/check_idt.py | 7 +++++-- .../framework/plugins/linux/keyboard_notifiers.py | 7 +++++-- volatility3/framework/plugins/linux/kthreads.py | 9 ++++++--- volatility3/framework/plugins/linux/netfilter.py | 7 +++++-- volatility3/framework/plugins/linux/tty_check.py | 7 +++++-- 5 files changed, 26 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_idt.py b/volatility3/framework/plugins/linux/check_idt.py index 07582e2c1..5859e73d6 100644 --- a/volatility3/framework/plugins/linux/check_idt.py +++ b/volatility3/framework/plugins/linux/check_idt.py @@ -5,6 +5,7 @@ import logging from typing import List +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3.framework import interfaces, renderers, symbols from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints @@ -99,8 +100,10 @@ class Check_idt(interfaces.plugins.PluginInterface): idt_addr = idt_addr & address_mask - module_name, symbol_name = linux.LinuxUtilities.lookup_module_address( - vmlinux, handlers, idt_addr + module_name, symbol_name = ( + linux_utilities_modules.Modules.lookup_module_address( + self.context, vmlinux.name, handlers, idt_addr + ) ) yield ( diff --git a/volatility3/framework/plugins/linux/keyboard_notifiers.py b/volatility3/framework/plugins/linux/keyboard_notifiers.py index 72273a77b..c1b7572c6 100644 --- a/volatility3/framework/plugins/linux/keyboard_notifiers.py +++ b/volatility3/framework/plugins/linux/keyboard_notifiers.py @@ -4,6 +4,7 @@ import logging +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints @@ -66,8 +67,10 @@ class Keyboard_notifiers(interfaces.plugins.PluginInterface): ): call_addr = call_back.notifier_call - module_name, symbol_name = linux.LinuxUtilities.lookup_module_address( - vmlinux, handlers, call_addr + module_name, symbol_name = ( + linux_utilities_modules.Modules.lookup_module_address( + self.context, vmlinux.name, handlers, call_addr + ) ) yield (0, [format_hints.Hex(call_addr), module_name, symbol_name]) diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py index 40e992069..2e1bbed47 100644 --- a/volatility3/framework/plugins/linux/kthreads.py +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -4,6 +4,7 @@ import logging from typing import List +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins @@ -20,7 +21,7 @@ class Kthreads(plugins.PluginInterface): """Enumerates kthread functions""" _required_framework_version = (2, 11, 0) - _version = (1, 0, 2) + _version = (1, 0, 3) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -88,8 +89,10 @@ class Kthreads(plugins.PluginInterface): if kthread.has_member("full_name") else task_name ) - module_name, symbol_name = linux.LinuxUtilities.lookup_module_address( - vmlinux, handlers, threadfn + module_name, symbol_name = ( + linux_utilities_modules.Modules.lookup_module_address( + self.context, vmlinux.name, handlers, threadfn + ) ) fields = [ diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 73496dfd9..ccb831b61 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -5,6 +5,7 @@ from dataclasses import dataclass, field from abc import ABC, abstractmethod import logging +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from typing import Iterator, List, Tuple from volatility3 import framework from volatility3.framework import ( @@ -263,8 +264,10 @@ class AbstractNetfilter(ABC): """Helper to obtain the module and symbol name in the format needed for the output of this plugin. """ - module_name, symbol_name = linux.LinuxUtilities.lookup_module_address( - self.vmlinux, self.handlers, addr + module_name, symbol_name = ( + linux_utilities_modules.Modules.lookup_module_address( + self._context, self.vmlinux.name, self.handlers, addr + ) ) if module_name == "UNKNOWN": diff --git a/volatility3/framework/plugins/linux/tty_check.py b/volatility3/framework/plugins/linux/tty_check.py index 45238ef8c..f375968a4 100644 --- a/volatility3/framework/plugins/linux/tty_check.py +++ b/volatility3/framework/plugins/linux/tty_check.py @@ -5,6 +5,7 @@ import logging from typing import List +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3.framework import interfaces, renderers, exceptions, constants from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins @@ -79,8 +80,10 @@ class tty_check(plugins.PluginInterface): recv_buf = tty_dev.ldisc.ops.receive_buf - module_name, symbol_name = linux.LinuxUtilities.lookup_module_address( - vmlinux, handlers, recv_buf + module_name, symbol_name = ( + linux_utilities_modules.Modules.lookup_module_address( + self.context, vmlinux.name, handlers, recv_buf + ) ) yield (0, (name, format_hints.Hex(recv_buf), module_name, symbol_name)) From b8d9c7b88311016cea97b8b60afeec4d47558af0 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Thu, 23 Jan 2025 11:57:43 -0600 Subject: [PATCH 1245/2186] #1473 - add missing exception handling for get_key --- volatility3/framework/plugins/windows/envars.py | 12 ++++++------ .../framework/plugins/windows/getservicesids.py | 5 +++-- .../framework/plugins/windows/getsids.py | 2 +- .../plugins/windows/registry/userassist.py | 17 ++++++++++++----- .../framework/plugins/windows/svcscan.py | 6 +++--- 5 files changed, 25 insertions(+), 17 deletions(-) diff --git a/volatility3/framework/plugins/windows/envars.py b/volatility3/framework/plugins/windows/envars.py index cac4ecf40..48e1ef671 100644 --- a/volatility3/framework/plugins/windows/envars.py +++ b/volatility3/framework/plugins/windows/envars.py @@ -76,14 +76,14 @@ class Envars(interfaces.plugins.PluginInterface): "CurrentControlSet\\Control\\Session Manager\\Environment" ) sys = True - except KeyError: - with contextlib.suppress(KeyError): + except (KeyError, registry.RegistryFormatException): + with contextlib.suppress(KeyError, registry.RegistryFormatException): key = hive.get_key( "ControlSet001\\Control\\Session Manager\\Environment" ) sys = True if sys: - with contextlib.suppress(KeyError): + with contextlib.suppress(KeyError, registry.RegistryFormatException): for node in key.get_values(): try: value_node_name = node.get_name() @@ -100,11 +100,11 @@ class Envars(interfaces.plugins.PluginInterface): continue ## The user-specific variables - with contextlib.suppress(KeyError): + with contextlib.suppress(KeyError, registry.RegistryFormatException): key = hive.get_key("Environment") ntuser = True if ntuser: - with contextlib.suppress(KeyError): + with contextlib.suppress(KeyError, registry.RegistryFormatException): for node in key.get_values(): try: value_node_name = node.get_name() @@ -123,7 +123,7 @@ class Envars(interfaces.plugins.PluginInterface): ## The volatile user variables try: key = hive.get_key("Volatile Environment") - except KeyError: + except (KeyError, registry.RegistryFormatException): continue try: for node in key.get_values(): diff --git a/volatility3/framework/plugins/windows/getservicesids.py b/volatility3/framework/plugins/windows/getservicesids.py index eece7fb6c..b97d2bb46 100644 --- a/volatility3/framework/plugins/windows/getservicesids.py +++ b/volatility3/framework/plugins/windows/getservicesids.py @@ -10,6 +10,7 @@ from typing import List from volatility3.framework import renderers, interfaces, constants, exceptions from volatility3.framework.configuration import requirements +from volatility3.framework.layers import registry from volatility3.plugins.windows.registry import hivelist vollog = logging.getLogger(__name__) @@ -86,10 +87,10 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface): # Get ControlSet\Services. try: services = hive.get_key(r"CurrentControlSet\Services") - except (KeyError, exceptions.InvalidAddressException): + except (KeyError, exceptions.InvalidAddressException, registry.RegistryFormatException): try: services = hive.get_key(r"ControlSet001\Services") - except (KeyError, exceptions.InvalidAddressException): + except (KeyError, exceptions.InvalidAddressException, registry.RegistryFormatException): continue if services: diff --git a/volatility3/framework/plugins/windows/getsids.py b/volatility3/framework/plugins/windows/getsids.py index df0c7a835..00c78e1cf 100644 --- a/volatility3/framework/plugins/windows/getsids.py +++ b/volatility3/framework/plugins/windows/getsids.py @@ -158,7 +158,7 @@ class GetSIDs(interfaces.plugins.PluginInterface): layers.registry.RegistryFormatException, ): continue - except (KeyError, exceptions.InvalidAddressException): + except (KeyError, exceptions.InvalidAddressException, layers.registry.RegistryFormatException): continue return sids diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index 932ee9d6f..646fb1d7f 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -13,7 +13,7 @@ from typing import Any, Generator, List, Tuple from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.layers.physical import BufferDataLayer -from volatility3.framework.layers.registry import RegistryHive +from volatility3.framework.layers.registry import RegistryHive, RegistryFormatException from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed from volatility3.plugins.windows.registry import hivelist @@ -167,10 +167,17 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac self._determine_userassist_type() - userassist_node_path = hive.get_key( - "software\\microsoft\\windows\\currentversion\\explorer\\userassist", - return_list=True, - ) + try: + userassist_node_path = hive.get_key( + "software\\microsoft\\windows\\currentversion\\explorer\\userassist", + return_list=True, + ) + except RegistryFormatException as e: + vollog.warning(f"Error accessing UserAssist key in {hive_name} at {hive.hive_offset:#x}") + return None + except KeyError: + vollog.warning(f"UserAssist key not found in {hive_name} at {hive.hive_offset:#x}") + return None if not userassist_node_path: vollog.warning("list_userassist did not find a valid node_path (or None)") diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index bd477ba27..93087f352 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -15,7 +15,7 @@ from volatility3.framework import ( symbols, ) from volatility3.framework.configuration import requirements -from volatility3.framework.layers import scanners +from volatility3.framework.layers import scanners, registry from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import versions @@ -159,12 +159,12 @@ class SvcScan(interfaces.plugins.PluginInterface): return cast( objects.StructType, hive.get_key(r"CurrentControlSet\Services") ) - except (KeyError, exceptions.InvalidAddressException): + except (KeyError, exceptions.InvalidAddressException, registry.RegistryFormatException): try: return cast( objects.StructType, hive.get_key(r"ControlSet001\Services") ) - except (KeyError, exceptions.InvalidAddressException): + except (KeyError, exceptions.InvalidAddressException, registry.RegistryFormatException): vollog.log( constants.LOGLEVEL_VVVV, "Could not retrieve any control set from SYSTEM hive", From 6c4cafa64f68e6b001cd1ed32e8e5fb3d9993f30 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Thu, 23 Jan 2025 11:59:37 -0600 Subject: [PATCH 1246/2186] #1473 - black fixes --- .../framework/plugins/windows/getservicesids.py | 12 ++++++++++-- volatility3/framework/plugins/windows/getsids.py | 6 +++++- .../framework/plugins/windows/registry/userassist.py | 8 ++++++-- volatility3/framework/plugins/windows/svcscan.py | 12 ++++++++++-- 4 files changed, 31 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/getservicesids.py b/volatility3/framework/plugins/windows/getservicesids.py index b97d2bb46..207d0e2ad 100644 --- a/volatility3/framework/plugins/windows/getservicesids.py +++ b/volatility3/framework/plugins/windows/getservicesids.py @@ -87,10 +87,18 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface): # Get ControlSet\Services. try: services = hive.get_key(r"CurrentControlSet\Services") - except (KeyError, exceptions.InvalidAddressException, registry.RegistryFormatException): + except ( + KeyError, + exceptions.InvalidAddressException, + registry.RegistryFormatException, + ): try: services = hive.get_key(r"ControlSet001\Services") - except (KeyError, exceptions.InvalidAddressException, registry.RegistryFormatException): + except ( + KeyError, + exceptions.InvalidAddressException, + registry.RegistryFormatException, + ): continue if services: diff --git a/volatility3/framework/plugins/windows/getsids.py b/volatility3/framework/plugins/windows/getsids.py index 00c78e1cf..a75bbe7ea 100644 --- a/volatility3/framework/plugins/windows/getsids.py +++ b/volatility3/framework/plugins/windows/getsids.py @@ -158,7 +158,11 @@ class GetSIDs(interfaces.plugins.PluginInterface): layers.registry.RegistryFormatException, ): continue - except (KeyError, exceptions.InvalidAddressException, layers.registry.RegistryFormatException): + except ( + KeyError, + exceptions.InvalidAddressException, + layers.registry.RegistryFormatException, + ): continue return sids diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index 646fb1d7f..d50b5216e 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -173,10 +173,14 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac return_list=True, ) except RegistryFormatException as e: - vollog.warning(f"Error accessing UserAssist key in {hive_name} at {hive.hive_offset:#x}") + vollog.warning( + f"Error accessing UserAssist key in {hive_name} at {hive.hive_offset:#x}" + ) return None except KeyError: - vollog.warning(f"UserAssist key not found in {hive_name} at {hive.hive_offset:#x}") + vollog.warning( + f"UserAssist key not found in {hive_name} at {hive.hive_offset:#x}" + ) return None if not userassist_node_path: diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 93087f352..17baac5b0 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -159,12 +159,20 @@ class SvcScan(interfaces.plugins.PluginInterface): return cast( objects.StructType, hive.get_key(r"CurrentControlSet\Services") ) - except (KeyError, exceptions.InvalidAddressException, registry.RegistryFormatException): + except ( + KeyError, + exceptions.InvalidAddressException, + registry.RegistryFormatException, + ): try: return cast( objects.StructType, hive.get_key(r"ControlSet001\Services") ) - except (KeyError, exceptions.InvalidAddressException, registry.RegistryFormatException): + except ( + KeyError, + exceptions.InvalidAddressException, + registry.RegistryFormatException, + ): vollog.log( constants.LOGLEVEL_VVVV, "Could not retrieve any control set from SYSTEM hive", From 81ba89eef663727608886e66595dfd7b3dcd9831 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Thu, 23 Jan 2025 12:20:14 -0600 Subject: [PATCH 1247/2186] #1473 - update exception message --- volatility3/framework/plugins/windows/registry/userassist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index d50b5216e..87016553a 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -174,7 +174,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac ) except RegistryFormatException as e: vollog.warning( - f"Error accessing UserAssist key in {hive_name} at {hive.hive_offset:#x}" + f"Error accessing UserAssist key in {hive_name} at {hive.hive_offset:#x}: {e}" ) return None except KeyError: From a68be50798254cbadc490393721e74180b4117cc Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 23 Jan 2025 20:30:21 +0000 Subject: [PATCH 1248/2186] Revert "Typing fix" This reverts commit c82d432b10258136ff0777dfec1fbf5844316132. --- volatility3/framework/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index a1925faef..754939460 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -5,6 +5,7 @@ # Check the python version to ensure it's suitable import glob import sys +from volatility3.framework import check_python_version as check_python_version import zipfile import importlib import inspect @@ -57,7 +58,7 @@ class NonInheritable: self.default_value = value self.cls = cls - def __get__(self, obj: Any, get_type: Optional[Type] = None) -> Any: + def __get__(self, obj: Any, get_type: Type = Optional[None]) -> Any: if type is self.cls: if hasattr(self.default_value, "__get__"): return self.default_value.__get__(obj, get_type) From 61f60ac464ba01885216704faf37ed6b6fc4beb6 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 23 Jan 2025 20:52:08 +0000 Subject: [PATCH 1249/2186] Core: Move the python check somewhere it can't accidentally be removed --- volatility3/framework/__init__.py | 12 +++++++++++- volatility3/framework/check_python_version.py | 14 -------------- volatility3/framework/constants/__init__.py | 2 ++ 3 files changed, 13 insertions(+), 15 deletions(-) delete mode 100644 volatility3/framework/check_python_version.py diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 754939460..466e697bb 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -5,7 +5,6 @@ # Check the python version to ensure it's suitable import glob import sys -from volatility3.framework import check_python_version as check_python_version import zipfile import importlib import inspect @@ -16,6 +15,17 @@ from typing import Any, Dict, Generator, List, Optional, Tuple, Type, TypeVar from volatility3.framework import constants, interfaces +if ( + sys.version_info.major != constants.REQUIRED_PYTHON_VERSION[0] + or sys.version_info.minor < constants.REQUIRED_PYTHON_VERSION[1] + or ( + sys.version_info.minor == constants.REQUIRED_PYTHON_VERSION[1] + and sys.version_info.micro < constants.REQUIRED_PYTHON_VERSION[2] + ) +): + raise RuntimeError( + f"Volatility framework requires python version {".".join(str(x) for x in constants.REQUIRED_PYTHON_VERSION)} or greater" + ) # ## # diff --git a/volatility3/framework/check_python_version.py b/volatility3/framework/check_python_version.py deleted file mode 100644 index f2d284f2a..000000000 --- a/volatility3/framework/check_python_version.py +++ /dev/null @@ -1,14 +0,0 @@ -import sys - -required_python_version = (3, 8, 0) -if ( - sys.version_info.major != required_python_version[0] - or sys.version_info.minor < required_python_version[1] - or ( - sys.version_info.minor == required_python_version[1] - and sys.version_info.micro < required_python_version[2] - ) -): - raise RuntimeError( - f"Volatility framework requires python version {required_python_version[0]}.{required_python_version[1]}.{required_python_version[2]} or greater" - ) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 23cc2dde5..2e6ae0261 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -23,6 +23,8 @@ from volatility3.framework.constants._version import ( VERSION_SUFFIX as VERSION_SUFFIX, ) +REQUIRED_PYTHON_VERSION = (3, 8, 0) + PLUGINS_PATH = [ os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "plugins")), os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "plugins")), From 128e1be154cc5a9853da3413565685689bf702e5 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 23 Jan 2025 20:57:44 +0000 Subject: [PATCH 1250/2186] Core: Fix f-string quotes --- volatility3/framework/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 466e697bb..0bbdefa43 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -24,7 +24,7 @@ if ( ) ): raise RuntimeError( - f"Volatility framework requires python version {".".join(str(x) for x in constants.REQUIRED_PYTHON_VERSION)} or greater" + f"Volatility framework requires python version {'.'.join(str(x) for x in constants.REQUIRED_PYTHON_VERSION)} or greater" ) # ## From bd83369c67428e9962379012414509efb3febb8c Mon Sep 17 00:00:00 2001 From: hsarkey Date: Wed, 9 Oct 2024 15:31:53 -0400 Subject: [PATCH 1251/2186] Updates to make the windows.dlllist plugin report dlls from wow64 processes. --- .../symbols/windows/extensions/__init__.py | 144 +- .../framework/symbols/windows/wow64.json | 1585 +++++++++++++++++ 2 files changed, 1709 insertions(+), 20 deletions(-) create mode 100644 volatility3/framework/symbols/windows/wow64.json diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 214002f49..2b73fa625 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -24,6 +24,7 @@ from volatility3.framework.objects import utility from volatility3.framework.renderers import conversion from volatility3.framework.symbols import generic from volatility3.framework.symbols.windows.extensions import pool +from volatility3.framework.symbols import windows vollog = logging.getLogger(__name__) @@ -484,9 +485,9 @@ class FILE_OBJECT(objects.StructType, pool.ExecutiveObject): ].is_valid(self.FileName.Buffer) def file_name_with_device(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: - name: Union[str, interfaces.renderers.BaseAbsentValue] = ( - renderers.UnreadableValue() - ) + name: Union[ + str, interfaces.renderers.BaseAbsentValue + ] = renderers.UnreadableValue() # this pointer needs to be checked against native_layer_name because the object may # be instantiated from a primary (virtual) layer or a memory (physical) layer. @@ -775,15 +776,93 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ) return peb + def get_peb32(self) -> interfaces.objects.ObjectInterface: + """Constructs a PEB32 object""" + if constants.BANG not in self.vol.type_name: + raise ValueError( + f"Invalid symbol table name syntax (no {constants.BANG} found)" + ) + + # add_process_layer can raise InvalidAddressException. + # if that happens, we let the exception propagate upwards + proc_layer_name = self.add_process_layer() + proc_layer = self._context.layers[proc_layer_name] + + # Determine if process is running under WOW64. + if self.get_is_wow64(): + peb32 = self.get_wow_64_process() + else: + return None + # Confirm WoW64Process points to a valid process address + if not proc_layer.is_valid(peb32): + raise exceptions.InvalidAddressException( + proc_layer_name, peb32, f"Invalid Wow64Process address at {self.Peb:0x}" + ) + + # Leverage the context of existing symbol table to help configure + # a new symbol table for 32-bit types + sym_table = self.get_symbol_table_name() + config_path = self._context.symbol_space[sym_table].config_path + + # Load the 32-bit types into a new symbol space + # We use the WindowsKernelIntermedSymbols class to make + # sure we get all the object helpers. For example, traversing + # linked-lists. + self._32bit_table_name = windows.WindowsKernelIntermedSymbols.create( + self._context, config_path, "windows", "wow64" + ) + + # windows 10 + if self._context.symbol_space.has_type( + sym_table + constants.BANG + "_EWOW64PROCESS" + ): + peb32 = self._context.object( + f"{self._32bit_table_name}{constants.BANG}_PEB32", + layer_name=proc_layer_name, + offset=peb32.Peb, + ) + return peb32 + + # vista sp0-sp1 and 2003 sp1-sp2 + elif self._context.symbol_space.has_type( + sym_table + constants.BANG + "_WOW64_PROCESS" + ): + peb32 = self._context.object( + f"{self._32bit_table_name}{constants.BANG}_PEB32", + layer_name=proc_layer_name, + offset=peb32.Wow64, + ) + return peb32 + + else: + peb32 = self._context.object( + f"{self._32bit_table_name}{constants.BANG}_PEB32", + layer_name=proc_layer_name, + offset=peb32, + ) + return peb32 + def load_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]: """Generator for DLLs in the order that they were loaded.""" - try: - peb = self.get_peb() - yield from peb.Ldr.InLoadOrderModuleList.to_list( - f"{self.get_symbol_table_name()}{constants.BANG}_LDR_DATA_TABLE_ENTRY", - "InLoadOrderLinks", - ) + pebs = [ + [self.get_peb(), "_LDR_DATA_TABLE_ENTRY"], + [self.get_peb32(), "_LDR_DATA_TABLE_ENTRY"], + ] + for peb, table_name in pebs: + if peb != None: + sym_table = self.get_symbol_table_name() + if peb.Ldr.vol.type_name.endswith("unsigned long"): + Ldr_data = self._context.symbol_space.get_type( + self._32bit_table_name + constants.BANG + "_PEB_LDR_DATA" + ) + peb.Ldr = peb.Ldr.cast("pointer", subtype=Ldr_data) + sym_table = self._32bit_table_name + for entry in peb.Ldr.InLoadOrderModuleList.to_list( + f"{sym_table}{constants.BANG}" + table_name, + "InLoadOrderLinks", + ): + yield entry except exceptions.InvalidAddressException: return None @@ -791,23 +870,48 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): """Generator for DLLs in the order that they were initialized""" try: - peb = self.get_peb() - yield from peb.Ldr.InInitializationOrderModuleList.to_list( - f"{self.get_symbol_table_name()}{constants.BANG}_LDR_DATA_TABLE_ENTRY", - "InInitializationOrderLinks", - ) + pebs = [ + [self.get_peb(), "_LDR_DATA_TABLE_ENTRY"], + [self.get_peb32(), "_LDR_DATA_TABLE_ENTRY"], + ] + for peb, table_name in pebs: + if peb != None: + sym_table = self.get_symbol_table_name() + if peb.Ldr.vol.type_name.endswith("unsigned long"): + Ldr_data = self._context.symbol_space.get_type( + self._32bit_table_name + constants.BANG + "_PEB_LDR_DATA" + ) + peb.Ldr = peb.Ldr.cast("pointer", subtype=Ldr_data) + sym_table = self._32bit_table_name + for entry in peb.Ldr.InInitializationOrderModuleList.to_list( + f"{sym_table}{constants.BANG}" + table_name, + "InInitializationOrderLinks", + ): + yield entry except exceptions.InvalidAddressException: return None def mem_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]: """Generator for DLLs in the order that they appear in memory""" - try: - peb = self.get_peb() - yield from peb.Ldr.InMemoryOrderModuleList.to_list( - f"{self.get_symbol_table_name()}{constants.BANG}_LDR_DATA_TABLE_ENTRY", - "InMemoryOrderLinks", - ) + pebs = [ + [self.get_peb(), "_LDR_DATA_TABLE_ENTRY"], + [self.get_peb32(), "_LDR_DATA_TABLE_ENTRY"], + ] + for peb, table_name in pebs: + if peb != None: + sym_table = self.get_symbol_table_name() + if peb.Ldr.vol.type_name.endswith("unsigned long"): + Ldr_data = self._context.symbol_space.get_type( + self._32bit_table_name + constants.BANG + "_PEB_LDR_DATA" + ) + peb.Ldr = peb.Ldr.cast("pointer", subtype=Ldr_data) + sym_table = self._32bit_table_name + for entry in peb.Ldr.InMemoryOrderModuleList.to_list( + f"{sym_table}{constants.BANG}" + table_name, + "InMemoryOrderLinks", + ): + yield entry except exceptions.InvalidAddressException: return None diff --git a/volatility3/framework/symbols/windows/wow64.json b/volatility3/framework/symbols/windows/wow64.json new file mode 100644 index 000000000..e28d77241 --- /dev/null +++ b/volatility3/framework/symbols/windows/wow64.json @@ -0,0 +1,1585 @@ +{ + "symbols": {}, + "enums": { + "_LDR_DLL_LOAD_REASON": { + "base": "int", + "constants": { + "LoadReasonAsDataLoad": 6, + "LoadReasonAsImageLoad": 5, + "LoadReasonDelayloadDependency": 3, + "LoadReasonDynamicForwarderDependency": 2, + "LoadReasonDynamicLoad": 4, + "LoadReasonStaticDependency": 0, + "LoadReasonStaticForwarderDependency": 1, + "LoadReasonUnknown": -1, + }, + "size": 4, + }, + "_LDR_DDAG_STATE": { + "base": "int", + "constants": { + "LdrModulesCondensed": 6, + "LdrModulesInitError": -4, + "LdrModulesInitializing": 8, + "LdrModulesMapped": 2, + "LdrModulesMapping": 1, + "LdrModulesMerged": -5, + "LdrModulesPlaceHolder": 0, + "LdrModulesReadyToInit": 7, + "LdrModulesReadyToRun": 9, + "LdrModulesSnapError": -3, + "LdrModulesSnapped": 5, + "LdrModulesSnapping": 4, + "LdrModulesUnloaded": -2, + "LdrModulesUnloading": -1, + "LdrModulesWaitingForDependencies": 3, + }, + "size": 4, + }, + }, + "base_types": { + "unsigned long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little", + }, + "int": {"endian": "little", "kind": "int", "signed": true, "size": 4}, + "unsigned long long": { + "kind": "int", + "size": 8, + "signed": false, + "endian": "little", + }, + "unsigned char": { + "kind": "char", + "size": 1, + "signed": false, + "endian": "little", + }, + "pointer": {"kind": "int", "size": 4, "signed": false, "endian": "little"}, + "unsigned int": {"kind": "int", "size": 4, "signed": false, "endian": "little"}, + "unsigned short": { + "kind": "int", + "size": 2, + "signed": false, + "endian": "little", + }, + "long": {"kind": "int", "size": 4, "signed": false, "endian": "little"}, + "long long": {"endian": "little", "kind": "int", "signed": true, "size": 8}, + "void": {"endian": "little", "kind": "void", "signed": true, "size": 0}, + }, + "metadata": { + "format": "4.1.0", + "producer": { + "datetime": "2024-05-30T17:02:06.755760", + "name": "awalters-by-hand", + "version": "0.0.2", + }, + }, + "user_types": { + "_LDR_SERVICE_TAG_RECORD": { + "fields": { + "Next": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_LDR_SERVICE_TAG_RECORD", + }, + }, + }, + "ServiceTag": { + "offset": 4, + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "kind": "struct", + "size": 8, + }, + "_KTIMER": { + "fields": { + "Dpc": { + "offset": 32, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_KDPC"}, + }, + }, + "DueTime": { + "offset": 16, + "type": {"kind": "union", "name": "_ULARGE_INTEGER"}, + }, + "Header": { + "offset": 0, + "type": {"kind": "struct", "name": "_DISPATCHER_HEADER"}, + }, + "Period": { + "offset": 36, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "TimerListEntry": { + "offset": 24, + "type": {"kind": "struct", "name": "_LIST_ENTRY"}, + }, + }, + "kind": "struct", + "size": 40, + }, + "_ERESOURCE": { + "fields": { + "ActiveCount": { + "offset": 12, + "type": {"kind": "base", "name": "short"}, + }, + "ActiveEntries": { + "offset": 32, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "Address": { + "offset": 48, + "type": { + "kind": "pointer", + "subtype": {"kind": "base", "name": "void"}, + }, + }, + "ContentionCount": { + "offset": 36, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "CreatorBackTraceIndex": { + "offset": 48, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ExclusiveWaiters": { + "offset": 20, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_KEVENT"}, + }, + }, + "Flag": { + "offset": 14, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "NumberOfExclusiveWaiters": { + "offset": 44, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "NumberOfSharedWaiters": { + "offset": 40, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "OwnerEntry": { + "offset": 24, + "type": {"kind": "struct", "name": "_OWNER_ENTRY"}, + }, + "OwnerTable": { + "offset": 8, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_OWNER_ENTRY"}, + }, + }, + "ReservedLowFlags": { + "offset": 14, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "SharedWaiters": { + "offset": 16, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_KSEMAPHORE"}, + }, + }, + "SpinLock": { + "offset": 52, + "type": {"kind": "base", "name": "unsigned long long"}, + }, + "SystemResourcesList": { + "offset": 0, + "type": {"kind": "struct", "name": "_LIST_ENTRY"}, + }, + "WaiterPriority": { + "offset": 15, + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "kind": "struct", + "size": 56, + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": {"offset": 4, "type": {"kind": "base", "name": "long"}}, + "LowPart": { + "offset": 0, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "QuadPart": { + "offset": 0, + "type": {"kind": "base", "name": "long long"}, + }, + "u": { + "offset": 0, + "type": {"kind": "struct", "name": "__unnamed_1083"}, + }, + }, + "kind": "union", + "size": 8, + }, + "_ETHREAD": { + "fields": { + "Cid": { + "offset": 868, + "type": {"kind": "struct", "name": "_CLIENT_ID"}, + }, + "CreateTime": { + "offset": 824, + "type": {"kind": "union", "name": "_LARGE_INTEGER"}, + }, + "CrossThreadFlags": { + "offset": 952, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ExitTime": { + "offset": 832, + "type": {"kind": "union", "name": "_LARGE_INTEGER"}, + }, + "Tcb": {"offset": 0, "type": {"kind": "struct", "name": "_KTHREAD"}}, + }, + "kind": "struct", + "size": 1048, + }, + "_KTHREAD": { + "fields": { + "State": { + "offset": 144, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "WaitReason": { + "offset": 395, + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "kind": "struct", + "size": 824, + }, + "_EPROCESS": { + "fields": { + "CreateTime": { + "offset": 168, + "type": {"kind": "union", "name": "_LARGE_INTEGER"}, + }, + "ExitTime": { + "offset": 688, + "type": {"kind": "union", "name": "_LARGE_INTEGER"}, + }, + "ImageFileName": { + "offset": 1080, + "type": { + "count": 368, + "kind": "array", + "subtype": {"kind": "base", "name": "unsigned char"}, + }, + }, + "ObjectTable": { + "offset": 336, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_HANDLE_TABLE"}, + }, + }, + "Pcb": {"offset": 0, "type": {"kind": "struct", "name": "_KPROCESS"}}, + "Peb": { + "offset": 320, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_PEB"}, + }, + }, + "Session": { + "offset": 324, + "type": { + "kind": "pointer", + "subtype": {"kind": "base", "name": "void"}, + }, + }, + "ThreadListHead": { + "offset": 404, + "type": {"kind": "struct", "name": "_LIST_ENTRY"}, + }, + "UniqueProcessId": { + "offset": 180, + "type": { + "kind": "pointer", + "subtype": {"kind": "base", "name": "void"}, + }, + }, + "VadRoot": { + "offset": 628, + "type": {"kind": "struct", "name": "_RTL_AVL_TREE"}, + }, + }, + "kind": "struct", + "size": 760, + }, + "_EX_FAST_REF": { + "fields": { + "Object": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": {"kind": "base", "name": "void"}, + }, + }, + "RefCnt": { + "offset": 0, + "type": { + "bit_length": 4, + "bit_position": 0, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "Value": { + "offset": 0, + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "kind": "struct", + "size": 4, + }, + "_TOKEN": { + "fields": { + "Privileges": { + "offset": 64, + "type": {"kind": "struct", "name": "_SEP_TOKEN_PRIVILEGES"}, + }, + "UserAndGroupCount": { + "offset": 124, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "UserAndGroups": { + "offset": 148, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_SID_AND_ATTRIBUTES"}, + }, + }, + }, + "kind": "struct", + "size": 656, + }, + "_OBJECT_HEADER": { + "fields": { + "Body": {"offset": 24, "type": {"kind": "struct", "name": "_QUAD"}}, + "InfoMask": { + "offset": 14, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "PointerCount": {"offset": 0, "type": {"kind": "base", "name": "long"}}, + "TypeIndex": { + "offset": 12, + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "kind": "struct", + "size": 32, + }, + "_FILE_OBJECT": { + "fields": { + "DeleteAccess": { + "offset": 40, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "DeviceObject": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_DEVICE_OBJECT"}, + }, + }, + "FileName": { + "offset": 48, + "type": {"kind": "struct", "name": "_UNICODE_STRING"}, + }, + "ReadAccess": { + "offset": 38, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "SharedDelete": { + "offset": 43, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "SharedRead": { + "offset": 41, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "SharedWrite": { + "offset": 42, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "WriteAccess": { + "offset": 39, + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "kind": "struct", + "size": 128, + }, + "_DEVICE_OBJECT": { + "fields": { + "AttachedDevice": { + "offset": 16, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_DEVICE_OBJECT"}, + }, + }, + "Flags": { + "offset": 48, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "NextDevice": { + "offset": 12, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_DEVICE_OBJECT"}, + }, + }, + }, + "kind": "struct", + "size": 184, + }, + "_CM_KEY_BODY": { + "fields": { + "KeyControlBlock": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_CM_KEY_CONTROL_BLOCK"}, + }, + }, + "Type": { + "offset": 0, + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "kind": "struct", + "size": 44, + }, + "_CMHIVE": { + "fields": { + "FileFullPath": { + "offset": 1136, + "type": {"kind": "struct", "name": "_UNICODE_STRING"}, + }, + "FileUserName": { + "offset": 1144, + "type": {"kind": "struct", "name": "_UNICODE_STRING"}, + }, + "Hive": {"offset": 0, "type": {"kind": "struct", "name": "_HHIVE"}}, + "HiveRootPath": { + "offset": 1160, + "type": {"kind": "struct", "name": "_UNICODE_STRING"}, + }, + }, + "kind": "struct", + "size": 3104, + }, + "_CM_KEY_NODE": { + "fields": { + "Name": { + "offset": 76, + "type": { + "count": 1, + "kind": "array", + "subtype": {"kind": "base", "name": "wchar"}, + }, + }, + "NameLength": { + "offset": 72, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "Parent": { + "offset": 16, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "SubKeyLists": { + "offset": 28, + "type": { + "count": 2, + "kind": "array", + "subtype": {"kind": "base", "name": "unsigned long"}, + }, + }, + "ValueList": { + "offset": 36, + "type": {"kind": "struct", "name": "_CHILD_LIST"}, + }, + }, + "kind": "struct", + "size": 80, + }, + "_CM_KEY_VALUE": { + "fields": { + "Data": { + "offset": 8, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "DataLength": { + "offset": 4, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "Flags": { + "offset": 16, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "Name": { + "offset": 20, + "type": { + "count": 1, + "kind": "array", + "subtype": {"kind": "base", "name": "wchar"}, + }, + }, + "NameLength": { + "offset": 2, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "Signature": { + "offset": 0, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "Spare": { + "offset": 18, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "Type": { + "offset": 12, + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "kind": "struct", + "size": 24, + }, + "_HMAP_ENTRY": { + "fields": { + "BinAddress": { + "offset": 4, + "type": {"kind": "base", "name": "unsigned long long"}, + }, + "BlockAddress": { + "offset": 0, + "type": {"kind": "base", "name": "unsigned long long"}, + }, + "MemAlloc": { + "offset": 8, + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "kind": "struct", + "size": 12, + }, + "_MMVAD_SHORT": { + "fields": { + "EndingVpn": { + "offset": 16, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "NextVad": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_MMVAD_SHORT"}, + }, + }, + "StartingVpn": { + "offset": 12, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "VadNode": { + "offset": 0, + "type": {"kind": "struct", "name": "_RTL_BALANCED_NODE"}, + }, + }, + "kind": "struct", + "size": 40, + }, + "_MMVAD": { + "fields": { + "Core": { + "offset": 0, + "type": {"kind": "struct", "name": "_MMVAD_SHORT"}, + }, + "Subsection": { + "offset": 44, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_SUBSECTION"}, + }, + }, + }, + "kind": "struct", + "size": 72, + }, + "_KSYSTEM_TIME": { + "fields": { + "High1Time": {"offset": 4, "type": {"kind": "base", "name": "long"}}, + "High2Time": {"offset": 8, "type": {"kind": "base", "name": "long"}}, + "LowPart": { + "offset": 0, + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "kind": "struct", + "size": 12, + }, + "_KMUTANT": { + "fields": { + "Header": { + "offset": 0, + "type": {"kind": "struct", "name": "_DISPATCHER_HEADER"}, + } + }, + "kind": "struct", + "size": 32, + }, + "_DRIVER_OBJECT": { + "fields": { + "DeviceObject": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_DEVICE_OBJECT"}, + }, + } + }, + "kind": "struct", + "size": 168, + }, + "_OBJECT_SYMBOLIC_LINK": { + "fields": { + "CreationTime": { + "offset": 0, + "type": {"kind": "union", "name": "_LARGE_INTEGER"}, + } + }, + "kind": "struct", + "size": 24, + }, + "_CONTROL_AREA": { + "fields": { + "FilePointer": { + "offset": 32, + "type": {"kind": "struct", "name": "_EX_FAST_REF"}, + } + }, + "kind": "struct", + "size": 80, + }, + "_SHARED_CACHE_MAP": { + "fields": { + "FileSize": { + "offset": 8, + "type": {"kind": "union", "name": "_LARGE_INTEGER"}, + }, + "InitialVacbs": { + "offset": 48, + "type": { + "count": 4, + "kind": "array", + "subtype": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_VACB"}, + }, + }, + }, + "Section": { + "offset": 108, + "type": { + "kind": "pointer", + "subtype": {"kind": "base", "name": "void"}, + }, + }, + "SectionSize": { + "offset": 24, + "type": {"kind": "union", "name": "_LARGE_INTEGER"}, + }, + "Vacbs": { + "offset": 64, + "type": { + "kind": "pointer", + "subtype": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_VACB"}, + }, + }, + }, + "ValidDataLength": { + "offset": 32, + "type": {"kind": "union", "name": "_LARGE_INTEGER"}, + }, + }, + "kind": "struct", + "size": 368, + }, + "_VACB": { + "fields": { + "ArrayHead": { + "offset": 16, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_VACB_ARRAY_HEADER"}, + }, + }, + "BaseAddress": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": {"kind": "base", "name": "void"}, + }, + }, + "Overlay": { + "offset": 8, + "type": {"kind": "union", "name": "__unnamed_1971"}, + }, + "SharedCacheMap": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_SHARED_CACHE_MAP"}, + }, + }, + }, + "kind": "struct", + "size": 24, + }, + "_POOL_TRACKER_BIG_PAGES": { + "fields": { + "Key": {"offset": 4, "type": {"kind": "base", "name": "unsigned long"}}, + "NumberOfBytes": { + "offset": 12, + "type": {"kind": "base", "name": "unsigned long long"}, + }, + "PoolType": { + "offset": 8, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "Va": {"offset": 0, "type": {"kind": "base", "name": "unsigned long"}}, + }, + "kind": "struct", + "size": 16, + }, + "_IMAGE_DOS_HEADER": { + "fields": { + "e_cblp": { + "offset": 2, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_cp": { + "offset": 4, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_cparhdr": { + "offset": 8, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_crlc": { + "offset": 6, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_cs": { + "offset": 22, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_csum": { + "offset": 18, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_ip": { + "offset": 20, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_lfanew": {"offset": 60, "type": {"kind": "base", "name": "long"}}, + "e_lfarlc": { + "offset": 24, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_magic": { + "offset": 0, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_maxalloc": { + "offset": 12, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_minalloc": { + "offset": 10, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_oemid": { + "offset": 36, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_oeminfo": { + "offset": 38, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_ovno": { + "offset": 26, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_res": { + "offset": 28, + "type": { + "count": 4, + "kind": "array", + "subtype": {"kind": "base", "name": "unsigned short"}, + }, + }, + "e_res2": { + "offset": 40, + "type": { + "count": 10, + "kind": "array", + "subtype": {"kind": "base", "name": "unsigned short"}, + }, + }, + "e_sp": { + "offset": 16, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "e_ss": { + "offset": 14, + "type": {"kind": "base", "name": "unsigned short"}, + }, + }, + "kind": "struct", + "size": 64, + }, + "_SINGLE_LIST_ENTRY": { + "fields": { + "Next": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_SINGLE_LIST_ENTRY"}, + }, + } + }, + "kind": "struct", + "size": 4, + }, + "_LDRP_CSLIST": { + "fields": { + "Tail": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_SINGLE_LIST_ENTRY"}, + }, + } + }, + "kind": "struct", + "size": 4, + }, + "_RTL_BALANCED_NODE": { + "fields": { + "Balance": { + "offset": 8, + "type": { + "bit_length": 2, + "bit_position": 0, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "Children": { + "offset": 0, + "type": { + "count": 2, + "kind": "array", + "subtype": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_RTL_BALANCED_NODE"}, + }, + }, + }, + "Left": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_RTL_BALANCED_NODE"}, + }, + }, + "ParentValue": { + "offset": 8, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "Red": { + "offset": 8, + "type": { + "bit_length": 1, + "bit_position": 0, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "Right": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_RTL_BALANCED_NODE"}, + }, + }, + }, + "kind": "struct", + "size": 12, + }, + "_LIST_ENTRY": { + "fields": { + "Blink": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_LIST_ENTRY"}, + }, + }, + "Flink": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": {"kind": "struct", "name": "_LIST_ENTRY"}, + }, + }, + }, + "kind": "struct", + "size": 8, + }, + "LIST_ENTRY32": { + "fields": { + "Blink": { + "offset": 4, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "Flink": { + "offset": 0, + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "kind": "struct", + "size": 8, + }, + "_PEB_LDR_DATA": { + "fields": { + "EntryInProgress": { + "offset": 36, + "type": { + "kind": "pointer", + "subtype": {"kind": "base", "name": "void"}, + }, + }, + "InInitializationOrderModuleList": { + "offset": 28, + "type": {"kind": "struct", "name": "_LIST_ENTRY"}, + }, + "InLoadOrderModuleList": { + "offset": 12, + "type": {"kind": "struct", "name": "_LIST_ENTRY"}, + }, + "InMemoryOrderModuleList": { + "offset": 20, + "type": {"kind": "struct", "name": "_LIST_ENTRY"}, + }, + "Initialized": { + "offset": 4, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "Length": { + "offset": 0, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ShutdownInProgress": { + "offset": 40, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "ShutdownThreadId": { + "offset": 44, + "type": { + "kind": "pointer", + "subtype": {"kind": "base", "name": "void"}, + }, + }, + "SsHandle": { + "offset": 8, + "type": { + "kind": "pointer", + "subtype": {"kind": "base", "name": "void"}, + }, + }, + }, + "kind": "struct", + "size": 48, + }, + "_LDR_DATA_TABLE_ENTRY": { + "fields": { + "BaseDllName": { + "offset": 44, + "type": {"kind": "struct", "name": "_UNICODE_STRING"}, + }, + "FullDllName": { + "offset": 36, + "type": {"kind": "struct", "name": "_UNICODE_STRING"}, + }, + "LoadTime": { + "offset": 256, + "type": {"kind": "union", "name": "_LARGE_INTEGER"}, + }, + "DllBase": { + "offset": 24, + "type": { + "kind": "pointer", + "subtype": {"kind": "base", "name": "void"}, + }, + }, + "SizeOfImage": { + "offset": 32, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "InInitializationOrderLinks": { + "offset": 16, + "type": {"kind": "struct", "name": "_LIST_ENTRY"}, + }, + "InLoadOrderLinks": { + "offset": 0, + "type": {"kind": "struct", "name": "_LIST_ENTRY"}, + }, + "InMemoryOrderLinks": { + "offset": 8, + "type": {"kind": "struct", "name": "_LIST_ENTRY"}, + }, + }, + "kind": "struct", + "size": 160, + }, + "_PEB32": { + "fields": { + "ActivationContextData": { + "offset": 504, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ActiveProcessAffinityMask": { + "offset": 192, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "AnsiCodePageData": { + "offset": 88, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ApiSetMap": { + "offset": 56, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "AppCompatFlags": { + "offset": 472, + "type": {"kind": "union", "name": "_ULARGE_INTEGER"}, + }, + "AppCompatFlagsUser": { + "offset": 480, + "type": {"kind": "union", "name": "_ULARGE_INTEGER"}, + }, + "AppCompatInfo": { + "offset": 492, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "AtlThunkSListPtr": { + "offset": 32, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "AtlThunkSListPtr32": { + "offset": 52, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "BeingDebugged": { + "offset": 2, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "BitField": { + "offset": 3, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "CSDVersion": { + "offset": 496, + "type": {"kind": "struct", "name": "_STRING32"}, + }, + "CritSecTracingEnabled": { + "offset": 576, + "type": { + "bit_length": 1, + "bit_position": 1, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "CriticalSectionTimeout": { + "offset": 112, + "type": {"kind": "union", "name": "_LARGE_INTEGER"}, + }, + "CrossProcessFlags": { + "offset": 40, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "CsrServerReadOnlySharedMemoryBase": { + "offset": 584, + "type": {"kind": "base", "name": "unsigned long long"}, + }, + "FastPebLock": { + "offset": 28, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "FlsBitmap": { + "offset": 536, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "FlsBitmapBits": { + "offset": 540, + "type": { + "count": 4, + "kind": "array", + "subtype": {"kind": "base", "name": "unsigned long"}, + }, + }, + "FlsCallback": { + "offset": 524, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "FlsHighIndex": { + "offset": 556, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "FlsListHead": { + "offset": 528, + "type": {"kind": "struct", "name": "LIST_ENTRY32"}, + }, + "GdiDCAttributeList": { + "offset": 156, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "GdiHandleBuffer": { + "offset": 196, + "type": { + "count": 34, + "kind": "array", + "subtype": {"kind": "base", "name": "unsigned long"}, + }, + }, + "GdiSharedHandleTable": { + "offset": 148, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "HeapDeCommitFreeBlockThreshold": { + "offset": 132, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "HeapDeCommitTotalFreeThreshold": { + "offset": 128, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "HeapSegmentCommit": { + "offset": 124, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "HeapSegmentReserve": { + "offset": 120, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "HeapTracingEnabled": { + "offset": 576, + "type": { + "bit_length": 1, + "bit_position": 0, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "IFEOKey": { + "offset": 36, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ImageBaseAddress": { + "offset": 8, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ImageSubsystem": { + "offset": 180, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ImageSubsystemMajorVersion": { + "offset": 184, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ImageSubsystemMinorVersion": { + "offset": 188, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ImageUsesLargePages": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 0, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "InheritedAddressSpace": { + "offset": 0, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "IsAppContainer": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 5, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "IsImageDynamicallyRelocated": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 2, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "IsPackagedProcess": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 4, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "IsProtectedProcess": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 1, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "IsProtectedProcessLight": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 6, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "KernelCallbackTable": { + "offset": 44, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "Ldr": { + "offset": 12, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "LibLoaderTracingEnabled": { + "offset": 576, + "type": { + "bit_length": 1, + "bit_position": 2, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "LoaderLock": { + "offset": 160, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "MaximumNumberOfHeaps": { + "offset": 140, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "MinimumStackCommit": { + "offset": 520, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "Mutant": { + "offset": 4, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "NtGlobalFlag": { + "offset": 104, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "NumberOfHeaps": { + "offset": 136, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "NumberOfProcessors": { + "offset": 100, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "OSBuildNumber": { + "offset": 172, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "OSCSDVersion": { + "offset": 174, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "OSMajorVersion": { + "offset": 164, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "OSMinorVersion": { + "offset": 168, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "OSPlatformId": { + "offset": 176, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "OemCodePageData": { + "offset": 92, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "PostProcessInitRoutine": { + "offset": 332, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ProcessAssemblyStorageMap": { + "offset": 508, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ProcessHeap": { + "offset": 24, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ProcessHeaps": { + "offset": 144, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ProcessInJob": { + "offset": 40, + "type": { + "bit_length": 1, + "bit_position": 0, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "ProcessInitializing": { + "offset": 40, + "type": { + "bit_length": 1, + "bit_position": 1, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "ProcessParameters": { + "offset": 16, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ProcessStarterHelper": { + "offset": 152, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ProcessUsingFTH": { + "offset": 40, + "type": { + "bit_length": 1, + "bit_position": 4, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "ProcessUsingVCH": { + "offset": 40, + "type": { + "bit_length": 1, + "bit_position": 3, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "ProcessUsingVEH": { + "offset": 40, + "type": { + "bit_length": 1, + "bit_position": 2, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "ReadImageFileExecOptions": { + "offset": 1, + "type": {"kind": "base", "name": "unsigned char"}, + }, + "ReadOnlySharedMemoryBase": { + "offset": 76, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ReadOnlyStaticServerData": { + "offset": 84, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "ReservedBits0": { + "offset": 40, + "type": { + "bit_length": 27, + "bit_position": 5, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "SessionId": { + "offset": 468, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "SkipPatchingUser32Forwarders": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 3, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "SpareBits": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 7, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned char"}, + }, + }, + "SparePvoid0": { + "offset": 80, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "SpareTracingBits": { + "offset": 576, + "type": { + "bit_length": 29, + "bit_position": 3, + "kind": "bitfield", + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "SubSystemData": { + "offset": 20, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "SystemAssemblyStorageMap": { + "offset": 516, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "SystemDefaultActivationContextData": { + "offset": 512, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "SystemReserved": { + "offset": 48, + "type": { + "count": 1, + "kind": "array", + "subtype": {"kind": "base", "name": "unsigned long"}, + }, + }, + "TlsBitmap": { + "offset": 64, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "TlsBitmapBits": { + "offset": 68, + "type": { + "count": 2, + "kind": "array", + "subtype": {"kind": "base", "name": "unsigned long"}, + }, + }, + "TlsExpansionBitmap": { + "offset": 336, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "TlsExpansionBitmapBits": { + "offset": 340, + "type": { + "count": 32, + "kind": "array", + "subtype": {"kind": "base", "name": "unsigned long"}, + }, + }, + "TlsExpansionCounter": { + "offset": 60, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "TracingFlags": { + "offset": 576, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "UnicodeCaseTableData": { + "offset": 96, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "UserSharedInfoPtr": { + "offset": 44, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "WerRegistrationData": { + "offset": 560, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "WerShipAssertPtr": { + "offset": 564, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "pImageHeaderHash": { + "offset": 572, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "pShimData": { + "offset": 488, + "type": {"kind": "base", "name": "unsigned long"}, + }, + "pUnused": { + "offset": 568, + "type": {"kind": "base", "name": "unsigned long"}, + }, + }, + "kind": "struct", + "size": 592, + }, + "_UNICODE_STRING": { + "fields": { + "Buffer": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": {"kind": "base", "name": "unsigned short"}, + }, + }, + "Length": { + "offset": 0, + "type": {"kind": "base", "name": "unsigned short"}, + }, + "MaximumLength": { + "offset": 2, + "type": {"kind": "base", "name": "unsigned short"}, + }, + }, + "kind": "struct", + "size": 8, + }, + }, +} From c317cad835f66e01d4ad6ee50f24967d5a8be7b7 Mon Sep 17 00:00:00 2001 From: hsarkey Date: Wed, 9 Oct 2024 15:53:59 -0400 Subject: [PATCH 1252/2186] Syntax changes to wow64.json --- .../framework/symbols/windows/wow64.json | 3941 ++++++++++------- 1 file changed, 2391 insertions(+), 1550 deletions(-) diff --git a/volatility3/framework/symbols/windows/wow64.json b/volatility3/framework/symbols/windows/wow64.json index e28d77241..4c5cdd4a4 100644 --- a/volatility3/framework/symbols/windows/wow64.json +++ b/volatility3/framework/symbols/windows/wow64.json @@ -1,1585 +1,2426 @@ { - "symbols": {}, - "enums": { - "_LDR_DLL_LOAD_REASON": { - "base": "int", - "constants": { - "LoadReasonAsDataLoad": 6, - "LoadReasonAsImageLoad": 5, - "LoadReasonDelayloadDependency": 3, - "LoadReasonDynamicForwarderDependency": 2, - "LoadReasonDynamicLoad": 4, - "LoadReasonStaticDependency": 0, - "LoadReasonStaticForwarderDependency": 1, - "LoadReasonUnknown": -1, - }, - "size": 4, - }, - "_LDR_DDAG_STATE": { - "base": "int", - "constants": { - "LdrModulesCondensed": 6, - "LdrModulesInitError": -4, - "LdrModulesInitializing": 8, - "LdrModulesMapped": 2, - "LdrModulesMapping": 1, - "LdrModulesMerged": -5, - "LdrModulesPlaceHolder": 0, - "LdrModulesReadyToInit": 7, - "LdrModulesReadyToRun": 9, - "LdrModulesSnapError": -3, - "LdrModulesSnapped": 5, - "LdrModulesSnapping": 4, - "LdrModulesUnloaded": -2, - "LdrModulesUnloading": -1, - "LdrModulesWaitingForDependencies": 3, - }, - "size": 4, - }, + "symbols": { + }, + "enums": { + "_LDR_DLL_LOAD_REASON": { + "base": "int", + "constants": { + "LoadReasonAsDataLoad": 6, + "LoadReasonAsImageLoad": 5, + "LoadReasonDelayloadDependency": 3, + "LoadReasonDynamicForwarderDependency": 2, + "LoadReasonDynamicLoad": 4, + "LoadReasonStaticDependency": 0, + "LoadReasonStaticForwarderDependency": 1, + "LoadReasonUnknown": -1 + }, + "size": 4 }, + "_LDR_DDAG_STATE": { + "base": "int", + "constants": { + "LdrModulesCondensed": 6, + "LdrModulesInitError": -4, + "LdrModulesInitializing": 8, + "LdrModulesMapped": 2, + "LdrModulesMapping": 1, + "LdrModulesMerged": -5, + "LdrModulesPlaceHolder": 0, + "LdrModulesReadyToInit": 7, + "LdrModulesReadyToRun": 9, + "LdrModulesSnapError": -3, + "LdrModulesSnapped": 5, + "LdrModulesSnapping": 4, + "LdrModulesUnloaded": -2, + "LdrModulesUnloading": -1, + "LdrModulesWaitingForDependencies": 3 + }, + "size": 4 + } + }, "base_types": { "unsigned long": { "kind": "int", "size": 4, "signed": false, - "endian": "little", + "endian": "little" + }, + "int": { + "endian": "little", + "kind": "int", + "signed": true, + "size": 4 }, - "int": {"endian": "little", "kind": "int", "signed": true, "size": 4}, "unsigned long long": { "kind": "int", "size": 8, "signed": false, - "endian": "little", + "endian": "little" }, "unsigned char": { "kind": "char", "size": 1, "signed": false, - "endian": "little", + "endian": "little" + }, + "pointer": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "unsigned int": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" }, - "pointer": {"kind": "int", "size": 4, "signed": false, "endian": "little"}, - "unsigned int": {"kind": "int", "size": 4, "signed": false, "endian": "little"}, "unsigned short": { "kind": "int", "size": 2, "signed": false, + "endian": "little" + }, + "long": { + "kind": "int", + "size": 4, + "signed": false, + "endian": "little" + }, + "long long": { "endian": "little", + "kind": "int", + "signed": true, + "size": 8 }, - "long": {"kind": "int", "size": 4, "signed": false, "endian": "little"}, - "long long": {"endian": "little", "kind": "int", "signed": true, "size": 8}, - "void": {"endian": "little", "kind": "void", "signed": true, "size": 0}, + "void": { + "endian": "little", + "kind": "void", + "signed": true, + "size": 0 + } }, - "metadata": { - "format": "4.1.0", - "producer": { - "datetime": "2024-05-30T17:02:06.755760", - "name": "awalters-by-hand", - "version": "0.0.2", + "metadata": { + "format": "4.1.0", + "producer": { + "datetime": "2024-05-30T17:02:06.755760", + "name": "awalters-by-hand", + "version": "0.0.2" + } + }, + "user_types": { + "_LDR_SERVICE_TAG_RECORD": { + "fields": { + "Next": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_LDR_SERVICE_TAG_RECORD" + } + } }, + "ServiceTag": { + "offset": 4, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 }, - "user_types": { - "_LDR_SERVICE_TAG_RECORD": { - "fields": { - "Next": { - "offset": 0, - "type": { - "kind": "pointer", - "subtype": { - "kind": "struct", - "name": "_LDR_SERVICE_TAG_RECORD", - }, - }, - }, - "ServiceTag": { - "offset": 4, - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "kind": "struct", - "size": 8, + "_KTIMER": { + "fields": { + "Dpc": { + "offset": 32, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_KDPC" + } + } }, - "_KTIMER": { - "fields": { - "Dpc": { - "offset": 32, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_KDPC"}, - }, - }, - "DueTime": { - "offset": 16, - "type": {"kind": "union", "name": "_ULARGE_INTEGER"}, - }, - "Header": { - "offset": 0, - "type": {"kind": "struct", "name": "_DISPATCHER_HEADER"}, - }, - "Period": { - "offset": 36, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "TimerListEntry": { - "offset": 24, - "type": {"kind": "struct", "name": "_LIST_ENTRY"}, - }, - }, - "kind": "struct", - "size": 40, - }, - "_ERESOURCE": { - "fields": { - "ActiveCount": { - "offset": 12, - "type": {"kind": "base", "name": "short"}, - }, - "ActiveEntries": { - "offset": 32, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "Address": { - "offset": 48, - "type": { - "kind": "pointer", - "subtype": {"kind": "base", "name": "void"}, - }, - }, - "ContentionCount": { - "offset": 36, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "CreatorBackTraceIndex": { - "offset": 48, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ExclusiveWaiters": { - "offset": 20, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_KEVENT"}, - }, - }, - "Flag": { - "offset": 14, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "NumberOfExclusiveWaiters": { - "offset": 44, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "NumberOfSharedWaiters": { - "offset": 40, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "OwnerEntry": { - "offset": 24, - "type": {"kind": "struct", "name": "_OWNER_ENTRY"}, - }, - "OwnerTable": { - "offset": 8, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_OWNER_ENTRY"}, - }, - }, - "ReservedLowFlags": { - "offset": 14, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "SharedWaiters": { - "offset": 16, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_KSEMAPHORE"}, - }, - }, - "SpinLock": { - "offset": 52, - "type": {"kind": "base", "name": "unsigned long long"}, - }, - "SystemResourcesList": { - "offset": 0, - "type": {"kind": "struct", "name": "_LIST_ENTRY"}, - }, - "WaiterPriority": { - "offset": 15, - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "kind": "struct", - "size": 56, - }, - "_LARGE_INTEGER": { - "fields": { - "HighPart": {"offset": 4, "type": {"kind": "base", "name": "long"}}, - "LowPart": { - "offset": 0, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "QuadPart": { - "offset": 0, - "type": {"kind": "base", "name": "long long"}, - }, - "u": { - "offset": 0, - "type": {"kind": "struct", "name": "__unnamed_1083"}, - }, - }, + "DueTime": { + "offset": 16, + "type": { "kind": "union", - "size": 8, + "name": "_ULARGE_INTEGER" + } }, - "_ETHREAD": { - "fields": { - "Cid": { - "offset": 868, - "type": {"kind": "struct", "name": "_CLIENT_ID"}, - }, - "CreateTime": { - "offset": 824, - "type": {"kind": "union", "name": "_LARGE_INTEGER"}, - }, - "CrossThreadFlags": { - "offset": 952, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ExitTime": { - "offset": 832, - "type": {"kind": "union", "name": "_LARGE_INTEGER"}, - }, - "Tcb": {"offset": 0, "type": {"kind": "struct", "name": "_KTHREAD"}}, - }, + "Header": { + "offset": 0, + "type": { "kind": "struct", - "size": 1048, + "name": "_DISPATCHER_HEADER" + } }, - "_KTHREAD": { - "fields": { - "State": { - "offset": 144, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "WaitReason": { - "offset": 395, - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, + "Period": { + "offset": 36, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "TimerListEntry": { + "offset": 24, + "type": { "kind": "struct", - "size": 824, - }, - "_EPROCESS": { - "fields": { - "CreateTime": { - "offset": 168, - "type": {"kind": "union", "name": "_LARGE_INTEGER"}, - }, - "ExitTime": { - "offset": 688, - "type": {"kind": "union", "name": "_LARGE_INTEGER"}, - }, - "ImageFileName": { - "offset": 1080, - "type": { - "count": 368, - "kind": "array", - "subtype": {"kind": "base", "name": "unsigned char"}, - }, - }, - "ObjectTable": { - "offset": 336, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_HANDLE_TABLE"}, - }, - }, - "Pcb": {"offset": 0, "type": {"kind": "struct", "name": "_KPROCESS"}}, - "Peb": { - "offset": 320, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_PEB"}, - }, - }, - "Session": { - "offset": 324, - "type": { - "kind": "pointer", - "subtype": {"kind": "base", "name": "void"}, - }, - }, - "ThreadListHead": { - "offset": 404, - "type": {"kind": "struct", "name": "_LIST_ENTRY"}, - }, - "UniqueProcessId": { - "offset": 180, - "type": { - "kind": "pointer", - "subtype": {"kind": "base", "name": "void"}, - }, - }, - "VadRoot": { - "offset": 628, - "type": {"kind": "struct", "name": "_RTL_AVL_TREE"}, - }, - }, - "kind": "struct", - "size": 760, - }, - "_EX_FAST_REF": { - "fields": { - "Object": { - "offset": 0, - "type": { - "kind": "pointer", - "subtype": {"kind": "base", "name": "void"}, - }, - }, - "RefCnt": { - "offset": 0, - "type": { - "bit_length": 4, - "bit_position": 0, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "Value": { - "offset": 0, - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "kind": "struct", - "size": 4, - }, - "_TOKEN": { - "fields": { - "Privileges": { - "offset": 64, - "type": {"kind": "struct", "name": "_SEP_TOKEN_PRIVILEGES"}, - }, - "UserAndGroupCount": { - "offset": 124, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "UserAndGroups": { - "offset": 148, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_SID_AND_ATTRIBUTES"}, - }, - }, - }, - "kind": "struct", - "size": 656, - }, - "_OBJECT_HEADER": { - "fields": { - "Body": {"offset": 24, "type": {"kind": "struct", "name": "_QUAD"}}, - "InfoMask": { - "offset": 14, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "PointerCount": {"offset": 0, "type": {"kind": "base", "name": "long"}}, - "TypeIndex": { - "offset": 12, - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "kind": "struct", - "size": 32, - }, - "_FILE_OBJECT": { - "fields": { - "DeleteAccess": { - "offset": 40, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "DeviceObject": { - "offset": 4, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_DEVICE_OBJECT"}, - }, - }, - "FileName": { - "offset": 48, - "type": {"kind": "struct", "name": "_UNICODE_STRING"}, - }, - "ReadAccess": { - "offset": 38, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "SharedDelete": { - "offset": 43, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "SharedRead": { - "offset": 41, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "SharedWrite": { - "offset": 42, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "WriteAccess": { - "offset": 39, - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "kind": "struct", - "size": 128, - }, - "_DEVICE_OBJECT": { - "fields": { - "AttachedDevice": { - "offset": 16, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_DEVICE_OBJECT"}, - }, - }, - "Flags": { - "offset": 48, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "NextDevice": { - "offset": 12, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_DEVICE_OBJECT"}, - }, - }, - }, - "kind": "struct", - "size": 184, - }, - "_CM_KEY_BODY": { - "fields": { - "KeyControlBlock": { - "offset": 4, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_CM_KEY_CONTROL_BLOCK"}, - }, - }, - "Type": { - "offset": 0, - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "kind": "struct", - "size": 44, - }, - "_CMHIVE": { - "fields": { - "FileFullPath": { - "offset": 1136, - "type": {"kind": "struct", "name": "_UNICODE_STRING"}, - }, - "FileUserName": { - "offset": 1144, - "type": {"kind": "struct", "name": "_UNICODE_STRING"}, - }, - "Hive": {"offset": 0, "type": {"kind": "struct", "name": "_HHIVE"}}, - "HiveRootPath": { - "offset": 1160, - "type": {"kind": "struct", "name": "_UNICODE_STRING"}, - }, - }, - "kind": "struct", - "size": 3104, - }, - "_CM_KEY_NODE": { - "fields": { - "Name": { - "offset": 76, - "type": { - "count": 1, - "kind": "array", - "subtype": {"kind": "base", "name": "wchar"}, - }, - }, - "NameLength": { - "offset": 72, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "Parent": { - "offset": 16, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "SubKeyLists": { - "offset": 28, - "type": { - "count": 2, - "kind": "array", - "subtype": {"kind": "base", "name": "unsigned long"}, - }, - }, - "ValueList": { - "offset": 36, - "type": {"kind": "struct", "name": "_CHILD_LIST"}, - }, - }, - "kind": "struct", - "size": 80, - }, - "_CM_KEY_VALUE": { - "fields": { - "Data": { - "offset": 8, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "DataLength": { - "offset": 4, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "Flags": { - "offset": 16, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "Name": { - "offset": 20, - "type": { - "count": 1, - "kind": "array", - "subtype": {"kind": "base", "name": "wchar"}, - }, - }, - "NameLength": { - "offset": 2, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "Signature": { - "offset": 0, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "Spare": { - "offset": 18, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "Type": { - "offset": 12, - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "kind": "struct", - "size": 24, - }, - "_HMAP_ENTRY": { - "fields": { - "BinAddress": { - "offset": 4, - "type": {"kind": "base", "name": "unsigned long long"}, - }, - "BlockAddress": { - "offset": 0, - "type": {"kind": "base", "name": "unsigned long long"}, - }, - "MemAlloc": { - "offset": 8, - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "kind": "struct", - "size": 12, - }, - "_MMVAD_SHORT": { - "fields": { - "EndingVpn": { - "offset": 16, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "NextVad": { - "offset": 0, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_MMVAD_SHORT"}, - }, - }, - "StartingVpn": { - "offset": 12, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "VadNode": { - "offset": 0, - "type": {"kind": "struct", "name": "_RTL_BALANCED_NODE"}, - }, - }, - "kind": "struct", - "size": 40, - }, - "_MMVAD": { - "fields": { - "Core": { - "offset": 0, - "type": {"kind": "struct", "name": "_MMVAD_SHORT"}, - }, - "Subsection": { - "offset": 44, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_SUBSECTION"}, - }, - }, - }, - "kind": "struct", - "size": 72, - }, - "_KSYSTEM_TIME": { - "fields": { - "High1Time": {"offset": 4, "type": {"kind": "base", "name": "long"}}, - "High2Time": {"offset": 8, "type": {"kind": "base", "name": "long"}}, - "LowPart": { - "offset": 0, - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "kind": "struct", - "size": 12, - }, - "_KMUTANT": { - "fields": { - "Header": { - "offset": 0, - "type": {"kind": "struct", "name": "_DISPATCHER_HEADER"}, - } - }, - "kind": "struct", - "size": 32, - }, - "_DRIVER_OBJECT": { - "fields": { - "DeviceObject": { - "offset": 4, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_DEVICE_OBJECT"}, - }, - } - }, - "kind": "struct", - "size": 168, - }, - "_OBJECT_SYMBOLIC_LINK": { - "fields": { - "CreationTime": { - "offset": 0, - "type": {"kind": "union", "name": "_LARGE_INTEGER"}, - } - }, - "kind": "struct", - "size": 24, - }, - "_CONTROL_AREA": { - "fields": { - "FilePointer": { - "offset": 32, - "type": {"kind": "struct", "name": "_EX_FAST_REF"}, - } - }, - "kind": "struct", - "size": 80, - }, - "_SHARED_CACHE_MAP": { - "fields": { - "FileSize": { - "offset": 8, - "type": {"kind": "union", "name": "_LARGE_INTEGER"}, - }, - "InitialVacbs": { - "offset": 48, - "type": { - "count": 4, - "kind": "array", - "subtype": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_VACB"}, - }, - }, - }, - "Section": { - "offset": 108, - "type": { - "kind": "pointer", - "subtype": {"kind": "base", "name": "void"}, - }, - }, - "SectionSize": { - "offset": 24, - "type": {"kind": "union", "name": "_LARGE_INTEGER"}, - }, - "Vacbs": { - "offset": 64, - "type": { - "kind": "pointer", - "subtype": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_VACB"}, - }, - }, - }, - "ValidDataLength": { - "offset": 32, - "type": {"kind": "union", "name": "_LARGE_INTEGER"}, - }, - }, - "kind": "struct", - "size": 368, - }, - "_VACB": { - "fields": { - "ArrayHead": { - "offset": 16, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_VACB_ARRAY_HEADER"}, - }, - }, - "BaseAddress": { - "offset": 0, - "type": { - "kind": "pointer", - "subtype": {"kind": "base", "name": "void"}, - }, - }, - "Overlay": { - "offset": 8, - "type": {"kind": "union", "name": "__unnamed_1971"}, - }, - "SharedCacheMap": { - "offset": 4, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_SHARED_CACHE_MAP"}, - }, - }, - }, - "kind": "struct", - "size": 24, - }, - "_POOL_TRACKER_BIG_PAGES": { - "fields": { - "Key": {"offset": 4, "type": {"kind": "base", "name": "unsigned long"}}, - "NumberOfBytes": { - "offset": 12, - "type": {"kind": "base", "name": "unsigned long long"}, - }, - "PoolType": { - "offset": 8, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "Va": {"offset": 0, "type": {"kind": "base", "name": "unsigned long"}}, - }, - "kind": "struct", - "size": 16, - }, - "_IMAGE_DOS_HEADER": { - "fields": { - "e_cblp": { - "offset": 2, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_cp": { - "offset": 4, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_cparhdr": { - "offset": 8, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_crlc": { - "offset": 6, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_cs": { - "offset": 22, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_csum": { - "offset": 18, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_ip": { - "offset": 20, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_lfanew": {"offset": 60, "type": {"kind": "base", "name": "long"}}, - "e_lfarlc": { - "offset": 24, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_magic": { - "offset": 0, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_maxalloc": { - "offset": 12, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_minalloc": { - "offset": 10, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_oemid": { - "offset": 36, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_oeminfo": { - "offset": 38, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_ovno": { - "offset": 26, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_res": { - "offset": 28, - "type": { - "count": 4, - "kind": "array", - "subtype": {"kind": "base", "name": "unsigned short"}, - }, - }, - "e_res2": { - "offset": 40, - "type": { - "count": 10, - "kind": "array", - "subtype": {"kind": "base", "name": "unsigned short"}, - }, - }, - "e_sp": { - "offset": 16, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "e_ss": { - "offset": 14, - "type": {"kind": "base", "name": "unsigned short"}, - }, - }, - "kind": "struct", - "size": 64, - }, - "_SINGLE_LIST_ENTRY": { - "fields": { - "Next": { - "offset": 0, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_SINGLE_LIST_ENTRY"}, - }, - } - }, - "kind": "struct", - "size": 4, - }, - "_LDRP_CSLIST": { - "fields": { - "Tail": { - "offset": 0, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_SINGLE_LIST_ENTRY"}, - }, - } - }, - "kind": "struct", - "size": 4, - }, - "_RTL_BALANCED_NODE": { - "fields": { - "Balance": { - "offset": 8, - "type": { - "bit_length": 2, - "bit_position": 0, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "Children": { - "offset": 0, - "type": { - "count": 2, - "kind": "array", - "subtype": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_RTL_BALANCED_NODE"}, - }, - }, - }, - "Left": { - "offset": 0, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_RTL_BALANCED_NODE"}, - }, - }, - "ParentValue": { - "offset": 8, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "Red": { - "offset": 8, - "type": { - "bit_length": 1, - "bit_position": 0, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "Right": { - "offset": 4, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_RTL_BALANCED_NODE"}, - }, - }, - }, - "kind": "struct", - "size": 12, - }, - "_LIST_ENTRY": { - "fields": { - "Blink": { - "offset": 4, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_LIST_ENTRY"}, - }, - }, - "Flink": { - "offset": 0, - "type": { - "kind": "pointer", - "subtype": {"kind": "struct", "name": "_LIST_ENTRY"}, - }, - }, - }, - "kind": "struct", - "size": 8, - }, - "LIST_ENTRY32": { - "fields": { - "Blink": { - "offset": 4, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "Flink": { - "offset": 0, - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "kind": "struct", - "size": 8, - }, - "_PEB_LDR_DATA": { - "fields": { - "EntryInProgress": { - "offset": 36, - "type": { - "kind": "pointer", - "subtype": {"kind": "base", "name": "void"}, - }, - }, - "InInitializationOrderModuleList": { - "offset": 28, - "type": {"kind": "struct", "name": "_LIST_ENTRY"}, - }, - "InLoadOrderModuleList": { - "offset": 12, - "type": {"kind": "struct", "name": "_LIST_ENTRY"}, - }, - "InMemoryOrderModuleList": { - "offset": 20, - "type": {"kind": "struct", "name": "_LIST_ENTRY"}, - }, - "Initialized": { - "offset": 4, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "Length": { - "offset": 0, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ShutdownInProgress": { - "offset": 40, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "ShutdownThreadId": { - "offset": 44, - "type": { - "kind": "pointer", - "subtype": {"kind": "base", "name": "void"}, - }, - }, - "SsHandle": { - "offset": 8, - "type": { - "kind": "pointer", - "subtype": {"kind": "base", "name": "void"}, - }, - }, - }, - "kind": "struct", - "size": 48, - }, - "_LDR_DATA_TABLE_ENTRY": { - "fields": { - "BaseDllName": { - "offset": 44, - "type": {"kind": "struct", "name": "_UNICODE_STRING"}, - }, - "FullDllName": { - "offset": 36, - "type": {"kind": "struct", "name": "_UNICODE_STRING"}, - }, - "LoadTime": { - "offset": 256, - "type": {"kind": "union", "name": "_LARGE_INTEGER"}, - }, - "DllBase": { - "offset": 24, - "type": { - "kind": "pointer", - "subtype": {"kind": "base", "name": "void"}, - }, - }, - "SizeOfImage": { - "offset": 32, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "InInitializationOrderLinks": { - "offset": 16, - "type": {"kind": "struct", "name": "_LIST_ENTRY"}, - }, - "InLoadOrderLinks": { - "offset": 0, - "type": {"kind": "struct", "name": "_LIST_ENTRY"}, - }, - "InMemoryOrderLinks": { - "offset": 8, - "type": {"kind": "struct", "name": "_LIST_ENTRY"}, - }, - }, - "kind": "struct", - "size": 160, - }, - "_PEB32": { - "fields": { - "ActivationContextData": { - "offset": 504, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ActiveProcessAffinityMask": { - "offset": 192, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "AnsiCodePageData": { - "offset": 88, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ApiSetMap": { - "offset": 56, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "AppCompatFlags": { - "offset": 472, - "type": {"kind": "union", "name": "_ULARGE_INTEGER"}, - }, - "AppCompatFlagsUser": { - "offset": 480, - "type": {"kind": "union", "name": "_ULARGE_INTEGER"}, - }, - "AppCompatInfo": { - "offset": 492, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "AtlThunkSListPtr": { - "offset": 32, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "AtlThunkSListPtr32": { - "offset": 52, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "BeingDebugged": { - "offset": 2, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "BitField": { - "offset": 3, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "CSDVersion": { - "offset": 496, - "type": {"kind": "struct", "name": "_STRING32"}, - }, - "CritSecTracingEnabled": { - "offset": 576, - "type": { - "bit_length": 1, - "bit_position": 1, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "CriticalSectionTimeout": { - "offset": 112, - "type": {"kind": "union", "name": "_LARGE_INTEGER"}, - }, - "CrossProcessFlags": { - "offset": 40, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "CsrServerReadOnlySharedMemoryBase": { - "offset": 584, - "type": {"kind": "base", "name": "unsigned long long"}, - }, - "FastPebLock": { - "offset": 28, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "FlsBitmap": { - "offset": 536, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "FlsBitmapBits": { - "offset": 540, - "type": { - "count": 4, - "kind": "array", - "subtype": {"kind": "base", "name": "unsigned long"}, - }, - }, - "FlsCallback": { - "offset": 524, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "FlsHighIndex": { - "offset": 556, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "FlsListHead": { - "offset": 528, - "type": {"kind": "struct", "name": "LIST_ENTRY32"}, - }, - "GdiDCAttributeList": { - "offset": 156, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "GdiHandleBuffer": { - "offset": 196, - "type": { - "count": 34, - "kind": "array", - "subtype": {"kind": "base", "name": "unsigned long"}, - }, - }, - "GdiSharedHandleTable": { - "offset": 148, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "HeapDeCommitFreeBlockThreshold": { - "offset": 132, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "HeapDeCommitTotalFreeThreshold": { - "offset": 128, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "HeapSegmentCommit": { - "offset": 124, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "HeapSegmentReserve": { - "offset": 120, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "HeapTracingEnabled": { - "offset": 576, - "type": { - "bit_length": 1, - "bit_position": 0, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "IFEOKey": { - "offset": 36, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ImageBaseAddress": { - "offset": 8, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ImageSubsystem": { - "offset": 180, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ImageSubsystemMajorVersion": { - "offset": 184, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ImageSubsystemMinorVersion": { - "offset": 188, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ImageUsesLargePages": { - "offset": 3, - "type": { - "bit_length": 1, - "bit_position": 0, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "InheritedAddressSpace": { - "offset": 0, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "IsAppContainer": { - "offset": 3, - "type": { - "bit_length": 1, - "bit_position": 5, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "IsImageDynamicallyRelocated": { - "offset": 3, - "type": { - "bit_length": 1, - "bit_position": 2, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "IsPackagedProcess": { - "offset": 3, - "type": { - "bit_length": 1, - "bit_position": 4, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "IsProtectedProcess": { - "offset": 3, - "type": { - "bit_length": 1, - "bit_position": 1, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "IsProtectedProcessLight": { - "offset": 3, - "type": { - "bit_length": 1, - "bit_position": 6, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "KernelCallbackTable": { - "offset": 44, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "Ldr": { - "offset": 12, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "LibLoaderTracingEnabled": { - "offset": 576, - "type": { - "bit_length": 1, - "bit_position": 2, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "LoaderLock": { - "offset": 160, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "MaximumNumberOfHeaps": { - "offset": 140, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "MinimumStackCommit": { - "offset": 520, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "Mutant": { - "offset": 4, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "NtGlobalFlag": { - "offset": 104, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "NumberOfHeaps": { - "offset": 136, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "NumberOfProcessors": { - "offset": 100, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "OSBuildNumber": { - "offset": 172, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "OSCSDVersion": { - "offset": 174, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "OSMajorVersion": { - "offset": 164, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "OSMinorVersion": { - "offset": 168, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "OSPlatformId": { - "offset": 176, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "OemCodePageData": { - "offset": 92, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "PostProcessInitRoutine": { - "offset": 332, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ProcessAssemblyStorageMap": { - "offset": 508, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ProcessHeap": { - "offset": 24, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ProcessHeaps": { - "offset": 144, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ProcessInJob": { - "offset": 40, - "type": { - "bit_length": 1, - "bit_position": 0, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "ProcessInitializing": { - "offset": 40, - "type": { - "bit_length": 1, - "bit_position": 1, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "ProcessParameters": { - "offset": 16, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ProcessStarterHelper": { - "offset": 152, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ProcessUsingFTH": { - "offset": 40, - "type": { - "bit_length": 1, - "bit_position": 4, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "ProcessUsingVCH": { - "offset": 40, - "type": { - "bit_length": 1, - "bit_position": 3, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "ProcessUsingVEH": { - "offset": 40, - "type": { - "bit_length": 1, - "bit_position": 2, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "ReadImageFileExecOptions": { - "offset": 1, - "type": {"kind": "base", "name": "unsigned char"}, - }, - "ReadOnlySharedMemoryBase": { - "offset": 76, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ReadOnlyStaticServerData": { - "offset": 84, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "ReservedBits0": { - "offset": 40, - "type": { - "bit_length": 27, - "bit_position": 5, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "SessionId": { - "offset": 468, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "SkipPatchingUser32Forwarders": { - "offset": 3, - "type": { - "bit_length": 1, - "bit_position": 3, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "SpareBits": { - "offset": 3, - "type": { - "bit_length": 1, - "bit_position": 7, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned char"}, - }, - }, - "SparePvoid0": { - "offset": 80, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "SpareTracingBits": { - "offset": 576, - "type": { - "bit_length": 29, - "bit_position": 3, - "kind": "bitfield", - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "SubSystemData": { - "offset": 20, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "SystemAssemblyStorageMap": { - "offset": 516, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "SystemDefaultActivationContextData": { - "offset": 512, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "SystemReserved": { - "offset": 48, - "type": { - "count": 1, - "kind": "array", - "subtype": {"kind": "base", "name": "unsigned long"}, - }, - }, - "TlsBitmap": { - "offset": 64, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "TlsBitmapBits": { - "offset": 68, - "type": { - "count": 2, - "kind": "array", - "subtype": {"kind": "base", "name": "unsigned long"}, - }, - }, - "TlsExpansionBitmap": { - "offset": 336, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "TlsExpansionBitmapBits": { - "offset": 340, - "type": { - "count": 32, - "kind": "array", - "subtype": {"kind": "base", "name": "unsigned long"}, - }, - }, - "TlsExpansionCounter": { - "offset": 60, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "TracingFlags": { - "offset": 576, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "UnicodeCaseTableData": { - "offset": 96, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "UserSharedInfoPtr": { - "offset": 44, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "WerRegistrationData": { - "offset": 560, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "WerShipAssertPtr": { - "offset": 564, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "pImageHeaderHash": { - "offset": 572, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "pShimData": { - "offset": 488, - "type": {"kind": "base", "name": "unsigned long"}, - }, - "pUnused": { - "offset": 568, - "type": {"kind": "base", "name": "unsigned long"}, - }, - }, - "kind": "struct", - "size": 592, - }, - "_UNICODE_STRING": { - "fields": { - "Buffer": { - "offset": 4, - "type": { - "kind": "pointer", - "subtype": {"kind": "base", "name": "unsigned short"}, - }, - }, - "Length": { - "offset": 0, - "type": {"kind": "base", "name": "unsigned short"}, - }, - "MaximumLength": { - "offset": 2, - "type": {"kind": "base", "name": "unsigned short"}, - }, - }, - "kind": "struct", - "size": 8, - }, + "name": "_LIST_ENTRY" + } + } + }, + "kind": "struct", + "size": 40 }, + "_ERESOURCE": { + "fields": { + "ActiveCount": { + "offset": 12, + "type": { + "kind": "base", + "name": "short" + } + }, + "ActiveEntries": { + "offset": 32, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "Address": { + "offset": 48, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + }, + "ContentionCount": { + "offset": 36, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "CreatorBackTraceIndex": { + "offset": 48, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ExclusiveWaiters": { + "offset": 20, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_KEVENT" + } + } + }, + "Flag": { + "offset": 14, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "NumberOfExclusiveWaiters": { + "offset": 44, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "NumberOfSharedWaiters": { + "offset": 40, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "OwnerEntry": { + "offset": 24, + "type": { + "kind": "struct", + "name": "_OWNER_ENTRY" + } + }, + "OwnerTable": { + "offset": 8, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_OWNER_ENTRY" + } + } + }, + "ReservedLowFlags": { + "offset": 14, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "SharedWaiters": { + "offset": 16, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_KSEMAPHORE" + } + } + }, + "SpinLock": { + "offset": 52, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "SystemResourcesList": { + "offset": 0, + "type": { + "kind": "struct", + "name": "_LIST_ENTRY" + } + }, + "WaiterPriority": { + "offset": 15, + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "kind": "struct", + "size": 56 + }, + "_LARGE_INTEGER": { + "fields": { + "HighPart": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "QuadPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "long long" + } + }, + "u": { + "offset": 0, + "type": { + "kind": "struct", + "name": "__unnamed_1083" + } + } + }, + "kind": "union", + "size": 8 + }, + "_ETHREAD": { + "fields": { + "Cid": { + "offset": 868, + "type": { + "kind": "struct", + "name": "_CLIENT_ID" + } + }, + "CreateTime": { + "offset": 824, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "CrossThreadFlags": { + "offset": 952, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ExitTime": { + "offset": 832, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "Tcb": { + "offset": 0, + "type": { + "kind": "struct", + "name": "_KTHREAD" + } + } + }, + "kind": "struct", + "size": 1048 + }, + "_KTHREAD": { + "fields": { + "State": { + "offset": 144, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "WaitReason": { + "offset": 395, + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "kind": "struct", + "size": 824 + }, + "_EPROCESS": { + "fields": { + "CreateTime": { + "offset": 168, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "ExitTime": { + "offset": 688, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "ImageFileName": { + "offset": 1080, + "type": { + "count": 368, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "ObjectTable": { + "offset": 336, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_HANDLE_TABLE" + } + } + }, + "Pcb": { + "offset": 0, + "type": { + "kind": "struct", + "name": "_KPROCESS" + } + }, + "Peb": { + "offset": 320, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_PEB" + } + } + }, + "Session": { + "offset": 324, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + }, + "ThreadListHead": { + "offset": 404, + "type": { + "kind": "struct", + "name": "_LIST_ENTRY" + } + }, + "UniqueProcessId": { + "offset": 180, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + }, + "VadRoot": { + "offset": 628, + "type": { + "kind": "struct", + "name": "_RTL_AVL_TREE" + } + } + }, + "kind": "struct", + "size": 760 + }, + "_EX_FAST_REF": { + "fields": { + "Object": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + }, + "RefCnt": { + "offset": 0, + "type": { + "bit_length": 4, + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "Value": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 4 + }, + "_TOKEN": { + "fields": { + "Privileges": { + "offset": 64, + "type": { + "kind": "struct", + "name": "_SEP_TOKEN_PRIVILEGES" + } + }, + "UserAndGroupCount": { + "offset": 124, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "UserAndGroups": { + "offset": 148, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SID_AND_ATTRIBUTES" + } + } + } + }, + "kind": "struct", + "size": 656 + }, + "_OBJECT_HEADER": { + "fields": { + "Body": { + "offset": 24, + "type": { + "kind": "struct", + "name": "_QUAD" + } + }, + "InfoMask": { + "offset": 14, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "PointerCount": { + "offset": 0, + "type": { + "kind": "base", + "name": "long" + } + }, + "TypeIndex": { + "offset": 12, + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "kind": "struct", + "size": 32 + }, + "_FILE_OBJECT": { + "fields": { + "DeleteAccess": { + "offset": 40, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "DeviceObject": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_DEVICE_OBJECT" + } + } + }, + "FileName": { + "offset": 48, + "type": { + "kind": "struct", + "name": "_UNICODE_STRING" + } + }, + "ReadAccess": { + "offset": 38, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "SharedDelete": { + "offset": 43, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "SharedRead": { + "offset": 41, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "SharedWrite": { + "offset": 42, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "WriteAccess": { + "offset": 39, + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "kind": "struct", + "size": 128 + }, + "_DEVICE_OBJECT": { + "fields": { + "AttachedDevice": { + "offset": 16, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_DEVICE_OBJECT" + } + } + }, + "Flags": { + "offset": 48, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "NextDevice": { + "offset": 12, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_DEVICE_OBJECT" + } + } + } + }, + "kind": "struct", + "size": 184 + }, + "_CM_KEY_BODY": { + "fields": { + "KeyControlBlock": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_CM_KEY_CONTROL_BLOCK" + } + } + }, + "Type": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 44 + }, + "_CMHIVE": { + "fields": { + "FileFullPath": { + "offset": 1136, + "type": { + "kind": "struct", + "name": "_UNICODE_STRING" + } + }, + "FileUserName": { + "offset": 1144, + "type": { + "kind": "struct", + "name": "_UNICODE_STRING" + } + }, + "Hive": { + "offset": 0, + "type": { + "kind": "struct", + "name": "_HHIVE" + } + }, + "HiveRootPath": { + "offset": 1160, + "type": { + "kind": "struct", + "name": "_UNICODE_STRING" + } + } + }, + "kind": "struct", + "size": 3104 + }, + "_CM_KEY_NODE": { + "fields": { + "Name": { + "offset": 76, + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "wchar" + } + } + }, + "NameLength": { + "offset": 72, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "Parent": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "SubKeyLists": { + "offset": 28, + "type": { + "count": 2, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "ValueList": { + "offset": 36, + "type": { + "kind": "struct", + "name": "_CHILD_LIST" + } + } + }, + "kind": "struct", + "size": 80 + }, + "_CM_KEY_VALUE": { + "fields": { + "Data": { + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "DataLength": { + "offset": 4, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "Flags": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "Name": { + "offset": 20, + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "wchar" + } + } + }, + "NameLength": { + "offset": 2, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "Signature": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "Spare": { + "offset": 18, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "Type": { + "offset": 12, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 24 + }, + "_HMAP_ENTRY": { + "fields": { + "BinAddress": { + "offset": 4, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "BlockAddress": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "MemAlloc": { + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 12 + }, + "_MMVAD_SHORT": { + "fields": { + "EndingVpn": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "NextVad": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_MMVAD_SHORT" + } + } + }, + "StartingVpn": { + "offset": 12, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "VadNode": { + "offset": 0, + "type": { + "kind": "struct", + "name": "_RTL_BALANCED_NODE" + } + } + }, + "kind": "struct", + "size": 40 + }, + "_MMVAD": { + "fields": { + "Core": { + "offset": 0, + "type": { + "kind": "struct", + "name": "_MMVAD_SHORT" + } + }, + "Subsection": { + "offset": 44, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SUBSECTION" + } + } + } + }, + "kind": "struct", + "size": 72 + }, + "_KSYSTEM_TIME": { + "fields": { + "High1Time": { + "offset": 4, + "type": { + "kind": "base", + "name": "long" + } + }, + "High2Time": { + "offset": 8, + "type": { + "kind": "base", + "name": "long" + } + }, + "LowPart": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 12 + }, + "_KMUTANT": { + "fields": { + "Header": { + "offset": 0, + "type": { + "kind": "struct", + "name": "_DISPATCHER_HEADER" + } + } + }, + "kind": "struct", + "size": 32 + }, + "_DRIVER_OBJECT": { + "fields": { + "DeviceObject": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_DEVICE_OBJECT" + } + } + } + }, + "kind": "struct", + "size": 168 + }, + "_OBJECT_SYMBOLIC_LINK": { + "fields": { + "CreationTime": { + "offset": 0, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + } + }, + "kind": "struct", + "size": 24 + }, + "_CONTROL_AREA": { + "fields": { + "FilePointer": { + "offset": 32, + "type": { + "kind": "struct", + "name": "_EX_FAST_REF" + } + } + }, + "kind": "struct", + "size": 80 + }, + "_SHARED_CACHE_MAP": { + "fields": { + "FileSize": { + "offset": 8, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "InitialVacbs": { + "offset": 48, + "type": { + "count": 4, + "kind": "array", + "subtype": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_VACB" + } + } + } + }, + "Section": { + "offset": 108, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + }, + "SectionSize": { + "offset": 24, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "Vacbs": { + "offset": 64, + "type": { + "kind": "pointer", + "subtype": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_VACB" + } + } + } + }, + "ValidDataLength": { + "offset": 32, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + } + }, + "kind": "struct", + "size": 368 + }, + "_VACB": { + "fields": { + "ArrayHead": { + "offset": 16, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_VACB_ARRAY_HEADER" + } + } + }, + "BaseAddress": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + }, + "Overlay": { + "offset": 8, + "type": { + "kind": "union", + "name": "__unnamed_1971" + } + }, + "SharedCacheMap": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SHARED_CACHE_MAP" + } + } + } + }, + "kind": "struct", + "size": 24 + }, + "_POOL_TRACKER_BIG_PAGES": { + "fields": { + "Key": { + "offset": 4, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "NumberOfBytes": { + "offset": 12, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "PoolType": { + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "Va": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 16 + }, + "_IMAGE_DOS_HEADER": { + "fields": { + "e_cblp": { + "offset": 2, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_cp": { + "offset": 4, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_cparhdr": { + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_crlc": { + "offset": 6, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_cs": { + "offset": 22, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_csum": { + "offset": 18, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_ip": { + "offset": 20, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_lfanew": { + "offset": 60, + "type": { + "kind": "base", + "name": "long" + } + }, + "e_lfarlc": { + "offset": 24, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_magic": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_maxalloc": { + "offset": 12, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_minalloc": { + "offset": 10, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_oemid": { + "offset": 36, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_oeminfo": { + "offset": 38, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_ovno": { + "offset": 26, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_res": { + "offset": 28, + "type": { + "count": 4, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + } + }, + "e_res2": { + "offset": 40, + "type": { + "count": 10, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + } + }, + "e_sp": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "e_ss": { + "offset": 14, + "type": { + "kind": "base", + "name": "unsigned short" + } + } + }, + "kind": "struct", + "size": 64 + }, + "_SINGLE_LIST_ENTRY": { + "fields": { + "Next": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SINGLE_LIST_ENTRY" + } + } + } + }, + "kind": "struct", + "size": 4 + }, + "_LDRP_CSLIST": { + "fields": { + "Tail": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_SINGLE_LIST_ENTRY" + } + } + } + }, + "kind": "struct", + "size": 4 + }, + "_RTL_BALANCED_NODE": { + "fields": { + "Balance": { + "offset": 8, + "type": { + "bit_length": 2, + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "Children": { + "offset": 0, + "type": { + "count": 2, + "kind": "array", + "subtype": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_NODE" + } + } + } + }, + "Left": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_NODE" + } + } + }, + "ParentValue": { + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "Red": { + "offset": 8, + "type": { + "bit_length": 1, + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "Right": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_RTL_BALANCED_NODE" + } + } + } + }, + "kind": "struct", + "size": 12 + }, + "_LIST_ENTRY": { + "fields": { + "Blink": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_LIST_ENTRY" + } + } + }, + "Flink": { + "offset": 0, + "type": { + "kind": "pointer", + "subtype": { + "kind": "struct", + "name": "_LIST_ENTRY" + } + } + } + }, + "kind": "struct", + "size": 8 + }, + "LIST_ENTRY32": { + "fields": { + "Blink": { + "offset": 4, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "Flink": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 8 + }, + "_PEB_LDR_DATA": { + "fields": { + "EntryInProgress": { + "offset": 36, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + }, + "InInitializationOrderModuleList": { + "offset": 28, + "type": { + "kind": "struct", + "name": "_LIST_ENTRY" + } + }, + "InLoadOrderModuleList": { + "offset": 12, + "type": { + "kind": "struct", + "name": "_LIST_ENTRY" + } + }, + "InMemoryOrderModuleList": { + "offset": 20, + "type": { + "kind": "struct", + "name": "_LIST_ENTRY" + } + }, + "Initialized": { + "offset": 4, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "Length": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ShutdownInProgress": { + "offset": 40, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "ShutdownThreadId": { + "offset": 44, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + }, + "SsHandle": { + "offset": 8, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + } + }, + "kind": "struct", + "size": 48 + }, + "_LDR_DATA_TABLE_ENTRY": { + "fields": { + "BaseDllName": { + "offset": 44, + "type": { + "kind": "struct", + "name": "_UNICODE_STRING" + } + }, + "FullDllName": { + "offset": 36, + "type": { + "kind": "struct", + "name": "_UNICODE_STRING" + } + }, + "LoadTime": { + "offset": 256, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "DllBase": { + "offset": 24, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "void" + } + } + }, + "SizeOfImage": { + "offset": 32, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "InInitializationOrderLinks": { + "offset": 16, + "type": { + "kind": "struct", + "name": "_LIST_ENTRY" + } + }, + "InLoadOrderLinks": { + "offset": 0, + "type": { + "kind": "struct", + "name": "_LIST_ENTRY" + } + }, + "InMemoryOrderLinks": { + "offset": 8, + "type": { + "kind": "struct", + "name": "_LIST_ENTRY" + } + } + }, + "kind": "struct", + "size": 160 + }, + "_PEB32": { + "fields": { + "ActivationContextData": { + "offset": 504, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ActiveProcessAffinityMask": { + "offset": 192, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "AnsiCodePageData": { + "offset": 88, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ApiSetMap": { + "offset": 56, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "AppCompatFlags": { + "offset": 472, + "type": { + "kind": "union", + "name": "_ULARGE_INTEGER" + } + }, + "AppCompatFlagsUser": { + "offset": 480, + "type": { + "kind": "union", + "name": "_ULARGE_INTEGER" + } + }, + "AppCompatInfo": { + "offset": 492, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "AtlThunkSListPtr": { + "offset": 32, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "AtlThunkSListPtr32": { + "offset": 52, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "BeingDebugged": { + "offset": 2, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "BitField": { + "offset": 3, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "CSDVersion": { + "offset": 496, + "type": { + "kind": "struct", + "name": "_STRING32" + } + }, + "CritSecTracingEnabled": { + "offset": 576, + "type": { + "bit_length": 1, + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "CriticalSectionTimeout": { + "offset": 112, + "type": { + "kind": "union", + "name": "_LARGE_INTEGER" + } + }, + "CrossProcessFlags": { + "offset": 40, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "CsrServerReadOnlySharedMemoryBase": { + "offset": 584, + "type": { + "kind": "base", + "name": "unsigned long long" + } + }, + "FastPebLock": { + "offset": 28, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "FlsBitmap": { + "offset": 536, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "FlsBitmapBits": { + "offset": 540, + "type": { + "count": 4, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "FlsCallback": { + "offset": 524, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "FlsHighIndex": { + "offset": 556, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "FlsListHead": { + "offset": 528, + "type": { + "kind": "struct", + "name": "LIST_ENTRY32" + } + }, + "GdiDCAttributeList": { + "offset": 156, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "GdiHandleBuffer": { + "offset": 196, + "type": { + "count": 34, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "GdiSharedHandleTable": { + "offset": 148, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "HeapDeCommitFreeBlockThreshold": { + "offset": 132, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "HeapDeCommitTotalFreeThreshold": { + "offset": 128, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "HeapSegmentCommit": { + "offset": 124, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "HeapSegmentReserve": { + "offset": 120, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "HeapTracingEnabled": { + "offset": 576, + "type": { + "bit_length": 1, + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "IFEOKey": { + "offset": 36, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ImageBaseAddress": { + "offset": 8, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ImageSubsystem": { + "offset": 180, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ImageSubsystemMajorVersion": { + "offset": 184, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ImageSubsystemMinorVersion": { + "offset": 188, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ImageUsesLargePages": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "InheritedAddressSpace": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "IsAppContainer": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "IsImageDynamicallyRelocated": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "IsPackagedProcess": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "IsProtectedProcess": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "IsProtectedProcessLight": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "KernelCallbackTable": { + "offset": 44, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "Ldr": { + "offset": 12, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "LibLoaderTracingEnabled": { + "offset": 576, + "type": { + "bit_length": 1, + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "LoaderLock": { + "offset": 160, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "MaximumNumberOfHeaps": { + "offset": 140, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "MinimumStackCommit": { + "offset": 520, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "Mutant": { + "offset": 4, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "NtGlobalFlag": { + "offset": 104, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "NumberOfHeaps": { + "offset": 136, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "NumberOfProcessors": { + "offset": 100, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "OSBuildNumber": { + "offset": 172, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "OSCSDVersion": { + "offset": 174, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "OSMajorVersion": { + "offset": 164, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "OSMinorVersion": { + "offset": 168, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "OSPlatformId": { + "offset": 176, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "OemCodePageData": { + "offset": 92, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "PostProcessInitRoutine": { + "offset": 332, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ProcessAssemblyStorageMap": { + "offset": 508, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ProcessHeap": { + "offset": 24, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ProcessHeaps": { + "offset": 144, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ProcessInJob": { + "offset": 40, + "type": { + "bit_length": 1, + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "ProcessInitializing": { + "offset": 40, + "type": { + "bit_length": 1, + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "ProcessParameters": { + "offset": 16, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ProcessStarterHelper": { + "offset": 152, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ProcessUsingFTH": { + "offset": 40, + "type": { + "bit_length": 1, + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "ProcessUsingVCH": { + "offset": 40, + "type": { + "bit_length": 1, + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "ProcessUsingVEH": { + "offset": 40, + "type": { + "bit_length": 1, + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "ReadImageFileExecOptions": { + "offset": 1, + "type": { + "kind": "base", + "name": "unsigned char" + } + }, + "ReadOnlySharedMemoryBase": { + "offset": 76, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ReadOnlyStaticServerData": { + "offset": 84, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "ReservedBits0": { + "offset": 40, + "type": { + "bit_length": 27, + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "SessionId": { + "offset": 468, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "SkipPatchingUser32Forwarders": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "SpareBits": { + "offset": 3, + "type": { + "bit_length": 1, + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + } + } + }, + "SparePvoid0": { + "offset": 80, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "SpareTracingBits": { + "offset": 576, + "type": { + "bit_length": 29, + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "SubSystemData": { + "offset": 20, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "SystemAssemblyStorageMap": { + "offset": 516, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "SystemDefaultActivationContextData": { + "offset": 512, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "SystemReserved": { + "offset": 48, + "type": { + "count": 1, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "TlsBitmap": { + "offset": 64, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "TlsBitmapBits": { + "offset": 68, + "type": { + "count": 2, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "TlsExpansionBitmap": { + "offset": 336, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "TlsExpansionBitmapBits": { + "offset": 340, + "type": { + "count": 32, + "kind": "array", + "subtype": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "TlsExpansionCounter": { + "offset": 60, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "TracingFlags": { + "offset": 576, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "UnicodeCaseTableData": { + "offset": 96, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "UserSharedInfoPtr": { + "offset": 44, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "WerRegistrationData": { + "offset": 560, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "WerShipAssertPtr": { + "offset": 564, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "pImageHeaderHash": { + "offset": 572, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "pShimData": { + "offset": 488, + "type": { + "kind": "base", + "name": "unsigned long" + } + }, + "pUnused": { + "offset": 568, + "type": { + "kind": "base", + "name": "unsigned long" + } + } + }, + "kind": "struct", + "size": 592 + }, + "_UNICODE_STRING": { + "fields": { + "Buffer": { + "offset": 4, + "type": { + "kind": "pointer", + "subtype": { + "kind": "base", + "name": "unsigned short" + } + } + }, + "Length": { + "offset": 0, + "type": { + "kind": "base", + "name": "unsigned short" + } + }, + "MaximumLength": { + "offset": 2, + "type": { + "kind": "base", + "name": "unsigned short" + } + } + }, + "kind": "struct", + "size": 8 + } + } } From d172e1271716c27e1c3d0145fb651eef552916d8 Mon Sep 17 00:00:00 2001 From: hsarkey Date: Fri, 24 Jan 2025 08:08:57 -0500 Subject: [PATCH 1253/2186] Updated fixes after internal review. Allows windows.dlllist to report back DLLs from wow64 processes. --- .../symbols/windows/extensions/__init__.py | 73 ++++++++----------- 1 file changed, 31 insertions(+), 42 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 2b73fa625..3ac737ac8 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -790,13 +790,13 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): # Determine if process is running under WOW64. if self.get_is_wow64(): - peb32 = self.get_wow_64_process() + proc = self.get_wow_64_process() else: return None # Confirm WoW64Process points to a valid process address - if not proc_layer.is_valid(peb32): + if not proc_layer.is_valid(proc): raise exceptions.InvalidAddressException( - proc_layer_name, peb32, f"Invalid Wow64Process address at {self.Peb:0x}" + proc_layer_name, proc, f"Invalid Wow64Process address at {self.Peb:0x}" ) # Leverage the context of existing symbol table to help configure @@ -816,50 +816,41 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): if self._context.symbol_space.has_type( sym_table + constants.BANG + "_EWOW64PROCESS" ): - peb32 = self._context.object( - f"{self._32bit_table_name}{constants.BANG}_PEB32", - layer_name=proc_layer_name, - offset=peb32.Peb, - ) - return peb32 + offset=proc.Peb # vista sp0-sp1 and 2003 sp1-sp2 elif self._context.symbol_space.has_type( sym_table + constants.BANG + "_WOW64_PROCESS" ): - peb32 = self._context.object( - f"{self._32bit_table_name}{constants.BANG}_PEB32", - layer_name=proc_layer_name, - offset=peb32.Wow64, - ) - return peb32 + offset=proc.Wow64 else: - peb32 = self._context.object( - f"{self._32bit_table_name}{constants.BANG}_PEB32", - layer_name=proc_layer_name, - offset=peb32, - ) - return peb32 + offset=proc + + peb32 = self._context.object( + f"{self._32bit_table_name}{constants.BANG}_PEB32", + layer_name=proc_layer_name, + offset=offset, + ) + return peb32 def load_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]: """Generator for DLLs in the order that they were loaded.""" try: pebs = [ - [self.get_peb(), "_LDR_DATA_TABLE_ENTRY"], - [self.get_peb32(), "_LDR_DATA_TABLE_ENTRY"], + self.get_peb(), self.get_peb32(), ] - for peb, table_name in pebs: - if peb != None: + for peb in pebs: + if peb: sym_table = self.get_symbol_table_name() if peb.Ldr.vol.type_name.endswith("unsigned long"): - Ldr_data = self._context.symbol_space.get_type( + ldr_data = self._context.symbol_space.get_type( self._32bit_table_name + constants.BANG + "_PEB_LDR_DATA" ) - peb.Ldr = peb.Ldr.cast("pointer", subtype=Ldr_data) + peb.Ldr = peb.Ldr.cast("pointer", subtype=ldr_data) sym_table = self._32bit_table_name for entry in peb.Ldr.InLoadOrderModuleList.to_list( - f"{sym_table}{constants.BANG}" + table_name, + f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", "InLoadOrderLinks", ): yield entry @@ -871,20 +862,19 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): try: pebs = [ - [self.get_peb(), "_LDR_DATA_TABLE_ENTRY"], - [self.get_peb32(), "_LDR_DATA_TABLE_ENTRY"], + self.get_peb(), self.get_peb32(), ] - for peb, table_name in pebs: - if peb != None: + for peb in pebs: + if peb: sym_table = self.get_symbol_table_name() if peb.Ldr.vol.type_name.endswith("unsigned long"): - Ldr_data = self._context.symbol_space.get_type( + ldr_data = self._context.symbol_space.get_type( self._32bit_table_name + constants.BANG + "_PEB_LDR_DATA" ) - peb.Ldr = peb.Ldr.cast("pointer", subtype=Ldr_data) + peb.Ldr = peb.Ldr.cast("pointer", subtype=ldr_data) sym_table = self._32bit_table_name for entry in peb.Ldr.InInitializationOrderModuleList.to_list( - f"{sym_table}{constants.BANG}" + table_name, + f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", "InInitializationOrderLinks", ): yield entry @@ -895,20 +885,19 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): """Generator for DLLs in the order that they appear in memory""" try: pebs = [ - [self.get_peb(), "_LDR_DATA_TABLE_ENTRY"], - [self.get_peb32(), "_LDR_DATA_TABLE_ENTRY"], + self.get_peb(), self.get_peb32(), ] - for peb, table_name in pebs: - if peb != None: + for peb in pebs: + if peb: sym_table = self.get_symbol_table_name() if peb.Ldr.vol.type_name.endswith("unsigned long"): - Ldr_data = self._context.symbol_space.get_type( + ldr_data = self._context.symbol_space.get_type( self._32bit_table_name + constants.BANG + "_PEB_LDR_DATA" ) - peb.Ldr = peb.Ldr.cast("pointer", subtype=Ldr_data) + peb.Ldr = peb.Ldr.cast("pointer", subtype=ldr_data) sym_table = self._32bit_table_name for entry in peb.Ldr.InMemoryOrderModuleList.to_list( - f"{sym_table}{constants.BANG}" + table_name, + f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", "InMemoryOrderLinks", ): yield entry From 9ce1fd7ac054dad51602a710c6628550786dc7aa Mon Sep 17 00:00:00 2001 From: hsarkey Date: Fri, 24 Jan 2025 08:37:02 -0500 Subject: [PATCH 1254/2186] Black formatting updates --- .../symbols/windows/extensions/__init__.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 3ac737ac8..9c4fbb1b6 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -816,17 +816,17 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): if self._context.symbol_space.has_type( sym_table + constants.BANG + "_EWOW64PROCESS" ): - offset=proc.Peb + offset = proc.Peb # vista sp0-sp1 and 2003 sp1-sp2 elif self._context.symbol_space.has_type( sym_table + constants.BANG + "_WOW64_PROCESS" ): - offset=proc.Wow64 + offset = proc.Wow64 else: - offset=proc - + offset = proc + peb32 = self._context.object( f"{self._32bit_table_name}{constants.BANG}_PEB32", layer_name=proc_layer_name, @@ -838,7 +838,8 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): """Generator for DLLs in the order that they were loaded.""" try: pebs = [ - self.get_peb(), self.get_peb32(), + self.get_peb(), + self.get_peb32(), ] for peb in pebs: if peb: @@ -850,7 +851,7 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): peb.Ldr = peb.Ldr.cast("pointer", subtype=ldr_data) sym_table = self._32bit_table_name for entry in peb.Ldr.InLoadOrderModuleList.to_list( - f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", + f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", "InLoadOrderLinks", ): yield entry @@ -862,7 +863,8 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): try: pebs = [ - self.get_peb(), self.get_peb32(), + self.get_peb(), + self.get_peb32(), ] for peb in pebs: if peb: @@ -885,7 +887,8 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): """Generator for DLLs in the order that they appear in memory""" try: pebs = [ - self.get_peb(), self.get_peb32(), + self.get_peb(), + self.get_peb32(), ] for peb in pebs: if peb: From 02d0790475e61cf4af15452980478a82a8f6ec0e Mon Sep 17 00:00:00 2001 From: hsarkey Date: Fri, 24 Jan 2025 11:32:48 -0500 Subject: [PATCH 1255/2186] Updated black and ruff formatting errors --- .../symbols/windows/extensions/__init__.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 9c4fbb1b6..f84c4105f 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -850,11 +850,10 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ) peb.Ldr = peb.Ldr.cast("pointer", subtype=ldr_data) sym_table = self._32bit_table_name - for entry in peb.Ldr.InLoadOrderModuleList.to_list( + yield from peb.Ldr.InLoadOrderModuleList.to_list( f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", "InLoadOrderLinks", - ): - yield entry + ) except exceptions.InvalidAddressException: return None @@ -875,11 +874,10 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ) peb.Ldr = peb.Ldr.cast("pointer", subtype=ldr_data) sym_table = self._32bit_table_name - for entry in peb.Ldr.InInitializationOrderModuleList.to_list( + yield from peb.Ldr.InInitializationOrderModuleList.to_list( f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", "InInitializationOrderLinks", - ): - yield entry + ) except exceptions.InvalidAddressException: return None @@ -899,11 +897,10 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ) peb.Ldr = peb.Ldr.cast("pointer", subtype=ldr_data) sym_table = self._32bit_table_name - for entry in peb.Ldr.InMemoryOrderModuleList.to_list( + yield from peb.Ldr.InMemoryOrderModuleList.to_list( f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", "InMemoryOrderLinks", - ): - yield entry + ) except exceptions.InvalidAddressException: return None From af9bd53cae0e69b00fe14845f437688f883013b0 Mon Sep 17 00:00:00 2001 From: hsarkey Date: Fri, 24 Jan 2025 13:35:39 -0500 Subject: [PATCH 1256/2186] Resolving conflicts and formatting issues --- .../framework/symbols/windows/extensions/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index f84c4105f..818c8c83f 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -485,10 +485,10 @@ class FILE_OBJECT(objects.StructType, pool.ExecutiveObject): ].is_valid(self.FileName.Buffer) def file_name_with_device(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: - name: Union[ - str, interfaces.renderers.BaseAbsentValue - ] = renderers.UnreadableValue() - + name: Union[str, interfaces.renderers.BaseAbsentValue] = ( + renderers.UnreadableValue() + ) + # this pointer needs to be checked against native_layer_name because the object may # be instantiated from a primary (virtual) layer or a memory (physical) layer. if self._context.layers[self.vol.native_layer_name].is_valid(self.DeviceObject): From 495d6466821c2b491edff3b4ba1834ff83cf1b45 Mon Sep 17 00:00:00 2001 From: hsarkey Date: Fri, 24 Jan 2025 13:53:21 -0500 Subject: [PATCH 1257/2186] Black and ruff fixes --- .../framework/symbols/windows/extensions/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 818c8c83f..814681a61 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -485,10 +485,8 @@ class FILE_OBJECT(objects.StructType, pool.ExecutiveObject): ].is_valid(self.FileName.Buffer) def file_name_with_device(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: - name: Union[str, interfaces.renderers.BaseAbsentValue] = ( - renderers.UnreadableValue() - ) - + name: Union[str, interfaces.renderers.BaseAbsentValue] = renderers.UnreadableValue() + # this pointer needs to be checked against native_layer_name because the object may # be instantiated from a primary (virtual) layer or a memory (physical) layer. if self._context.layers[self.vol.native_layer_name].is_valid(self.DeviceObject): From 17d52c27bfc31ad9ecad7fb0b8604586039ce2b0 Mon Sep 17 00:00:00 2001 From: Daniel Davidov <35842733+Danking555@users.noreply.github.com> Date: Fri, 24 Jan 2025 21:09:28 +0200 Subject: [PATCH 1258/2186] Update method_low_stub_offset & run ruff & black * Eliminate unnecessary scanning for 32 bit processors where the structure PROCESSOR_START_BLOCK doesn't exist * Put offsets as values of constants in a class - LowStubLayout. * Add documentation in the class and in the function method_low_stub_offset * Run "ruff check --fix" and "black ." * Checked the method works on 3 physical machines --- volatility3/framework/automagic/pdbscan.py | 74 ++++++++++++++++++---- 1 file changed, 60 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/automagic/pdbscan.py b/volatility3/framework/automagic/pdbscan.py index 1ccecf97a..7d289bcb6 100644 --- a/volatility3/framework/automagic/pdbscan.py +++ b/volatility3/framework/automagic/pdbscan.py @@ -11,7 +11,6 @@ import contextlib import logging import math import os -import struct from typing import Any, Callable, Dict, Iterable, List, Optional, Set, Tuple, Union from volatility3.framework import constants, exceptions, interfaces, layers @@ -377,25 +376,73 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): valid_kernel = (virtual_layer_name, address, res[0]) return valid_kernel - def method_low_stub_offset(self, + class LowStubLayout: + """ + Represents the layout of the Low Stub which exists only on x64 machines with no virtualization/emulation, + responsible for transitioning from Real Mode(16 bit) to Protected Mode(32 bit) and Long Mode(64 bit) on boot/return from sleep. + Contains offsets to fields and structures within the undocumented structure _PROCESSOR_START_BLOCK. + Here's a reference: https://github.com/mic101/windows/blob/master/WRK-v1.2/base/ntos/inc/amd64.h#L3334 + """ + + # Expected signature for validation, constructed from: + # PROCESSOR_START_BLOCK->Jmp->OpCode | PROCESSOR_START_BLOCK->Jmp->Offset | PROCESSOR_START_BLOCK->CompletionFlag + JMP_AND_COMPLETION_SIGNATURE = 0x00000001000600E9 + + # Address of LmTarget (Long Mode target) + PROCESSOR_START_BLOCK_LM_TARGET_OFFSET = ( + 0x70 # PROCESSOR_START_BLOCK->LmTarget, PVOID 8 bytes + ) + + # CR3 register within structures describing initial processor state to be started + PROCESSOR_START_BLOCK_CR3_OFFSET = 0xA0 # PROCESSOR_START_BLOCK->ProcessorState->SpecialRegisters->Cr3, ULONG64 8 bytes + + def method_low_stub_offset( + self, context: interfaces.context.ContextInterface, vlayer: layers.intel.Intel, progress_callback: constants.ProgressCallback = None, ) -> Optional[ValidKernelType]: + # This method is only valid for x64 systems + if not isinstance(vlayer, intel.Intel32e): + return None kernel_hint = 0 kernel_base = 0 - physical_layer = context.layers.get('memory_layer') + physical_layer = context.layers.get("memory_layer") - # try locating kernel base via x64 Low Stub in lower 1MB starting from second page (4KB) - # if "Discard Low Memory" setting is disabled in BIOS, the Low Stub may be at the third/fourth or further pages - for offset in range(0x1000,0x100000, 0x1000): - if 0xffffffffffff00ff & int.from_bytes(physical_layer.read(offset, 0x8), "little") != 0x00000001000600E9: - continue # not _PROCESSOR_START_BLOCK->Jmp - potential_kernel_hint = int.from_bytes(physical_layer.read(offset + 0x70, 0x8), "little") - if (0xfffff80000000003 & potential_kernel_hint) != 0xfffff80000000000: - continue # not _PROCESSOR_START_BLOCK->LmTarget - kernel_hint = potential_kernel_hint & 0xffffffffffff - kernel_base = kernel_hint & (~0x1fffff) & 0xffffffffffff + # Try locating kernel base via x64 Low Stub in lower 1MB starting from second page (4KB) + # If "Discard Low Memory" setting is disabled in BIOS, the Low Stub may be at the third/fourth or further pages + for offset in range(0x1000, 0x100000, 0x1000): + jmp_and_completion_values = int.from_bytes( + physical_layer.read(offset, 0x8), "little" + ) + if ( + 0xFFFFFFFFFFFF00FF & jmp_and_completion_values + != self.LowStubLayout.JMP_AND_COMPLETION_SIGNATURE + ): + continue + cr3_value = int.from_bytes( + physical_layer.read( + offset + self.LowStubLayout.PROCESSOR_START_BLOCK_CR3_OFFSET, 0x8 + ), + "little", + ) + + # Compare previously observed valid page table address that's stored in vlayer._initial_entry + # with PROCESSOR_START_BLOCK->ProcessorState->SpecialRegisters->Cr3 + # which was observed to be an invalid page address, so add 1 (to make it valid too) + if (cr3_value + 1) != vlayer._initial_entry: + continue + potential_kernel_hint = int.from_bytes( + physical_layer.read( + offset + self.LowStubLayout.PROCESSOR_START_BLOCK_LM_TARGET_OFFSET, + 0x8, + ), + "little", + ) + if 0x3 & potential_kernel_hint: + continue + kernel_hint = potential_kernel_hint & 0xFFFFFFFFFFFF + kernel_base = kernel_hint & (~0x1FFFFF) & 0xFFFFFFFFFFFF break if kernel_base: @@ -408,7 +455,6 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): if valid_kernel: return valid_kernel kernel_base -= 0x200000 - return None # List of methods to be run, in order, to determine the valid kernels From 830c28a7bb6e6014d5df63e558ac8a114de51f2c Mon Sep 17 00:00:00 2001 From: hsarkey Date: Fri, 24 Jan 2025 14:16:10 -0500 Subject: [PATCH 1259/2186] Updated with current black version --- volatility3/framework/symbols/windows/extensions/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 814681a61..cda2dd615 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -485,7 +485,9 @@ class FILE_OBJECT(objects.StructType, pool.ExecutiveObject): ].is_valid(self.FileName.Buffer) def file_name_with_device(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: - name: Union[str, interfaces.renderers.BaseAbsentValue] = renderers.UnreadableValue() + name: Union[str, interfaces.renderers.BaseAbsentValue] = ( + renderers.UnreadableValue() + ) # this pointer needs to be checked against native_layer_name because the object may # be instantiated from a primary (virtual) layer or a memory (physical) layer. From e9088be0d86fa2f68774d47371ebd2736287f1c5 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 28 Dec 2024 22:46:39 +0000 Subject: [PATCH 1260/2186] Prevent infinite looping and out of memory errors #1482 --- .../framework/symbols/windows/extensions/registry.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index c9544a8ba..b282b13cf 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -133,8 +133,17 @@ class CM_KEY_BODY(objects.StructType): def get_full_key_name(self) -> str: output = [] + seen = set() + kcb = self.KeyControlBlock while kcb.ParentKcb: + if kcb.ParentKcb.vol.offset in seen: + return "" + seen.add(kcb.ParentKcb.vol.offset) + + if len(output) > 128: + return "" + if kcb.NameBlock.Name is None: break From 506a61d8846e6a3399ab1f964d41b09a197592a6 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 24 Jan 2025 22:09:24 +0000 Subject: [PATCH 1261/2186] Address feedback --- volatility3/framework/plugins/windows/handles.py | 4 ++-- volatility3/framework/symbols/windows/extensions/registry.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 38ccfbfbc..6a391fe35 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -341,7 +341,7 @@ class Handles(interfaces.plugins.PluginInterface): try: obj_name = entry.NameInfo.Name.String except (ValueError, exceptions.InvalidAddressException): - obj_name = "" + obj_name = None except exceptions.InvalidAddressException: vollog.log( @@ -359,7 +359,7 @@ class Handles(interfaces.plugins.PluginInterface): format_hints.Hex(entry.HandleValue), obj_type, format_hints.Hex(entry.GrantedAccess), - obj_name, + obj_name or renderers.NotAvailableValue(), ), ) diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index b282b13cf..a8cc7703c 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -138,11 +138,11 @@ class CM_KEY_BODY(objects.StructType): kcb = self.KeyControlBlock while kcb.ParentKcb: if kcb.ParentKcb.vol.offset in seen: - return "" + return None seen.add(kcb.ParentKcb.vol.offset) if len(output) > 128: - return "" + return None if kcb.NameBlock.Name is None: break From 8b0165b6f6ea7a6ebb70ddb01b2de29b627ddcfd Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 25 Jan 2025 14:45:21 +0100 Subject: [PATCH 1262/2186] add linux_utilities_modules requirement --- volatility3/framework/plugins/linux/check_idt.py | 5 +++++ volatility3/framework/plugins/linux/keyboard_notifiers.py | 5 +++++ volatility3/framework/plugins/linux/kthreads.py | 5 +++++ volatility3/framework/plugins/linux/netfilter.py | 5 +++++ volatility3/framework/plugins/linux/tty_check.py | 5 +++++ 5 files changed, 25 insertions(+) diff --git a/volatility3/framework/plugins/linux/check_idt.py b/volatility3/framework/plugins/linux/check_idt.py index 5859e73d6..ffb707af5 100644 --- a/volatility3/framework/plugins/linux/check_idt.py +++ b/volatility3/framework/plugins/linux/check_idt.py @@ -28,6 +28,11 @@ class Check_idt(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) ), diff --git a/volatility3/framework/plugins/linux/keyboard_notifiers.py b/volatility3/framework/plugins/linux/keyboard_notifiers.py index c1b7572c6..8577de848 100644 --- a/volatility3/framework/plugins/linux/keyboard_notifiers.py +++ b/volatility3/framework/plugins/linux/keyboard_notifiers.py @@ -27,6 +27,11 @@ class Keyboard_notifiers(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(1, 0, 0), + ), requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) ), diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py index 2e1bbed47..bd0e895a4 100644 --- a/volatility3/framework/plugins/linux/kthreads.py +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -31,6 +31,11 @@ class Kthreads(plugins.PluginInterface): description="Linux kernel", architectures=architectures.LINUX_ARCHS, ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) ), diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index ccb831b61..33a8ca7cc 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -691,6 +691,11 @@ class Netfilter(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(1, 0, 0), + ), requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=cls._required_lsmod_version ), diff --git a/volatility3/framework/plugins/linux/tty_check.py b/volatility3/framework/plugins/linux/tty_check.py index f375968a4..9bbca246c 100644 --- a/volatility3/framework/plugins/linux/tty_check.py +++ b/volatility3/framework/plugins/linux/tty_check.py @@ -30,6 +30,11 @@ class tty_check(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(1, 0, 0), + ), requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) ), From ce671bb2fa3a7d03042a993814b4c11f19650cf4 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 25 Jan 2025 15:02:25 +0100 Subject: [PATCH 1263/2186] transfer deprecated_method into framework module --- volatility3/framework/__init__.py | 29 ++++++++++++++++++- .../framework/configuration/requirements.py | 23 --------------- .../framework/symbols/linux/__init__.py | 17 +++++++---- 3 files changed, 39 insertions(+), 30 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index a1925faef..12254ca77 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -11,7 +11,8 @@ import inspect import logging import os import traceback -from typing import Any, Dict, Generator, List, Optional, Tuple, Type, TypeVar +import functools +from typing import Any, Callable, Dict, Generator, List, Optional, Tuple, Type, TypeVar from volatility3.framework import constants, interfaces @@ -52,6 +53,32 @@ def require_interface_version(*args) -> None: ) +class Deprecation: + """Deprecation related methods.""" + + @staticmethod + def deprecated_method(replacement: Callable, additional_information: str = ""): + """A decorator for marking functions as deprecated. + + Args: + replacement: The replacement function overriding the deprecated API, in the form of a Callable (typically a method) + additional_information: Information appended at the end of the deprecation message + """ + + def decorator(deprecated_func): + @functools.wraps(deprecated_func) + def wrapper(*args, **kwargs): + nonlocal replacement, additional_information + deprecation_msg = f"Method \"{deprecated_func.__module__ + '.' + deprecated_func.__name__}\" is deprecated, use \"{replacement.__module__ + '.' + replacement.__name__}\" instead. {additional_information}" + vollog.warning(deprecation_msg) + # Return the wrapped function with its original arguments + return deprecated_func(*args, **kwargs) + + return wrapper + + return decorator + + class NonInheritable: def __init__(self, value: Any, cls: Type) -> None: self.default_value = value diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 3af5601dc..3e3608000 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -11,7 +11,6 @@ expect to be in the context (such as particular layers or symboltables). import abc import logging import os -import functools from typing import Any, ClassVar, Dict, List, Optional, Set, Tuple, Type from urllib import parse, request @@ -724,25 +723,3 @@ class ModuleRequirement( """Builds the appropriate configuration for the specified requirement.""" return context.modules[value].build_configuration() - - -def deprecated_method(replacement: str, additional_information: str = ""): - """A decorator for marking functions as deprecated. - - Args: - replacement: The replacement function overriding the deprecated API (full path preferred, starting from "volatility3."). String was preferred, for convenience and to prevent import conflicts on caller side. - additional_information: Information appended at the end of the deprecation message - """ - - def decorator(deprecated_func): - @functools.wraps(deprecated_func) - def wrapper(*args, **kwargs): - nonlocal replacement, additional_information - deprecation_msg = f"Method \"{deprecated_func.__module__ + '.' + deprecated_func.__name__}\" is deprecated, use \"{replacement}\" instead. {additional_information}" - vollog.warning(deprecation_msg) - # Return the wrapped function with its original arguments - return deprecated_func(*args, **kwargs) - - return wrapper - - return decorator diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 3dc744f78..0b7ef751c 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -10,11 +10,16 @@ from typing import Iterator, List, Tuple, Optional, Union import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3 import framework -from volatility3.framework import constants, exceptions, interfaces, objects +from volatility3.framework import ( + constants, + exceptions, + interfaces, + objects, + Deprecation, +) from volatility3.framework.objects import utility from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux import extensions -from volatility3.framework.configuration import requirements vollog = logging.getLogger(__name__) @@ -455,8 +460,8 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): ## Deprecated APIs ## @classmethod - @requirements.deprecated_method( - replacement="volatility3.framework.symbols.linux.utilities.modules.Modules.mask_mods_list" + @Deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.mask_mods_list ) def mask_mods_list( cls, @@ -472,8 +477,8 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return linux_utilities_modules.Modules.mask_mods_list(context, layer_name, mods) @classmethod - @requirements.deprecated_method( - replacement="volatility3.framework.symbols.linux.utilities.modules.Modules.lookup_module_address" + @Deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.lookup_module_address ) def lookup_module_address( cls, From 2e1b77f4b3186bae3dfbc7e51e2ba51e9fd850e3 Mon Sep 17 00:00:00 2001 From: Daniel Davidov <35842733+Danking555@users.noreply.github.com> Date: Sat, 25 Jan 2025 16:22:49 +0200 Subject: [PATCH 1264/2186] Move LowStubLayout constants to windows.constants * Moved constants out of the class and moved to constants.windows * Applied ruff and black --- volatility3/framework/automagic/pdbscan.py | 26 +++---------------- .../framework/constants/windows/__init__.py | 18 +++++++++++++ 2 files changed, 21 insertions(+), 23 deletions(-) diff --git a/volatility3/framework/automagic/pdbscan.py b/volatility3/framework/automagic/pdbscan.py index 7d289bcb6..f9c0d853d 100644 --- a/volatility3/framework/automagic/pdbscan.py +++ b/volatility3/framework/automagic/pdbscan.py @@ -376,26 +376,6 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): valid_kernel = (virtual_layer_name, address, res[0]) return valid_kernel - class LowStubLayout: - """ - Represents the layout of the Low Stub which exists only on x64 machines with no virtualization/emulation, - responsible for transitioning from Real Mode(16 bit) to Protected Mode(32 bit) and Long Mode(64 bit) on boot/return from sleep. - Contains offsets to fields and structures within the undocumented structure _PROCESSOR_START_BLOCK. - Here's a reference: https://github.com/mic101/windows/blob/master/WRK-v1.2/base/ntos/inc/amd64.h#L3334 - """ - - # Expected signature for validation, constructed from: - # PROCESSOR_START_BLOCK->Jmp->OpCode | PROCESSOR_START_BLOCK->Jmp->Offset | PROCESSOR_START_BLOCK->CompletionFlag - JMP_AND_COMPLETION_SIGNATURE = 0x00000001000600E9 - - # Address of LmTarget (Long Mode target) - PROCESSOR_START_BLOCK_LM_TARGET_OFFSET = ( - 0x70 # PROCESSOR_START_BLOCK->LmTarget, PVOID 8 bytes - ) - - # CR3 register within structures describing initial processor state to be started - PROCESSOR_START_BLOCK_CR3_OFFSET = 0xA0 # PROCESSOR_START_BLOCK->ProcessorState->SpecialRegisters->Cr3, ULONG64 8 bytes - def method_low_stub_offset( self, context: interfaces.context.ContextInterface, @@ -417,12 +397,12 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): ) if ( 0xFFFFFFFFFFFF00FF & jmp_and_completion_values - != self.LowStubLayout.JMP_AND_COMPLETION_SIGNATURE + != constants.windows.JMP_AND_COMPLETION_SIGNATURE ): continue cr3_value = int.from_bytes( physical_layer.read( - offset + self.LowStubLayout.PROCESSOR_START_BLOCK_CR3_OFFSET, 0x8 + offset + constants.windows.PROCESSOR_START_BLOCK_CR3_OFFSET, 0x8 ), "little", ) @@ -434,7 +414,7 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): continue potential_kernel_hint = int.from_bytes( physical_layer.read( - offset + self.LowStubLayout.PROCESSOR_START_BLOCK_LM_TARGET_OFFSET, + offset + constants.windows.PROCESSOR_START_BLOCK_LM_TARGET_OFFSET, 0x8, ), "little", diff --git a/volatility3/framework/constants/windows/__init__.py b/volatility3/framework/constants/windows/__init__.py index 7face984a..6f37acd2d 100644 --- a/volatility3/framework/constants/windows/__init__.py +++ b/volatility3/framework/constants/windows/__init__.py @@ -10,3 +10,21 @@ KERNEL_MODULE_NAMES = ["ntkrnlmp", "ntkrnlpa", "ntkrpamp", "ntoskrnl"] """The list of names that kernel modules can have within the windows OS""" PE_MAX_EXTRACTION_SIZE = 1024 * 1024 * 256 + +""" +The following constants represent the layout of the Low Stub which exists only on x64 machines with no virtualization/emulation, +responsible for transitioning from Real Mode(16 bit) to Protected Mode(32 bit) and Long Mode(64 bit) on boot/return from sleep. +Contains offsets to fields and structures within the undocumented structure _PROCESSOR_START_BLOCK. +Here's a reference: https://github.com/mic101/windows/blob/master/WRK-v1.2/base/ntos/inc/amd64.h#L3334 +""" +# Expected signature for validation, constructed from: +# PROCESSOR_START_BLOCK->Jmp->OpCode | PROCESSOR_START_BLOCK->Jmp->Offset | PROCESSOR_START_BLOCK->CompletionFlag +JMP_AND_COMPLETION_SIGNATURE = 0x00000001000600E9 + +# Address of LmTarget (Long Mode target) +PROCESSOR_START_BLOCK_LM_TARGET_OFFSET = ( + 0x70 # PROCESSOR_START_BLOCK->LmTarget, PVOID 8 bytes +) + +# CR3 register within structures describing initial processor state to be started +PROCESSOR_START_BLOCK_CR3_OFFSET = 0xA0 # PROCESSOR_START_BLOCK->ProcessorState->SpecialRegisters->Cr3, ULONG64 8 bytes From d8658f0729f7abbd8410f76571aad6369deabee6 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 25 Jan 2025 17:08:27 +0100 Subject: [PATCH 1265/2186] put deprecated functions order back --- .../framework/symbols/linux/__init__.py | 75 +++++++++---------- 1 file changed, 37 insertions(+), 38 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 0b7ef751c..bc2492f7a 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -345,6 +345,23 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): yield fd_num, filp, full_path + @classmethod + @Deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.mask_mods_list + ) + def mask_mods_list( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + mods: Iterator[interfaces.objects.ObjectInterface], + ) -> List[Tuple[str, int, int]]: + """ + DEPRECATED: use "volatility3.framework.symbols.linux.utilities.modules.Modules.mask_mods_list" instead. + + A helper function to mask the starting and end address of kernel modules + """ + return linux_utilities_modules.Modules.mask_mods_list(context, layer_name, mods) + @classmethod def generate_kernel_handler_info( cls, @@ -372,6 +389,26 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): context, kernel.layer_name, mods_list ) + @classmethod + @Deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.lookup_module_address + ) + def lookup_module_address( + cls, + kernel_module: interfaces.context.ModuleInterface, + handlers: List[Tuple[str, int, int]], + target_address: int, + ) -> Tuple[str, str]: + """ + DEPRECATED: use "volatility3.framework.symbols.linux.utilities.modules.Modules.lookup_module_address" instead. + + Searches between the start and end address of the kernel module using target_address. + Returns the module and symbol name of the address provided. + """ + return linux_utilities_modules.Modules.lookup_module_address( + kernel_module.context, kernel_module.name, handlers, target_address + ) + @classmethod def walk_internal_list(cls, vmlinux, struct_name, list_member, list_start): while list_start: @@ -458,44 +495,6 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): [chr((code >> (i * 8)) & 0xFF) for i in range(code_bytes_length)] ) - ## Deprecated APIs ## - @classmethod - @Deprecation.deprecated_method( - replacement=linux_utilities_modules.Modules.mask_mods_list - ) - def mask_mods_list( - cls, - context: interfaces.context.ContextInterface, - layer_name: str, - mods: Iterator[interfaces.objects.ObjectInterface], - ) -> List[Tuple[str, int, int]]: - """ - DEPRECATED: use "volatility3.framework.symbols.linux.utilities.modules.Modules.mask_mods_list" instead. - - A helper function to mask the starting and end address of kernel modules - """ - return linux_utilities_modules.Modules.mask_mods_list(context, layer_name, mods) - - @classmethod - @Deprecation.deprecated_method( - replacement=linux_utilities_modules.Modules.lookup_module_address - ) - def lookup_module_address( - cls, - kernel_module: interfaces.context.ModuleInterface, - handlers: List[Tuple[str, int, int]], - target_address: int, - ) -> Tuple[str, str]: - """ - DEPRECATED: use "volatility3.framework.symbols.linux.utilities.modules.Modules.lookup_module_address" instead. - - Searches between the start and end address of the kernel module using target_address. - Returns the module and symbol name of the address provided. - """ - return linux_utilities_modules.Modules.lookup_module_address( - kernel_module.context, kernel_module.name, handlers, target_address - ) - class IDStorage(ABC): """Abstraction to support both XArray and RadixTree""" From 825720ed5d8f290b244735c758149e5b9d208c12 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 25 Jan 2025 19:48:31 +0100 Subject: [PATCH 1266/2186] catch UnsatisfiedException at plugin runtime --- volatility3/cli/__init__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 82a2a4205..d3ce74847 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -500,6 +500,16 @@ class CommandLine: renderer.filter = text_filter.CLIFilter(grid, args.filters) renderer.column_hide_list = args.hide_columns renderer.render(grid) + except exceptions.UnsatisfiedException as excp: + output = sys.stderr + output.write( + "An unsatisfied framework exception was encountered post plugin construction:\n" + ) + self.process_unsatisfied_exceptions(excp) + output.write( + f"Unable to validate the requirements: {[x for x in excp.unsatisfied]}\n", + ) + sys.exit(1) except exceptions.VolatilityException as excp: self.process_exceptions(excp) From 2ed00cc91a6764d05162c01055fc17c18124c6aa Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 25 Jan 2025 19:52:47 +0100 Subject: [PATCH 1267/2186] add optional version requirement to deprecated_method --- volatility3/framework/__init__.py | 56 ++++++++++++++++++++++++++++--- 1 file changed, 51 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 12254ca77..bf4ec4447 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -12,9 +12,11 @@ import logging import os import traceback import functools +import warnings from typing import Any, Callable, Dict, Generator, List, Optional, Tuple, Type, TypeVar -from volatility3.framework import constants, interfaces +from volatility3.framework import constants, exceptions, interfaces +from volatility3.framework.configuration import requirements # ## @@ -57,20 +59,64 @@ class Deprecation: """Deprecation related methods.""" @staticmethod - def deprecated_method(replacement: Callable, additional_information: str = ""): + def deprecated_method( + replacement: Callable, + replacement_base_class_required_version: Tuple[int, int, int] = None, + additional_information: str = "", + ): """A decorator for marking functions as deprecated. Args: replacement: The replacement function overriding the deprecated API, in the form of a Callable (typically a method) + replacement_base_class_required_version: The "replacement" base class version that the deprecated method expects before proxying to it. This implies that "replacement" is a method from a class that inherits from VersionableInterface. additional_information: Information appended at the end of the deprecation message """ def decorator(deprecated_func): @functools.wraps(deprecated_func) def wrapper(*args, **kwargs): - nonlocal replacement, additional_information - deprecation_msg = f"Method \"{deprecated_func.__module__ + '.' + deprecated_func.__name__}\" is deprecated, use \"{replacement.__module__ + '.' + replacement.__name__}\" instead. {additional_information}" - vollog.warning(deprecation_msg) + nonlocal replacement, replacement_base_class_required_version, additional_information + # Prevent version mismatches between deprecated (proxy) methods and the ones they proxy + if replacement_base_class_required_version is not None and callable( + replacement + ): + # example: replacement = volatility3.MyClass.my_dummy_function + # "MyClass.my_dummy_function" -> "MyClass" + replacement_base_class_name = replacement.__qualname__.split(".")[0] + # replacement.__globals__ example: {'MyClass': } + replacement_base_class = replacement.__globals__.get( + replacement_base_class_name + ) + + # Verify that the base class inherits from VersionableInterface + if inspect.isclass(replacement_base_class) and issubclass( + replacement_base_class, + interfaces.configuration.VersionableInterface, + ): + # Construct a requirement + req = requirements.VersionRequirement( + name=replacement_base_class.__name__, + component=replacement_base_class, + version=replacement_base_class_required_version, + ) + # Verify the requirement + if not req.matches_required( + req._version, req._component.version + ): + full_unsat_req_path = ( + deprecated_func.__module__ + + "." + + deprecated_func.__qualname__ + + "." + + req.name + ) + # Catched by the cli and redirected to process_unsatisfied_exceptions + raise exceptions.UnsatisfiedException( + {full_unsat_req_path: req} + ) + + deprecation_msg = f"Method \"{deprecated_func.__module__ + '.' + deprecated_func.__qualname__}\" is deprecated, use \"{replacement.__module__ + '.' + replacement.__qualname__}\" instead. {additional_information}" + warnings.warn(deprecation_msg, FutureWarning) # Return the wrapped function with its original arguments return deprecated_func(*args, **kwargs) From 3657c6fe5e8db92b1a6364a962b778a89e802624 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 25 Jan 2025 19:54:20 +0100 Subject: [PATCH 1268/2186] require Modules >= 1.0.0 on deprecated methods --- volatility3/framework/symbols/linux/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index bc2492f7a..6a01efc3a 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -347,7 +347,8 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): @classmethod @Deprecation.deprecated_method( - replacement=linux_utilities_modules.Modules.mask_mods_list + replacement=linux_utilities_modules.Modules.mask_mods_list, + replacement_base_class_required_version=(1, 0, 0), ) def mask_mods_list( cls, @@ -391,7 +392,8 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): @classmethod @Deprecation.deprecated_method( - replacement=linux_utilities_modules.Modules.lookup_module_address + replacement=linux_utilities_modules.Modules.lookup_module_address, + replacement_base_class_required_version=(1, 0, 0), ) def lookup_module_address( cls, From 4262eff8898b3fbc017abe3c1d1e4f13fa6fb189 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 25 Jan 2025 20:04:51 +0100 Subject: [PATCH 1269/2186] adhere to AbstractNetfilter requirement checking --- .../framework/plugins/linux/netfilter.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 33a8ca7cc..ccb7509aa 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -99,6 +99,20 @@ class AbstractNetfilter(ABC): f"linux.LinuxUtilities version not suitable: required {linuxutils_required_version} found {linuxutils_current_version}" ) + linux_utilities_modules_required_version = ( + Netfilter._required_linux_utilities_modules_version + ) + linux_utilities_modules_current_version = ( + linux_utilities_modules.Modules._version + ) + if not requirements.VersionRequirement.matches_required( + linux_utilities_modules_required_version, + linux_utilities_modules_current_version, + ): + raise exceptions.PluginRequirementException( + f"linux_utilities_modules.Modules version not suitable: required {linux_utilities_modules_required_version} found {linux_utilities_modules_current_version}" + ) + modules = lsmod.Lsmod.list_modules(context, kernel_module_name) self.handlers = linux.LinuxUtilities.generate_kernel_handler_info( context, kernel_module_name, modules @@ -680,6 +694,7 @@ class Netfilter(interfaces.plugins.PluginInterface): _version = (1, 1, 0) + _required_linux_utilities_modules_version = (1, 0, 0) _required_linuxutils_version = (2, 1, 0) _required_lsmod_version = (2, 0, 0) @@ -694,7 +709,7 @@ class Netfilter(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(1, 0, 0), + version=cls._required_linux_utilities_modules_version, ), requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=cls._required_lsmod_version From 6d43dcd3a842d308705f3ecd3c023c94be473846 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 10:31:46 +0100 Subject: [PATCH 1270/2186] add VersionMismatchException --- volatility3/framework/exceptions.py | 31 ++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/exceptions.py b/volatility3/framework/exceptions.py index 41c67b88d..0409ae5f0 100644 --- a/volatility3/framework/exceptions.py +++ b/volatility3/framework/exceptions.py @@ -8,9 +8,10 @@ space or symbol tables, and by layers when an address is invalid. The :class:`PagedInvalidAddressException` contains information about the size of the invalid page. """ -from typing import Dict, Optional +from typing import Callable, Dict, Optional, Tuple from volatility3.framework import interfaces +from volatility3.framework.interfaces.configuration import VersionableInterface class VolatilityException(Exception): @@ -134,3 +135,31 @@ class RenderException(VolatilityException): class LinuxPageCacheException(VolatilityException): """Thrown if there is an error during Linux Page Cache processing""" + + +class VersionMismatchException(VolatilityException): + """Thrown if a version mismatch has been encountered between two components.""" + + def __init__( + self, + source_component: Callable, + target_component: VersionableInterface, + target_version: Tuple[int, int, int], + failure_reason: str = None, + *args, + ): + """ + Args: + source_component: The component that required the target component + target_component: The component that is required. Must inherit from VersionableInterface + target_version: The version of the target component that was required, and ultimately was not satisfied + failure_reason: A detailed failure reason to enhande debugging and bug tracking + """ + super().__init__(*args) + self.source_component = source_component + self.target_component = target_component + self.target_version = target_version + self.failure_reason = failure_reason + + def __str__(self): + return f"{self.source_component.__module__+ '.' + self.source_component.__qualname__}: Version {self.target_version} dependency on {self.target_component.__module__+ '.' + self.target_component.__qualname__} {self.target_component.version} unmet." From 4bd385cc9dadbfe8800fddc2bce9cef1ae4dadd5 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 10:33:02 +0100 Subject: [PATCH 1271/2186] handle VersionMismatchException --- volatility3/cli/__init__.py | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index d3ce74847..b57d9a3f3 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -500,16 +500,6 @@ class CommandLine: renderer.filter = text_filter.CLIFilter(grid, args.filters) renderer.column_hide_list = args.hide_columns renderer.render(grid) - except exceptions.UnsatisfiedException as excp: - output = sys.stderr - output.write( - "An unsatisfied framework exception was encountered post plugin construction:\n" - ) - self.process_unsatisfied_exceptions(excp) - output.write( - f"Unable to validate the requirements: {[x for x in excp.unsatisfied]}\n", - ) - sys.exit(1) except exceptions.VolatilityException as excp: self.process_exceptions(excp) @@ -583,6 +573,8 @@ class CommandLine: fulltrace = traceback.TracebackException.from_exception(excp).format(chain=True) vollog.debug("".join(fulltrace)) + file_a_bug_msg = f"Please re-run with -vvv and file a bug with the output at {constants.BUG_URL}" + if isinstance(excp, exceptions.InvalidAddressException): general = "Volatility was unable to read a requested page:" if isinstance(excp, exceptions.SwappedInvalidAddressException): @@ -627,9 +619,7 @@ class CommandLine: elif isinstance(excp, exceptions.LayerException): general = f"Volatility experienced a layer-related issue: {excp.layer_name}" detail = f"{excp}" - caused_by = [ - "A faulty layer implementation (re-run with -vvv and file a bug)" - ] + caused_by = [f"A faulty layer implementation. {file_a_bug_msg}"] elif isinstance(excp, exceptions.MissingModuleException): general = f"Volatility could not import a necessary module: {excp.module}" detail = f"{excp}" @@ -640,13 +630,17 @@ class CommandLine: general = "Volatility experienced an issue when rendering the output:" detail = f"{excp}" caused_by = ["An invalid renderer option, such as no visible columns"] + elif isinstance(excp, exceptions.VersionMismatchException): + general = "A version mismatch was detected between two components:" + detail = f"{excp}" + caused_by = [ + excp.failure_reason or "An outdated API caller, such as a method.", + file_a_bug_msg, + ] else: general = "Volatility encountered an unexpected situation." detail = "" - caused_by = [ - "Please re-run using with -vvv and file a bug with the output", - f"at {constants.BUG_URL}", - ] + caused_by = [file_a_bug_msg] # Code that actually renders the exception output = sys.stderr From ba6b709aba9496f75a61a806f06719189ac97491 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 10:34:18 +0100 Subject: [PATCH 1272/2186] use VersionMismatchException --- volatility3/framework/__init__.py | 37 ++++++++++--------------------- 1 file changed, 12 insertions(+), 25 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index bf4ec4447..5d4e0f3c4 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -61,25 +61,23 @@ class Deprecation: @staticmethod def deprecated_method( replacement: Callable, - replacement_base_class_required_version: Tuple[int, int, int] = None, + replacement_version: Tuple[int, int, int] = None, additional_information: str = "", ): """A decorator for marking functions as deprecated. Args: replacement: The replacement function overriding the deprecated API, in the form of a Callable (typically a method) - replacement_base_class_required_version: The "replacement" base class version that the deprecated method expects before proxying to it. This implies that "replacement" is a method from a class that inherits from VersionableInterface. + replacement_version: The "replacement" base class version that the deprecated method expects before proxying to it. This implies that "replacement" is a method from a class that inherits from VersionableInterface. additional_information: Information appended at the end of the deprecation message """ def decorator(deprecated_func): @functools.wraps(deprecated_func) def wrapper(*args, **kwargs): - nonlocal replacement, replacement_base_class_required_version, additional_information + nonlocal replacement, replacement_version, additional_information # Prevent version mismatches between deprecated (proxy) methods and the ones they proxy - if replacement_base_class_required_version is not None and callable( - replacement - ): + if replacement_version is not None and callable(replacement): # example: replacement = volatility3.MyClass.my_dummy_function # "MyClass.my_dummy_function" -> "MyClass" replacement_base_class_name = replacement.__qualname__.split(".")[0] @@ -93,26 +91,15 @@ class Deprecation: replacement_base_class, interfaces.configuration.VersionableInterface, ): - # Construct a requirement - req = requirements.VersionRequirement( - name=replacement_base_class.__name__, - component=replacement_base_class, - version=replacement_base_class_required_version, - ) - # Verify the requirement - if not req.matches_required( - req._version, req._component.version + # SemVer check + if not requirements.VersionRequirement.matches_required( + replacement_version, replacement_base_class.version ): - full_unsat_req_path = ( - deprecated_func.__module__ - + "." - + deprecated_func.__qualname__ - + "." - + req.name - ) - # Catched by the cli and redirected to process_unsatisfied_exceptions - raise exceptions.UnsatisfiedException( - {full_unsat_req_path: req} + raise exceptions.VersionMismatchException( + deprecated_func, + replacement_base_class, + replacement_version, + "A deprecated method was unable to proxy the call to its replacement", ) deprecation_msg = f"Method \"{deprecated_func.__module__ + '.' + deprecated_func.__qualname__}\" is deprecated, use \"{replacement.__module__ + '.' + replacement.__qualname__}\" instead. {additional_information}" From 28081ed989599bc395b190cf503e8d83ef5b8fed Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 10:35:25 +0100 Subject: [PATCH 1273/2186] tidy up replacement_base_class_required_version --- volatility3/framework/symbols/linux/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 6a01efc3a..397c36c01 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -348,7 +348,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): @classmethod @Deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.mask_mods_list, - replacement_base_class_required_version=(1, 0, 0), + replacement_version=(1, 0, 0), ) def mask_mods_list( cls, @@ -393,7 +393,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): @classmethod @Deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.lookup_module_address, - replacement_base_class_required_version=(1, 0, 0), + replacement_version=(1, 0, 0), ) def lookup_module_address( cls, From 459483651b847241cb4189c4d1449fd18c0bdca7 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 10:53:33 +0100 Subject: [PATCH 1274/2186] typo --- volatility3/framework/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/exceptions.py b/volatility3/framework/exceptions.py index 0409ae5f0..99c5f155e 100644 --- a/volatility3/framework/exceptions.py +++ b/volatility3/framework/exceptions.py @@ -153,7 +153,7 @@ class VersionMismatchException(VolatilityException): source_component: The component that required the target component target_component: The component that is required. Must inherit from VersionableInterface target_version: The version of the target component that was required, and ultimately was not satisfied - failure_reason: A detailed failure reason to enhande debugging and bug tracking + failure_reason: A detailed failure reason to enhance debugging and bug tracking """ super().__init__(*args) self.source_component = source_component From 80eebd2f49bee665f194e4adba92cf12a192a997 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 13:18:30 +0100 Subject: [PATCH 1275/2186] use classmethod instead of staticmethod --- volatility3/framework/symbols/linux/utilities/modules.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index ac9b2afaf..82c63fc18 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -13,8 +13,9 @@ class Modules(interfaces.configuration.VersionableInterface): framework.require_interface_version(*_required_framework_version) - @staticmethod + @classmethod def mask_mods_list( + cls, context: interfaces.context.ContextInterface, layer_name: str, mods: Iterator[interfaces.objects.ObjectInterface], @@ -33,8 +34,9 @@ class Modules(interfaces.configuration.VersionableInterface): for mod in mods ] - @staticmethod + @classmethod def lookup_module_address( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str, handlers: List[Tuple[str, int, int]], From 5d58ba63dbd6a60fd36faca6f23a3a1b4a11e724 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 13:19:01 +0100 Subject: [PATCH 1276/2186] use __name__ instead of overkill __qualname__ --- volatility3/framework/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/exceptions.py b/volatility3/framework/exceptions.py index 99c5f155e..a3d660444 100644 --- a/volatility3/framework/exceptions.py +++ b/volatility3/framework/exceptions.py @@ -162,4 +162,4 @@ class VersionMismatchException(VolatilityException): self.failure_reason = failure_reason def __str__(self): - return f"{self.source_component.__module__+ '.' + self.source_component.__qualname__}: Version {self.target_version} dependency on {self.target_component.__module__+ '.' + self.target_component.__qualname__} {self.target_component.version} unmet." + return f"{self.source_component.__module__+ '.' + self.source_component.__qualname__}: Version {self.target_version} dependency on {self.target_component.__module__+ '.' + self.target_component.__name__} {self.target_component.version} unmet." From 4cb386858ebe7c62f05b16c9f869fdf762084121 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 13:20:48 +0100 Subject: [PATCH 1277/2186] use __self__ and enhance exception msg --- volatility3/framework/__init__.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 5d4e0f3c4..aa93340cd 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -77,14 +77,12 @@ class Deprecation: def wrapper(*args, **kwargs): nonlocal replacement, replacement_version, additional_information # Prevent version mismatches between deprecated (proxy) methods and the ones they proxy - if replacement_version is not None and callable(replacement): - # example: replacement = volatility3.MyClass.my_dummy_function - # "MyClass.my_dummy_function" -> "MyClass" - replacement_base_class_name = replacement.__qualname__.split(".")[0] - # replacement.__globals__ example: {'MyClass': } - replacement_base_class = replacement.__globals__.get( - replacement_base_class_name - ) + if ( + replacement_version is not None + and callable(replacement) + and hasattr(replacement, "__self__") + ): + replacement_base_class = replacement.__self__ # Verify that the base class inherits from VersionableInterface if inspect.isclass(replacement_base_class) and issubclass( @@ -99,7 +97,7 @@ class Deprecation: deprecated_func, replacement_base_class, replacement_version, - "A deprecated method was unable to proxy the call to its replacement", + "This is a bug, the deprecated call needs to be removed and the caller needs to update their code to use the new method.", ) deprecation_msg = f"Method \"{deprecated_func.__module__ + '.' + deprecated_func.__qualname__}\" is deprecated, use \"{replacement.__module__ + '.' + replacement.__qualname__}\" instead. {additional_information}" From a25165d935c02c07510b8b4721b074d7bed21258 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 13:44:23 +0100 Subject: [PATCH 1278/2186] 2.18.1 -> 2.19.0 bump --- volatility3/framework/constants/_version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 689e39664..f2403cf4a 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 18 # Number of changes that only add to the interface -VERSION_PATCH = 1 # Number of changes that do not change the interface +VERSION_MINOR = 19 # Number of changes that only add to the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From 1ac2dbc49c10552d1d26debe2eb54e0f6922c1c8 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 26 Jan 2025 13:44:33 +0000 Subject: [PATCH 1279/2186] Shift exposed staticmethods to classmethods --- .../framework/plugins/linux/capabilities.py | 4 ++- volatility3/framework/plugins/linux/envars.py | 5 +-- .../framework/plugins/linux/hidden_modules.py | 6 ++-- .../framework/plugins/linux/pagecache.py | 11 +++--- .../framework/plugins/linux/vmayarascan.py | 5 +-- .../framework/plugins/windows/cachedump.py | 18 +++++----- .../plugins/windows/direct_system_calls.py | 13 +++---- .../framework/plugins/windows/mftscan.py | 21 ++++++----- .../framework/plugins/windows/netscan.py | 6 ++-- .../framework/plugins/windows/pe_symbols.py | 35 +++++++++++-------- .../framework/plugins/windows/poolscanner.py | 6 ++-- .../framework/plugins/windows/shimcachemem.py | 4 ++- .../framework/plugins/windows/svcscan.py | 5 +-- .../plugins/windows/unloadedmodules.py | 5 +-- .../framework/plugins/windows/vadyarascan.py | 5 +-- volatility3/framework/plugins/yarascan.py | 14 ++++---- 16 files changed, 93 insertions(+), 70 deletions(-) diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index 1d0c60c11..b758a04b4 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -35,7 +35,9 @@ class CapabilitiesData: cap_permitted: interfaces.objects.ObjectInterface cap_effective: interfaces.objects.ObjectInterface cap_bset: interfaces.objects.ObjectInterface - cap_ambient: interfaces.objects.ObjectInterface + cap_ambient: ( + interfaces.objects.ObjectInterface | interfaces.renderers.BaseAbsentValue + ) def astuple(self) -> Tuple: """Returns a shallow copy of the capability sets in a tuple. diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index 8cdbfe493..cc43c4130 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -18,7 +18,7 @@ class Envars(plugins.PluginInterface): """Lists processes with their environment variables""" _required_framework_version = (2, 13, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) @classmethod def get_requirements(cls): @@ -40,8 +40,9 @@ class Envars(plugins.PluginInterface): ), ] - @staticmethod + @classmethod def get_task_env_variables( + cls, context: interfaces.context.ContextInterface, task: interfaces.objects.ObjectInterface, env_area_max_size: int = 8192, diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index fd4b28943..e1ba40926 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -16,8 +16,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): """Carves memory to find hidden kernel modules""" _required_framework_version = (2, 10, 0) - - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -32,8 +31,9 @@ class Hidden_modules(interfaces.plugins.PluginInterface): ), ] - @staticmethod + @classmethod def get_modules_memory_boundaries( + cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str, ) -> Tuple[int]: diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 32b176b72..4d1250255 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -104,7 +104,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 2) + _version = (1, 0, 3) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -360,8 +360,8 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): yield description, timeliner.TimeLinerType.MODIFIED, inode_out.modification_time yield description, timeliner.TimeLinerType.CHANGED, inode_out.change_time - @staticmethod - def format_fields_with_headers(headers, generator): + @classmethod + def format_fields_with_headers(cls, headers, generator): """Uses the headers type to cast the fields obtained from the generator""" for level, fields in generator: formatted_fields = [] @@ -405,7 +405,7 @@ class InodePages(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (2, 0, 1) + _version = (2, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -436,8 +436,9 @@ class InodePages(plugins.PluginInterface): ), ] - @staticmethod + @classmethod def write_inode_content_to_file( + cls, inode: interfaces.objects.ObjectInterface, filename: str, open_method: Type[interfaces.plugins.FileHandlerInterface], diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 4db23e50b..e9e56dd0f 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -18,7 +18,7 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): """Scans all virtual memory areas for tasks using yara.""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 2) + _version = (1, 0, 3) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -105,8 +105,9 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): value, ) - @staticmethod + @classmethod def get_vma_maps( + cls, task: interfaces.objects.ObjectInterface, ) -> Iterable[Tuple[int, int]]: """Creates a map of start/end addresses for each virtual memory area in a task. diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index 6c730e6ae..f4f2e061e 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -22,7 +22,7 @@ class Cachedump(interfaces.plugins.PluginInterface): """Dumps lsa secrets from memory""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): @@ -43,16 +43,16 @@ class Cachedump(interfaces.plugins.PluginInterface): ), ] - @staticmethod + @classmethod def get_nlkm( - sechive: registry.RegistryHive, lsakey: bytes, is_vista_or_later: bool + cls, sechive: registry.RegistryHive, lsakey: bytes, is_vista_or_later: bool ): return lsadump.Lsadump.get_secret_by_name( sechive, "NL$KM", lsakey, is_vista_or_later ) - @staticmethod - def decrypt_hash(edata: bytes, nlkm: bytes, ch, xp: bool): + @classmethod + def decrypt_hash(cls, edata: bytes, nlkm: bytes, ch, xp: bool): if xp: hmac_md5 = HMAC.new(nlkm, ch) rc4key = hmac_md5.digest() @@ -69,8 +69,8 @@ class Cachedump(interfaces.plugins.PluginInterface): data += aes.decrypt(buf) return data - @staticmethod - def parse_cache_entry(cache_data: bytes) -> Tuple[int, int, int, bytes, bytes]: + @classmethod + def parse_cache_entry(cls, cache_data: bytes) -> Tuple[int, int, int, bytes, bytes]: (uname_len, domain_len) = unpack(" Tuple[str, str, str, bytes]: """Get the data from the cache and separate it into the username, domain name, and hash data""" uname_offset = 72 diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index 183e4095c..af626f511 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -53,7 +53,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): """Detects the Direct System Call technique used to bypass EDRs""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) # DLLs that are expected to host system call invocations valid_syscall_handlers = ("ntdll.dll", "win32u.dll") @@ -200,8 +200,8 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): return disasm_bytes, end_inst - @staticmethod - def get_disasm_function(architecture: str) -> Callable: + @classmethod + def get_disasm_function(cls, architecture: str) -> Callable: """ Returns the disassembly handler for the given architecture .detail is used to get full instruction information @@ -284,8 +284,9 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): return None - @staticmethod + @classmethod def get_vad_maps( + cls, task: interfaces.objects.ObjectInterface, ) -> List[Tuple[int, int, str]]: """Creates a map of start/end addresses within a virtual address @@ -310,9 +311,9 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): return vads - @staticmethod + @classmethod def get_range_path( - ranges: List[Tuple[int, int, str]], address: int + cls, ranges: List[Tuple[int, int, str]], address: int ) -> Optional[str]: """ Returns the path for the range holding `address`, if found diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index c4d05e634..2c5827a25 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -22,7 +22,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) @classmethod def get_requirements(cls): @@ -37,8 +37,9 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), ] - @staticmethod + @classmethod def enumerate_mft_records( + cls, context: interfaces.context.ContextInterface, config_path: str, primary_layer_name: str, @@ -128,8 +129,9 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): layer_name=layer.name, ) - @staticmethod + @classmethod def parse_mft_records( + cls, record_map: Dict[int, Tuple[str, int, int]], mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, @@ -191,8 +193,9 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): file_name, ) - @staticmethod + @classmethod def parse_data_record( + cls, mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, record_map: Dict[int, Tuple[str, int, int]], @@ -325,7 +328,7 @@ class ADS(interfaces.plugins.PluginInterface): _required_framework_version = (2, 7, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): @@ -343,8 +346,9 @@ class ADS(interfaces.plugins.PluginInterface): ), ] - @staticmethod + @classmethod def parse_ads_data_records( + cls, record_map: Dict[int, Tuple[str, int, int]], mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, @@ -394,7 +398,7 @@ class ResidentData(interfaces.plugins.PluginInterface): _required_framework_version = (2, 7, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): @@ -412,8 +416,9 @@ class ResidentData(interfaces.plugins.PluginInterface): ), ] - @staticmethod + @classmethod def parse_first_data_records( + cls, record_map: Dict[int, Tuple[str, int, int]], mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index 162031104..c30792908 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -23,7 +23,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Scans for network objects present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): @@ -50,9 +50,9 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), ] - @staticmethod + @classmethod def create_netscan_constraints( - context: interfaces.context.ContextInterface, symbol_table: str + cls, context: interfaces.context.ContextInterface, symbol_table: str ) -> List[poolscanner.PoolConstraint]: """Creates a list of Pool Tag Constraints for network objects. diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 21e657ab3..88ced7e06 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -244,7 +244,7 @@ class PESymbols(interfaces.plugins.PluginInterface): _required_framework_version = (2, 7, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) # used for special handling of the kernel PDB file. See later notes os_module_name = "ntoskrnl.exe" @@ -330,9 +330,9 @@ class PESymbols(interfaces.plugins.PluginInterface): return pe_ret - @staticmethod + @classmethod def range_info_for_address( - ranges: ranges_type, address: int + cls, ranges: ranges_type, address: int ) -> Optional[range_type]: """ Helper for getting the range information for an address. @@ -351,8 +351,8 @@ class PESymbols(interfaces.plugins.PluginInterface): return None - @staticmethod - def filepath_for_address(ranges: ranges_type, address: int) -> Optional[str]: + @classmethod + def filepath_for_address(cls, ranges: ranges_type, address: int) -> Optional[str]: """ Helper to get the file path for an address @@ -369,8 +369,8 @@ class PESymbols(interfaces.plugins.PluginInterface): return None - @staticmethod - def filename_for_path(filepath: str) -> str: + @classmethod + def filename_for_path(cls, filepath: str) -> str: """ Consistent way to get the filename regardless of platform @@ -382,8 +382,9 @@ class PESymbols(interfaces.plugins.PluginInterface): """ return ntpath.basename(filepath).lower() - @staticmethod + @classmethod def addresses_for_process_symbols( + cls, context: interfaces.context.ContextInterface, config_path: str, layer_name: str, @@ -416,8 +417,9 @@ class PESymbols(interfaces.plugins.PluginInterface): return found_symbols - @staticmethod + @classmethod def path_and_symbol_for_address( + cls, context: interfaces.context.ContextInterface, config_path: str, collected_modules: collected_modules_type, @@ -733,8 +735,9 @@ class PESymbols(interfaces.plugins.PluginInterface): return found, remaining - @staticmethod + @classmethod def find_symbols( + cls, context: interfaces.context.ContextInterface, config_path: str, wanted_modules: PESymbolFinder.cached_value_dict, @@ -775,8 +778,9 @@ class PESymbols(interfaces.plugins.PluginInterface): return found_symbols, missing_symbols - @staticmethod + @classmethod def get_kernel_modules( + cls, context: interfaces.context.ContextInterface, layer_name: str, symbol_table: str, @@ -837,8 +841,9 @@ class PESymbols(interfaces.plugins.PluginInterface): return found_modules - @staticmethod + @classmethod def get_vads_for_process_cache( + cls, vads_cache: Dict[int, ranges_type], owner_proc: interfaces.objects.ObjectInterface, ) -> Optional[ranges_type]: @@ -865,8 +870,9 @@ class PESymbols(interfaces.plugins.PluginInterface): return vads - @staticmethod + @classmethod def get_proc_vads_with_file_paths( + cls, proc: interfaces.objects.ObjectInterface, ) -> ranges_type: """ @@ -928,8 +934,9 @@ class PESymbols(interfaces.plugins.PluginInterface): yield proc, proc_layer_name, vads - @staticmethod + @classmethod def get_process_modules( + cls, context: interfaces.context.ContextInterface, layer_name: str, symbol_table: str, diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index efde09638..5be0e7fa8 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -127,8 +127,8 @@ class PoolHeaderScanner(interfaces.layers.ScannerInterface): class PoolScanner(plugins.PluginInterface): """A generic pool scanner plugin.""" - _version = (1, 0, 0) _required_framework_version = (2, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -181,9 +181,9 @@ class PoolScanner(plugins.PluginInterface): ), ) - @staticmethod + @classmethod def builtin_constraints( - symbol_table: str, tags_filter: Optional[List[bytes]] = None + cls, symbol_table: str, tags_filter: Optional[List[bytes]] = None ) -> List[PoolConstraint]: """Get built-in PoolConstraints given a list of pool tags. diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index 9d968c30a..1e1024656 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -24,6 +24,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf """Reads Shimcache entries from the ahcache.sys AVL tree""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 1) # These checks must be completed from newest -> oldest OS version. _win_version_file_map: List[Tuple[versions.OsDistinguisher, bool, str]] = [ @@ -74,8 +75,9 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf ), ] - @staticmethod + @classmethod def create_shimcache_table( + cls, context: interfaces.context.ContextInterface, symbol_table: str, config_path: str, diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 17baac5b0..6645fa6a3 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -35,7 +35,7 @@ class SvcScan(interfaces.plugins.PluginInterface): """Scans for windows services.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 1) + _version = (3, 0, 2) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -61,8 +61,9 @@ class SvcScan(interfaces.plugins.PluginInterface): ), ] - @staticmethod + @classmethod def get_record_tuple( + cls, service_record: interfaces.objects.ObjectInterface, binary_info: ServiceBinaryInfo, ): diff --git a/volatility3/framework/plugins/windows/unloadedmodules.py b/volatility3/framework/plugins/windows/unloadedmodules.py index 077fe33cb..d9f104ae8 100644 --- a/volatility3/framework/plugins/windows/unloadedmodules.py +++ b/volatility3/framework/plugins/windows/unloadedmodules.py @@ -22,7 +22,7 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt """Lists the unloaded kernel modules.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -34,8 +34,9 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt ), ] - @staticmethod + @classmethod def create_unloadedmodules_table( + cls, context: interfaces.context.ContextInterface, symbol_table: str, config_path: str, diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 2e9cc44ea..11ddc3716 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -18,7 +18,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): """Scans all the Virtual Address Descriptor memory maps using yara.""" _required_framework_version = (2, 4, 0) - _version = (1, 1, 1) + _version = (1, 1, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -104,8 +104,9 @@ class VadYaraScan(interfaces.plugins.PluginInterface): value, ) - @staticmethod + @classmethod def get_vad_maps( + cls, task: interfaces.objects.ObjectInterface, ) -> Iterable[Tuple[int, int]]: """Creates a map of start/end addresses within a virtual address diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 310bbd072..38c8b6085 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -37,7 +37,7 @@ except ImportError: class YaraScanner(interfaces.layers.ScannerInterface): - _version = (2, 1, 0) + _version = (2, 1, 1) # yara.Rules isn't exposed, so we can't type this properly def __init__(self, rules) -> None: @@ -79,23 +79,23 @@ class YaraScanner(interfaces.layers.ScannerInterface): for offset, name, value in match.strings: yield (offset + data_offset, match.rule, name, value) - @staticmethod - def get_rule(rule): + @classmethod + def get_rule(cls, rule): if USE_YARA_X: return yara_x.compile(f"rule r1 {{strings: $a = {rule} condition: $a}}") return yara.compile( sources={"n": f"rule r1 {{strings: $a = {rule} condition: $a}}"} ) - @staticmethod - def from_compiled_file(filepath): + @classmethod + def from_compiled_file(cls, filepath): with resources.ResourceAccessor().open(filepath, "rb") as fp: if USE_YARA_X: return yara_x.Rules.deserialize_from(file=fp) return yara.load(file=fp) - @staticmethod - def from_file(filepath): + @classmethod + def from_file(cls, filepath): with resources.ResourceAccessor().open(filepath, "rb") as fp: if USE_YARA_X: return yara_x.compile(fp.read().decode()) From e4e54a5c58e24b053b0509de952ea1647e07877f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 26 Jan 2025 13:48:00 +0000 Subject: [PATCH 1280/2186] Don't fix the type error as part of the shift. --- volatility3/framework/plugins/linux/capabilities.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index b758a04b4..1d0c60c11 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -35,9 +35,7 @@ class CapabilitiesData: cap_permitted: interfaces.objects.ObjectInterface cap_effective: interfaces.objects.ObjectInterface cap_bset: interfaces.objects.ObjectInterface - cap_ambient: ( - interfaces.objects.ObjectInterface | interfaces.renderers.BaseAbsentValue - ) + cap_ambient: interfaces.objects.ObjectInterface def astuple(self) -> Tuple: """Returns a shallow copy of the capability sets in a tuple. From f75a4be0517f772ebe05aeaef4d0eb21fe9d98a4 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 15:24:06 +0100 Subject: [PATCH 1281/2186] rename modules_utilities to linux_utilities_modules --- volatility3/framework/plugins/linux/tracing/ftrace.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 009d48ce8..39df2ccc7 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -14,7 +14,7 @@ from volatility3.framework import constants, exceptions, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints, TreeGrid, NotAvailableValue from volatility3.framework.symbols.linux import extensions -from volatility3.framework.symbols.linux.utilities import modules as modules_utilities +from volatility3.framework.symbols.linux.utilities import modules as linux_utilities_modules from volatility3.framework.constants import architectures vollog = logging.getLogger(__name__) @@ -78,8 +78,8 @@ class CheckFtrace(interfaces.plugins.PluginInterface): architectures=architectures.LINUX_ARCHS, ), requirements.VersionRequirement( - name="modules_utilities", - component=modules_utilities.Modules, + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, version=(1, 0, 0), ), requirements.PluginRequirement( @@ -153,7 +153,7 @@ if the "hidden_modules" key is present in known_modules. callback_symbol = module_address = module_name = None # Try to lookup within the known modules if the callback address fits - module = modules_utilities.Modules.module_lookup_by_address( + module = linux_utilities_modules.Modules.module_lookup_by_address( context, kernel.layer_name, modxview.Modxview.flatten_run_modules_results(known_modules), @@ -189,7 +189,7 @@ if the "hidden_modules" key is present in known_modules. ) # Lookup the updated list to see if hidden_modules was able # to find the missing module - module = modules_utilities.Modules.module_lookup_by_address( + module = linux_utilities_modules.Modules.module_lookup_by_address( context, kernel.layer_name, modxview.Modxview.flatten_run_modules_results(known_modules), From 48eca36b00c885517e607e268b1fa11bea5f6bda Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 15:25:11 +0100 Subject: [PATCH 1282/2186] 1.0.0 -> 1.1.0 Modules bump --- volatility3/framework/symbols/linux/utilities/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 692aa8d3a..f529a61ae 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -9,7 +9,7 @@ from volatility3.framework.symbols.linux import extensions class Modules(interfaces.configuration.VersionableInterface): """Kernel modules related utilities.""" - _version = (1, 0, 0) + _version = (1, 1, 0) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) From c57f60759faa7a6991e5a93f56889a44d1b4f3d2 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 15:27:27 +0100 Subject: [PATCH 1283/2186] require Modules >= 1.1.0 --- volatility3/framework/plugins/linux/tracing/ftrace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 39df2ccc7..c35a6f561 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -9,12 +9,12 @@ from typing import Dict, List, Iterable, Optional from enum import auto, IntFlag from dataclasses import dataclass +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3.plugins.linux import hidden_modules, modxview from volatility3.framework import constants, exceptions, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints, TreeGrid, NotAvailableValue from volatility3.framework.symbols.linux import extensions -from volatility3.framework.symbols.linux.utilities import modules as linux_utilities_modules from volatility3.framework.constants import architectures vollog = logging.getLogger(__name__) @@ -80,7 +80,7 @@ class CheckFtrace(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(1, 0, 0), + version=(1, 1, 0), ), requirements.PluginRequirement( name="modxview", plugin=modxview.Modxview, version=(1, 0, 0) From f2ac62122013971a7c2828cb8afa21a7a902ab52 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 26 Jan 2025 15:30:37 +0100 Subject: [PATCH 1284/2186] use classmethod instead of staticmethod --- volatility3/framework/plugins/linux/tracing/ftrace.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index c35a6f561..6e1a4e470 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -69,8 +69,8 @@ class CheckFtrace(interfaces.plugins.PluginInterface): additional_description = """Investigate the ftrace infrastructure to uncover kernel attached callbacks, which can be leveraged to hook kernel functions and modify their behaviour.""" - @staticmethod - def get_requirements() -> List[interfaces.configuration.RequirementInterface]: + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ requirements.ModuleRequirement( name="kernel", @@ -98,8 +98,9 @@ class CheckFtrace(interfaces.plugins.PluginInterface): ), ] - @staticmethod + @classmethod def extract_hash_table_filters( + cls, ftrace_ops: interfaces.objects.ObjectInterface, ) -> Optional[Iterable[interfaces.objects.ObjectInterface]]: """Wrap the process of walking to every ftrace_func_entry of an ftrace_ops. @@ -231,9 +232,9 @@ if the "hidden_modules" key is present in known_modules. return None - @staticmethod + @classmethod def iterate_ftrace_ops_list( - context: interfaces.context.ContextInterface, kernel_name: str + cls, context: interfaces.context.ContextInterface, kernel_name: str ) -> Optional[Iterable[interfaces.objects.ObjectInterface]]: """Iterate over (ftrace_ops *)ftrace_ops_list. From 3fc8b9cd31aaaf9a01b5fe12b4745e4884448c7b Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 27 Jan 2025 00:04:28 +0000 Subject: [PATCH 1285/2186] Documentation: Initial version of the coding style guide. --- CODING_STYLE.md | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 CODING_STYLE.md diff --git a/CODING_STYLE.md b/CODING_STYLE.md new file mode 100644 index 000000000..f67afefb4 --- /dev/null +++ b/CODING_STYLE.md @@ -0,0 +1,62 @@ +Coding Standards +================ + +The coding standards for volatility are mostly by our linter and our code formatter. +All code submissions will be vetted automatically through tests from both and the submission +will not be accepted if either of these fail. + +Code Linter: Ruff +Code Formatter: Black + +In additio, there are some coding practices that we employ to prevent specific failure cases and +ensure consistency across the codebase. These are documented below along with the rationale for the decision. + +Imports +------- + +Import should be of a module (not a class or a method), and ideally just one module except where naming would cause confusion. +This is to prevent people importing an imported method (which can lead to confusion and add in an unnecessary dependency in the import chain). + +Good example: + +``` +from module import submodule +from module.submodule import submodule as subsubmodule + +class NewClass(submodule.Class): + def method(self): + submodule.Class.classmethod() +``` + +Bad example: + +``` +from module import method +from module.submodule import Class +``` + +Versioning +---------- + +Modules that inherit from `VersionableInterface` define a `_version` attribute which states their version. +This is a tuple of `(MAJOR, MINOR, PATCH)` numbers, which can then be used for Semantic Versioning (where +modifications that change the API in a non-backwards compatible way bump the `MAJOR` version (and set +the `MINOR` and `PATCH` to 0) and additive changes increase the `MINOR` version (and set the `PATCH` to 0). +Changes that have no effect on the external interface (either input or output form) should have their `PATCH` +number incremented. This allows for callers of the interface to determine when changes have happened and whether +their code will still work with it. Volatility carries out these checks through the requirements system, where +a plugin can define what requirements it has. + +Shared functionality +-------------------- + +Within a plugin, there may be functions that are useful to other plugins. These are created as `classmethod`s +so that the plugin can be depended upon by other plugins in their requirements section, without needing to +instantiate a whole copy of the plugin. It is not a staticmethod, because the caller may wish to determine +information about the class the method is defined in, and this is not easily accessible for staticmethods. + +A classmethod usually takes a `context` for its first method (and if it requires one, a configuration string for +it second). All other parameters should generally be basic types (such as strings, numbers, etc) so that future +work requiring paralellization does not have complex types to have to keep in sync. In particular, the idea was +to ensure only one context was used per method (and each object brings its own context with it, meaning the +function signature should not include objects to avoid discrepancies). From ffd0363c4b987b3e5e981d8adf7e5ea88c4b97fa Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 27 Jan 2025 00:28:51 +0000 Subject: [PATCH 1286/2186] Bulk out with text from the google python style guide where this aligns --- CODING_STYLE.md | 102 +++++++++++++++++++++++++++++++----------------- 1 file changed, 66 insertions(+), 36 deletions(-) diff --git a/CODING_STYLE.md b/CODING_STYLE.md index f67afefb4..3695301eb 100644 --- a/CODING_STYLE.md +++ b/CODING_STYLE.md @@ -2,61 +2,91 @@ Coding Standards ================ The coding standards for volatility are mostly by our linter and our code formatter. -All code submissions will be vetted automatically through tests from both and the submission -will not be accepted if either of these fail. +All code submissions will be vetted automatically through tests from both and the submission will not be accepted if either of these fail. Code Linter: Ruff Code Formatter: Black -In additio, there are some coding practices that we employ to prevent specific failure cases and -ensure consistency across the codebase. These are documented below along with the rationale for the decision. +In additiom, there are some coding practices that we employ to prevent specific failure cases and ensure consistency across the codebase. These are documented below along with the rationale for the decision. + +This is heavily based upon https://google.github.io/styleguide/pyguide.html with minor modifications for volatility use. Imports ------- -Import should be of a module (not a class or a method), and ideally just one module except where naming would cause confusion. -This is to prevent people importing an imported method (which can lead to confusion and add in an unnecessary dependency in the import chain). +Use import statements for packages and modules only, not for individual types, classes, or functions and ideally not aliased naming would cause confusion. This is to prevent people importing an imported method (which can lead to confusion and add in an unnecessary dependency in the import chain). -Good example: +* Use `import x` for importing packages and modules. +* Use `from x import y where x` is the package prefix and y is the module name with no prefix. +* Use `from x import y as z` in any of the following circumstances: + * Two modules named `y` are to be imported. + * `y` conflicts with a top-level name defined in the current module. + * `y` conflicts with a common parameter name that is part of the public API (e.g., `features`). + * `y` is an inconveniently long name. + * `y` is too generic in the context of your code (e.g., `from storage.file_system import options as fs_options`). -``` -from module import submodule -from module.submodule import submodule as subsubmodule +Exemptions from this rule: -class NewClass(submodule.Class): - def method(self): - submodule.Class.classmethod() -``` + * Symbols from the following modules are used to support static analysis and type checking: + * `typing` module + * `collections.abc` module + * `typing_extensions` module -Bad example: +Global Mutable State +-------------------- -``` -from module import method -from module.submodule import Class -``` +Avoid mutable global state. + +In those rare cases where using global state is warranted, mutable global entities should be declared at the module level or as a class attribute and made internal by prepending an _ to the name. If necessary, external access to mutable global state must be done through public functions or class methods. See Naming below. Please explain the design reasons why mutable global state is being used in a comment or a doc linked to from a comment. + +Module-level constants are permitted and encouraged. For example: _MAX_HOLY_HANDGRENADE_COUNT = 3 for an internal use constant or SIR_LANCELOTS_FAVORITE_COLOR = "blue" for a public API constant. Constants must be named using all caps with underscores. See Naming below. + +Exceptions +---------- + +Never use catch-all except: statements, or catch Exception or StandardError, unless you are + + * re-raising the exception, or + * creating an isolation point in the program where exceptions are not propagated but are recorded and suppressed instead, such as protecting a thread from crashing by guarding its outermost block. + +Python is very tolerant in this regard and except: will really catch everything including misspelled names, sys.exit() calls, Ctrl+C interrupts, unittest failures and all kinds of other exceptions that you simply don’t want to catch. Versioning ---------- -Modules that inherit from `VersionableInterface` define a `_version` attribute which states their version. -This is a tuple of `(MAJOR, MINOR, PATCH)` numbers, which can then be used for Semantic Versioning (where -modifications that change the API in a non-backwards compatible way bump the `MAJOR` version (and set -the `MINOR` and `PATCH` to 0) and additive changes increase the `MINOR` version (and set the `PATCH` to 0). -Changes that have no effect on the external interface (either input or output form) should have their `PATCH` -number incremented. This allows for callers of the interface to determine when changes have happened and whether -their code will still work with it. Volatility carries out these checks through the requirements system, where -a plugin can define what requirements it has. +Modules that inherit from `VersionableInterface` define a `_version` attribute which states their version. This is a tuple of `(MAJOR, MINOR, PATCH)` numbers, which can then be used for Semantic Versioning (where modifications that change the API in a non-backwards compatible way bump the `MAJOR` version (and set the `MINOR` and `PATCH` to 0) and additive changes increase the `MINOR` version (and set the `PATCH` to 0). Changes that have no effect on the external interface (either input or output form) should have their `PATCH` number incremented. This allows for callers of the interface to determine when changes have happened and whether their code will still work with it. Volatility carries out these checks through the requirements system, where a plugin can define what requirements it has. Shared functionality -------------------- -Within a plugin, there may be functions that are useful to other plugins. These are created as `classmethod`s -so that the plugin can be depended upon by other plugins in their requirements section, without needing to -instantiate a whole copy of the plugin. It is not a staticmethod, because the caller may wish to determine -information about the class the method is defined in, and this is not easily accessible for staticmethods. +Within a plugin, there may be functions that are useful to other plugins. These are created as `classmethod`s so that the plugin can be depended upon by other plugins in their requirements section, without needing to instantiate a whole copy of the plugin. It is not a staticmethod, because the caller may wish to determine information about the class the method is defined in, and this is not easily accessible for staticmethods. +A classmethod usually takes a `context` for its first method (and if it requires one, a configuration string for it second). All other parameters should generally be basic types (such as strings, numbers, etc) so that future work requiring paralellization does not have complex types to have to keep in sync. In particular, the idea was to ensure only one context was used per method (and each object brings its own context with it, meaning the function signature should not include objects to avoid discrepancies). -A classmethod usually takes a `context` for its first method (and if it requires one, a configuration string for -it second). All other parameters should generally be basic types (such as strings, numbers, etc) so that future -work requiring paralellization does not have complex types to have to keep in sync. In particular, the idea was -to ensure only one context was used per method (and each object brings its own context with it, meaning the -function signature should not include objects to avoid discrepancies). +Comprehensions +-------------- + +Comprehensions are allowed, however multiple for clauses or filter expressions are not permitted. Optimize for readability, not conciseness. + +Lambda functions +---------------- + +Okay for one-liners. Prefer generator expressions over map() or filter() with a lambda. + +Default Arguments +----------------- + +Default arguments are fine, but not with mutable types (because they're consructed once at module load time and can lead to confusion/errors.) + +True/False Evaluations +---------------------- + +Use the “implicit” false if possible, e.g., if foo: rather than if foo != []:. There are a few caveats that you should keep in mind though: + + * Always use `if foo is None:` (or `is not None`) to check for a `None` value. E.g., when testing whether a variable or argument that defaults to `None` was set to some other value. The other value might be a value that’s false in a boolean context! + * Never compare a boolean variable to `False` using `==`. Use `if not x:` instead. If you need to distinguish `False` from `None` then chain the expressions, such as `if not x and x is not None:`. + * For sequences (strings, lists, tuples), use the fact that empty sequences are false, so `if seq:` and `if not seq:` are preferable to `if len(seq):` and `if not len(seq):` respectively. + +Logging +------- + +We do allow f-string usage in log messages, although technically it should be avoided since it will be evaluated even if the log message is never emitted. From 8b31ae612f8458e349cf0a063a578b97ec7ef8e9 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 27 Jan 2025 09:32:33 +0000 Subject: [PATCH 1287/2186] Layers: Make the low-stub method less brittle --- volatility3/framework/automagic/pdbscan.py | 64 ++++++++++++---------- 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/volatility3/framework/automagic/pdbscan.py b/volatility3/framework/automagic/pdbscan.py index f9c0d853d..dd2ad0683 100644 --- a/volatility3/framework/automagic/pdbscan.py +++ b/volatility3/framework/automagic/pdbscan.py @@ -392,38 +392,42 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): # Try locating kernel base via x64 Low Stub in lower 1MB starting from second page (4KB) # If "Discard Low Memory" setting is disabled in BIOS, the Low Stub may be at the third/fourth or further pages for offset in range(0x1000, 0x100000, 0x1000): - jmp_and_completion_values = int.from_bytes( - physical_layer.read(offset, 0x8), "little" - ) - if ( - 0xFFFFFFFFFFFF00FF & jmp_and_completion_values - != constants.windows.JMP_AND_COMPLETION_SIGNATURE - ): - continue - cr3_value = int.from_bytes( - physical_layer.read( - offset + constants.windows.PROCESSOR_START_BLOCK_CR3_OFFSET, 0x8 - ), - "little", - ) + try: + jmp_and_completion_values = int.from_bytes( + physical_layer.read(offset, 0x8), "little" + ) + if ( + 0xFFFFFFFFFFFF00FF & jmp_and_completion_values + != constants.windows.JMP_AND_COMPLETION_SIGNATURE + ): + continue + cr3_value = int.from_bytes( + physical_layer.read( + offset + constants.windows.PROCESSOR_START_BLOCK_CR3_OFFSET, 0x8 + ), + "little", + ) - # Compare previously observed valid page table address that's stored in vlayer._initial_entry - # with PROCESSOR_START_BLOCK->ProcessorState->SpecialRegisters->Cr3 - # which was observed to be an invalid page address, so add 1 (to make it valid too) - if (cr3_value + 1) != vlayer._initial_entry: + # Compare previously observed valid page table address that's stored in vlayer._initial_entry + # with PROCESSOR_START_BLOCK->ProcessorState->SpecialRegisters->Cr3 + # which was observed to be an invalid page address, so add 1 (to make it valid too) + if (cr3_value + 1) != vlayer._initial_entry: + continue + potential_kernel_hint = int.from_bytes( + physical_layer.read( + offset + + constants.windows.PROCESSOR_START_BLOCK_LM_TARGET_OFFSET, + 0x8, + ), + "little", + ) + if 0x3 & potential_kernel_hint: + continue + kernel_hint = potential_kernel_hint & 0xFFFFFFFFFFFF + kernel_base = kernel_hint & (~0x1FFFFF) & 0xFFFFFFFFFFFF + break + except exceptions.InvalidAddressException: continue - potential_kernel_hint = int.from_bytes( - physical_layer.read( - offset + constants.windows.PROCESSOR_START_BLOCK_LM_TARGET_OFFSET, - 0x8, - ), - "little", - ) - if 0x3 & potential_kernel_hint: - continue - kernel_hint = potential_kernel_hint & 0xFFFFFFFFFFFF - kernel_base = kernel_hint & (~0x1FFFFF) & 0xFFFFFFFFFFFF - break if kernel_base: # Scanning 32mb in 2mb chunks for the 'ntoskrnl' base address From 22a2fe17d8d82e7eaf02f1338c73f3b8f4408e15 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 27 Jan 2025 11:03:08 +0100 Subject: [PATCH 1288/2186] clarify generator variable --- volatility3/framework/plugins/linux/tracing/ftrace.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 6e1a4e470..629f1bab8 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -214,7 +214,10 @@ if the "hidden_modules" key is present in known_modules. # Determine the symbols associated with a hook hooked_symbols = kernel.get_symbols_by_absolute_location(hook_address) hooked_symbols = ",".join( - [s.split(constants.BANG)[-1] for s in hooked_symbols] + [ + hooked_symbol.split(constants.BANG)[-1] + for hooked_symbol in hooked_symbols + ] ) yield ParsedFtraceOps( ftrace_ops.vol.offset, From 03cf84f9cff90aaa135190b025e28fe436fff69e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 27 Jan 2025 11:05:08 +0100 Subject: [PATCH 1289/2186] assign kernel layer to variable early --- volatility3/framework/plugins/linux/tracing/ftrace.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 629f1bab8..99961c931 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -150,6 +150,7 @@ if the "hidden_modules" key is present in known_modules. An iterable of ParsedFtraceOps dataclasses, containing a selection of useful fields (callback, hook, module) related to an ftrace_ops struct """ kernel = context.modules[kernel_name] + kernel_layer = context.layers[kernel.layer_name] callback = ftrace_ops.func callback_symbol = module_address = module_name = None @@ -170,7 +171,7 @@ if the "hidden_modules" key is present in known_modules. "A callback module origin could not be determined. hidden_modules plugin will be run to detect additional modules.", ) known_modules_addresses = set( - context.layers[kernel.layer_name].canonicalize(module.vol.offset) + kernel_layer.canonicalize(module.vol.offset) for module in modxview.Modxview.flatten_run_modules_results( known_modules ) From 9d11c1f460844eb25f60c038a4bc81a0e78be5c9 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 27 Jan 2025 11:50:28 +0100 Subject: [PATCH 1290/2186] prevent modules memory space overlap scenario --- .../symbols/linux/utilities/modules.py | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index f529a61ae..baaeff683 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -1,3 +1,4 @@ +import warnings from typing import Iterable, Iterator, List, Optional, Tuple from volatility3 import framework @@ -31,12 +32,29 @@ class Modules(interfaces.configuration.VersionableInterface): layer_name: The name of the layer on which to operate modules: An iterable containing the modules to match the address against target_address: The address to check for a match - """ + Returns: + The first memory module in which the address fits + """ + matches = [] + seen_addresses = set() for module in modules: _, start, end = cls.mask_mods_list(context, layer_name, [module])[0] - if start <= target_address <= end: - return module + if ( + start <= target_address <= end + and module.vol.offset not in seen_addresses + ): + matches.append(module) + seen_addresses.add(module.vol.offset) + + if len(matches) > 1: + warnings.warn( + f"Address {hex(target_address)} fits in modules at {[hex(module.vol.offset) for module in matches]}, indicating potential modules memory space overlap.", + UserWarning, + ) + return matches[0] + elif len(matches) == 1: + return matches[0] return None From 7d14f4c778d1f624a35a6db103f99b9c00cfd8b0 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 27 Jan 2025 14:57:39 +0100 Subject: [PATCH 1291/2186] remove additional_description in favor of the docstring implementation --- volatility3/framework/interfaces/plugins.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/framework/interfaces/plugins.py b/volatility3/framework/interfaces/plugins.py index 7ad78d0ba..f763815a6 100644 --- a/volatility3/framework/interfaces/plugins.py +++ b/volatility3/framework/interfaces/plugins.py @@ -112,8 +112,6 @@ class PluginInterface( # Be careful with inheritance around this (We default to requiring a version which doesn't exist, so it must be set) _required_framework_version: Tuple[int, int, int] = (0, 0, 0) """The _version variable is a quick way for plugins to define their current interface, it should follow SemVer rules""" - additional_description: str = None - """Display additional description of the plugin after the description of the arguments. See: https://docs.python.org/3/library/argparse.html#epilog""" def __init__( self, From d2859f2390070111f42e470dc9e1c6d6ad38a802 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 27 Jan 2025 15:00:03 +0100 Subject: [PATCH 1292/2186] remove additional_description in favor of the docstring implementation --- volatility3/cli/__init__.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index b57d9a3f3..020dac2d2 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -363,11 +363,20 @@ class CommandLine: metavar="PLUGIN", ) for plugin in sorted(plugin_list): + # First line of a plugin docstring will be the short description for -h + # Following lines will be the additional description (argparse epilog) + short_help = additional_help = None + if plugin_list[plugin].__doc__ is not None: + doc_split = plugin_list[plugin].__doc__.strip().split("\n", 1) + short_help = doc_split[0] + if len(doc_split) > 1: + additional_help = doc_split[1].strip() + plugin_parser = subparser.add_parser( plugin, - help=plugin_list[plugin].__doc__, - description=plugin_list[plugin].__doc__, - epilog=plugin_list[plugin].additional_description, + help=short_help, + description=short_help, + epilog=additional_help, ) self.populate_requirements_argparse(plugin_parser, plugin_list[plugin]) From 08f03642807056c0f3857eaa78cd4053fc7f391b Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 27 Jan 2025 15:02:02 +0100 Subject: [PATCH 1293/2186] adapt plugins docstring to fit short and additional help format --- volatility3/framework/plugins/configwriter.py | 4 ++-- volatility3/framework/plugins/linux/modxview.py | 4 ++-- volatility3/framework/plugins/linux/pstree.py | 3 +-- volatility3/framework/plugins/mac/mount.py | 4 ++-- volatility3/framework/plugins/mac/pstree.py | 3 +-- volatility3/framework/plugins/timeliner.py | 4 ++-- volatility3/framework/plugins/windows/pstree.py | 3 +-- volatility3/framework/plugins/windows/psxview.py | 7 ++++--- volatility3/framework/plugins/windows/registry/hivescan.py | 3 +-- volatility3/framework/plugins/windows/scheduled_tasks.py | 5 ++--- 10 files changed, 18 insertions(+), 22 deletions(-) diff --git a/volatility3/framework/plugins/configwriter.py b/volatility3/framework/plugins/configwriter.py index eca01a84a..a567a6acd 100644 --- a/volatility3/framework/plugins/configwriter.py +++ b/volatility3/framework/plugins/configwriter.py @@ -14,8 +14,8 @@ vollog = logging.getLogger(__name__) class ConfigWriter(plugins.PluginInterface): - """Runs the automagics and both prints and outputs configuration in the - output directory.""" + """Runs the automagics and both prints and outputs configuration in the \ +output directory.""" _required_framework_version = (2, 0, 0) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index c74bf28e8..0dd503829 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -15,8 +15,8 @@ vollog = logging.getLogger(__name__) class Modxview(interfaces.plugins.PluginInterface): - """Centralize lsmod, check_modules and hidden_modules results to efficiently - spot modules presence and taints.""" + """Centralize lsmod, check_modules and hidden_modules results to efficiently \ +spot modules presence and taints.""" _version = (1, 0, 0) _required_framework_version = (2, 17, 0) diff --git a/volatility3/framework/plugins/linux/pstree.py b/volatility3/framework/plugins/linux/pstree.py index 74e172139..fd28fcbbd 100644 --- a/volatility3/framework/plugins/linux/pstree.py +++ b/volatility3/framework/plugins/linux/pstree.py @@ -9,8 +9,7 @@ from volatility3.plugins.linux import pslist class PsTree(interfaces.plugins.PluginInterface): - """Plugin for listing processes in a tree based on their parent process - ID.""" + """Plugin for listing processes in a tree based on their parent process ID.""" _required_framework_version = (2, 13, 0) _version = (1, 1, 1) diff --git a/volatility3/framework/plugins/mac/mount.py b/volatility3/framework/plugins/mac/mount.py index 1a1e33571..0f3aa745c 100644 --- a/volatility3/framework/plugins/mac/mount.py +++ b/volatility3/framework/plugins/mac/mount.py @@ -11,8 +11,8 @@ from volatility3.framework.symbols import mac class Mount(plugins.PluginInterface): - """A module containing a collection of plugins that produce data typically - found in Mac's mount command""" + """A module containing a collection of plugins that produce data typically \ +found in Mac's mount command""" _required_framework_version = (2, 0, 0) diff --git a/volatility3/framework/plugins/mac/pstree.py b/volatility3/framework/plugins/mac/pstree.py index e62d5eb72..ad5bb309b 100644 --- a/volatility3/framework/plugins/mac/pstree.py +++ b/volatility3/framework/plugins/mac/pstree.py @@ -10,8 +10,7 @@ from volatility3.plugins.mac import pslist class PsTree(plugins.PluginInterface): - """Plugin for listing processes in a tree based on their parent process - ID.""" + """Plugin for listing processes in a tree based on their parent process ID.""" _required_framework_version = (2, 0, 0) diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index 0f4064d79..6000704eb 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -41,8 +41,8 @@ class TimeLinerInterface(metaclass=abc.ABCMeta): class Timeliner(interfaces.plugins.PluginInterface): - """Runs all relevant plugins that provide time related information and - orders the results by time.""" + """Runs all relevant plugins that provide time related information and \ +orders the results by time.""" _required_framework_version = (2, 0, 0) _version = (1, 1, 0) diff --git a/volatility3/framework/plugins/windows/pstree.py b/volatility3/framework/plugins/windows/pstree.py index 2be96277c..4f3fe0455 100644 --- a/volatility3/framework/plugins/windows/pstree.py +++ b/volatility3/framework/plugins/windows/pstree.py @@ -14,8 +14,7 @@ vollog = logging.getLogger(__name__) class PsTree(interfaces.plugins.PluginInterface): - """Plugin for listing processes in a tree based on their parent process - ID.""" + """Plugin for listing processes in a tree based on their parent process ID.""" _required_framework_version = (2, 0, 0) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index b5ddd2ee5..aa379bdc5 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -21,9 +21,10 @@ vollog = logging.getLogger(__name__) class PsXView(plugins.PluginInterface): - """Lists all processes found via four of the methods described in \"The Art of Memory Forensics,\" which may help - identify processes that are trying to hide themselves. I recommend using -r pretty if you are looking at this - plugin's output in a terminal.""" + """Lists all processes found via four of the methods described in \"The Art of Memory Forensics\" which may help \ +identify processes that are trying to hide themselves. + +We recommend using -r pretty if you are looking at this plugin's output in a terminal.""" # I've omitted the desktop thread scanning method because Volatility3 doesn't appear to have the functionality # which the original plugin used to do it. diff --git a/volatility3/framework/plugins/windows/registry/hivescan.py b/volatility3/framework/plugins/windows/registry/hivescan.py index 7b3c0b622..6e0171a78 100644 --- a/volatility3/framework/plugins/windows/registry/hivescan.py +++ b/volatility3/framework/plugins/windows/registry/hivescan.py @@ -12,8 +12,7 @@ from volatility3.plugins.windows import poolscanner, bigpools class HiveScan(interfaces.plugins.PluginInterface): - """Scans for registry hives present in a particular windows memory - image.""" + """Scans for registry hives present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) _version = (1, 0, 0) diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 6dd5613c4..31aaec4f0 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -1099,9 +1099,8 @@ class DynamicInfo: class ScheduledTasks(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): - """Decodes scheduled task information from the Windows registry, including - information about triggers, actions, run times, and creation times. - """ + """Decodes scheduled task information from the Windows registry, including \ +information about triggers, actions, run times, and creation times.""" _required_framework_version = (2, 11, 0) _version = (1, 0, 0) From f64291faec4991bbe13f0e5cda655ae463b1f3bb Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 27 Jan 2025 17:44:18 +0100 Subject: [PATCH 1294/2186] split help on two consecutive newlines --- volatility3/cli/__init__.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 020dac2d2..a41cf95a3 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -363,12 +363,13 @@ class CommandLine: metavar="PLUGIN", ) for plugin in sorted(plugin_list): - # First line of a plugin docstring will be the short description for -h - # Following lines will be the additional description (argparse epilog) + # First line of a plugin docstring will be the short description for -h. + # Text after the first two consecutive new lines will be + # the additional description (argparse epilog). short_help = additional_help = None if plugin_list[plugin].__doc__ is not None: - doc_split = plugin_list[plugin].__doc__.strip().split("\n", 1) - short_help = doc_split[0] + doc_split = plugin_list[plugin].__doc__.split("\n\n", 1) + short_help = doc_split[0].strip() if len(doc_split) > 1: additional_help = doc_split[1].strip() From c000e812a6a402ea7380cdd817f6d95ad6619366 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 27 Jan 2025 19:40:47 +0100 Subject: [PATCH 1295/2186] tune with the new additional_description mechanism --- volatility3/framework/plugins/linux/tracing/ftrace.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 99961c931..29216187c 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -62,12 +62,13 @@ class ParsedFtraceOps: class CheckFtrace(interfaces.plugins.PluginInterface): - """Detect ftrace hooking""" + """Detect ftrace hooking + + Investigate the ftrace infrastructure to uncover kernel attached callbacks, which can be leveraged + to hook kernel functions and modify their behaviour.""" _version = (1, 0, 0) _required_framework_version = (2, 19, 0) - additional_description = """Investigate the ftrace infrastructure to uncover kernel attached callbacks, which can be leveraged - to hook kernel functions and modify their behaviour.""" @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 105df4e140767045e51c69c9a24ad17d231564bc Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 27 Jan 2025 22:29:59 +0000 Subject: [PATCH 1296/2186] Windows: Fix vadyarascan typo --- volatility3/framework/plugins/windows/vadyarascan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 2e9cc44ea..9758c5994 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -84,7 +84,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): if not vad_maps_to_scan: vollog.warning( - f"No VADs were found for task {task.UniqueProcessID}, not scanning" + f"No VADs were found for task {task.UniqueProcessId}, not scanning" ) continue From 6ef57d1e89b0b7853993600b643c3efeaeede218 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 27 Jan 2025 23:12:28 +0000 Subject: [PATCH 1297/2186] Windows: Allow get_pefile_obj to be shared --- .../framework/plugins/windows/pe_symbols.py | 9 ++-- .../plugins/windows/skeleton_key_check.py | 44 +++---------------- 2 files changed, 12 insertions(+), 41 deletions(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 21e657ab3..690e6f6ac 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -244,7 +244,7 @@ class PESymbols(interfaces.plugins.PluginInterface): _required_framework_version = (2, 7, 0) - _version = (1, 0, 0) + _version = (1, 1, 0) # used for special handling of the kernel PDB file. See later notes os_module_name = "ntoskrnl.exe" @@ -292,8 +292,9 @@ class PESymbols(interfaces.plugins.PluginInterface): ), ] - @staticmethod - def _get_pefile_obj( + @classmethod + def get_pefile_obj( + cls, context: interfaces.context.ContextInterface, pe_table_name: str, layer_name: str, @@ -484,7 +485,7 @@ class PESymbols(interfaces.plugins.PluginInterface): module_start = module_info[1] # we need a valid PE with an export table - pe_module = PESymbols._get_pefile_obj( + pe_module = PESymbols.get_pefile_obj( context, pe_table_name, layer_name, module_start ) if not pe_module: diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index 6ae07381a..d7bd02683 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -26,7 +26,7 @@ from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import pdbutil from volatility3.framework.symbols.windows.extensions import pe -from volatility3.plugins.windows import pslist, vadinfo +from volatility3.plugins.windows import pslist, vadinfo, pe_symbols try: import capstone @@ -61,43 +61,11 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) ), + requirements.VersionRequirement( + name="pe_symbols", component=pe_symbols.PESymbols, version=(1, 1, 0) + ), ] - def _get_pefile_obj( - self, pe_table_name: str, layer_name: str, base_address: int - ) -> pefile.PE: - """ - Attempts to pefile object from the bytes of the PE file - - Args: - pe_table_name: name of the pe types table - layer_name: name of the lsass.exe process layer - base_address: base address of cryptdll.dll in lsass.exe - - Returns: - the constructed pefile object - """ - pe_data = io.BytesIO() - - try: - dos_header = self.context.object( - pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", - offset=base_address, - layer_name=layer_name, - ) - - for offset, data in dos_header.reconstruct(): - pe_data.seek(offset) - pe_data.write(data) - - pe_ret = pefile.PE(data=pe_data.getvalue(), fast_load=True) - - except exceptions.InvalidAddressException: - vollog.debug("Unable to reconstruct cryptdll.dll in memory") - pe_ret = None - - return pe_ret - def _check_for_skeleton_key_vad( self, csystem: interfaces.objects.ObjectInterface, @@ -497,7 +465,9 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): self.context, self.config_path, "windows", "pe", class_types=pe.class_types ) - cryptdll = self._get_pefile_obj(pe_table_name, proc_layer_name, cryptdll_base) + cryptdll = pe_symbols.PESymbols.get_pefile_obj( + self.context, pe_table_name, proc_layer_name, cryptdll_base + ) if not cryptdll: return None From 10743b101929cea944197996feead44d4d81fd98 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 27 Jan 2025 23:14:02 +0000 Subject: [PATCH 1298/2186] Windows: Fix ruff issues in skeleton_key_check --- volatility3/framework/plugins/windows/skeleton_key_check.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index d7bd02683..ce5bb41f4 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -11,14 +11,13 @@ # # https://volatility-labs.blogspot.com/2021/10/memory-forensics-r-illustrated.html -import io import logging from typing import Iterable, Tuple, List, Optional import pefile from volatility3.framework import interfaces, symbols, exceptions -from volatility3.framework import renderers, constants +from volatility3.framework import renderers from volatility3.framework.configuration import requirements from volatility3.framework.layers import scanners from volatility3.framework.objects import utility From b055848576697547fc2bc139738f7c3a4d70fa13 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 29 Jan 2025 12:04:32 +0100 Subject: [PATCH 1299/2186] explicit powers of two instead of auto() --- .../framework/plugins/linux/tracing/ftrace.py | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 29216187c..da88d1de1 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -6,7 +6,7 @@ import logging from typing import Dict, List, Iterable, Optional -from enum import auto, IntFlag +from enum import IntFlag from dataclasses import dataclass import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules @@ -26,25 +26,25 @@ class FtraceOpsFlags(IntFlag): Based on https://elixir.bootlin.com/linux/v6.13-rc3/source/include/linux/ftrace.h#L255. """ - FTRACE_OPS_FL_ENABLED = auto() - FTRACE_OPS_FL_DYNAMIC = auto() - FTRACE_OPS_FL_SAVE_REGS = auto() - FTRACE_OPS_FL_SAVE_REGS_IF_SUPPORTED = auto() - FTRACE_OPS_FL_RECURSION = auto() - FTRACE_OPS_FL_STUB = auto() - FTRACE_OPS_FL_INITIALIZED = auto() - FTRACE_OPS_FL_DELETED = auto() - FTRACE_OPS_FL_ADDING = auto() - FTRACE_OPS_FL_REMOVING = auto() - FTRACE_OPS_FL_MODIFYING = auto() - FTRACE_OPS_FL_ALLOC_TRAMP = auto() - FTRACE_OPS_FL_IPMODIFY = auto() - FTRACE_OPS_FL_PID = auto() - FTRACE_OPS_FL_RCU = auto() - FTRACE_OPS_FL_TRACE_ARRAY = auto() - FTRACE_OPS_FL_PERMANENT = auto() - FTRACE_OPS_FL_DIRECT = auto() - FTRACE_OPS_FL_SUBOP = auto() + FTRACE_OPS_FL_ENABLED = 1 << 0 + FTRACE_OPS_FL_DYNAMIC = 1 << 1 + FTRACE_OPS_FL_SAVE_REGS = 1 << 2 + FTRACE_OPS_FL_SAVE_REGS_IF_SUPPORTED = 1 << 3 + FTRACE_OPS_FL_RECURSION = 1 << 4 + FTRACE_OPS_FL_STUB = 1 << 5 + FTRACE_OPS_FL_INITIALIZED = 1 << 6 + FTRACE_OPS_FL_DELETED = 1 << 7 + FTRACE_OPS_FL_ADDING = 1 << 8 + FTRACE_OPS_FL_REMOVING = 1 << 9 + FTRACE_OPS_FL_MODIFYING = 1 << 10 + FTRACE_OPS_FL_ALLOC_TRAMP = 1 << 11 + FTRACE_OPS_FL_IPMODIFY = 1 << 12 + FTRACE_OPS_FL_PID = 1 << 13 + FTRACE_OPS_FL_RCU = 1 << 14 + FTRACE_OPS_FL_TRACE_ARRAY = 1 << 15 + FTRACE_OPS_FL_PERMANENT = 1 << 16 + FTRACE_OPS_FL_DIRECT = 1 << 17 + FTRACE_OPS_FL_SUBOP = 1 << 18 @dataclass From 74a834b6de089a0ba8cca62d9e86314996faa9fb Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 30 Jan 2025 09:22:58 +1100 Subject: [PATCH 1300/2186] linux: vfsmount: improve kernel implementation detection --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index f612dfc3b..ec79b0203 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1575,13 +1575,11 @@ class vfsmount(objects.StructType): # the 'mnt_parent' member was relocated from the 'vfsmount' struct to the newly # introduced 'mount' struct. - Alternatively, vmlinux.has_type('mount') can be used here but it is faster. - Returns: 'True' if the kernel lacks the 'mount' struct, typically indicating kernel < 3.3. """ - return self.has_member("mnt_parent") + return not self._context.symbol_space.has_type("mount") def is_equal(self, vfsmount_ptr) -> bool: """Helper to make sure it is comparing two pointers to 'vfsmount'. From 53364f7dab197b4d3b83de259cc7ff632016e8ad Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 30 Jan 2025 10:41:00 +1100 Subject: [PATCH 1301/2186] linux: LinuxUtilities: Revert do_get_path() typing --- volatility3/framework/symbols/linux/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 4634a2bfb..af0697c10 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -6,7 +6,7 @@ import contextlib import functools import logging from abc import ABC, abstractmethod -from typing import Iterator, List, Tuple, Optional +from typing import Iterator, List, Tuple, Optional, Union import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3 import framework @@ -133,7 +133,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return cls.do_get_path(rdentry, rmnt, dentry, vfsmnt) @classmethod - def do_get_path(cls, rdentry, rmnt, dentry, vfsmnt) -> str: + def do_get_path(cls, rdentry, rmnt, dentry, vfsmnt) -> Union[None, str]: """Returns a pathname of the mount point or file It mimics the Linux kernel prepend_path function. From 3bd1c70a9bc3732bf4ab4131c4ee5170cffaa945 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 30 Jan 2025 11:31:06 +1100 Subject: [PATCH 1302/2186] linux: kmsg plugin: improve return types --- volatility3/framework/plugins/linux/kmsg.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index 248e37dd8..a5ce84ae9 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -5,7 +5,7 @@ import re import logging from abc import ABC, abstractmethod from enum import Enum -from typing import Generator, Iterator, List, Tuple +from typing import Generator, Iterator, List, Tuple, Union from volatility3.framework import ( class_subclasses, @@ -135,10 +135,11 @@ class ABCKmsg(ABC): bool: True if the kernel being analyzed fulfill the class requirements. """ - def get_string(self, addr: int, length: int) -> str: + def get_string(self, addr: int, length: int) -> Union[str, None]: layer = self._context.layers[self.layer_name] if not layer.is_valid(addr, length): - return "" + vollog.error("Failed to read log record at address 0x%x", addr) + return None txt = layer.read(addr, length) @@ -268,7 +269,7 @@ class Kmsg_3_5_to_3_11(ABCKmsg): def _get_log_struct_name(self): return "log" - def get_text_from_log(self, msg) -> str: + def get_text_from_log(self, msg) -> Union[str, None]: log_struct_name = self._get_log_struct_name() log_struct_size = self.vmlinux.get_type(log_struct_name).size msg_offset = msg.vol.offset + log_struct_size @@ -277,7 +278,8 @@ class Kmsg_3_5_to_3_11(ABCKmsg): def get_log_lines(self, msg) -> Generator[str, None, None]: if msg.text_len > 0: text = self.get_text_from_log(msg) - yield from text.splitlines() + if text: + yield from text.splitlines() def get_dict_lines(self, msg) -> Generator[str, None, None]: if msg.dict_len == 0: @@ -412,7 +414,7 @@ class Kmsg_5_10_to_(ABCKmsg): def symtab_checks(cls, vmlinux) -> bool: return vmlinux.has_symbol("prb") - def get_text_from_data_ring(self, text_data_ring, desc, info) -> str: + def get_text_from_data_ring(self, text_data_ring, desc, info) -> Union[str, None]: text_data_sz = text_data_ring.size_bits text_data_mask = 1 << text_data_sz @@ -440,7 +442,8 @@ class Kmsg_5_10_to_(ABCKmsg): def get_log_lines(self, text_data_ring, desc, info) -> Generator[str, None, None]: text = self.get_text_from_data_ring(text_data_ring, desc, info) - yield from text.splitlines() + if text: + yield from text.splitlines() def get_dict_lines(self, info) -> Generator[str, None, None]: dict_text = utility.array_to_string(info.dev_info.subsystem) From 4466d9accda1fbb125a34292422b3ad046e5bd2f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 30 Jan 2025 11:47:01 +1100 Subject: [PATCH 1303/2186] linux: kmsg plugin: log warning instead of error --- volatility3/framework/plugins/linux/kmsg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index a5ce84ae9..849060d3c 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -138,7 +138,7 @@ class ABCKmsg(ABC): def get_string(self, addr: int, length: int) -> Union[str, None]: layer = self._context.layers[self.layer_name] if not layer.is_valid(addr, length): - vollog.error("Failed to read log record at address 0x%x", addr) + vollog.warning("Failed to read log record at address 0x%x", addr) return None txt = layer.read(addr, length) From c2f2fc6b42899c98b2e25700c77fe1152a1ee393 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 30 Jan 2025 18:25:58 +1100 Subject: [PATCH 1304/2186] linux: vmcoreinfo API: fix single letter variable --- volatility3/framework/symbols/linux/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 0a6448528..846928c3a 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -903,7 +903,7 @@ class VMCoreInfo(interfaces.configuration.VersionableInterface): """Converts the input VMCoreInfo data buffer into a dictionary""" # Ensure the whole buffer is printable - if not all(c in string.printable.encode() for c in vmcoreinfo_data): + if not all(char in string.printable.encode() for char in vmcoreinfo_data): # Abort, we are in the wrong place return None From f6a22eed05a7ba3784df47df77c0d8f8643e9f8c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 30 Jan 2025 18:44:18 +1100 Subject: [PATCH 1305/2186] linux: vmcoreinfo API: significantly improve the performance when validating each character, from O(n) to O(1).. where n is 100 chars long --- volatility3/framework/symbols/linux/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 846928c3a..afdfee39c 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -903,7 +903,8 @@ class VMCoreInfo(interfaces.configuration.VersionableInterface): """Converts the input VMCoreInfo data buffer into a dictionary""" # Ensure the whole buffer is printable - if not all(char in string.printable.encode() for char in vmcoreinfo_data): + printable_bytes_set = set(string.printable.encode()) + if not all(byte in printable_bytes_set for byte in vmcoreinfo_data): # Abort, we are in the wrong place return None From 8b6c00e64f016ac5a08a51c4fefe19a78c8c270a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 30 Jan 2025 18:48:42 +1100 Subject: [PATCH 1306/2186] linux: vmcoreinfo plugin: simplify hex conversion --- volatility3/framework/plugins/linux/vmcoreinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/vmcoreinfo.py b/volatility3/framework/plugins/linux/vmcoreinfo.py index 0f07f8589..658626014 100644 --- a/volatility3/framework/plugins/linux/vmcoreinfo.py +++ b/volatility3/framework/plugins/linux/vmcoreinfo.py @@ -39,7 +39,7 @@ class VMCoreInfo(plugins.PluginInterface): ): for key, value in vmcoreinfo.items(): if key.startswith("SYMBOL(") or key == "KERNELOFFSET": - value = f"0x{value:x}" + value = hex(value) else: value = str(value) From 5d2819a98dccfe7e13dd3c05b93e34a630ff9a2a Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 30 Jan 2025 20:25:22 +1100 Subject: [PATCH 1307/2186] linux: elf: fix imports --- .../framework/symbols/linux/extensions/elf.py | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index c333021d6..969a08a47 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -2,16 +2,11 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Dict, Tuple, Optional import logging +from typing import Dict, Optional, Tuple -from volatility3.framework import constants -from volatility3.framework.constants.linux import ( - ELF_IDENT, - ELF_CLASS, - KSYM_NAME_LEN, -) -from volatility3.framework import objects, interfaces, exceptions +from volatility3.framework import constants, exceptions, interfaces, objects +from volatility3.framework.constants import linux as linux_constants vollog = logging.getLogger(__name__) @@ -64,13 +59,13 @@ class elf(objects.StructType): ei_class = self._context.object( symbol_table_name + constants.BANG + "unsigned char", layer_name=layer_name, - offset=object_info.offset + ELF_IDENT.EI_CLASS, + offset=object_info.offset + linux_constants.ELF_IDENT.EI_CLASS, ) - if ei_class == ELF_CLASS.ELFCLASS32: + if ei_class == linux_constants.ELF_CLASS.ELFCLASS32: self._type_prefix = "Elf32_" self._ei_class_size = 32 - elif ei_class == ELF_CLASS.ELFCLASS64: + elif ei_class == linux_constants.ELF_CLASS.ELFCLASS64: self._type_prefix = "Elf64_" self._ei_class_size = 64 else: From f3095513a14683d4ae8184503621514941fe17ca Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 30 Jan 2025 20:26:51 +1100 Subject: [PATCH 1308/2186] linux: elf_sym: use a class attribute for the symbol max length --- .../framework/symbols/linux/extensions/elf.py | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index 969a08a47..89a421402 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -312,6 +312,8 @@ class elf(objects.StructType): class elf_sym(objects.StructType): """An elf symbol entry""" + _MAX_NAME_LENGTH = linux_constants.KSYM_NAME_LEN + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._cached_strtab = None @@ -324,20 +326,13 @@ class elf_sym(objects.StructType): def cached_strtab(self, cached_strtab): self._cached_strtab = cached_strtab - def get_name(self, max_size=KSYM_NAME_LEN) -> Optional[str]: - """Returns the symbol name - - Args: - max_size: Maximum length for a symbol name string. Defaults to KSYM_NAME_LEN (512 bytes). - - Returns: - The symbol name - """ + def get_name(self) -> Optional[str]: + """Returns the symbol name""" addr = self._cached_strtab + self.st_name layer = self._context.layers[self.vol.layer_name] - name_bytes = layer.read(addr, max_size, pad=True) + name_bytes = layer.read(addr, self._MAX_NAME_LENGTH, pad=True) if not name_bytes: return None From 67a83871adac20171a862d55dcafe5ab383c024b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 30 Jan 2025 20:54:38 +1100 Subject: [PATCH 1309/2186] linux: module object extension: Add a function to return the extended ELF symbol information (symbol object and its index) so that doesn't change the get_symbols() interface --- .../symbols/linux/extensions/__init__.py | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 5f4b7c170..2e06ee687 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -212,14 +212,10 @@ class module(generic.GenericIntelProcess): ) return elf_table_name - def get_symbols( + def get_symbols_ex( self, ) -> Iterable[Tuple[int, interfaces.objects.ObjectInterface]]: - """Get symbols of the module - - Yields: - A tuple containing the ELF symbol index and the corresponding ELF symbol object - """ + """Get ELF symbol objects and their index for this module""" if not self.section_strtab or self.num_symtab < 1: return None @@ -239,10 +235,18 @@ class module(generic.GenericIntelProcess): subtype=sym_type, count=self.num_symtab, ) - for elf_sym_num, elf_sym_obj in enumerate(elf_syms): + for elf_sym_index, elf_sym_obj in enumerate(elf_syms): # Prepare the symbol object for methods like get_name() elf_sym_obj.cached_strtab = self.section_strtab - yield elf_sym_num, elf_sym_obj + yield elf_sym_index, elf_sym_obj + + def get_symbols( + self, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Get ELF symbol objects for this module""" + + for _elf_sym_index, elf_sym_obj in self.get_symbols_ex(): + yield elf_sym_obj def get_symbols_names_and_addresses(self) -> Iterable[Tuple[str, int]]: """Get names and addresses for each symbol of the module @@ -251,13 +255,13 @@ class module(generic.GenericIntelProcess): A tuple for each symbol containing the symbol name and its corresponding value """ layer = self._context.layers[self.vol.layer_name] - for _sym_num, sym in self.get_symbols(): - sym_name = sym.get_name() + for elf_sym_obj in self.get_symbols(): + sym_name = elf_sym_obj.get_name() if not sym_name: continue # Normalize sym.st_value offset, which is an address pointing to the symbol value - sym_address = sym.st_value & layer.address_mask + sym_address = elf_sym_obj.st_value & layer.address_mask yield (sym_name, sym_address) def get_symbol(self, wanted_sym_name) -> Optional[int]: From 981e09756791f9fab0975f093da87be089a43fda Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 30 Jan 2025 21:03:33 +1100 Subject: [PATCH 1310/2186] linux: module object extension: Revert the changes to get the ELF symbol index --- .../symbols/linux/extensions/__init__.py | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 2e06ee687..8893e6e52 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -212,10 +212,8 @@ class module(generic.GenericIntelProcess): ) return elf_table_name - def get_symbols_ex( - self, - ) -> Iterable[Tuple[int, interfaces.objects.ObjectInterface]]: - """Get ELF symbol objects and their index for this module""" + def get_symbols(self) -> Iterable[interfaces.objects.ObjectInterface]: + """Get ELF symbol objects for this module""" if not self.section_strtab or self.num_symtab < 1: return None @@ -235,17 +233,9 @@ class module(generic.GenericIntelProcess): subtype=sym_type, count=self.num_symtab, ) - for elf_sym_index, elf_sym_obj in enumerate(elf_syms): + for elf_sym_obj in elf_syms: # Prepare the symbol object for methods like get_name() elf_sym_obj.cached_strtab = self.section_strtab - yield elf_sym_index, elf_sym_obj - - def get_symbols( - self, - ) -> Iterable[interfaces.objects.ObjectInterface]: - """Get ELF symbol objects for this module""" - - for _elf_sym_index, elf_sym_obj in self.get_symbols_ex(): yield elf_sym_obj def get_symbols_names_and_addresses(self) -> Iterable[Tuple[str, int]]: From d3e55db41d903a65bbe0ed921da3530c1da04b4a Mon Sep 17 00:00:00 2001 From: ikelos Date: Thu, 30 Jan 2025 11:04:58 +0000 Subject: [PATCH 1311/2186] Apply suggestions from code review Hopefully I can fix up my breakage... --- volatility3/framework/symbols/linux/extensions/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index e886fc88f..dac7f5a5e 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2173,8 +2173,7 @@ class sock(objects.StructType): return linux_constants.SOCK_FAMILY[family_idx] def get_type(self): - return linux_constants. - .get(self.sk_type, "") + return linux_constants.SOCK_TYPES.get(self.sk_type, "") def get_inode(self): if not self.sk_socket: From f6106c8f19dea8e9e3880828189b8e22b7d47b45 Mon Sep 17 00:00:00 2001 From: ikelos Date: Thu, 30 Jan 2025 11:10:36 +0000 Subject: [PATCH 1312/2186] Apply suggestions from code review Try to patch up ruff failures through suggestions. --- volatility3/framework/constants/linux/__init__.py | 6 +++--- volatility3/framework/symbols/linux/extensions/__init__.py | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 0eef611d0..c357916cb 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -317,7 +317,7 @@ NET_DEVICE_FLAGS = { # Kernels >= 2.6.17. See IF_OPER_* in include/uapi/linux/if.h -class IF_OPER_STATES(Enum): +class IF_OPER_STATES(enum.Enum): """RFC 2863 - Network interface operational status""" UNKNOWN = 0 @@ -328,7 +328,7 @@ class IF_OPER_STATES(Enum): DORMANT = 5 UP = 6 -class ELF_IDENT(IntEnum): +class ELF_IDENT(enum.IntEnum): """ELF header e_ident indexes""" EI_MAG0 = 0 @@ -459,4 +459,4 @@ Documentation : - https://www.kernel.org/doc/Documentation/admin-guide/tainted-kernels.rst#:~:text=More%20detailed%20explanation%20for%20tainting - taint_flag kernel struct - taint_flags kernel constant -""" \ No newline at end of file +""" diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index dac7f5a5e..fd294d51b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2053,8 +2053,7 @@ class inet6_dev(objects.StructType): return # 'if_list' member was added to 'inet6_ifaddr' type in kernels 3.0 - for inet6_ifaddr in self.addr_list.to_list(inet6_ifaddr_symname, "if_list"): - yield inet6_ifaddr + yield from self.addr_list.to_list(inet6_ifaddr_symname, "if_list"): class in_ifaddr(objects.StructType): @@ -2112,7 +2111,7 @@ class inet6_ifaddr(objects.StructType): return "host" elif (self.scope & linux_constants.IFA_LINK) != 0: return "link" - elif (self.scope & linuc_constants.IFA_SITE) != 0: + elif (self.scope & linux_constants.IFA_SITE) != 0: return "site" else: return "global" From f83386f19b8cc3b64923ddfd3f3ae0fb83287a61 Mon Sep 17 00:00:00 2001 From: ikelos Date: Thu, 30 Jan 2025 11:13:25 +0000 Subject: [PATCH 1313/2186] Update volatility3/framework/symbols/linux/extensions/__init__.py My bad, little typo when trying to fix it last time --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index fd294d51b..7f6273719 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2053,7 +2053,7 @@ class inet6_dev(objects.StructType): return # 'if_list' member was added to 'inet6_ifaddr' type in kernels 3.0 - yield from self.addr_list.to_list(inet6_ifaddr_symname, "if_list"): + yield from self.addr_list.to_list(inet6_ifaddr_symname, "if_list") class in_ifaddr(objects.StructType): From 9218e0e07f92ffb61b17f14336f36440092c1083 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 31 Jan 2025 18:47:11 +1100 Subject: [PATCH 1314/2186] fix double null-termination search --- volatility3/framework/objects/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index 869d4dae6..39ce6f59f 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -356,8 +356,9 @@ class String(PrimitiveObject, str): ), **params, ) - if value.find("\x00") >= 0: - value = value[: value.find("\x00")] + index = value.find("\x00") + if index >= 0: + value = value[:index] return value class VolTemplateProxy(interfaces.objects.ObjectInterface.VolTemplateProxy): From b91724c3ef7a5fa22f639a6c495afdce736ee5d9 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 31 Jan 2025 18:48:52 +1100 Subject: [PATCH 1315/2186] Replace *_to_string() for a block reader implementation for better performance. Add new address_to_string() helper --- volatility3/framework/objects/utility.py | 102 +++++++++++++++++++++-- 1 file changed, 94 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 0bc285517..dc450c0b3 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -29,9 +29,23 @@ def bswap_64(value: int) -> int: def array_to_string( - array: "objects.Array", count: Optional[int] = None, errors: str = "replace" -) -> interfaces.objects.ObjectInterface: - """Takes a volatility Array of characters and returns a string.""" + array: "objects.Array", + count: Optional[int] = None, + errors: str = "replace", + block_size=32, +) -> str: + """Takes a Volatility 'Array' of characters and returns a Python string. + + Args: + array: The Volatility `Array` object containing character elements. + count: Optional maximum number of characters to convert. If None, the function + processes the entire array. + errors: Specifies error handling behavior for decoding, defaulting to "replace". + block_size: Reading block size. Defaults to 32 + + Returns: + A decoded string representation of the character array. + """ # TODO: Consider checking the Array's target is a native char if not isinstance(array, objects.Array): raise TypeError("Array_to_string takes an Array of char") @@ -39,19 +53,91 @@ def array_to_string( if count is None: count = array.vol.count - return array.cast("string", max_length=count, errors=errors) + return address_to_string( + context=array._context, + layer_name=array.vol.layer_name, + address=array.vol.offset, + count=count, + errors=errors, + block_size=block_size, + ) -def pointer_to_string(pointer: "objects.Pointer", count: int, errors: str = "replace"): - """Takes a volatility Pointer to characters and returns a string.""" +def pointer_to_string( + pointer: "objects.Pointer", + count: int, + errors: str = "replace", + block_size=32, +) -> str: + """Takes a Volatility 'Pointer' to characters and returns a Python string. + + Args: + pointer: A `Pointer` object containing character elements. + count: Optional maximum number of characters to convert. If None, the function + processes the entire array. + errors: Specifies error handling behavior for decoding, defaulting to "replace". + block_size: Reading block size. Defaults to 32 + + Returns: + A decoded string representation of the data referenced by the pointer. + """ if not isinstance(pointer, objects.Pointer): raise TypeError("pointer_to_string takes a Pointer") if count < 1: raise ValueError("pointer_to_string requires a positive count") - char = pointer.dereference() - return char.cast("string", max_length=count, errors=errors) + return address_to_string( + context=pointer._context, + layer_name=pointer.vol.layer_name, + address=pointer, + count=count, + errors=errors, + block_size=block_size, + ) + + +def address_to_string( + context: interfaces.context.ContextInterface, + layer_name: str, + address: int, + count: int, + errors: str = "replace", + block_size=32, +) -> str: + """Reads a null-terminated string from a given specified memory address, processing + it in blocks for efficiency. + + Args: + context: The context used to retrieve memory layers and symbol tables + layer_name: The name of the memory layer to read from + address: The address where the string is located in memory + count: The number of bytes to read + errors: The error handling scheme to use for encoding errors. Defaults to "replace" + block_size: Reading block size. Defaults to 32 + + Returns: + The decoded string extracted from memory. + """ + if not isinstance(address, int): + raise TypeError("It takes an int") + + if count < 1: + raise ValueError("It requires a positive count") + + layer = context.layers[layer_name] + text = b"" + while len(text) <= count: + current_block_size = min(count - len(text), block_size) + temp_text = layer.read(address + len(text), current_block_size) + idx = temp_text.find(b"\x00") + if idx != -1: + temp_text = temp_text[:idx] + text += temp_text + break + text += temp_text + + return text.decode(errors=errors) def array_of_pointers( From c82ef0cfd2a34873b989cdc87afed5783c92d34b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 31 Jan 2025 19:29:33 +1100 Subject: [PATCH 1316/2186] intel: address translation: performance improvements caching by page address --- volatility3/framework/layers/intel.py | 44 +++++++++++++++++++++------ 1 file changed, 34 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 7c2c72ac1..b6f59fee1 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -186,6 +186,31 @@ class Intel(linear.LinearlyMappedLayer): Returns the translated entry value """ + offset &= self.address_mask + + if not (self.minimum_address <= offset <= self.maximum_address): + raise exceptions.InvalidAddressException( + offset, f"Address {offset:#x} outside virtual address range" + ) + + page_address = offset & self.page_mask + return self._translate_page(page_address) + + @functools.lru_cache(maxsize=1024) + def _translate_page(self, page_address: int) -> int: + """Translates a page address based on paging tables. + + Args: + page_address: The page base address + + Returns: + the translated entry value + """ + if page_address & ~self.page_mask != 0: + raise exceptions.InvalidAddressException( + page_address, + f"Invalid page address {page_address:#x}. The address must be aligned to the page size", + ) # Setup the entry and how far we are through the offset # Position maintains the number of bits left to process # We or with 0x1 to ensure our page_map_offset is always valid @@ -193,11 +218,13 @@ class Intel(linear.LinearlyMappedLayer): entry = self._initial_entry if not ( - self.minimum_address <= (offset & self.address_mask) <= self.maximum_address + self.minimum_address + <= (page_address & self.address_mask) + <= self.maximum_address ): raise exceptions.PagedInvalidAddressException( self.name, - offset, + page_address, position + 1, entry, "Entry outside virtual address range: " + hex(entry), @@ -209,7 +236,7 @@ class Intel(linear.LinearlyMappedLayer): if not self._page_is_valid(entry): raise exceptions.PagedInvalidAddressException( self.name, - offset, + page_address, position + 1, entry, "Page Fault at entry " + hex(entry) + " in table " + name, @@ -225,7 +252,7 @@ class Intel(linear.LinearlyMappedLayer): # Figure out how much of the offset we should be using start = position position -= size - index = self._mask(offset, start, position + 1) >> (position + 1) + index = self._mask(page_address, start, position + 1) >> (position + 1) # Grab the base address of the table we'll be getting the next entry from base_address = self._mask( @@ -236,17 +263,15 @@ class Intel(linear.LinearlyMappedLayer): if table is None: raise exceptions.PagedInvalidAddressException( self.name, - offset, + page_address, position + 1, entry, "Page Fault at entry " + hex(entry) + " in table " + name, ) # Read the data for the next entry - entry_data = table[ - (index << self._index_shift) : (index << self._index_shift) - + self._entry_size - ] + entry_data_start = index << self._index_shift + entry_data = table[entry_data_start : entry_data_start + self._entry_size] if INTEL_TRANSLATION_DEBUGGING: vollog.log( @@ -259,7 +284,6 @@ class Intel(linear.LinearlyMappedLayer): return entry, position - @functools.lru_cache(maxsize=1025) def _get_valid_table(self, base_address: int) -> Optional[bytes]: """Extracts the table, validates it and returns it if it's valid.""" table = self._context.layers.read( From 815b2fe918241ab2847512cfc7e9980b0a9e50ed Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 31 Jan 2025 19:49:04 +1100 Subject: [PATCH 1317/2186] Fix bug in address_to_string() helper --- volatility3/framework/objects/utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index dc450c0b3..93216743c 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -127,7 +127,7 @@ def address_to_string( layer = context.layers[layer_name] text = b"" - while len(text) <= count: + while len(text) < count: current_block_size = min(count - len(text), block_size) temp_text = layer.read(address + len(text), current_block_size) idx = temp_text.find(b"\x00") From 68c8b2389a7373d321afabe24f035024add1d012 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 31 Jan 2025 10:00:16 +0000 Subject: [PATCH 1318/2186] Make error messages a little more descriptive --- volatility3/framework/objects/utility.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 93216743c..500c0e9a5 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -120,10 +120,10 @@ def address_to_string( The decoded string extracted from memory. """ if not isinstance(address, int): - raise TypeError("It takes an int") + raise TypeError("Address must be a valid integer") if count < 1: - raise ValueError("It requires a positive count") + raise ValueError("Count must be greater than 0") layer = context.layers[layer_name] text = b"" From e9d1831a7cbc7dd27e60d4d772a09a6df4e767c5 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 31 Jan 2025 14:45:28 +0000 Subject: [PATCH 1319/2186] Windows: update get_commit_charge with CommitCharge fix by BeanBagKing --- volatility3/framework/symbols/windows/extensions/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index ff6d14a8c..26007a37a 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -262,7 +262,10 @@ class MMVAD_SHORT(objects.StructType): def get_commit_charge(self): """Get the VAD's commit charge (number of committed pages)""" - if self.has_member("u1") and self.u1.has_member("VadFlags1"): + if self.has_member("CommitCharge"): + return self.CommitCharge + + elif self.has_member("u1") and self.u1.has_member("VadFlags1"): return self.u1.VadFlags1.CommitCharge elif self.has_member("u") and self.u.has_member("VadFlags"): From 55b27a68d5918abdba557db3aa0dcf02b4b2eae9 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 31 Jan 2025 18:10:12 +0000 Subject: [PATCH 1320/2186] Add mnt_parent check to kernel version validation --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 8893e6e52..232e905b8 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1574,7 +1574,7 @@ class vfsmount(objects.StructType): 'True' if the kernel lacks the 'mount' struct, typically indicating kernel < 3.3. """ - return not self._context.symbol_space.has_type("mount") + return (not self._context.symbol_space.has_type("mount")) and self.has_member("mnt_parent") def is_equal(self, vfsmount_ptr) -> bool: """Helper to make sure it is comparing two pointers to 'vfsmount'. From 1132bd98304abf87b5ce1812309344047f5a907c Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 31 Jan 2025 18:11:22 +0000 Subject: [PATCH 1321/2186] Add mnt_parent check to kernel version validation --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 232e905b8..7103a2068 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1574,7 +1574,9 @@ class vfsmount(objects.StructType): 'True' if the kernel lacks the 'mount' struct, typically indicating kernel < 3.3. """ - return (not self._context.symbol_space.has_type("mount")) and self.has_member("mnt_parent") + return (not self._context.symbol_space.has_type("mount")) and self.has_member( + "mnt_parent" + ) def is_equal(self, vfsmount_ptr) -> bool: """Helper to make sure it is comparing two pointers to 'vfsmount'. From cb3542f76a64eee879ecaece45af310f15c531fb Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 31 Jan 2025 20:40:51 +0000 Subject: [PATCH 1322/2186] Catch invalid address exception for invalid sock values --- volatility3/framework/plugins/linux/sockstat.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 764c04563..914c251d0 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -538,8 +538,11 @@ class Sockstat(plugins.PluginInterface): continue sock = socket.sk.dereference() - sock_type = sock.get_type() - family = sock.get_family() + try: + sock_type = sock.get_type() + family = sock.get_family() + except exceptions.InvalidAddressException: + continue sock_handler = SockHandlers(vmlinux, task) sock_fields = sock_handler.process_sock(sock) From 4d43ac9a6dc51c6b2855a907b452185d4eb0366a Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 31 Jan 2025 20:46:16 +0000 Subject: [PATCH 1323/2186] Catch invalid address exception for invalid sock values --- volatility3/framework/plugins/linux/sockstat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 914c251d0..3d2df655b 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -541,11 +541,11 @@ class Sockstat(plugins.PluginInterface): try: sock_type = sock.get_type() family = sock.get_family() + sock_handler = SockHandlers(vmlinux, task) + sock_fields = sock_handler.process_sock(sock) except exceptions.InvalidAddressException: continue - sock_handler = SockHandlers(vmlinux, task) - sock_fields = sock_handler.process_sock(sock) if not sock_fields: continue From 644b967c624a6a3f1f57e735770e0f56604a1d11 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 31 Jan 2025 21:31:07 +0000 Subject: [PATCH 1324/2186] Prevent backtraces when kthread full name is smeared --- .../framework/plugins/linux/kthreads.py | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py index bd0e895a4..674eae1e5 100644 --- a/volatility3/framework/plugins/linux/kthreads.py +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -72,28 +72,35 @@ class Kthreads(plugins.PluginInterface): if task.has_member("worker_private"): # kernels >= 5.17 e32cf5dfbe227b355776948b2c9b5691b84d1cbd - ktread_base_pointer = task.worker_private + kthread_base_pointer = task.worker_private else: # 5.8 <= kernels < 5.17 in 52782c92ac85c4e393eb4a903a62e6c24afa633f threadfn # was added to struct kthread. task.set_child_tid is safe on those versions. - ktread_base_pointer = task.set_child_tid + kthread_base_pointer = task.set_child_tid - if not ktread_base_pointer.is_readable(): + if not kthread_base_pointer.is_readable(): continue - kthread = ktread_base_pointer.dereference().cast("kthread") + kthread = kthread_base_pointer.dereference().cast("kthread") threadfn = kthread.threadfn if not (threadfn and threadfn.is_readable()): continue task_name = utility.array_to_string(task.comm) + thread_name = task_name + # kernels >= 5.17 in d6986ce24fc00b0638bd29efe8fb7ba7619ed2aa full_name was added to kthread - thread_name = ( - utility.pointer_to_string(kthread.full_name, count=255) - if kthread.has_member("full_name") - else task_name - ) + if kthread.has_member("full_name"): + try: + thread_name = utility.pointer_to_string( + kthread.full_name, count=255 + ) + except exceptions.InvalidAddressException: + vollog.debug( + f"full_name pointer for thread at {kthread.vol.offset:#x} is paged out." + ) + module_name, symbol_name = ( linux_utilities_modules.Modules.lookup_module_address( self.context, vmlinux.name, handlers, threadfn From efbc410c4d3507f84f304e3385e3b9473b3fd1be Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 31 Jan 2025 21:43:32 +0000 Subject: [PATCH 1325/2186] Add missing pointer validation check in mountinfo --- volatility3/framework/plugins/linux/mountinfo.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index 47d8705c8..c56ced489 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -93,11 +93,14 @@ class MountInfo(plugins.PluginInterface): return None mnt_root_path = mnt_root.path() - superblock = mnt.get_mnt_sb() mnt_id: int = mnt.mnt_id parent_id: int = mnt.mnt_parent.mnt_id + superblock = mnt.get_mnt_sb() + if not (superblock and superblock.is_readable()): + return None + st_dev = f"{superblock.major}:{superblock.minor}" mnt_opts: List[str] = [] From 3b3331a58d42e2fe71433892e7b632cdfd63db84 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 31 Jan 2025 22:32:35 +0000 Subject: [PATCH 1326/2186] Add smear checks and missing absolute flag to walk_internal_list --- .../framework/symbols/linux/__init__.py | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index afdfee39c..6f9ccdadc 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -430,13 +430,36 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): @classmethod def walk_internal_list(cls, vmlinux, struct_name, list_member, list_start): + count = 0 + seen = set() + while list_start: + if list_start.vol.offset in seen: + vollog.debug( + "walk_internal_list: Repeat entry found. Stopping enumeration" + ) + break + seen.add(list_start.vol.offset) + + if not (list_start and list_start.is_readable()): + break + list_struct = vmlinux.object( - object_type=struct_name, offset=list_start.vol.offset + object_type=struct_name, offset=list_start.vol.offset, absolute=True ) + yield list_struct + list_start = getattr(list_struct, list_member) + if count == 4096: + vollog.debug( + f"walk_internal_list: Breaking list enumeration at {count}" + ) + break + + count += 1 + @classmethod def container_of( cls, From 941e40c368b79a36ee59a2cdf860aad83d489d15 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 31 Jan 2025 22:59:32 +0000 Subject: [PATCH 1327/2186] Fix get_name API, fix malfind --- volatility3/framework/plugins/linux/elfs.py | 2 +- volatility3/framework/plugins/linux/malfind.py | 8 +++++--- volatility3/framework/plugins/linux/proc.py | 2 +- .../framework/symbols/linux/extensions/__init__.py | 8 +++++++- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index 0d1c9c2dd..b9dcc3cca 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -177,7 +177,7 @@ class Elfs(plugins.PluginInterface): name, format_hints.Hex(vma.vm_start), format_hints.Hex(vma.vm_end), - path, + path or renderers.NotAvailableValue(), file_output, ), ) diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index e45688e97..a6e739bbf 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -56,10 +56,10 @@ class Malfind(interfaces.plugins.PluginInterface): ) if ( vma.is_suspicious(proc_layer) - and vma.get_name(self.context, task) != "[vdso]" + and vma_name != "[vdso]" ): data = proc_layer.read(vma.vm_start, 64, pad=True) - yield vma, data + yield vma, vma_name, data def _generator(self, tasks): # determine if we're on a 32 or 64 bit kernel @@ -71,7 +71,7 @@ class Malfind(interfaces.plugins.PluginInterface): for task in tasks: process_name = utility.array_to_string(task.comm) - for vma, data in self._list_injections(task): + for vma, vma_name, data in self._list_injections(task): if is_32bit_arch: architecture = "intel" else: @@ -88,6 +88,7 @@ class Malfind(interfaces.plugins.PluginInterface): process_name, format_hints.Hex(vma.vm_start), format_hints.Hex(vma.vm_end), + vma_name or renderers.NotAvailableValue(), vma.get_protection(), format_hints.HexBytes(data), disasm, @@ -103,6 +104,7 @@ class Malfind(interfaces.plugins.PluginInterface): ("Process", str), ("Start", format_hints.Hex), ("End", format_hints.Hex), + ("Path", str), ("Protection", str), ("Hexdump", format_hints.HexBytes), ("Disasm", interfaces.renderers.Disassembly), diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index 23d6605b7..5acba6594 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -246,7 +246,7 @@ class Maps(plugins.PluginInterface): major, minor, inode_num, - path, + path or renderers.NotAvailableValue(), file_output, ), ) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 8893e6e52..5ac391da1 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1056,7 +1056,7 @@ class vm_area_struct(objects.StructType): parent_layer = self._context.layers[self.vol.layer_name] return self.vm_pgoff << parent_layer.page_shift - def get_name(self, context, task): + def _do_get_name(self, context, task) -> str: if self.vm_file != 0: fname = linux.LinuxUtilities.path_for_file(context, task, self.vm_file) elif self.vm_start <= task.mm.start_brk and self.vm_end >= task.mm.brk: @@ -1072,6 +1072,12 @@ class vm_area_struct(objects.StructType): fname = "Anonymous Mapping" return fname + def get_name(self, context, task) -> Optional[str]: + try: + return self._do_get_name(context, task) + except exceptions.InvalidAddressException: + return None + # used by malfind def is_suspicious(self, proclayer=None): ret = False From b81d2a27810681ebe810490afff9638d6b3c4d1d Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 31 Jan 2025 23:03:43 +0000 Subject: [PATCH 1328/2186] Fix get_name API, fix malfind --- volatility3/framework/plugins/linux/malfind.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index a6e739bbf..7d8dd7f18 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -54,10 +54,7 @@ class Malfind(interfaces.plugins.PluginInterface): vollog.debug( f"Injections : processing PID {task.pid} : VMA {vma_name} : {hex(vma.vm_start)}-{hex(vma.vm_end)}" ) - if ( - vma.is_suspicious(proc_layer) - and vma_name != "[vdso]" - ): + if vma.is_suspicious(proc_layer) and vma_name != "[vdso]": data = proc_layer.read(vma.vm_start, 64, pad=True) yield vma, vma_name, data From 1d1af696ffdd7c0d1cfc033c8d19a1975ae4e2a0 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 31 Jan 2025 17:26:36 -0600 Subject: [PATCH 1329/2186] Windows: Handles - catch exception in handle iteration An `InvalidAddressException` can occur inside of `__iter__` when iterating over the handle table (the exact exception occurs when creating the subtype in `objects.Array.__getitem__`. This changes the handle code to do a manual iteration over the sequence using the array length and indexes, catch the exception, log the index, and continue. In the test sample that prompted this change, the exception occurred on the access of the very last item in the array. closes #1573 --- volatility3/framework/plugins/windows/handles.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 6a391fe35..0c7958bac 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -243,7 +243,12 @@ class Handles(interfaces.plugins.PluginInterface): layer_object = self.context.layers[virtual] masked_offset = offset & layer_object.maximum_address - for entry in table: + for i in range(len(table)): + try: + entry = table[i] + except exceptions.InvalidAddressException: + vollog.debug(f"Failed to get handle table entry at index {i}") + continue # This triggered a backtrace in many testing samples # in the level == 0 path # The code above this calls `is_valid` on the `offset` From 60dc0c04f4dc6deea067a9fad0db9bbddacfbe48 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 31 Jan 2025 22:37:21 -0600 Subject: [PATCH 1330/2186] Address feedback. Add doc strings --- .../framework/symbols/linux/__init__.py | 29 ++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 6f9ccdadc..aa89e7a16 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -7,7 +7,7 @@ import contextlib import functools import logging from abc import ABC, abstractmethod -from typing import Iterator, List, Tuple, Optional, Union, Dict +from typing import List, Tuple, Optional, Union, Dict, Generator, Iterator import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3 import framework @@ -429,7 +429,28 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): ) @classmethod - def walk_internal_list(cls, vmlinux, struct_name, list_member, list_start): + def walk_internal_list( + cls, + vmlinux: interfaces.context.ModuleInterface, + struct_name: str, + list_member: str, + list_start: interfaces.objects.ObjectInterface, + max_count: int = 4096, + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: + """ + An API that provides generic, smear-resistant enumeration of embedded lists + + Args: + vmlinux: + struct_name: name of the structure of the list elements + list_member: name of the list_member holding the internal list + list_start: Starting (head) member of the list + max_count: Optional maximum amount of list elements that will be yielded + + Returns: + Instances of `struct_name` + """ + count = 0 seen = set() @@ -452,9 +473,9 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): list_start = getattr(list_struct, list_member) - if count == 4096: + if count == max_count: vollog.debug( - f"walk_internal_list: Breaking list enumeration at {count}" + f"walk_internal_list: Breaking list enumeration at maximum allowed count of {count}" ) break From 18a69b941775ac97dae38b7352004fef32e77017 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 16:23:59 +1100 Subject: [PATCH 1331/2186] linux: add latched RB-trees implementation --- .../framework/symbols/linux/__init__.py | 2 + .../symbols/linux/extensions/__init__.py | 87 ++++++++++++++++++- 2 files changed, 88 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index afdfee39c..53c7c4c88 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -87,6 +87,8 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): # Only found in 6.1+ kernels self.optional_set_type_class("maple_tree", extensions.maple_tree) + self.optional_set_type_class("latch_tree_root", extensions.latch_tree_root) + class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 7103a2068..0f7ddfac3 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -10,7 +10,17 @@ import binascii import stat import datetime import socket as socket_module -from typing import Generator, Iterable, Iterator, Optional, Tuple, List, Union, Dict +from typing import ( + Generator, + Iterable, + Iterator, + Optional, + Tuple, + List, + Union, + Dict, + Callable, +) from volatility3.framework import constants, exceptions, objects, interfaces, symbols from volatility3.framework.renderers import conversion @@ -2979,3 +2989,78 @@ class scatterlist(objects.StructType): physical_layer = self._context.layers[physical_layer_name] for sg in self.for_each_sg(): yield from physical_layer.read(sg.dma_address, sg._sg_dma_len()) + + +class latch_tree_root(objects.StructType): + """Latched RB-trees implementation""" + + @functools.cached_property + def _vmlinux(self): + return linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + + @functools.lru_cache + def _get_type_cached(self, name): + return self._vmlinux.get_type(name) + + def _get_lt_node_from_rb_node( + self, rb_node, index + ) -> Optional[interfaces.objects.ObjectInterface]: + """Gets the latch tree node from the RBTree node. + Based on __lt_from_rb() + """ + # Unfortunately, we cannot use our LinuxUtilities.container_of() here, since the + # member is indexed by the 'index' variable: + # ltn = container_of(node, struct latch_tree_node, node[idx]) + pointer_size = self._get_type_cached("pointer").size + type_dec = self._get_type_cached("latch_tree_node") + member_offset = type_dec.relative_child_offset("node") + index * pointer_size + container_addr = rb_node.vol.offset - member_offset + + return self._vmlinux.object( + object_type="latch_tree_node", offset=container_addr, absolute=True + ) + + def find( + self, key: int, comp_function: Callable + ) -> Optional[interfaces.objects.ObjectInterface]: + """Returns a pointer to the node matching key or None. + + Based on latch_tree_find() and __lt_find() + + Args: + key (int): Typically an address + comp_function: Callback comparison function to provide the order between the + search key and an element. It's works like the kernel's latch_tree_ops::comp + i.e.: comp_function(key, latch_tree_node) + + Returns: + latch_tree_node: A pointer to the node matching key or None. + """ + # latch_tree_root >= 4.2 ade3f510f93a5613b672febe88eff8ea7f1c63b7 + + # Use the lowest sequence bit as an index for picking which data copy to read + if self.seq.has_member("seqcount"): + # kernels >= 5.10 0c9794c8b6781eb7dad8e19b78c5d4557790597a + sequence = self.seq.seqcount.sequence + elif self.seq.has_member("sequence"): + # 4.2 <= kernel < 5.10 + sequence = self.seq.sequence + else: + raise AttributeError("Unsupported sequence type implementation") + + idx = sequence & 1 + + rb_node_ptr = self.tree[idx].rb_node + while rb_node_ptr and rb_node_ptr.is_readable(): + rb_node = rb_node_ptr.dereference() + lt_node = self._get_lt_node_from_rb_node(rb_node, idx) + c = comp_function(key, lt_node) + if c < 0: + rb_node_ptr = rb_node.rb_left + elif c > 0: + rb_node_ptr = rb_node.rb_right + else: + return lt_node + + return None + From dba90ac2174017f24f136fec74b96797da1766e7 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 16:30:51 +1100 Subject: [PATCH 1332/2186] linux: Add support for module symbol types --- .../symbols/linux/extensions/__init__.py | 51 ++++++++++++++----- 1 file changed, 39 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0f7ddfac3..5364fcbda 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -176,37 +176,43 @@ class module(generic.GenericIntelProcess): """Get the name of the module as a string""" return utility.array_to_string(self.name) - def _get_sect_count(self, grp): + def _get_sect_count(self, grp) -> int: """Try to determine the number of valid sections""" + symbol_table_name = self.get_symbol_table_name() arr = self._context.object( - self.get_symbol_table_name() + constants.BANG + "array", + symbol_table_name + constants.BANG + "array", layer_name=self.vol.layer_name, offset=grp.attrs, subtype=self._context.symbol_space.get_type( - self.get_symbol_table_name() + constants.BANG + "pointer" + symbol_table_name + constants.BANG + "pointer" ), count=25, ) idx = 0 - while arr[idx]: + while arr[idx] and arr[idx].is_readable(): idx = idx + 1 return idx - def get_sections(self): - """Get sections of the module""" + @functools.cached_property + def number_of_sections(self) -> int: if self.sect_attrs.has_member("nsections"): - num_sects = self.sect_attrs.nsections - else: - num_sects = self._get_sect_count(self.sect_attrs.grp) + return self.sect_attrs.nsections + + return self._get_sect_count(self.sect_attrs.grp) + + def get_sections(self) -> Iterable[interfaces.objects.ObjectInterface]: + """Get a list of section attributes for the given module.""" + + symbol_table_name = self.get_symbol_table_name() arr = self._context.object( - self.get_symbol_table_name() + constants.BANG + "array", + symbol_table_name + constants.BANG + "array", layer_name=self.vol.layer_name, offset=self.sect_attrs.attrs.vol.offset, subtype=self._context.symbol_space.get_type( - self.get_symbol_table_name() + constants.BANG + "module_sect_attr" + symbol_table_name + constants.BANG + "module_sect_attr" ), - count=num_sects, + count=self.number_of_sections, ) yield from arr @@ -309,6 +315,27 @@ class module(generic.GenericIntelProcess): raise AttributeError("Unable to get strtab") + @property + def section_typetab(self): + if self.has_member("kallsyms") and self.kallsyms.has_member("typetab"): + # kernels >= 4.5 8244062ef1e54502ef55f54cced659913f244c3e: kallsyms was added + # kernels >= 5.2 1c7651f43777cdd59c1aaa82c87324d3e7438c7b: types have its own array + return self.kallsyms.typetab + + raise AttributeError("Unable to get typetab section, it needs a kernel >= 5.2") + + def get_symbol_type(self, symbol, symbol_index): + if self.has_member("kallsyms") and self.kallsyms.has_member("typetab"): + # kernels >= 5.2 1c7651f43777cdd59c1aaa82c87324d3e7438c7b types have its own array + layer = self._context.layers[self.vol.layer_name] + sym_type = layer.read(self.section_typetab + symbol_index, 1) + sym_type = sym_type.decode("utf-8", errors="ignore") + else: + # kernels < 5.2 the type was stored in the st_info + sym_type = chr(symbol.st_info) + + return sym_type + class task_struct(generic.GenericIntelProcess): def is_valid(self) -> bool: From 88b32b080340ef9e94c7cab19334e536aadfb6c1 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 16:32:14 +1100 Subject: [PATCH 1333/2186] linux: task_struct object extension: Add helper to obtain the task state --- .../framework/symbols/linux/extensions/__init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 5364fcbda..24260a798 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -517,6 +517,15 @@ class task_struct(generic.GenericIntelProcess): else None ) + @property + def state(self): + if self.has_member("__state"): + return self.member("__state") + elif self.has_member("state"): + return self.member("state") + else: + raise AttributeError("Unsupported task_struct: Cannot find state") + def _get_task_start_time(self) -> datetime.timedelta: """Returns the task's monotonic start_time as a timedelta. From 0e0daffc45827f82fdd992f1573e9448987cdd5f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 16:33:57 +1100 Subject: [PATCH 1334/2186] linux: Add kernel_symbol object extension --- .../framework/symbols/linux/__init__.py | 1 + .../symbols/linux/extensions/__init__.py | 61 +++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 53c7c4c88..f3880e4db 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -88,6 +88,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.optional_set_type_class("maple_tree", extensions.maple_tree) self.optional_set_type_class("latch_tree_root", extensions.latch_tree_root) + self.optional_set_type_class("kernel_symbol", extensions.kernel_symbol) class LinuxUtilities(interfaces.configuration.VersionableInterface): diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 24260a798..41a7d9288 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -3100,3 +3100,64 @@ class latch_tree_root(objects.StructType): return None + +class kernel_symbol(objects.StructType): + + def _offset_to_ptr(self, off) -> int: + layer = self._context.layers[self.vol.layer_name] + long_mask = (1 << layer.bits_per_register) - 1 + return (self.vol.offset + off) & long_mask + + @property + def name(self) -> str: + if self.has_member("name_offset"): + # kernel >= 4.19 and CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y + # See 7290d58095712a89f845e1bca05334796dd49ed2 + name_offset = self._offset_to_ptr(self.name_offset) + elif self.has_member("name"): + # kernel < 4.19 or CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=n + name_offset = self.member("name") + else: + raise AttributeError("Unsupported kernel_symbol type implementation") + + layer = self._context.layers[self.vol.layer_name] + name_bytes = layer.read(name_offset, linux_constants.KSYM_NAME_LEN) + + idx = name_bytes.find(b"\x00") + if idx != -1: + name_bytes = name_bytes[:idx] + + return name_bytes.decode("utf-8", errors="ignore") + + @property + def value(self) -> int: + if self.has_member("value_offset"): + # kernel >= 4.19 and CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y + # See 7290d58095712a89f845e1bca05334796dd49ed2 + return self._offset_to_ptr(self.value_offset) + elif self.has_member("value"): + # kernel < 4.19 or CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=n + return self.member("value") + + raise AttributeError("Unsupported kernel_symbol type implementation") + + @property + def namespace(self) -> str: + if self.has_member("namespace_offset"): + # kernel >= 4.19 and CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y + # See 7290d58095712a89f845e1bca05334796dd49ed2 + namespace_offset = self._offset_to_ptr(self.namespace_offset) + elif self.has_member("namespace"): + # kernel < 4.19 or CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=n + namespace_offset = self.member("namespace") + else: + raise AttributeError("Unsupported kernel_symbol type implementation") + + layer = self._context.layers[self.vol.layer_name] + namespace_bytes = layer.read(namespace_offset, linux_constants.KSYM_NAME_LEN) + + idx = namespace_bytes.find(b"\x00") + if idx != -1: + namespace_bytes = namespace_bytes[:idx] + + return namespace_bytes.decode("utf-8", errors="ignore") From e2431eebdf99b806019203981f9c2cd76b919e39 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 16:35:40 +1100 Subject: [PATCH 1335/2186] linux: bpf_prog: Add methods to get the program address and its memory regions --- .../symbols/linux/extensions/__init__.py | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 41a7d9288..4aff317a5 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2103,6 +2103,10 @@ class xdp_sock(objects.StructType): class bpf_prog(objects.StructType): + _BPF_PROG_CHUNK_SHIFT = 6 + _BPF_PROG_CHUNK_SIZE = 1 << _BPF_PROG_CHUNK_SHIFT + _BPF_PROG_CHUNK_MASK = ~(_BPF_PROG_CHUNK_SIZE - 1) + def get_type(self) -> Union[str, None]: """Returns a string with the eBPF program type""" @@ -2147,6 +2151,58 @@ class bpf_prog(objects.StructType): return self.aux.get_name() + def bpf_jit_binary_hdr_address(self) -> int: + """Return the jitted BPF program start address + Based on bpf_jit_binary_hdr() + + Returns: + The BPF program address + """ + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] + + # In 5.18 (33c9805860e584b194199cab1a1e81f4e6395408) <= kernels < 6.0 (1d5f82d9dd477d5c66e0214a68c3e4f308eadd6d) + # 'bpf_prog_aux' has a 'use_bpf_prog_pack' member + bpf_prog_aux_has_use_bpf_prog_pack = vmlinux.get_type( + "bpf_prog_aux" + ).has_member("use_bpf_prog_pack") + if bpf_prog_aux_has_use_bpf_prog_pack and self.aux.use_bpf_prog_pack: + long_mask = (1 << vmlinux_layer.bits_per_register) - 1 + addr_mask = self._BPF_PROG_CHUNK_MASK & long_mask + else: + addr_mask = vmlinux_layer.page_mask + + real_start = self.bpf_func + return real_start & addr_mask + + def get_address_region(self) -> Tuple[int, int]: + """Returns the start and end memory addresses of the BPF program. + Based on bpf_get_prog_addr_region() + + Returns: + A tuple with the addresses representing the memory range (start, end) of the BPF program. + """ + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + vmlinux_layer = vmlinux.context.layers[vmlinux.layer_name] + # Based on bpf_get_prog_addr_region() + bpf_start_address = self.bpf_jit_binary_hdr_address() + + if vmlinux.has_type("bpf_binary_header"): + # kernels >= 3.11 314beb9bcabfd6b4542ccbced2402af2c6f6142a + bpf_binary_header = vmlinux.object( + object_type="bpf_binary_header", offset=bpf_start_address, absolute=True + ) + pages = bpf_binary_header.pages + else: + # kernels < 3.11 The first member is always the size + pages = vmlinux.object( + object_type="unsigned int", offset=bpf_start_address, absolute=True + ) + + bpf_end_address = bpf_start_address + pages * vmlinux_layer.page_size + + return bpf_start_address, bpf_end_address + class bpf_prog_aux(objects.StructType): def get_name(self) -> Union[str, None]: From 7e4b548e1735a4ea1e6c41b244f71e075a6790df Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 16:36:56 +1100 Subject: [PATCH 1336/2186] linux: task_struct object extension: Add method to get the task address space layer, even if its a kernel thread --- .../framework/symbols/linux/extensions/__init__.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 4aff317a5..fd5e85057 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -407,6 +407,19 @@ class task_struct(generic.GenericIntelProcess): self._context, dtb, config_prefix, preferred_name ) + def get_address_space_layer( + self, + ) -> Optional[interfaces.layers.TranslationLayerInterface]: + """Returns the task layer for this task's address space.""" + + task_layer_name = ( + self.vol.layer_name if self.is_kernel_thread else self.add_process_layer() + ) + if not task_layer_name: + return None + + return self._context.layers[task_layer_name] + def get_process_memory_sections( self, heap_only: bool = False ) -> Generator[Tuple[int, int], None, None]: From 6174687204840618da1784400913a5a7fa4b9ff4 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 16:39:45 +1100 Subject: [PATCH 1337/2186] linux: Introduce Kallsyms API --- .../framework/constants/linux/__init__.py | 21 + .../framework/symbols/linux/kallsyms.py | 1636 +++++++++++++++++ 2 files changed, 1657 insertions(+) create mode 100644 volatility3/framework/symbols/linux/kallsyms.py diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index f7f3faf87..99867b1fd 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -356,6 +356,27 @@ MODULE_MINIMUM_SIZE = 4096 # Kallsyms KSYM_NAME_LEN = 512 +NM_TYPES_DESC = { + "a": "Symbol is absolute and doesn't change during linking", + "b": "Symbol in the BSS section, typically holding zero-initialized or uninitialized data", + "c": "Symbol is common, typically holding uninitialized data", + "d": "Symbol is in the initialized data section", + "g": "Symbol is in an initialized data section for small objects", + "i": "Symbol is an indirect reference to another symbol", + "N": "Symbol is a debugging symbol", + "n": "Symbol is in a non-data, non-code, non-debug read-only section", + "p": "Symbol is in a stack unwind section", + "r": "Symbol is in a read only data section", + "s": "Symbol is in an uninitialized or zero-initialized data section for small objects", + "t": "Symbol is in the text (code) section", + "U": "Symbol is undefined", + "u": "Symbol is a unique global symbol", + "V": "Symbol is a weak object, with a default value", + "v": "Symbol is a weak object", + "W": "Symbol is a weak symbol but not marked as a weak object symbol, with a default value", + "w": "Symbol is a weak symbol but not marked as a weak object symbol", + "?": "Symbol type is unknown", +} # VMCOREINFO VMCOREINFO_MAGIC = b"VMCOREINFO\x00" diff --git a/volatility3/framework/symbols/linux/kallsyms.py b/volatility3/framework/symbols/linux/kallsyms.py new file mode 100644 index 000000000..5310c8393 --- /dev/null +++ b/volatility3/framework/symbols/linux/kallsyms.py @@ -0,0 +1,1636 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import dataclasses +import functools +import logging +from typing import Iterator, List, Optional, Tuple + +from volatility3.framework import constants, exceptions, interfaces +from volatility3.framework.configuration import requirements +from volatility3.framework.constants import linux as linux_constants +from volatility3.framework.objects import utility +from volatility3.framework.symbols import linux +from volatility3.plugins.linux import lsmod + +vollog = logging.getLogger(__name__) + + +@dataclasses.dataclass +class KASConfig: + """Kallsyms configuration class""" + + num_syms_address: int + names_address: int + token_table_address: int + token_index_address: int + offsets_address: int + relative_base_address: int + _stext: int + + # Usually not in VMCOREINFO, these are found during the bootstrap stage. + # If an ISF is available, they are fetched from there instead. + markers_address: int = None + addresses_address: int = None + _sinittext: int = None + _einittext: int = None + _etext: int = None + _end: int = None + mod_tree: int = None + module_addr_min: int = None + module_addr_max: int = None + start_ksymtab: int = None + stop_ksymtab: int = None + bpf_tree_address: int = None + seqs_of_names_address: int = None + + num_syms_type_size: int = None + markers_type_size: int = None + kernel_symbol_size: int = None + + @classmethod + def _get_symbol_address(cls, context, layer_name, module_name, symbol_name): + vmlinux = context.modules[module_name] + if not vmlinux.has_symbol(symbol_name): + return None + + layer = context.layers[layer_name] + address = vmlinux.get_symbol(symbol_name).address + address += layer.config["kernel_virtual_offset"] + return address + + @classmethod + def new_from_isf(cls, context, layer_name, module_name): + vmlinux = context.modules[module_name] + + # kallsyms_num_syms and kallsyms_markers types were updated from a unsigned long + # to unsigned int in 4.20 80ffbaa5b1bd98e80e3239a3b8cfda2da433009a + num_syms_type_size = vmlinux.get_symbol("kallsyms_num_syms").type.size + kernel_symbol_size = vmlinux.get_type("kernel_symbol").size + + def get_symbol_address(symbol_name): + return cls._get_symbol_address( + context, layer_name, module_name, symbol_name + ) + + kas_config = KASConfig( + num_syms_address=get_symbol_address("kallsyms_num_syms"), + names_address=get_symbol_address("kallsyms_names"), + token_table_address=get_symbol_address("kallsyms_token_table"), + token_index_address=get_symbol_address("kallsyms_token_index"), + offsets_address=get_symbol_address("kallsyms_offsets"), + relative_base_address=get_symbol_address("kallsyms_relative_base"), + markers_address=get_symbol_address("kallsyms_markers"), + addresses_address=get_symbol_address("kallsyms_addresses"), + _sinittext=get_symbol_address("_sinittext"), + _einittext=get_symbol_address("_einittext"), + _stext=get_symbol_address("_stext"), + _etext=get_symbol_address("_etext"), + _end=get_symbol_address("_end"), + mod_tree=get_symbol_address("mod_tree"), + module_addr_min=get_symbol_address("module_addr_min"), + module_addr_max=get_symbol_address("module_addr_max"), + start_ksymtab=get_symbol_address("__start___ksymtab"), + stop_ksymtab=get_symbol_address("__stop___ksymtab"), + bpf_tree_address=get_symbol_address("bpf_tree"), + seqs_of_names_address=get_symbol_address("kallsyms_seqs_of_names"), + num_syms_type_size=num_syms_type_size, + markers_type_size=num_syms_type_size, + kernel_symbol_size=kernel_symbol_size, + ) + return kas_config + + +class _KallsymsIO: + """Helper to interpret a memory address as a file pointer. + + For internal use within the Kallsyms API; external use is discouraged. + """ + + def __init__( + self, + context: interfaces.context.ContextInterface, + layer_name: str, + base=0, + endian="little", + ): + self._context = context + self._layer_name = layer_name + self._base = base + self._position = base + self._endian = endian + + def read(self, size: int) -> bytes: + """Return 'size' bytes from the current postion""" + layer = self._context.layers[self._layer_name] + buf = layer.read(offset=self._position, length=size) + self._position += size + return buf + + def read_str(self, size: int) -> str: + """Returns 'size' bytes as a string from the current position.""" + return self.read(size).decode() + + def read_int(self, size: int, signed: bool = False) -> int: + """Returns the integer stored in the current position using 'size' bytes. + Args: + size: Number of bytes to use for the int. + signed: Integer sign. + + Returns: + The integer stored in the current position. + """ + return int.from_bytes( + self.read(size), + byteorder=self._endian, + signed=signed, + ) + + def seek(self, offset: int) -> None: + """Seek the pointer to the given offset, based on the base address. + + Args: + offset: offset from the base address + """ + self._position = self._base + offset + + +@dataclasses.dataclass +class KASSymbolBasic: + name: str + type: str + + +@dataclasses.dataclass +class KASSymbol(KASSymbolBasic): + address: int + size: int + module_name: str + exported: bool = False + subsystem: str = None + + def __str__(self): + return ( + f"name:{self.name}, type:{self.type}, address:{self.address:#x}, " + f"size:{self.size}, exported:{self.exported}, subsystem:{self.subsystem}" + ) + + def set_exported_from_type(self) -> None: + """Updates the 'export' member based on the symbol's type. + + This method evaluates the symbol's type and sets the 'export' member + to indicate whether the object is exported. This code and Linux kernel follows + the nm symbol type logic. + """ + # As per the "nm" man page: + # If lowercase, the symbol is usually local; if uppercase, the symbol is + # global (external). There are however a few lowercase symbols that are shown + # for special global symbols ("u", "v" and "w"). + self.exported = bool(self.type.isupper() or self.type in ("u", "v", "w")) + + @functools.cached_property + def type_description(self) -> Optional[str]: + """Returns the interpreted meaning of the symbol type based on the nm tool. + + Returns: + A string with the type description. + """ + # If a symbol type exists with the original case, get it + symbol_type_description = linux_constants.NM_TYPES_DESC.get(self.type, None) + if symbol_type_description: + return symbol_type_description + + # Otherwise, use the lowercase version + symbol_type_description = linux_constants.NM_TYPES_DESC.get( + self.type.lower(), None + ) + return symbol_type_description + + +@dataclasses.dataclass +class KASFilter: + name: str + type: str + + +class Kallsyms(interfaces.configuration.VersionableInterface): + """Kallsyms API class""" + + _required_framework_version = (2, 19, 0) + _version = (1, 0, 0) + + # Internal kernel core constants + _CORE_SUBSYSTEM_NAME = "core" + _CORE_MODULE_NAME = "kernel" + + # Internal module constants + _MODULE_SUBSYSTEM_NAME = "module" + + # Internal FTrace constants + _FTRACE_SUBSYSTEM_NAME = "ftrace" + _FTRACE_MODULE_SYM_TYPE = "T" + _FTRACE_TRAMPOLINE_MODULE_NAME = "__builtin__ftrace" + _FTRACE_TRAMPOLINE_SYM = "ftrace_trampoline" + _FTRACE_TRAMPOLINE_SYM_TYPE = "t" + + # Internal BPF constants + _BPF_SUBSYSTEM_NAME = "bpf" + _BPF_MODULE_NAME = "bpf" + _BPF_SYM_TYPE = "t" + + def __init__( + self, + context: interfaces.context.ContextInterface, + layer_name: str, + module_name: str, + kas_config: KASConfig = None, + progress_callback: constants.ProgressCallback = None, + ) -> None: + """Initialize the Kallsyms API + + Args: + context: The context used to access memory layers and symbols + layer_name: The name of layer within the context in which the module exists + module_name: The name of the kernel module on which to operate + kas_config: The KAllSyms configuration + progress_callback: Method that is called periodically during scanning to + update progress + """ + super().__init__() + + self._assert_versions() + + self._context = context + self._layer_name = layer_name + self._module_name = module_name + self._kas_config = kas_config + self._progress_callback = progress_callback + if progress_callback and not callable(progress_callback): + raise TypeError("Progress_callback is not callable") + + if not kas_config: + self._kas_config = KASConfig.new_from_isf( + context=context, + layer_name=layer_name, + module_name=module_name, + ) + + layer = self._context.layers[self._layer_name] + # FIXME: The layer lacks this information. Could there be a better alternative? + self._endian = "little" if layer._entry_format[0] == "<" else "big" + self._long_size = layer.bits_per_register // 8 + + self._kallsyms_num_syms = None + self._kallsyms_relative_base = None + + self._kallsyms_token_index_address = None + self._kallsyms_offsets_address = None + self._kallsyms_names_io = _KallsymsIO( + context=self._context, + layer_name=self._layer_name, + base=self._kas_config.names_address, + endian=self._endian, + ) + + self._kallsyms_token_table_io = _KallsymsIO( + context=self._context, + layer_name=self._layer_name, + base=self._kas_config.token_table_address, + endian=self._endian, + ) + + self._bootstrap() + + @classmethod + def _assert_versions(cls) -> None: + """Verify versions of shared dependencies""" + lsmod_version_required = (2, 0, 0) + if not requirements.VersionRequirement.matches_required( + lsmod_version_required, lsmod.Lsmod.version + ): + raise exceptions.VolatilityException( + "Lsmod version not suitable: " + f"required {lsmod_version_required} found {lsmod.Lsmod.version}", + ) + + return None + + def _read_bytes(self, address: int, size: int) -> bytes: + layer = self._context.layers[self._layer_name] + return layer.read(address, size).decode() + + def _read_int(self, address: int, size: int, signed: bool = False) -> int: + layer = self._context.layers[self._layer_name] + return int.from_bytes( + layer.read(address, size), + byteorder=self._endian, + signed=signed, + ) + + def _bootstrap(self) -> None: + layer = self._context.layers[self._layer_name] + # kallsyms_num_syms and kallsyms_markers[] types were updated from a unsigned long + # to unsigned int in 4.20 80ffbaa5b1bd98e80e3239a3b8cfda2da433009a + self._kallsyms_num_syms = self._read_int( + self._kas_config.num_syms_address, + self._kas_config.num_syms_type_size, + signed=False, + ) + + if self._kas_config.relative_base_address: + # kernels >= 4.6 + self._kallsyms_relative_base = ( + self._read_int( + self._kas_config.relative_base_address, + self._long_size, + signed=False, + ) + & layer.address_mask + ) + + self._kallsyms_offsets_address = self._kas_config.offsets_address + self._kallsyms_token_index_address = self._kas_config.token_index_address + + # Preload the kallsyms_token_index array + short_size = 2 + self._kallsyms_token_index = [ + self._read_int( + self._kallsyms_token_index_address + index * short_size, + short_size, + signed=False, + ) + for index in range(256) + ] + + def _get_symbol( + self, + offset, + index, + filters: List[KASFilter] = None, + ) -> Optional[Tuple[KASSymbol, int]]: + kassymbolbasic, compressed_length = self._expand_symbol(offset, filters) + kassymbol = None + if kassymbolbasic: + sym_addr = self._get_symbol_address_by_index(index=index) + _, sym_size = self._get_symbol_pos(sym_addr) + + kassymbol = KASSymbol( + name=kassymbolbasic.name, + type=kassymbolbasic.type, + address=sym_addr, + size=sym_size, + module_name=self._CORE_MODULE_NAME, + subsystem=self._CORE_SUBSYSTEM_NAME, + ) + kassymbol.set_exported_from_type() + return kassymbol, compressed_length + + def get_core_symbols( + self, + progress_callback: constants.ProgressCallback = None, + ) -> Iterator[KASSymbol]: + """Yield each kernel core symbol + + Args: + progress_callback: Method that is called periodically during scanning to + update progress + + Based on kallsyms_on_each_symbol() + + Yields: + KASSymbol objects + """ + current_offset = 0 + for sym_idx in range(self._kallsyms_num_syms): + kassymbol, compressed_length = self._get_symbol(current_offset, sym_idx) + if kassymbol: + yield kassymbol + + if progress_callback: + progress_callback( + (sym_idx / self._kallsyms_num_syms) * 100, + "Populating Kallsyms core symbols", + ) + + current_offset += compressed_length + 1 + + def _expand_symbol( + self, + offset: int, + filters: List[KASFilter] = None, + ) -> Tuple[KASSymbolBasic, int]: + """Expand a compressed symbol using its offset in the stream + Based on kallsyms_expand_symbol() + + Args: + offset: Symbol offset in the kallsyms arrays. + filters: List of KASFilter filters + + Returns: + A tuple with a KASSymbolBasic object and the symbol name's compressed length. + """ + filters = filters if filters is not None else [] + type_filters = tuple(kassymbolfilter.type for kassymbolfilter in filters) + + self._kallsyms_names_io.seek(offset) + # The compressed symbol length is in the first byte + compressed_length = self._kallsyms_names_io.read_int(size=1) + if compressed_length & 0x80 != 0: + # kernels >= 6.1 73bbb94466fd3f8b313eeb0b0467314a262dddb3 + # MSB 1 means a 'big' symbol, we need an extra byte + lower_byte = compressed_length + upper_byte = self._kallsyms_names_io.read_int(size=1) + compressed_length = (upper_byte << 7) | (lower_byte & 0x7F) + + abort_decompression = False + sym_type = None + sym_name = "" + for _ in range(compressed_length): + token_index_index = self._kallsyms_names_io.read_int(size=1) + token_index = self._kallsyms_token_index[token_index_index] + self._kallsyms_token_table_io.seek(token_index) + token = self._kallsyms_token_table_io.read_str(1) + while token != "\x00": + if not sym_type: + sym_type = token + # We got the symbol type, we can abort this immediatelly + if type_filters and sym_type not in type_filters: + abort_decompression = True + break + else: + sym_name += token + for kassymbolfilter in filters: + if kassymbolfilter.type is not None: + if ( + sym_type == kassymbolfilter.type + and kassymbolfilter.name.startswith(sym_name) + ): + break + elif kassymbolfilter.name.startswith(sym_name): + break + + else: + if filters: + abort_decompression = True + + token = self._kallsyms_token_table_io.read_str(1) + + if abort_decompression: + break + + kassymbolbasic = ( + KASSymbolBasic(name=sym_name, type=sym_type) + if not abort_decompression + else None + ) + return kassymbolbasic, compressed_length + + def _get_symbol_address_by_index(self, index: int) -> int: + """Return symbol address based on the symbol index in the kallsyms arrays. + Based on kallsyms_sym_address() + + Args: + index: Symbol index + + Returns: + Symbol address + """ + if self._kallsyms_offsets_address: + # kernels >= 4.6 - Addresses are relative to kallsyms_relative_base + # It assumes: CONFIG_KALLSYMS_BASE_RELATIVE=y and CONFIG_KALLSYMS_ABSOLUTE_PERCPU=y + signed_int_size = 4 + sym_offset_ptr = self._kallsyms_offsets_address + (index * signed_int_size) + sym_addr = self._read_int(sym_offset_ptr, signed_int_size, signed=True) + + if sym_addr < 0: + # Negative offsets are relative to kallsyms_relative_base - 1 + return self._kallsyms_relative_base - 1 - sym_addr + + # Positive offsets are absolute values + return sym_addr + elif self._kas_config.addresses_address: + # kernels < 4.6 - Addresses are absolute + # unsigned long kallsyms_addresses[] + kallsyms_address = self._read_int( + self._kas_config.addresses_address + (index * self._long_size), + self._long_size, + signed=False, + ) + return kallsyms_address + else: + raise exceptions.VolatilityException("Unsupported kernel") + + @functools.lru_cache + def _get_symbol_pos(self, address: int) -> Tuple[int, int]: + """Returns the symbol position in the kallsyms arrays and its size.""" + low = 0 + high = self._kallsyms_num_syms + + while high - low > 1: + mid = low + (high - low) // 2 + if self._get_symbol_address_by_index(mid) <= address: + low = mid + else: + high = mid + + # Search for the first aliased symbol. *Aliased symbols* are symbols with the same address. + while low and self._get_symbol_address_by_index( + low - 1 + ) == self._get_symbol_address_by_index(low): + low -= 1 + + symbol_start = self._get_symbol_address_by_index(low) + symbol_end = 0 + + # Search for next non-aliased symbol. + for idx in range(low + 1, self._kallsyms_num_syms): + if self._get_symbol_address_by_index(idx) > symbol_start: + symbol_end = self._get_symbol_address_by_index(idx) + break + + # pylint: disable=protected-access + # If no next symbol is found, we default to using the end of the section + if not symbol_end: + if self._is_kernel_inittext(address): + symbol_end = self._kas_config._einittext + elif self._kas_config._end is not None: + # Assume CONFIG_KALLSYMS_ALL=y. Otherwise, symbol_end will be _etext + symbol_end = self._kas_config._end + else: + symbol_end = self._kas_config._etext + + symbol_size = symbol_end - symbol_start + + return low, symbol_size + + @functools.lru_cache + def _get_symbol_offset(self, index: int) -> int: + """Find the offset on the compressed stream given the index in the kallsyms array. + + Based on get_symbol_offset + + Returns: + Offset on the compressed stream + """ + + # Use the nearest marker, placed every 256 positions + kallsyms_markers_pos_ptr = ( + self._kas_config.markers_address + + (index >> 8) * self._kas_config.markers_type_size + ) + kallsyms_markers_pos = self._read_int( + kallsyms_markers_pos_ptr, self._kas_config.markers_type_size, signed=False + ) + name_addr = self._kas_config.names_address + kallsyms_markers_pos + + # Scan symbols sequentially until the target. Each symbol uses a + # [][ bytes of data] format, so we skip symbols by adding their length + # to the pointer value. + for _ in range(index & 0xFF): + compressed_length = self._read_int(name_addr, 1) + if compressed_length & 0x80 != 0: + # kernels >= 6.1 73bbb94466fd3f8b313eeb0b0467314a262dddb3 + # MSB 1 means a 'big' symbol, we need an extra byte + lower_byte = compressed_length + upper_byte = self._kallsyms_names_io.read_int(size=1) + compressed_length = (upper_byte << 7) | (lower_byte & 0x7F) + + name_addr += compressed_length + 1 + + return name_addr - self._kas_config.names_address + + def _is_kernel_inittext(self, addr: int) -> bool: + # pylint: disable=protected-access + if not (self._kas_config._sinittext and self._kas_config._einittext): + # We don't know + return False + + return self._kas_config._sinittext <= addr < self._kas_config._einittext + + def _is_kernel_text(self, addr: int) -> bool: + # pylint: disable=protected-access + return self._kas_config._stext <= addr < self._kas_config._etext + + def _is_core_ksym_addr(self, addr: int) -> bool: + return self._is_kernel_text(addr) or self._is_kernel_inittext(addr) + + def lookup_address(self, address: int) -> Optional[KASSymbol]: + """Search for a symbol by its memory address. + + This function scans kernel core, module symbols, BPF symbols, and Ftrace symbols + to locate the first symbol matching the specified address. Note that multiple + symbols (aliased symbols) can share the same memory address, so this method + returns the first match found. + + Based on kallsyms_lookup. + + Args: + address: The memory address to search for. + + Returns: + The matching symbol if found, or None if no match is found. + """ + layer = self._context.layers[self._layer_name] + address &= layer.address_mask + + kassymbol = self.core_lookup_address(address) + if not kassymbol: + kassymbol = self.module_lookup_address(address) + + if not kassymbol: + kassymbol = self.bpf_lookup_address(address) + + if not kassymbol: + kassymbol = self.ftrace_lookup_address(address) + + return kassymbol + + def core_lookup_address(self, address: int) -> Optional[KASSymbol]: + """Search for a symbol by its memory address within the kernel core. + + Based on kallsyms_lookup_buildid. + + Args: + address: The memory address to search for. + + Returns: + The matching symbol if found, or None if no match is found. + """ + layer = self._context.layers[self._layer_name] + address &= layer.address_mask + + if not self._is_core_ksym_addr(address): + return None + + pos, sym_size = self._get_symbol_pos(address) + offset = self._get_symbol_offset(pos) + sym_address = self._get_symbol_address_by_index(pos) + kassymbolbasic, _compressed_length = self._expand_symbol(offset) + + if not kassymbolbasic: + return None + + kas_symbol = KASSymbol( + name=kassymbolbasic.name, + type=kassymbolbasic.type, + address=sym_address, + size=sym_size, + module_name=self._CORE_MODULE_NAME, + subsystem=self._CORE_SUBSYSTEM_NAME, + ) + kas_symbol.set_exported_from_type() + return kas_symbol + + def _is_symbol_exported( + self, + name: int, + address: int, + module: Optional[interfaces.objects.ObjectInterface] = None, + ) -> bool: + """Check if the address belongs to an exported symbol. + If a module object is provided, it searches in that module symbols. + Otherwise, it searches in the global symbols. + + Bases on is_exported + + Args: + name: Symbol name + address: Symbol address + module: Module object. Defaults to None. + + Returns: + True if the symbol is exported; otherwise, returns False + """ + if module: + if module.num_syms <= 0: + return False + + start_mod_ksymtab = module.syms + stop_mod_ksymtab = ( + start_mod_ksymtab + + module.num_syms * self._kas_config.kernel_symbol_size + ) + kernel_symbol = self._find_exported_symbol_in_range( + name, start_mod_ksymtab, stop_mod_ksymtab + ) + else: + # Search the not GPL modules + kernel_symbol = self._find_exported_symbol_in_range( + name, + self._kas_config.start_ksymtab, + self._kas_config.stop_ksymtab, + ) + + return kernel_symbol is not None and kernel_symbol.value == address + + def _elfsym_to_kassymbol( + self, + module: interfaces.objects.ObjectInterface, + elf_sym_obj: interfaces.objects.ObjectInterface, + elf_sym_index: int, + subsystem: str = None, + ) -> Optional[KASSymbol]: + """Returns a KASSymbol from a ElfSym + + Args: + module: Module object + elf_sym_obj: ElfSym object + elf_sym_index: ElfSym index + subsystem: Name of the sub-subtem: core, module, bpf, ftrace, etc + + Returns: + A KASSymbol object + """ + layer = self._context.layers[self._layer_name] + sym_name = elf_sym_obj.get_name() + if not sym_name: + return None + + # Normalize sym.st_value offset, which is an address pointing to the symbol value + sym_address = elf_sym_obj.st_value & layer.address_mask + sym_type = module.get_symbol_type(elf_sym_obj, elf_sym_index) + + kas_symbol = KASSymbol( + name=sym_name, + type=sym_type, + address=sym_address, + size=elf_sym_obj.st_size, + module_name=module.get_name(), + exported=False, + subsystem=subsystem, + ) + kas_symbol.set_exported_from_type() + return kas_symbol + + def _is_module_ksym_address(self, address: int) -> bool: + return self._modules_address_min <= address <= self._modules_address_max + + def module_lookup_address( + self, + address: int, + module: Optional[interfaces.objects.ObjectInterface] = None, + ) -> Optional[KASSymbol]: + """Search for a symbol within kernel modules based on its memory address. + If a module object is provided, it will only search in that module. Otherwise, + it will try to first find the module to where the provided address belong to. + + Based on module_address_lookup. + + Args: + address: The memory address of the symbol to search for + module [optional]: The module to search within. If not provided, the module + containing the address will be automatically determined + + Returns: + The matching KASSymbol if found; otherwise, returns None + """ + if not self._is_module_ksym_address(address): + return None + + module = module or self.get_module_by_address(address) + if not module: + return None + + kassymbol = self._find_address_in_module_symbols(module, address) + if not kassymbol: + return None + + return kassymbol + + def _find_address_in_module_symbols( + self, + module: interfaces.objects.ObjectInterface, + address: int, + ) -> Optional[KASSymbol]: + """Find the symbol corresponding to a given address within a module. + + Based on find_kallsyms_symbol + + Args: + module: The module where the address belongs to + address: The memory address to search for + + Returns: + The matching KASSymbol if found; otherwise, returns None + """ + layer = self._context.layers[self._layer_name] + for elf_sym_idx, elf_sym in enumerate(module.get_symbols()): + if not elf_sym.get_name(): + continue + + sym_address_start = elf_sym.st_value & layer.address_mask + sym_address_end = sym_address_start + elf_sym.st_size + + if sym_address_start <= address < sym_address_end: + return self._elfsym_to_kassymbol( + module, elf_sym, elf_sym_idx, subsystem=self._MODULE_SUBSYSTEM_NAME + ) + + return None + + @functools.lru_cache + def _get_modules_memory_boundaries(self) -> Tuple[int, int]: + """Determine the boundaries of the module allocation area + + Returns: + A tuple containing the minimum and maximum addresses for the kernel module + allocation area. + """ + + if self._kas_config.mod_tree: + # Kernel >= 5.19 58d208de3e8d87dbe196caf0b57cc58c7a3836ca + mod_tree_address = self._kas_config.mod_tree + vmlinux = self._context.modules[self._module_name] + mod_tree = vmlinux.object( + object_type="mod_tree_root", + offset=mod_tree_address, + absolute=True, + ) + addr_min, addr_max = mod_tree.addr_min, mod_tree.addr_max + elif self._kas_config.module_addr_min and self._kas_config.module_addr_max: + # 2.6.27 <= kernel < 5.19 3a642e99babe0617febb6f402e1e063479f489db + kas_config = self._kas_config + addr_min, addr_max = kas_config.module_addr_min, kas_config.module_addr_max + else: + raise exceptions.VolatilityException( + "Cannot find the module memory allocation area. Unsupported kernel" + ) + + layer = self._context.layers[self._layer_name] + return addr_min & layer.address_mask, addr_max & layer.address_mask + + @functools.cached_property + def _modules_address_min(self): + address_min, _address_max = self._get_modules_memory_boundaries() + return address_min + + @functools.cached_property + def _modules_address_max(self): + _address_min, address_max = self._get_modules_memory_boundaries() + return address_max + + def get_module_by_address( + self, address: int + ) -> Optional[interfaces.objects.ObjectInterface]: + """Searches for the module that contains the given memory address within its range. + It uses a latch tree for optimized address range searching. + + Based on __module_address() + + Args: + address: The module memory address to search for. + + Returns: + The matching module if found; otherwise, returns None + """ + if not self._is_module_ksym_address(address): + return None + + return self._search_module_by_address(address) + + @functools.lru_cache + def _get_type_cache(self, name: str): + vmlinux = self._context.modules[self._module_name] + return vmlinux.get_type(name) + + def _mod_tree_comp( + self, address: int, latch_tree_node: interfaces.objects.ObjectInterface + ) -> int: + vmlinux = self._context.modules[self._module_name] + + module_memory_mtn_offset = self._get_type_cache( + "module_memory" + ).relative_child_offset("mtn") + mod_tree_node_mod_offset = self._get_type_cache( + "mod_tree_node" + ).relative_child_offset("mod") + + module_memory_offset = ( + latch_tree_node.vol.offset + + module_memory_mtn_offset + + mod_tree_node_mod_offset + ) + + module_memory = vmlinux.object( + object_type="module_memory", + offset=module_memory_offset, + absolute=True, + ) + start = module_memory.base + end = start + module_memory.size + + if address < start: + return -1 + elif address >= end: + return 1 + else: + return 0 + + def _search_module_by_address( + self, address: int + ) -> Optional[interfaces.objects.ObjectInterface]: + """Searches for the module that contains the given memory address within its range. + It uses a latch tree for optimized address range searching. + + Based on mod_find + + Args: + address: The module memory address to search for + + Returns: + The matching module if found; otherwise, returns None + """ + vmlinux = self._context.modules[self._module_name] + if self._kas_config.mod_tree: + mod_tree_address = self._kas_config.mod_tree + mod_tree = vmlinux.object( + object_type="mod_tree_root", + offset=mod_tree_address, + absolute=True, + ) + latch_tree_root = mod_tree.root + latch_tree_node = latch_tree_root.find(address, self._mod_tree_comp) + if latch_tree_node: + mod_tree_node = linux.LinuxUtilities.container_of( + latch_tree_node.vol.offset, "mod_tree_node", "node", vmlinux + ) + module_ptr = mod_tree_node.mod + if not module_ptr.is_readable(): + vollog.error("Something went wrong") + return None + + return module_ptr.dereference() + else: + raise NotImplementedError("FIXME") + + return None + + def _find_exported_symbol_in_range( + self, name: str, start: int, stop: int + ) -> Optional[interfaces.objects.ObjectInterface]: + """Find an exported symbol within a specified range of kernel symbols. + + Based on lookup_exported_symbol + + Args: + name: Symbol name + start: Start address + stop: Stop address + + Returns: + The matching kernel_symbol object if found, or None if no match is found. + """ + + num_elems = (stop - start) // self._kas_config.kernel_symbol_size + + return self._search_kernel_symbol_object_by_name( + name, + base=start, + num_elems=num_elems, + ) + + def _cmp_kernel_symbol_name( + self, + name: str, + kernel_symbol: interfaces.objects.ObjectInterface, + ) -> int: + return self._cmp_symbol_name(name, kernel_symbol.name) + + def _cmp_symbol_name( + self, + name: str, + other: str, + ) -> int: + if name == other: + return 0 + elif name < other: + return -1 + else: + return 1 + + def _search_kernel_symbol_object_by_name( + self, name: str, base: int, num_elems: int + ) -> Optional[interfaces.objects.ObjectInterface]: + """Search a kernel_symbol by name using binary search. + + Based on bsearch / __inline_bsearch() + + Args: + name: Symbol name + base: Base address + num_elems: Number of elements + + Returns: + A kernel_symbol object + """ + vmlinux = self._context.modules[self._module_name] + while num_elems > 0: + pivot = base + (num_elems // 2) * self._kas_config.kernel_symbol_size + + kernel_symbol_pivot = vmlinux.object( + object_type="kernel_symbol", + offset=pivot, + absolute=True, + ) + + result = self._cmp_kernel_symbol_name(name, kernel_symbol_pivot) + if result == 0: + return kernel_symbol_pivot + elif result > 0: + base = pivot + self._kas_config.kernel_symbol_size + num_elems -= 1 + + num_elems = num_elems // 2 + + return None + + def get_modules_symbols(self, name: str = None) -> Iterator[KASSymbol]: + """Yield each symbol from the kernel modules. + This function iterates over the symbols of the kernel modules and yields them as + KASSymbol objects. + + name (optional): If specified, the symbol name used to filter the symbols. + + Yields: + KASSymbol objects + """ + layer = self._context.layers[self._layer_name] + for module in lsmod.Lsmod.list_modules(self._context, self._module_name): + module_name = utility.array_to_string(module.name) + for elf_sym_idx, elf_sym_obj in enumerate(module.get_symbols()): + sym_name = elf_sym_obj.get_name() + if not sym_name: + continue + + if name and name != sym_name: + continue + + # Normalize sym.st_value offset, which is an address pointing to the symbol value + sym_address = elf_sym_obj.st_value & layer.address_mask + sym_size = elf_sym_obj.st_size + sym_type = module.get_symbol_type(elf_sym_obj, elf_sym_idx) + is_exported = self._is_symbol_exported(sym_name, sym_address, module) + sym_type = sym_type.upper() if is_exported else sym_type.lower() + + yield KASSymbol( + name=sym_name, + type=sym_type, + address=sym_address, + size=sym_size, + exported=is_exported, + module_name=module_name, + subsystem=self._MODULE_SUBSYSTEM_NAME, + ) + + def _ftrace_mod_get_symbols(self, address: int = None) -> Iterator[KASSymbol]: + """Yield each symbol from the ftrace modules. + This function iterates over the symbols of the ftrace modules and yields them as + KASSymbol objects. + + Based on ftrace_mod_get_kallsym + + Args: + address (optional): Address to filter symbols by + + Yields: + KASSymbol objects + """ + vmlinux = self._context.modules[self._module_name] + layer = self._context.layers[self._layer_name] + if not ( + vmlinux.has_type("ftrace_mod_map") and vmlinux.has_type("ftrace_mod_func") + ): + # kernel < 4.15 aba4b5c22cbac296f4081a0476d0c55828f135b4 + vollog.warning( + "Unsupported Ftrace kallsyms implementation. Ignore this if it's a kernel < 4.15" + ) + return None + + symbol_table_name = vmlinux.symbol_table_name + ftrace_mod_map_symname = f"{symbol_table_name}{constants.BANG}ftrace_mod_map" + ftrace_mod_func_symname = f"{symbol_table_name}{constants.BANG}ftrace_mod_func" + ftrace_mod_maps = vmlinux.object_from_symbol("ftrace_mod_maps") + for mod_map in ftrace_mod_maps.to_list(ftrace_mod_map_symname, "list"): + for mod_func in mod_map.funcs.to_list(ftrace_mod_func_symname, "list"): + sym_name = utility.pointer_to_string( + mod_func.name, count=linux_constants.KSYM_NAME_LEN + ) + sym_addr = mod_func.ip & layer.address_mask + sym_size = mod_func.size + if address is not None and not ( + sym_addr <= address < sym_addr + sym_size + ): + continue + + module_name = utility.array_to_string(mod_map.mod.name) + kas_symbol = KASSymbol( + name=sym_name, + type=self._FTRACE_MODULE_SYM_TYPE, + address=sym_addr, + size=sym_size, + module_name=module_name, + subsystem=self._FTRACE_SUBSYSTEM_NAME, + ) + kas_symbol.set_exported_from_type() + yield kas_symbol + + def _ftrace_get_trampoline_symbols( + self, address: int = None + ) -> Iterator[KASSymbol]: + """Yield each symbol from the ftrace trampoline. + + Based on ftrace_get_trampoline_kallsym + + Args: + address (optional): Address to filter symbols by + + Yields: + KASSymbol objects + """ + # See kernel's ftrace_get_trampoline_kallsym() + vmlinux = self._context.modules[self._module_name] + if not vmlinux.has_type("ftrace_ops"): + # kernels < 2.6.27 16444a8a40d4c7b4f6de34af0cae1f76a4f6c901 + return None + + if not vmlinux.has_symbol("ftrace_ops_trampoline_list"): + # kernels < 5.9 fc0ea795f53c8d7040fa42471f74fe51d78d0834 + return None + + symbol_table_name = vmlinux.symbol_table_name + ftrace_ops_symname = f"{symbol_table_name}{constants.BANG}ftrace_ops" + ftrace_ops_trampoline_list = vmlinux.object_from_symbol( + "ftrace_ops_trampoline_list" + ) + + for ftrace_op in ftrace_ops_trampoline_list.to_list(ftrace_ops_symname, "list"): + sym_name = self._FTRACE_TRAMPOLINE_SYM + sym_addr = ftrace_op.trampoline + sym_size = ftrace_op.trampoline_size + + if address is not None and not (sym_addr <= address < sym_addr + sym_size): + continue + + kas_symbol = KASSymbol( + name=sym_name, + type=self._FTRACE_TRAMPOLINE_SYM_TYPE, + address=sym_addr, + size=sym_size, + module_name=self._FTRACE_TRAMPOLINE_MODULE_NAME, + subsystem=self._FTRACE_SUBSYSTEM_NAME, + ) + kas_symbol.set_exported_from_type() + yield kas_symbol + + def get_ftrace_symbols(self) -> Iterator[KASSymbol]: + """Yield each kernel ftrace symbol + + Yields: + KASSymbol objects + """ + yield from self._ftrace_mod_get_symbols() + yield from self._ftrace_get_trampoline_symbols() + + def get_bpf_symbols(self) -> Iterator[KASSymbol]: + """Yield each kernel BPF symbol + + Based on bpf_get_kallsym() + + Yields: + KASSymbol objects + """ + vmlinux = self._context.modules[self._module_name] + if vmlinux.has_type("bpf_ksym"): + # kernels >= 5.8 + list_type, list_head_member = "bpf_ksym", "lnode" + elif vmlinux.has_type("bpf_prog_aux"): + # 3.18 <= kernels < 5.8 + list_type, list_head_member = "bpf_prog_aux", "ksym_lnode" + else: + # kernels < 3.18 + vollog.warning( + "Unsupported BPF kallsysms implementation. Don't worry if kernel < 3.18" + ) + return None + + symbol_table_name = vmlinux.symbol_table_name + list_type_symname = f"{symbol_table_name}{constants.BANG}{list_type}" + + layer = self._context.layers[self._layer_name] + + # Even when bpf_jit_kallsyms is disabled (/proc/sys/net/core/bpf_jit_kallsyms = 0), + # this function will still be able to gather the symbols. + bpf_kallsyms_list = vmlinux.object_from_symbol("bpf_kallsyms") + for elem in bpf_kallsyms_list.to_list(list_type_symname, list_head_member): + # See kernel's bpf_get_kallsym() + if list_type == "bpf_ksym": + # kernels >= 5.8 + bpf_ksym = elem + sym_name = utility.array_to_string(bpf_ksym.name) + sym_addr = bpf_ksym.start + sym_size = bpf_ksym.end - bpf_ksym.start + else: + # list_type == "bpf_prog_aux" 3.18 <= kernels < 5.8 + bpf_prog_aux = elem + bpf_prog = bpf_prog_aux.prog + sym_name = bpf_prog.get_name() + sym_addr = bpf_prog.bpf_func + sym_start, sym_end = bpf_prog.get_address_region() + sym_size = sym_end - sym_start + + # The following are also hardcoded in the Linux kernel + # see kernel's get_ksymbol_bpf(), bpf_get_kallsym() and BPF_SYM_ELF_TYPE + module_name = self._BPF_MODULE_NAME + sym_type = self._BPF_SYM_TYPE + sym_addr &= layer.address_mask + + kas_symbol = KASSymbol( + name=sym_name, + type=sym_type, + address=sym_addr, + size=sym_size, + module_name=module_name, + subsystem=self._BPF_SUBSYSTEM_NAME, + ) + kas_symbol.set_exported_from_type() + yield kas_symbol + + def get_all_symbols(self) -> Iterator[KASSymbol]: + """Enumerates each kallsym symbol + + Yields: + KASSymbol objects + """ + yield from self.get_core_symbols() + yield from self.get_modules_symbols() + yield from self.get_ftrace_symbols() + yield from self.get_bpf_symbols() + + def bpf_lookup_address(self, address: int) -> Optional[KASSymbol]: + """Search for a BPF symbol based on its memory address. + + Based on bpf_address_lookup() and __bpf_address_lookup() + + Args: + address: The memory address to search for + + Returns: + The matching KASSymbol if found; otherwise, returns None + """ + vmlinux = self._context.modules[self._module_name] + + if vmlinux.has_type("bpf_ksym"): + # kernels >= 5.7 535911c80ad4f5801700e9d827a1985bbff41519 + bpf_ksym = self._find_bpf_ksym(address) + if not bpf_ksym: + return None + symbol_start = bpf_ksym.start + symbol_end = bpf_ksym.end + sym_name = utility.array_to_string(bpf_ksym.name) + sym_size = symbol_end - symbol_start + elif vmlinux.has_type("latch_tree_root") and vmlinux.get_type( + "bpf_prog_aux" + ).child_template("ksym_tnode"): + # For 4.11 <= kernels < 5.7 + # latch_tree_root was added in kernels 4.2 ade3f510f93a5613b672febe88eff8ea7f1c63b7 + # BPF kallsyms support was added in kernels 4.11 74451e66d516c55e309e8d89a4a1e7596e46aacd + bpf_prog = self._find_bpf_prog(address) + if not bpf_prog: + return None + + symbol_start, symbol_end = bpf_prog.get_addr_region() + sym_name = bpf_prog.get_name() + sym_size = symbol_end - symbol_start + else: + # kernel < 4.11 + vollog.warning( + "Unsupported BPF kallsyms implementation. Ignore this if it's a kernel < 4.11" + ) + return None + + layer = self._context.layers[self._layer_name] + symbol_start &= layer.address_mask + + kas_symbol = KASSymbol( + name=sym_name, + type=self._BPF_SYM_TYPE, + address=symbol_start, + size=sym_size, + module_name=self._BPF_MODULE_NAME, + subsystem=self._BPF_SUBSYSTEM_NAME, + ) + kas_symbol.set_exported_from_type() + return kas_symbol + + def _find_bpf_prog( + self, address: int + ) -> Optional[interfaces.objects.ObjectInterface]: + """Search for a BPF program based on its address. + Based on __bpf_address_lookup & bpf_prog_kallsyms_find() for kernels < 5.7 + + Args: + address: The BPF symbol address to search for + + Returns: + A bpf_prog object if found; otherwise, returns None. + """ + vmlinux = self._context.modules[self._module_name] + if not self._kas_config.bpf_tree_address: + return None + + bpf_latch_tree_root = vmlinux.object( + object_type="latch_tree_root", + offset=self._kas_config.bpf_tree_address, + absolute=True, + ) + latch_tree_node = bpf_latch_tree_root.find( + address, self._bpf_tree_comp_bpf_prog_aux + ) + + if not latch_tree_node: + return None + + bpf_prog_aux = linux.LinuxUtilities.container_of( + latch_tree_node.vol.offset, "bpf_prog_aux", "ksym_tnode", vmlinux + ) + bpf_prog = bpf_prog_aux.prog + return bpf_prog + + def _bpf_tree_comp_bpf_prog_aux( + self, address: int, latch_tree_node: interfaces.objects.ObjectInterface + ) -> int: + """Comparison function used by _find_bpf_prog() + Based on bpf_tree_comp for kernels < 5.7 + + Args: + address: The memory address to search for + latch_tree_node: A latch tree node + + Returns: + 0: equal, >0: key is greater, <0: key is less than this bpf_prog + """ + vmlinux = self._context.modules[self._module_name] + layer = self._context.layers[self._layer_name] + bpf_prog_aux = linux.LinuxUtilities.container_of( + latch_tree_node.vol.offset, "bpf_prog_aux", "ksym_tnode", vmlinux + ) + bpf_prog = bpf_prog_aux.prog + bpf_start, bpf_end = bpf_prog.get_address_region() + bpf_start &= layer.address_mask + bpf_end &= layer.address_mask + + if address < bpf_start: + return -1 + elif address > bpf_end: + # Keep 'key > end' instead of 'key >= end'. This detects return addresses + # within the program when the final instruction in a stack trace is a call. + return 1 + else: + return 0 + + def _find_bpf_ksym( + self, address: int + ) -> Optional[interfaces.objects.ObjectInterface]: + """Search for the respective bpf_ksym based on a symbol address. + Based on __bpf_address_lookup & bpf_ksym_find() for kernels >= 5.7 + + Args: + address: The memory address to search for + + Returns: + A bpf_ksym object if found; otherwise, returns None. + """ + vmlinux = self._context.modules[self._module_name] + if not self._kas_config.bpf_tree_address: + return None + + bpf_latch_tree_root = vmlinux.object( + object_type="latch_tree_root", + offset=self._kas_config.bpf_tree_address, + absolute=True, + ) + latch_tree_node = bpf_latch_tree_root.find( + address, self._bpf_tree_comp_bpf_ksym + ) + if not latch_tree_node: + return None + + bpf_ksym = linux.LinuxUtilities.container_of( + latch_tree_node.vol.offset, "bpf_ksym", "tnode", vmlinux + ) + return bpf_ksym + + def _bpf_tree_comp_bpf_ksym( + self, address: int, latch_tree_node: interfaces.objects.ObjectInterface + ) -> int: + """Comparison function used by _find_bpf_ksym. + + Based on bpf_tree_comp in kernels >= 5.7 + + Args: + address: The memory address to search for + latch_tree_node: A latch tree node + + Returns: + 0: equal, >0: key is greater, <0: key is less than this bpf_prog + """ + # + vmlinux = self._context.modules[self._module_name] + layer = self._context.layers[self._layer_name] + bpf_ksym = linux.LinuxUtilities.container_of( + latch_tree_node.vol.offset, "bpf_ksym", "tnode", vmlinux + ) + bpf_start = bpf_ksym.start & layer.address_mask + bpf_end = bpf_ksym.end & layer.address_mask + + if address < bpf_start: + return -1 + elif address > bpf_end: + # Keep 'address > bpf_end' instead of 'address >= bpf_end'. This detects return + # addresses within the program when the final instruction in a stack trace is a call. + return 1 + else: + return 0 + + def ftrace_lookup_address(self, address: int) -> Optional[KASSymbol]: + """Search for a ftrace symbol based on its address. + + Based on ftrace_mod_address_lookup() + + Args: + address: The memory address to search for + + Returns: + The matching KASSymbol if found, or None if no match is found. + """ + + # Filter by address and return only the first matching result. + for kassymbol in self._ftrace_mod_get_symbols(address): + return kassymbol + + for kassymbol in self._ftrace_get_trampoline_symbols(address): + return kassymbol + + return None + + def _core_lookup_name_slow(self, name) -> Optional[KASSymbol]: + """Search a core symbol by name + + Based on kallsyms_lookup_name in kernels < 6.2 + + Args: + name: The symbol name to search for. + + Returns: + A KASSymbol object + """ + # kernels < 6.2 60443c88f3a89fd303a9e8c0e84895910675c316 + current_offset = 0 + for sym_idx in range(self._kallsyms_num_syms): + kassymbol, compressed_length = self._get_symbol(current_offset, sym_idx) + if kassymbol and name == kassymbol.name: + return kassymbol + + current_offset += compressed_length + 1 + + return None + + @functools.cached_property + def _kallsyms_seqs_of_names(self): + vmlinux = self._context.modules[self._module_name] + symbol_table_name = vmlinux.symbol_table_name + unsigned_char_symname = symbol_table_name + constants.BANG + "unsigned char" + # See 19bd8981dc2ee35fdc81ab1b0104b607c917d470: 3 bytes per index + array_size = 3 * self._kallsyms_num_syms + kallsyms_seqs_of_names = vmlinux.object( + object_type="array", + offset=self._kas_config.seqs_of_names_address, + subtype=vmlinux.get_type(unsigned_char_symname), + count=array_size, + absolute=True, + ) + return kallsyms_seqs_of_names + + def _get_symbol_seq(self, index: int) -> int: + # See 19bd8981dc2ee35fdc81ab1b0104b607c917d470 + bits = 3 + seq = 0 + for i in range(bits): + seq = (seq << 8) | self._kallsyms_seqs_of_names[bits * index + i] + return seq + + def _get_symbol_by_index(self, index) -> Tuple[KASSymbolBasic, int]: + seq = self._get_symbol_seq(index) + offset = self._get_symbol_offset(seq) + kassymbolbasic, _compressed_length = self._expand_symbol(offset) + return kassymbolbasic + + def _lookup_name_index(self, name: str) -> Optional[int]: + # based on kallsyms_lookup_names + high = self._kallsyms_num_syms - 1 + low = 0 + + while low <= high: + mid = (low + high) // 2 + kassymbolbasic = self._get_symbol_by_index(mid) + if not kassymbolbasic: + return None + + ret = self._cmp_symbol_name(name, kassymbolbasic.name) + if ret > 0: + low = mid + 1 + elif ret < 0: + high = mid - 1 + else: + break + + if low > high: + # Not found + return None + + low = mid + while low: + kassymbolbasic = self._get_symbol_by_index(low - 1) + if not kassymbolbasic: + return None + if self._cmp_symbol_name(name, kassymbolbasic.name) != 0: + return low + low -= 1 + + return None + + def _core_lookup_name_fast(self, name: str) -> Optional[KASSymbol]: + """Search a core symbol by name + + Based on kallsyms_lookup_name in kernels >= 6.2 + + Args: + name: The symbol name to search for + + Returns: + A KASSymbol object + """ + # kernels >= 6.2 60443c88f3a89fd303a9e8c0e84895910675c316 + index = self._lookup_name_index(name) + if not index: + return None + + seq = self._get_symbol_seq(index) + offset = self._get_symbol_offset(seq) + kassymbolbasic, _compressed_length = self._expand_symbol(offset) + sym_address = self._get_symbol_address_by_index(seq) + _seq, sym_size = self._get_symbol_pos(sym_address) + + kas_symbol = KASSymbol( + name=kassymbolbasic.name, + type=kassymbolbasic.type, + address=sym_address, + size=sym_size, + module_name=self._CORE_MODULE_NAME, + subsystem=self._CORE_SUBSYSTEM_NAME, + ) + kas_symbol.set_exported_from_type() + return kas_symbol + + def _kallsyms_lookup_name_modules(self, name: str) -> Optional[KASSymbol]: + """_summary_ + + Based on module_kallsyms_lookup_name + + Args: + name: The symbol name to search for. + + Returns: + A KASSymbol object + """ + for kassymbol in self.get_modules_symbols(name): + if name == kassymbol.name: + # First match only + return kassymbol + return None + + def lookup_name(self, name: str) -> Optional[KASSymbol]: + """Search symbols by name. + WARNING: This function is super slow. The kernel does not index the symbols by + name, so the it is a linear search. + + Based on kallsyms_lookup_name + + Args: + name: The symbol name to search for. + + Returns: + A KASSymbol object + """ + if self._kas_config.seqs_of_names_address: + # kernels >= 6.2: + # 60443c88f3a89fd303a9e8c0e84895910675c316 and 19bd8981dc2ee35fdc81ab1b0104b607c917d470 + kassymbol = self._core_lookup_name_fast(name) + else: + # kernels < 6.2 + kassymbol = self._core_lookup_name_slow(name) + + if kassymbol: + return kassymbol + + return self._kallsyms_lookup_name_modules(name) From 97135a992a4eb01c07f3bd0eae50a172ef96389b Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 16:42:18 +1100 Subject: [PATCH 1338/2186] linux: add Kallsyms plugin --- .../framework/plugins/linux/kallsyms.py | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 volatility3/framework/plugins/linux/kallsyms.py diff --git a/volatility3/framework/plugins/linux/kallsyms.py b/volatility3/framework/plugins/linux/kallsyms.py new file mode 100644 index 000000000..9c48ed8b8 --- /dev/null +++ b/volatility3/framework/plugins/linux/kallsyms.py @@ -0,0 +1,89 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import List, Union + +from volatility3.framework import interfaces, renderers +from volatility3.framework.interfaces import plugins +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.framework.constants import architectures +from volatility3.framework.symbols.linux import kallsyms + + +vollog = logging.getLogger(__name__) + + +class Kallsyms(plugins.PluginInterface): + """Kallsyms symbols enumeration plugin""" + + _required_framework_version = (2, 19, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=architectures.LINUX_ARCHS, + ), + requirements.VersionRequirement( + name="Kallsyms", component=kallsyms.Kallsyms, version=(1, 0, 0) + ), + ] + + def _get_symbol_size( + self, kassymbol: kallsyms.KASSymbol + ) -> Union[int, interfaces.renderers.BaseAbsentValue]: + # Symbol sizes are calculated using the address of the next non-aliased + # symbol or the end of the kernel text area _end/_etext. However, some kernel + # symbols live beyond that area. For these symbols, the size will be negative, + # resulting in incorrect values. Unfortunately, there isn't much that can be done + # in such cases. + # See comments on .init.scratch in arch/x86/kernel/vmlinux.lds.S for details + return kassymbol.size if kassymbol.size >= 0 else renderers.NotAvailableValue() + + def _generator(self): + module_name = self.config["kernel"] + vmlinux = self.context.modules[module_name] + + kas = kallsyms.Kallsyms( + context=self.context, + layer_name=vmlinux.layer_name, + module_name=self.config["kernel"], + ) + + for kassymbol in kas.get_all_symbols(): + # Symbol sizes are calculated using the address of the next non-aliased + # symbol or the end of the kernel text area _end/_etext. However, some kernel + # symbols are located beyond that area, which causes this method to fail for + # the last symbol, resulting in a negative size. + # See comments on .init.scratch in arch/x86/kernel/vmlinux.lds.S for details + symbol_size = self._get_symbol_size(kassymbol) + fields = ( + format_hints.Hex(kassymbol.address), + kassymbol.type, + symbol_size, + kassymbol.exported, + kassymbol.subsystem, + kassymbol.module_name, + kassymbol.name, + kassymbol.type_description or renderers.NotAvailableValue(), + ) + yield 0, fields + + def run(self): + headers = [ + ("Addr", format_hints.Hex), + ("Type", str), + ("Size", int), + ("Exported", bool), + ("SubSystem", str), + ("ModuleName", str), + ("SymbolName", str), + ("Description", str), + ] + return renderers.TreeGrid(headers, self._generator()) From d665fcc2b5596c5571d302f44f529515b0465822 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 17:37:24 +1100 Subject: [PATCH 1339/2186] linux: kallsyms plugin: Enable filtering of symbols by subsystem --- .../framework/plugins/linux/kallsyms.py | 87 +++++++++++++++---- 1 file changed, 68 insertions(+), 19 deletions(-) diff --git a/volatility3/framework/plugins/linux/kallsyms.py b/volatility3/framework/plugins/linux/kallsyms.py index 9c48ed8b8..c97fafbcf 100644 --- a/volatility3/framework/plugins/linux/kallsyms.py +++ b/volatility3/framework/plugins/linux/kallsyms.py @@ -16,7 +16,12 @@ vollog = logging.getLogger(__name__) class Kallsyms(plugins.PluginInterface): - """Kallsyms symbols enumeration plugin""" + """Kallsyms symbols enumeration plugin. + + If no arguments are provided, all symbols are included: core, modules, ftrace, and BPF. + Alternatively, you can use any combination of --only-core, --only-modules, --only-ftrace, + and --only-bpf to customize the output. + """ _required_framework_version = (2, 19, 0) @@ -33,6 +38,30 @@ class Kallsyms(plugins.PluginInterface): requirements.VersionRequirement( name="Kallsyms", component=kallsyms.Kallsyms, version=(1, 0, 0) ), + requirements.BooleanRequirement( + name="only_core", + description="Include core symbols", + default=False, + optional=True, + ), + requirements.BooleanRequirement( + name="only_modules", + description="Include module symbols", + default=False, + optional=True, + ), + requirements.BooleanRequirement( + name="only_ftrace", + description="Include ftrace symbols", + default=False, + optional=True, + ), + requirements.BooleanRequirement( + name="only_bpf", + description="Include bpf symbols", + default=False, + optional=True, + ), ] def _get_symbol_size( @@ -56,24 +85,44 @@ class Kallsyms(plugins.PluginInterface): module_name=self.config["kernel"], ) - for kassymbol in kas.get_all_symbols(): - # Symbol sizes are calculated using the address of the next non-aliased - # symbol or the end of the kernel text area _end/_etext. However, some kernel - # symbols are located beyond that area, which causes this method to fail for - # the last symbol, resulting in a negative size. - # See comments on .init.scratch in arch/x86/kernel/vmlinux.lds.S for details - symbol_size = self._get_symbol_size(kassymbol) - fields = ( - format_hints.Hex(kassymbol.address), - kassymbol.type, - symbol_size, - kassymbol.exported, - kassymbol.subsystem, - kassymbol.module_name, - kassymbol.name, - kassymbol.type_description or renderers.NotAvailableValue(), - ) - yield 0, fields + only_core = self.config.get("only_core", False) + only_modules = self.config.get("only_modules", False) + only_ftrace = self.config.get("only_ftrace", False) + only_bpf = self.config.get("only_bpf", False) + + symbols_flags = (only_core, only_modules, only_ftrace, only_bpf) + if not any(symbols_flags): + only_core = only_modules = only_ftrace = only_bpf = True + + symbol_geneators = [] + if only_core: + symbol_geneators.append(kas.get_core_symbols()) + if only_modules: + symbol_geneators.append(kas.get_modules_symbols()) + if only_ftrace: + symbol_geneators.append(kas.get_ftrace_symbols()) + if only_bpf: + symbol_geneators.append(kas.get_bpf_symbols()) + + for symbols_generator in symbol_geneators: + for kassymbol in symbols_generator: + # Symbol sizes are calculated using the address of the next non-aliased + # symbol or the end of the kernel text area _end/_etext. However, some kernel + # symbols are located beyond that area, which causes this method to fail for + # the last symbol, resulting in a negative size. + # See comments on .init.scratch in arch/x86/kernel/vmlinux.lds.S for details + symbol_size = self._get_symbol_size(kassymbol) + fields = ( + format_hints.Hex(kassymbol.address), + kassymbol.type, + symbol_size, + kassymbol.exported, + kassymbol.subsystem, + kassymbol.module_name, + kassymbol.name, + kassymbol.type_description or renderers.NotAvailableValue(), + ) + yield 0, fields def run(self): headers = [ From fbba4c76751f07ff5a9127ebb8128a89c5c5b58e Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 17:53:39 +1100 Subject: [PATCH 1340/2186] linux: new pscallstack plugin: add a poor man's process stack call enumeration plugin to showcase the power of the kallsyms API --- .../framework/plugins/linux/pscallstack.py | 196 ++++++++++++++++++ 1 file changed, 196 insertions(+) create mode 100644 volatility3/framework/plugins/linux/pscallstack.py diff --git a/volatility3/framework/plugins/linux/pscallstack.py b/volatility3/framework/plugins/linux/pscallstack.py new file mode 100644 index 000000000..468a7e1ba --- /dev/null +++ b/volatility3/framework/plugins/linux/pscallstack.py @@ -0,0 +1,196 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +import dataclasses +from typing import List, Iterator + +from volatility3.framework import interfaces, renderers, exceptions +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.renderers import format_hints +from volatility3.framework.constants import architectures +from volatility3.framework.objects import utility +from volatility3.framework.symbols.linux import kallsyms +from volatility3.plugins.linux import pslist + +vollog = logging.getLogger(__name__) + + +@dataclasses.dataclass +class StackEntry: + position: int + address: int + value: int + name: str = renderers.NotAvailableValue() + type: str = renderers.NotAvailableValue() + module: str = renderers.NotAvailableValue() + + +class PsCallStack(plugins.PluginInterface): + """Enumerates the call stack of each task""" + + _required_framework_version = (2, 19, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=architectures.LINUX_ARCHS, + ), + requirements.VersionRequirement( + name="Kallsyms", component=kallsyms.Kallsyms, version=(1, 0, 0) + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + ), + requirements.ListRequirement( + name="pid", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + requirements.BooleanRequirement( + name="unresolved", + description="Include unresolved stack values", + default=False, + optional=True, + ), + ] + + @classmethod + def get_task_callstack( + cls, + context: interfaces.context.ContextInterface, + module_name: str, + task: interfaces.objects.ObjectInterface, + kas: kallsyms.Kallsyms = None, + include_unresolved=False, + ) -> Iterator[StackEntry]: + """Retrieves the call stack for a given task + + Args: + context: The context used to access memory layers and symbols + module_name: The name of the kernel module on which to operate + task: The task object whose stack is being retrieved + kas: Kallsyms instance for symbol resolution. If not provided or None, a new + instance will be created each time + include_unresolved: If True, includes stack values that could not be resolved + to known symbols. Defaults to False. + + Yields: + StackEntry objects + """ + task_layer = task.get_address_space_layer() + if not task_layer: + return None + + vmlinux = context.modules[module_name] + vmlinux_layer = context.layers[vmlinux.layer_name] + + if not kas: + kas = kallsyms.Kallsyms( + context=context, + layer_name=vmlinux.layer_name, + module_name=module_name, + ) + + pointer_size = vmlinux.get_type("pointer").size + + thread_size_order = 2 # Safe since kernel 3.15 + # thread_size_order +=1 # If CONFIG_KASAN is enabled in kernels >= 4.0, default: DISABLED + # thread_size_order +=1 # If CONFIG_KASAN_EXTRA is enabled in kernels >= 4.19, default: DISABLED + thread_size = vmlinux_layer.page_size << thread_size_order + task_base_of_stack = vmlinux_layer.canonicalize(task.stack) + task_top_of_stack = task_base_of_stack + thread_size + + byte_order = task.files.vol.data_format.byteorder + rsp_start = task.thread.sp + if not (task_base_of_stack <= rsp_start < task_top_of_stack): + raise exceptions.VolatilityException( + f"Invalid stack pointer {rsp_start:#x} for task {task.pid}" + ) + + current_sp = rsp_start + idx = 0 + while current_sp < task_top_of_stack: + stack_value_bytes = task_layer.read(current_sp, pointer_size) + stack_value = int.from_bytes(stack_value_bytes, byteorder=byte_order) + + kassymbol = kas.lookup_address(stack_value) + if kassymbol: + module_name = kassymbol.module_name or renderers.NotAvailableValue() + yield StackEntry( + position=idx, + address=current_sp, + value=stack_value, + name=kassymbol.name, + type=kassymbol.type, + module=module_name, + ) + elif include_unresolved: + yield StackEntry( + position=idx, + address=current_sp, + value=stack_value, + ) + + idx += 1 + current_sp += pointer_size + + def _generator(self): + module_name = self.config["kernel"] + vmlinux = self.context.modules[module_name] + + kas = kallsyms.Kallsyms( + context=self.context, + layer_name=vmlinux.layer_name, + module_name=self.config["kernel"], + ) + + include_unresolved = self.config.get("unresolved", False) + + pids = self.config.get("pid", None) + filter_func = pslist.PsList.create_pid_filter(pids) + for task in pslist.PsList.list_tasks( + self.context, vmlinux.name, filter_func=filter_func, include_threads=True + ): + task_name = utility.array_to_string(task.comm) + + for stack_entry in self.get_task_callstack( + context=self.context, + module_name=vmlinux.name, + task=task, + kas=kas, + include_unresolved=include_unresolved, + ): + fields = ( + task.pid, + task_name, + stack_entry.position, + format_hints.Hex(stack_entry.address), + format_hints.Hex(stack_entry.value), + stack_entry.name, + stack_entry.type, + stack_entry.module, + ) + yield 0, fields + + def run(self): + return renderers.TreeGrid( + [ + ("TID", int), + ("Comm", str), + ("Position", int), + ("Address", format_hints.Hex), + ("Value", format_hints.Hex), + ("Name", str), + ("Type", str), + ("Module", str), + ], + self._generator(), + ) From 4469ab49c80f5756fe150246c5645a569476294f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 18:12:51 +1100 Subject: [PATCH 1341/2186] linux: kallsyms api: move the unsupport implementation message to the info log level --- volatility3/framework/symbols/linux/kallsyms.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/kallsyms.py b/volatility3/framework/symbols/linux/kallsyms.py index 5310c8393..a113dd6b1 100644 --- a/volatility3/framework/symbols/linux/kallsyms.py +++ b/volatility3/framework/symbols/linux/kallsyms.py @@ -1101,7 +1101,7 @@ class Kallsyms(interfaces.configuration.VersionableInterface): vmlinux.has_type("ftrace_mod_map") and vmlinux.has_type("ftrace_mod_func") ): # kernel < 4.15 aba4b5c22cbac296f4081a0476d0c55828f135b4 - vollog.warning( + vollog.info( "Unsupported Ftrace kallsyms implementation. Ignore this if it's a kernel < 4.15" ) return None @@ -1208,7 +1208,7 @@ class Kallsyms(interfaces.configuration.VersionableInterface): list_type, list_head_member = "bpf_prog_aux", "ksym_lnode" else: # kernels < 3.18 - vollog.warning( + vollog.info( "Unsupported BPF kallsysms implementation. Don't worry if kernel < 3.18" ) return None @@ -1303,7 +1303,7 @@ class Kallsyms(interfaces.configuration.VersionableInterface): sym_size = symbol_end - symbol_start else: # kernel < 4.11 - vollog.warning( + vollog.info( "Unsupported BPF kallsyms implementation. Ignore this if it's a kernel < 4.11" ) return None From 9175c1b1e96240ebb2947309043ec0416e44da2d Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 20:43:01 +1100 Subject: [PATCH 1342/2186] linux: kallsyms api: ensure all the addresses are in the same range --- volatility3/framework/symbols/linux/kallsyms.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/kallsyms.py b/volatility3/framework/symbols/linux/kallsyms.py index a113dd6b1..493a82538 100644 --- a/volatility3/framework/symbols/linux/kallsyms.py +++ b/volatility3/framework/symbols/linux/kallsyms.py @@ -495,6 +495,7 @@ class Kallsyms(interfaces.configuration.VersionableInterface): Returns: Symbol address """ + layer = self._context.layers[self._layer_name] if self._kallsyms_offsets_address: # kernels >= 4.6 - Addresses are relative to kallsyms_relative_base # It assumes: CONFIG_KALLSYMS_BASE_RELATIVE=y and CONFIG_KALLSYMS_ABSOLUTE_PERCPU=y @@ -507,7 +508,7 @@ class Kallsyms(interfaces.configuration.VersionableInterface): return self._kallsyms_relative_base - 1 - sym_addr # Positive offsets are absolute values - return sym_addr + return sym_addr & layer.address_mask elif self._kas_config.addresses_address: # kernels < 4.6 - Addresses are absolute # unsigned long kallsyms_addresses[] @@ -516,7 +517,7 @@ class Kallsyms(interfaces.configuration.VersionableInterface): self._long_size, signed=False, ) - return kallsyms_address + return kallsyms_address & layer.address_mask else: raise exceptions.VolatilityException("Unsupported kernel") From 2af8b95ea43a701289e1738e3833f36df9b9e960 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 20:49:42 +1100 Subject: [PATCH 1343/2186] linux: module object extension: add method to know the module memory boundaries based on its symbols addresses and sizes --- .../symbols/linux/extensions/__init__.py | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index fd5e85057..cd7dc5e9d 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -270,6 +270,43 @@ class module(generic.GenericIntelProcess): sym_address = elf_sym_obj.st_value & layer.address_mask yield (sym_name, sym_address) + @functools.lru_cache + def get_module_address_boundaries(self) -> Tuple[int, int]: + """Return the module address boundaries based on its symbol addresses""" + + if not self.section_strtab or self.num_symtab < 1: + return None + + elf_table_name = self.get_elf_table_name() + symbol_table_name = self.get_symbol_table_name() + + is_64bit = symbols.symbol_table_is_64bit(self._context, symbol_table_name) + sym_name = "Elf64_Sym" if is_64bit else "Elf32_Sym" + sym_type = self._context.symbol_space.get_type( + elf_table_name + constants.BANG + sym_name + ) + elf_syms = self._context.object( + symbol_table_name + constants.BANG + "array", + layer_name=self.vol.layer_name, + offset=self.section_symtab, + subtype=sym_type, + count=self.num_symtab, + ) + # They should be sorted, but just in case + elf_syms_sorted = sorted(elf_syms, key=lambda x: x.st_value) + + layer = self._context.layers[self.vol.layer_name] + + # The first elf_sym is null + first_symbol = elf_syms_sorted[1] + last_symbol = elf_syms_sorted[-1] + minimum_address = first_symbol.st_value & layer.address_mask + maximum_address = ( + last_symbol.st_value & layer.address_mask + last_symbol.st_size + ) + + return minimum_address, maximum_address + def get_symbol(self, wanted_sym_name) -> Optional[int]: """Get symbol address for a given symbol name""" for sym_name, sym_address in self.get_symbols_names_and_addresses(): From 0ba331f34c4dbfe67997b3155402745081c5baeb Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 20:53:57 +1100 Subject: [PATCH 1344/2186] linux: kallsyms api: Added support for older kernels lacking mod_tree. Enhanced module address search performance by using the new module memory boundaries function --- .../framework/symbols/linux/kallsyms.py | 47 +++++++++++++++---- 1 file changed, 39 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/symbols/linux/kallsyms.py b/volatility3/framework/symbols/linux/kallsyms.py index 493a82538..264c13d3e 100644 --- a/volatility3/framework/symbols/linux/kallsyms.py +++ b/volatility3/framework/symbols/linux/kallsyms.py @@ -788,15 +788,27 @@ class Kallsyms(interfaces.configuration.VersionableInterface): if not self._is_module_ksym_address(address): return None - module = module or self.get_module_by_address(address) + module = module or self._get_module_by_address(address) if not module: + # This may occur if the kernel lacks the mod_tree implementation. + for ( + cur_module, + minimum_address, + maximum_address, + ) in self._module_memory_region: + if minimum_address <= address < maximum_address: + module = cur_module + break + + if not module: + # We couldn't find the module return None kassymbol = self._find_address_in_module_symbols(module, address) - if not kassymbol: - return None + if kassymbol: + return kassymbol - return kassymbol + return None def _find_address_in_module_symbols( self, @@ -814,6 +826,15 @@ class Kallsyms(interfaces.configuration.VersionableInterface): Returns: The matching KASSymbol if found; otherwise, returns None """ + # Before walking all the symbols, ensure the address belongs to this module + module_boundaries = module.get_module_address_boundaries() + if not module_boundaries: + return None + + minimum_address, maximum_address = module_boundaries + if not (minimum_address <= address < maximum_address): + return None + layer = self._context.layers[self._layer_name] for elf_sym_idx, elf_sym in enumerate(module.get_symbols()): if not elf_sym.get_name(): @@ -829,6 +850,18 @@ class Kallsyms(interfaces.configuration.VersionableInterface): return None + @functools.cached_property + def _module_memory_region( + self, + ) -> List[Tuple[interfaces.objects.ObjectInterface, int, int]]: + modules_region = [] + for module in lsmod.Lsmod.list_modules(self._context, self._module_name): + minimum_address, maximum_address = module.get_module_address_boundaries() + module_region = module, minimum_address, maximum_address + modules_region.append(module_region) + + return modules_region + @functools.lru_cache def _get_modules_memory_boundaries(self) -> Tuple[int, int]: """Determine the boundaries of the module allocation area @@ -870,7 +903,7 @@ class Kallsyms(interfaces.configuration.VersionableInterface): _address_min, address_max = self._get_modules_memory_boundaries() return address_max - def get_module_by_address( + def _get_module_by_address( self, address: int ) -> Optional[interfaces.objects.ObjectInterface]: """Searches for the module that contains the given memory address within its range. @@ -957,12 +990,10 @@ class Kallsyms(interfaces.configuration.VersionableInterface): ) module_ptr = mod_tree_node.mod if not module_ptr.is_readable(): - vollog.error("Something went wrong") + vollog.warning("Modules latch tree seems corrupt") return None return module_ptr.dereference() - else: - raise NotImplementedError("FIXME") return None From 1da15d13529f372a7afdef396aaeae0b7d57fac5 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sat, 1 Feb 2025 20:54:51 +1100 Subject: [PATCH 1345/2186] linux: pscallstack plugin: Fix canonical addresses --- volatility3/framework/plugins/linux/pscallstack.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pscallstack.py b/volatility3/framework/plugins/linux/pscallstack.py index 468a7e1ba..8931ca581 100644 --- a/volatility3/framework/plugins/linux/pscallstack.py +++ b/volatility3/framework/plugins/linux/pscallstack.py @@ -122,11 +122,13 @@ class PsCallStack(plugins.PluginInterface): stack_value = int.from_bytes(stack_value_bytes, byteorder=byte_order) kassymbol = kas.lookup_address(stack_value) + sp_address = current_sp & vmlinux_layer.address_mask + stack_value &= vmlinux_layer.address_mask if kassymbol: module_name = kassymbol.module_name or renderers.NotAvailableValue() yield StackEntry( position=idx, - address=current_sp, + address=sp_address, value=stack_value, name=kassymbol.name, type=kassymbol.type, @@ -135,7 +137,7 @@ class PsCallStack(plugins.PluginInterface): elif include_unresolved: yield StackEntry( position=idx, - address=current_sp, + address=sp_address, value=stack_value, ) From df310c0d92cc274ef6bc49d97decaacca31f0553 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 1 Feb 2025 12:27:49 +0000 Subject: [PATCH 1346/2186] Manually revert 74a834b This should resolve the issue experienced #1590 was trying to resolve. --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 7103a2068..c24b495d8 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1574,9 +1574,7 @@ class vfsmount(objects.StructType): 'True' if the kernel lacks the 'mount' struct, typically indicating kernel < 3.3. """ - return (not self._context.symbol_space.has_type("mount")) and self.has_member( - "mnt_parent" - ) + return self.has_member("mnt_parent") def is_equal(self, vfsmount_ptr) -> bool: """Helper to make sure it is comparing two pointers to 'vfsmount'. From 80f6d0dad685bbcf2b7195c5d077d5ce83840a59 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 2 Feb 2025 11:33:34 +1100 Subject: [PATCH 1347/2186] linux: Add kallsyms plugin testcase --- test/test_volatility.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/test/test_volatility.py b/test/test_volatility.py index 8676d1f3e..5b57dd59d 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -842,6 +842,27 @@ def test_linux_hidden_modules(image, volatility, python): assert out.count(b"\n") >= 4 +def test_linux_kallsyms(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.kallsyms.Kallsyms", + image, + volatility, + python, + pluginargs=["--only-modules"], + ) + # linux-sample-1.bin has no hidden modules. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") > 1000 + + # Addr Type Size Exported SubSystem ModuleName SymbolName Description + # 0xffffa009eba9 t 28 False module usbcore usb_mon_register Symbol is in the text (code) section + assert re.search( + rb"0xffffa009eba9\s+t\s+28\s+False\s+module\s+usbcore\s+usb_mon_register\s+Symbol is in the text \(code\) section", + out, + ) + + # MAC From 5347926ab6b0800fa90673bed09a830fb4d1a73c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 2 Feb 2025 11:34:31 +1100 Subject: [PATCH 1348/2186] linux: Add pscallstack plugin testcase --- test/test_volatility.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/test/test_volatility.py b/test/test_volatility.py index 5b57dd59d..bc63ab356 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -863,6 +863,26 @@ def test_linux_kallsyms(image, volatility, python): ) +def test_linux_pscallstack(image, volatility, python): + rc, out, _err = runvol_plugin( + "linux.pscallstack.PsCallStack", + image, + volatility, + python, + pluginargs=["--pid", "1"], + ) + + assert rc == 0 + assert out.count(b"\n") > 30 + + # TID Comm Position Address Value Name Type Module + # 1 init 39 0x88001f999a40 0xffff81109039 do_select T kernel + assert re.search( + rb"1\s+init\s+39\s+0x88001f999a40.*?0xffff81109039\s+do_select\s+T\s+kernel", + out, + ) + + # MAC From bf0271cd5765d656cc9a3844bb8b5c7e69e650ec Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Sun, 2 Feb 2025 12:29:01 +1100 Subject: [PATCH 1349/2186] linux: kallsyms plugin: simplify argument by removing the "only-" prefix, which was also causing confusion. --- test/test_volatility.py | 2 +- .../framework/plugins/linux/kallsyms.py | 34 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index bc63ab356..d5b59b15c 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -848,7 +848,7 @@ def test_linux_kallsyms(image, volatility, python): image, volatility, python, - pluginargs=["--only-modules"], + pluginargs=["--modules"], ) # linux-sample-1.bin has no hidden modules. # This validates that plugin requirements are met and exceptions are not raised. diff --git a/volatility3/framework/plugins/linux/kallsyms.py b/volatility3/framework/plugins/linux/kallsyms.py index c97fafbcf..c575c54e7 100644 --- a/volatility3/framework/plugins/linux/kallsyms.py +++ b/volatility3/framework/plugins/linux/kallsyms.py @@ -19,8 +19,8 @@ class Kallsyms(plugins.PluginInterface): """Kallsyms symbols enumeration plugin. If no arguments are provided, all symbols are included: core, modules, ftrace, and BPF. - Alternatively, you can use any combination of --only-core, --only-modules, --only-ftrace, - and --only-bpf to customize the output. + Alternatively, you can use any combination of --core, --modules, --ftrace, and --bpf + to customize the output. """ _required_framework_version = (2, 19, 0) @@ -39,26 +39,26 @@ class Kallsyms(plugins.PluginInterface): name="Kallsyms", component=kallsyms.Kallsyms, version=(1, 0, 0) ), requirements.BooleanRequirement( - name="only_core", + name="core", description="Include core symbols", default=False, optional=True, ), requirements.BooleanRequirement( - name="only_modules", + name="modules", description="Include module symbols", default=False, optional=True, ), requirements.BooleanRequirement( - name="only_ftrace", + name="ftrace", description="Include ftrace symbols", default=False, optional=True, ), requirements.BooleanRequirement( - name="only_bpf", - description="Include bpf symbols", + name="bpf", + description="Include BPF symbols", default=False, optional=True, ), @@ -85,23 +85,23 @@ class Kallsyms(plugins.PluginInterface): module_name=self.config["kernel"], ) - only_core = self.config.get("only_core", False) - only_modules = self.config.get("only_modules", False) - only_ftrace = self.config.get("only_ftrace", False) - only_bpf = self.config.get("only_bpf", False) + include_core = self.config.get("core", False) + include_modules = self.config.get("modules", False) + include_ftrace = self.config.get("ftrace", False) + include_bpf = self.config.get("bpf", False) - symbols_flags = (only_core, only_modules, only_ftrace, only_bpf) + symbols_flags = (include_core, include_modules, include_ftrace, include_bpf) if not any(symbols_flags): - only_core = only_modules = only_ftrace = only_bpf = True + include_core = include_modules = include_ftrace = include_bpf = True symbol_geneators = [] - if only_core: + if include_core: symbol_geneators.append(kas.get_core_symbols()) - if only_modules: + if include_modules: symbol_geneators.append(kas.get_modules_symbols()) - if only_ftrace: + if include_ftrace: symbol_geneators.append(kas.get_ftrace_symbols()) - if only_bpf: + if include_bpf: symbol_geneators.append(kas.get_bpf_symbols()) for symbols_generator in symbol_geneators: From 144a7cc3f58ede3828f4f50d6e05abe6082fc91c Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 2 Feb 2025 16:07:27 +0000 Subject: [PATCH 1350/2186] Add error checking when accessing the KVO Also bumps hivescan to take a module name rather than a layer_name/symbol_table combo. --- .../framework/configuration/requirements.py | 5 +-- volatility3/framework/interfaces/context.py | 8 ++++ .../framework/plugins/windows/bigpools.py | 8 +++- .../framework/plugins/windows/callbacks.py | 38 +++++++++++++++---- .../framework/plugins/windows/handles.py | 16 ++++++-- volatility3/framework/plugins/windows/info.py | 10 +++-- .../framework/plugins/windows/modules.py | 8 +++- .../framework/plugins/windows/pslist.py | 8 +++- .../framework/plugins/windows/psscan.py | 9 +++-- .../plugins/windows/registry/hivelist.py | 14 ++++--- .../plugins/windows/registry/hivescan.py | 31 +++++++-------- volatility3/framework/plugins/windows/ssdt.py | 5 +-- .../plugins/windows/unloadedmodules.py | 8 +++- .../framework/plugins/windows/vadinfo.py | 8 +++- .../framework/plugins/windows/virtmap.py | 3 +- .../symbols/windows/extensions/__init__.py | 29 ++++++++++---- 16 files changed, 143 insertions(+), 65 deletions(-) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 3e3608000..5dd8cc9b5 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -638,13 +638,10 @@ class ModuleRequirement( self.add_requirement( TranslationLayerRequirement(name="layer_name", architectures=architectures) ) - self.add_requirement(SymbolTableRequirement(name="symbol_table_name")) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - IntRequirement(name="offset"), - ] + return interfaces.context.ModuleInterface.get_requirements() def unsatisfied( self, context: "interfaces.context.ContextInterface", config_path: str diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index 723f2fd46..e7c3e579f 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -158,6 +158,14 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): super().__init__(context, config_path) self._module_name = name + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Can't include the translation layer without knowing the architectures + return [ + SymbolTableRequirement(name="symbol_table_name"), + IntRequirement(name="offset"), + ] + @property def _layer_name(self) -> str: return self.config["layer_name"] diff --git a/volatility3/framework/plugins/windows/bigpools.py b/volatility3/framework/plugins/windows/bigpools.py index 393c2a417..f6217ac50 100644 --- a/volatility3/framework/plugins/windows/bigpools.py +++ b/volatility3/framework/plugins/windows/bigpools.py @@ -21,7 +21,7 @@ class BigPools(interfaces.plugins.PluginInterface): """List big page pools.""" _required_framework_version = (2, 0, 0) - _version = (1, 1, 0) + _version = (1, 1, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -66,7 +66,11 @@ class BigPools(interfaces.plugins.PluginInterface): Yields: A big page pool object """ - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) big_page_table_offset = ntkrnlmp.get_symbol("PoolBigPageTable").address diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index 414a8814a..9d54f4331 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -28,7 +28,7 @@ class Callbacks(interfaces.plugins.PluginInterface): """Lists kernel callbacks and notification routines.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -361,7 +361,11 @@ class Callbacks(interfaces.plugins.PluginInterface): A name, location and optional detail string """ - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) is_vista_or_later = versions.is_vista_or_later( @@ -418,7 +422,11 @@ class Callbacks(interfaces.plugins.PluginInterface): Lists all registry callbacks from the old format via the CmpCallBackVector. """ - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) full_type_name = ( callback_table_name + constants.BANG + "_EX_CALLBACK_ROUTINE_BLOCK" @@ -465,7 +473,11 @@ class Callbacks(interfaces.plugins.PluginInterface): Lists all registry callbacks via the CallbackListHead. """ - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) full_type_name = callback_table_name + constants.BANG + "_CM_CALLBACK_ENTRY" @@ -506,7 +518,11 @@ class Callbacks(interfaces.plugins.PluginInterface): A name, location and optional detail string """ - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) if ntkrnlmp.has_symbol("CmpCallBackVector") and ntkrnlmp.has_symbol( @@ -562,7 +578,11 @@ class Callbacks(interfaces.plugins.PluginInterface): A name, location and optional detail string """ - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) try: @@ -626,7 +646,11 @@ class Callbacks(interfaces.plugins.PluginInterface): A name, location and optional detail string """ - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) try: diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 6a391fe35..384528f0a 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -18,7 +18,7 @@ class Handles(interfaces.plugins.PluginInterface): """Lists process open handles.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -144,7 +144,11 @@ class Handles(interfaces.plugins.PluginInterface): type_map: Dict[int, str] = {} - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) try: @@ -202,7 +206,11 @@ class Handles(interfaces.plugins.PluginInterface): except exceptions.SymbolError: return None - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) return context.object( symbol_table + constants.BANG + "unsigned int", layer_name, @@ -216,7 +224,7 @@ class Handles(interfaces.plugins.PluginInterface): kernel = self.context.modules[self.config["kernel"]] virtual = kernel.layer_name - kvo = self.context.layers[virtual].config["kernel_virtual_offset"] + kvo = kernel.offset ntkrnlmp = self.context.module( kernel.symbol_table_name, layer_name=virtual, offset=kvo diff --git a/volatility3/framework/plugins/windows/info.py b/volatility3/framework/plugins/windows/info.py index 137d29c22..efaf1f737 100644 --- a/volatility3/framework/plugins/windows/info.py +++ b/volatility3/framework/plugins/windows/info.py @@ -17,7 +17,7 @@ class Info(plugins.PluginInterface): """Show OS & kernel details of the memory sample being analyzed.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -68,7 +68,9 @@ class Info(plugins.PluginInterface): if not isinstance(virtual_layer, layers.intel.Intel): raise TypeError("Virtual Layer is not an intel layer") - kvo = virtual_layer.config["kernel_virtual_offset"] + kvo = virtual_layer.config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError("Intel layer has no kernel virtual offset defined") ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) return ntkrnlmp @@ -166,7 +168,9 @@ class Info(plugins.PluginInterface): if not isinstance(virtual_layer, layers.intel.Intel): raise TypeError("Virtual Layer is not an intel layer") - kvo = virtual_layer.config["kernel_virtual_offset"] + kvo = virtual_layer.config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError("Intel layer has no kernel virtual offset defined") pe_table_name = intermed.IntermediateSymbolTable.create( context, diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 85eb474a8..0dfa5a7e8 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -18,7 +18,7 @@ class Modules(interfaces.plugins.PluginInterface): """Lists the loaded kernel modules.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -247,7 +247,11 @@ class Modules(interfaces.plugins.PluginInterface): A list of Modules as retrieved from PsLoadedModuleList """ - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) try: diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 579a235d8..3e8be08a4 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -22,7 +22,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists the processes present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) PHYSICAL_DEFAULT = False @classmethod @@ -226,7 +226,11 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """ # We only use the object factory to demonstrate how to use one - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) ps_aph_offset = ntkrnlmp.get_symbol("PsActiveProcessHead").address diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index cdf344ee6..21671eb9b 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -23,7 +23,7 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Scans for processes present in a particular windows memory image.""" _required_framework_version = (2, 3, 1) - _version = (1, 1, 0) + _version = (1, 1, 1) @classmethod def get_requirements(cls): @@ -194,9 +194,12 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # If it's WinXP->8.1 we have now a physical process address. # We'll use the first thread to bounce back to the virtual process - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) - tleoffset = ntkrnlmp.get_type("_ETHREAD").relative_child_offset( "ThreadListEntry" ) diff --git a/volatility3/framework/plugins/windows/registry/hivelist.py b/volatility3/framework/plugins/windows/registry/hivelist.py index 91a99a9fb..2963a7b8b 100644 --- a/volatility3/framework/plugins/windows/registry/hivelist.py +++ b/volatility3/framework/plugins/windows/registry/hivelist.py @@ -41,7 +41,7 @@ class HiveGenerator: class HiveList(interfaces.plugins.PluginInterface): """Lists the registry hives present in a particular memory image.""" - _version = (1, 0, 0) + _version = (1, 0, 1) _required_framework_version = (2, 0, 0) @classmethod @@ -59,7 +59,7 @@ class HiveList(interfaces.plugins.PluginInterface): default=None, ), requirements.PluginRequirement( - name="hivescan", plugin=hivescan.HiveScan, version=(1, 0, 0) + name="hivescan", plugin=hivescan.HiveScan, version=(2, 0, 0) ), requirements.BooleanRequirement( name="dump", @@ -215,7 +215,11 @@ class HiveList(interfaces.plugins.PluginInterface): """ # We only use the object factory to demonstrate how to use one - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) list_head = ntkrnlmp.get_symbol("CmpHiveListHead").address @@ -278,9 +282,7 @@ class HiveList(interfaces.plugins.PluginInterface): f"Hivelist failed traversing backwards at {hex(backward_invalid)}, a different " "location from forwards, revert to scanning" ) - for hive in hivescan.HiveScan.scan_hives( - context, layer_name, symbol_table - ): + for hive in hivescan.HiveScan.scan_hives(context, ntkrnlmp.name): try: if hive.HiveList.Flink: start_hive_offset = hive.HiveList.Flink - reloff diff --git a/volatility3/framework/plugins/windows/registry/hivescan.py b/volatility3/framework/plugins/windows/registry/hivescan.py index 6e0171a78..58ed63b4e 100644 --- a/volatility3/framework/plugins/windows/registry/hivescan.py +++ b/volatility3/framework/plugins/windows/registry/hivescan.py @@ -15,7 +15,7 @@ class HiveScan(interfaces.plugins.PluginInterface): """Scans for registry hives present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -35,10 +35,7 @@ class HiveScan(interfaces.plugins.PluginInterface): @classmethod def scan_hives( - cls, - context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + cls, context: interfaces.context.ContextInterface, kernel_name: str ) -> Iterable[interfaces.objects.ObjectInterface]: """Scans for hives using the poolscanner module and constraints or bigpools module with tag. @@ -51,17 +48,21 @@ class HiveScan(interfaces.plugins.PluginInterface): A list of Hive objects as found from the `layer_name` layer based on Hive pool signatures """ - is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) + kernel = context.modules[kernel_name] + + is_64bit = symbols.symbol_table_is_64bit(context, kernel.symbol_table_name) is_windows_8_1_or_later = versions.is_windows_8_1_or_later( - context=context, symbol_table=symbol_table + context=context, symbol_table=kernel.symbol_table_name ) if is_windows_8_1_or_later and is_64bit: - kvo = context.layers[layer_name].config["kernel_virtual_offset"] - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + ntkrnlmp = kernel for pool in bigpools.BigPools.list_big_pools( - context, layer_name=layer_name, symbol_table=symbol_table, tags=["CM10"] + context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + tags=["CM10"], ): cmhive = ntkrnlmp.object( object_type="_CMHIVE", offset=pool.Va, absolute=True @@ -70,21 +71,17 @@ class HiveScan(interfaces.plugins.PluginInterface): else: constraints = poolscanner.PoolScanner.builtin_constraints( - symbol_table, [b"CM10"] + kernel.symbol_table_name, [b"CM10"] ) for result in poolscanner.PoolScanner.generate_pool_scan( - context, layer_name, symbol_table, constraints + context, kernel.layer_name, kernel.symbol_table_name, constraints ): _constraint, mem_object, _header = result yield mem_object def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - - for hive in self.scan_hives( - self.context, kernel.layer_name, kernel.symbol_table_name - ): + for hive in self.scan_hives(self.context, self.config["kernel"]): yield (0, (format_hints.Hex(hive.vol.offset),)) def run(self): diff --git a/volatility3/framework/plugins/windows/ssdt.py b/volatility3/framework/plugins/windows/ssdt.py index 1fcb6cc91..483a1b2ff 100644 --- a/volatility3/framework/plugins/windows/ssdt.py +++ b/volatility3/framework/plugins/windows/ssdt.py @@ -19,7 +19,7 @@ class SSDT(plugins.PluginInterface): """Lists the system call table.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -89,9 +89,8 @@ class SSDT(plugins.PluginInterface): self.context, layer_name, kernel.symbol_table_name ) - kvo = self.context.layers[layer_name].config["kernel_virtual_offset"] ntkrnlmp = self.context.module( - kernel.symbol_table_name, layer_name=layer_name, offset=kvo + kernel.symbol_table_name, layer_name=kernel.offset, offset=kvo ) # this is just one way to enumerate the native (NT) service table. diff --git a/volatility3/framework/plugins/windows/unloadedmodules.py b/volatility3/framework/plugins/windows/unloadedmodules.py index d9f104ae8..855f0730b 100644 --- a/volatility3/framework/plugins/windows/unloadedmodules.py +++ b/volatility3/framework/plugins/windows/unloadedmodules.py @@ -22,7 +22,7 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt """Lists the unloaded kernel modules.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -88,7 +88,11 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt A list of Unloaded Modules as retrieved from MmUnloadedDrivers """ - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) unloadedmodules_offset = ntkrnlmp.get_symbol("MmUnloadedDrivers").address unloadedmodules = ntkrnlmp.object( diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 0c4a8aaca..f309aa3fd 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -34,7 +34,7 @@ class VadInfo(interfaces.plugins.PluginInterface): """Lists process memory ranges.""" _required_framework_version = (2, 4, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) MAXSIZE_DEFAULT = 1024 * 1024 * 1024 # 1 Gb def __init__(self, *args, **kwargs): @@ -99,7 +99,11 @@ class VadInfo(interfaces.plugins.PluginInterface): symbol_table: The name of the table containing the kernel symbols """ - kvo = context.layers[layer_name].config["kernel_virtual_offset"] + kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) addr = ntkrnlmp.get_symbol("MmProtectToValue").address values = ntkrnlmp.object( diff --git a/volatility3/framework/plugins/windows/virtmap.py b/volatility3/framework/plugins/windows/virtmap.py index e02cca89e..f37d5790a 100644 --- a/volatility3/framework/plugins/windows/virtmap.py +++ b/volatility3/framework/plugins/windows/virtmap.py @@ -17,6 +17,7 @@ class VirtMap(interfaces.plugins.PluginInterface): """Lists virtual mapped sections.""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -147,7 +148,7 @@ class VirtMap(interfaces.plugins.PluginInterface): module = self.context.module( kernel.symbol_table_name, layer_name=layer.name, - offset=layer.config["kernel_virtual_offset"], + offset=kernel.offset, ) return renderers.TreeGrid( diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 593097d25..595b63256 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -838,9 +838,14 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): return renderers.NotApplicableValue() symbol_table_name = self.get_symbol_table_name() - kvo = self._context.layers[self.vol.native_layer_name].config[ - "kernel_virtual_offset" - ] + kvo = self._context.layers[self.vol.native_layer_name].config.get( + "kernel_virtual_offset", None + ) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) + ntkrnlmp = self._context.module( symbol_table_name, layer_name=self.vol.native_layer_name, @@ -1030,7 +1035,13 @@ class TOKEN(objects.StructType): if self.UserAndGroupCount < 0xFFFF: layer_name = self.vol.layer_name - kvo = self._context.layers[layer_name].config["kernel_virtual_offset"] + kvo = self._context.layers[layer_name].config.get( + "kernel_virtual_offset", None + ) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) symbol_table = self.get_symbol_table_name() ntkrnlmp = self._context.module( symbol_table, layer_name=layer_name, offset=kvo @@ -1132,9 +1143,13 @@ class KTIMER(objects.StructType): def get_dpc(self): """Return Dpc, and if Windows 7 or later, decode it""" symbol_table_name = self.get_symbol_table_name() - kvo = self._context.layers[self.vol.native_layer_name].config[ - "kernel_virtual_offset" - ] + kvo = self._context.layers[self.vol.native_layer_name].config.get( + "kernel_virtual_offset", None + ) + if not kvo: + raise ValueError( + "Intel layer does not have an associatd kernel virtual offset, failing" + ) ntkrnlmp = self._context.module( symbol_table_name, layer_name=self.vol.native_layer_name, From fbb9627d36e03a7e222593c1f5bd3dede196e2b1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 2 Feb 2025 16:18:42 +0000 Subject: [PATCH 1351/2186] Keep the advanced configuration requirements out of the interfaces --- volatility3/framework/configuration/requirements.py | 5 ++++- volatility3/framework/interfaces/context.py | 8 -------- volatility3/framework/plugins/windows/ssdt.py | 5 ++--- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 5dd8cc9b5..aa16c6090 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -641,7 +641,10 @@ class ModuleRequirement( @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return interfaces.context.ModuleInterface.get_requirements() + return [ + IntRequirement(name="offset"), + SymbolTableRequirement(name="symbol_table_name"), + ] def unsatisfied( self, context: "interfaces.context.ContextInterface", config_path: str diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index e7c3e579f..723f2fd46 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -158,14 +158,6 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): super().__init__(context, config_path) self._module_name = name - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - # Can't include the translation layer without knowing the architectures - return [ - SymbolTableRequirement(name="symbol_table_name"), - IntRequirement(name="offset"), - ] - @property def _layer_name(self) -> str: return self.config["layer_name"] diff --git a/volatility3/framework/plugins/windows/ssdt.py b/volatility3/framework/plugins/windows/ssdt.py index 483a1b2ff..d6ec11286 100644 --- a/volatility3/framework/plugins/windows/ssdt.py +++ b/volatility3/framework/plugins/windows/ssdt.py @@ -89,9 +89,8 @@ class SSDT(plugins.PluginInterface): self.context, layer_name, kernel.symbol_table_name ) - ntkrnlmp = self.context.module( - kernel.symbol_table_name, layer_name=kernel.offset, offset=kvo - ) + ntkrnlmp = kernel + kvo = kernel.offset # this is just one way to enumerate the native (NT) service table. # to do the same thing for the Win32K service table, we would need Win32K.sys symbol support From 54ce358e8ec4ea79aa360cd9c4dd7140fc5e18b3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 3 Feb 2025 07:37:38 +1100 Subject: [PATCH 1352/2186] framework: minor version bump --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index f2403cf4a..cf7c7b51a 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 19 # Number of changes that only add to the interface +VERSION_MINOR = 20 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" From 19fed1964790592691d2c6f482b871998ffef402 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 3 Feb 2025 07:38:43 +1100 Subject: [PATCH 1353/2186] linux: kallsyms plugin: fix variable name typo --- volatility3/framework/plugins/linux/kallsyms.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/kallsyms.py b/volatility3/framework/plugins/linux/kallsyms.py index c575c54e7..1665fffb2 100644 --- a/volatility3/framework/plugins/linux/kallsyms.py +++ b/volatility3/framework/plugins/linux/kallsyms.py @@ -94,17 +94,17 @@ class Kallsyms(plugins.PluginInterface): if not any(symbols_flags): include_core = include_modules = include_ftrace = include_bpf = True - symbol_geneators = [] + symbol_generators = [] if include_core: - symbol_geneators.append(kas.get_core_symbols()) + symbol_generators.append(kas.get_core_symbols()) if include_modules: - symbol_geneators.append(kas.get_modules_symbols()) + symbol_generators.append(kas.get_modules_symbols()) if include_ftrace: - symbol_geneators.append(kas.get_ftrace_symbols()) + symbol_generators.append(kas.get_ftrace_symbols()) if include_bpf: - symbol_geneators.append(kas.get_bpf_symbols()) + symbol_generators.append(kas.get_bpf_symbols()) - for symbols_generator in symbol_geneators: + for symbols_generator in symbol_generators: for kassymbol in symbols_generator: # Symbol sizes are calculated using the address of the next non-aliased # symbol or the end of the kernel text area _end/_etext. However, some kernel From 13b8526206a355a51509419c8ecab441b817e8ed Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 3 Feb 2025 07:40:17 +1100 Subject: [PATCH 1354/2186] linux: kallsyms API: reuse module_name variable --- volatility3/framework/plugins/linux/kallsyms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/kallsyms.py b/volatility3/framework/plugins/linux/kallsyms.py index 1665fffb2..7dd4f06e6 100644 --- a/volatility3/framework/plugins/linux/kallsyms.py +++ b/volatility3/framework/plugins/linux/kallsyms.py @@ -82,7 +82,7 @@ class Kallsyms(plugins.PluginInterface): kas = kallsyms.Kallsyms( context=self.context, layer_name=vmlinux.layer_name, - module_name=self.config["kernel"], + module_name=module_name, ) include_core = self.config.get("core", False) From e222b069ef3afc8c8d52da18c67e0d4d9cdfacdb Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 3 Feb 2025 07:50:21 +1100 Subject: [PATCH 1355/2186] linux: module extension object: add typing info to _get_sect_count() --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index cd7dc5e9d..de08ecf50 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -176,7 +176,7 @@ class module(generic.GenericIntelProcess): """Get the name of the module as a string""" return utility.array_to_string(self.name) - def _get_sect_count(self, grp) -> int: + def _get_sect_count(self, grp: interfaces.objects.ObjectInterface) -> int: """Try to determine the number of valid sections""" symbol_table_name = self.get_symbol_table_name() arr = self._context.object( From 348720c89a0ea9477555f799fc6885e1246ff1e1 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 3 Feb 2025 07:55:11 +1100 Subject: [PATCH 1356/2186] linux: module extension object: add docstring to get_symbol_type() --- .../framework/symbols/linux/extensions/__init__.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index de08ecf50..a075524b4 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -361,7 +361,18 @@ class module(generic.GenericIntelProcess): raise AttributeError("Unable to get typetab section, it needs a kernel >= 5.2") - def get_symbol_type(self, symbol, symbol_index): + def get_symbol_type( + self, symbol: interfaces.objects.ObjectInterface, symbol_index: int + ) -> str: + """Determines the type of a given ELF symbol. + + Args: + symbol: The ELF symbol object (elf_sym) + symbol_index: The index of the symbol within the type table + + Returns: + A single-character string representing the symbol type + """ if self.has_member("kallsyms") and self.kallsyms.has_member("typetab"): # kernels >= 5.2 1c7651f43777cdd59c1aaa82c87324d3e7438c7b types have its own array layer = self._context.layers[self.vol.layer_name] From cef87e014cf6db0933a05e9c7839b41b8f6ec3f7 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 3 Feb 2025 07:59:57 +1100 Subject: [PATCH 1357/2186] linux: kernel_symbol object extension: move properties to getters --- .../framework/symbols/linux/extensions/__init__.py | 9 +++------ volatility3/framework/symbols/linux/kallsyms.py | 4 ++-- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index a075524b4..d65358f06 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -3225,8 +3225,7 @@ class kernel_symbol(objects.StructType): long_mask = (1 << layer.bits_per_register) - 1 return (self.vol.offset + off) & long_mask - @property - def name(self) -> str: + def get_name(self) -> str: if self.has_member("name_offset"): # kernel >= 4.19 and CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y # See 7290d58095712a89f845e1bca05334796dd49ed2 @@ -3246,8 +3245,7 @@ class kernel_symbol(objects.StructType): return name_bytes.decode("utf-8", errors="ignore") - @property - def value(self) -> int: + def get_value(self) -> int: if self.has_member("value_offset"): # kernel >= 4.19 and CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y # See 7290d58095712a89f845e1bca05334796dd49ed2 @@ -3258,8 +3256,7 @@ class kernel_symbol(objects.StructType): raise AttributeError("Unsupported kernel_symbol type implementation") - @property - def namespace(self) -> str: + def get_namespace(self) -> str: if self.has_member("namespace_offset"): # kernel >= 4.19 and CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y # See 7290d58095712a89f845e1bca05334796dd49ed2 diff --git a/volatility3/framework/symbols/linux/kallsyms.py b/volatility3/framework/symbols/linux/kallsyms.py index 264c13d3e..298725a7a 100644 --- a/volatility3/framework/symbols/linux/kallsyms.py +++ b/volatility3/framework/symbols/linux/kallsyms.py @@ -722,7 +722,7 @@ class Kallsyms(interfaces.configuration.VersionableInterface): self._kas_config.stop_ksymtab, ) - return kernel_symbol is not None and kernel_symbol.value == address + return kernel_symbol is not None and kernel_symbol.get_value() == address def _elfsym_to_kassymbol( self, @@ -1026,7 +1026,7 @@ class Kallsyms(interfaces.configuration.VersionableInterface): name: str, kernel_symbol: interfaces.objects.ObjectInterface, ) -> int: - return self._cmp_symbol_name(name, kernel_symbol.name) + return self._cmp_symbol_name(name, kernel_symbol.get_name()) def _cmp_symbol_name( self, From c01f3c5556141102eac1a4ca65c8f63fabacb253 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 5 Feb 2025 19:17:25 +0100 Subject: [PATCH 1358/2186] non inclusive upper bound address check --- volatility3/framework/symbols/linux/utilities/modules.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index baaeff683..d03e76c88 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -35,13 +35,16 @@ class Modules(interfaces.configuration.VersionableInterface): Returns: The first memory module in which the address fits + + Kernel documentation: + "within_module" and "within_module_mem_type" functions """ matches = [] seen_addresses = set() for module in modules: _, start, end = cls.mask_mods_list(context, layer_name, [module])[0] if ( - start <= target_address <= end + start <= target_address < end and module.vol.offset not in seen_addresses ): matches.append(module) From 637ff680353564f04cacdf17d3853992cea4abdc Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 5 Feb 2025 19:19:26 +0100 Subject: [PATCH 1359/2186] make ftrace flags parsing more readable --- .../framework/plugins/linux/tracing/ftrace.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index da88d1de1..75b4d3cca 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -221,6 +221,12 @@ if the "hidden_modules" key is present in known_modules. for hooked_symbol in hooked_symbols ] ) + # Manipulate FtraceOpsFlags(ftrace_ops.flags) like so: + # "FtraceOpsFlags.FTRACE_OPS_FL_IPMODIFY|FTRACE_OPS_FL_ALLOC_TRAMP" + # -> "FTRACE_OPS_FL_IPMODIFY,FTRACE_OPS_FL_ALLOC_TRAMP" + formatted_ftrace_flags = ( + str(FtraceOpsFlags(ftrace_ops.flags)).split(".")[-1].replace("|", ",") + ) yield ParsedFtraceOps( ftrace_ops.vol.offset, callback_symbol, @@ -228,11 +234,7 @@ if the "hidden_modules" key is present in known_modules. hooked_symbols, module_name, module_address, - # FtraceOpsFlags(ftrace_ops.flags).name is valid in > Python3.10, but - # returns None <= Python 3.10. We need to manipulate it like so to ensure compatibility: - # FtraceOpsFlags.FTRACE_OPS_FL_IPMODIFY|FTRACE_OPS_FL_ALLOC_TRAMP - # -> FTRACE_OPS_FL_IPMODIFY,FTRACE_OPS_FL_ALLOC_TRAMP - str(FtraceOpsFlags(ftrace_ops.flags)).split(".")[-1].replace("|", ","), + formatted_ftrace_flags, ) return None From 29567a777b8fce7e12e403f5823a618ddd96d404 Mon Sep 17 00:00:00 2001 From: hsarkey Date: Wed, 5 Feb 2025 15:10:36 -0500 Subject: [PATCH 1360/2186] Updates to address the dlllist wow64 upgrades --- .../symbols/windows/extensions/__init__.py | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index cda2dd615..9adde07b7 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -776,7 +776,7 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ) return peb - def get_peb32(self) -> interfaces.objects.ObjectInterface: + def get_peb32(self) -> Optional[interfaces.objects.ObjectInterface]: """Constructs a PEB32 object""" if constants.BANG not in self.vol.type_name: raise ValueError( @@ -834,6 +834,14 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ) return peb32 + def set_types(self, peb) -> str: + ldr_data = self._context.symbol_space.get_type( + self._32bit_table_name + constants.BANG + "_PEB_LDR_DATA" + ) + peb.Ldr = peb.Ldr.cast("pointer", subtype=ldr_data) + sym_table = self._32bit_table_name + return sym_table + def load_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]: """Generator for DLLs in the order that they were loaded.""" try: @@ -844,12 +852,10 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): for peb in pebs: if peb: sym_table = self.get_symbol_table_name() - if peb.Ldr.vol.type_name.endswith("unsigned long"): - ldr_data = self._context.symbol_space.get_type( - self._32bit_table_name + constants.BANG + "_PEB_LDR_DATA" - ) - peb.Ldr = peb.Ldr.cast("pointer", subtype=ldr_data) - sym_table = self._32bit_table_name + if peb.Ldr.vol.type_name.split(constants.BANG)[-1] == ( + "unsigned long" + ): + sym_table = self.set_types(peb) yield from peb.Ldr.InLoadOrderModuleList.to_list( f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", "InLoadOrderLinks", @@ -868,12 +874,10 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): for peb in pebs: if peb: sym_table = self.get_symbol_table_name() - if peb.Ldr.vol.type_name.endswith("unsigned long"): - ldr_data = self._context.symbol_space.get_type( - self._32bit_table_name + constants.BANG + "_PEB_LDR_DATA" - ) - peb.Ldr = peb.Ldr.cast("pointer", subtype=ldr_data) - sym_table = self._32bit_table_name + if peb.Ldr.vol.type_name.split(constants.BANG)[-1] == ( + "unsigned long" + ): + sym_table = self.set_types(peb) yield from peb.Ldr.InInitializationOrderModuleList.to_list( f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", "InInitializationOrderLinks", @@ -891,12 +895,10 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): for peb in pebs: if peb: sym_table = self.get_symbol_table_name() - if peb.Ldr.vol.type_name.endswith("unsigned long"): - ldr_data = self._context.symbol_space.get_type( - self._32bit_table_name + constants.BANG + "_PEB_LDR_DATA" - ) - peb.Ldr = peb.Ldr.cast("pointer", subtype=ldr_data) - sym_table = self._32bit_table_name + if peb.Ldr.vol.type_name.split(constants.BANG)[-1] == ( + "unsigned long" + ): + sym_table = self.set_types(peb) yield from peb.Ldr.InMemoryOrderModuleList.to_list( f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", "InMemoryOrderLinks", From f5e8ed2457f7d276359028cb6a10b8547f5c4f94 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 5 Feb 2025 21:42:13 +0100 Subject: [PATCH 1361/2186] use a list comprehension for flags parsing --- volatility3/framework/plugins/linux/tracing/ftrace.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 75b4d3cca..6690769b7 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -6,7 +6,7 @@ import logging from typing import Dict, List, Iterable, Optional -from enum import IntFlag +from enum import Enum from dataclasses import dataclass import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules @@ -21,7 +21,7 @@ vollog = logging.getLogger(__name__) # https://docs.python.org/3.13/library/enum.html#enum.IntFlag -class FtraceOpsFlags(IntFlag): +class FtraceOpsFlags(Enum): """Denote the state of an ftrace_ops struct. Based on https://elixir.bootlin.com/linux/v6.13-rc3/source/include/linux/ftrace.h#L255. """ @@ -221,11 +221,8 @@ if the "hidden_modules" key is present in known_modules. for hooked_symbol in hooked_symbols ] ) - # Manipulate FtraceOpsFlags(ftrace_ops.flags) like so: - # "FtraceOpsFlags.FTRACE_OPS_FL_IPMODIFY|FTRACE_OPS_FL_ALLOC_TRAMP" - # -> "FTRACE_OPS_FL_IPMODIFY,FTRACE_OPS_FL_ALLOC_TRAMP" - formatted_ftrace_flags = ( - str(FtraceOpsFlags(ftrace_ops.flags)).split(".")[-1].replace("|", ",") + formatted_ftrace_flags = ",".join( + [flag.name for flag in FtraceOpsFlags if flag.value & ftrace_ops.flags] ) yield ParsedFtraceOps( ftrace_ops.vol.offset, From 6100d7756f4919ffb6679564bfeee784b7eeadf2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Feb 2025 13:05:41 -0600 Subject: [PATCH 1362/2186] Add function typing --- volatility3/framework/plugins/linux/malfind.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 7d8dd7f18..85cfaed31 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import List +from typing import List, Tuple, Optional import logging from volatility3.framework import interfaces from volatility3.framework import renderers, symbols @@ -39,7 +39,7 @@ class Malfind(interfaces.plugins.PluginInterface): ), ] - def _list_injections(self, task): + def _list_injections(self, task) -> Tuple[interfaces.objects.ObjectInterface, Optional[str], bytes]: """Generate memory regions for a process that may contain injected code.""" From d372f04effff791321f34917dde960805cf698c1 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 3 Jan 2025 19:03:32 +0000 Subject: [PATCH 1363/2186] Add proper exception handling in file descriptor enumeration --- volatility3/framework/symbols/linux/__init__.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index c8a22c7f5..f1a618804 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -339,15 +339,23 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): symbol_table: str, task: interfaces.objects.ObjectInterface, ): - # task.files can be null - if not (task.files and task.files.is_readable()): + try: + files = task.files + except exceptions.InvalidAddressException: + return None + + if not files.is_readable(): + return None + + try: + fd_table = files.get_fds() + except exceptions.InvalidAddressException: return None - fd_table = task.files.get_fds() if fd_table == 0: return None - max_fds = task.files.get_max_fds() + max_fds = files.get_max_fds() # corruption check if max_fds > 500000: From 968241aeddcca340c47a1ca6ffa0061fbf7f70d1 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 31 Jan 2025 18:03:02 +0000 Subject: [PATCH 1364/2186] Address feedback --- volatility3/framework/symbols/linux/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index f1a618804..314522eee 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -341,13 +341,6 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): ): try: files = task.files - except exceptions.InvalidAddressException: - return None - - if not files.is_readable(): - return None - - try: fd_table = files.get_fds() except exceptions.InvalidAddressException: return None From 9c5b01693256d802384f99c8677f0a3c2264f6fd Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Feb 2025 13:11:41 -0600 Subject: [PATCH 1365/2186] Move all initial access into try/except block --- volatility3/framework/symbols/linux/__init__.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 314522eee..f6687a5e4 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -342,14 +342,13 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): try: files = task.files fd_table = files.get_fds() + if fd_table == 0: + return None + + max_fds = files.get_max_fds() except exceptions.InvalidAddressException: return None - if fd_table == 0: - return None - - max_fds = files.get_max_fds() - # corruption check if max_fds > 500000: return None From 4c2d21d0867b8beaa25d9b9c09361a639fdaf6b2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Feb 2025 13:15:31 -0600 Subject: [PATCH 1366/2186] bump patch number --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index cf7c7b51a..3aca23898 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 20 # Number of changes that only add to the interface -VERSION_PATCH = 0 # Number of changes that do not change the interface +VERSION_PATCH = 1 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From ac8eeec52e0eb0118091e8db04b233b387e8c29b Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Feb 2025 13:17:10 -0600 Subject: [PATCH 1367/2186] Fixes for black --- volatility3/framework/plugins/linux/malfind.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 85cfaed31..297116890 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -39,7 +39,9 @@ class Malfind(interfaces.plugins.PluginInterface): ), ] - def _list_injections(self, task) -> Tuple[interfaces.objects.ObjectInterface, Optional[str], bytes]: + def _list_injections( + self, task + ) -> Tuple[interfaces.objects.ObjectInterface, Optional[str], bytes]: """Generate memory regions for a process that may contain injected code.""" From 13278121e3199f6b4746cf214765ed7e261fbdfd Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Feb 2025 13:33:33 -0600 Subject: [PATCH 1368/2186] Catch symbolerror for when a kernel does not have ns_common #1594 --- volatility3/framework/symbols/linux/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index c8a22c7f5..f59587ca7 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -276,7 +276,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): ns_ops = ns_common.ops pre_name = utility.pointer_to_string(ns_ops.name, 255) - except IndexError: + except (exceptions.SymbolError, IndexError): pre_name = "" else: pre_name = f" {sym}" From 8c617d6b3fcc8a029696a0065d00d9c63738072c Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Feb 2025 15:06:32 -0600 Subject: [PATCH 1369/2186] Make a generic DLL enumeration function that ensures the base address is set and we return as many entries as possible #1475 --- .../symbols/windows/extensions/__init__.py | 109 +++++++++--------- 1 file changed, 52 insertions(+), 57 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 230d59f95..fb03d304a 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -491,9 +491,9 @@ class FILE_OBJECT(objects.StructType, pool.ExecutiveObject): ].is_valid(self.FileName.Buffer) def file_name_with_device(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: - name: Union[str, interfaces.renderers.BaseAbsentValue] = ( - renderers.UnreadableValue() - ) + name: Union[ + str, interfaces.renderers.BaseAbsentValue + ] = renderers.UnreadableValue() # this pointer needs to be checked against native_layer_name because the object may # be instantiated from a primary (virtual) layer or a memory (physical) layer. @@ -848,69 +848,64 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): sym_table = self._32bit_table_name return sym_table + def _walk_ldr_list( + self, list_member: str, link_member: str + ) -> Iterable[interfaces.objects.ObjectInterface]: + """ + Walks LDR_DATA_TABLEs and enforces the entries at least have a valid base address + This function also breaks up exception handling as much as possible to ensure the + most data is returned as possible + """ + pebs = [] + + try: + peb = self.get_peb() + if peb: + pebs.append(peb) + except exceptions.InvalidAddressException: + vollog.debug(f"Process at {self.vol.offset:#x} has invalid PEB") + + try: + peb32 = self.get_peb32() + if peb32: + pebs.append(peb32) + except exceptions.InvalidAddressException: + vollog.debug(f"Process at {self.vol.offset:#x} has invalid 32 bit PEB") + + for peb in pebs: + sym_table = self.get_symbol_table_name() + if peb.Ldr.vol.type_name.split(constants.BANG)[-1] == ("unsigned long"): + sym_table = self.set_types(peb) + + for ldr in peb.Ldr.member(list_member).to_list( + f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", link_member + ): + try: + # Several samples in testing crashed from DLLs being returned + # where DllBase was on the next page and that page was not in memory + # Not being able to retrieve the base makes the entry pretty useless + # So we enforce here its presence + ldr.DllBase + yield ldr + except exceptions.InvalidAddressException: + continue + def load_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]: """Generator for DLLs in the order that they were loaded.""" - try: - pebs = [ - self.get_peb(), - self.get_peb32(), - ] - for peb in pebs: - if peb: - sym_table = self.get_symbol_table_name() - if peb.Ldr.vol.type_name.split(constants.BANG)[-1] == ( - "unsigned long" - ): - sym_table = self.set_types(peb) - yield from peb.Ldr.InLoadOrderModuleList.to_list( - f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", - "InLoadOrderLinks", - ) - except exceptions.InvalidAddressException: - return None + + yield from self._walk_ldr_list("InLoadOrderModuleList", "InLoadOrderLinks") def init_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]: """Generator for DLLs in the order that they were initialized""" - try: - pebs = [ - self.get_peb(), - self.get_peb32(), - ] - for peb in pebs: - if peb: - sym_table = self.get_symbol_table_name() - if peb.Ldr.vol.type_name.split(constants.BANG)[-1] == ( - "unsigned long" - ): - sym_table = self.set_types(peb) - yield from peb.Ldr.InInitializationOrderModuleList.to_list( - f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", - "InInitializationOrderLinks", - ) - except exceptions.InvalidAddressException: - return None + yield from self._walk_ldr_list( + "InInitializationOrderModuleList", "InInitializationOrderLinks" + ) def mem_order_modules(self) -> Iterable[interfaces.objects.ObjectInterface]: """Generator for DLLs in the order that they appear in memory""" - try: - pebs = [ - self.get_peb(), - self.get_peb32(), - ] - for peb in pebs: - if peb: - sym_table = self.get_symbol_table_name() - if peb.Ldr.vol.type_name.split(constants.BANG)[-1] == ( - "unsigned long" - ): - sym_table = self.set_types(peb) - yield from peb.Ldr.InMemoryOrderModuleList.to_list( - f"{sym_table}{constants.BANG}" + "_LDR_DATA_TABLE_ENTRY", - "InMemoryOrderLinks", - ) - except exceptions.InvalidAddressException: - return None + + yield from self._walk_ldr_list("InMemoryOrderModuleList", "InMemoryOrderLinks") def get_handle_count(self): try: From 67c001ab50564204ff7be56f43c57212c2420a3a Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Feb 2025 15:12:06 -0600 Subject: [PATCH 1370/2186] Update for black --- .../framework/symbols/windows/extensions/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index fb03d304a..1d6040265 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -491,9 +491,9 @@ class FILE_OBJECT(objects.StructType, pool.ExecutiveObject): ].is_valid(self.FileName.Buffer) def file_name_with_device(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: - name: Union[ - str, interfaces.renderers.BaseAbsentValue - ] = renderers.UnreadableValue() + name: Union[str, interfaces.renderers.BaseAbsentValue] = ( + renderers.UnreadableValue() + ) # this pointer needs to be checked against native_layer_name because the object may # be instantiated from a primary (virtual) layer or a memory (physical) layer. From b78b7a5d9babca813dea3673840260f2cb7f3407 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Feb 2025 16:33:16 -0600 Subject: [PATCH 1371/2186] Switch virtual and physical addresses to lists to support dumping multiple files at once #1319 --- .../framework/plugins/windows/dumpfiles.py | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index 64d9be4db..b10c519e7 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -44,13 +44,15 @@ class DumpFiles(interfaces.plugins.PluginInterface): description="Process ID to include (all other processes are excluded)", optional=True, ), - requirements.IntRequirement( + requirements.ListRequirement( name="virtaddr", + element_type=int, description="Dump a single _FILE_OBJECT at this virtual address", optional=True, ), - requirements.IntRequirement( + requirements.ListRequirement( name="physaddr", + element_type=int, description="Dump a single _FILE_OBJECT at this physical address", optional=True, ), @@ -318,6 +320,7 @@ class DumpFiles(interfaces.plugins.PluginInterface): ) elif offsets: + # Now process any offsets explicitly requested by the user. for offset, is_virtual in offsets: try: @@ -355,10 +358,14 @@ class DumpFiles(interfaces.plugins.PluginInterface): ): raise ValueError("Cannot use filter flag with an address flag") - if self.config.get("virtaddr", None) is not None: - offsets.append((self.config["virtaddr"], True)) - elif self.config.get("physaddr", None) is not None: - offsets.append((self.config["physaddr"], False)) + if self.config.get("virtaddr"): + for virtaddr in self.config["virtaddr"]: + offsets.append((virtaddr, True)) + + elif self.config.get("physaddr"): + for physaddr in self.config["physaddr"]: + offsets.append((physaddr, False)) + else: filter_func = pslist.PsList.create_pid_filter( [self.config.get("pid", None)] From df55b7890dca4a73f6c8e6dd10b6994fc3264276 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Feb 2025 18:05:16 -0600 Subject: [PATCH 1372/2186] Prevent yielding smeared/broken modules from the unloaded module list --- .../framework/plugins/windows/unloadedmodules.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/unloadedmodules.py b/volatility3/framework/plugins/windows/unloadedmodules.py index d9f104ae8..a579ac7e8 100644 --- a/volatility3/framework/plugins/windows/unloadedmodules.py +++ b/volatility3/framework/plugins/windows/unloadedmodules.py @@ -117,7 +117,18 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt ) unloadedmodules_array.UnloadedDrivers.count = unloaded_count - yield from unloadedmodules_array.UnloadedDrivers + for driver in unloadedmodules_array.UnloadedDrivers: + # Mass testing led to dozens of samples backtracing on this plugin when + # accessing members of modules coming out this list + # Given how often temporary drivers load and unload on Win10+, I + # assume the chance for smear is very high + try: + driver.StartAddress + driver.EndAddress + driver.CurrentTime + yield driver + except exceptions.InvalidAddressException: + continue def _generator(self): kernel = self.context.modules[self.config["kernel"]] From 0abe258765a0f84d2df015a446cf20fd7c5bc7ce Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 8 Feb 2025 15:41:02 +0100 Subject: [PATCH 1373/2186] initial linux.tracing.tracepoints.CheckTracepoints --- .../plugins/linux/tracing/tracepoints.py | 305 ++++++++++++++++++ 1 file changed, 305 insertions(+) create mode 100644 volatility3/framework/plugins/linux/tracing/tracepoints.py diff --git a/volatility3/framework/plugins/linux/tracing/tracepoints.py b/volatility3/framework/plugins/linux/tracing/tracepoints.py new file mode 100644 index 000000000..2a79b90d6 --- /dev/null +++ b/volatility3/framework/plugins/linux/tracing/tracepoints.py @@ -0,0 +1,305 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +# Public researches: https://i.blackhat.com/USA21/Wednesday-Handouts/us-21-Fixing-A-Memory-Forensics-Blind-Spot-Linux-Kernel-Tracing-wp.pdf + +import logging +from typing import Dict, Iterable, List, Optional +from dataclasses import dataclass + +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules +from volatility3.plugins.linux import hidden_modules, modxview +from volatility3.framework import constants, exceptions, interfaces +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints, NotAvailableValue, TreeGrid +from volatility3.framework.symbols.linux import extensions +from volatility3.framework.objects import utility +from volatility3.framework.constants import architectures + +vollog = logging.getLogger(__name__) + + +@dataclass +class ParsedTracepointFunc: + """Parsed tracepoint_func struct, containing a selection of forensics valuable + informations.""" + + tracepoint_name: str + tracepoint_address: int + probe_name: str + probe_address: int + probe_priority: int + module_name: str + module_address: int + + +class CheckTracepoints(interfaces.plugins.PluginInterface): + """Detect tracepoints hooking + + Investigate the tracepoints subsystem to uncover kernel attached probes, which can be leveraged + to hook kernel functions and modify their behaviour.""" + + _version = (1, 0, 0) + _required_framework_version = (2, 19, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=architectures.LINUX_ARCHS, + ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(1, 1, 0), + ), + requirements.PluginRequirement( + name="modxview", plugin=modxview.Modxview, version=(1, 0, 0) + ), + requirements.PluginRequirement( + name="hidden_modules", + plugin=hidden_modules.Hidden_modules, + version=(1, 0, 0), + ), + ] + + @classmethod + def iterate_tracepoint_funcs( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + tracepoint: interfaces.objects.ObjectInterface, + ) -> Optional[Iterable[interfaces.objects.ObjectInterface]]: + """Extract probes represented by tracepoint_func structs from a + tracepoint funcs member. + + Args: + tracepoint: The tracepoint struct to parse + + Yields: + An iterable of tracepoint_func structs + """ + + layer = context.layers[layer_name] + # Ignore tracepoints without attached probes + if not tracepoint.funcs.is_readable(): + return None + + current_tracepoint_func = tracepoint.funcs.dereference() + # Inspired by kernel's debug_print_probes() + while ( + layer.is_valid(current_tracepoint_func.vol.offset) + and current_tracepoint_func.func.is_readable() + ): + yield current_tracepoint_func + current_tracepoint_func = context.object( + tracepoint.get_symbol_table_name() + constants.BANG + "tracepoint_func", + layer_name, + current_tracepoint_func.vol.offset + current_tracepoint_func.vol.size, + ) + + @classmethod + def parse_tracepoint( + cls, + context: interfaces.context.ContextInterface, + kernel_name: str, + known_modules: Dict[str, List[extensions.module]], + tracepoint: interfaces.objects.ObjectInterface, + run_hidden_modules: bool = True, + ) -> Optional[Iterable[ParsedTracepointFunc]]: + """Parse a tracepoint struct to highlight tracepoints kernel hooking. + + Args: + known_modules: A dict of known modules, used to locate callbacks origin. Typically obtained through modxview.run_modules_scanners(). + tracepoint: The tracepoint struct to parse + run_hidden_modules: Whether to run the hidden_modules plugin or not. Note: it won't be run, even if specified, \ +if the "hidden_modules" key is present in known_modules. + + Yields: + An iterable of ParsedTracepointFunc dataclasses, containing a selection of useful fields related to a tracepoint struct + """ + + kernel = context.modules[kernel_name] + kernel_layer = context.layers[kernel.layer_name] + + for tracepoint_func in cls.iterate_tracepoint_funcs( + context, kernel_layer.name, tracepoint + ): + probe_handler_address = tracepoint_func.func + probe_handler_symbol = module_address = module_name = None + + # Try to lookup within the known modules if the probe_handler address fits + module = linux_utilities_modules.Modules.module_lookup_by_address( + context, + kernel.layer_name, + modxview.Modxview.flatten_run_modules_results(known_modules), + probe_handler_address, + ) + # Run hidden_modules plugin if a probe handler origin couldn't be determined (only done once, results are re-used afterwards) + if ( + module is None + and run_hidden_modules + and "hidden_modules" not in known_modules + ): + vollog.info( + "A probe handler module origin could not be determined. hidden_modules plugin will be run to detect additional modules.", + ) + known_modules_addresses = set( + kernel_layer.canonicalize(module.vol.offset) + for module in modxview.Modxview.flatten_run_modules_results( + known_modules + ) + ) + modules_memory_boundaries = ( + hidden_modules.Hidden_modules.get_modules_memory_boundaries( + context, kernel_name + ) + ) + known_modules["hidden_modules"] = list( + hidden_modules.Hidden_modules.get_hidden_modules( + context, + kernel_name, + known_modules_addresses, + modules_memory_boundaries, + ) + ) + # Lookup the updated list to see if hidden_modules was able + # to find the missing module + module = linux_utilities_modules.Modules.module_lookup_by_address( + context, + kernel.layer_name, + modxview.Modxview.flatten_run_modules_results(known_modules), + probe_handler_address, + ) + + # Fetch more information about the module + if module is not None: + module_address = module.vol.offset + module_name = module.get_name() + probe_handler_symbol = module.get_symbol_by_address( + probe_handler_address + ) + else: + vollog.warning( + f"Could not determine tracepoint@{tracepoint.vol.offset:#x} probe handler {probe_handler_address:#x} module origin.", + ) + + yield ParsedTracepointFunc( + utility.pointer_to_string(tracepoint.name, count=512), + tracepoint.vol.offset, + probe_handler_symbol, + probe_handler_address, + tracepoint_func.prio, + module_name, + module_address, + ) + + @classmethod + def iterate_tracepoints_array( + cls, context: interfaces.context.ContextInterface, kernel_name: str + ) -> List[interfaces.objects.ObjectInterface]: + """Iterate over (tracepoint_ptr_t *)__start___tracepoints_ptrs. + Handles CONFIG_HAVE_ARCH_PREL32_RELOCATIONS. + + Returns: + A list of tracepoint structs + """ + + kernel = context.modules[kernel_name] + + tracepoints = [] + tracepoints_start = kernel.object_from_symbol("__start___tracepoints_ptrs") + tracepoints_end = kernel.object_from_symbol("__stop___tracepoints_ptrs") + tracepoints_array_size = ( + tracepoints_end.vol.offset - tracepoints_start.vol.offset + ) + # kernel's tracepoint_ptr_deref() and tracepoint_ptr_t + # adjust depending on the use of relocated pointers + # or not + config_have_arch_prel32_relocations = ( + tracepoints_start.vol.subtype.type_name + == kernel.symbol_table_name + constants.BANG + "int" + ) + if config_have_arch_prel32_relocations: + tracepoints_relative_offsets = tracepoints_start.cast( + "array", + count=tracepoints_array_size // kernel.get_type("int").size, + subtype=kernel.get_type("int"), + ) + for relative_offset in tracepoints_relative_offsets: + tracepoint = kernel.object( + "tracepoint", + relative_offset + relative_offset.vol.offset, + absolute=True, + ) + tracepoints.append(tracepoint) + else: + tracepoints = utility.array_of_pointers( + tracepoints_start, + tracepoints_array_size // kernel.get_type("pointer").size, + kernel.symbol_table_name + constants.BANG + "tracepoint", + context, + ) + + return tracepoints + + def _generator(self): + kernel_name = self.config["kernel"] + kernel = self.context.modules[kernel_name] + kernel_layer = self.context.layers[kernel.layer_name] + + if not kernel.has_symbol("__start___tracepoints_ptrs"): + raise exceptions.SymbolError( + "__start___tracepoints_ptrs", + self.vmlinux.symbol_table_name, + 'The provided symbol table does not include the "__start___tracepoints_ptrs" symbol. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupted.', + ) + + known_modules = modxview.Modxview.run_modules_scanners( + self.context, kernel_name, run_hidden_modules=False + ) + tracepoints = self.iterate_tracepoints_array(self.context, kernel_name) + + for tracepoint in tracepoints: + if not kernel_layer.is_valid(tracepoint.vol.offset): + continue + + for tracepoint_parsed in self.parse_tracepoint( + self.context, kernel_name, known_modules, tracepoint + ): + formatted_results = ( + tracepoint_parsed.tracepoint_name, + format_hints.Hex(tracepoint_parsed.tracepoint_address), + tracepoint_parsed.probe_name or NotAvailableValue(), + format_hints.Hex(tracepoint_parsed.probe_address), + tracepoint_parsed.probe_priority, + tracepoint_parsed.module_name or NotAvailableValue(), + ( + format_hints.Hex(tracepoint_parsed.module_address) + if tracepoint_parsed.module_address is not None + else NotAvailableValue() + ), + ) + yield ( + 0, + formatted_results, + ) + + def run(self): + columns = [ + ("tracepoint", str), + ("tracepoint address", format_hints.Hex), + ("Probe", str), + ("Probe address", format_hints.Hex), + ("Probe priority", int), + ("Module", str), + ("Module address", format_hints.Hex), + ] + + return TreeGrid( + columns, + self._generator(), + ) From 83dde6aec31fd79d349644a3b0ac317b73d1cb7f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 9 Feb 2025 12:26:42 +0100 Subject: [PATCH 1374/2186] improve prel32 comments --- .../framework/plugins/linux/tracing/tracepoints.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/tracepoints.py b/volatility3/framework/plugins/linux/tracing/tracepoints.py index 2a79b90d6..89bec4598 100644 --- a/volatility3/framework/plugins/linux/tracing/tracepoints.py +++ b/volatility3/framework/plugins/linux/tracing/tracepoints.py @@ -217,8 +217,10 @@ if the "hidden_modules" key is present in known_modules. tracepoints_end.vol.offset - tracepoints_start.vol.offset ) # kernel's tracepoint_ptr_deref() and tracepoint_ptr_t - # adjust depending on the use of relocated pointers - # or not + # adjust depending on the use of PC-relative addressing + # or not. + # Relocation is commonly used to store pointers as offsets + # relative to their own address rather than absolute addresses/pointers. config_have_arch_prel32_relocations = ( tracepoints_start.vol.subtype.type_name == kernel.symbol_table_name + constants.BANG + "int" @@ -230,9 +232,13 @@ if the "hidden_modules" key is present in known_modules. subtype=kernel.get_type("int"), ) for relative_offset in tracepoints_relative_offsets: + # relative_offset is the value stored at relative_offset.vol.offset + # See kernel's offset_to_ptr(). Example: + # 0xffff9da125e0 = 0x7af138 + 0xffff9d2634a8 + absolute_address = relative_offset + relative_offset.vol.offset tracepoint = kernel.object( "tracepoint", - relative_offset + relative_offset.vol.offset, + absolute_address, absolute=True, ) tracepoints.append(tracepoint) From a9691fbe77b72bed2cd5b12471d8f5deaae88813 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 9 Feb 2025 12:41:23 +0100 Subject: [PATCH 1375/2186] remove unnecessary object creation --- volatility3/framework/plugins/linux/tracing/tracepoints.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/tracepoints.py b/volatility3/framework/plugins/linux/tracing/tracepoints.py index 89bec4598..247e139d5 100644 --- a/volatility3/framework/plugins/linux/tracing/tracepoints.py +++ b/volatility3/framework/plugins/linux/tracing/tracepoints.py @@ -212,10 +212,10 @@ if the "hidden_modules" key is present in known_modules. tracepoints = [] tracepoints_start = kernel.object_from_symbol("__start___tracepoints_ptrs") - tracepoints_end = kernel.object_from_symbol("__stop___tracepoints_ptrs") - tracepoints_array_size = ( - tracepoints_end.vol.offset - tracepoints_start.vol.offset + tracepoints_end = kernel.get_absolute_symbol_address( + "__stop___tracepoints_ptrs" ) + tracepoints_array_size = tracepoints_end - tracepoints_start.vol.offset # kernel's tracepoint_ptr_deref() and tracepoint_ptr_t # adjust depending on the use of PC-relative addressing # or not. From 8d23d5b80810655475233030ff441ee63a2f2865 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 9 Feb 2025 13:41:46 +0100 Subject: [PATCH 1376/2186] use architectures.LINUX_ARCHS --- volatility3/framework/plugins/linux/pagecache.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 4d1250255..48e3da9c1 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -6,8 +6,9 @@ import math import logging import datetime from dataclasses import dataclass, astuple -from typing import List, Set, Type, Iterable, Tuple +from typing import IO, List, Set, Type, Iterable, Tuple +from volatility3.framework.constants import architectures from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.renderers import format_hints from volatility3.framework.interfaces import plugins @@ -112,7 +113,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.ModuleRequirement( name="kernel", description="Linux kernel", - architectures=["Intel32", "Intel64"], + architectures=architectures.LINUX_ARCHS, ), requirements.PluginRequirement( name="mountinfo", plugin=mountinfo.MountInfo, version=(1, 2, 0) @@ -413,7 +414,7 @@ class InodePages(plugins.PluginInterface): requirements.ModuleRequirement( name="kernel", description="Linux kernel", - architectures=["Intel32", "Intel64"], + architectures=architectures.LINUX_ARCHS, ), requirements.PluginRequirement( name="files", plugin=Files, version=(1, 0, 0) From cd9ba823a1719c734f0ebf8f983182389eba87b3 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 9 Feb 2025 13:42:47 +0100 Subject: [PATCH 1377/2186] add inode_size and format_symlink to InodeUser --- volatility3/framework/plugins/linux/pagecache.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 48e3da9c1..3fa8cf181 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -38,6 +38,11 @@ class InodeUser: modification_time: str change_time: str path: str + inode_size: int + + @classmethod + def format_symlink(cls, symlink_source: str, symlink_dest: str) -> str: + return f"{symlink_source} -> {symlink_dest}" @dataclass @@ -81,6 +86,7 @@ class InodeInternal: access_time_dt = self.inode.get_access_time() modification_time_dt = self.inode.get_modification_time() change_time_dt = self.inode.get_change_time() + inode_size = int(self.inode.i_size) inode_user = InodeUser( superblock_addr=superblock_addr, @@ -96,6 +102,7 @@ class InodeInternal: modification_time=modification_time_dt, change_time=change_time_dt, path=self.path, + inode_size=inode_size, ) return inode_user @@ -394,6 +401,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): ("ModificationTime", datetime.datetime), ("ChangeTime", datetime.datetime), ("FilePath", str), + ("InodeSize", int), ] return renderers.TreeGrid( From b9d4605b8ac93382d1d4542fbe15d2e2d7466758 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 9 Feb 2025 13:44:16 +0100 Subject: [PATCH 1378/2186] switch to InodeUser.format_symlink --- volatility3/framework/plugins/linux/pagecache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 3fa8cf181..c2bf6fcca 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -162,10 +162,10 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): and inode.i_link and inode.i_link.is_readable() ): - i_link_str = inode.i_link.dereference().cast( + symlink_dest = inode.i_link.dereference().cast( "string", max_length=255, encoding="utf-8", errors="replace" ) - symlink_path = f"{symlink_path} -> {i_link_str}" + symlink_path = InodeUser.format_symlink(symlink_path, symlink_dest) return symlink_path From 8d9d0f5689a31cadcf40b3125f0f8d67ea668a29 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 9 Feb 2025 13:45:23 +0100 Subject: [PATCH 1379/2186] add and use follow_symlinks parameter --- volatility3/framework/plugins/linux/pagecache.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index c2bf6fcca..5f3e3e558 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -226,12 +226,14 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str, + follow_symlinks: bool = True, ) -> Iterable[InodeInternal]: """Retrieves the inodes from the superblocks Args: context: The context that the plugin will operate within vmlinux_module_name: The name of the kernel module on which to operate + follow_symlinks: Whether to follow symlinks or not Yields: An InodeInternal object @@ -311,7 +313,8 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): continue seen_inodes.add(file_inode_ptr) - file_path = cls._follow_symlink(file_inode_ptr, file_path) + if follow_symlinks: + file_path = cls._follow_symlink(file_inode_ptr, file_path) inode_in = InodeInternal( superblock=superblock, mountpoint=mountpoint, From 03f6fa95332da64a15f7176eb6e5419518424998 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 9 Feb 2025 13:45:46 +0100 Subject: [PATCH 1380/2186] 1.0.3 -> 1.1.0 Files bump --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 5f3e3e558..702c5986e 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -112,7 +112,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): _required_framework_version = (2, 0, 0) - _version = (1, 0, 3) + _version = (1, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 223f2d69bbcd4a7877e642b7a50b70355731551b Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 9 Feb 2025 13:47:37 +0100 Subject: [PATCH 1381/2186] switch to context and layer_name calling convention --- volatility3/framework/plugins/linux/pagecache.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 702c5986e..5f12d7228 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -451,14 +451,17 @@ class InodePages(plugins.PluginInterface): @classmethod def write_inode_content_to_file( cls, + context: interfaces.context.ContextInterface, + layer_name: str, inode: interfaces.objects.ObjectInterface, filename: str, open_method: Type[interfaces.plugins.FileHandlerInterface], - vmlinux_layer: interfaces.layers.TranslationLayerInterface, ) -> None: """Extracts the inode's contents from the page cache and saves them to a file Args: + context: The context on which to operate + layer_name: The name of the layer on which to operate inode: The inode to dump filename: Filename for writing the inode content open_method: class for constructing output files @@ -587,7 +590,7 @@ class InodePages(plugins.PluginInterface): filename = open_method.sanitize_filename(f"inode_0x{inode_address:x}.dmp") vollog.info("[*] Writing inode at 0x%x to '%s'", inode_address, filename) self.write_inode_content_to_file( - inode, filename, open_method, vmlinux_layer + self.context, vmlinux_layer.name, inode, filename, open_method ) else: yield from self._generate_inode_fields(inode, vmlinux_layer) From 826281b3b903790874f9c48ed501b16b8243f867 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 9 Feb 2025 13:48:59 +0100 Subject: [PATCH 1382/2186] add and use write_inode_content_to_stream --- .../framework/plugins/linux/pagecache.py | 75 ++++++++++++------- 1 file changed, 46 insertions(+), 29 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 5f12d7228..05544bc91 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -465,51 +465,68 @@ class InodePages(plugins.PluginInterface): inode: The inode to dump filename: Filename for writing the inode content open_method: class for constructing output files - vmlinux_layer: The kernel layer to obtain the page size + """ + try: + with open_method(filename) as file_obj: + cls.write_inode_content_to_stream(context, layer_name, inode, file_obj) + except OSError as e: + vollog.error("Unable to write to file (%s): %s", filename, e) + + @classmethod + def write_inode_content_to_stream( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + inode: interfaces.objects.ObjectInterface, + stream: IO, + ) -> None: + """Extracts the inode's contents from the page cache and saves them to a stream + + Args: + context: The context on which to operate + layer_name: The name of the layer on which to operate + inode: The inode to dump + stream: An IO stream to write to, typically FileHandlerInterface or BytesIO """ if not inode.is_reg: vollog.error("The inode is not a regular file") return None - # By using truncate/seek, provided the filesystem supports it, a sparse file will be + layer = context.layers[layer_name] + # By using truncate/seek, provided the filesystem supports it, and the + # stream is a File interface, a sparse file will be # created, saving both disk space and I/O time. # Additionally, using the page index will guarantee that each page is written at the # appropriate file position. inode_size = inode.i_size try: - file_initialized = False - with open_method(filename) as file_obj: - for page_idx, page_content in inode.get_contents(): - current_fp = page_idx * vmlinux_layer.page_size - max_length = inode_size - current_fp - page_bytes_len = min(max_length, len(page_content)) - if ( - current_fp >= inode_size - or current_fp + page_bytes_len > inode_size - ): - vollog.error( - "Page out of file bounds: inode 0x%x, inode size %d, page index %d", - inode.vol.offset, - inode_size, - page_idx, - ) - continue - page_bytes = page_content[:page_bytes_len] + stream_initialized = False + for page_idx, page_content in inode.get_contents(): + current_fp = page_idx * layer.page_size + max_length = inode_size - current_fp + page_bytes_len = min(max_length, len(page_content)) + if current_fp >= inode_size or current_fp + page_bytes_len > inode_size: + vollog.error( + "Page out of file bounds: inode 0x%x, inode size %d, page index %d", + inode.vol.offset, + inode_size, + page_idx, + ) + continue + page_bytes = page_content[:page_bytes_len] - if not file_initialized: - # Lazy initialization to avoid truncating the file until we are - # certain there is something to write - file_obj.truncate(inode_size) - file_initialized = True + if not stream_initialized: + # Lazy initialization to avoid truncating the stream until we are + # certain there is something to write + stream.truncate(inode_size) + stream_initialized = True - file_obj.seek(current_fp) - file_obj.write(page_bytes) + stream.seek(current_fp) + stream.write(page_bytes) except exceptions.LinuxPageCacheException: vollog.error( f"Error dumping cached pages for inode at {inode.vol.offset:#x}" ) - except OSError as e: - vollog.error("Unable to write to file (%s): %s", filename, e) def _generate_inode_fields( self, From f1b34df26ba76d67a10e3169db866cf5e459b18a Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sun, 9 Feb 2025 13:49:24 +0100 Subject: [PATCH 1383/2186] 2.0.2 -> 3.0.0 InodePages bump --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 05544bc91..de02ad022 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -417,7 +417,7 @@ class InodePages(plugins.PluginInterface): _required_framework_version = (2, 0, 0) - _version = (2, 0, 2) + _version = (3, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 444376cbbad407bbe00cb4ed3cb51b6ae07ec489 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 9 Feb 2025 15:39:49 +0000 Subject: [PATCH 1384/2186] Fix typos and try setting back requirement change --- volatility3/framework/configuration/requirements.py | 2 +- volatility3/framework/plugins/windows/bigpools.py | 2 +- volatility3/framework/plugins/windows/callbacks.py | 12 ++++++------ volatility3/framework/plugins/windows/handles.py | 4 ++-- volatility3/framework/plugins/windows/modules.py | 2 +- volatility3/framework/plugins/windows/pslist.py | 2 +- volatility3/framework/plugins/windows/psscan.py | 2 +- .../framework/plugins/windows/registry/hivelist.py | 2 +- .../framework/plugins/windows/unloadedmodules.py | 2 +- volatility3/framework/plugins/windows/vadinfo.py | 2 +- .../framework/symbols/windows/extensions/__init__.py | 6 +++--- 11 files changed, 19 insertions(+), 19 deletions(-) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index aa16c6090..3e3608000 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -638,12 +638,12 @@ class ModuleRequirement( self.add_requirement( TranslationLayerRequirement(name="layer_name", architectures=architectures) ) + self.add_requirement(SymbolTableRequirement(name="symbol_table_name")) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ IntRequirement(name="offset"), - SymbolTableRequirement(name="symbol_table_name"), ] def unsatisfied( diff --git a/volatility3/framework/plugins/windows/bigpools.py b/volatility3/framework/plugins/windows/bigpools.py index f6217ac50..9da702ae0 100644 --- a/volatility3/framework/plugins/windows/bigpools.py +++ b/volatility3/framework/plugins/windows/bigpools.py @@ -69,7 +69,7 @@ class BigPools(interfaces.plugins.PluginInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index 9d54f4331..7bb90863d 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -364,7 +364,7 @@ class Callbacks(interfaces.plugins.PluginInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) @@ -425,7 +425,7 @@ class Callbacks(interfaces.plugins.PluginInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) full_type_name = ( @@ -476,7 +476,7 @@ class Callbacks(interfaces.plugins.PluginInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) full_type_name = callback_table_name + constants.BANG + "_CM_CALLBACK_ENTRY" @@ -521,7 +521,7 @@ class Callbacks(interfaces.plugins.PluginInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) @@ -581,7 +581,7 @@ class Callbacks(interfaces.plugins.PluginInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) @@ -649,7 +649,7 @@ class Callbacks(interfaces.plugins.PluginInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 384528f0a..276ce5d51 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -147,7 +147,7 @@ class Handles(interfaces.plugins.PluginInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) @@ -209,7 +209,7 @@ class Handles(interfaces.plugins.PluginInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) return context.object( symbol_table + constants.BANG + "unsigned int", diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 0dfa5a7e8..62a622491 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -250,7 +250,7 @@ class Modules(interfaces.plugins.PluginInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 3e8be08a4..3d3f12869 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -229,7 +229,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index 21671eb9b..81e5fb792 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -197,7 +197,7 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) tleoffset = ntkrnlmp.get_type("_ETHREAD").relative_child_offset( diff --git a/volatility3/framework/plugins/windows/registry/hivelist.py b/volatility3/framework/plugins/windows/registry/hivelist.py index 2963a7b8b..36be35a68 100644 --- a/volatility3/framework/plugins/windows/registry/hivelist.py +++ b/volatility3/framework/plugins/windows/registry/hivelist.py @@ -218,7 +218,7 @@ class HiveList(interfaces.plugins.PluginInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) diff --git a/volatility3/framework/plugins/windows/unloadedmodules.py b/volatility3/framework/plugins/windows/unloadedmodules.py index 855f0730b..4359199c1 100644 --- a/volatility3/framework/plugins/windows/unloadedmodules.py +++ b/volatility3/framework/plugins/windows/unloadedmodules.py @@ -91,7 +91,7 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) unloadedmodules_offset = ntkrnlmp.get_symbol("MmUnloadedDrivers").address diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index f309aa3fd..35bf54d98 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -102,7 +102,7 @@ class VadInfo(interfaces.plugins.PluginInterface): kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) addr = ntkrnlmp.get_symbol("MmProtectToValue").address diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 595b63256..4e7d6d920 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -843,7 +843,7 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = self._context.module( @@ -1040,7 +1040,7 @@ class TOKEN(objects.StructType): ) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) symbol_table = self.get_symbol_table_name() ntkrnlmp = self._context.module( @@ -1148,7 +1148,7 @@ class KTIMER(objects.StructType): ) if not kvo: raise ValueError( - "Intel layer does not have an associatd kernel virtual offset, failing" + "Intel layer does not have an associated kernel virtual offset, failing" ) ntkrnlmp = self._context.module( symbol_table_name, From 64d8a675a70f873577c78d63a784e0b82b8f48ba Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 10 Feb 2025 11:49:23 +0100 Subject: [PATCH 1385/2186] initial linux.pagecache.recoverfs --- .../framework/plugins/linux/pagecache.py | 211 ++++++++++++++++++ 1 file changed, 211 insertions(+) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index de02ad022..d0c085719 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -5,8 +5,11 @@ import math import logging import datetime +import time +import tarfile from dataclasses import dataclass, astuple from typing import IO, List, Set, Type, Iterable, Tuple +from io import BytesIO from volatility3.framework.constants import architectures from volatility3.framework import renderers, interfaces, exceptions @@ -625,3 +628,211 @@ class InodePages(plugins.PluginInterface): return renderers.TreeGrid( headers, Files.format_fields_with_headers(headers, self._generator()) ) + + +class RecoverFs(plugins.PluginInterface): + """Recovers the cached filesystem (directories, files, symlinks) into a compressed tarball. + + Metadata aren't replicated to extracted objects and timestamps are set to the plugin run time. To prevent extraction errors related to long paths, please consider using https://github.com/mxmlnkn/ratarmount. + To mount: + "ratarmount recovered_fs.tar.gz ./recovered_fs_mounted/". + To unmount: + "umount ./recovered_fs_mounted/". + """ + + _version = (1, 0, 0) + _required_framework_version = (2, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=architectures.LINUX_ARCHS, + ), + requirements.PluginRequirement( + name="files", plugin=Files, version=(1, 1, 0) + ), + requirements.PluginRequirement( + name="inodepages", plugin=InodePages, version=(3, 0, 0) + ), + requirements.ChoiceRequirement( + name="compression_format", + description="Compression format (default: gz)", + choices=["gz", "bz2", "xz"], + default="gz", + optional=True, + ), + ] + + @classmethod + def _tar_add_reg_inode( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + tar: tarfile.TarFile, + reg_inode_in: InodeInternal, + mtime: float = None, + ) -> int: + """Extracts a REG inode content and writes it to a TarFile object. + + Args: + context: The context on which to operate + layer_name: The name of the layer on which to operate + tar: The TarFile object to write to + reg_inode_in: The inode to extract content from + mtime: The modification time to set the TarInfo object to + + Returns: + The number of extracted bytes + """ + inode_content_buffer = BytesIO() + InodePages.write_inode_content_to_stream( + context, layer_name, reg_inode_in.inode, inode_content_buffer + ) + inode_content_buffer.seek(0) + handle_buffer_size = inode_content_buffer.getbuffer().nbytes + + tar_info = tarfile.TarInfo(reg_inode_in.path) + # The tarfile module only has read support for sparse files: + # https://docs.python.org/3.12/library/tarfile.html#tarfile.LNKTYPE:~:text=and%20longlink%20extensions%2C-,read%2Donly%20support,-for%20all%20variants + tar_info.type = tarfile.REGTYPE + tar_info.size = handle_buffer_size + tar_info.mode = 0o444 + if mtime is not None: + tar_info.mtime = mtime + tar.addfile(tar_info, inode_content_buffer) + + return handle_buffer_size + + @classmethod + def _tar_add_dir_inode( + cls, + tar: tarfile.TarFile, + reg_dir_in: InodeInternal, + mtime: float = None, + ) -> None: + """Adds a directory path to a TarFile object, based on a DIR inode. + + Args: + tar: The TarFile object to write to + reg_dir_in: The inode to base the new directory on + mtime: The modification time to set the TarInfo object to + """ + tar_info = tarfile.TarInfo(reg_dir_in.path) + tar_info.type = tarfile.DIRTYPE + tar_info.mode = 0o755 + if mtime is not None: + tar_info.mtime = mtime + tar.addfile(tar_info) + + @classmethod + def _tar_add_lnk( + cls, + tar: tarfile.TarFile, + symlink_source: str, + symlink_dest: str, + mtime: float = None, + ) -> None: + """Adds a symlink to a TarFile object. + + Args: + tar: The TarFile object to write to + symlink_source: The symlink source path + symlink_dest: The symlink target/destination + mtime: The modification time to set the TarInfo object to + """ + # Patch symlinks pointing to absolute paths, + # to prevent referencing the host filesystem. + if symlink_dest.startswith("/"): + inode_depth = symlink_source.strip("/").count("/") + symlink_dest = "../" * inode_depth + symlink_dest.lstrip("/") + + tar_info = tarfile.TarInfo(symlink_source) + tar_info.type = tarfile.SYMTYPE + tar_info.linkname = symlink_dest + tar_info.mode = 0o444 + if mtime is not None: + tar_info.mtime = mtime + tar.addfile(tar_info) + + def _generator(self): + vmlinux_module_name = self.config["kernel"] + vmlinux = self.context.modules[vmlinux_module_name] + vmlinux_layer = self.context.layers[vmlinux.layer_name] + tar_buffer = BytesIO() + tar = tarfile.open( + fileobj=tar_buffer, + mode=f"w:{self.config['compression_format']}", + ) + # Set a unique timestamp for all extracted files + mtime = time.time() + + inodes_iter = Files.get_inodes( + context=self.context, + vmlinux_module_name=vmlinux_module_name, + follow_symlinks=False, + ) + visited_paths = set() + for inode_in in inodes_iter: + if inode_in.path in visited_paths: + continue + visited_paths.add(inode_in.path) + extracted_file_size = renderers.NotApplicableValue() + + # Inodes parent directory is yielded first, which + # ensures that a file parent path will exist beforehand. + # tarfile will take care of creating it anyway. + if inode_in.inode.is_reg: + extracted_file_size = self._tar_add_reg_inode( + self.context, vmlinux_layer.name, tar, inode_in, mtime + ) + elif inode_in.inode.is_dir: + self._tar_add_dir_inode(tar, inode_in, mtime) + elif ( + inode_in.inode.is_link + and inode_in.inode.has_member("i_link") + and inode_in.inode.i_link + and inode_in.inode.i_link.is_readable() + ): + symlink_dest = inode_in.inode.i_link.dereference().cast( + "string", max_length=255, encoding="utf-8", errors="replace" + ) + self._tar_add_lnk(tar, inode_in.path, symlink_dest, mtime) + # Set path to a user friendly representation before yielding + inode_in.path = InodeUser.format_symlink(inode_in.path, symlink_dest) + else: + continue + + inode_out = inode_in.to_user(vmlinux_layer) + yield (0, astuple(inode_out) + (extracted_file_size,)) + + tar.close() + tar_buffer.seek(0) + output_filename = f"recovered_fs.tar.{self.config['compression_format']}" + with self.open(output_filename) as f: + f.write(tar_buffer.getvalue()) + + def run(self): + headers = [ + ("SuperblockAddr", format_hints.Hex), + ("MountPoint", str), + ("Device", str), + ("InodeNum", int), + ("InodeAddr", format_hints.Hex), + ("FileType", str), + ("InodePages", int), + ("CachedPages", int), + ("FileMode", str), + ("AccessTime", datetime.datetime), + ("ModificationTime", datetime.datetime), + ("ChangeTime", datetime.datetime), + ("FilePath", str), + ("InodeSize", int), + ("Recovered FileSize", int), + ] + + return renderers.TreeGrid( + headers, Files.format_fields_with_headers(headers, self._generator()) + ) From 773231280933319e8433932521298808d618b146 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 11 Feb 2025 17:45:12 +0100 Subject: [PATCH 1386/2186] switch property to functools.cached_property --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index b4dc1ac20..d5959823a 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1057,11 +1057,11 @@ class super_block(objects.StructType): SB_LAZYTIME: "lazytime", } - @property + @functools.cached_property def major(self) -> int: return self.s_dev >> self.MINORBITS - @property + @functools.cached_property def minor(self) -> int: return self.s_dev & ((1 << self.MINORBITS) - 1) From ec61da6dac21fb2a285f300daf9b471f9017eee3 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 11 Feb 2025 17:45:31 +0100 Subject: [PATCH 1387/2186] add uuid property to super_block --- .../symbols/linux/extensions/__init__.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d5959823a..927858ca7 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -10,6 +10,7 @@ import binascii import stat import datetime import socket as socket_module +import uuid from typing import ( Generator, Iterable, @@ -1065,6 +1066,20 @@ class super_block(objects.StructType): def minor(self) -> int: return self.s_dev & ((1 << self.MINORBITS) - 1) + @functools.cached_property + def uuid(self) -> str: + if not self.has_member("s_uuid"): + raise AttributeError( + "super_block struct does not support s_uuid direct attribute access, probably indicating a kernel version < 2.6.39-rc1." + ) + + if self.s_uuid.has_member("b"): + uuid_as_ints = self.s_uuid.b + else: + uuid_as_ints = self.s_uuid + + return str(uuid.UUID(bytes=bytes(uuid_as_ints))) + def get_flags_access(self) -> str: return "ro" if self.s_flags & self.SB_RDONLY else "rw" From f82fd5375351dd554275eea04422a817b65a58ad Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 11 Feb 2025 17:46:03 +0100 Subject: [PATCH 1388/2186] 2.20.1 -> 2.21.0 bump --- volatility3/framework/constants/_version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 3aca23898..0393a9669 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 20 # Number of changes that only add to the interface -VERSION_PATCH = 1 # Number of changes that do not change the interface +VERSION_MINOR = 21 # Number of changes that only add to the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From 999f3d0d2ce67aa8d41ee03af10045c9f42cb6b0 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 11 Feb 2025 17:48:34 +0100 Subject: [PATCH 1389/2186] add superblock or device numbers path prepending --- .../framework/plugins/linux/pagecache.py | 55 +++++++++++++------ 1 file changed, 39 insertions(+), 16 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index d0c085719..2a137fc89 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -633,11 +633,8 @@ class InodePages(plugins.PluginInterface): class RecoverFs(plugins.PluginInterface): """Recovers the cached filesystem (directories, files, symlinks) into a compressed tarball. - Metadata aren't replicated to extracted objects and timestamps are set to the plugin run time. To prevent extraction errors related to long paths, please consider using https://github.com/mxmlnkn/ratarmount. - To mount: - "ratarmount recovered_fs.tar.gz ./recovered_fs_mounted/". - To unmount: - "umount ./recovered_fs_mounted/". + Details: level 0 directories are named after the UUID of the parent superblock; metadata aren't replicated to extracted objects; objects modification time is set to the plugin run time. + Troubleshooting: to fix extraction errors related to long paths, please consider using https://github.com/mxmlnkn/ratarmount. """ _version = (1, 0, 0) @@ -673,6 +670,7 @@ class RecoverFs(plugins.PluginInterface): layer_name: str, tar: tarfile.TarFile, reg_inode_in: InodeInternal, + path_prefix: str = "", mtime: float = None, ) -> int: """Extracts a REG inode content and writes it to a TarFile object. @@ -682,6 +680,7 @@ class RecoverFs(plugins.PluginInterface): layer_name: The name of the layer on which to operate tar: The TarFile object to write to reg_inode_in: The inode to extract content from + path_prefix: A custom path prefix to prepend the inode path with mtime: The modification time to set the TarInfo object to Returns: @@ -694,7 +693,7 @@ class RecoverFs(plugins.PluginInterface): inode_content_buffer.seek(0) handle_buffer_size = inode_content_buffer.getbuffer().nbytes - tar_info = tarfile.TarInfo(reg_inode_in.path) + tar_info = tarfile.TarInfo(path_prefix + reg_inode_in.path) # The tarfile module only has read support for sparse files: # https://docs.python.org/3.12/library/tarfile.html#tarfile.LNKTYPE:~:text=and%20longlink%20extensions%2C-,read%2Donly%20support,-for%20all%20variants tar_info.type = tarfile.REGTYPE @@ -707,20 +706,20 @@ class RecoverFs(plugins.PluginInterface): return handle_buffer_size @classmethod - def _tar_add_dir_inode( + def _tar_add_dir( cls, tar: tarfile.TarFile, - reg_dir_in: InodeInternal, + directory_path: str, mtime: float = None, ) -> None: """Adds a directory path to a TarFile object, based on a DIR inode. Args: tar: The TarFile object to write to - reg_dir_in: The inode to base the new directory on + directory_path: The directory path to create mtime: The modification time to set the TarInfo object to """ - tar_info = tarfile.TarInfo(reg_dir_in.path) + tar_info = tarfile.TarInfo(directory_path) tar_info.type = tarfile.DIRTYPE tar_info.mode = 0o755 if mtime is not None: @@ -774,11 +773,30 @@ class RecoverFs(plugins.PluginInterface): vmlinux_module_name=vmlinux_module_name, follow_symlinks=False, ) - visited_paths = set() + + # Prefix paths by the super_block uuid's to prevent overlaps. + # Switch to device major and device minor for older kernels (< 2.6.39-rc1). + uuid_as_prefix = vmlinux.get_type("super_block").has_member("s_uuid") + if not uuid_as_prefix: + vollog.warning( + "super_block struct does not support s_uuid attribute. Consequently, level 0 directories won't refer to the superblock uuid's, but to its device_major:device_minor numbers." + ) + + visited_paths = seen_prefixes = set() for inode_in in inodes_iter: - if inode_in.path in visited_paths: + if uuid_as_prefix: + prefix = f"/{inode_in.superblock.uuid}" + else: + prefix = f"/{inode_in.superblock.major}:{inode_in.superblock.minor}" + prefixed_path = prefix + inode_in.path + + if prefixed_path in visited_paths: continue - visited_paths.add(inode_in.path) + elif prefix not in seen_prefixes: + self._tar_add_dir(tar, prefix, mtime) + seen_prefixes.add(prefix) + + visited_paths.add(prefixed_path) extracted_file_size = renderers.NotApplicableValue() # Inodes parent directory is yielded first, which @@ -786,10 +804,15 @@ class RecoverFs(plugins.PluginInterface): # tarfile will take care of creating it anyway. if inode_in.inode.is_reg: extracted_file_size = self._tar_add_reg_inode( - self.context, vmlinux_layer.name, tar, inode_in, mtime + self.context, + vmlinux_layer.name, + tar, + inode_in, + prefix, + mtime, ) elif inode_in.inode.is_dir: - self._tar_add_dir_inode(tar, inode_in, mtime) + self._tar_add_dir(tar, prefixed_path, mtime) elif ( inode_in.inode.is_link and inode_in.inode.has_member("i_link") @@ -799,7 +822,7 @@ class RecoverFs(plugins.PluginInterface): symlink_dest = inode_in.inode.i_link.dereference().cast( "string", max_length=255, encoding="utf-8", errors="replace" ) - self._tar_add_lnk(tar, inode_in.path, symlink_dest, mtime) + self._tar_add_lnk(tar, prefixed_path, symlink_dest, mtime) # Set path to a user friendly representation before yielding inode_in.path = InodeUser.format_symlink(inode_in.path, symlink_dest) else: From de42e58bfa96cf9208fe8e426716056ff44b2c31 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 11 Feb 2025 17:54:19 +0100 Subject: [PATCH 1390/2186] require framework v2.21.0 for recoverfs --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 2a137fc89..d2c201bbe 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -638,7 +638,7 @@ class RecoverFs(plugins.PluginInterface): """ _version = (1, 0, 0) - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 21, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 1530e62a8626793edb1ac29a92f6273fcdc7ce1f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 11 Feb 2025 17:59:19 +0100 Subject: [PATCH 1391/2186] typo --- volatility3/framework/plugins/linux/pagecache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index d2c201bbe..730c6d6e6 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -774,7 +774,7 @@ class RecoverFs(plugins.PluginInterface): follow_symlinks=False, ) - # Prefix paths by the super_block uuid's to prevent overlaps. + # Prefix paths with the superblock UUID's to prevent overlaps. # Switch to device major and device minor for older kernels (< 2.6.39-rc1). uuid_as_prefix = vmlinux.get_type("super_block").has_member("s_uuid") if not uuid_as_prefix: From 443cfd25158e8e2a114ea6c504280729dd8dcf9b Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 12 Feb 2025 10:02:31 -0600 Subject: [PATCH 1392/2186] Windows Envars: Fix unbound locals Technically, these were protected against `UnboundLocalError` exceptions through the use of the `sys` and `ntuser` boolean variables, but this really isn't the best way to prevent that from happening, and type-checkers still warn about the potentially unbound locals. This fix instead uses the `sys` and `ntuser` variables to hold the registry keys, preinitializing them to `None` and checking their value before attempting to access instance methods. --- .../framework/plugins/windows/envars.py | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/plugins/windows/envars.py b/volatility3/framework/plugins/windows/envars.py index 48e1ef671..4c98ffe5e 100644 --- a/volatility3/framework/plugins/windows/envars.py +++ b/volatility3/framework/plugins/windows/envars.py @@ -67,24 +67,20 @@ class Envars(interfaces.plugins.PluginInterface): symbol_table=kernel.symbol_table_name, hive_offsets=None, ): - sys = False - ntuser = False - ## The global variables + sys = None try: - key = hive.get_key( + sys = hive.get_key( "CurrentControlSet\\Control\\Session Manager\\Environment" ) - sys = True except (KeyError, registry.RegistryFormatException): with contextlib.suppress(KeyError, registry.RegistryFormatException): - key = hive.get_key( + sys = hive.get_key( "ControlSet001\\Control\\Session Manager\\Environment" ) - sys = True if sys: with contextlib.suppress(KeyError, registry.RegistryFormatException): - for node in key.get_values(): + for node in sys.get_values(): try: value_node_name = node.get_name() if value_node_name: @@ -99,13 +95,13 @@ class Envars(interfaces.plugins.PluginInterface): ) continue + ntuser = None ## The user-specific variables with contextlib.suppress(KeyError, registry.RegistryFormatException): - key = hive.get_key("Environment") - ntuser = True + ntuser = hive.get_key("Environment") if ntuser: with contextlib.suppress(KeyError, registry.RegistryFormatException): - for node in key.get_values(): + for node in ntuser.get_values(): try: value_node_name = node.get_name() if value_node_name: From bcbfc27d4fc9364fe925abc57fa667e1bfb721ec Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 12 Feb 2025 10:11:23 -0600 Subject: [PATCH 1393/2186] Windows Cmdline: Clean up output The strings being used as return values here would (IMO) be better as debug statements, with the plugin returning `renderers.UnreadableValue()` for any of the `InvalidAddressException` code paths. --- volatility3/framework/plugins/windows/cmdline.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/cmdline.py b/volatility3/framework/plugins/windows/cmdline.py index 9bd9eda0e..bad333a4c 100644 --- a/volatility3/framework/plugins/windows/cmdline.py +++ b/volatility3/framework/plugins/windows/cmdline.py @@ -70,6 +70,7 @@ class CmdLine(interfaces.plugins.PluginInterface): for proc in procs: process_name = utility.array_to_string(proc.ImageFileName) proc_id = "Unknown" + result_text = None try: proc_id = proc.UniqueProcessId @@ -78,13 +79,22 @@ class CmdLine(interfaces.plugins.PluginInterface): ) except exceptions.SwappedInvalidAddressException as exp: - result_text = f"Required memory at {exp.invalid_address:#x} is inaccessible (swapped)" + vollog.debug( + f"Required memory at {exp.invalid_address:#x} is inaccessible (swapped)" + ) except exceptions.PagedInvalidAddressException as exp: - result_text = f"Required memory at {exp.invalid_address:#x} is not valid (process exited?)" + vollog.debug( + f"Required memory at {exp.invalid_address:#x} is not valid (process exited?)" + ) except exceptions.InvalidAddressException as exp: - result_text = f"Process {proc_id}: Required memory at {exp.invalid_address:#x} is not valid (incomplete layer {exp.layer_name}?)" + vollog.debug( + f"Process {proc_id}: Required memory at {exp.invalid_address:#x} is not valid (incomplete layer {exp.layer_name}?)" + ) + + if not result_text: + result_text = renderers.UnreadableValue() yield (0, (proc.UniqueProcessId, process_name, result_text)) From 4712cafa4befc72d451acb71ea370fb1ac21f0d9 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 12 Feb 2025 10:22:03 -0600 Subject: [PATCH 1394/2186] Windows Envars: Remove extra config check Tiny bit of cleanup here - there's no need to re-check the config for `SILENT` for each variable. We can just initialize it once as either an empty list or the calculated list of silent vars depending on the config value. --- volatility3/framework/plugins/windows/envars.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/envars.py b/volatility3/framework/plugins/windows/envars.py index 48e1ef671..f76b00f7a 100644 --- a/volatility3/framework/plugins/windows/envars.py +++ b/volatility3/framework/plugins/windows/envars.py @@ -200,15 +200,13 @@ class Envars(interfaces.plugins.PluginInterface): return values def _generator(self, data): - silent_vars = [] - if self.config.get("SILENT", None): - silent_vars = self._get_silent_vars() + silent_vars = self._get_silent_vars() if self.config.get("SILENT") else [] for task in data: for var, val in task.environment_variables(): - if self.config.get("silent", None): - if var in silent_vars: - continue + if var in silent_vars: + continue + yield ( 0, ( From 9b78099a0871bbee02ea534d0384c1119c1dac31 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Feb 2025 19:24:26 +0000 Subject: [PATCH 1395/2186] Enforce kernel boundaries correctly. Fix bugs. Closes #1474 --- .../framework/plugins/windows/modules.py | 30 +++++++++++++- .../plugins/windows/orphan_kernel_threads.py | 41 ++++++++++++------- 2 files changed, 54 insertions(+), 17 deletions(-) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 62a622491..75b15217a 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -4,7 +4,7 @@ import logging from typing import Generator, Iterable, List, Optional -from volatility3.framework import constants, exceptions, interfaces, renderers +from volatility3.framework import symbols, constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed @@ -18,7 +18,7 @@ class Modules(interfaces.plugins.PluginInterface): """Lists the loaded kernel modules.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 1) + _version = (2, 0, 2) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -127,6 +127,32 @@ class Modules(interfaces.plugins.PluginInterface): file_output, ) + @classmethod + def get_kernel_space_start(cls, context, layer_name: str, module_name: str) -> int: + """ + Returns the starting address of the kernel address space + + This method allows plugins that analyze kernel data structures to quickly detect + smeared or otherwise invalid data as many pointers must point into the kernel or + access during runtime would crash the system + """ + module = context.modules[module_name] + + if symbols.symbol_table_is_64bit(context, module.symbol_table_name): + object_type = "unsigned long long" + else: + object_type = "unsigned long" + + range_start_offset = module.get_symbol("MmSystemRangeStart").address + + kernel_space_start = module.object( + object_type=object_type, offset=range_start_offset + ) + + layer = context.layers[layer_name] + + return kernel_space_start & layer.address_mask + @classmethod def get_session_layers( cls, diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py index f4901dc8c..7a865c675 100644 --- a/volatility3/framework/plugins/windows/orphan_kernel_threads.py +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -5,9 +5,9 @@ import logging from typing import List, Generator -from volatility3.framework import interfaces, symbols +from volatility3.framework import interfaces, exceptions from volatility3.framework.configuration import requirements -from volatility3.plugins.windows import thrdscan, ssdt +from volatility3.plugins.windows import thrdscan, ssdt, modules vollog = logging.getLogger(__name__) @@ -37,6 +37,9 @@ class Threads(thrdscan.ThrdScan): requirements.PluginRequirement( name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) ), + requirements.PluginRequirement( + name="modules", plugin=modules.Modules, version=(2, 0, 2) + ), ] @classmethod @@ -56,24 +59,27 @@ class Threads(thrdscan.ThrdScan): """ module = context.modules[module_name] layer_name = module.layer_name - symbol_table = module.symbol_table_name + symbol_table_name = module.symbol_table_name collection = ssdt.SSDT.build_module_collection( - context, layer_name, symbol_table + context, layer_name, symbol_table_name ) - # FIXME - use a proper constant once established - # used to filter out smeared pointers - if symbols.symbol_table_is_64bit(context, symbol_table): - kernel_start = 0xFFFFF80000000000 - else: - kernel_start = 0x80000000 + kernel_space_start = modules.Modules.get_kernel_space_start( + context, layer_name, module_name + ) for thread in thrdscan.ThrdScan.scan_threads(context, module_name): - # we don't want smeared or terminated threads + # We don't want smeared or terminated threads + # So we access the owning process (which could also be terminated or smeared) + # Plus check the start address holding page try: proc = thread.owning_process() - except AttributeError: + pid = proc.UniqueProcessId + ppid = proc.InheritedFromUniqueProcessId + + thread_start = thread.StartAddress + except (AttributeError, exceptions.InvalidAddressException): continue # we only care about kernel threads, 4 = System @@ -81,14 +87,19 @@ class Threads(thrdscan.ThrdScan): # such as bit fields and flags are not stable in Win10+ # so we check if the thread is from the kernel itself or one its child # kernel processes (MemCompression, Regsitry, ...) - if proc.UniqueProcessId != 4 and proc.InheritedFromUniqueProcessId != 4: + if pid != 4 and ppid != 4: continue - if thread.StartAddress < kernel_start: + # if the thread has an exit time or terminated (4) state, then skip it + if thread.ExitTime.QuadPart > 0 or thread.Tcb.State == 4: + continue + + # threads pointing into userland, which is from smeared or terminated threads + if thread_start < kernel_space_start: continue module_symbols = list( - collection.get_module_symbols_by_absolute_location(thread.StartAddress) + collection.get_module_symbols_by_absolute_location(thread_start) ) # alert on threads that do not map to a module From 92db0e3f08006501f37ea1ae3379f7382d025efa Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Feb 2025 20:42:00 +0000 Subject: [PATCH 1396/2186] Address feedback --- volatility3/framework/plugins/windows/modules.py | 6 +++--- .../framework/plugins/windows/orphan_kernel_threads.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 75b15217a..a21a87bbd 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -18,7 +18,7 @@ class Modules(interfaces.plugins.PluginInterface): """Lists the loaded kernel modules.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 2) + _version = (2, 1, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -128,7 +128,7 @@ class Modules(interfaces.plugins.PluginInterface): ) @classmethod - def get_kernel_space_start(cls, context, layer_name: str, module_name: str) -> int: + def get_kernel_space_start(cls, context, module_name: str) -> int: """ Returns the starting address of the kernel address space @@ -149,7 +149,7 @@ class Modules(interfaces.plugins.PluginInterface): object_type=object_type, offset=range_start_offset ) - layer = context.layers[layer_name] + layer = context.layers[module.layer_name] return kernel_space_start & layer.address_mask diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py index 7a865c675..18e087553 100644 --- a/volatility3/framework/plugins/windows/orphan_kernel_threads.py +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -38,7 +38,7 @@ class Threads(thrdscan.ThrdScan): name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) ), requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(2, 0, 2) + name="modules", plugin=modules.Modules, version=(2, 1, 0) ), ] @@ -66,7 +66,7 @@ class Threads(thrdscan.ThrdScan): ) kernel_space_start = modules.Modules.get_kernel_space_start( - context, layer_name, module_name + context, module_name ) for thread in thrdscan.ThrdScan.scan_threads(context, module_name): From 6babe158f0ad9d02a6221694babe457c426d8016 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 15 Feb 2025 00:35:31 +0000 Subject: [PATCH 1397/2186] Address feedback --- .../framework/plugins/windows/dumpfiles.py | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index b10c519e7..9ce9e3141 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -47,13 +47,13 @@ class DumpFiles(interfaces.plugins.PluginInterface): requirements.ListRequirement( name="virtaddr", element_type=int, - description="Dump a single _FILE_OBJECT at this virtual address", + description="Dump the _FILE_OBJECTs at the given virtual address(es)", optional=True, ), requirements.ListRequirement( name="physaddr", element_type=int, - description="Dump a single _FILE_OBJECT at this physical address", + description="Dump a single _FILE_OBJECTs at the given physical address(es)", optional=True, ), requirements.StringRequirement( @@ -320,25 +320,24 @@ class DumpFiles(interfaces.plugins.PluginInterface): ) elif offsets: + virtual_layer_name = kernel.layer_name - # Now process any offsets explicitly requested by the user. + #FIXME - change this after standard access to physical layer + physical_layer_name = self.context.layers[virtual_layer_name].config[ + "memory_layer" + ] + + # Now process any offsets explicitly requested by the user. for offset, is_virtual in offsets: try: - layer_name = kernel.layer_name - # switch to a memory layer if the user provided --physaddr instead of --virtaddr - if not is_virtual: - layer_name = self.context.layers[layer_name].config[ - "memory_layer" - ] - file_obj = self.context.object( kernel.symbol_table_name + constants.BANG + "_FILE_OBJECT", - layer_name=layer_name, - native_layer_name=kernel.layer_name, + layer_name=virtual_layer_name if is_virtual else physical_layer_name, + native_layer_name=virtual_layer_name, offset=offset, ) for result in self.process_file_object( - self.context, kernel.layer_name, self.open, file_obj + self.context, virtual_layer_name, self.open, file_obj ): yield (0, result) except exceptions.InvalidAddressException: @@ -362,11 +361,11 @@ class DumpFiles(interfaces.plugins.PluginInterface): for virtaddr in self.config["virtaddr"]: offsets.append((virtaddr, True)) - elif self.config.get("physaddr"): + if self.config.get("physaddr"): for physaddr in self.config["physaddr"]: offsets.append((physaddr, False)) - else: + if not offsets: filter_func = pslist.PsList.create_pid_filter( [self.config.get("pid", None)] ) From 49b40eb30a31618630ac9106b171a4771f3594d7 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 15 Feb 2025 00:36:12 +0000 Subject: [PATCH 1398/2186] Make black happy --- volatility3/framework/plugins/windows/dumpfiles.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index 9ce9e3141..42f245800 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -322,17 +322,19 @@ class DumpFiles(interfaces.plugins.PluginInterface): elif offsets: virtual_layer_name = kernel.layer_name - #FIXME - change this after standard access to physical layer + # FIXME - change this after standard access to physical layer physical_layer_name = self.context.layers[virtual_layer_name].config[ "memory_layer" ] - # Now process any offsets explicitly requested by the user. + # Now process any offsets explicitly requested by the user. for offset, is_virtual in offsets: try: file_obj = self.context.object( kernel.symbol_table_name + constants.BANG + "_FILE_OBJECT", - layer_name=virtual_layer_name if is_virtual else physical_layer_name, + layer_name=( + virtual_layer_name if is_virtual else physical_layer_name + ), native_layer_name=virtual_layer_name, offset=offset, ) From 9484430036cb6cbe61ee9ee78da418b21ebe6226 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 15 Feb 2025 13:16:58 +0100 Subject: [PATCH 1399/2186] convert private classmethods to simple methods --- volatility3/framework/plugins/linux/pagecache.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 730c6d6e6..4b00e456b 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -663,9 +663,8 @@ class RecoverFs(plugins.PluginInterface): ), ] - @classmethod def _tar_add_reg_inode( - cls, + self, context: interfaces.context.ContextInterface, layer_name: str, tar: tarfile.TarFile, @@ -705,9 +704,8 @@ class RecoverFs(plugins.PluginInterface): return handle_buffer_size - @classmethod def _tar_add_dir( - cls, + self, tar: tarfile.TarFile, directory_path: str, mtime: float = None, @@ -726,9 +724,8 @@ class RecoverFs(plugins.PluginInterface): tar_info.mtime = mtime tar.addfile(tar_info) - @classmethod def _tar_add_lnk( - cls, + self, tar: tarfile.TarFile, symlink_source: str, symlink_dest: str, From 51b66f7573ef568e2873909b0e1eac234ab69ceb Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 15 Feb 2025 14:14:02 +0100 Subject: [PATCH 1400/2186] add symlink details in description --- volatility3/framework/plugins/linux/pagecache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 4b00e456b..5ebdf67d9 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -633,7 +633,8 @@ class InodePages(plugins.PluginInterface): class RecoverFs(plugins.PluginInterface): """Recovers the cached filesystem (directories, files, symlinks) into a compressed tarball. - Details: level 0 directories are named after the UUID of the parent superblock; metadata aren't replicated to extracted objects; objects modification time is set to the plugin run time. + Details: level 0 directories are named after the UUID of the parent superblock; metadata aren't replicated to extracted objects; objects modification time is set to the plugin run time; absolute symlinks + are converted to relative symlinks to prevent referencing the analyst filesystem. Troubleshooting: to fix extraction errors related to long paths, please consider using https://github.com/mxmlnkn/ratarmount. """ From c2f8697cc589385bea752905ec8b975a19ef0e3b Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 15 Feb 2025 15:24:53 +0100 Subject: [PATCH 1401/2186] normalize symlinks by relying on purepath --- .../framework/plugins/linux/pagecache.py | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 5ebdf67d9..29883cb9e 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -10,9 +10,10 @@ import tarfile from dataclasses import dataclass, astuple from typing import IO, List, Set, Type, Iterable, Tuple from io import BytesIO +from pathlib import PurePath from volatility3.framework.constants import architectures -from volatility3.framework import renderers, interfaces, exceptions +from volatility3.framework import constants, renderers, interfaces, exceptions from volatility3.framework.renderers import format_hints from volatility3.framework.interfaces import plugins from volatility3.framework.configuration import requirements @@ -730,6 +731,7 @@ class RecoverFs(plugins.PluginInterface): tar: tarfile.TarFile, symlink_source: str, symlink_dest: str, + symlink_source_prefix: str = "", mtime: float = None, ) -> None: """Adds a symlink to a TarFile object. @@ -738,15 +740,21 @@ class RecoverFs(plugins.PluginInterface): tar: The TarFile object to write to symlink_source: The symlink source path symlink_dest: The symlink target/destination + symlink_source_prefix: A custom path prefix to prepend the symlink source with mtime: The modification time to set the TarInfo object to """ # Patch symlinks pointing to absolute paths, # to prevent referencing the host filesystem. if symlink_dest.startswith("/"): - inode_depth = symlink_source.strip("/").count("/") - symlink_dest = "../" * inode_depth + symlink_dest.lstrip("/") - - tar_info = tarfile.TarInfo(symlink_source) + relative_dest = PurePath(symlink_dest).relative_to(PurePath("/")) + # Remove the leading "/" to prevent an extra undesired "../" in the output + symlink_dest = ( + PurePath( + *[".."] * len(PurePath(symlink_source.lstrip("/")).parent.parts) + ) + / relative_dest + ).as_posix() + tar_info = tarfile.TarInfo(symlink_source_prefix + symlink_source) tar_info.type = tarfile.SYMTYPE tar_info.linkname = symlink_dest tar_info.mode = 0o444 @@ -820,7 +828,7 @@ class RecoverFs(plugins.PluginInterface): symlink_dest = inode_in.inode.i_link.dereference().cast( "string", max_length=255, encoding="utf-8", errors="replace" ) - self._tar_add_lnk(tar, prefixed_path, symlink_dest, mtime) + self._tar_add_lnk(tar, inode_in.path, symlink_dest, prefix, mtime) # Set path to a user friendly representation before yielding inode_in.path = InodeUser.format_symlink(inode_in.path, symlink_dest) else: From b86e54e4278e18159be1ae9e44584e2c6b975f26 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 15 Feb 2025 15:25:26 +0100 Subject: [PATCH 1402/2186] extra checks and debug messages --- .../framework/plugins/linux/pagecache.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 29883cb9e..6d9b0c69b 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -790,13 +790,34 @@ class RecoverFs(plugins.PluginInterface): visited_paths = seen_prefixes = set() for inode_in in inodes_iter: + + # Code is slightly duplicated here with the if-block below. + # However this prevents unneeded tar manipulation if fifo + # or sock inodes comes through for example. + if not ( + inode_in.inode.is_reg or inode_in.inode.is_dir or inode_in.inode.is_link + ): + continue + + if not inode_in.path.startswith("/"): + vollog.debug( + f'Skipping processing of potentially smeared "{inode_in.path}" inode name as it does not starts with a "/".' + ) + continue + + # Construct the output path if uuid_as_prefix: prefix = f"/{inode_in.superblock.uuid}" else: prefix = f"/{inode_in.superblock.major}:{inode_in.superblock.minor}" prefixed_path = prefix + inode_in.path + # Sanity check for already processed paths if prefixed_path in visited_paths: + vollog.log( + constants.LOGLEVEL_VV, + f'Already processed prefixed inode path: "{prefixed_path}".', + ) continue elif prefix not in seen_prefixes: self._tar_add_dir(tar, prefix, mtime) From 2bf0a26c7371cc1d1843acaa8c2338f2bf75dd87 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 15 Feb 2025 15:28:23 +0100 Subject: [PATCH 1403/2186] typos --- volatility3/framework/plugins/linux/pagecache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 6d9b0c69b..7a1cf2506 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -635,7 +635,7 @@ class RecoverFs(plugins.PluginInterface): """Recovers the cached filesystem (directories, files, symlinks) into a compressed tarball. Details: level 0 directories are named after the UUID of the parent superblock; metadata aren't replicated to extracted objects; objects modification time is set to the plugin run time; absolute symlinks - are converted to relative symlinks to prevent referencing the analyst filesystem. + are converted to relative symlinks to prevent referencing the analyst's filesystem. Troubleshooting: to fix extraction errors related to long paths, please consider using https://github.com/mxmlnkn/ratarmount. """ @@ -793,7 +793,7 @@ class RecoverFs(plugins.PluginInterface): # Code is slightly duplicated here with the if-block below. # However this prevents unneeded tar manipulation if fifo - # or sock inodes comes through for example. + # or sock inodes come through for example. if not ( inode_in.inode.is_reg or inode_in.inode.is_dir or inode_in.inode.is_link ): From ca5f81140567e7ab8b58049d39a6e516c2b40ce2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 15 Feb 2025 21:26:54 +0000 Subject: [PATCH 1404/2186] Stop reporting terminated/smeared drivers. Enforce names present. Add kernel start checking in all places --- .../framework/plugins/windows/devicetree.py | 7 +- .../framework/plugins/windows/driverirp.py | 42 +++++++++--- .../framework/plugins/windows/drivermodule.py | 31 +++++++-- .../framework/plugins/windows/driverscan.py | 66 ++++++++++++++----- .../framework/plugins/windows/modules.py | 12 +++- 5 files changed, 124 insertions(+), 34 deletions(-) diff --git a/volatility3/framework/plugins/windows/devicetree.py b/volatility3/framework/plugins/windows/devicetree.py index 6f39799c1..215d89490 100644 --- a/volatility3/framework/plugins/windows/devicetree.py +++ b/volatility3/framework/plugins/windows/devicetree.py @@ -90,7 +90,7 @@ class DeviceTree(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="driverscan", plugin=driverscan.DriverScan, version=(1, 0, 0) + name="driverscan", plugin=driverscan.DriverScan, version=(2, 0, 0) ), ] @@ -99,7 +99,10 @@ class DeviceTree(interfaces.plugins.PluginInterface): # Scan the Layer for drivers for driver in driverscan.DriverScan.scan_drivers( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, + self.config["kernel"], + kernel.layer_name, + kernel.symbol_table_name, ): try: try: diff --git a/volatility3/framework/plugins/windows/driverirp.py b/volatility3/framework/plugins/windows/driverirp.py index c3eb7c5c1..315583d11 100644 --- a/volatility3/framework/plugins/windows/driverirp.py +++ b/volatility3/framework/plugins/windows/driverirp.py @@ -2,11 +2,15 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import logging + from volatility3.framework import constants from volatility3.framework import renderers, exceptions, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import ssdt, driverscan +from volatility3.plugins.windows import ssdt, driverscan, modules + +vollog = logging.getLogger(__name__) MAJOR_FUNCTIONS = [ "IRP_MJ_CREATE", @@ -58,7 +62,10 @@ class DriverIrp(interfaces.plugins.PluginInterface): name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) ), requirements.PluginRequirement( - name="driverscan", plugin=driverscan.DriverScan, version=(1, 0, 0) + name="driverscan", plugin=driverscan.DriverScan, version=(2, 0, 0) + ), + requirements.PluginRequirement( + name="modules", plugin=modules.Modules, version=(2, 1, 0) ), ] @@ -69,17 +76,36 @@ class DriverIrp(interfaces.plugins.PluginInterface): self.context, kernel.layer_name, kernel.symbol_table_name ) + kernel_space_start = modules.Modules.get_kernel_space_start( + self.context, self.config["kernel"] + ) + for driver in driverscan.DriverScan.scan_drivers( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, + self.config["kernel"], + kernel.layer_name, + kernel.symbol_table_name, ): try: driver_name = driver.get_driver_name() except (ValueError, exceptions.InvalidAddressException): driver_name = renderers.NotApplicableValue() - for i, address in enumerate(driver.MajorFunction): + for i in range(len(driver.MajorFunction)): + try: + irp_handler = driver.MajorFunction[i] + except exceptions.InvalidAddressException: + vollog.debug( + f"Failed to get IRP handler entry at index {i} for driver at {driver.vol.offset:#x}" + ) + continue + + # smear + if irp_handler < kernel_space_start: + continue + module_symbols = collection.get_module_symbols_by_absolute_location( - address + irp_handler ) module_found = False @@ -96,7 +122,7 @@ class DriverIrp(interfaces.plugins.PluginInterface): format_hints.Hex(driver.vol.offset), driver_name, MAJOR_FUNCTIONS[i], - format_hints.Hex(address), + format_hints.Hex(irp_handler), module_name, symbol.split(constants.BANG)[1], ), @@ -109,7 +135,7 @@ class DriverIrp(interfaces.plugins.PluginInterface): format_hints.Hex(driver.vol.offset), driver_name, MAJOR_FUNCTIONS[i], - format_hints.Hex(address), + format_hints.Hex(irp_handler), module_name, renderers.NotAvailableValue(), ), @@ -122,7 +148,7 @@ class DriverIrp(interfaces.plugins.PluginInterface): format_hints.Hex(driver.vol.offset), driver_name, MAJOR_FUNCTIONS[i], - format_hints.Hex(address), + format_hints.Hex(irp_handler), renderers.NotAvailableValue(), renderers.NotAvailableValue(), ), diff --git a/volatility3/framework/plugins/windows/drivermodule.py b/volatility3/framework/plugins/windows/drivermodule.py index de827602e..a6de37981 100644 --- a/volatility3/framework/plugins/windows/drivermodule.py +++ b/volatility3/framework/plugins/windows/drivermodule.py @@ -5,7 +5,7 @@ from typing import Iterator, List, Tuple from volatility3.framework import renderers, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import ssdt, driverscan +from volatility3.plugins.windows import ssdt, driverscan, modules # built in Windows-components that trigger false positives KNOWN_DRIVERS = ["ACPI_HAL", "PnpManager", "RAW", "WMIxWDM", "Win32k", "Fs_Rec"] @@ -29,7 +29,10 @@ class DriverModule(interfaces.plugins.PluginInterface): name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) ), requirements.PluginRequirement( - name="driverscan", plugin=driverscan.DriverScan, version=(1, 0, 0) + name="driverscan", plugin=driverscan.DriverScan, version=(2, 0, 0) + ), + requirements.PluginRequirement( + name="modules", plugin=modules.Modules, version=(2, 1, 0) ), ] @@ -45,9 +48,21 @@ class DriverModule(interfaces.plugins.PluginInterface): self.context, kernel.layer_name, kernel.symbol_table_name ) + kernel_space_start = modules.Modules.get_kernel_space_start( + self.context, self.config["kernel"] + ) + for driver in driverscan.DriverScan.scan_drivers( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, + self.config["kernel"], + kernel.layer_name, + kernel.symbol_table_name, ): + # We want starts of 0 as rootkits often set this value + # greater than 0 but less than the kernel space start is smear/terminated though + if 0 < driver.DriverStart < kernel_space_start: + continue + # we do not care about actual symbol names, we just want to know if the driver points to a known module module_symbols = list( collection.get_module_symbols_by_absolute_location(driver.DriverStart) @@ -59,6 +74,10 @@ class DriverModule(interfaces.plugins.PluginInterface): name, ) = driverscan.DriverScan.get_names_for_driver(driver) + # drivers without any names will not produce useful output + if not driver_name and not service_key and not name: + continue + known_exception = driver_name in KNOWN_DRIVERS yield ( @@ -66,9 +85,9 @@ class DriverModule(interfaces.plugins.PluginInterface): ( format_hints.Hex(driver.vol.offset), known_exception, - driver_name, - service_key, - name, + driver_name or renderers.NotAvailableValue(), + service_key or renderers.NotAvailableValue(), + name or renderers.NotAvailableValue(), ), ) diff --git a/volatility3/framework/plugins/windows/driverscan.py b/volatility3/framework/plugins/windows/driverscan.py index d388ffbb7..22615f052 100644 --- a/volatility3/framework/plugins/windows/driverscan.py +++ b/volatility3/framework/plugins/windows/driverscan.py @@ -2,19 +2,19 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Iterable +from typing import Iterable, Optional, Tuple from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import poolscanner +from volatility3.plugins.windows import poolscanner, modules class DriverScan(interfaces.plugins.PluginInterface): """Scans for drivers present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -33,8 +33,9 @@ class DriverScan(interfaces.plugins.PluginInterface): def scan_drivers( cls, context: interfaces.context.ContextInterface, + kernel_module_name: str, layer_name: str, - symbol_table: str, + symbol_table_name: str, ) -> Iterable[interfaces.objects.ObjectInterface]: """Scans for drivers using the poolscanner module and constraints. @@ -48,17 +49,45 @@ class DriverScan(interfaces.plugins.PluginInterface): """ constraints = poolscanner.PoolScanner.builtin_constraints( - symbol_table, [b"Dri\xf6", b"Driv"] + symbol_table_name, [b"Dri\xf6", b"Driv"] + ) + + module = context.module(symbol_table_name, layer_name, 0) + driver_start_offset = module.get_type("_DRIVER_OBJECT").relative_child_offset( + "DriverStart" + ) + + kernel_space_start = modules.Modules.get_kernel_space_start( + context, kernel_module_name ) for result in poolscanner.PoolScanner.generate_pool_scan( - context, layer_name, symbol_table, constraints + context, layer_name, symbol_table_name, constraints ): _constraint, mem_object, _header = result - yield mem_object + + scanned_layer = context.layers[mem_object.vol.layer_name] + + # *Many* _DRIVER_OBJECT instances were found at the end of a page + # leading to member access causing backtraces across several plugins + # when members were accessed as the next page was paged out. + # `DriverStart` is the first member from the beginning of the structure + # of interest to plugins, so if it is not accessible then this instance + # is not useful or usable during analysis + # 8 covers this value 32 and 64 bit systems + if scanned_layer.is_valid(mem_object.vol.offset + driver_start_offset, 8): + # Many/most rootkits zero out their DriverStart member for anti-forensics + # so we accept a driver start that is either 0 or is points into kernel memory (the current layer) + if ( + mem_object.DriverStart == 0 + or mem_object.DriverStart > kernel_space_start + ): + yield mem_object @classmethod - def get_names_for_driver(cls, driver): + def get_names_for_driver( + cls, driver + ) -> Tuple[Optional[str], Optional[str], Optional[str]]: """ Convenience method for getting the commonly used names associated with a driver @@ -72,17 +101,17 @@ class DriverScan(interfaces.plugins.PluginInterface): try: driver_name = driver.get_driver_name() except (ValueError, exceptions.InvalidAddressException): - driver_name = renderers.NotApplicableValue() + driver_name = None try: service_key = driver.DriverExtension.ServiceKeyName.String except exceptions.InvalidAddressException: - service_key = renderers.NotApplicableValue() + service_key = None try: name = driver.DriverName.String except exceptions.InvalidAddressException: - name = renderers.NotApplicableValue() + name = None return driver_name, service_key, name @@ -90,19 +119,26 @@ class DriverScan(interfaces.plugins.PluginInterface): kernel = self.context.modules[self.config["kernel"]] for driver in self.scan_drivers( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, + self.config["kernel"], + kernel.layer_name, + kernel.symbol_table_name, ): driver_name, service_key, name = self.get_names_for_driver(driver) + # Prior to #1481, this plugin reported dozens to hundreds of junk drivers per sample + if not driver_name and not service_key and not name: + continue + yield ( 0, ( format_hints.Hex(driver.vol.offset), format_hints.Hex(driver.DriverStart), format_hints.Hex(driver.DriverSize), - service_key, - driver_name, - name, + service_key or renderers.NotAvailableValue(), + driver_name or renderers.NotAvailableValue(), + name or renderers.NotAvailableValue(), ), ) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index a21a87bbd..717a1b0d2 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -138,16 +138,22 @@ class Modules(interfaces.plugins.PluginInterface): """ module = context.modules[module_name] + # default is used if/when MmSystemRangeStart is paged out if symbols.symbol_table_is_64bit(context, module.symbol_table_name): object_type = "unsigned long long" + default_start = 0xFFFF800000000000 else: object_type = "unsigned long" + default_start = 0x80000000 range_start_offset = module.get_symbol("MmSystemRangeStart").address - kernel_space_start = module.object( - object_type=object_type, offset=range_start_offset - ) + try: + kernel_space_start = module.object( + object_type=object_type, offset=range_start_offset + ) + except exceptions.InvalidAddressException: + kernel_space_start = default_start layer = context.layers[module.layer_name] From d5976146fb53428a6af7a1a4be128f4e21349201 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 16 Feb 2025 18:24:23 +0000 Subject: [PATCH 1405/2186] Layers: Restore get_valid_table caching Partially restore performance as per #1618 --- volatility3/framework/layers/intel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index b6f59fee1..55b930177 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -284,6 +284,7 @@ class Intel(linear.LinearlyMappedLayer): return entry, position + @functools.lru_cache(maxsize=1025) def _get_valid_table(self, base_address: int) -> Optional[bytes]: """Extracts the table, validates it and returns it if it's valid.""" table = self._context.layers.read( From 346e58e798d4c51a735005f0c9fa98de8d249fdb Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 16 Feb 2025 18:50:44 +0000 Subject: [PATCH 1406/2186] Layers: Reduce double bounds test and simplify intel translation --- volatility3/framework/layers/intel.py | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 55b930177..1069b7f6d 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -159,7 +159,7 @@ class Intel(linear.LinearlyMappedLayer): translated address lives in and the layer_name that the address lives in """ - entry, position = self._translate_entry(offset) + entry, position = self._translate_entry(offset & self.page_mask) # Now we're done if not self._page_is_valid(entry): @@ -181,23 +181,8 @@ class Intel(linear.LinearlyMappedLayer): """Extracts the page frame number (PFN) from the page table entry (PTE) entry""" return self._mask(entry, self._maxphyaddr - 1, 0) >> self.page_shift - def _translate_entry(self, offset: int) -> Tuple[int, int]: - """Translates a specific offset based on paging tables. - - Returns the translated entry value - """ - offset &= self.address_mask - - if not (self.minimum_address <= offset <= self.maximum_address): - raise exceptions.InvalidAddressException( - offset, f"Address {offset:#x} outside virtual address range" - ) - - page_address = offset & self.page_mask - return self._translate_page(page_address) - @functools.lru_cache(maxsize=1024) - def _translate_page(self, page_address: int) -> int: + def _translate_entry(self, page_address: int) -> int: """Translates a page address based on paging tables. Args: @@ -206,11 +191,6 @@ class Intel(linear.LinearlyMappedLayer): Returns: the translated entry value """ - if page_address & ~self.page_mask != 0: - raise exceptions.InvalidAddressException( - page_address, - f"Invalid page address {page_address:#x}. The address must be aligned to the page size", - ) # Setup the entry and how far we are through the offset # Position maintains the number of bits left to process # We or with 0x1 to ensure our page_map_offset is always valid @@ -310,7 +290,7 @@ class Intel(linear.LinearlyMappedLayer): def is_dirty(self, offset: int) -> bool: """Returns whether the page at offset is marked dirty""" - return self._page_is_dirty(self._translate_entry(offset)[0]) + return self._page_is_dirty(self._translate_entry(offset & self.page_mask)[0]) def mapping( self, offset: int, length: int, ignore_errors: bool = False From 7a533054f791c5748474c34c889a7c968f0b4444 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 16 Feb 2025 21:24:33 +0000 Subject: [PATCH 1407/2186] Address feedback --- volatility3/framework/plugins/windows/devicetree.py | 4 ---- volatility3/framework/plugins/windows/driverirp.py | 2 -- volatility3/framework/plugins/windows/drivermodule.py | 2 -- volatility3/framework/plugins/windows/driverscan.py | 11 +++++------ volatility3/framework/plugins/windows/modules.py | 3 +++ 5 files changed, 8 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/windows/devicetree.py b/volatility3/framework/plugins/windows/devicetree.py index 215d89490..012a8750d 100644 --- a/volatility3/framework/plugins/windows/devicetree.py +++ b/volatility3/framework/plugins/windows/devicetree.py @@ -95,14 +95,10 @@ class DeviceTree(interfaces.plugins.PluginInterface): ] def _generator(self) -> Iterator[Tuple]: - kernel = self.context.modules[self.config["kernel"]] - # Scan the Layer for drivers for driver in driverscan.DriverScan.scan_drivers( self.context, self.config["kernel"], - kernel.layer_name, - kernel.symbol_table_name, ): try: try: diff --git a/volatility3/framework/plugins/windows/driverirp.py b/volatility3/framework/plugins/windows/driverirp.py index 315583d11..a1959453a 100644 --- a/volatility3/framework/plugins/windows/driverirp.py +++ b/volatility3/framework/plugins/windows/driverirp.py @@ -83,8 +83,6 @@ class DriverIrp(interfaces.plugins.PluginInterface): for driver in driverscan.DriverScan.scan_drivers( self.context, self.config["kernel"], - kernel.layer_name, - kernel.symbol_table_name, ): try: driver_name = driver.get_driver_name() diff --git a/volatility3/framework/plugins/windows/drivermodule.py b/volatility3/framework/plugins/windows/drivermodule.py index a6de37981..db1255637 100644 --- a/volatility3/framework/plugins/windows/drivermodule.py +++ b/volatility3/framework/plugins/windows/drivermodule.py @@ -55,8 +55,6 @@ class DriverModule(interfaces.plugins.PluginInterface): for driver in driverscan.DriverScan.scan_drivers( self.context, self.config["kernel"], - kernel.layer_name, - kernel.symbol_table_name, ): # We want starts of 0 as rootkits often set this value # greater than 0 but less than the kernel space start is smear/terminated though diff --git a/volatility3/framework/plugins/windows/driverscan.py b/volatility3/framework/plugins/windows/driverscan.py index 22615f052..f179ff548 100644 --- a/volatility3/framework/plugins/windows/driverscan.py +++ b/volatility3/framework/plugins/windows/driverscan.py @@ -34,8 +34,6 @@ class DriverScan(interfaces.plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, kernel_module_name: str, - layer_name: str, - symbol_table_name: str, ) -> Iterable[interfaces.objects.ObjectInterface]: """Scans for drivers using the poolscanner module and constraints. @@ -48,6 +46,11 @@ class DriverScan(interfaces.plugins.PluginInterface): A list of Driver objects as found from the `layer_name` layer based on Driver pool signatures """ + kernel = context.modules[kernel_module_name] + + symbol_table_name = kernel.symbol_table_name + layer_name = kernel.layer_name + constraints = poolscanner.PoolScanner.builtin_constraints( symbol_table_name, [b"Dri\xf6", b"Driv"] ) @@ -116,13 +119,9 @@ class DriverScan(interfaces.plugins.PluginInterface): return driver_name, service_key, name def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - for driver in self.scan_drivers( self.context, self.config["kernel"], - kernel.layer_name, - kernel.symbol_table_name, ): driver_name, service_key, name = self.get_names_for_driver(driver) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 717a1b0d2..44a67f472 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -153,6 +153,9 @@ class Modules(interfaces.plugins.PluginInterface): object_type=object_type, offset=range_start_offset ) except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to read MmSystemRangeStart. Defaulting to {default_start:#x} for the kernel space start." + ) kernel_space_start = default_start layer = context.layers[module.layer_name] From ea2c50710e6d234b637067d155c91307f39f1795 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 16 Feb 2025 21:44:30 +0000 Subject: [PATCH 1408/2186] Linux: Correct enum import issues --- volatility3/framework/constants/linux/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 8df3d2665..0eaf227d5 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -5,7 +5,7 @@ Linux-specific values that aren't found in debug symbols """ -from enum import IntEnum, Flag +import enum from dataclasses import dataclass KERNEL_NAME = "__kernel__" @@ -342,7 +342,7 @@ class ELF_IDENT(enum.IntEnum): EI_PAD = 8 -class ELF_CLASS(IntEnum): +class ELF_CLASS(enum.IntEnum): """ELF header class types""" ELFCLASSNONE = 0 @@ -364,7 +364,7 @@ PTRACE_O_EXITKILL = 1 << 20 PTRACE_O_SUSPEND_SECCOMP = 1 << 21 -class PT_FLAGS(Flag): +class PT_FLAGS(enum.Flag): "PTrace flags" PT_PTRACED = 0x00001 PT_SEIZED = 0x10000 From 6486b4a569544c7a941a77c6fcab34a6f4e0dd73 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 16 Feb 2025 21:46:26 +0000 Subject: [PATCH 1409/2186] Linux: Fix some black issues --- volatility3/framework/constants/linux/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 0eaf227d5..ba0b92cc7 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -328,6 +328,7 @@ class IF_OPER_STATES(enum.Enum): DORMANT = 5 UP = 6 + class ELF_IDENT(enum.IntEnum): """ELF header e_ident indexes""" @@ -349,6 +350,7 @@ class ELF_CLASS(enum.IntEnum): ELFCLASS32 = 1 ELFCLASS64 = 2 + # PTrace PT_OPT_FLAG_SHIFT = 3 @@ -366,6 +368,7 @@ PTRACE_O_SUSPEND_SECCOMP = 1 << 21 class PT_FLAGS(enum.Flag): "PTrace flags" + PT_PTRACED = 0x00001 PT_SEIZED = 0x10000 From a31ea33f847e1273f4b9abf6ad335daa76a50a1f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 16 Feb 2025 22:28:54 +0000 Subject: [PATCH 1410/2186] Windows: Fix console potentially unbound variables --- .../framework/plugins/windows/consoles.py | 36 +++++++++++++------ 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index a448989c0..b345d4b77 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -7,7 +7,7 @@ import logging import os import struct -from typing import Tuple, Generator, Set, Dict, Any, Type +from typing import Tuple, Optional, Generator, Set, Dict, Any, Type from volatility3.framework import interfaces, symbols, exceptions from volatility3.framework import renderers @@ -74,7 +74,7 @@ class Consoles(interfaces.plugins.PluginInterface): @classmethod def find_conhost_proc( cls, proc_list: Generator[interfaces.objects.ObjectInterface, None, None] - ) -> Tuple[interfaces.context.ContextInterface, str]: + ) -> Generator[Tuple[interfaces.objects.ObjectInterface, str], None, None]: """ Walks the process list and returns the conhost instances. @@ -87,6 +87,7 @@ class Consoles(interfaces.plugins.PluginInterface): for proc in proc_list: if utility.array_to_string(proc.ImageFileName).lower() == "conhost.exe": + proc_id = "Unknown" try: proc_id = proc.UniqueProcessId proc_layer_name = proc.add_process_layer() @@ -100,8 +101,8 @@ class Consoles(interfaces.plugins.PluginInterface): @classmethod def find_conhostexe( - cls, conhost_proc: interfaces.context.ContextInterface - ) -> Tuple[int, int]: + cls, conhost_proc: interfaces.objects.ObjectInterface + ) -> Tuple[Optional[int], Optional[int]]: """ Finds the base address of conhost.exe @@ -130,7 +131,7 @@ class Consoles(interfaces.plugins.PluginInterface): config_path: str, conhost_layer_name: str, conhost_base: int, - ) -> Tuple[str, Type]: + ) -> Tuple[Optional[str], Dict[str, Type]]: """Tries to determine which symbol filename to use for the image's console information. This is similar to the netstat plugin. @@ -341,6 +342,11 @@ class Consoles(interfaces.plugins.PluginInterface): conhost_base, ) + if symbol_filename is None: + raise ValueError( + "Symbol filename could not be determined for conhost version" + ) + vollog.debug(f"Using symbol file '{symbol_filename}' and types {class_types}") return intermed.IntermediateSymbolTable.create( @@ -362,10 +368,14 @@ class Consoles(interfaces.plugins.PluginInterface): procs: Generator[interfaces.objects.ObjectInterface, None, None], max_history: Set[int], max_buffers: Set[int], - ) -> Tuple[ - interfaces.context.ContextInterface, - interfaces.context.ContextInterface, - Dict[str, Any], + ) -> Generator[ + Tuple[ + interfaces.objects.ObjectInterface, + Optional[interfaces.objects.ObjectInterface], + list[Any], + ], + None, + None, ]: """Gets the Console Information structure and its related properties for each conhost process @@ -401,6 +411,11 @@ class Consoles(interfaces.plugins.PluginInterface): "Unable to find the location of conhost.exe. Analysis cannot proceed." ) continue + if conhostexe_size is None: + vollog.info( + "Unable to determine the size of conhost.exe. Analysis cannot proceed." + ) + continue vollog.debug(f"Found conhost.exe base at {conhostexe_base:#x}") proc_layer = context.layers[proc_layer_name] @@ -420,6 +435,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) found_console_info_for_proc = False + console_info = None # scan for potential _CONSOLE_INFORMATION structures by using the CommandHistorySize for max_history_value in max_history: max_history_bytes = struct.pack("H", max_history_value) @@ -431,7 +447,7 @@ class Consoles(interfaces.plugins.PluginInterface): scanners.BytesScanner(max_history_bytes), sections=[(conhostexe_base, conhostexe_size)], ): - + console_info = None console_properties = [] try: From 8106a1652908ef975d71a4dfefbdcf4bfc869fb2 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 16 Feb 2025 22:33:57 +0000 Subject: [PATCH 1411/2186] Windows: Fix typing in lower python versions --- volatility3/framework/plugins/windows/consoles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index b345d4b77..63bb3e9b9 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -7,7 +7,7 @@ import logging import os import struct -from typing import Tuple, Optional, Generator, Set, Dict, Any, Type +from typing import Tuple, Optional, Generator, Set, Dict, Any, Type, List from volatility3.framework import interfaces, symbols, exceptions from volatility3.framework import renderers @@ -372,7 +372,7 @@ class Consoles(interfaces.plugins.PluginInterface): Tuple[ interfaces.objects.ObjectInterface, Optional[interfaces.objects.ObjectInterface], - list[Any], + List[Any], ], None, None, From 3ea563bde87fa4c67f7b0bc4de4f216614096ec6 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 19 Feb 2025 18:48:32 +0000 Subject: [PATCH 1412/2186] Windows: Use built-in libraries where possible (idea from #1627) --- volatility3/framework/plugins/windows/hashdump.py | 3 +-- volatility3/framework/plugins/windows/lsadump.py | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index 621b0ae53..1fea3d49d 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -8,7 +8,6 @@ from struct import pack, unpack from typing import List, Optional, Tuple from Crypto.Cipher import AES, ARC4, DES -from Crypto.Hash import MD5 from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements @@ -529,7 +528,7 @@ class Hashdump(interfaces.plugins.PluginInterface): (des_k1, des_k2) = cls.sid_to_key(rid) des1 = DES.new(des_k1, DES.MODE_ECB) des2 = DES.new(des_k2, DES.MODE_ECB) - md5 = MD5.new() + md5 = hashlib.md5() md5.update(hbootkey[:0x10] + pack(" Date: Wed, 19 Feb 2025 23:42:37 +0000 Subject: [PATCH 1413/2186] Separate out the net symbols from standard linux Also includes some typing changes. --- volatility3/framework/plugins/linux/ip.py | 11 +- .../framework/plugins/linux/netfilter.py | 25 +- .../framework/plugins/linux/sockstat.py | 39 +- .../framework/symbols/linux/__init__.py | 37 +- .../symbols/linux/extensions/__init__.py | 645 +----------------- .../framework/symbols/linux/extensions/net.py | 631 +++++++++++++++++ volatility3/framework/symbols/linux/net.py | 27 + 7 files changed, 758 insertions(+), 657 deletions(-) create mode 100644 volatility3/framework/symbols/linux/extensions/net.py create mode 100644 volatility3/framework/symbols/linux/net.py diff --git a/volatility3/framework/plugins/linux/ip.py b/volatility3/framework/plugins/linux/ip.py index 6b523379b..36efa0609 100644 --- a/volatility3/framework/plugins/linux/ip.py +++ b/volatility3/framework/plugins/linux/ip.py @@ -6,6 +6,7 @@ from typing import List from volatility3.framework import interfaces, renderers, constants from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins +from volatility3.framework.symbols.linux import net class Addr(plugins.PluginInterface): @@ -23,6 +24,9 @@ class Addr(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="Net", component=net.NetSymbols, version=(1, 0, 0) + ), ] def _gather_net_dev_info(self, net_dev): @@ -94,7 +98,10 @@ class Link(plugins.PluginInterface): name="kernel", description="Linux kernel", architectures=["Intel32", "Intel64"], - ) + ), + requirements.VersionRequirement( + name="Net", component=net.NetSymbols, version=(1, 0, 0) + ), ] def _gather_net_dev_link_info(self, net_device): @@ -123,6 +130,8 @@ class Link(plugins.PluginInterface): def _generator(self): vmlinux = self.context.modules[self.config["kernel"]] + net.NetSymbols.apply(self.context.symbol_space[vmlinux.symbol_table_name]) + net_type_symname = vmlinux.symbol_table_name + constants.BANG + "net" net_device_symname = vmlinux.symbol_table_name + constants.BANG + "net_device" diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index ccb7509aa..5e1bf283f 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -17,6 +17,7 @@ from volatility3.framework import ( from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements from volatility3.framework.symbols import linux +from volatility3.framework.symbols.linux import net from volatility3.plugins.linux import lsmod vollog = logging.getLogger(__name__) @@ -82,7 +83,7 @@ class AbstractNetfilter(ABC): self.list_head_size = self.vmlinux.get_type("list_head").size lsmod_required_version = Netfilter._required_lsmod_version - lsmod_current_version = lsmod.Lsmod._version + lsmod_current_version = lsmod.Lsmod.version if not requirements.VersionRequirement.matches_required( lsmod_required_version, lsmod_current_version ): @@ -91,7 +92,7 @@ class AbstractNetfilter(ABC): ) linuxutils_required_version = Netfilter._required_linuxutils_version - linuxutils_current_version = linux.LinuxUtilities._version + linuxutils_current_version = linux.LinuxUtilities.version if not requirements.VersionRequirement.matches_required( linuxutils_required_version, linuxutils_current_version ): @@ -99,11 +100,20 @@ class AbstractNetfilter(ABC): f"linux.LinuxUtilities version not suitable: required {linuxutils_required_version} found {linuxutils_current_version}" ) + linux_net_required_version = Netfilter._required_linuxnet_version + linux_net_current_version = net.NetSymbols.version + if not requirements.VersionRequirement.matches_required( + linux_net_required_version, linux_net_current_version + ): + raise exceptions.PluginRequirementException( + f"symbols.linux.net.NetSymbols version not suitable: required {linux_net_required_version} found {linux_net_current_version}" + ) + linux_utilities_modules_required_version = ( Netfilter._required_linux_utilities_modules_version ) linux_utilities_modules_current_version = ( - linux_utilities_modules.Modules._version + linux_utilities_modules.Modules.version ) if not requirements.VersionRequirement.matches_required( linux_utilities_modules_required_version, @@ -113,6 +123,9 @@ class AbstractNetfilter(ABC): f"linux_utilities_modules.Modules version not suitable: required {linux_utilities_modules_required_version} found {linux_utilities_modules_current_version}" ) + symbol_table = self._context.symbol_space[self.vmlinux.symbol_table_name] + net.NetSymbols.apply(symbol_table) + modules = lsmod.Lsmod.list_modules(context, kernel_module_name) self.handlers = linux.LinuxUtilities.generate_kernel_handler_info( context, kernel_module_name, modules @@ -697,6 +710,7 @@ class Netfilter(interfaces.plugins.PluginInterface): _required_linux_utilities_modules_version = (1, 0, 0) _required_linuxutils_version = (2, 1, 0) _required_lsmod_version = (2, 0, 0) + _required_linuxnet_version = (1, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -719,6 +733,11 @@ class Netfilter(interfaces.plugins.PluginInterface): component=linux.LinuxUtilities, version=cls._required_linuxutils_version, ), + requirements.VersionRequirement( + name="linuxnet", + component=net.NetSymbols, + version=cls._required_linuxnet_version, + ), ] def _format_fields(self, fields): diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 3d2df655b..ad74a6ee7 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -13,6 +13,7 @@ from volatility3.framework.objects import utility from volatility3.framework.symbols import linux from volatility3.plugins.linux import lsof from volatility3.plugins.linux import pslist +from volatility3.framework.symbols.linux import net vollog = logging.getLogger(__name__) @@ -22,13 +23,24 @@ class SockHandlers(interfaces.configuration.VersionableInterface): """Handles several socket families extracting the sockets information.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 0) + _version = (4, 0, 0) + _net_version_required = (1, 0, 0) - def __init__(self, vmlinux, task, *args, **kwargs): + def __init__(self, context, vmlinux_name, task, *args, **kwargs): super().__init__(*args, **kwargs) - self._vmlinux = vmlinux + self._vmlinux = context.modules[vmlinux_name] + self._symbol_table = context.symbol_space[self._vmlinux.symbol_table_name] self._task = task + if not requirements.VersionRequirement.matches_required( + net.NetSymbols.version, self._net_version_required + ): + raise ValueError( + f"Version mismatch of volatility library NetSymbols version ({net.NetSymbols.version}) and needed version ({self._net_version_required})" + ) + + net.NetSymbols.apply(self._symbol_table) + try: netns_id = task.nsproxy.net_ns.get_inode() except AttributeError: @@ -438,7 +450,7 @@ class Sockstat(plugins.PluginInterface): """Lists all network connections for all processes.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 3) + _version = (3, 0, 4) @classmethod def get_requirements(cls): @@ -449,7 +461,7 @@ class Sockstat(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="SockHandlers", component=SockHandlers, version=(3, 0, 0) + name="SockHandlers", component=SockHandlers, version=(4, 0, 0) ), requirements.PluginRequirement( name="lsof", plugin=lsof.Lsof, version=(2, 0, 0) @@ -460,6 +472,9 @@ class Sockstat(plugins.PluginInterface): requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="linux_net", component=net.NetSymbols, version=(1, 0, 0) + ), requirements.BooleanRequirement( name="unix", description=("Show UNIX domain Sockets only"), @@ -578,7 +593,7 @@ class Sockstat(plugins.PluginInterface): return tuple(sock_stat), protocol - def _generator(self, pids: List[int], netns_id_arg: int, symbol_table: str): + def _generator(self, pids: List[int], netns_id_arg: int, kernel_module_name: str): """Enumerate tasks sockets. Each row represents a kernel socket. Args: @@ -599,9 +614,13 @@ class Sockstat(plugins.PluginInterface): tasks: String with a list of tasks and FDs using a socket. It can also have extended information such as socket filters, bpf info, etc. """ + vmlinux = self.context.modules[kernel_module_name] + symbol_table = self.context.symbol_space[vmlinux.symbol_table_name] + net.NetSymbols.apply(symbol_table) + filter_func = pslist.PsList.create_pid_filter(pids) socket_generator = self.list_sockets( - self.context, symbol_table, filter_func=filter_func + self.context, kernel_module_name, filter_func=filter_func ) for ( @@ -646,7 +665,7 @@ class Sockstat(plugins.PluginInterface): def run(self): pids = self.config.get("pids") netns_id = self.config["netns"] - symbol_table = self.config["kernel"] + kernel_module_name = self.config["kernel"] tree_grid_args = [ ("NetNS", int), @@ -666,4 +685,6 @@ class Sockstat(plugins.PluginInterface): ("Filter", str), ] - return TreeGrid(tree_grid_args, self._generator(pids, netns_id, symbol_table)) + return TreeGrid( + tree_grid_args, self._generator(pids, netns_id, kernel_module_name) + ) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index fb6c35d31..8162689db 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -64,6 +64,25 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): # kernels < 4.18. Reuses timespec64 obj extension, since both has the same members self.optional_set_type_class("timespec", extensions.timespec64) + # Network + # FIXME: Deprecate all of this once the framework hits version 3 + self.set_type_class("net", extensions.net.net) + self.set_type_class("net_device", extensions.net.net_device) + self.set_type_class("in_device", extensions.net.in_device) + self.set_type_class("in_ifaddr", extensions.net.in_ifaddr) + self.set_type_class("inet6_dev", extensions.net.inet6_dev) + self.set_type_class("inet6_ifaddr", extensions.net.inet6_ifaddr) + self.set_type_class("socket", extensions.net.socket) + self.set_type_class("sock", extensions.net.sock) + self.set_type_class("inet_sock", extensions.net.inet_sock) + self.set_type_class("unix_sock", extensions.net.unix_sock) + # Might not exist in older kernels or the current symbols + self.optional_set_type_class("netlink_sock", extensions.net.netlink_sock) + self.optional_set_type_class("vsock_sock", extensions.net.vsock_sock) + self.optional_set_type_class("packet_sock", extensions.net.packet_sock) + self.optional_set_type_class("bt_sock", extensions.net.bt_sock) + self.optional_set_type_class("xdp_sock", extensions.net.xdp_sock) + # Mount self.set_type_class("vfsmount", extensions.vfsmount) # Might not exist in older kernels or the current symbols @@ -71,24 +90,6 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.optional_set_type_class("mnt_namespace", extensions.mnt_namespace) self.optional_set_type_class("rb_root", extensions.rb_root) - # Network - self.set_type_class("net", extensions.net) - self.set_type_class("net_device", extensions.net_device) - self.set_type_class("in_device", extensions.in_device) - self.set_type_class("in_ifaddr", extensions.in_ifaddr) - self.set_type_class("inet6_dev", extensions.inet6_dev) - self.set_type_class("inet6_ifaddr", extensions.inet6_ifaddr) - self.set_type_class("socket", extensions.socket) - self.set_type_class("sock", extensions.sock) - self.set_type_class("inet_sock", extensions.inet_sock) - self.set_type_class("unix_sock", extensions.unix_sock) - # Might not exist in older kernels or the current symbols - self.optional_set_type_class("netlink_sock", extensions.netlink_sock) - self.optional_set_type_class("vsock_sock", extensions.vsock_sock) - self.optional_set_type_class("packet_sock", extensions.packet_sock) - self.optional_set_type_class("bt_sock", extensions.bt_sock) - self.optional_set_type_class("xdp_sock", extensions.xdp_sock) - # Only found in 6.1+ kernels self.optional_set_type_class("maple_tree", extensions.maple_tree) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 5e5fc1ccf..901a82e69 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -9,7 +9,6 @@ import functools import binascii import stat import datetime -import socket as socket_module import uuid from typing import ( Generator, @@ -24,12 +23,11 @@ from typing import ( ) from volatility3.framework import constants, exceptions, objects, interfaces, symbols -from volatility3.framework.renderers import conversion, UnparsableValue +from volatility3.framework.renderers import conversion from volatility3.framework.constants import linux as linux_constants from volatility3.framework.layers import linear, intel from volatility3.framework.objects import utility from volatility3.framework.symbols import generic, linux, intermed -from volatility3.framework.symbols.wrappers import Flags from volatility3.framework.symbols.linux.extensions import elf vollog = logging.getLogger(__name__) @@ -273,7 +271,7 @@ class module(generic.GenericIntelProcess): yield (sym_name, sym_address) @functools.lru_cache - def get_module_address_boundaries(self) -> Tuple[int, int]: + def get_module_address_boundaries(self) -> Optional[Tuple[int, int]]: """Return the module address boundaries based on its symbol addresses""" if not self.section_strtab or self.num_symtab < 1: @@ -731,7 +729,9 @@ class task_struct(generic.GenericIntelProcess): raise exceptions.VolatilityException("Unsupported") - def get_boottime(self, root_time_namespace: bool = True) -> datetime.datetime: + def get_boottime( + self, root_time_namespace: bool = True + ) -> Optional[datetime.datetime]: """Returns the boot time in UTC as a datetime. Args: @@ -755,7 +755,7 @@ class task_struct(generic.GenericIntelProcess): return boottime.to_datetime() - def get_create_time(self) -> datetime.datetime: + def get_create_time(self) -> Optional[datetime.datetime]: """Retrieves the task's start time from its time namespace. Args: context: The context to retrieve required elements (layers, symbol tables) from @@ -771,6 +771,8 @@ class task_struct(generic.GenericIntelProcess): # The kernel exports only tv_sec to procfs, see kernel's show_stat(). # This means user-space tools, like those in the procps package (e.g., ps, top, etc.), # only use the boot time seconds to compute dates relatives to this. + if boottime is None: + return None boottime = boottime.replace(microsecond=0) task_start_time_timedelta = self._get_task_start_time() @@ -1239,7 +1241,7 @@ class qstr(objects.StructType): else: str_length = 255 try: - ret = objects.utility.pointer_to_string(self.name, str_length) + ret = utility.pointer_to_string(self.name, str_length) except (exceptions.InvalidAddressException, ValueError): ret = "" return ret @@ -1320,7 +1322,7 @@ class dentry(objects.StructType): dentry_type_name = self.get_symbol_table_name() + constants.BANG + "dentry" yield from list_head_member.to_list(dentry_type_name, walk_member) - def get_inode(self) -> interfaces.objects.ObjectInterface: + def get_inode(self) -> Optional[interfaces.objects.ObjectInterface]: """Returns the inode associated with this dentry""" inode_ptr = self.d_inode @@ -1345,7 +1347,7 @@ class struct_file(objects.StructType): raise AttributeError("Unable to find file -> vfs mount") - def get_inode(self) -> interfaces.objects.ObjectInterface: + def get_inode(self) -> Optional[interfaces.objects.ObjectInterface]: """Returns an inode associated with this file""" inode_ptr = None @@ -1873,7 +1875,7 @@ class mnt_namespace(objects.StructType): def get_mount_points( self, - ) -> Iterator[interfaces.objects.ObjectInterface]: + ) -> Iterator[Optional[interfaces.objects.ObjectInterface]]: """Yields the mount points for this mount namespace. Yields: @@ -1909,619 +1911,6 @@ class mnt_namespace(objects.StructType): ) -class net(objects.StructType): - def get_inode(self): - """Get the namespace id for this network namespace. - - Raises: - AttributeError: If it cannot find the network namespace id for the - current kernel. - - Returns: - int: the namespace id - """ - if self.has_member("proc_inum"): - # 3.8.13 <= kernel < 3.19.8 - return self.proc_inum - elif self.has_member("ns") and self.ns.has_member("inum"): - # kernel >= 3.19.8 - return self.ns.inum - else: - # kernel < 3.8.13 - raise AttributeError("Unable to find net_namespace inode") - - -class net_device(objects.StructType): - def get_device_name(self) -> str: - """Return the network device name - - Returns: - str: The network device name - """ - return utility.array_to_string(self.name) - - def _format_as_mac_address(self, hwaddr): - return ":".join([f"{x:02x}" for x in hwaddr[: self.addr_len]]) - - def get_mac_address(self) -> str: - """Get the MAC address of this network interface. - - Returns: - str: the MAC address of this network interface. - """ - if self.has_member("perm_addr"): - null_mac_addr_bytes = b"\x00" * self.addr_len - null_mac_addr = self._format_as_mac_address(null_mac_addr_bytes) - mac_addr = self._format_as_mac_address(self.perm_addr) - if mac_addr != null_mac_addr: - return mac_addr - - parent_layer = self._context.layers[self.vol.layer_name] - try: - hwaddr = parent_layer.read(self.dev_addr, self.addr_len, pad=True) - except exceptions.InvalidAddressException: - vollog.debug( - f"Unable to read network inteface mac address from {self.dev_addr:#x}" - ) - return None - - return self._format_as_mac_address(hwaddr) - - def _get_flag_choices(self) -> Dict: - """Return the net_device flags as a list of strings""" - vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) - try: - # kernels >= 3.15 - net_device_flags_enum = vmlinux.get_enumeration("net_device_flags") - choices = net_device_flags_enum.choices - except exceptions.SymbolError: - # kernels < 3.15 - choices = linux_constants.NET_DEVICE_FLAGS - - return choices - - def _get_net_device_flag_value(self, name): - """Return the net_device flag value based on the flag name""" - return self._get_flag_choices().get(name, UnparsableValue()) - - def _get_netdev_state_t(self): - vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) - try: - # At least from kernels 2.6.30 - return vmlinux.get_enumeration("netdev_state_t") - except exceptions.SymbolError: - raise exceptions.VolatilityException( - "Unsupported kernel or wrong ISF. Cannot find 'netdev_state_t' enumeration" - ) - - def is_running(self) -> bool: - """Test if the network device has been brought up - Based on netif_running() - - Returns: - bool: True if the device is UP - """ - netdev_state_t_enum = self._get_netdev_state_t() - - # It should be safe. netdev_state_t::__LINK_STATE_START has been available since - # at least kernels 2.6.30 - return ( - self.state & (1 << netdev_state_t_enum.choices["__LINK_STATE_START"]) != 0 - ) - - def is_carrier_ok(self) -> bool: - """Check if carrier is present on network device - Based on netif_carrier_ok() - - Returns: - bool: True if carrier present - """ - netdev_state_t_enum = self._get_netdev_state_t() - - # It should be safe. netdev_state_t::__LINK_STATE_NOCARRIER has been available - # since at least kernels 2.6.30 - return ( - self.state & (1 << netdev_state_t_enum.choices["__LINK_STATE_NOCARRIER"]) - == 0 - ) - - def is_dormant(self) -> bool: - """Check if the network device is dormant - Based on netif_dormant(() - - Returns: - bool: True if the network device is dormant - """ - netdev_state_t_enum = self._get_netdev_state_t() - - # It should be safe. netdev_state_t::__LINK_STATE_DORMANT has been available - # since at least kernels 2.6.30 - return ( - self.state & (1 << netdev_state_t_enum.choices["__LINK_STATE_DORMANT"]) != 0 - ) - - def is_operational(self) -> bool: - """Test if the carrier is operational - Based on netif_oper_up() - - Returns: - bool: True if the device is UP - """ - - return self.get_operational_state() in ("UP", "UNKNOWN") - - def get_flag_names(self) -> List[str]: - """Return the net_device flags as a list of strings. - This is the combination of flags exported through kernel APIs to userspace. - Based on dev_get_flags() - - Returns: - List[str]: A list of flag names - """ - choices = self._get_flag_choices() - clear_flags = choices.get("IFF_PROMISC", 0) - clear_flags |= choices.get("IFF_ALLMULTI", 0) - clear_flags |= choices.get("IFF_RUNNING", 0) - clear_flags |= choices.get("IFF_LOWER_UP", 0) - clear_flags |= choices.get("IFF_DORMANT", 0) - - clear_gflags = choices.get("IFF_PROMISC", 0) - clear_gflags |= choices.get("IFF_ALLMULTI)", 0) - - flags = (self.flags & ~clear_flags) | (self.gflags & ~clear_gflags) - - if self.is_running(): - if self.is_operational(): - flags |= choices.get("IFF_RUNNING", 0) - if self.is_carrier_ok(): - flags |= choices.get("IFF_LOWER_UP", 0) - if self.is_dormant(): - flags |= choices.get("IFF_DORMANT", 0) - - net_device_flags_enum_flags = Flags(choices) - net_device_flags = net_device_flags_enum_flags(flags) - - # It's preferable to provide a deterministic list of items. i.e. for testing - return sorted(net_device_flags) - - @property - def promisc(self): - """Return if this network interface is in promiscuous mode. - - Returns: - bool: True if this network interface is in promiscuous mode. Otherwise, False - """ - return self.flags & self._get_net_device_flag_value("IFF_PROMISC") != 0 - - def get_net_namespace_id(self) -> int: - """Return the network namespace id for this network interface. - - Returns: - int: the network namespace id for this network interface - """ - nd_net = self.nd_net - if nd_net.has_member("net"): - # In kernel 4.1.52 the 'nd_net' member type was changed from - # 'struct net*' to 'possible_net_t' which has a 'struct net *net' member. - net_ns_id = nd_net.net.get_inode() - else: - # In kernels < 4.1.52 the 'nd_net'member type was 'struct net*' - net_ns_id = nd_net.get_inode() - - return net_ns_id - - def get_operational_state(self) -> str: - """Return the netwok device oprational state (RFC 2863) string - - Returns: - str: A string with the operational state - """ - try: - return linux_constants.IF_OPER_STATES(self.operstate).name - except ValueError: - vollog.warning(f"Invalid net_device operational state '{self.operstate}'") - return UnparsableValue() - - def get_qdisc_name(self) -> str: - """Return the network device queuing discipline (qdisc) name - - Returns: - str: A string with the queuing discipline (qdisc) name - """ - return utility.array_to_string(self.qdisc.ops.id) - - def get_queue_length(self) -> int: - """Return the netwrok device transmision qeueue length (qlen) - - Returns: - int: the netwrok device transmision qeueue length (qlen) - """ - return self.tx_queue_len - - -class in_device(objects.StructType): - def get_addresses(self): - """Yield the IPv4 ifaddr addresses - - Yields: - in_ifaddr: An IPv4 ifaddr address - """ - cur = self.ifa_list - while cur and cur.vol.offset: - yield cur - cur = cur.ifa_next - - -class inet6_dev(objects.StructType): - def get_addresses(self): - """Yield the IPv6 ifaddr addresses - - Yields: - inet6_ifaddr: An IPv6 ifaddr address - """ - if not self.has_member( - "addr_list" - ) or not self.addr_list.vol.type_name.endswith(constants.BANG + "list_head"): - # kernels < 3.0 - # FIXME: struct inet6_ifaddr *addr_list; - vollog.warning( - "IPv6 is unsupported for this kernel. Check if the ISF contains the appropriate 'inet6_dev' type" - ) - return - - symbol_space = self._context.symbol_space - table_name = self.get_symbol_table_name() - inet6_ifaddr_symname = table_name + constants.BANG + "inet6_ifaddr" - if not symbol_space.has_type(inet6_ifaddr_symname) or not symbol_space.get_type( - inet6_ifaddr_symname - ).has_member("if_list"): - vollog.warning( - "IPv6 is unsupported for this kernel. Check if the ISF contains the appropriate 'inet6_ifaddr' type" - ) - return - - # 'if_list' member was added to 'inet6_ifaddr' type in kernels 3.0 - yield from self.addr_list.to_list(inet6_ifaddr_symname, "if_list") - - -class in_ifaddr(objects.StructType): - # Translation to text based on iproute2 package. See 'rtnl_rtscope_tab' in lib/rt_names.c - _rtnl_rtscope_tab = { - "RT_SCOPE_UNIVERSE": "global", - "RT_SCOPE_NOWHERE": "nowhere", - "RT_SCOPE_HOST": "host", - "RT_SCOPE_LINK": "link", - "RT_SCOPE_SITE": "site", - } - - def get_scope_type(self): - """Get the scope type for this IPv4 address - - Returns: - str: the IPv4 scope type. - """ - table_name = self.get_symbol_table_name() - rt_scope_enum = self._context.symbol_space.get_enumeration( - table_name + constants.BANG + "rt_scope_t" - ) - try: - rt_scope = rt_scope_enum.lookup(self.ifa_scope) - except ValueError: - return "unknown" - - return self._rtnl_rtscope_tab.get(rt_scope, "unknown") - - def get_address(self): - """Get an string with the IPv4 address - - Returns: - str: the IPv4 address - """ - return conversion.convert_ipv4(self.ifa_address) - - def get_prefix_len(self): - """Get the IPv4 address prefix len - - Returns: - int: the IPv4 address prefix len - """ - return self.ifa_prefixlen - - -class inet6_ifaddr(objects.StructType): - def get_scope_type(self): - """Get the scope type for this IPv6 address - - Returns: - str: the IPv6 scope type. - """ - if (self.scope & linux_constants.IFA_HOST) != 0: - return "host" - elif (self.scope & linux_constants.IFA_LINK) != 0: - return "link" - elif (self.scope & linux_constants.IFA_SITE) != 0: - return "site" - else: - return "global" - - def get_address(self): - """Get an string with the IPv6 address - - Returns: - str: the IPv6 address - """ - return conversion.convert_ipv6(self.addr.in6_u.u6_addr32) - - def get_prefix_len(self): - """Get the IPv6 address prefix len - - Returns: - int: the IPv6 address prefix len - """ - return self.prefix_len - - -class socket(objects.StructType): - def _get_vol_kernel(self): - symbol_table_arr = self.vol.type_name.split("!", 1) - symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None - - module_names = list( - self._context.modules.get_modules_by_symbol_tables(symbol_table) - ) - if not module_names: - raise ValueError(f"No module using the symbol table {symbol_table}") - kernel_module_name = module_names[0] - kernel = self._context.modules[kernel_module_name] - return kernel - - def get_inode(self): - try: - kernel = self._get_vol_kernel() - except ValueError: - return 0 - socket_alloc = linux.LinuxUtilities.container_of( - self.vol.offset, "socket_alloc", "socket", kernel - ) - vfs_inode = socket_alloc.vfs_inode - - return vfs_inode.i_ino - - def get_state(self): - socket_state_idx = self.state - if 0 <= socket_state_idx < len(linux_constants.SOCKET_STATES): - return linux_constants.SOCKET_STATES[socket_state_idx] - - -class sock(objects.StructType): - def get_family(self): - family_idx = self.__sk_common.skc_family - if 0 <= family_idx < len(linux_constants.SOCK_FAMILY): - return linux_constants.SOCK_FAMILY[family_idx] - - def get_type(self): - return linux_constants.SOCK_TYPES.get(self.sk_type, "") - - def get_inode(self): - if not self.sk_socket: - return 0 - return self.sk_socket.get_inode() - - def get_protocol(self): - return None - - def get_state(self): - # Return the generic socket state - if self.has_member("sk"): - return self.sk.sk_socket.get_state() - return self.sk_socket.get_state() - - -class unix_sock(objects.StructType): - def get_name(self): - if not self.addr: - return None - sockaddr_un = self.addr.name.cast("sockaddr_un") - saddr = str(utility.array_to_string(sockaddr_un.sun_path)) - return saddr - - def get_protocol(self): - return None - - def get_state(self): - """Return a string representing the sock state.""" - - # Unix socket states reuse (a subset) of the inet_sock states contants - if self.sk.get_type() == "STREAM": - state_idx = self.sk.__sk_common.skc_state - if 0 <= state_idx < len(linux_constants.TCP_STATES): - return linux_constants.TCP_STATES[state_idx] - else: - # Return the generic socket state - return self.sk.sk_socket.get_state() - - def get_inode(self): - return self.sk.get_inode() - - -class inet_sock(objects.StructType): - def get_family(self): - family_idx = self.sk.__sk_common.skc_family - if 0 <= family_idx < len(linux_constants.SOCK_FAMILY): - return linux_constants.SOCK_FAMILY[family_idx] - - def get_protocol(self): - # If INET6 family and a proto is defined, we use that specific IPv6 protocol. - # Otherwise, we use the standard IP protocol. - protocol = linux_constants.IP_PROTOCOLS.get(self.sk.sk_protocol) - if self.get_family() == "AF_INET6": - protocol = linux_constants.IPV6_PROTOCOLS.get(self.sk.sk_protocol, protocol) - return protocol - - def get_state(self): - """Return a string representing the sock state.""" - - if self.sk.get_type() == "STREAM": - state_idx = self.sk.__sk_common.skc_state - if 0 <= state_idx < len(linux_constants.TCP_STATES): - return linux_constants.TCP_STATES[state_idx] - else: - # Return the generic socket state - return self.sk.sk_socket.get_state() - - def get_src_port(self): - sport_le = getattr(self, "sport", getattr(self, "inet_sport", None)) - if sport_le is not None: - return socket_module.htons(sport_le) - - def get_dst_port(self): - sk_common = self.sk.__sk_common - if hasattr(sk_common, "skc_portpair"): - dport_le = sk_common.skc_portpair & 0xFFFF - elif hasattr(self, "dport"): - dport_le = self.dport - elif hasattr(self, "inet_dport"): - dport_le = self.inet_dport - elif hasattr(sk_common, "skc_dport"): - dport_le = sk_common.skc_dport - else: - return None - return socket_module.htons(dport_le) - - def get_src_addr(self): - sk_common = self.sk.__sk_common - family = sk_common.skc_family - if family == socket_module.AF_INET: - addr_size = 4 - if hasattr(self, "rcv_saddr"): - saddr = self.rcv_saddr - elif hasattr(self, "inet_rcv_saddr"): - saddr = self.inet_rcv_saddr - else: - saddr = sk_common.skc_rcv_saddr - elif family == socket_module.AF_INET6: - addr_size = 16 - saddr = self.pinet6.saddr - else: - return None - parent_layer = self._context.layers[self.vol.layer_name] - try: - addr_bytes = parent_layer.read(saddr.vol.offset, addr_size) - except exceptions.InvalidAddressException: - vollog.debug( - f"Unable to read socket src address from {saddr.vol.offset:#x}" - ) - return None - return socket_module.inet_ntop(family, addr_bytes) - - def get_dst_addr(self): - sk_common = self.sk.__sk_common - family = sk_common.skc_family - if family == socket_module.AF_INET: - if hasattr(self, "daddr") and self.daddr: - daddr = self.daddr - elif hasattr(self, "inet_daddr") and self.inet_daddr: - daddr = self.inet_daddr - else: - daddr = sk_common.skc_daddr - addr_size = 4 - elif family == socket_module.AF_INET6: - if hasattr(self.pinet6, "daddr"): - daddr = self.pinet6.daddr - else: - daddr = sk_common.skc_v6_daddr - addr_size = 16 - else: - return None - parent_layer = self._context.layers[self.vol.layer_name] - try: - addr_bytes = parent_layer.read(daddr.vol.offset, addr_size) - except exceptions.InvalidAddressException: - vollog.debug( - f"Unable to read socket dst address from {daddr.vol.offset:#x}" - ) - return None - return socket_module.inet_ntop(family, addr_bytes) - - -class netlink_sock(objects.StructType): - def get_protocol(self): - protocol_idx = self.sk.sk_protocol - if 0 <= protocol_idx < len(linux_constants.NETLINK_PROTOCOLS): - return linux_constants.NETLINK_PROTOCOLS[protocol_idx] - - def get_state(self): - # Return the generic socket state - return self.sk.sk_socket.get_state() - - def get_portid(self): - if self.has_member("pid"): - # kernel < 3.7.10 - return self.pid - if self.has_member("portid"): - # kernel >= 3.7.10 - return self.portid - else: - raise AttributeError("Unable to find a source port id") - - def get_dst_portid(self): - if self.has_member("dst_pid"): - # kernel < 3.7.10 - return self.dst_pid - if self.has_member("dst_portid"): - # kernel >= 3.7.10 - return self.dst_portid - else: - raise AttributeError("Unable to find a destination port id") - - -class vsock_sock(objects.StructType): - def get_protocol(self): - # The protocol should always be 0 for vsocks - return None - - def get_state(self): - # Return the generic socket state - return self.sk.sk_socket.get_state() - - -class packet_sock(objects.StructType): - def get_protocol(self): - eth_proto = socket_module.htons(self.num) - if eth_proto == 0: - return None - elif eth_proto in linux_constants.ETH_PROTOCOLS: - return linux_constants.ETH_PROTOCOLS[eth_proto] - else: - return f"0x{eth_proto:x}" - - def get_state(self): - # Return the generic socket state - return self.sk.sk_socket.get_state() - - -class bt_sock(objects.StructType): - def get_protocol(self): - type_idx = self.sk.sk_protocol - if 0 <= type_idx < len(linux_constants.BLUETOOTH_PROTOCOLS): - return linux_constants.BLUETOOTH_PROTOCOLS[type_idx] - - def get_state(self): - state_idx = self.sk.__sk_common.skc_state - if 0 <= state_idx < len(linux_constants.BLUETOOTH_STATES): - return linux_constants.BLUETOOTH_STATES[state_idx] - - -class xdp_sock(objects.StructType): - def get_protocol(self): - # The protocol should always be 0 for xdp_sock - return None - - def get_state(self): - # xdp_sock.state is an enum - return self.state.lookup() - - class bpf_prog(objects.StructType): _BPF_PROG_CHUNK_SHIFT = 6 _BPF_PROG_CHUNK_SIZE = 1 << _BPF_PROG_CHUNK_SHIFT @@ -3013,7 +2402,9 @@ class inode(objects.StructType): else: return None - def _time_member_to_datetime(self, member) -> datetime.datetime: + def _time_member_to_datetime( + self, member + ) -> datetime.datetime | interfaces.renderers.BaseAbsentValue: if self.has_member(f"{member}_sec") and self.has_member(f"{member}_nsec"): # kernels >= 6.11 it's i_*_sec -> time64_t and i_*_nsec -> u32 # Ref Linux commit 3aa63a569c64e708df547a8913c84e64a06e7853 @@ -3292,7 +2683,7 @@ class IDR(objects.StructType): return (1 << bits) - 1 - def idr_find(self, idr_id: int) -> int: + def idr_find(self, idr_id: int) -> Optional[int]: """Finds an ID within the IDR data structure. Based on idr_find_slowpath(), 3.9 <= Kernel < 4.11 Args: @@ -3368,7 +2759,9 @@ class IDR(objects.StructType): class rb_root(objects.StructType): - def _walk_nodes(self, root_node: int) -> Iterator[int]: + def _walk_nodes( + self, root_node: interfaces.objects.ObjectInterface + ) -> Iterator[int]: """Traverses the Red-Black tree from the root node and yields a pointer to each node in this tree. diff --git a/volatility3/framework/symbols/linux/extensions/net.py b/volatility3/framework/symbols/linux/extensions/net.py new file mode 100644 index 000000000..a5836062e --- /dev/null +++ b/volatility3/framework/symbols/linux/extensions/net.py @@ -0,0 +1,631 @@ +import logging +from typing import Dict, List + +from volatility3.framework import objects, exceptions, renderers, interfaces, constants +from volatility3.framework.objects import utility +from volatility3.framework.constants import linux as linux_constants +from volatility3.framework.symbols import wrappers +from volatility3.framework.symbols import linux +from volatility3.framework.renderers import conversion +import socket as socket_module + + +vollog = logging.getLogger(__name__) + + +class net(objects.StructType): + def get_inode(self): + """Get the namespace id for this network namespace. + + Raises: + AttributeError: If it cannot find the network namespace id for the + current kernel. + + Returns: + int: the namespace id + """ + if self.has_member("proc_inum"): + # 3.8.13 <= kernel < 3.19.8 + return self.proc_inum + elif self.has_member("ns") and self.ns.has_member("inum"): + # kernel >= 3.19.8 + return self.ns.inum + else: + # kernel < 3.8.13 + raise AttributeError("Unable to find net_namespace inode") + + +class net_device(objects.StructType): + def get_device_name(self) -> str: + """Return the network device name + + Returns: + str: The network device name + """ + return utility.array_to_string(self.name) + + def _format_as_mac_address(self, hwaddr): + return ":".join([f"{x:02x}" for x in hwaddr[: self.addr_len]]) + + def get_mac_address(self) -> Optional[str]: + """Get the MAC address of this network interface. + + Returns: + str: the MAC address of this network interface. + """ + if self.has_member("perm_addr"): + null_mac_addr_bytes = b"\x00" * self.addr_len + null_mac_addr = self._format_as_mac_address(null_mac_addr_bytes) + mac_addr = self._format_as_mac_address(self.perm_addr) + if mac_addr != null_mac_addr: + return mac_addr + + parent_layer = self._context.layers[self.vol.layer_name] + try: + hwaddr = parent_layer.read(self.dev_addr, self.addr_len, pad=True) + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to read network inteface mac address from {self.dev_addr:#x}" + ) + return None + + return self._format_as_mac_address(hwaddr) + + def _get_flag_choices(self) -> Dict: + """Return the net_device flags as a list of strings""" + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + try: + # kernels >= 3.15 + net_device_flags_enum = vmlinux.get_enumeration("net_device_flags") + choices = net_device_flags_enum.choices + except exceptions.SymbolError: + # kernels < 3.15 + choices = linux_constants.NET_DEVICE_FLAGS + + return choices + + def _get_net_device_flag_value(self, name): + """Return the net_device flag value based on the flag name""" + return self._get_flag_choices().get(name, renderers.UnparsableValue()) + + def _get_netdev_state_t(self): + vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) + try: + # At least from kernels 2.6.30 + return vmlinux.get_enumeration("netdev_state_t") + except exceptions.SymbolError: + raise exceptions.VolatilityException( + "Unsupported kernel or wrong ISF. Cannot find 'netdev_state_t' enumeration" + ) + + def is_running(self) -> bool: + """Test if the network device has been brought up + Based on netif_running() + + Returns: + bool: True if the device is UP + """ + netdev_state_t_enum = self._get_netdev_state_t() + + # It should be safe. netdev_state_t::__LINK_STATE_START has been available since + # at least kernels 2.6.30 + return ( + self.state & (1 << netdev_state_t_enum.choices["__LINK_STATE_START"]) != 0 + ) + + def is_carrier_ok(self) -> bool: + """Check if carrier is present on network device + Based on netif_carrier_ok() + + Returns: + bool: True if carrier present + """ + netdev_state_t_enum = self._get_netdev_state_t() + + # It should be safe. netdev_state_t::__LINK_STATE_NOCARRIER has been available + # since at least kernels 2.6.30 + return ( + self.state & (1 << netdev_state_t_enum.choices["__LINK_STATE_NOCARRIER"]) + == 0 + ) + + def is_dormant(self) -> bool: + """Check if the network device is dormant + Based on netif_dormant(() + + Returns: + bool: True if the network device is dormant + """ + netdev_state_t_enum = self._get_netdev_state_t() + + # It should be safe. netdev_state_t::__LINK_STATE_DORMANT has been available + # since at least kernels 2.6.30 + return ( + self.state & (1 << netdev_state_t_enum.choices["__LINK_STATE_DORMANT"]) != 0 + ) + + def is_operational(self) -> bool: + """Test if the carrier is operational + Based on netif_oper_up() + + Returns: + bool: True if the device is UP + """ + + return self.get_operational_state() in ("UP", "UNKNOWN") + + def get_flag_names(self) -> List[str]: + """Return the net_device flags as a list of strings. + This is the combination of flags exported through kernel APIs to userspace. + Based on dev_get_flags() + + Returns: + List[str]: A list of flag names + """ + choices = self._get_flag_choices() + clear_flags = choices.get("IFF_PROMISC", 0) + clear_flags |= choices.get("IFF_ALLMULTI", 0) + clear_flags |= choices.get("IFF_RUNNING", 0) + clear_flags |= choices.get("IFF_LOWER_UP", 0) + clear_flags |= choices.get("IFF_DORMANT", 0) + + clear_gflags = choices.get("IFF_PROMISC", 0) + clear_gflags |= choices.get("IFF_ALLMULTI)", 0) + + flags = (self.flags & ~clear_flags) | (self.gflags & ~clear_gflags) + + if self.is_running(): + if self.is_operational(): + flags |= choices.get("IFF_RUNNING", 0) + if self.is_carrier_ok(): + flags |= choices.get("IFF_LOWER_UP", 0) + if self.is_dormant(): + flags |= choices.get("IFF_DORMANT", 0) + + net_device_flags_enum_flags = wrappers.Flags(choices) + net_device_flags = net_device_flags_enum_flags(flags) + + # It's preferable to provide a deterministic list of items. i.e. for testing + return sorted(net_device_flags) + + @property + def promisc(self): + """Return if this network interface is in promiscuous mode. + + Returns: + bool: True if this network interface is in promiscuous mode. Otherwise, False + """ + return self.flags & self._get_net_device_flag_value("IFF_PROMISC") != 0 + + def get_net_namespace_id(self) -> int: + """Return the network namespace id for this network interface. + + Returns: + int: the network namespace id for this network interface + """ + nd_net = self.nd_net + if nd_net.has_member("net"): + # In kernel 4.1.52 the 'nd_net' member type was changed from + # 'struct net*' to 'possible_net_t' which has a 'struct net *net' member. + net_ns_id = nd_net.net.get_inode() + else: + # In kernels < 4.1.52 the 'nd_net'member type was 'struct net*' + net_ns_id = nd_net.get_inode() + + return net_ns_id + + def get_operational_state(self) -> str | interfaces.renderers.BaseAbsentValue: + """Return the netwok device oprational state (RFC 2863) string + + Returns: + str: A string with the operational state + """ + try: + return linux_constants.IF_OPER_STATES(self.operstate).name + except ValueError: + vollog.warning(f"Invalid net_device operational state '{self.operstate}'") + return renderers.UnparsableValue() + + def get_qdisc_name(self) -> str: + """Return the network device queuing discipline (qdisc) name + + Returns: + str: A string with the queuing discipline (qdisc) name + """ + return utility.array_to_string(self.qdisc.ops.id) + + def get_queue_length(self) -> int: + """Return the netwrok device transmision qeueue length (qlen) + + Returns: + int: the netwrok device transmision qeueue length (qlen) + """ + return self.tx_queue_len + + +class in_device(objects.StructType): + def get_addresses(self): + """Yield the IPv4 ifaddr addresses + + Yields: + in_ifaddr: An IPv4 ifaddr address + """ + cur = self.ifa_list + while cur and cur.vol.offset: + yield cur + cur = cur.ifa_next + + +class inet6_dev(objects.StructType): + def get_addresses(self): + """Yield the IPv6 ifaddr addresses + + Yields: + inet6_ifaddr: An IPv6 ifaddr address + """ + if not self.has_member( + "addr_list" + ) or not self.addr_list.vol.type_name.endswith(constants.BANG + "list_head"): + # kernels < 3.0 + # FIXME: struct inet6_ifaddr *addr_list; + vollog.warning( + "IPv6 is unsupported for this kernel. Check if the ISF contains the appropriate 'inet6_dev' type" + ) + return + + symbol_space = self._context.symbol_space + table_name = self.get_symbol_table_name() + inet6_ifaddr_symname = table_name + constants.BANG + "inet6_ifaddr" + if not symbol_space.has_type(inet6_ifaddr_symname) or not symbol_space.get_type( + inet6_ifaddr_symname + ).has_member("if_list"): + vollog.warning( + "IPv6 is unsupported for this kernel. Check if the ISF contains the appropriate 'inet6_ifaddr' type" + ) + return + + # 'if_list' member was added to 'inet6_ifaddr' type in kernels 3.0 + yield from self.addr_list.to_list(inet6_ifaddr_symname, "if_list") + + +class in_ifaddr(objects.StructType): + # Translation to text based on iproute2 package. See 'rtnl_rtscope_tab' in lib/rt_names.c + _rtnl_rtscope_tab = { + "RT_SCOPE_UNIVERSE": "global", + "RT_SCOPE_NOWHERE": "nowhere", + "RT_SCOPE_HOST": "host", + "RT_SCOPE_LINK": "link", + "RT_SCOPE_SITE": "site", + } + + def get_scope_type(self): + """Get the scope type for this IPv4 address + + Returns: + str: the IPv4 scope type. + """ + table_name = self.get_symbol_table_name() + rt_scope_enum = self._context.symbol_space.get_enumeration( + table_name + constants.BANG + "rt_scope_t" + ) + try: + rt_scope = rt_scope_enum.lookup(self.ifa_scope) + except ValueError: + return "unknown" + + return self._rtnl_rtscope_tab.get(rt_scope, "unknown") + + def get_address(self): + """Get an string with the IPv4 address + + Returns: + str: the IPv4 address + """ + return conversion.convert_ipv4(self.ifa_address) + + def get_prefix_len(self): + """Get the IPv4 address prefix len + + Returns: + int: the IPv4 address prefix len + """ + return self.ifa_prefixlen + + +class inet6_ifaddr(objects.StructType): + def get_scope_type(self): + """Get the scope type for this IPv6 address + + Returns: + str: the IPv6 scope type. + """ + if (self.scope & linux_constants.IFA_HOST) != 0: + return "host" + elif (self.scope & linux_constants.IFA_LINK) != 0: + return "link" + elif (self.scope & linux_constants.IFA_SITE) != 0: + return "site" + else: + return "global" + + def get_address(self): + """Get an string with the IPv6 address + + Returns: + str: the IPv6 address + """ + return conversion.convert_ipv6(self.addr.in6_u.u6_addr32) + + def get_prefix_len(self): + """Get the IPv6 address prefix len + + Returns: + int: the IPv6 address prefix len + """ + return self.prefix_len + + +class socket(objects.StructType): + def _get_vol_kernel(self): + symbol_table_arr = self.vol.type_name.split("!", 1) + symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None + + if symbol_table is None: + raise ValueError(f"No module using the symbol table {symbol_table}") + + module_names = list( + self._context.modules.get_modules_by_symbol_tables(symbol_table) + ) + if not module_names: + raise ValueError(f"No module using the symbol table {symbol_table}") + kernel_module_name = module_names[0] + kernel = self._context.modules[kernel_module_name] + return kernel + + def get_inode(self): + try: + kernel = self._get_vol_kernel() + except ValueError: + return 0 + socket_alloc = linux.LinuxUtilities.container_of( + self.vol.offset, "socket_alloc", "socket", kernel + ) + if socket_alloc is None: + return 0 + vfs_inode = socket_alloc.vfs_inode + + return vfs_inode.i_ino + + def get_state(self): + socket_state_idx = self.state + if 0 <= socket_state_idx < len(linux_constants.SOCKET_STATES): + return linux_constants.SOCKET_STATES[socket_state_idx] + + +class sock(objects.StructType): + def get_family(self): + family_idx = self.__sk_common.skc_family + if 0 <= family_idx < len(linux_constants.SOCK_FAMILY): + return linux_constants.SOCK_FAMILY[family_idx] + + def get_type(self): + return linux_constants.SOCK_TYPES.get(self.sk_type, "") + + def get_inode(self): + if not self.sk_socket: + return 0 + return self.sk_socket.get_inode() + + def get_protocol(self): + return None + + def get_state(self): + # Return the generic socket state + if self.has_member("sk"): + return self.sk.sk_socket.get_state() + return self.sk_socket.get_state() + + +class unix_sock(objects.StructType): + def get_name(self): + if not self.addr: + return None + sockaddr_un = self.addr.name.cast("sockaddr_un") + saddr = str(utility.array_to_string(sockaddr_un.sun_path)) + return saddr + + def get_protocol(self): + return None + + def get_state(self): + """Return a string representing the sock state.""" + + # Unix socket states reuse (a subset) of the inet_sock states contants + if self.sk.get_type() == "STREAM": + state_idx = self.sk.__sk_common.skc_state + if 0 <= state_idx < len(linux_constants.TCP_STATES): + return linux_constants.TCP_STATES[state_idx] + else: + # Return the generic socket state + return self.sk.sk_socket.get_state() + + def get_inode(self): + return self.sk.get_inode() + + +class inet_sock(objects.StructType): + def get_family(self): + family_idx = self.sk.__sk_common.skc_family + if 0 <= family_idx < len(linux_constants.SOCK_FAMILY): + return linux_constants.SOCK_FAMILY[family_idx] + + def get_protocol(self): + # If INET6 family and a proto is defined, we use that specific IPv6 protocol. + # Otherwise, we use the standard IP protocol. + protocol = linux_constants.IP_PROTOCOLS.get(self.sk.sk_protocol) + if self.get_family() == "AF_INET6": + protocol = linux_constants.IPV6_PROTOCOLS.get(self.sk.sk_protocol, protocol) + return protocol + + def get_state(self): + """Return a string representing the sock state.""" + + if self.sk.get_type() == "STREAM": + state_idx = self.sk.__sk_common.skc_state + if 0 <= state_idx < len(linux_constants.TCP_STATES): + return linux_constants.TCP_STATES[state_idx] + else: + # Return the generic socket state + return self.sk.sk_socket.get_state() + + def get_src_port(self): + sport_le = getattr(self, "sport", getattr(self, "inet_sport", None)) + if sport_le is not None: + return socket_module.htons(sport_le) + + def get_dst_port(self): + sk_common = self.sk.__sk_common + if hasattr(sk_common, "skc_portpair"): + dport_le = sk_common.skc_portpair & 0xFFFF + elif hasattr(self, "dport"): + dport_le = self.dport + elif hasattr(self, "inet_dport"): + dport_le = self.inet_dport + elif hasattr(sk_common, "skc_dport"): + dport_le = sk_common.skc_dport + else: + return None + return socket_module.htons(dport_le) + + def get_src_addr(self): + sk_common = self.sk.__sk_common + family = sk_common.skc_family + if family == socket_module.AF_INET: + addr_size = 4 + if hasattr(self, "rcv_saddr"): + saddr = self.rcv_saddr + elif hasattr(self, "inet_rcv_saddr"): + saddr = self.inet_rcv_saddr + else: + saddr = sk_common.skc_rcv_saddr + elif family == socket_module.AF_INET6: + addr_size = 16 + saddr = self.pinet6.saddr + else: + return None + parent_layer = self._context.layers[self.vol.layer_name] + try: + addr_bytes = parent_layer.read(saddr.vol.offset, addr_size) + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to read socket src address from {saddr.vol.offset:#x}" + ) + return None + return socket_module.inet_ntop(family, addr_bytes) + + def get_dst_addr(self): + sk_common = self.sk.__sk_common + family = sk_common.skc_family + if family == socket_module.AF_INET: + if hasattr(self, "daddr") and self.daddr: + daddr = self.daddr + elif hasattr(self, "inet_daddr") and self.inet_daddr: + daddr = self.inet_daddr + else: + daddr = sk_common.skc_daddr + addr_size = 4 + elif family == socket_module.AF_INET6: + if hasattr(self.pinet6, "daddr"): + daddr = self.pinet6.daddr + else: + daddr = sk_common.skc_v6_daddr + addr_size = 16 + else: + return None + parent_layer = self._context.layers[self.vol.layer_name] + try: + addr_bytes = parent_layer.read(daddr.vol.offset, addr_size) + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to read socket dst address from {daddr.vol.offset:#x}" + ) + return None + return socket_module.inet_ntop(family, addr_bytes) + + +class netlink_sock(objects.StructType): + def get_protocol(self): + protocol_idx = self.sk.sk_protocol + if 0 <= protocol_idx < len(linux_constants.NETLINK_PROTOCOLS): + return linux_constants.NETLINK_PROTOCOLS[protocol_idx] + + def get_state(self): + # Return the generic socket state + return self.sk.sk_socket.get_state() + + def get_portid(self): + if self.has_member("pid"): + # kernel < 3.7.10 + return self.pid + if self.has_member("portid"): + # kernel >= 3.7.10 + return self.portid + else: + raise AttributeError("Unable to find a source port id") + + def get_dst_portid(self): + if self.has_member("dst_pid"): + # kernel < 3.7.10 + return self.dst_pid + if self.has_member("dst_portid"): + # kernel >= 3.7.10 + return self.dst_portid + else: + raise AttributeError("Unable to find a destination port id") + + +class vsock_sock(objects.StructType): + def get_protocol(self): + # The protocol should always be 0 for vsocks + return None + + def get_state(self): + # Return the generic socket state + return self.sk.sk_socket.get_state() + + +class packet_sock(objects.StructType): + def get_protocol(self): + eth_proto = socket_module.htons(self.num) + if eth_proto == 0: + return None + elif eth_proto in linux_constants.ETH_PROTOCOLS: + return linux_constants.ETH_PROTOCOLS[eth_proto] + else: + return f"0x{eth_proto:x}" + + def get_state(self): + # Return the generic socket state + return self.sk.sk_socket.get_state() + + +class bt_sock(objects.StructType): + def get_protocol(self): + type_idx = self.sk.sk_protocol + if 0 <= type_idx < len(linux_constants.BLUETOOTH_PROTOCOLS): + return linux_constants.BLUETOOTH_PROTOCOLS[type_idx] + + def get_state(self): + state_idx = self.sk.__sk_common.skc_state + if 0 <= state_idx < len(linux_constants.BLUETOOTH_STATES): + return linux_constants.BLUETOOTH_STATES[state_idx] + + +class xdp_sock(objects.StructType): + def get_protocol(self): + # The protocol should always be 0 for xdp_sock + return None + + def get_state(self): + # xdp_sock.state is an enum + return self.state.lookup() diff --git a/volatility3/framework/symbols/linux/net.py b/volatility3/framework/symbols/linux/net.py new file mode 100644 index 000000000..44c70460c --- /dev/null +++ b/volatility3/framework/symbols/linux/net.py @@ -0,0 +1,27 @@ +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.linux.extensions import net +from volatility3.framework.interfaces.configuration import VersionableInterface + + +class NetSymbols(VersionableInterface): + _version = (1, 0, 0) + + @classmethod + def apply(cls, symbol_table: intermed.IntermediateSymbolTable): + # Network + symbol_table.set_type_class("net", net.net) + symbol_table.set_type_class("net_device", net.net_device) + symbol_table.set_type_class("in_device", net.in_device) + symbol_table.set_type_class("in_ifaddr", net.in_ifaddr) + symbol_table.set_type_class("inet6_dev", net.inet6_dev) + symbol_table.set_type_class("inet6_ifaddr", net.inet6_ifaddr) + symbol_table.set_type_class("socket", net.socket) + symbol_table.set_type_class("sock", net.sock) + symbol_table.set_type_class("inet_sock", net.inet_sock) + symbol_table.set_type_class("unix_sock", net.unix_sock) + # Might not exist in older kernels or the current symbols + symbol_table.optional_set_type_class("netlink_sock", net.netlink_sock) + symbol_table.optional_set_type_class("vsock_sock", net.vsock_sock) + symbol_table.optional_set_type_class("packet_sock", net.packet_sock) + symbol_table.optional_set_type_class("bt_sock", net.bt_sock) + symbol_table.optional_set_type_class("xdp_sock", net.xdp_sock) From 2fa0ce8e5ca4d205e15571adb27479a6710c20c2 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 19 Feb 2025 23:51:06 +0000 Subject: [PATCH 1414/2186] Bump required version numbers --- volatility3/framework/constants/_version.py | 2 +- volatility3/framework/plugins/linux/ip.py | 4 ++-- volatility3/framework/plugins/linux/netfilter.py | 4 ++-- volatility3/framework/plugins/linux/sockstat.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 0393a9669..255b8fc3d 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 21 # Number of changes that only add to the interface +VERSION_MINOR = 22 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" diff --git a/volatility3/framework/plugins/linux/ip.py b/volatility3/framework/plugins/linux/ip.py index 36efa0609..0e3f7ff0e 100644 --- a/volatility3/framework/plugins/linux/ip.py +++ b/volatility3/framework/plugins/linux/ip.py @@ -12,9 +12,9 @@ from volatility3.framework.symbols.linux import net class Addr(plugins.PluginInterface): """Lists network interface information for all devices""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 22, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 5e1bf283f..35517157a 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -703,9 +703,9 @@ class NetfilterNetDevImp_4_14_to_latest(AbstractNetfilterNetDev): class Netfilter(interfaces.plugins.PluginInterface): """Lists Netfilter hooks.""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 22, 0) - _version = (1, 1, 0) + _version = (1, 1, 1) _required_linux_utilities_modules_version = (1, 0, 0) _required_linuxutils_version = (2, 1, 0) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index ad74a6ee7..489d2b839 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -22,7 +22,7 @@ vollog = logging.getLogger(__name__) class SockHandlers(interfaces.configuration.VersionableInterface): """Handles several socket families extracting the sockets information.""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 22, 0) _version = (4, 0, 0) _net_version_required = (1, 0, 0) From eb21f89cf34323ce324b6df64ce0b00e6825a0b8 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 19 Feb 2025 23:54:15 +0000 Subject: [PATCH 1415/2186] Linux: Fix ruff errors --- volatility3/framework/plugins/linux/netfilter.py | 12 +++++++----- volatility3/framework/plugins/linux/sockstat.py | 4 ++-- .../framework/symbols/linux/extensions/net.py | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 35517157a..839843341 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -204,9 +204,11 @@ class AbstractNetfilter(ABC): module_name [str]: Linux kernel module name hooked [bool]: "True" if the network stack has been hijacked """ - for netns, net in self.get_net_namespaces(): + for netns, network in self.get_net_namespaces(): for proto_idx, proto_name, hook_idx, hook_name in self._proto_hook_loop(): - hooks_container = self.get_hooks_container(net, proto_name, hook_name) + hooks_container = self.get_hooks_container( + network, proto_name, hook_name + ) for hook_container in hooks_container: for hook_ops in self.get_hook_ops( @@ -311,9 +313,9 @@ class AbstractNetfilter(ABC): """ nethead = self.vmlinux.object_from_symbol("net_namespace_list") symbol_net_name = self.get_symbol_fullname("net") - for net in nethead.to_list(symbol_net_name, "list"): - net_ns_id = net.ns.inum - yield net_ns_id, net + for network in nethead.to_list(symbol_net_name, "list"): + net_ns_id = network.ns.inum + yield net_ns_id, network def get_hooks_container(self, net, proto_name, hook_name): """Returns the data structure used in a specific kernel implementation to store diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 489d2b839..771e43412 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -73,14 +73,14 @@ class SockHandlers(interfaces.configuration.VersionableInterface): netdevices_map = {} nethead = self._vmlinux.object_from_symbol(symbol_name="net_namespace_list") net_symname = self._vmlinux.symbol_table_name + constants.BANG + "net" - for net in nethead.to_list(net_symname, "list"): + for network in nethead.to_list(net_symname, "list"): net_device_symname = ( self._vmlinux.symbol_table_name + constants.BANG + "net_device" ) for net_dev in net.dev_base_head.to_list(net_device_symname, "dev_list"): if ( isinstance(netns_id, NotAvailableValue) - or net.get_inode() != netns_id + or network.get_inode() != netns_id ): continue dev_name = utility.array_to_string(net_dev.name) diff --git a/volatility3/framework/symbols/linux/extensions/net.py b/volatility3/framework/symbols/linux/extensions/net.py index a5836062e..da8ad3713 100644 --- a/volatility3/framework/symbols/linux/extensions/net.py +++ b/volatility3/framework/symbols/linux/extensions/net.py @@ -1,5 +1,5 @@ import logging -from typing import Dict, List +from typing import Dict, List, Optional from volatility3.framework import objects, exceptions, renderers, interfaces, constants from volatility3.framework.objects import utility From bfd210236f5c2c3bcbc42194427c56a63ca608bf Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Feb 2025 00:00:53 +0000 Subject: [PATCH 1416/2186] Linux: Fix up too-net typing syntax --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- volatility3/framework/symbols/linux/extensions/net.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 901a82e69..67f6595b1 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -2404,7 +2404,7 @@ class inode(objects.StructType): def _time_member_to_datetime( self, member - ) -> datetime.datetime | interfaces.renderers.BaseAbsentValue: + ) -> Union[datetime.datetime, interfaces.renderers.BaseAbsentValue]: if self.has_member(f"{member}_sec") and self.has_member(f"{member}_nsec"): # kernels >= 6.11 it's i_*_sec -> time64_t and i_*_nsec -> u32 # Ref Linux commit 3aa63a569c64e708df547a8913c84e64a06e7853 diff --git a/volatility3/framework/symbols/linux/extensions/net.py b/volatility3/framework/symbols/linux/extensions/net.py index da8ad3713..ea9d9b100 100644 --- a/volatility3/framework/symbols/linux/extensions/net.py +++ b/volatility3/framework/symbols/linux/extensions/net.py @@ -1,5 +1,5 @@ import logging -from typing import Dict, List, Optional +from typing import Dict, List, Optional, Union from volatility3.framework import objects, exceptions, renderers, interfaces, constants from volatility3.framework.objects import utility @@ -214,7 +214,7 @@ class net_device(objects.StructType): return net_ns_id - def get_operational_state(self) -> str | interfaces.renderers.BaseAbsentValue: + def get_operational_state(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: """Return the netwok device oprational state (RFC 2863) string Returns: From 1458b7dfc7f4bf29612e2361b1a1a3982dff8413 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Feb 2025 00:17:48 +0000 Subject: [PATCH 1417/2186] Linux: Add vast quantities of missing type information --- .../framework/symbols/linux/extensions/net.py | 103 ++++++++++-------- 1 file changed, 58 insertions(+), 45 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/net.py b/volatility3/framework/symbols/linux/extensions/net.py index ea9d9b100..36db827b0 100644 --- a/volatility3/framework/symbols/linux/extensions/net.py +++ b/volatility3/framework/symbols/linux/extensions/net.py @@ -1,5 +1,5 @@ import logging -from typing import Dict, List, Optional, Union +from typing import Dict, Generator, List, Optional, Union from volatility3.framework import objects, exceptions, renderers, interfaces, constants from volatility3.framework.objects import utility @@ -14,7 +14,7 @@ vollog = logging.getLogger(__name__) class net(objects.StructType): - def get_inode(self): + def get_inode(self) -> int: """Get the namespace id for this network namespace. Raises: @@ -44,7 +44,7 @@ class net_device(objects.StructType): """ return utility.array_to_string(self.name) - def _format_as_mac_address(self, hwaddr): + def _format_as_mac_address(self, hwaddr) -> str: return ":".join([f"{x:02x}" for x in hwaddr[: self.addr_len]]) def get_mac_address(self) -> Optional[str]: @@ -71,7 +71,7 @@ class net_device(objects.StructType): return self._format_as_mac_address(hwaddr) - def _get_flag_choices(self) -> Dict: + def _get_flag_choices(self) -> Dict[str, int]: """Return the net_device flags as a list of strings""" vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) try: @@ -84,7 +84,9 @@ class net_device(objects.StructType): return choices - def _get_net_device_flag_value(self, name): + def _get_net_device_flag_value( + self, name + ) -> Union[int, interfaces.renderers.BaseAbsentValue]: """Return the net_device flag value based on the flag name""" return self._get_flag_choices().get(name, renderers.UnparsableValue()) @@ -189,7 +191,7 @@ class net_device(objects.StructType): return sorted(net_device_flags) @property - def promisc(self): + def promisc(self) -> bool: """Return if this network interface is in promiscuous mode. Returns: @@ -244,7 +246,9 @@ class net_device(objects.StructType): class in_device(objects.StructType): - def get_addresses(self): + def get_addresses( + self, + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Yield the IPv4 ifaddr addresses Yields: @@ -257,7 +261,7 @@ class in_device(objects.StructType): class inet6_dev(objects.StructType): - def get_addresses(self): + def get_addresses(self) -> Generator[interfaces.objects.ObjectInterface]: """Yield the IPv6 ifaddr addresses Yields: @@ -298,7 +302,7 @@ class in_ifaddr(objects.StructType): "RT_SCOPE_SITE": "site", } - def get_scope_type(self): + def get_scope_type(self) -> str: """Get the scope type for this IPv4 address Returns: @@ -315,7 +319,7 @@ class in_ifaddr(objects.StructType): return self._rtnl_rtscope_tab.get(rt_scope, "unknown") - def get_address(self): + def get_address(self) -> str: """Get an string with the IPv4 address Returns: @@ -323,7 +327,7 @@ class in_ifaddr(objects.StructType): """ return conversion.convert_ipv4(self.ifa_address) - def get_prefix_len(self): + def get_prefix_len(self) -> int: """Get the IPv4 address prefix len Returns: @@ -333,7 +337,7 @@ class in_ifaddr(objects.StructType): class inet6_ifaddr(objects.StructType): - def get_scope_type(self): + def get_scope_type(self) -> str: """Get the scope type for this IPv6 address Returns: @@ -348,7 +352,7 @@ class inet6_ifaddr(objects.StructType): else: return "global" - def get_address(self): + def get_address(self) -> str: """Get an string with the IPv6 address Returns: @@ -356,7 +360,7 @@ class inet6_ifaddr(objects.StructType): """ return conversion.convert_ipv6(self.addr.in6_u.u6_addr32) - def get_prefix_len(self): + def get_prefix_len(self) -> int: """Get the IPv6 address prefix len Returns: @@ -366,7 +370,7 @@ class inet6_ifaddr(objects.StructType): class socket(objects.StructType): - def _get_vol_kernel(self): + def _get_vol_kernel(self) -> interfaces.context.ModuleInterface: symbol_table_arr = self.vol.type_name.split("!", 1) symbol_table = symbol_table_arr[0] if len(symbol_table_arr) == 2 else None @@ -382,7 +386,7 @@ class socket(objects.StructType): kernel = self._context.modules[kernel_module_name] return kernel - def get_inode(self): + def get_inode(self) -> int: try: kernel = self._get_vol_kernel() except ValueError: @@ -396,30 +400,32 @@ class socket(objects.StructType): return vfs_inode.i_ino - def get_state(self): + def get_state(self) -> str: socket_state_idx = self.state if 0 <= socket_state_idx < len(linux_constants.SOCKET_STATES): return linux_constants.SOCKET_STATES[socket_state_idx] + return "Unknown socket state" class sock(objects.StructType): - def get_family(self): + def get_family(self) -> str: family_idx = self.__sk_common.skc_family if 0 <= family_idx < len(linux_constants.SOCK_FAMILY): return linux_constants.SOCK_FAMILY[family_idx] + return "Unknown socket family" - def get_type(self): + def get_type(self) -> str: return linux_constants.SOCK_TYPES.get(self.sk_type, "") - def get_inode(self): + def get_inode(self) -> int: if not self.sk_socket: return 0 return self.sk_socket.get_inode() - def get_protocol(self): + def get_protocol(self) -> Optional[str]: return None - def get_state(self): + def get_state(self) -> str: # Return the generic socket state if self.has_member("sk"): return self.sk.sk_socket.get_state() @@ -427,17 +433,17 @@ class sock(objects.StructType): class unix_sock(objects.StructType): - def get_name(self): + def get_name(self) -> Optional[str]: if not self.addr: return None sockaddr_un = self.addr.name.cast("sockaddr_un") saddr = str(utility.array_to_string(sockaddr_un.sun_path)) return saddr - def get_protocol(self): + def get_protocol(self) -> Optional[str]: return None - def get_state(self): + def get_state(self) -> str: """Return a string representing the sock state.""" # Unix socket states reuse (a subset) of the inet_sock states contants @@ -445,21 +451,23 @@ class unix_sock(objects.StructType): state_idx = self.sk.__sk_common.skc_state if 0 <= state_idx < len(linux_constants.TCP_STATES): return linux_constants.TCP_STATES[state_idx] - else: - # Return the generic socket state - return self.sk.sk_socket.get_state() + else: + return "Unknown unix_sock stream state" + # Return the generic socket state + return self.sk.sk_socket.get_state() - def get_inode(self): + def get_inode(self) -> int: return self.sk.get_inode() class inet_sock(objects.StructType): - def get_family(self): + def get_family(self) -> str: family_idx = self.sk.__sk_common.skc_family if 0 <= family_idx < len(linux_constants.SOCK_FAMILY): return linux_constants.SOCK_FAMILY[family_idx] + return "Unknown inet_sock family" - def get_protocol(self): + def get_protocol(self) -> Optional[str]: # If INET6 family and a proto is defined, we use that specific IPv6 protocol. # Otherwise, we use the standard IP protocol. protocol = linux_constants.IP_PROTOCOLS.get(self.sk.sk_protocol) @@ -467,23 +475,25 @@ class inet_sock(objects.StructType): protocol = linux_constants.IPV6_PROTOCOLS.get(self.sk.sk_protocol, protocol) return protocol - def get_state(self): + def get_state(self) -> str: """Return a string representing the sock state.""" if self.sk.get_type() == "STREAM": state_idx = self.sk.__sk_common.skc_state if 0 <= state_idx < len(linux_constants.TCP_STATES): return linux_constants.TCP_STATES[state_idx] - else: - # Return the generic socket state - return self.sk.sk_socket.get_state() + else: + return "Unknown inet_sock stream state" + # Return the generic socket state + return self.sk.sk_socket.get_state() - def get_src_port(self): + def get_src_port(self) -> Optional[int]: sport_le = getattr(self, "sport", getattr(self, "inet_sport", None)) if sport_le is not None: return socket_module.htons(sport_le) + return None - def get_dst_port(self): + def get_dst_port(self) -> Optional[int]: sk_common = self.sk.__sk_common if hasattr(sk_common, "skc_portpair"): dport_le = sk_common.skc_portpair & 0xFFFF @@ -497,7 +507,7 @@ class inet_sock(objects.StructType): return None return socket_module.htons(dport_le) - def get_src_addr(self): + def get_src_addr(self) -> Optional[str]: sk_common = self.sk.__sk_common family = sk_common.skc_family if family == socket_module.AF_INET: @@ -523,7 +533,7 @@ class inet_sock(objects.StructType): return None return socket_module.inet_ntop(family, addr_bytes) - def get_dst_addr(self): + def get_dst_addr(self) -> Optional[str]: sk_common = self.sk.__sk_common family = sk_common.skc_family if family == socket_module.AF_INET: @@ -554,16 +564,17 @@ class inet_sock(objects.StructType): class netlink_sock(objects.StructType): - def get_protocol(self): + def get_protocol(self) -> str: protocol_idx = self.sk.sk_protocol if 0 <= protocol_idx < len(linux_constants.NETLINK_PROTOCOLS): return linux_constants.NETLINK_PROTOCOLS[protocol_idx] + return "Unknown netlink_sock protocol" def get_state(self): # Return the generic socket state return self.sk.sk_socket.get_state() - def get_portid(self): + def get_portid(self) -> int: if self.has_member("pid"): # kernel < 3.7.10 return self.pid @@ -573,7 +584,7 @@ class netlink_sock(objects.StructType): else: raise AttributeError("Unable to find a source port id") - def get_dst_portid(self): + def get_dst_portid(self) -> int: if self.has_member("dst_pid"): # kernel < 3.7.10 return self.dst_pid @@ -595,7 +606,7 @@ class vsock_sock(objects.StructType): class packet_sock(objects.StructType): - def get_protocol(self): + def get_protocol(self) -> Optional[str]: eth_proto = socket_module.htons(self.num) if eth_proto == 0: return None @@ -610,15 +621,17 @@ class packet_sock(objects.StructType): class bt_sock(objects.StructType): - def get_protocol(self): + def get_protocol(self) -> Optional[str]: type_idx = self.sk.sk_protocol if 0 <= type_idx < len(linux_constants.BLUETOOTH_PROTOCOLS): return linux_constants.BLUETOOTH_PROTOCOLS[type_idx] + return None - def get_state(self): + def get_state(self) -> Optional[str]: state_idx = self.sk.__sk_common.skc_state if 0 <= state_idx < len(linux_constants.BLUETOOTH_STATES): return linux_constants.BLUETOOTH_STATES[state_idx] + return None class xdp_sock(objects.StructType): From 056d7813a7ce01e19f388bd75608f788c4115231 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Feb 2025 00:25:31 +0000 Subject: [PATCH 1418/2186] Linux: fix up typing typo --- volatility3/framework/symbols/linux/extensions/net.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/net.py b/volatility3/framework/symbols/linux/extensions/net.py index 36db827b0..ed739894d 100644 --- a/volatility3/framework/symbols/linux/extensions/net.py +++ b/volatility3/framework/symbols/linux/extensions/net.py @@ -261,7 +261,9 @@ class in_device(objects.StructType): class inet6_dev(objects.StructType): - def get_addresses(self) -> Generator[interfaces.objects.ObjectInterface]: + def get_addresses( + self, + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Yield the IPv6 ifaddr addresses Yields: From 815d695aaba37e3f7a47fe55d7782431d78b9e4b Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Feb 2025 00:30:48 +0000 Subject: [PATCH 1419/2186] Linux: Leave the existing symbol table the same --- .../framework/symbols/linux/__init__.py | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 8162689db..ae8c8de31 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -64,14 +64,16 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): # kernels < 4.18. Reuses timespec64 obj extension, since both has the same members self.optional_set_type_class("timespec", extensions.timespec64) + # Mount + self.set_type_class("vfsmount", extensions.vfsmount) + # Might not exist in older kernels or the current symbols + self.optional_set_type_class("mount", extensions.mount) + self.optional_set_type_class("mnt_namespace", extensions.mnt_namespace) + self.optional_set_type_class("rb_root", extensions.rb_root) + # Network # FIXME: Deprecate all of this once the framework hits version 3 self.set_type_class("net", extensions.net.net) - self.set_type_class("net_device", extensions.net.net_device) - self.set_type_class("in_device", extensions.net.in_device) - self.set_type_class("in_ifaddr", extensions.net.in_ifaddr) - self.set_type_class("inet6_dev", extensions.net.inet6_dev) - self.set_type_class("inet6_ifaddr", extensions.net.inet6_ifaddr) self.set_type_class("socket", extensions.net.socket) self.set_type_class("sock", extensions.net.sock) self.set_type_class("inet_sock", extensions.net.inet_sock) @@ -83,13 +85,6 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.optional_set_type_class("bt_sock", extensions.net.bt_sock) self.optional_set_type_class("xdp_sock", extensions.net.xdp_sock) - # Mount - self.set_type_class("vfsmount", extensions.vfsmount) - # Might not exist in older kernels or the current symbols - self.optional_set_type_class("mount", extensions.mount) - self.optional_set_type_class("mnt_namespace", extensions.mnt_namespace) - self.optional_set_type_class("rb_root", extensions.rb_root) - # Only found in 6.1+ kernels self.optional_set_type_class("maple_tree", extensions.maple_tree) From 2ff7dea5125b16dedcaf9ac63752850f35d0fd58 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Feb 2025 01:07:10 +0000 Subject: [PATCH 1420/2186] Linux: Remember to apply the symbols to addr as well as link --- volatility3/framework/plugins/linux/ip.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/ip.py b/volatility3/framework/plugins/linux/ip.py index 0e3f7ff0e..460774daf 100644 --- a/volatility3/framework/plugins/linux/ip.py +++ b/volatility3/framework/plugins/linux/ip.py @@ -7,6 +7,7 @@ from volatility3.framework import interfaces, renderers, constants from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.symbols.linux import net +from volatility3.framework.symbols.linux.extensions import net as net_extensions class Addr(plugins.PluginInterface): @@ -29,7 +30,7 @@ class Addr(plugins.PluginInterface): ), ] - def _gather_net_dev_info(self, net_dev): + def _gather_net_dev_info(self, net_dev: net_extensions.net_device): mac_addr = net_dev.get_mac_address() promisc = net_dev.promisc operational_state = net_dev.get_operational_state() @@ -61,6 +62,7 @@ class Addr(plugins.PluginInterface): net_type_symname = vmlinux.symbol_table_name + constants.BANG + "net" net_device_symname = vmlinux.symbol_table_name + constants.BANG + "net_device" + net.NetSymbols.apply(self.context.symbol_space[vmlinux.symbol_table_name]) # 'net_namespace_list' exists from kernels >= 2.6.24 net_namespace_list = vmlinux.object_from_symbol("net_namespace_list") From 17ea6e9fd0d54d534344c7e8c9e1e938b861132a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Feb 2025 09:20:57 +0000 Subject: [PATCH 1421/2186] Linux: Fix altered SockHandlers signature --- volatility3/framework/plugins/linux/sockstat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 771e43412..d11d2ce66 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -556,7 +556,7 @@ class Sockstat(plugins.PluginInterface): try: sock_type = sock.get_type() family = sock.get_family() - sock_handler = SockHandlers(vmlinux, task) + sock_handler = SockHandlers(context, vmlinux.name, task) sock_fields = sock_handler.process_sock(sock) except exceptions.InvalidAddressException: continue From 70a9171fd4ffdf55cd96b9721484b9443a81665a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Feb 2025 09:24:38 +0000 Subject: [PATCH 1422/2186] Windows: Remove pid filtering option from threads --- volatility3/framework/plugins/windows/threads.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index 84daa8595..f620eebef 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -31,12 +31,6 @@ class Threads(thrdscan.ThrdScan): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.ListRequirement( - name="pid", - description="Filter on specific process IDs", - element_type=int, - optional=True, - ), requirements.PluginRequirement( name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 1, 0) ), @@ -74,12 +68,10 @@ class Threads(thrdscan.ThrdScan): layer_name = module.layer_name symbol_table_name = module.symbol_table_name - filter_func = pslist.PsList.create_pid_filter(context.config.get("pid", None)) - for proc in pslist.PsList.list_processes( context=context, layer_name=layer_name, symbol_table=symbol_table_name, - filter_func=filter_func, + filter_func=None, ): yield from cls.list_threads(module, proc) From 6c019776ac6d23d9ad9a1ba7128e76721f649637 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Feb 2025 09:39:45 +0000 Subject: [PATCH 1423/2186] Windows: Remove non-functional threads filtering Filtering can be carried out through --filter commands on the CLI --- volatility3/framework/plugins/windows/debugregisters.py | 5 ++++- volatility3/framework/plugins/windows/threads.py | 7 ++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index 57dd1822c..d4375685a 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -24,7 +24,7 @@ vollog = logging.getLogger(__name__) class DebugRegisters(interfaces.plugins.PluginInterface): # version 2.6.0 adds support for scanning for 'Ethread' structures by pool tags _required_framework_version = (2, 6, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List: @@ -37,6 +37,9 @@ class DebugRegisters(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="threads", component=threads.Threads, version=(1, 0, 0) + ), requirements.VersionRequirement( name="pe_symbols", component=pe_symbols.PESymbols, version=(1, 0, 0) ), diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index f620eebef..f962a3fed 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -16,7 +16,7 @@ class Threads(thrdscan.ThrdScan): """Lists process threads""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -59,9 +59,7 @@ class Threads(thrdscan.ThrdScan): @classmethod def list_process_threads( - cls, - context: interfaces.context.ContextInterface, - module_name: str, + cls, context: interfaces.context.ContextInterface, module_name: str ) -> Iterable[interfaces.objects.ObjectInterface]: """Runs through all processes and lists threads for each process""" module = context.modules[module_name] @@ -72,6 +70,5 @@ class Threads(thrdscan.ThrdScan): context=context, layer_name=layer_name, symbol_table=symbol_table_name, - filter_func=None, ): yield from cls.list_threads(module, proc) From ce490298bfbe6438eb4878c96b0747cfb98a03b0 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 20 Feb 2025 09:51:43 +0000 Subject: [PATCH 1424/2186] Linux: Fix up typo unchanged net instance in sockscan --- volatility3/framework/plugins/linux/sockstat.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index d11d2ce66..4f5cc7521 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -77,7 +77,9 @@ class SockHandlers(interfaces.configuration.VersionableInterface): net_device_symname = ( self._vmlinux.symbol_table_name + constants.BANG + "net_device" ) - for net_dev in net.dev_base_head.to_list(net_device_symname, "dev_list"): + for net_dev in network.dev_base_head.to_list( + net_device_symname, "dev_list" + ): if ( isinstance(netns_id, NotAvailableValue) or network.get_inode() != netns_id From 944c841278a287decb1940983d62686970620326 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 23 Feb 2025 15:44:38 +0000 Subject: [PATCH 1425/2186] Linux: Rename net extensions to allow for net variable name --- volatility3/framework/plugins/linux/ip.py | 10 +++---- .../framework/plugins/linux/netfilter.py | 20 +++++++------- .../framework/plugins/linux/sockstat.py | 6 ++--- .../framework/symbols/linux/__init__.py | 20 +++++++------- .../linux/extensions/{net.py => network.py} | 0 volatility3/framework/symbols/linux/net.py | 27 ------------------- .../framework/symbols/linux/network.py | 27 +++++++++++++++++++ 7 files changed, 54 insertions(+), 56 deletions(-) rename volatility3/framework/symbols/linux/extensions/{net.py => network.py} (100%) delete mode 100644 volatility3/framework/symbols/linux/net.py create mode 100644 volatility3/framework/symbols/linux/network.py diff --git a/volatility3/framework/plugins/linux/ip.py b/volatility3/framework/plugins/linux/ip.py index 460774daf..3a189d91b 100644 --- a/volatility3/framework/plugins/linux/ip.py +++ b/volatility3/framework/plugins/linux/ip.py @@ -6,8 +6,8 @@ from typing import List from volatility3.framework import interfaces, renderers, constants from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins -from volatility3.framework.symbols.linux import net -from volatility3.framework.symbols.linux.extensions import net as net_extensions +from volatility3.framework.symbols.linux import network +from volatility3.framework.symbols.linux.extensions import network as net_extensions class Addr(plugins.PluginInterface): @@ -26,7 +26,7 @@ class Addr(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="Net", component=net.NetSymbols, version=(1, 0, 0) + name="Net", component=network.NetSymbols, version=(1, 0, 0) ), ] @@ -62,7 +62,7 @@ class Addr(plugins.PluginInterface): net_type_symname = vmlinux.symbol_table_name + constants.BANG + "net" net_device_symname = vmlinux.symbol_table_name + constants.BANG + "net_device" - net.NetSymbols.apply(self.context.symbol_space[vmlinux.symbol_table_name]) + network.NetSymbols.apply(self.context.symbol_space[vmlinux.symbol_table_name]) # 'net_namespace_list' exists from kernels >= 2.6.24 net_namespace_list = vmlinux.object_from_symbol("net_namespace_list") @@ -102,7 +102,7 @@ class Link(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="Net", component=net.NetSymbols, version=(1, 0, 0) + name="Net", component=network.NetSymbols, version=(1, 0, 0) ), ] diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 839843341..c12c99d1e 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -17,7 +17,7 @@ from volatility3.framework import ( from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements from volatility3.framework.symbols import linux -from volatility3.framework.symbols.linux import net +from volatility3.framework.symbols.linux import network from volatility3.plugins.linux import lsmod vollog = logging.getLogger(__name__) @@ -101,7 +101,7 @@ class AbstractNetfilter(ABC): ) linux_net_required_version = Netfilter._required_linuxnet_version - linux_net_current_version = net.NetSymbols.version + linux_net_current_version = network.NetSymbols.version if not requirements.VersionRequirement.matches_required( linux_net_required_version, linux_net_current_version ): @@ -124,7 +124,7 @@ class AbstractNetfilter(ABC): ) symbol_table = self._context.symbol_space[self.vmlinux.symbol_table_name] - net.NetSymbols.apply(symbol_table) + network.NetSymbols.apply(symbol_table) modules = lsmod.Lsmod.list_modules(context, kernel_module_name) self.handlers = linux.LinuxUtilities.generate_kernel_handler_info( @@ -204,11 +204,9 @@ class AbstractNetfilter(ABC): module_name [str]: Linux kernel module name hooked [bool]: "True" if the network stack has been hijacked """ - for netns, network in self.get_net_namespaces(): + for netns, net in self.get_net_namespaces(): for proto_idx, proto_name, hook_idx, hook_name in self._proto_hook_loop(): - hooks_container = self.get_hooks_container( - network, proto_name, hook_name - ) + hooks_container = self.get_hooks_container(net, proto_name, hook_name) for hook_container in hooks_container: for hook_ops in self.get_hook_ops( @@ -313,9 +311,9 @@ class AbstractNetfilter(ABC): """ nethead = self.vmlinux.object_from_symbol("net_namespace_list") symbol_net_name = self.get_symbol_fullname("net") - for network in nethead.to_list(symbol_net_name, "list"): - net_ns_id = network.ns.inum - yield net_ns_id, network + for net in nethead.to_list(symbol_net_name, "list"): + net_ns_id = net.ns.inum + yield net_ns_id, net def get_hooks_container(self, net, proto_name, hook_name): """Returns the data structure used in a specific kernel implementation to store @@ -737,7 +735,7 @@ class Netfilter(interfaces.plugins.PluginInterface): ), requirements.VersionRequirement( name="linuxnet", - component=net.NetSymbols, + component=network.NetSymbols, version=cls._required_linuxnet_version, ), ] diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 4f5cc7521..2c0c566e4 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -13,7 +13,7 @@ from volatility3.framework.objects import utility from volatility3.framework.symbols import linux from volatility3.plugins.linux import lsof from volatility3.plugins.linux import pslist -from volatility3.framework.symbols.linux import net +from volatility3.framework.symbols.linux import network vollog = logging.getLogger(__name__) @@ -475,7 +475,7 @@ class Sockstat(plugins.PluginInterface): name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) ), requirements.VersionRequirement( - name="linux_net", component=net.NetSymbols, version=(1, 0, 0) + name="linux_net", component=network.NetSymbols, version=(1, 0, 0) ), requirements.BooleanRequirement( name="unix", @@ -618,7 +618,7 @@ class Sockstat(plugins.PluginInterface): """ vmlinux = self.context.modules[kernel_module_name] symbol_table = self.context.symbol_space[vmlinux.symbol_table_name] - net.NetSymbols.apply(symbol_table) + network.NetSymbols.apply(symbol_table) filter_func = pslist.PsList.create_pid_filter(pids) socket_generator = self.list_sockets( diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index ae8c8de31..5f6a66860 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -73,17 +73,17 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): # Network # FIXME: Deprecate all of this once the framework hits version 3 - self.set_type_class("net", extensions.net.net) - self.set_type_class("socket", extensions.net.socket) - self.set_type_class("sock", extensions.net.sock) - self.set_type_class("inet_sock", extensions.net.inet_sock) - self.set_type_class("unix_sock", extensions.net.unix_sock) + self.set_type_class("net", extensions.network.net) + self.set_type_class("socket", extensions.network.socket) + self.set_type_class("sock", extensions.network.sock) + self.set_type_class("inet_sock", extensions.network.inet_sock) + self.set_type_class("unix_sock", extensions.network.unix_sock) # Might not exist in older kernels or the current symbols - self.optional_set_type_class("netlink_sock", extensions.net.netlink_sock) - self.optional_set_type_class("vsock_sock", extensions.net.vsock_sock) - self.optional_set_type_class("packet_sock", extensions.net.packet_sock) - self.optional_set_type_class("bt_sock", extensions.net.bt_sock) - self.optional_set_type_class("xdp_sock", extensions.net.xdp_sock) + self.optional_set_type_class("netlink_sock", extensions.network.netlink_sock) + self.optional_set_type_class("vsock_sock", extensions.network.vsock_sock) + self.optional_set_type_class("packet_sock", extensions.network.packet_sock) + self.optional_set_type_class("bt_sock", extensions.network.bt_sock) + self.optional_set_type_class("xdp_sock", extensions.network.xdp_sock) # Only found in 6.1+ kernels self.optional_set_type_class("maple_tree", extensions.maple_tree) diff --git a/volatility3/framework/symbols/linux/extensions/net.py b/volatility3/framework/symbols/linux/extensions/network.py similarity index 100% rename from volatility3/framework/symbols/linux/extensions/net.py rename to volatility3/framework/symbols/linux/extensions/network.py diff --git a/volatility3/framework/symbols/linux/net.py b/volatility3/framework/symbols/linux/net.py deleted file mode 100644 index 44c70460c..000000000 --- a/volatility3/framework/symbols/linux/net.py +++ /dev/null @@ -1,27 +0,0 @@ -from volatility3.framework.symbols import intermed -from volatility3.framework.symbols.linux.extensions import net -from volatility3.framework.interfaces.configuration import VersionableInterface - - -class NetSymbols(VersionableInterface): - _version = (1, 0, 0) - - @classmethod - def apply(cls, symbol_table: intermed.IntermediateSymbolTable): - # Network - symbol_table.set_type_class("net", net.net) - symbol_table.set_type_class("net_device", net.net_device) - symbol_table.set_type_class("in_device", net.in_device) - symbol_table.set_type_class("in_ifaddr", net.in_ifaddr) - symbol_table.set_type_class("inet6_dev", net.inet6_dev) - symbol_table.set_type_class("inet6_ifaddr", net.inet6_ifaddr) - symbol_table.set_type_class("socket", net.socket) - symbol_table.set_type_class("sock", net.sock) - symbol_table.set_type_class("inet_sock", net.inet_sock) - symbol_table.set_type_class("unix_sock", net.unix_sock) - # Might not exist in older kernels or the current symbols - symbol_table.optional_set_type_class("netlink_sock", net.netlink_sock) - symbol_table.optional_set_type_class("vsock_sock", net.vsock_sock) - symbol_table.optional_set_type_class("packet_sock", net.packet_sock) - symbol_table.optional_set_type_class("bt_sock", net.bt_sock) - symbol_table.optional_set_type_class("xdp_sock", net.xdp_sock) diff --git a/volatility3/framework/symbols/linux/network.py b/volatility3/framework/symbols/linux/network.py new file mode 100644 index 000000000..c88e6fc69 --- /dev/null +++ b/volatility3/framework/symbols/linux/network.py @@ -0,0 +1,27 @@ +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.linux.extensions import network +from volatility3.framework.interfaces.configuration import VersionableInterface + + +class NetSymbols(VersionableInterface): + _version = (1, 0, 0) + + @classmethod + def apply(cls, symbol_table: intermed.IntermediateSymbolTable): + # Network + symbol_table.set_type_class("net", network.net) + symbol_table.set_type_class("net_device", network.net_device) + symbol_table.set_type_class("in_device", network.in_device) + symbol_table.set_type_class("in_ifaddr", network.in_ifaddr) + symbol_table.set_type_class("inet6_dev", network.inet6_dev) + symbol_table.set_type_class("inet6_ifaddr", network.inet6_ifaddr) + symbol_table.set_type_class("socket", network.socket) + symbol_table.set_type_class("sock", network.sock) + symbol_table.set_type_class("inet_sock", network.inet_sock) + symbol_table.set_type_class("unix_sock", network.unix_sock) + # Might not exist in older kernels or the current symbols + symbol_table.optional_set_type_class("netlink_sock", network.netlink_sock) + symbol_table.optional_set_type_class("vsock_sock", network.vsock_sock) + symbol_table.optional_set_type_class("packet_sock", network.packet_sock) + symbol_table.optional_set_type_class("bt_sock", network.bt_sock) + symbol_table.optional_set_type_class("xdp_sock", network.xdp_sock) From 6d254fa961721ec15600304e2265034eb5569e30 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 23 Feb 2025 15:48:05 +0000 Subject: [PATCH 1426/2186] Linux: Correct partial renaming attempt --- volatility3/framework/plugins/linux/ip.py | 2 +- volatility3/framework/plugins/linux/sockstat.py | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/ip.py b/volatility3/framework/plugins/linux/ip.py index 3a189d91b..8b42ccdbf 100644 --- a/volatility3/framework/plugins/linux/ip.py +++ b/volatility3/framework/plugins/linux/ip.py @@ -132,7 +132,7 @@ class Link(plugins.PluginInterface): def _generator(self): vmlinux = self.context.modules[self.config["kernel"]] - net.NetSymbols.apply(self.context.symbol_space[vmlinux.symbol_table_name]) + network.NetSymbols.apply(self.context.symbol_space[vmlinux.symbol_table_name]) net_type_symname = vmlinux.symbol_table_name + constants.BANG + "net" net_device_symname = vmlinux.symbol_table_name + constants.BANG + "net_device" diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index 2c0c566e4..c6487a934 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -39,7 +39,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): f"Version mismatch of volatility library NetSymbols version ({net.NetSymbols.version}) and needed version ({self._net_version_required})" ) - net.NetSymbols.apply(self._symbol_table) + network.NetSymbols.apply(self._symbol_table) try: netns_id = task.nsproxy.net_ns.get_inode() @@ -73,16 +73,14 @@ class SockHandlers(interfaces.configuration.VersionableInterface): netdevices_map = {} nethead = self._vmlinux.object_from_symbol(symbol_name="net_namespace_list") net_symname = self._vmlinux.symbol_table_name + constants.BANG + "net" - for network in nethead.to_list(net_symname, "list"): + for net in nethead.to_list(net_symname, "list"): net_device_symname = ( self._vmlinux.symbol_table_name + constants.BANG + "net_device" ) - for net_dev in network.dev_base_head.to_list( - net_device_symname, "dev_list" - ): + for net_dev in net.dev_base_head.to_list(net_device_symname, "dev_list"): if ( isinstance(netns_id, NotAvailableValue) - or network.get_inode() != netns_id + or net.get_inode() != netns_id ): continue dev_name = utility.array_to_string(net_dev.name) From 5fabd7a04bfefcb961c7aa7c9235dc081b9d7b28 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 23 Feb 2025 15:49:18 +0000 Subject: [PATCH 1427/2186] Linux: Correct partial renaming attempt - take 2 --- volatility3/framework/plugins/linux/sockstat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index c6487a934..adbb5d6ea 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -33,10 +33,10 @@ class SockHandlers(interfaces.configuration.VersionableInterface): self._task = task if not requirements.VersionRequirement.matches_required( - net.NetSymbols.version, self._net_version_required + network.NetSymbols.version, self._net_version_required ): raise ValueError( - f"Version mismatch of volatility library NetSymbols version ({net.NetSymbols.version}) and needed version ({self._net_version_required})" + f"Version mismatch of volatility library NetSymbols version ({network.NetSymbols.version}) and needed version ({self._net_version_required})" ) network.NetSymbols.apply(self._symbol_table) From e9a6f3214cd54aba2dfe697bef6db74ea4af1fec Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 31 Jan 2025 09:58:31 +0000 Subject: [PATCH 1428/2186] Add comment for where to apply the fix --- volatility3/framework/layers/resources.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/framework/layers/resources.py b/volatility3/framework/layers/resources.py index 236d256f1..bf78f1c92 100644 --- a/volatility3/framework/layers/resources.py +++ b/volatility3/framework/layers/resources.py @@ -204,6 +204,8 @@ class ResourceAccessor: # open it in read mode only and allow breakages to happen if they wanted to write curfile = open(temp_filename, mode="rb") + # Validate the hash or delete the temp_filename and report an error + # Determine whether the file is a particular type of file, and if so, open it as such IMPORTED_MAGIC = False if HAS_MAGIC: From c269086402a0f9cc44aae11228d92ada515d0839 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 23 Feb 2025 20:31:07 +0000 Subject: [PATCH 1429/2186] Core: Improve caching to only allow one open file write at a time --- volatility3/framework/constants/__init__.py | 3 +++ volatility3/framework/layers/resources.py | 18 +++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 2e6ae0261..429b79c3c 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -120,6 +120,9 @@ OFFLINE = False REMOTE_ISF_URL = None # 'http://localhost:8000/banners.json' """Remote URL to query for a list of ISF addresses""" +DOWNLOAD_TIMEOUT = 30 +"""Length of time (in seconds) to wait for another process to download a resource before using it""" + ### # DEPRECATED VALUES ### diff --git a/volatility3/framework/layers/resources.py b/volatility3/framework/layers/resources.py index bf78f1c92..5b2e20bfd 100644 --- a/volatility3/framework/layers/resources.py +++ b/volatility3/framework/layers/resources.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import time import bz2 import contextlib import gzip @@ -198,7 +199,22 @@ class ResourceAccessor: cache_file.write(block) block = fp.read(block_size) else: - vollog.debug(f"Using already cached file at: {temp_filename}") + vollog.debug( + f"Trying to use already cached file at: {temp_filename}" + ) + count = 0 + fp.seek(0, os.SEEK_END) + expected_filesize = fp.tell() + stop = False + while count < constants.DOWNLAOD_TIMEOUT and not stop: + time.sleep(1) + if os.stat(temp_filename).st_size == expected_filesize: + stop = True + if not stop: + raise ValueError( + f"Cached file existed, but was not the correct filesize, even after {constants.DOWNLOAD_TIMEOUT} seconds" + ) + # Re-open the cache with a different mode # Since we don't want people thinking they're able to save to the cache file, # open it in read mode only and allow breakages to happen if they wanted to write From 2ff83c4434782872a25e7f152cf1283d213762c3 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 23 Feb 2025 20:50:35 +0000 Subject: [PATCH 1430/2186] Core: Ensure cached files aren't saved if incomplete --- volatility3/framework/layers/resources.py | 51 +++++++++++------------ 1 file changed, 24 insertions(+), 27 deletions(-) diff --git a/volatility3/framework/layers/resources.py b/volatility3/framework/layers/resources.py index 5b2e20bfd..273f44cd7 100644 --- a/volatility3/framework/layers/resources.py +++ b/volatility3/framework/layers/resources.py @@ -178,42 +178,39 @@ class ResourceAccessor: + ".cache", ) + try: + content_length = int(fp.info().get("Content-Length", -1)) + except (AttributeError, ValueError): + # If our fp doesn't have an info member, carry on gracefully + content_length = -1 + if not os.path.exists(temp_filename): vollog.debug(f"Caching file at: {temp_filename}") + cache_file_size = -1 try: - content_length = fp.info().get("Content-Length", -1) - except AttributeError: - # If our fp doesn't have an info member, carry on gracefully - content_length = -1 - with open(temp_filename, "wb") as cache_file: - count = 0 - block = fp.read(block_size) - while block: - count += len(block) - if self._progress_callback: - self._progress_callback( - count * 100 / max(count, int(content_length)), - f"Reading file {url}", - ) - cache_file.write(block) + with open(temp_filename, "wb") as cache_file: + count = 0 block = fp.read(block_size) + while block: + count += len(block) + if self._progress_callback: + self._progress_callback( + count * 100 / max(count, int(content_length)), + f"Reading file {url}", + ) + cache_file.write(block) + block = fp.read(block_size) + cache_file.seek(0, os.SEEK_END) + cache_file_size = cache_file.tell() + finally: + if cache_file_size < content_length: + os.remove(temp_filename) + raise ValueError("Cached file did not download completely") else: vollog.debug( f"Trying to use already cached file at: {temp_filename}" ) - count = 0 - fp.seek(0, os.SEEK_END) - expected_filesize = fp.tell() - stop = False - while count < constants.DOWNLAOD_TIMEOUT and not stop: - time.sleep(1) - if os.stat(temp_filename).st_size == expected_filesize: - stop = True - if not stop: - raise ValueError( - f"Cached file existed, but was not the correct filesize, even after {constants.DOWNLOAD_TIMEOUT} seconds" - ) # Re-open the cache with a different mode # Since we don't want people thinking they're able to save to the cache file, From 48894dae0c7b9164c24e8a9094135677877711ad Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 23 Feb 2025 20:56:17 +0000 Subject: [PATCH 1431/2186] Core: Fix up ruff issue from #1631 --- volatility3/framework/layers/resources.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/layers/resources.py b/volatility3/framework/layers/resources.py index 273f44cd7..6121c2cff 100644 --- a/volatility3/framework/layers/resources.py +++ b/volatility3/framework/layers/resources.py @@ -2,7 +2,6 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import time import bz2 import contextlib import gzip From 335606774d18b5423d15771d136e3880a395dd63 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 23 Feb 2025 22:30:20 +0000 Subject: [PATCH 1432/2186] Check Win10+ SlushSize member to support Windows 11 pool scanning. Restrict the Pools that current scanners accept. --- .../framework/plugins/windows/poolscanner.py | 29 ++++++++++--------- .../framework/symbols/windows/__init__.py | 2 +- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 5be0e7fa8..5cbb2ffc8 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -205,6 +205,7 @@ class PoolScanner(plugins.PluginInterface): b"AtmT", type_name=symbol_table + constants.BANG + "_RTL_ATOM_TABLE", size=(200, None), + # TODO - update this after the GUI code goes on page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, ), # processes on windows before windows 8 @@ -214,7 +215,7 @@ class PoolScanner(plugins.PluginInterface): object_type="Process", size=(600, None), skip_type_test=True, - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, ), # processes on windows starting with windows 8 PoolConstraint( @@ -223,7 +224,7 @@ class PoolScanner(plugins.PluginInterface): object_type="Process", size=(600, None), skip_type_test=True, - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, ), # threads on windows before windows8 PoolConstraint( @@ -232,7 +233,7 @@ class PoolScanner(plugins.PluginInterface): object_type="Thread", size=(600, None), # -> 0x0258 - size of struct in win5.1 skip_type_test=True, - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, ), # threads on windows starting with windows8 PoolConstraint( @@ -240,7 +241,7 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_ETHREAD", object_type="Thread", size=(600, None), # -> 0x0258 - size of struct in win5.1 - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, ), # files on windows before windows 8 PoolConstraint( @@ -248,7 +249,7 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_FILE_OBJECT", object_type="File", size=(150, None), - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, ), # files on windows starting with windows 8 PoolConstraint( @@ -256,7 +257,7 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_FILE_OBJECT", object_type="File", size=(150, None), - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, ), # mutants on windows before windows 8 PoolConstraint( @@ -264,7 +265,7 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_KMUTANT", object_type="Mutant", size=(64, None), - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, ), # mutants on windows starting with windows 8 PoolConstraint( @@ -272,7 +273,7 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_KMUTANT", object_type="Mutant", size=(64, None), - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, ), # drivers on windows before windows 8 PoolConstraint( @@ -280,7 +281,7 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_DRIVER_OBJECT", object_type="Driver", size=(248, None), - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, additional_structures=["_DRIVER_EXTENSION"], ), # drivers on windows starting with windows 8 @@ -289,14 +290,14 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_DRIVER_OBJECT", object_type="Driver", size=(248, None), - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, ), # kernel modules PoolConstraint( b"MmLd", type_name=symbol_table + constants.BANG + "_LDR_DATA_TABLE_ENTRY", size=(76, None), - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, ), # symlinks on windows before windows 8 PoolConstraint( @@ -304,7 +305,7 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_OBJECT_SYMBOLIC_LINK", object_type="SymbolicLink", size=(72, None), - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, ), # symlinks on windows starting with windows 8 PoolConstraint( @@ -312,14 +313,14 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_OBJECT_SYMBOLIC_LINK", object_type="SymbolicLink", size=(72, None), - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.NONPAGED | PoolType.FREE, ), # registry hives PoolConstraint( b"CM10", type_name=symbol_table + constants.BANG + "_CMHIVE", size=(800, None), - page_type=PoolType.PAGED | PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.PAGED | PoolType.FREE, skip_type_test=True, ), ] diff --git a/volatility3/framework/symbols/windows/__init__.py b/volatility3/framework/symbols/windows/__init__.py index c1b7894ff..e4f8854fc 100755 --- a/volatility3/framework/symbols/windows/__init__.py +++ b/volatility3/framework/symbols/windows/__init__.py @@ -48,7 +48,7 @@ class WindowsKernelIntermedSymbols(intermed.IntermediateSymbolTable): # This doesn't exist in very specific versions of windows with contextlib.suppress(ValueError): - if self.get_type("_POOL_TRACKER_BIG_PAGES").has_member("PoolType"): + if self.get_type("_POOL_TRACKER_BIG_PAGES").has_member("PoolType") or self.get_type("_POOL_TRACKER_BIG_PAGES").has_member("SlushSize"): self.set_type_class("_POOL_HEADER", pool.POOL_HEADER_VISTA) else: self.set_type_class("_POOL_HEADER", pool.POOL_HEADER) From ba56e42634a860aa223accd06bda9e11c6c90b78 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 23 Feb 2025 22:34:23 +0000 Subject: [PATCH 1433/2186] Fix for black --- volatility3/framework/symbols/windows/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/__init__.py b/volatility3/framework/symbols/windows/__init__.py index e4f8854fc..f9541579e 100755 --- a/volatility3/framework/symbols/windows/__init__.py +++ b/volatility3/framework/symbols/windows/__init__.py @@ -48,7 +48,9 @@ class WindowsKernelIntermedSymbols(intermed.IntermediateSymbolTable): # This doesn't exist in very specific versions of windows with contextlib.suppress(ValueError): - if self.get_type("_POOL_TRACKER_BIG_PAGES").has_member("PoolType") or self.get_type("_POOL_TRACKER_BIG_PAGES").has_member("SlushSize"): + if self.get_type("_POOL_TRACKER_BIG_PAGES").has_member( + "PoolType" + ) or self.get_type("_POOL_TRACKER_BIG_PAGES").has_member("SlushSize"): self.set_type_class("_POOL_HEADER", pool.POOL_HEADER_VISTA) else: self.set_type_class("_POOL_HEADER", pool.POOL_HEADER) From 5ee09df080f4a0035ae2c95aaf7e35320c799c64 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 25 Feb 2025 09:59:05 +0000 Subject: [PATCH 1434/2186] Symbols: Restore previous protection for non-native missing types Fixes #1480 --- volatility3/framework/symbols/intermed.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/intermed.py b/volatility3/framework/symbols/intermed.py index cb0b67969..33035bc70 100644 --- a/volatility3/framework/symbols/intermed.py +++ b/volatility3/framework/symbols/intermed.py @@ -814,7 +814,12 @@ class Version8Format(Version7Format): type_definition = self._json_object["user_types"].get(type_name) if type_definition is None: # Fall back to the natives table - return self.natives.get_type(self.name + constants.BANG + type_name) + if type_name in self.natives.types: + return self.natives.get_type(self.name + constants.BANG + type_name) + else: + raise exceptions.SymbolError( + type_name, self.name, f"Unknown symbol: {type_name}" + ) members = self._process_fields(type_definition["fields"]) From 1c8f9edaf07d8784e7e5e94ed90f9a68a4b78e96 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 25 Feb 2025 10:15:23 +0000 Subject: [PATCH 1435/2186] Linux: Fix typing is lsof Fixes #1443 --- volatility3/framework/plugins/linux/lsof.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index daa8e5a3d..044e9238f 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -54,7 +54,7 @@ class FDInternal: """ task: interfaces.objects.ObjectInterface - fd_fields: Tuple[int, int, str] + fd_fields: Tuple[int, interfaces.objects.ObjectInterface, str] def to_user(self) -> FDUser: """Augment the FD information to be presented to the user From a906506736d6410776ebaf3d6f3760e3c86a1e1d Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 26 Feb 2025 13:25:40 -0600 Subject: [PATCH 1436/2186] #1639 - cast big data to _CM_BIG_DATA --- volatility3/framework/symbols/windows/extensions/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index a8cc7703c..6d660a4b9 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -329,7 +329,7 @@ class CM_KEY_VALUE(objects.StructType): data = layer.read(self.Data.vol.offset, datalen) elif layer.hive.Version == 5 and datalen > 0x4000: # We're bigdata - big_data = layer.get_node(self.Data) + big_data = layer.get_node(self.Data).cast("_CM_BIG_DATA") # Oddly, we get a list of addresses, at which are addresses, which then point to data blocks for i in range(big_data.Count): # The value 4 should actually be unsigned-int.size, but since it's a file format that shouldn't change From 0a5c9376e27722444913f621451ce216550a39cd Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 26 Feb 2025 16:41:40 -0600 Subject: [PATCH 1437/2186] #1476 - fix typo and missing exception --- volatility3/framework/layers/registry.py | 2 +- volatility3/framework/symbols/windows/extensions/registry.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index 21e1a938e..abae23e2d 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -262,7 +262,7 @@ class RegistryHive(linear.LinearlyMappedLayer): self.name, hex(offset & 0x7FFFFFFF), hex(self._get_hive_maxaddr(volatile)), - "volative" if volatile else "non-volatile", + "volatile" if volatile else "non-volatile", self.get_name(), ), ) diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index a8cc7703c..c807c2cd6 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -199,7 +199,7 @@ class CM_KEY_NODE(objects.StructType): # We could change the array type to a struct with both parts try: signature = node.cast("string", max_length=2, encoding="latin-1") - except (exceptions.InvalidAddressException, RegistryFormatException): + except (exceptions.InvalidAddressException, RegistryFormatException, RegistryInvalidIndex): return None listjump = None @@ -329,7 +329,7 @@ class CM_KEY_VALUE(objects.StructType): data = layer.read(self.Data.vol.offset, datalen) elif layer.hive.Version == 5 and datalen > 0x4000: # We're bigdata - big_data = layer.get_node(self.Data) + big_data = layer.get_node(self.Data).cast("_CM_BIG_DATA") # Oddly, we get a list of addresses, at which are addresses, which then point to data blocks for i in range(big_data.Count): # The value 4 should actually be unsigned-int.size, but since it's a file format that shouldn't change From 56a64150ab6850c7f4b481355dbabc43d80c10e4 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 27 Feb 2025 10:27:13 +0000 Subject: [PATCH 1438/2186] Core: Update coding requirement on function calls --- CODING_STYLE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CODING_STYLE.md b/CODING_STYLE.md index 3695301eb..2f18959c8 100644 --- a/CODING_STYLE.md +++ b/CODING_STYLE.md @@ -32,6 +32,12 @@ Exemptions from this rule: * `collections.abc` module * `typing_extensions` module +Function calls +-------------- + +For longer function calls, where line length is no longer an issue, favour using keyword arguments for clarity over unnamed positional arguments. +This helps coders learning the code from examples to know what parameters to pass in and avoids ordering mistakes. + Global Mutable State -------------------- From 89e87ff24c4fa80a9fd99e68275a5d1e3554eae4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 1 Mar 2025 12:36:40 -0600 Subject: [PATCH 1439/2186] Fix crash-causing bugs. Add typing where possible. --- volatility3/framework/plugins/linux/kmsg.py | 90 ++++++++++++++------- 1 file changed, 59 insertions(+), 31 deletions(-) diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index 849060d3c..1069a312f 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -5,7 +5,7 @@ import re import logging from abc import ABC, abstractmethod from enum import Enum -from typing import Generator, Iterator, List, Tuple, Union +from typing import Generator, Iterator, List, Tuple, Optional from volatility3.framework import ( class_subclasses, @@ -73,7 +73,7 @@ class ABCKmsg(ABC): cls, context: interfaces.context.ContextInterface, config: interfaces.configuration.HierarchicalDict, - ) -> Iterator[Tuple[str, str, str, str, str]]: + ) -> Iterator[Tuple[str, str, str, Optional[str], str]]: """It calls each subclass symtab_checks() to test the required conditions to that specific kernel implementation. @@ -108,10 +108,12 @@ class ABCKmsg(ABC): break if kmsg_inst is None: - vollog.error("Unsupported kernel ring buffer implementation") + vollog.error( + "Unsupported kernel ring buffer implementation. Please file a bug on our issue tracker with your specific kernel version." + ) @abstractmethod - def run(self) -> Iterator[Tuple[str, str, str, str, str]]: + def run(self) -> Iterator[Tuple[str, str, str, Optional[str], str]]: """Walks through the specific kernel implementation. Returns: @@ -135,7 +137,7 @@ class ABCKmsg(ABC): bool: True if the kernel being analyzed fulfill the class requirements. """ - def get_string(self, addr: int, length: int) -> Union[str, None]: + def get_string(self, addr: int, length: int) -> Optional[str]: layer = self._context.layers[self.layer_name] if not layer.is_valid(addr, length): vollog.warning("Failed to read log record at address 0x%x", addr) @@ -161,21 +163,21 @@ class ABCKmsg(ABC): # obj could be log, printk_log or printk_info return self.nsec_to_sec_str(obj.ts_nsec) - def get_caller(self, obj): + def get_caller(self, obj) -> Optional[str]: # In some kernel versions, it's only available if CONFIG_PRINTK_CALLER is defined. # caller_id is a member of printk_log struct from 5.1 to the latest 5.9 # From kernels 5.10 on, it's a member of printk_info struct if obj.has_member("caller_id"): return self.get_caller_text(obj.caller_id) - else: - return renderers.NotAvailableValue() - def get_caller_text(self, caller_id): + return None + + def get_caller_text(self, caller_id) -> str: caller_name = "CPU" if caller_id & 0x80000000 else "Task" caller = f"{caller_name}({caller_id & ~0x80000000})" return caller - def get_prefix(self, obj) -> Tuple[int, int, str, str]: + def get_prefix(self, obj) -> Tuple[int, int, str, Optional[str]]: # obj could be log, printk_log or printk_info return ( obj.facility, @@ -213,6 +215,7 @@ class Kmsg_pre_3_5(ABCKmsg): def symtab_checks(cls, vmlinux) -> bool: return ( vmlinux.has_symbol("log_end") + and vmlinux.has_symbol("log_buf_len") and not vmlinux.has_symbol("log_first_idx") and not ( vmlinux.has_type("log") @@ -220,7 +223,7 @@ class Kmsg_pre_3_5(ABCKmsg): ) ) - def run(self) -> Iterator[Tuple[str, str, str, str, str]]: + def run(self) -> Iterator[Tuple[str, str, str, Optional[str], str]]: log_buf_ptr = self.vmlinux.object_from_symbol(symbol_name="log_buf") log_buf_len = self.vmlinux.object_from_symbol(symbol_name="log_buf_len") log_buf = utility.pointer_to_string(log_buf_ptr, count=log_buf_len) @@ -249,7 +252,7 @@ class Kmsg_pre_3_5(ABCKmsg): facility = level_facility >> 3 level_txt = self.get_level_text(level) facility_txt = self.get_facility_text(facility) - caller = renderers.NotAvailableValue() + caller = None yield facility_txt, level_txt, timestamp_str, caller, line @@ -266,10 +269,10 @@ class Kmsg_3_5_to_3_11(ABCKmsg): and vmlinux.has_symbol("log_first_idx") ) - def _get_log_struct_name(self): + def _get_log_struct_name(self) -> str: return "log" - def get_text_from_log(self, msg) -> Union[str, None]: + def get_text_from_log(self, msg) -> Optional[str]: log_struct_name = self._get_log_struct_name() log_struct_size = self.vmlinux.get_type(log_struct_name).size msg_offset = msg.vol.offset + log_struct_size @@ -283,7 +286,7 @@ class Kmsg_3_5_to_3_11(ABCKmsg): def get_dict_lines(self, msg) -> Generator[str, None, None]: if msg.dict_len == 0: - return None + return log_struct_name = self._get_log_struct_name() log_struct_size = self.vmlinux.get_type(log_struct_name).size @@ -293,12 +296,12 @@ class Kmsg_3_5_to_3_11(ABCKmsg): dict_data = layer.read(dict_offset, msg.dict_len) except exceptions.InvalidAddressException: vollog.debug("Unable to read kmsg dict from 0x%x", dict_offset) - return None + return for chunk in dict_data.split(b"\x00"): - yield " " + chunk.decode() + yield " " + chunk.decode(encoding="utf8", errors="replace") - def run(self) -> Iterator[Tuple[str, str, str, str, str]]: + def run(self) -> Iterator[Tuple[str, str, str, Optional[str], str]]: # First, the ring buffer size is determined in the kernel configuration # by CONFIG_LOG_BUF_SHIFT. This static buffer is held in the '__log_buf' # global variable, with 'log_buf' serving as a pointer to it. @@ -311,7 +314,13 @@ class Kmsg_3_5_to_3_11(ABCKmsg): # remains unused. Therefore, it is crucial to read from 'log_buf' rather # than '__log_buf'. - log_buf_ptr = self.vmlinux.object_from_symbol("log_buf") + # This can happen on kernels where log_buf is declared twice + try: + log_buf_ptr = self.vmlinux.object_from_symbol("log_buf") + except exceptions.InvalidAddressException: + vollog.debug("Unable to access `log_buf`. Bailing.") + return + log_buf_len = self.vmlinux.object_from_symbol("log_buf_len") log_first_idx = int(self.vmlinux.object_from_symbol("log_first_idx")) @@ -327,7 +336,10 @@ class Kmsg_3_5_to_3_11(ABCKmsg): while cur_idx < end_idx: msg_offset = log_buf_ptr + cur_idx # type: ignore - msg = self.vmlinux.object(object_type=log_struct_name, offset=msg_offset) + msg = self.vmlinux.object( + object_type=log_struct_name, offset=msg_offset, absolute=True + ) + try: if msg.len == 0: # As per kernel/printk.c: @@ -359,9 +371,14 @@ class Kmsg_3_11_to_5_10(Kmsg_3_5_to_3_11): @classmethod def symtab_checks(cls, vmlinux) -> bool: - return vmlinux.has_type("printk_log") + return ( + not vmlinux.has_type("printk_ringbuffer") + and vmlinux.has_type("printk_log") + and vmlinux.get_type("printk_log").has_member("ts_nsec") + and vmlinux.has_symbol("log_first_idx") + ) - def _get_log_struct_name(self): + def _get_log_struct_name(self) -> str: return "printk_log" @@ -412,9 +429,9 @@ class Kmsg_5_10_to_(ABCKmsg): @classmethod def symtab_checks(cls, vmlinux) -> bool: - return vmlinux.has_symbol("prb") + return vmlinux.has_symbol("prb") and vmlinux.has_type("printk_ringbuffer") - def get_text_from_data_ring(self, text_data_ring, desc, info) -> Union[str, None]: + def get_text_from_data_ring(self, text_data_ring, desc, info) -> Optional[str]: text_data_sz = text_data_ring.size_bits text_data_mask = 1 << text_data_sz @@ -423,7 +440,7 @@ class Kmsg_5_10_to_(ABCKmsg): # This record doesn't contain text if begin & 1: - return "" + return None # This means a wrap-around to the beginning of the buffer if begin > end: @@ -454,7 +471,7 @@ class Kmsg_5_10_to_(ABCKmsg): if dict_text: yield f" DEVICE={dict_text}" - def run(self) -> Iterator[Tuple[str, str, str, str, str]]: + def run(self) -> Iterator[Tuple[str, str, str, Optional[str], str]]: # static struct printk_ringbuffer *prb = &printk_rb_static; ringbuffers = self.vmlinux.object_from_symbol("prb").dereference() @@ -516,7 +533,7 @@ class Kmsg(interfaces.plugins.PluginInterface): _required_framework_version = (2, 6, 0) - _version = (1, 0, 2) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -528,17 +545,28 @@ class Kmsg(interfaces.plugins.PluginInterface): ), ] - def _generator(self) -> Iterator[Tuple[int, Tuple[str, str, str, str, str]]]: - for values in ABCKmsg.run_all(context=self.context, config=self.config): - yield (0, values) + def _generator( + self, + ) -> Iterator[Tuple[int, Tuple[str, str, str, Optional[str], str]]]: + for facility, level, timestamp, caller, line in ABCKmsg.run_all( + context=self.context, config=self.config + ): + yield 0, ( + facility, + level, + timestamp, + caller or renderers.NotAvailableValue(), + line, + ) def run(self): if not self.context.symbol_space.verify_table_versions( "dwarf2json", lambda version, _: (not version) or version > (0, 4, 1) ): - raise exceptions.SymbolSpaceError( + vollog.info( "Invalid symbol table, please ensure the ISF table produced by dwarf2json was produced using a version > 0.4.1" ) + return return renderers.TreeGrid( [ From 57b086295b269d0f6bfc10b993061a5ba264e87e Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 1 Mar 2025 14:00:42 -0600 Subject: [PATCH 1440/2186] Fix bugs in Linux memory region enumeration --- .../symbols/linux/extensions/__init__.py | 42 +++++++++++++++---- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 67f6595b1..d5528a8b5 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -849,7 +849,7 @@ class maple_tree(objects.StructType): expected_maple_tree_depth, seen=None, current_depth=1, - ): + ) -> Optional[int]: """Recursively parse Maple Tree Nodes and yield all non empty slots""" # Create seen set if it does not exist, e.g. on the first call into this recursive function. This @@ -898,7 +898,8 @@ class maple_tree(objects.StructType): node_parent_pointer = node_parent_mte & ~(self.MAPLE_NODE_POINTER_MASK) # verify that the node_parent_pointer correctly points to the parent - assert node_parent_pointer == parent + if node_parent_pointer != parent: + return None # create a node object node = self._context.object( @@ -1008,15 +1009,21 @@ class mm_struct(objects.StructType): ) symbol_table_name = self.get_symbol_table_name() for vma_pointer in self.mm_mt.get_slot_iter(): - # Convert pointer to vm_area_struct and yield - vma_object = self._context.object( - symbol_table_name + constants.BANG + "vm_area_struct", - layer_name=self.vol.native_layer_name, - offset=vma_pointer, - ) + try: + vma_object = vma_pointer.dereference().cast( + symbol_table_name + constants.BANG + "vm_area_struct" + ) + except exceptions.InvalidAddressException: + continue + + # The slots will hold values related to their slot if they are invalid + # Before this check, this function was returning objects on the first page of memory... + if vma_object.vol.offset < 0x1000: + continue + yield vma_object - def get_vma_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: + def _do_get_vma_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """Returns an iterator for the VMAs in an mm_struct. Automatically choosing the mmap or mm_mt as required. @@ -1033,6 +1040,23 @@ class mm_struct(objects.StructType): else: raise AttributeError("Unable to find mmap or mm_mt in mm_struct") + def get_vma_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: + """Returns an iterator for the VMAs in an mm_struct. + Automatically choosing the mmap or mm_mt as required. + + Yields: + vm_area_struct objects + """ + for vma in self._do_get_vma_iter(): + try: + vma.vm_start + vma.vm_end + vma.get_protection() + + yield vma + except exceptions.InvalidAddressException: + vollog.debug(f"Skipping invalid vm_area_struct at {vma.vol.offset:#x}") + class super_block(objects.StructType): # include/linux/kdev_t.h From 8ce77e81eb2faf8c6fcb4684f5e4ca1432fbf876 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 1 Mar 2025 14:47:00 -0600 Subject: [PATCH 1441/2186] Report the memer name and type when attributes cannot be found --- volatility3/framework/interfaces/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index cfbade5fc..12cd1d988 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -133,7 +133,7 @@ class ObjectInterface(metaclass=abc.ABCMeta): def __getattr__(self, attr: str) -> Any: """Method for ensuring volatility members can be returned.""" - raise AttributeError() + raise AttributeError(f"Unable to find {attr} for type {self.vol.type_name}") @property def vol(self) -> ReadOnlyMapping: From d2f16dc0f40937a7e9027f91f7360cc9abe14902 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 1 Mar 2025 15:03:18 -0600 Subject: [PATCH 1442/2186] Correctly check tty instance --- volatility3/framework/plugins/linux/tty_check.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/tty_check.py b/volatility3/framework/plugins/linux/tty_check.py index 9bbca246c..742bacb0b 100644 --- a/volatility3/framework/plugins/linux/tty_check.py +++ b/volatility3/framework/plugins/linux/tty_check.py @@ -81,9 +81,11 @@ class tty_check(plugins.PluginInterface): if tty_dev == 0: continue - name = utility.array_to_string(tty_dev.name) - - recv_buf = tty_dev.ldisc.ops.receive_buf + try: + name = utility.array_to_string(tty_dev.name) + recv_buf = tty_dev.ldisc.ops.receive_buf + except exceptions.InvalidAddressException: + continue module_name, symbol_name = ( linux_utilities_modules.Modules.lookup_module_address( From 367e0ebc0df7b173c56c7ff8a45aeee2bf88ba40 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 4 Mar 2025 16:41:12 +0100 Subject: [PATCH 1443/2186] add sample abstraction --- test/__init__.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/__init__.py b/test/__init__.py index e69de29bb..2b59ef5ca 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -0,0 +1,16 @@ +from enum import Enum + + +class Sample: + def __init__(self, path: str): + self.path = path + + +class WindowsSamples(Enum): + WINDOWSXP_GENERIC = Sample("./test_images/win-xp-laptop-2005-06-25.img") + """WindowsXP sample from early Volatility training.""" + + +class LinuxSamples(Enum): + LINUX_GENERIC = Sample("./test_images/linux-sample-1.bin") + """Linux Debian 3.2.0-4 sample from early Volatility training.""" From f7dfab57fdb9e943772c4db963e6607d99a97b35 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 4 Mar 2025 16:46:03 +0100 Subject: [PATCH 1444/2186] adjust helpers and add match_output_row --- test/test_volatility.py | 50 ++++++++++++++++++++++++++++++----------- 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 07cab2c95..9cc9c3304 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -6,25 +6,24 @@ # import os -import re import subprocess import sys -import shutil import tempfile -import hashlib -import json import contextlib +import functools +from typing import List, Tuple # # HELPER FUNCTIONS # +@functools.lru_cache def runvol(args, volatility, python): volpy = volatility python_cmd = python - cmd = [python_cmd, volpy] + args + cmd = (python_cmd, volpy) + args print(" ".join(cmd)) p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout, stderr = p.communicate() @@ -38,17 +37,18 @@ def runvol(args, volatility, python): return p.returncode, stdout, stderr -def runvol_plugin(plugin, img, volatility, python, pluginargs=None, globalargs=None): - pluginargs = pluginargs or [] - globalargs = globalargs or [] +@functools.lru_cache +def runvol_plugin( + plugin, img, volatility, python, pluginargs: Tuple = (), globalargs: Tuple = () +): args = ( globalargs - + [ + + ( "--single-location", img, "-q", plugin, - ] + ) + pluginargs ) @@ -60,17 +60,41 @@ def runvolshell(img, volshell, python, volshellargs=None, globalargs=None): globalargs = globalargs or [] args = ( globalargs - + [ + + ( "--single-location", img, "-q", - ] + ) + volshellargs ) return runvol(args, volshell, python) +def match_output_row( + json_out: List[dict], expected_row: dict, exact_match: bool = False +): + """Search each row of a plugin's JSON output for an expected row. Each row is a dict. + + Args: + json_out: The plugin's output in JSON format (typically obtained through -r json and json.loads) + expected_row: The expected row to be found in the output + exact_match: Whether to require exactly the expected row, no more no less, or to anticipate columns' addition by checking only + the expected row keys and values + """ + + if not exact_match: + for row in json_out: + if all(item in expected_row.items() for item in row.items()): + return True + else: + for row in json_out: + if expected_row == row: + return True + + return False + + # # TESTS # @@ -96,7 +120,7 @@ def basic_volshell_test(image, volatility, python, globalargs): img=image, volshell=volatility, python=python, - volshellargs=["--script", filename], + volshellargs=("--script", filename), globalargs=globalargs, ) finally: From a162fceed44372864d4e2857dae2b76112bec88f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 4 Mar 2025 16:54:11 +0100 Subject: [PATCH 1445/2186] migrate windows and linux tests to dedicated files --- test/plugins/linux/__init__.py | 0 test/plugins/linux/linux.py | 617 ++++++++++++++++++++++++ test/plugins/windows/windows.py | 326 +++++++++++++ test/test_volatility.py | 800 +------------------------------- 4 files changed, 944 insertions(+), 799 deletions(-) create mode 100644 test/plugins/linux/__init__.py create mode 100644 test/plugins/linux/linux.py create mode 100644 test/plugins/windows/windows.py diff --git a/test/plugins/linux/__init__.py b/test/plugins/linux/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py new file mode 100644 index 000000000..8ec485735 --- /dev/null +++ b/test/plugins/linux/linux.py @@ -0,0 +1,617 @@ +import contextlib +import tempfile +import os +import re +from test import test_volatility, LinuxSamples + + +class TestLinuxVolshell: + def test_linux_volshell(self, image, volatility, python): + out = test_volatility.basic_volshell_test( + image, volatility, python, globalargs=("-l",) + ) + assert out.count(b" 100 + + +class TestLinuxPslist: + def test_linux_generic_pslist(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.pslist.PsList", image, volatility, python + ) + + assert rc == 0 + out = out.lower() + assert (out.find(b"init") != -1) or (out.find(b"systemd") != -1) + assert out.find(b"watchdog") != -1 + assert out.count(b"\n") > 10 + + +class TestLinuxCheckIdt: + def test_linux_generic_check_idt(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.check_idt.Check_idt", image, volatility, python + ) + + assert rc == 0 + out = out.lower() + assert out.count(b"__kernel__") >= 10 + assert out.count(b"\n") > 10 + + +class TestLinuxCheckSyscall: + def test_linux_generic_check_syscall(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.check_syscall.Check_syscall", image, volatility, python + ) + + assert rc == 0 + out = out.lower() + assert out.find(b"sys_close") != -1 + assert out.find(b"sys_open") != -1 + assert out.count(b"\n") > 100 + + +class TestLinuxLsmod: + def test_linux_generic_lsmod(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.lsmod.Lsmod", image, volatility, python + ) + + assert rc == 0 + out = out.lower() + assert out.count(b"\n") > 10 + + +class TestLinuxLsof: + def test_linux_generic_lsof(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.lsof.Lsof", image, volatility, python + ) + + assert rc == 0 + out = out.lower() + assert out.count(b"socket:") >= 10 + assert out.count(b"\n") > 35 + + +class TestLinuxProcMaps: + def test_linux_generic_proc_maps(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.proc.Maps", image, volatility, python + ) + + assert rc == 0 + out = out.lower() + assert out.count(b"anonymous mapping") >= 10 + assert out.count(b"\n") > 100 + + +class TestLinuxTtyCheck: + def test_linux_generic_tty_check(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.tty_check.tty_check", image, volatility, python + ) + + assert rc == 0 + out = out.lower() + assert out.find(b"__kernel__") != -1 + assert out.count(b"\n") >= 5 + + +class TestLinuxSockstat: + def test_linux_generic_sockstat(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.sockstat.Sockstat", image, volatility, python + ) + + assert rc == 0 + assert out.count(b"AF_UNIX") >= 354 + assert out.count(b"AF_BLUETOOTH") >= 5 + assert out.count(b"AF_INET") >= 32 + assert out.count(b"AF_INET6") >= 20 + assert out.count(b"AF_PACKET") >= 1 + assert out.count(b"AF_NETLINK") >= 43 + + +class TestLinuxLibraryList: + def test_linux_specific_library_list(self, volatility, python): + image = LinuxSamples.LINUX_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "linux.library_list.LibraryList", + image, + volatility, + python, + pluginargs=("--pids", "2363"), + ) + + assert rc == 0 + assert re.search( + rb"NetworkManager\s2363\s0x7f52cdda0000\s/lib/x86_64-linux-gnu/libnss_files.so.2", + out, + ) + + assert out.count(b"\n") > 10 + + +class TestLinuxPstree: + def test_linux_generic_pstree(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.pstree.PsTree", image, volatility, python + ) + + assert rc == 0 + out = out.lower() + assert (out.find(b"init") != -1) or (out.find(b"systemd") != -1) + assert out.count(b"\n") > 10 + + +class TestLinuxPidhashtable: + def test_linux_generic_pidhashtable(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.pidhashtable.PIDHashTable", image, volatility, python + ) + + assert rc == 0 + out = out.lower() + assert (out.find(b"init") != -1) or (out.find(b"systemd") != -1) + assert out.count(b"\n") > 10 + + +class TestLinuxBash: + def test_linux_bash(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.bash.Bash", image, volatility, python + ) + + assert rc == 0 + assert out.count(b"\n") > 10 + + +class TestLinuxBoottime: + def test_linux_generic_boottime(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.boottime.Boottime", image, volatility, python + ) + + assert rc == 0 + out = out.lower() + assert out.count(b"utc") >= 1 + + +class TestLinuxCapabilities: + def test_linux_generic_capabilities(self, image, volatility, python): + rc, out, err = test_volatility.runvol_plugin( + "linux.capabilities.Capabilities", + image, + volatility, + python, + globalargs=("-vvv",), + ) + + if rc != 0 and err.count(b"Unsupported kernel capabilities implementation") > 0: + # The linux-sample-1.bin kernel implementation isn't supported. + # However, we can still check that the plugin requirements are met. + return None + + assert rc == 0 + assert out.count(b"\n") > 10 + + +class TestLinuxCheckCreds: + def test_linux_generic_check_creds(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.check_creds.Check_creds", image, volatility, python + ) + + # linux-sample-1.bin has no processes sharing credentials. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") >= 4 + + +class TestLinuxElfs: + def test_linux_generic_elfs(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.elfs.Elfs", image, volatility, python + ) + + assert rc == 0 + assert out.count(b"\n") > 10 + + +class TestLinuxEnvars: + def test_linux_generic_envars(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.envars.Envars", image, volatility, python + ) + + assert rc == 0 + assert out.count(b"\n") > 10 + + +class TestLinuxKthreads: + def test_linux_generic_kthreads(self, image, volatility, python): + rc, out, err = test_volatility.runvol_plugin( + "linux.kthreads.Kthreads", + image, + volatility, + python, + globalargs=("-vvv",), + ) + + if rc != 0 and err.count(b"Unsupported kthread implementation") > 0: + # The linux-sample-1.bin kernel implementation isn't supported. + # However, we can still check that the plugin requirements are met. + return None + + assert rc == 0 + assert out.count(b"\n") >= 4 + + +class TestLinuxMalfind: + def test_linux_generic_malfind(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.malfind.Malfind", image, volatility, python + ) + + # linux-sample-1.bin has no process memory ranges with potential injected code. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") >= 4 + + +class TestLinuxMountinfo: + def test_linux_generic_mountinfo(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.mountinfo.MountInfo", image, volatility, python + ) + + assert rc == 0 + assert out.count(b"\n") > 10 + + +class TestLinuxPsaux: + def test_linux_generic_psaux(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.psaux.PsAux", image, volatility, python + ) + + assert rc == 0 + assert out.count(b"\n") > 50 + + +class TestLinuxPtrace: + def test_linux_generic_ptrace(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.ptrace.Ptrace", image, volatility, python + ) + + # linux-sample-1.bin has no processes being ptraced. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") >= 4 + + +class TestLinuxVmaregexscan: + def test_linux_generic_vmaregexscan(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.vmaregexscan.VmaRegExScan", + image, + volatility, + python, + pluginargs=("--pid", "1", "--pattern", "\\x7fELF"), + ) + + assert rc == 0 + assert out.count(b"\n") > 10 + + +class TestLinuxVmayarascanYaraRule: + def test_linux_specific_vmayarascan_yara_rule(self, volatility, python): + image = LinuxSamples.LINUX_GENERIC.value.path + yara_rule_01 = r""" + rule fullvmayarascan + { + strings: + $s1 = "_nss_files_parse_grent" + $s2 = "/lib64/ld-linux-x86-64.so.2" + $s3 = "(bufferend - (char *) 0) % sizeof (char *) == 0" + condition: + all of them + } + """ + + # FIXME: When the minimum Python version includes 3.12, replace the following with: + # with tempfile.NamedTemporaryFile(delete_on_close=False) as fd: ... + fd, filename = tempfile.mkstemp(suffix=".yar") + try: + with os.fdopen(fd, "w") as f: + f.write(yara_rule_01) + + rc, out, _err = test_volatility.runvol_plugin( + "linux.vmayarascan.VmaYaraScan", + image, + volatility, + python, + pluginargs=("--pid", "8600", "--yara-file", filename), + ) + finally: + with contextlib.suppress(FileNotFoundError): + os.remove(filename) + + assert rc == 0 + assert out.count(b"\n") > 4 + + +class TestLinuxVmayarascanYaraString: + def test_linux_generic_vmayarascan_yara_string(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.vmayarascan.VmaYaraScan", + image, + volatility, + python, + pluginargs=("--pid", "1", "--yara-string", "ELF"), + ) + + assert rc == 0 + assert out.count(b"\n") > 10 + + +class TestLinuxPageCacheFiles: + def test_linux_specific_page_cache_files(self, volatility, python): + image = LinuxSamples.LINUX_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "linux.pagecache.Files", + image, + volatility, + python, + pluginargs=("--find", "/etc/passwd"), + ) + + assert rc == 0 + assert out.count(b"\n") > 4 + + # inode_num inode_addr ... file_path + assert re.search( + rb"146829\s0x88001ab5c270.*?/etc/passwd", + out, + ) + + +class TestLinuxPageCacheInodepages: + def test_linux_specific_page_cache_inodepages(self, volatility, python): + image = LinuxSamples.LINUX_GENERIC.value.path + inode_address = hex(0x88001AB5C270) + inode_dump_filename = f"inode_{inode_address}.dmp" + + rc, out, _err = test_volatility.runvol_plugin( + "linux.pagecache.InodePages", + image, + volatility, + python, + pluginargs=("--inode", inode_address), + ) + + assert rc == 0 + assert out.count(b"\n") > 4 + + # PageVAddr PagePAddr MappingAddr .. DumpSafe + assert re.search( + rb"0xea000054c5f8\s0x18389000\s0x88001ab5c3b0.*?True", + out, + ) + + try: + rc, out, _err = test_volatility.runvol_plugin( + "linux.pagecache.InodePages", + image, + volatility, + python, + pluginargs=("--inode", inode_address, "--dump"), + ) + + assert rc == 0 + assert out.count(b"\n") >= 4 + + assert os.path.exists(inode_dump_filename) + with open(inode_dump_filename, "rb") as fp: + inode_contents = fp.read() + assert inode_contents.count(b"\n") > 30 + assert inode_contents.count(b"root:x:0:0:root:/root:/bin/bash") > 0 + finally: + with contextlib.suppress(FileNotFoundError): + os.remove(inode_dump_filename) + + +class TestLinuxCheckAfinfo: + def test_linux_generic_check_afinfo(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.check_afinfo.Check_afinfo", image, volatility, python + ) + + # linux-sample-1.bin has no suspicious results. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") >= 4 + + +class TestLinuxCheckModules: + def test_linux_generic_check_modules(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.check_modules.Check_modules", image, volatility, python + ) + + # linux-sample-1.bin has no suspicious results. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") >= 4 + + +class TestLinuxEbpf: + def test_linux_generic_ebpf_progs(self, image, volatility, python): + rc, out, err = test_volatility.runvol_plugin( + "linux.ebpf.EBPF", + image, + volatility, + python, + globalargs=("-vvv",), + ) + + if rc != 0 and err.count(b"Unsupported kernel") > 0: + # The linux-sample-1.bin kernel implementation isn't supported. + # However, we can still check that the plugin requirements are met. + return None + + assert rc == 0 + assert out.count(b"\n") > 4 + + +class TestLinuxIomem: + def test_linux_generic_iomem(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.iomem.IOMem", image, volatility, python + ) + + assert rc == 0 + assert out.count(b"\n") > 100 + + +class TestLinuxKeyboardNotifiers: + def test_linux_generic_keyboard_notifiers(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.keyboard_notifiers.Keyboard_notifiers", image, volatility, python + ) + + # linux-sample-1.bin has no suspicious results for this plugin. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") >= 4 + + +class TestLinuxKmesg: + def test_linux_generic_kmesg(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.kmsg.Kmsg", image, volatility, python + ) + + assert rc == 0 + assert out.count(b"\n") > 100 + + +class TestLinuxNetfilter: + def test_linux_generic_netfilter(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.netfilter.Netfilter", image, volatility, python + ) + + # linux-sample-1.bin has no suspicious results for this plugin. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") >= 4 + + +class TestLinuxPsscan: + def test_linux_generic__psscan(self, image, volatility, python): + rc, out, _err = test_volatility.runvol_plugin( + "linux.psscan.PsScan", image, volatility, python + ) + + assert rc == 0 + assert out.count(b"\n") > 100 + + +class TestLinuxHiddenModules: + def test_linux_specific_hidden_modules(self, volatility, python): + # TODO: this check should be specific, against a distinct infected sample + image = LinuxSamples.LINUX_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "linux.hidden_modules.Hidden_modules", image, volatility, python + ) + + # linux-sample-1.bin has no hidden modules. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") >= 4 + + +class TestLinuxIpAddr: + def test_linux_specific_ip_addr(self, volatility, python): + image = LinuxSamples.LINUX_GENERIC.value.path + rc, out, err = test_volatility.runvol_plugin( + "linux.ip.Addr", image, volatility, python + ) + + assert re.search( + rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+False\s+192.168.201.161\s+24\s+global\s+UP", + out, + ) + assert re.search( + rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+False\s+fe80::20c:29ff:fe8f:edca\s+64\s+link\s+UP", + out, + ) + assert out.count(b"\n") >= 8 + assert rc == 0 + + +class TestLinuxIpLink: + def test_linux_specific_ip_link(self, volatility, python): + image = LinuxSamples.LINUX_GENERIC.value.path + rc, out, err = test_volatility.runvol_plugin( + "linux.ip.Link", image, volatility, python + ) + + assert re.search( + rb"-\s+lo\s+00:00:00:00:00:00\s+UNKNOWN\s+16436\s+noqueue\s+0\s+LOOPBACK,LOWER_UP,UP", + out, + ) + assert re.search( + rb"-\s+eth0\s+00:0c:29:8f:ed:ca\s+UP\s+1500\s+pfifo_fast\s+1000\s+BROADCAST,LOWER_UP,MULTICAST,UP", + out, + ) + assert out.count(b"\n") >= 6 + assert rc == 0 + + +class TestLinuxKallsyms: + def test_linux_specific_kallsyms(self, volatility, python): + image = LinuxSamples.LINUX_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "linux.kallsyms.Kallsyms", + image, + volatility, + python, + pluginargs=("--modules",), + ) + # linux-sample-1.bin has no hidden modules. + # This validates that plugin requirements are met and exceptions are not raised. + assert rc == 0 + assert out.count(b"\n") > 1000 + + # Addr Type Size Exported SubSystem ModuleName SymbolName Description + # 0xffffa009eba9 t 28 False module usbcore usb_mon_register Symbol is in the text (code) section + assert re.search( + rb"0xffffa009eba9\s+t\s+28\s+False\s+module\s+usbcore\s+usb_mon_register\s+Symbol is in the text \(code\) section", + out, + ) + + +class TestLinuxPscallstack: + def test_linux_specific_pscallstack(self, volatility, python): + image = LinuxSamples.LINUX_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "linux.pscallstack.PsCallStack", + image, + volatility, + python, + pluginargs=("--pid", "1"), + ) + + assert rc == 0 + assert out.count(b"\n") > 30 + + # TID Comm Position Address Value Name Type Module + # 1 init 39 0x88001f999a40 0xffff81109039 do_select T kernel + assert re.search( + rb"1\s+init\s+39\s+0x88001f999a40.*?0xffff81109039\s+do_select\s+T\s+kernel", + out, + ) diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py new file mode 100644 index 000000000..4d8bb3e54 --- /dev/null +++ b/test/plugins/windows/windows.py @@ -0,0 +1,326 @@ +import json +import hashlib +import shutil +import contextlib +import tempfile +import os +from test import test_volatility, WindowsSamples + + +class TestWindowsVolshell: + def test_windows_volshell(self, image, volatility, python): + out = test_volatility.basic_volshell_test( + image, volatility, python, globalargs=("-w",) + ) + assert out.count(b" 40 + + +class TestWindowsPslist: + def test_windows_generic_pslist(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.pslist.PsList", + image, + volatility, + python, + # Notice that this is needed to hit lru_cache when "specific" will run + globalargs=("-r", "json"), + ) + assert rc == 0 + out = out.lower() + assert out.find(b"system") != -1 + assert out.find(b"csrss.exe") != -1 + assert out.find(b"svchost.exe") != -1 + assert out.count(b"\n") > 10 + + def test_windows_specific_pslist(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.pslist.PsList", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + expected_row = { + "CreateTime": None, + "ExitTime": None, + "File output": "Disabled", + "Handles": 1140, + "ImageFileName": "System", + "Offset(V)": 2185004992, + "PID": 4, + "PPID": 0, + "SessionId": None, + "Threads": 61, + "Wow64": False, + "__children": [], + } + assert test_volatility.match_output_row(json.loads(out), expected_row) + + +class TestWindowsPsscan: + def test_windows_generic_psscan(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.psscan.PsScan", image, volatility, python + ) + assert rc == 0 + out = out.lower() + assert out.find(b"system") != -1 + assert out.find(b"csrss.exe") != -1 + assert out.find(b"svchost.exe") != -1 + assert out.count(b"\n") > 10 + + +class TestWindowsDlllist: + def test_windows_generic_dlllist(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.dlllist.DllList", image, volatility, python + ) + assert rc == 0 + out = out.lower() + assert out.count(b"\n") > 10 + + +class TestWindowsModules: + def test_windows_generic_modules(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.modules.Modules", image, volatility, python + ) + assert rc == 0 + out = out.lower() + assert out.count(b"\n") > 10 + + +class TestWindowsHivelist: + def test_windows_generic_hivelist(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.registry.hivelist.HiveList", image, volatility, python + ) + assert rc == 0 + out = out.lower() + + not_xp = out.find(b"\\systemroot\\system32\\config\\software") + if not_xp == -1: + assert ( + out.find( + b"\\device\\harddiskvolume1\\windows\\system32\\config\\software" + ) + != -1 + ) + assert out.count(b"\n") > 10 + + +class TestWindowsDumpfiles: + def test_windows_specific_dumpfiles(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + with open("./test/known_files.json") as json_file: + known_files = json.load(json_file) + + failed_chksms = 0 + file_name = os.path.basename(image) + + try: + for addr in known_files["windows_dumpfiles"][file_name]: + path = tempfile.mkdtemp() + + rc, _out, _err = test_volatility.runvol_plugin( + "windows.dumpfiles.DumpFiles", + image, + volatility, + python, + globalargs=("-o", path), + pluginargs=("--virtaddr", addr), + ) + + for file in os.listdir(path): + with open(os.path.join(path, file), "rb") as fp: + if ( + hashlib.md5(fp.read()).hexdigest() + not in known_files["windows_dumpfiles"][file_name][addr] + ): + failed_chksms += 1 + + shutil.rmtree(path) + json_file.close() + + assert failed_chksms == 0 + assert rc == 0 + except Exception as e: + json_file.close() + print("Key Error raised on " + str(e)) + assert False + + +class TestWindowsHandles: + def test_windows_generic_handles(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.handles.Handles", + image, + volatility, + python, + pluginargs=("--pid", "4"), + ) + assert rc == 0 + assert out.find(b"System Pid 4") != -1 + assert ( + out.find( + b"MACHINE\\SYSTEM\\CONTROLSET001\\CONTROL\\SESSION MANAGER\\MEMORY MANAGEMENT\\PREFETCHPARAMETERS" + ) + != -1 + ) + assert out.find(b"MACHINE\\SYSTEM\\SETUP") != -1 + assert out.count(b"\n") > 500 + + +class TestWindowsSvcscan: + def test_windows_generic_svcscan(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.svcscan.SvcScan", image, volatility, python + ) + assert rc == 0 + assert out.find(b"Microsoft ACPI Driver") != -1 + assert out.count(b"\n") > 250 + + +class TestWindowsThrdscan: + def test_windows_generic_thrdscan(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.thrdscan.ThrdScan", image, volatility, python + ) + assert rc == 0 + assert out.find(b"\t4\t8") != -1 + assert out.find(b"\t4\t12") != -1 + assert out.find(b"\t4\t16") != -1 + + +class TestWindowsPrivileges: + def test_windows_generic_privileges(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.privileges.Privs", + image, + volatility, + python, + pluginargs=("--pid", "4"), + ) + assert rc == 0 + assert out.find(b"SeCreateTokenPrivilege") != -1 + assert out.find(b"SeCreateGlobalPrivilege") != -1 + assert out.find(b"SeAssignPrimaryTokenPrivilege") != -1 + assert out.count(b"\n") > 20 + + +class TestWindowsGetsids: + def test_windows_generic_getsids(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.getsids.GetSIDs", + image, + volatility, + python, + pluginargs=("--pid", "4"), + ) + assert rc == 0 + assert out.find(b"Local System") != -1 + assert out.find(b"Administrators") != -1 + assert out.find(b"Everyone") != -1 + assert out.find(b"Authenticated Users") != -1 + + +class TestWindowsEnvars: + def test_windows_generic_envars(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.envars.Envars", image, volatility, python + ) + assert rc == 0 + assert out.find(b"PATH") != -1 + assert out.find(b"PROCESSOR_ARCHITECTURE") != -1 + assert out.find(b"USERNAME") != -1 + assert out.find(b"SystemRoot") != -1 + assert out.find(b"CommonProgramFiles") != -1 + assert out.count(b"\n") > 500 + + +class TestWindowsCallbacks: + def test_windows_generic_callbacks(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.callbacks.Callbacks", image, volatility, python + ) + assert rc == 0 + assert out.find(b"PspCreateProcessNotifyRoutine") != -1 + assert out.find(b"KeBugCheckCallbackListHead") != -1 + assert out.find(b"KeBugCheckReasonCallbackListHead") != -1 + assert out.count(b"KeBugCheckReasonCallbackListHead ") > 5 + + +class TestWindowsVadwalk: + def test_windows_generic_vadwalk(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.vadwalk.VadWalk", image, volatility, python + ) + assert rc == 0 + assert out.find(b"Vad") != -1 + assert out.find(b"VadS") != -1 + assert out.find(b"Vadl") != -1 + assert out.find(b"VadF") != -1 + assert out.find(b"0x0") != -1 + + +class TestWindowsDevicetree: + def test_windows_generic_devicetree(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.devicetree.DeviceTree", image, volatility, python + ) + assert rc == 0 + assert out.find(b"DEV") != -1 + assert out.find(b"DRV") != -1 + assert out.find(b"ATT") != -1 + assert out.find(b"FILE_DEVICE_CONTROLLER") != -1 + assert out.find(b"FILE_DEVICE_DISK") != -1 + assert out.find(b"FILE_DEVICE_DISK_FILE_SYSTEM") != -1 + + +class TestWindowsVadyarascan: + def test_windows_specific_vadyarascan_yara_rule(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + yara_rule_01 = r""" + rule fullvadyarascan + { + strings: + $s1 = "!This program cannot be run in DOS mode." + $s2 = "Qw))Pw" + $s3 = "W_wD)Pw" + $s4 = "1Xw+2Xw" + $s5 = "xd`wh``w" + $s6 = "0g`w0g`w8g`w8g`w@g`w@g`wHg`wHg`wPg`wPg`wXg`wXg`w`g`w`g`whg`whg`wpg`wpg`wxg`wxg`w" + condition: + all of them + } + """ + fd, filename = tempfile.mkstemp(suffix=".yar") + try: + with os.fdopen(fd, "w") as f: + f.write(yara_rule_01) + rc, out, _err = test_volatility.runvol_plugin( + "windows.vadyarascan.VadYaraScan", + image, + volatility, + python, + pluginargs=("--pid", "4012", "--yara-file", filename), + ) + finally: + with contextlib.suppress(FileNotFoundError): + os.remove(filename) + assert rc == 0 + assert out.count(b"\n") > 4 + + def test_windows_specific_vadyarascan_yara_string(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.vadyarascan.VadYaraScan", + image, + volatility, + python, + pluginargs=("--pid", "4012", "--yara-string", "MZ"), + ) + assert rc == 0 + assert out.count(b"\n") > 10 diff --git a/test/test_volatility.py b/test/test_volatility.py index 9cc9c3304..c376d3ccc 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -133,806 +133,8 @@ def basic_volshell_test(image, volatility, python, globalargs): return out -# WINDOWS - - -def test_windows_volshell(image, volatility, python): - out = basic_volshell_test(image, volatility, python, globalargs=["-w"]) - assert out.count(b" 40 - - -def test_windows_pslist(image, volatility, python): - rc, out, _err = runvol_plugin("windows.pslist.PsList", image, volatility, python) - out = out.lower() - assert out.find(b"system") != -1 - assert out.find(b"csrss.exe") != -1 - assert out.find(b"svchost.exe") != -1 - assert out.count(b"\n") > 10 - assert rc == 0 - - rc, out, _err = runvol_plugin( - "windows.pslist.PsList", image, volatility, python, pluginargs=["--pid", "4"] - ) - out = out.lower() - assert out.find(b"system") != -1 - assert out.count(b"\n") < 10 - assert rc == 0 - - -def test_windows_psscan(image, volatility, python): - rc, out, _err = runvol_plugin("windows.psscan.PsScan", image, volatility, python) - out = out.lower() - assert out.find(b"system") != -1 - assert out.find(b"csrss.exe") != -1 - assert out.find(b"svchost.exe") != -1 - assert out.count(b"\n") > 10 - assert rc == 0 - - -def test_windows_dlllist(image, volatility, python): - rc, out, _err = runvol_plugin("windows.dlllist.DllList", image, volatility, python) - out = out.lower() - assert out.count(b"\n") > 10 - assert rc == 0 - - -def test_windows_modules(image, volatility, python): - rc, out, _err = runvol_plugin("windows.modules.Modules", image, volatility, python) - out = out.lower() - assert out.count(b"\n") > 10 - assert rc == 0 - - -def test_windows_hivelist(image, volatility, python): - rc, out, _err = runvol_plugin( - "windows.registry.hivelist.HiveList", image, volatility, python - ) - out = out.lower() - - not_xp = out.find(b"\\systemroot\\system32\\config\\software") - if not_xp == -1: - assert ( - out.find(b"\\device\\harddiskvolume1\\windows\\system32\\config\\software") - != -1 - ) - - assert out.count(b"\n") > 10 - assert rc == 0 - - -def test_windows_dumpfiles(image, volatility, python): - - with open("./test/known_files.json") as json_file: - known_files = json.load(json_file) - - failed_chksms = 0 - file_name = os.path.basename(image) - - try: - for addr in known_files["windows_dumpfiles"][file_name]: - - path = tempfile.mkdtemp() - - rc, _out, _err = runvol_plugin( - "windows.dumpfiles.DumpFiles", - image, - volatility, - python, - globalargs=["-o", path], - pluginargs=["--virtaddr", addr], - ) - - for file in os.listdir(path): - with open(os.path.join(path, file), "rb") as fp: - if ( - hashlib.md5(fp.read()).hexdigest() - not in known_files["windows_dumpfiles"][file_name][addr] - ): - failed_chksms += 1 - - shutil.rmtree(path) - - json_file.close() - - assert failed_chksms == 0 - assert rc == 0 - except Exception as e: - json_file.close() - print("Key Error raised on " + str(e)) - assert False - - -def test_windows_handles(image, volatility, python): - rc, out, _err = runvol_plugin( - "windows.handles.Handles", image, volatility, python, pluginargs=["--pid", "4"] - ) - - assert out.find(b"System Pid 4") != -1 - assert ( - out.find( - b"MACHINE\\SYSTEM\\CONTROLSET001\\CONTROL\\SESSION MANAGER\\MEMORY MANAGEMENT\\PREFETCHPARAMETERS" - ) - != -1 - ) - assert out.find(b"MACHINE\\SYSTEM\\SETUP") != -1 - assert out.count(b"\n") > 500 - assert rc == 0 - - -def test_windows_svcscan(image, volatility, python): - rc, out, _err = runvol_plugin("windows.svcscan.SvcScan", image, volatility, python) - - assert out.find(b"Microsoft ACPI Driver") != -1 - assert out.count(b"\n") > 250 - assert rc == 0 - - -def test_windows_thrdscan(image, volatility, python): - rc, out, _err = runvol_plugin( - "windows.thrdscan.ThrdScan", image, volatility, python - ) - # find pid 4 (of system process) which starts with lowest tids - assert out.find(b"\t4\t8") != -1 - assert out.find(b"\t4\t12") != -1 - assert out.find(b"\t4\t16") != -1 - # assert out.find(b"this raieses AssertionError") != -1 - assert rc == 0 - - -def test_windows_privileges(image, volatility, python): - rc, out, _err = runvol_plugin( - "windows.privileges.Privs", image, volatility, python, pluginargs=["--pid", "4"] - ) - - assert out.find(b"SeCreateTokenPrivilege") != -1 - assert out.find(b"SeCreateGlobalPrivilege") != -1 - assert out.find(b"SeAssignPrimaryTokenPrivilege") != -1 - assert out.count(b"\n") > 20 - assert rc == 0 - - -def test_windows_getsids(image, volatility, python): - rc, out, _err = runvol_plugin( - "windows.getsids.GetSIDs", image, volatility, python, pluginargs=["--pid", "4"] - ) - - assert out.find(b"Local System") != -1 - assert out.find(b"Administrators") != -1 - assert out.find(b"Everyone") != -1 - assert out.find(b"Authenticated Users") != -1 - assert rc == 0 - - -def test_windows_envars(image, volatility, python): - rc, out, _err = runvol_plugin("windows.envars.Envars", image, volatility, python) - - assert out.find(b"PATH") != -1 - assert out.find(b"PROCESSOR_ARCHITECTURE") != -1 - assert out.find(b"USERNAME") != -1 - assert out.find(b"SystemRoot") != -1 - assert out.find(b"CommonProgramFiles") != -1 - assert out.count(b"\n") > 500 - assert rc == 0 - - -def test_windows_callbacks(image, volatility, python): - rc, out, _err = runvol_plugin( - "windows.callbacks.Callbacks", image, volatility, python - ) - - assert out.find(b"PspCreateProcessNotifyRoutine") != -1 - assert out.find(b"KeBugCheckCallbackListHead") != -1 - assert out.find(b"KeBugCheckReasonCallbackListHead") != -1 - assert out.count(b"KeBugCheckReasonCallbackListHead ") > 5 - assert rc == 0 - - -def test_windows_vadwalk(image, volatility, python): - rc, out, _err = runvol_plugin("windows.vadwalk.VadWalk", image, volatility, python) - - assert out.find(b"Vad") != -1 - assert out.find(b"VadS") != -1 - assert out.find(b"Vadl") != -1 - assert out.find(b"VadF") != -1 - assert out.find(b"0x0") != -1 - assert rc == 0 - - -def test_windows_devicetree(image, volatility, python): - rc, out, _err = runvol_plugin( - "windows.devicetree.DeviceTree", image, volatility, python - ) - - assert out.find(b"DEV") != -1 - assert out.find(b"DRV") != -1 - assert out.find(b"ATT") != -1 - assert out.find(b"FILE_DEVICE_CONTROLLER") != -1 - assert out.find(b"FILE_DEVICE_DISK") != -1 - assert out.find(b"FILE_DEVICE_DISK_FILE_SYSTEM") != -1 - assert rc == 0 - - -def test_windows_vadyarascan_yara_rule(image, volatility, python): - yara_rule_01 = r""" - rule fullvadyarascan - { - strings: - $s1 = "!This program cannot be run in DOS mode." - $s2 = "Qw))Pw" - $s3 = "W_wD)Pw" - $s4 = "1Xw+2Xw" - $s5 = "xd`wh``w" - $s6 = "0g`w0g`w8g`w8g`w@g`w@g`wHg`wHg`wPg`wPg`wXg`wXg`w`g`w`g`whg`whg`wpg`wpg`wxg`wxg`w" - condition: - all of them - } - """ - - # FIXME: When the minimum Python version includes 3.12, replace the following with: - # with tempfile.NamedTemporaryFile(delete_on_close=False) as fd: ... - fd, filename = tempfile.mkstemp(suffix=".yar") - try: - with os.fdopen(fd, "w") as f: - f.write(yara_rule_01) - - rc, out, _err = runvol_plugin( - "windows.vadyarascan.VadYaraScan", - image, - volatility, - python, - pluginargs=["--pid", "4012", "--yara-file", filename], - ) - finally: - with contextlib.suppress(FileNotFoundError): - os.remove(filename) - - out = out.lower() - assert out.count(b"\n") > 4 - assert rc == 0 - - -def test_windows_vadyarascan_yara_string(image, volatility, python): - rc, out, _err = runvol_plugin( - "windows.vadyarascan.VadYaraScan", - image, - volatility, - python, - pluginargs=["--pid", "4012", "--yara-string", "MZ"], - ) - out = out.lower() - - assert out.count(b"\n") > 10 - assert rc == 0 - - -# LINUX - - -def test_linux_volshell(image, volatility, python): - out = basic_volshell_test(image, volatility, python, globalargs=["-l"]) - assert out.count(b" 100 - - -def test_linux_pslist(image, volatility, python): - rc, out, _err = runvol_plugin("linux.pslist.PsList", image, volatility, python) - - assert rc == 0 - out = out.lower() - assert (out.find(b"init") != -1) or (out.find(b"systemd") != -1) - assert out.find(b"watchdog") != -1 - assert out.count(b"\n") > 10 - - -def test_linux_check_idt(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.check_idt.Check_idt", image, volatility, python - ) - - assert rc == 0 - out = out.lower() - assert out.count(b"__kernel__") >= 10 - assert out.count(b"\n") > 10 - - -def test_linux_check_syscall(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.check_syscall.Check_syscall", image, volatility, python - ) - - assert rc == 0 - out = out.lower() - assert out.find(b"sys_close") != -1 - assert out.find(b"sys_open") != -1 - assert out.count(b"\n") > 100 - - -def test_linux_lsmod(image, volatility, python): - rc, out, _err = runvol_plugin("linux.lsmod.Lsmod", image, volatility, python) - - assert rc == 0 - out = out.lower() - assert out.count(b"\n") > 10 - - -def test_linux_lsof(image, volatility, python): - rc, out, _err = runvol_plugin("linux.lsof.Lsof", image, volatility, python) - - assert rc == 0 - out = out.lower() - assert out.count(b"socket:") >= 10 - assert out.count(b"\n") > 35 - - -def test_linux_proc_maps(image, volatility, python): - rc, out, _err = runvol_plugin("linux.proc.Maps", image, volatility, python) - - assert rc == 0 - out = out.lower() - assert out.count(b"anonymous mapping") >= 10 - assert out.count(b"\n") > 100 - - -def test_linux_tty_check(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.tty_check.tty_check", image, volatility, python - ) - - assert rc == 0 - out = out.lower() - assert out.find(b"__kernel__") != -1 - assert out.count(b"\n") >= 5 - - -def test_linux_sockstat(image, volatility, python): - rc, out, _err = runvol_plugin("linux.sockstat.Sockstat", image, volatility, python) - - assert rc == 0 - assert out.count(b"AF_UNIX") >= 354 - assert out.count(b"AF_BLUETOOTH") >= 5 - assert out.count(b"AF_INET") >= 32 - assert out.count(b"AF_INET6") >= 20 - assert out.count(b"AF_PACKET") >= 1 - assert out.count(b"AF_NETLINK") >= 43 - - -def test_linux_library_list(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.library_list.LibraryList", - image, - volatility, - python, - pluginargs=["--pids", "2363"], - ) - - assert rc == 0 - assert re.search( - rb"NetworkManager\s2363\s0x7f52cdda0000\s/lib/x86_64-linux-gnu/libnss_files.so.2", - out, - ) - - assert out.count(b"\n") > 10 - - -def test_linux_pstree(image, volatility, python): - rc, out, _err = runvol_plugin("linux.pstree.PsTree", image, volatility, python) - - assert rc == 0 - out = out.lower() - assert (out.find(b"init") != -1) or (out.find(b"systemd") != -1) - assert out.count(b"\n") > 10 - - -def test_linux_pidhashtable(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.pidhashtable.PIDHashTable", image, volatility, python - ) - - assert rc == 0 - out = out.lower() - assert (out.find(b"init") != -1) or (out.find(b"systemd") != -1) - assert out.count(b"\n") > 10 - - -def test_linux_bash(image, volatility, python): - rc, out, _err = runvol_plugin("linux.bash.Bash", image, volatility, python) - - assert rc == 0 - assert out.count(b"\n") > 10 - - -def test_linux_boottime(image, volatility, python): - rc, out, _err = runvol_plugin("linux.boottime.Boottime", image, volatility, python) - - assert rc == 0 - out = out.lower() - assert out.count(b"utc") >= 1 - - -def test_linux_capabilities(image, volatility, python): - rc, out, err = runvol_plugin( - "linux.capabilities.Capabilities", - image, - volatility, - python, - globalargs=["-vvv"], - ) - - if rc != 0 and err.count(b"Unsupported kernel capabilities implementation") > 0: - # The linux-sample-1.bin kernel implementation isn't supported. - # However, we can still check that the plugin requirements are met. - return None - - assert rc == 0 - assert out.count(b"\n") > 10 - - -def test_linux_check_creds(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.check_creds.Check_creds", image, volatility, python - ) - - # linux-sample-1.bin has no processes sharing credentials. - # This validates that plugin requirements are met and exceptions are not raised. - assert rc == 0 - assert out.count(b"\n") >= 4 - - -def test_linux_elfs(image, volatility, python): - rc, out, _err = runvol_plugin("linux.elfs.Elfs", image, volatility, python) - - assert rc == 0 - assert out.count(b"\n") > 10 - - -def test_linux_envars(image, volatility, python): - rc, out, _err = runvol_plugin("linux.envars.Envars", image, volatility, python) - - assert rc == 0 - assert out.count(b"\n") > 10 - - -def test_linux_kthreads(image, volatility, python): - rc, out, err = runvol_plugin( - "linux.kthreads.Kthreads", - image, - volatility, - python, - globalargs=["-vvv"], - ) - - if rc != 0 and err.count(b"Unsupported kthread implementation") > 0: - # The linux-sample-1.bin kernel implementation isn't supported. - # However, we can still check that the plugin requirements are met. - return None - - assert rc == 0 - assert out.count(b"\n") >= 4 - - -def test_linux_malfind(image, volatility, python): - rc, out, _err = runvol_plugin("linux.malfind.Malfind", image, volatility, python) - - # linux-sample-1.bin has no process memory ranges with potential injected code. - # This validates that plugin requirements are met and exceptions are not raised. - assert rc == 0 - assert out.count(b"\n") >= 4 - - -def test_linux_mountinfo(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.mountinfo.MountInfo", image, volatility, python - ) - - assert rc == 0 - assert out.count(b"\n") > 10 - - -def test_linux_psaux(image, volatility, python): - rc, out, _err = runvol_plugin("linux.psaux.PsAux", image, volatility, python) - - assert rc == 0 - assert out.count(b"\n") > 50 - - -def test_linux_ptrace(image, volatility, python): - rc, out, _err = runvol_plugin("linux.ptrace.Ptrace", image, volatility, python) - - # linux-sample-1.bin has no processes being ptraced. - # This validates that plugin requirements are met and exceptions are not raised. - assert rc == 0 - assert out.count(b"\n") >= 4 - - -def test_linux_vmaregexscan(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.vmaregexscan.VmaRegExScan", - image, - volatility, - python, - pluginargs=["--pid", "1", "--pattern", "\\x7fELF"], - ) - - assert rc == 0 - assert out.count(b"\n") > 10 - - -def test_linux_vmayarascan_yara_rule(image, volatility, python): - yara_rule_01 = r""" - rule fullvmayarascan - { - strings: - $s1 = "_nss_files_parse_grent" - $s2 = "/lib64/ld-linux-x86-64.so.2" - $s3 = "(bufferend - (char *) 0) % sizeof (char *) == 0" - condition: - all of them - } - """ - - # FIXME: When the minimum Python version includes 3.12, replace the following with: - # with tempfile.NamedTemporaryFile(delete_on_close=False) as fd: ... - fd, filename = tempfile.mkstemp(suffix=".yar") - try: - with os.fdopen(fd, "w") as f: - f.write(yara_rule_01) - - rc, out, _err = runvol_plugin( - "linux.vmayarascan.VmaYaraScan", - image, - volatility, - python, - pluginargs=["--pid", "8600", "--yara-file", filename], - ) - finally: - with contextlib.suppress(FileNotFoundError): - os.remove(filename) - - assert rc == 0 - assert out.count(b"\n") > 4 - - -def test_linux_vmayarascan_yara_string(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.vmayarascan.VmaYaraScan", - image, - volatility, - python, - pluginargs=["--pid", "1", "--yara-string", "ELF"], - ) - - assert rc == 0 - assert out.count(b"\n") > 10 - - -def test_linux_page_cache_files(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.pagecache.Files", - image, - volatility, - python, - pluginargs=["--find", "/etc/passwd"], - ) - - assert rc == 0 - assert out.count(b"\n") > 4 - - # inode_num inode_addr ... file_path - assert re.search( - rb"146829\s0x88001ab5c270.*?/etc/passwd", - out, - ) - - -def test_linux_page_cache_inodepages(image, volatility, python): - - inode_address = hex(0x88001AB5C270) - inode_dump_filename = f"inode_{inode_address}.dmp" - - rc, out, _err = runvol_plugin( - "linux.pagecache.InodePages", - image, - volatility, - python, - pluginargs=["--inode", inode_address], - ) - - assert rc == 0 - assert out.count(b"\n") > 4 - - # PageVAddr PagePAddr MappingAddr .. DumpSafe - assert re.search( - rb"0xea000054c5f8\s0x18389000\s0x88001ab5c3b0.*?True", - out, - ) - - try: - rc, out, _err = runvol_plugin( - "linux.pagecache.InodePages", - image, - volatility, - python, - pluginargs=["--inode", inode_address, "--dump"], - ) - - assert rc == 0 - assert out.count(b"\n") >= 4 - - assert os.path.exists(inode_dump_filename) - with open(inode_dump_filename, "rb") as fp: - inode_contents = fp.read() - assert inode_contents.count(b"\n") > 30 - assert inode_contents.count(b"root:x:0:0:root:/root:/bin/bash") > 0 - finally: - with contextlib.suppress(FileNotFoundError): - os.remove(inode_dump_filename) - - -def test_linux_check_afinfo(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.check_afinfo.Check_afinfo", image, volatility, python - ) - - # linux-sample-1.bin has no suspicious results. - # This validates that plugin requirements are met and exceptions are not raised. - assert rc == 0 - assert out.count(b"\n") >= 4 - - -def test_linux_check_modules(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.check_modules.Check_modules", image, volatility, python - ) - - # linux-sample-1.bin has no suspicious results. - # This validates that plugin requirements are met and exceptions are not raised. - assert rc == 0 - assert out.count(b"\n") >= 4 - - -def test_linux_ebpf_progs(image, volatility, python): - rc, out, err = runvol_plugin( - "linux.ebpf.EBPF", - image, - volatility, - python, - globalargs=["-vvv"], - ) - - if rc != 0 and err.count(b"Unsupported kernel") > 0: - # The linux-sample-1.bin kernel implementation isn't supported. - # However, we can still check that the plugin requirements are met. - return None - - assert rc == 0 - assert out.count(b"\n") > 4 - - -def test_linux_iomem(image, volatility, python): - rc, out, _err = runvol_plugin("linux.iomem.IOMem", image, volatility, python) - - assert rc == 0 - assert out.count(b"\n") > 100 - - -def test_linux_keyboard_notifiers(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.keyboard_notifiers.Keyboard_notifiers", image, volatility, python - ) - - # linux-sample-1.bin has no suspicious results for this plugin. - # This validates that plugin requirements are met and exceptions are not raised. - assert rc == 0 - assert out.count(b"\n") >= 4 - - -def test_linux_kmesg(image, volatility, python): - rc, out, _err = runvol_plugin("linux.kmsg.Kmsg", image, volatility, python) - - assert rc == 0 - assert out.count(b"\n") > 100 - - -def test_linux_netfilter(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.netfilter.Netfilter", image, volatility, python - ) - - # linux-sample-1.bin has no suspicious results for this plugin. - # This validates that plugin requirements are met and exceptions are not raised. - assert rc == 0 - assert out.count(b"\n") >= 4 - - -def test_linux_psscan(image, volatility, python): - rc, out, _err = runvol_plugin("linux.psscan.PsScan", image, volatility, python) - - assert rc == 0 - assert out.count(b"\n") > 100 - - -def test_linux_hidden_modules(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.hidden_modules.Hidden_modules", image, volatility, python - ) - - # linux-sample-1.bin has no hidden modules. - # This validates that plugin requirements are met and exceptions are not raised. - assert rc == 0 - assert out.count(b"\n") >= 4 - - -def test_linux_ip_addr(image, volatility, python): - rc, out, err = runvol_plugin("linux.ip.Addr", image, volatility, python) - - assert re.search( - rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+False\s+192.168.201.161\s+24\s+global\s+UP", - out, - ) - assert re.search( - rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+False\s+fe80::20c:29ff:fe8f:edca\s+64\s+link\s+UP", - out, - ) - assert out.count(b"\n") >= 8 - assert rc == 0 - - -def test_linux_ip_link(image, volatility, python): - rc, out, err = runvol_plugin("linux.ip.Link", image, volatility, python) - - assert re.search( - rb"-\s+lo\s+00:00:00:00:00:00\s+UNKNOWN\s+16436\s+noqueue\s+0\s+LOOPBACK,LOWER_UP,UP", - out, - ) - assert re.search( - rb"-\s+eth0\s+00:0c:29:8f:ed:ca\s+UP\s+1500\s+pfifo_fast\s+1000\s+BROADCAST,LOWER_UP,MULTICAST,UP", - out, - ) - assert out.count(b"\n") >= 6 - assert rc == 0 - - -def test_linux_kallsyms(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.kallsyms.Kallsyms", - image, - volatility, - python, - pluginargs=["--modules"], - ) - # linux-sample-1.bin has no hidden modules. - # This validates that plugin requirements are met and exceptions are not raised. - assert rc == 0 - assert out.count(b"\n") > 1000 - - # Addr Type Size Exported SubSystem ModuleName SymbolName Description - # 0xffffa009eba9 t 28 False module usbcore usb_mon_register Symbol is in the text (code) section - assert re.search( - rb"0xffffa009eba9\s+t\s+28\s+False\s+module\s+usbcore\s+usb_mon_register\s+Symbol is in the text \(code\) section", - out, - ) - - -def test_linux_pscallstack(image, volatility, python): - rc, out, _err = runvol_plugin( - "linux.pscallstack.PsCallStack", - image, - volatility, - python, - pluginargs=["--pid", "1"], - ) - - assert rc == 0 - assert out.count(b"\n") > 30 - - # TID Comm Position Address Value Name Type Module - # 1 init 39 0x88001f999a40 0xffff81109039 do_select T kernel - assert re.search( - rb"1\s+init\s+39\s+0x88001f999a40.*?0xffff81109039\s+do_select\s+T\s+kernel", - out, - ) - - # MAC +# TODO: Migrate and integrate in testing (once analysis is fixed ?) def test_mac_volshell(image, volatility, python): From 32c3997560f9fce6e2c45914a54833f8da8b9e8f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 4 Mar 2025 17:04:15 +0100 Subject: [PATCH 1446/2186] update paths to os-specific testfiles --- .github/workflows/test.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ce2722457..6fbb93572 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -43,12 +43,12 @@ jobs: - name: Testing... run: | # VolShell - pytest ./test/test_volatility.py --volatility=volshell.py --image-dir=./test_images -k test_windows_volshell -v - pytest ./test/test_volatility.py --volatility=volshell.py --image-dir=./test_images -k test_linux_volshell -v + pytest ./test/plugins/windows/windows.py --volatility=volshell.py --image-dir=./test_images -k test_windows_volshell -v + pytest ./test/plugins/linux/linux.py --volatility=volshell.py --image-dir=./test_images -k test_linux_volshell -v # Volatility - pytest ./test/test_volatility.py --volatility=vol.py --image-dir=./test_images -k "test_windows and not test_windows_volshell" -v - pytest ./test/test_volatility.py --volatility=vol.py --image-dir=./test_images -k "test_linux and not test_linux_volshell" -v + pytest ./test/plugins/windows/windows.py --volatility=vol.py --image-dir=./test_images -k "test_windows and not test_windows_volshell" -v + pytest ./test/plugins/linux/linux.py --volatility=vol.py --image-dir=./test_images -k "test_linux and not test_linux_volshell" -v - name: Clean up post-test run: | From 8b634e49e1fcee00363ea75c3a5167ea9d047c8c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 4 Mar 2025 17:25:09 +0100 Subject: [PATCH 1447/2186] ubuntu 20.04 unsupported on 01/04/2025 --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ce2722457..a702d8b72 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -3,7 +3,7 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: python-version: ["3.8"] From 22594847d2712329d7888d92b47f8b0f81a522c8 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 4 Mar 2025 17:36:40 +0100 Subject: [PATCH 1448/2186] ubuntu 20.04 unsupported on 01/04/2025 --- .github/workflows/black.yml | 2 +- .github/workflows/build-pypi.yml | 2 +- .github/workflows/codeql.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index d755d9402..3df690543 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: lint: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: psf/black@stable diff --git a/.github/workflows/build-pypi.yml b/.github/workflows/build-pypi.yml index d1a63b4da..a150ef154 100644 --- a/.github/workflows/build-pypi.yml +++ b/.github/workflows/build-pypi.yml @@ -15,7 +15,7 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: python-version: ["3.8"] diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fa9bd7ef6..e2e741a9f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -23,7 +23,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: actions: read contents: read From 8c1e9f05341e8f630ab513f909b17d1eb45c6b52 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 5 Mar 2025 15:12:02 +0100 Subject: [PATCH 1449/2186] change args order to improve debugging ease --- test/plugins/windows/windows.py | 2 +- test/test_volatility.py | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index 4d8bb3e54..ce05af0cd 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -56,7 +56,7 @@ class TestWindowsPslist: "Wow64": False, "__children": [], } - assert test_volatility.match_output_row(json.loads(out), expected_row) + assert test_volatility.match_output_row(expected_row, json.loads(out)) class TestWindowsPsscan: diff --git a/test/test_volatility.py b/test/test_volatility.py index c376d3ccc..632a6bcde 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -72,23 +72,25 @@ def runvolshell(img, volshell, python, volshellargs=None, globalargs=None): def match_output_row( - json_out: List[dict], expected_row: dict, exact_match: bool = False + expected_row: dict, plugin_json_out: List[dict], exact_match: bool = False ): """Search each row of a plugin's JSON output for an expected row. Each row is a dict. Args: - json_out: The plugin's output in JSON format (typically obtained through -r json and json.loads) expected_row: The expected row to be found in the output + plugin_json_out: The plugin's output in JSON format (typically obtained through -r json and json.loads) exact_match: Whether to require exactly the expected row, no more no less, or to anticipate columns' addition by checking only the expected row keys and values """ if not exact_match: - for row in json_out: - if all(item in expected_row.items() for item in row.items()): + for row in plugin_json_out: + if all( + expected_item in row.items() for expected_item in expected_row.items() + ): return True else: - for row in json_out: + for row in plugin_json_out: if expected_row == row: return True From 4d7f1ea311fc75586445fc3415eea9b1a72e4f57 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 5 Mar 2025 22:33:53 +0000 Subject: [PATCH 1450/2186] Fix several bugs in IDT verification for Linux --- .../framework/plugins/linux/check_idt.py | 81 +++++++++++++------ 1 file changed, 55 insertions(+), 26 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_idt.py b/volatility3/framework/plugins/linux/check_idt.py index ffb707af5..653ecc081 100644 --- a/volatility3/framework/plugins/linux/check_idt.py +++ b/volatility3/framework/plugins/linux/check_idt.py @@ -3,7 +3,7 @@ # import logging -from typing import List +from typing import List, Optional import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3.framework import interfaces, renderers, symbols @@ -20,6 +20,9 @@ class Check_idt(interfaces.plugins.PluginInterface): _required_framework_version = (2, 0, 0) + # 2.0.0 - Add versioning at all, add `get_idt_type` + _version = (2, 0, 0) + @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ @@ -41,7 +44,42 @@ class Check_idt(interfaces.plugins.PluginInterface): ), ] + @staticmethod + def get_idt_type(context, vmlinux_name) -> Optional[str]: + """ + Determines the IDT type for this symbol table or returns None + + The original version ended clauses with an `else` leading to bad fall through + of returning a type that did not exist in the symbol table. + + Future updates should not leave fall through cases to avoid this repeating. + """ + + vmlinux = context.modules[vmlinux_name] + + is_32bit = not symbols.symbol_table_is_64bit(context, vmlinux.symbol_table_name) + + # These are in a specific order. Only append to the lists going forward + # or ask Andrew to run tests before merging. + if is_32bit: + idt_types = ["gate_struct", "desc_struct", "gate_struct32"] + else: + idt_types = ["gate_struct64", "gate_struct", "idt_desc"] + + for idt_type in idt_types: + if vmlinux.has_type(idt_type): + return idt_type + + return None + def _generator(self): + idt_type = self.get_idt_type(self.context, self.config["kernel"]) + if not idt_type: + vollog.error( + "Unable to determine the data structure type for IDT entries. Please file a bug on the GitHub tracker with your kernel version." + ) + return + vmlinux = self.context.modules[self.config["kernel"]] modules = lsmod.Lsmod.list_modules(self.context, vmlinux.name) @@ -50,30 +88,15 @@ class Check_idt(interfaces.plugins.PluginInterface): self.context, vmlinux.name, modules ) - is_32bit = not symbols.symbol_table_is_64bit( - self.context, vmlinux.symbol_table_name - ) - idt_table_size = 256 - address_mask = self.context.layers[vmlinux.layer_name].address_mask + kernel_layer = self.context.layers[vmlinux.layer_name] + + address_mask = kernel_layer.address_mask # hw handlers + system call check_idxs = list(range(20)) + [128] - if is_32bit: - if vmlinux.has_type("gate_struct"): - idt_type = "gate_struct" - else: - idt_type = "desc_struct" - else: - if vmlinux.has_type("gate_struct64"): - idt_type = "gate_struct64" - elif vmlinux.has_type("gate_struct"): - idt_type = "gate_struct" - else: - idt_type = "idt_desc" - addrs = vmlinux.object_from_symbol("idt_table") table = vmlinux.object( @@ -87,15 +110,16 @@ class Check_idt(interfaces.plugins.PluginInterface): for i in check_idxs: ent = table[i] - if not ent: + if not ent or not kernel_layer.is_valid(ent.vol.offset): continue - if hasattr(ent, "Address"): - idt_addr = ent.Address + if hasattr(ent, "a"): + idt_addr = (ent.b & 0xFFFF0000) | (ent.a & 0x0000FFFF) else: low = ent.offset_low middle = ent.offset_middle + # offset_high is for 64bit systems if hasattr(ent, "offset_high"): high = ent.offset_high else: @@ -105,11 +129,16 @@ class Check_idt(interfaces.plugins.PluginInterface): idt_addr = idt_addr & address_mask - module_name, symbol_name = ( - linux_utilities_modules.Modules.lookup_module_address( - self.context, vmlinux.name, handlers, idt_addr + # 0 means unintialized/unused, not a rootkit + if idt_addr == 0: + module_name = renderers.NotAvailableValue() + symbol_name = renderers.NotAvailableValue() + else: + module_name, symbol_name = ( + linux_utilities_modules.Modules.lookup_module_address( + self.context, vmlinux.name, handlers, idt_addr + ) ) - ) yield ( 0, From 6036cbd3e0250aa98c29f6af469b88738224cee4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 5 Mar 2025 22:42:07 +0000 Subject: [PATCH 1451/2186] Correctly use decode with replace to avoid backtraces on partially smeared strings --- volatility3/framework/plugins/linux/envars.py | 4 +++- volatility3/framework/plugins/linux/psaux.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index cc43c4130..0687caa9f 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -95,7 +95,9 @@ class Envars(plugins.PluginInterface): envar_data = envar_data.rstrip(b"\x00") for envar_pair in envar_data.split(b"\x00"): try: - env_key, env_value = envar_pair.decode().split("=", 1) + env_key, env_value = envar_pair.decode( + encoding="utf8", errors="replace" + ).split("=", 1) except ValueError: # Some legitimate programs, like 'avahi-daemon', avoid reallocating the args # and instead exploit the fact that the environment variables area is contiguous diff --git a/volatility3/framework/plugins/linux/psaux.py b/volatility3/framework/plugins/linux/psaux.py index a544c9d67..1a118dba6 100644 --- a/volatility3/framework/plugins/linux/psaux.py +++ b/volatility3/framework/plugins/linux/psaux.py @@ -78,7 +78,7 @@ class PsAux(plugins.PluginInterface): return renderers.UnreadableValue() # the arguments are null byte terminated, replace the nulls with spaces - s = argv.decode().split("\x00") + s = argv.decode(encoding="utf8", errors="replace").split("\x00") args = " ".join(s) else: # kernel thread From e5b0c8453210282895f859fc6474e0a70d01056a Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 5 Mar 2025 23:05:36 +0000 Subject: [PATCH 1452/2186] Prevent backtraces in netfilter due to smear --- .../framework/plugins/linux/netfilter.py | 29 +++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index c12c99d1e..9c8c9feb0 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -6,7 +6,7 @@ from abc import ABC, abstractmethod import logging import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from typing import Iterator, List, Tuple +from typing import Iterator, List, Tuple, Optional from volatility3 import framework from volatility3.framework import ( constants, @@ -245,7 +245,9 @@ class AbstractNetfilter(ABC): for hook_idx, hook_name in enumerate(proto.hooks): yield proto_idx, proto.name, hook_idx, hook_name - def build_nf_hook_ops_array(self, nf_hook_entries): + def build_nf_hook_ops_array( + self, nf_hook_entries + ) -> Optional[interfaces.objects.ObjectInterface]: """Function helper to build the nf_hook_ops array when it is not part of the struct 'nf_hook_entries' definition. @@ -260,16 +262,27 @@ class AbstractNetfilter(ABC): } """ nf_hook_entry_size = self.vmlinux.get_type("nf_hook_entry").size + + try: + num_hook_entries = nf_hook_entries.num_hook_entries + except exceptions.InvalidAddressException: + return None + orig_ops_addr = ( - nf_hook_entries.hooks.vol.offset - + nf_hook_entry_size * nf_hook_entries.num_hook_entries + nf_hook_entries.hooks.vol.offset + nf_hook_entry_size * num_hook_entries ) + + if not self.vmlinux._context.layers[self.vmlinux.layer_name].is_valid( + orig_ops_addr + ): + return None + orig_ops = self._context.object( object_type=self.get_symbol_fullname("array"), offset=orig_ops_addr, subtype=self.vmlinux.get_type("pointer"), layer_name=self.layer_name, - count=nf_hook_entries.num_hook_entries, + count=num_hook_entries, ) return orig_ops @@ -515,6 +528,9 @@ class NetfilterImp_4_14_to_4_16(AbstractNetfilter): nf_hook_ops_name = self.get_symbol_fullname("nf_hook_ops") nf_hook_ops_ptr_arr = self.build_nf_hook_ops_array(nf_hook_entries) + if not nf_hook_ops_ptr_arr: + return + for nf_hook_ops_ptr in nf_hook_ops_ptr_arr: nf_hook_ops = nf_hook_ops_ptr.dereference().cast(nf_hook_ops_name) yield nf_hook_ops @@ -695,6 +711,9 @@ class NetfilterNetDevImp_4_14_to_latest(AbstractNetfilterNetDev): nf_hook_ops_name = self.get_symbol_fullname("nf_hook_ops") nf_hook_ops_ptr_arr = self.build_nf_hook_ops_array(nf_hook_entries) + if not nf_hook_ops_ptr_arr: + return + for nf_hook_ops_ptr in nf_hook_ops_ptr_arr: nf_hook_ops = nf_hook_ops_ptr.dereference().cast(nf_hook_ops_name) yield nf_hook_ops From 86ef99f57a76763c3e35b99fb950a5ab2193f0a3 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 5 Mar 2025 23:10:27 +0000 Subject: [PATCH 1453/2186] Properly decode values from ELF files even with partial smear --- volatility3/framework/symbols/linux/extensions/elf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index 89a421402..f2bfa89bd 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -446,7 +446,7 @@ class elf_linkmap(objects.StructType): idx = buf.find(b"\x00") if idx != -1: buf = buf[:idx] - return buf.decode() + return buf.decode("utf-8", errors="ignore") class_types = { From bfab5bfd235b5d5e308b945e3fa339de2c297fed Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 5 Mar 2025 23:11:37 +0000 Subject: [PATCH 1454/2186] Properly decode values from ELF files even with partial smear --- volatility3/framework/symbols/linux/extensions/elf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index f2bfa89bd..7105a05ea 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -340,7 +340,7 @@ class elf_sym(objects.StructType): if idx != -1: name_bytes = name_bytes[:idx] - return name_bytes.decode("utf-8", errors="ignore") + return name_bytes.decode("utf-8", errors="replace") class elf_phdr(objects.StructType): @@ -446,7 +446,7 @@ class elf_linkmap(objects.StructType): idx = buf.find(b"\x00") if idx != -1: buf = buf[:idx] - return buf.decode("utf-8", errors="ignore") + return buf.decode("utf-8", errors="replace") class_types = { From 86fa9d855698711910786a2d62ab153eb991fe88 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 5 Mar 2025 23:15:14 +0000 Subject: [PATCH 1455/2186] Ensure slot address is valid inside of array --- volatility3/framework/symbols/linux/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 5f6a66860..8c2288c13 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -702,7 +702,11 @@ class IDStorage(ABC): node = self.nodep_to_node(nodep) node_slots = node.slots for off in range(self.CHUNK_SIZE): - slot = node_slots[off] + try: + slot = node_slots[off] + except exceptions.InvalidAddressException: + continue + if slot == 0: continue From 3141a741ebd3b7fe921fcd29e21be402eecd96be Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 5 Mar 2025 23:21:21 +0000 Subject: [PATCH 1456/2186] Gracefully terminate the plugin when the keyboard notifier list head is paged out --- volatility3/framework/plugins/linux/keyboard_notifiers.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/volatility3/framework/plugins/linux/keyboard_notifiers.py b/volatility3/framework/plugins/linux/keyboard_notifiers.py index 8577de848..726280cbe 100644 --- a/volatility3/framework/plugins/linux/keyboard_notifiers.py +++ b/volatility3/framework/plugins/linux/keyboard_notifiers.py @@ -61,6 +61,10 @@ class Keyboard_notifiers(interfaces.plugins.PluginInterface): "This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." ) + if not self.context.layers[vmlinux.layer_name].is_valid(knl_addr.vol.offset): + vollog.error("The head of the keyboard notifier list is paged out.") + return + knl = vmlinux.object( object_type="atomic_notifier_head", offset=knl_addr.vol.offset, From 56d7398fe50c3a0d4eca99fb24bbb530c1f66168 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 5 Mar 2025 23:25:52 +0000 Subject: [PATCH 1457/2186] Prevent backtraces when the node head is smeared --- volatility3/framework/symbols/linux/__init__.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 5f6a66860..6e8a44db1 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -669,7 +669,7 @@ class IDStorage(ABC): raise NotImplementedError @abstractmethod - def get_head_node(self, tree) -> int: + def get_head_node(self, tree) -> Optional[int]: """Returns a pointer to the tree's head""" raise NotImplementedError @@ -763,8 +763,11 @@ class XArray(IDStorage): node = self.nodep_to_node(nodep) return (node.shift // self.CHUNK_SHIFT) + 1 - def get_head_node(self, tree) -> int: - return tree.xa_head + def get_head_node(self, tree) -> Optional[int]: + try: + return tree.xa_head + except exceptions.InvalidAddressException: + return None def node_is_internal(self, nodep) -> bool: return (nodep & self.XARRAY_TAG_MASK) == self.XARRAY_TAG_INTERNAL @@ -872,8 +875,11 @@ class RadixTree(IDStorage): return height - def get_head_node(self, tree) -> int: - return tree.rnode + def get_head_node(self, tree) -> Optional[int]: + try: + return tree.rnode + except exceptions.InvalidAddressException: + return None def node_is_internal(self, nodep) -> bool: return (nodep & self.RADIX_TREE_INTERNAL_NODE) != 0 From 437c611cb9a01e24323fbcb225b757280334c5aa Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 5 Mar 2025 23:45:38 +0000 Subject: [PATCH 1458/2186] Avoid smear in module enumeration paths --- volatility3/framework/plugins/linux/check_modules.py | 6 +++++- .../framework/symbols/linux/utilities/tainting.py | 10 ++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index 0ed638d9c..23da29680 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -65,7 +65,11 @@ class Check_modules(plugins.PluginInterface): mod = mod_kobj.mod - name = utility.pointer_to_string(kobj.name, 32) + try: + name = utility.pointer_to_string(kobj.name, 32) + except exceptions.InvalidAddressException: + continue + if kobj.name and kobj.reference_count() > 2: ret[name] = mod diff --git a/volatility3/framework/symbols/linux/utilities/tainting.py b/volatility3/framework/symbols/linux/utilities/tainting.py index 2360401d5..cb81ab1a3 100644 --- a/volatility3/framework/symbols/linux/utilities/tainting.py +++ b/volatility3/framework/symbols/linux/utilities/tainting.py @@ -93,8 +93,14 @@ class Tainting(interfaces.configuration.VersionableInterface): ): if is_module and not taint_flag.module: continue - c_true = chr(taint_flag.c_true) - c_false = chr(taint_flag.c_false) + + try: + c_true = chr(taint_flag.c_true) + c_false = chr(taint_flag.c_false) + except ValueError: + # thrown when the c_true or c_false values are out of range + continue + if taints & (1 << taint_bit): taints_string += c_true elif c_false != " ": From b92247fe32e8c4a2340683c5934465c70b6d8cf4 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 3 Sep 2024 18:56:03 -0500 Subject: [PATCH 1459/2186] Windows: Adds windows GUI vtypes --- .../windows/gui/gui-win10-10586-x64.json | 18787 +++++++++++++++ .../windows/gui/gui-win10-15063-x64.json | 18787 +++++++++++++++ .../windows/gui/gui-win10-16299-x64.json | 18787 +++++++++++++++ .../windows/gui/gui-win10-17134-x64.json | 18830 ++++++++++++++++ .../windows/gui/gui-win10-17763-x64.json | 18830 ++++++++++++++++ .../windows/gui/gui-win10-18362-x64.json | 18830 ++++++++++++++++ .../windows/gui/gui-win10-19041-x64.json | 18830 ++++++++++++++++ .../windows/gui/gui-win10-19577-x64.json | 18830 ++++++++++++++++ .../symbols/windows/gui/gui-win7sp0-x64.json | 18683 +++++++++++++++ .../symbols/windows/gui/gui-win7sp1-x64.json | 18680 +++++++++++++++ .../symbols/windows/gui/gui-win8-x64.json | 18743 +++++++++++++++ 11 files changed, 206617 insertions(+) create mode 100644 volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json create mode 100644 volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json create mode 100644 volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json create mode 100644 volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json create mode 100644 volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json create mode 100644 volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json create mode 100644 volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json create mode 100644 volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json create mode 100644 volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json create mode 100644 volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json create mode 100644 volatility3/framework/symbols/windows/gui/gui-win8-x64.json diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json new file mode 100644 index 000000000..5f280725c --- /dev/null +++ b/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json @@ -0,0 +1,18787 @@ +{ + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 656 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 440 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 784 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 784 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 216 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 32 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 160 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json new file mode 100644 index 000000000..26e7356b9 --- /dev/null +++ b/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json @@ -0,0 +1,18787 @@ +{ + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 792 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 656 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 440 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 776 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 32 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json new file mode 100644 index 000000000..bde774987 --- /dev/null +++ b/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json @@ -0,0 +1,18787 @@ +{ + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 880 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 712 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 464 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 784 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 32 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json new file mode 100644 index 000000000..cd5ca7169 --- /dev/null +++ b/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json @@ -0,0 +1,18830 @@ +{ + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 880 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 728 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 464 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 456 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 824 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "subPointer": { + "type": { + "subtype": { + "kind": "struct", + "name": "subTagWNDType" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "directName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!String" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "subTagWNDType": { + "fields": { + "style_bitmask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + } + }, + "kind": "struct", + "size": 128 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 40 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json new file mode 100644 index 000000000..00d3f61f3 --- /dev/null +++ b/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json @@ -0,0 +1,18830 @@ +{ + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 896 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 736 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 480 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 456 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 824 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "subPointer": { + "type": { + "subtype": { + "kind": "struct", + "name": "subTagWNDType" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "directName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!String" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "subTagWNDType": { + "fields": { + "style_bitmask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + } + }, + "kind": "struct", + "size": 128 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 40 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json new file mode 100644 index 000000000..dc458970e --- /dev/null +++ b/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json @@ -0,0 +1,18830 @@ +{ + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 904 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 736 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 480 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 456 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 824 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "subPointer": { + "type": { + "subtype": { + "kind": "struct", + "name": "subTagWNDType" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "directName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!String" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "subTagWNDType": { + "fields": { + "style_bitmask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + } + }, + "kind": "struct", + "size": 128 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 40 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json new file mode 100644 index 000000000..09f518451 --- /dev/null +++ b/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json @@ -0,0 +1,18830 @@ +{ + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 896 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 736 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 480 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 456 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 832 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "subPointer": { + "type": { + "subtype": { + "kind": "struct", + "name": "subTagWNDType" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "directName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!String" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "subTagWNDType": { + "fields": { + "style_bitmask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + } + }, + "kind": "struct", + "size": 128 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 40 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json new file mode 100644 index 000000000..5c9f4d814 --- /dev/null +++ b/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json @@ -0,0 +1,18830 @@ +{ + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 904 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 736 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 480 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 456 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 832 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "subPointer": { + "type": { + "subtype": { + "kind": "struct", + "name": "subTagWNDType" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "directName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!String" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "subTagWNDType": { + "fields": { + "style_bitmask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + } + }, + "kind": "struct", + "size": 128 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 40 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json b/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json new file mode 100644 index 000000000..6c2e7dd17 --- /dev/null +++ b/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json @@ -0,0 +1,18683 @@ +{ + "symbols": {}, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + }, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 552 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 384 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 344 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 608 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 408 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 736 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 344 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "bType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 216 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 32 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + } +} diff --git a/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json b/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json new file mode 100644 index 000000000..76e3d8100 --- /dev/null +++ b/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json @@ -0,0 +1,18680 @@ +{ + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 552 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 384 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 344 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 608 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 408 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 736 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 344 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_180f": { + "fields": { + "Data": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "bType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fAssigned": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 216 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 32 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/gui/gui-win8-x64.json b/volatility3/framework/symbols/windows/gui/gui-win8-x64.json new file mode 100644 index 000000000..3f3193e35 --- /dev/null +++ b/volatility3/framework/symbols/windows/gui/gui-win8-x64.json @@ -0,0 +1,18743 @@ +{ + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 552 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 736 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 640 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 408 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 384 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 344 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "f32" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 216 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 32 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 160 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + } +} From 319edbb486a9be534364fdb6157e28512f618c3a Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 4 Sep 2024 11:38:38 -0500 Subject: [PATCH 1460/2186] Windows: Adds windows OS version checks --- .../framework/symbols/windows/versions.py | 53 ++++++++++++++++++- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/windows/versions.py b/volatility3/framework/symbols/windows/versions.py index 495655681..6b5b9846a 100644 --- a/volatility3/framework/symbols/windows/versions.py +++ b/volatility3/framework/symbols/windows/versions.py @@ -1,7 +1,7 @@ import logging -from typing import Callable, Tuple, List, Optional +from typing import Callable, List, Optional, Tuple -from volatility3.framework import interfaces, constants, exceptions +from volatility3.framework import constants, exceptions, interfaces vollog = logging.getLogger(__name__) @@ -187,6 +187,22 @@ is_win10_16299_or_later = OsDistinguisher( ], ) +is_win10_17134_or_later = OsDistinguisher( + version_check=lambda x: x >= (10, 0, 17134), + fallback_checks=[ + ("_EPROCESS", "ProcessFirstResume", True), + ("_EPROCESS", "HighMemoryPriority", True), + ], +) + +is_win10_10586_or_later = OsDistinguisher( + version_check=lambda x: x >= (10, 0, 10586), + fallback_checks=[ + ("_EPROCESS", "SecurityDomain", False), + ("_EPROCESS", "ImageFilePointer", False), + ], +) + is_win10_17763_or_later = OsDistinguisher( version_check=lambda x: x >= (10, 0, 17763), fallback_checks=[ @@ -218,6 +234,14 @@ is_win10_19041_or_later = OsDistinguisher( ], ) +is_win10_19577_or_later = OsDistinguisher( + version_check=lambda x: x >= (10, 0, 19577), + fallback_checks=[ + ("_EPROCESS", "PaeTop", False), + ("_EPROCESS", "IdealProcessorAssignmentBlock", True), + ], +) + is_win10_25398_or_later = OsDistinguisher( version_check=lambda x: x >= (10, 0, 25398), fallback_checks=[ @@ -235,6 +259,31 @@ is_windows_8_or_later = OsDistinguisher( version_check=lambda x: x >= (6, 2), fallback_checks=[("_HANDLE_TABLE", "HandleCount", False)], ) + +is_windows_7_sp0 = OsDistinguisher( + version_check=lambda x: x == (6, 1, 7600), + fallback_checks=[ + ("_EPROCESS", "VdmObjects", True), + ("_EPROCESS", "UmsScheduledThreads", False), + # Dropped after vista + ("_EPROCESS", "QuotaUsage", False), + # Added win8 + ("_EPROCESS", "WnfContext", False), + ], +) + +is_windows_7_sp1 = OsDistinguisher( + version_check=lambda x: x == (6, 1, 7601), + fallback_checks=[ + ("_EPROCESS", "VdmObjects", False), + ("_EPROCESS", "UmsScheduledThreads", True), + # Dropped after vista + ("_EPROCESS", "QuotaUsage", False), + # Added win8 + ("_EPROCESS", "WnfContext", False), + ], +) + # Technically, this is win7 or less is_windows_7 = OsDistinguisher( version_check=lambda x: x == (6, 1), From 59919dc1daa43e912f13a16cc8b12c0b3e66ae25 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 4 Sep 2024 11:38:56 -0500 Subject: [PATCH 1461/2186] Windows: Adds GUI plugin --- volatility3/framework/plugins/windows/gui.py | 114 +++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 volatility3/framework/plugins/windows/gui.py diff --git a/volatility3/framework/plugins/windows/gui.py b/volatility3/framework/plugins/windows/gui.py new file mode 100644 index 000000000..1cce5b7f3 --- /dev/null +++ b/volatility3/framework/plugins/windows/gui.py @@ -0,0 +1,114 @@ +# This file is Copyright 2020 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +import os +from itertools import count +from typing import List, Tuple + +from volatility3.framework import interfaces, renderers, symbols +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.windows import versions + +# from volatility3.plugins.windows import pslist, vadinfo, modules + +vollog = logging.getLogger(__name__) + + +class WinGUI(interfaces.plugins.PluginInterface): + """Parses information about Windows GUI Objects""" + + _required_framework_version = (2, 0, 0) + + # These checks must be completed from newest -> oldest OS version. + _win_version_file_map: List[Tuple[versions.OsDistinguisher, str]] = [ + (versions.is_win10_19577_or_later, "gui-win10-19577-x64"), + (versions.is_win10_19041_or_later, "gui-win10-19041-x64"), + (versions.is_win10_18362_or_later, "gui-win10-18362-x64"), + (versions.is_win10_17763_or_later, "gui-win10-17763-x64"), + (versions.is_win10_17134_or_later, "gui-win10-17134-x64"), + (versions.is_win10_16299_or_later, "gui-win10-16299-x64"), + (versions.is_win10_15063_or_later, "gui-win10-15063-x64"), + (versions.is_win10_10586_or_later, "gui-win10-10586-x64"), + (versions.is_windows_8_or_later, "gui-win8-x64"), + (versions.is_windows_7_sp1, "gui-win7sp1-x64"), + (versions.is_windows_7_sp0, "gui-win7sp0-x64"), + ] + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + ] + + @staticmethod + def create_gui_table( + context: interfaces.context.ContextInterface, + symbol_table: str, + config_path: str, + ) -> str: + """Creates a symbol table for windows GUI types + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + symbol_table: The name of an existing symbol table containing the kernel symbols + config_path: The configuration path within the context of the symbol table to create + + Returns: + The name of the constructed GUI table + """ + native_types = context.symbol_space[symbol_table].natives + + if not symbols.symbol_table_is_64bit(context, symbol_table): + raise NotImplementedError( + "This plugin only supports x64 versions of Windows" + ) + + table_mapping = {"nt_symbols": symbol_table} + + try: + symbol_filename = next( + filename + for version_check, filename in WinGUI._win_version_file_map + if version_check(context=context, symbol_table=symbol_table) + ) + except StopIteration: + raise NotImplementedError("This version of Windows is not supported!") + + vollog.debug(f"Using GUI table {symbol_filename}") + + return intermed.IntermediateSymbolTable.create( + context, + config_path, + os.path.join("windows", "gui"), + symbol_filename, + native_types=native_types, + table_mapping=table_mapping, + ) + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + gui_table = self.create_gui_table( + self.context, kernel.symbol_table_name, self.config_path + ) + + c = count() + for _ in range(10): + yield ( + 0, + (next(c), tuple()), + ) + + def run(self): + return renderers.TreeGrid( + [], + self._generator(), + ) From 5cbc07887c2a26fd58b3866fb76adfa72019ab7b Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 14:33:29 -0600 Subject: [PATCH 1462/2186] Windows PsList: Add method for listing procs from kernel This adds a new classmethod, `list_processes_from_kernel`, updates the `list_processes` method signature to use only the kernel module name and the context instead of splitting information about the kernel between the layer_name and symbol_table_name paramters, and does a major version number increase on the plugin. Also updates the documentation to reflect pslist method signature change. Co-authored-by: Andrew Case --- doc/source/simple-plugin.rst | 8 +++--- .../framework/plugins/windows/pslist.py | 26 ++++++++++++------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/doc/source/simple-plugin.rst b/doc/source/simple-plugin.rst index 07d9e1467..a6916a027 100644 --- a/doc/source/simple-plugin.rst +++ b/doc/source/simple-plugin.rst @@ -198,7 +198,6 @@ that will be output as part of the :py:class:`~volatility3.framework.interfaces. def run(self): filter_func = pslist.PsList.create_pid_filter(self.config.get('pid', None)) - kernel = self.context.modules[self.config['kernel']] return renderers.TreeGrid( [ @@ -211,9 +210,8 @@ that will be output as part of the :py:class:`~volatility3.framework.interfaces. ], self._generator( pslist.PsList.list_processes( - self.context, - kernel.layer_name, - kernel.symbol_table_name, + context=self.context, + kernel_module_name=self.config['kernel'], filter_func = filter_func ) ) @@ -235,7 +233,7 @@ the :py:class:`~volatility3.plugins.windows.pslist.PsList` plugin. That plugin so that other plugins can call it. As such, it takes all the necessary parameters rather than accessing them from a configuration. Since it must be portable code, it takes a context, as well as the layer name, symbol table and optionally a filter. In this instance we unconditionally -pass it the values from the configuration for the layer and symbol table from the kernel module object, constructed from +pass it the value from the configuration for the kernel module name, constructed from the ``kernel`` configuration requirement. This will generate a list of :py:class:`~volatility3.framework.symbols.windows.extensions.EPROCESS` objects, as provided by the :py:class:`~volatility.plugins.windows.pslist.PsList` plugin, and is not covered here but is used as an example for how to share code across plugins diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 3d3f12869..7909945a1 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -22,7 +22,9 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists the processes present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 1) + + # 3.0.0 - changed signature for `list_processes` + _version = (3, 0, 0) PHYSICAL_DEFAULT = False @classmethod @@ -206,32 +208,37 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): def list_processes( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, filter_func: Callable[ [interfaces.objects.ObjectInterface], bool ] = lambda _: False, ) -> Iterator["extensions.EPROCESS"]: - """Lists all the processes in the primary layer that are in the pid + """Lists all the processes in the given layer that are in the pid config option. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + layer_iname: The name of the layer on which to operate + symbol_table_name: The name of the table containing the kernel symbols filter_func: A function which takes an EPROCESS object and returns True if the process should be ignored/filtered Returns: The list of EPROCESS objects from the `layer_name` layer's PsActiveProcessHead list after filtering """ + kernel = context.modules[kernel_module_name] + # We only use the object factory to demonstrate how to use one - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + kvo = context.layers[kernel.layer_name].config.get( + "kernel_virtual_offset", None + ) if not kvo: raise ValueError( "Intel layer does not have an associated kernel virtual offset, failing" ) - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + ntkrnlmp = context.module( + kernel.symbol_table_name, layer_name=kernel.layer_name, offset=kvo + ) ps_aph_offset = ntkrnlmp.get_symbol("PsActiveProcessHead").address list_entry = ntkrnlmp.object(object_type="_LIST_ENTRY", offset=ps_aph_offset) @@ -273,8 +280,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): for proc in self.list_processes( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], filter_func=self.create_pid_filter(self.config.get("pid", None)), ): if not self.config.get("physical", self.PHYSICAL_DEFAULT): From 2f016d7403519ed86913cd437e6fdd7cdb96f69c Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 14:27:39 -0600 Subject: [PATCH 1463/2186] Windows Modules/Modscan: Clean up APIs This cleans up the APIs for some methods in the modscan/modules plugins that currently take separate symbol_table_name and layer_name parameters, when it really makes more sense to just pass in the context and the kernel module name. It also updates the pslist plugin requirement version, and uses the updated method signatures. Co-authored-by: Andrew Case --- .../framework/plugins/windows/modscan.py | 21 ++-- .../framework/plugins/windows/modules.py | 106 +++++++++++++----- 2 files changed, 88 insertions(+), 39 deletions(-) diff --git a/volatility3/framework/plugins/windows/modscan.py b/volatility3/framework/plugins/windows/modscan.py index fc45e6913..76c30ac9c 100644 --- a/volatility3/framework/plugins/windows/modscan.py +++ b/volatility3/framework/plugins/windows/modscan.py @@ -15,7 +15,9 @@ class ModScan(modules.Modules): """Scans for modules present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + + # 3.0.0 changed the signature of enumeration methods (scan_modules) + _version = (3, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -33,7 +35,7 @@ class ModScan(modules.Modules): name="poolscanner", component=poolscanner.PoolScanner, version=(1, 0, 0) ), requirements.VersionRequirement( - name="modules", component=modules.Modules, version=(2, 0, 0) + name="modules", component=modules.Modules, version=(3, 0, 0) ), requirements.BooleanRequirement( name="dump", @@ -61,26 +63,25 @@ class ModScan(modules.Modules): def scan_modules( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, ) -> Iterable[interfaces.objects.ObjectInterface]: """Scans for modules using the poolscanner module and constraints. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols - + kernel_module_name: Name of the module for the kernel Returns: - A list of Driver objects as found from the `layer_name` layer based on Driver pool signatures + A list of kernel module objects as found from the primary (kernel) layer based on module pool signatures """ + kernel = context.modules[kernel_module_name] + constraints = poolscanner.PoolScanner.builtin_constraints( - symbol_table, [b"MmLd"] + kernel.symbol_table_name, [b"MmLd"] ) for result in poolscanner.PoolScanner.generate_pool_scan( - context, layer_name, symbol_table, constraints + context, kernel.layer_name, kernel.symbol_table_name, constraints ): _constraint, mem_object, _header = result yield mem_object diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 44a67f472..c4f6af4bc 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import Generator, Iterable, List, Optional +from typing import Generator, Iterable, List, Optional, Dict from volatility3.framework import symbols, constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements @@ -18,7 +18,9 @@ class Modules(interfaces.plugins.PluginInterface): """Lists the loaded kernel modules.""" _required_framework_version = (2, 0, 0) - _version = (2, 1, 0) + + # 3.0.0 - changed signature of get_session_layers, added get_session_layers_map + _version = (3, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -33,7 +35,7 @@ class Modules(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.BooleanRequirement( name="dump", @@ -76,8 +78,6 @@ class Modules(interfaces.plugins.PluginInterface): return file_output def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - pe_table_name = None session_layers = None @@ -92,13 +92,12 @@ class Modules(interfaces.plugins.PluginInterface): session_layers = list( self.get_session_layers( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, + self.config["kernel"], ) ) - for mod in self._enumeration_method( - self.context, kernel.layer_name, kernel.symbol_table_name - ): + for mod in self._enumeration_method(self.context, self.config["kernel"]): if self.config["base"] and self.config["base"] != mod.DllBase: continue @@ -163,11 +162,10 @@ class Modules(interfaces.plugins.PluginInterface): return kernel_space_start & layer.address_mask @classmethod - def get_session_layers( + def _do_get_session_layers( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, pids: Optional[List[int]] = None, ) -> Generator[str, None, None]: """Build a cache of possible virtual layers, in priority starting with @@ -176,20 +174,20 @@ class Modules(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module for the kernel pids: A list of process identifiers to include exclusively or None for no filter Returns: - A list of session layer names + A generator of session layer names """ seen_ids: List[interfaces.objects.ObjectInterface] = [] filter_func = pslist.PsList.create_pid_filter(pids or []) + kernel = context.modules[kernel_module_name] + for proc in pslist.PsList.list_processes( - context=context, - layer_name=layer_name, - symbol_table=symbol_table, + context, + kernel_module_name, filter_func=filter_func, ): proc_id = "Unknown" @@ -201,8 +199,8 @@ class Modules(interfaces.plugins.PluginInterface): # not all processes have a valid session pointer. try: session_space = context.object( - symbol_table + constants.BANG + "_MM_SESSION_SPACE", - layer_name=layer_name, + kernel.symbol_table_name + constants.BANG + "_MM_SESSION_SPACE", + layer_name=kernel.layer_name, offset=proc.Session, ) session_id = session_space.SessionId @@ -218,8 +216,10 @@ class Modules(interfaces.plugins.PluginInterface): # create an unsigned long at that offset and use that # instead. session_id = context.object( - layer_name=layer_name, - object_type=symbol_table + constants.BANG + "unsigned long", + layer_name=kernel.layer_name, + object_type=kernel.symbol_table_name + + constants.BANG + + "unsigned long", offset=proc.Session + 8, ) @@ -235,8 +235,53 @@ class Modules(interfaces.plugins.PluginInterface): # save the layer if we haven't seen the session yet seen_ids.append(session_id) + yield session_id, proc_layer_name + + @classmethod + def get_session_layers( + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + pids: Optional[List[int]] = None, + ) -> Generator[str, None, None]: + """ + Args: + context: The context to retrieve required elements (layers, symbol tables) from + kernel_module_name: The name of the module for the kernel + pids: A list of process identifiers to include exclusively or None for no filter + + Yields the names of the unique memory layers that map sessions + """ + for _session_id, proc_layer_name in cls._do_get_session_layers( + context, kernel_module_name, pids + ): yield proc_layer_name + @classmethod + def get_session_layers_map( + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + pids: Optional[List[int]] = None, + ) -> Dict[int, str]: + """ + Args: + context: The context to retrieve required elements (layers, symbol tables) from + kernel_module_name: The name of the module for the kernel + pids: A list of process identifiers to include exclusively or None for no filter + + Wraps `_do_get_session_layers` to produce a dictionary where each key is a session_id + and the value is the name of the layer for that session + """ + sessions: Dict[int, str] = {} + + for session_id, proc_layer_name in cls._do_get_session_layers( + context, kernel_module_name, pids + ): + sessions[session_id] = proc_layer_name + + return sessions + @classmethod def find_session_layer( cls, @@ -268,26 +313,29 @@ class Modules(interfaces.plugins.PluginInterface): def list_modules( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, ) -> Iterable[interfaces.objects.ObjectInterface]: """Lists all the modules in the primary layer. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols - + kernel_module_name: The name of the module for the kernel Returns: A list of Modules as retrieved from PsLoadedModuleList """ - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) + kernel = context.modules[kernel_module_name] + + kvo = context.layers[kernel.layer_name].config.get( + "kernel_virtual_offset", None + ) if not kvo: raise ValueError( "Intel layer does not have an associated kernel virtual offset, failing" ) - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + ntkrnlmp = context.module( + kernel.symbol_table_name, layer_name=kernel.layer_name, offset=kvo + ) try: # use this type if its available (starting with windows 10) From 9239742b6fac559faf56d5ff6760ede66645136a Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 11:42:54 -0600 Subject: [PATCH 1464/2186] Windows SSDT: Simplify `build_module_collection` signature This simplifies the `build_module_collection` signature to take a single `kernel_module_name` parameter instead of `layer_name` and `symbol_table_name` parameters, both of which would only ever belong to the kernel anyway. This will prevent future confusion for consumers of this method. Co-authored-by: Andrew Case --- volatility3/framework/plugins/windows/ssdt.py | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/windows/ssdt.py b/volatility3/framework/plugins/windows/ssdt.py index d6ec11286..4e4773ffa 100644 --- a/volatility3/framework/plugins/windows/ssdt.py +++ b/volatility3/framework/plugins/windows/ssdt.py @@ -19,7 +19,9 @@ class SSDT(plugins.PluginInterface): """Lists the system call table.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + + # 2.0.0 - changed the signature of `build_module_collection` + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -38,23 +40,23 @@ class SSDT(plugins.PluginInterface): def build_module_collection( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, ) -> contexts.ModuleCollection: """Builds a collection of modules. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: Name of the module for the kernel Returns: A Module collection of available modules based on `Modules.list_modules` """ - mods = modules.Modules.list_modules(context, layer_name, symbol_table) + mods = modules.Modules.list_modules(context, kernel_module_name) context_modules = [] + kernel = context.modules[kernel_module_name] + for mod in mods: try: module_name_with_ext = mod.BaseDllName.get_string() @@ -64,17 +66,13 @@ class SSDT(plugins.PluginInterface): module_name = os.path.splitext(module_name_with_ext)[0] - symbol_table_name = None - if module_name in constants.windows.KERNEL_MODULE_NAMES: - symbol_table_name = symbol_table - context_module = contexts.SizedModule.create( context=context, module_name=module_name, - layer_name=layer_name, + layer_name=kernel.layer_name, offset=mod.DllBase, size=mod.SizeOfImage, - symbol_table_name=symbol_table_name, + symbol_table_name=kernel.symbol_table_name, ) context_modules.append(context_module) @@ -84,9 +82,9 @@ class SSDT(plugins.PluginInterface): def _generator(self) -> Iterator[Tuple[int, Tuple[int, int, Any, Any]]]: kernel = self.context.modules[self.config["kernel"]] - layer_name = kernel.layer_name collection = self.build_module_collection( - self.context, layer_name, kernel.symbol_table_name + self.context, + self.config["kernel"], ) ntkrnlmp = kernel From 5cc0ea967ff33b26d2031fc8d9d84b069beda6f6 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 13:41:28 -0600 Subject: [PATCH 1465/2186] Windows SSDT: Updates plugin consumers Updates all plugins that use the `ssdt` module with correct parameters and updated version requirement values. --- volatility3/framework/plugins/windows/callbacks.py | 4 ++-- volatility3/framework/plugins/windows/driverirp.py | 6 ++---- .../framework/plugins/windows/drivermodule.py | 6 ++---- .../plugins/windows/orphan_kernel_threads.py | 10 ++-------- .../plugins/windows/registry/getcellroutine.py | 6 ++---- volatility3/framework/plugins/windows/timers.py | 13 ++++++++----- 6 files changed, 18 insertions(+), 27 deletions(-) diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index 7bb90863d..035ed9091 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -39,7 +39,7 @@ class Callbacks(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) + name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) ), requirements.PluginRequirement( name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) @@ -691,7 +691,7 @@ class Callbacks(interfaces.plugins.PluginInterface): ) collection = ssdt.SSDT.build_module_collection( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, self.config["kernel"] ) callback_methods = ( diff --git a/volatility3/framework/plugins/windows/driverirp.py b/volatility3/framework/plugins/windows/driverirp.py index a1959453a..413ea782f 100644 --- a/volatility3/framework/plugins/windows/driverirp.py +++ b/volatility3/framework/plugins/windows/driverirp.py @@ -59,7 +59,7 @@ class DriverIrp(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) + name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) ), requirements.PluginRequirement( name="driverscan", plugin=driverscan.DriverScan, version=(2, 0, 0) @@ -70,10 +70,8 @@ class DriverIrp(interfaces.plugins.PluginInterface): ] def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - collection = ssdt.SSDT.build_module_collection( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, self.config["kernel"] ) kernel_space_start = modules.Modules.get_kernel_space_start( diff --git a/volatility3/framework/plugins/windows/drivermodule.py b/volatility3/framework/plugins/windows/drivermodule.py index db1255637..c6547aae0 100644 --- a/volatility3/framework/plugins/windows/drivermodule.py +++ b/volatility3/framework/plugins/windows/drivermodule.py @@ -26,7 +26,7 @@ class DriverModule(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) + name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) ), requirements.PluginRequirement( name="driverscan", plugin=driverscan.DriverScan, version=(2, 0, 0) @@ -42,10 +42,8 @@ class DriverModule(interfaces.plugins.PluginInterface): A common rootkit technique is to register drivers from modules that are hidden, which allows us to detect the disconnect between a malicious driver and its hidden module. """ - kernel = self.context.modules[self.config["kernel"]] - collection = ssdt.SSDT.build_module_collection( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, self.config["kernel"] ) kernel_space_start = modules.Modules.get_kernel_space_start( diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py index 18e087553..98e5781ae 100644 --- a/volatility3/framework/plugins/windows/orphan_kernel_threads.py +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -35,7 +35,7 @@ class Threads(thrdscan.ThrdScan): name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 1, 0) ), requirements.PluginRequirement( - name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) + name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) ), requirements.PluginRequirement( name="modules", plugin=modules.Modules, version=(2, 1, 0) @@ -57,13 +57,7 @@ class Threads(thrdscan.ThrdScan): Returns: A generator of thread objects of orphaned threads """ - module = context.modules[module_name] - layer_name = module.layer_name - symbol_table_name = module.symbol_table_name - - collection = ssdt.SSDT.build_module_collection( - context, layer_name, symbol_table_name - ) + collection = ssdt.SSDT.build_module_collection(context, module_name) kernel_space_start = modules.Modules.get_kernel_space_start( context, module_name diff --git a/volatility3/framework/plugins/windows/registry/getcellroutine.py b/volatility3/framework/plugins/windows/registry/getcellroutine.py index 200a45a82..22374e205 100644 --- a/volatility3/framework/plugins/windows/registry/getcellroutine.py +++ b/volatility3/framework/plugins/windows/registry/getcellroutine.py @@ -31,15 +31,13 @@ class GetCellRoutine(interfaces.plugins.PluginInterface): name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) ), requirements.PluginRequirement( - name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) + name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) ), ] def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - collection = ssdt.SSDT.build_module_collection( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, self.config["kernel"] ) # walk each hive and validate that the GetCellRoutine handler diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py index cd8101a95..4bf574143 100644 --- a/volatility3/framework/plugins/windows/timers.py +++ b/volatility3/framework/plugins/windows/timers.py @@ -35,7 +35,7 @@ class Timers(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="ssdt", plugin=ssdt.SSDT, version=(1, 0, 0) + name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) ), requirements.PluginRequirement( name="kpcrs", plugin=kpcrs.KPCRs, version=(1, 0, 0) @@ -122,15 +122,18 @@ class Timers(interfaces.plugins.PluginInterface): def _generator(self) -> Iterator[Tuple]: kernel = self.context.modules[self.config["kernel"]] - layer_name = kernel.layer_name - symbol_table = kernel.symbol_table_name collection = ssdt.SSDT.build_module_collection( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, + self.config["kernel"], ) + # FIXME - the list_timers API is gross. Fix after GUI merge for timer in self.list_timers( - self.context, self.config["kernel"], layer_name, symbol_table + self.context, + self.config["kernel"], + kernel.layer_name, + kernel.symbol_table_name, ): if not timer.valid_type(): continue From 6092e3ee0aae07f8019b6f6abad6b5190d6e5f84 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 15:10:22 -0600 Subject: [PATCH 1466/2186] Windows HiveList: Update list_hives method signature Co-authored-by: Andrew Case --- .../plugins/windows/registry/hivelist.py | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/registry/hivelist.py b/volatility3/framework/plugins/windows/registry/hivelist.py index 36be35a68..60ac0445e 100644 --- a/volatility3/framework/plugins/windows/registry/hivelist.py +++ b/volatility3/framework/plugins/windows/registry/hivelist.py @@ -41,9 +41,11 @@ class HiveGenerator: class HiveList(interfaces.plugins.PluginInterface): """Lists the registry hives present in a particular memory image.""" - _version = (1, 0, 1) _required_framework_version = (2, 0, 0) + # 2.0.0 - changed the signature of list_hives + _version = (2, 0, 0) + @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ @@ -95,8 +97,7 @@ class HiveList(interfaces.plugins.PluginInterface): self.list_hives( self.context, self.config_path, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.config["kernel"], hive_offsets=[hive_object.vol.offset], ) ) @@ -137,8 +138,7 @@ class HiveList(interfaces.plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, base_config_path: str, - layer_name: str, - symbol_table: str, + kernel_module_name: str, filter_string: Optional[str] = None, hive_offsets: Optional[List[int]] = None, ) -> Iterator[registry.RegistryHive]: @@ -148,20 +148,24 @@ class HiveList(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from base_config_path: The configuration path for any settings required by the new table - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module for the kernel filter_string: An optional string which must be present in the hive name if specified offset: An optional offset to specify a specific hive to iterate over (takes precedence over filter_string) Yields: A registry hive layer name """ + kernel = context.modules[kernel_module_name] + if hive_offsets is None: try: hive_offsets = [ hive.vol.offset for hive in cls.list_hive_objects( - context, layer_name, symbol_table, filter_string + context, + kernel.layer_name, + kernel.symbol_table_name, + filter_string, ) ] except ImportError: @@ -178,8 +182,9 @@ class HiveList(interfaces.plugins.PluginInterface): context=context, base_config_path=base_config_path, hive_offset=hive_offset, - base_layer=layer_name, - nt_symbols=symbol_table, + base_layer=kernel.layer_name, + nt_symbols=kernel.symbol_table_name, + kernel_module_name=kernel_module_name, ) try: From 3a7e61b2855f4f6452008ae9ee3a5a4eeeeb1a37 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 15:25:06 -0600 Subject: [PATCH 1467/2186] Windows Hivelist: Update dependents This updates all plugins that depend on windows.hivelist.HiveList to use the updated method signature, and bumps their dependency version accordingly. Co-authored-by: Andrew Case --- volatility3/framework/plugins/windows/cachedump.py | 6 ++---- volatility3/framework/plugins/windows/envars.py | 10 ++++------ .../framework/plugins/windows/getservicesids.py | 10 ++++------ volatility3/framework/plugins/windows/getsids.py | 10 ++++------ volatility3/framework/plugins/windows/hashdump.py | 6 ++---- volatility3/framework/plugins/windows/lsadump.py | 6 ++---- .../plugins/windows/registry/getcellroutine.py | 7 ++----- .../framework/plugins/windows/registry/printkey.py | 10 ++-------- .../framework/plugins/windows/registry/userassist.py | 10 ++++------ volatility3/plugins/windows/registry/certificates.py | 9 +++------ 10 files changed, 29 insertions(+), 55 deletions(-) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index f4f2e061e..5f5862e36 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -33,7 +33,7 @@ class Cachedump(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), requirements.PluginRequirement( name="lsadump", plugin=lsadump.Lsadump, version=(1, 0, 0) @@ -169,13 +169,11 @@ class Cachedump(interfaces.plugins.PluginInterface): offset = self.config.get("offset", None) syshive = sechive = None - kernel = self.context.modules[self.config["kernel"]] for hive in hivelist.HiveList.list_hives( self.context, self.config_path, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], hive_offsets=None if offset is None else [offset], ): if hive.get_name().split("\\")[-1].upper() == "SYSTEM": diff --git a/volatility3/framework/plugins/windows/envars.py b/volatility3/framework/plugins/windows/envars.py index 61414778d..6ea95b33e 100644 --- a/volatility3/framework/plugins/windows/envars.py +++ b/volatility3/framework/plugins/windows/envars.py @@ -43,7 +43,7 @@ class Envars(interfaces.plugins.PluginInterface): name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), ] @@ -58,13 +58,11 @@ class Envars(interfaces.plugins.PluginInterface): """ values = [] - kernel = self.context.modules[self.config["kernel"]] for hive in hivelist.HiveList.list_hives( - context=self.context, - base_config_path=self.config_path, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config_path, + self.config["kernel"], hive_offsets=None, ): ## The global variables diff --git a/volatility3/framework/plugins/windows/getservicesids.py b/volatility3/framework/plugins/windows/getservicesids.py index 207d0e2ad..c222d55b1 100644 --- a/volatility3/framework/plugins/windows/getservicesids.py +++ b/volatility3/framework/plugins/windows/getservicesids.py @@ -69,18 +69,16 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), ] def _generator(self): - kernel = self.context.modules[self.config["kernel"]] # Get the system hive for hive in hivelist.HiveList.list_hives( - context=self.context, - base_config_path=self.config_path, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config_path, + self.config["kernel"], filter_string="machine\\system", hive_offsets=None, ): diff --git a/volatility3/framework/plugins/windows/getsids.py b/volatility3/framework/plugins/windows/getsids.py index a75bbe7ea..53be50ba8 100644 --- a/volatility3/framework/plugins/windows/getsids.py +++ b/volatility3/framework/plugins/windows/getsids.py @@ -87,7 +87,7 @@ class GetSIDs(interfaces.plugins.PluginInterface): name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), ] @@ -101,14 +101,12 @@ class GetSIDs(interfaces.plugins.PluginInterface): key = "Microsoft\\Windows NT\\CurrentVersion\\ProfileList" val = "ProfileImagePath" - kernel = self.context.modules[self.config["kernel"]] sids = {} for hive in hivelist.HiveList.list_hives( - context=self.context, - base_config_path=self.config_path, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config_path, + self.config["kernel"], filter_string="config\\software", hive_offsets=None, ): diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index 1fea3d49d..5fdfd549f 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -32,7 +32,7 @@ class Hashdump(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), ] @@ -593,12 +593,10 @@ class Hashdump(interfaces.plugins.PluginInterface): offset = self.config.get("offset", None) syshive = None samhive = None - kernel = self.context.modules[self.config["kernel"]] for hive in hivelist.HiveList.list_hives( self.context, self.config_path, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], hive_offsets=None if offset is None else [offset], ): if hive.get_name().split("\\")[-1].upper() == "SYSTEM": diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 50f4da30d..eb83352e0 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -36,7 +36,7 @@ class Lsadump(interfaces.plugins.PluginInterface): name="hashdump", component=hashdump.Hashdump, version=(1, 1, 0) ), requirements.VersionRequirement( - name="hivelist", component=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), ] @@ -209,13 +209,11 @@ class Lsadump(interfaces.plugins.PluginInterface): def run(self): offset = self.config.get("offset", None) syshive = sechive = None - kernel = self.context.modules[self.config["kernel"]] for hive in hivelist.HiveList.list_hives( self.context, self.config_path, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], hive_offsets=None if offset is None else [offset], ): if hive.get_name().split("\\")[-1].upper() == "SYSTEM": diff --git a/volatility3/framework/plugins/windows/registry/getcellroutine.py b/volatility3/framework/plugins/windows/registry/getcellroutine.py index 22374e205..724ed1c9d 100644 --- a/volatility3/framework/plugins/windows/registry/getcellroutine.py +++ b/volatility3/framework/plugins/windows/registry/getcellroutine.py @@ -28,7 +28,7 @@ class GetCellRoutine(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), requirements.PluginRequirement( name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) @@ -43,10 +43,7 @@ class GetCellRoutine(interfaces.plugins.PluginInterface): # walk each hive and validate that the GetCellRoutine handler # is inside of the kernel (ntoskrnl) for hive_object in hivelist.HiveList.list_hives( - context=self.context, - base_config_path=self.config_path, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, self.config_path, self.config["kernel"] ): hive = hive_object.hive diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index ed926805b..c14fcf507 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -31,7 +31,7 @@ class PrintKey(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), requirements.IntRequirement( name="offset", description="Hive Offset", default=None, optional=True @@ -240,8 +240,6 @@ class PrintKey(interfaces.plugins.PluginInterface): def _registry_walker( self, - layer_name: str, - symbol_table: str, hive_offsets: Optional[List[int]] = None, key: Optional[str] = None, recurse: bool = False, @@ -249,8 +247,7 @@ class PrintKey(interfaces.plugins.PluginInterface): for hive in hivelist.HiveList.list_hives( self.context, self.config_path, - layer_name=layer_name, - symbol_table=symbol_table, + self.config["kernel"], hive_offsets=hive_offsets, ): try: @@ -292,7 +289,6 @@ class PrintKey(interfaces.plugins.PluginInterface): def run(self): offset = self.config.get("offset", None) - kernel = self.context.modules[self.config["kernel"]] return TreeGrid( columns=[ @@ -305,8 +301,6 @@ class PrintKey(interfaces.plugins.PluginInterface): ("Volatile", bool), ], generator=self._registry_walker( - kernel.layer_name, - kernel.symbol_table_name, hive_offsets=None if offset is None else [offset], key=self.config.get("key", None), recurse=self.config.get("recurse", None), diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index 87016553a..0e5d3c90c 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -54,7 +54,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac name="offset", description="Hive Offset", default=None, optional=True ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), ] @@ -295,7 +295,6 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac hive_offsets = None if self.config.get("offset", None) is not None: hive_offsets = [self.config.get("offset", None)] - kernel = self.context.modules[self.config["kernel"]] self._reg_table_name = intermed.IntermediateSymbolTable.create( self.context, self._config_path, "windows", "registry" @@ -303,10 +302,9 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac # get all the user hive offsets or use the one specified for hive in hivelist.HiveList.list_hives( - context=self.context, - base_config_path=self.config_path, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config_path, + self.config["kernel"], filter_string="ntuser.dat", hive_offsets=hive_offsets, ): diff --git a/volatility3/plugins/windows/registry/certificates.py b/volatility3/plugins/windows/registry/certificates.py index a83badb90..3cbeb3e7c 100644 --- a/volatility3/plugins/windows/registry/certificates.py +++ b/volatility3/plugins/windows/registry/certificates.py @@ -25,7 +25,7 @@ class Certificates(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), requirements.PluginRequirement( name="printkey", plugin=printkey.PrintKey, version=(1, 0, 0) @@ -69,13 +69,10 @@ class Certificates(interfaces.plugins.PluginInterface): return None def _generator(self) -> Iterator[Tuple[int, Tuple[str, str, str, str]]]: - kernel = self.context.modules[self.config["kernel"]] - for hive in hivelist.HiveList.list_hives( self.context, - base_config_path=self.config_path, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.config_path, + self.config["kernel"], ): for top_key in [ "Microsoft\\SystemCertificates", From be8b7580dd7eff5f47eec0921859ed2f538ff2b2 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 15:26:50 -0600 Subject: [PATCH 1468/2186] Windows Amcache: Update dependency and change method signature This updates the Windows Amcache plugin to use the latest changes in Windows HiveList. It requires a major version bump of its own due to a breaking method signature change, and is therefore in its own commit. Co-authored-by: Andrew Case --- .../framework/plugins/windows/amcache.py | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index 46a742233..2ce1ead02 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -218,7 +218,9 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Extract information on executed applications from the AmCache.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + + # 2.0.0 - changed the signature of get_amcache_hive + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -230,7 +232,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), ] @@ -252,17 +254,14 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): cls, context: interfaces.context.ContextInterface, config_path: str, - kernel: interfaces.context.ModuleInterface, + kernel_module_name: str, ) -> Optional[registry.RegistryHive]: """Retrieves the `Amcache.hve` registry hive from the kernel module, if it can be located.""" return next( hivelist.HiveList.list_hives( - context=context, - base_config_path=interfaces.configuration.path_join( - config_path, "hivelist" - ), - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + context, + interfaces.configuration.path_join(config_path, "hivelist"), + kernel_module_name, filter_string="amcache", ), None, @@ -523,8 +522,6 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) def _generator(self) -> Iterator[Tuple[int, _AmcacheEntry]]: - kernel = self.context.modules[self.config["kernel"]] - def indented( entry_gen: Iterable[_AmcacheEntry], indent: int = 0 ) -> Iterator[Tuple[int, _AmcacheEntry]]: @@ -533,7 +530,9 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Building the dictionary ahead of time is much better for performance # vs looking up each service's DLL individually. - amcache = self.get_amcache_hive(self.context, self.config_path, kernel) + amcache = self.get_amcache_hive( + self.context, self.config_path, self.config["kernel"] + ) if amcache is None: return From 5ed31d3133c6365ecfae7bb3ab8519576dad539d Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:08:25 -0600 Subject: [PATCH 1469/2186] Windows PoolScan: Adds method This updates the poolscanner plugin with an additional method, `generate_pool_scan_extended`, and does the corresponding minor version bump. Co-authored-by: Andrew Case --- .../framework/plugins/windows/poolscanner.py | 80 +++++++++++++++---- 1 file changed, 64 insertions(+), 16 deletions(-) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 5cbb2ffc8..7446768c7 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -79,6 +79,7 @@ class PoolHeaderScanner(interfaces.layers.ScannerInterface): offset=offset - self._header_offset, absolute=True, ) + constraint = self._constraint_lookup[pattern] try: # Size check @@ -128,7 +129,7 @@ class PoolScanner(plugins.PluginInterface): """A generic pool scanner plugin.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 1, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -331,11 +332,12 @@ class PoolScanner(plugins.PluginInterface): return [constraint for constraint in builtins if constraint.tag in tags_filter] @classmethod - def generate_pool_scan( + def generate_pool_scan_extended( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_layer_name: str, + kernel_symbol_table: str, + object_symbol_table: str, constraints: List[PoolConstraint], ) -> Generator[ Tuple[ @@ -347,49 +349,60 @@ class PoolScanner(plugins.PluginInterface): None, ]: """ + The extended version of `generate_pool_scan` to support pool scanning for objects outside of the kernel (ntoskrnl). + This requires the symbol table of the object being scanned for. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_layer_name: The name of the base kernel layer + kernel_symbol_table_name: The name of the table containing the kernel symbols + object_symbol_table_name: The name of the symbol table for the object being scanned for constraints: List of pool constraints used to limit the scan results - Returns: Iterable of tuples, containing the constraint that matched, the object from memory, the object header used to determine the object """ # get the object type map type_map = handles.Handles.get_type_map( - context=context, layer_name=layer_name, symbol_table=symbol_table + context=context, + layer_name=kernel_layer_name, + symbol_table=kernel_symbol_table, ) cookie = handles.Handles.find_cookie( - context=context, layer_name=layer_name, symbol_table=symbol_table + context=context, + layer_name=kernel_layer_name, + symbol_table=kernel_symbol_table, ) - is_windows_10 = versions.is_windows_10(context, symbol_table) - is_windows_8_or_later = versions.is_windows_8_or_later(context, symbol_table) + is_windows_10 = versions.is_windows_10(context, kernel_symbol_table) + is_windows_8_or_later = versions.is_windows_8_or_later( + context, kernel_symbol_table + ) # start off with the primary virtual layer - scan_layer = layer_name + scan_layer = kernel_layer_name # switch to a non-virtual layer if necessary if not is_windows_10: scan_layer = context.layers[scan_layer].config["memory_layer"] - if symbols.symbol_table_is_64bit(context, symbol_table): + if symbols.symbol_table_is_64bit(context, kernel_symbol_table): alignment = 0x10 else: alignment = 8 + # scan in the main kernel layer for the object(s) for constraint, header in cls.pool_scan( - context, scan_layer, symbol_table, constraints, alignment=alignment + context, scan_layer, object_symbol_table, constraints, alignment=alignment ): + + # construct the object in its own layer, using its own types mem_objects = header.get_object( constraint=constraint, use_top_down=is_windows_8_or_later, - native_layer_name=layer_name, - kernel_symbol_table=symbol_table, + native_layer_name=kernel_layer_name, + kernel_symbol_table=kernel_symbol_table, ) for mem_object in mem_objects: @@ -398,6 +411,7 @@ class PoolScanner(plugins.PluginInterface): constants.LOGLEVEL_VVV, f"Cannot create an instance of {constraint.type_name}", ) + continue if constraint.object_type is not None and not constraint.skip_type_test: @@ -418,6 +432,40 @@ class PoolScanner(plugins.PluginInterface): yield constraint, mem_object, header + @classmethod + def generate_pool_scan( + cls, + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table: str, + constraints: List[PoolConstraint], + ) -> Generator[ + Tuple[ + PoolConstraint, + interfaces.objects.ObjectInterface, + interfaces.objects.ObjectInterface, + ], + None, + None, + ]: + """ + The original version of `generate_pool_scan` which is sufficient for objects in the kernel (ntoskrnl), + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + layer_name: The name of the layer on which to operate + symbol_table: The name of the table containing the kernel symbols + constraints: List of pool constraints used to limit the scan results + + Returns: + Iterable of tuples, containing the constraint that matched, the object from memory, the object header used to determine the object + """ + + # repeat the symbol table to match the original `generate_pool_scan` behaviour + yield from cls.generate_pool_scan_extended( + context, layer_name, symbol_table, symbol_table, constraints + ) + @classmethod def pool_scan( cls, From de21ae4d2d0cf6091844c900bde36add2513e749 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:44:20 -0600 Subject: [PATCH 1470/2186] Windows SuspiciousThreads: Adds missing requirement, updates other This updates the threads version number to the latest (2.0.0) and adds a missing plugin requirement for thrdscan. Co-authored-by: Andrew Case --- volatility3/framework/plugins/windows/suspicious_threads.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py index 4bfb6baa5..f5da54da7 100644 --- a/volatility3/framework/plugins/windows/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -35,7 +35,10 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): optional=True, ), requirements.PluginRequirement( - name="threads", plugin=threads.Threads, version=(1, 0, 0) + name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 1, 0) + ), + requirements.PluginRequirement( + name="threads", plugin=threads.Threads, version=(2, 0, 0) ), requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) From d1abad3d872ad1e365314558f58390555a342db0 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:43:04 -0600 Subject: [PATCH 1471/2186] Windows UnhookedSystemCalls: Update reqs, add breaking change This update the unhooked system calls plugin to use the latest changes from pslist, updating the requirement version numbers and bumping its own major version number due to a changed method signature. Co-authored-by: Andrew Case --- .../plugins/windows/unhooked_system_calls.py | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index 5b21225c8..b2049b97e 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -22,6 +22,7 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): """Looks for signs of Skeleton Key malware""" _required_framework_version = (2, 4, 0) + _version = (2, 0, 0) system_calls = { "ntdll.dll": { @@ -94,7 +95,7 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( name="pe_symbols", plugin=pe_symbols.PESymbols, version=(1, 0, 0) @@ -103,7 +104,7 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): def _gather_code_bytes( self, - kernel: interfaces.context.ModuleInterface, + kernel_module_name: str, found_symbols: pe_symbols.found_symbols_type, ) -> _code_bytes_type: """ @@ -115,11 +116,7 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): """ code_bytes: unhooked_system_calls._code_bytes_type = {} - procs = pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, - ) + procs = pslist.PsList.list_processes(self.context, kernel_module_name) for proc in procs: try: @@ -153,18 +150,15 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): return code_bytes def _generator(self) -> Generator[Tuple[int, Tuple[str, str, int]], None, None]: - kernel = self.context.modules[self.config["kernel"]] - found_symbols = pe_symbols.PESymbols.addresses_for_process_symbols( self.context, self.config_path, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], unhooked_system_calls.system_calls, ) # code_bytes[dll_name][func_name][func_bytes] - code_bytes = self._gather_code_bytes(kernel, found_symbols) + code_bytes = self._gather_code_bytes(self.config["kernel"], found_symbols) # walk the functions that were evaluated for functions in code_bytes.values(): From 7bfbc26d679be15c2b33966f0e33c9b87dd19631 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:36:09 -0600 Subject: [PATCH 1472/2186] Windows Strings: Update pslist req and add breaking change This uses the latest changes from windows.pslist, updated the requirement version number. It also required breaking changes of its own, so the Strings version number has been given a major version bump as well. Co-authored-by: Andrew Case --- .../framework/plugins/windows/strings.py | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/plugins/windows/strings.py b/volatility3/framework/plugins/windows/strings.py index b8dea0cdd..b5a2b7145 100644 --- a/volatility3/framework/plugins/windows/strings.py +++ b/volatility3/framework/plugins/windows/strings.py @@ -18,8 +18,11 @@ vollog = logging.getLogger(__name__) class Strings(interfaces.plugins.PluginInterface): """Reads output from the strings command and indicates which process(es) each string belongs to.""" - _version = (1, 2, 0) _required_framework_version = (2, 0, 0) + + # 2.0.0 - change signature of `generate_mapping` + _version = (2, 0, 0) + strings_pattern = re.compile(rb"^(?:\W*)([0-9]+)(?:\W*)(\w[\w\W]+)\n?") @classmethod @@ -31,7 +34,7 @@ class Strings(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", @@ -68,12 +71,10 @@ class Strings(interfaces.plugins.PluginInterface): except ValueError: vollog.error(f"Line in unrecognized format: line {count}") line = strings_fp.readline() - kernel = self.context.modules[self.config["kernel"]] revmap = self.generate_mapping( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], progress_callback=self._progress_callback, pid_list=self.config["pid"], ) @@ -122,8 +123,7 @@ class Strings(interfaces.plugins.PluginInterface): def generate_mapping( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, progress_callback: constants.ProgressCallback = None, pid_list: Optional[List[int]] = None, ) -> Dict[int, Set[Tuple[str, int]]]: @@ -132,8 +132,7 @@ class Strings(interfaces.plugins.PluginInterface): Args: context: the context for the method to run against - layer_name: the layer to map against the string lines - symbol_table: the name of the symbol table for the provided layer + kernel_module_name: the name of the module forthe kernel progress_callback: an optional callable to display progress pid_list: a lit of process IDs to consider when generating the reverse map @@ -142,7 +141,9 @@ class Strings(interfaces.plugins.PluginInterface): """ filter = pslist.PsList.create_pid_filter(pid_list) - layer = context.layers[layer_name] + kernel = context.modules[kernel_module_name] + + layer = context.layers[kernel.layer_name] reverse_map: Dict[int, Set[Tuple[str, int]]] = dict() if isinstance(layer, intel.Intel): # We don't care about errors, we just wanted chunks that map correctly @@ -160,9 +161,7 @@ class Strings(interfaces.plugins.PluginInterface): # TODO: Include kernel modules - for process in pslist.PsList.list_processes( - context, layer_name, symbol_table - ): + for process in pslist.PsList.list_processes(context, kernel_module_name): if not filter(process): proc_id = "Unknown" try: From 0b72e0fdb14e3def3798671af12a1fffb2e43d5f Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:34:58 -0600 Subject: [PATCH 1473/2186] Windows Orphan Kernel Threads: Update modules dep, add breaking change This updates the orphan kernel threads plugin to use the latest changes from the modules plugin, updating method signatures and bumping the requirement version number. This required breaking interface changes in the plugin itself, so the major version number has been bumped. Co-authored-by: Andrew Case --- .../plugins/windows/orphan_kernel_threads.py | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py index 98e5781ae..bae1160d6 100644 --- a/volatility3/framework/plugins/windows/orphan_kernel_threads.py +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -16,7 +16,9 @@ class Threads(thrdscan.ThrdScan): """Lists process threads""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 0) + + # 2.0.0 - changed the signature of `list_orphan_kernel_threads` + _version = (2, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -38,7 +40,7 @@ class Threads(thrdscan.ThrdScan): name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) ), requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(2, 1, 0) + name="modules", plugin=modules.Modules, version=(3, 0, 0) ), ] @@ -46,7 +48,7 @@ class Threads(thrdscan.ThrdScan): def list_orphan_kernel_threads( cls, context: interfaces.context.ContextInterface, - module_name: str, + kernel_module_name: str, ) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Yields thread objects of kernel threads that do not map to a module @@ -57,13 +59,16 @@ class Threads(thrdscan.ThrdScan): Returns: A generator of thread objects of orphaned threads """ - collection = ssdt.SSDT.build_module_collection(context, module_name) - - kernel_space_start = modules.Modules.get_kernel_space_start( - context, module_name + collection = ssdt.SSDT.build_module_collection( + context, + kernel_module_name, ) - for thread in thrdscan.ThrdScan.scan_threads(context, module_name): + kernel_space_start = modules.Modules.get_kernel_space_start( + context, kernel_module_name + ) + + for thread in thrdscan.ThrdScan.scan_threads(context, kernel_module_name): # We don't want smeared or terminated threads # So we access the owning process (which could also be terminated or smeared) # Plus check the start address holding page From 6a6fd29d05fb9550ea5e932ce6f2719a40c5e003 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:24:20 -0600 Subject: [PATCH 1474/2186] Windows svclist: Update svcscan dependency This updates the svclist plugin with breaking changes to its public methods in order to update calls to the svcscan methods. Both requirement and plugin version numbers have been updated accordingly here. Co-authored-by: Andrew Case --- .../framework/plugins/windows/svclist.py | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index 8a64084c5..00782c543 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -19,7 +19,9 @@ class SvcList(svcscan.SvcScan): """Lists services contained with the services.exe doubly linked list of services""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + + # 2.0.0 - service_list signature changed + _version = (2, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -30,7 +32,7 @@ class SvcList(svcscan.SvcScan): # Since we're calling the plugin, make sure we have the plugin's requirements return [ requirements.PluginRequirement( - name="svcscan", plugin=svcscan.SvcScan, version=(3, 0, 0) + name="svcscan", plugin=svcscan.SvcScan, version=(4, 0, 0) ), requirements.ModuleRequirement( name="kernel", @@ -60,16 +62,17 @@ class SvcList(svcscan.SvcScan): def service_list( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, service_table_name: str, service_binary_dll_map, filter_func, ): + kernel = context.modules[kernel_module_name] + if not symbols.symbol_table_is_64bit( - context, symbol_table + context, kernel.symbol_table_name ) or not versions.is_win10_15063_or_later( - context=context, symbol_table=symbol_table + context=context, symbol_table=kernel.symbol_table_name ): vollog.warning( "This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples" @@ -77,20 +80,19 @@ class SvcList(svcscan.SvcScan): return for proc in pslist.PsList.list_processes( - context=context, - layer_name=layer_name, - symbol_table=symbol_table, + context, + kernel_module_name, filter_func=filter_func, ): try: - layer_name = proc.add_process_layer() + proc_layer_name = proc.add_process_layer() except exceptions.InvalidAddressException: vollog.warning( f"Unable to access memory of services.exe running with PID: {proc.UniqueProcessId}" ) continue - layer = context.layers[layer_name] + proc_layer = context.layers[proc_layer_name] exe_range = cls._get_exe_range(proc) if not exe_range: @@ -99,7 +101,7 @@ class SvcList(svcscan.SvcScan): ) continue - for offset in layer.scan( + for offset in proc_layer.scan( context=context, scanner=scanners.BytesScanner(needle=b"Sc27"), sections=exe_range, @@ -108,6 +110,6 @@ class SvcList(svcscan.SvcScan): context, service_table_name, service_binary_dll_map, - layer_name, + proc_layer_name, offset, ) From cf9261727b011c4c317ec0fb6e50912c253703b6 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:22:59 -0600 Subject: [PATCH 1475/2186] Windows SvcScan: Update reqs, add breaking change This updates the windows SvcScan plugin with the latest changes from hivelist/pslist, fixing up method calls and bumping requirement version numbers. In order to use the new method signatures, breaking changes were required to the svscan public methods, so a major version bump has been added. Co-authored-by: Andrew Case --- .../framework/plugins/windows/svcscan.py | 63 +++++++++---------- 1 file changed, 30 insertions(+), 33 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 6645fa6a3..602e7fbd5 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -4,7 +4,7 @@ import logging import os -from typing import Dict, List, NamedTuple, Optional, Tuple, Union, cast +from typing import Dict, List, NamedTuple, Optional, Tuple, Union, cast, Callable from volatility3.framework import ( constants, @@ -35,7 +35,7 @@ class SvcScan(interfaces.plugins.PluginInterface): """Scans for windows services.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 2) + _version = (4, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -51,13 +51,13 @@ class SvcScan(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), ] @@ -106,7 +106,7 @@ class SvcScan(interfaces.plugins.PluginInterface): @staticmethod def _create_service_table( context: interfaces.context.ContextInterface, - symbol_table: str, + symbol_table_name: str, config_path: str, ) -> str: """Constructs a symbol table containing the symbols for services @@ -120,15 +120,15 @@ class SvcScan(interfaces.plugins.PluginInterface): Returns: A symbol table containing the symbols necessary for services """ - native_types = context.symbol_space[symbol_table].natives - is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) + native_types = context.symbol_space[symbol_table_name].natives + is_64bit = symbols.symbol_table_is_64bit(context, symbol_table_name) try: symbol_filename = next( filename for version_check, for_64bit, filename in SvcScan._win_version_file_map if is_64bit == for_64bit - and version_check(context=context, symbol_table=symbol_table) + and version_check(context=context, symbol_table=symbol_table_name) ) except StopIteration: raise NotImplementedError("This version of Windows is not supported!") @@ -144,15 +144,13 @@ class SvcScan(interfaces.plugins.PluginInterface): @staticmethod def _get_service_key( - context, config_path: str, layer_name: str, symbol_table: str + context, config_path: str, kernel_module_name: str ) -> Optional[objects.StructType]: + for hive in hivelist.HiveList.list_hives( - context=context, - base_config_path=interfaces.configuration.path_join( - config_path, "hivelist" - ), - layer_name=layer_name, - symbol_table=symbol_table, + context, + interfaces.configuration.path_join(config_path, "hivelist"), + kernel_module_name, filter_string="machine\\system", ): # Get ControlSet\Services. @@ -278,18 +276,19 @@ class SvcScan(interfaces.plugins.PluginInterface): def service_scan( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, service_table_name: str, service_binary_dll_map, filter_func, ): + kernel = context.modules[kernel_module_name] + relative_tag_offset = context.symbol_space.get_type( service_table_name + constants.BANG + "_SERVICE_RECORD" ).relative_child_offset("Tag") is_vista_or_later = versions.is_vista_or_later( - context=context, symbol_table=symbol_table + context=context, symbol_table=kernel.symbol_table_name ) if is_vista_or_later: @@ -300,9 +299,8 @@ class SvcScan(interfaces.plugins.PluginInterface): seen = [] for task in pslist.PsList.list_processes( - context=context, - layer_name=layer_name, - symbol_table=symbol_table, + context, + kernel_module_name, filter_func=filter_func, ): proc_id = "Unknown" @@ -315,7 +313,7 @@ class SvcScan(interfaces.plugins.PluginInterface): ) continue - layer = context.layers[proc_layer_name] + process_layer = context.layers[proc_layer_name] # get process sections for scanning sections = [] @@ -324,7 +322,7 @@ class SvcScan(interfaces.plugins.PluginInterface): if vad.get_size(): sections.append((base, vad.get_size())) - for offset in layer.scan( + for offset in process_layer.scan( context=context, scanner=scanners.BytesScanner(needle=service_tag), sections=sections, @@ -360,18 +358,20 @@ class SvcScan(interfaces.plugins.PluginInterface): yield service_record @classmethod - def get_prereq_info(cls, context, config_path, layer_name: str, symbol_table: str): + def get_prereq_info( + cls, context, config_path: str, kernel_module_name: str + ) -> Tuple[str, Dict, Callable]: """ Data structures and information needed to analyze service information """ + kernel = context.modules[kernel_module_name] + service_table_name = cls._create_service_table( - context, symbol_table, config_path + context, kernel.symbol_table_name, config_path ) - services_key = cls._get_service_key( - context, config_path, layer_name, symbol_table - ) + services_key = cls._get_service_key(context, config_path, kernel_module_name) service_binary_dll_map = ( cls._get_service_binary_map(services_key) @@ -384,16 +384,13 @@ class SvcScan(interfaces.plugins.PluginInterface): return service_table_name, service_binary_dll_map, filter_func def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info( - self.context, self.config_path, kernel.layer_name, kernel.symbol_table_name + self.context, self.config_path, self.config["kernel"] ) for record in self._enumeration_method( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], service_table_name, service_binary_dll_map, filter_func, From a566c10da790e81b1a14a593cd5ed0427e8f3a12 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:41:33 -0600 Subject: [PATCH 1476/2186] Windows SvcDiff: Update reqs, adds breaking change This updates the svcdiff plugin to use the latest changes from svclist and svcscan, updating the requirement version numbers, and giving itself a major version bump due to a changed method signature. Co-authored-by: Andrew Case --- .../framework/plugins/windows/svcdiff.py | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py index 84d06a695..ca9bcfb75 100644 --- a/volatility3/framework/plugins/windows/svcdiff.py +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -26,6 +26,8 @@ class SvcDiff(svcscan.SvcScan): _required_framework_version = (2, 4, 0) + _version = (2, 0, 0) + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._enumeration_method = self.service_diff @@ -40,10 +42,10 @@ class SvcDiff(svcscan.SvcScan): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="svclist", component=svclist.SvcList, version=(1, 0, 0) + name="svclist", component=svclist.SvcList, version=(2, 0, 0) ), requirements.VersionRequirement( - name="svcscan", component=svcscan.SvcScan, version=(3, 0, 0) + name="svcscan", component=svcscan.SvcScan, version=(4, 0, 0) ), ] @@ -51,8 +53,7 @@ class SvcDiff(svcscan.SvcScan): def service_diff( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, service_table_name: str, service_binary_dll_map, filter_func, @@ -61,10 +62,12 @@ class SvcDiff(svcscan.SvcScan): On Windows 10 version 15063+ 64bit Windows memory samples, walk the services list and scan for services then report differences """ + kernel = context.modules[kernel_module_name] + if not symbols.symbol_table_is_64bit( - context, symbol_table + context, kernel.symbol_table_name ) or not versions.is_win10_15063_or_later( - context=context, symbol_table=symbol_table + context=context, symbol_table=kernel.symbol_table_name ): vollog.warning( "This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples" @@ -78,8 +81,7 @@ class SvcDiff(svcscan.SvcScan): # collect unique service names from scanning for service in svcscan.SvcScan.service_scan( context, - layer_name, - symbol_table, + kernel_module_name, service_table_name, service_binary_dll_map, filter_func, @@ -90,8 +92,7 @@ class SvcDiff(svcscan.SvcScan): # collect services from listing walking for service in svclist.SvcList.service_list( context, - layer_name, - symbol_table, + kernel_module_name, service_table_name, service_binary_dll_map, filter_func, From 57c6afd0fc64c972c9f516b06fb14344c587c456 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:20:31 -0600 Subject: [PATCH 1477/2186] Windows Netstat: Update modules req, adds breaking change This updates the netstat plugin to use the new method signature in the modules plugin; however, this requires a breaking change of its own which is done here as well. The major version is bumped accordingly; this plugin has no dependents that require updates at this time. Co-authored-by: Andrew Case --- .../framework/plugins/windows/netstat.py | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/netstat.py b/volatility3/framework/plugins/windows/netstat.py index 902be5fc8..5b5b56ae3 100644 --- a/volatility3/framework/plugins/windows/netstat.py +++ b/volatility3/framework/plugins/windows/netstat.py @@ -21,7 +21,9 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Traverses network tracking structures present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + + # 2.0.0 changed the signature of `get_tcpip_module` + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -35,7 +37,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): name="netscan", component=netscan.NetScan, version=(1, 0, 0) ), requirements.VersionRequirement( - name="modules", component=modules.Modules, version=(2, 0, 0) + name="modules", component=modules.Modules, version=(3, 0, 0) ), requirements.VersionRequirement( name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) @@ -234,20 +236,18 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): def get_tcpip_module( cls, context: interfaces.context.ContextInterface, - layer_name: str, - nt_symbols: str, + kernel_module_name: str, ) -> Optional[interfaces.objects.ObjectInterface]: """Uses `windows.modules` to find tcpip.sys in memory. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - nt_symbols: The name of the table containing the kernel symbols + kernel_module_name: The name of the module for the kernel Returns: The constructed tcpip.sys module object. """ - for mod in modules.Modules.list_modules(context, layer_name, nt_symbols): + for mod in modules.Modules.list_modules(context, kernel_module_name): if mod.BaseDllName.get_string() == "tcpip.sys": vollog.debug(f"Found tcpip.sys image base @ 0x{mod.DllBase:x}") return mod @@ -630,9 +630,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): self.context, kernel.layer_name, kernel.symbol_table_name, self.config_path ) - tcpip_module = self.get_tcpip_module( - self.context, kernel.layer_name, kernel.symbol_table_name - ) + tcpip_module = self.get_tcpip_module(self.context, self.config["kernel"]) if not tcpip_module: vollog.error("Unable to locate symbols for the memory image's tcpip module") @@ -647,6 +645,11 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) except exceptions.VolatilityException: vollog.error("Unable to locate symbols for the memory image's tcpip module") + return + + if not tcpip_symbol_table: + vollog.error("Unable to reconstruct symbol table for tcpip.sys") + return for netw_obj in self.list_sockets( self.context, From f703da197b365083aee770d40255e1d722619da8 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:19:13 -0600 Subject: [PATCH 1478/2186] Windows Extensions: Fix traceback when accessing peb.Ldr This fixes a simple InvalidAddressException traceback by just catching the exception on the member access and continuing. Co-authored-by: Andrew Case --- .../framework/symbols/windows/extensions/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index fd9e2f415..e852de0da 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -874,6 +874,12 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): for peb in pebs: sym_table = self.get_symbol_table_name() + # Fixes #1636 + try: + peb.Ldr + except exceptions.InvalidAddressException: + continue + if peb.Ldr.vol.type_name.split(constants.BANG)[-1] == ("unsigned long"): sym_table = self.set_types(peb) From ae6ced58884282fda77c7511e7870712a73300d2 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:14:09 -0600 Subject: [PATCH 1479/2186] Windows ScheduledTasks: update hivelist dep, breaking change This updates the ScheduledTasks plugin with an updated hivelist requirement version number, changes the corresponding method call, and does a major version bump of its own due to a changed parameter name. Co-authored-by: Andrew Case --- .../plugins/windows/scheduled_tasks.py | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 31aaec4f0..c989bb9be 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -1103,7 +1103,7 @@ class ScheduledTasks(interfaces.plugins.PluginInterface, timeliner.TimeLinerInte information about triggers, actions, run times, and creation times.""" _required_framework_version = (2, 11, 0) - _version = (1, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -1115,7 +1115,7 @@ information about triggers, actions, run times, and creation times.""" architectures=["Intel33", "Intel64"], ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), ] @@ -1135,17 +1135,14 @@ information about triggers, actions, run times, and creation times.""" cls, context: interfaces.context.ContextInterface, config_path: str, - kernel: interfaces.context.ModuleInterface, + kernel_module_name: str, ) -> Optional[registry.RegistryHive]: """Retrieves the `Amcache.hve` registry hive from the kernel module, if it can be located.""" return next( hivelist.HiveList.list_hives( - context=context, - base_config_path=interfaces.configuration.path_join( - config_path, "hivelist" - ), - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + context, + interfaces.configuration.path_join(config_path, "hivelist"), + kernel_module_name, filter_string="SOFTWARE", ), None, @@ -1356,11 +1353,11 @@ information about triggers, actions, run times, and creation times.""" ) def _generator(self) -> Iterator[Tuple[int, _ScheduledTaskEntry]]: - kernel = self.context.modules[self.config["kernel"]] - # Building the dictionary ahead of time is much better for performance # vs looking up each service's DLL individually. - software_hive = self.get_software_hive(self.context, self.config_path, kernel) + software_hive = self.get_software_hive( + self.context, self.config_path, self.config["kernel"] + ) if software_hive is None: vollog.warning("Failed to get SOFTWARE hive") return From 886faec4741cc75f12412da602412968ea056641 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:12:39 -0600 Subject: [PATCH 1480/2186] Windows Shimcachemem: Updates req's, new major version This updates the ShimcacheMem plugins with the version bumps on the modules and pslist requirements, updates the corresponding method calls, and does a major version bump of its own due to a required breaking method signature change. Co-authored-by: Andrew Case --- .../framework/plugins/windows/shimcachemem.py | 111 +++++++++--------- 1 file changed, 55 insertions(+), 56 deletions(-) diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index 1e1024656..46045087f 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -65,13 +65,13 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) ), requirements.VersionRequirement( - name="modules", component=modules.Modules, version=(2, 0, 0) + name="modules", component=modules.Modules, version=(3, 0, 0) ), ] @@ -79,7 +79,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf def create_shimcache_table( cls, context: interfaces.context.ContextInterface, - symbol_table: str, + symbol_table_name: str, config_path: str, ) -> str: """Creates a shimcache symbol table @@ -92,16 +92,16 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf Returns: The name of the constructed shimcache table """ - native_types = context.symbol_space[symbol_table].natives - is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) - table_mapping = {"nt_symbols": symbol_table} + native_types = context.symbol_space[symbol_table_name].natives + is_64bit = symbols.symbol_table_is_64bit(context, symbol_table_name) + table_mapping = {"nt_symbols": symbol_table_name} try: symbol_filename = next( filename for version_check, for_64bit, filename in ShimcacheMem._win_version_file_map if is_64bit == for_64bit - and version_check(context=context, symbol_table=symbol_table) + and version_check(context=context, symbol_table=symbol_table_name) ) except StopIteration: raise NotImplementedError("This version of Windows is not supported!") @@ -122,8 +122,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf def find_shimcache_win_xp( cls, context: interfaces.context.ContextInterface, - layer_name: str, - kernel_symbol_table: str, + kernel_module_name: str, shimcache_symbol_table: str, ) -> Iterator[shimcache.SHIM_CACHE_ENTRY]: """Attempts to find the shimcache in a Windows XP memory image @@ -142,9 +141,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf seen = set() - for process in pslist.PsList.list_processes( - context, layer_name, kernel_symbol_table - ): + for process in pslist.PsList.list_processes(context, kernel_module_name): pid = process.UniqueProcessId vollog.debug("checking process %d", pid) for vad in vadinfo.VadInfo.list_vads( @@ -219,8 +216,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf cls, context: interfaces.context.ContextInterface, config_path: str, - kernel_layer_name: str, - nt_symbol_table: str, + kernel_module_name: str, shimcache_symbol_table: str, ) -> Iterator[shimcache.SHIM_CACHE_ENTRY]: """Implements the algorithm to search for the shim cache on Windows 2000 @@ -239,31 +235,33 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf :param shimcache_symbol_table: The name of a symbol table containing the hand-crafted shimcache symbols """ + kernel = context.modules[kernel_module_name] + data_sec = cls.get_module_section_range( context, config_path, - kernel_layer_name, - nt_symbol_table, + kernel_module_name, cls.NT_KRNL_MODS, ".data", ) mod_page = cls.get_module_section_range( context, config_path, - kernel_layer_name, - nt_symbol_table, + kernel_module_name, cls.NT_KRNL_MODS, "PAGE", ) # We require both in order to accurately handle AVL table if not (data_sec and mod_page): - return None + return data_sec_offset, data_sec_size = data_sec mod_page_offset, mod_page_size = mod_page - addr_size = 8 if symbols.symbol_table_is_64bit(context, nt_symbol_table) else 4 + addr_size = ( + 8 if symbols.symbol_table_is_64bit(context, kernel.symbol_table_name) else 4 + ) shim_head = None for offset in range( @@ -272,8 +270,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf shim_head = cls.try_get_shim_head_at_offset( context, shimcache_symbol_table, - nt_symbol_table, - kernel_layer_name, + kernel_module_name, mod_page_offset, mod_page_offset + mod_page_size, offset, @@ -293,9 +290,8 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf def try_get_shim_head_at_offset( cls, context: interfaces.context.ContextInterface, - symbol_table: str, - kernel_symbol_table: str, - layer_name: str, + shimcache_symbol_table: str, + kernel_module_name: str, mod_page_start: int, mod_page_end: int, offset: int, @@ -307,9 +303,14 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf If a number of validity checks are passed, this method will return the `SHIM_CACHE_HEAD` object. Otherwise, `None` is returned. """ + + kernel = context.modules[kernel_module_name] + # Check RTL_AVL_TABLE at offset rtl_avl_table = context.object( - symbol_table + constants.BANG + "_RTL_AVL_TABLE", layer_name, offset + shimcache_symbol_table + constants.BANG + "_RTL_AVL_TABLE", + kernel.layer_name, + offset, ) if not rtl_avl_table.is_valid(mod_page_start, mod_page_end): return None @@ -317,11 +318,11 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf vollog.debug(f"Candidate RTL_AVL_TABLE found at offset {offset:#x}") ersrc_size = context.symbol_space.get_type( - kernel_symbol_table + constants.BANG + "_ERESOURCE" + kernel.symbol_table_name + constants.BANG + "_ERESOURCE" ).size ersrc_alignment = ( 0x20 - if symbols.symbol_table_is_64bit(context, kernel_symbol_table) + if symbols.symbol_table_is_64bit(context, kernel.symbol_table_name) else 0x10 # 0x20 if context.symbol_space.get_type("pointer").size == 8 else 0x10 ) @@ -334,8 +335,8 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf vollog.debug(f"Constructing ERESOURCE at {eresource_offset:#x}") eresource = context.object( - kernel_symbol_table + constants.BANG + "_ERESOURCE", - layer_name, + kernel.symbol_table_name + constants.BANG + "_ERESOURCE", + kernel.layer_name, eresource_offset, ) if not eresource.is_valid(): @@ -344,12 +345,12 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf shim_head_offset = offset + rtl_avl_table.vol.size - if not context.layers[layer_name].is_valid(shim_head_offset): + if not context.layers[kernel.layer_name].is_valid(shim_head_offset): return None shim_head = context.object( - symbol_table + constants.BANG + "SHIM_CACHE_ENTRY", - layer_name, + shimcache_symbol_table + constants.BANG + "SHIM_CACHE_ENTRY", + kernel.layer_name, shim_head_offset, ) @@ -365,8 +366,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf cls, context: interfaces.context.ContextInterface, config_path: str, - kernel_layer_name: str, - nt_symbol_table: str, + kernel_module_name: str, shimcache_symbol_table: str, ) -> Iterator[shimcache.SHIM_CACHE_ENTRY]: """Attempts to locate and yield shimcache entries from a Windows 8 or later memory image. @@ -376,10 +376,11 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf :param kernel_symbol_table: The name of an existing symbol table containing the kernel symbols :param shimcache_symbol_table: The name of a symbol table containing the hand-crafted shimcache symbols """ + kernel = context.modules[kernel_module_name] is_8_1_or_later = versions.is_windows_8_1_or_later( - context, nt_symbol_table - ) or versions.is_win10(context, nt_symbol_table) + context, kernel.symbol_table_name + ) or versions.is_win10(context, kernel.symbol_table_name) module_names = ["ahcache.sys"] if is_8_1_or_later else cls.NT_KRNL_MODS vollog.debug(f"Searching for modules {module_names}") @@ -387,16 +388,14 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf data_sec = cls.get_module_section_range( context, config_path, - kernel_layer_name, - nt_symbol_table, + kernel_module_name, module_names, ".data", ) mod_page = cls.get_module_section_range( context, config_path, - kernel_layer_name, - nt_symbol_table, + kernel_module_name, module_names, "PAGE", ) @@ -419,12 +418,16 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf for offset in range( data_sec_offset, data_sec_offset + data_sec_size, - 8 if symbols.symbol_table_is_64bit(context, nt_symbol_table) else 4, + ( + 8 + if symbols.symbol_table_is_64bit(context, kernel.symbol_table_name) + else 4 + ), ): vollog.debug(f"Building shim handle pointer at {offset:#x}") shim_handle = context.object( object_type=shimcache_symbol_table + constants.BANG + "pointer", - layer_name=kernel_layer_name, + layer_name=kernel.layer_name, subtype=handle_type, offset=offset, ) @@ -445,7 +448,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf # On Windows 8 x64, the first cache contains the shim cache. # On Windows 8 x86, 8.1 x86/x64, and 10, the second cache contains the shim cache. if ( - not symbols.symbol_table_is_64bit(context, nt_symbol_table) + not symbols.symbol_table_is_64bit(context, kernel.symbol_table_name) and not is_8_1_or_later ): valid_head = shim_heads[1] @@ -474,8 +477,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf entries = self.find_shimcache_win_8_or_later( self.context, self.config_path, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], shimcache_table_name, ) @@ -488,8 +490,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf entries = self.find_shimcache_win_2k3_to_7( self.context, self.config_path, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], shimcache_table_name, ) @@ -499,8 +500,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf vollog.info("Finding shimcache entries for WinXP") entries = self.find_shimcache_win_xp( self._context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], shimcache_table_name, ) else: @@ -547,8 +547,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf cls, context: interfaces.context.ContextInterface, config_path: str, - layer_name: str, - symbol_table: str, + kernel_module_name: str, module_list: List[str], section_name: str, ) -> Optional[Tuple[int, int]]: @@ -566,14 +565,14 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf try: krnl_mod = next( module - for module in modules.Modules.list_modules( - context, layer_name, symbol_table - ) + for module in modules.Modules.list_modules(context, kernel_module_name) if module.BaseDllName.String in module_list ) except StopIteration: return None + kernel = context.modules[kernel_module_name] + pe_table_name = intermed.IntermediateSymbolTable.create( context, interfaces.configuration.path_join(config_path, "pe"), @@ -585,7 +584,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf # code taken from Win32KBase._section_chunks (win32_core.py) dos_header = context.object( pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", - layer_name, + kernel.layer_name, offset=krnl_mod.DllBase, ) From 73baf67d27526492a7896297898fe0a5a0a20b87 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:11:15 -0600 Subject: [PATCH 1481/2186] Windows Indirect Syscalls: Remove unneeded pslist dep PsList is not actually used in this plugin, and has therefore been removed. Co-authored-by: Andrew Case --- .../framework/plugins/windows/indirect_system_calls.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/indirect_system_calls.py b/volatility3/framework/plugins/windows/indirect_system_calls.py index dac0f9c4a..c241a9b67 100644 --- a/volatility3/framework/plugins/windows/indirect_system_calls.py +++ b/volatility3/framework/plugins/windows/indirect_system_calls.py @@ -9,7 +9,7 @@ from typing import List, Optional from volatility3.framework import interfaces, exceptions from volatility3.framework.configuration import requirements from volatility3.plugins import yarascan -from volatility3.plugins.windows import pslist, direct_system_calls +from volatility3.plugins.windows import direct_system_calls vollog = logging.getLogger(__name__) @@ -43,9 +43,6 @@ class IndirectSystemCalls(direct_system_calls.DirectSystemCalls): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) - ), requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) ), From 13550aef3fc313f87f9d9c8a3aff3aaf09ae964c Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:10:25 -0600 Subject: [PATCH 1482/2186] Windows Modules: Update dependents This updates the ssdt, truecrypt, drivermodule, driverirp, and verinfo plugins to use the new method signatures from the Modules plugin, and updates the requirement version numbers as well. Co-authored-by: Andrew Case --- volatility3/framework/plugins/windows/driverirp.py | 2 +- volatility3/framework/plugins/windows/drivermodule.py | 2 +- volatility3/framework/plugins/windows/ssdt.py | 2 +- volatility3/framework/plugins/windows/truecrypt.py | 4 ++-- volatility3/framework/plugins/windows/verinfo.py | 8 +++----- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/driverirp.py b/volatility3/framework/plugins/windows/driverirp.py index 413ea782f..2fc699e79 100644 --- a/volatility3/framework/plugins/windows/driverirp.py +++ b/volatility3/framework/plugins/windows/driverirp.py @@ -65,7 +65,7 @@ class DriverIrp(interfaces.plugins.PluginInterface): name="driverscan", plugin=driverscan.DriverScan, version=(2, 0, 0) ), requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(2, 1, 0) + name="modules", plugin=modules.Modules, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/drivermodule.py b/volatility3/framework/plugins/windows/drivermodule.py index c6547aae0..9b4c78ae8 100644 --- a/volatility3/framework/plugins/windows/drivermodule.py +++ b/volatility3/framework/plugins/windows/drivermodule.py @@ -32,7 +32,7 @@ class DriverModule(interfaces.plugins.PluginInterface): name="driverscan", plugin=driverscan.DriverScan, version=(2, 0, 0) ), requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(2, 1, 0) + name="modules", plugin=modules.Modules, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/ssdt.py b/volatility3/framework/plugins/windows/ssdt.py index 4e4773ffa..471dc9e18 100644 --- a/volatility3/framework/plugins/windows/ssdt.py +++ b/volatility3/framework/plugins/windows/ssdt.py @@ -32,7 +32,7 @@ class SSDT(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(2, 0, 0) + name="modules", plugin=modules.Modules, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/truecrypt.py b/volatility3/framework/plugins/windows/truecrypt.py index 7fd26cb4e..158fc995d 100644 --- a/volatility3/framework/plugins/windows/truecrypt.py +++ b/volatility3/framework/plugins/windows/truecrypt.py @@ -33,7 +33,7 @@ class Passphrase(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="modules", component=modules.Modules, version=(2, 0, 0) + name="modules", component=modules.Modules, version=(3, 0, 0) ), requirements.IntRequirement( name="min-length", @@ -121,7 +121,7 @@ class Passphrase(interfaces.plugins.PluginInterface): def _generator(self): kernel = self.context.modules[self.config["kernel"]] mods: Iterable[ObjectInterface] = modules.Modules.list_modules( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, self.config["kernel"] ) truecrypt_module_base = next( mod.DllBase diff --git a/volatility3/framework/plugins/windows/verinfo.py b/volatility3/framework/plugins/windows/verinfo.py index 4930789d2..26bc5e63c 100644 --- a/volatility3/framework/plugins/windows/verinfo.py +++ b/volatility3/framework/plugins/windows/verinfo.py @@ -46,7 +46,7 @@ class VerInfo(interfaces.plugins.PluginInterface): name="pslist", plugin=pslist.PsList, version=(2, 0, 0) ), requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(2, 0, 0) + name="modules", plugin=modules.Modules, version=(3, 0, 0) ), requirements.BooleanRequirement( name="extensive", @@ -259,13 +259,11 @@ class VerInfo(interfaces.plugins.PluginInterface): self.context, kernel.layer_name, kernel.symbol_table_name ) - mods = modules.Modules.list_modules( - self.context, kernel.layer_name, kernel.symbol_table_name - ) + mods = modules.Modules.list_modules(self.context, self.config["kernel"]) # populate the session layers for kernel modules session_layers = modules.Modules.get_session_layers( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, self.config["kernel"] ) return renderers.TreeGrid( From e3ce4bc8471b753f093ae1a50154a8ed138a595c Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:02:21 -0600 Subject: [PATCH 1483/2186] Windows PESymbols: Updates requirements, changes interface This updates the PESymbols plugin to use the latest changes from pslist and modules. This required breaking interface changes of its own (altered method signatures) and so receives its own major version bump. Dependents of PESymbols that _don't_ require any breaking changes have their method calls and version requirement numbers updated here as well. Co-authored-by: Andrew Case --- .../plugins/windows/debugregisters.py | 4 +- .../framework/plugins/windows/pe_symbols.py | 49 ++++++++----------- .../plugins/windows/skeleton_key_check.py | 2 +- .../plugins/windows/unhooked_system_calls.py | 2 +- 4 files changed, 24 insertions(+), 33 deletions(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index d4375685a..876b7fdc5 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -41,7 +41,7 @@ class DebugRegisters(interfaces.plugins.PluginInterface): name="threads", component=threads.Threads, version=(1, 0, 0) ), requirements.VersionRequirement( - name="pe_symbols", component=pe_symbols.PESymbols, version=(1, 0, 0) + name="pe_symbols", component=pe_symbols.PESymbols, version=(2, 0, 0) ), ] @@ -140,7 +140,7 @@ class DebugRegisters(interfaces.plugins.PluginInterface): # this lookup takes a while, so only perform if we need to if not proc_modules: proc_modules = pe_symbols.PESymbols.get_process_modules( - self.context, kernel.layer_name, kernel.symbol_table_name, None + self.context, self.config["kernel"], None ) path_and_symbol = partial( pe_symbols.PESymbols.path_and_symbol_for_address, diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 04fa44adf..555010ac9 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -244,7 +244,8 @@ class PESymbols(interfaces.plugins.PluginInterface): _required_framework_version = (2, 7, 0) - _version = (1, 1, 0) + # 2.0.0 - changed signature of get_kernel_modules, get_all_vads_with_file_paths, addresses_for_process_symbols, get_process_modules + _version = (2, 0, 0) # used for special handling of the kernel PDB file. See later notes os_module_name = "ntoskrnl.exe" @@ -259,10 +260,10 @@ class PESymbols(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="modules", component=modules.Modules, version=(2, 0, 0) + name="modules", component=modules.Modules, version=(3, 0, 0) ), requirements.VersionRequirement( name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) @@ -297,7 +298,7 @@ class PESymbols(interfaces.plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, pe_table_name: str, - layer_name: str, + process_layer_name: str, base_address: int, ) -> Optional[pefile.PE]: """ @@ -305,7 +306,7 @@ class PESymbols(interfaces.plugins.PluginInterface): Args: pe_table_name: name of the pe types table - layer_name: name of the process layer + process_layer_name: name of the process layer base_address: base address of the module Returns: @@ -317,7 +318,7 @@ class PESymbols(interfaces.plugins.PluginInterface): dos_header = context.object( pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", offset=base_address, - layer_name=layer_name, + layer_name=process_layer_name, ) for offset, data in dos_header.reconstruct(): @@ -388,8 +389,7 @@ class PESymbols(interfaces.plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, config_path: str, - layer_name: str, - symbol_table_name: str, + kernel_module_name: str, symbols: filter_modules_type, ) -> found_symbols_type: """ @@ -405,7 +405,7 @@ class PESymbols(interfaces.plugins.PluginInterface): found_symbols_type: The dictionary of symbols that were resolved """ collected_modules = PESymbols.get_process_modules( - context, layer_name, symbol_table_name, symbols + context, kernel_module_name, symbols ) found_symbols, missing_symbols = PESymbols.find_symbols( @@ -483,12 +483,12 @@ class PESymbols(interfaces.plugins.PluginInterface): instance for it """ - layer_name = module_info[0] + process_layer_name = module_info[0] module_start = module_info[1] # we need a valid PE with an export table pe_module = PESymbols.get_pefile_obj( - context, pe_table_name, layer_name, module_start + context, pe_table_name, process_layer_name, module_start ) if not pe_module: return None @@ -500,7 +500,7 @@ class PESymbols(interfaces.plugins.PluginInterface): return None return ExportSymbolFinder( - layer_name, + process_layer_name, mod_name.lower(), module_start, pe_module.DIRECTORY_ENTRY_EXPORT.symbols, @@ -783,8 +783,7 @@ class PESymbols(interfaces.plugins.PluginInterface): def get_kernel_modules( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, filter_modules: Optional[filter_modules_type], ) -> collected_modules_type: """ @@ -804,7 +803,7 @@ class PESymbols(interfaces.plugins.PluginInterface): filter_modules_check = None session_layers = list( - modules.Modules.get_session_layers(context, layer_name, symbol_table) + modules.Modules.get_session_layers(context, kernel_module_name) ) # special handling for the kernel @@ -813,7 +812,7 @@ class PESymbols(interfaces.plugins.PluginInterface): ) for index, mod in enumerate( - modules.Modules.list_modules(context, layer_name, symbol_table) + modules.Modules.list_modules(context, kernel_module_name) ): try: mod_name = str(mod.BaseDllName.get_string().lower()) @@ -906,8 +905,7 @@ class PESymbols(interfaces.plugins.PluginInterface): def get_all_vads_with_file_paths( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table_name: str, + kernel_module_name: str, ) -> Generator[ Tuple[interfaces.objects.ObjectInterface, str, ranges_type], None, @@ -919,11 +917,7 @@ class PESymbols(interfaces.plugins.PluginInterface): Args: Generator[Tuple[interfaces.objects.ObjectInterface, str, ranges_type]]: Yields tuple of process objects, layers, and VADs mapping files """ - procs = pslist.PsList.list_processes( - context=context, - layer_name=layer_name, - symbol_table=symbol_table_name, - ) + procs = pslist.PsList.list_processes(context, kernel_module_name) for proc in procs: try: @@ -939,8 +933,7 @@ class PESymbols(interfaces.plugins.PluginInterface): def get_process_modules( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, filter_modules: Optional[filter_modules_type], ) -> collected_modules_type: """ @@ -960,7 +953,7 @@ class PESymbols(interfaces.plugins.PluginInterface): filter_modules_check = None for _proc, proc_layer_name, vads in PESymbols.get_all_vads_with_file_paths( - context, layer_name, symbol_table + context, kernel_module_name ): for vad_start, vad_size, filepath in vads: filename = PESymbols.filename_for_path(filepath) @@ -977,8 +970,6 @@ class PESymbols(interfaces.plugins.PluginInterface): return proc_modules def _generator(self) -> Generator[Tuple[int, Tuple[str, str, int]], None, None]: - kernel = self.context.modules[self.config["kernel"]] - if self.config["symbols"]: filter_module = { self.config["module"].lower(): { @@ -1003,7 +994,7 @@ class PESymbols(interfaces.plugins.PluginInterface): module_resolver = self.get_process_modules collected_modules = module_resolver( - self.context, kernel.layer_name, kernel.symbol_table_name, filter_module + self.context, self.config["kernel"], filter_module ) found_symbols, _missing_symbols = PESymbols.find_symbols( diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index ce5bb41f4..5b50c9438 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -61,7 +61,7 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) ), requirements.VersionRequirement( - name="pe_symbols", component=pe_symbols.PESymbols, version=(1, 1, 0) + name="pe_symbols", component=pe_symbols.PESymbols, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index b2049b97e..c941ff768 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -98,7 +98,7 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( - name="pe_symbols", plugin=pe_symbols.PESymbols, version=(1, 0, 0) + name="pe_symbols", plugin=pe_symbols.PESymbols, version=(2, 0, 0) ), ] From d69b231f16173681199521365cdfaed11ed59282 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:44:49 -0600 Subject: [PATCH 1484/2186] Windows Suspended Threads: Updates pe_symbols req This bumps the requirement version number for pe_symbols, and uses the latest method signature. Co-authored-by: Andrew Case --- volatility3/framework/plugins/windows/suspended_threads.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/suspended_threads.py b/volatility3/framework/plugins/windows/suspended_threads.py index cec51ed37..1ecdf0c51 100644 --- a/volatility3/framework/plugins/windows/suspended_threads.py +++ b/volatility3/framework/plugins/windows/suspended_threads.py @@ -33,7 +33,7 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(2, 0, 0) ), requirements.VersionRequirement( - name="pe_symbols", component=pe_symbols.PESymbols, version=(1, 0, 0) + name="pe_symbols", component=pe_symbols.PESymbols, version=(2, 0, 0) ), requirements.VersionRequirement( name="threads", component=threads.Threads, version=(1, 0, 0) @@ -96,7 +96,7 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): # will not have suspended threads if not proc_modules: proc_modules = pe_symbols.PESymbols.get_process_modules( - self.context, kernel.layer_name, kernel.symbol_table_name, None + self.context, self.config["kernel"], None ) path_and_symbol = functools.partial( From 23cd3090459d5c953b18c1912b0d1902806fc4cc Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 15:53:46 -0600 Subject: [PATCH 1485/2186] Windows Threads: Change list_process_threads signature This updates the windows.threads plugin with a method signature change: `module_name` is now `kernel_module_name` for clarity. Co-authored-by: Andrew Case --- .../framework/plugins/windows/threads.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index f962a3fed..806caaa52 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -16,7 +16,7 @@ class Threads(thrdscan.ThrdScan): """Lists process threads""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 1) + _version = (2, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -59,16 +59,18 @@ class Threads(thrdscan.ThrdScan): @classmethod def list_process_threads( - cls, context: interfaces.context.ContextInterface, module_name: str + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, ) -> Iterable[interfaces.objects.ObjectInterface]: """Runs through all processes and lists threads for each process""" - module = context.modules[module_name] - layer_name = module.layer_name - symbol_table_name = module.symbol_table_name + module = context.modules[kernel_module_name] + + filter_func = pslist.PsList.create_pid_filter(context.config.get("pid", None)) for proc in pslist.PsList.list_processes( - context=context, - layer_name=layer_name, - symbol_table=symbol_table_name, + context, + kernel_module_name, + filter_func=filter_func, ): yield from cls.list_threads(module, proc) From d0f70f67b8ca6a1535230a9ec9b9c7930468ae5d Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 15:56:30 -0600 Subject: [PATCH 1486/2186] Windows Threads: Update dependents This updates the debugregisters and suspended threads plugins' threads requirement with the latest major version bump. Co-authored-by: Andrew Case --- volatility3/framework/plugins/windows/debugregisters.py | 4 ++-- volatility3/framework/plugins/windows/suspended_threads.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index 876b7fdc5..5dbeb9ff4 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -37,8 +37,8 @@ class DebugRegisters(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(2, 0, 0) ), - requirements.VersionRequirement( - name="threads", component=threads.Threads, version=(1, 0, 0) + requirements.PluginRequirement( + name="threads", plugin=threads.Threads, version=(2, 0, 0) ), requirements.VersionRequirement( name="pe_symbols", component=pe_symbols.PESymbols, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/suspended_threads.py b/volatility3/framework/plugins/windows/suspended_threads.py index 1ecdf0c51..2a14bd795 100644 --- a/volatility3/framework/plugins/windows/suspended_threads.py +++ b/volatility3/framework/plugins/windows/suspended_threads.py @@ -36,7 +36,7 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): name="pe_symbols", component=pe_symbols.PESymbols, version=(2, 0, 0) ), requirements.VersionRequirement( - name="threads", component=threads.Threads, version=(1, 0, 0) + name="threads", component=threads.Threads, version=(2, 0, 0) ), ] From f06c87cb39121122c6c7a0af7fa87f9cf812a943 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 15:36:05 -0600 Subject: [PATCH 1487/2186] Windows Consoles: Update hivelist dep and change method signature This updates the windows.consoles.Consoles plugin to use the updated hivelist method signature, changing one of its own method signatures as required and doing a major version bump of its own. Plugins that depend on consoles also have their method calls changed, and their dependency versions bumped. Co-authored-by: Andrew Case --- .../framework/plugins/windows/cmdscan.py | 5 ++--- .../framework/plugins/windows/consoles.py | 19 +++++++++---------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index 0cd0addb2..051ca8db0 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -39,7 +39,7 @@ class CmdScan(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(2, 0, 0) ), requirements.PluginRequirement( - name="consoles", plugin=consoles.Consoles, version=(1, 0, 0) + name="consoles", plugin=consoles.Consoles, version=(2, 0, 0) ), requirements.BooleanRequirement( name="no_registry", @@ -288,8 +288,7 @@ class CmdScan(interfaces.plugins.PluginInterface): max_history, _ = consoles.Consoles.get_console_settings_from_registry( self.context, self.config_path, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], max_history, [], ) diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index 63bb3e9b9..99eb81e5b 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -29,7 +29,9 @@ class Consoles(interfaces.plugins.PluginInterface): """Looks for Windows console buffers""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 0) + + # 2.0.0 - change the signature of `get_console_settings_from_registry` + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -47,7 +49,7 @@ class Consoles(interfaces.plugins.PluginInterface): name="verinfo", component=verinfo.VerInfo, version=(1, 0, 0) ), requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(1, 0, 0) + name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), requirements.BooleanRequirement( name="no_registry", @@ -795,8 +797,7 @@ class Consoles(interfaces.plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, config_path: str, - kernel_layer_name: str, - kernel_symbol_table_name: str, + kernel_module_name: str, max_history: Set[int], max_buffers: Set[int], ) -> Tuple[Set[int], Set[int]]: @@ -823,10 +824,9 @@ class Consoles(interfaces.plugins.PluginInterface): ) for hive in hivelist.HiveList.list_hives( - context=context, - base_config_path=config_path, - layer_name=kernel_layer_name, - symbol_table=kernel_symbol_table_name, + context, + config_path, + kernel_module_name, hive_offsets=None, ): try: @@ -861,8 +861,7 @@ class Consoles(interfaces.plugins.PluginInterface): max_history, max_buffers = self.get_console_settings_from_registry( self.context, self.config_path, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], max_history, max_buffers, ) From b6ec262deb344d335bd7fa44584edcded84b775c Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 15:08:48 -0600 Subject: [PATCH 1488/2186] Windows PsList: Update dependents This updates all dependents on windows.pslist.PsList that could be updated without breaking interface changes of their own to use the latest windows.pslist.PsList plugin version with a simplified method signature Co-authored-by: Andrew Case --- volatility3/cli/volshell/windows.py | 8 ++----- volatility3/framework/layers/registry.py | 2 +- .../framework/plugins/windows/cmdline.py | 17 +++++++------ .../framework/plugins/windows/cmdscan.py | 9 +++---- .../framework/plugins/windows/consoles.py | 9 +++---- .../plugins/windows/debugregisters.py | 8 ++----- .../plugins/windows/direct_system_calls.py | 24 ++++++++++--------- .../framework/plugins/windows/dlllist.py | 14 ++++------- .../framework/plugins/windows/dumpfiles.py | 6 ++--- .../framework/plugins/windows/envars.py | 8 +++---- .../framework/plugins/windows/getsids.py | 8 +++---- .../framework/plugins/windows/handles.py | 7 +++--- .../plugins/windows/hollowprocesses.py | 8 +++---- volatility3/framework/plugins/windows/iat.py | 9 +++---- .../framework/plugins/windows/joblinks.py | 6 +++-- .../framework/plugins/windows/ldrmodules.py | 8 +++---- .../framework/plugins/windows/malfind.py | 8 +++---- .../framework/plugins/windows/memmap.py | 8 +++---- .../framework/plugins/windows/privileges.py | 8 +++---- .../plugins/windows/processghosting.py | 8 +++---- .../framework/plugins/windows/psscan.py | 2 +- .../framework/plugins/windows/pstree.py | 6 ++--- .../framework/plugins/windows/psxview.py | 15 +++++------- .../framework/plugins/windows/sessions.py | 6 ++--- .../plugins/windows/skeleton_key_check.py | 9 +++---- .../plugins/windows/suspended_threads.py | 8 ++----- .../plugins/windows/suspicious_threads.py | 8 ++++--- .../framework/plugins/windows/vadinfo.py | 9 +++---- .../framework/plugins/windows/vadregexscan.py | 6 ++--- .../framework/plugins/windows/vadwalk.py | 8 +++---- .../framework/plugins/windows/vadyarascan.py | 9 +++---- .../framework/plugins/windows/verinfo.py | 8 ++----- 32 files changed, 106 insertions(+), 171 deletions(-) diff --git a/volatility3/cli/volshell/windows.py b/volatility3/cli/volshell/windows.py index 9b89a8b81..cf8fd400d 100644 --- a/volatility3/cli/volshell/windows.py +++ b/volatility3/cli/volshell/windows.py @@ -18,7 +18,7 @@ class Volshell(generic.Volshell): return [ requirements.ModuleRequirement(name="kernel", description="Windows kernel"), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.IntRequirement( name="pid", description="Process ID", optional=True @@ -38,11 +38,7 @@ class Volshell(generic.Volshell): def list_processes(self): """Returns a list of EPROCESS objects from the primary layer""" # We always use the main kernel memory and associated symbols - return list( - pslist.PsList.list_processes( - self.context, self.current_layer, self.current_symbol_table - ) - ) + return list(pslist.PsList.list_processes(self.context, self.config["kernel"])) def get_process(self, pid=None, virtaddr=None, physaddr=None): """Returns the _EPROCESS object that matches the pid. If a physical or a virtual address is provided, construct the _EPROCESS object at said address. Only one parameter is allowed. diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index 21e1a938e..6d96a76a1 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -66,7 +66,7 @@ class RegistryHive(linear.LinearlyMappedLayer): # Win10 17063 introduced the Registry process to map most hives. Check # if it exists and update RegistryHive._base_layer for proc in pslist.PsList.list_processes( - self.context, self.config["base_layer"], self.config["nt_symbols"] + self.context, self.config["kernel_module_name"] ): proc_name = proc.ImageFileName.cast( "string", max_length=proc.ImageFileName.vol.count, errors="replace" diff --git a/volatility3/framework/plugins/windows/cmdline.py b/volatility3/framework/plugins/windows/cmdline.py index bad333a4c..dbfac35bf 100644 --- a/volatility3/framework/plugins/windows/cmdline.py +++ b/volatility3/framework/plugins/windows/cmdline.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import List +from typing import List, Optional from volatility3.framework import constants, exceptions, renderers, interfaces from volatility3.framework.configuration import requirements @@ -28,7 +28,7 @@ class CmdLine(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", @@ -41,7 +41,7 @@ class CmdLine(interfaces.plugins.PluginInterface): @classmethod def get_cmdline( cls, context: interfaces.context.ContextInterface, kernel_table_name: str, proc - ): + ) -> Optional[str]: """Extracts the cmdline from PEB Args: @@ -54,15 +54,16 @@ class CmdLine(interfaces.plugins.PluginInterface): """ proc_layer_name = proc.add_process_layer() + if not proc_layer_name: + return None peb = context.object( kernel_table_name + constants.BANG + "_PEB", layer_name=proc_layer_name, offset=proc.Peb, ) - result_text = peb.ProcessParameters.CommandLine.get_string() - return result_text + return peb.ProcessParameters.CommandLine.get_string() def _generator(self, procs): kernel = self.context.modules[self.config["kernel"]] @@ -99,16 +100,14 @@ class CmdLine(interfaces.plugins.PluginInterface): yield (0, (proc.UniqueProcessId, process_name, result_text)) def run(self): - kernel = self.context.modules[self.config["kernel"]] filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) return renderers.TreeGrid( [("PID", int), ("Process", str), ("Args", str)], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index 051ca8db0..fd0dd76b9 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -36,7 +36,7 @@ class CmdScan(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( name="consoles", plugin=consoles.Consoles, version=(2, 0, 0) @@ -359,8 +359,6 @@ class CmdScan(interfaces.plugins.PluginInterface): return process_name != "conhost.exe" def run(self): - kernel = self.context.modules[self.config["kernel"]] - return renderers.TreeGrid( [ ("PID", int), @@ -372,9 +370,8 @@ class CmdScan(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=self._conhost_proc_filter, ) ), diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index 99eb81e5b..a4003956f 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -43,7 +43,7 @@ class Consoles(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="verinfo", component=verinfo.VerInfo, version=(1, 0, 0) @@ -932,8 +932,6 @@ class Consoles(interfaces.plugins.PluginInterface): return process_name.lower() != "conhost.exe" def run(self): - kernel = self.context.modules[self.config["kernel"]] - return renderers.TreeGrid( [ ("PID", int), @@ -945,9 +943,8 @@ class Consoles(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=self._conhost_proc_filter, ) ), diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index 5dbeb9ff4..394c30e25 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -35,7 +35,7 @@ class DebugRegisters(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( name="threads", plugin=threads.Threads, version=(2, 0, 0) @@ -117,11 +117,7 @@ class DebugRegisters(interfaces.plugins.PluginInterface): proc_modules = None - procs = pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, - ) + procs = pslist.PsList.list_processes(self.context, self.config["kernel"]) for proc in procs: for thread in threads.Threads.list_threads(kernel, proc): diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index af626f511..eaf35e842 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -53,7 +53,9 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): """Detects the Direct System Call technique used to bypass EDRs""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 1) + + # 2.0.0 - changes signature of `get_tasks_to_scan` + _version = (2, 0, 0) # DLLs that are expected to host system call invocations valid_syscall_handlers = ("ntdll.dll", "win32u.dll") @@ -90,7 +92,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) @@ -334,8 +336,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): def get_tasks_to_scan( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table_name: str, + kernel_module_name: str, ) -> Generator[ Tuple[interfaces.objects.ObjectInterface, str, str, str], None, None ]: @@ -350,12 +351,15 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): # gather active processes filter_func = pslist.PsList.create_active_process_filter() - is_32bit_arch = not symbols.symbol_table_is_64bit(context, symbol_table_name) + kernel = context.modules[kernel_module_name] + + is_32bit_arch = not symbols.symbol_table_is_64bit( + context, kernel.symbol_table_name + ) for proc in pslist.PsList.list_processes( - context=context, - layer_name=layer_name, - symbol_table=symbol_table_name, + context, + kernel_module_name, filter_func=filter_func, ): proc_name = utility.array_to_string(proc.ImageFileName) @@ -426,10 +430,8 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): ) return - kernel = self.context.modules[self.config["kernel"]] - for proc, proc_name, proc_layer_name, architecture in self.get_tasks_to_scan( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, self.config["kernel"] ): proc_layer = self.context.layers[proc_layer_name] diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index 1dafb6bf5..e7ff81f69 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -34,7 +34,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="psscan", component=psscan.PsScan, version=(1, 1, 0) @@ -191,13 +191,8 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) def generate_timeline(self): - kernel = self.context.modules[self.config["kernel"]] for row in self._generator( - pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, - ) + pslist.PsList.list_processes(self.context, self.config["kernel"]) ): _depth, row_data = row if not isinstance(row_data[6], datetime.datetime): @@ -222,9 +217,8 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) else: procs = pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index 42f245800..74a328f78 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -68,7 +68,7 @@ class DumpFiles(interfaces.plugins.PluginInterface): optional=True, ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="handles", component=handles.Handles, version=(2, 0, 0) @@ -352,7 +352,6 @@ class DumpFiles(interfaces.plugins.PluginInterface): offsets = list() # a list of processes matching the pid filter. all files for these process(es) will be dumped. procs = list() - kernel = self.context.modules[self.config["kernel"]] if self.config["filter"] and ( self.config["virtaddr"] or self.config["physaddr"] @@ -373,8 +372,7 @@ class DumpFiles(interfaces.plugins.PluginInterface): ) procs = pslist.PsList.list_processes( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], filter_func=filter_func, ) diff --git a/volatility3/framework/plugins/windows/envars.py b/volatility3/framework/plugins/windows/envars.py index 6ea95b33e..f390c09d5 100644 --- a/volatility3/framework/plugins/windows/envars.py +++ b/volatility3/framework/plugins/windows/envars.py @@ -40,7 +40,7 @@ class Envars(interfaces.plugins.PluginInterface): optional=True, ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) @@ -214,7 +214,6 @@ class Envars(interfaces.plugins.PluginInterface): def run(self): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - kernel = self.context.modules[self.config["kernel"]] return renderers.TreeGrid( [ @@ -226,9 +225,8 @@ class Envars(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/getsids.py b/volatility3/framework/plugins/windows/getsids.py index 53be50ba8..ba1820a30 100644 --- a/volatility3/framework/plugins/windows/getsids.py +++ b/volatility3/framework/plugins/windows/getsids.py @@ -84,7 +84,7 @@ class GetSIDs(interfaces.plugins.PluginInterface): optional=True, ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) @@ -215,15 +215,13 @@ class GetSIDs(interfaces.plugins.PluginInterface): def run(self): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - kernel = self.context.modules[self.config["kernel"]] return renderers.TreeGrid( [("PID", int), ("Process", str), ("SID", str), ("Name", str)], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 8887859f9..d9e97c1b5 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -36,7 +36,7 @@ class Handles(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="psscan", component=psscan.PsScan, version=(1, 1, 0) @@ -393,9 +393,8 @@ class Handles(interfaces.plugins.PluginInterface): ) else: procs = pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) diff --git a/volatility3/framework/plugins/windows/hollowprocesses.py b/volatility3/framework/plugins/windows/hollowprocesses.py index 30d4b602c..7990cb112 100644 --- a/volatility3/framework/plugins/windows/hollowprocesses.py +++ b/volatility3/framework/plugins/windows/hollowprocesses.py @@ -48,7 +48,7 @@ class HollowProcesses(interfaces.plugins.PluginInterface): optional=True, ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) @@ -205,7 +205,6 @@ class HollowProcesses(interfaces.plugins.PluginInterface): def run(self): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - kernel = self.context.modules[self.config["kernel"]] return renderers.TreeGrid( [ @@ -215,9 +214,8 @@ class HollowProcesses(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/iat.py b/volatility3/framework/plugins/windows/iat.py index 3bf7f57ed..0fe39e685 100644 --- a/volatility3/framework/plugins/windows/iat.py +++ b/volatility3/framework/plugins/windows/iat.py @@ -28,7 +28,7 @@ class IAT(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", @@ -126,8 +126,6 @@ class IAT(interfaces.plugins.PluginInterface): continue def run(self): - kernel = self.context.modules[self.config["kernel"]] - return renderers.TreeGrid( [ ("PID", int), @@ -139,9 +137,8 @@ class IAT(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=pslist.PsList.create_pid_filter( self.config.get("pid", None) ), diff --git a/volatility3/framework/plugins/windows/joblinks.py b/volatility3/framework/plugins/windows/joblinks.py index d84c133c0..f6a59d7d1 100644 --- a/volatility3/framework/plugins/windows/joblinks.py +++ b/volatility3/framework/plugins/windows/joblinks.py @@ -36,16 +36,18 @@ class JobLinks(interfaces.plugins.PluginInterface): optional=True, ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), ] def _generator(self) -> Iterator[Tuple]: kernel = self.context.modules[self.config["kernel"]] + memory = self.context.layers[kernel.layer_name] for proc in pslist.PsList.list_processes( - self.context, kernel.layer_name, kernel.symbol_table_name + self.context, + self.config["kernel"], ): try: if not self.config["physical"]: diff --git a/volatility3/framework/plugins/windows/ldrmodules.py b/volatility3/framework/plugins/windows/ldrmodules.py index a888f22e1..e1eb14599 100644 --- a/volatility3/framework/plugins/windows/ldrmodules.py +++ b/volatility3/framework/plugins/windows/ldrmodules.py @@ -29,7 +29,7 @@ class LdrModules(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) @@ -107,7 +107,6 @@ class LdrModules(interfaces.plugins.PluginInterface): def run(self): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - kernel = self.context.modules[self.config["kernel"]] return renderers.TreeGrid( [ @@ -121,9 +120,8 @@ class LdrModules(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 14362776b..9d79be9dd 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -41,7 +41,7 @@ class Malfind(interfaces.plugins.PluginInterface): optional=True, ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) @@ -238,7 +238,6 @@ class Malfind(interfaces.plugins.PluginInterface): def run(self): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - kernel = self.context.modules[self.config["kernel"]] return renderers.TreeGrid( [ @@ -257,9 +256,8 @@ class Malfind(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/memmap.py b/volatility3/framework/plugins/windows/memmap.py index 62ab3c510..790c37aab 100644 --- a/volatility3/framework/plugins/windows/memmap.py +++ b/volatility3/framework/plugins/windows/memmap.py @@ -28,7 +28,7 @@ class Memmap(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.IntRequirement( name="pid", @@ -97,7 +97,6 @@ class Memmap(interfaces.plugins.PluginInterface): def run(self): filter_func = pslist.PsList.create_pid_filter([self.config.get("pid", None)]) - kernel = self.context.modules[self.config["kernel"]] return renderers.TreeGrid( [ @@ -109,9 +108,8 @@ class Memmap(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/privileges.py b/volatility3/framework/plugins/windows/privileges.py index 7b4d00205..a0282e8c8 100644 --- a/volatility3/framework/plugins/windows/privileges.py +++ b/volatility3/framework/plugins/windows/privileges.py @@ -61,7 +61,7 @@ class Privs(interfaces.plugins.PluginInterface): optional=True, ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), ] @@ -107,7 +107,6 @@ class Privs(interfaces.plugins.PluginInterface): def run(self): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - kernel = self.context.modules[self.config["kernel"]] return renderers.TreeGrid( [ @@ -120,9 +119,8 @@ class Privs(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/processghosting.py b/volatility3/framework/plugins/windows/processghosting.py index 50f02c926..b94adee47 100644 --- a/volatility3/framework/plugins/windows/processghosting.py +++ b/volatility3/framework/plugins/windows/processghosting.py @@ -29,7 +29,7 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), ] @@ -83,7 +83,6 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): def run(self): filter_func = pslist.PsList.create_active_process_filter() - kernel = self.context.modules[self.config["kernel"]] return renderers.TreeGrid( [ @@ -95,9 +94,8 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index 81e5fb792..a19423029 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -34,7 +34,7 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="info", component=info.Info, version=(1, 0, 0) diff --git a/volatility3/framework/plugins/windows/pstree.py b/volatility3/framework/plugins/windows/pstree.py index 4f3fe0455..d0cea43ff 100644 --- a/volatility3/framework/plugins/windows/pstree.py +++ b/volatility3/framework/plugins/windows/pstree.py @@ -40,7 +40,7 @@ class PsTree(interfaces.plugins.PluginInterface): optional=True, ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", @@ -84,9 +84,7 @@ class PsTree(interfaces.plugins.PluginInterface): """Generates the Tree of processes.""" kernel = self.context.modules[self.config["kernel"]] - for proc in pslist.PsList.list_processes( - self.context, kernel.layer_name, kernel.symbol_table_name - ): + for proc in pslist.PsList.list_processes(self.context, self.config["kernel"]): if not self.config.get("physical", pslist.PsList.PHYSICAL_DEFAULT): offset = proc.vol.offset else: diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index aa379bdc5..f7df979a8 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -53,7 +53,7 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter name="info", component=info.Info, version=(1, 0, 0) ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="psscan", component=psscan.PsScan, version=(1, 0, 0) @@ -181,23 +181,20 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter def _generator(self): kernel = self.context.modules[self.config["kernel"]] - layer_name = kernel.layer_name - symbol_table = kernel.symbol_table_name - kdbg_list_processes = list( - pslist.PsList.list_processes( - context=self.context, layer_name=layer_name, symbol_table=symbol_table - ) + pslist.PsList.list_processes(self.context, self.config["kernel"]) ) # get processes from each source processes: Dict[str, Dict[int, extensions.EPROCESS]] = {} processes["pslist"] = self._check_pslist(kdbg_list_processes) - processes["psscan"] = self._check_psscan(layer_name, symbol_table) + processes["psscan"] = self._check_psscan( + kernel.layer_name, kernel.symbol_table_name + ) processes["thrdscan"] = self._check_thrdscan() processes["csrss"] = self._check_csrss_handles( - kdbg_list_processes, layer_name, symbol_table + kdbg_list_processes, kernel.layer_name, kernel.symbol_table_name ) # Unique set of all offsets from all sources diff --git a/volatility3/framework/plugins/windows/sessions.py b/volatility3/framework/plugins/windows/sessions.py index d766b40ea..99a3cf335 100644 --- a/volatility3/framework/plugins/windows/sessions.py +++ b/volatility3/framework/plugins/windows/sessions.py @@ -28,7 +28,7 @@ class Sessions(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", @@ -39,7 +39,6 @@ class Sessions(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) ] def _generator(self): - kernel = self.context.modules[self.config["kernel"]] filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) # Collect all the values as we will want to group them later @@ -47,8 +46,7 @@ class Sessions(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) for proc in pslist.PsList.list_processes( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], filter_func=filter_func, ): session_id = proc.get_session_id() diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index 5b50c9438..b57683f04 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -52,7 +52,7 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) @@ -660,8 +660,6 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): return process_name != "lsass.exe" def run(self): - kernel = self.context.modules[self.config["kernel"]] - return renderers.TreeGrid( [ ("PID", int), @@ -672,9 +670,8 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=self._lsass_proc_filter, ) ), diff --git a/volatility3/framework/plugins/windows/suspended_threads.py b/volatility3/framework/plugins/windows/suspended_threads.py index 2a14bd795..2c3d584df 100644 --- a/volatility3/framework/plugins/windows/suspended_threads.py +++ b/volatility3/framework/plugins/windows/suspended_threads.py @@ -30,7 +30,7 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="pe_symbols", component=pe_symbols.PESymbols, version=(2, 0, 0) @@ -61,11 +61,7 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): proc_modules = None # walk the threads of each process checking for suspended threads - for proc in pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, - ): + for proc in pslist.PsList.list_processes(self.context, self.config["kernel"]): for thread in threads.Threads.list_threads(kernel, proc): try: # we only care if the thread is suspended diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py index f5da54da7..938c6a940 100644 --- a/volatility3/framework/plugins/windows/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -37,6 +37,9 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 1, 0) ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + ), requirements.PluginRequirement( name="threads", plugin=threads.Threads, version=(2, 0, 0) ), @@ -135,9 +138,8 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) for proc in pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ): ranges = self._get_ranges(kernel, all_ranges, proc) diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 35bf54d98..46afcaca8 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -64,7 +64,7 @@ class VadInfo(interfaces.plugins.PluginInterface): optional=True, ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.BooleanRequirement( name="dump", @@ -273,8 +273,6 @@ class VadInfo(interfaces.plugins.PluginInterface): ) def run(self) -> renderers.TreeGrid: - kernel = self.context.modules[self.config["kernel"]] - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) return renderers.TreeGrid( @@ -294,9 +292,8 @@ class VadInfo(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/vadregexscan.py b/volatility3/framework/plugins/windows/vadregexscan.py index 0d35cd658..0d9b6a72e 100644 --- a/volatility3/framework/plugins/windows/vadregexscan.py +++ b/volatility3/framework/plugins/windows/vadregexscan.py @@ -33,7 +33,7 @@ class VadRegExScan(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", @@ -111,11 +111,9 @@ class VadRegExScan(plugins.PluginInterface): def run(self): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - kernel = self.context.modules[self.config["kernel"]] procs = pslist.PsList.list_processes( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], filter_func=filter_func, ) return renderers.TreeGrid( diff --git a/volatility3/framework/plugins/windows/vadwalk.py b/volatility3/framework/plugins/windows/vadwalk.py index 930388b3a..0d6a8b245 100644 --- a/volatility3/framework/plugins/windows/vadwalk.py +++ b/volatility3/framework/plugins/windows/vadwalk.py @@ -29,7 +29,7 @@ class VadWalk(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( name="vadinfo", plugin=vadinfo.VadInfo, version=(2, 0, 0) @@ -67,7 +67,6 @@ class VadWalk(interfaces.plugins.PluginInterface): ) def run(self) -> renderers.TreeGrid: - kernel = self.context.modules[self.config["kernel"]] filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) return renderers.TreeGrid( @@ -84,9 +83,8 @@ class VadWalk(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 0749ea547..2dd2dec26 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -30,7 +30,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) @@ -53,8 +53,6 @@ class VadYaraScan(interfaces.plugins.PluginInterface): return yarascan_requirements + vadyarascan_requirements def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - rules = yarascan.YaraScan.process_yara_options(dict(self.config)) filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) @@ -62,9 +60,8 @@ class VadYaraScan(interfaces.plugins.PluginInterface): sanity_check = 1024 * 1024 * 1024 # 1 GB for task in pslist.PsList.list_processes( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + self.context, + self.config["kernel"], filter_func=filter_func, ): layer_name = task.add_process_layer() diff --git a/volatility3/framework/plugins/windows/verinfo.py b/volatility3/framework/plugins/windows/verinfo.py index 26bc5e63c..63a0d9ece 100644 --- a/volatility3/framework/plugins/windows/verinfo.py +++ b/volatility3/framework/plugins/windows/verinfo.py @@ -43,7 +43,7 @@ class VerInfo(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(2, 0, 0) + name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( name="modules", plugin=modules.Modules, version=(3, 0, 0) @@ -253,11 +253,7 @@ class VerInfo(interfaces.plugins.PluginInterface): ) def run(self): - kernel = self.context.modules[self.config["kernel"]] - - procs = pslist.PsList.list_processes( - self.context, kernel.layer_name, kernel.symbol_table_name - ) + procs = pslist.PsList.list_processes(self.context, self.config["kernel"]) mods = modules.Modules.list_modules(self.context, self.config["kernel"]) From 3ec0e4c43f667db069b8205bb12207a5f0298ccf Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 15:33:32 -0600 Subject: [PATCH 1489/2186] Windows PEDump: Update PsList dep and change method signature This updates PEDump to use the latest version of PsList, updates the dependency version number, changes one of it's own method signatures to facilitate the pslist change, and does a major bump of its own version number. Co-authored-by: Andrew Case --- .../framework/plugins/windows/pedump.py | 35 ++++++++++++++----- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/pedump.py b/volatility3/framework/plugins/windows/pedump.py index 5107cb48b..5f2a1d737 100644 --- a/volatility3/framework/plugins/windows/pedump.py +++ b/volatility3/framework/plugins/windows/pedump.py @@ -3,7 +3,7 @@ # import logging import ntpath -from typing import List, Type, Optional +from typing import List, Type, Optional, Iterator, Tuple from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements @@ -18,7 +18,9 @@ class PEDump(interfaces.plugins.PluginInterface): """Allows extracting PE Files from a specific address in a specific address space""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + + # 2.0.0 - changed the signature of `dump_kernel_pe_at_base` + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -30,7 +32,10 @@ class PEDump(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(2, 0, 0) + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", @@ -145,10 +150,18 @@ class PEDump(interfaces.plugins.PluginInterface): ) @classmethod - def dump_kernel_pe_at_base(cls, context, kernel, pe_table_name, open_method, base): - session_layers = modules.Modules.get_session_layers( - context, kernel.layer_name, kernel.symbol_table_name - ) + def dump_kernel_pe_at_base( + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + pe_table_name: str, + open_method: Type[interfaces.plugins.FileHandlerInterface], + base: int, + ) -> Iterator[Tuple[int, str, str]]: + """ + Extracts a PE file from kernel memory at the given base address + """ + session_layers = modules.Modules.get_session_layers(context, kernel_module_name) session_layer_name = modules.Modules.find_session_layer( context, session_layers, base @@ -183,7 +196,7 @@ class PEDump(interfaces.plugins.PluginInterface): for proc in pslist.PsList.list_processes( context=context, layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + symbol_table_name=kernel.symbol_table_name, filter_func=filter_func, ): pid = proc.UniqueProcessId @@ -224,7 +237,11 @@ class PEDump(interfaces.plugins.PluginInterface): if self.config["kernel_module"]: pe_files = self.dump_kernel_pe_at_base( - self.context, kernel, pe_table_name, self.open, self.config["base"] + self.context, + self.config["kernel"], + pe_table_name, + self.open, + self.config["base"], ) else: filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) From 0f05128230a90ff7eecca23812ddcfcb3a037751 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 15:49:01 -0600 Subject: [PATCH 1490/2186] Windows PEDump: Update dependents This updates all plugins that both depend on PEDump and won't require breaking changes of their own. They now call the updated method signature, and have their pedump requirement version bumped appropriately. Co-authored-by: Andrew Case --- volatility3/framework/plugins/windows/dlllist.py | 2 +- volatility3/framework/plugins/windows/modscan.py | 2 +- volatility3/framework/plugins/windows/modules.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index e7ff81f69..b609b4fc3 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -40,7 +40,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): name="psscan", component=psscan.PsScan, version=(1, 1, 0) ), requirements.VersionRequirement( - name="pedump", component=pedump.PEDump, version=(1, 0, 0) + name="pedump", component=pedump.PEDump, version=(2, 0, 0) ), requirements.VersionRequirement( name="info", component=info.Info, version=(1, 0, 0) diff --git a/volatility3/framework/plugins/windows/modscan.py b/volatility3/framework/plugins/windows/modscan.py index 76c30ac9c..ab1383ddf 100644 --- a/volatility3/framework/plugins/windows/modscan.py +++ b/volatility3/framework/plugins/windows/modscan.py @@ -55,7 +55,7 @@ class ModScan(modules.Modules): default=None, ), requirements.VersionRequirement( - name="pedump", component=pedump.PEDump, version=(1, 0, 0) + name="pedump", component=pedump.PEDump, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index c4f6af4bc..4872135a9 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -37,6 +37,9 @@ class Modules(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="pedump", component=pedump.PEDump, version=(2, 0, 0) + ), requirements.BooleanRequirement( name="dump", description="Extract listed modules", @@ -54,9 +57,6 @@ class Modules(interfaces.plugins.PluginInterface): optional=True, default=None, ), - requirements.VersionRequirement( - name="pedump", component=pedump.PEDump, version=(1, 0, 0) - ), ] def dump_module(self, session_layers, pe_table_name, mod): From 844a24f02d9f4536ade421c425f303256b7b11af Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Tue, 25 Feb 2025 13:00:27 -0600 Subject: [PATCH 1491/2186] Windows Scheduled Tasks: Prevent backtraces This fixes an `AttributeError` that can crop up when the actionset's context is `None`. --- volatility3/framework/plugins/windows/scheduled_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index c989bb9be..67b88d8fc 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -1345,7 +1345,7 @@ information about triggers, actions, run times, and creation times.""" args, ( action_set.context - if action_set is not None + if (action_set is not None and action_set.context is not None) else renderers.NotAvailableValue() ), working_directory, From 76e459b62e56eb8fe7312bfc7b356352c81bb8c4 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 25 Feb 2025 13:47:11 -0600 Subject: [PATCH 1492/2186] Windows Versions: Sort version checks for readability --- .../framework/symbols/windows/versions.py | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/volatility3/framework/symbols/windows/versions.py b/volatility3/framework/symbols/windows/versions.py index 6b5b9846a..77872e063 100644 --- a/volatility3/framework/symbols/windows/versions.py +++ b/volatility3/framework/symbols/windows/versions.py @@ -88,24 +88,6 @@ class OsDistinguisher: return True -is_windows_8_1_or_later = OsDistinguisher( - version_check=lambda x: x >= (6, 3), - fallback_checks=[("_KPRCB", "PendingTickFlags", True)], -) - -is_vista_or_later = OsDistinguisher( - version_check=lambda x: x >= (6, 0), - fallback_checks=[("KdCopyDataBlock", None, True)], -) - -is_win10 = OsDistinguisher( - version_check=lambda x: (10, 0) <= x, - fallback_checks=[ - ("ObHeaderCookie", None, True), - ("_HANDLE_TABLE", "HandleCount", False), - ], -) - is_windows_xp = OsDistinguisher( version_check=lambda x: (5, 1) <= x < (5, 2), fallback_checks=[ @@ -149,6 +131,32 @@ is_2003 = OsDistinguisher( ], ) +is_vista_or_later = OsDistinguisher( + version_check=lambda x: x >= (6, 0), + fallback_checks=[("KdCopyDataBlock", None, True)], +) + +is_windows_8_1_or_later = OsDistinguisher( + version_check=lambda x: x >= (6, 3), + fallback_checks=[("_KPRCB", "PendingTickFlags", True)], +) + +is_win10 = OsDistinguisher( + version_check=lambda x: (10, 0) <= x, + fallback_checks=[ + ("ObHeaderCookie", None, True), + ("_HANDLE_TABLE", "HandleCount", False), + ], +) + +is_win10_10586_or_later = OsDistinguisher( + version_check=lambda x: x >= (10, 0, 10586), + fallback_checks=[ + ("_EPROCESS", "SecurityDomain", False), + ("_EPROCESS", "ImageFilePointer", False), + ], +) + is_win10_up_to_15063 = OsDistinguisher( version_check=lambda x: (10, 0) <= x < (10, 0, 15063), fallback_checks=[ @@ -195,14 +203,6 @@ is_win10_17134_or_later = OsDistinguisher( ], ) -is_win10_10586_or_later = OsDistinguisher( - version_check=lambda x: x >= (10, 0, 10586), - fallback_checks=[ - ("_EPROCESS", "SecurityDomain", False), - ("_EPROCESS", "ImageFilePointer", False), - ], -) - is_win10_17763_or_later = OsDistinguisher( version_check=lambda x: x >= (10, 0, 17763), fallback_checks=[ From ced90567543830649d8b03842e581a6dc562fd54 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 25 Feb 2025 14:04:24 -0600 Subject: [PATCH 1493/2186] Windows Versions: Add version check for win10 17735 or later --- .../windows/gui/gui-win10-17735-x64.json | 18830 ++++++++++++++++ .../framework/symbols/windows/versions.py | 8 + 2 files changed, 18838 insertions(+) create mode 100644 volatility3/framework/symbols/windows/gui/gui-win10-17735-x64.json diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-17735-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-17735-x64.json new file mode 100644 index 000000000..b4c615cff --- /dev/null +++ b/volatility3/framework/symbols/windows/gui/gui-win10-17735-x64.json @@ -0,0 +1,18830 @@ +{ + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 880 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 736 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 464 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 456 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 824 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "subPointer": { + "type": { + "subtype": { + "kind": "struct", + "name": "subTagWNDType" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "directName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!String" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "subTagWNDType": { + "fields": { + "style_bitmask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + } + }, + "kind": "struct", + "size": 128 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 40 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + } +} diff --git a/volatility3/framework/symbols/windows/versions.py b/volatility3/framework/symbols/windows/versions.py index 77872e063..b00892cbc 100644 --- a/volatility3/framework/symbols/windows/versions.py +++ b/volatility3/framework/symbols/windows/versions.py @@ -203,6 +203,14 @@ is_win10_17134_or_later = OsDistinguisher( ], ) +is_win10_17735_or_later = OsDistinguisher( + version_check=lambda x: x >= (10, 0, 17735), + fallback_checks=[ + ("_EPROCESS", "VmProcessorHost", True), + ("_EPROCESS", "VdmObjects", False), + ], +) + is_win10_17763_or_later = OsDistinguisher( version_check=lambda x: x >= (10, 0, 17763), fallback_checks=[ From 885bf187e259b0c3875bb14e046198561e235754 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Tue, 25 Feb 2025 00:33:16 +0000 Subject: [PATCH 1494/2186] Windows DeskScan: Update pool extension This updates the Windows pool extension with a new get_name() method, and changes the method signature for another. We'll need to figure out if there is a good way to version extension classes. Deskscan requires this in order to use get_name with an alternate (non-kernel) symbol table. --- .../symbols/windows/extensions/pool.py | 37 +++++++++++++++++-- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/pool.py b/volatility3/framework/symbols/windows/extensions/pool.py index ff65acdeb..5427e3773 100644 --- a/volatility3/framework/symbols/windows/extensions/pool.py +++ b/volatility3/framework/symbols/windows/extensions/pool.py @@ -95,7 +95,7 @@ class POOL_HEADER(objects.StructType): optional_headers, lengths_of_optional_headers, ) = self._calculate_optional_header_lengths( - self._context, symbol_table_name + self._context, kernel_symbol_table ) padding_available = ( None @@ -326,12 +326,18 @@ class ExecutiveObject(interfaces.objects.ObjectInterface): """This is used as a "mixin" that provides all kernel executive objects with a means of finding their own object header.""" - def get_object_header(self) -> "OBJECT_HEADER": + def get_object_header( + self, symbol_table_name: Optional[str] = None + ) -> "OBJECT_HEADER": if constants.BANG not in self.vol.type_name: raise ValueError( f"Invalid symbol table name syntax (no {constants.BANG} found)" ) - symbol_table_name = self.vol.type_name.split(constants.BANG)[0] + + # caller provided symbol table allows for scanning for objects from any module + if not symbol_table_name: + symbol_table_name = self.vol.type_name.split(constants.BANG)[0] + body_offset = self._context.symbol_space.get_type( symbol_table_name + constants.BANG + "_OBJECT_HEADER" ).relative_child_offset("Body") @@ -342,6 +348,12 @@ class ExecutiveObject(interfaces.objects.ObjectInterface): native_layer_name=self.vol.native_layer_name, ) + def get_name(self, symbol_table_name: Optional[str] = None) -> Optional[str]: + try: + return self.get_object_header(symbol_table_name).get_name() + except exceptions.InvalidAddressException: + return None + class OBJECT_HEADER(objects.StructType): """A class for the headers for executive kernel objects, which contains @@ -450,3 +462,22 @@ class OBJECT_HEADER(objects.StructType): absolute=True, ) return header + + def get_name(self) -> Optional[str]: + """ + Attempts to get the name of the object + Sanity checks size members to avoid FPs + Returns None if any issues detected + """ + try: + name_info = self.NameInfo.Name + if ( + name_info.Length == 0 + or name_info.MaximumLength == 0 + or name_info.Length > name_info.MaximumLength + ): + return None + + return name_info.String + except (ValueError, exceptions.InvalidAddressException): + return None From dad5a75aaaeb2594ec8b0f3625cb5c07ba049589 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 27 Feb 2025 15:29:56 -0600 Subject: [PATCH 1495/2186] Windows GUI Plugins: Adds three plugins This adds the windowstations, desktops, and deskscan plugins, and removes the gui.py plugin file that was stubbed out in the introductory work for the effort. It also adds a new method to the poolscanner class, but does not bump the poolscanner version number since there is already a major version number bump going into this PR. Co-authored-by: Andrew Case --- .../framework/plugins/windows/deskscan.py | 81 ++++++ .../framework/plugins/windows/desktops.py | 91 +++++++ volatility3/framework/plugins/windows/gui.py | 114 --------- .../framework/plugins/windows/poolscanner.py | 30 +++ .../plugins/windows/windowstations.py | 234 ++++++++++++++++++ .../symbols/windows/extensions/gui.py | 127 ++++++++++ 6 files changed, 563 insertions(+), 114 deletions(-) create mode 100644 volatility3/framework/plugins/windows/deskscan.py create mode 100644 volatility3/framework/plugins/windows/desktops.py delete mode 100644 volatility3/framework/plugins/windows/gui.py create mode 100644 volatility3/framework/plugins/windows/windowstations.py create mode 100644 volatility3/framework/symbols/windows/extensions/gui.py diff --git a/volatility3/framework/plugins/windows/deskscan.py b/volatility3/framework/plugins/windows/deskscan.py new file mode 100644 index 000000000..baba3d8a0 --- /dev/null +++ b/volatility3/framework/plugins/windows/deskscan.py @@ -0,0 +1,81 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import List, Iterable, Tuple + +from volatility3.framework import interfaces +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import desktops, windowstations + +vollog = logging.getLogger(__name__) + + +class DeskScan(desktops.Desktops): + """Scans for the Desktop instances of each Window Station""" + + _required_framework_version = (2, 0, 0) + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.implementation = self.scan_desktops + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="desktops", plugin=desktops.Desktops, version=(1, 0, 0) + ), + requirements.PluginRequirement( + name="windowstations", + plugin=windowstations.WindowStations, + version=(1, 0, 0), + ), + ] + + @classmethod + def scan_desktops( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + kernel_module_name: str, + ) -> Iterable[Tuple[int, str, int, str, str, int]]: + """ + Yields the information about each desktop and desktop thread needed for analysis + + The tuple yielded includes the: + Virtual address of the desktop + The window station name + The session id + Desktop name + Process name + Process ID (PID) + """ + kernel = context.modules[kernel_module_name] + + for desktop in windowstations.WindowStations.scan_gui_object( + context, config_path, kernel_module_name, b"Desk", "tagDESKTOP" + ): + desktop_name = desktop.get_name(kernel.symbol_table_name) + if not desktop_name: + continue + + winsta = desktop.get_window_station() + if not winsta: + continue + + winsta_name, session_id = winsta.get_info(kernel.symbol_table_name) + if not winsta_name or session_id is None: + continue + + for _thread, process_name, process_pid in desktop.get_threads(): + yield format_hints.Hex( + desktop.vol.offset + ), winsta_name, session_id, desktop_name, process_name, process_pid diff --git a/volatility3/framework/plugins/windows/desktops.py b/volatility3/framework/plugins/windows/desktops.py new file mode 100644 index 000000000..1085ff36d --- /dev/null +++ b/volatility3/framework/plugins/windows/desktops.py @@ -0,0 +1,91 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import List, Iterable + +from volatility3.framework import interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import windowstations + +vollog = logging.getLogger(__name__) + + +class Desktops(interfaces.plugins.PluginInterface): + """Enumerates the Desktop instances of each Window Station""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.implementation = self.list_desktops + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="windowstations", + plugin=windowstations.WindowStations, + version=(1, 0, 0), + ), + ] + + @classmethod + def list_desktops( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + kernel_module_name: str, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """ + Uses `scan_window_stations` to find each window station + For each found, enumerates its desktops followed by the + threads of each desktop. + """ + kernel = context.modules[kernel_module_name] + + for ( + winsta, + station_name, + session_id, + ) in windowstations.WindowStations.scan_window_stations( + context, config_path, kernel_module_name + ): + # for each window station, walk its list of desktops + for desktop, desktop_name in winsta.desktops(kernel.symbol_table_name): + # for each desktop, walk its threads + for _thread, process_name, process_pid in desktop.get_threads(): + yield format_hints.Hex( + desktop.vol.offset + ), station_name, session_id, desktop_name, process_name, process_pid + + def _generator(self): + kernel_name = self.config["kernel"] + + # call the implementation for finding desktops + # yield the information, which will include the owning window station and process + for desktop_info in self.implementation( + self.context, self.config_path, kernel_name + ): + yield 0, desktop_info + + def run(self): + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("Window Station", str), + ("Session", int), + ("Desktop", str), + ("Process", str), + ("PID", int), + ], + self._generator(), + ) diff --git a/volatility3/framework/plugins/windows/gui.py b/volatility3/framework/plugins/windows/gui.py deleted file mode 100644 index 1cce5b7f3..000000000 --- a/volatility3/framework/plugins/windows/gui.py +++ /dev/null @@ -1,114 +0,0 @@ -# This file is Copyright 2020 Volatility Foundation and licensed under the Volatility Software License 1.0 -# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 -# -import logging -import os -from itertools import count -from typing import List, Tuple - -from volatility3.framework import interfaces, renderers, symbols -from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints -from volatility3.framework.symbols import intermed -from volatility3.framework.symbols.windows import versions - -# from volatility3.plugins.windows import pslist, vadinfo, modules - -vollog = logging.getLogger(__name__) - - -class WinGUI(interfaces.plugins.PluginInterface): - """Parses information about Windows GUI Objects""" - - _required_framework_version = (2, 0, 0) - - # These checks must be completed from newest -> oldest OS version. - _win_version_file_map: List[Tuple[versions.OsDistinguisher, str]] = [ - (versions.is_win10_19577_or_later, "gui-win10-19577-x64"), - (versions.is_win10_19041_or_later, "gui-win10-19041-x64"), - (versions.is_win10_18362_or_later, "gui-win10-18362-x64"), - (versions.is_win10_17763_or_later, "gui-win10-17763-x64"), - (versions.is_win10_17134_or_later, "gui-win10-17134-x64"), - (versions.is_win10_16299_or_later, "gui-win10-16299-x64"), - (versions.is_win10_15063_or_later, "gui-win10-15063-x64"), - (versions.is_win10_10586_or_later, "gui-win10-10586-x64"), - (versions.is_windows_8_or_later, "gui-win8-x64"), - (versions.is_windows_7_sp1, "gui-win7sp1-x64"), - (versions.is_windows_7_sp0, "gui-win7sp0-x64"), - ] - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - # Since we're calling the plugin, make sure we have the plugin's requirements - return [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - ] - - @staticmethod - def create_gui_table( - context: interfaces.context.ContextInterface, - symbol_table: str, - config_path: str, - ) -> str: - """Creates a symbol table for windows GUI types - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - symbol_table: The name of an existing symbol table containing the kernel symbols - config_path: The configuration path within the context of the symbol table to create - - Returns: - The name of the constructed GUI table - """ - native_types = context.symbol_space[symbol_table].natives - - if not symbols.symbol_table_is_64bit(context, symbol_table): - raise NotImplementedError( - "This plugin only supports x64 versions of Windows" - ) - - table_mapping = {"nt_symbols": symbol_table} - - try: - symbol_filename = next( - filename - for version_check, filename in WinGUI._win_version_file_map - if version_check(context=context, symbol_table=symbol_table) - ) - except StopIteration: - raise NotImplementedError("This version of Windows is not supported!") - - vollog.debug(f"Using GUI table {symbol_filename}") - - return intermed.IntermediateSymbolTable.create( - context, - config_path, - os.path.join("windows", "gui"), - symbol_filename, - native_types=native_types, - table_mapping=table_mapping, - ) - - def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - - gui_table = self.create_gui_table( - self.context, kernel.symbol_table_name, self.config_path - ) - - c = count() - for _ in range(10): - yield ( - 0, - (next(c), tuple()), - ) - - def run(self): - return renderers.TreeGrid( - [], - self._generator(), - ) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 7446768c7..75de8bb95 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -182,6 +182,36 @@ class PoolScanner(plugins.PluginInterface): ), ) + @staticmethod + def gui_poolscanner_constraints( + gui_table: str, tags_filter: Optional[List[bytes]] = None + ) -> List[PoolConstraint]: + """ + Constraints for objects managed by the GUI subsystem (win32k*.sys) + """ + builtins = [ + PoolConstraint( + b"Wind", + type_name=gui_table + constants.BANG + "tagWINDOWSTATION", + size=(0x90, None), + page_type=PoolType.PAGED, + object_type="WindowStation", + skip_type_test=True, + ), + PoolConstraint( + b"Desk", + type_name=gui_table + constants.BANG + "tagDESKTOP", + page_type=PoolType.PAGED, + object_type="Desktop", + skip_type_test=True, + ), + ] + + if not tags_filter: + return builtins + + return [constraint for constraint in builtins if constraint.tag in tags_filter] + @classmethod def builtin_constraints( cls, symbol_table: str, tags_filter: Optional[List[bytes]] = None diff --git a/volatility3/framework/plugins/windows/windowstations.py b/volatility3/framework/plugins/windows/windowstations.py new file mode 100644 index 000000000..cb6a52b88 --- /dev/null +++ b/volatility3/framework/plugins/windows/windowstations.py @@ -0,0 +1,234 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +import os +from typing import List, Tuple, Iterator, Generator, Dict + +from volatility3.framework import interfaces, renderers, symbols, exceptions +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.windows import versions +from volatility3.framework.symbols.windows.extensions import gui +from volatility3.plugins.windows import poolscanner, modules + +vollog = logging.getLogger(__name__) + + +class WindowStations(interfaces.plugins.PluginInterface): + """Scans for top level Windows Stations""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + # These checks must be completed from newest -> oldest OS version. + _win_version_file_map: List[Tuple[versions.OsDistinguisher, str]] = [ + (versions.is_win10_19577_or_later, "gui-win10-19577-x64"), + (versions.is_win10_19041_or_later, "gui-win10-19041-x64"), + (versions.is_win10_18362_or_later, "gui-win10-18362-x64"), + (versions.is_win10_17763_or_later, "gui-win10-17763-x64"), + (versions.is_win10_17134_or_later, "gui-win10-17134-x64"), + (versions.is_win10_16299_or_later, "gui-win10-16299-x64"), + (versions.is_win10_15063_or_later, "gui-win10-15063-x64"), + (versions.is_win10_10586_or_later, "gui-win10-10586-x64"), + (versions.is_windows_8_or_later, "gui-win8-x64"), + (versions.is_windows_7_sp1, "gui-win7sp1-x64"), + (versions.is_windows_7_sp0, "gui-win7sp0-x64"), + ] + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + ] + + @staticmethod + def create_gui_table( + context: interfaces.context.ContextInterface, + symbol_table: str, + config_path: str, + ) -> str: + """Creates a symbol table for windows GUI types + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + symbol_table: The name of an existing symbol table containing the kernel symbols + config_path: The configuration path within the context of the symbol table to create + + Returns: + The name of the constructed GUI table + """ + native_types = context.symbol_space[symbol_table].natives + + if not symbols.symbol_table_is_64bit(context, symbol_table): + raise NotImplementedError( + "This plugin only supports x64 versions of Windows" + ) + + table_mapping = {"nt_symbols": symbol_table} + + try: + symbol_filename = next( + filename + for version_check, filename in WindowStations._win_version_file_map + if version_check(context=context, symbol_table=symbol_table) + ) + except StopIteration: + raise NotImplementedError("This version of Windows is not supported!") + + vollog.debug(f"Using GUI table {symbol_filename}") + + return intermed.IntermediateSymbolTable.create( + context, + config_path, + os.path.join("windows", "gui"), + symbol_filename, + class_types=gui.class_types, + native_types=native_types, + table_mapping=table_mapping, + ) + + @classmethod + def get_session_map( + cls, + context: interfaces.context.ContextInterface, + module_name: str, + gui_table_name: str, + ) -> Dict[int, interfaces.context.ModuleInterface]: + """ + Walks each session layer and returns a dictionary that + maps session identifiers to a module in the session's layer + """ + session_map = modules.Modules.get_session_layers_map(context, module_name) + + for session_id, session_layer in session_map.items(): + session_module = context.module( + gui_table_name, layer_name=session_layer, offset=0 + ) + session_map[session_id] = session_module + + return session_map + + @classmethod + def scan_gui_object( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + kernel_module_name: str, + object_tag: bytes, + object_type: str, + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: + """ + An API that generically scans for GUI (win32*.sys) objects allocated in the pools (which is nearly all of them) + + This function scans within the kernel space for the tags and then uses `get_session_map` to instantiate objects + in their correct session address space. + + Args: + context: + config_path: + kernel_module_name: + object_tag: The 4 byte pool header tag to search for + object_type: The data structure of the GUI object within the pool + """ + + kernel = context.modules[kernel_module_name] + + gui_table_name = cls.create_gui_table( + context, kernel.symbol_table_name, config_path + ) + + constraints = poolscanner.PoolScanner.gui_poolscanner_constraints( + gui_table_name, [object_tag] + ) + + session_map = cls.get_session_map(context, kernel_module_name, gui_table_name) + + for result in poolscanner.PoolScanner.generate_pool_scan_extended( + context, + kernel.layer_name, + kernel.symbol_table_name, + gui_table_name, + constraints, + ): + _constraint, mem_object, _header = result + + # enforce that objects are in a valid session + # this prevents smear and also ensures future pointer + # dereferences are performed in the correct address space (layer) + try: + session_id = mem_object.get_session_id() + except exceptions.InvalidAddressException: + continue + + if session_id is not None: + session_module = session_map.get(session_id, None) + if session_module: + # create the object its own address space (per-session) + yield session_module.object( + object_type=object_type, offset=mem_object.vol.offset + ) + + @classmethod + def scan_window_stations( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + kernel_module_name: str, + ) -> Iterator[Tuple["gui.tagWINDOWSTATION", str, int]]: + """ + Scans for window stations through `scan_gui_object` + Yields each window station along with its name and session_id + """ + + seen = set() + + kernel = context.modules[kernel_module_name] + + for scanned_winsta in cls.scan_gui_object( + context, config_path, kernel_module_name, b"Wind", "tagWINDOWSTATION" + ): + # walk the list of each station found through scanning + for winsta in scanned_winsta.traverse(): + if winsta.vol.offset in seen: + continue + seen.add(winsta.vol.offset) + + # stations need to have a name and be in a session + name, session_id = winsta.get_info(kernel.symbol_table_name) + if name and session_id is not None: + yield winsta, name, session_id + + def _generator(self): + """ + A wrapper around `scan_window_stations` + """ + for winsta, name, session_id in self.scan_window_stations( + self.context, self.config_path, self.config["kernel"] + ): + yield ( + 0, + ( + format_hints.Hex(winsta.vol.offset), + name, + session_id, + ), + ) + + # Volatility 2 reported whether the station is interactive or not, but I could not determine if its algorithm + # is currently valid. I also did not see where the old code paths still checked the same bit mask + def run(self): + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("Name", str), + ("SessionId", int), + ], + self._generator(), + ) diff --git a/volatility3/framework/symbols/windows/extensions/gui.py b/volatility3/framework/symbols/windows/extensions/gui.py new file mode 100644 index 000000000..92693dba5 --- /dev/null +++ b/volatility3/framework/symbols/windows/extensions/gui.py @@ -0,0 +1,127 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +from typing import Optional, Tuple, Iterator + +from volatility3.framework import exceptions, constants, interfaces +from volatility3.framework import objects +from volatility3.framework.objects import utility +from volatility3.framework.symbols.windows.extensions import pool + + +class tagWINDOWSTATION(objects.StructType, pool.ExecutiveObject): + def is_valid(self) -> bool: + sid = self.get_session_id() + return sid is not None and 0 <= sid < 256 + + def get_session_id(self) -> Optional[int]: + try: + return self.dwSessionId + except exceptions.InvalidAddressException: + return None + + def traverse(self, max_stations: int = 15): + """ + Traverses the window stations referenced in the list of stations + """ + seen = set() + + # include the first window station + yield self + + while len(seen) < max_stations: + try: + winsta = self.rpwinstaNext.dereference() + except exceptions.InvalidAddressException: + break + + if winsta.vol.offset in seen: + break + + yield winsta + + seen.add(winsta.vol.offset) + + def get_info(self, kernel_symbol_table_name) -> Optional[Tuple[str, int]]: + try: + name = self.get_name(kernel_symbol_table_name) + session_id = self.get_session_id() + except exceptions.InvalidAddressException: + return None, None + + # attempt to avoid smear + if session_id is not None and session_id < 256 and name and len(name) > 1: + return name, session_id + + return None, None + + def desktops(self, symbol_table_name, max_desktops: int = 12): + seen = set() + + while len(seen) < max_desktops: + try: + desktop = self.rpdeskList.dereference() + name = desktop.get_name(symbol_table_name) + except exceptions.InvalidAddressException: + break + + if desktop.vol.offset in seen: + break + + yield desktop, name + + seen.add(desktop.vol.offset) + + +class tagDESKTOP(objects.StructType, pool.ExecutiveObject): + def is_valid(self) -> bool: + """ + Enforce a valid sid + owning window station + """ + sid = self.get_session_id() + + valid_sid = sid is not None and 0 <= sid < 256 + + if valid_sid: + return self.get_window_station() is not None + + return False + + def get_window_station(self) -> Optional["tagWINDOWSTATION"]: + try: + return self.rpwinstaParent.dereference() + except exceptions.InvalidAddressException: + return None + + def get_session_id(self) -> Optional[int]: + winsta = self.get_window_station() + if winsta: + return winsta.get_session_id() + + return None + + def get_threads( + self, + ) -> Iterator[Tuple[interfaces.objects.ObjectInterface, str, int]]: + """ + Returns the threads of each desktop along with owning process information + """ + symbol_table_name = self.vol.type_name.split(constants.BANG)[0] + + for thread in self.PtiList.to_list( + symbol_table_name + constants.BANG + "tagTHREADINFO", "PtiLink" + ): + try: + process_name = utility.array_to_string(thread.ppi.Process.ImageFileName) + process_pid = thread.ppi.Process.UniqueProcessId + except exceptions.InvalidAddressException: + continue + + yield thread, process_name, process_pid + + +class_types = { + "tagWINDOWSTATION": tagWINDOWSTATION, + "tagDESKTOP": tagDESKTOP, +} From 3750b88ba499e35f1985ea53e1b59daca13e1d3b Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 25 Feb 2025 10:12:07 -0600 Subject: [PATCH 1496/2186] Windows WindowStations: Fix issue with native types --- .../plugins/windows/windowstations.py | 3 +- .../windows/gui/gui-win10-10586-x64.json | 38 +++++++++---------- .../windows/gui/gui-win10-15063-x64.json | 38 +++++++++---------- .../windows/gui/gui-win10-16299-x64.json | 38 +++++++++---------- .../windows/gui/gui-win10-17134-x64.json | 38 +++++++++---------- .../windows/gui/gui-win10-17763-x64.json | 38 +++++++++---------- .../windows/gui/gui-win10-18362-x64.json | 38 +++++++++---------- .../windows/gui/gui-win10-19041-x64.json | 38 +++++++++---------- .../windows/gui/gui-win10-19577-x64.json | 38 +++++++++---------- .../symbols/windows/gui/gui-win7sp0-x64.json | 38 +++++++++---------- .../symbols/windows/gui/gui-win7sp1-x64.json | 38 +++++++++---------- .../symbols/windows/gui/gui-win8-x64.json | 38 +++++++++---------- 12 files changed, 211 insertions(+), 210 deletions(-) diff --git a/volatility3/framework/plugins/windows/windowstations.py b/volatility3/framework/plugins/windows/windowstations.py index cb6a52b88..6dac484f5 100644 --- a/volatility3/framework/plugins/windows/windowstations.py +++ b/volatility3/framework/plugins/windows/windowstations.py @@ -64,7 +64,8 @@ class WindowStations(interfaces.plugins.PluginInterface): Returns: The name of the constructed GUI table """ - native_types = context.symbol_space[symbol_table].natives + + native_types = intermed.native.x64NativeTable if not symbols.symbol_table_is_64bit(context, symbol_table): raise NotImplementedError( diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json index 5f280725c..4533c6eba 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json @@ -4225,21 +4225,21 @@ "Blue": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "Green": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "Red": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 } @@ -8099,112 +8099,112 @@ "_41": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 48 }, "_42": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 52 }, "_43": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 56 }, "_44": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 60 }, "_34": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 44 }, "_14": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 12 }, "_13": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "_12": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "_11": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 }, "_24": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 28 }, "_31": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 32 }, "_33": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 40 }, "_32": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 36 }, "_22": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 20 }, "_23": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 24 }, "_21": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 16 } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json index 26e7356b9..4405d0375 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json @@ -4225,21 +4225,21 @@ "Blue": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "Green": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "Red": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 } @@ -8099,112 +8099,112 @@ "_41": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 48 }, "_42": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 52 }, "_43": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 56 }, "_44": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 60 }, "_34": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 44 }, "_14": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 12 }, "_13": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "_12": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "_11": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 }, "_24": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 28 }, "_31": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 32 }, "_33": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 40 }, "_32": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 36 }, "_22": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 20 }, "_23": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 24 }, "_21": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 16 } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json index bde774987..67fb6c531 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json @@ -4225,21 +4225,21 @@ "Blue": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "Green": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "Red": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 } @@ -8099,112 +8099,112 @@ "_41": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 48 }, "_42": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 52 }, "_43": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 56 }, "_44": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 60 }, "_34": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 44 }, "_14": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 12 }, "_13": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "_12": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "_11": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 }, "_24": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 28 }, "_31": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 32 }, "_33": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 40 }, "_32": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 36 }, "_22": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 20 }, "_23": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 24 }, "_21": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 16 } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json index cd5ca7169..d341a3fd0 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json @@ -4225,21 +4225,21 @@ "Blue": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "Green": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "Red": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 } @@ -8099,112 +8099,112 @@ "_41": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 48 }, "_42": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 52 }, "_43": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 56 }, "_44": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 60 }, "_34": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 44 }, "_14": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 12 }, "_13": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "_12": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "_11": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 }, "_24": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 28 }, "_31": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 32 }, "_33": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 40 }, "_32": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 36 }, "_22": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 20 }, "_23": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 24 }, "_21": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 16 } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json index 00d3f61f3..a9c2e5995 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json @@ -4225,21 +4225,21 @@ "Blue": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "Green": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "Red": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 } @@ -8099,112 +8099,112 @@ "_41": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 48 }, "_42": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 52 }, "_43": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 56 }, "_44": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 60 }, "_34": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 44 }, "_14": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 12 }, "_13": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "_12": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "_11": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 }, "_24": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 28 }, "_31": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 32 }, "_33": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 40 }, "_32": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 36 }, "_22": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 20 }, "_23": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 24 }, "_21": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 16 } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json index dc458970e..22f6d17b4 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json @@ -4225,21 +4225,21 @@ "Blue": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "Green": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "Red": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 } @@ -8099,112 +8099,112 @@ "_41": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 48 }, "_42": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 52 }, "_43": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 56 }, "_44": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 60 }, "_34": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 44 }, "_14": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 12 }, "_13": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "_12": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "_11": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 }, "_24": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 28 }, "_31": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 32 }, "_33": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 40 }, "_32": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 36 }, "_22": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 20 }, "_23": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 24 }, "_21": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 16 } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json index 09f518451..f26523a1a 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json @@ -4225,21 +4225,21 @@ "Blue": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "Green": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "Red": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 } @@ -8099,112 +8099,112 @@ "_41": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 48 }, "_42": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 52 }, "_43": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 56 }, "_44": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 60 }, "_34": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 44 }, "_14": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 12 }, "_13": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "_12": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "_11": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 }, "_24": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 28 }, "_31": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 32 }, "_33": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 40 }, "_32": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 36 }, "_22": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 20 }, "_23": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 24 }, "_21": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 16 } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json index 5c9f4d814..7a1a405a3 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json @@ -4225,21 +4225,21 @@ "Blue": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "Green": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "Red": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 } @@ -8099,112 +8099,112 @@ "_41": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 48 }, "_42": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 52 }, "_43": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 56 }, "_44": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 60 }, "_34": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 44 }, "_14": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 12 }, "_13": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "_12": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "_11": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 }, "_24": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 28 }, "_31": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 32 }, "_33": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 40 }, "_32": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 36 }, "_22": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 20 }, "_23": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 24 }, "_21": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 16 } diff --git a/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json b/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json index 6c2e7dd17..80de6b279 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json @@ -4812,21 +4812,21 @@ "Blue": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "Green": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "Red": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 } @@ -8686,112 +8686,112 @@ "_41": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 48 }, "_42": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 52 }, "_43": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 56 }, "_44": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 60 }, "_34": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 44 }, "_14": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 12 }, "_13": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "_12": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "_11": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 }, "_24": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 28 }, "_31": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 32 }, "_33": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 40 }, "_32": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 36 }, "_22": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 20 }, "_23": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 24 }, "_21": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 16 } diff --git a/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json b/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json index 76e3d8100..2d4b63380 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json @@ -4181,21 +4181,21 @@ "Blue": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "Green": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "Red": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 } @@ -8072,112 +8072,112 @@ "_41": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 48 }, "_42": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 52 }, "_43": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 56 }, "_44": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 60 }, "_34": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 44 }, "_14": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 12 }, "_13": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "_12": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "_11": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 }, "_24": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 28 }, "_31": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 32 }, "_33": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 40 }, "_32": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 36 }, "_22": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 20 }, "_23": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 24 }, "_21": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 16 } diff --git a/volatility3/framework/symbols/windows/gui/gui-win8-x64.json b/volatility3/framework/symbols/windows/gui/gui-win8-x64.json index 3f3193e35..ffc2bf90b 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win8-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win8-x64.json @@ -4181,21 +4181,21 @@ "Blue": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "Green": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "Red": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 } @@ -8055,112 +8055,112 @@ "_41": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 48 }, "_42": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 52 }, "_43": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 56 }, "_44": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 60 }, "_34": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 44 }, "_14": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 12 }, "_13": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 8 }, "_12": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 4 }, "_11": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 0 }, "_24": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 28 }, "_31": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 32 }, "_33": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 40 }, "_32": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 36 }, "_22": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 20 }, "_23": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 24 }, "_21": { "type": { "kind": "base", - "name": "f32" + "name": "float" }, "offset": 16 } From 06a2ebd9ff3e1a24c666c428b0a51254c31e82c8 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 18:39:43 -0600 Subject: [PATCH 1497/2186] Windows GUI Symbols: JSON Lint --- .../windows/gui/gui-win10-10586-x64.json | 37562 +++++++-------- .../windows/gui/gui-win10-15063-x64.json | 37562 +++++++-------- .../windows/gui/gui-win10-16299-x64.json | 37562 +++++++-------- .../windows/gui/gui-win10-17134-x64.json | 37648 ++++++++-------- .../windows/gui/gui-win10-17735-x64.json | 37648 ++++++++-------- .../windows/gui/gui-win10-17763-x64.json | 37648 ++++++++-------- .../windows/gui/gui-win10-18362-x64.json | 37648 ++++++++-------- .../windows/gui/gui-win10-19041-x64.json | 37648 ++++++++-------- .../windows/gui/gui-win10-19577-x64.json | 37648 ++++++++-------- .../symbols/windows/gui/gui-win7sp0-x64.json | 37362 +++++++-------- .../symbols/windows/gui/gui-win7sp1-x64.json | 37348 +++++++-------- .../symbols/windows/gui/gui-win8-x64.json | 37474 +++++++-------- 12 files changed, 225379 insertions(+), 225379 deletions(-) diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json index 4533c6eba..a542d4778 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json @@ -1,18787 +1,18787 @@ { - "symbols": {}, - "user_types": { - "HWINSTA__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 656 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 440 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 784 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 784 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 216 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 32 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 160 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1153": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 59 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 9 - }, - "offset": 0 - }, - "Region": { - "type": { - "bit_position": 61, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 39 - }, - "offset": 0 + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1960": { - "fields": { - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 } - }, - "kind": "struct", - "size": 24 - }, - "tagCLIENTTHREADINFO": { - "fields": { - "fsWakeMask": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "CTIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fsWakeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - }, - "fsWakeBitsJournal": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "fsChangeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4 - }, - "tickLastMsgChecked": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "tagKbdNlsLayer": { - "fields": { - "OEMIdentifier": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "NumOfVkToF": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pusMouseVKey": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "NumOfMouseVKey": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pVkToF": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_FUNCTION_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "LayoutInformation": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1158": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 2 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HBITMAP__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_124b": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1 - }, - "InPath": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_TL": { - "fields": { - "pfnFree": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pobj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagTOUCHINPUTINFO": { - "fields": { - "dwcInputs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "TouchInput": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagTOUCHINPUT" - }, - "kind": "array" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 80 - }, - "tagTHREADINFO": { - "fields": { - "ForceLegacyResizeNCMetr": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptl": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 336 - }, - "timeLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 448 - }, - "DontJournalAttach": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fPack": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 26 - }, - "offset": 928 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 516 - }, - "psmsSent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 424 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 656 - }, - "DefaultCharset": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "HackWinFlags": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 512 - }, - "psmsReceiveList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "sphkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 560 - }, - "No50ExStyles": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "IgnoreFaults": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pClientInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "DDENoAsyncReg": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DealyHwndShakeChk": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "amdesk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 720 - }, - "fsChangeBitsRemoved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 704 - }, - "psmsCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 432 - }, - "NoInitFlagsOnFocus": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "StrictLLHook": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "NoShadow": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EnumHelv": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Winver31": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Win30AvgWidth": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "AlwaysSendSyncPaint": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "IgnoreNoDiscard": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cPaintsReady": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 480 - }, - "SubtractClips": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "apEvent": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 712 - }, - "cEnterCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 672 - }, - "ptLastReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 636 - }, - "fThreadCleanupFinished": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "idLast": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 456 - }, - "spklActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 360 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptdb": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "SpareCompatFlags2": { - "type": { - "bit_position": 33, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 31 - }, - "offset": 520 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "mlPost": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 680 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "NoCustomPaperSize": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cTimersReady": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 484 - }, - "NoScrollBarCtxMenu": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hPrevHidData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 880 - }, - "cNestedStableVisRgn": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "DpiAware": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "MultipleBands": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "AnimationOff": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "No50ExStyleBits": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulThreadFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 928 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "fsReserveKeys": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 708 - }, - "hdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 472 - }, - "MoreExtraWndWords": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoGhost": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoHRGN1": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 628 - }, - "hGestureInfoCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HGESTUREINFO__" - }, - "kind": "pointer" - }, - "offset": 896 - }, - "GiveUpForegound": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "spDefaultImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 656 - }, - "pmsd": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MOVESIZEDATA" - }, - "kind": "pointer" - }, - "offset": 544 - }, - "HardwareMixer": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoEMFSpooling": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 904 - }, - "EnumTTNotDevice": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fSpecialInitialization": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ForceFusion": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cti": { - "type": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "offset": 864 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pstrAppName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "SendMnuDblClk": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DDENoSync": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EditNoMouseHide": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "OpenGLEMF": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hTouchInputCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HTOUCHINPUT__" - }, - "kind": "pointer" - }, - "offset": 888 - }, - "pEventQueueServer": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "NoPaddedBorder": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoDrawPatRect": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTTGrapchis": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "GetDeviceCaps": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pq": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 352 - }, - "NoSoftCursOnMoveSize": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hEventQueueClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 592 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "DDE": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "wchInjected": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 706 - }, - "CallTTDevice": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsShellDlg": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TransparentBltMirror": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "PtiLink": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 656 - }, - "DisableDBCSProp": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cVisWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 728 - }, - "Random31Ux": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NcCalcSizeOnMove": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "KCOff": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "readyHead": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 912 - }, - "UsePrintingEscape": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoBatching": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTextBand": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 724 - }, - "fETWReserved": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 928 - }, - "pqAttach": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 528 - }, - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "TIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 440 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "Win31DevModeSize": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSBTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBTRACK" - }, - "kind": "pointer" - }, - "offset": 584 - }, - "spwndDefaultIme": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 648 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 520 - }, - "EditSetTextMunge": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fgfSwitchInProgressSetter": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 392 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "NoTimeCbProtect": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DisableFontAssoc": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pcti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "NoCharDeadKey": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 624 - }, - "TTIgnoreRasterDupe": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "qwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 520 - }, - "wParamHkCurrent": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 576 - }, - "NoWindowArrangement": { - "type": { - "bit_position": 32, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ActiveMenus": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "pMenuState": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 488 - }, - "TryExceptCallWndProc": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "hklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "IgnoreTopMost": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "exitCode": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 464 - }, - "NoDDETrackDying": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "FontSubs": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "SmoothScrolling": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "lParamHkCurrent": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 568 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 784 - }, - "ptiSibling": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 536 - }, - "psiiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 504 - }, - "IncreaseStack": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - } - }, - "kind": "struct", - "size": 936 - }, - "__unnamed_11ff": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "EaLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FileAttributes": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_CALLPROCDATA": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "pfnClientPrevious": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "wType": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "spcpdNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH": { - "fields": { - "VidPnTargetColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 48 - }, - "VidPnTargetColorBasis": { - "type": { - "kind": "enum", - "name": "VidPnTargetColorBasisEnum" - }, - "offset": 44 - }, - "ContentTransformation": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" - }, - "offset": 12 - }, - "GammaRamp": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GAMMA_RAMP" - }, - "offset": 336 - }, - "CopyProtection": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" - }, - "offset": 68 - }, - "VidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Content": { - "type": { - "kind": "enum", - "name": "ContentEnum" - }, - "offset": 64 - }, - "VisibleFromActiveTLOffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 28 - }, - "VidPnTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "VisibleFromActiveBROffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 36 - }, - "ImportanceOrdinal": { - "type": { - "kind": "enum", - "name": "ImportanceOrdinalEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 360 - }, - "__unnamed_1253": { - "fields": { - "PowerSequence": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_POWER_SEQUENCE" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESS_HID_TABLE": { - "fields": { - "fExclusiveMouseSink": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fCaptureMouse": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyMouse": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboard": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "spwndTargetMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndTargetKbd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "UsageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 98 - }, - "UsagePageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 96 - }, - "fRawMouse": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawMouseSink": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "inclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "nSinks": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "UsagePageList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 32 - }, - "ExclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - }, - "InclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "fRawKeyboardSink": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fAppKeys": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoHotKeys": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "fNoLegacyKeyboard": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "request": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fExclusiveKeyboardSink": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "pLastRequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1809": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "MessageCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHOOK": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "iHook": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "phkNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "offPfn": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "fLastHookHung": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 88 - }, - "nTimeout": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 7 - }, - "offset": 88 - }, - "ihmod": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "ptiHooked": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 80 - } - }, - "kind": "struct", - "size": 96 - }, - "_THROBJHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagPROCESS_HID_REQUEST": { - "fields": { - "fSinkable": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "pTLCInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_TLC_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDevNotify": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "fExSinkable": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 18 - }, - "fExclusiveOrphaned": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "next_request": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "pPORequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_PAGEONLY_REQUEST" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 16 - }, - "ptr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "spwndTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 40 - }, - "_KFLOATING_SAVE": { - "fields": { - "Dummy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { - "fields": { - "Rotate270": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate90": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate180": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMLIST": { - "fields": { - "cMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pqmsgRead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pqmsgWriteLast": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_CONSOLE_CARET_INFO": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1807": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - }, - "Level": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "DEADKEY": { - "fields": { - "wchComposed": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 4 - }, - "dwBoth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESSINFO": { - "fields": { - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "fHasMagContext": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 736 - }, - "hwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWINSTA__" - }, - "kind": "pointer" - }, - "offset": 608 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ptiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 256 - }, - "pHidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 744 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "pclsPublicList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 288 - }, - "dwhmodLibLoadedMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 340 - }, - "luidSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 700 - }, - "hdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 328 - }, - "Unused": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 736 - }, - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "dwImeCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 696 - }, - "hMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HMONITOR__" - }, - "kind": "pointer" - }, - "offset": 624 - }, - "ptiMainThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "pvwplWndGCList": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 760 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "usi": { - "type": { - "kind": "struct", - "name": "tagUSERSTARTUPINFO" - }, - "offset": 708 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ahmodLibLoaded": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 384 - }, - "pW32Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 688 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "bmHandleFlags": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_BITMAP" - }, - "offset": 648 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "pclsPrivateList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 320 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLpkEntryPoints": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 680 - }, - "pwpi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ppiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 736 - }, - "dwHotkey": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 620 - }, - "cSysExpunge": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "rpdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pdvList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 632 - }, - "hidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 784 - }, - "ppiNextRunning": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "amwinsta": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 616 - }, - "dwRegisteredClasses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 752 - }, - "dwLayout": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 740 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rpwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "pCursorCache": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "pClientBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 672 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 640 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 768 - }, - "HBRUSH__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLIP": { - "fields": { - "fmt": { - "type": { - "kind": "enum", - "name": "fmtEnum" - }, - "offset": 0 - }, - "fGlobalHandle": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagUAHMENUPOPUPMETRICS": { - "fields": { - "rgcx": { - "type": { - "count": 4, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 0 - }, - "fUpdateMaxWidths": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 20 - }, - "tagSMS": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 72 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 80 - }, - "lpResultCallBack": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lRet": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 56 - }, - "psmsReceiveNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "tSent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "pvCapture": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "psmsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptiReceiver": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ptiCallBackSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "dwData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 112 - }, - "__unnamed_195e": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_195c": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_W32THREAD": { - "fields": { - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 336 - }, - "_VK_TO_WCHAR_TABLE": { - "fields": { - "pVkToWchars": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHARS1" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cbSize": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - }, - "nModifications": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPROPLIST": { - "fields": { - "aprop": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagPROP" - }, - "kind": "array" - }, - "offset": 8 - }, - "iFirstFree": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cEntries": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_D3DKMDT_FREQUENCY_RANGE": { - "fields": { - "MinVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 0 - }, - "MaxVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 8 - }, - "MaxHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 24 - }, - "MinHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_11f8": { - "fields": { - "Apc": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KAPC" - }, - "offset": 0 - }, - "CompletionKey": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Overlay": { - "type": { - "kind": "struct", - "name": "__unnamed_11f5" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_18bf": { - "fields": { - "BaseMiddle": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "Flags1": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "Flags2": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "tagPROFILEVALUEINFO": { - "fields": { - "dwValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uSection": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pwszKeyName": { - "type": { - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_11f5": { - "fields": { - "Thread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "DeviceQueueEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" - }, - "offset": 0 - }, - "CurrentStackLocation": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_STACK_LOCATION" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "DriverContext": { - "type": { - "count": 4, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 0 - }, - "AuxiliaryBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "OriginalFileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "PacketType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 80 - }, - "__unnamed_125f": { - "fields": { - "AllocatedResources": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "AllocatedResourcesTranslated": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "D3DDDI_DXGI_RGB": { - "fields": { - "Blue": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "Green": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "Red": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1219": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FsControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_125b": { - "fields": { - "State": { - "type": { - "kind": "struct", - "name": "nt_symbols!_POWER_STATE" - }, - "offset": 16 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "SystemContext": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ShutdownType": { - "type": { - "kind": "enum", - "name": "ShutdownTypeEnum" - }, - "offset": 24 - }, - "SystemPowerStateContext": { - "type": { - "kind": "struct", - "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "HDC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagDISPLAYINFO": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "SpatialListHead": { - "type": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "offset": 144 - }, - "BitCountMax": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 130 - }, - "cyGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "hdcBits": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDesktopIsRect": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "hbmGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pmdev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "cFullScreen": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 160 - }, - "cxGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 128 - }, - "hDevInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fAnyPalette": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "pspbFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pMonitorPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 162 - }, - "pMonitorFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "hdcGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hrgnScreenReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cMonitors": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "hdcScreen": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "DockThresholdMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "pdceFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 168 - }, - "tagWin32AllocStats": { - "fields": { - "dwMaxAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwMaxMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwCrtAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwCrtMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18c5": { - "fields": { - "DefaultBig": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "BaseMiddle": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "LimitHigh": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 0 - }, - "System": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Granularity": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Dpl": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 0 - }, - "Type": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "Present": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "LongMode": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1261": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ProviderId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "BufferSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DataPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1263": { - "fields": { - "Argument4": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Argument2": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Argument3": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "Argument1": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1265": { - "fields": { - "DeviceIoControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121d" - }, - "offset": 0 - }, - "ReadWriteConfig": { - "type": { - "kind": "struct", - "name": "__unnamed_123d" - }, - "offset": 0 - }, - "Create": { - "type": { - "kind": "struct", - "name": "__unnamed_11ff" - }, - "offset": 0 - }, - "Write": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "PowerSequence": { - "type": { - "kind": "struct", - "name": "__unnamed_1253" - }, - "offset": 0 - }, - "QueryId": { - "type": { - "kind": "struct", - "name": "__unnamed_1243" - }, - "offset": 0 - }, - "SetFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1213" - }, - "offset": 0 - }, - "CreatePipe": { - "type": { - "kind": "struct", - "name": "__unnamed_1203" - }, - "offset": 0 - }, - "Power": { - "type": { - "kind": "struct", - "name": "__unnamed_125b" - }, - "offset": 0 - }, - "Read": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "StartDevice": { - "type": { - "kind": "struct", - "name": "__unnamed_125f" - }, - "offset": 0 - }, - "QueryDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120d" - }, - "offset": 0 - }, - "LockControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121b" - }, - "offset": 0 - }, - "QueryInterface": { - "type": { - "kind": "struct", - "name": "__unnamed_1233" - }, - "offset": 0 - }, - "Others": { - "type": { - "kind": "struct", - "name": "__unnamed_1263" - }, - "offset": 0 - }, - "FileSystemControl": { - "type": { - "kind": "struct", - "name": "__unnamed_1219" - }, - "offset": 0 - }, - "SetLock": { - "type": { - "kind": "struct", - "name": "__unnamed_123f" - }, - "offset": 0 - }, - "QueryDeviceText": { - "type": { - "kind": "struct", - "name": "__unnamed_1247" - }, - "offset": 0 - }, - "WMI": { - "type": { - "kind": "struct", - "name": "__unnamed_1261" - }, - "offset": 0 - }, - "CreateMailslot": { - "type": { - "kind": "struct", - "name": "__unnamed_1207" - }, - "offset": 0 - }, - "FilterResourceRequirements": { - "type": { - "kind": "struct", - "name": "__unnamed_123b" - }, - "offset": 0 - }, - "MountVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QueryVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1217" - }, - "offset": 0 - }, - "UsageNotification": { - "type": { - "kind": "struct", - "name": "__unnamed_124b" - }, - "offset": 0 - }, - "Scsi": { - "type": { - "kind": "struct", - "name": "__unnamed_1229" - }, - "offset": 0 - }, - "WaitWake": { - "type": { - "kind": "struct", - "name": "__unnamed_124f" - }, - "offset": 0 - }, - "QueryFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1211" - }, - "offset": 0 - }, - "VerifyVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QuerySecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_121f" - }, - "offset": 0 - }, - "QueryDeviceRelations": { - "type": { - "kind": "struct", - "name": "__unnamed_122d" - }, - "offset": 0 - }, - "NotifyDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120f" - }, - "offset": 0 - }, - "SetSecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_1221" - }, - "offset": 0 - }, - "DeviceCapabilities": { - "type": { - "kind": "struct", - "name": "__unnamed_1237" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1817": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1815": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "tagKbdLayer": { - "fields": { - "pVkToWcharTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHAR_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fLocaleFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "pCharModifiers": { - "type": { - "subtype": { - "kind": "struct", - "name": "MODIFIERS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pKeyNamesExt": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pDeadKey": { - "type": { - "subtype": { - "kind": "struct", - "name": "DEADKEY" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pusVSCtoVK": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pKeyNamesDead": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pLigature": { - "type": { - "subtype": { - "kind": "struct", - "name": "_LIGATURE1" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "cbLgEntry": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 85 - }, - "pKeyNames": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "dwSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "nLgMax": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 84 - }, - "pVSCtoVK_E1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pVSCtoVK_E0": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bMaxVSCtoVK": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1813": { - "fields": { - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { - "fields": { - "Centered": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "AspectRatioCenteredMax": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Stretched": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Custom": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1958": { - "fields": { - "MinBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "MaxBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_2DREGION": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "HRGN__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1954": { - "fields": { - "AffinityPolicy": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "PriorityPolicy": { - "type": { - "kind": "enum", - "name": "PriorityPolicyEnum" - }, - "offset": 12 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "MaximumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "TargetedProcessors": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "MinimumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_PROCMARKHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagSIZE": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagDESKTOPVIEW": { - "fields": { - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "pdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pdvNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1819": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { - "fields": { - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "PathAndTargetModeSetOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBTRACK": { - "fields": { - "spwndSBNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTimerSB": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "cmdSB": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "xxxpfnSB": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fTrackVert": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posNew": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 84 - }, - "posOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fCtlSB": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "rcTrack": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 32 - }, - "fTrackRecalc": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndSB": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "pxOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fHitOld": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "pSBCalc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBCALC" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "nBar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_16c1": { - "fields": { - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "MaxPixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_DMA_ADAPTER": { - "fields": { - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "DmaOperations": { - "type": { - "subtype": { - "kind": "struct", - "name": "_DMA_OPERATIONS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMONITOR": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "rcMonitorReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 28 - }, - "pMonitorNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hDevReal": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "hrgnMonitorReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "rcWorkReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 44 - }, - "dwMONFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cWndStack": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 74 - }, - "DockTargets": { - "type": { - "count": 7, - "subtype": { - "count": 4, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "kind": "array" - }, - "offset": 96 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 144 - }, - "__unnamed_180b": { - "fields": { - "Translated": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Raw": { - "type": { - "kind": "struct", - "name": "__unnamed_1809" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagRECT": { - "fields": { - "top": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "right": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "bottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "left": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_180d": { - "fields": { - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Port": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Channel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "MODIFIERS": { - "fields": { - "wMaxModBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "pVkToBit": { - "type": { - "subtype": { - "kind": "struct", - "name": "VK_TO_BIT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ModNumber": { - "type": { - "count": 0, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 10 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120f": { - "fields": { - "CompletionFilter": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120d": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 16 - }, - "FileName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { - "fields": { - "PathAndTargetModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 48 - }, - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 40 - }, - "SourceMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_SOURCE_MODE" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 480 - }, - "tagMSG": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 24 - }, - "pt": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 36 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "time": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "tagDPISERVERINFO": { - "fields": { - "hMsgFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hCaptionFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "gclBorder": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cxMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "wMaxBtnSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "cyMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { - "fields": { - "Blue": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 1024 - }, - "Green": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 512 - }, - "Red": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1536 - }, - "__unnamed_124f": { - "fields": { - "PowerState": { - "type": { - "kind": "enum", - "name": "PowerStateEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagWOWPROCESSINFO": { - "fields": { - "ptdbHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ptiScheduled": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "nRecvLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CSLockCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "nSendLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pEventWowExec": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lpfnWowExitTask": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "CSOwningThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "hEventWowExecClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwpiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "HTOUCHINPUT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMENU": { - "fields": { - "iItem": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "umpm": { - "type": { - "kind": "struct", - "name": "tagUAHMENUPOPUPMETRICS" - }, - "offset": 132 - }, - "cItems": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pParentMenus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "fFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "cxMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwContextHelpId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "cxTextAlign": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "cAlloced": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "hbrBack": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwArrowsOn": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 128 - }, - "iMaxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 124 - }, - "dwMenuData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "cyMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "rgItems": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagITEM" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "cyMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "_D3DDDI_GAMMA_RAMP_DXGI_1": { - "fields": { - "GammaCurve": { - "type": { - "count": 1025, - "subtype": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "kind": "array" - }, - "offset": 24 - }, - "Scale": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 0 - }, - "Offset": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 12324 - }, - "_MOVESIZEDATA": { - "fields": { - "fmsKbd": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "pStartMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "impy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 152 - }, - "fMoveFromMax": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapMoving": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "frcNormalCheckPtValid": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptMaxTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 96 - }, - "ptRestore": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 156 - }, - "fUsePreviewRect": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForceSizing": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fThresholdSelector": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 164 - }, - "ptStartHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 208 - }, - "fDragFullWindows": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForeground": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "dyMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 140 - }, - "fHasSoftwareCursor": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsHitPtOffScreen": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapSizingTemporaryAllowed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fCheckPtForcefullyRestored": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedRight": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ulCountDragOutOfLeftRightTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 228 - }, - "Unused": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 164 - }, - "dxMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 136 - }, - "fStartVerticallyMaximizedRight": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcParent": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 72 - }, - "fOffScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fWindowWasSuperMaximized": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedLeft": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "StartCurrentHitTarget": { - "type": { - "kind": "enum", - "name": "StartCurrentHitTargetEnum" - }, - "offset": 176 - }, - "fHasPreviewRect": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fLockWindowUpdate": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcPreview": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 40 - }, - "fSnapSizing": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsMoveSizeLoop": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fInitSize": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcDragCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "ulCountDragOutOfTopTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 224 - }, - "rcPreviewCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 56 - }, - "CurrentHitTarget": { - "type": { - "kind": "enum", - "name": "CurrentHitTargetEnum" - }, - "offset": 192 - }, - "fSnapMovingTemporaryAllowed": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fTrackCancelled": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 200 - }, - "ptLastTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 216 - }, - "cmd": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 144 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 164 - }, - "MoveRectStyle": { - "type": { - "kind": "enum", - "name": "MoveRectStyleEnum" - }, - "offset": 196 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "ulCountSizeOutOfTopBottomTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 232 - }, - "fStartVerticallyMaximizedLeft": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcNormalStartCheckPt": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 120 - }, - "ptMinTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 88 - }, - "rcDrag": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - }, - "pMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "impx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 148 - } - }, - "kind": "struct", - "size": 240 - }, - "_D3DDDI_RATIONAL": { - "fields": { - "Denominator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Numerator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "VWPL": { - "fields": { - "cElem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "aElement": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "VWPLELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "fTagged": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cThreshhold": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cPwnd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagTEXTMETRICW": { - "fields": { - "tmOverhang": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "tmPitchAndFamily": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 55 - }, - "tmStruckOut": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 54 - }, - "tmCharSet": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - }, - "tmDigitizedAspectX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "tmDigitizedAspectY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "tmFirstChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 44 - }, - "tmWeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "tmDescent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "tmDefaultChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 48 - }, - "tmLastChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 46 - }, - "tmMaxCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "tmItalic": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 52 - }, - "tmUnderlined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 53 - }, - "tmInternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "tmAscent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "tmHeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "tmAveCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "tmBreakChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 50 - }, - "tmExternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 60 - }, - "_SCATTER_GATHER_LIST": { - "fields": { - "Elements": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "_SCATTER_GATHER_ELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "NumberOfElements": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "HICON__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_HANDLEENTRY": { - "fields": { - "pOwner": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "bType": { - "type": { - "kind": "enum", - "name": "bTypeEnum" - }, - "offset": 16 - }, - "bFlags": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 17 - }, - "phead": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HEAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "wUniq": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - } - }, - "kind": "struct", - "size": 24 - }, - "_THRDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagSVR_INSTANCE_INFO": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nextInThisThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spwndEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "afCmd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pcii": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 80 - }, - "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { - "fields": { - "RequestDiagInfo": { - "type": { - "kind": "struct", - "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" - }, - "offset": 4 - }, - "AffectedVidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "VidPnSerialization": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPN_SERIALIZATION" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 28 - }, - "tagPOPUPMENU": { - "fields": { - "fDroppedLeft": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fIsSysMenu": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posDropped": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fIsMenuBar": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHierarchyDropped": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDropNextPopup": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fRightButton": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ppopupmenuRoot": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fFirstClick": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fRtoL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSendUninit": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fAboutToHide": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNextPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fFlushDelayedFree": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHasMenuBar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fTrackMouseEvent": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fNoNotify": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posSelectedItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fUseMonitorRect": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndPrevPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ppmDelayedFree": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "fFreed": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSynchronous": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenuAlternate": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fDestroyed": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "iDropDir": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "fIsTrackPopup": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndActivePopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "fInCancel": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fToggle": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDelayedFree": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHideTimer": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fShowTimer": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "_D3DKMDT_MONITOR_SOURCE_MODE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 84 - }, - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "ColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 68 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 88 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 96 - }, - "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 8 - }, - "Data": { - "type": { - "count": 128, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 12 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 140 - }, - "__unnamed_127c": { - "fields": { - "Wcb": { - "type": { - "kind": "struct", - "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" - }, - "offset": 0 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_D3DMATRIX": { - "fields": { - "_41": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 48 - }, - "_42": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 52 - }, - "_43": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 56 - }, - "_44": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 60 - }, - "_34": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 44 - }, - "_14": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 12 - }, - "_13": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "_12": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "_11": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - }, - "_24": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 28 - }, - "_31": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 32 - }, - "_33": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 40 - }, - "_32": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 36 - }, - "_22": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 20 - }, - "_23": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 24 - }, - "_21": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 64 - }, - "_LARGE_UNICODE_STRING": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumLength": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 4 - }, - "bAnsi": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "_VK_VALUES_STRINGS": { - "fields": { - "fReserved": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "pszMultiNames": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHID_TLC_INFO": { - "fields": { - "cExcludeOrphaned": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - }, - "cDevices": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "cExcludeRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cUsagePageRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "cDirectRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { - "fields": { - "Info": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_SOURCE_MODE" - }, - "offset": 0 - }, - "TimingType": { - "type": { - "kind": "enum", - "name": "TimingTypeEnum" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 104 - }, - "tagCURSOR": { - "fields": { - "rt": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 58 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCMARKHEAD" - }, - "offset": 0 - }, - "hbmUserAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "xHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 68 - }, - "hbmColor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pcurNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "CURSORF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hbmMask": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bpp": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 120 - }, - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 128 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "rcBounds": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 96 - }, - "atomModName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "hbmAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "yHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 70 - }, - "strName": { - "type": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 136 - }, - "_D3DKMDT_GAMMA_RAMP": { - "fields": { - "Data": { - "type": { - "kind": "struct", - "name": "__unnamed_182e" - }, - "offset": 16 - }, - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "HWND__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1207": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18a1": { - "fields": { - "Text": { - "type": { - "kind": "enum", - "name": "TextEnum" - }, - "offset": 0 - }, - "Graphics": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { - "fields": { - "TargetMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "offset": 360 - }, - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 432 - }, - "HKL__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1209": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagDCE": { - "fields": { - "hrgnClipPublic": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwndOrg": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pdceNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "DCX_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hdc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "hrgnSavedVis": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pwndRedirect": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pwndClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 96 - }, - "VSC_LPWSTR": { - "fields": { - "vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pwsz": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagQ": { - "fields": { - "hwndDblClk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "timeDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndFocus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 328 - }, - "cLockCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 322 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 312 - }, - "ptiSysLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "caret": { - "type": { - "kind": "struct", - "name": "tagCARET" - }, - "offset": 232 - }, - "ptiMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndActivePrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ptMouseMove": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 128 - }, - "msgDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "msgJournal": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "ptiKeyboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 320 - }, - "QF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 316 - }, - "mlInput": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 0 - }, - "spwndActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "codeCapture": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "idSysLock": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "spcurCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "ulEtwReserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "ptDblClk": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 120 - }, - "xbtnDblClk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 104 - }, - "afKeyRecentDown": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "afKeyState": { - "type": { - "count": 64, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 168 - }, - "spwndCapture": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "idSysPeek": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 344 - }, - "__unnamed_1203": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "HGESTUREINFO__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLS": { - "fields": { - "spcur": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 100 - }, - "pclsClone": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "lpszClientAnsiMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pclsBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "atomNVClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "pclsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "CSF_flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "lpszAnsiClassName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "spcpdFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "lpszClientUnicodeMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "cbclsExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 96 - }, - "lpszMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "spicnSm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "cWndReferenceCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "hbrBackground": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "spicn": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 12 - }, - "pdce": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "rpdeskParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "atomClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 160 - }, - "_PROCDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { - "fields": { - "CommitVidPnRequestOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumCommitVidPnRequests": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_VK_TO_FUNCTION_TABLE": { - "fields": { - "NLSFEProcType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "NLSFEProcCurrent": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcSwitch": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "NLSFEProcAlt": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 68 - }, - "NLSFEProc": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 132 - }, - "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { - "fields": { - "NumDescriptors": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "DescriptorSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 144 - }, - "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 112 - }, - "_CALLBACKWND": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { - "fields": { - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - }, - "TargetModeSet": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" - }, - "offset": 360 - } - }, - "kind": "struct", - "size": 440 - }, - "_VK_FUNCTION_PARAM": { - "fields": { - "NLSFEProcIndex": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcParam": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBCALC": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "pxStart": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "pxThumbBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "cpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "pxMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pxThumbTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "pxDownArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cpx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "pxBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "pxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pxLeft": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "pxRight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "pxUpArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "HDESK__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "HIMC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { - "fields": { - "SecondChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "FourthChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "ThirdChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FirstChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMENUSTATE": { - "fields": { - "cxAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 116 - }, - "pGlobalPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "uDraggingIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "fNotifyByPos": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInCallHandleMenuMessages": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ixAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "dwLockCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "fAutoDismiss": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fIsSysMenu": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "dwAniStartTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "uButtonDownHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "fIgnoreButtonUp": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptButtonDown": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 56 - }, - "fMenuStarted": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "iAniDropDir": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 8 - }, - "hdcAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "fModelessMenu": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hbmAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "fInEndMenu": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 92 - }, - "vkButtonDown": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fSetCapture": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInDoDragDrop": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fActiveNoForeground": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fMouseOffMenu": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fDragAndDrop": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInsideMenuLoop": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 80 - }, - "fButtonDown": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptiMenuStateOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "iyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 112 - }, - "hdcWndAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "fAboutToAutoDismiss": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "mnFocus": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "uButtonDownIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "fButtonAlwaysDown": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fUnderline": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptMouseLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 12 - }, - "pmnsPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fDragging": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "cmdLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 144 - }, - "VK_TO_BIT": { - "fields": { - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModBits": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - } - }, - "kind": "struct", - "size": 2 - }, - "tagWOWTHREADINFO": { - "fields": { - "pIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "idParentProcess": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "idTask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwtiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "idWaitObject": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 40 - }, - "__unnamed_1805": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1211": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1213": { - "fields": { - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - }, - "AdvanceOnly": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 25 - }, - "ClusterCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "DeleteHandle": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReplaceIfExists": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 24 - }, - "FileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1217": { - "fields": { - "FsInformationClass": { - "type": { - "kind": "enum", - "name": "FsInformationClassEnum" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_123b": { - "fields": { - "IoResourceRequirementList": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_122d": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1950": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagITEM": { - "fields": { - "fType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ulX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "wID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwItemData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "hbmpChecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "xItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "spSubMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hbmpUnchecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fState": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dxTab": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "cxBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 104 - }, - "yItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "cyItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 76 - }, - "umim": { - "type": { - "kind": "struct", - "name": "tagUAHMENUITEMMETRICS" - }, - "offset": 112 - }, - "cch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "ulWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "cyBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "lpstr": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cxItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "hbmp": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 144 - }, - "tagIMEINFOEX": { - "fields": { - "dwImeWinVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fSysWow64Only": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "fInitOpen": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "wszImeDescription": { - "type": { - "count": 50, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 88 - }, - "fCUASLayer": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "ImeInfo": { - "type": { - "kind": "struct", - "name": "tagIMEINFO" - }, - "offset": 8 - }, - "wszImeFile": { - "type": { - "count": 80, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 188 - }, - "wszUIClass": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 36 - }, - "fLoadFlag": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "dwProdVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fdwInitConvMode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - } - }, - "kind": "struct", - "size": 352 - }, - "__unnamed_1962": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1958" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_1956" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_195e" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_195c" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "ConfigData": { - "type": { - "kind": "struct", - "name": "__unnamed_195a" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1960" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1954" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagMSGPPINFO": { - "fields": { - "dwIndexMsgPP": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagSBINFO": { - "fields": { - "WSBflags": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "Horz": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 4 - }, - "Vert": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 36 - }, - "VWPLELEMENT": { - "fields": { - "DataOrTag": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSBDATA": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "_VSC_VK": { - "fields": { - "Vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123f": { - "fields": { - "Lock": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1 - }, - "_SCATTER_GATHER_ELEMENT": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "Address": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagWND": { - "fields": { - "spwndLastActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "bWS_CLIPCHILDREN": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bMaximizeButtonDown": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bUIStateActive": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_TABSTOP": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDialogWindow": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bMinimizeButtonDown": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HIMC__" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "bWS_SIZEBOX": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "bChildNoActivate": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_LAYERED": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bStartPaint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedLeft": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bHiddenPopup": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_SYSMENU": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bRecievedSuspendMsg": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSendEraseBackground": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin50Compat": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnNewFrame": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "bWS_EX_CLIENTEDGE": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 66 - }, - "bDisabled": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bAnsiWindowProc": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin40Compat": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcClient": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 128 - }, - "bAnsiCreator": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bAnyScrollButtonDown": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarVerticalTracking": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bLinked": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bSendNCPaint": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "ExStyle": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "bHasClientEdge": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bActiveFrame": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasPalette": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasHorizontalScrollbar": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUIStateFocusRectHidden": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved1": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bWS_EX_MDICHILD": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasVerticalScrollbar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bRedirected": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved3": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bNoNCPaint": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasSPB": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_MINIMIZEBOX": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bSendSizeMoveMsgs": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_DLGMODALFRAME": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TRANSPARENT": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bPaintNotProcessed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSyncPaintPending": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "bShellHookRegistered": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndChild": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bHasMeun": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bInDestroy": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "state": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "bWS_EX_LEFTSCROLLBAR": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TOOLWINDOW": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_VSCROLL": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bInternalPaint": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_HSCROLL": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bLayeredInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_WINDOWEDGE": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_ACCEPTFILE": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_GROUP": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bVisible": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bForceMenuDraw": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bForceNCPaint": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bOldUI": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndClipboardListenerNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "bWS_EX_NOPADDEDBORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bNoMinmaxAnimatedRects": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bWS_MAXIMIZEBOX": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bHasCaption": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bEraseBackground": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "spwndOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "bWS_CLIPSIBLINGS": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 232 - }, - "bMakeVisibleWhenUnghosted": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused8": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bUnused9": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 52 - }, - "bForceFullNCPaintClipRgn": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_RTLREADING": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused1": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused2": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused3": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused4": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused5": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused6": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused7": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bClipboardListener": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bScrollBarLineDownBtnDown": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedirectedForPrint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_RIGHT": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasCreatestructName": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITED": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bFullScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnUpdate": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "bConsoleWindow": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "ppropList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROPLIST" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bWS_EX_TOPMOST": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bScrollBarPageDownBtnDown": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarLineUpBtnDown": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRecievedQuerySuspendMsg": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bMaximizeMonitorRegion": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedrawIfHung": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_POPUP": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTEXTHELP": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_NOACTIVATE": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "FullScreenMode": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 44 - }, - "bWS_EX_NOINHERITLAYOUT": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_LAYOUTRTL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUIStateKbdAccelHidden": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_BORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bToggleTopmost": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bDestroyed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bServerSideWindowProc": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bCaptionTextTruncated": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 112 - }, - "bEndPaintInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedRight": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bBeingActivated": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITEDCompositing": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWMCreateMsgProcessed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "dwUserData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 256 - }, - "bWS_EX_APPWINDOW": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pSBInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBINFO" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "bCloseButtonDown": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bMaximized": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_CHILD": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "bWS_THICKFRAME": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTROLPARENT": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pcls": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bLayeredForDWM": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bMsgBox": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHelpButtonDown": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasOverlay": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bRedrawFrameIfHung": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_NOPARENTNOTIFY": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bMaximizesToMonitor": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bBottomMost": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_DLGFRAME": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bReserved2": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bSmallIconFromWMQueryDrag": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bReserved4": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved5": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved6": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved7": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "spwndPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bUpdateDirty": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "state2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "bWMPaintSent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarPageUpBtnDown": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "pTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DMATRIX" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "bWin31Compat": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "ExStyle2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "bHIGHDPI_UNAWARE_Unused": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bLayeredLimbo": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "strName": { - "type": { - "kind": "struct", - "name": "_LARGE_UNICODE_STRING" - }, - "offset": 216 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "bMinimized": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "hMod16": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 64 - }, - "bWS_EX_STATICEDGE": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 296 - }, - "_WM_VALUES_STRINGS": { - "fields": { - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "fInternal": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "fDefined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { - "fields": { - "VisibleRegionSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 8 - }, - "Stride": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "PixelFormat": { - "type": { - "kind": "enum", - "name": "PixelFormatEnum" - }, - "offset": 20 - }, - "PixelValueAccessMode": { - "type": { - "kind": "enum", - "name": "PixelValueAccessModeEnum" - }, - "offset": 28 - }, - "PrimSurfSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "_VK_TO_WCHARS1": { - "fields": { - "Attributes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "_TLSPRITESTATE": { - "fields": { - "flOriginalSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "iSpriteType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pfnSaveScreenBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bInsideDriverCall": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pfnStrokePath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnTransparentBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnPaint": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnStretchBltROP": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "iType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "pfnPlgBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnCopyBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "iOriginalType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pfnTextOut": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDrawStream": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStrokeAndFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnLineTo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnStretchBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGradientFill": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnAlphaBlend": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "flSpriteSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "pfnBitBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 168 - }, - "tagUAHMENUITEMMETRICS": { - "fields": { - "rgsizeBar": { - "type": { - "count": 2, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - }, - "rgsizePopup": { - "type": { - "count": 4, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_121b": { - "fields": { - "Length": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1229": { - "fields": { - "Srb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_SCSI_REQUEST_BLOCK" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_121f": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1225": { - "fields": { - "DeviceObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Vpb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_VPB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_HEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagIMEINFO": { - "fields": { - "fdwProperty": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "fdwSelectCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fdwUICaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwPrivateDataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fdwSCSCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "fdwSentenceCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "fdwConversionCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 28 - }, - "_DXGK_DIAG_CODE_POINT_PACKET": { - "fields": { - "Header": { - "type": { - "kind": "struct", - "name": "_DXGK_DIAG_HEADER" - }, - "offset": 0 - }, - "Param3": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "Param1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CodePointType": { - "type": { - "kind": "enum", - "name": "CodePointTypeEnum" - }, - "offset": 48 - }, - "Param2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_SOURCE_MODE": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Format": { - "type": { - "kind": "struct", - "name": "__unnamed_18a1" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagW32JOB": { - "fields": { - "restrictions": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ughCrt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ughMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pgh": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long long" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EJOB" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ppiTable": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "uProcessCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "uMaxProcesses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { - "fields": { - "NumFrequencyRanges": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "FrequencyRangeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 56 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { - "fields": { - "APSTriggerBits": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "CopyProtectionType": { - "type": { - "kind": "enum", - "name": "CopyProtectionTypeEnum" - }, - "offset": 0 - }, - "CopyProtectionSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" - }, - "offset": 264 - }, - "OEMCopyProtection": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 268 - }, - "tagWINDOWSTATION": { - "fields": { - "pClipBase": { - "type": { - "subtype": { - "count": 104, - "subtype": { - "kind": "struct", - "name": "tagCLIP" - }, - "kind": "array" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "cNumClipFormats": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "luidUser": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 136 - }, - "pGlobalAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "ptiClipLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "dwWSF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "rpdeskList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spklList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spwndClipOpen": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "luidEndSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 128 - }, - "pTerm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTERMINAL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndClipboardListener": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "spwndClipViewer": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iClipSequenceNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "ptiDrawingClipboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "spwndClipOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "psidUser": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "rpwinstaNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 152 - }, - "tagDESKTOPINFO": { - "fields": { - "spwndProgman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "pvwplMessagePPHandler": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 224 - }, - "pvDesktopLimit": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fComposited": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndGestureEngine": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "pvDesktopBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwndShell": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "ppiShellProcess": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pvwplShellHook": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "spwndTaskman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "fIsDwmDesktop": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 32 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cntMBox": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 208 - }, - "spwndBkGnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 240 - }, - "tagMBSTRING": { - "fields": { - "szName": { - "type": { - "count": 15, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 0 - }, - "uID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "uStr": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DKMDT_VIDPN_TARGET_MODE": { - "fields": { - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 72 - }, - "_DMM_VIDPNSET_SERIALIZATION": { - "fields": { - "VidPnOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumVidPns": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagKBDFILE": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "awchDllName": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 56 - }, - "pKbdTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdLayer" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pkfNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pKbdNlsTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdNlsLayer" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_11e4": { - "fields": { - "UserApcContext": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "UserApcRoutine": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "IssuingProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_W32PROCESS": { - "fields": { - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 256 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { - "fields": { - "Scaling": { - "type": { - "kind": "enum", - "name": "ScalingEnum" - }, - "offset": 0 - }, - "RotationSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" - }, - "offset": 12 - }, - "Rotation": { - "type": { - "kind": "enum", - "name": "RotationEnum" - }, - "offset": 8 - }, - "ScalingSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSERVERINFO": { - "fields": { - "uiShellMsg": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 912 - }, - "cbHandleTable": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 848 - }, - "atomSysClass": { - "type": { - "count": 25, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 852 - }, - "dtScroll": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2800 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2952 - }, - "atomIconSmProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1356 - }, - "argbSystemUnmatched": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2268 - }, - "dwTagCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4632 - }, - "ucWheelScrollLines": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2812 - }, - "ptCursorReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2784 - }, - "ucWheelScrollChars": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2816 - }, - "acOemToAnsi": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1364 - }, - "cySysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2832 - }, - "atomFrostedWindowProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1362 - }, - "mpFnid_serverCBWndProc": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 328 - }, - "PUSIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4476 - }, - "BitCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4468 - }, - "argbSystem": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2392 - }, - "dtLBSearch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2804 - }, - "dtCaretBlink": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2808 - }, - "dwInstalledEventHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 1876 - }, - "apfnClientA": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 392 - }, - "cxSysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2828 - }, - "hbrGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 2768 - }, - "ahbrSystem": { - "type": { - "count": 31, - "subtype": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 2520 - }, - "dwDefaultHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "wMaxRightOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2824 - }, - "dwSRVIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "oembmi": { - "type": { - "count": 93, - "subtype": { - "kind": "struct", - "name": "tagOEMBITMAPINFO" - }, - "kind": "array" - }, - "offset": 2964 - }, - "apfnClientWorker": { - "type": { - "kind": "struct", - "name": "_PFNCLIENTWORKER" - }, - "offset": 760 - }, - "dwDefaultHeapBase": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 904 - }, - "BitsPixel": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4473 - }, - "wMaxLeftOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2820 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4470 - }, - "dwLastSystemRITEventTickCountUpdate": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4488 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2796 - }, - "atomIconProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1358 - }, - "Planes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4472 - }, - "dpiSystem": { - "type": { - "kind": "struct", - "name": "tagDPISERVERINFO" - }, - "offset": 2896 - }, - "hIcoWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2944 - }, - "apfnClientW": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 576 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2956 - }, - "MBStrings": { - "type": { - "count": 11, - "subtype": { - "kind": "struct", - "name": "tagMBSTRING" - }, - "kind": "array" - }, - "offset": 916 - }, - "atomContextHelpIdProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1360 - }, - "adwDBGTAGFlags": { - "type": { - "count": 35, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4492 - }, - "aiSysMet": { - "type": { - "count": 97, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 1880 - }, - "dwRIPFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4636 - }, - "uCaretWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4480 - }, - "cCaptures": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2960 - }, - "tmSysFont": { - "type": { - "kind": "struct", - "name": "tagTEXTMETRICW" - }, - "offset": 2836 - }, - "cHandleEntries": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ptCursor": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2776 - }, - "hIconSmWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2936 - }, - "mpFnidPfn": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "UILangID": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4484 - }, - "acAnsiToOem": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1620 - }, - "aStoCidPfn": { - "type": { - "count": 7, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 272 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 4452 - }, - "dwLastRITEventTickCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2792 - } - }, - "kind": "struct", - "size": 4640 - }, - "tagPOOLRECORD": { - "fields": { - "ExtraData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "trace": { - "type": { - "count": 6, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "__unnamed_195a": { - "fields": { - "Priority": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagUSERSTARTUPINFO": { - "fields": { - "dwYSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cbReserved2": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 26 - }, - "cb": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dwY": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwXSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "wShowWindow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 28 - }, - "_DMM_VIDPN_SERIALIZATION": { - "fields": { - "PathsFromSourceSerializationOffsets": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 8 - }, - "NumActiveSources": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_11df": { - "fields": { - "IrpCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "SystemBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MasterIrp": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IRP" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagHID_PAGEONLY_REQUEST": { - "fields": { - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cRefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1233": { - "fields": { - "Interface": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_INTERFACE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "InterfaceSpecificData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "InterfaceType": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_GUID" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagQMSG": { - "fields": { - "Padding": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 80 - }, - "ptMouseReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 72 - }, - "FromPen": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 64 - }, - "Wow64Message": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 96 - }, - "dwQEvent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 30 - }, - "offset": 80 - }, - "pqmsgPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FromTouch": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "NoCoalesce": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "msg": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 16 - }, - "pqmsgNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1237": { - "fields": { - "Capabilities": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_CAPABILITIES" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_11e6": { - "fields": { - "AsynchronousParameters": { - "type": { - "kind": "struct", - "name": "__unnamed_11e4" - }, - "offset": 0 - }, - "AllocationSize": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagDESKTOP": { - "fields": { - "spmenuVScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "dwMouseHoverTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 212 - }, - "rpwinstaParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spmenuDialogSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndForeground": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenuHScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "spwndTooltip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndMessage": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cciConsole": { - "type": { - "kind": "struct", - "name": "_CONSOLE_CARET_INFO" - }, - "offset": 144 - }, - "PtiList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 160 - }, - "spwndTray": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "rpdeskNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "dwDTFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pMagInputTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MAGNIFICATION_INPUT_TRANSFORM" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "htEx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 192 - }, - "ulHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "pheapDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!tagWIN32HEAP" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "rcMouseHover": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 196 - }, - "hsectionDesktop": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "dwDesktopId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 224 - }, - "_MAGNIFICATION_INPUT_TRANSFORM": { - "fields": { - "rcScreen": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 16 - }, - "magFactorX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "magFactorY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "ptiMagThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rcSource": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 48 - }, - "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 0 - }, - "ConstraintType": { - "type": { - "kind": "enum", - "name": "ConstraintTypeEnum" - }, - "offset": 36 - }, - "RangeLimits": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_FREQUENCY_RANGE" - }, - "offset": 4 - }, - "Constraint": { - "type": { - "kind": "struct", - "name": "__unnamed_16c1" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_121d": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IoControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_PFNCLIENTWORKER": { - "fields": { - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnCtfHookProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_12e0": { - "fields": { - "InitialPrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" - }, - "offset": 0 - }, - "PrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_PRIVILEGE_SET" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 44 - }, - "tagMENULIST": { - "fields": { - "pMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_DMA_OPERATIONS": { - "fields": { - "PutDmaAdapter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FreeMapRegisters": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "MapTransfer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "FreeCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReadDmaCounter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "AllocateCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "PutScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "BuildMdlFromScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "GetScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "CalculateScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "FreeAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "GetDmaAlignment": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "FlushAdapterBuffers": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "AllocateAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "BuildScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 128 - }, - "__unnamed_1811": { - "fields": { - "Start": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagSPB": { - "fields": { - "hbm": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hrgn": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ulSaveId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "pspbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "tagWin32PoolHead": { - "fields": { - "pPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pTrace": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DXGK_DIAG_HEADER": { - "fields": { - "Index": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "ProcessName": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 16 - }, - "LogTimestamp": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ThreadId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - }, - "WdLogIdx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 48 - }, - "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { - "fields": { - "CleanupAfterFailedCommitVidPn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ModeChangeRequestId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "ReclaimClonedTarget": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ForceAllActiveVidPnModeListInvalidation": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 12 - }, - "tagTOUCHINPUT": { - "fields": { - "dwExtraInfo": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "hSource": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dwMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cyContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "cxContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "dwTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 48 - }, - "_SM_VALUES_STRINGS": { - "fields": { - "StorageType": { - "type": { - "kind": "enum", - "name": "StorageTypeEnum" - }, - "offset": 16 - }, - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "RangeType": { - "type": { - "kind": "enum", - "name": "RangeTypeEnum" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1956": { - "fields": { - "MinimumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "_D3DKMDT_VIDEO_SIGNAL_INFO": { - "fields": { - "VSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 20 - }, - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 12 - }, - "PixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "TotalSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 4 - }, - "VideoStandard": { - "type": { - "kind": "enum", - "name": "VideoStandardEnum" - }, - "offset": 0 - }, - "ScanLineOrdering": { - "type": { - "kind": "enum", - "name": "ScanLineOrderingEnum" - }, - "offset": 48 - }, - "HSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 56 - }, - "tagTERMINAL": { - "fields": { - "spwndDesktopOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pEventInputReady": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "rpdeskDestroy": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pqDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwTERMF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwNestedLevel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ptiDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pEventTermInit": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "HFONT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { - "fields": { - "MacroVisionFull": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "MacroVisionApsTrigger": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "NoProtection": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 29 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_PFNCLIENT": { - "fields": { - "pfnDispatchDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnDispatchHook": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "pfnDesktopWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "pfnScrollBarWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnMessageWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnSwitchWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnHkINLPCWPSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnTitleWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnHkINLPCWPRETSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnMenuWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDispatchMessage": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pfnDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnMDIActivateDlgProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 176 - } - }, - "kind": "struct", - "size": 184 - }, - "tagOEMBITMAPINFO": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1221": { - "fields": { - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "SecurityDescriptor": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_KLIST_ENTRY": { - "fields": { - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HMONITOR__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1247": { - "fields": { - "DeviceTextType": { - "type": { - "kind": "enum", - "name": "DeviceTextTypeEnum" - }, - "offset": 0 - }, - "LocaleId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagCLIENTINFO": { - "fields": { - "msgDbcsCB": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 160 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "achDbcsCF": { - "type": { - "count": 2, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 154 - }, - "dwTIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "pClientThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 152 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "dwHookCurrent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "afAsyncKeyStateRecentDown": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwHookData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "afAsyncKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 128 - }, - "CallbackWnd": { - "type": { - "kind": "struct", - "name": "_CALLBACKWND" - }, - "offset": 64 - }, - "lpdwRegisteredClasses": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "cInDDEMLCallback": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 92 - }, - "cSpins": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "hKL": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "afKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 116 - }, - "CI_flags": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "phkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 216 - }, - "_DMM_MONITOR_SERIALIZATION": { - "fields": { - "SourceModeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FrequencyRangeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "DescriptorSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ModePruningAlgorithm": { - "type": { - "kind": "enum", - "name": "ModePruningAlgorithmEnum" - }, - "offset": 16 - }, - "VideoPresentTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "IsUsingDefaultProfile": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 13 - }, - "MonitorPowerState": { - "type": { - "kind": "enum", - "name": "MonitorPowerStateEnum" - }, - "offset": 20 - }, - "MonitorType": { - "type": { - "kind": "enum", - "name": "MonitorTypeEnum" - }, - "offset": 36 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IsSimulatedMonitor": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 12 - }, - "Orientation": { - "type": { - "kind": "enum", - "name": "OrientationEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagPROP": { - "fields": { - "fs": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "atomKey": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1243": { - "fields": { - "IdType": { - "type": { - "kind": "enum", - "name": "IdTypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123d": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "WhichSpace": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Offset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_WNDMSG": { - "fields": { - "abMsgs": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "maxMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSHAREDINFO": { - "fields": { - "psi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSERVERINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulSharedDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "aheList": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HANDLEENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "DefWindowSpecMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 552 - }, - "awmControl": { - "type": { - "count": 31, - "subtype": { - "kind": "struct", - "name": "_WNDMSG" - }, - "kind": "array" - }, - "offset": 40 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "HeEntrySize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DefWindowMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 536 - } - }, - "kind": "struct", - "size": 568 - }, - "__unnamed_181b": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1811" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_180d" - }, - "offset": 0 - }, - "DeviceSpecificData": { - "type": { - "kind": "struct", - "name": "__unnamed_1813" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_1817" - }, - "offset": 0 - }, - "MessageInterrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_180b" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_1815" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1819" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPOINT": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagIMC": { - "fields": { - "dwClientImcData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "hImeWnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pImcNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "tagKL": { - "fields": { - "uNumTbl": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "pklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "pklNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spkfPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "dwFontSigs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLastKbdType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 72 - }, - "dwKL_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "iBaseCharset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "dwKLID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "spkf": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "piiex": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMEINFOEX" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pspkfExtra": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "wchDiacritic": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 74 - }, - "dwLastKbdSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_115b": { - "fields": { - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_182e": { - "fields": { - "pRgb256x3x16": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pRaw": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pDxgi1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagTDB": { - "fields": { - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "TDB_Flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "pwti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "nPriority": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "ptdbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagCARET": { - "fields": { - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "iHideLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "hTimer": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "yOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "xOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "fVisible": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hBitmap": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cxOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cyOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "tid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "fOn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_LIGATURE1": { - "fields": { - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 4 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModificationNumber": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 6 + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" } - }, - "base_types": { - "unsigned char": { - "kind": "char", - "endian": "little", - "signed": false, - "size": 1 - }, - "float": { - "kind": "float", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "wchar": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "pointer": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - }, - "unsigned int": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "short": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned short": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 2 - }, - "long long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 8 - }, - "unsigned long long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - } - }, - "enums": { - "TextEnum": { - "base": "long", - "constants": { - "D3DKMDT_TRF_UNINITIALIZED": 0 - }, - "size": 4 - }, - "PreferenceEnum": { - "base": "long", - "constants": { - "D3DKMDT_MP_PREFERRED": 1, - "D3DKMDT_MP_MAXVALID": 2, - "D3DKMDT_MP_UNINITIALIZED": 0 - }, - "size": 4 - }, - "FileInformationClassEnum": { - "base": "long", - "constants": { - "FileInternalInformation": 6, - "FileQuotaInformation": 32, - "FileIoStatusBlockRangeInformation": 42, - "FilePipeLocalInformation": 24, - "FileStandardLinkInformation": 54, - "FileIdFullDirectoryInformation": 38, - "FileLinkInformation": 11, - "FileFullDirectoryInformation": 2, - "FileAllInformation": 18, - "FileSfioVolumeInformation": 45, - "FileStreamInformation": 22, - "FileRenameInformation": 10, - "FileValidDataLengthInformation": 39, - "FileAlternateNameInformation": 21, - "FileBasicInformation": 4, - "FilePositionInformation": 14, - "FileCompletionInformation": 30, - "FileAttributeCacheInformation": 52, - "FileReparsePointInformation": 33, - "FileMailslotSetInformation": 27, - "FileNetworkPhysicalNameInformation": 49, - "FileAllocationInformation": 19, - "FileIsRemoteDeviceInformation": 51, - "FileFullEaInformation": 15, - "FileProcessIdsUsingFileInformation": 47, - "FileDispositionInformation": 13, - "FileStandardInformation": 5, - "FileAccessInformation": 8, - "FileNumaNodeInformation": 53, - "FilePipeRemoteInformation": 25, - "FileIoPriorityHintInformation": 43, - "FileMailslotQueryInformation": 26, - "FileRemoteProtocolInformation": 55, - "FileNamesInformation": 12, - "FileHardLinkInformation": 46, - "FileEndOfFileInformation": 20, - "FileIdBothDirectoryInformation": 37, - "FileSfioReserveInformation": 44, - "FileIdGlobalTxDirectoryInformation": 50, - "FileNetworkOpenInformation": 34, - "FileObjectIdInformation": 29, - "FileMoveClusterInformation": 31, - "FileIoCompletionNotificationInformation": 41, - "FileNameInformation": 9, - "FileBothDirectoryInformation": 3, - "FileDirectoryInformation": 1, - "FileMaximumInformation": 56, - "FileNormalizedNameInformation": 48, - "FilePipeInformation": 23, - "FileCompressionInformation": 28, - "FileTrackingInformation": 36, - "FileEaInformation": 7, - "FileShortNameInformation": 40, - "FileModeInformation": 16, - "FileAlignmentInformation": 17, - "FileAttributeTagInformation": 35 - }, - "size": 4 - }, - "ModePruningAlgorithmEnum": { - "base": "long", - "constants": { - "DMM_MPA_MAXVALID": 3, - "DMM_MPA_GDI": 1, - "DMM_MPA_VISTA": 2, - "DMM_MPA_UNINITIALIZED": 0 - }, - "size": 4 - }, - "fmtEnum": { - "base": "unsigned long", - "constants": { - "CF_ENHMETAFILE": 14, - "CF_PENDATA": 10, - "CF_BITMAP": 2, - "CF_UNICODETEXT": 13, - "CF_HDROP": 15, - "CF_OEMTEXT": 7, - "CF_WAVE": 12, - "CF_DSPTEXT": 129, - "CF_DIBV5": 17, - "CF_TIFF": 6, - "CF_PALETTE": 9, - "CF_OWNERDISPLAY": 128, - "CF_DSPMETAFILEPICT": 131, - "CF_METAFILEPICT": 3, - "CF_RIFF": 11, - "CF_DSPENHMETAFILE": 142, - "CF_TEXT": 1, - "CF_LOCALE": 16, - "CF_SYLK": 4, - "CF_DSPBITMAP": 130, - "CF_DIB": 8, - "CF_DIF": 5 - }, - "size": 4 - }, - "MonitorPowerStateEnum": { - "base": "long", - "constants": { - "PowerDeviceUnspecified": 0, - "PowerDeviceD0": 1, - "PowerDeviceD1": 2, - "PowerDeviceD2": 3, - "PowerDeviceD3": 4, - "PowerDeviceMaximum": 5 - }, - "size": 4 - }, - "bTypeEnum": { - "base": "unsigned char", - "constants": { - "TYPE_DDEXACT": 11, - "TYPE_HOOK": 5, - "TYPE_FREE": 0, - "TYPE_MONITOR": 12, - "TYPE_GESTURE": 21, - "TYPE_DEVICEINFO": 19, - "TYPE_DDEACCESS": 9, - "TYPE_CALLPROC": 7, - "TYPE_CURSOR": 3, - "TYPE_KBDLAYOUT": 13, - "TYPE_WINEVENTHOOK": 15, - "TYPE_MENU": 2, - "TYPE_ACCELTABLE": 8, - "TYPE_TOUCH": 20, - "TYPE_SETWINDOWPOS": 4, - "TYPE_CLIPDATA": 6, - "TYPE_KBDFILE": 14, - "TYPE_DDECONV": 10, - "TYPE_HIDDATA": 18, - "TYPE_WINDOW": 1, - "TYPE_INPUTCONTEXT": 17, - "TYPE_TIMER": 16 - }, - "size": 1 - }, - "OriginEnum": { - "base": "long", - "constants": { - "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, - "D3DKMDT_MCO_UNINITIALIZED": 0, - "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, - "D3DKMDT_MCO_MAXVALID": 5, - "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, - "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 - }, - "size": 4 - }, - "CodePointTypeEnum": { - "base": "long", - "constants": { - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, - "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, - "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, - "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, - "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, - "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, - "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, - "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, - "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, - "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, - "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, - "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, - "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, - "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, - "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, - "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, - "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, - "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, - "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, - "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, - "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, - "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, - "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, - "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, - "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, - "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, - "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, - "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 - }, - "size": 4 - }, - "ConstraintTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MFRC_MAXPIXELRATE": 2, - "D3DKMDT_MFRC_ACTIVESIZE": 1, - "D3DKMDT_MFRC_UNINITIALIZED": 0 - }, - "size": 4 - }, - "VidPnTargetColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorTypeEnum": { - "base": "long", - "constants": { - "DMM_VMT_TEMPORARY_MONITOR": 4, - "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, - "DMM_VMT_PHYSICAL_MONITOR": 1, - "DMM_VMT_UNINITIALIZED": 0, - "DMM_VMT_SIMULATED_MONITOR": 5, - "DMM_VMT_PERSISTENT_MONITOR": 3 - }, - "size": 4 - }, - "PowerStateEnum": { - "base": "long", - "constants": { - "PowerSystemSleeping2": 3, - "PowerSystemSleeping1": 2, - "PowerSystemSleeping3": 4, - "PowerSystemUnspecified": 0, - "PowerSystemMaximum": 7, - "PowerSystemShutdown": 6, - "PowerSystemHibernate": 5, - "PowerSystemWorking": 1 - }, - "size": 4 - }, - "ShutdownTypeEnum": { - "base": "long", - "constants": { - "PowerActionNone": 0, - "PowerActionReserved": 1, - "PowerActionHibernate": 3, - "PowerActionShutdownOff": 6, - "PowerActionShutdown": 4, - "PowerActionSleep": 2, - "PowerActionShutdownReset": 5, - "PowerActionWarmEject": 7 - }, - "size": 4 - }, - "ScalingEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPS_CENTERED": 2, - "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, - "D3DKMDT_VPPS_STRETCHED": 3, - "D3DKMDT_VPPS_UNINITIALIZED": 0, - "D3DKMDT_VPPS_UNPINNED": 254, - "D3DKMDT_VPPS_IDENTITY": 1, - "D3DKMDT_VPPS_NOTSPECIFIED": 255, - "D3DKMDT_VPPS_CUSTOM": 5, - "D3DKMDT_VPPS_RESERVED1": 253 - }, - "size": 4 - }, - "CurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "StorageTypeEnum": { - "base": "long", - "constants": { - "SmStorageActual": 0, - "SmStorageNonActual": 1 - }, - "size": 4 - }, - "ScanLineOrderingEnum": { - "base": "long", - "constants": { - "D3DDDI_VSSLO_PROGRESSIVE": 1, - "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, - "D3DDDI_VSSLO_UNINITIALIZED": 0, - "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, - "D3DDDI_VSSLO_OTHER": 255 - }, - "size": 4 - }, - "PixelValueAccessModeEnum": { - "base": "long", - "constants": { - "D3DKMDT_PVAM_UNINITIALIZED": 0, - "D3DKMDT_PVAM_DIRECT": 1, - "D3DKMDT_PVAM_PRESETPALETTE": 2, - "D3DKMDT_PVAM_MAXVALID": 3 - }, - "size": 4 - }, - "PriorityPolicyEnum": { - "base": "long", - "constants": { - "IrqPriorityHigh": 3, - "IrqPriorityNormal": 2, - "IrqPriorityLow": 1, - "IrqPriorityUndefined": 0 - }, - "size": 4 - }, - "OrientationEnum": { - "base": "long", - "constants": { - "D3DKMDT_MO_90DEG": 2, - "D3DKMDT_MO_0DEG": 1, - "D3DKMDT_MO_270DEG": 4, - "D3DKMDT_MO_UNINITIALIZED": 0, - "D3DKMDT_MO_180DEG": 3 - }, - "size": 4 - }, - "ContentEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPC_NOTSPECIFIED": 255, - "D3DKMDT_VPPC_UNINITIALIZED": 0, - "D3DKMDT_VPPC_GRAPHICS": 1, - "D3DKMDT_VPPC_VIDEO": 2 - }, - "size": 4 - }, - "ColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MoveRectStyleEnum": { - "base": "long", - "constants": { - "MoveRectMidTopAtCursor": 1, - "MoveRectSidewiseKeepPositionAtCursor": 3, - "MoveRectKeepPositionAtCursor": 0, - "MoveRectKeepAspectRatioAtCursor": 2 - }, - "size": 4 - }, - "VideoStandardEnum": { - "base": "long", - "constants": { - "D3DKMDT_VSS_PAL_G": 11, - "D3DKMDT_VSS_PAL_D": 14, - "D3DKMDT_VSS_PAL_B": 9, - "D3DKMDT_VSS_SECAM_K": 21, - "D3DKMDT_VSS_VESA_GTF": 2, - "D3DKMDT_VSS_PAL_L": 30, - "D3DKMDT_VSS_PAL_M": 31, - "D3DKMDT_VSS_PAL_K": 28, - "D3DKMDT_VSS_PAL_H": 12, - "D3DKMDT_VSS_PAL_I": 13, - "D3DKMDT_VSS_SECAM_L1": 24, - "D3DKMDT_VSS_VESA_DMT": 1, - "D3DKMDT_VSS_SECAM_L": 23, - "D3DKMDT_VSS_EIA_861": 25, - "D3DKMDT_VSS_PAL_N": 15, - "D3DKMDT_VSS_APPLE": 5, - "D3DKMDT_VSS_NTSC_M": 6, - "D3DKMDT_VSS_SECAM_H": 20, - "D3DKMDT_VSS_NTSC_J": 7, - "D3DKMDT_VSS_SECAM_B": 17, - "D3DKMDT_VSS_SECAM_G": 19, - "D3DKMDT_VSS_SECAM_D": 18, - "D3DKMDT_VSS_IBM": 4, - "D3DKMDT_VSS_SECAM_K1": 22, - "D3DKMDT_VSS_PAL_NC": 16, - "D3DKMDT_VSS_PAL_B1": 10, - "D3DKMDT_VSS_EIA_861A": 26, - "D3DKMDT_VSS_EIA_861B": 27, - "D3DKMDT_VSS_UNINITIALIZED": 0, - "D3DKMDT_VSS_OTHER": 255, - "D3DKMDT_VSS_PAL_K1": 29, - "D3DKMDT_VSS_VESA_CVT": 3, - "D3DKMDT_VSS_NTSC_443": 8 - }, - "size": 4 - }, - "ImportanceOrdinalEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPI_QUATERNARY": 4, - "D3DKMDT_VPPI_SECONDARY": 2, - "D3DKMDT_VPPI_PRIMARY": 1, - "D3DKMDT_VPPI_QUINARY": 5, - "D3DKMDT_VPPI_DENARY": 10, - "D3DKMDT_VPPI_SENARY": 6, - "D3DKMDT_VPPI_TERTIARY": 3, - "D3DKMDT_VPPI_SEPTENARY": 7, - "D3DKMDT_VPPI_NONARY": 9, - "D3DKMDT_VPPI_UNINITIALIZED": 0, - "D3DKMDT_VPPI_OCTONARY": 8, - "D3DKMDT_VPPI_MAX": 32, - "D3DKMDT_VPPI_NOTSPECIFIED": 255 - }, - "size": 4 - }, - "RangeTypeEnum": { - "base": "long", - "constants": { - "SmRangeBool": 2, - "SmRangeNonSharedInfo": 1, - "SmRangeSharedInfo": 0 - }, - "size": 4 - }, - "TimingTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MTT_EXTRASTANDARD": 3, - "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, - "D3DKMDT_MTT_STANDARD": 2, - "D3DKMDT_MTT_UNINITIALIZED": 0, - "D3DKMDT_MTT_MAXVALID": 6, - "D3DKMDT_MTT_DETAILED": 4, - "D3DKMDT_MTT_ESTABLISHED": 1 - }, - "size": 4 - }, - "PixelFormatEnum": { - "base": "long", - "constants": { - "D3DDDIFMT_W11V11U10": 65, - "D3DDDIFMT_A16B16G16R16F": 113, - "D3DDDIFMT_A8R8G8B8": 21, - "D3DDDIFMT_D32_LOCKABLE": 84, - "D3DDDIFMT_L8": 50, - "D3DDDIFMT_DXVA_RESERVED27": 177, - "D3DDDIFMT_DXVA_RESERVED26": 176, - "D3DDDIFMT_DXVA_RESERVED25": 175, - "D3DDDIFMT_DXVA_RESERVED24": 174, - "D3DDDIFMT_DXVA_RESERVED23": 173, - "D3DDDIFMT_DXVA_RESERVED22": 172, - "D3DDDIFMT_DXVA_RESERVED21": 171, - "D3DDDIFMT_DXVA_RESERVED20": 170, - "D3DDDIFMT_DXVA_RESERVED29": 179, - "D3DDDIFMT_DXVA_RESERVED28": 178, - "D3DDDIFMT_R3G3B2": 27, - "D3DDDIFMT_A8R3G3B2": 29, - "D3DDDIFMT_INDEX16": 101, - "D3DDDIFMT_X4R4G4B4": 30, - "D3DDDIFMT_A4R4G4B4": 26, - "D3DDDIFMT_Q8W8V8U8": 63, - "D3DDDIFMT_FORCE_UINT": 2147483647, - "D3DDDIFMT_S1D15": 72, - "D3DDDIFMT_A16B16G16R16": 36, - "D3DDDIFMT_A8L8": 51, - "D3DDDIFMT_D24X4S4": 79, - "D3DDDIFMT_BINARYBUFFER": 199, - "D3DDDIFMT_DXVA_RESERVED30": 180, - "D3DDDIFMT_R32F": 114, - "D3DDDIFMT_VERTEXDATA": 100, - "D3DDDIFMT_R5G6B5": 23, - "D3DDDIFMT_R8G8_B8G8": 1195525970, - "D3DDDIFMT_A4L4": 52, - "D3DDDIFMT_A1R5G5B5": 25, - "D3DDDIFMT_X1R5G5B5": 24, - "D3DDDIFMT_D32": 71, - "D3DDDIFMT_G8R8_G8B8": 1111970375, - "D3DDDIFMT_A2B10G10R10": 31, - "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, - "D3DDDIFMT_MULTI2_ARGB8": 827606349, - "D3DDDIFMT_D16_LOCKABLE": 70, - "D3DDDIFMT_BITSTREAMDATA": 156, - "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, - "D3DDDIFMT_X8B8G8R8": 33, - "D3DDDIFMT_R8G8B8": 20, - "D3DDDIFMT_S8_LOCKABLE": 85, - "D3DDDIFMT_D24S8": 75, - "D3DDDIFMT_X8D24": 76, - "D3DDDIFMT_A2R10G10B10": 35, - "D3DDDIFMT_P8": 41, - "D3DDDIFMT_L6V5U5": 61, - "D3DDDIFMT_X8R8G8B8": 22, - "D3DDDIFMT_D16": 80, - "D3DDDIFMT_A2W10V10U10": 67, - "D3DDDIFMT_D24FS8": 83, - "D3DDDIFMT_MOTIONVECTORBUFFER": 157, - "D3DDDIFMT_L16": 81, - "D3DDDIFMT_X8L8V8U8": 62, - "D3DDDIFMT_A32B32G32R32F": 116, - "D3DDDIFMT_A8P8": 40, - "D3DDDIFMT_YUY2": 844715353, - "D3DDDIFMT_R16F": 111, - "D3DDDIFMT_G16R16": 34, - "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, - "D3DDDIFMT_Q16W16V16U16": 110, - "D3DDDIFMT_S8D24": 74, - "D3DDDIFMT_PICTUREPARAMSDATA": 150, - "D3DDDIFMT_A1": 118, - "D3DDDIFMT_FILMGRAINBUFFER": 158, - "D3DDDIFMT_A8": 28, - "D3DDDIFMT_UNKNOWN": 0, - "D3DDDIFMT_DXVA_RESERVED19": 169, - "D3DDDIFMT_D32F_LOCKABLE": 82, - "D3DDDIFMT_MACROBLOCKDATA": 151, - "D3DDDIFMT_A8B8G8R8": 32, - "D3DDDIFMT_UYVY": 1498831189, - "D3DDDIFMT_DXT1": 827611204, - "D3DDDIFMT_DEBLOCKINGDATA": 153, - "D3DDDIFMT_DXT3": 861165636, - "D3DDDIFMT_DXT4": 877942852, - "D3DDDIFMT_DXT5": 894720068, - "D3DDDIFMT_CxV8U8": 117, - "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, - "D3DDDIFMT_DXVA_RESERVED9": 159, - "D3DDDIFMT_DXT2": 844388420, - "D3DDDIFMT_G32R32F": 115, - "D3DDDIFMT_X4S4D24": 78, - "D3DDDIFMT_D24X8": 77, - "D3DDDIFMT_DXVA_RESERVED12": 162, - "D3DDDIFMT_DXVA_RESERVED13": 163, - "D3DDDIFMT_DXVA_RESERVED10": 160, - "D3DDDIFMT_DXVA_RESERVED11": 161, - "D3DDDIFMT_DXVA_RESERVED16": 166, - "D3DDDIFMT_DXVA_RESERVED17": 167, - "D3DDDIFMT_DXVA_RESERVED14": 164, - "D3DDDIFMT_DXVA_RESERVED15": 165, - "D3DDDIFMT_DXVA_RESERVED18": 168, - "D3DDDIFMT_D15S1": 73, - "D3DDDIFMT_V16U16": 64, - "D3DDDIFMT_SLICECONTROLDATA": 155, - "D3DDDIFMT_G16R16F": 112, - "D3DDDIFMT_INDEX32": 102, - "D3DDDIFMT_V8U8": 60 - }, - "size": 4 - }, - "IdTypeEnum": { - "base": "long", - "constants": { - "BusQueryCompatibleIDs": 2, - "BusQueryInstanceID": 3, - "BusQueryDeviceID": 0, - "BusQueryDeviceSerialNumber": 4, - "BusQueryHardwareIDs": 1, - "BusQueryContainerID": 5 - }, - "size": 4 - }, - "StartCurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "TypeEnum": { - "base": "long", - "constants": { - "DevicePowerState": 1, - "SystemPowerState": 0 - }, - "size": 4 - }, - "RotationEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPR_IDENTITY": 1, - "D3DKMDT_VPPR_NOTSPECIFIED": 255, - "D3DKMDT_VPPR_UNPINNED": 254, - "D3DKMDT_VPPR_ROTATE270": 4, - "D3DKMDT_VPPR_ROTATE90": 2, - "D3DKMDT_VPPR_ROTATE180": 3, - "D3DKMDT_VPPR_UNINITIALIZED": 0 - }, - "size": 4 - }, - "CopyProtectionTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPMT_NOTSPECIFIED": 255, - "D3DKMDT_VPPMT_UNINITIALIZED": 0, - "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, - "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, - "D3DKMDT_VPPMT_NOPROTECTION": 1 - }, - "size": 4 - }, - "FsInformationClassEnum": { - "base": "long", - "constants": { - "FileFsFullSizeInformation": 7, - "FileFsAttributeInformation": 5, - "FileFsVolumeFlagsInformation": 10, - "FileFsVolumeInformation": 1, - "FileFsSizeInformation": 3, - "FileFsLabelInformation": 2, - "FileFsDeviceInformation": 4, - "FileFsControlInformation": 6, - "FileFsDriverPathInformation": 9, - "FileFsMaximumInformation": 11, - "FileFsObjectIdInformation": 8 - }, - "size": 4 - }, - "DeviceTextTypeEnum": { - "base": "long", - "constants": { - "DeviceTextLocationInformation": 1, - "DeviceTextDescription": 0 - }, - "size": 4 - } - }, - "metadata": { - "producer": { - "version": "0.0.1", - "name": "dgmcdona-via-conversion-script", - "datetime": "2024-09-03T18:22:52Z" - }, - "format": "4.0.0" - } } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json index 4405d0375..7c4af02e1 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json @@ -1,18787 +1,18787 @@ { - "symbols": {}, - "user_types": { - "HWINSTA__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 792 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 656 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 440 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 776 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 32 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1153": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 59 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 9 - }, - "offset": 0 - }, - "Region": { - "type": { - "bit_position": 61, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 39 - }, - "offset": 0 + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1960": { - "fields": { - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 } - }, - "kind": "struct", - "size": 24 - }, - "tagCLIENTTHREADINFO": { - "fields": { - "fsWakeMask": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "CTIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fsWakeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - }, - "fsWakeBitsJournal": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "fsChangeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4 - }, - "tickLastMsgChecked": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "tagKbdNlsLayer": { - "fields": { - "OEMIdentifier": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "NumOfVkToF": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pusMouseVKey": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "NumOfMouseVKey": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pVkToF": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_FUNCTION_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "LayoutInformation": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1158": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 2 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HBITMAP__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_124b": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1 - }, - "InPath": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_TL": { - "fields": { - "pfnFree": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pobj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagTOUCHINPUTINFO": { - "fields": { - "dwcInputs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "TouchInput": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagTOUCHINPUT" - }, - "kind": "array" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 80 - }, - "tagTHREADINFO": { - "fields": { - "ForceLegacyResizeNCMetr": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptl": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 336 - }, - "timeLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 448 - }, - "DontJournalAttach": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fPack": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 26 - }, - "offset": 928 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 516 - }, - "psmsSent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 424 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 656 - }, - "DefaultCharset": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 512 - }, - "psmsReceiveList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "sphkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 560 - }, - "No50ExStyles": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "IgnoreFaults": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pClientInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "DDENoAsyncReg": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DealyHwndShakeChk": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "amdesk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 720 - }, - "fsChangeBitsRemoved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 704 - }, - "psmsCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 432 - }, - "NoInitFlagsOnFocus": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "StrictLLHook": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "NoShadow": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EnumHelv": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoBatching": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 792 - }, - "Winver31": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Win30AvgWidth": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "AlwaysSendSyncPaint": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "IgnoreNoDiscard": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cPaintsReady": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 480 - }, - "SubtractClips": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "apEvent": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 712 - }, - "cEnterCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 672 - }, - "OpenGLEMF": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "fThreadCleanupFinished": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "idLast": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 456 - }, - "spklActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 360 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "NoEMFSpooling": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptdb": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "SpareCompatFlags2": { - "type": { - "bit_position": 33, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 31 - }, - "offset": 520 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "mlPost": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 680 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "NoCustomPaperSize": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cTimersReady": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 484 - }, - "NoScrollBarCtxMenu": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hPrevHidData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 880 - }, - "NoPaddedBorder": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "DpiAware": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "MultipleBands": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "AnimationOff": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "No50ExStyleBits": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulThreadFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 928 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 472 - }, - "MoreExtraWndWords": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoGhost": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoHRGN1": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 628 - }, - "GiveUpForegound": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "spDefaultImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 656 - }, - "pmsd": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MOVESIZEDATA" - }, - "kind": "pointer" - }, - "offset": 544 - }, - "HardwareMixer": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 904 - }, - "EnumTTNotDevice": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fSpecialInitialization": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ForceFusion": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cti": { - "type": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "offset": 864 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pstrAppName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "SendMnuDblClk": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DDENoSync": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EditNoMouseHide": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptLastReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 636 - }, - "hTouchInputCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HTOUCHINPUT__" - }, - "kind": "pointer" - }, - "offset": 888 - }, - "pEventQueueServer": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "cNestedStableVisRgn": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "NoDrawPatRect": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTTGrapchis": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "GetDeviceCaps": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fsReserveKeys": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 708 - }, - "pq": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 352 - }, - "NoSoftCursOnMoveSize": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hEventQueueClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 592 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "DDE": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "exitCode": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 464 - }, - "wchInjected": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 706 - }, - "CallTTDevice": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DisableDBCSProp": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsShellDlg": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TransparentBltMirror": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "PtiLink": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 656 - }, - "HackWinFlags": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cVisWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 728 - }, - "NcCalcSizeOnMove": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "KCOff": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "readyHead": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 912 - }, - "UsePrintingEscape": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hGestureInfoCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HGESTUREINFO__" - }, - "kind": "pointer" - }, - "offset": 896 - }, - "ForceTextBand": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 724 - }, - "fETWReserved": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 928 - }, - "pMenuState": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 488 - }, - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "TIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 440 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "Win31DevModeSize": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSBTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBTRACK" - }, - "kind": "pointer" - }, - "offset": 584 - }, - "spwndDefaultIme": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 648 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 520 - }, - "EditSetTextMunge": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Random31Ux": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fgfSwitchInProgressSetter": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 392 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "NoTimeCbProtect": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DisableFontAssoc": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pcti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "NoCharDeadKey": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TTIgnoreRasterDupe": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "lParamHkCurrent": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 568 - }, - "qwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 520 - }, - "wParamHkCurrent": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 576 - }, - "NoWindowArrangement": { - "type": { - "bit_position": 32, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ActiveMenus": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "pqAttach": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 528 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "psiiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 504 - }, - "IgnoreTopMost": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "TryExceptCallWndProc": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoDDETrackDying": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "FontSubs": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "SmoothScrolling": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 624 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "ptiSibling": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 536 - }, - "hklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "IncreaseStack": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - } - }, - "kind": "struct", - "size": 936 - }, - "__unnamed_11ff": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "EaLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FileAttributes": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_CALLPROCDATA": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "pfnClientPrevious": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "wType": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "spcpdNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH": { - "fields": { - "VidPnTargetColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 48 - }, - "VidPnTargetColorBasis": { - "type": { - "kind": "enum", - "name": "VidPnTargetColorBasisEnum" - }, - "offset": 44 - }, - "ContentTransformation": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" - }, - "offset": 12 - }, - "GammaRamp": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GAMMA_RAMP" - }, - "offset": 336 - }, - "CopyProtection": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" - }, - "offset": 68 - }, - "VidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Content": { - "type": { - "kind": "enum", - "name": "ContentEnum" - }, - "offset": 64 - }, - "VisibleFromActiveTLOffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 28 - }, - "VidPnTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "VisibleFromActiveBROffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 36 - }, - "ImportanceOrdinal": { - "type": { - "kind": "enum", - "name": "ImportanceOrdinalEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 360 - }, - "__unnamed_1253": { - "fields": { - "PowerSequence": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_POWER_SEQUENCE" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESS_HID_TABLE": { - "fields": { - "fExclusiveMouseSink": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fCaptureMouse": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyMouse": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboard": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "spwndTargetMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndTargetKbd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "UsageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 98 - }, - "UsagePageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 96 - }, - "fRawMouse": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawMouseSink": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "inclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "nSinks": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "UsagePageList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 32 - }, - "ExclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - }, - "InclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "fRawKeyboardSink": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fAppKeys": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoHotKeys": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "fNoLegacyKeyboard": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "request": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fExclusiveKeyboardSink": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "pLastRequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1809": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "MessageCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHOOK": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "iHook": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "phkNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "offPfn": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "fLastHookHung": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 88 - }, - "nTimeout": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 7 - }, - "offset": 88 - }, - "ihmod": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "ptiHooked": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 80 - } - }, - "kind": "struct", - "size": 96 - }, - "_THROBJHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagPROCESS_HID_REQUEST": { - "fields": { - "fSinkable": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "pTLCInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_TLC_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDevNotify": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "fExSinkable": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 18 - }, - "fExclusiveOrphaned": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "next_request": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "pPORequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_PAGEONLY_REQUEST" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 16 - }, - "ptr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "spwndTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 40 - }, - "_KFLOATING_SAVE": { - "fields": { - "Dummy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { - "fields": { - "Rotate270": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate90": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate180": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMLIST": { - "fields": { - "cMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pqmsgRead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pqmsgWriteLast": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_CONSOLE_CARET_INFO": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1807": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - }, - "Level": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "DEADKEY": { - "fields": { - "wchComposed": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 4 - }, - "dwBoth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESSINFO": { - "fields": { - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "fHasMagContext": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 736 - }, - "hwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWINSTA__" - }, - "kind": "pointer" - }, - "offset": 608 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ptiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 256 - }, - "pHidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 744 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "pclsPublicList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 288 - }, - "dwhmodLibLoadedMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 340 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "hdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 328 - }, - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "dwImeCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 696 - }, - "hMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HMONITOR__" - }, - "kind": "pointer" - }, - "offset": 624 - }, - "ptiMainThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "pvwplWndGCList": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 760 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "usi": { - "type": { - "kind": "struct", - "name": "tagUSERSTARTUPINFO" - }, - "offset": 708 - }, - "luidSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 700 - }, - "Unused": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 736 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pW32Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 688 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwRegisteredClasses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 752 - }, - "bmHandleFlags": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_BITMAP" - }, - "offset": 648 - }, - "pclsPrivateList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "amwinsta": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 616 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ppiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 736 - }, - "dwHotkey": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 620 - }, - "cSysExpunge": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "rpdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pdvList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 632 - }, - "hidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 776 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 320 - }, - "pwpi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "ppiNextRunning": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "dwLayout": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 740 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rpwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "pCursorCache": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "pClientBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 672 - }, - "ahmodLibLoaded": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 384 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 640 - }, - "dwLpkEntryPoints": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 680 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 768 - }, - "HBRUSH__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLIP": { - "fields": { - "fmt": { - "type": { - "kind": "enum", - "name": "fmtEnum" - }, - "offset": 0 - }, - "fGlobalHandle": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagUAHMENUPOPUPMETRICS": { - "fields": { - "rgcx": { - "type": { - "count": 4, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 0 - }, - "fUpdateMaxWidths": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 20 - }, - "tagSMS": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 72 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 80 - }, - "lpResultCallBack": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lRet": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 56 - }, - "psmsReceiveNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "tSent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "pvCapture": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "psmsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptiReceiver": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ptiCallBackSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "dwData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 112 - }, - "__unnamed_195e": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_195c": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_W32THREAD": { - "fields": { - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 336 - }, - "_VK_TO_WCHAR_TABLE": { - "fields": { - "pVkToWchars": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHARS1" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cbSize": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - }, - "nModifications": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPROPLIST": { - "fields": { - "aprop": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagPROP" - }, - "kind": "array" - }, - "offset": 8 - }, - "iFirstFree": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cEntries": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_D3DKMDT_FREQUENCY_RANGE": { - "fields": { - "MinVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 0 - }, - "MaxVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 8 - }, - "MaxHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 24 - }, - "MinHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_11f8": { - "fields": { - "Apc": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KAPC" - }, - "offset": 0 - }, - "CompletionKey": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Overlay": { - "type": { - "kind": "struct", - "name": "__unnamed_11f5" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_18bf": { - "fields": { - "BaseMiddle": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "Flags1": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "Flags2": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "tagPROFILEVALUEINFO": { - "fields": { - "dwValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uSection": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pwszKeyName": { - "type": { - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_11f5": { - "fields": { - "Thread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "DeviceQueueEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" - }, - "offset": 0 - }, - "CurrentStackLocation": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_STACK_LOCATION" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "DriverContext": { - "type": { - "count": 4, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 0 - }, - "AuxiliaryBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "OriginalFileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "PacketType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 80 - }, - "__unnamed_125f": { - "fields": { - "AllocatedResources": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "AllocatedResourcesTranslated": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "D3DDDI_DXGI_RGB": { - "fields": { - "Blue": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "Green": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "Red": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1219": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FsControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_125b": { - "fields": { - "State": { - "type": { - "kind": "struct", - "name": "nt_symbols!_POWER_STATE" - }, - "offset": 16 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "SystemContext": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ShutdownType": { - "type": { - "kind": "enum", - "name": "ShutdownTypeEnum" - }, - "offset": 24 - }, - "SystemPowerStateContext": { - "type": { - "kind": "struct", - "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "HDC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagDISPLAYINFO": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "SpatialListHead": { - "type": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "offset": 144 - }, - "BitCountMax": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 130 - }, - "cyGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "hdcBits": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDesktopIsRect": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "hbmGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pmdev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "cFullScreen": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 160 - }, - "cxGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 128 - }, - "hDevInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fAnyPalette": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "pspbFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pMonitorPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 162 - }, - "pMonitorFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "hdcGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hrgnScreenReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cMonitors": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "hdcScreen": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "DockThresholdMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "pdceFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 168 - }, - "tagWin32AllocStats": { - "fields": { - "dwMaxAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwMaxMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwCrtAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwCrtMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18c5": { - "fields": { - "DefaultBig": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "BaseMiddle": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "LimitHigh": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 0 - }, - "System": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Granularity": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Dpl": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 0 - }, - "Type": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "Present": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "LongMode": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1261": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ProviderId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "BufferSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DataPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1263": { - "fields": { - "Argument4": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Argument2": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Argument3": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "Argument1": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1265": { - "fields": { - "DeviceIoControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121d" - }, - "offset": 0 - }, - "ReadWriteConfig": { - "type": { - "kind": "struct", - "name": "__unnamed_123d" - }, - "offset": 0 - }, - "Create": { - "type": { - "kind": "struct", - "name": "__unnamed_11ff" - }, - "offset": 0 - }, - "Write": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "PowerSequence": { - "type": { - "kind": "struct", - "name": "__unnamed_1253" - }, - "offset": 0 - }, - "QueryId": { - "type": { - "kind": "struct", - "name": "__unnamed_1243" - }, - "offset": 0 - }, - "SetFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1213" - }, - "offset": 0 - }, - "CreatePipe": { - "type": { - "kind": "struct", - "name": "__unnamed_1203" - }, - "offset": 0 - }, - "Power": { - "type": { - "kind": "struct", - "name": "__unnamed_125b" - }, - "offset": 0 - }, - "Read": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "StartDevice": { - "type": { - "kind": "struct", - "name": "__unnamed_125f" - }, - "offset": 0 - }, - "QueryDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120d" - }, - "offset": 0 - }, - "LockControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121b" - }, - "offset": 0 - }, - "QueryInterface": { - "type": { - "kind": "struct", - "name": "__unnamed_1233" - }, - "offset": 0 - }, - "Others": { - "type": { - "kind": "struct", - "name": "__unnamed_1263" - }, - "offset": 0 - }, - "FileSystemControl": { - "type": { - "kind": "struct", - "name": "__unnamed_1219" - }, - "offset": 0 - }, - "SetLock": { - "type": { - "kind": "struct", - "name": "__unnamed_123f" - }, - "offset": 0 - }, - "QueryDeviceText": { - "type": { - "kind": "struct", - "name": "__unnamed_1247" - }, - "offset": 0 - }, - "WMI": { - "type": { - "kind": "struct", - "name": "__unnamed_1261" - }, - "offset": 0 - }, - "CreateMailslot": { - "type": { - "kind": "struct", - "name": "__unnamed_1207" - }, - "offset": 0 - }, - "FilterResourceRequirements": { - "type": { - "kind": "struct", - "name": "__unnamed_123b" - }, - "offset": 0 - }, - "MountVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QueryVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1217" - }, - "offset": 0 - }, - "UsageNotification": { - "type": { - "kind": "struct", - "name": "__unnamed_124b" - }, - "offset": 0 - }, - "Scsi": { - "type": { - "kind": "struct", - "name": "__unnamed_1229" - }, - "offset": 0 - }, - "WaitWake": { - "type": { - "kind": "struct", - "name": "__unnamed_124f" - }, - "offset": 0 - }, - "QueryFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1211" - }, - "offset": 0 - }, - "VerifyVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QuerySecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_121f" - }, - "offset": 0 - }, - "QueryDeviceRelations": { - "type": { - "kind": "struct", - "name": "__unnamed_122d" - }, - "offset": 0 - }, - "NotifyDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120f" - }, - "offset": 0 - }, - "SetSecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_1221" - }, - "offset": 0 - }, - "DeviceCapabilities": { - "type": { - "kind": "struct", - "name": "__unnamed_1237" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1817": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1815": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "tagKbdLayer": { - "fields": { - "pVkToWcharTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHAR_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fLocaleFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "pCharModifiers": { - "type": { - "subtype": { - "kind": "struct", - "name": "MODIFIERS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pKeyNamesExt": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pDeadKey": { - "type": { - "subtype": { - "kind": "struct", - "name": "DEADKEY" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pusVSCtoVK": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pKeyNamesDead": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pLigature": { - "type": { - "subtype": { - "kind": "struct", - "name": "_LIGATURE1" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "cbLgEntry": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 85 - }, - "pKeyNames": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "dwSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "nLgMax": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 84 - }, - "pVSCtoVK_E1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pVSCtoVK_E0": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bMaxVSCtoVK": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1813": { - "fields": { - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { - "fields": { - "Centered": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "AspectRatioCenteredMax": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Stretched": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Custom": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1958": { - "fields": { - "MinBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "MaxBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_2DREGION": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "HRGN__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1954": { - "fields": { - "AffinityPolicy": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "PriorityPolicy": { - "type": { - "kind": "enum", - "name": "PriorityPolicyEnum" - }, - "offset": 12 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "MaximumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "TargetedProcessors": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "MinimumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_PROCMARKHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagSIZE": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagDESKTOPVIEW": { - "fields": { - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "pdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pdvNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1819": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { - "fields": { - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "PathAndTargetModeSetOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBTRACK": { - "fields": { - "spwndSBNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTimerSB": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "cmdSB": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "xxxpfnSB": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fTrackVert": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posNew": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 84 - }, - "posOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fCtlSB": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "rcTrack": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 32 - }, - "fTrackRecalc": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndSB": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "pxOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fHitOld": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "pSBCalc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBCALC" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "nBar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_16c1": { - "fields": { - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "MaxPixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_DMA_ADAPTER": { - "fields": { - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "DmaOperations": { - "type": { - "subtype": { - "kind": "struct", - "name": "_DMA_OPERATIONS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMONITOR": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "rcMonitorReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 28 - }, - "pMonitorNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hDevReal": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "hrgnMonitorReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "rcWorkReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 44 - }, - "dwMONFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cWndStack": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 74 - }, - "DockTargets": { - "type": { - "count": 7, - "subtype": { - "count": 4, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "kind": "array" - }, - "offset": 96 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 144 - }, - "__unnamed_180b": { - "fields": { - "Translated": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Raw": { - "type": { - "kind": "struct", - "name": "__unnamed_1809" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagRECT": { - "fields": { - "top": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "right": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "bottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "left": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_180d": { - "fields": { - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Port": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Channel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "MODIFIERS": { - "fields": { - "wMaxModBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "pVkToBit": { - "type": { - "subtype": { - "kind": "struct", - "name": "VK_TO_BIT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ModNumber": { - "type": { - "count": 0, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 10 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120f": { - "fields": { - "CompletionFilter": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120d": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 16 - }, - "FileName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { - "fields": { - "PathAndTargetModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 48 - }, - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 40 - }, - "SourceMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_SOURCE_MODE" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 480 - }, - "tagMSG": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 24 - }, - "pt": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 36 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "time": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "tagDPISERVERINFO": { - "fields": { - "hMsgFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hCaptionFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "gclBorder": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cxMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "wMaxBtnSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "cyMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { - "fields": { - "Blue": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 1024 - }, - "Green": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 512 - }, - "Red": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1536 - }, - "__unnamed_124f": { - "fields": { - "PowerState": { - "type": { - "kind": "enum", - "name": "PowerStateEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagWOWPROCESSINFO": { - "fields": { - "ptdbHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ptiScheduled": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "nRecvLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CSLockCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "nSendLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pEventWowExec": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lpfnWowExitTask": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "CSOwningThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "hEventWowExecClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwpiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "HTOUCHINPUT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMENU": { - "fields": { - "iItem": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "umpm": { - "type": { - "kind": "struct", - "name": "tagUAHMENUPOPUPMETRICS" - }, - "offset": 132 - }, - "cItems": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pParentMenus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "fFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "cxMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwContextHelpId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "cxTextAlign": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "cAlloced": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "hbrBack": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwArrowsOn": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 128 - }, - "iMaxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 124 - }, - "dwMenuData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "cyMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "rgItems": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagITEM" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "cyMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "_D3DDDI_GAMMA_RAMP_DXGI_1": { - "fields": { - "GammaCurve": { - "type": { - "count": 1025, - "subtype": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "kind": "array" - }, - "offset": 24 - }, - "Scale": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 0 - }, - "Offset": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 12324 - }, - "_MOVESIZEDATA": { - "fields": { - "fmsKbd": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "pStartMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "impy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 152 - }, - "fMoveFromMax": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapMoving": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "frcNormalCheckPtValid": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptMaxTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 96 - }, - "ptRestore": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 156 - }, - "fUsePreviewRect": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForceSizing": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fThresholdSelector": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 164 - }, - "ptStartHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 208 - }, - "fDragFullWindows": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForeground": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "dyMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 140 - }, - "fHasSoftwareCursor": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsHitPtOffScreen": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapSizingTemporaryAllowed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fCheckPtForcefullyRestored": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedRight": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ulCountDragOutOfLeftRightTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 228 - }, - "Unused": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 164 - }, - "dxMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 136 - }, - "fStartVerticallyMaximizedRight": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcParent": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 72 - }, - "fOffScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fWindowWasSuperMaximized": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedLeft": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "StartCurrentHitTarget": { - "type": { - "kind": "enum", - "name": "StartCurrentHitTargetEnum" - }, - "offset": 176 - }, - "fHasPreviewRect": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fLockWindowUpdate": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcPreview": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 40 - }, - "fSnapSizing": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsMoveSizeLoop": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fInitSize": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcDragCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "ulCountDragOutOfTopTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 224 - }, - "rcPreviewCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 56 - }, - "CurrentHitTarget": { - "type": { - "kind": "enum", - "name": "CurrentHitTargetEnum" - }, - "offset": 192 - }, - "fSnapMovingTemporaryAllowed": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fTrackCancelled": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 200 - }, - "ptLastTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 216 - }, - "cmd": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 144 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 164 - }, - "MoveRectStyle": { - "type": { - "kind": "enum", - "name": "MoveRectStyleEnum" - }, - "offset": 196 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "ulCountSizeOutOfTopBottomTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 232 - }, - "fStartVerticallyMaximizedLeft": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcNormalStartCheckPt": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 120 - }, - "ptMinTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 88 - }, - "rcDrag": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - }, - "pMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "impx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 148 - } - }, - "kind": "struct", - "size": 240 - }, - "_D3DDDI_RATIONAL": { - "fields": { - "Denominator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Numerator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "VWPL": { - "fields": { - "cElem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "aElement": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "VWPLELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "fTagged": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cThreshhold": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cPwnd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagTEXTMETRICW": { - "fields": { - "tmOverhang": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "tmPitchAndFamily": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 55 - }, - "tmStruckOut": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 54 - }, - "tmCharSet": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - }, - "tmDigitizedAspectX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "tmDigitizedAspectY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "tmFirstChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 44 - }, - "tmWeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "tmDescent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "tmDefaultChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 48 - }, - "tmLastChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 46 - }, - "tmMaxCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "tmItalic": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 52 - }, - "tmUnderlined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 53 - }, - "tmInternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "tmAscent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "tmHeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "tmAveCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "tmBreakChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 50 - }, - "tmExternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 60 - }, - "_SCATTER_GATHER_LIST": { - "fields": { - "Elements": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "_SCATTER_GATHER_ELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "NumberOfElements": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "HICON__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_HANDLEENTRY": { - "fields": { - "pOwner": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "bType": { - "type": { - "kind": "enum", - "name": "bTypeEnum" - }, - "offset": 16 - }, - "bFlags": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 17 - }, - "phead": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HEAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "wUniq": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - } - }, - "kind": "struct", - "size": 24 - }, - "_THRDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagSVR_INSTANCE_INFO": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nextInThisThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spwndEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "afCmd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pcii": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 80 - }, - "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { - "fields": { - "RequestDiagInfo": { - "type": { - "kind": "struct", - "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" - }, - "offset": 4 - }, - "AffectedVidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "VidPnSerialization": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPN_SERIALIZATION" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 28 - }, - "tagPOPUPMENU": { - "fields": { - "fDroppedLeft": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fIsSysMenu": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posDropped": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fIsMenuBar": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHierarchyDropped": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDropNextPopup": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fRightButton": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ppopupmenuRoot": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fFirstClick": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fRtoL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSendUninit": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fAboutToHide": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNextPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fFlushDelayedFree": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHasMenuBar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fTrackMouseEvent": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fNoNotify": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posSelectedItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fUseMonitorRect": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndPrevPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ppmDelayedFree": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "fFreed": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSynchronous": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenuAlternate": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fDestroyed": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "iDropDir": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "fIsTrackPopup": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndActivePopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "fInCancel": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fToggle": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDelayedFree": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHideTimer": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fShowTimer": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "_D3DKMDT_MONITOR_SOURCE_MODE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 84 - }, - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "ColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 68 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 88 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 96 - }, - "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 8 - }, - "Data": { - "type": { - "count": 128, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 12 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 140 - }, - "__unnamed_127c": { - "fields": { - "Wcb": { - "type": { - "kind": "struct", - "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" - }, - "offset": 0 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_D3DMATRIX": { - "fields": { - "_41": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 48 - }, - "_42": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 52 - }, - "_43": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 56 - }, - "_44": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 60 - }, - "_34": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 44 - }, - "_14": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 12 - }, - "_13": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "_12": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "_11": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - }, - "_24": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 28 - }, - "_31": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 32 - }, - "_33": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 40 - }, - "_32": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 36 - }, - "_22": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 20 - }, - "_23": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 24 - }, - "_21": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 64 - }, - "_LARGE_UNICODE_STRING": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumLength": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 4 - }, - "bAnsi": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "_VK_VALUES_STRINGS": { - "fields": { - "fReserved": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "pszMultiNames": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHID_TLC_INFO": { - "fields": { - "cExcludeOrphaned": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - }, - "cDevices": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "cExcludeRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cUsagePageRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "cDirectRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { - "fields": { - "Info": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_SOURCE_MODE" - }, - "offset": 0 - }, - "TimingType": { - "type": { - "kind": "enum", - "name": "TimingTypeEnum" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 104 - }, - "tagCURSOR": { - "fields": { - "rt": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 58 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCMARKHEAD" - }, - "offset": 0 - }, - "hbmUserAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "xHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 68 - }, - "hbmColor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pcurNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "CURSORF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hbmMask": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bpp": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 120 - }, - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 128 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "rcBounds": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 96 - }, - "atomModName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "hbmAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "yHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 70 - }, - "strName": { - "type": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 136 - }, - "_D3DKMDT_GAMMA_RAMP": { - "fields": { - "Data": { - "type": { - "kind": "struct", - "name": "__unnamed_182e" - }, - "offset": 16 - }, - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "HWND__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1207": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18a1": { - "fields": { - "Text": { - "type": { - "kind": "enum", - "name": "TextEnum" - }, - "offset": 0 - }, - "Graphics": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { - "fields": { - "TargetMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "offset": 360 - }, - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 432 - }, - "HKL__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1209": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagDCE": { - "fields": { - "hrgnClipPublic": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwndOrg": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pdceNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "DCX_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hdc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "hrgnSavedVis": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pwndRedirect": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pwndClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 96 - }, - "VSC_LPWSTR": { - "fields": { - "vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pwsz": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagQ": { - "fields": { - "hwndDblClk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "timeDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndFocus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 328 - }, - "cLockCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 322 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 312 - }, - "ptiSysLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "caret": { - "type": { - "kind": "struct", - "name": "tagCARET" - }, - "offset": 232 - }, - "ptiMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndActivePrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ptMouseMove": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 128 - }, - "msgDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "msgJournal": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "ptiKeyboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 320 - }, - "QF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 316 - }, - "mlInput": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 0 - }, - "spwndActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "codeCapture": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "idSysLock": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "spcurCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "ulEtwReserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "ptDblClk": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 120 - }, - "xbtnDblClk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 104 - }, - "afKeyRecentDown": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "afKeyState": { - "type": { - "count": 64, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 168 - }, - "spwndCapture": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "idSysPeek": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 344 - }, - "__unnamed_1203": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "HGESTUREINFO__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLS": { - "fields": { - "spcur": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 100 - }, - "pclsClone": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "lpszClientAnsiMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pclsBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "atomNVClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "pclsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "CSF_flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "lpszAnsiClassName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "spcpdFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "lpszClientUnicodeMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "cbclsExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 96 - }, - "lpszMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "spicnSm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "cWndReferenceCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "hbrBackground": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "spicn": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 12 - }, - "pdce": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "rpdeskParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "atomClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 160 - }, - "_PROCDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { - "fields": { - "CommitVidPnRequestOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumCommitVidPnRequests": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_VK_TO_FUNCTION_TABLE": { - "fields": { - "NLSFEProcType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "NLSFEProcCurrent": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcSwitch": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "NLSFEProcAlt": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 68 - }, - "NLSFEProc": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 132 - }, - "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { - "fields": { - "NumDescriptors": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "DescriptorSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 144 - }, - "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 112 - }, - "_CALLBACKWND": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { - "fields": { - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - }, - "TargetModeSet": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" - }, - "offset": 360 - } - }, - "kind": "struct", - "size": 440 - }, - "_VK_FUNCTION_PARAM": { - "fields": { - "NLSFEProcIndex": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcParam": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBCALC": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "pxStart": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "pxThumbBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "cpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "pxMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pxThumbTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "pxDownArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cpx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "pxBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "pxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pxLeft": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "pxRight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "pxUpArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "HDESK__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "HIMC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { - "fields": { - "SecondChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "FourthChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "ThirdChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FirstChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMENUSTATE": { - "fields": { - "cxAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 116 - }, - "pGlobalPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "uDraggingIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "fNotifyByPos": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInCallHandleMenuMessages": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ixAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "dwLockCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "fAutoDismiss": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fIsSysMenu": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "dwAniStartTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "uButtonDownHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "fIgnoreButtonUp": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptButtonDown": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 56 - }, - "fMenuStarted": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "iAniDropDir": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 8 - }, - "hdcAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "fModelessMenu": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hbmAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "fInEndMenu": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 92 - }, - "vkButtonDown": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fSetCapture": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInDoDragDrop": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fActiveNoForeground": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fMouseOffMenu": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fDragAndDrop": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInsideMenuLoop": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 80 - }, - "fButtonDown": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptiMenuStateOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "iyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 112 - }, - "hdcWndAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "fAboutToAutoDismiss": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "mnFocus": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "uButtonDownIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "fButtonAlwaysDown": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fUnderline": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptMouseLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 12 - }, - "pmnsPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fDragging": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "cmdLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 144 - }, - "VK_TO_BIT": { - "fields": { - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModBits": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - } - }, - "kind": "struct", - "size": 2 - }, - "tagWOWTHREADINFO": { - "fields": { - "pIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "idParentProcess": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "idTask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwtiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "idWaitObject": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 40 - }, - "__unnamed_1805": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1211": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1213": { - "fields": { - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - }, - "AdvanceOnly": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 25 - }, - "ClusterCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "DeleteHandle": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReplaceIfExists": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 24 - }, - "FileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1217": { - "fields": { - "FsInformationClass": { - "type": { - "kind": "enum", - "name": "FsInformationClassEnum" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_123b": { - "fields": { - "IoResourceRequirementList": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_122d": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1950": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagITEM": { - "fields": { - "fType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ulX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "wID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwItemData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "hbmpChecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "xItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "spSubMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hbmpUnchecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fState": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dxTab": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "cxBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 104 - }, - "yItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "cyItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 76 - }, - "umim": { - "type": { - "kind": "struct", - "name": "tagUAHMENUITEMMETRICS" - }, - "offset": 112 - }, - "cch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "ulWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "cyBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "lpstr": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cxItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "hbmp": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 144 - }, - "tagIMEINFOEX": { - "fields": { - "dwImeWinVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fSysWow64Only": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "fInitOpen": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "wszImeDescription": { - "type": { - "count": 50, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 88 - }, - "fCUASLayer": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "ImeInfo": { - "type": { - "kind": "struct", - "name": "tagIMEINFO" - }, - "offset": 8 - }, - "wszImeFile": { - "type": { - "count": 80, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 188 - }, - "wszUIClass": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 36 - }, - "fLoadFlag": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "dwProdVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fdwInitConvMode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - } - }, - "kind": "struct", - "size": 352 - }, - "__unnamed_1962": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1958" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_1956" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_195e" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_195c" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "ConfigData": { - "type": { - "kind": "struct", - "name": "__unnamed_195a" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1960" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1954" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagMSGPPINFO": { - "fields": { - "dwIndexMsgPP": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagSBINFO": { - "fields": { - "WSBflags": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "Horz": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 4 - }, - "Vert": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 36 - }, - "VWPLELEMENT": { - "fields": { - "DataOrTag": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSBDATA": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "_VSC_VK": { - "fields": { - "Vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123f": { - "fields": { - "Lock": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1 - }, - "_SCATTER_GATHER_ELEMENT": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "Address": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagWND": { - "fields": { - "spwndLastActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "bWS_CLIPCHILDREN": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bMaximizeButtonDown": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bUIStateActive": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_TABSTOP": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDialogWindow": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "bMinimizeButtonDown": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HIMC__" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "bWS_SIZEBOX": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "bChildNoActivate": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_LAYERED": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved3": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bStartPaint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedLeft": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bHiddenPopup": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSendEraseBackground": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin50Compat": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_CLIENTEDGE": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 66 - }, - "bDisabled": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bAnsiWindowProc": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin40Compat": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcClient": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 128 - }, - "bAnsiCreator": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bAnyScrollButtonDown": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bSendSizeMoveMsgs": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bLinked": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bSendNCPaint": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bInternalPaint": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasClientEdge": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasPalette": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasHorizontalScrollbar": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUIStateFocusRectHidden": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_DLGFRAME": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_MDICHILD": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasVerticalScrollbar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved2": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bSmallIconFromWMQueryDrag": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bNoNCPaint": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasSPB": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_MINIMIZEBOX": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarVerticalTracking": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_DLGMODALFRAME": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TRANSPARENT": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bPaintNotProcessed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSyncPaintPending": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "bShellHookRegistered": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndChild": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "bUnused5": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bInDestroy": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "state": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "bWS_EX_LEFTSCROLLBAR": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bToggleTopmost": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_VSCROLL": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "ExStyle": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "bWS_HSCROLL": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUpdateDirty": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWMPaintSent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_WINDOWEDGE": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_ACCEPTFILE": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_GROUP": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "bVisible": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bVerticallyMaximizedRight": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bForceMenuDraw": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bForceNCPaint": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bOldUI": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndClipboardListenerNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "bWS_EX_NOPADDEDBORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bNoMinmaxAnimatedRects": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bWS_MAXIMIZEBOX": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bHasCaption": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bEraseBackground": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "spwndOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 232 - }, - "bMakeVisibleWhenUnghosted": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused8": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bUnused9": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 52 - }, - "bForceFullNCPaintClipRgn": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_RTLREADING": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused1": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused2": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused3": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused4": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasMeun": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused6": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused7": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bClipboardListener": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bScrollBarLineDownBtnDown": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedirectedForPrint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_RIGHT": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasCreatestructName": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITED": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bFullScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnUpdate": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "bConsoleWindow": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "ppropList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROPLIST" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bWS_EX_TOPMOST": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bScrollBarPageDownBtnDown": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarLineUpBtnDown": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRecievedQuerySuspendMsg": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bMaximizeMonitorRegion": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedrawIfHung": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_POPUP": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTEXTHELP": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "dwUserData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 256 - }, - "hMod16": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 64 - }, - "FullScreenMode": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 44 - }, - "bLayeredLimbo": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_NOINHERITLAYOUT": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_LAYOUTRTL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUIStateKbdAccelHidden": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_BORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_TOOLWINDOW": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bDestroyed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bServerSideWindowProc": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bCaptionTextTruncated": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 112 - }, - "bEndPaintInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnNewFrame": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "bBeingActivated": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITEDCompositing": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWMCreateMsgProcessed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_NOACTIVATE": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_APPWINDOW": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pSBInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBINFO" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "bCloseButtonDown": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bMaximized": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_CHILD": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "bWS_THICKFRAME": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTROLPARENT": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pcls": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bLayeredForDWM": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bMsgBox": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHelpButtonDown": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasOverlay": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bRedrawFrameIfHung": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_NOPARENTNOTIFY": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bMaximizesToMonitor": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bBottomMost": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bReserved1": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bRedirected": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bActiveFrame": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved4": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved5": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved6": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved7": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "spwndPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bLayeredInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "state2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "bWS_CLIPSIBLINGS": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarPageUpBtnDown": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "pTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DMATRIX" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "bWin31Compat": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "ExStyle2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "bHIGHDPI_UNAWARE_Unused": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_SYSMENU": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "strName": { - "type": { - "kind": "struct", - "name": "_LARGE_UNICODE_STRING" - }, - "offset": 232 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "bMinimized": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bRecievedSuspendMsg": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_STATICEDGE": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 296 - }, - "_WM_VALUES_STRINGS": { - "fields": { - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "fInternal": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "fDefined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { - "fields": { - "VisibleRegionSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 8 - }, - "Stride": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "PixelFormat": { - "type": { - "kind": "enum", - "name": "PixelFormatEnum" - }, - "offset": 20 - }, - "PixelValueAccessMode": { - "type": { - "kind": "enum", - "name": "PixelValueAccessModeEnum" - }, - "offset": 28 - }, - "PrimSurfSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "_VK_TO_WCHARS1": { - "fields": { - "Attributes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "_TLSPRITESTATE": { - "fields": { - "flOriginalSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "iSpriteType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pfnSaveScreenBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bInsideDriverCall": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pfnStrokePath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnTransparentBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnPaint": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnStretchBltROP": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "iType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "pfnPlgBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnCopyBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "iOriginalType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pfnTextOut": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDrawStream": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStrokeAndFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnLineTo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnStretchBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGradientFill": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnAlphaBlend": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "flSpriteSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "pfnBitBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 168 - }, - "tagUAHMENUITEMMETRICS": { - "fields": { - "rgsizeBar": { - "type": { - "count": 2, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - }, - "rgsizePopup": { - "type": { - "count": 4, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_121b": { - "fields": { - "Length": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1229": { - "fields": { - "Srb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_SCSI_REQUEST_BLOCK" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_121f": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1225": { - "fields": { - "DeviceObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Vpb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_VPB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_HEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagIMEINFO": { - "fields": { - "fdwProperty": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "fdwSelectCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fdwUICaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwPrivateDataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fdwSCSCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "fdwSentenceCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "fdwConversionCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 28 - }, - "_DXGK_DIAG_CODE_POINT_PACKET": { - "fields": { - "Header": { - "type": { - "kind": "struct", - "name": "_DXGK_DIAG_HEADER" - }, - "offset": 0 - }, - "Param3": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "Param1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CodePointType": { - "type": { - "kind": "enum", - "name": "CodePointTypeEnum" - }, - "offset": 48 - }, - "Param2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_SOURCE_MODE": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Format": { - "type": { - "kind": "struct", - "name": "__unnamed_18a1" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagW32JOB": { - "fields": { - "restrictions": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ughCrt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ughMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pgh": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long long" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EJOB" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ppiTable": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "uProcessCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "uMaxProcesses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { - "fields": { - "NumFrequencyRanges": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "FrequencyRangeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 56 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { - "fields": { - "APSTriggerBits": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "CopyProtectionType": { - "type": { - "kind": "enum", - "name": "CopyProtectionTypeEnum" - }, - "offset": 0 - }, - "CopyProtectionSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" - }, - "offset": 264 - }, - "OEMCopyProtection": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 268 - }, - "tagWINDOWSTATION": { - "fields": { - "pClipBase": { - "type": { - "subtype": { - "count": 104, - "subtype": { - "kind": "struct", - "name": "tagCLIP" - }, - "kind": "array" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "cNumClipFormats": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "luidUser": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 136 - }, - "pGlobalAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "ptiClipLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "dwWSF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "rpdeskList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spklList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spwndClipOpen": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "luidEndSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 128 - }, - "pTerm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTERMINAL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndClipboardListener": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "spwndClipViewer": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iClipSequenceNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "ptiDrawingClipboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "spwndClipOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "psidUser": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "rpwinstaNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 152 - }, - "tagDESKTOPINFO": { - "fields": { - "spwndProgman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "pvwplMessagePPHandler": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 224 - }, - "pvDesktopLimit": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fComposited": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndGestureEngine": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "pvDesktopBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwndShell": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "ppiShellProcess": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pvwplShellHook": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "spwndTaskman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "fIsDwmDesktop": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 32 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cntMBox": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 208 - }, - "spwndBkGnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 240 - }, - "tagMBSTRING": { - "fields": { - "szName": { - "type": { - "count": 15, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 0 - }, - "uID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "uStr": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DKMDT_VIDPN_TARGET_MODE": { - "fields": { - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 72 - }, - "_DMM_VIDPNSET_SERIALIZATION": { - "fields": { - "VidPnOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumVidPns": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagKBDFILE": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "awchDllName": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 56 - }, - "pKbdTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdLayer" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pkfNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pKbdNlsTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdNlsLayer" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_11e4": { - "fields": { - "UserApcContext": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "UserApcRoutine": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "IssuingProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_W32PROCESS": { - "fields": { - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 256 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { - "fields": { - "Scaling": { - "type": { - "kind": "enum", - "name": "ScalingEnum" - }, - "offset": 0 - }, - "RotationSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" - }, - "offset": 12 - }, - "Rotation": { - "type": { - "kind": "enum", - "name": "RotationEnum" - }, - "offset": 8 - }, - "ScalingSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSERVERINFO": { - "fields": { - "uiShellMsg": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 912 - }, - "cbHandleTable": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 848 - }, - "atomSysClass": { - "type": { - "count": 25, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 852 - }, - "dtScroll": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2800 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2952 - }, - "atomIconSmProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1356 - }, - "argbSystemUnmatched": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2268 - }, - "dwTagCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4632 - }, - "ucWheelScrollLines": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2812 - }, - "ptCursorReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2784 - }, - "ucWheelScrollChars": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2816 - }, - "acOemToAnsi": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1364 - }, - "cySysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2832 - }, - "atomFrostedWindowProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1362 - }, - "mpFnid_serverCBWndProc": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 328 - }, - "PUSIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4476 - }, - "BitCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4468 - }, - "argbSystem": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2392 - }, - "dtLBSearch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2804 - }, - "dtCaretBlink": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2808 - }, - "dwInstalledEventHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 1876 - }, - "apfnClientA": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 392 - }, - "cxSysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2828 - }, - "hbrGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 2768 - }, - "ahbrSystem": { - "type": { - "count": 31, - "subtype": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 2520 - }, - "dwDefaultHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "wMaxRightOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2824 - }, - "dwSRVIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "oembmi": { - "type": { - "count": 93, - "subtype": { - "kind": "struct", - "name": "tagOEMBITMAPINFO" - }, - "kind": "array" - }, - "offset": 2964 - }, - "apfnClientWorker": { - "type": { - "kind": "struct", - "name": "_PFNCLIENTWORKER" - }, - "offset": 760 - }, - "dwDefaultHeapBase": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 904 - }, - "BitsPixel": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4473 - }, - "wMaxLeftOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2820 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4470 - }, - "dwLastSystemRITEventTickCountUpdate": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4488 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2796 - }, - "atomIconProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1358 - }, - "Planes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4472 - }, - "dpiSystem": { - "type": { - "kind": "struct", - "name": "tagDPISERVERINFO" - }, - "offset": 2896 - }, - "hIcoWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2944 - }, - "apfnClientW": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 576 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2956 - }, - "MBStrings": { - "type": { - "count": 11, - "subtype": { - "kind": "struct", - "name": "tagMBSTRING" - }, - "kind": "array" - }, - "offset": 916 - }, - "atomContextHelpIdProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1360 - }, - "adwDBGTAGFlags": { - "type": { - "count": 35, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4492 - }, - "aiSysMet": { - "type": { - "count": 97, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 1880 - }, - "dwRIPFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4636 - }, - "uCaretWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4480 - }, - "cCaptures": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2960 - }, - "tmSysFont": { - "type": { - "kind": "struct", - "name": "tagTEXTMETRICW" - }, - "offset": 2836 - }, - "cHandleEntries": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ptCursor": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2776 - }, - "hIconSmWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2936 - }, - "mpFnidPfn": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "UILangID": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4484 - }, - "acAnsiToOem": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1620 - }, - "aStoCidPfn": { - "type": { - "count": 7, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 272 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 4452 - }, - "dwLastRITEventTickCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2792 - } - }, - "kind": "struct", - "size": 4640 - }, - "tagPOOLRECORD": { - "fields": { - "ExtraData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "trace": { - "type": { - "count": 6, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "__unnamed_195a": { - "fields": { - "Priority": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagUSERSTARTUPINFO": { - "fields": { - "dwYSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cbReserved2": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 26 - }, - "cb": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dwY": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwXSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "wShowWindow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 28 - }, - "_DMM_VIDPN_SERIALIZATION": { - "fields": { - "PathsFromSourceSerializationOffsets": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 8 - }, - "NumActiveSources": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_11df": { - "fields": { - "IrpCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "SystemBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MasterIrp": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IRP" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagHID_PAGEONLY_REQUEST": { - "fields": { - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cRefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1233": { - "fields": { - "Interface": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_INTERFACE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "InterfaceSpecificData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "InterfaceType": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_GUID" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagQMSG": { - "fields": { - "Padding": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 80 - }, - "ptMouseReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 72 - }, - "FromPen": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 64 - }, - "Wow64Message": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 96 - }, - "dwQEvent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 30 - }, - "offset": 80 - }, - "pqmsgPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FromTouch": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "NoCoalesce": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "msg": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 16 - }, - "pqmsgNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1237": { - "fields": { - "Capabilities": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_CAPABILITIES" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_11e6": { - "fields": { - "AsynchronousParameters": { - "type": { - "kind": "struct", - "name": "__unnamed_11e4" - }, - "offset": 0 - }, - "AllocationSize": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagDESKTOP": { - "fields": { - "spmenuVScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "dwMouseHoverTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 212 - }, - "rpwinstaParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spmenuDialogSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndForeground": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenuHScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "spwndTooltip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndMessage": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cciConsole": { - "type": { - "kind": "struct", - "name": "_CONSOLE_CARET_INFO" - }, - "offset": 144 - }, - "PtiList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 168 - }, - "spwndTray": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "rpdeskNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwDTFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pMagInputTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MAGNIFICATION_INPUT_TRANSFORM" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "htEx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 192 - }, - "ulHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "pheapDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!tagWIN32HEAP" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "rcMouseHover": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 196 - }, - "hsectionDesktop": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "dwDesktopId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 224 - }, - "_MAGNIFICATION_INPUT_TRANSFORM": { - "fields": { - "rcScreen": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 16 - }, - "magFactorX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "magFactorY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "ptiMagThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rcSource": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 48 - }, - "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 0 - }, - "ConstraintType": { - "type": { - "kind": "enum", - "name": "ConstraintTypeEnum" - }, - "offset": 36 - }, - "RangeLimits": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_FREQUENCY_RANGE" - }, - "offset": 4 - }, - "Constraint": { - "type": { - "kind": "struct", - "name": "__unnamed_16c1" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_121d": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IoControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_PFNCLIENTWORKER": { - "fields": { - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnCtfHookProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_12e0": { - "fields": { - "InitialPrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" - }, - "offset": 0 - }, - "PrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_PRIVILEGE_SET" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 44 - }, - "tagMENULIST": { - "fields": { - "pMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_DMA_OPERATIONS": { - "fields": { - "PutDmaAdapter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FreeMapRegisters": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "MapTransfer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "FreeCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReadDmaCounter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "AllocateCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "PutScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "BuildMdlFromScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "GetScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "CalculateScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "FreeAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "GetDmaAlignment": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "FlushAdapterBuffers": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "AllocateAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "BuildScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 128 - }, - "__unnamed_1811": { - "fields": { - "Start": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagSPB": { - "fields": { - "hbm": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hrgn": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ulSaveId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "pspbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "tagWin32PoolHead": { - "fields": { - "pPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pTrace": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DXGK_DIAG_HEADER": { - "fields": { - "Index": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "ProcessName": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 16 - }, - "LogTimestamp": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ThreadId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - }, - "WdLogIdx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 48 - }, - "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { - "fields": { - "CleanupAfterFailedCommitVidPn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ModeChangeRequestId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "ReclaimClonedTarget": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ForceAllActiveVidPnModeListInvalidation": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 12 - }, - "tagTOUCHINPUT": { - "fields": { - "dwExtraInfo": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "hSource": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dwMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cyContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "cxContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "dwTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 48 - }, - "_SM_VALUES_STRINGS": { - "fields": { - "StorageType": { - "type": { - "kind": "enum", - "name": "StorageTypeEnum" - }, - "offset": 16 - }, - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "RangeType": { - "type": { - "kind": "enum", - "name": "RangeTypeEnum" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1956": { - "fields": { - "MinimumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "_D3DKMDT_VIDEO_SIGNAL_INFO": { - "fields": { - "VSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 20 - }, - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 12 - }, - "PixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "TotalSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 4 - }, - "VideoStandard": { - "type": { - "kind": "enum", - "name": "VideoStandardEnum" - }, - "offset": 0 - }, - "ScanLineOrdering": { - "type": { - "kind": "enum", - "name": "ScanLineOrderingEnum" - }, - "offset": 48 - }, - "HSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 56 - }, - "tagTERMINAL": { - "fields": { - "spwndDesktopOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pEventInputReady": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "rpdeskDestroy": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pqDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwTERMF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwNestedLevel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ptiDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pEventTermInit": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "HFONT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { - "fields": { - "MacroVisionFull": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "MacroVisionApsTrigger": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "NoProtection": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 29 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_PFNCLIENT": { - "fields": { - "pfnDispatchDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnDispatchHook": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "pfnDesktopWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "pfnScrollBarWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnMessageWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnSwitchWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnHkINLPCWPSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnTitleWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnHkINLPCWPRETSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnMenuWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDispatchMessage": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pfnDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnMDIActivateDlgProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 176 - } - }, - "kind": "struct", - "size": 184 - }, - "tagOEMBITMAPINFO": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1221": { - "fields": { - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "SecurityDescriptor": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_KLIST_ENTRY": { - "fields": { - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HMONITOR__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1247": { - "fields": { - "DeviceTextType": { - "type": { - "kind": "enum", - "name": "DeviceTextTypeEnum" - }, - "offset": 0 - }, - "LocaleId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagCLIENTINFO": { - "fields": { - "msgDbcsCB": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 160 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "achDbcsCF": { - "type": { - "count": 2, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 154 - }, - "dwTIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "pClientThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 152 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "dwHookCurrent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "afAsyncKeyStateRecentDown": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwHookData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "afAsyncKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 128 - }, - "CallbackWnd": { - "type": { - "kind": "struct", - "name": "_CALLBACKWND" - }, - "offset": 64 - }, - "lpdwRegisteredClasses": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "cInDDEMLCallback": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 92 - }, - "cSpins": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "hKL": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "afKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 116 - }, - "CI_flags": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "phkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 216 - }, - "_DMM_MONITOR_SERIALIZATION": { - "fields": { - "SourceModeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FrequencyRangeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "DescriptorSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ModePruningAlgorithm": { - "type": { - "kind": "enum", - "name": "ModePruningAlgorithmEnum" - }, - "offset": 16 - }, - "VideoPresentTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "IsUsingDefaultProfile": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 13 - }, - "MonitorPowerState": { - "type": { - "kind": "enum", - "name": "MonitorPowerStateEnum" - }, - "offset": 20 - }, - "MonitorType": { - "type": { - "kind": "enum", - "name": "MonitorTypeEnum" - }, - "offset": 36 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IsSimulatedMonitor": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 12 - }, - "Orientation": { - "type": { - "kind": "enum", - "name": "OrientationEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagPROP": { - "fields": { - "fs": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "atomKey": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1243": { - "fields": { - "IdType": { - "type": { - "kind": "enum", - "name": "IdTypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123d": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "WhichSpace": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Offset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_WNDMSG": { - "fields": { - "abMsgs": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "maxMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSHAREDINFO": { - "fields": { - "psi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSERVERINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulSharedDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "aheList": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HANDLEENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "DefWindowSpecMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 552 - }, - "awmControl": { - "type": { - "count": 31, - "subtype": { - "kind": "struct", - "name": "_WNDMSG" - }, - "kind": "array" - }, - "offset": 40 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "HeEntrySize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DefWindowMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 536 - } - }, - "kind": "struct", - "size": 568 - }, - "__unnamed_181b": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1811" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_180d" - }, - "offset": 0 - }, - "DeviceSpecificData": { - "type": { - "kind": "struct", - "name": "__unnamed_1813" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_1817" - }, - "offset": 0 - }, - "MessageInterrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_180b" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_1815" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1819" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPOINT": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagIMC": { - "fields": { - "dwClientImcData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "hImeWnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pImcNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "tagKL": { - "fields": { - "uNumTbl": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "pklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "pklNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spkfPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "dwFontSigs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLastKbdType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 72 - }, - "dwKL_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "iBaseCharset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "dwKLID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "spkf": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "piiex": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMEINFOEX" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pspkfExtra": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "wchDiacritic": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 74 - }, - "dwLastKbdSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_115b": { - "fields": { - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_182e": { - "fields": { - "pRgb256x3x16": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pRaw": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pDxgi1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagTDB": { - "fields": { - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "TDB_Flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "pwti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "nPriority": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "ptdbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagCARET": { - "fields": { - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "iHideLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "hTimer": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "yOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "xOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "fVisible": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hBitmap": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cxOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cyOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "tid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "fOn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_LIGATURE1": { - "fields": { - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 4 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModificationNumber": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 6 + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" } - }, - "base_types": { - "unsigned char": { - "kind": "char", - "endian": "little", - "signed": false, - "size": 1 - }, - "float": { - "kind": "float", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "wchar": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "pointer": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - }, - "unsigned int": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "short": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned short": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 2 - }, - "long long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 8 - }, - "unsigned long long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - } - }, - "enums": { - "TextEnum": { - "base": "long", - "constants": { - "D3DKMDT_TRF_UNINITIALIZED": 0 - }, - "size": 4 - }, - "PreferenceEnum": { - "base": "long", - "constants": { - "D3DKMDT_MP_PREFERRED": 1, - "D3DKMDT_MP_MAXVALID": 2, - "D3DKMDT_MP_UNINITIALIZED": 0 - }, - "size": 4 - }, - "FileInformationClassEnum": { - "base": "long", - "constants": { - "FileInternalInformation": 6, - "FileQuotaInformation": 32, - "FileIoStatusBlockRangeInformation": 42, - "FilePipeLocalInformation": 24, - "FileStandardLinkInformation": 54, - "FileIdFullDirectoryInformation": 38, - "FileLinkInformation": 11, - "FileFullDirectoryInformation": 2, - "FileAllInformation": 18, - "FileSfioVolumeInformation": 45, - "FileStreamInformation": 22, - "FileRenameInformation": 10, - "FileValidDataLengthInformation": 39, - "FileAlternateNameInformation": 21, - "FileBasicInformation": 4, - "FilePositionInformation": 14, - "FileCompletionInformation": 30, - "FileAttributeCacheInformation": 52, - "FileReparsePointInformation": 33, - "FileMailslotSetInformation": 27, - "FileNetworkPhysicalNameInformation": 49, - "FileAllocationInformation": 19, - "FileIsRemoteDeviceInformation": 51, - "FileFullEaInformation": 15, - "FileProcessIdsUsingFileInformation": 47, - "FileDispositionInformation": 13, - "FileStandardInformation": 5, - "FileAccessInformation": 8, - "FileNumaNodeInformation": 53, - "FilePipeRemoteInformation": 25, - "FileIoPriorityHintInformation": 43, - "FileMailslotQueryInformation": 26, - "FileRemoteProtocolInformation": 55, - "FileNamesInformation": 12, - "FileHardLinkInformation": 46, - "FileEndOfFileInformation": 20, - "FileIdBothDirectoryInformation": 37, - "FileSfioReserveInformation": 44, - "FileIdGlobalTxDirectoryInformation": 50, - "FileNetworkOpenInformation": 34, - "FileObjectIdInformation": 29, - "FileMoveClusterInformation": 31, - "FileIoCompletionNotificationInformation": 41, - "FileNameInformation": 9, - "FileBothDirectoryInformation": 3, - "FileDirectoryInformation": 1, - "FileMaximumInformation": 56, - "FileNormalizedNameInformation": 48, - "FilePipeInformation": 23, - "FileCompressionInformation": 28, - "FileTrackingInformation": 36, - "FileEaInformation": 7, - "FileShortNameInformation": 40, - "FileModeInformation": 16, - "FileAlignmentInformation": 17, - "FileAttributeTagInformation": 35 - }, - "size": 4 - }, - "ModePruningAlgorithmEnum": { - "base": "long", - "constants": { - "DMM_MPA_MAXVALID": 3, - "DMM_MPA_GDI": 1, - "DMM_MPA_VISTA": 2, - "DMM_MPA_UNINITIALIZED": 0 - }, - "size": 4 - }, - "fmtEnum": { - "base": "unsigned long", - "constants": { - "CF_ENHMETAFILE": 14, - "CF_PENDATA": 10, - "CF_BITMAP": 2, - "CF_UNICODETEXT": 13, - "CF_HDROP": 15, - "CF_OEMTEXT": 7, - "CF_WAVE": 12, - "CF_DSPTEXT": 129, - "CF_DIBV5": 17, - "CF_TIFF": 6, - "CF_PALETTE": 9, - "CF_OWNERDISPLAY": 128, - "CF_DSPMETAFILEPICT": 131, - "CF_METAFILEPICT": 3, - "CF_RIFF": 11, - "CF_DSPENHMETAFILE": 142, - "CF_TEXT": 1, - "CF_LOCALE": 16, - "CF_SYLK": 4, - "CF_DSPBITMAP": 130, - "CF_DIB": 8, - "CF_DIF": 5 - }, - "size": 4 - }, - "MonitorPowerStateEnum": { - "base": "long", - "constants": { - "PowerDeviceUnspecified": 0, - "PowerDeviceD0": 1, - "PowerDeviceD1": 2, - "PowerDeviceD2": 3, - "PowerDeviceD3": 4, - "PowerDeviceMaximum": 5 - }, - "size": 4 - }, - "bTypeEnum": { - "base": "unsigned char", - "constants": { - "TYPE_DDEXACT": 11, - "TYPE_HOOK": 5, - "TYPE_FREE": 0, - "TYPE_MONITOR": 12, - "TYPE_GESTURE": 21, - "TYPE_DEVICEINFO": 19, - "TYPE_DDEACCESS": 9, - "TYPE_CALLPROC": 7, - "TYPE_CURSOR": 3, - "TYPE_KBDLAYOUT": 13, - "TYPE_WINEVENTHOOK": 15, - "TYPE_MENU": 2, - "TYPE_ACCELTABLE": 8, - "TYPE_TOUCH": 20, - "TYPE_SETWINDOWPOS": 4, - "TYPE_CLIPDATA": 6, - "TYPE_KBDFILE": 14, - "TYPE_DDECONV": 10, - "TYPE_HIDDATA": 18, - "TYPE_WINDOW": 1, - "TYPE_INPUTCONTEXT": 17, - "TYPE_TIMER": 16 - }, - "size": 1 - }, - "OriginEnum": { - "base": "long", - "constants": { - "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, - "D3DKMDT_MCO_UNINITIALIZED": 0, - "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, - "D3DKMDT_MCO_MAXVALID": 5, - "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, - "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 - }, - "size": 4 - }, - "CodePointTypeEnum": { - "base": "long", - "constants": { - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, - "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, - "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, - "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, - "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, - "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, - "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, - "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, - "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, - "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, - "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, - "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, - "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, - "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, - "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, - "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, - "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, - "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, - "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, - "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, - "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, - "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, - "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, - "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, - "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, - "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, - "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, - "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 - }, - "size": 4 - }, - "ConstraintTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MFRC_MAXPIXELRATE": 2, - "D3DKMDT_MFRC_ACTIVESIZE": 1, - "D3DKMDT_MFRC_UNINITIALIZED": 0 - }, - "size": 4 - }, - "VidPnTargetColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorTypeEnum": { - "base": "long", - "constants": { - "DMM_VMT_TEMPORARY_MONITOR": 4, - "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, - "DMM_VMT_PHYSICAL_MONITOR": 1, - "DMM_VMT_UNINITIALIZED": 0, - "DMM_VMT_SIMULATED_MONITOR": 5, - "DMM_VMT_PERSISTENT_MONITOR": 3 - }, - "size": 4 - }, - "PowerStateEnum": { - "base": "long", - "constants": { - "PowerSystemSleeping2": 3, - "PowerSystemSleeping1": 2, - "PowerSystemSleeping3": 4, - "PowerSystemUnspecified": 0, - "PowerSystemMaximum": 7, - "PowerSystemShutdown": 6, - "PowerSystemHibernate": 5, - "PowerSystemWorking": 1 - }, - "size": 4 - }, - "ShutdownTypeEnum": { - "base": "long", - "constants": { - "PowerActionNone": 0, - "PowerActionReserved": 1, - "PowerActionHibernate": 3, - "PowerActionShutdownOff": 6, - "PowerActionShutdown": 4, - "PowerActionSleep": 2, - "PowerActionShutdownReset": 5, - "PowerActionWarmEject": 7 - }, - "size": 4 - }, - "ScalingEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPS_CENTERED": 2, - "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, - "D3DKMDT_VPPS_STRETCHED": 3, - "D3DKMDT_VPPS_UNINITIALIZED": 0, - "D3DKMDT_VPPS_UNPINNED": 254, - "D3DKMDT_VPPS_IDENTITY": 1, - "D3DKMDT_VPPS_NOTSPECIFIED": 255, - "D3DKMDT_VPPS_CUSTOM": 5, - "D3DKMDT_VPPS_RESERVED1": 253 - }, - "size": 4 - }, - "CurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "StorageTypeEnum": { - "base": "long", - "constants": { - "SmStorageActual": 0, - "SmStorageNonActual": 1 - }, - "size": 4 - }, - "ScanLineOrderingEnum": { - "base": "long", - "constants": { - "D3DDDI_VSSLO_PROGRESSIVE": 1, - "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, - "D3DDDI_VSSLO_UNINITIALIZED": 0, - "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, - "D3DDDI_VSSLO_OTHER": 255 - }, - "size": 4 - }, - "PixelValueAccessModeEnum": { - "base": "long", - "constants": { - "D3DKMDT_PVAM_UNINITIALIZED": 0, - "D3DKMDT_PVAM_DIRECT": 1, - "D3DKMDT_PVAM_PRESETPALETTE": 2, - "D3DKMDT_PVAM_MAXVALID": 3 - }, - "size": 4 - }, - "PriorityPolicyEnum": { - "base": "long", - "constants": { - "IrqPriorityHigh": 3, - "IrqPriorityNormal": 2, - "IrqPriorityLow": 1, - "IrqPriorityUndefined": 0 - }, - "size": 4 - }, - "OrientationEnum": { - "base": "long", - "constants": { - "D3DKMDT_MO_90DEG": 2, - "D3DKMDT_MO_0DEG": 1, - "D3DKMDT_MO_270DEG": 4, - "D3DKMDT_MO_UNINITIALIZED": 0, - "D3DKMDT_MO_180DEG": 3 - }, - "size": 4 - }, - "ContentEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPC_NOTSPECIFIED": 255, - "D3DKMDT_VPPC_UNINITIALIZED": 0, - "D3DKMDT_VPPC_GRAPHICS": 1, - "D3DKMDT_VPPC_VIDEO": 2 - }, - "size": 4 - }, - "ColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MoveRectStyleEnum": { - "base": "long", - "constants": { - "MoveRectMidTopAtCursor": 1, - "MoveRectSidewiseKeepPositionAtCursor": 3, - "MoveRectKeepPositionAtCursor": 0, - "MoveRectKeepAspectRatioAtCursor": 2 - }, - "size": 4 - }, - "VideoStandardEnum": { - "base": "long", - "constants": { - "D3DKMDT_VSS_PAL_G": 11, - "D3DKMDT_VSS_PAL_D": 14, - "D3DKMDT_VSS_PAL_B": 9, - "D3DKMDT_VSS_SECAM_K": 21, - "D3DKMDT_VSS_VESA_GTF": 2, - "D3DKMDT_VSS_PAL_L": 30, - "D3DKMDT_VSS_PAL_M": 31, - "D3DKMDT_VSS_PAL_K": 28, - "D3DKMDT_VSS_PAL_H": 12, - "D3DKMDT_VSS_PAL_I": 13, - "D3DKMDT_VSS_SECAM_L1": 24, - "D3DKMDT_VSS_VESA_DMT": 1, - "D3DKMDT_VSS_SECAM_L": 23, - "D3DKMDT_VSS_EIA_861": 25, - "D3DKMDT_VSS_PAL_N": 15, - "D3DKMDT_VSS_APPLE": 5, - "D3DKMDT_VSS_NTSC_M": 6, - "D3DKMDT_VSS_SECAM_H": 20, - "D3DKMDT_VSS_NTSC_J": 7, - "D3DKMDT_VSS_SECAM_B": 17, - "D3DKMDT_VSS_SECAM_G": 19, - "D3DKMDT_VSS_SECAM_D": 18, - "D3DKMDT_VSS_IBM": 4, - "D3DKMDT_VSS_SECAM_K1": 22, - "D3DKMDT_VSS_PAL_NC": 16, - "D3DKMDT_VSS_PAL_B1": 10, - "D3DKMDT_VSS_EIA_861A": 26, - "D3DKMDT_VSS_EIA_861B": 27, - "D3DKMDT_VSS_UNINITIALIZED": 0, - "D3DKMDT_VSS_OTHER": 255, - "D3DKMDT_VSS_PAL_K1": 29, - "D3DKMDT_VSS_VESA_CVT": 3, - "D3DKMDT_VSS_NTSC_443": 8 - }, - "size": 4 - }, - "ImportanceOrdinalEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPI_QUATERNARY": 4, - "D3DKMDT_VPPI_SECONDARY": 2, - "D3DKMDT_VPPI_PRIMARY": 1, - "D3DKMDT_VPPI_QUINARY": 5, - "D3DKMDT_VPPI_DENARY": 10, - "D3DKMDT_VPPI_SENARY": 6, - "D3DKMDT_VPPI_TERTIARY": 3, - "D3DKMDT_VPPI_SEPTENARY": 7, - "D3DKMDT_VPPI_NONARY": 9, - "D3DKMDT_VPPI_UNINITIALIZED": 0, - "D3DKMDT_VPPI_OCTONARY": 8, - "D3DKMDT_VPPI_MAX": 32, - "D3DKMDT_VPPI_NOTSPECIFIED": 255 - }, - "size": 4 - }, - "RangeTypeEnum": { - "base": "long", - "constants": { - "SmRangeBool": 2, - "SmRangeNonSharedInfo": 1, - "SmRangeSharedInfo": 0 - }, - "size": 4 - }, - "TimingTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MTT_EXTRASTANDARD": 3, - "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, - "D3DKMDT_MTT_STANDARD": 2, - "D3DKMDT_MTT_UNINITIALIZED": 0, - "D3DKMDT_MTT_MAXVALID": 6, - "D3DKMDT_MTT_DETAILED": 4, - "D3DKMDT_MTT_ESTABLISHED": 1 - }, - "size": 4 - }, - "PixelFormatEnum": { - "base": "long", - "constants": { - "D3DDDIFMT_W11V11U10": 65, - "D3DDDIFMT_A16B16G16R16F": 113, - "D3DDDIFMT_A8R8G8B8": 21, - "D3DDDIFMT_D32_LOCKABLE": 84, - "D3DDDIFMT_L8": 50, - "D3DDDIFMT_DXVA_RESERVED27": 177, - "D3DDDIFMT_DXVA_RESERVED26": 176, - "D3DDDIFMT_DXVA_RESERVED25": 175, - "D3DDDIFMT_DXVA_RESERVED24": 174, - "D3DDDIFMT_DXVA_RESERVED23": 173, - "D3DDDIFMT_DXVA_RESERVED22": 172, - "D3DDDIFMT_DXVA_RESERVED21": 171, - "D3DDDIFMT_DXVA_RESERVED20": 170, - "D3DDDIFMT_DXVA_RESERVED29": 179, - "D3DDDIFMT_DXVA_RESERVED28": 178, - "D3DDDIFMT_R3G3B2": 27, - "D3DDDIFMT_A8R3G3B2": 29, - "D3DDDIFMT_INDEX16": 101, - "D3DDDIFMT_X4R4G4B4": 30, - "D3DDDIFMT_A4R4G4B4": 26, - "D3DDDIFMT_Q8W8V8U8": 63, - "D3DDDIFMT_FORCE_UINT": 2147483647, - "D3DDDIFMT_S1D15": 72, - "D3DDDIFMT_A16B16G16R16": 36, - "D3DDDIFMT_A8L8": 51, - "D3DDDIFMT_D24X4S4": 79, - "D3DDDIFMT_BINARYBUFFER": 199, - "D3DDDIFMT_DXVA_RESERVED30": 180, - "D3DDDIFMT_R32F": 114, - "D3DDDIFMT_VERTEXDATA": 100, - "D3DDDIFMT_R5G6B5": 23, - "D3DDDIFMT_R8G8_B8G8": 1195525970, - "D3DDDIFMT_A4L4": 52, - "D3DDDIFMT_A1R5G5B5": 25, - "D3DDDIFMT_X1R5G5B5": 24, - "D3DDDIFMT_D32": 71, - "D3DDDIFMT_G8R8_G8B8": 1111970375, - "D3DDDIFMT_A2B10G10R10": 31, - "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, - "D3DDDIFMT_MULTI2_ARGB8": 827606349, - "D3DDDIFMT_D16_LOCKABLE": 70, - "D3DDDIFMT_BITSTREAMDATA": 156, - "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, - "D3DDDIFMT_X8B8G8R8": 33, - "D3DDDIFMT_R8G8B8": 20, - "D3DDDIFMT_S8_LOCKABLE": 85, - "D3DDDIFMT_D24S8": 75, - "D3DDDIFMT_X8D24": 76, - "D3DDDIFMT_A2R10G10B10": 35, - "D3DDDIFMT_P8": 41, - "D3DDDIFMT_L6V5U5": 61, - "D3DDDIFMT_X8R8G8B8": 22, - "D3DDDIFMT_D16": 80, - "D3DDDIFMT_A2W10V10U10": 67, - "D3DDDIFMT_D24FS8": 83, - "D3DDDIFMT_MOTIONVECTORBUFFER": 157, - "D3DDDIFMT_L16": 81, - "D3DDDIFMT_X8L8V8U8": 62, - "D3DDDIFMT_A32B32G32R32F": 116, - "D3DDDIFMT_A8P8": 40, - "D3DDDIFMT_YUY2": 844715353, - "D3DDDIFMT_R16F": 111, - "D3DDDIFMT_G16R16": 34, - "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, - "D3DDDIFMT_Q16W16V16U16": 110, - "D3DDDIFMT_S8D24": 74, - "D3DDDIFMT_PICTUREPARAMSDATA": 150, - "D3DDDIFMT_A1": 118, - "D3DDDIFMT_FILMGRAINBUFFER": 158, - "D3DDDIFMT_A8": 28, - "D3DDDIFMT_UNKNOWN": 0, - "D3DDDIFMT_DXVA_RESERVED19": 169, - "D3DDDIFMT_D32F_LOCKABLE": 82, - "D3DDDIFMT_MACROBLOCKDATA": 151, - "D3DDDIFMT_A8B8G8R8": 32, - "D3DDDIFMT_UYVY": 1498831189, - "D3DDDIFMT_DXT1": 827611204, - "D3DDDIFMT_DEBLOCKINGDATA": 153, - "D3DDDIFMT_DXT3": 861165636, - "D3DDDIFMT_DXT4": 877942852, - "D3DDDIFMT_DXT5": 894720068, - "D3DDDIFMT_CxV8U8": 117, - "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, - "D3DDDIFMT_DXVA_RESERVED9": 159, - "D3DDDIFMT_DXT2": 844388420, - "D3DDDIFMT_G32R32F": 115, - "D3DDDIFMT_X4S4D24": 78, - "D3DDDIFMT_D24X8": 77, - "D3DDDIFMT_DXVA_RESERVED12": 162, - "D3DDDIFMT_DXVA_RESERVED13": 163, - "D3DDDIFMT_DXVA_RESERVED10": 160, - "D3DDDIFMT_DXVA_RESERVED11": 161, - "D3DDDIFMT_DXVA_RESERVED16": 166, - "D3DDDIFMT_DXVA_RESERVED17": 167, - "D3DDDIFMT_DXVA_RESERVED14": 164, - "D3DDDIFMT_DXVA_RESERVED15": 165, - "D3DDDIFMT_DXVA_RESERVED18": 168, - "D3DDDIFMT_D15S1": 73, - "D3DDDIFMT_V16U16": 64, - "D3DDDIFMT_SLICECONTROLDATA": 155, - "D3DDDIFMT_G16R16F": 112, - "D3DDDIFMT_INDEX32": 102, - "D3DDDIFMT_V8U8": 60 - }, - "size": 4 - }, - "IdTypeEnum": { - "base": "long", - "constants": { - "BusQueryCompatibleIDs": 2, - "BusQueryInstanceID": 3, - "BusQueryDeviceID": 0, - "BusQueryDeviceSerialNumber": 4, - "BusQueryHardwareIDs": 1, - "BusQueryContainerID": 5 - }, - "size": 4 - }, - "StartCurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "TypeEnum": { - "base": "long", - "constants": { - "DevicePowerState": 1, - "SystemPowerState": 0 - }, - "size": 4 - }, - "RotationEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPR_IDENTITY": 1, - "D3DKMDT_VPPR_NOTSPECIFIED": 255, - "D3DKMDT_VPPR_UNPINNED": 254, - "D3DKMDT_VPPR_ROTATE270": 4, - "D3DKMDT_VPPR_ROTATE90": 2, - "D3DKMDT_VPPR_ROTATE180": 3, - "D3DKMDT_VPPR_UNINITIALIZED": 0 - }, - "size": 4 - }, - "CopyProtectionTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPMT_NOTSPECIFIED": 255, - "D3DKMDT_VPPMT_UNINITIALIZED": 0, - "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, - "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, - "D3DKMDT_VPPMT_NOPROTECTION": 1 - }, - "size": 4 - }, - "FsInformationClassEnum": { - "base": "long", - "constants": { - "FileFsFullSizeInformation": 7, - "FileFsAttributeInformation": 5, - "FileFsVolumeFlagsInformation": 10, - "FileFsVolumeInformation": 1, - "FileFsSizeInformation": 3, - "FileFsLabelInformation": 2, - "FileFsDeviceInformation": 4, - "FileFsControlInformation": 6, - "FileFsDriverPathInformation": 9, - "FileFsMaximumInformation": 11, - "FileFsObjectIdInformation": 8 - }, - "size": 4 - }, - "DeviceTextTypeEnum": { - "base": "long", - "constants": { - "DeviceTextLocationInformation": 1, - "DeviceTextDescription": 0 - }, - "size": 4 - } - }, - "metadata": { - "producer": { - "version": "0.0.1", - "name": "dgmcdona-via-conversion-script", - "datetime": "2024-09-03T18:22:52Z" - }, - "format": "4.0.0" - } } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json index 67fb6c531..1ff5fdcd9 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json @@ -1,18787 +1,18787 @@ { - "symbols": {}, - "user_types": { - "HWINSTA__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 880 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 712 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 464 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 784 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 32 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1153": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 59 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 9 - }, - "offset": 0 - }, - "Region": { - "type": { - "bit_position": 61, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 39 - }, - "offset": 0 + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1960": { - "fields": { - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 } - }, - "kind": "struct", - "size": 24 - }, - "tagCLIENTTHREADINFO": { - "fields": { - "fsWakeMask": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "CTIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fsWakeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - }, - "fsWakeBitsJournal": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "fsChangeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4 - }, - "tickLastMsgChecked": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "tagKbdNlsLayer": { - "fields": { - "OEMIdentifier": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "NumOfVkToF": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pusMouseVKey": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "NumOfMouseVKey": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pVkToF": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_FUNCTION_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "LayoutInformation": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1158": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 2 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HBITMAP__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_124b": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1 - }, - "InPath": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_TL": { - "fields": { - "pfnFree": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pobj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagTOUCHINPUTINFO": { - "fields": { - "dwcInputs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "TouchInput": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagTOUCHINPUT" - }, - "kind": "array" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 80 - }, - "tagTHREADINFO": { - "fields": { - "ForceLegacyResizeNCMetr": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptl": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 336 - }, - "timeLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 448 - }, - "DontJournalAttach": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fPack": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 26 - }, - "offset": 928 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 516 - }, - "psmsSent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 424 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 656 - }, - "DefaultCharset": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 512 - }, - "psmsReceiveList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "sphkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 560 - }, - "No50ExStyles": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "IgnoreFaults": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pClientInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "DDENoAsyncReg": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DealyHwndShakeChk": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "amdesk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 720 - }, - "fsChangeBitsRemoved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 704 - }, - "psmsCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 432 - }, - "NoInitFlagsOnFocus": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "StrictLLHook": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "NoShadow": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EnumHelv": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoBatching": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 880 - }, - "Winver31": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Win30AvgWidth": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "AlwaysSendSyncPaint": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "IgnoreNoDiscard": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cPaintsReady": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 480 - }, - "SubtractClips": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "apEvent": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 712 - }, - "cEnterCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 672 - }, - "OpenGLEMF": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "fThreadCleanupFinished": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "idLast": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 456 - }, - "spklActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 360 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "NoEMFSpooling": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptdb": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "SpareCompatFlags2": { - "type": { - "bit_position": 33, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 31 - }, - "offset": 520 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "mlPost": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 680 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "NoCustomPaperSize": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cTimersReady": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 484 - }, - "NoScrollBarCtxMenu": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hPrevHidData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 880 - }, - "NoPaddedBorder": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "DpiAware": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "MultipleBands": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "AnimationOff": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "No50ExStyleBits": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulThreadFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 928 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 472 - }, - "MoreExtraWndWords": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoGhost": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoHRGN1": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 628 - }, - "GiveUpForegound": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "spDefaultImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 656 - }, - "pmsd": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MOVESIZEDATA" - }, - "kind": "pointer" - }, - "offset": 544 - }, - "HardwareMixer": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 904 - }, - "EnumTTNotDevice": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fSpecialInitialization": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ForceFusion": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cti": { - "type": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "offset": 864 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pstrAppName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "SendMnuDblClk": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DDENoSync": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EditNoMouseHide": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptLastReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 636 - }, - "hTouchInputCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HTOUCHINPUT__" - }, - "kind": "pointer" - }, - "offset": 888 - }, - "pEventQueueServer": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "cNestedStableVisRgn": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "NoDrawPatRect": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTTGrapchis": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "GetDeviceCaps": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fsReserveKeys": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 708 - }, - "pq": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 352 - }, - "NoSoftCursOnMoveSize": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hEventQueueClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 592 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "DDE": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "exitCode": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 464 - }, - "wchInjected": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 706 - }, - "CallTTDevice": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DisableDBCSProp": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsShellDlg": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TransparentBltMirror": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "PtiLink": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 712 - }, - "HackWinFlags": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cVisWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 728 - }, - "NcCalcSizeOnMove": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "KCOff": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "readyHead": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 912 - }, - "UsePrintingEscape": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hGestureInfoCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HGESTUREINFO__" - }, - "kind": "pointer" - }, - "offset": 896 - }, - "ForceTextBand": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 724 - }, - "fETWReserved": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 928 - }, - "pMenuState": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 488 - }, - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "TIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 464 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "Win31DevModeSize": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSBTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBTRACK" - }, - "kind": "pointer" - }, - "offset": 584 - }, - "spwndDefaultIme": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 648 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 520 - }, - "EditSetTextMunge": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Random31Ux": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fgfSwitchInProgressSetter": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 392 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "NoTimeCbProtect": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DisableFontAssoc": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pcti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "NoCharDeadKey": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TTIgnoreRasterDupe": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "lParamHkCurrent": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 568 - }, - "qwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 520 - }, - "wParamHkCurrent": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 576 - }, - "NoWindowArrangement": { - "type": { - "bit_position": 32, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ActiveMenus": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "pqAttach": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 528 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "psiiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 504 - }, - "IgnoreTopMost": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "TryExceptCallWndProc": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoDDETrackDying": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "FontSubs": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "SmoothScrolling": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 624 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "ptiSibling": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 536 - }, - "hklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "IncreaseStack": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - } - }, - "kind": "struct", - "size": 936 - }, - "__unnamed_11ff": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "EaLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FileAttributes": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_CALLPROCDATA": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "pfnClientPrevious": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "wType": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "spcpdNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH": { - "fields": { - "VidPnTargetColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 48 - }, - "VidPnTargetColorBasis": { - "type": { - "kind": "enum", - "name": "VidPnTargetColorBasisEnum" - }, - "offset": 44 - }, - "ContentTransformation": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" - }, - "offset": 12 - }, - "GammaRamp": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GAMMA_RAMP" - }, - "offset": 336 - }, - "CopyProtection": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" - }, - "offset": 68 - }, - "VidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Content": { - "type": { - "kind": "enum", - "name": "ContentEnum" - }, - "offset": 64 - }, - "VisibleFromActiveTLOffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 28 - }, - "VidPnTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "VisibleFromActiveBROffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 36 - }, - "ImportanceOrdinal": { - "type": { - "kind": "enum", - "name": "ImportanceOrdinalEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 360 - }, - "__unnamed_1253": { - "fields": { - "PowerSequence": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_POWER_SEQUENCE" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESS_HID_TABLE": { - "fields": { - "fExclusiveMouseSink": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fCaptureMouse": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyMouse": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboard": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "spwndTargetMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndTargetKbd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "UsageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 98 - }, - "UsagePageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 96 - }, - "fRawMouse": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawMouseSink": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "inclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "nSinks": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "UsagePageList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 32 - }, - "ExclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - }, - "InclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "fRawKeyboardSink": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fAppKeys": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoHotKeys": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "fNoLegacyKeyboard": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "request": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fExclusiveKeyboardSink": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "pLastRequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1809": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "MessageCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHOOK": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "iHook": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "phkNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "offPfn": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "fLastHookHung": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 88 - }, - "nTimeout": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 7 - }, - "offset": 88 - }, - "ihmod": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "ptiHooked": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 80 - } - }, - "kind": "struct", - "size": 96 - }, - "_THROBJHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagPROCESS_HID_REQUEST": { - "fields": { - "fSinkable": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "pTLCInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_TLC_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDevNotify": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "fExSinkable": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 18 - }, - "fExclusiveOrphaned": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "next_request": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "pPORequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_PAGEONLY_REQUEST" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 16 - }, - "ptr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "spwndTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 40 - }, - "_KFLOATING_SAVE": { - "fields": { - "Dummy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { - "fields": { - "Rotate270": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate90": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate180": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMLIST": { - "fields": { - "cMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pqmsgRead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pqmsgWriteLast": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_CONSOLE_CARET_INFO": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1807": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - }, - "Level": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "DEADKEY": { - "fields": { - "wchComposed": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 4 - }, - "dwBoth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESSINFO": { - "fields": { - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "fHasMagContext": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 736 - }, - "hwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWINSTA__" - }, - "kind": "pointer" - }, - "offset": 608 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ptiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 256 - }, - "pHidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 744 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "pclsPublicList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 288 - }, - "dwhmodLibLoadedMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 340 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "hdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 328 - }, - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "dwImeCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 696 - }, - "hMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HMONITOR__" - }, - "kind": "pointer" - }, - "offset": 624 - }, - "ptiMainThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "pvwplWndGCList": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 760 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "usi": { - "type": { - "kind": "struct", - "name": "tagUSERSTARTUPINFO" - }, - "offset": 708 - }, - "luidSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 700 - }, - "Unused": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 736 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pW32Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 688 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwRegisteredClasses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 752 - }, - "bmHandleFlags": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_BITMAP" - }, - "offset": 648 - }, - "pclsPrivateList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "amwinsta": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 616 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ppiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 736 - }, - "dwHotkey": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 620 - }, - "cSysExpunge": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "rpdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pdvList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 632 - }, - "hidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 784 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 320 - }, - "pwpi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "ppiNextRunning": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "dwLayout": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 740 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rpwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "pCursorCache": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "pClientBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 672 - }, - "ahmodLibLoaded": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 384 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 640 - }, - "dwLpkEntryPoints": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 680 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 768 - }, - "HBRUSH__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLIP": { - "fields": { - "fmt": { - "type": { - "kind": "enum", - "name": "fmtEnum" - }, - "offset": 0 - }, - "fGlobalHandle": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagUAHMENUPOPUPMETRICS": { - "fields": { - "rgcx": { - "type": { - "count": 4, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 0 - }, - "fUpdateMaxWidths": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 20 - }, - "tagSMS": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 72 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 80 - }, - "lpResultCallBack": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lRet": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 56 - }, - "psmsReceiveNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "tSent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "pvCapture": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "psmsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptiReceiver": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ptiCallBackSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "dwData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 112 - }, - "__unnamed_195e": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_195c": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_W32THREAD": { - "fields": { - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 336 - }, - "_VK_TO_WCHAR_TABLE": { - "fields": { - "pVkToWchars": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHARS1" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cbSize": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - }, - "nModifications": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPROPLIST": { - "fields": { - "aprop": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagPROP" - }, - "kind": "array" - }, - "offset": 8 - }, - "iFirstFree": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cEntries": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_D3DKMDT_FREQUENCY_RANGE": { - "fields": { - "MinVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 0 - }, - "MaxVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 8 - }, - "MaxHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 24 - }, - "MinHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_11f8": { - "fields": { - "Apc": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KAPC" - }, - "offset": 0 - }, - "CompletionKey": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Overlay": { - "type": { - "kind": "struct", - "name": "__unnamed_11f5" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_18bf": { - "fields": { - "BaseMiddle": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "Flags1": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "Flags2": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "tagPROFILEVALUEINFO": { - "fields": { - "dwValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uSection": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pwszKeyName": { - "type": { - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_11f5": { - "fields": { - "Thread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "DeviceQueueEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" - }, - "offset": 0 - }, - "CurrentStackLocation": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_STACK_LOCATION" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "DriverContext": { - "type": { - "count": 4, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 0 - }, - "AuxiliaryBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "OriginalFileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "PacketType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 80 - }, - "__unnamed_125f": { - "fields": { - "AllocatedResources": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "AllocatedResourcesTranslated": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "D3DDDI_DXGI_RGB": { - "fields": { - "Blue": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "Green": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "Red": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1219": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FsControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_125b": { - "fields": { - "State": { - "type": { - "kind": "struct", - "name": "nt_symbols!_POWER_STATE" - }, - "offset": 16 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "SystemContext": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ShutdownType": { - "type": { - "kind": "enum", - "name": "ShutdownTypeEnum" - }, - "offset": 24 - }, - "SystemPowerStateContext": { - "type": { - "kind": "struct", - "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "HDC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagDISPLAYINFO": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "SpatialListHead": { - "type": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "offset": 144 - }, - "BitCountMax": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 130 - }, - "cyGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "hdcBits": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDesktopIsRect": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "hbmGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pmdev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "cFullScreen": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 160 - }, - "cxGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 128 - }, - "hDevInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fAnyPalette": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "pspbFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pMonitorPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 162 - }, - "pMonitorFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "hdcGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hrgnScreenReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cMonitors": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "hdcScreen": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "DockThresholdMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "pdceFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 168 - }, - "tagWin32AllocStats": { - "fields": { - "dwMaxAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwMaxMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwCrtAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwCrtMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18c5": { - "fields": { - "DefaultBig": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "BaseMiddle": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "LimitHigh": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 0 - }, - "System": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Granularity": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Dpl": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 0 - }, - "Type": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "Present": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "LongMode": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1261": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ProviderId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "BufferSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DataPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1263": { - "fields": { - "Argument4": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Argument2": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Argument3": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "Argument1": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1265": { - "fields": { - "DeviceIoControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121d" - }, - "offset": 0 - }, - "ReadWriteConfig": { - "type": { - "kind": "struct", - "name": "__unnamed_123d" - }, - "offset": 0 - }, - "Create": { - "type": { - "kind": "struct", - "name": "__unnamed_11ff" - }, - "offset": 0 - }, - "Write": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "PowerSequence": { - "type": { - "kind": "struct", - "name": "__unnamed_1253" - }, - "offset": 0 - }, - "QueryId": { - "type": { - "kind": "struct", - "name": "__unnamed_1243" - }, - "offset": 0 - }, - "SetFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1213" - }, - "offset": 0 - }, - "CreatePipe": { - "type": { - "kind": "struct", - "name": "__unnamed_1203" - }, - "offset": 0 - }, - "Power": { - "type": { - "kind": "struct", - "name": "__unnamed_125b" - }, - "offset": 0 - }, - "Read": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "StartDevice": { - "type": { - "kind": "struct", - "name": "__unnamed_125f" - }, - "offset": 0 - }, - "QueryDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120d" - }, - "offset": 0 - }, - "LockControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121b" - }, - "offset": 0 - }, - "QueryInterface": { - "type": { - "kind": "struct", - "name": "__unnamed_1233" - }, - "offset": 0 - }, - "Others": { - "type": { - "kind": "struct", - "name": "__unnamed_1263" - }, - "offset": 0 - }, - "FileSystemControl": { - "type": { - "kind": "struct", - "name": "__unnamed_1219" - }, - "offset": 0 - }, - "SetLock": { - "type": { - "kind": "struct", - "name": "__unnamed_123f" - }, - "offset": 0 - }, - "QueryDeviceText": { - "type": { - "kind": "struct", - "name": "__unnamed_1247" - }, - "offset": 0 - }, - "WMI": { - "type": { - "kind": "struct", - "name": "__unnamed_1261" - }, - "offset": 0 - }, - "CreateMailslot": { - "type": { - "kind": "struct", - "name": "__unnamed_1207" - }, - "offset": 0 - }, - "FilterResourceRequirements": { - "type": { - "kind": "struct", - "name": "__unnamed_123b" - }, - "offset": 0 - }, - "MountVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QueryVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1217" - }, - "offset": 0 - }, - "UsageNotification": { - "type": { - "kind": "struct", - "name": "__unnamed_124b" - }, - "offset": 0 - }, - "Scsi": { - "type": { - "kind": "struct", - "name": "__unnamed_1229" - }, - "offset": 0 - }, - "WaitWake": { - "type": { - "kind": "struct", - "name": "__unnamed_124f" - }, - "offset": 0 - }, - "QueryFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1211" - }, - "offset": 0 - }, - "VerifyVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QuerySecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_121f" - }, - "offset": 0 - }, - "QueryDeviceRelations": { - "type": { - "kind": "struct", - "name": "__unnamed_122d" - }, - "offset": 0 - }, - "NotifyDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120f" - }, - "offset": 0 - }, - "SetSecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_1221" - }, - "offset": 0 - }, - "DeviceCapabilities": { - "type": { - "kind": "struct", - "name": "__unnamed_1237" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1817": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1815": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "tagKbdLayer": { - "fields": { - "pVkToWcharTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHAR_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fLocaleFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "pCharModifiers": { - "type": { - "subtype": { - "kind": "struct", - "name": "MODIFIERS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pKeyNamesExt": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pDeadKey": { - "type": { - "subtype": { - "kind": "struct", - "name": "DEADKEY" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pusVSCtoVK": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pKeyNamesDead": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pLigature": { - "type": { - "subtype": { - "kind": "struct", - "name": "_LIGATURE1" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "cbLgEntry": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 85 - }, - "pKeyNames": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "dwSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "nLgMax": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 84 - }, - "pVSCtoVK_E1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pVSCtoVK_E0": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bMaxVSCtoVK": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1813": { - "fields": { - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { - "fields": { - "Centered": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "AspectRatioCenteredMax": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Stretched": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Custom": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1958": { - "fields": { - "MinBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "MaxBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_2DREGION": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "HRGN__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1954": { - "fields": { - "AffinityPolicy": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "PriorityPolicy": { - "type": { - "kind": "enum", - "name": "PriorityPolicyEnum" - }, - "offset": 12 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "MaximumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "TargetedProcessors": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "MinimumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_PROCMARKHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagSIZE": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagDESKTOPVIEW": { - "fields": { - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "pdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pdvNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1819": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { - "fields": { - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "PathAndTargetModeSetOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBTRACK": { - "fields": { - "spwndSBNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTimerSB": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "cmdSB": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "xxxpfnSB": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fTrackVert": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posNew": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 84 - }, - "posOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fCtlSB": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "rcTrack": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 32 - }, - "fTrackRecalc": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndSB": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "pxOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fHitOld": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "pSBCalc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBCALC" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "nBar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_16c1": { - "fields": { - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "MaxPixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_DMA_ADAPTER": { - "fields": { - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "DmaOperations": { - "type": { - "subtype": { - "kind": "struct", - "name": "_DMA_OPERATIONS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMONITOR": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "rcMonitorReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 28 - }, - "pMonitorNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hDevReal": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "hrgnMonitorReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "rcWorkReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 44 - }, - "dwMONFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cWndStack": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 74 - }, - "DockTargets": { - "type": { - "count": 7, - "subtype": { - "count": 4, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "kind": "array" - }, - "offset": 96 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 144 - }, - "__unnamed_180b": { - "fields": { - "Translated": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Raw": { - "type": { - "kind": "struct", - "name": "__unnamed_1809" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagRECT": { - "fields": { - "top": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "right": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "bottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "left": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_180d": { - "fields": { - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Port": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Channel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "MODIFIERS": { - "fields": { - "wMaxModBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "pVkToBit": { - "type": { - "subtype": { - "kind": "struct", - "name": "VK_TO_BIT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ModNumber": { - "type": { - "count": 0, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 10 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120f": { - "fields": { - "CompletionFilter": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120d": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 16 - }, - "FileName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { - "fields": { - "PathAndTargetModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 48 - }, - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 40 - }, - "SourceMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_SOURCE_MODE" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 480 - }, - "tagMSG": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 24 - }, - "pt": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 36 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "time": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "tagDPISERVERINFO": { - "fields": { - "hMsgFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hCaptionFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "gclBorder": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cxMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "wMaxBtnSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "cyMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { - "fields": { - "Blue": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 1024 - }, - "Green": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 512 - }, - "Red": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1536 - }, - "__unnamed_124f": { - "fields": { - "PowerState": { - "type": { - "kind": "enum", - "name": "PowerStateEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagWOWPROCESSINFO": { - "fields": { - "ptdbHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ptiScheduled": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "nRecvLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CSLockCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "nSendLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pEventWowExec": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lpfnWowExitTask": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "CSOwningThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "hEventWowExecClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwpiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "HTOUCHINPUT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMENU": { - "fields": { - "iItem": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "umpm": { - "type": { - "kind": "struct", - "name": "tagUAHMENUPOPUPMETRICS" - }, - "offset": 132 - }, - "cItems": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pParentMenus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "fFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "cxMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwContextHelpId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "cxTextAlign": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "cAlloced": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "hbrBack": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwArrowsOn": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 128 - }, - "iMaxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 124 - }, - "dwMenuData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "cyMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "rgItems": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagITEM" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "cyMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "_D3DDDI_GAMMA_RAMP_DXGI_1": { - "fields": { - "GammaCurve": { - "type": { - "count": 1025, - "subtype": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "kind": "array" - }, - "offset": 24 - }, - "Scale": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 0 - }, - "Offset": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 12324 - }, - "_MOVESIZEDATA": { - "fields": { - "fmsKbd": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "pStartMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "impy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 152 - }, - "fMoveFromMax": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapMoving": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "frcNormalCheckPtValid": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptMaxTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 96 - }, - "ptRestore": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 156 - }, - "fUsePreviewRect": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForceSizing": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fThresholdSelector": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 164 - }, - "ptStartHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 208 - }, - "fDragFullWindows": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForeground": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "dyMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 140 - }, - "fHasSoftwareCursor": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsHitPtOffScreen": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapSizingTemporaryAllowed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fCheckPtForcefullyRestored": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedRight": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ulCountDragOutOfLeftRightTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 228 - }, - "Unused": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 164 - }, - "dxMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 136 - }, - "fStartVerticallyMaximizedRight": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcParent": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 72 - }, - "fOffScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fWindowWasSuperMaximized": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedLeft": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "StartCurrentHitTarget": { - "type": { - "kind": "enum", - "name": "StartCurrentHitTargetEnum" - }, - "offset": 176 - }, - "fHasPreviewRect": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fLockWindowUpdate": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcPreview": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 40 - }, - "fSnapSizing": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsMoveSizeLoop": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fInitSize": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcDragCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "ulCountDragOutOfTopTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 224 - }, - "rcPreviewCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 56 - }, - "CurrentHitTarget": { - "type": { - "kind": "enum", - "name": "CurrentHitTargetEnum" - }, - "offset": 192 - }, - "fSnapMovingTemporaryAllowed": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fTrackCancelled": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 200 - }, - "ptLastTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 216 - }, - "cmd": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 144 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 164 - }, - "MoveRectStyle": { - "type": { - "kind": "enum", - "name": "MoveRectStyleEnum" - }, - "offset": 196 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "ulCountSizeOutOfTopBottomTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 232 - }, - "fStartVerticallyMaximizedLeft": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcNormalStartCheckPt": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 120 - }, - "ptMinTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 88 - }, - "rcDrag": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - }, - "pMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "impx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 148 - } - }, - "kind": "struct", - "size": 240 - }, - "_D3DDDI_RATIONAL": { - "fields": { - "Denominator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Numerator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "VWPL": { - "fields": { - "cElem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "aElement": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "VWPLELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "fTagged": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cThreshhold": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cPwnd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagTEXTMETRICW": { - "fields": { - "tmOverhang": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "tmPitchAndFamily": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 55 - }, - "tmStruckOut": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 54 - }, - "tmCharSet": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - }, - "tmDigitizedAspectX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "tmDigitizedAspectY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "tmFirstChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 44 - }, - "tmWeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "tmDescent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "tmDefaultChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 48 - }, - "tmLastChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 46 - }, - "tmMaxCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "tmItalic": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 52 - }, - "tmUnderlined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 53 - }, - "tmInternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "tmAscent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "tmHeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "tmAveCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "tmBreakChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 50 - }, - "tmExternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 60 - }, - "_SCATTER_GATHER_LIST": { - "fields": { - "Elements": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "_SCATTER_GATHER_ELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "NumberOfElements": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "HICON__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_HANDLEENTRY": { - "fields": { - "pOwner": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "bType": { - "type": { - "kind": "enum", - "name": "bTypeEnum" - }, - "offset": 16 - }, - "bFlags": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 17 - }, - "phead": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HEAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "wUniq": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - } - }, - "kind": "struct", - "size": 24 - }, - "_THRDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagSVR_INSTANCE_INFO": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nextInThisThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spwndEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "afCmd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pcii": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 80 - }, - "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { - "fields": { - "RequestDiagInfo": { - "type": { - "kind": "struct", - "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" - }, - "offset": 4 - }, - "AffectedVidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "VidPnSerialization": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPN_SERIALIZATION" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 28 - }, - "tagPOPUPMENU": { - "fields": { - "fDroppedLeft": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fIsSysMenu": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posDropped": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fIsMenuBar": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHierarchyDropped": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDropNextPopup": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fRightButton": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ppopupmenuRoot": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fFirstClick": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fRtoL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSendUninit": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fAboutToHide": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNextPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fFlushDelayedFree": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHasMenuBar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fTrackMouseEvent": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fNoNotify": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posSelectedItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fUseMonitorRect": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndPrevPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ppmDelayedFree": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "fFreed": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSynchronous": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenuAlternate": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fDestroyed": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "iDropDir": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "fIsTrackPopup": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndActivePopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "fInCancel": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fToggle": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDelayedFree": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHideTimer": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fShowTimer": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "_D3DKMDT_MONITOR_SOURCE_MODE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 84 - }, - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "ColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 68 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 88 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 96 - }, - "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 8 - }, - "Data": { - "type": { - "count": 128, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 12 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 140 - }, - "__unnamed_127c": { - "fields": { - "Wcb": { - "type": { - "kind": "struct", - "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" - }, - "offset": 0 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_D3DMATRIX": { - "fields": { - "_41": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 48 - }, - "_42": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 52 - }, - "_43": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 56 - }, - "_44": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 60 - }, - "_34": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 44 - }, - "_14": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 12 - }, - "_13": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "_12": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "_11": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - }, - "_24": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 28 - }, - "_31": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 32 - }, - "_33": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 40 - }, - "_32": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 36 - }, - "_22": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 20 - }, - "_23": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 24 - }, - "_21": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 64 - }, - "_LARGE_UNICODE_STRING": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumLength": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 4 - }, - "bAnsi": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "_VK_VALUES_STRINGS": { - "fields": { - "fReserved": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "pszMultiNames": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHID_TLC_INFO": { - "fields": { - "cExcludeOrphaned": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - }, - "cDevices": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "cExcludeRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cUsagePageRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "cDirectRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { - "fields": { - "Info": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_SOURCE_MODE" - }, - "offset": 0 - }, - "TimingType": { - "type": { - "kind": "enum", - "name": "TimingTypeEnum" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 104 - }, - "tagCURSOR": { - "fields": { - "rt": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 58 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCMARKHEAD" - }, - "offset": 0 - }, - "hbmUserAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "xHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 68 - }, - "hbmColor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pcurNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "CURSORF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hbmMask": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bpp": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 120 - }, - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 128 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "rcBounds": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 96 - }, - "atomModName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "hbmAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "yHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 70 - }, - "strName": { - "type": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 136 - }, - "_D3DKMDT_GAMMA_RAMP": { - "fields": { - "Data": { - "type": { - "kind": "struct", - "name": "__unnamed_182e" - }, - "offset": 16 - }, - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "HWND__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1207": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18a1": { - "fields": { - "Text": { - "type": { - "kind": "enum", - "name": "TextEnum" - }, - "offset": 0 - }, - "Graphics": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { - "fields": { - "TargetMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "offset": 360 - }, - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 432 - }, - "HKL__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1209": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagDCE": { - "fields": { - "hrgnClipPublic": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwndOrg": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pdceNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "DCX_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hdc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "hrgnSavedVis": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pwndRedirect": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pwndClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 96 - }, - "VSC_LPWSTR": { - "fields": { - "vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pwsz": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagQ": { - "fields": { - "hwndDblClk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "timeDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndFocus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 328 - }, - "cLockCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 322 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 312 - }, - "ptiSysLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "caret": { - "type": { - "kind": "struct", - "name": "tagCARET" - }, - "offset": 232 - }, - "ptiMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndActivePrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ptMouseMove": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 128 - }, - "msgDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "msgJournal": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "ptiKeyboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 320 - }, - "QF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 316 - }, - "mlInput": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 0 - }, - "spwndActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "codeCapture": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "idSysLock": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "spcurCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "ulEtwReserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "ptDblClk": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 120 - }, - "xbtnDblClk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 104 - }, - "afKeyRecentDown": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "afKeyState": { - "type": { - "count": 64, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 168 - }, - "spwndCapture": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "idSysPeek": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 344 - }, - "__unnamed_1203": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "HGESTUREINFO__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLS": { - "fields": { - "spcur": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 100 - }, - "pclsClone": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "lpszClientAnsiMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pclsBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "atomNVClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "pclsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "CSF_flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "lpszAnsiClassName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "spcpdFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "lpszClientUnicodeMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "cbclsExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 96 - }, - "lpszMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "spicnSm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "cWndReferenceCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "hbrBackground": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "spicn": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 12 - }, - "pdce": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "rpdeskParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "atomClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 160 - }, - "_PROCDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { - "fields": { - "CommitVidPnRequestOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumCommitVidPnRequests": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_VK_TO_FUNCTION_TABLE": { - "fields": { - "NLSFEProcType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "NLSFEProcCurrent": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcSwitch": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "NLSFEProcAlt": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 68 - }, - "NLSFEProc": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 132 - }, - "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { - "fields": { - "NumDescriptors": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "DescriptorSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 144 - }, - "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 112 - }, - "_CALLBACKWND": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { - "fields": { - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - }, - "TargetModeSet": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" - }, - "offset": 360 - } - }, - "kind": "struct", - "size": 440 - }, - "_VK_FUNCTION_PARAM": { - "fields": { - "NLSFEProcIndex": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcParam": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBCALC": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "pxStart": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "pxThumbBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "cpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "pxMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pxThumbTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "pxDownArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cpx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "pxBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "pxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pxLeft": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "pxRight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "pxUpArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "HDESK__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "HIMC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { - "fields": { - "SecondChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "FourthChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "ThirdChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FirstChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMENUSTATE": { - "fields": { - "cxAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 116 - }, - "pGlobalPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "uDraggingIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "fNotifyByPos": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInCallHandleMenuMessages": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ixAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "dwLockCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "fAutoDismiss": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fIsSysMenu": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "dwAniStartTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "uButtonDownHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "fIgnoreButtonUp": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptButtonDown": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 56 - }, - "fMenuStarted": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "iAniDropDir": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 8 - }, - "hdcAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "fModelessMenu": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hbmAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "fInEndMenu": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 92 - }, - "vkButtonDown": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fSetCapture": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInDoDragDrop": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fActiveNoForeground": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fMouseOffMenu": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fDragAndDrop": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInsideMenuLoop": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 80 - }, - "fButtonDown": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptiMenuStateOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "iyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 112 - }, - "hdcWndAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "fAboutToAutoDismiss": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "mnFocus": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "uButtonDownIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "fButtonAlwaysDown": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fUnderline": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptMouseLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 12 - }, - "pmnsPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fDragging": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "cmdLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 144 - }, - "VK_TO_BIT": { - "fields": { - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModBits": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - } - }, - "kind": "struct", - "size": 2 - }, - "tagWOWTHREADINFO": { - "fields": { - "pIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "idParentProcess": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "idTask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwtiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "idWaitObject": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 40 - }, - "__unnamed_1805": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1211": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1213": { - "fields": { - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - }, - "AdvanceOnly": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 25 - }, - "ClusterCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "DeleteHandle": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReplaceIfExists": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 24 - }, - "FileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1217": { - "fields": { - "FsInformationClass": { - "type": { - "kind": "enum", - "name": "FsInformationClassEnum" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_123b": { - "fields": { - "IoResourceRequirementList": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_122d": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1950": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagITEM": { - "fields": { - "fType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ulX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "wID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwItemData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "hbmpChecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "xItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "spSubMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hbmpUnchecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fState": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dxTab": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "cxBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 104 - }, - "yItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "cyItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 76 - }, - "umim": { - "type": { - "kind": "struct", - "name": "tagUAHMENUITEMMETRICS" - }, - "offset": 112 - }, - "cch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "ulWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "cyBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "lpstr": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cxItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "hbmp": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 144 - }, - "tagIMEINFOEX": { - "fields": { - "dwImeWinVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fSysWow64Only": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "fInitOpen": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "wszImeDescription": { - "type": { - "count": 50, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 88 - }, - "fCUASLayer": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "ImeInfo": { - "type": { - "kind": "struct", - "name": "tagIMEINFO" - }, - "offset": 8 - }, - "wszImeFile": { - "type": { - "count": 80, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 188 - }, - "wszUIClass": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 36 - }, - "fLoadFlag": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "dwProdVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fdwInitConvMode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - } - }, - "kind": "struct", - "size": 352 - }, - "__unnamed_1962": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1958" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_1956" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_195e" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_195c" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "ConfigData": { - "type": { - "kind": "struct", - "name": "__unnamed_195a" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1960" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1954" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagMSGPPINFO": { - "fields": { - "dwIndexMsgPP": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagSBINFO": { - "fields": { - "WSBflags": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "Horz": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 4 - }, - "Vert": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 36 - }, - "VWPLELEMENT": { - "fields": { - "DataOrTag": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSBDATA": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "_VSC_VK": { - "fields": { - "Vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123f": { - "fields": { - "Lock": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1 - }, - "_SCATTER_GATHER_ELEMENT": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "Address": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagWND": { - "fields": { - "spwndLastActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "bWS_CLIPCHILDREN": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bMaximizeButtonDown": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bUIStateActive": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_TABSTOP": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDialogWindow": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "bMinimizeButtonDown": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HIMC__" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "bWS_SIZEBOX": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "bChildNoActivate": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_LAYERED": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved3": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bStartPaint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedLeft": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bHiddenPopup": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSendEraseBackground": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin50Compat": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_CLIENTEDGE": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 66 - }, - "bDisabled": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bAnsiWindowProc": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin40Compat": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcClient": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 128 - }, - "bAnsiCreator": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bAnyScrollButtonDown": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bSendSizeMoveMsgs": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bLinked": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bSendNCPaint": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bInternalPaint": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasClientEdge": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasPalette": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasHorizontalScrollbar": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUIStateFocusRectHidden": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_DLGFRAME": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_MDICHILD": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasVerticalScrollbar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved2": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bSmallIconFromWMQueryDrag": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bNoNCPaint": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasSPB": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_MINIMIZEBOX": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarVerticalTracking": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_DLGMODALFRAME": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TRANSPARENT": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bPaintNotProcessed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSyncPaintPending": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "bShellHookRegistered": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndChild": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "bUnused5": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bInDestroy": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "state": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "bWS_EX_LEFTSCROLLBAR": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bToggleTopmost": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_VSCROLL": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "ExStyle": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "bWS_HSCROLL": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUpdateDirty": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWMPaintSent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_WINDOWEDGE": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_ACCEPTFILE": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_GROUP": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "bVisible": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bVerticallyMaximizedRight": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bForceMenuDraw": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bForceNCPaint": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bOldUI": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndClipboardListenerNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "bWS_EX_NOPADDEDBORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bNoMinmaxAnimatedRects": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bWS_MAXIMIZEBOX": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bHasCaption": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bEraseBackground": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "spwndOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 232 - }, - "bMakeVisibleWhenUnghosted": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused8": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bUnused9": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 52 - }, - "bForceFullNCPaintClipRgn": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_RTLREADING": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused1": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused2": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused3": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused4": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasMeun": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused6": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused7": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bClipboardListener": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bScrollBarLineDownBtnDown": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedirectedForPrint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_RIGHT": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasCreatestructName": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITED": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bFullScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnUpdate": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "bConsoleWindow": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "ppropList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROPLIST" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bWS_EX_TOPMOST": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bScrollBarPageDownBtnDown": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarLineUpBtnDown": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRecievedQuerySuspendMsg": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bMaximizeMonitorRegion": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedrawIfHung": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_POPUP": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTEXTHELP": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "dwUserData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 256 - }, - "hMod16": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 64 - }, - "FullScreenMode": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 44 - }, - "bLayeredLimbo": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_NOINHERITLAYOUT": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_LAYOUTRTL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUIStateKbdAccelHidden": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_BORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_TOOLWINDOW": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bDestroyed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bServerSideWindowProc": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bCaptionTextTruncated": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 112 - }, - "bEndPaintInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnNewFrame": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "bBeingActivated": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITEDCompositing": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWMCreateMsgProcessed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_NOACTIVATE": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_APPWINDOW": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pSBInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBINFO" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "bCloseButtonDown": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bMaximized": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_CHILD": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "bWS_THICKFRAME": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTROLPARENT": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pcls": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bLayeredForDWM": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bMsgBox": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHelpButtonDown": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasOverlay": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bRedrawFrameIfHung": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_NOPARENTNOTIFY": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bMaximizesToMonitor": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bBottomMost": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bReserved1": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bRedirected": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bActiveFrame": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved4": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved5": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved6": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved7": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "spwndPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bLayeredInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "state2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "bWS_CLIPSIBLINGS": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarPageUpBtnDown": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "pTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DMATRIX" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "bWin31Compat": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "ExStyle2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "bHIGHDPI_UNAWARE_Unused": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_SYSMENU": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "strName": { - "type": { - "kind": "struct", - "name": "_LARGE_UNICODE_STRING" - }, - "offset": 232 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "bMinimized": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bRecievedSuspendMsg": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_STATICEDGE": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 296 - }, - "_WM_VALUES_STRINGS": { - "fields": { - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "fInternal": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "fDefined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { - "fields": { - "VisibleRegionSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 8 - }, - "Stride": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "PixelFormat": { - "type": { - "kind": "enum", - "name": "PixelFormatEnum" - }, - "offset": 20 - }, - "PixelValueAccessMode": { - "type": { - "kind": "enum", - "name": "PixelValueAccessModeEnum" - }, - "offset": 28 - }, - "PrimSurfSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "_VK_TO_WCHARS1": { - "fields": { - "Attributes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "_TLSPRITESTATE": { - "fields": { - "flOriginalSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "iSpriteType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pfnSaveScreenBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bInsideDriverCall": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pfnStrokePath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnTransparentBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnPaint": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnStretchBltROP": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "iType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "pfnPlgBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnCopyBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "iOriginalType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pfnTextOut": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDrawStream": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStrokeAndFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnLineTo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnStretchBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGradientFill": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnAlphaBlend": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "flSpriteSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "pfnBitBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 168 - }, - "tagUAHMENUITEMMETRICS": { - "fields": { - "rgsizeBar": { - "type": { - "count": 2, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - }, - "rgsizePopup": { - "type": { - "count": 4, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_121b": { - "fields": { - "Length": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1229": { - "fields": { - "Srb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_SCSI_REQUEST_BLOCK" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_121f": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1225": { - "fields": { - "DeviceObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Vpb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_VPB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_HEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagIMEINFO": { - "fields": { - "fdwProperty": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "fdwSelectCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fdwUICaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwPrivateDataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fdwSCSCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "fdwSentenceCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "fdwConversionCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 28 - }, - "_DXGK_DIAG_CODE_POINT_PACKET": { - "fields": { - "Header": { - "type": { - "kind": "struct", - "name": "_DXGK_DIAG_HEADER" - }, - "offset": 0 - }, - "Param3": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "Param1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CodePointType": { - "type": { - "kind": "enum", - "name": "CodePointTypeEnum" - }, - "offset": 48 - }, - "Param2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_SOURCE_MODE": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Format": { - "type": { - "kind": "struct", - "name": "__unnamed_18a1" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagW32JOB": { - "fields": { - "restrictions": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ughCrt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ughMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pgh": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long long" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EJOB" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ppiTable": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "uProcessCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "uMaxProcesses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { - "fields": { - "NumFrequencyRanges": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "FrequencyRangeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 56 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { - "fields": { - "APSTriggerBits": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "CopyProtectionType": { - "type": { - "kind": "enum", - "name": "CopyProtectionTypeEnum" - }, - "offset": 0 - }, - "CopyProtectionSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" - }, - "offset": 264 - }, - "OEMCopyProtection": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 268 - }, - "tagWINDOWSTATION": { - "fields": { - "pClipBase": { - "type": { - "subtype": { - "count": 104, - "subtype": { - "kind": "struct", - "name": "tagCLIP" - }, - "kind": "array" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "cNumClipFormats": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "luidUser": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 136 - }, - "pGlobalAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "ptiClipLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "dwWSF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "rpdeskList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spklList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spwndClipOpen": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "luidEndSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 128 - }, - "pTerm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTERMINAL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndClipboardListener": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "spwndClipViewer": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iClipSequenceNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "ptiDrawingClipboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "spwndClipOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "psidUser": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "rpwinstaNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 152 - }, - "tagDESKTOPINFO": { - "fields": { - "spwndProgman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "pvwplMessagePPHandler": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 224 - }, - "pvDesktopLimit": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fComposited": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndGestureEngine": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "pvDesktopBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwndShell": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "ppiShellProcess": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pvwplShellHook": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "spwndTaskman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "fIsDwmDesktop": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 32 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cntMBox": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 208 - }, - "spwndBkGnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 240 - }, - "tagMBSTRING": { - "fields": { - "szName": { - "type": { - "count": 15, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 0 - }, - "uID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "uStr": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DKMDT_VIDPN_TARGET_MODE": { - "fields": { - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 72 - }, - "_DMM_VIDPNSET_SERIALIZATION": { - "fields": { - "VidPnOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumVidPns": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagKBDFILE": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "awchDllName": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 56 - }, - "pKbdTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdLayer" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pkfNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pKbdNlsTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdNlsLayer" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_11e4": { - "fields": { - "UserApcContext": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "UserApcRoutine": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "IssuingProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_W32PROCESS": { - "fields": { - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 256 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { - "fields": { - "Scaling": { - "type": { - "kind": "enum", - "name": "ScalingEnum" - }, - "offset": 0 - }, - "RotationSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" - }, - "offset": 12 - }, - "Rotation": { - "type": { - "kind": "enum", - "name": "RotationEnum" - }, - "offset": 8 - }, - "ScalingSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSERVERINFO": { - "fields": { - "uiShellMsg": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 912 - }, - "cbHandleTable": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 848 - }, - "atomSysClass": { - "type": { - "count": 25, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 852 - }, - "dtScroll": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2800 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2952 - }, - "atomIconSmProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1356 - }, - "argbSystemUnmatched": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2268 - }, - "dwTagCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4632 - }, - "ucWheelScrollLines": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2812 - }, - "ptCursorReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2784 - }, - "ucWheelScrollChars": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2816 - }, - "acOemToAnsi": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1364 - }, - "cySysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2832 - }, - "atomFrostedWindowProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1362 - }, - "mpFnid_serverCBWndProc": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 328 - }, - "PUSIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4476 - }, - "BitCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4468 - }, - "argbSystem": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2392 - }, - "dtLBSearch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2804 - }, - "dtCaretBlink": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2808 - }, - "dwInstalledEventHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 1876 - }, - "apfnClientA": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 392 - }, - "cxSysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2828 - }, - "hbrGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 2768 - }, - "ahbrSystem": { - "type": { - "count": 31, - "subtype": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 2520 - }, - "dwDefaultHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "wMaxRightOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2824 - }, - "dwSRVIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "oembmi": { - "type": { - "count": 93, - "subtype": { - "kind": "struct", - "name": "tagOEMBITMAPINFO" - }, - "kind": "array" - }, - "offset": 2964 - }, - "apfnClientWorker": { - "type": { - "kind": "struct", - "name": "_PFNCLIENTWORKER" - }, - "offset": 760 - }, - "dwDefaultHeapBase": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 904 - }, - "BitsPixel": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4473 - }, - "wMaxLeftOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2820 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4470 - }, - "dwLastSystemRITEventTickCountUpdate": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4488 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2796 - }, - "atomIconProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1358 - }, - "Planes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4472 - }, - "dpiSystem": { - "type": { - "kind": "struct", - "name": "tagDPISERVERINFO" - }, - "offset": 2896 - }, - "hIcoWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2944 - }, - "apfnClientW": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 576 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2956 - }, - "MBStrings": { - "type": { - "count": 11, - "subtype": { - "kind": "struct", - "name": "tagMBSTRING" - }, - "kind": "array" - }, - "offset": 916 - }, - "atomContextHelpIdProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1360 - }, - "adwDBGTAGFlags": { - "type": { - "count": 35, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4492 - }, - "aiSysMet": { - "type": { - "count": 97, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 1880 - }, - "dwRIPFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4636 - }, - "uCaretWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4480 - }, - "cCaptures": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2960 - }, - "tmSysFont": { - "type": { - "kind": "struct", - "name": "tagTEXTMETRICW" - }, - "offset": 2836 - }, - "cHandleEntries": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ptCursor": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2776 - }, - "hIconSmWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2936 - }, - "mpFnidPfn": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "UILangID": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4484 - }, - "acAnsiToOem": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1620 - }, - "aStoCidPfn": { - "type": { - "count": 7, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 272 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 4452 - }, - "dwLastRITEventTickCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2792 - } - }, - "kind": "struct", - "size": 4640 - }, - "tagPOOLRECORD": { - "fields": { - "ExtraData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "trace": { - "type": { - "count": 6, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "__unnamed_195a": { - "fields": { - "Priority": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagUSERSTARTUPINFO": { - "fields": { - "dwYSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cbReserved2": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 26 - }, - "cb": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dwY": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwXSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "wShowWindow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 28 - }, - "_DMM_VIDPN_SERIALIZATION": { - "fields": { - "PathsFromSourceSerializationOffsets": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 8 - }, - "NumActiveSources": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_11df": { - "fields": { - "IrpCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "SystemBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MasterIrp": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IRP" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagHID_PAGEONLY_REQUEST": { - "fields": { - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cRefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1233": { - "fields": { - "Interface": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_INTERFACE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "InterfaceSpecificData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "InterfaceType": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_GUID" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagQMSG": { - "fields": { - "Padding": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 80 - }, - "ptMouseReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 72 - }, - "FromPen": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 64 - }, - "Wow64Message": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 96 - }, - "dwQEvent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 30 - }, - "offset": 80 - }, - "pqmsgPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FromTouch": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "NoCoalesce": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "msg": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 16 - }, - "pqmsgNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1237": { - "fields": { - "Capabilities": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_CAPABILITIES" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_11e6": { - "fields": { - "AsynchronousParameters": { - "type": { - "kind": "struct", - "name": "__unnamed_11e4" - }, - "offset": 0 - }, - "AllocationSize": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagDESKTOP": { - "fields": { - "spmenuVScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "dwMouseHoverTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 212 - }, - "rpwinstaParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spmenuDialogSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndForeground": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenuHScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "spwndTooltip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndMessage": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cciConsole": { - "type": { - "kind": "struct", - "name": "_CONSOLE_CARET_INFO" - }, - "offset": 144 - }, - "PtiList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 168 - }, - "spwndTray": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "rpdeskNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwDTFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pMagInputTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MAGNIFICATION_INPUT_TRANSFORM" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "htEx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 192 - }, - "ulHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "pheapDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!tagWIN32HEAP" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "rcMouseHover": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 196 - }, - "hsectionDesktop": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "dwDesktopId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 224 - }, - "_MAGNIFICATION_INPUT_TRANSFORM": { - "fields": { - "rcScreen": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 16 - }, - "magFactorX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "magFactorY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "ptiMagThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rcSource": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 48 - }, - "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 0 - }, - "ConstraintType": { - "type": { - "kind": "enum", - "name": "ConstraintTypeEnum" - }, - "offset": 36 - }, - "RangeLimits": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_FREQUENCY_RANGE" - }, - "offset": 4 - }, - "Constraint": { - "type": { - "kind": "struct", - "name": "__unnamed_16c1" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_121d": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IoControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_PFNCLIENTWORKER": { - "fields": { - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnCtfHookProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_12e0": { - "fields": { - "InitialPrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" - }, - "offset": 0 - }, - "PrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_PRIVILEGE_SET" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 44 - }, - "tagMENULIST": { - "fields": { - "pMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_DMA_OPERATIONS": { - "fields": { - "PutDmaAdapter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FreeMapRegisters": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "MapTransfer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "FreeCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReadDmaCounter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "AllocateCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "PutScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "BuildMdlFromScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "GetScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "CalculateScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "FreeAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "GetDmaAlignment": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "FlushAdapterBuffers": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "AllocateAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "BuildScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 128 - }, - "__unnamed_1811": { - "fields": { - "Start": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagSPB": { - "fields": { - "hbm": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hrgn": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ulSaveId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "pspbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "tagWin32PoolHead": { - "fields": { - "pPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pTrace": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DXGK_DIAG_HEADER": { - "fields": { - "Index": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "ProcessName": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 16 - }, - "LogTimestamp": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ThreadId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - }, - "WdLogIdx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 48 - }, - "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { - "fields": { - "CleanupAfterFailedCommitVidPn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ModeChangeRequestId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "ReclaimClonedTarget": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ForceAllActiveVidPnModeListInvalidation": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 12 - }, - "tagTOUCHINPUT": { - "fields": { - "dwExtraInfo": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "hSource": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dwMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cyContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "cxContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "dwTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 48 - }, - "_SM_VALUES_STRINGS": { - "fields": { - "StorageType": { - "type": { - "kind": "enum", - "name": "StorageTypeEnum" - }, - "offset": 16 - }, - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "RangeType": { - "type": { - "kind": "enum", - "name": "RangeTypeEnum" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1956": { - "fields": { - "MinimumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "_D3DKMDT_VIDEO_SIGNAL_INFO": { - "fields": { - "VSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 20 - }, - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 12 - }, - "PixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "TotalSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 4 - }, - "VideoStandard": { - "type": { - "kind": "enum", - "name": "VideoStandardEnum" - }, - "offset": 0 - }, - "ScanLineOrdering": { - "type": { - "kind": "enum", - "name": "ScanLineOrderingEnum" - }, - "offset": 48 - }, - "HSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 56 - }, - "tagTERMINAL": { - "fields": { - "spwndDesktopOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pEventInputReady": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "rpdeskDestroy": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pqDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwTERMF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwNestedLevel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ptiDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pEventTermInit": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "HFONT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { - "fields": { - "MacroVisionFull": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "MacroVisionApsTrigger": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "NoProtection": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 29 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_PFNCLIENT": { - "fields": { - "pfnDispatchDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnDispatchHook": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "pfnDesktopWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "pfnScrollBarWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnMessageWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnSwitchWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnHkINLPCWPSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnTitleWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnHkINLPCWPRETSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnMenuWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDispatchMessage": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pfnDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnMDIActivateDlgProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 176 - } - }, - "kind": "struct", - "size": 184 - }, - "tagOEMBITMAPINFO": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1221": { - "fields": { - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "SecurityDescriptor": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_KLIST_ENTRY": { - "fields": { - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HMONITOR__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1247": { - "fields": { - "DeviceTextType": { - "type": { - "kind": "enum", - "name": "DeviceTextTypeEnum" - }, - "offset": 0 - }, - "LocaleId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagCLIENTINFO": { - "fields": { - "msgDbcsCB": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 160 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "achDbcsCF": { - "type": { - "count": 2, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 154 - }, - "dwTIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "pClientThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 152 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "dwHookCurrent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "afAsyncKeyStateRecentDown": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwHookData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "afAsyncKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 128 - }, - "CallbackWnd": { - "type": { - "kind": "struct", - "name": "_CALLBACKWND" - }, - "offset": 64 - }, - "lpdwRegisteredClasses": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "cInDDEMLCallback": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 92 - }, - "cSpins": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "hKL": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "afKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 116 - }, - "CI_flags": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "phkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 216 - }, - "_DMM_MONITOR_SERIALIZATION": { - "fields": { - "SourceModeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FrequencyRangeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "DescriptorSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ModePruningAlgorithm": { - "type": { - "kind": "enum", - "name": "ModePruningAlgorithmEnum" - }, - "offset": 16 - }, - "VideoPresentTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "IsUsingDefaultProfile": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 13 - }, - "MonitorPowerState": { - "type": { - "kind": "enum", - "name": "MonitorPowerStateEnum" - }, - "offset": 20 - }, - "MonitorType": { - "type": { - "kind": "enum", - "name": "MonitorTypeEnum" - }, - "offset": 36 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IsSimulatedMonitor": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 12 - }, - "Orientation": { - "type": { - "kind": "enum", - "name": "OrientationEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagPROP": { - "fields": { - "fs": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "atomKey": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1243": { - "fields": { - "IdType": { - "type": { - "kind": "enum", - "name": "IdTypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123d": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "WhichSpace": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Offset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_WNDMSG": { - "fields": { - "abMsgs": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "maxMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSHAREDINFO": { - "fields": { - "psi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSERVERINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulSharedDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "aheList": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HANDLEENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "DefWindowSpecMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 552 - }, - "awmControl": { - "type": { - "count": 31, - "subtype": { - "kind": "struct", - "name": "_WNDMSG" - }, - "kind": "array" - }, - "offset": 40 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "HeEntrySize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DefWindowMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 536 - } - }, - "kind": "struct", - "size": 568 - }, - "__unnamed_181b": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1811" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_180d" - }, - "offset": 0 - }, - "DeviceSpecificData": { - "type": { - "kind": "struct", - "name": "__unnamed_1813" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_1817" - }, - "offset": 0 - }, - "MessageInterrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_180b" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_1815" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1819" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPOINT": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagIMC": { - "fields": { - "dwClientImcData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "hImeWnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pImcNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "tagKL": { - "fields": { - "uNumTbl": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "pklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "pklNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spkfPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "dwFontSigs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLastKbdType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 72 - }, - "dwKL_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "iBaseCharset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "dwKLID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "spkf": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "piiex": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMEINFOEX" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pspkfExtra": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "wchDiacritic": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 74 - }, - "dwLastKbdSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_115b": { - "fields": { - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_182e": { - "fields": { - "pRgb256x3x16": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pRaw": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pDxgi1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagTDB": { - "fields": { - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "TDB_Flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "pwti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "nPriority": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "ptdbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagCARET": { - "fields": { - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "iHideLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "hTimer": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "yOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "xOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "fVisible": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hBitmap": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cxOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cyOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "tid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "fOn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_LIGATURE1": { - "fields": { - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 4 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModificationNumber": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 6 + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" } - }, - "base_types": { - "unsigned char": { - "kind": "char", - "endian": "little", - "signed": false, - "size": 1 - }, - "float": { - "kind": "float", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "wchar": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "pointer": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - }, - "unsigned int": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "short": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned short": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 2 - }, - "long long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 8 - }, - "unsigned long long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - } - }, - "enums": { - "TextEnum": { - "base": "long", - "constants": { - "D3DKMDT_TRF_UNINITIALIZED": 0 - }, - "size": 4 - }, - "PreferenceEnum": { - "base": "long", - "constants": { - "D3DKMDT_MP_PREFERRED": 1, - "D3DKMDT_MP_MAXVALID": 2, - "D3DKMDT_MP_UNINITIALIZED": 0 - }, - "size": 4 - }, - "FileInformationClassEnum": { - "base": "long", - "constants": { - "FileInternalInformation": 6, - "FileQuotaInformation": 32, - "FileIoStatusBlockRangeInformation": 42, - "FilePipeLocalInformation": 24, - "FileStandardLinkInformation": 54, - "FileIdFullDirectoryInformation": 38, - "FileLinkInformation": 11, - "FileFullDirectoryInformation": 2, - "FileAllInformation": 18, - "FileSfioVolumeInformation": 45, - "FileStreamInformation": 22, - "FileRenameInformation": 10, - "FileValidDataLengthInformation": 39, - "FileAlternateNameInformation": 21, - "FileBasicInformation": 4, - "FilePositionInformation": 14, - "FileCompletionInformation": 30, - "FileAttributeCacheInformation": 52, - "FileReparsePointInformation": 33, - "FileMailslotSetInformation": 27, - "FileNetworkPhysicalNameInformation": 49, - "FileAllocationInformation": 19, - "FileIsRemoteDeviceInformation": 51, - "FileFullEaInformation": 15, - "FileProcessIdsUsingFileInformation": 47, - "FileDispositionInformation": 13, - "FileStandardInformation": 5, - "FileAccessInformation": 8, - "FileNumaNodeInformation": 53, - "FilePipeRemoteInformation": 25, - "FileIoPriorityHintInformation": 43, - "FileMailslotQueryInformation": 26, - "FileRemoteProtocolInformation": 55, - "FileNamesInformation": 12, - "FileHardLinkInformation": 46, - "FileEndOfFileInformation": 20, - "FileIdBothDirectoryInformation": 37, - "FileSfioReserveInformation": 44, - "FileIdGlobalTxDirectoryInformation": 50, - "FileNetworkOpenInformation": 34, - "FileObjectIdInformation": 29, - "FileMoveClusterInformation": 31, - "FileIoCompletionNotificationInformation": 41, - "FileNameInformation": 9, - "FileBothDirectoryInformation": 3, - "FileDirectoryInformation": 1, - "FileMaximumInformation": 56, - "FileNormalizedNameInformation": 48, - "FilePipeInformation": 23, - "FileCompressionInformation": 28, - "FileTrackingInformation": 36, - "FileEaInformation": 7, - "FileShortNameInformation": 40, - "FileModeInformation": 16, - "FileAlignmentInformation": 17, - "FileAttributeTagInformation": 35 - }, - "size": 4 - }, - "ModePruningAlgorithmEnum": { - "base": "long", - "constants": { - "DMM_MPA_MAXVALID": 3, - "DMM_MPA_GDI": 1, - "DMM_MPA_VISTA": 2, - "DMM_MPA_UNINITIALIZED": 0 - }, - "size": 4 - }, - "fmtEnum": { - "base": "unsigned long", - "constants": { - "CF_ENHMETAFILE": 14, - "CF_PENDATA": 10, - "CF_BITMAP": 2, - "CF_UNICODETEXT": 13, - "CF_HDROP": 15, - "CF_OEMTEXT": 7, - "CF_WAVE": 12, - "CF_DSPTEXT": 129, - "CF_DIBV5": 17, - "CF_TIFF": 6, - "CF_PALETTE": 9, - "CF_OWNERDISPLAY": 128, - "CF_DSPMETAFILEPICT": 131, - "CF_METAFILEPICT": 3, - "CF_RIFF": 11, - "CF_DSPENHMETAFILE": 142, - "CF_TEXT": 1, - "CF_LOCALE": 16, - "CF_SYLK": 4, - "CF_DSPBITMAP": 130, - "CF_DIB": 8, - "CF_DIF": 5 - }, - "size": 4 - }, - "MonitorPowerStateEnum": { - "base": "long", - "constants": { - "PowerDeviceUnspecified": 0, - "PowerDeviceD0": 1, - "PowerDeviceD1": 2, - "PowerDeviceD2": 3, - "PowerDeviceD3": 4, - "PowerDeviceMaximum": 5 - }, - "size": 4 - }, - "bTypeEnum": { - "base": "unsigned char", - "constants": { - "TYPE_DDEXACT": 11, - "TYPE_HOOK": 5, - "TYPE_FREE": 0, - "TYPE_MONITOR": 12, - "TYPE_GESTURE": 21, - "TYPE_DEVICEINFO": 19, - "TYPE_DDEACCESS": 9, - "TYPE_CALLPROC": 7, - "TYPE_CURSOR": 3, - "TYPE_KBDLAYOUT": 13, - "TYPE_WINEVENTHOOK": 15, - "TYPE_MENU": 2, - "TYPE_ACCELTABLE": 8, - "TYPE_TOUCH": 20, - "TYPE_SETWINDOWPOS": 4, - "TYPE_CLIPDATA": 6, - "TYPE_KBDFILE": 14, - "TYPE_DDECONV": 10, - "TYPE_HIDDATA": 18, - "TYPE_WINDOW": 1, - "TYPE_INPUTCONTEXT": 17, - "TYPE_TIMER": 16 - }, - "size": 1 - }, - "OriginEnum": { - "base": "long", - "constants": { - "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, - "D3DKMDT_MCO_UNINITIALIZED": 0, - "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, - "D3DKMDT_MCO_MAXVALID": 5, - "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, - "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 - }, - "size": 4 - }, - "CodePointTypeEnum": { - "base": "long", - "constants": { - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, - "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, - "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, - "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, - "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, - "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, - "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, - "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, - "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, - "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, - "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, - "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, - "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, - "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, - "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, - "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, - "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, - "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, - "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, - "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, - "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, - "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, - "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, - "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, - "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, - "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, - "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, - "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 - }, - "size": 4 - }, - "ConstraintTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MFRC_MAXPIXELRATE": 2, - "D3DKMDT_MFRC_ACTIVESIZE": 1, - "D3DKMDT_MFRC_UNINITIALIZED": 0 - }, - "size": 4 - }, - "VidPnTargetColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorTypeEnum": { - "base": "long", - "constants": { - "DMM_VMT_TEMPORARY_MONITOR": 4, - "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, - "DMM_VMT_PHYSICAL_MONITOR": 1, - "DMM_VMT_UNINITIALIZED": 0, - "DMM_VMT_SIMULATED_MONITOR": 5, - "DMM_VMT_PERSISTENT_MONITOR": 3 - }, - "size": 4 - }, - "PowerStateEnum": { - "base": "long", - "constants": { - "PowerSystemSleeping2": 3, - "PowerSystemSleeping1": 2, - "PowerSystemSleeping3": 4, - "PowerSystemUnspecified": 0, - "PowerSystemMaximum": 7, - "PowerSystemShutdown": 6, - "PowerSystemHibernate": 5, - "PowerSystemWorking": 1 - }, - "size": 4 - }, - "ShutdownTypeEnum": { - "base": "long", - "constants": { - "PowerActionNone": 0, - "PowerActionReserved": 1, - "PowerActionHibernate": 3, - "PowerActionShutdownOff": 6, - "PowerActionShutdown": 4, - "PowerActionSleep": 2, - "PowerActionShutdownReset": 5, - "PowerActionWarmEject": 7 - }, - "size": 4 - }, - "ScalingEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPS_CENTERED": 2, - "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, - "D3DKMDT_VPPS_STRETCHED": 3, - "D3DKMDT_VPPS_UNINITIALIZED": 0, - "D3DKMDT_VPPS_UNPINNED": 254, - "D3DKMDT_VPPS_IDENTITY": 1, - "D3DKMDT_VPPS_NOTSPECIFIED": 255, - "D3DKMDT_VPPS_CUSTOM": 5, - "D3DKMDT_VPPS_RESERVED1": 253 - }, - "size": 4 - }, - "CurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "StorageTypeEnum": { - "base": "long", - "constants": { - "SmStorageActual": 0, - "SmStorageNonActual": 1 - }, - "size": 4 - }, - "ScanLineOrderingEnum": { - "base": "long", - "constants": { - "D3DDDI_VSSLO_PROGRESSIVE": 1, - "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, - "D3DDDI_VSSLO_UNINITIALIZED": 0, - "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, - "D3DDDI_VSSLO_OTHER": 255 - }, - "size": 4 - }, - "PixelValueAccessModeEnum": { - "base": "long", - "constants": { - "D3DKMDT_PVAM_UNINITIALIZED": 0, - "D3DKMDT_PVAM_DIRECT": 1, - "D3DKMDT_PVAM_PRESETPALETTE": 2, - "D3DKMDT_PVAM_MAXVALID": 3 - }, - "size": 4 - }, - "PriorityPolicyEnum": { - "base": "long", - "constants": { - "IrqPriorityHigh": 3, - "IrqPriorityNormal": 2, - "IrqPriorityLow": 1, - "IrqPriorityUndefined": 0 - }, - "size": 4 - }, - "OrientationEnum": { - "base": "long", - "constants": { - "D3DKMDT_MO_90DEG": 2, - "D3DKMDT_MO_0DEG": 1, - "D3DKMDT_MO_270DEG": 4, - "D3DKMDT_MO_UNINITIALIZED": 0, - "D3DKMDT_MO_180DEG": 3 - }, - "size": 4 - }, - "ContentEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPC_NOTSPECIFIED": 255, - "D3DKMDT_VPPC_UNINITIALIZED": 0, - "D3DKMDT_VPPC_GRAPHICS": 1, - "D3DKMDT_VPPC_VIDEO": 2 - }, - "size": 4 - }, - "ColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MoveRectStyleEnum": { - "base": "long", - "constants": { - "MoveRectMidTopAtCursor": 1, - "MoveRectSidewiseKeepPositionAtCursor": 3, - "MoveRectKeepPositionAtCursor": 0, - "MoveRectKeepAspectRatioAtCursor": 2 - }, - "size": 4 - }, - "VideoStandardEnum": { - "base": "long", - "constants": { - "D3DKMDT_VSS_PAL_G": 11, - "D3DKMDT_VSS_PAL_D": 14, - "D3DKMDT_VSS_PAL_B": 9, - "D3DKMDT_VSS_SECAM_K": 21, - "D3DKMDT_VSS_VESA_GTF": 2, - "D3DKMDT_VSS_PAL_L": 30, - "D3DKMDT_VSS_PAL_M": 31, - "D3DKMDT_VSS_PAL_K": 28, - "D3DKMDT_VSS_PAL_H": 12, - "D3DKMDT_VSS_PAL_I": 13, - "D3DKMDT_VSS_SECAM_L1": 24, - "D3DKMDT_VSS_VESA_DMT": 1, - "D3DKMDT_VSS_SECAM_L": 23, - "D3DKMDT_VSS_EIA_861": 25, - "D3DKMDT_VSS_PAL_N": 15, - "D3DKMDT_VSS_APPLE": 5, - "D3DKMDT_VSS_NTSC_M": 6, - "D3DKMDT_VSS_SECAM_H": 20, - "D3DKMDT_VSS_NTSC_J": 7, - "D3DKMDT_VSS_SECAM_B": 17, - "D3DKMDT_VSS_SECAM_G": 19, - "D3DKMDT_VSS_SECAM_D": 18, - "D3DKMDT_VSS_IBM": 4, - "D3DKMDT_VSS_SECAM_K1": 22, - "D3DKMDT_VSS_PAL_NC": 16, - "D3DKMDT_VSS_PAL_B1": 10, - "D3DKMDT_VSS_EIA_861A": 26, - "D3DKMDT_VSS_EIA_861B": 27, - "D3DKMDT_VSS_UNINITIALIZED": 0, - "D3DKMDT_VSS_OTHER": 255, - "D3DKMDT_VSS_PAL_K1": 29, - "D3DKMDT_VSS_VESA_CVT": 3, - "D3DKMDT_VSS_NTSC_443": 8 - }, - "size": 4 - }, - "ImportanceOrdinalEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPI_QUATERNARY": 4, - "D3DKMDT_VPPI_SECONDARY": 2, - "D3DKMDT_VPPI_PRIMARY": 1, - "D3DKMDT_VPPI_QUINARY": 5, - "D3DKMDT_VPPI_DENARY": 10, - "D3DKMDT_VPPI_SENARY": 6, - "D3DKMDT_VPPI_TERTIARY": 3, - "D3DKMDT_VPPI_SEPTENARY": 7, - "D3DKMDT_VPPI_NONARY": 9, - "D3DKMDT_VPPI_UNINITIALIZED": 0, - "D3DKMDT_VPPI_OCTONARY": 8, - "D3DKMDT_VPPI_MAX": 32, - "D3DKMDT_VPPI_NOTSPECIFIED": 255 - }, - "size": 4 - }, - "RangeTypeEnum": { - "base": "long", - "constants": { - "SmRangeBool": 2, - "SmRangeNonSharedInfo": 1, - "SmRangeSharedInfo": 0 - }, - "size": 4 - }, - "TimingTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MTT_EXTRASTANDARD": 3, - "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, - "D3DKMDT_MTT_STANDARD": 2, - "D3DKMDT_MTT_UNINITIALIZED": 0, - "D3DKMDT_MTT_MAXVALID": 6, - "D3DKMDT_MTT_DETAILED": 4, - "D3DKMDT_MTT_ESTABLISHED": 1 - }, - "size": 4 - }, - "PixelFormatEnum": { - "base": "long", - "constants": { - "D3DDDIFMT_W11V11U10": 65, - "D3DDDIFMT_A16B16G16R16F": 113, - "D3DDDIFMT_A8R8G8B8": 21, - "D3DDDIFMT_D32_LOCKABLE": 84, - "D3DDDIFMT_L8": 50, - "D3DDDIFMT_DXVA_RESERVED27": 177, - "D3DDDIFMT_DXVA_RESERVED26": 176, - "D3DDDIFMT_DXVA_RESERVED25": 175, - "D3DDDIFMT_DXVA_RESERVED24": 174, - "D3DDDIFMT_DXVA_RESERVED23": 173, - "D3DDDIFMT_DXVA_RESERVED22": 172, - "D3DDDIFMT_DXVA_RESERVED21": 171, - "D3DDDIFMT_DXVA_RESERVED20": 170, - "D3DDDIFMT_DXVA_RESERVED29": 179, - "D3DDDIFMT_DXVA_RESERVED28": 178, - "D3DDDIFMT_R3G3B2": 27, - "D3DDDIFMT_A8R3G3B2": 29, - "D3DDDIFMT_INDEX16": 101, - "D3DDDIFMT_X4R4G4B4": 30, - "D3DDDIFMT_A4R4G4B4": 26, - "D3DDDIFMT_Q8W8V8U8": 63, - "D3DDDIFMT_FORCE_UINT": 2147483647, - "D3DDDIFMT_S1D15": 72, - "D3DDDIFMT_A16B16G16R16": 36, - "D3DDDIFMT_A8L8": 51, - "D3DDDIFMT_D24X4S4": 79, - "D3DDDIFMT_BINARYBUFFER": 199, - "D3DDDIFMT_DXVA_RESERVED30": 180, - "D3DDDIFMT_R32F": 114, - "D3DDDIFMT_VERTEXDATA": 100, - "D3DDDIFMT_R5G6B5": 23, - "D3DDDIFMT_R8G8_B8G8": 1195525970, - "D3DDDIFMT_A4L4": 52, - "D3DDDIFMT_A1R5G5B5": 25, - "D3DDDIFMT_X1R5G5B5": 24, - "D3DDDIFMT_D32": 71, - "D3DDDIFMT_G8R8_G8B8": 1111970375, - "D3DDDIFMT_A2B10G10R10": 31, - "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, - "D3DDDIFMT_MULTI2_ARGB8": 827606349, - "D3DDDIFMT_D16_LOCKABLE": 70, - "D3DDDIFMT_BITSTREAMDATA": 156, - "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, - "D3DDDIFMT_X8B8G8R8": 33, - "D3DDDIFMT_R8G8B8": 20, - "D3DDDIFMT_S8_LOCKABLE": 85, - "D3DDDIFMT_D24S8": 75, - "D3DDDIFMT_X8D24": 76, - "D3DDDIFMT_A2R10G10B10": 35, - "D3DDDIFMT_P8": 41, - "D3DDDIFMT_L6V5U5": 61, - "D3DDDIFMT_X8R8G8B8": 22, - "D3DDDIFMT_D16": 80, - "D3DDDIFMT_A2W10V10U10": 67, - "D3DDDIFMT_D24FS8": 83, - "D3DDDIFMT_MOTIONVECTORBUFFER": 157, - "D3DDDIFMT_L16": 81, - "D3DDDIFMT_X8L8V8U8": 62, - "D3DDDIFMT_A32B32G32R32F": 116, - "D3DDDIFMT_A8P8": 40, - "D3DDDIFMT_YUY2": 844715353, - "D3DDDIFMT_R16F": 111, - "D3DDDIFMT_G16R16": 34, - "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, - "D3DDDIFMT_Q16W16V16U16": 110, - "D3DDDIFMT_S8D24": 74, - "D3DDDIFMT_PICTUREPARAMSDATA": 150, - "D3DDDIFMT_A1": 118, - "D3DDDIFMT_FILMGRAINBUFFER": 158, - "D3DDDIFMT_A8": 28, - "D3DDDIFMT_UNKNOWN": 0, - "D3DDDIFMT_DXVA_RESERVED19": 169, - "D3DDDIFMT_D32F_LOCKABLE": 82, - "D3DDDIFMT_MACROBLOCKDATA": 151, - "D3DDDIFMT_A8B8G8R8": 32, - "D3DDDIFMT_UYVY": 1498831189, - "D3DDDIFMT_DXT1": 827611204, - "D3DDDIFMT_DEBLOCKINGDATA": 153, - "D3DDDIFMT_DXT3": 861165636, - "D3DDDIFMT_DXT4": 877942852, - "D3DDDIFMT_DXT5": 894720068, - "D3DDDIFMT_CxV8U8": 117, - "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, - "D3DDDIFMT_DXVA_RESERVED9": 159, - "D3DDDIFMT_DXT2": 844388420, - "D3DDDIFMT_G32R32F": 115, - "D3DDDIFMT_X4S4D24": 78, - "D3DDDIFMT_D24X8": 77, - "D3DDDIFMT_DXVA_RESERVED12": 162, - "D3DDDIFMT_DXVA_RESERVED13": 163, - "D3DDDIFMT_DXVA_RESERVED10": 160, - "D3DDDIFMT_DXVA_RESERVED11": 161, - "D3DDDIFMT_DXVA_RESERVED16": 166, - "D3DDDIFMT_DXVA_RESERVED17": 167, - "D3DDDIFMT_DXVA_RESERVED14": 164, - "D3DDDIFMT_DXVA_RESERVED15": 165, - "D3DDDIFMT_DXVA_RESERVED18": 168, - "D3DDDIFMT_D15S1": 73, - "D3DDDIFMT_V16U16": 64, - "D3DDDIFMT_SLICECONTROLDATA": 155, - "D3DDDIFMT_G16R16F": 112, - "D3DDDIFMT_INDEX32": 102, - "D3DDDIFMT_V8U8": 60 - }, - "size": 4 - }, - "IdTypeEnum": { - "base": "long", - "constants": { - "BusQueryCompatibleIDs": 2, - "BusQueryInstanceID": 3, - "BusQueryDeviceID": 0, - "BusQueryDeviceSerialNumber": 4, - "BusQueryHardwareIDs": 1, - "BusQueryContainerID": 5 - }, - "size": 4 - }, - "StartCurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "TypeEnum": { - "base": "long", - "constants": { - "DevicePowerState": 1, - "SystemPowerState": 0 - }, - "size": 4 - }, - "RotationEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPR_IDENTITY": 1, - "D3DKMDT_VPPR_NOTSPECIFIED": 255, - "D3DKMDT_VPPR_UNPINNED": 254, - "D3DKMDT_VPPR_ROTATE270": 4, - "D3DKMDT_VPPR_ROTATE90": 2, - "D3DKMDT_VPPR_ROTATE180": 3, - "D3DKMDT_VPPR_UNINITIALIZED": 0 - }, - "size": 4 - }, - "CopyProtectionTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPMT_NOTSPECIFIED": 255, - "D3DKMDT_VPPMT_UNINITIALIZED": 0, - "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, - "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, - "D3DKMDT_VPPMT_NOPROTECTION": 1 - }, - "size": 4 - }, - "FsInformationClassEnum": { - "base": "long", - "constants": { - "FileFsFullSizeInformation": 7, - "FileFsAttributeInformation": 5, - "FileFsVolumeFlagsInformation": 10, - "FileFsVolumeInformation": 1, - "FileFsSizeInformation": 3, - "FileFsLabelInformation": 2, - "FileFsDeviceInformation": 4, - "FileFsControlInformation": 6, - "FileFsDriverPathInformation": 9, - "FileFsMaximumInformation": 11, - "FileFsObjectIdInformation": 8 - }, - "size": 4 - }, - "DeviceTextTypeEnum": { - "base": "long", - "constants": { - "DeviceTextLocationInformation": 1, - "DeviceTextDescription": 0 - }, - "size": 4 - } - }, - "metadata": { - "producer": { - "version": "0.0.1", - "name": "dgmcdona-via-conversion-script", - "datetime": "2024-09-03T18:22:52Z" - }, - "format": "4.0.0" - } } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json index d341a3fd0..f74c8dd5b 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json @@ -1,18830 +1,18830 @@ { - "symbols": {}, - "user_types": { - "HWINSTA__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 880 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 728 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 464 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 456 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 824 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "subPointer": { + "type": { + "subtype": { + "kind": "struct", + "name": "subTagWNDType" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "directName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!String" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "subTagWNDType": { + "fields": { + "style_bitmask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + } + }, + "kind": "struct", + "size": 128 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 40 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1153": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 59 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 9 - }, - "offset": 0 - }, - "Region": { - "type": { - "bit_position": 61, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 39 - }, - "offset": 0 + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1960": { - "fields": { - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 } - }, - "kind": "struct", - "size": 24 - }, - "tagCLIENTTHREADINFO": { - "fields": { - "fsWakeMask": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "CTIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fsWakeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - }, - "fsWakeBitsJournal": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "fsChangeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4 - }, - "tickLastMsgChecked": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "tagKbdNlsLayer": { - "fields": { - "OEMIdentifier": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "NumOfVkToF": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pusMouseVKey": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "NumOfMouseVKey": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pVkToF": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_FUNCTION_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "LayoutInformation": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1158": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 2 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HBITMAP__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_124b": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1 - }, - "InPath": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_TL": { - "fields": { - "pfnFree": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pobj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagTOUCHINPUTINFO": { - "fields": { - "dwcInputs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "TouchInput": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagTOUCHINPUT" - }, - "kind": "array" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 80 - }, - "tagTHREADINFO": { - "fields": { - "ForceLegacyResizeNCMetr": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptl": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 336 - }, - "timeLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 448 - }, - "DontJournalAttach": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fPack": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 26 - }, - "offset": 928 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 516 - }, - "psmsSent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 424 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 656 - }, - "DefaultCharset": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 512 - }, - "psmsReceiveList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "sphkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 560 - }, - "No50ExStyles": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "IgnoreFaults": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pClientInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "DDENoAsyncReg": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DealyHwndShakeChk": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "amdesk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 720 - }, - "fsChangeBitsRemoved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 704 - }, - "psmsCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 432 - }, - "NoInitFlagsOnFocus": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "StrictLLHook": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "NoShadow": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EnumHelv": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoBatching": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 880 - }, - "Winver31": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Win30AvgWidth": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "AlwaysSendSyncPaint": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "IgnoreNoDiscard": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cPaintsReady": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 480 - }, - "SubtractClips": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "apEvent": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 712 - }, - "cEnterCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 672 - }, - "OpenGLEMF": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "fThreadCleanupFinished": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "idLast": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 456 - }, - "spklActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 360 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "NoEMFSpooling": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptdb": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "SpareCompatFlags2": { - "type": { - "bit_position": 33, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 31 - }, - "offset": 520 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "mlPost": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 680 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "NoCustomPaperSize": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cTimersReady": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 484 - }, - "NoScrollBarCtxMenu": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hPrevHidData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 880 - }, - "NoPaddedBorder": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "DpiAware": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "MultipleBands": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "AnimationOff": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "No50ExStyleBits": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulThreadFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 928 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 472 - }, - "MoreExtraWndWords": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoGhost": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoHRGN1": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 628 - }, - "GiveUpForegound": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "spDefaultImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 656 - }, - "pmsd": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MOVESIZEDATA" - }, - "kind": "pointer" - }, - "offset": 544 - }, - "HardwareMixer": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 904 - }, - "EnumTTNotDevice": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fSpecialInitialization": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ForceFusion": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cti": { - "type": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "offset": 864 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pstrAppName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "SendMnuDblClk": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DDENoSync": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EditNoMouseHide": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptLastReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 636 - }, - "hTouchInputCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HTOUCHINPUT__" - }, - "kind": "pointer" - }, - "offset": 888 - }, - "pEventQueueServer": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "cNestedStableVisRgn": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "NoDrawPatRect": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTTGrapchis": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "GetDeviceCaps": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fsReserveKeys": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 708 - }, - "pq": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 352 - }, - "NoSoftCursOnMoveSize": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hEventQueueClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 592 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "DDE": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "exitCode": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 464 - }, - "wchInjected": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 706 - }, - "CallTTDevice": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DisableDBCSProp": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsShellDlg": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TransparentBltMirror": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "PtiLink": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 728 - }, - "HackWinFlags": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cVisWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 728 - }, - "NcCalcSizeOnMove": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "KCOff": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "readyHead": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 912 - }, - "UsePrintingEscape": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hGestureInfoCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HGESTUREINFO__" - }, - "kind": "pointer" - }, - "offset": 896 - }, - "ForceTextBand": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 724 - }, - "fETWReserved": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 928 - }, - "pMenuState": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 488 - }, - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "TIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 464 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "Win31DevModeSize": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSBTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBTRACK" - }, - "kind": "pointer" - }, - "offset": 584 - }, - "spwndDefaultIme": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 648 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 520 - }, - "EditSetTextMunge": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Random31Ux": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fgfSwitchInProgressSetter": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 392 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "NoTimeCbProtect": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DisableFontAssoc": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pcti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "NoCharDeadKey": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TTIgnoreRasterDupe": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "lParamHkCurrent": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 568 - }, - "qwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 520 - }, - "wParamHkCurrent": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 576 - }, - "NoWindowArrangement": { - "type": { - "bit_position": 32, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ActiveMenus": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 456 - }, - "pqAttach": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 528 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "psiiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 504 - }, - "IgnoreTopMost": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "TryExceptCallWndProc": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoDDETrackDying": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "FontSubs": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "SmoothScrolling": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 624 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "ptiSibling": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 536 - }, - "hklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "IncreaseStack": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - } - }, - "kind": "struct", - "size": 936 - }, - "__unnamed_11ff": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "EaLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FileAttributes": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_CALLPROCDATA": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "pfnClientPrevious": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "wType": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "spcpdNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH": { - "fields": { - "VidPnTargetColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 48 - }, - "VidPnTargetColorBasis": { - "type": { - "kind": "enum", - "name": "VidPnTargetColorBasisEnum" - }, - "offset": 44 - }, - "ContentTransformation": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" - }, - "offset": 12 - }, - "GammaRamp": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GAMMA_RAMP" - }, - "offset": 336 - }, - "CopyProtection": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" - }, - "offset": 68 - }, - "VidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Content": { - "type": { - "kind": "enum", - "name": "ContentEnum" - }, - "offset": 64 - }, - "VisibleFromActiveTLOffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 28 - }, - "VidPnTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "VisibleFromActiveBROffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 36 - }, - "ImportanceOrdinal": { - "type": { - "kind": "enum", - "name": "ImportanceOrdinalEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 360 - }, - "__unnamed_1253": { - "fields": { - "PowerSequence": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_POWER_SEQUENCE" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESS_HID_TABLE": { - "fields": { - "fExclusiveMouseSink": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fCaptureMouse": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyMouse": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboard": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "spwndTargetMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndTargetKbd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "UsageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 98 - }, - "UsagePageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 96 - }, - "fRawMouse": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawMouseSink": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "inclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "nSinks": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "UsagePageList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 32 - }, - "ExclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - }, - "InclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "fRawKeyboardSink": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fAppKeys": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoHotKeys": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "fNoLegacyKeyboard": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "request": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fExclusiveKeyboardSink": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "pLastRequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1809": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "MessageCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHOOK": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "iHook": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "phkNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "offPfn": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "fLastHookHung": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 88 - }, - "nTimeout": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 7 - }, - "offset": 88 - }, - "ihmod": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "ptiHooked": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 80 - } - }, - "kind": "struct", - "size": 96 - }, - "_THROBJHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagPROCESS_HID_REQUEST": { - "fields": { - "fSinkable": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "pTLCInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_TLC_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDevNotify": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "fExSinkable": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 18 - }, - "fExclusiveOrphaned": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "next_request": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "pPORequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_PAGEONLY_REQUEST" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 16 - }, - "ptr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "spwndTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 40 - }, - "_KFLOATING_SAVE": { - "fields": { - "Dummy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { - "fields": { - "Rotate270": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate90": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate180": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMLIST": { - "fields": { - "cMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pqmsgRead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pqmsgWriteLast": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_CONSOLE_CARET_INFO": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1807": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - }, - "Level": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "DEADKEY": { - "fields": { - "wchComposed": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 4 - }, - "dwBoth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESSINFO": { - "fields": { - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "fHasMagContext": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 736 - }, - "hwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWINSTA__" - }, - "kind": "pointer" - }, - "offset": 608 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ptiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 256 - }, - "pHidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 744 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "pclsPublicList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 288 - }, - "dwhmodLibLoadedMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 340 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "hdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 328 - }, - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "dwImeCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 696 - }, - "hMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HMONITOR__" - }, - "kind": "pointer" - }, - "offset": 624 - }, - "ptiMainThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "pvwplWndGCList": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 760 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "usi": { - "type": { - "kind": "struct", - "name": "tagUSERSTARTUPINFO" - }, - "offset": 708 - }, - "luidSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 700 - }, - "Unused": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 736 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pW32Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 688 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwRegisteredClasses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 752 - }, - "bmHandleFlags": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_BITMAP" - }, - "offset": 648 - }, - "pclsPrivateList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "amwinsta": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 616 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ppiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 736 - }, - "dwHotkey": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 620 - }, - "cSysExpunge": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "rpdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pdvList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 632 - }, - "hidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 824 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 320 - }, - "pwpi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "ppiNextRunning": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "dwLayout": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 740 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rpwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "pCursorCache": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "pClientBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 672 - }, - "ahmodLibLoaded": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 384 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 640 - }, - "dwLpkEntryPoints": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 680 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 768 - }, - "HBRUSH__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLIP": { - "fields": { - "fmt": { - "type": { - "kind": "enum", - "name": "fmtEnum" - }, - "offset": 0 - }, - "fGlobalHandle": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagUAHMENUPOPUPMETRICS": { - "fields": { - "rgcx": { - "type": { - "count": 4, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 0 - }, - "fUpdateMaxWidths": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 20 - }, - "tagSMS": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 72 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 80 - }, - "lpResultCallBack": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lRet": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 56 - }, - "psmsReceiveNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "tSent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "pvCapture": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "psmsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptiReceiver": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ptiCallBackSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "dwData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 112 - }, - "__unnamed_195e": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_195c": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_W32THREAD": { - "fields": { - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 336 - }, - "_VK_TO_WCHAR_TABLE": { - "fields": { - "pVkToWchars": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHARS1" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cbSize": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - }, - "nModifications": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPROPLIST": { - "fields": { - "aprop": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagPROP" - }, - "kind": "array" - }, - "offset": 8 - }, - "iFirstFree": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cEntries": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_D3DKMDT_FREQUENCY_RANGE": { - "fields": { - "MinVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 0 - }, - "MaxVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 8 - }, - "MaxHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 24 - }, - "MinHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_11f8": { - "fields": { - "Apc": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KAPC" - }, - "offset": 0 - }, - "CompletionKey": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Overlay": { - "type": { - "kind": "struct", - "name": "__unnamed_11f5" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_18bf": { - "fields": { - "BaseMiddle": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "Flags1": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "Flags2": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "tagPROFILEVALUEINFO": { - "fields": { - "dwValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uSection": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pwszKeyName": { - "type": { - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_11f5": { - "fields": { - "Thread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "DeviceQueueEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" - }, - "offset": 0 - }, - "CurrentStackLocation": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_STACK_LOCATION" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "DriverContext": { - "type": { - "count": 4, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 0 - }, - "AuxiliaryBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "OriginalFileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "PacketType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 80 - }, - "__unnamed_125f": { - "fields": { - "AllocatedResources": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "AllocatedResourcesTranslated": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "D3DDDI_DXGI_RGB": { - "fields": { - "Blue": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "Green": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "Red": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1219": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FsControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_125b": { - "fields": { - "State": { - "type": { - "kind": "struct", - "name": "nt_symbols!_POWER_STATE" - }, - "offset": 16 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "SystemContext": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ShutdownType": { - "type": { - "kind": "enum", - "name": "ShutdownTypeEnum" - }, - "offset": 24 - }, - "SystemPowerStateContext": { - "type": { - "kind": "struct", - "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "HDC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagDISPLAYINFO": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "SpatialListHead": { - "type": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "offset": 144 - }, - "BitCountMax": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 130 - }, - "cyGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "hdcBits": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDesktopIsRect": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "hbmGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pmdev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "cFullScreen": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 160 - }, - "cxGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 128 - }, - "hDevInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fAnyPalette": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "pspbFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pMonitorPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 162 - }, - "pMonitorFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "hdcGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hrgnScreenReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cMonitors": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "hdcScreen": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "DockThresholdMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "pdceFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 168 - }, - "tagWin32AllocStats": { - "fields": { - "dwMaxAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwMaxMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwCrtAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwCrtMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18c5": { - "fields": { - "DefaultBig": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "BaseMiddle": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "LimitHigh": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 0 - }, - "System": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Granularity": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Dpl": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 0 - }, - "Type": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "Present": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "LongMode": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1261": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ProviderId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "BufferSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DataPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1263": { - "fields": { - "Argument4": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Argument2": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Argument3": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "Argument1": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1265": { - "fields": { - "DeviceIoControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121d" - }, - "offset": 0 - }, - "ReadWriteConfig": { - "type": { - "kind": "struct", - "name": "__unnamed_123d" - }, - "offset": 0 - }, - "Create": { - "type": { - "kind": "struct", - "name": "__unnamed_11ff" - }, - "offset": 0 - }, - "Write": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "PowerSequence": { - "type": { - "kind": "struct", - "name": "__unnamed_1253" - }, - "offset": 0 - }, - "QueryId": { - "type": { - "kind": "struct", - "name": "__unnamed_1243" - }, - "offset": 0 - }, - "SetFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1213" - }, - "offset": 0 - }, - "CreatePipe": { - "type": { - "kind": "struct", - "name": "__unnamed_1203" - }, - "offset": 0 - }, - "Power": { - "type": { - "kind": "struct", - "name": "__unnamed_125b" - }, - "offset": 0 - }, - "Read": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "StartDevice": { - "type": { - "kind": "struct", - "name": "__unnamed_125f" - }, - "offset": 0 - }, - "QueryDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120d" - }, - "offset": 0 - }, - "LockControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121b" - }, - "offset": 0 - }, - "QueryInterface": { - "type": { - "kind": "struct", - "name": "__unnamed_1233" - }, - "offset": 0 - }, - "Others": { - "type": { - "kind": "struct", - "name": "__unnamed_1263" - }, - "offset": 0 - }, - "FileSystemControl": { - "type": { - "kind": "struct", - "name": "__unnamed_1219" - }, - "offset": 0 - }, - "SetLock": { - "type": { - "kind": "struct", - "name": "__unnamed_123f" - }, - "offset": 0 - }, - "QueryDeviceText": { - "type": { - "kind": "struct", - "name": "__unnamed_1247" - }, - "offset": 0 - }, - "WMI": { - "type": { - "kind": "struct", - "name": "__unnamed_1261" - }, - "offset": 0 - }, - "CreateMailslot": { - "type": { - "kind": "struct", - "name": "__unnamed_1207" - }, - "offset": 0 - }, - "FilterResourceRequirements": { - "type": { - "kind": "struct", - "name": "__unnamed_123b" - }, - "offset": 0 - }, - "MountVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QueryVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1217" - }, - "offset": 0 - }, - "UsageNotification": { - "type": { - "kind": "struct", - "name": "__unnamed_124b" - }, - "offset": 0 - }, - "Scsi": { - "type": { - "kind": "struct", - "name": "__unnamed_1229" - }, - "offset": 0 - }, - "WaitWake": { - "type": { - "kind": "struct", - "name": "__unnamed_124f" - }, - "offset": 0 - }, - "QueryFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1211" - }, - "offset": 0 - }, - "VerifyVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QuerySecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_121f" - }, - "offset": 0 - }, - "QueryDeviceRelations": { - "type": { - "kind": "struct", - "name": "__unnamed_122d" - }, - "offset": 0 - }, - "NotifyDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120f" - }, - "offset": 0 - }, - "SetSecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_1221" - }, - "offset": 0 - }, - "DeviceCapabilities": { - "type": { - "kind": "struct", - "name": "__unnamed_1237" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1817": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1815": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "tagKbdLayer": { - "fields": { - "pVkToWcharTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHAR_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fLocaleFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "pCharModifiers": { - "type": { - "subtype": { - "kind": "struct", - "name": "MODIFIERS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pKeyNamesExt": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pDeadKey": { - "type": { - "subtype": { - "kind": "struct", - "name": "DEADKEY" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pusVSCtoVK": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pKeyNamesDead": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pLigature": { - "type": { - "subtype": { - "kind": "struct", - "name": "_LIGATURE1" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "cbLgEntry": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 85 - }, - "pKeyNames": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "dwSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "nLgMax": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 84 - }, - "pVSCtoVK_E1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pVSCtoVK_E0": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bMaxVSCtoVK": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1813": { - "fields": { - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { - "fields": { - "Centered": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "AspectRatioCenteredMax": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Stretched": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Custom": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1958": { - "fields": { - "MinBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "MaxBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_2DREGION": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "HRGN__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1954": { - "fields": { - "AffinityPolicy": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "PriorityPolicy": { - "type": { - "kind": "enum", - "name": "PriorityPolicyEnum" - }, - "offset": 12 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "MaximumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "TargetedProcessors": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "MinimumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_PROCMARKHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagSIZE": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagDESKTOPVIEW": { - "fields": { - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "pdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pdvNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1819": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { - "fields": { - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "PathAndTargetModeSetOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBTRACK": { - "fields": { - "spwndSBNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTimerSB": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "cmdSB": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "xxxpfnSB": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fTrackVert": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posNew": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 84 - }, - "posOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fCtlSB": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "rcTrack": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 32 - }, - "fTrackRecalc": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndSB": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "pxOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fHitOld": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "pSBCalc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBCALC" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "nBar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_16c1": { - "fields": { - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "MaxPixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_DMA_ADAPTER": { - "fields": { - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "DmaOperations": { - "type": { - "subtype": { - "kind": "struct", - "name": "_DMA_OPERATIONS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMONITOR": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "rcMonitorReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 28 - }, - "pMonitorNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hDevReal": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "hrgnMonitorReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "rcWorkReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 44 - }, - "dwMONFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cWndStack": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 74 - }, - "DockTargets": { - "type": { - "count": 7, - "subtype": { - "count": 4, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "kind": "array" - }, - "offset": 96 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 144 - }, - "__unnamed_180b": { - "fields": { - "Translated": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Raw": { - "type": { - "kind": "struct", - "name": "__unnamed_1809" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagRECT": { - "fields": { - "top": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "right": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "bottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "left": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_180d": { - "fields": { - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Port": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Channel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "MODIFIERS": { - "fields": { - "wMaxModBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "pVkToBit": { - "type": { - "subtype": { - "kind": "struct", - "name": "VK_TO_BIT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ModNumber": { - "type": { - "count": 0, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 10 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120f": { - "fields": { - "CompletionFilter": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120d": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 16 - }, - "FileName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { - "fields": { - "PathAndTargetModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 48 - }, - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 40 - }, - "SourceMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_SOURCE_MODE" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 480 - }, - "tagMSG": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 24 - }, - "pt": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 36 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "time": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "tagDPISERVERINFO": { - "fields": { - "hMsgFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hCaptionFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "gclBorder": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cxMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "wMaxBtnSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "cyMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { - "fields": { - "Blue": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 1024 - }, - "Green": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 512 - }, - "Red": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1536 - }, - "__unnamed_124f": { - "fields": { - "PowerState": { - "type": { - "kind": "enum", - "name": "PowerStateEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagWOWPROCESSINFO": { - "fields": { - "ptdbHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ptiScheduled": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "nRecvLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CSLockCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "nSendLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pEventWowExec": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lpfnWowExitTask": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "CSOwningThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "hEventWowExecClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwpiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "HTOUCHINPUT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMENU": { - "fields": { - "iItem": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "umpm": { - "type": { - "kind": "struct", - "name": "tagUAHMENUPOPUPMETRICS" - }, - "offset": 132 - }, - "cItems": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pParentMenus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "fFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "cxMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwContextHelpId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "cxTextAlign": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "cAlloced": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "hbrBack": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwArrowsOn": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 128 - }, - "iMaxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 124 - }, - "dwMenuData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "cyMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "rgItems": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagITEM" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "cyMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "_D3DDDI_GAMMA_RAMP_DXGI_1": { - "fields": { - "GammaCurve": { - "type": { - "count": 1025, - "subtype": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "kind": "array" - }, - "offset": 24 - }, - "Scale": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 0 - }, - "Offset": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 12324 - }, - "_MOVESIZEDATA": { - "fields": { - "fmsKbd": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "pStartMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "impy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 152 - }, - "fMoveFromMax": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapMoving": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "frcNormalCheckPtValid": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptMaxTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 96 - }, - "ptRestore": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 156 - }, - "fUsePreviewRect": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForceSizing": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fThresholdSelector": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 164 - }, - "ptStartHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 208 - }, - "fDragFullWindows": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForeground": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "dyMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 140 - }, - "fHasSoftwareCursor": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsHitPtOffScreen": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapSizingTemporaryAllowed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fCheckPtForcefullyRestored": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedRight": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ulCountDragOutOfLeftRightTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 228 - }, - "Unused": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 164 - }, - "dxMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 136 - }, - "fStartVerticallyMaximizedRight": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcParent": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 72 - }, - "fOffScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fWindowWasSuperMaximized": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedLeft": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "StartCurrentHitTarget": { - "type": { - "kind": "enum", - "name": "StartCurrentHitTargetEnum" - }, - "offset": 176 - }, - "fHasPreviewRect": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fLockWindowUpdate": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcPreview": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 40 - }, - "fSnapSizing": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsMoveSizeLoop": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fInitSize": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcDragCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "ulCountDragOutOfTopTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 224 - }, - "rcPreviewCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 56 - }, - "CurrentHitTarget": { - "type": { - "kind": "enum", - "name": "CurrentHitTargetEnum" - }, - "offset": 192 - }, - "fSnapMovingTemporaryAllowed": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fTrackCancelled": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 200 - }, - "ptLastTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 216 - }, - "cmd": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 144 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 164 - }, - "MoveRectStyle": { - "type": { - "kind": "enum", - "name": "MoveRectStyleEnum" - }, - "offset": 196 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "ulCountSizeOutOfTopBottomTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 232 - }, - "fStartVerticallyMaximizedLeft": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcNormalStartCheckPt": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 120 - }, - "ptMinTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 88 - }, - "rcDrag": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - }, - "pMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "impx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 148 - } - }, - "kind": "struct", - "size": 240 - }, - "_D3DDDI_RATIONAL": { - "fields": { - "Denominator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Numerator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "VWPL": { - "fields": { - "cElem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "aElement": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "VWPLELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "fTagged": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cThreshhold": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cPwnd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagTEXTMETRICW": { - "fields": { - "tmOverhang": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "tmPitchAndFamily": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 55 - }, - "tmStruckOut": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 54 - }, - "tmCharSet": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - }, - "tmDigitizedAspectX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "tmDigitizedAspectY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "tmFirstChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 44 - }, - "tmWeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "tmDescent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "tmDefaultChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 48 - }, - "tmLastChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 46 - }, - "tmMaxCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "tmItalic": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 52 - }, - "tmUnderlined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 53 - }, - "tmInternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "tmAscent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "tmHeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "tmAveCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "tmBreakChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 50 - }, - "tmExternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 60 - }, - "_SCATTER_GATHER_LIST": { - "fields": { - "Elements": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "_SCATTER_GATHER_ELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "NumberOfElements": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "HICON__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_HANDLEENTRY": { - "fields": { - "pOwner": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "bType": { - "type": { - "kind": "enum", - "name": "bTypeEnum" - }, - "offset": 16 - }, - "bFlags": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 17 - }, - "phead": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HEAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "wUniq": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - } - }, - "kind": "struct", - "size": 24 - }, - "_THRDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagSVR_INSTANCE_INFO": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nextInThisThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spwndEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "afCmd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pcii": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 80 - }, - "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { - "fields": { - "RequestDiagInfo": { - "type": { - "kind": "struct", - "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" - }, - "offset": 4 - }, - "AffectedVidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "VidPnSerialization": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPN_SERIALIZATION" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 28 - }, - "tagPOPUPMENU": { - "fields": { - "fDroppedLeft": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fIsSysMenu": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posDropped": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fIsMenuBar": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHierarchyDropped": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDropNextPopup": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fRightButton": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ppopupmenuRoot": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fFirstClick": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fRtoL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSendUninit": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fAboutToHide": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNextPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fFlushDelayedFree": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHasMenuBar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fTrackMouseEvent": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fNoNotify": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posSelectedItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fUseMonitorRect": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndPrevPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ppmDelayedFree": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "fFreed": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSynchronous": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenuAlternate": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fDestroyed": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "iDropDir": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "fIsTrackPopup": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndActivePopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "fInCancel": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fToggle": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDelayedFree": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHideTimer": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fShowTimer": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "_D3DKMDT_MONITOR_SOURCE_MODE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 84 - }, - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "ColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 68 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 88 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 96 - }, - "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 8 - }, - "Data": { - "type": { - "count": 128, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 12 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 140 - }, - "__unnamed_127c": { - "fields": { - "Wcb": { - "type": { - "kind": "struct", - "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" - }, - "offset": 0 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_D3DMATRIX": { - "fields": { - "_41": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 48 - }, - "_42": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 52 - }, - "_43": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 56 - }, - "_44": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 60 - }, - "_34": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 44 - }, - "_14": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 12 - }, - "_13": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "_12": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "_11": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - }, - "_24": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 28 - }, - "_31": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 32 - }, - "_33": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 40 - }, - "_32": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 36 - }, - "_22": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 20 - }, - "_23": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 24 - }, - "_21": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 64 - }, - "_LARGE_UNICODE_STRING": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumLength": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 4 - }, - "bAnsi": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "_VK_VALUES_STRINGS": { - "fields": { - "fReserved": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "pszMultiNames": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHID_TLC_INFO": { - "fields": { - "cExcludeOrphaned": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - }, - "cDevices": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "cExcludeRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cUsagePageRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "cDirectRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { - "fields": { - "Info": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_SOURCE_MODE" - }, - "offset": 0 - }, - "TimingType": { - "type": { - "kind": "enum", - "name": "TimingTypeEnum" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 104 - }, - "tagCURSOR": { - "fields": { - "rt": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 58 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCMARKHEAD" - }, - "offset": 0 - }, - "hbmUserAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "xHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 68 - }, - "hbmColor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pcurNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "CURSORF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hbmMask": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bpp": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 120 - }, - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 128 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "rcBounds": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 96 - }, - "atomModName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "hbmAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "yHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 70 - }, - "strName": { - "type": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 136 - }, - "_D3DKMDT_GAMMA_RAMP": { - "fields": { - "Data": { - "type": { - "kind": "struct", - "name": "__unnamed_182e" - }, - "offset": 16 - }, - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "HWND__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1207": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18a1": { - "fields": { - "Text": { - "type": { - "kind": "enum", - "name": "TextEnum" - }, - "offset": 0 - }, - "Graphics": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { - "fields": { - "TargetMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "offset": 360 - }, - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 432 - }, - "HKL__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1209": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagDCE": { - "fields": { - "hrgnClipPublic": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwndOrg": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pdceNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "DCX_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hdc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "hrgnSavedVis": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pwndRedirect": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pwndClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 96 - }, - "VSC_LPWSTR": { - "fields": { - "vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pwsz": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagQ": { - "fields": { - "hwndDblClk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "timeDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndFocus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 328 - }, - "cLockCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 322 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 312 - }, - "ptiSysLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "caret": { - "type": { - "kind": "struct", - "name": "tagCARET" - }, - "offset": 232 - }, - "ptiMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndActivePrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ptMouseMove": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 128 - }, - "msgDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "msgJournal": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "ptiKeyboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 320 - }, - "QF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 316 - }, - "mlInput": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 0 - }, - "spwndActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "codeCapture": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "idSysLock": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "spcurCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "ulEtwReserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "ptDblClk": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 120 - }, - "xbtnDblClk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 104 - }, - "afKeyRecentDown": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "afKeyState": { - "type": { - "count": 64, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 168 - }, - "spwndCapture": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "idSysPeek": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 344 - }, - "__unnamed_1203": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "HGESTUREINFO__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLS": { - "fields": { - "spcur": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 100 - }, - "pclsClone": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "lpszClientAnsiMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pclsBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "atomNVClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "pclsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "CSF_flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "lpszAnsiClassName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "spcpdFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "lpszClientUnicodeMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "cbclsExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 96 - }, - "lpszMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "spicnSm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "cWndReferenceCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "hbrBackground": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "spicn": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 12 - }, - "pdce": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "rpdeskParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "atomClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 160 - }, - "_PROCDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { - "fields": { - "CommitVidPnRequestOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumCommitVidPnRequests": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_VK_TO_FUNCTION_TABLE": { - "fields": { - "NLSFEProcType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "NLSFEProcCurrent": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcSwitch": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "NLSFEProcAlt": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 68 - }, - "NLSFEProc": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 132 - }, - "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { - "fields": { - "NumDescriptors": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "DescriptorSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 144 - }, - "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 112 - }, - "_CALLBACKWND": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { - "fields": { - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - }, - "TargetModeSet": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" - }, - "offset": 360 - } - }, - "kind": "struct", - "size": 440 - }, - "_VK_FUNCTION_PARAM": { - "fields": { - "NLSFEProcIndex": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcParam": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBCALC": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "pxStart": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "pxThumbBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "cpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "pxMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pxThumbTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "pxDownArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cpx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "pxBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "pxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pxLeft": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "pxRight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "pxUpArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "HDESK__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "HIMC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { - "fields": { - "SecondChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "FourthChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "ThirdChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FirstChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMENUSTATE": { - "fields": { - "cxAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 116 - }, - "pGlobalPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "uDraggingIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "fNotifyByPos": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInCallHandleMenuMessages": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ixAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "dwLockCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "fAutoDismiss": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fIsSysMenu": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "dwAniStartTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "uButtonDownHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "fIgnoreButtonUp": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptButtonDown": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 56 - }, - "fMenuStarted": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "iAniDropDir": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 8 - }, - "hdcAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "fModelessMenu": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hbmAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "fInEndMenu": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 92 - }, - "vkButtonDown": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fSetCapture": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInDoDragDrop": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fActiveNoForeground": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fMouseOffMenu": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fDragAndDrop": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInsideMenuLoop": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 80 - }, - "fButtonDown": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptiMenuStateOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "iyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 112 - }, - "hdcWndAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "fAboutToAutoDismiss": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "mnFocus": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "uButtonDownIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "fButtonAlwaysDown": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fUnderline": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptMouseLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 12 - }, - "pmnsPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fDragging": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "cmdLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 144 - }, - "VK_TO_BIT": { - "fields": { - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModBits": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - } - }, - "kind": "struct", - "size": 2 - }, - "tagWOWTHREADINFO": { - "fields": { - "pIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "idParentProcess": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "idTask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwtiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "idWaitObject": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 40 - }, - "__unnamed_1805": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1211": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1213": { - "fields": { - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - }, - "AdvanceOnly": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 25 - }, - "ClusterCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "DeleteHandle": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReplaceIfExists": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 24 - }, - "FileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1217": { - "fields": { - "FsInformationClass": { - "type": { - "kind": "enum", - "name": "FsInformationClassEnum" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_123b": { - "fields": { - "IoResourceRequirementList": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_122d": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1950": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagITEM": { - "fields": { - "fType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ulX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "wID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwItemData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "hbmpChecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "xItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "spSubMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hbmpUnchecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fState": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dxTab": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "cxBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 104 - }, - "yItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "cyItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 76 - }, - "umim": { - "type": { - "kind": "struct", - "name": "tagUAHMENUITEMMETRICS" - }, - "offset": 112 - }, - "cch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "ulWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "cyBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "lpstr": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cxItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "hbmp": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 144 - }, - "tagIMEINFOEX": { - "fields": { - "dwImeWinVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fSysWow64Only": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "fInitOpen": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "wszImeDescription": { - "type": { - "count": 50, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 88 - }, - "fCUASLayer": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "ImeInfo": { - "type": { - "kind": "struct", - "name": "tagIMEINFO" - }, - "offset": 8 - }, - "wszImeFile": { - "type": { - "count": 80, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 188 - }, - "wszUIClass": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 36 - }, - "fLoadFlag": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "dwProdVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fdwInitConvMode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - } - }, - "kind": "struct", - "size": 352 - }, - "__unnamed_1962": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1958" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_1956" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_195e" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_195c" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "ConfigData": { - "type": { - "kind": "struct", - "name": "__unnamed_195a" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1960" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1954" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagMSGPPINFO": { - "fields": { - "dwIndexMsgPP": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagSBINFO": { - "fields": { - "WSBflags": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "Horz": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 4 - }, - "Vert": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 36 - }, - "VWPLELEMENT": { - "fields": { - "DataOrTag": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSBDATA": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "_VSC_VK": { - "fields": { - "Vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123f": { - "fields": { - "Lock": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1 - }, - "_SCATTER_GATHER_ELEMENT": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "Address": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagWND": { - "fields": { - "spwndLastActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "bWS_CLIPCHILDREN": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bMaximizeButtonDown": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bUIStateActive": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_TABSTOP": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDialogWindow": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "bMinimizeButtonDown": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HIMC__" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "bChildNoActivate": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_LAYERED": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bStartPaint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedLeft": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bHiddenPopup": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSendEraseBackground": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin50Compat": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_CLIENTEDGE": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 66 - }, - "bWS_EX_TOOLWINDOW": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bDisabled": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bAnsiWindowProc": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin40Compat": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcClient": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 128 - }, - "bAnsiCreator": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bAnyScrollButtonDown": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bSendSizeMoveMsgs": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bLinked": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bSendNCPaint": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bInternalPaint": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasClientEdge": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasPalette": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasHorizontalScrollbar": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUIStateFocusRectHidden": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_DLGFRAME": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_MDICHILD": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasVerticalScrollbar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved2": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bActiveFrame": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bNoNCPaint": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasSPB": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_MINIMIZEBOX": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarVerticalTracking": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_DLGMODALFRAME": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TRANSPARENT": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bPaintNotProcessed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSyncPaintPending": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "bShellHookRegistered": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndChild": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "bUnused5": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bInDestroy": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "state": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "bWS_EX_LEFTSCROLLBAR": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bToggleTopmost": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_VSCROLL": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "ExStyle": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "bWS_HSCROLL": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUpdateDirty": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWMPaintSent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_WINDOWEDGE": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_ACCEPTFILE": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_GROUP": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bVisible": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bVerticallyMaximizedRight": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bForceMenuDraw": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bForceNCPaint": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bOldUI": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndClipboardListenerNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "bWS_EX_NOPADDEDBORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bNoMinmaxAnimatedRects": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bWS_MAXIMIZEBOX": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bHasCaption": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bEraseBackground": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "spwndOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "subPointer": { - "type": { - "subtype": { - "kind": "struct", - "name": "subTagWNDType" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 232 - }, - "bMakeVisibleWhenUnghosted": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused8": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bUnused9": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 52 - }, - "bForceFullNCPaintClipRgn": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_RTLREADING": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused1": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused2": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused3": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused4": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasMeun": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused6": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused7": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bSmallIconFromWMQueryDrag": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bClipboardListener": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bScrollBarLineDownBtnDown": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedirectedForPrint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_RIGHT": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasCreatestructName": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITED": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bFullScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnUpdate": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "bConsoleWindow": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "ppropList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROPLIST" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bWS_EX_TOPMOST": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bScrollBarPageDownBtnDown": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarLineUpBtnDown": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRecievedQuerySuspendMsg": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bMaximizeMonitorRegion": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedrawIfHung": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_POPUP": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTEXTHELP": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "dwUserData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 256 - }, - "hMod16": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 64 - }, - "FullScreenMode": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 44 - }, - "bLayeredLimbo": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_NOINHERITLAYOUT": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_LAYOUTRTL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUIStateKbdAccelHidden": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_BORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_SIZEBOX": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDestroyed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bServerSideWindowProc": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bCaptionTextTruncated": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 112 - }, - "bEndPaintInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnNewFrame": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "bBeingActivated": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITEDCompositing": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWMCreateMsgProcessed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_NOACTIVATE": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_APPWINDOW": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pSBInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBINFO" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "directName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!String" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bCloseButtonDown": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bMaximized": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_CHILD": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "bWS_THICKFRAME": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTROLPARENT": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pcls": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bLayeredForDWM": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bMsgBox": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHelpButtonDown": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasOverlay": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bRedrawFrameIfHung": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_NOPARENTNOTIFY": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bMaximizesToMonitor": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bBottomMost": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bReserved1": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bRedirected": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved3": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved4": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved5": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved6": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved7": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "spwndPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bLayeredInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "state2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "bWS_CLIPSIBLINGS": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarPageUpBtnDown": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "pTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DMATRIX" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "bWin31Compat": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "ExStyle2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "bHIGHDPI_UNAWARE_Unused": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_SYSMENU": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "strName": { - "type": { - "kind": "struct", - "name": "_LARGE_UNICODE_STRING" - }, - "offset": 232 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "bMinimized": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bRecievedSuspendMsg": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_STATICEDGE": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 296 - }, - "_WM_VALUES_STRINGS": { - "fields": { - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "fInternal": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "fDefined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { - "fields": { - "VisibleRegionSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 8 - }, - "Stride": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "PixelFormat": { - "type": { - "kind": "enum", - "name": "PixelFormatEnum" - }, - "offset": 20 - }, - "PixelValueAccessMode": { - "type": { - "kind": "enum", - "name": "PixelValueAccessModeEnum" - }, - "offset": 28 - }, - "PrimSurfSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "_VK_TO_WCHARS1": { - "fields": { - "Attributes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "_TLSPRITESTATE": { - "fields": { - "flOriginalSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "iSpriteType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pfnSaveScreenBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bInsideDriverCall": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pfnStrokePath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnTransparentBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnPaint": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnStretchBltROP": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "iType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "pfnPlgBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnCopyBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "iOriginalType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pfnTextOut": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDrawStream": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStrokeAndFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnLineTo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnStretchBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGradientFill": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnAlphaBlend": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "flSpriteSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "pfnBitBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 168 - }, - "tagUAHMENUITEMMETRICS": { - "fields": { - "rgsizeBar": { - "type": { - "count": 2, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - }, - "rgsizePopup": { - "type": { - "count": 4, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_121b": { - "fields": { - "Length": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1229": { - "fields": { - "Srb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_SCSI_REQUEST_BLOCK" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_121f": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1225": { - "fields": { - "DeviceObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Vpb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_VPB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "subTagWNDType": { - "fields": { - "style_bitmask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - } - }, - "kind": "struct", - "size": 128 - }, - "_HEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagIMEINFO": { - "fields": { - "fdwProperty": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "fdwSelectCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fdwUICaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwPrivateDataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fdwSCSCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "fdwSentenceCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "fdwConversionCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 28 - }, - "_DXGK_DIAG_CODE_POINT_PACKET": { - "fields": { - "Header": { - "type": { - "kind": "struct", - "name": "_DXGK_DIAG_HEADER" - }, - "offset": 0 - }, - "Param3": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "Param1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CodePointType": { - "type": { - "kind": "enum", - "name": "CodePointTypeEnum" - }, - "offset": 48 - }, - "Param2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_SOURCE_MODE": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Format": { - "type": { - "kind": "struct", - "name": "__unnamed_18a1" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagW32JOB": { - "fields": { - "restrictions": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ughCrt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ughMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pgh": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long long" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EJOB" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ppiTable": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "uProcessCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "uMaxProcesses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { - "fields": { - "NumFrequencyRanges": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "FrequencyRangeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 56 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { - "fields": { - "APSTriggerBits": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "CopyProtectionType": { - "type": { - "kind": "enum", - "name": "CopyProtectionTypeEnum" - }, - "offset": 0 - }, - "CopyProtectionSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" - }, - "offset": 264 - }, - "OEMCopyProtection": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 268 - }, - "tagWINDOWSTATION": { - "fields": { - "pClipBase": { - "type": { - "subtype": { - "count": 104, - "subtype": { - "kind": "struct", - "name": "tagCLIP" - }, - "kind": "array" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "cNumClipFormats": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "luidUser": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 136 - }, - "pGlobalAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "ptiClipLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "dwWSF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "rpdeskList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spklList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spwndClipOpen": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "luidEndSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 128 - }, - "pTerm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTERMINAL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndClipboardListener": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "spwndClipViewer": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iClipSequenceNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "ptiDrawingClipboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "spwndClipOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "psidUser": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "rpwinstaNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 152 - }, - "tagDESKTOPINFO": { - "fields": { - "spwndProgman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "pvwplMessagePPHandler": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 224 - }, - "pvDesktopLimit": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fComposited": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndGestureEngine": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "pvDesktopBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwndShell": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "ppiShellProcess": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pvwplShellHook": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "fIsDwmDesktop": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndTaskman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 40 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cntMBox": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 208 - }, - "spwndBkGnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 240 - }, - "tagMBSTRING": { - "fields": { - "szName": { - "type": { - "count": 15, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 0 - }, - "uID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "uStr": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DKMDT_VIDPN_TARGET_MODE": { - "fields": { - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 72 - }, - "_DMM_VIDPNSET_SERIALIZATION": { - "fields": { - "VidPnOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumVidPns": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagKBDFILE": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "awchDllName": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 56 - }, - "pKbdTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdLayer" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pkfNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pKbdNlsTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdNlsLayer" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_11e4": { - "fields": { - "UserApcContext": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "UserApcRoutine": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "IssuingProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_W32PROCESS": { - "fields": { - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 256 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { - "fields": { - "Scaling": { - "type": { - "kind": "enum", - "name": "ScalingEnum" - }, - "offset": 0 - }, - "RotationSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" - }, - "offset": 12 - }, - "Rotation": { - "type": { - "kind": "enum", - "name": "RotationEnum" - }, - "offset": 8 - }, - "ScalingSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSERVERINFO": { - "fields": { - "uiShellMsg": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 912 - }, - "cbHandleTable": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 848 - }, - "atomSysClass": { - "type": { - "count": 25, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 852 - }, - "dtScroll": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2800 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2952 - }, - "atomIconSmProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1356 - }, - "argbSystemUnmatched": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2268 - }, - "dwTagCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4632 - }, - "ucWheelScrollLines": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2812 - }, - "ptCursorReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2784 - }, - "ucWheelScrollChars": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2816 - }, - "acOemToAnsi": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1364 - }, - "cySysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2832 - }, - "atomFrostedWindowProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1362 - }, - "mpFnid_serverCBWndProc": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 328 - }, - "PUSIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4476 - }, - "BitCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4468 - }, - "argbSystem": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2392 - }, - "dtLBSearch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2804 - }, - "dtCaretBlink": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2808 - }, - "dwInstalledEventHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 1876 - }, - "apfnClientA": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 392 - }, - "cxSysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2828 - }, - "hbrGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 2768 - }, - "ahbrSystem": { - "type": { - "count": 31, - "subtype": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 2520 - }, - "dwDefaultHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "wMaxRightOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2824 - }, - "dwSRVIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "oembmi": { - "type": { - "count": 93, - "subtype": { - "kind": "struct", - "name": "tagOEMBITMAPINFO" - }, - "kind": "array" - }, - "offset": 2964 - }, - "apfnClientWorker": { - "type": { - "kind": "struct", - "name": "_PFNCLIENTWORKER" - }, - "offset": 760 - }, - "dwDefaultHeapBase": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 904 - }, - "BitsPixel": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4473 - }, - "wMaxLeftOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2820 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4470 - }, - "dwLastSystemRITEventTickCountUpdate": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4488 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2796 - }, - "atomIconProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1358 - }, - "Planes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4472 - }, - "dpiSystem": { - "type": { - "kind": "struct", - "name": "tagDPISERVERINFO" - }, - "offset": 2896 - }, - "hIcoWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2944 - }, - "apfnClientW": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 576 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2956 - }, - "MBStrings": { - "type": { - "count": 11, - "subtype": { - "kind": "struct", - "name": "tagMBSTRING" - }, - "kind": "array" - }, - "offset": 916 - }, - "atomContextHelpIdProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1360 - }, - "adwDBGTAGFlags": { - "type": { - "count": 35, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4492 - }, - "aiSysMet": { - "type": { - "count": 97, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 1880 - }, - "dwRIPFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4636 - }, - "uCaretWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4480 - }, - "cCaptures": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2960 - }, - "tmSysFont": { - "type": { - "kind": "struct", - "name": "tagTEXTMETRICW" - }, - "offset": 2836 - }, - "cHandleEntries": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ptCursor": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2776 - }, - "hIconSmWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2936 - }, - "mpFnidPfn": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "UILangID": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4484 - }, - "acAnsiToOem": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1620 - }, - "aStoCidPfn": { - "type": { - "count": 7, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 272 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 4452 - }, - "dwLastRITEventTickCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2792 - } - }, - "kind": "struct", - "size": 4640 - }, - "tagPOOLRECORD": { - "fields": { - "ExtraData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "trace": { - "type": { - "count": 6, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "__unnamed_195a": { - "fields": { - "Priority": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagUSERSTARTUPINFO": { - "fields": { - "dwYSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cbReserved2": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 26 - }, - "cb": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dwY": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwXSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "wShowWindow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 28 - }, - "_DMM_VIDPN_SERIALIZATION": { - "fields": { - "PathsFromSourceSerializationOffsets": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 8 - }, - "NumActiveSources": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_11df": { - "fields": { - "IrpCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "SystemBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MasterIrp": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IRP" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagHID_PAGEONLY_REQUEST": { - "fields": { - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cRefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1233": { - "fields": { - "Interface": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_INTERFACE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "InterfaceSpecificData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "InterfaceType": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_GUID" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagQMSG": { - "fields": { - "Padding": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 80 - }, - "ptMouseReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 72 - }, - "FromPen": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 64 - }, - "Wow64Message": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 96 - }, - "dwQEvent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 30 - }, - "offset": 80 - }, - "pqmsgPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FromTouch": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "NoCoalesce": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "msg": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 16 - }, - "pqmsgNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1237": { - "fields": { - "Capabilities": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_CAPABILITIES" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_11e6": { - "fields": { - "AsynchronousParameters": { - "type": { - "kind": "struct", - "name": "__unnamed_11e4" - }, - "offset": 0 - }, - "AllocationSize": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagDESKTOP": { - "fields": { - "spmenuVScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "dwMouseHoverTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 212 - }, - "rpwinstaParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spmenuDialogSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndForeground": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenuHScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "spwndTooltip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndMessage": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cciConsole": { - "type": { - "kind": "struct", - "name": "_CONSOLE_CARET_INFO" - }, - "offset": 144 - }, - "PtiList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 168 - }, - "spwndTray": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "rpdeskNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwDTFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pMagInputTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MAGNIFICATION_INPUT_TRANSFORM" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "htEx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 192 - }, - "ulHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "pheapDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!tagWIN32HEAP" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "rcMouseHover": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 196 - }, - "hsectionDesktop": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "dwDesktopId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 224 - }, - "_MAGNIFICATION_INPUT_TRANSFORM": { - "fields": { - "rcScreen": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 16 - }, - "magFactorX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "magFactorY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "ptiMagThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rcSource": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 48 - }, - "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 0 - }, - "ConstraintType": { - "type": { - "kind": "enum", - "name": "ConstraintTypeEnum" - }, - "offset": 36 - }, - "RangeLimits": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_FREQUENCY_RANGE" - }, - "offset": 4 - }, - "Constraint": { - "type": { - "kind": "struct", - "name": "__unnamed_16c1" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_121d": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IoControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_PFNCLIENTWORKER": { - "fields": { - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnCtfHookProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_12e0": { - "fields": { - "InitialPrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" - }, - "offset": 0 - }, - "PrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_PRIVILEGE_SET" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 44 - }, - "tagMENULIST": { - "fields": { - "pMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_DMA_OPERATIONS": { - "fields": { - "PutDmaAdapter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FreeMapRegisters": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "MapTransfer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "FreeCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReadDmaCounter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "AllocateCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "PutScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "BuildMdlFromScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "GetScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "CalculateScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "FreeAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "GetDmaAlignment": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "FlushAdapterBuffers": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "AllocateAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "BuildScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 128 - }, - "__unnamed_1811": { - "fields": { - "Start": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagSPB": { - "fields": { - "hbm": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hrgn": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ulSaveId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "pspbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "tagWin32PoolHead": { - "fields": { - "pPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pTrace": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DXGK_DIAG_HEADER": { - "fields": { - "Index": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "ProcessName": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 16 - }, - "LogTimestamp": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ThreadId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - }, - "WdLogIdx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 48 - }, - "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { - "fields": { - "CleanupAfterFailedCommitVidPn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ModeChangeRequestId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "ReclaimClonedTarget": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ForceAllActiveVidPnModeListInvalidation": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 12 - }, - "tagTOUCHINPUT": { - "fields": { - "dwExtraInfo": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "hSource": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dwMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cyContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "cxContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "dwTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 48 - }, - "_SM_VALUES_STRINGS": { - "fields": { - "StorageType": { - "type": { - "kind": "enum", - "name": "StorageTypeEnum" - }, - "offset": 16 - }, - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "RangeType": { - "type": { - "kind": "enum", - "name": "RangeTypeEnum" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1956": { - "fields": { - "MinimumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "_D3DKMDT_VIDEO_SIGNAL_INFO": { - "fields": { - "VSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 20 - }, - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 12 - }, - "PixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "TotalSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 4 - }, - "VideoStandard": { - "type": { - "kind": "enum", - "name": "VideoStandardEnum" - }, - "offset": 0 - }, - "ScanLineOrdering": { - "type": { - "kind": "enum", - "name": "ScanLineOrderingEnum" - }, - "offset": 48 - }, - "HSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 56 - }, - "tagTERMINAL": { - "fields": { - "spwndDesktopOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pEventInputReady": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "rpdeskDestroy": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pqDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwTERMF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwNestedLevel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ptiDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pEventTermInit": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "HFONT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { - "fields": { - "MacroVisionFull": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "MacroVisionApsTrigger": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "NoProtection": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 29 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_PFNCLIENT": { - "fields": { - "pfnDispatchDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnDispatchHook": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "pfnDesktopWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "pfnScrollBarWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnMessageWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnSwitchWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnHkINLPCWPSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnTitleWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnHkINLPCWPRETSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnMenuWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDispatchMessage": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pfnDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnMDIActivateDlgProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 176 - } - }, - "kind": "struct", - "size": 184 - }, - "tagOEMBITMAPINFO": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1221": { - "fields": { - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "SecurityDescriptor": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_KLIST_ENTRY": { - "fields": { - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HMONITOR__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1247": { - "fields": { - "DeviceTextType": { - "type": { - "kind": "enum", - "name": "DeviceTextTypeEnum" - }, - "offset": 0 - }, - "LocaleId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagCLIENTINFO": { - "fields": { - "msgDbcsCB": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 160 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "achDbcsCF": { - "type": { - "count": 2, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 154 - }, - "dwTIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "pClientThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 152 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "dwHookCurrent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "afAsyncKeyStateRecentDown": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwHookData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "afAsyncKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 128 - }, - "CallbackWnd": { - "type": { - "kind": "struct", - "name": "_CALLBACKWND" - }, - "offset": 64 - }, - "lpdwRegisteredClasses": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "cInDDEMLCallback": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 92 - }, - "cSpins": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "hKL": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "afKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 116 - }, - "CI_flags": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "phkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 216 - }, - "_DMM_MONITOR_SERIALIZATION": { - "fields": { - "SourceModeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FrequencyRangeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "DescriptorSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ModePruningAlgorithm": { - "type": { - "kind": "enum", - "name": "ModePruningAlgorithmEnum" - }, - "offset": 16 - }, - "VideoPresentTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "IsUsingDefaultProfile": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 13 - }, - "MonitorPowerState": { - "type": { - "kind": "enum", - "name": "MonitorPowerStateEnum" - }, - "offset": 20 - }, - "MonitorType": { - "type": { - "kind": "enum", - "name": "MonitorTypeEnum" - }, - "offset": 36 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IsSimulatedMonitor": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 12 - }, - "Orientation": { - "type": { - "kind": "enum", - "name": "OrientationEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagPROP": { - "fields": { - "fs": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "atomKey": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1243": { - "fields": { - "IdType": { - "type": { - "kind": "enum", - "name": "IdTypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123d": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "WhichSpace": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Offset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_WNDMSG": { - "fields": { - "abMsgs": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "maxMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSHAREDINFO": { - "fields": { - "psi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSERVERINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulSharedDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "aheList": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HANDLEENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "DefWindowSpecMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 552 - }, - "awmControl": { - "type": { - "count": 31, - "subtype": { - "kind": "struct", - "name": "_WNDMSG" - }, - "kind": "array" - }, - "offset": 40 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "HeEntrySize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DefWindowMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 536 - } - }, - "kind": "struct", - "size": 568 - }, - "__unnamed_181b": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1811" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_180d" - }, - "offset": 0 - }, - "DeviceSpecificData": { - "type": { - "kind": "struct", - "name": "__unnamed_1813" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_1817" - }, - "offset": 0 - }, - "MessageInterrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_180b" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_1815" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1819" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPOINT": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagIMC": { - "fields": { - "dwClientImcData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "hImeWnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pImcNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "tagKL": { - "fields": { - "uNumTbl": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "pklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "pklNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spkfPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "dwFontSigs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLastKbdType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 72 - }, - "dwKL_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "iBaseCharset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "dwKLID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "spkf": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "piiex": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMEINFOEX" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pspkfExtra": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "wchDiacritic": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 74 - }, - "dwLastKbdSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_115b": { - "fields": { - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_182e": { - "fields": { - "pRgb256x3x16": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pRaw": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pDxgi1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagTDB": { - "fields": { - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "TDB_Flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "pwti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "nPriority": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "ptdbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagCARET": { - "fields": { - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "iHideLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "hTimer": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "yOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "xOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "fVisible": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hBitmap": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cxOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cyOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "tid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "fOn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_LIGATURE1": { - "fields": { - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 4 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModificationNumber": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 6 + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" } - }, - "base_types": { - "unsigned char": { - "kind": "char", - "endian": "little", - "signed": false, - "size": 1 - }, - "float": { - "kind": "float", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "wchar": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "pointer": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - }, - "unsigned int": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "short": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned short": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 2 - }, - "long long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 8 - }, - "unsigned long long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - } - }, - "enums": { - "TextEnum": { - "base": "long", - "constants": { - "D3DKMDT_TRF_UNINITIALIZED": 0 - }, - "size": 4 - }, - "PreferenceEnum": { - "base": "long", - "constants": { - "D3DKMDT_MP_PREFERRED": 1, - "D3DKMDT_MP_MAXVALID": 2, - "D3DKMDT_MP_UNINITIALIZED": 0 - }, - "size": 4 - }, - "FileInformationClassEnum": { - "base": "long", - "constants": { - "FileInternalInformation": 6, - "FileQuotaInformation": 32, - "FileIoStatusBlockRangeInformation": 42, - "FilePipeLocalInformation": 24, - "FileStandardLinkInformation": 54, - "FileIdFullDirectoryInformation": 38, - "FileLinkInformation": 11, - "FileFullDirectoryInformation": 2, - "FileAllInformation": 18, - "FileSfioVolumeInformation": 45, - "FileStreamInformation": 22, - "FileRenameInformation": 10, - "FileValidDataLengthInformation": 39, - "FileAlternateNameInformation": 21, - "FileBasicInformation": 4, - "FilePositionInformation": 14, - "FileCompletionInformation": 30, - "FileAttributeCacheInformation": 52, - "FileReparsePointInformation": 33, - "FileMailslotSetInformation": 27, - "FileNetworkPhysicalNameInformation": 49, - "FileAllocationInformation": 19, - "FileIsRemoteDeviceInformation": 51, - "FileFullEaInformation": 15, - "FileProcessIdsUsingFileInformation": 47, - "FileDispositionInformation": 13, - "FileStandardInformation": 5, - "FileAccessInformation": 8, - "FileNumaNodeInformation": 53, - "FilePipeRemoteInformation": 25, - "FileIoPriorityHintInformation": 43, - "FileMailslotQueryInformation": 26, - "FileRemoteProtocolInformation": 55, - "FileNamesInformation": 12, - "FileHardLinkInformation": 46, - "FileEndOfFileInformation": 20, - "FileIdBothDirectoryInformation": 37, - "FileSfioReserveInformation": 44, - "FileIdGlobalTxDirectoryInformation": 50, - "FileNetworkOpenInformation": 34, - "FileObjectIdInformation": 29, - "FileMoveClusterInformation": 31, - "FileIoCompletionNotificationInformation": 41, - "FileNameInformation": 9, - "FileBothDirectoryInformation": 3, - "FileDirectoryInformation": 1, - "FileMaximumInformation": 56, - "FileNormalizedNameInformation": 48, - "FilePipeInformation": 23, - "FileCompressionInformation": 28, - "FileTrackingInformation": 36, - "FileEaInformation": 7, - "FileShortNameInformation": 40, - "FileModeInformation": 16, - "FileAlignmentInformation": 17, - "FileAttributeTagInformation": 35 - }, - "size": 4 - }, - "ModePruningAlgorithmEnum": { - "base": "long", - "constants": { - "DMM_MPA_MAXVALID": 3, - "DMM_MPA_GDI": 1, - "DMM_MPA_VISTA": 2, - "DMM_MPA_UNINITIALIZED": 0 - }, - "size": 4 - }, - "fmtEnum": { - "base": "unsigned long", - "constants": { - "CF_ENHMETAFILE": 14, - "CF_PENDATA": 10, - "CF_BITMAP": 2, - "CF_UNICODETEXT": 13, - "CF_HDROP": 15, - "CF_OEMTEXT": 7, - "CF_WAVE": 12, - "CF_DSPTEXT": 129, - "CF_DIBV5": 17, - "CF_TIFF": 6, - "CF_PALETTE": 9, - "CF_OWNERDISPLAY": 128, - "CF_DSPMETAFILEPICT": 131, - "CF_METAFILEPICT": 3, - "CF_RIFF": 11, - "CF_DSPENHMETAFILE": 142, - "CF_TEXT": 1, - "CF_LOCALE": 16, - "CF_SYLK": 4, - "CF_DSPBITMAP": 130, - "CF_DIB": 8, - "CF_DIF": 5 - }, - "size": 4 - }, - "MonitorPowerStateEnum": { - "base": "long", - "constants": { - "PowerDeviceUnspecified": 0, - "PowerDeviceD0": 1, - "PowerDeviceD1": 2, - "PowerDeviceD2": 3, - "PowerDeviceD3": 4, - "PowerDeviceMaximum": 5 - }, - "size": 4 - }, - "bTypeEnum": { - "base": "unsigned char", - "constants": { - "TYPE_DDEXACT": 11, - "TYPE_HOOK": 5, - "TYPE_FREE": 0, - "TYPE_MONITOR": 12, - "TYPE_GESTURE": 21, - "TYPE_DEVICEINFO": 19, - "TYPE_DDEACCESS": 9, - "TYPE_CALLPROC": 7, - "TYPE_CURSOR": 3, - "TYPE_KBDLAYOUT": 13, - "TYPE_WINEVENTHOOK": 15, - "TYPE_MENU": 2, - "TYPE_ACCELTABLE": 8, - "TYPE_TOUCH": 20, - "TYPE_SETWINDOWPOS": 4, - "TYPE_CLIPDATA": 6, - "TYPE_KBDFILE": 14, - "TYPE_DDECONV": 10, - "TYPE_HIDDATA": 18, - "TYPE_WINDOW": 1, - "TYPE_INPUTCONTEXT": 17, - "TYPE_TIMER": 16 - }, - "size": 1 - }, - "OriginEnum": { - "base": "long", - "constants": { - "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, - "D3DKMDT_MCO_UNINITIALIZED": 0, - "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, - "D3DKMDT_MCO_MAXVALID": 5, - "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, - "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 - }, - "size": 4 - }, - "CodePointTypeEnum": { - "base": "long", - "constants": { - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, - "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, - "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, - "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, - "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, - "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, - "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, - "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, - "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, - "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, - "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, - "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, - "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, - "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, - "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, - "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, - "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, - "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, - "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, - "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, - "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, - "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, - "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, - "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, - "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, - "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, - "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, - "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 - }, - "size": 4 - }, - "ConstraintTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MFRC_MAXPIXELRATE": 2, - "D3DKMDT_MFRC_ACTIVESIZE": 1, - "D3DKMDT_MFRC_UNINITIALIZED": 0 - }, - "size": 4 - }, - "VidPnTargetColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorTypeEnum": { - "base": "long", - "constants": { - "DMM_VMT_TEMPORARY_MONITOR": 4, - "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, - "DMM_VMT_PHYSICAL_MONITOR": 1, - "DMM_VMT_UNINITIALIZED": 0, - "DMM_VMT_SIMULATED_MONITOR": 5, - "DMM_VMT_PERSISTENT_MONITOR": 3 - }, - "size": 4 - }, - "PowerStateEnum": { - "base": "long", - "constants": { - "PowerSystemSleeping2": 3, - "PowerSystemSleeping1": 2, - "PowerSystemSleeping3": 4, - "PowerSystemUnspecified": 0, - "PowerSystemMaximum": 7, - "PowerSystemShutdown": 6, - "PowerSystemHibernate": 5, - "PowerSystemWorking": 1 - }, - "size": 4 - }, - "ShutdownTypeEnum": { - "base": "long", - "constants": { - "PowerActionNone": 0, - "PowerActionReserved": 1, - "PowerActionHibernate": 3, - "PowerActionShutdownOff": 6, - "PowerActionShutdown": 4, - "PowerActionSleep": 2, - "PowerActionShutdownReset": 5, - "PowerActionWarmEject": 7 - }, - "size": 4 - }, - "ScalingEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPS_CENTERED": 2, - "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, - "D3DKMDT_VPPS_STRETCHED": 3, - "D3DKMDT_VPPS_UNINITIALIZED": 0, - "D3DKMDT_VPPS_UNPINNED": 254, - "D3DKMDT_VPPS_IDENTITY": 1, - "D3DKMDT_VPPS_NOTSPECIFIED": 255, - "D3DKMDT_VPPS_CUSTOM": 5, - "D3DKMDT_VPPS_RESERVED1": 253 - }, - "size": 4 - }, - "CurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "StorageTypeEnum": { - "base": "long", - "constants": { - "SmStorageActual": 0, - "SmStorageNonActual": 1 - }, - "size": 4 - }, - "ScanLineOrderingEnum": { - "base": "long", - "constants": { - "D3DDDI_VSSLO_PROGRESSIVE": 1, - "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, - "D3DDDI_VSSLO_UNINITIALIZED": 0, - "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, - "D3DDDI_VSSLO_OTHER": 255 - }, - "size": 4 - }, - "PixelValueAccessModeEnum": { - "base": "long", - "constants": { - "D3DKMDT_PVAM_UNINITIALIZED": 0, - "D3DKMDT_PVAM_DIRECT": 1, - "D3DKMDT_PVAM_PRESETPALETTE": 2, - "D3DKMDT_PVAM_MAXVALID": 3 - }, - "size": 4 - }, - "PriorityPolicyEnum": { - "base": "long", - "constants": { - "IrqPriorityHigh": 3, - "IrqPriorityNormal": 2, - "IrqPriorityLow": 1, - "IrqPriorityUndefined": 0 - }, - "size": 4 - }, - "OrientationEnum": { - "base": "long", - "constants": { - "D3DKMDT_MO_90DEG": 2, - "D3DKMDT_MO_0DEG": 1, - "D3DKMDT_MO_270DEG": 4, - "D3DKMDT_MO_UNINITIALIZED": 0, - "D3DKMDT_MO_180DEG": 3 - }, - "size": 4 - }, - "ContentEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPC_NOTSPECIFIED": 255, - "D3DKMDT_VPPC_UNINITIALIZED": 0, - "D3DKMDT_VPPC_GRAPHICS": 1, - "D3DKMDT_VPPC_VIDEO": 2 - }, - "size": 4 - }, - "ColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MoveRectStyleEnum": { - "base": "long", - "constants": { - "MoveRectMidTopAtCursor": 1, - "MoveRectSidewiseKeepPositionAtCursor": 3, - "MoveRectKeepPositionAtCursor": 0, - "MoveRectKeepAspectRatioAtCursor": 2 - }, - "size": 4 - }, - "VideoStandardEnum": { - "base": "long", - "constants": { - "D3DKMDT_VSS_PAL_G": 11, - "D3DKMDT_VSS_PAL_D": 14, - "D3DKMDT_VSS_PAL_B": 9, - "D3DKMDT_VSS_SECAM_K": 21, - "D3DKMDT_VSS_VESA_GTF": 2, - "D3DKMDT_VSS_PAL_L": 30, - "D3DKMDT_VSS_PAL_M": 31, - "D3DKMDT_VSS_PAL_K": 28, - "D3DKMDT_VSS_PAL_H": 12, - "D3DKMDT_VSS_PAL_I": 13, - "D3DKMDT_VSS_SECAM_L1": 24, - "D3DKMDT_VSS_VESA_DMT": 1, - "D3DKMDT_VSS_SECAM_L": 23, - "D3DKMDT_VSS_EIA_861": 25, - "D3DKMDT_VSS_PAL_N": 15, - "D3DKMDT_VSS_APPLE": 5, - "D3DKMDT_VSS_NTSC_M": 6, - "D3DKMDT_VSS_SECAM_H": 20, - "D3DKMDT_VSS_NTSC_J": 7, - "D3DKMDT_VSS_SECAM_B": 17, - "D3DKMDT_VSS_SECAM_G": 19, - "D3DKMDT_VSS_SECAM_D": 18, - "D3DKMDT_VSS_IBM": 4, - "D3DKMDT_VSS_SECAM_K1": 22, - "D3DKMDT_VSS_PAL_NC": 16, - "D3DKMDT_VSS_PAL_B1": 10, - "D3DKMDT_VSS_EIA_861A": 26, - "D3DKMDT_VSS_EIA_861B": 27, - "D3DKMDT_VSS_UNINITIALIZED": 0, - "D3DKMDT_VSS_OTHER": 255, - "D3DKMDT_VSS_PAL_K1": 29, - "D3DKMDT_VSS_VESA_CVT": 3, - "D3DKMDT_VSS_NTSC_443": 8 - }, - "size": 4 - }, - "ImportanceOrdinalEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPI_QUATERNARY": 4, - "D3DKMDT_VPPI_SECONDARY": 2, - "D3DKMDT_VPPI_PRIMARY": 1, - "D3DKMDT_VPPI_QUINARY": 5, - "D3DKMDT_VPPI_DENARY": 10, - "D3DKMDT_VPPI_SENARY": 6, - "D3DKMDT_VPPI_TERTIARY": 3, - "D3DKMDT_VPPI_SEPTENARY": 7, - "D3DKMDT_VPPI_NONARY": 9, - "D3DKMDT_VPPI_UNINITIALIZED": 0, - "D3DKMDT_VPPI_OCTONARY": 8, - "D3DKMDT_VPPI_MAX": 32, - "D3DKMDT_VPPI_NOTSPECIFIED": 255 - }, - "size": 4 - }, - "RangeTypeEnum": { - "base": "long", - "constants": { - "SmRangeBool": 2, - "SmRangeNonSharedInfo": 1, - "SmRangeSharedInfo": 0 - }, - "size": 4 - }, - "TimingTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MTT_EXTRASTANDARD": 3, - "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, - "D3DKMDT_MTT_STANDARD": 2, - "D3DKMDT_MTT_UNINITIALIZED": 0, - "D3DKMDT_MTT_MAXVALID": 6, - "D3DKMDT_MTT_DETAILED": 4, - "D3DKMDT_MTT_ESTABLISHED": 1 - }, - "size": 4 - }, - "PixelFormatEnum": { - "base": "long", - "constants": { - "D3DDDIFMT_W11V11U10": 65, - "D3DDDIFMT_A16B16G16R16F": 113, - "D3DDDIFMT_A8R8G8B8": 21, - "D3DDDIFMT_D32_LOCKABLE": 84, - "D3DDDIFMT_L8": 50, - "D3DDDIFMT_DXVA_RESERVED27": 177, - "D3DDDIFMT_DXVA_RESERVED26": 176, - "D3DDDIFMT_DXVA_RESERVED25": 175, - "D3DDDIFMT_DXVA_RESERVED24": 174, - "D3DDDIFMT_DXVA_RESERVED23": 173, - "D3DDDIFMT_DXVA_RESERVED22": 172, - "D3DDDIFMT_DXVA_RESERVED21": 171, - "D3DDDIFMT_DXVA_RESERVED20": 170, - "D3DDDIFMT_DXVA_RESERVED29": 179, - "D3DDDIFMT_DXVA_RESERVED28": 178, - "D3DDDIFMT_R3G3B2": 27, - "D3DDDIFMT_A8R3G3B2": 29, - "D3DDDIFMT_INDEX16": 101, - "D3DDDIFMT_X4R4G4B4": 30, - "D3DDDIFMT_A4R4G4B4": 26, - "D3DDDIFMT_Q8W8V8U8": 63, - "D3DDDIFMT_FORCE_UINT": 2147483647, - "D3DDDIFMT_S1D15": 72, - "D3DDDIFMT_A16B16G16R16": 36, - "D3DDDIFMT_A8L8": 51, - "D3DDDIFMT_D24X4S4": 79, - "D3DDDIFMT_BINARYBUFFER": 199, - "D3DDDIFMT_DXVA_RESERVED30": 180, - "D3DDDIFMT_R32F": 114, - "D3DDDIFMT_VERTEXDATA": 100, - "D3DDDIFMT_R5G6B5": 23, - "D3DDDIFMT_R8G8_B8G8": 1195525970, - "D3DDDIFMT_A4L4": 52, - "D3DDDIFMT_A1R5G5B5": 25, - "D3DDDIFMT_X1R5G5B5": 24, - "D3DDDIFMT_D32": 71, - "D3DDDIFMT_G8R8_G8B8": 1111970375, - "D3DDDIFMT_A2B10G10R10": 31, - "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, - "D3DDDIFMT_MULTI2_ARGB8": 827606349, - "D3DDDIFMT_D16_LOCKABLE": 70, - "D3DDDIFMT_BITSTREAMDATA": 156, - "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, - "D3DDDIFMT_X8B8G8R8": 33, - "D3DDDIFMT_R8G8B8": 20, - "D3DDDIFMT_S8_LOCKABLE": 85, - "D3DDDIFMT_D24S8": 75, - "D3DDDIFMT_X8D24": 76, - "D3DDDIFMT_A2R10G10B10": 35, - "D3DDDIFMT_P8": 41, - "D3DDDIFMT_L6V5U5": 61, - "D3DDDIFMT_X8R8G8B8": 22, - "D3DDDIFMT_D16": 80, - "D3DDDIFMT_A2W10V10U10": 67, - "D3DDDIFMT_D24FS8": 83, - "D3DDDIFMT_MOTIONVECTORBUFFER": 157, - "D3DDDIFMT_L16": 81, - "D3DDDIFMT_X8L8V8U8": 62, - "D3DDDIFMT_A32B32G32R32F": 116, - "D3DDDIFMT_A8P8": 40, - "D3DDDIFMT_YUY2": 844715353, - "D3DDDIFMT_R16F": 111, - "D3DDDIFMT_G16R16": 34, - "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, - "D3DDDIFMT_Q16W16V16U16": 110, - "D3DDDIFMT_S8D24": 74, - "D3DDDIFMT_PICTUREPARAMSDATA": 150, - "D3DDDIFMT_A1": 118, - "D3DDDIFMT_FILMGRAINBUFFER": 158, - "D3DDDIFMT_A8": 28, - "D3DDDIFMT_UNKNOWN": 0, - "D3DDDIFMT_DXVA_RESERVED19": 169, - "D3DDDIFMT_D32F_LOCKABLE": 82, - "D3DDDIFMT_MACROBLOCKDATA": 151, - "D3DDDIFMT_A8B8G8R8": 32, - "D3DDDIFMT_UYVY": 1498831189, - "D3DDDIFMT_DXT1": 827611204, - "D3DDDIFMT_DEBLOCKINGDATA": 153, - "D3DDDIFMT_DXT3": 861165636, - "D3DDDIFMT_DXT4": 877942852, - "D3DDDIFMT_DXT5": 894720068, - "D3DDDIFMT_CxV8U8": 117, - "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, - "D3DDDIFMT_DXVA_RESERVED9": 159, - "D3DDDIFMT_DXT2": 844388420, - "D3DDDIFMT_G32R32F": 115, - "D3DDDIFMT_X4S4D24": 78, - "D3DDDIFMT_D24X8": 77, - "D3DDDIFMT_DXVA_RESERVED12": 162, - "D3DDDIFMT_DXVA_RESERVED13": 163, - "D3DDDIFMT_DXVA_RESERVED10": 160, - "D3DDDIFMT_DXVA_RESERVED11": 161, - "D3DDDIFMT_DXVA_RESERVED16": 166, - "D3DDDIFMT_DXVA_RESERVED17": 167, - "D3DDDIFMT_DXVA_RESERVED14": 164, - "D3DDDIFMT_DXVA_RESERVED15": 165, - "D3DDDIFMT_DXVA_RESERVED18": 168, - "D3DDDIFMT_D15S1": 73, - "D3DDDIFMT_V16U16": 64, - "D3DDDIFMT_SLICECONTROLDATA": 155, - "D3DDDIFMT_G16R16F": 112, - "D3DDDIFMT_INDEX32": 102, - "D3DDDIFMT_V8U8": 60 - }, - "size": 4 - }, - "IdTypeEnum": { - "base": "long", - "constants": { - "BusQueryCompatibleIDs": 2, - "BusQueryInstanceID": 3, - "BusQueryDeviceID": 0, - "BusQueryDeviceSerialNumber": 4, - "BusQueryHardwareIDs": 1, - "BusQueryContainerID": 5 - }, - "size": 4 - }, - "StartCurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "TypeEnum": { - "base": "long", - "constants": { - "DevicePowerState": 1, - "SystemPowerState": 0 - }, - "size": 4 - }, - "RotationEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPR_IDENTITY": 1, - "D3DKMDT_VPPR_NOTSPECIFIED": 255, - "D3DKMDT_VPPR_UNPINNED": 254, - "D3DKMDT_VPPR_ROTATE270": 4, - "D3DKMDT_VPPR_ROTATE90": 2, - "D3DKMDT_VPPR_ROTATE180": 3, - "D3DKMDT_VPPR_UNINITIALIZED": 0 - }, - "size": 4 - }, - "CopyProtectionTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPMT_NOTSPECIFIED": 255, - "D3DKMDT_VPPMT_UNINITIALIZED": 0, - "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, - "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, - "D3DKMDT_VPPMT_NOPROTECTION": 1 - }, - "size": 4 - }, - "FsInformationClassEnum": { - "base": "long", - "constants": { - "FileFsFullSizeInformation": 7, - "FileFsAttributeInformation": 5, - "FileFsVolumeFlagsInformation": 10, - "FileFsVolumeInformation": 1, - "FileFsSizeInformation": 3, - "FileFsLabelInformation": 2, - "FileFsDeviceInformation": 4, - "FileFsControlInformation": 6, - "FileFsDriverPathInformation": 9, - "FileFsMaximumInformation": 11, - "FileFsObjectIdInformation": 8 - }, - "size": 4 - }, - "DeviceTextTypeEnum": { - "base": "long", - "constants": { - "DeviceTextLocationInformation": 1, - "DeviceTextDescription": 0 - }, - "size": 4 - } - }, - "metadata": { - "producer": { - "version": "0.0.1", - "name": "dgmcdona-via-conversion-script", - "datetime": "2024-09-03T18:22:52Z" - }, - "format": "4.0.0" - } } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-17735-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-17735-x64.json index b4c615cff..88e419100 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-17735-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-17735-x64.json @@ -1,18830 +1,18830 @@ { - "symbols": {}, - "user_types": { - "HWINSTA__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 880 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 736 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 464 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 456 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 824 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "subPointer": { + "type": { + "subtype": { + "kind": "struct", + "name": "subTagWNDType" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "directName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!String" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "subTagWNDType": { + "fields": { + "style_bitmask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + } + }, + "kind": "struct", + "size": 128 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 40 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1153": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 59 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 9 - }, - "offset": 0 - }, - "Region": { - "type": { - "bit_position": 61, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 39 - }, - "offset": 0 + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1960": { - "fields": { - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 } - }, - "kind": "struct", - "size": 24 - }, - "tagCLIENTTHREADINFO": { - "fields": { - "fsWakeMask": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "CTIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fsWakeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - }, - "fsWakeBitsJournal": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "fsChangeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4 - }, - "tickLastMsgChecked": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "tagKbdNlsLayer": { - "fields": { - "OEMIdentifier": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "NumOfVkToF": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pusMouseVKey": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "NumOfMouseVKey": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pVkToF": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_FUNCTION_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "LayoutInformation": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1158": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 2 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HBITMAP__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_124b": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1 - }, - "InPath": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_TL": { - "fields": { - "pfnFree": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pobj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagTOUCHINPUTINFO": { - "fields": { - "dwcInputs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "TouchInput": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagTOUCHINPUT" - }, - "kind": "array" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 80 - }, - "tagTHREADINFO": { - "fields": { - "ForceLegacyResizeNCMetr": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptl": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 336 - }, - "timeLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 448 - }, - "DontJournalAttach": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fPack": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 26 - }, - "offset": 928 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 516 - }, - "psmsSent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 424 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 656 - }, - "DefaultCharset": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 512 - }, - "psmsReceiveList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "sphkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 560 - }, - "No50ExStyles": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "IgnoreFaults": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pClientInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "DDENoAsyncReg": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DealyHwndShakeChk": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "amdesk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 720 - }, - "fsChangeBitsRemoved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 704 - }, - "psmsCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 432 - }, - "NoInitFlagsOnFocus": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "StrictLLHook": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "NoShadow": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EnumHelv": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoBatching": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 880 - }, - "Winver31": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Win30AvgWidth": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "AlwaysSendSyncPaint": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "IgnoreNoDiscard": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cPaintsReady": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 480 - }, - "SubtractClips": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "apEvent": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 712 - }, - "cEnterCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 672 - }, - "OpenGLEMF": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "fThreadCleanupFinished": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "idLast": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 456 - }, - "spklActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 360 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "NoEMFSpooling": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptdb": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "SpareCompatFlags2": { - "type": { - "bit_position": 33, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 31 - }, - "offset": 520 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "mlPost": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 680 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "NoCustomPaperSize": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cTimersReady": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 484 - }, - "NoScrollBarCtxMenu": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hPrevHidData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 880 - }, - "NoPaddedBorder": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "DpiAware": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "MultipleBands": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "AnimationOff": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "No50ExStyleBits": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulThreadFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 928 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 472 - }, - "MoreExtraWndWords": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoGhost": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoHRGN1": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 628 - }, - "GiveUpForegound": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "spDefaultImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 656 - }, - "pmsd": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MOVESIZEDATA" - }, - "kind": "pointer" - }, - "offset": 544 - }, - "HardwareMixer": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 904 - }, - "EnumTTNotDevice": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fSpecialInitialization": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ForceFusion": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cti": { - "type": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "offset": 864 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pstrAppName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "SendMnuDblClk": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DDENoSync": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EditNoMouseHide": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptLastReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 636 - }, - "hTouchInputCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HTOUCHINPUT__" - }, - "kind": "pointer" - }, - "offset": 888 - }, - "pEventQueueServer": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "cNestedStableVisRgn": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "NoDrawPatRect": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTTGrapchis": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "GetDeviceCaps": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fsReserveKeys": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 708 - }, - "pq": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 352 - }, - "NoSoftCursOnMoveSize": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hEventQueueClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 592 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "DDE": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "exitCode": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 464 - }, - "wchInjected": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 706 - }, - "CallTTDevice": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DisableDBCSProp": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsShellDlg": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TransparentBltMirror": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "PtiLink": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 736 - }, - "HackWinFlags": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cVisWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 728 - }, - "NcCalcSizeOnMove": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "KCOff": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "readyHead": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 912 - }, - "UsePrintingEscape": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hGestureInfoCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HGESTUREINFO__" - }, - "kind": "pointer" - }, - "offset": 896 - }, - "ForceTextBand": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 724 - }, - "fETWReserved": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 928 - }, - "pMenuState": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 488 - }, - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "TIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 464 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "Win31DevModeSize": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSBTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBTRACK" - }, - "kind": "pointer" - }, - "offset": 584 - }, - "spwndDefaultIme": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 648 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 520 - }, - "EditSetTextMunge": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Random31Ux": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fgfSwitchInProgressSetter": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 392 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "NoTimeCbProtect": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DisableFontAssoc": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pcti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "NoCharDeadKey": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TTIgnoreRasterDupe": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "lParamHkCurrent": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 568 - }, - "qwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 520 - }, - "wParamHkCurrent": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 576 - }, - "NoWindowArrangement": { - "type": { - "bit_position": 32, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ActiveMenus": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 456 - }, - "pqAttach": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 528 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "psiiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 504 - }, - "IgnoreTopMost": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "TryExceptCallWndProc": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoDDETrackDying": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "FontSubs": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "SmoothScrolling": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 624 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "ptiSibling": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 536 - }, - "hklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "IncreaseStack": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - } - }, - "kind": "struct", - "size": 936 - }, - "__unnamed_11ff": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "EaLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FileAttributes": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_CALLPROCDATA": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "pfnClientPrevious": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "wType": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "spcpdNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH": { - "fields": { - "VidPnTargetColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 48 - }, - "VidPnTargetColorBasis": { - "type": { - "kind": "enum", - "name": "VidPnTargetColorBasisEnum" - }, - "offset": 44 - }, - "ContentTransformation": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" - }, - "offset": 12 - }, - "GammaRamp": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GAMMA_RAMP" - }, - "offset": 336 - }, - "CopyProtection": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" - }, - "offset": 68 - }, - "VidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Content": { - "type": { - "kind": "enum", - "name": "ContentEnum" - }, - "offset": 64 - }, - "VisibleFromActiveTLOffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 28 - }, - "VidPnTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "VisibleFromActiveBROffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 36 - }, - "ImportanceOrdinal": { - "type": { - "kind": "enum", - "name": "ImportanceOrdinalEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 360 - }, - "__unnamed_1253": { - "fields": { - "PowerSequence": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_POWER_SEQUENCE" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESS_HID_TABLE": { - "fields": { - "fExclusiveMouseSink": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fCaptureMouse": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyMouse": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboard": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "spwndTargetMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndTargetKbd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "UsageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 98 - }, - "UsagePageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 96 - }, - "fRawMouse": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawMouseSink": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "inclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "nSinks": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "UsagePageList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 32 - }, - "ExclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - }, - "InclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "fRawKeyboardSink": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fAppKeys": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoHotKeys": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "fNoLegacyKeyboard": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "request": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fExclusiveKeyboardSink": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "pLastRequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1809": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "MessageCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHOOK": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "iHook": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "phkNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "offPfn": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "fLastHookHung": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 88 - }, - "nTimeout": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 7 - }, - "offset": 88 - }, - "ihmod": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "ptiHooked": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 80 - } - }, - "kind": "struct", - "size": 96 - }, - "_THROBJHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagPROCESS_HID_REQUEST": { - "fields": { - "fSinkable": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "pTLCInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_TLC_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDevNotify": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "fExSinkable": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 18 - }, - "fExclusiveOrphaned": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "next_request": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "pPORequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_PAGEONLY_REQUEST" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 16 - }, - "ptr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "spwndTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 40 - }, - "_KFLOATING_SAVE": { - "fields": { - "Dummy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { - "fields": { - "Rotate270": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate90": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate180": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMLIST": { - "fields": { - "cMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pqmsgRead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pqmsgWriteLast": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_CONSOLE_CARET_INFO": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1807": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - }, - "Level": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "DEADKEY": { - "fields": { - "wchComposed": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 4 - }, - "dwBoth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESSINFO": { - "fields": { - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "fHasMagContext": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 736 - }, - "hwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWINSTA__" - }, - "kind": "pointer" - }, - "offset": 608 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ptiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 256 - }, - "pHidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 744 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "pclsPublicList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 288 - }, - "dwhmodLibLoadedMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 340 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "hdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 328 - }, - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "dwImeCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 696 - }, - "hMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HMONITOR__" - }, - "kind": "pointer" - }, - "offset": 624 - }, - "ptiMainThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "pvwplWndGCList": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 760 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "usi": { - "type": { - "kind": "struct", - "name": "tagUSERSTARTUPINFO" - }, - "offset": 708 - }, - "luidSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 700 - }, - "Unused": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 736 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pW32Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 688 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwRegisteredClasses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 752 - }, - "bmHandleFlags": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_BITMAP" - }, - "offset": 648 - }, - "pclsPrivateList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "amwinsta": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 616 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ppiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 736 - }, - "dwHotkey": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 620 - }, - "cSysExpunge": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "rpdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pdvList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 632 - }, - "hidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 824 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 320 - }, - "pwpi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "ppiNextRunning": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "dwLayout": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 740 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rpwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "pCursorCache": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "pClientBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 672 - }, - "ahmodLibLoaded": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 384 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 640 - }, - "dwLpkEntryPoints": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 680 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 768 - }, - "HBRUSH__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLIP": { - "fields": { - "fmt": { - "type": { - "kind": "enum", - "name": "fmtEnum" - }, - "offset": 0 - }, - "fGlobalHandle": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagUAHMENUPOPUPMETRICS": { - "fields": { - "rgcx": { - "type": { - "count": 4, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 0 - }, - "fUpdateMaxWidths": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 20 - }, - "tagSMS": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 72 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 80 - }, - "lpResultCallBack": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lRet": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 56 - }, - "psmsReceiveNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "tSent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "pvCapture": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "psmsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptiReceiver": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ptiCallBackSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "dwData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 112 - }, - "__unnamed_195e": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_195c": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_W32THREAD": { - "fields": { - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 336 - }, - "_VK_TO_WCHAR_TABLE": { - "fields": { - "pVkToWchars": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHARS1" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cbSize": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - }, - "nModifications": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPROPLIST": { - "fields": { - "aprop": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagPROP" - }, - "kind": "array" - }, - "offset": 8 - }, - "iFirstFree": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cEntries": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_D3DKMDT_FREQUENCY_RANGE": { - "fields": { - "MinVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 0 - }, - "MaxVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 8 - }, - "MaxHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 24 - }, - "MinHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_11f8": { - "fields": { - "Apc": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KAPC" - }, - "offset": 0 - }, - "CompletionKey": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Overlay": { - "type": { - "kind": "struct", - "name": "__unnamed_11f5" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_18bf": { - "fields": { - "BaseMiddle": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "Flags1": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "Flags2": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "tagPROFILEVALUEINFO": { - "fields": { - "dwValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uSection": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pwszKeyName": { - "type": { - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_11f5": { - "fields": { - "Thread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "DeviceQueueEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" - }, - "offset": 0 - }, - "CurrentStackLocation": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_STACK_LOCATION" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "DriverContext": { - "type": { - "count": 4, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 0 - }, - "AuxiliaryBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "OriginalFileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "PacketType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 80 - }, - "__unnamed_125f": { - "fields": { - "AllocatedResources": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "AllocatedResourcesTranslated": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "D3DDDI_DXGI_RGB": { - "fields": { - "Blue": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "Green": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "Red": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1219": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FsControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_125b": { - "fields": { - "State": { - "type": { - "kind": "struct", - "name": "nt_symbols!_POWER_STATE" - }, - "offset": 16 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "SystemContext": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ShutdownType": { - "type": { - "kind": "enum", - "name": "ShutdownTypeEnum" - }, - "offset": 24 - }, - "SystemPowerStateContext": { - "type": { - "kind": "struct", - "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "HDC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagDISPLAYINFO": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "SpatialListHead": { - "type": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "offset": 144 - }, - "BitCountMax": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 130 - }, - "cyGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "hdcBits": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDesktopIsRect": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "hbmGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pmdev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "cFullScreen": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 160 - }, - "cxGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 128 - }, - "hDevInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fAnyPalette": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "pspbFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pMonitorPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 162 - }, - "pMonitorFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "hdcGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hrgnScreenReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cMonitors": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "hdcScreen": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "DockThresholdMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "pdceFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 168 - }, - "tagWin32AllocStats": { - "fields": { - "dwMaxAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwMaxMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwCrtAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwCrtMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18c5": { - "fields": { - "DefaultBig": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "BaseMiddle": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "LimitHigh": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 0 - }, - "System": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Granularity": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Dpl": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 0 - }, - "Type": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "Present": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "LongMode": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1261": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ProviderId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "BufferSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DataPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1263": { - "fields": { - "Argument4": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Argument2": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Argument3": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "Argument1": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1265": { - "fields": { - "DeviceIoControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121d" - }, - "offset": 0 - }, - "ReadWriteConfig": { - "type": { - "kind": "struct", - "name": "__unnamed_123d" - }, - "offset": 0 - }, - "Create": { - "type": { - "kind": "struct", - "name": "__unnamed_11ff" - }, - "offset": 0 - }, - "Write": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "PowerSequence": { - "type": { - "kind": "struct", - "name": "__unnamed_1253" - }, - "offset": 0 - }, - "QueryId": { - "type": { - "kind": "struct", - "name": "__unnamed_1243" - }, - "offset": 0 - }, - "SetFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1213" - }, - "offset": 0 - }, - "CreatePipe": { - "type": { - "kind": "struct", - "name": "__unnamed_1203" - }, - "offset": 0 - }, - "Power": { - "type": { - "kind": "struct", - "name": "__unnamed_125b" - }, - "offset": 0 - }, - "Read": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "StartDevice": { - "type": { - "kind": "struct", - "name": "__unnamed_125f" - }, - "offset": 0 - }, - "QueryDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120d" - }, - "offset": 0 - }, - "LockControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121b" - }, - "offset": 0 - }, - "QueryInterface": { - "type": { - "kind": "struct", - "name": "__unnamed_1233" - }, - "offset": 0 - }, - "Others": { - "type": { - "kind": "struct", - "name": "__unnamed_1263" - }, - "offset": 0 - }, - "FileSystemControl": { - "type": { - "kind": "struct", - "name": "__unnamed_1219" - }, - "offset": 0 - }, - "SetLock": { - "type": { - "kind": "struct", - "name": "__unnamed_123f" - }, - "offset": 0 - }, - "QueryDeviceText": { - "type": { - "kind": "struct", - "name": "__unnamed_1247" - }, - "offset": 0 - }, - "WMI": { - "type": { - "kind": "struct", - "name": "__unnamed_1261" - }, - "offset": 0 - }, - "CreateMailslot": { - "type": { - "kind": "struct", - "name": "__unnamed_1207" - }, - "offset": 0 - }, - "FilterResourceRequirements": { - "type": { - "kind": "struct", - "name": "__unnamed_123b" - }, - "offset": 0 - }, - "MountVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QueryVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1217" - }, - "offset": 0 - }, - "UsageNotification": { - "type": { - "kind": "struct", - "name": "__unnamed_124b" - }, - "offset": 0 - }, - "Scsi": { - "type": { - "kind": "struct", - "name": "__unnamed_1229" - }, - "offset": 0 - }, - "WaitWake": { - "type": { - "kind": "struct", - "name": "__unnamed_124f" - }, - "offset": 0 - }, - "QueryFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1211" - }, - "offset": 0 - }, - "VerifyVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QuerySecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_121f" - }, - "offset": 0 - }, - "QueryDeviceRelations": { - "type": { - "kind": "struct", - "name": "__unnamed_122d" - }, - "offset": 0 - }, - "NotifyDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120f" - }, - "offset": 0 - }, - "SetSecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_1221" - }, - "offset": 0 - }, - "DeviceCapabilities": { - "type": { - "kind": "struct", - "name": "__unnamed_1237" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1817": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1815": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "tagKbdLayer": { - "fields": { - "pVkToWcharTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHAR_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fLocaleFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "pCharModifiers": { - "type": { - "subtype": { - "kind": "struct", - "name": "MODIFIERS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pKeyNamesExt": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pDeadKey": { - "type": { - "subtype": { - "kind": "struct", - "name": "DEADKEY" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pusVSCtoVK": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pKeyNamesDead": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pLigature": { - "type": { - "subtype": { - "kind": "struct", - "name": "_LIGATURE1" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "cbLgEntry": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 85 - }, - "pKeyNames": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "dwSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "nLgMax": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 84 - }, - "pVSCtoVK_E1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pVSCtoVK_E0": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bMaxVSCtoVK": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1813": { - "fields": { - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { - "fields": { - "Centered": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "AspectRatioCenteredMax": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Stretched": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Custom": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1958": { - "fields": { - "MinBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "MaxBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_2DREGION": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "HRGN__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1954": { - "fields": { - "AffinityPolicy": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "PriorityPolicy": { - "type": { - "kind": "enum", - "name": "PriorityPolicyEnum" - }, - "offset": 12 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "MaximumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "TargetedProcessors": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "MinimumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_PROCMARKHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagSIZE": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagDESKTOPVIEW": { - "fields": { - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "pdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pdvNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1819": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { - "fields": { - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "PathAndTargetModeSetOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBTRACK": { - "fields": { - "spwndSBNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTimerSB": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "cmdSB": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "xxxpfnSB": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fTrackVert": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posNew": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 84 - }, - "posOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fCtlSB": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "rcTrack": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 32 - }, - "fTrackRecalc": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndSB": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "pxOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fHitOld": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "pSBCalc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBCALC" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "nBar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_16c1": { - "fields": { - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "MaxPixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_DMA_ADAPTER": { - "fields": { - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "DmaOperations": { - "type": { - "subtype": { - "kind": "struct", - "name": "_DMA_OPERATIONS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMONITOR": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "rcMonitorReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 28 - }, - "pMonitorNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hDevReal": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "hrgnMonitorReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "rcWorkReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 44 - }, - "dwMONFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cWndStack": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 74 - }, - "DockTargets": { - "type": { - "count": 7, - "subtype": { - "count": 4, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "kind": "array" - }, - "offset": 96 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 144 - }, - "__unnamed_180b": { - "fields": { - "Translated": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Raw": { - "type": { - "kind": "struct", - "name": "__unnamed_1809" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagRECT": { - "fields": { - "top": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "right": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "bottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "left": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_180d": { - "fields": { - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Port": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Channel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "MODIFIERS": { - "fields": { - "wMaxModBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "pVkToBit": { - "type": { - "subtype": { - "kind": "struct", - "name": "VK_TO_BIT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ModNumber": { - "type": { - "count": 0, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 10 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120f": { - "fields": { - "CompletionFilter": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120d": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 16 - }, - "FileName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { - "fields": { - "PathAndTargetModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 48 - }, - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 40 - }, - "SourceMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_SOURCE_MODE" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 480 - }, - "tagMSG": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 24 - }, - "pt": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 36 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "time": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "tagDPISERVERINFO": { - "fields": { - "hMsgFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hCaptionFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "gclBorder": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cxMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "wMaxBtnSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "cyMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { - "fields": { - "Blue": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 1024 - }, - "Green": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 512 - }, - "Red": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1536 - }, - "__unnamed_124f": { - "fields": { - "PowerState": { - "type": { - "kind": "enum", - "name": "PowerStateEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagWOWPROCESSINFO": { - "fields": { - "ptdbHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ptiScheduled": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "nRecvLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CSLockCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "nSendLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pEventWowExec": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lpfnWowExitTask": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "CSOwningThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "hEventWowExecClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwpiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "HTOUCHINPUT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMENU": { - "fields": { - "iItem": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "umpm": { - "type": { - "kind": "struct", - "name": "tagUAHMENUPOPUPMETRICS" - }, - "offset": 132 - }, - "cItems": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pParentMenus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "fFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "cxMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwContextHelpId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "cxTextAlign": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "cAlloced": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "hbrBack": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwArrowsOn": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 128 - }, - "iMaxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 124 - }, - "dwMenuData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "cyMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "rgItems": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagITEM" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "cyMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "_D3DDDI_GAMMA_RAMP_DXGI_1": { - "fields": { - "GammaCurve": { - "type": { - "count": 1025, - "subtype": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "kind": "array" - }, - "offset": 24 - }, - "Scale": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 0 - }, - "Offset": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 12324 - }, - "_MOVESIZEDATA": { - "fields": { - "fmsKbd": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "pStartMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "impy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 152 - }, - "fMoveFromMax": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapMoving": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "frcNormalCheckPtValid": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptMaxTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 96 - }, - "ptRestore": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 156 - }, - "fUsePreviewRect": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForceSizing": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fThresholdSelector": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 164 - }, - "ptStartHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 208 - }, - "fDragFullWindows": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForeground": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "dyMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 140 - }, - "fHasSoftwareCursor": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsHitPtOffScreen": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapSizingTemporaryAllowed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fCheckPtForcefullyRestored": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedRight": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ulCountDragOutOfLeftRightTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 228 - }, - "Unused": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 164 - }, - "dxMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 136 - }, - "fStartVerticallyMaximizedRight": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcParent": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 72 - }, - "fOffScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fWindowWasSuperMaximized": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedLeft": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "StartCurrentHitTarget": { - "type": { - "kind": "enum", - "name": "StartCurrentHitTargetEnum" - }, - "offset": 176 - }, - "fHasPreviewRect": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fLockWindowUpdate": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcPreview": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 40 - }, - "fSnapSizing": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsMoveSizeLoop": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fInitSize": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcDragCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "ulCountDragOutOfTopTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 224 - }, - "rcPreviewCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 56 - }, - "CurrentHitTarget": { - "type": { - "kind": "enum", - "name": "CurrentHitTargetEnum" - }, - "offset": 192 - }, - "fSnapMovingTemporaryAllowed": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fTrackCancelled": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 200 - }, - "ptLastTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 216 - }, - "cmd": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 144 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 164 - }, - "MoveRectStyle": { - "type": { - "kind": "enum", - "name": "MoveRectStyleEnum" - }, - "offset": 196 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "ulCountSizeOutOfTopBottomTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 232 - }, - "fStartVerticallyMaximizedLeft": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcNormalStartCheckPt": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 120 - }, - "ptMinTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 88 - }, - "rcDrag": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - }, - "pMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "impx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 148 - } - }, - "kind": "struct", - "size": 240 - }, - "_D3DDDI_RATIONAL": { - "fields": { - "Denominator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Numerator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "VWPL": { - "fields": { - "cElem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "aElement": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "VWPLELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "fTagged": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cThreshhold": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cPwnd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagTEXTMETRICW": { - "fields": { - "tmOverhang": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "tmPitchAndFamily": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 55 - }, - "tmStruckOut": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 54 - }, - "tmCharSet": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - }, - "tmDigitizedAspectX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "tmDigitizedAspectY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "tmFirstChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 44 - }, - "tmWeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "tmDescent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "tmDefaultChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 48 - }, - "tmLastChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 46 - }, - "tmMaxCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "tmItalic": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 52 - }, - "tmUnderlined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 53 - }, - "tmInternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "tmAscent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "tmHeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "tmAveCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "tmBreakChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 50 - }, - "tmExternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 60 - }, - "_SCATTER_GATHER_LIST": { - "fields": { - "Elements": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "_SCATTER_GATHER_ELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "NumberOfElements": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "HICON__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_HANDLEENTRY": { - "fields": { - "pOwner": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "bType": { - "type": { - "kind": "enum", - "name": "bTypeEnum" - }, - "offset": 16 - }, - "bFlags": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 17 - }, - "phead": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HEAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "wUniq": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - } - }, - "kind": "struct", - "size": 24 - }, - "_THRDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagSVR_INSTANCE_INFO": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nextInThisThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spwndEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "afCmd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pcii": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 80 - }, - "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { - "fields": { - "RequestDiagInfo": { - "type": { - "kind": "struct", - "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" - }, - "offset": 4 - }, - "AffectedVidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "VidPnSerialization": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPN_SERIALIZATION" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 28 - }, - "tagPOPUPMENU": { - "fields": { - "fDroppedLeft": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fIsSysMenu": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posDropped": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fIsMenuBar": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHierarchyDropped": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDropNextPopup": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fRightButton": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ppopupmenuRoot": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fFirstClick": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fRtoL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSendUninit": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fAboutToHide": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNextPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fFlushDelayedFree": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHasMenuBar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fTrackMouseEvent": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fNoNotify": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posSelectedItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fUseMonitorRect": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndPrevPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ppmDelayedFree": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "fFreed": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSynchronous": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenuAlternate": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fDestroyed": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "iDropDir": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "fIsTrackPopup": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndActivePopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "fInCancel": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fToggle": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDelayedFree": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHideTimer": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fShowTimer": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "_D3DKMDT_MONITOR_SOURCE_MODE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 84 - }, - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "ColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 68 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 88 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 96 - }, - "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 8 - }, - "Data": { - "type": { - "count": 128, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 12 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 140 - }, - "__unnamed_127c": { - "fields": { - "Wcb": { - "type": { - "kind": "struct", - "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" - }, - "offset": 0 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_D3DMATRIX": { - "fields": { - "_41": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 48 - }, - "_42": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 52 - }, - "_43": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 56 - }, - "_44": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 60 - }, - "_34": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 44 - }, - "_14": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 12 - }, - "_13": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "_12": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "_11": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - }, - "_24": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 28 - }, - "_31": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 32 - }, - "_33": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 40 - }, - "_32": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 36 - }, - "_22": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 20 - }, - "_23": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 24 - }, - "_21": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 64 - }, - "_LARGE_UNICODE_STRING": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumLength": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 4 - }, - "bAnsi": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "_VK_VALUES_STRINGS": { - "fields": { - "fReserved": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "pszMultiNames": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHID_TLC_INFO": { - "fields": { - "cExcludeOrphaned": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - }, - "cDevices": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "cExcludeRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cUsagePageRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "cDirectRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { - "fields": { - "Info": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_SOURCE_MODE" - }, - "offset": 0 - }, - "TimingType": { - "type": { - "kind": "enum", - "name": "TimingTypeEnum" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 104 - }, - "tagCURSOR": { - "fields": { - "rt": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 58 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCMARKHEAD" - }, - "offset": 0 - }, - "hbmUserAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "xHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 68 - }, - "hbmColor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pcurNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "CURSORF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hbmMask": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bpp": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 120 - }, - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 128 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "rcBounds": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 96 - }, - "atomModName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "hbmAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "yHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 70 - }, - "strName": { - "type": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 136 - }, - "_D3DKMDT_GAMMA_RAMP": { - "fields": { - "Data": { - "type": { - "kind": "struct", - "name": "__unnamed_182e" - }, - "offset": 16 - }, - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "HWND__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1207": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18a1": { - "fields": { - "Text": { - "type": { - "kind": "enum", - "name": "TextEnum" - }, - "offset": 0 - }, - "Graphics": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { - "fields": { - "TargetMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "offset": 360 - }, - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 432 - }, - "HKL__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1209": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagDCE": { - "fields": { - "hrgnClipPublic": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwndOrg": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pdceNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "DCX_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hdc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "hrgnSavedVis": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pwndRedirect": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pwndClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 96 - }, - "VSC_LPWSTR": { - "fields": { - "vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pwsz": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagQ": { - "fields": { - "hwndDblClk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "timeDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndFocus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 328 - }, - "cLockCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 322 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 312 - }, - "ptiSysLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "caret": { - "type": { - "kind": "struct", - "name": "tagCARET" - }, - "offset": 232 - }, - "ptiMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndActivePrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ptMouseMove": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 128 - }, - "msgDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "msgJournal": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "ptiKeyboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 320 - }, - "QF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 316 - }, - "mlInput": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 0 - }, - "spwndActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "codeCapture": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "idSysLock": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "spcurCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "ulEtwReserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "ptDblClk": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 120 - }, - "xbtnDblClk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 104 - }, - "afKeyRecentDown": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "afKeyState": { - "type": { - "count": 64, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 168 - }, - "spwndCapture": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "idSysPeek": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 344 - }, - "__unnamed_1203": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "HGESTUREINFO__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLS": { - "fields": { - "spcur": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 100 - }, - "pclsClone": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "lpszClientAnsiMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pclsBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "atomNVClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "pclsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "CSF_flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "lpszAnsiClassName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "spcpdFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "lpszClientUnicodeMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "cbclsExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 96 - }, - "lpszMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "spicnSm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "cWndReferenceCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "hbrBackground": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "spicn": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 12 - }, - "pdce": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "rpdeskParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "atomClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 160 - }, - "_PROCDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { - "fields": { - "CommitVidPnRequestOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumCommitVidPnRequests": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_VK_TO_FUNCTION_TABLE": { - "fields": { - "NLSFEProcType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "NLSFEProcCurrent": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcSwitch": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "NLSFEProcAlt": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 68 - }, - "NLSFEProc": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 132 - }, - "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { - "fields": { - "NumDescriptors": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "DescriptorSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 144 - }, - "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 112 - }, - "_CALLBACKWND": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { - "fields": { - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - }, - "TargetModeSet": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" - }, - "offset": 360 - } - }, - "kind": "struct", - "size": 440 - }, - "_VK_FUNCTION_PARAM": { - "fields": { - "NLSFEProcIndex": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcParam": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBCALC": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "pxStart": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "pxThumbBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "cpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "pxMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pxThumbTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "pxDownArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cpx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "pxBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "pxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pxLeft": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "pxRight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "pxUpArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "HDESK__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "HIMC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { - "fields": { - "SecondChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "FourthChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "ThirdChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FirstChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMENUSTATE": { - "fields": { - "cxAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 116 - }, - "pGlobalPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "uDraggingIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "fNotifyByPos": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInCallHandleMenuMessages": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ixAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "dwLockCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "fAutoDismiss": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fIsSysMenu": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "dwAniStartTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "uButtonDownHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "fIgnoreButtonUp": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptButtonDown": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 56 - }, - "fMenuStarted": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "iAniDropDir": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 8 - }, - "hdcAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "fModelessMenu": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hbmAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "fInEndMenu": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 92 - }, - "vkButtonDown": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fSetCapture": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInDoDragDrop": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fActiveNoForeground": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fMouseOffMenu": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fDragAndDrop": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInsideMenuLoop": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 80 - }, - "fButtonDown": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptiMenuStateOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "iyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 112 - }, - "hdcWndAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "fAboutToAutoDismiss": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "mnFocus": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "uButtonDownIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "fButtonAlwaysDown": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fUnderline": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptMouseLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 12 - }, - "pmnsPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fDragging": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "cmdLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 144 - }, - "VK_TO_BIT": { - "fields": { - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModBits": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - } - }, - "kind": "struct", - "size": 2 - }, - "tagWOWTHREADINFO": { - "fields": { - "pIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "idParentProcess": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "idTask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwtiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "idWaitObject": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 40 - }, - "__unnamed_1805": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1211": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1213": { - "fields": { - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - }, - "AdvanceOnly": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 25 - }, - "ClusterCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "DeleteHandle": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReplaceIfExists": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 24 - }, - "FileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1217": { - "fields": { - "FsInformationClass": { - "type": { - "kind": "enum", - "name": "FsInformationClassEnum" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_123b": { - "fields": { - "IoResourceRequirementList": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_122d": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1950": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagITEM": { - "fields": { - "fType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ulX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "wID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwItemData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "hbmpChecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "xItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "spSubMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hbmpUnchecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fState": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dxTab": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "cxBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 104 - }, - "yItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "cyItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 76 - }, - "umim": { - "type": { - "kind": "struct", - "name": "tagUAHMENUITEMMETRICS" - }, - "offset": 112 - }, - "cch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "ulWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "cyBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "lpstr": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cxItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "hbmp": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 144 - }, - "tagIMEINFOEX": { - "fields": { - "dwImeWinVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fSysWow64Only": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "fInitOpen": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "wszImeDescription": { - "type": { - "count": 50, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 88 - }, - "fCUASLayer": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "ImeInfo": { - "type": { - "kind": "struct", - "name": "tagIMEINFO" - }, - "offset": 8 - }, - "wszImeFile": { - "type": { - "count": 80, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 188 - }, - "wszUIClass": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 36 - }, - "fLoadFlag": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "dwProdVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fdwInitConvMode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - } - }, - "kind": "struct", - "size": 352 - }, - "__unnamed_1962": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1958" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_1956" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_195e" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_195c" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "ConfigData": { - "type": { - "kind": "struct", - "name": "__unnamed_195a" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1960" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1954" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagMSGPPINFO": { - "fields": { - "dwIndexMsgPP": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagSBINFO": { - "fields": { - "WSBflags": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "Horz": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 4 - }, - "Vert": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 36 - }, - "VWPLELEMENT": { - "fields": { - "DataOrTag": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSBDATA": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "_VSC_VK": { - "fields": { - "Vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123f": { - "fields": { - "Lock": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1 - }, - "_SCATTER_GATHER_ELEMENT": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "Address": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagWND": { - "fields": { - "spwndLastActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "bWS_CLIPCHILDREN": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bMaximizeButtonDown": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bUIStateActive": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_TABSTOP": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDialogWindow": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "bMinimizeButtonDown": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HIMC__" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "bChildNoActivate": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_LAYERED": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bStartPaint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedLeft": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bHiddenPopup": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSendEraseBackground": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin50Compat": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_CLIENTEDGE": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 66 - }, - "bWS_EX_TOOLWINDOW": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bDisabled": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bAnsiWindowProc": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin40Compat": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcClient": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 128 - }, - "bAnsiCreator": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bAnyScrollButtonDown": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bSendSizeMoveMsgs": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bLinked": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bSendNCPaint": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bInternalPaint": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasClientEdge": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasPalette": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasHorizontalScrollbar": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUIStateFocusRectHidden": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_DLGFRAME": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_MDICHILD": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasVerticalScrollbar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved2": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bActiveFrame": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bNoNCPaint": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasSPB": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_MINIMIZEBOX": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarVerticalTracking": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_DLGMODALFRAME": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TRANSPARENT": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bPaintNotProcessed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSyncPaintPending": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "bShellHookRegistered": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndChild": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "bUnused5": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bInDestroy": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "state": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "bWS_EX_LEFTSCROLLBAR": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bToggleTopmost": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_VSCROLL": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "ExStyle": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "bWS_HSCROLL": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUpdateDirty": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWMPaintSent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_WINDOWEDGE": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_ACCEPTFILE": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_GROUP": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bVisible": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bVerticallyMaximizedRight": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bForceMenuDraw": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bForceNCPaint": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bOldUI": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndClipboardListenerNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "bWS_EX_NOPADDEDBORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bNoMinmaxAnimatedRects": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bWS_MAXIMIZEBOX": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bHasCaption": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bEraseBackground": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "spwndOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "subPointer": { - "type": { - "subtype": { - "kind": "struct", - "name": "subTagWNDType" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 232 - }, - "bMakeVisibleWhenUnghosted": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused8": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bUnused9": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 52 - }, - "bForceFullNCPaintClipRgn": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_RTLREADING": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused1": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused2": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused3": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused4": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasMeun": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused6": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused7": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bSmallIconFromWMQueryDrag": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bClipboardListener": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bScrollBarLineDownBtnDown": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedirectedForPrint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_RIGHT": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasCreatestructName": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITED": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bFullScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnUpdate": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "bConsoleWindow": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "ppropList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROPLIST" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bWS_EX_TOPMOST": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bScrollBarPageDownBtnDown": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarLineUpBtnDown": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRecievedQuerySuspendMsg": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bMaximizeMonitorRegion": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedrawIfHung": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_POPUP": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTEXTHELP": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "dwUserData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 256 - }, - "hMod16": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 64 - }, - "FullScreenMode": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 44 - }, - "bLayeredLimbo": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_NOINHERITLAYOUT": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_LAYOUTRTL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUIStateKbdAccelHidden": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_BORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_SIZEBOX": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDestroyed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bServerSideWindowProc": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bCaptionTextTruncated": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 112 - }, - "bEndPaintInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnNewFrame": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "bBeingActivated": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITEDCompositing": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWMCreateMsgProcessed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_NOACTIVATE": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_APPWINDOW": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pSBInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBINFO" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "directName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!String" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bCloseButtonDown": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bMaximized": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_CHILD": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "bWS_THICKFRAME": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTROLPARENT": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pcls": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bLayeredForDWM": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bMsgBox": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHelpButtonDown": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasOverlay": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bRedrawFrameIfHung": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_NOPARENTNOTIFY": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bMaximizesToMonitor": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bBottomMost": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bReserved1": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bRedirected": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved3": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved4": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved5": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved6": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved7": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "spwndPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bLayeredInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "state2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "bWS_CLIPSIBLINGS": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarPageUpBtnDown": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "pTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DMATRIX" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "bWin31Compat": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "ExStyle2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "bHIGHDPI_UNAWARE_Unused": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_SYSMENU": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "strName": { - "type": { - "kind": "struct", - "name": "_LARGE_UNICODE_STRING" - }, - "offset": 232 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "bMinimized": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bRecievedSuspendMsg": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_STATICEDGE": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 296 - }, - "_WM_VALUES_STRINGS": { - "fields": { - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "fInternal": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "fDefined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { - "fields": { - "VisibleRegionSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 8 - }, - "Stride": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "PixelFormat": { - "type": { - "kind": "enum", - "name": "PixelFormatEnum" - }, - "offset": 20 - }, - "PixelValueAccessMode": { - "type": { - "kind": "enum", - "name": "PixelValueAccessModeEnum" - }, - "offset": 28 - }, - "PrimSurfSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "_VK_TO_WCHARS1": { - "fields": { - "Attributes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "_TLSPRITESTATE": { - "fields": { - "flOriginalSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "iSpriteType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pfnSaveScreenBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bInsideDriverCall": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pfnStrokePath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnTransparentBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnPaint": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnStretchBltROP": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "iType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "pfnPlgBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnCopyBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "iOriginalType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pfnTextOut": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDrawStream": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStrokeAndFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnLineTo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnStretchBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGradientFill": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnAlphaBlend": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "flSpriteSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "pfnBitBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 168 - }, - "tagUAHMENUITEMMETRICS": { - "fields": { - "rgsizeBar": { - "type": { - "count": 2, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - }, - "rgsizePopup": { - "type": { - "count": 4, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_121b": { - "fields": { - "Length": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1229": { - "fields": { - "Srb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_SCSI_REQUEST_BLOCK" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_121f": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1225": { - "fields": { - "DeviceObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Vpb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_VPB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "subTagWNDType": { - "fields": { - "style_bitmask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - } - }, - "kind": "struct", - "size": 128 - }, - "_HEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagIMEINFO": { - "fields": { - "fdwProperty": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "fdwSelectCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fdwUICaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwPrivateDataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fdwSCSCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "fdwSentenceCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "fdwConversionCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 28 - }, - "_DXGK_DIAG_CODE_POINT_PACKET": { - "fields": { - "Header": { - "type": { - "kind": "struct", - "name": "_DXGK_DIAG_HEADER" - }, - "offset": 0 - }, - "Param3": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "Param1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CodePointType": { - "type": { - "kind": "enum", - "name": "CodePointTypeEnum" - }, - "offset": 48 - }, - "Param2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_SOURCE_MODE": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Format": { - "type": { - "kind": "struct", - "name": "__unnamed_18a1" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagW32JOB": { - "fields": { - "restrictions": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ughCrt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ughMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pgh": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long long" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EJOB" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ppiTable": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "uProcessCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "uMaxProcesses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { - "fields": { - "NumFrequencyRanges": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "FrequencyRangeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 56 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { - "fields": { - "APSTriggerBits": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "CopyProtectionType": { - "type": { - "kind": "enum", - "name": "CopyProtectionTypeEnum" - }, - "offset": 0 - }, - "CopyProtectionSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" - }, - "offset": 264 - }, - "OEMCopyProtection": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 268 - }, - "tagWINDOWSTATION": { - "fields": { - "pClipBase": { - "type": { - "subtype": { - "count": 104, - "subtype": { - "kind": "struct", - "name": "tagCLIP" - }, - "kind": "array" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "cNumClipFormats": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "luidUser": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 136 - }, - "pGlobalAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "ptiClipLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "dwWSF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "rpdeskList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spklList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spwndClipOpen": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "luidEndSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 128 - }, - "pTerm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTERMINAL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndClipboardListener": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "spwndClipViewer": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iClipSequenceNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "ptiDrawingClipboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "spwndClipOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "psidUser": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "rpwinstaNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 152 - }, - "tagDESKTOPINFO": { - "fields": { - "spwndProgman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "pvwplMessagePPHandler": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 224 - }, - "pvDesktopLimit": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fComposited": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndGestureEngine": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "pvDesktopBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwndShell": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "ppiShellProcess": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pvwplShellHook": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "fIsDwmDesktop": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndTaskman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 40 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cntMBox": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 208 - }, - "spwndBkGnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 240 - }, - "tagMBSTRING": { - "fields": { - "szName": { - "type": { - "count": 15, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 0 - }, - "uID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "uStr": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DKMDT_VIDPN_TARGET_MODE": { - "fields": { - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 72 - }, - "_DMM_VIDPNSET_SERIALIZATION": { - "fields": { - "VidPnOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumVidPns": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagKBDFILE": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "awchDllName": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 56 - }, - "pKbdTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdLayer" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pkfNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pKbdNlsTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdNlsLayer" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_11e4": { - "fields": { - "UserApcContext": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "UserApcRoutine": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "IssuingProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_W32PROCESS": { - "fields": { - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 256 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { - "fields": { - "Scaling": { - "type": { - "kind": "enum", - "name": "ScalingEnum" - }, - "offset": 0 - }, - "RotationSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" - }, - "offset": 12 - }, - "Rotation": { - "type": { - "kind": "enum", - "name": "RotationEnum" - }, - "offset": 8 - }, - "ScalingSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSERVERINFO": { - "fields": { - "uiShellMsg": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 912 - }, - "cbHandleTable": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 848 - }, - "atomSysClass": { - "type": { - "count": 25, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 852 - }, - "dtScroll": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2800 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2952 - }, - "atomIconSmProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1356 - }, - "argbSystemUnmatched": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2268 - }, - "dwTagCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4632 - }, - "ucWheelScrollLines": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2812 - }, - "ptCursorReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2784 - }, - "ucWheelScrollChars": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2816 - }, - "acOemToAnsi": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1364 - }, - "cySysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2832 - }, - "atomFrostedWindowProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1362 - }, - "mpFnid_serverCBWndProc": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 328 - }, - "PUSIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4476 - }, - "BitCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4468 - }, - "argbSystem": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2392 - }, - "dtLBSearch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2804 - }, - "dtCaretBlink": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2808 - }, - "dwInstalledEventHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 1876 - }, - "apfnClientA": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 392 - }, - "cxSysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2828 - }, - "hbrGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 2768 - }, - "ahbrSystem": { - "type": { - "count": 31, - "subtype": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 2520 - }, - "dwDefaultHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "wMaxRightOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2824 - }, - "dwSRVIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "oembmi": { - "type": { - "count": 93, - "subtype": { - "kind": "struct", - "name": "tagOEMBITMAPINFO" - }, - "kind": "array" - }, - "offset": 2964 - }, - "apfnClientWorker": { - "type": { - "kind": "struct", - "name": "_PFNCLIENTWORKER" - }, - "offset": 760 - }, - "dwDefaultHeapBase": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 904 - }, - "BitsPixel": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4473 - }, - "wMaxLeftOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2820 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4470 - }, - "dwLastSystemRITEventTickCountUpdate": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4488 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2796 - }, - "atomIconProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1358 - }, - "Planes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4472 - }, - "dpiSystem": { - "type": { - "kind": "struct", - "name": "tagDPISERVERINFO" - }, - "offset": 2896 - }, - "hIcoWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2944 - }, - "apfnClientW": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 576 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2956 - }, - "MBStrings": { - "type": { - "count": 11, - "subtype": { - "kind": "struct", - "name": "tagMBSTRING" - }, - "kind": "array" - }, - "offset": 916 - }, - "atomContextHelpIdProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1360 - }, - "adwDBGTAGFlags": { - "type": { - "count": 35, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4492 - }, - "aiSysMet": { - "type": { - "count": 97, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 1880 - }, - "dwRIPFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4636 - }, - "uCaretWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4480 - }, - "cCaptures": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2960 - }, - "tmSysFont": { - "type": { - "kind": "struct", - "name": "tagTEXTMETRICW" - }, - "offset": 2836 - }, - "cHandleEntries": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ptCursor": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2776 - }, - "hIconSmWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2936 - }, - "mpFnidPfn": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "UILangID": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4484 - }, - "acAnsiToOem": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1620 - }, - "aStoCidPfn": { - "type": { - "count": 7, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 272 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 4452 - }, - "dwLastRITEventTickCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2792 - } - }, - "kind": "struct", - "size": 4640 - }, - "tagPOOLRECORD": { - "fields": { - "ExtraData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "trace": { - "type": { - "count": 6, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "__unnamed_195a": { - "fields": { - "Priority": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagUSERSTARTUPINFO": { - "fields": { - "dwYSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cbReserved2": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 26 - }, - "cb": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dwY": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwXSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "wShowWindow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 28 - }, - "_DMM_VIDPN_SERIALIZATION": { - "fields": { - "PathsFromSourceSerializationOffsets": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 8 - }, - "NumActiveSources": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_11df": { - "fields": { - "IrpCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "SystemBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MasterIrp": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IRP" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagHID_PAGEONLY_REQUEST": { - "fields": { - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cRefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1233": { - "fields": { - "Interface": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_INTERFACE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "InterfaceSpecificData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "InterfaceType": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_GUID" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagQMSG": { - "fields": { - "Padding": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 80 - }, - "ptMouseReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 72 - }, - "FromPen": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 64 - }, - "Wow64Message": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 96 - }, - "dwQEvent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 30 - }, - "offset": 80 - }, - "pqmsgPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FromTouch": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "NoCoalesce": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "msg": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 16 - }, - "pqmsgNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1237": { - "fields": { - "Capabilities": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_CAPABILITIES" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_11e6": { - "fields": { - "AsynchronousParameters": { - "type": { - "kind": "struct", - "name": "__unnamed_11e4" - }, - "offset": 0 - }, - "AllocationSize": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagDESKTOP": { - "fields": { - "spmenuVScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "dwMouseHoverTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 212 - }, - "rpwinstaParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spmenuDialogSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndForeground": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenuHScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "spwndTooltip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndMessage": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cciConsole": { - "type": { - "kind": "struct", - "name": "_CONSOLE_CARET_INFO" - }, - "offset": 144 - }, - "PtiList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 168 - }, - "spwndTray": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "rpdeskNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwDTFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pMagInputTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MAGNIFICATION_INPUT_TRANSFORM" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "htEx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 192 - }, - "ulHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "pheapDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!tagWIN32HEAP" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "rcMouseHover": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 196 - }, - "hsectionDesktop": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "dwDesktopId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 224 - }, - "_MAGNIFICATION_INPUT_TRANSFORM": { - "fields": { - "rcScreen": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 16 - }, - "magFactorX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "magFactorY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "ptiMagThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rcSource": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 48 - }, - "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 0 - }, - "ConstraintType": { - "type": { - "kind": "enum", - "name": "ConstraintTypeEnum" - }, - "offset": 36 - }, - "RangeLimits": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_FREQUENCY_RANGE" - }, - "offset": 4 - }, - "Constraint": { - "type": { - "kind": "struct", - "name": "__unnamed_16c1" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_121d": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IoControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_PFNCLIENTWORKER": { - "fields": { - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnCtfHookProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_12e0": { - "fields": { - "InitialPrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" - }, - "offset": 0 - }, - "PrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_PRIVILEGE_SET" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 44 - }, - "tagMENULIST": { - "fields": { - "pMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_DMA_OPERATIONS": { - "fields": { - "PutDmaAdapter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FreeMapRegisters": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "MapTransfer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "FreeCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReadDmaCounter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "AllocateCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "PutScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "BuildMdlFromScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "GetScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "CalculateScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "FreeAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "GetDmaAlignment": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "FlushAdapterBuffers": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "AllocateAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "BuildScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 128 - }, - "__unnamed_1811": { - "fields": { - "Start": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagSPB": { - "fields": { - "hbm": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hrgn": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ulSaveId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "pspbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "tagWin32PoolHead": { - "fields": { - "pPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pTrace": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DXGK_DIAG_HEADER": { - "fields": { - "Index": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "ProcessName": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 16 - }, - "LogTimestamp": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ThreadId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - }, - "WdLogIdx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 48 - }, - "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { - "fields": { - "CleanupAfterFailedCommitVidPn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ModeChangeRequestId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "ReclaimClonedTarget": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ForceAllActiveVidPnModeListInvalidation": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 12 - }, - "tagTOUCHINPUT": { - "fields": { - "dwExtraInfo": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "hSource": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dwMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cyContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "cxContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "dwTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 48 - }, - "_SM_VALUES_STRINGS": { - "fields": { - "StorageType": { - "type": { - "kind": "enum", - "name": "StorageTypeEnum" - }, - "offset": 16 - }, - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "RangeType": { - "type": { - "kind": "enum", - "name": "RangeTypeEnum" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1956": { - "fields": { - "MinimumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "_D3DKMDT_VIDEO_SIGNAL_INFO": { - "fields": { - "VSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 20 - }, - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 12 - }, - "PixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "TotalSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 4 - }, - "VideoStandard": { - "type": { - "kind": "enum", - "name": "VideoStandardEnum" - }, - "offset": 0 - }, - "ScanLineOrdering": { - "type": { - "kind": "enum", - "name": "ScanLineOrderingEnum" - }, - "offset": 48 - }, - "HSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 56 - }, - "tagTERMINAL": { - "fields": { - "spwndDesktopOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pEventInputReady": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "rpdeskDestroy": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pqDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwTERMF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwNestedLevel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ptiDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pEventTermInit": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "HFONT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { - "fields": { - "MacroVisionFull": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "MacroVisionApsTrigger": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "NoProtection": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 29 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_PFNCLIENT": { - "fields": { - "pfnDispatchDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnDispatchHook": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "pfnDesktopWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "pfnScrollBarWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnMessageWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnSwitchWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnHkINLPCWPSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnTitleWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnHkINLPCWPRETSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnMenuWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDispatchMessage": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pfnDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnMDIActivateDlgProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 176 - } - }, - "kind": "struct", - "size": 184 - }, - "tagOEMBITMAPINFO": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1221": { - "fields": { - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "SecurityDescriptor": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_KLIST_ENTRY": { - "fields": { - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HMONITOR__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1247": { - "fields": { - "DeviceTextType": { - "type": { - "kind": "enum", - "name": "DeviceTextTypeEnum" - }, - "offset": 0 - }, - "LocaleId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagCLIENTINFO": { - "fields": { - "msgDbcsCB": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 160 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "achDbcsCF": { - "type": { - "count": 2, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 154 - }, - "dwTIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "pClientThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 152 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "dwHookCurrent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "afAsyncKeyStateRecentDown": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwHookData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "afAsyncKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 128 - }, - "CallbackWnd": { - "type": { - "kind": "struct", - "name": "_CALLBACKWND" - }, - "offset": 64 - }, - "lpdwRegisteredClasses": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "cInDDEMLCallback": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 92 - }, - "cSpins": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "hKL": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "afKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 116 - }, - "CI_flags": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "phkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 216 - }, - "_DMM_MONITOR_SERIALIZATION": { - "fields": { - "SourceModeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FrequencyRangeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "DescriptorSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ModePruningAlgorithm": { - "type": { - "kind": "enum", - "name": "ModePruningAlgorithmEnum" - }, - "offset": 16 - }, - "VideoPresentTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "IsUsingDefaultProfile": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 13 - }, - "MonitorPowerState": { - "type": { - "kind": "enum", - "name": "MonitorPowerStateEnum" - }, - "offset": 20 - }, - "MonitorType": { - "type": { - "kind": "enum", - "name": "MonitorTypeEnum" - }, - "offset": 36 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IsSimulatedMonitor": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 12 - }, - "Orientation": { - "type": { - "kind": "enum", - "name": "OrientationEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagPROP": { - "fields": { - "fs": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "atomKey": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1243": { - "fields": { - "IdType": { - "type": { - "kind": "enum", - "name": "IdTypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123d": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "WhichSpace": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Offset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_WNDMSG": { - "fields": { - "abMsgs": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "maxMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSHAREDINFO": { - "fields": { - "psi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSERVERINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulSharedDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "aheList": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HANDLEENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "DefWindowSpecMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 552 - }, - "awmControl": { - "type": { - "count": 31, - "subtype": { - "kind": "struct", - "name": "_WNDMSG" - }, - "kind": "array" - }, - "offset": 40 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "HeEntrySize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DefWindowMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 536 - } - }, - "kind": "struct", - "size": 568 - }, - "__unnamed_181b": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1811" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_180d" - }, - "offset": 0 - }, - "DeviceSpecificData": { - "type": { - "kind": "struct", - "name": "__unnamed_1813" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_1817" - }, - "offset": 0 - }, - "MessageInterrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_180b" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_1815" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1819" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPOINT": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagIMC": { - "fields": { - "dwClientImcData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "hImeWnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pImcNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "tagKL": { - "fields": { - "uNumTbl": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "pklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "pklNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spkfPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "dwFontSigs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLastKbdType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 72 - }, - "dwKL_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "iBaseCharset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "dwKLID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "spkf": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "piiex": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMEINFOEX" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pspkfExtra": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "wchDiacritic": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 74 - }, - "dwLastKbdSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_115b": { - "fields": { - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_182e": { - "fields": { - "pRgb256x3x16": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pRaw": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pDxgi1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagTDB": { - "fields": { - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "TDB_Flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "pwti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "nPriority": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "ptdbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagCARET": { - "fields": { - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "iHideLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "hTimer": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "yOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "xOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "fVisible": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hBitmap": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cxOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cyOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "tid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "fOn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_LIGATURE1": { - "fields": { - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 4 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModificationNumber": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 6 + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" } - }, - "base_types": { - "unsigned char": { - "kind": "char", - "endian": "little", - "signed": false, - "size": 1 - }, - "float": { - "kind": "float", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "wchar": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "pointer": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - }, - "unsigned int": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "short": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned short": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 2 - }, - "long long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 8 - }, - "unsigned long long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - } - }, - "enums": { - "TextEnum": { - "base": "long", - "constants": { - "D3DKMDT_TRF_UNINITIALIZED": 0 - }, - "size": 4 - }, - "PreferenceEnum": { - "base": "long", - "constants": { - "D3DKMDT_MP_PREFERRED": 1, - "D3DKMDT_MP_MAXVALID": 2, - "D3DKMDT_MP_UNINITIALIZED": 0 - }, - "size": 4 - }, - "FileInformationClassEnum": { - "base": "long", - "constants": { - "FileInternalInformation": 6, - "FileQuotaInformation": 32, - "FileIoStatusBlockRangeInformation": 42, - "FilePipeLocalInformation": 24, - "FileStandardLinkInformation": 54, - "FileIdFullDirectoryInformation": 38, - "FileLinkInformation": 11, - "FileFullDirectoryInformation": 2, - "FileAllInformation": 18, - "FileSfioVolumeInformation": 45, - "FileStreamInformation": 22, - "FileRenameInformation": 10, - "FileValidDataLengthInformation": 39, - "FileAlternateNameInformation": 21, - "FileBasicInformation": 4, - "FilePositionInformation": 14, - "FileCompletionInformation": 30, - "FileAttributeCacheInformation": 52, - "FileReparsePointInformation": 33, - "FileMailslotSetInformation": 27, - "FileNetworkPhysicalNameInformation": 49, - "FileAllocationInformation": 19, - "FileIsRemoteDeviceInformation": 51, - "FileFullEaInformation": 15, - "FileProcessIdsUsingFileInformation": 47, - "FileDispositionInformation": 13, - "FileStandardInformation": 5, - "FileAccessInformation": 8, - "FileNumaNodeInformation": 53, - "FilePipeRemoteInformation": 25, - "FileIoPriorityHintInformation": 43, - "FileMailslotQueryInformation": 26, - "FileRemoteProtocolInformation": 55, - "FileNamesInformation": 12, - "FileHardLinkInformation": 46, - "FileEndOfFileInformation": 20, - "FileIdBothDirectoryInformation": 37, - "FileSfioReserveInformation": 44, - "FileIdGlobalTxDirectoryInformation": 50, - "FileNetworkOpenInformation": 34, - "FileObjectIdInformation": 29, - "FileMoveClusterInformation": 31, - "FileIoCompletionNotificationInformation": 41, - "FileNameInformation": 9, - "FileBothDirectoryInformation": 3, - "FileDirectoryInformation": 1, - "FileMaximumInformation": 56, - "FileNormalizedNameInformation": 48, - "FilePipeInformation": 23, - "FileCompressionInformation": 28, - "FileTrackingInformation": 36, - "FileEaInformation": 7, - "FileShortNameInformation": 40, - "FileModeInformation": 16, - "FileAlignmentInformation": 17, - "FileAttributeTagInformation": 35 - }, - "size": 4 - }, - "ModePruningAlgorithmEnum": { - "base": "long", - "constants": { - "DMM_MPA_MAXVALID": 3, - "DMM_MPA_GDI": 1, - "DMM_MPA_VISTA": 2, - "DMM_MPA_UNINITIALIZED": 0 - }, - "size": 4 - }, - "fmtEnum": { - "base": "unsigned long", - "constants": { - "CF_ENHMETAFILE": 14, - "CF_PENDATA": 10, - "CF_BITMAP": 2, - "CF_UNICODETEXT": 13, - "CF_HDROP": 15, - "CF_OEMTEXT": 7, - "CF_WAVE": 12, - "CF_DSPTEXT": 129, - "CF_DIBV5": 17, - "CF_TIFF": 6, - "CF_PALETTE": 9, - "CF_OWNERDISPLAY": 128, - "CF_DSPMETAFILEPICT": 131, - "CF_METAFILEPICT": 3, - "CF_RIFF": 11, - "CF_DSPENHMETAFILE": 142, - "CF_TEXT": 1, - "CF_LOCALE": 16, - "CF_SYLK": 4, - "CF_DSPBITMAP": 130, - "CF_DIB": 8, - "CF_DIF": 5 - }, - "size": 4 - }, - "MonitorPowerStateEnum": { - "base": "long", - "constants": { - "PowerDeviceUnspecified": 0, - "PowerDeviceD0": 1, - "PowerDeviceD1": 2, - "PowerDeviceD2": 3, - "PowerDeviceD3": 4, - "PowerDeviceMaximum": 5 - }, - "size": 4 - }, - "bTypeEnum": { - "base": "unsigned char", - "constants": { - "TYPE_DDEXACT": 11, - "TYPE_HOOK": 5, - "TYPE_FREE": 0, - "TYPE_MONITOR": 12, - "TYPE_GESTURE": 21, - "TYPE_DEVICEINFO": 19, - "TYPE_DDEACCESS": 9, - "TYPE_CALLPROC": 7, - "TYPE_CURSOR": 3, - "TYPE_KBDLAYOUT": 13, - "TYPE_WINEVENTHOOK": 15, - "TYPE_MENU": 2, - "TYPE_ACCELTABLE": 8, - "TYPE_TOUCH": 20, - "TYPE_SETWINDOWPOS": 4, - "TYPE_CLIPDATA": 6, - "TYPE_KBDFILE": 14, - "TYPE_DDECONV": 10, - "TYPE_HIDDATA": 18, - "TYPE_WINDOW": 1, - "TYPE_INPUTCONTEXT": 17, - "TYPE_TIMER": 16 - }, - "size": 1 - }, - "OriginEnum": { - "base": "long", - "constants": { - "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, - "D3DKMDT_MCO_UNINITIALIZED": 0, - "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, - "D3DKMDT_MCO_MAXVALID": 5, - "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, - "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 - }, - "size": 4 - }, - "CodePointTypeEnum": { - "base": "long", - "constants": { - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, - "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, - "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, - "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, - "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, - "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, - "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, - "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, - "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, - "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, - "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, - "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, - "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, - "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, - "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, - "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, - "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, - "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, - "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, - "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, - "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, - "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, - "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, - "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, - "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, - "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, - "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, - "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 - }, - "size": 4 - }, - "ConstraintTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MFRC_MAXPIXELRATE": 2, - "D3DKMDT_MFRC_ACTIVESIZE": 1, - "D3DKMDT_MFRC_UNINITIALIZED": 0 - }, - "size": 4 - }, - "VidPnTargetColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorTypeEnum": { - "base": "long", - "constants": { - "DMM_VMT_TEMPORARY_MONITOR": 4, - "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, - "DMM_VMT_PHYSICAL_MONITOR": 1, - "DMM_VMT_UNINITIALIZED": 0, - "DMM_VMT_SIMULATED_MONITOR": 5, - "DMM_VMT_PERSISTENT_MONITOR": 3 - }, - "size": 4 - }, - "PowerStateEnum": { - "base": "long", - "constants": { - "PowerSystemSleeping2": 3, - "PowerSystemSleeping1": 2, - "PowerSystemSleeping3": 4, - "PowerSystemUnspecified": 0, - "PowerSystemMaximum": 7, - "PowerSystemShutdown": 6, - "PowerSystemHibernate": 5, - "PowerSystemWorking": 1 - }, - "size": 4 - }, - "ShutdownTypeEnum": { - "base": "long", - "constants": { - "PowerActionNone": 0, - "PowerActionReserved": 1, - "PowerActionHibernate": 3, - "PowerActionShutdownOff": 6, - "PowerActionShutdown": 4, - "PowerActionSleep": 2, - "PowerActionShutdownReset": 5, - "PowerActionWarmEject": 7 - }, - "size": 4 - }, - "ScalingEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPS_CENTERED": 2, - "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, - "D3DKMDT_VPPS_STRETCHED": 3, - "D3DKMDT_VPPS_UNINITIALIZED": 0, - "D3DKMDT_VPPS_UNPINNED": 254, - "D3DKMDT_VPPS_IDENTITY": 1, - "D3DKMDT_VPPS_NOTSPECIFIED": 255, - "D3DKMDT_VPPS_CUSTOM": 5, - "D3DKMDT_VPPS_RESERVED1": 253 - }, - "size": 4 - }, - "CurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "StorageTypeEnum": { - "base": "long", - "constants": { - "SmStorageActual": 0, - "SmStorageNonActual": 1 - }, - "size": 4 - }, - "ScanLineOrderingEnum": { - "base": "long", - "constants": { - "D3DDDI_VSSLO_PROGRESSIVE": 1, - "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, - "D3DDDI_VSSLO_UNINITIALIZED": 0, - "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, - "D3DDDI_VSSLO_OTHER": 255 - }, - "size": 4 - }, - "PixelValueAccessModeEnum": { - "base": "long", - "constants": { - "D3DKMDT_PVAM_UNINITIALIZED": 0, - "D3DKMDT_PVAM_DIRECT": 1, - "D3DKMDT_PVAM_PRESETPALETTE": 2, - "D3DKMDT_PVAM_MAXVALID": 3 - }, - "size": 4 - }, - "PriorityPolicyEnum": { - "base": "long", - "constants": { - "IrqPriorityHigh": 3, - "IrqPriorityNormal": 2, - "IrqPriorityLow": 1, - "IrqPriorityUndefined": 0 - }, - "size": 4 - }, - "OrientationEnum": { - "base": "long", - "constants": { - "D3DKMDT_MO_90DEG": 2, - "D3DKMDT_MO_0DEG": 1, - "D3DKMDT_MO_270DEG": 4, - "D3DKMDT_MO_UNINITIALIZED": 0, - "D3DKMDT_MO_180DEG": 3 - }, - "size": 4 - }, - "ContentEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPC_NOTSPECIFIED": 255, - "D3DKMDT_VPPC_UNINITIALIZED": 0, - "D3DKMDT_VPPC_GRAPHICS": 1, - "D3DKMDT_VPPC_VIDEO": 2 - }, - "size": 4 - }, - "ColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MoveRectStyleEnum": { - "base": "long", - "constants": { - "MoveRectMidTopAtCursor": 1, - "MoveRectSidewiseKeepPositionAtCursor": 3, - "MoveRectKeepPositionAtCursor": 0, - "MoveRectKeepAspectRatioAtCursor": 2 - }, - "size": 4 - }, - "VideoStandardEnum": { - "base": "long", - "constants": { - "D3DKMDT_VSS_PAL_G": 11, - "D3DKMDT_VSS_PAL_D": 14, - "D3DKMDT_VSS_PAL_B": 9, - "D3DKMDT_VSS_SECAM_K": 21, - "D3DKMDT_VSS_VESA_GTF": 2, - "D3DKMDT_VSS_PAL_L": 30, - "D3DKMDT_VSS_PAL_M": 31, - "D3DKMDT_VSS_PAL_K": 28, - "D3DKMDT_VSS_PAL_H": 12, - "D3DKMDT_VSS_PAL_I": 13, - "D3DKMDT_VSS_SECAM_L1": 24, - "D3DKMDT_VSS_VESA_DMT": 1, - "D3DKMDT_VSS_SECAM_L": 23, - "D3DKMDT_VSS_EIA_861": 25, - "D3DKMDT_VSS_PAL_N": 15, - "D3DKMDT_VSS_APPLE": 5, - "D3DKMDT_VSS_NTSC_M": 6, - "D3DKMDT_VSS_SECAM_H": 20, - "D3DKMDT_VSS_NTSC_J": 7, - "D3DKMDT_VSS_SECAM_B": 17, - "D3DKMDT_VSS_SECAM_G": 19, - "D3DKMDT_VSS_SECAM_D": 18, - "D3DKMDT_VSS_IBM": 4, - "D3DKMDT_VSS_SECAM_K1": 22, - "D3DKMDT_VSS_PAL_NC": 16, - "D3DKMDT_VSS_PAL_B1": 10, - "D3DKMDT_VSS_EIA_861A": 26, - "D3DKMDT_VSS_EIA_861B": 27, - "D3DKMDT_VSS_UNINITIALIZED": 0, - "D3DKMDT_VSS_OTHER": 255, - "D3DKMDT_VSS_PAL_K1": 29, - "D3DKMDT_VSS_VESA_CVT": 3, - "D3DKMDT_VSS_NTSC_443": 8 - }, - "size": 4 - }, - "ImportanceOrdinalEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPI_QUATERNARY": 4, - "D3DKMDT_VPPI_SECONDARY": 2, - "D3DKMDT_VPPI_PRIMARY": 1, - "D3DKMDT_VPPI_QUINARY": 5, - "D3DKMDT_VPPI_DENARY": 10, - "D3DKMDT_VPPI_SENARY": 6, - "D3DKMDT_VPPI_TERTIARY": 3, - "D3DKMDT_VPPI_SEPTENARY": 7, - "D3DKMDT_VPPI_NONARY": 9, - "D3DKMDT_VPPI_UNINITIALIZED": 0, - "D3DKMDT_VPPI_OCTONARY": 8, - "D3DKMDT_VPPI_MAX": 32, - "D3DKMDT_VPPI_NOTSPECIFIED": 255 - }, - "size": 4 - }, - "RangeTypeEnum": { - "base": "long", - "constants": { - "SmRangeBool": 2, - "SmRangeNonSharedInfo": 1, - "SmRangeSharedInfo": 0 - }, - "size": 4 - }, - "TimingTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MTT_EXTRASTANDARD": 3, - "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, - "D3DKMDT_MTT_STANDARD": 2, - "D3DKMDT_MTT_UNINITIALIZED": 0, - "D3DKMDT_MTT_MAXVALID": 6, - "D3DKMDT_MTT_DETAILED": 4, - "D3DKMDT_MTT_ESTABLISHED": 1 - }, - "size": 4 - }, - "PixelFormatEnum": { - "base": "long", - "constants": { - "D3DDDIFMT_W11V11U10": 65, - "D3DDDIFMT_A16B16G16R16F": 113, - "D3DDDIFMT_A8R8G8B8": 21, - "D3DDDIFMT_D32_LOCKABLE": 84, - "D3DDDIFMT_L8": 50, - "D3DDDIFMT_DXVA_RESERVED27": 177, - "D3DDDIFMT_DXVA_RESERVED26": 176, - "D3DDDIFMT_DXVA_RESERVED25": 175, - "D3DDDIFMT_DXVA_RESERVED24": 174, - "D3DDDIFMT_DXVA_RESERVED23": 173, - "D3DDDIFMT_DXVA_RESERVED22": 172, - "D3DDDIFMT_DXVA_RESERVED21": 171, - "D3DDDIFMT_DXVA_RESERVED20": 170, - "D3DDDIFMT_DXVA_RESERVED29": 179, - "D3DDDIFMT_DXVA_RESERVED28": 178, - "D3DDDIFMT_R3G3B2": 27, - "D3DDDIFMT_A8R3G3B2": 29, - "D3DDDIFMT_INDEX16": 101, - "D3DDDIFMT_X4R4G4B4": 30, - "D3DDDIFMT_A4R4G4B4": 26, - "D3DDDIFMT_Q8W8V8U8": 63, - "D3DDDIFMT_FORCE_UINT": 2147483647, - "D3DDDIFMT_S1D15": 72, - "D3DDDIFMT_A16B16G16R16": 36, - "D3DDDIFMT_A8L8": 51, - "D3DDDIFMT_D24X4S4": 79, - "D3DDDIFMT_BINARYBUFFER": 199, - "D3DDDIFMT_DXVA_RESERVED30": 180, - "D3DDDIFMT_R32F": 114, - "D3DDDIFMT_VERTEXDATA": 100, - "D3DDDIFMT_R5G6B5": 23, - "D3DDDIFMT_R8G8_B8G8": 1195525970, - "D3DDDIFMT_A4L4": 52, - "D3DDDIFMT_A1R5G5B5": 25, - "D3DDDIFMT_X1R5G5B5": 24, - "D3DDDIFMT_D32": 71, - "D3DDDIFMT_G8R8_G8B8": 1111970375, - "D3DDDIFMT_A2B10G10R10": 31, - "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, - "D3DDDIFMT_MULTI2_ARGB8": 827606349, - "D3DDDIFMT_D16_LOCKABLE": 70, - "D3DDDIFMT_BITSTREAMDATA": 156, - "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, - "D3DDDIFMT_X8B8G8R8": 33, - "D3DDDIFMT_R8G8B8": 20, - "D3DDDIFMT_S8_LOCKABLE": 85, - "D3DDDIFMT_D24S8": 75, - "D3DDDIFMT_X8D24": 76, - "D3DDDIFMT_A2R10G10B10": 35, - "D3DDDIFMT_P8": 41, - "D3DDDIFMT_L6V5U5": 61, - "D3DDDIFMT_X8R8G8B8": 22, - "D3DDDIFMT_D16": 80, - "D3DDDIFMT_A2W10V10U10": 67, - "D3DDDIFMT_D24FS8": 83, - "D3DDDIFMT_MOTIONVECTORBUFFER": 157, - "D3DDDIFMT_L16": 81, - "D3DDDIFMT_X8L8V8U8": 62, - "D3DDDIFMT_A32B32G32R32F": 116, - "D3DDDIFMT_A8P8": 40, - "D3DDDIFMT_YUY2": 844715353, - "D3DDDIFMT_R16F": 111, - "D3DDDIFMT_G16R16": 34, - "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, - "D3DDDIFMT_Q16W16V16U16": 110, - "D3DDDIFMT_S8D24": 74, - "D3DDDIFMT_PICTUREPARAMSDATA": 150, - "D3DDDIFMT_A1": 118, - "D3DDDIFMT_FILMGRAINBUFFER": 158, - "D3DDDIFMT_A8": 28, - "D3DDDIFMT_UNKNOWN": 0, - "D3DDDIFMT_DXVA_RESERVED19": 169, - "D3DDDIFMT_D32F_LOCKABLE": 82, - "D3DDDIFMT_MACROBLOCKDATA": 151, - "D3DDDIFMT_A8B8G8R8": 32, - "D3DDDIFMT_UYVY": 1498831189, - "D3DDDIFMT_DXT1": 827611204, - "D3DDDIFMT_DEBLOCKINGDATA": 153, - "D3DDDIFMT_DXT3": 861165636, - "D3DDDIFMT_DXT4": 877942852, - "D3DDDIFMT_DXT5": 894720068, - "D3DDDIFMT_CxV8U8": 117, - "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, - "D3DDDIFMT_DXVA_RESERVED9": 159, - "D3DDDIFMT_DXT2": 844388420, - "D3DDDIFMT_G32R32F": 115, - "D3DDDIFMT_X4S4D24": 78, - "D3DDDIFMT_D24X8": 77, - "D3DDDIFMT_DXVA_RESERVED12": 162, - "D3DDDIFMT_DXVA_RESERVED13": 163, - "D3DDDIFMT_DXVA_RESERVED10": 160, - "D3DDDIFMT_DXVA_RESERVED11": 161, - "D3DDDIFMT_DXVA_RESERVED16": 166, - "D3DDDIFMT_DXVA_RESERVED17": 167, - "D3DDDIFMT_DXVA_RESERVED14": 164, - "D3DDDIFMT_DXVA_RESERVED15": 165, - "D3DDDIFMT_DXVA_RESERVED18": 168, - "D3DDDIFMT_D15S1": 73, - "D3DDDIFMT_V16U16": 64, - "D3DDDIFMT_SLICECONTROLDATA": 155, - "D3DDDIFMT_G16R16F": 112, - "D3DDDIFMT_INDEX32": 102, - "D3DDDIFMT_V8U8": 60 - }, - "size": 4 - }, - "IdTypeEnum": { - "base": "long", - "constants": { - "BusQueryCompatibleIDs": 2, - "BusQueryInstanceID": 3, - "BusQueryDeviceID": 0, - "BusQueryDeviceSerialNumber": 4, - "BusQueryHardwareIDs": 1, - "BusQueryContainerID": 5 - }, - "size": 4 - }, - "StartCurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "TypeEnum": { - "base": "long", - "constants": { - "DevicePowerState": 1, - "SystemPowerState": 0 - }, - "size": 4 - }, - "RotationEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPR_IDENTITY": 1, - "D3DKMDT_VPPR_NOTSPECIFIED": 255, - "D3DKMDT_VPPR_UNPINNED": 254, - "D3DKMDT_VPPR_ROTATE270": 4, - "D3DKMDT_VPPR_ROTATE90": 2, - "D3DKMDT_VPPR_ROTATE180": 3, - "D3DKMDT_VPPR_UNINITIALIZED": 0 - }, - "size": 4 - }, - "CopyProtectionTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPMT_NOTSPECIFIED": 255, - "D3DKMDT_VPPMT_UNINITIALIZED": 0, - "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, - "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, - "D3DKMDT_VPPMT_NOPROTECTION": 1 - }, - "size": 4 - }, - "FsInformationClassEnum": { - "base": "long", - "constants": { - "FileFsFullSizeInformation": 7, - "FileFsAttributeInformation": 5, - "FileFsVolumeFlagsInformation": 10, - "FileFsVolumeInformation": 1, - "FileFsSizeInformation": 3, - "FileFsLabelInformation": 2, - "FileFsDeviceInformation": 4, - "FileFsControlInformation": 6, - "FileFsDriverPathInformation": 9, - "FileFsMaximumInformation": 11, - "FileFsObjectIdInformation": 8 - }, - "size": 4 - }, - "DeviceTextTypeEnum": { - "base": "long", - "constants": { - "DeviceTextLocationInformation": 1, - "DeviceTextDescription": 0 - }, - "size": 4 - } - }, - "metadata": { - "producer": { - "version": "0.0.1", - "name": "dgmcdona-via-conversion-script", - "datetime": "2024-09-03T18:22:52Z" - }, - "format": "4.0.0" - } } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json index a9c2e5995..ed183f39b 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json @@ -1,18830 +1,18830 @@ { - "symbols": {}, - "user_types": { - "HWINSTA__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 896 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 736 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 480 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 456 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 824 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "subPointer": { + "type": { + "subtype": { + "kind": "struct", + "name": "subTagWNDType" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "directName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!String" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "subTagWNDType": { + "fields": { + "style_bitmask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + } + }, + "kind": "struct", + "size": 128 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 40 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1153": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 59 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 9 - }, - "offset": 0 - }, - "Region": { - "type": { - "bit_position": 61, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 39 - }, - "offset": 0 + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1960": { - "fields": { - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 } - }, - "kind": "struct", - "size": 24 - }, - "tagCLIENTTHREADINFO": { - "fields": { - "fsWakeMask": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "CTIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fsWakeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - }, - "fsWakeBitsJournal": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "fsChangeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4 - }, - "tickLastMsgChecked": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "tagKbdNlsLayer": { - "fields": { - "OEMIdentifier": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "NumOfVkToF": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pusMouseVKey": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "NumOfMouseVKey": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pVkToF": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_FUNCTION_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "LayoutInformation": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1158": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 2 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HBITMAP__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_124b": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1 - }, - "InPath": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_TL": { - "fields": { - "pfnFree": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pobj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagTOUCHINPUTINFO": { - "fields": { - "dwcInputs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "TouchInput": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagTOUCHINPUT" - }, - "kind": "array" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 80 - }, - "tagTHREADINFO": { - "fields": { - "ForceLegacyResizeNCMetr": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptl": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 336 - }, - "timeLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 448 - }, - "DontJournalAttach": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fPack": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 26 - }, - "offset": 928 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 516 - }, - "psmsSent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 424 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 656 - }, - "DefaultCharset": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 512 - }, - "psmsReceiveList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "sphkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 560 - }, - "No50ExStyles": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "IgnoreFaults": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pClientInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "DDENoAsyncReg": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DealyHwndShakeChk": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "amdesk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 720 - }, - "fsChangeBitsRemoved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 704 - }, - "psmsCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 432 - }, - "NoInitFlagsOnFocus": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "StrictLLHook": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "NoShadow": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EnumHelv": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoBatching": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 896 - }, - "Winver31": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Win30AvgWidth": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "AlwaysSendSyncPaint": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "IgnoreNoDiscard": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cPaintsReady": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 480 - }, - "SubtractClips": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "apEvent": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 712 - }, - "cEnterCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 672 - }, - "OpenGLEMF": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "fThreadCleanupFinished": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "idLast": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 456 - }, - "spklActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 360 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "NoEMFSpooling": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptdb": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "SpareCompatFlags2": { - "type": { - "bit_position": 33, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 31 - }, - "offset": 520 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "mlPost": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 680 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "NoCustomPaperSize": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cTimersReady": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 484 - }, - "NoScrollBarCtxMenu": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hPrevHidData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 880 - }, - "NoPaddedBorder": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "DpiAware": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "MultipleBands": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "AnimationOff": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "No50ExStyleBits": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulThreadFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 928 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 472 - }, - "MoreExtraWndWords": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoGhost": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoHRGN1": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 628 - }, - "GiveUpForegound": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "spDefaultImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 656 - }, - "pmsd": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MOVESIZEDATA" - }, - "kind": "pointer" - }, - "offset": 544 - }, - "HardwareMixer": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 904 - }, - "EnumTTNotDevice": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fSpecialInitialization": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ForceFusion": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cti": { - "type": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "offset": 864 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pstrAppName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "SendMnuDblClk": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DDENoSync": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EditNoMouseHide": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptLastReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 636 - }, - "hTouchInputCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HTOUCHINPUT__" - }, - "kind": "pointer" - }, - "offset": 888 - }, - "pEventQueueServer": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "cNestedStableVisRgn": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "NoDrawPatRect": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTTGrapchis": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "GetDeviceCaps": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fsReserveKeys": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 708 - }, - "pq": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 352 - }, - "NoSoftCursOnMoveSize": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hEventQueueClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 592 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "DDE": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "exitCode": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 464 - }, - "wchInjected": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 706 - }, - "CallTTDevice": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DisableDBCSProp": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsShellDlg": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TransparentBltMirror": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "PtiLink": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 736 - }, - "HackWinFlags": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cVisWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 728 - }, - "NcCalcSizeOnMove": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "KCOff": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "readyHead": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 912 - }, - "UsePrintingEscape": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hGestureInfoCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HGESTUREINFO__" - }, - "kind": "pointer" - }, - "offset": 896 - }, - "ForceTextBand": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 724 - }, - "fETWReserved": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 928 - }, - "pMenuState": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 488 - }, - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "TIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 480 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "Win31DevModeSize": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSBTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBTRACK" - }, - "kind": "pointer" - }, - "offset": 584 - }, - "spwndDefaultIme": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 648 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 520 - }, - "EditSetTextMunge": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Random31Ux": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fgfSwitchInProgressSetter": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 392 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "NoTimeCbProtect": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DisableFontAssoc": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pcti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "NoCharDeadKey": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TTIgnoreRasterDupe": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "lParamHkCurrent": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 568 - }, - "qwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 520 - }, - "wParamHkCurrent": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 576 - }, - "NoWindowArrangement": { - "type": { - "bit_position": 32, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ActiveMenus": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 456 - }, - "pqAttach": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 528 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "psiiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 504 - }, - "IgnoreTopMost": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "TryExceptCallWndProc": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoDDETrackDying": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "FontSubs": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "SmoothScrolling": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 624 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "ptiSibling": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 536 - }, - "hklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "IncreaseStack": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - } - }, - "kind": "struct", - "size": 936 - }, - "__unnamed_11ff": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "EaLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FileAttributes": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_CALLPROCDATA": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "pfnClientPrevious": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "wType": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "spcpdNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH": { - "fields": { - "VidPnTargetColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 48 - }, - "VidPnTargetColorBasis": { - "type": { - "kind": "enum", - "name": "VidPnTargetColorBasisEnum" - }, - "offset": 44 - }, - "ContentTransformation": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" - }, - "offset": 12 - }, - "GammaRamp": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GAMMA_RAMP" - }, - "offset": 336 - }, - "CopyProtection": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" - }, - "offset": 68 - }, - "VidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Content": { - "type": { - "kind": "enum", - "name": "ContentEnum" - }, - "offset": 64 - }, - "VisibleFromActiveTLOffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 28 - }, - "VidPnTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "VisibleFromActiveBROffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 36 - }, - "ImportanceOrdinal": { - "type": { - "kind": "enum", - "name": "ImportanceOrdinalEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 360 - }, - "__unnamed_1253": { - "fields": { - "PowerSequence": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_POWER_SEQUENCE" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESS_HID_TABLE": { - "fields": { - "fExclusiveMouseSink": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fCaptureMouse": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyMouse": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboard": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "spwndTargetMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndTargetKbd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "UsageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 98 - }, - "UsagePageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 96 - }, - "fRawMouse": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawMouseSink": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "inclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "nSinks": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "UsagePageList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 32 - }, - "ExclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - }, - "InclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "fRawKeyboardSink": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fAppKeys": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoHotKeys": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "fNoLegacyKeyboard": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "request": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fExclusiveKeyboardSink": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "pLastRequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1809": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "MessageCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHOOK": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "iHook": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "phkNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "offPfn": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "fLastHookHung": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 88 - }, - "nTimeout": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 7 - }, - "offset": 88 - }, - "ihmod": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "ptiHooked": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 80 - } - }, - "kind": "struct", - "size": 96 - }, - "_THROBJHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagPROCESS_HID_REQUEST": { - "fields": { - "fSinkable": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "pTLCInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_TLC_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDevNotify": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "fExSinkable": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 18 - }, - "fExclusiveOrphaned": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "next_request": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "pPORequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_PAGEONLY_REQUEST" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 16 - }, - "ptr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "spwndTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 40 - }, - "_KFLOATING_SAVE": { - "fields": { - "Dummy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { - "fields": { - "Rotate270": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate90": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate180": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMLIST": { - "fields": { - "cMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pqmsgRead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pqmsgWriteLast": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_CONSOLE_CARET_INFO": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1807": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - }, - "Level": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "DEADKEY": { - "fields": { - "wchComposed": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 4 - }, - "dwBoth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESSINFO": { - "fields": { - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "fHasMagContext": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 736 - }, - "hwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWINSTA__" - }, - "kind": "pointer" - }, - "offset": 608 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ptiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 256 - }, - "pHidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 744 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "pclsPublicList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 288 - }, - "dwhmodLibLoadedMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 340 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "hdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 328 - }, - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "dwImeCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 696 - }, - "hMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HMONITOR__" - }, - "kind": "pointer" - }, - "offset": 624 - }, - "ptiMainThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "pvwplWndGCList": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 760 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "usi": { - "type": { - "kind": "struct", - "name": "tagUSERSTARTUPINFO" - }, - "offset": 708 - }, - "luidSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 700 - }, - "Unused": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 736 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pW32Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 688 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwRegisteredClasses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 752 - }, - "bmHandleFlags": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_BITMAP" - }, - "offset": 648 - }, - "pclsPrivateList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "amwinsta": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 616 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ppiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 736 - }, - "dwHotkey": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 620 - }, - "cSysExpunge": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "rpdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pdvList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 632 - }, - "hidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 824 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 320 - }, - "pwpi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "ppiNextRunning": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "dwLayout": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 740 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rpwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "pCursorCache": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "pClientBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 672 - }, - "ahmodLibLoaded": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 384 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 640 - }, - "dwLpkEntryPoints": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 680 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 768 - }, - "HBRUSH__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLIP": { - "fields": { - "fmt": { - "type": { - "kind": "enum", - "name": "fmtEnum" - }, - "offset": 0 - }, - "fGlobalHandle": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagUAHMENUPOPUPMETRICS": { - "fields": { - "rgcx": { - "type": { - "count": 4, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 0 - }, - "fUpdateMaxWidths": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 20 - }, - "tagSMS": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 72 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 80 - }, - "lpResultCallBack": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lRet": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 56 - }, - "psmsReceiveNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "tSent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "pvCapture": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "psmsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptiReceiver": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ptiCallBackSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "dwData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 112 - }, - "__unnamed_195e": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_195c": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_W32THREAD": { - "fields": { - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 336 - }, - "_VK_TO_WCHAR_TABLE": { - "fields": { - "pVkToWchars": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHARS1" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cbSize": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - }, - "nModifications": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPROPLIST": { - "fields": { - "aprop": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagPROP" - }, - "kind": "array" - }, - "offset": 8 - }, - "iFirstFree": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cEntries": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_D3DKMDT_FREQUENCY_RANGE": { - "fields": { - "MinVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 0 - }, - "MaxVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 8 - }, - "MaxHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 24 - }, - "MinHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_11f8": { - "fields": { - "Apc": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KAPC" - }, - "offset": 0 - }, - "CompletionKey": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Overlay": { - "type": { - "kind": "struct", - "name": "__unnamed_11f5" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_18bf": { - "fields": { - "BaseMiddle": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "Flags1": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "Flags2": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "tagPROFILEVALUEINFO": { - "fields": { - "dwValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uSection": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pwszKeyName": { - "type": { - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_11f5": { - "fields": { - "Thread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "DeviceQueueEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" - }, - "offset": 0 - }, - "CurrentStackLocation": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_STACK_LOCATION" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "DriverContext": { - "type": { - "count": 4, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 0 - }, - "AuxiliaryBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "OriginalFileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "PacketType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 80 - }, - "__unnamed_125f": { - "fields": { - "AllocatedResources": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "AllocatedResourcesTranslated": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "D3DDDI_DXGI_RGB": { - "fields": { - "Blue": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "Green": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "Red": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1219": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FsControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_125b": { - "fields": { - "State": { - "type": { - "kind": "struct", - "name": "nt_symbols!_POWER_STATE" - }, - "offset": 16 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "SystemContext": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ShutdownType": { - "type": { - "kind": "enum", - "name": "ShutdownTypeEnum" - }, - "offset": 24 - }, - "SystemPowerStateContext": { - "type": { - "kind": "struct", - "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "HDC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagDISPLAYINFO": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "SpatialListHead": { - "type": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "offset": 144 - }, - "BitCountMax": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 130 - }, - "cyGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "hdcBits": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDesktopIsRect": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "hbmGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pmdev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "cFullScreen": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 160 - }, - "cxGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 128 - }, - "hDevInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fAnyPalette": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "pspbFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pMonitorPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 162 - }, - "pMonitorFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "hdcGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hrgnScreenReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cMonitors": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "hdcScreen": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "DockThresholdMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "pdceFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 168 - }, - "tagWin32AllocStats": { - "fields": { - "dwMaxAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwMaxMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwCrtAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwCrtMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18c5": { - "fields": { - "DefaultBig": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "BaseMiddle": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "LimitHigh": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 0 - }, - "System": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Granularity": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Dpl": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 0 - }, - "Type": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "Present": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "LongMode": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1261": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ProviderId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "BufferSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DataPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1263": { - "fields": { - "Argument4": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Argument2": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Argument3": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "Argument1": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1265": { - "fields": { - "DeviceIoControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121d" - }, - "offset": 0 - }, - "ReadWriteConfig": { - "type": { - "kind": "struct", - "name": "__unnamed_123d" - }, - "offset": 0 - }, - "Create": { - "type": { - "kind": "struct", - "name": "__unnamed_11ff" - }, - "offset": 0 - }, - "Write": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "PowerSequence": { - "type": { - "kind": "struct", - "name": "__unnamed_1253" - }, - "offset": 0 - }, - "QueryId": { - "type": { - "kind": "struct", - "name": "__unnamed_1243" - }, - "offset": 0 - }, - "SetFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1213" - }, - "offset": 0 - }, - "CreatePipe": { - "type": { - "kind": "struct", - "name": "__unnamed_1203" - }, - "offset": 0 - }, - "Power": { - "type": { - "kind": "struct", - "name": "__unnamed_125b" - }, - "offset": 0 - }, - "Read": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "StartDevice": { - "type": { - "kind": "struct", - "name": "__unnamed_125f" - }, - "offset": 0 - }, - "QueryDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120d" - }, - "offset": 0 - }, - "LockControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121b" - }, - "offset": 0 - }, - "QueryInterface": { - "type": { - "kind": "struct", - "name": "__unnamed_1233" - }, - "offset": 0 - }, - "Others": { - "type": { - "kind": "struct", - "name": "__unnamed_1263" - }, - "offset": 0 - }, - "FileSystemControl": { - "type": { - "kind": "struct", - "name": "__unnamed_1219" - }, - "offset": 0 - }, - "SetLock": { - "type": { - "kind": "struct", - "name": "__unnamed_123f" - }, - "offset": 0 - }, - "QueryDeviceText": { - "type": { - "kind": "struct", - "name": "__unnamed_1247" - }, - "offset": 0 - }, - "WMI": { - "type": { - "kind": "struct", - "name": "__unnamed_1261" - }, - "offset": 0 - }, - "CreateMailslot": { - "type": { - "kind": "struct", - "name": "__unnamed_1207" - }, - "offset": 0 - }, - "FilterResourceRequirements": { - "type": { - "kind": "struct", - "name": "__unnamed_123b" - }, - "offset": 0 - }, - "MountVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QueryVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1217" - }, - "offset": 0 - }, - "UsageNotification": { - "type": { - "kind": "struct", - "name": "__unnamed_124b" - }, - "offset": 0 - }, - "Scsi": { - "type": { - "kind": "struct", - "name": "__unnamed_1229" - }, - "offset": 0 - }, - "WaitWake": { - "type": { - "kind": "struct", - "name": "__unnamed_124f" - }, - "offset": 0 - }, - "QueryFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1211" - }, - "offset": 0 - }, - "VerifyVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QuerySecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_121f" - }, - "offset": 0 - }, - "QueryDeviceRelations": { - "type": { - "kind": "struct", - "name": "__unnamed_122d" - }, - "offset": 0 - }, - "NotifyDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120f" - }, - "offset": 0 - }, - "SetSecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_1221" - }, - "offset": 0 - }, - "DeviceCapabilities": { - "type": { - "kind": "struct", - "name": "__unnamed_1237" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1817": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1815": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "tagKbdLayer": { - "fields": { - "pVkToWcharTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHAR_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fLocaleFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "pCharModifiers": { - "type": { - "subtype": { - "kind": "struct", - "name": "MODIFIERS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pKeyNamesExt": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pDeadKey": { - "type": { - "subtype": { - "kind": "struct", - "name": "DEADKEY" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pusVSCtoVK": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pKeyNamesDead": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pLigature": { - "type": { - "subtype": { - "kind": "struct", - "name": "_LIGATURE1" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "cbLgEntry": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 85 - }, - "pKeyNames": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "dwSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "nLgMax": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 84 - }, - "pVSCtoVK_E1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pVSCtoVK_E0": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bMaxVSCtoVK": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1813": { - "fields": { - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { - "fields": { - "Centered": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "AspectRatioCenteredMax": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Stretched": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Custom": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1958": { - "fields": { - "MinBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "MaxBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_2DREGION": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "HRGN__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1954": { - "fields": { - "AffinityPolicy": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "PriorityPolicy": { - "type": { - "kind": "enum", - "name": "PriorityPolicyEnum" - }, - "offset": 12 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "MaximumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "TargetedProcessors": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "MinimumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_PROCMARKHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagSIZE": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagDESKTOPVIEW": { - "fields": { - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "pdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pdvNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1819": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { - "fields": { - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "PathAndTargetModeSetOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBTRACK": { - "fields": { - "spwndSBNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTimerSB": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "cmdSB": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "xxxpfnSB": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fTrackVert": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posNew": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 84 - }, - "posOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fCtlSB": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "rcTrack": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 32 - }, - "fTrackRecalc": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndSB": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "pxOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fHitOld": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "pSBCalc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBCALC" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "nBar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_16c1": { - "fields": { - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "MaxPixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_DMA_ADAPTER": { - "fields": { - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "DmaOperations": { - "type": { - "subtype": { - "kind": "struct", - "name": "_DMA_OPERATIONS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMONITOR": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "rcMonitorReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 28 - }, - "pMonitorNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hDevReal": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "hrgnMonitorReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "rcWorkReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 44 - }, - "dwMONFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cWndStack": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 74 - }, - "DockTargets": { - "type": { - "count": 7, - "subtype": { - "count": 4, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "kind": "array" - }, - "offset": 96 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 144 - }, - "__unnamed_180b": { - "fields": { - "Translated": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Raw": { - "type": { - "kind": "struct", - "name": "__unnamed_1809" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagRECT": { - "fields": { - "top": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "right": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "bottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "left": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_180d": { - "fields": { - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Port": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Channel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "MODIFIERS": { - "fields": { - "wMaxModBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "pVkToBit": { - "type": { - "subtype": { - "kind": "struct", - "name": "VK_TO_BIT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ModNumber": { - "type": { - "count": 0, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 10 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120f": { - "fields": { - "CompletionFilter": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120d": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 16 - }, - "FileName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { - "fields": { - "PathAndTargetModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 48 - }, - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 40 - }, - "SourceMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_SOURCE_MODE" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 480 - }, - "tagMSG": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 24 - }, - "pt": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 36 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "time": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "tagDPISERVERINFO": { - "fields": { - "hMsgFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hCaptionFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "gclBorder": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cxMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "wMaxBtnSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "cyMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { - "fields": { - "Blue": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 1024 - }, - "Green": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 512 - }, - "Red": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1536 - }, - "__unnamed_124f": { - "fields": { - "PowerState": { - "type": { - "kind": "enum", - "name": "PowerStateEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagWOWPROCESSINFO": { - "fields": { - "ptdbHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ptiScheduled": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "nRecvLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CSLockCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "nSendLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pEventWowExec": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lpfnWowExitTask": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "CSOwningThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "hEventWowExecClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwpiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "HTOUCHINPUT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMENU": { - "fields": { - "iItem": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "umpm": { - "type": { - "kind": "struct", - "name": "tagUAHMENUPOPUPMETRICS" - }, - "offset": 132 - }, - "cItems": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pParentMenus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "fFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "cxMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwContextHelpId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "cxTextAlign": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "cAlloced": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "hbrBack": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwArrowsOn": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 128 - }, - "iMaxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 124 - }, - "dwMenuData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "cyMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "rgItems": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagITEM" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "cyMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "_D3DDDI_GAMMA_RAMP_DXGI_1": { - "fields": { - "GammaCurve": { - "type": { - "count": 1025, - "subtype": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "kind": "array" - }, - "offset": 24 - }, - "Scale": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 0 - }, - "Offset": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 12324 - }, - "_MOVESIZEDATA": { - "fields": { - "fmsKbd": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "pStartMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "impy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 152 - }, - "fMoveFromMax": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapMoving": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "frcNormalCheckPtValid": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptMaxTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 96 - }, - "ptRestore": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 156 - }, - "fUsePreviewRect": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForceSizing": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fThresholdSelector": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 164 - }, - "ptStartHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 208 - }, - "fDragFullWindows": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForeground": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "dyMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 140 - }, - "fHasSoftwareCursor": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsHitPtOffScreen": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapSizingTemporaryAllowed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fCheckPtForcefullyRestored": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedRight": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ulCountDragOutOfLeftRightTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 228 - }, - "Unused": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 164 - }, - "dxMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 136 - }, - "fStartVerticallyMaximizedRight": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcParent": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 72 - }, - "fOffScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fWindowWasSuperMaximized": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedLeft": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "StartCurrentHitTarget": { - "type": { - "kind": "enum", - "name": "StartCurrentHitTargetEnum" - }, - "offset": 176 - }, - "fHasPreviewRect": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fLockWindowUpdate": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcPreview": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 40 - }, - "fSnapSizing": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsMoveSizeLoop": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fInitSize": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcDragCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "ulCountDragOutOfTopTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 224 - }, - "rcPreviewCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 56 - }, - "CurrentHitTarget": { - "type": { - "kind": "enum", - "name": "CurrentHitTargetEnum" - }, - "offset": 192 - }, - "fSnapMovingTemporaryAllowed": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fTrackCancelled": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 200 - }, - "ptLastTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 216 - }, - "cmd": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 144 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 164 - }, - "MoveRectStyle": { - "type": { - "kind": "enum", - "name": "MoveRectStyleEnum" - }, - "offset": 196 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "ulCountSizeOutOfTopBottomTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 232 - }, - "fStartVerticallyMaximizedLeft": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcNormalStartCheckPt": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 120 - }, - "ptMinTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 88 - }, - "rcDrag": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - }, - "pMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "impx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 148 - } - }, - "kind": "struct", - "size": 240 - }, - "_D3DDDI_RATIONAL": { - "fields": { - "Denominator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Numerator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "VWPL": { - "fields": { - "cElem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "aElement": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "VWPLELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "fTagged": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cThreshhold": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cPwnd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagTEXTMETRICW": { - "fields": { - "tmOverhang": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "tmPitchAndFamily": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 55 - }, - "tmStruckOut": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 54 - }, - "tmCharSet": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - }, - "tmDigitizedAspectX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "tmDigitizedAspectY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "tmFirstChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 44 - }, - "tmWeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "tmDescent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "tmDefaultChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 48 - }, - "tmLastChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 46 - }, - "tmMaxCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "tmItalic": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 52 - }, - "tmUnderlined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 53 - }, - "tmInternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "tmAscent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "tmHeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "tmAveCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "tmBreakChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 50 - }, - "tmExternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 60 - }, - "_SCATTER_GATHER_LIST": { - "fields": { - "Elements": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "_SCATTER_GATHER_ELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "NumberOfElements": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "HICON__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_HANDLEENTRY": { - "fields": { - "pOwner": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "bType": { - "type": { - "kind": "enum", - "name": "bTypeEnum" - }, - "offset": 16 - }, - "bFlags": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 17 - }, - "phead": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HEAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "wUniq": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - } - }, - "kind": "struct", - "size": 24 - }, - "_THRDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagSVR_INSTANCE_INFO": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nextInThisThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spwndEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "afCmd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pcii": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 80 - }, - "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { - "fields": { - "RequestDiagInfo": { - "type": { - "kind": "struct", - "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" - }, - "offset": 4 - }, - "AffectedVidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "VidPnSerialization": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPN_SERIALIZATION" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 28 - }, - "tagPOPUPMENU": { - "fields": { - "fDroppedLeft": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fIsSysMenu": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posDropped": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fIsMenuBar": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHierarchyDropped": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDropNextPopup": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fRightButton": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ppopupmenuRoot": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fFirstClick": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fRtoL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSendUninit": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fAboutToHide": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNextPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fFlushDelayedFree": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHasMenuBar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fTrackMouseEvent": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fNoNotify": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posSelectedItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fUseMonitorRect": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndPrevPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ppmDelayedFree": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "fFreed": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSynchronous": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenuAlternate": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fDestroyed": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "iDropDir": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "fIsTrackPopup": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndActivePopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "fInCancel": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fToggle": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDelayedFree": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHideTimer": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fShowTimer": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "_D3DKMDT_MONITOR_SOURCE_MODE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 84 - }, - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "ColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 68 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 88 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 96 - }, - "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 8 - }, - "Data": { - "type": { - "count": 128, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 12 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 140 - }, - "__unnamed_127c": { - "fields": { - "Wcb": { - "type": { - "kind": "struct", - "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" - }, - "offset": 0 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_D3DMATRIX": { - "fields": { - "_41": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 48 - }, - "_42": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 52 - }, - "_43": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 56 - }, - "_44": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 60 - }, - "_34": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 44 - }, - "_14": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 12 - }, - "_13": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "_12": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "_11": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - }, - "_24": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 28 - }, - "_31": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 32 - }, - "_33": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 40 - }, - "_32": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 36 - }, - "_22": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 20 - }, - "_23": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 24 - }, - "_21": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 64 - }, - "_LARGE_UNICODE_STRING": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumLength": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 4 - }, - "bAnsi": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "_VK_VALUES_STRINGS": { - "fields": { - "fReserved": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "pszMultiNames": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHID_TLC_INFO": { - "fields": { - "cExcludeOrphaned": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - }, - "cDevices": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "cExcludeRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cUsagePageRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "cDirectRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { - "fields": { - "Info": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_SOURCE_MODE" - }, - "offset": 0 - }, - "TimingType": { - "type": { - "kind": "enum", - "name": "TimingTypeEnum" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 104 - }, - "tagCURSOR": { - "fields": { - "rt": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 58 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCMARKHEAD" - }, - "offset": 0 - }, - "hbmUserAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "xHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 68 - }, - "hbmColor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pcurNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "CURSORF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hbmMask": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bpp": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 120 - }, - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 128 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "rcBounds": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 96 - }, - "atomModName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "hbmAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "yHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 70 - }, - "strName": { - "type": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 136 - }, - "_D3DKMDT_GAMMA_RAMP": { - "fields": { - "Data": { - "type": { - "kind": "struct", - "name": "__unnamed_182e" - }, - "offset": 16 - }, - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "HWND__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1207": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18a1": { - "fields": { - "Text": { - "type": { - "kind": "enum", - "name": "TextEnum" - }, - "offset": 0 - }, - "Graphics": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { - "fields": { - "TargetMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "offset": 360 - }, - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 432 - }, - "HKL__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1209": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagDCE": { - "fields": { - "hrgnClipPublic": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwndOrg": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pdceNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "DCX_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hdc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "hrgnSavedVis": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pwndRedirect": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pwndClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 96 - }, - "VSC_LPWSTR": { - "fields": { - "vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pwsz": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagQ": { - "fields": { - "hwndDblClk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "timeDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndFocus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 328 - }, - "cLockCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 322 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 312 - }, - "ptiSysLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "caret": { - "type": { - "kind": "struct", - "name": "tagCARET" - }, - "offset": 232 - }, - "ptiMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndActivePrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ptMouseMove": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 128 - }, - "msgDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "msgJournal": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "ptiKeyboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 320 - }, - "QF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 316 - }, - "mlInput": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 0 - }, - "spwndActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "codeCapture": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "idSysLock": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "spcurCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "ulEtwReserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "ptDblClk": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 120 - }, - "xbtnDblClk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 104 - }, - "afKeyRecentDown": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "afKeyState": { - "type": { - "count": 64, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 168 - }, - "spwndCapture": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "idSysPeek": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 344 - }, - "__unnamed_1203": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "HGESTUREINFO__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLS": { - "fields": { - "spcur": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 100 - }, - "pclsClone": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "lpszClientAnsiMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pclsBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "atomNVClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "pclsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "CSF_flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "lpszAnsiClassName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "spcpdFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "lpszClientUnicodeMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "cbclsExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 96 - }, - "lpszMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "spicnSm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "cWndReferenceCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "hbrBackground": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "spicn": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 12 - }, - "pdce": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "rpdeskParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "atomClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 160 - }, - "_PROCDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { - "fields": { - "CommitVidPnRequestOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumCommitVidPnRequests": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_VK_TO_FUNCTION_TABLE": { - "fields": { - "NLSFEProcType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "NLSFEProcCurrent": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcSwitch": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "NLSFEProcAlt": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 68 - }, - "NLSFEProc": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 132 - }, - "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { - "fields": { - "NumDescriptors": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "DescriptorSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 144 - }, - "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 112 - }, - "_CALLBACKWND": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { - "fields": { - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - }, - "TargetModeSet": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" - }, - "offset": 360 - } - }, - "kind": "struct", - "size": 440 - }, - "_VK_FUNCTION_PARAM": { - "fields": { - "NLSFEProcIndex": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcParam": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBCALC": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "pxStart": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "pxThumbBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "cpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "pxMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pxThumbTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "pxDownArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cpx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "pxBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "pxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pxLeft": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "pxRight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "pxUpArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "HDESK__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "HIMC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { - "fields": { - "SecondChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "FourthChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "ThirdChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FirstChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMENUSTATE": { - "fields": { - "cxAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 116 - }, - "pGlobalPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "uDraggingIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "fNotifyByPos": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInCallHandleMenuMessages": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ixAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "dwLockCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "fAutoDismiss": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fIsSysMenu": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "dwAniStartTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "uButtonDownHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "fIgnoreButtonUp": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptButtonDown": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 56 - }, - "fMenuStarted": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "iAniDropDir": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 8 - }, - "hdcAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "fModelessMenu": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hbmAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "fInEndMenu": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 92 - }, - "vkButtonDown": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fSetCapture": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInDoDragDrop": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fActiveNoForeground": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fMouseOffMenu": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fDragAndDrop": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInsideMenuLoop": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 80 - }, - "fButtonDown": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptiMenuStateOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "iyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 112 - }, - "hdcWndAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "fAboutToAutoDismiss": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "mnFocus": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "uButtonDownIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "fButtonAlwaysDown": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fUnderline": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptMouseLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 12 - }, - "pmnsPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fDragging": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "cmdLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 144 - }, - "VK_TO_BIT": { - "fields": { - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModBits": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - } - }, - "kind": "struct", - "size": 2 - }, - "tagWOWTHREADINFO": { - "fields": { - "pIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "idParentProcess": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "idTask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwtiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "idWaitObject": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 40 - }, - "__unnamed_1805": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1211": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1213": { - "fields": { - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - }, - "AdvanceOnly": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 25 - }, - "ClusterCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "DeleteHandle": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReplaceIfExists": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 24 - }, - "FileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1217": { - "fields": { - "FsInformationClass": { - "type": { - "kind": "enum", - "name": "FsInformationClassEnum" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_123b": { - "fields": { - "IoResourceRequirementList": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_122d": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1950": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagITEM": { - "fields": { - "fType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ulX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "wID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwItemData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "hbmpChecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "xItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "spSubMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hbmpUnchecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fState": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dxTab": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "cxBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 104 - }, - "yItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "cyItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 76 - }, - "umim": { - "type": { - "kind": "struct", - "name": "tagUAHMENUITEMMETRICS" - }, - "offset": 112 - }, - "cch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "ulWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "cyBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "lpstr": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cxItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "hbmp": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 144 - }, - "tagIMEINFOEX": { - "fields": { - "dwImeWinVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fSysWow64Only": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "fInitOpen": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "wszImeDescription": { - "type": { - "count": 50, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 88 - }, - "fCUASLayer": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "ImeInfo": { - "type": { - "kind": "struct", - "name": "tagIMEINFO" - }, - "offset": 8 - }, - "wszImeFile": { - "type": { - "count": 80, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 188 - }, - "wszUIClass": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 36 - }, - "fLoadFlag": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "dwProdVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fdwInitConvMode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - } - }, - "kind": "struct", - "size": 352 - }, - "__unnamed_1962": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1958" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_1956" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_195e" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_195c" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "ConfigData": { - "type": { - "kind": "struct", - "name": "__unnamed_195a" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1960" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1954" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagMSGPPINFO": { - "fields": { - "dwIndexMsgPP": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagSBINFO": { - "fields": { - "WSBflags": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "Horz": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 4 - }, - "Vert": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 36 - }, - "VWPLELEMENT": { - "fields": { - "DataOrTag": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSBDATA": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "_VSC_VK": { - "fields": { - "Vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123f": { - "fields": { - "Lock": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1 - }, - "_SCATTER_GATHER_ELEMENT": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "Address": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagWND": { - "fields": { - "spwndLastActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "bWS_CLIPCHILDREN": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bMaximizeButtonDown": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bUIStateActive": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_TABSTOP": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDialogWindow": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "bMinimizeButtonDown": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HIMC__" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "bChildNoActivate": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_LAYERED": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bStartPaint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedLeft": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bHiddenPopup": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSendEraseBackground": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin50Compat": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_CLIENTEDGE": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 66 - }, - "bWS_EX_TOOLWINDOW": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bDisabled": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bAnsiWindowProc": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin40Compat": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcClient": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 128 - }, - "bAnsiCreator": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bAnyScrollButtonDown": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bSendSizeMoveMsgs": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bLinked": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bSendNCPaint": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bInternalPaint": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasClientEdge": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasPalette": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasHorizontalScrollbar": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUIStateFocusRectHidden": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_DLGFRAME": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_MDICHILD": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasVerticalScrollbar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved2": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bActiveFrame": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bNoNCPaint": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasSPB": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_MINIMIZEBOX": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarVerticalTracking": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_DLGMODALFRAME": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TRANSPARENT": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bPaintNotProcessed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSyncPaintPending": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "bShellHookRegistered": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndChild": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "bUnused5": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bInDestroy": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "state": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "bWS_EX_LEFTSCROLLBAR": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bToggleTopmost": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_VSCROLL": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "ExStyle": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "bWS_HSCROLL": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUpdateDirty": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWMPaintSent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_WINDOWEDGE": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_ACCEPTFILE": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_GROUP": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bVisible": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bVerticallyMaximizedRight": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bForceMenuDraw": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bForceNCPaint": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bOldUI": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndClipboardListenerNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "bWS_EX_NOPADDEDBORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bNoMinmaxAnimatedRects": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bWS_MAXIMIZEBOX": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bHasCaption": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bEraseBackground": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "spwndOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "subPointer": { - "type": { - "subtype": { - "kind": "struct", - "name": "subTagWNDType" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 232 - }, - "bMakeVisibleWhenUnghosted": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused8": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bUnused9": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 52 - }, - "bForceFullNCPaintClipRgn": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_RTLREADING": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused1": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused2": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused3": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused4": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasMeun": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused6": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused7": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bSmallIconFromWMQueryDrag": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bClipboardListener": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bScrollBarLineDownBtnDown": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedirectedForPrint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_RIGHT": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasCreatestructName": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITED": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bFullScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnUpdate": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "bConsoleWindow": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "ppropList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROPLIST" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bWS_EX_TOPMOST": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bScrollBarPageDownBtnDown": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarLineUpBtnDown": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRecievedQuerySuspendMsg": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bMaximizeMonitorRegion": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedrawIfHung": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_POPUP": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTEXTHELP": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "dwUserData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 256 - }, - "hMod16": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 64 - }, - "FullScreenMode": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 44 - }, - "bLayeredLimbo": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_NOINHERITLAYOUT": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_LAYOUTRTL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUIStateKbdAccelHidden": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_BORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_SIZEBOX": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDestroyed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bServerSideWindowProc": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bCaptionTextTruncated": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 112 - }, - "bEndPaintInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnNewFrame": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "bBeingActivated": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITEDCompositing": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWMCreateMsgProcessed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_NOACTIVATE": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_APPWINDOW": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pSBInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBINFO" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "directName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!String" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bCloseButtonDown": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bMaximized": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_CHILD": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "bWS_THICKFRAME": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTROLPARENT": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pcls": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bLayeredForDWM": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bMsgBox": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHelpButtonDown": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasOverlay": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bRedrawFrameIfHung": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_NOPARENTNOTIFY": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bMaximizesToMonitor": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bBottomMost": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bReserved1": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bRedirected": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved3": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved4": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved5": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved6": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved7": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "spwndPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bLayeredInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "state2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "bWS_CLIPSIBLINGS": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarPageUpBtnDown": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "pTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DMATRIX" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "bWin31Compat": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "ExStyle2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "bHIGHDPI_UNAWARE_Unused": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_SYSMENU": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "strName": { - "type": { - "kind": "struct", - "name": "_LARGE_UNICODE_STRING" - }, - "offset": 232 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "bMinimized": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bRecievedSuspendMsg": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_STATICEDGE": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 296 - }, - "_WM_VALUES_STRINGS": { - "fields": { - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "fInternal": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "fDefined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { - "fields": { - "VisibleRegionSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 8 - }, - "Stride": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "PixelFormat": { - "type": { - "kind": "enum", - "name": "PixelFormatEnum" - }, - "offset": 20 - }, - "PixelValueAccessMode": { - "type": { - "kind": "enum", - "name": "PixelValueAccessModeEnum" - }, - "offset": 28 - }, - "PrimSurfSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "_VK_TO_WCHARS1": { - "fields": { - "Attributes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "_TLSPRITESTATE": { - "fields": { - "flOriginalSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "iSpriteType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pfnSaveScreenBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bInsideDriverCall": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pfnStrokePath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnTransparentBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnPaint": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnStretchBltROP": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "iType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "pfnPlgBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnCopyBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "iOriginalType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pfnTextOut": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDrawStream": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStrokeAndFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnLineTo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnStretchBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGradientFill": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnAlphaBlend": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "flSpriteSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "pfnBitBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 168 - }, - "tagUAHMENUITEMMETRICS": { - "fields": { - "rgsizeBar": { - "type": { - "count": 2, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - }, - "rgsizePopup": { - "type": { - "count": 4, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_121b": { - "fields": { - "Length": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1229": { - "fields": { - "Srb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_SCSI_REQUEST_BLOCK" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_121f": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1225": { - "fields": { - "DeviceObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Vpb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_VPB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "subTagWNDType": { - "fields": { - "style_bitmask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - } - }, - "kind": "struct", - "size": 128 - }, - "_HEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagIMEINFO": { - "fields": { - "fdwProperty": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "fdwSelectCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fdwUICaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwPrivateDataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fdwSCSCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "fdwSentenceCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "fdwConversionCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 28 - }, - "_DXGK_DIAG_CODE_POINT_PACKET": { - "fields": { - "Header": { - "type": { - "kind": "struct", - "name": "_DXGK_DIAG_HEADER" - }, - "offset": 0 - }, - "Param3": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "Param1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CodePointType": { - "type": { - "kind": "enum", - "name": "CodePointTypeEnum" - }, - "offset": 48 - }, - "Param2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_SOURCE_MODE": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Format": { - "type": { - "kind": "struct", - "name": "__unnamed_18a1" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagW32JOB": { - "fields": { - "restrictions": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ughCrt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ughMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pgh": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long long" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EJOB" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ppiTable": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "uProcessCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "uMaxProcesses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { - "fields": { - "NumFrequencyRanges": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "FrequencyRangeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 56 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { - "fields": { - "APSTriggerBits": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "CopyProtectionType": { - "type": { - "kind": "enum", - "name": "CopyProtectionTypeEnum" - }, - "offset": 0 - }, - "CopyProtectionSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" - }, - "offset": 264 - }, - "OEMCopyProtection": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 268 - }, - "tagWINDOWSTATION": { - "fields": { - "pClipBase": { - "type": { - "subtype": { - "count": 104, - "subtype": { - "kind": "struct", - "name": "tagCLIP" - }, - "kind": "array" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "cNumClipFormats": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "luidUser": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 136 - }, - "pGlobalAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "ptiClipLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "dwWSF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "rpdeskList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spklList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spwndClipOpen": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "luidEndSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 128 - }, - "pTerm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTERMINAL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndClipboardListener": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "spwndClipViewer": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iClipSequenceNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "ptiDrawingClipboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "spwndClipOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "psidUser": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "rpwinstaNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 152 - }, - "tagDESKTOPINFO": { - "fields": { - "spwndProgman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "pvwplMessagePPHandler": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 224 - }, - "pvDesktopLimit": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fComposited": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndGestureEngine": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "pvDesktopBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwndShell": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "ppiShellProcess": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pvwplShellHook": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "fIsDwmDesktop": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndTaskman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 40 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cntMBox": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 208 - }, - "spwndBkGnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 240 - }, - "tagMBSTRING": { - "fields": { - "szName": { - "type": { - "count": 15, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 0 - }, - "uID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "uStr": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DKMDT_VIDPN_TARGET_MODE": { - "fields": { - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 72 - }, - "_DMM_VIDPNSET_SERIALIZATION": { - "fields": { - "VidPnOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumVidPns": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagKBDFILE": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "awchDllName": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 56 - }, - "pKbdTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdLayer" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pkfNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pKbdNlsTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdNlsLayer" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_11e4": { - "fields": { - "UserApcContext": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "UserApcRoutine": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "IssuingProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_W32PROCESS": { - "fields": { - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 256 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { - "fields": { - "Scaling": { - "type": { - "kind": "enum", - "name": "ScalingEnum" - }, - "offset": 0 - }, - "RotationSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" - }, - "offset": 12 - }, - "Rotation": { - "type": { - "kind": "enum", - "name": "RotationEnum" - }, - "offset": 8 - }, - "ScalingSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSERVERINFO": { - "fields": { - "uiShellMsg": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 912 - }, - "cbHandleTable": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 848 - }, - "atomSysClass": { - "type": { - "count": 25, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 852 - }, - "dtScroll": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2800 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2952 - }, - "atomIconSmProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1356 - }, - "argbSystemUnmatched": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2268 - }, - "dwTagCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4632 - }, - "ucWheelScrollLines": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2812 - }, - "ptCursorReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2784 - }, - "ucWheelScrollChars": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2816 - }, - "acOemToAnsi": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1364 - }, - "cySysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2832 - }, - "atomFrostedWindowProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1362 - }, - "mpFnid_serverCBWndProc": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 328 - }, - "PUSIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4476 - }, - "BitCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4468 - }, - "argbSystem": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2392 - }, - "dtLBSearch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2804 - }, - "dtCaretBlink": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2808 - }, - "dwInstalledEventHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 1876 - }, - "apfnClientA": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 392 - }, - "cxSysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2828 - }, - "hbrGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 2768 - }, - "ahbrSystem": { - "type": { - "count": 31, - "subtype": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 2520 - }, - "dwDefaultHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "wMaxRightOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2824 - }, - "dwSRVIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "oembmi": { - "type": { - "count": 93, - "subtype": { - "kind": "struct", - "name": "tagOEMBITMAPINFO" - }, - "kind": "array" - }, - "offset": 2964 - }, - "apfnClientWorker": { - "type": { - "kind": "struct", - "name": "_PFNCLIENTWORKER" - }, - "offset": 760 - }, - "dwDefaultHeapBase": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 904 - }, - "BitsPixel": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4473 - }, - "wMaxLeftOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2820 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4470 - }, - "dwLastSystemRITEventTickCountUpdate": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4488 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2796 - }, - "atomIconProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1358 - }, - "Planes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4472 - }, - "dpiSystem": { - "type": { - "kind": "struct", - "name": "tagDPISERVERINFO" - }, - "offset": 2896 - }, - "hIcoWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2944 - }, - "apfnClientW": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 576 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2956 - }, - "MBStrings": { - "type": { - "count": 11, - "subtype": { - "kind": "struct", - "name": "tagMBSTRING" - }, - "kind": "array" - }, - "offset": 916 - }, - "atomContextHelpIdProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1360 - }, - "adwDBGTAGFlags": { - "type": { - "count": 35, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4492 - }, - "aiSysMet": { - "type": { - "count": 97, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 1880 - }, - "dwRIPFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4636 - }, - "uCaretWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4480 - }, - "cCaptures": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2960 - }, - "tmSysFont": { - "type": { - "kind": "struct", - "name": "tagTEXTMETRICW" - }, - "offset": 2836 - }, - "cHandleEntries": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ptCursor": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2776 - }, - "hIconSmWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2936 - }, - "mpFnidPfn": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "UILangID": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4484 - }, - "acAnsiToOem": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1620 - }, - "aStoCidPfn": { - "type": { - "count": 7, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 272 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 4452 - }, - "dwLastRITEventTickCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2792 - } - }, - "kind": "struct", - "size": 4640 - }, - "tagPOOLRECORD": { - "fields": { - "ExtraData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "trace": { - "type": { - "count": 6, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "__unnamed_195a": { - "fields": { - "Priority": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagUSERSTARTUPINFO": { - "fields": { - "dwYSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cbReserved2": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 26 - }, - "cb": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dwY": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwXSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "wShowWindow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 28 - }, - "_DMM_VIDPN_SERIALIZATION": { - "fields": { - "PathsFromSourceSerializationOffsets": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 8 - }, - "NumActiveSources": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_11df": { - "fields": { - "IrpCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "SystemBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MasterIrp": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IRP" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagHID_PAGEONLY_REQUEST": { - "fields": { - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cRefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1233": { - "fields": { - "Interface": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_INTERFACE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "InterfaceSpecificData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "InterfaceType": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_GUID" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagQMSG": { - "fields": { - "Padding": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 80 - }, - "ptMouseReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 72 - }, - "FromPen": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 64 - }, - "Wow64Message": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 96 - }, - "dwQEvent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 30 - }, - "offset": 80 - }, - "pqmsgPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FromTouch": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "NoCoalesce": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "msg": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 16 - }, - "pqmsgNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1237": { - "fields": { - "Capabilities": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_CAPABILITIES" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_11e6": { - "fields": { - "AsynchronousParameters": { - "type": { - "kind": "struct", - "name": "__unnamed_11e4" - }, - "offset": 0 - }, - "AllocationSize": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagDESKTOP": { - "fields": { - "spmenuVScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "dwMouseHoverTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 212 - }, - "rpwinstaParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spmenuDialogSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndForeground": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenuHScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "spwndTooltip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndMessage": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cciConsole": { - "type": { - "kind": "struct", - "name": "_CONSOLE_CARET_INFO" - }, - "offset": 144 - }, - "PtiList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 168 - }, - "spwndTray": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "rpdeskNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwDTFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pMagInputTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MAGNIFICATION_INPUT_TRANSFORM" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "htEx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 192 - }, - "ulHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "pheapDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!tagWIN32HEAP" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "rcMouseHover": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 196 - }, - "hsectionDesktop": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "dwDesktopId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 224 - }, - "_MAGNIFICATION_INPUT_TRANSFORM": { - "fields": { - "rcScreen": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 16 - }, - "magFactorX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "magFactorY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "ptiMagThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rcSource": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 48 - }, - "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 0 - }, - "ConstraintType": { - "type": { - "kind": "enum", - "name": "ConstraintTypeEnum" - }, - "offset": 36 - }, - "RangeLimits": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_FREQUENCY_RANGE" - }, - "offset": 4 - }, - "Constraint": { - "type": { - "kind": "struct", - "name": "__unnamed_16c1" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_121d": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IoControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_PFNCLIENTWORKER": { - "fields": { - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnCtfHookProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_12e0": { - "fields": { - "InitialPrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" - }, - "offset": 0 - }, - "PrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_PRIVILEGE_SET" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 44 - }, - "tagMENULIST": { - "fields": { - "pMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_DMA_OPERATIONS": { - "fields": { - "PutDmaAdapter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FreeMapRegisters": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "MapTransfer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "FreeCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReadDmaCounter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "AllocateCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "PutScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "BuildMdlFromScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "GetScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "CalculateScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "FreeAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "GetDmaAlignment": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "FlushAdapterBuffers": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "AllocateAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "BuildScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 128 - }, - "__unnamed_1811": { - "fields": { - "Start": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagSPB": { - "fields": { - "hbm": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hrgn": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ulSaveId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "pspbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "tagWin32PoolHead": { - "fields": { - "pPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pTrace": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DXGK_DIAG_HEADER": { - "fields": { - "Index": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "ProcessName": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 16 - }, - "LogTimestamp": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ThreadId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - }, - "WdLogIdx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 48 - }, - "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { - "fields": { - "CleanupAfterFailedCommitVidPn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ModeChangeRequestId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "ReclaimClonedTarget": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ForceAllActiveVidPnModeListInvalidation": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 12 - }, - "tagTOUCHINPUT": { - "fields": { - "dwExtraInfo": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "hSource": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dwMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cyContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "cxContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "dwTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 48 - }, - "_SM_VALUES_STRINGS": { - "fields": { - "StorageType": { - "type": { - "kind": "enum", - "name": "StorageTypeEnum" - }, - "offset": 16 - }, - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "RangeType": { - "type": { - "kind": "enum", - "name": "RangeTypeEnum" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1956": { - "fields": { - "MinimumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "_D3DKMDT_VIDEO_SIGNAL_INFO": { - "fields": { - "VSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 20 - }, - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 12 - }, - "PixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "TotalSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 4 - }, - "VideoStandard": { - "type": { - "kind": "enum", - "name": "VideoStandardEnum" - }, - "offset": 0 - }, - "ScanLineOrdering": { - "type": { - "kind": "enum", - "name": "ScanLineOrderingEnum" - }, - "offset": 48 - }, - "HSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 56 - }, - "tagTERMINAL": { - "fields": { - "spwndDesktopOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pEventInputReady": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "rpdeskDestroy": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pqDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwTERMF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwNestedLevel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ptiDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pEventTermInit": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "HFONT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { - "fields": { - "MacroVisionFull": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "MacroVisionApsTrigger": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "NoProtection": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 29 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_PFNCLIENT": { - "fields": { - "pfnDispatchDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnDispatchHook": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "pfnDesktopWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "pfnScrollBarWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnMessageWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnSwitchWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnHkINLPCWPSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnTitleWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnHkINLPCWPRETSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnMenuWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDispatchMessage": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pfnDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnMDIActivateDlgProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 176 - } - }, - "kind": "struct", - "size": 184 - }, - "tagOEMBITMAPINFO": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1221": { - "fields": { - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "SecurityDescriptor": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_KLIST_ENTRY": { - "fields": { - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HMONITOR__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1247": { - "fields": { - "DeviceTextType": { - "type": { - "kind": "enum", - "name": "DeviceTextTypeEnum" - }, - "offset": 0 - }, - "LocaleId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagCLIENTINFO": { - "fields": { - "msgDbcsCB": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 160 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "achDbcsCF": { - "type": { - "count": 2, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 154 - }, - "dwTIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "pClientThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 152 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "dwHookCurrent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "afAsyncKeyStateRecentDown": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwHookData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "afAsyncKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 128 - }, - "CallbackWnd": { - "type": { - "kind": "struct", - "name": "_CALLBACKWND" - }, - "offset": 64 - }, - "lpdwRegisteredClasses": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "cInDDEMLCallback": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 92 - }, - "cSpins": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "hKL": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "afKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 116 - }, - "CI_flags": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "phkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 216 - }, - "_DMM_MONITOR_SERIALIZATION": { - "fields": { - "SourceModeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FrequencyRangeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "DescriptorSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ModePruningAlgorithm": { - "type": { - "kind": "enum", - "name": "ModePruningAlgorithmEnum" - }, - "offset": 16 - }, - "VideoPresentTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "IsUsingDefaultProfile": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 13 - }, - "MonitorPowerState": { - "type": { - "kind": "enum", - "name": "MonitorPowerStateEnum" - }, - "offset": 20 - }, - "MonitorType": { - "type": { - "kind": "enum", - "name": "MonitorTypeEnum" - }, - "offset": 36 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IsSimulatedMonitor": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 12 - }, - "Orientation": { - "type": { - "kind": "enum", - "name": "OrientationEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagPROP": { - "fields": { - "fs": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "atomKey": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1243": { - "fields": { - "IdType": { - "type": { - "kind": "enum", - "name": "IdTypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123d": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "WhichSpace": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Offset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_WNDMSG": { - "fields": { - "abMsgs": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "maxMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSHAREDINFO": { - "fields": { - "psi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSERVERINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulSharedDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "aheList": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HANDLEENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "DefWindowSpecMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 552 - }, - "awmControl": { - "type": { - "count": 31, - "subtype": { - "kind": "struct", - "name": "_WNDMSG" - }, - "kind": "array" - }, - "offset": 40 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "HeEntrySize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DefWindowMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 536 - } - }, - "kind": "struct", - "size": 568 - }, - "__unnamed_181b": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1811" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_180d" - }, - "offset": 0 - }, - "DeviceSpecificData": { - "type": { - "kind": "struct", - "name": "__unnamed_1813" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_1817" - }, - "offset": 0 - }, - "MessageInterrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_180b" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_1815" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1819" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPOINT": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagIMC": { - "fields": { - "dwClientImcData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "hImeWnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pImcNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "tagKL": { - "fields": { - "uNumTbl": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "pklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "pklNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spkfPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "dwFontSigs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLastKbdType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 72 - }, - "dwKL_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "iBaseCharset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "dwKLID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "spkf": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "piiex": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMEINFOEX" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pspkfExtra": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "wchDiacritic": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 74 - }, - "dwLastKbdSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_115b": { - "fields": { - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_182e": { - "fields": { - "pRgb256x3x16": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pRaw": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pDxgi1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagTDB": { - "fields": { - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "TDB_Flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "pwti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "nPriority": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "ptdbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagCARET": { - "fields": { - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "iHideLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "hTimer": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "yOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "xOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "fVisible": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hBitmap": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cxOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cyOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "tid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "fOn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_LIGATURE1": { - "fields": { - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 4 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModificationNumber": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 6 + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" } - }, - "base_types": { - "unsigned char": { - "kind": "char", - "endian": "little", - "signed": false, - "size": 1 - }, - "float": { - "kind": "float", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "wchar": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "pointer": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - }, - "unsigned int": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "short": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned short": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 2 - }, - "long long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 8 - }, - "unsigned long long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - } - }, - "enums": { - "TextEnum": { - "base": "long", - "constants": { - "D3DKMDT_TRF_UNINITIALIZED": 0 - }, - "size": 4 - }, - "PreferenceEnum": { - "base": "long", - "constants": { - "D3DKMDT_MP_PREFERRED": 1, - "D3DKMDT_MP_MAXVALID": 2, - "D3DKMDT_MP_UNINITIALIZED": 0 - }, - "size": 4 - }, - "FileInformationClassEnum": { - "base": "long", - "constants": { - "FileInternalInformation": 6, - "FileQuotaInformation": 32, - "FileIoStatusBlockRangeInformation": 42, - "FilePipeLocalInformation": 24, - "FileStandardLinkInformation": 54, - "FileIdFullDirectoryInformation": 38, - "FileLinkInformation": 11, - "FileFullDirectoryInformation": 2, - "FileAllInformation": 18, - "FileSfioVolumeInformation": 45, - "FileStreamInformation": 22, - "FileRenameInformation": 10, - "FileValidDataLengthInformation": 39, - "FileAlternateNameInformation": 21, - "FileBasicInformation": 4, - "FilePositionInformation": 14, - "FileCompletionInformation": 30, - "FileAttributeCacheInformation": 52, - "FileReparsePointInformation": 33, - "FileMailslotSetInformation": 27, - "FileNetworkPhysicalNameInformation": 49, - "FileAllocationInformation": 19, - "FileIsRemoteDeviceInformation": 51, - "FileFullEaInformation": 15, - "FileProcessIdsUsingFileInformation": 47, - "FileDispositionInformation": 13, - "FileStandardInformation": 5, - "FileAccessInformation": 8, - "FileNumaNodeInformation": 53, - "FilePipeRemoteInformation": 25, - "FileIoPriorityHintInformation": 43, - "FileMailslotQueryInformation": 26, - "FileRemoteProtocolInformation": 55, - "FileNamesInformation": 12, - "FileHardLinkInformation": 46, - "FileEndOfFileInformation": 20, - "FileIdBothDirectoryInformation": 37, - "FileSfioReserveInformation": 44, - "FileIdGlobalTxDirectoryInformation": 50, - "FileNetworkOpenInformation": 34, - "FileObjectIdInformation": 29, - "FileMoveClusterInformation": 31, - "FileIoCompletionNotificationInformation": 41, - "FileNameInformation": 9, - "FileBothDirectoryInformation": 3, - "FileDirectoryInformation": 1, - "FileMaximumInformation": 56, - "FileNormalizedNameInformation": 48, - "FilePipeInformation": 23, - "FileCompressionInformation": 28, - "FileTrackingInformation": 36, - "FileEaInformation": 7, - "FileShortNameInformation": 40, - "FileModeInformation": 16, - "FileAlignmentInformation": 17, - "FileAttributeTagInformation": 35 - }, - "size": 4 - }, - "ModePruningAlgorithmEnum": { - "base": "long", - "constants": { - "DMM_MPA_MAXVALID": 3, - "DMM_MPA_GDI": 1, - "DMM_MPA_VISTA": 2, - "DMM_MPA_UNINITIALIZED": 0 - }, - "size": 4 - }, - "fmtEnum": { - "base": "unsigned long", - "constants": { - "CF_ENHMETAFILE": 14, - "CF_PENDATA": 10, - "CF_BITMAP": 2, - "CF_UNICODETEXT": 13, - "CF_HDROP": 15, - "CF_OEMTEXT": 7, - "CF_WAVE": 12, - "CF_DSPTEXT": 129, - "CF_DIBV5": 17, - "CF_TIFF": 6, - "CF_PALETTE": 9, - "CF_OWNERDISPLAY": 128, - "CF_DSPMETAFILEPICT": 131, - "CF_METAFILEPICT": 3, - "CF_RIFF": 11, - "CF_DSPENHMETAFILE": 142, - "CF_TEXT": 1, - "CF_LOCALE": 16, - "CF_SYLK": 4, - "CF_DSPBITMAP": 130, - "CF_DIB": 8, - "CF_DIF": 5 - }, - "size": 4 - }, - "MonitorPowerStateEnum": { - "base": "long", - "constants": { - "PowerDeviceUnspecified": 0, - "PowerDeviceD0": 1, - "PowerDeviceD1": 2, - "PowerDeviceD2": 3, - "PowerDeviceD3": 4, - "PowerDeviceMaximum": 5 - }, - "size": 4 - }, - "bTypeEnum": { - "base": "unsigned char", - "constants": { - "TYPE_DDEXACT": 11, - "TYPE_HOOK": 5, - "TYPE_FREE": 0, - "TYPE_MONITOR": 12, - "TYPE_GESTURE": 21, - "TYPE_DEVICEINFO": 19, - "TYPE_DDEACCESS": 9, - "TYPE_CALLPROC": 7, - "TYPE_CURSOR": 3, - "TYPE_KBDLAYOUT": 13, - "TYPE_WINEVENTHOOK": 15, - "TYPE_MENU": 2, - "TYPE_ACCELTABLE": 8, - "TYPE_TOUCH": 20, - "TYPE_SETWINDOWPOS": 4, - "TYPE_CLIPDATA": 6, - "TYPE_KBDFILE": 14, - "TYPE_DDECONV": 10, - "TYPE_HIDDATA": 18, - "TYPE_WINDOW": 1, - "TYPE_INPUTCONTEXT": 17, - "TYPE_TIMER": 16 - }, - "size": 1 - }, - "OriginEnum": { - "base": "long", - "constants": { - "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, - "D3DKMDT_MCO_UNINITIALIZED": 0, - "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, - "D3DKMDT_MCO_MAXVALID": 5, - "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, - "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 - }, - "size": 4 - }, - "CodePointTypeEnum": { - "base": "long", - "constants": { - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, - "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, - "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, - "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, - "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, - "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, - "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, - "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, - "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, - "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, - "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, - "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, - "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, - "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, - "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, - "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, - "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, - "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, - "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, - "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, - "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, - "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, - "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, - "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, - "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, - "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, - "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, - "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 - }, - "size": 4 - }, - "ConstraintTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MFRC_MAXPIXELRATE": 2, - "D3DKMDT_MFRC_ACTIVESIZE": 1, - "D3DKMDT_MFRC_UNINITIALIZED": 0 - }, - "size": 4 - }, - "VidPnTargetColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorTypeEnum": { - "base": "long", - "constants": { - "DMM_VMT_TEMPORARY_MONITOR": 4, - "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, - "DMM_VMT_PHYSICAL_MONITOR": 1, - "DMM_VMT_UNINITIALIZED": 0, - "DMM_VMT_SIMULATED_MONITOR": 5, - "DMM_VMT_PERSISTENT_MONITOR": 3 - }, - "size": 4 - }, - "PowerStateEnum": { - "base": "long", - "constants": { - "PowerSystemSleeping2": 3, - "PowerSystemSleeping1": 2, - "PowerSystemSleeping3": 4, - "PowerSystemUnspecified": 0, - "PowerSystemMaximum": 7, - "PowerSystemShutdown": 6, - "PowerSystemHibernate": 5, - "PowerSystemWorking": 1 - }, - "size": 4 - }, - "ShutdownTypeEnum": { - "base": "long", - "constants": { - "PowerActionNone": 0, - "PowerActionReserved": 1, - "PowerActionHibernate": 3, - "PowerActionShutdownOff": 6, - "PowerActionShutdown": 4, - "PowerActionSleep": 2, - "PowerActionShutdownReset": 5, - "PowerActionWarmEject": 7 - }, - "size": 4 - }, - "ScalingEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPS_CENTERED": 2, - "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, - "D3DKMDT_VPPS_STRETCHED": 3, - "D3DKMDT_VPPS_UNINITIALIZED": 0, - "D3DKMDT_VPPS_UNPINNED": 254, - "D3DKMDT_VPPS_IDENTITY": 1, - "D3DKMDT_VPPS_NOTSPECIFIED": 255, - "D3DKMDT_VPPS_CUSTOM": 5, - "D3DKMDT_VPPS_RESERVED1": 253 - }, - "size": 4 - }, - "CurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "StorageTypeEnum": { - "base": "long", - "constants": { - "SmStorageActual": 0, - "SmStorageNonActual": 1 - }, - "size": 4 - }, - "ScanLineOrderingEnum": { - "base": "long", - "constants": { - "D3DDDI_VSSLO_PROGRESSIVE": 1, - "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, - "D3DDDI_VSSLO_UNINITIALIZED": 0, - "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, - "D3DDDI_VSSLO_OTHER": 255 - }, - "size": 4 - }, - "PixelValueAccessModeEnum": { - "base": "long", - "constants": { - "D3DKMDT_PVAM_UNINITIALIZED": 0, - "D3DKMDT_PVAM_DIRECT": 1, - "D3DKMDT_PVAM_PRESETPALETTE": 2, - "D3DKMDT_PVAM_MAXVALID": 3 - }, - "size": 4 - }, - "PriorityPolicyEnum": { - "base": "long", - "constants": { - "IrqPriorityHigh": 3, - "IrqPriorityNormal": 2, - "IrqPriorityLow": 1, - "IrqPriorityUndefined": 0 - }, - "size": 4 - }, - "OrientationEnum": { - "base": "long", - "constants": { - "D3DKMDT_MO_90DEG": 2, - "D3DKMDT_MO_0DEG": 1, - "D3DKMDT_MO_270DEG": 4, - "D3DKMDT_MO_UNINITIALIZED": 0, - "D3DKMDT_MO_180DEG": 3 - }, - "size": 4 - }, - "ContentEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPC_NOTSPECIFIED": 255, - "D3DKMDT_VPPC_UNINITIALIZED": 0, - "D3DKMDT_VPPC_GRAPHICS": 1, - "D3DKMDT_VPPC_VIDEO": 2 - }, - "size": 4 - }, - "ColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MoveRectStyleEnum": { - "base": "long", - "constants": { - "MoveRectMidTopAtCursor": 1, - "MoveRectSidewiseKeepPositionAtCursor": 3, - "MoveRectKeepPositionAtCursor": 0, - "MoveRectKeepAspectRatioAtCursor": 2 - }, - "size": 4 - }, - "VideoStandardEnum": { - "base": "long", - "constants": { - "D3DKMDT_VSS_PAL_G": 11, - "D3DKMDT_VSS_PAL_D": 14, - "D3DKMDT_VSS_PAL_B": 9, - "D3DKMDT_VSS_SECAM_K": 21, - "D3DKMDT_VSS_VESA_GTF": 2, - "D3DKMDT_VSS_PAL_L": 30, - "D3DKMDT_VSS_PAL_M": 31, - "D3DKMDT_VSS_PAL_K": 28, - "D3DKMDT_VSS_PAL_H": 12, - "D3DKMDT_VSS_PAL_I": 13, - "D3DKMDT_VSS_SECAM_L1": 24, - "D3DKMDT_VSS_VESA_DMT": 1, - "D3DKMDT_VSS_SECAM_L": 23, - "D3DKMDT_VSS_EIA_861": 25, - "D3DKMDT_VSS_PAL_N": 15, - "D3DKMDT_VSS_APPLE": 5, - "D3DKMDT_VSS_NTSC_M": 6, - "D3DKMDT_VSS_SECAM_H": 20, - "D3DKMDT_VSS_NTSC_J": 7, - "D3DKMDT_VSS_SECAM_B": 17, - "D3DKMDT_VSS_SECAM_G": 19, - "D3DKMDT_VSS_SECAM_D": 18, - "D3DKMDT_VSS_IBM": 4, - "D3DKMDT_VSS_SECAM_K1": 22, - "D3DKMDT_VSS_PAL_NC": 16, - "D3DKMDT_VSS_PAL_B1": 10, - "D3DKMDT_VSS_EIA_861A": 26, - "D3DKMDT_VSS_EIA_861B": 27, - "D3DKMDT_VSS_UNINITIALIZED": 0, - "D3DKMDT_VSS_OTHER": 255, - "D3DKMDT_VSS_PAL_K1": 29, - "D3DKMDT_VSS_VESA_CVT": 3, - "D3DKMDT_VSS_NTSC_443": 8 - }, - "size": 4 - }, - "ImportanceOrdinalEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPI_QUATERNARY": 4, - "D3DKMDT_VPPI_SECONDARY": 2, - "D3DKMDT_VPPI_PRIMARY": 1, - "D3DKMDT_VPPI_QUINARY": 5, - "D3DKMDT_VPPI_DENARY": 10, - "D3DKMDT_VPPI_SENARY": 6, - "D3DKMDT_VPPI_TERTIARY": 3, - "D3DKMDT_VPPI_SEPTENARY": 7, - "D3DKMDT_VPPI_NONARY": 9, - "D3DKMDT_VPPI_UNINITIALIZED": 0, - "D3DKMDT_VPPI_OCTONARY": 8, - "D3DKMDT_VPPI_MAX": 32, - "D3DKMDT_VPPI_NOTSPECIFIED": 255 - }, - "size": 4 - }, - "RangeTypeEnum": { - "base": "long", - "constants": { - "SmRangeBool": 2, - "SmRangeNonSharedInfo": 1, - "SmRangeSharedInfo": 0 - }, - "size": 4 - }, - "TimingTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MTT_EXTRASTANDARD": 3, - "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, - "D3DKMDT_MTT_STANDARD": 2, - "D3DKMDT_MTT_UNINITIALIZED": 0, - "D3DKMDT_MTT_MAXVALID": 6, - "D3DKMDT_MTT_DETAILED": 4, - "D3DKMDT_MTT_ESTABLISHED": 1 - }, - "size": 4 - }, - "PixelFormatEnum": { - "base": "long", - "constants": { - "D3DDDIFMT_W11V11U10": 65, - "D3DDDIFMT_A16B16G16R16F": 113, - "D3DDDIFMT_A8R8G8B8": 21, - "D3DDDIFMT_D32_LOCKABLE": 84, - "D3DDDIFMT_L8": 50, - "D3DDDIFMT_DXVA_RESERVED27": 177, - "D3DDDIFMT_DXVA_RESERVED26": 176, - "D3DDDIFMT_DXVA_RESERVED25": 175, - "D3DDDIFMT_DXVA_RESERVED24": 174, - "D3DDDIFMT_DXVA_RESERVED23": 173, - "D3DDDIFMT_DXVA_RESERVED22": 172, - "D3DDDIFMT_DXVA_RESERVED21": 171, - "D3DDDIFMT_DXVA_RESERVED20": 170, - "D3DDDIFMT_DXVA_RESERVED29": 179, - "D3DDDIFMT_DXVA_RESERVED28": 178, - "D3DDDIFMT_R3G3B2": 27, - "D3DDDIFMT_A8R3G3B2": 29, - "D3DDDIFMT_INDEX16": 101, - "D3DDDIFMT_X4R4G4B4": 30, - "D3DDDIFMT_A4R4G4B4": 26, - "D3DDDIFMT_Q8W8V8U8": 63, - "D3DDDIFMT_FORCE_UINT": 2147483647, - "D3DDDIFMT_S1D15": 72, - "D3DDDIFMT_A16B16G16R16": 36, - "D3DDDIFMT_A8L8": 51, - "D3DDDIFMT_D24X4S4": 79, - "D3DDDIFMT_BINARYBUFFER": 199, - "D3DDDIFMT_DXVA_RESERVED30": 180, - "D3DDDIFMT_R32F": 114, - "D3DDDIFMT_VERTEXDATA": 100, - "D3DDDIFMT_R5G6B5": 23, - "D3DDDIFMT_R8G8_B8G8": 1195525970, - "D3DDDIFMT_A4L4": 52, - "D3DDDIFMT_A1R5G5B5": 25, - "D3DDDIFMT_X1R5G5B5": 24, - "D3DDDIFMT_D32": 71, - "D3DDDIFMT_G8R8_G8B8": 1111970375, - "D3DDDIFMT_A2B10G10R10": 31, - "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, - "D3DDDIFMT_MULTI2_ARGB8": 827606349, - "D3DDDIFMT_D16_LOCKABLE": 70, - "D3DDDIFMT_BITSTREAMDATA": 156, - "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, - "D3DDDIFMT_X8B8G8R8": 33, - "D3DDDIFMT_R8G8B8": 20, - "D3DDDIFMT_S8_LOCKABLE": 85, - "D3DDDIFMT_D24S8": 75, - "D3DDDIFMT_X8D24": 76, - "D3DDDIFMT_A2R10G10B10": 35, - "D3DDDIFMT_P8": 41, - "D3DDDIFMT_L6V5U5": 61, - "D3DDDIFMT_X8R8G8B8": 22, - "D3DDDIFMT_D16": 80, - "D3DDDIFMT_A2W10V10U10": 67, - "D3DDDIFMT_D24FS8": 83, - "D3DDDIFMT_MOTIONVECTORBUFFER": 157, - "D3DDDIFMT_L16": 81, - "D3DDDIFMT_X8L8V8U8": 62, - "D3DDDIFMT_A32B32G32R32F": 116, - "D3DDDIFMT_A8P8": 40, - "D3DDDIFMT_YUY2": 844715353, - "D3DDDIFMT_R16F": 111, - "D3DDDIFMT_G16R16": 34, - "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, - "D3DDDIFMT_Q16W16V16U16": 110, - "D3DDDIFMT_S8D24": 74, - "D3DDDIFMT_PICTUREPARAMSDATA": 150, - "D3DDDIFMT_A1": 118, - "D3DDDIFMT_FILMGRAINBUFFER": 158, - "D3DDDIFMT_A8": 28, - "D3DDDIFMT_UNKNOWN": 0, - "D3DDDIFMT_DXVA_RESERVED19": 169, - "D3DDDIFMT_D32F_LOCKABLE": 82, - "D3DDDIFMT_MACROBLOCKDATA": 151, - "D3DDDIFMT_A8B8G8R8": 32, - "D3DDDIFMT_UYVY": 1498831189, - "D3DDDIFMT_DXT1": 827611204, - "D3DDDIFMT_DEBLOCKINGDATA": 153, - "D3DDDIFMT_DXT3": 861165636, - "D3DDDIFMT_DXT4": 877942852, - "D3DDDIFMT_DXT5": 894720068, - "D3DDDIFMT_CxV8U8": 117, - "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, - "D3DDDIFMT_DXVA_RESERVED9": 159, - "D3DDDIFMT_DXT2": 844388420, - "D3DDDIFMT_G32R32F": 115, - "D3DDDIFMT_X4S4D24": 78, - "D3DDDIFMT_D24X8": 77, - "D3DDDIFMT_DXVA_RESERVED12": 162, - "D3DDDIFMT_DXVA_RESERVED13": 163, - "D3DDDIFMT_DXVA_RESERVED10": 160, - "D3DDDIFMT_DXVA_RESERVED11": 161, - "D3DDDIFMT_DXVA_RESERVED16": 166, - "D3DDDIFMT_DXVA_RESERVED17": 167, - "D3DDDIFMT_DXVA_RESERVED14": 164, - "D3DDDIFMT_DXVA_RESERVED15": 165, - "D3DDDIFMT_DXVA_RESERVED18": 168, - "D3DDDIFMT_D15S1": 73, - "D3DDDIFMT_V16U16": 64, - "D3DDDIFMT_SLICECONTROLDATA": 155, - "D3DDDIFMT_G16R16F": 112, - "D3DDDIFMT_INDEX32": 102, - "D3DDDIFMT_V8U8": 60 - }, - "size": 4 - }, - "IdTypeEnum": { - "base": "long", - "constants": { - "BusQueryCompatibleIDs": 2, - "BusQueryInstanceID": 3, - "BusQueryDeviceID": 0, - "BusQueryDeviceSerialNumber": 4, - "BusQueryHardwareIDs": 1, - "BusQueryContainerID": 5 - }, - "size": 4 - }, - "StartCurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "TypeEnum": { - "base": "long", - "constants": { - "DevicePowerState": 1, - "SystemPowerState": 0 - }, - "size": 4 - }, - "RotationEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPR_IDENTITY": 1, - "D3DKMDT_VPPR_NOTSPECIFIED": 255, - "D3DKMDT_VPPR_UNPINNED": 254, - "D3DKMDT_VPPR_ROTATE270": 4, - "D3DKMDT_VPPR_ROTATE90": 2, - "D3DKMDT_VPPR_ROTATE180": 3, - "D3DKMDT_VPPR_UNINITIALIZED": 0 - }, - "size": 4 - }, - "CopyProtectionTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPMT_NOTSPECIFIED": 255, - "D3DKMDT_VPPMT_UNINITIALIZED": 0, - "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, - "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, - "D3DKMDT_VPPMT_NOPROTECTION": 1 - }, - "size": 4 - }, - "FsInformationClassEnum": { - "base": "long", - "constants": { - "FileFsFullSizeInformation": 7, - "FileFsAttributeInformation": 5, - "FileFsVolumeFlagsInformation": 10, - "FileFsVolumeInformation": 1, - "FileFsSizeInformation": 3, - "FileFsLabelInformation": 2, - "FileFsDeviceInformation": 4, - "FileFsControlInformation": 6, - "FileFsDriverPathInformation": 9, - "FileFsMaximumInformation": 11, - "FileFsObjectIdInformation": 8 - }, - "size": 4 - }, - "DeviceTextTypeEnum": { - "base": "long", - "constants": { - "DeviceTextLocationInformation": 1, - "DeviceTextDescription": 0 - }, - "size": 4 - } - }, - "metadata": { - "producer": { - "version": "0.0.1", - "name": "dgmcdona-via-conversion-script", - "datetime": "2024-09-03T18:22:52Z" - }, - "format": "4.0.0" - } } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json index 22f6d17b4..f568eedbe 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json @@ -1,18830 +1,18830 @@ { - "symbols": {}, - "user_types": { - "HWINSTA__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 904 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 736 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 480 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 456 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 824 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "subPointer": { + "type": { + "subtype": { + "kind": "struct", + "name": "subTagWNDType" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "directName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!String" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "subTagWNDType": { + "fields": { + "style_bitmask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + } + }, + "kind": "struct", + "size": 128 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 40 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1153": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 59 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 9 - }, - "offset": 0 - }, - "Region": { - "type": { - "bit_position": 61, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 39 - }, - "offset": 0 + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1960": { - "fields": { - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 } - }, - "kind": "struct", - "size": 24 - }, - "tagCLIENTTHREADINFO": { - "fields": { - "fsWakeMask": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "CTIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fsWakeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - }, - "fsWakeBitsJournal": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "fsChangeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4 - }, - "tickLastMsgChecked": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "tagKbdNlsLayer": { - "fields": { - "OEMIdentifier": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "NumOfVkToF": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pusMouseVKey": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "NumOfMouseVKey": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pVkToF": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_FUNCTION_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "LayoutInformation": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1158": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 2 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HBITMAP__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_124b": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1 - }, - "InPath": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_TL": { - "fields": { - "pfnFree": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pobj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagTOUCHINPUTINFO": { - "fields": { - "dwcInputs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "TouchInput": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagTOUCHINPUT" - }, - "kind": "array" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 80 - }, - "tagTHREADINFO": { - "fields": { - "ForceLegacyResizeNCMetr": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptl": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 336 - }, - "timeLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 448 - }, - "DontJournalAttach": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fPack": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 26 - }, - "offset": 928 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 516 - }, - "psmsSent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 424 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 656 - }, - "DefaultCharset": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 512 - }, - "psmsReceiveList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "sphkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 560 - }, - "No50ExStyles": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "IgnoreFaults": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pClientInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "DDENoAsyncReg": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DealyHwndShakeChk": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "amdesk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 720 - }, - "fsChangeBitsRemoved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 704 - }, - "psmsCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 432 - }, - "NoInitFlagsOnFocus": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "StrictLLHook": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "NoShadow": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EnumHelv": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoBatching": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 904 - }, - "Winver31": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Win30AvgWidth": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "AlwaysSendSyncPaint": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "IgnoreNoDiscard": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cPaintsReady": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 480 - }, - "SubtractClips": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "apEvent": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 712 - }, - "cEnterCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 672 - }, - "OpenGLEMF": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "fThreadCleanupFinished": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "idLast": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 456 - }, - "spklActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 360 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "NoEMFSpooling": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptdb": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "SpareCompatFlags2": { - "type": { - "bit_position": 33, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 31 - }, - "offset": 520 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "mlPost": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 680 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "NoCustomPaperSize": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cTimersReady": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 484 - }, - "NoScrollBarCtxMenu": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hPrevHidData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 880 - }, - "NoPaddedBorder": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "DpiAware": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "MultipleBands": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "AnimationOff": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "No50ExStyleBits": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulThreadFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 928 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 472 - }, - "MoreExtraWndWords": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoGhost": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoHRGN1": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 628 - }, - "GiveUpForegound": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "spDefaultImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 656 - }, - "pmsd": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MOVESIZEDATA" - }, - "kind": "pointer" - }, - "offset": 544 - }, - "HardwareMixer": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 904 - }, - "EnumTTNotDevice": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fSpecialInitialization": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ForceFusion": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cti": { - "type": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "offset": 864 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pstrAppName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "SendMnuDblClk": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DDENoSync": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EditNoMouseHide": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptLastReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 636 - }, - "hTouchInputCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HTOUCHINPUT__" - }, - "kind": "pointer" - }, - "offset": 888 - }, - "pEventQueueServer": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "cNestedStableVisRgn": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "NoDrawPatRect": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTTGrapchis": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "GetDeviceCaps": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fsReserveKeys": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 708 - }, - "pq": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 352 - }, - "NoSoftCursOnMoveSize": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hEventQueueClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 592 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "DDE": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "exitCode": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 464 - }, - "wchInjected": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 706 - }, - "CallTTDevice": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DisableDBCSProp": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsShellDlg": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TransparentBltMirror": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "PtiLink": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 736 - }, - "HackWinFlags": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cVisWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 728 - }, - "NcCalcSizeOnMove": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "KCOff": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "readyHead": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 912 - }, - "UsePrintingEscape": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hGestureInfoCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HGESTUREINFO__" - }, - "kind": "pointer" - }, - "offset": 896 - }, - "ForceTextBand": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 724 - }, - "fETWReserved": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 928 - }, - "pMenuState": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 488 - }, - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "TIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 480 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "Win31DevModeSize": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSBTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBTRACK" - }, - "kind": "pointer" - }, - "offset": 584 - }, - "spwndDefaultIme": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 648 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 520 - }, - "EditSetTextMunge": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Random31Ux": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fgfSwitchInProgressSetter": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 392 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "NoTimeCbProtect": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DisableFontAssoc": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pcti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "NoCharDeadKey": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TTIgnoreRasterDupe": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "lParamHkCurrent": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 568 - }, - "qwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 520 - }, - "wParamHkCurrent": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 576 - }, - "NoWindowArrangement": { - "type": { - "bit_position": 32, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ActiveMenus": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 456 - }, - "pqAttach": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 528 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "psiiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 504 - }, - "IgnoreTopMost": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "TryExceptCallWndProc": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoDDETrackDying": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "FontSubs": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "SmoothScrolling": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 624 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "ptiSibling": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 536 - }, - "hklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "IncreaseStack": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - } - }, - "kind": "struct", - "size": 936 - }, - "__unnamed_11ff": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "EaLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FileAttributes": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_CALLPROCDATA": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "pfnClientPrevious": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "wType": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "spcpdNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH": { - "fields": { - "VidPnTargetColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 48 - }, - "VidPnTargetColorBasis": { - "type": { - "kind": "enum", - "name": "VidPnTargetColorBasisEnum" - }, - "offset": 44 - }, - "ContentTransformation": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" - }, - "offset": 12 - }, - "GammaRamp": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GAMMA_RAMP" - }, - "offset": 336 - }, - "CopyProtection": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" - }, - "offset": 68 - }, - "VidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Content": { - "type": { - "kind": "enum", - "name": "ContentEnum" - }, - "offset": 64 - }, - "VisibleFromActiveTLOffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 28 - }, - "VidPnTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "VisibleFromActiveBROffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 36 - }, - "ImportanceOrdinal": { - "type": { - "kind": "enum", - "name": "ImportanceOrdinalEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 360 - }, - "__unnamed_1253": { - "fields": { - "PowerSequence": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_POWER_SEQUENCE" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESS_HID_TABLE": { - "fields": { - "fExclusiveMouseSink": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fCaptureMouse": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyMouse": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboard": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "spwndTargetMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndTargetKbd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "UsageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 98 - }, - "UsagePageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 96 - }, - "fRawMouse": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawMouseSink": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "inclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "nSinks": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "UsagePageList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 32 - }, - "ExclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - }, - "InclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "fRawKeyboardSink": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fAppKeys": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoHotKeys": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "fNoLegacyKeyboard": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "request": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fExclusiveKeyboardSink": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "pLastRequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1809": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "MessageCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHOOK": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "iHook": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "phkNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "offPfn": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "fLastHookHung": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 88 - }, - "nTimeout": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 7 - }, - "offset": 88 - }, - "ihmod": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "ptiHooked": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 80 - } - }, - "kind": "struct", - "size": 96 - }, - "_THROBJHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagPROCESS_HID_REQUEST": { - "fields": { - "fSinkable": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "pTLCInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_TLC_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDevNotify": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "fExSinkable": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 18 - }, - "fExclusiveOrphaned": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "next_request": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "pPORequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_PAGEONLY_REQUEST" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 16 - }, - "ptr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "spwndTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 40 - }, - "_KFLOATING_SAVE": { - "fields": { - "Dummy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { - "fields": { - "Rotate270": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate90": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate180": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMLIST": { - "fields": { - "cMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pqmsgRead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pqmsgWriteLast": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_CONSOLE_CARET_INFO": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1807": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - }, - "Level": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "DEADKEY": { - "fields": { - "wchComposed": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 4 - }, - "dwBoth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESSINFO": { - "fields": { - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "fHasMagContext": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 736 - }, - "hwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWINSTA__" - }, - "kind": "pointer" - }, - "offset": 608 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ptiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 256 - }, - "pHidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 744 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "pclsPublicList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 288 - }, - "dwhmodLibLoadedMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 340 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "hdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 328 - }, - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "dwImeCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 696 - }, - "hMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HMONITOR__" - }, - "kind": "pointer" - }, - "offset": 624 - }, - "ptiMainThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "pvwplWndGCList": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 760 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "usi": { - "type": { - "kind": "struct", - "name": "tagUSERSTARTUPINFO" - }, - "offset": 708 - }, - "luidSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 700 - }, - "Unused": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 736 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pW32Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 688 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwRegisteredClasses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 752 - }, - "bmHandleFlags": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_BITMAP" - }, - "offset": 648 - }, - "pclsPrivateList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "amwinsta": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 616 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ppiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 736 - }, - "dwHotkey": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 620 - }, - "cSysExpunge": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "rpdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pdvList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 632 - }, - "hidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 824 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 320 - }, - "pwpi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "ppiNextRunning": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "dwLayout": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 740 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rpwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "pCursorCache": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "pClientBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 672 - }, - "ahmodLibLoaded": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 384 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 640 - }, - "dwLpkEntryPoints": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 680 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 768 - }, - "HBRUSH__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLIP": { - "fields": { - "fmt": { - "type": { - "kind": "enum", - "name": "fmtEnum" - }, - "offset": 0 - }, - "fGlobalHandle": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagUAHMENUPOPUPMETRICS": { - "fields": { - "rgcx": { - "type": { - "count": 4, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 0 - }, - "fUpdateMaxWidths": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 20 - }, - "tagSMS": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 72 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 80 - }, - "lpResultCallBack": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lRet": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 56 - }, - "psmsReceiveNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "tSent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "pvCapture": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "psmsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptiReceiver": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ptiCallBackSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "dwData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 112 - }, - "__unnamed_195e": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_195c": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_W32THREAD": { - "fields": { - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 336 - }, - "_VK_TO_WCHAR_TABLE": { - "fields": { - "pVkToWchars": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHARS1" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cbSize": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - }, - "nModifications": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPROPLIST": { - "fields": { - "aprop": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagPROP" - }, - "kind": "array" - }, - "offset": 8 - }, - "iFirstFree": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cEntries": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_D3DKMDT_FREQUENCY_RANGE": { - "fields": { - "MinVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 0 - }, - "MaxVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 8 - }, - "MaxHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 24 - }, - "MinHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_11f8": { - "fields": { - "Apc": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KAPC" - }, - "offset": 0 - }, - "CompletionKey": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Overlay": { - "type": { - "kind": "struct", - "name": "__unnamed_11f5" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_18bf": { - "fields": { - "BaseMiddle": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "Flags1": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "Flags2": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "tagPROFILEVALUEINFO": { - "fields": { - "dwValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uSection": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pwszKeyName": { - "type": { - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_11f5": { - "fields": { - "Thread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "DeviceQueueEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" - }, - "offset": 0 - }, - "CurrentStackLocation": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_STACK_LOCATION" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "DriverContext": { - "type": { - "count": 4, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 0 - }, - "AuxiliaryBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "OriginalFileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "PacketType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 80 - }, - "__unnamed_125f": { - "fields": { - "AllocatedResources": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "AllocatedResourcesTranslated": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "D3DDDI_DXGI_RGB": { - "fields": { - "Blue": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "Green": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "Red": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1219": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FsControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_125b": { - "fields": { - "State": { - "type": { - "kind": "struct", - "name": "nt_symbols!_POWER_STATE" - }, - "offset": 16 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "SystemContext": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ShutdownType": { - "type": { - "kind": "enum", - "name": "ShutdownTypeEnum" - }, - "offset": 24 - }, - "SystemPowerStateContext": { - "type": { - "kind": "struct", - "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "HDC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagDISPLAYINFO": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "SpatialListHead": { - "type": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "offset": 144 - }, - "BitCountMax": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 130 - }, - "cyGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "hdcBits": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDesktopIsRect": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "hbmGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pmdev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "cFullScreen": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 160 - }, - "cxGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 128 - }, - "hDevInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fAnyPalette": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "pspbFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pMonitorPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 162 - }, - "pMonitorFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "hdcGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hrgnScreenReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cMonitors": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "hdcScreen": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "DockThresholdMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "pdceFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 168 - }, - "tagWin32AllocStats": { - "fields": { - "dwMaxAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwMaxMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwCrtAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwCrtMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18c5": { - "fields": { - "DefaultBig": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "BaseMiddle": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "LimitHigh": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 0 - }, - "System": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Granularity": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Dpl": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 0 - }, - "Type": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "Present": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "LongMode": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1261": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ProviderId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "BufferSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DataPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1263": { - "fields": { - "Argument4": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Argument2": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Argument3": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "Argument1": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1265": { - "fields": { - "DeviceIoControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121d" - }, - "offset": 0 - }, - "ReadWriteConfig": { - "type": { - "kind": "struct", - "name": "__unnamed_123d" - }, - "offset": 0 - }, - "Create": { - "type": { - "kind": "struct", - "name": "__unnamed_11ff" - }, - "offset": 0 - }, - "Write": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "PowerSequence": { - "type": { - "kind": "struct", - "name": "__unnamed_1253" - }, - "offset": 0 - }, - "QueryId": { - "type": { - "kind": "struct", - "name": "__unnamed_1243" - }, - "offset": 0 - }, - "SetFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1213" - }, - "offset": 0 - }, - "CreatePipe": { - "type": { - "kind": "struct", - "name": "__unnamed_1203" - }, - "offset": 0 - }, - "Power": { - "type": { - "kind": "struct", - "name": "__unnamed_125b" - }, - "offset": 0 - }, - "Read": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "StartDevice": { - "type": { - "kind": "struct", - "name": "__unnamed_125f" - }, - "offset": 0 - }, - "QueryDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120d" - }, - "offset": 0 - }, - "LockControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121b" - }, - "offset": 0 - }, - "QueryInterface": { - "type": { - "kind": "struct", - "name": "__unnamed_1233" - }, - "offset": 0 - }, - "Others": { - "type": { - "kind": "struct", - "name": "__unnamed_1263" - }, - "offset": 0 - }, - "FileSystemControl": { - "type": { - "kind": "struct", - "name": "__unnamed_1219" - }, - "offset": 0 - }, - "SetLock": { - "type": { - "kind": "struct", - "name": "__unnamed_123f" - }, - "offset": 0 - }, - "QueryDeviceText": { - "type": { - "kind": "struct", - "name": "__unnamed_1247" - }, - "offset": 0 - }, - "WMI": { - "type": { - "kind": "struct", - "name": "__unnamed_1261" - }, - "offset": 0 - }, - "CreateMailslot": { - "type": { - "kind": "struct", - "name": "__unnamed_1207" - }, - "offset": 0 - }, - "FilterResourceRequirements": { - "type": { - "kind": "struct", - "name": "__unnamed_123b" - }, - "offset": 0 - }, - "MountVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QueryVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1217" - }, - "offset": 0 - }, - "UsageNotification": { - "type": { - "kind": "struct", - "name": "__unnamed_124b" - }, - "offset": 0 - }, - "Scsi": { - "type": { - "kind": "struct", - "name": "__unnamed_1229" - }, - "offset": 0 - }, - "WaitWake": { - "type": { - "kind": "struct", - "name": "__unnamed_124f" - }, - "offset": 0 - }, - "QueryFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1211" - }, - "offset": 0 - }, - "VerifyVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QuerySecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_121f" - }, - "offset": 0 - }, - "QueryDeviceRelations": { - "type": { - "kind": "struct", - "name": "__unnamed_122d" - }, - "offset": 0 - }, - "NotifyDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120f" - }, - "offset": 0 - }, - "SetSecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_1221" - }, - "offset": 0 - }, - "DeviceCapabilities": { - "type": { - "kind": "struct", - "name": "__unnamed_1237" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1817": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1815": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "tagKbdLayer": { - "fields": { - "pVkToWcharTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHAR_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fLocaleFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "pCharModifiers": { - "type": { - "subtype": { - "kind": "struct", - "name": "MODIFIERS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pKeyNamesExt": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pDeadKey": { - "type": { - "subtype": { - "kind": "struct", - "name": "DEADKEY" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pusVSCtoVK": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pKeyNamesDead": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pLigature": { - "type": { - "subtype": { - "kind": "struct", - "name": "_LIGATURE1" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "cbLgEntry": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 85 - }, - "pKeyNames": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "dwSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "nLgMax": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 84 - }, - "pVSCtoVK_E1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pVSCtoVK_E0": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bMaxVSCtoVK": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1813": { - "fields": { - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { - "fields": { - "Centered": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "AspectRatioCenteredMax": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Stretched": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Custom": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1958": { - "fields": { - "MinBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "MaxBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_2DREGION": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "HRGN__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1954": { - "fields": { - "AffinityPolicy": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "PriorityPolicy": { - "type": { - "kind": "enum", - "name": "PriorityPolicyEnum" - }, - "offset": 12 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "MaximumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "TargetedProcessors": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "MinimumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_PROCMARKHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagSIZE": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagDESKTOPVIEW": { - "fields": { - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "pdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pdvNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1819": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { - "fields": { - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "PathAndTargetModeSetOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBTRACK": { - "fields": { - "spwndSBNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTimerSB": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "cmdSB": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "xxxpfnSB": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fTrackVert": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posNew": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 84 - }, - "posOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fCtlSB": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "rcTrack": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 32 - }, - "fTrackRecalc": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndSB": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "pxOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fHitOld": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "pSBCalc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBCALC" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "nBar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_16c1": { - "fields": { - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "MaxPixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_DMA_ADAPTER": { - "fields": { - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "DmaOperations": { - "type": { - "subtype": { - "kind": "struct", - "name": "_DMA_OPERATIONS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMONITOR": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "rcMonitorReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 28 - }, - "pMonitorNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hDevReal": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "hrgnMonitorReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "rcWorkReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 44 - }, - "dwMONFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cWndStack": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 74 - }, - "DockTargets": { - "type": { - "count": 7, - "subtype": { - "count": 4, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "kind": "array" - }, - "offset": 96 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 144 - }, - "__unnamed_180b": { - "fields": { - "Translated": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Raw": { - "type": { - "kind": "struct", - "name": "__unnamed_1809" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagRECT": { - "fields": { - "top": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "right": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "bottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "left": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_180d": { - "fields": { - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Port": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Channel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "MODIFIERS": { - "fields": { - "wMaxModBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "pVkToBit": { - "type": { - "subtype": { - "kind": "struct", - "name": "VK_TO_BIT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ModNumber": { - "type": { - "count": 0, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 10 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120f": { - "fields": { - "CompletionFilter": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120d": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 16 - }, - "FileName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { - "fields": { - "PathAndTargetModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 48 - }, - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 40 - }, - "SourceMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_SOURCE_MODE" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 480 - }, - "tagMSG": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 24 - }, - "pt": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 36 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "time": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "tagDPISERVERINFO": { - "fields": { - "hMsgFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hCaptionFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "gclBorder": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cxMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "wMaxBtnSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "cyMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { - "fields": { - "Blue": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 1024 - }, - "Green": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 512 - }, - "Red": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1536 - }, - "__unnamed_124f": { - "fields": { - "PowerState": { - "type": { - "kind": "enum", - "name": "PowerStateEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagWOWPROCESSINFO": { - "fields": { - "ptdbHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ptiScheduled": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "nRecvLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CSLockCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "nSendLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pEventWowExec": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lpfnWowExitTask": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "CSOwningThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "hEventWowExecClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwpiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "HTOUCHINPUT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMENU": { - "fields": { - "iItem": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "umpm": { - "type": { - "kind": "struct", - "name": "tagUAHMENUPOPUPMETRICS" - }, - "offset": 132 - }, - "cItems": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pParentMenus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "fFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "cxMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwContextHelpId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "cxTextAlign": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "cAlloced": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "hbrBack": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwArrowsOn": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 128 - }, - "iMaxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 124 - }, - "dwMenuData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "cyMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "rgItems": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagITEM" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "cyMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "_D3DDDI_GAMMA_RAMP_DXGI_1": { - "fields": { - "GammaCurve": { - "type": { - "count": 1025, - "subtype": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "kind": "array" - }, - "offset": 24 - }, - "Scale": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 0 - }, - "Offset": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 12324 - }, - "_MOVESIZEDATA": { - "fields": { - "fmsKbd": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "pStartMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "impy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 152 - }, - "fMoveFromMax": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapMoving": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "frcNormalCheckPtValid": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptMaxTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 96 - }, - "ptRestore": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 156 - }, - "fUsePreviewRect": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForceSizing": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fThresholdSelector": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 164 - }, - "ptStartHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 208 - }, - "fDragFullWindows": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForeground": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "dyMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 140 - }, - "fHasSoftwareCursor": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsHitPtOffScreen": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapSizingTemporaryAllowed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fCheckPtForcefullyRestored": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedRight": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ulCountDragOutOfLeftRightTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 228 - }, - "Unused": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 164 - }, - "dxMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 136 - }, - "fStartVerticallyMaximizedRight": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcParent": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 72 - }, - "fOffScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fWindowWasSuperMaximized": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedLeft": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "StartCurrentHitTarget": { - "type": { - "kind": "enum", - "name": "StartCurrentHitTargetEnum" - }, - "offset": 176 - }, - "fHasPreviewRect": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fLockWindowUpdate": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcPreview": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 40 - }, - "fSnapSizing": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsMoveSizeLoop": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fInitSize": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcDragCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "ulCountDragOutOfTopTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 224 - }, - "rcPreviewCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 56 - }, - "CurrentHitTarget": { - "type": { - "kind": "enum", - "name": "CurrentHitTargetEnum" - }, - "offset": 192 - }, - "fSnapMovingTemporaryAllowed": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fTrackCancelled": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 200 - }, - "ptLastTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 216 - }, - "cmd": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 144 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 164 - }, - "MoveRectStyle": { - "type": { - "kind": "enum", - "name": "MoveRectStyleEnum" - }, - "offset": 196 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "ulCountSizeOutOfTopBottomTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 232 - }, - "fStartVerticallyMaximizedLeft": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcNormalStartCheckPt": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 120 - }, - "ptMinTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 88 - }, - "rcDrag": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - }, - "pMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "impx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 148 - } - }, - "kind": "struct", - "size": 240 - }, - "_D3DDDI_RATIONAL": { - "fields": { - "Denominator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Numerator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "VWPL": { - "fields": { - "cElem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "aElement": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "VWPLELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "fTagged": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cThreshhold": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cPwnd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagTEXTMETRICW": { - "fields": { - "tmOverhang": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "tmPitchAndFamily": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 55 - }, - "tmStruckOut": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 54 - }, - "tmCharSet": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - }, - "tmDigitizedAspectX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "tmDigitizedAspectY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "tmFirstChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 44 - }, - "tmWeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "tmDescent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "tmDefaultChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 48 - }, - "tmLastChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 46 - }, - "tmMaxCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "tmItalic": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 52 - }, - "tmUnderlined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 53 - }, - "tmInternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "tmAscent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "tmHeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "tmAveCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "tmBreakChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 50 - }, - "tmExternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 60 - }, - "_SCATTER_GATHER_LIST": { - "fields": { - "Elements": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "_SCATTER_GATHER_ELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "NumberOfElements": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "HICON__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_HANDLEENTRY": { - "fields": { - "pOwner": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "bType": { - "type": { - "kind": "enum", - "name": "bTypeEnum" - }, - "offset": 16 - }, - "bFlags": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 17 - }, - "phead": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HEAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "wUniq": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - } - }, - "kind": "struct", - "size": 24 - }, - "_THRDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagSVR_INSTANCE_INFO": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nextInThisThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spwndEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "afCmd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pcii": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 80 - }, - "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { - "fields": { - "RequestDiagInfo": { - "type": { - "kind": "struct", - "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" - }, - "offset": 4 - }, - "AffectedVidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "VidPnSerialization": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPN_SERIALIZATION" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 28 - }, - "tagPOPUPMENU": { - "fields": { - "fDroppedLeft": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fIsSysMenu": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posDropped": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fIsMenuBar": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHierarchyDropped": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDropNextPopup": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fRightButton": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ppopupmenuRoot": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fFirstClick": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fRtoL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSendUninit": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fAboutToHide": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNextPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fFlushDelayedFree": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHasMenuBar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fTrackMouseEvent": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fNoNotify": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posSelectedItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fUseMonitorRect": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndPrevPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ppmDelayedFree": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "fFreed": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSynchronous": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenuAlternate": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fDestroyed": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "iDropDir": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "fIsTrackPopup": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndActivePopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "fInCancel": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fToggle": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDelayedFree": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHideTimer": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fShowTimer": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "_D3DKMDT_MONITOR_SOURCE_MODE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 84 - }, - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "ColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 68 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 88 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 96 - }, - "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 8 - }, - "Data": { - "type": { - "count": 128, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 12 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 140 - }, - "__unnamed_127c": { - "fields": { - "Wcb": { - "type": { - "kind": "struct", - "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" - }, - "offset": 0 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_D3DMATRIX": { - "fields": { - "_41": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 48 - }, - "_42": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 52 - }, - "_43": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 56 - }, - "_44": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 60 - }, - "_34": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 44 - }, - "_14": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 12 - }, - "_13": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "_12": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "_11": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - }, - "_24": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 28 - }, - "_31": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 32 - }, - "_33": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 40 - }, - "_32": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 36 - }, - "_22": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 20 - }, - "_23": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 24 - }, - "_21": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 64 - }, - "_LARGE_UNICODE_STRING": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumLength": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 4 - }, - "bAnsi": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "_VK_VALUES_STRINGS": { - "fields": { - "fReserved": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "pszMultiNames": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHID_TLC_INFO": { - "fields": { - "cExcludeOrphaned": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - }, - "cDevices": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "cExcludeRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cUsagePageRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "cDirectRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { - "fields": { - "Info": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_SOURCE_MODE" - }, - "offset": 0 - }, - "TimingType": { - "type": { - "kind": "enum", - "name": "TimingTypeEnum" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 104 - }, - "tagCURSOR": { - "fields": { - "rt": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 58 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCMARKHEAD" - }, - "offset": 0 - }, - "hbmUserAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "xHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 68 - }, - "hbmColor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pcurNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "CURSORF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hbmMask": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bpp": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 120 - }, - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 128 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "rcBounds": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 96 - }, - "atomModName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "hbmAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "yHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 70 - }, - "strName": { - "type": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 136 - }, - "_D3DKMDT_GAMMA_RAMP": { - "fields": { - "Data": { - "type": { - "kind": "struct", - "name": "__unnamed_182e" - }, - "offset": 16 - }, - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "HWND__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1207": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18a1": { - "fields": { - "Text": { - "type": { - "kind": "enum", - "name": "TextEnum" - }, - "offset": 0 - }, - "Graphics": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { - "fields": { - "TargetMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "offset": 360 - }, - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 432 - }, - "HKL__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1209": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagDCE": { - "fields": { - "hrgnClipPublic": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwndOrg": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pdceNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "DCX_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hdc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "hrgnSavedVis": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pwndRedirect": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pwndClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 96 - }, - "VSC_LPWSTR": { - "fields": { - "vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pwsz": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagQ": { - "fields": { - "hwndDblClk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "timeDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndFocus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 328 - }, - "cLockCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 322 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 312 - }, - "ptiSysLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "caret": { - "type": { - "kind": "struct", - "name": "tagCARET" - }, - "offset": 232 - }, - "ptiMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndActivePrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ptMouseMove": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 128 - }, - "msgDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "msgJournal": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "ptiKeyboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 320 - }, - "QF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 316 - }, - "mlInput": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 0 - }, - "spwndActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "codeCapture": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "idSysLock": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "spcurCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "ulEtwReserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "ptDblClk": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 120 - }, - "xbtnDblClk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 104 - }, - "afKeyRecentDown": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "afKeyState": { - "type": { - "count": 64, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 168 - }, - "spwndCapture": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "idSysPeek": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 344 - }, - "__unnamed_1203": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "HGESTUREINFO__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLS": { - "fields": { - "spcur": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 100 - }, - "pclsClone": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "lpszClientAnsiMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pclsBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "atomNVClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "pclsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "CSF_flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "lpszAnsiClassName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "spcpdFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "lpszClientUnicodeMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "cbclsExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 96 - }, - "lpszMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "spicnSm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "cWndReferenceCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "hbrBackground": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "spicn": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 12 - }, - "pdce": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "rpdeskParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "atomClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 160 - }, - "_PROCDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { - "fields": { - "CommitVidPnRequestOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumCommitVidPnRequests": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_VK_TO_FUNCTION_TABLE": { - "fields": { - "NLSFEProcType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "NLSFEProcCurrent": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcSwitch": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "NLSFEProcAlt": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 68 - }, - "NLSFEProc": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 132 - }, - "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { - "fields": { - "NumDescriptors": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "DescriptorSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 144 - }, - "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 112 - }, - "_CALLBACKWND": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { - "fields": { - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - }, - "TargetModeSet": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" - }, - "offset": 360 - } - }, - "kind": "struct", - "size": 440 - }, - "_VK_FUNCTION_PARAM": { - "fields": { - "NLSFEProcIndex": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcParam": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBCALC": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "pxStart": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "pxThumbBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "cpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "pxMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pxThumbTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "pxDownArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cpx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "pxBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "pxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pxLeft": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "pxRight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "pxUpArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "HDESK__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "HIMC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { - "fields": { - "SecondChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "FourthChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "ThirdChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FirstChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMENUSTATE": { - "fields": { - "cxAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 116 - }, - "pGlobalPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "uDraggingIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "fNotifyByPos": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInCallHandleMenuMessages": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ixAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "dwLockCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "fAutoDismiss": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fIsSysMenu": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "dwAniStartTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "uButtonDownHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "fIgnoreButtonUp": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptButtonDown": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 56 - }, - "fMenuStarted": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "iAniDropDir": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 8 - }, - "hdcAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "fModelessMenu": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hbmAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "fInEndMenu": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 92 - }, - "vkButtonDown": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fSetCapture": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInDoDragDrop": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fActiveNoForeground": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fMouseOffMenu": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fDragAndDrop": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInsideMenuLoop": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 80 - }, - "fButtonDown": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptiMenuStateOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "iyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 112 - }, - "hdcWndAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "fAboutToAutoDismiss": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "mnFocus": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "uButtonDownIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "fButtonAlwaysDown": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fUnderline": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptMouseLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 12 - }, - "pmnsPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fDragging": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "cmdLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 144 - }, - "VK_TO_BIT": { - "fields": { - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModBits": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - } - }, - "kind": "struct", - "size": 2 - }, - "tagWOWTHREADINFO": { - "fields": { - "pIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "idParentProcess": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "idTask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwtiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "idWaitObject": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 40 - }, - "__unnamed_1805": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1211": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1213": { - "fields": { - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - }, - "AdvanceOnly": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 25 - }, - "ClusterCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "DeleteHandle": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReplaceIfExists": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 24 - }, - "FileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1217": { - "fields": { - "FsInformationClass": { - "type": { - "kind": "enum", - "name": "FsInformationClassEnum" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_123b": { - "fields": { - "IoResourceRequirementList": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_122d": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1950": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagITEM": { - "fields": { - "fType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ulX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "wID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwItemData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "hbmpChecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "xItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "spSubMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hbmpUnchecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fState": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dxTab": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "cxBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 104 - }, - "yItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "cyItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 76 - }, - "umim": { - "type": { - "kind": "struct", - "name": "tagUAHMENUITEMMETRICS" - }, - "offset": 112 - }, - "cch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "ulWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "cyBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "lpstr": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cxItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "hbmp": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 144 - }, - "tagIMEINFOEX": { - "fields": { - "dwImeWinVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fSysWow64Only": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "fInitOpen": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "wszImeDescription": { - "type": { - "count": 50, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 88 - }, - "fCUASLayer": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "ImeInfo": { - "type": { - "kind": "struct", - "name": "tagIMEINFO" - }, - "offset": 8 - }, - "wszImeFile": { - "type": { - "count": 80, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 188 - }, - "wszUIClass": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 36 - }, - "fLoadFlag": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "dwProdVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fdwInitConvMode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - } - }, - "kind": "struct", - "size": 352 - }, - "__unnamed_1962": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1958" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_1956" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_195e" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_195c" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "ConfigData": { - "type": { - "kind": "struct", - "name": "__unnamed_195a" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1960" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1954" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagMSGPPINFO": { - "fields": { - "dwIndexMsgPP": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagSBINFO": { - "fields": { - "WSBflags": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "Horz": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 4 - }, - "Vert": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 36 - }, - "VWPLELEMENT": { - "fields": { - "DataOrTag": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSBDATA": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "_VSC_VK": { - "fields": { - "Vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123f": { - "fields": { - "Lock": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1 - }, - "_SCATTER_GATHER_ELEMENT": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "Address": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagWND": { - "fields": { - "spwndLastActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "bWS_CLIPCHILDREN": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bMaximizeButtonDown": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bUIStateActive": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_TABSTOP": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDialogWindow": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "bMinimizeButtonDown": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HIMC__" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "bChildNoActivate": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_LAYERED": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bStartPaint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedLeft": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bHiddenPopup": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSendEraseBackground": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin50Compat": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_CLIENTEDGE": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 66 - }, - "bWS_EX_TOOLWINDOW": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bDisabled": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bAnsiWindowProc": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin40Compat": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcClient": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 128 - }, - "bAnsiCreator": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bAnyScrollButtonDown": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bSendSizeMoveMsgs": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bLinked": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bSendNCPaint": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bInternalPaint": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasClientEdge": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasPalette": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasHorizontalScrollbar": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUIStateFocusRectHidden": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_DLGFRAME": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_MDICHILD": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasVerticalScrollbar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved2": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bActiveFrame": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bNoNCPaint": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasSPB": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_MINIMIZEBOX": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarVerticalTracking": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_DLGMODALFRAME": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TRANSPARENT": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bPaintNotProcessed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSyncPaintPending": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "bShellHookRegistered": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndChild": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "bUnused5": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bInDestroy": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "state": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "bWS_EX_LEFTSCROLLBAR": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bToggleTopmost": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_VSCROLL": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "ExStyle": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "bWS_HSCROLL": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUpdateDirty": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWMPaintSent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_WINDOWEDGE": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_ACCEPTFILE": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_GROUP": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "bVisible": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bVerticallyMaximizedRight": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bForceMenuDraw": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bForceNCPaint": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bOldUI": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndClipboardListenerNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "bWS_EX_NOPADDEDBORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bNoMinmaxAnimatedRects": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bWS_MAXIMIZEBOX": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bHasCaption": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bEraseBackground": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "spwndOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "subPointer": { - "type": { - "subtype": { - "kind": "struct", - "name": "subTagWNDType" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 232 - }, - "bMakeVisibleWhenUnghosted": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused8": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bUnused9": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 52 - }, - "bForceFullNCPaintClipRgn": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_RTLREADING": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused1": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused2": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused3": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused4": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasMeun": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused6": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused7": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bSmallIconFromWMQueryDrag": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bClipboardListener": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bScrollBarLineDownBtnDown": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedirectedForPrint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_RIGHT": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasCreatestructName": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITED": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bFullScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnUpdate": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "bConsoleWindow": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "ppropList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROPLIST" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bWS_EX_TOPMOST": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bScrollBarPageDownBtnDown": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarLineUpBtnDown": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRecievedQuerySuspendMsg": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bMaximizeMonitorRegion": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedrawIfHung": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_POPUP": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTEXTHELP": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "dwUserData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 256 - }, - "hMod16": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 64 - }, - "FullScreenMode": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 44 - }, - "bLayeredLimbo": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_NOINHERITLAYOUT": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_LAYOUTRTL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUIStateKbdAccelHidden": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_BORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_SIZEBOX": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDestroyed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bServerSideWindowProc": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bCaptionTextTruncated": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 112 - }, - "bEndPaintInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnNewFrame": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "bBeingActivated": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITEDCompositing": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWMCreateMsgProcessed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_NOACTIVATE": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_APPWINDOW": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pSBInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBINFO" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "directName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!String" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bCloseButtonDown": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bMaximized": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_CHILD": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "bWS_THICKFRAME": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTROLPARENT": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pcls": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bLayeredForDWM": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bMsgBox": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHelpButtonDown": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasOverlay": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bRedrawFrameIfHung": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_NOPARENTNOTIFY": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bMaximizesToMonitor": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bBottomMost": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bReserved1": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bRedirected": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved3": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved4": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved5": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved6": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved7": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "spwndPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bLayeredInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "state2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "bWS_CLIPSIBLINGS": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarPageUpBtnDown": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "pTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DMATRIX" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "bWin31Compat": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "ExStyle2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "bHIGHDPI_UNAWARE_Unused": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_SYSMENU": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "strName": { - "type": { - "kind": "struct", - "name": "_LARGE_UNICODE_STRING" - }, - "offset": 232 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "bMinimized": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bRecievedSuspendMsg": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_STATICEDGE": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 296 - }, - "_WM_VALUES_STRINGS": { - "fields": { - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "fInternal": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "fDefined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { - "fields": { - "VisibleRegionSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 8 - }, - "Stride": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "PixelFormat": { - "type": { - "kind": "enum", - "name": "PixelFormatEnum" - }, - "offset": 20 - }, - "PixelValueAccessMode": { - "type": { - "kind": "enum", - "name": "PixelValueAccessModeEnum" - }, - "offset": 28 - }, - "PrimSurfSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "_VK_TO_WCHARS1": { - "fields": { - "Attributes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "_TLSPRITESTATE": { - "fields": { - "flOriginalSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "iSpriteType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pfnSaveScreenBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bInsideDriverCall": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pfnStrokePath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnTransparentBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnPaint": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnStretchBltROP": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "iType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "pfnPlgBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnCopyBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "iOriginalType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pfnTextOut": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDrawStream": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStrokeAndFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnLineTo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnStretchBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGradientFill": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnAlphaBlend": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "flSpriteSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "pfnBitBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 168 - }, - "tagUAHMENUITEMMETRICS": { - "fields": { - "rgsizeBar": { - "type": { - "count": 2, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - }, - "rgsizePopup": { - "type": { - "count": 4, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_121b": { - "fields": { - "Length": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1229": { - "fields": { - "Srb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_SCSI_REQUEST_BLOCK" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_121f": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1225": { - "fields": { - "DeviceObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Vpb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_VPB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "subTagWNDType": { - "fields": { - "style_bitmask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - } - }, - "kind": "struct", - "size": 128 - }, - "_HEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagIMEINFO": { - "fields": { - "fdwProperty": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "fdwSelectCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fdwUICaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwPrivateDataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fdwSCSCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "fdwSentenceCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "fdwConversionCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 28 - }, - "_DXGK_DIAG_CODE_POINT_PACKET": { - "fields": { - "Header": { - "type": { - "kind": "struct", - "name": "_DXGK_DIAG_HEADER" - }, - "offset": 0 - }, - "Param3": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "Param1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CodePointType": { - "type": { - "kind": "enum", - "name": "CodePointTypeEnum" - }, - "offset": 48 - }, - "Param2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_SOURCE_MODE": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Format": { - "type": { - "kind": "struct", - "name": "__unnamed_18a1" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagW32JOB": { - "fields": { - "restrictions": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ughCrt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ughMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pgh": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long long" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EJOB" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ppiTable": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "uProcessCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "uMaxProcesses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { - "fields": { - "NumFrequencyRanges": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "FrequencyRangeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 56 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { - "fields": { - "APSTriggerBits": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "CopyProtectionType": { - "type": { - "kind": "enum", - "name": "CopyProtectionTypeEnum" - }, - "offset": 0 - }, - "CopyProtectionSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" - }, - "offset": 264 - }, - "OEMCopyProtection": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 268 - }, - "tagWINDOWSTATION": { - "fields": { - "pClipBase": { - "type": { - "subtype": { - "count": 104, - "subtype": { - "kind": "struct", - "name": "tagCLIP" - }, - "kind": "array" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "cNumClipFormats": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "luidUser": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 136 - }, - "pGlobalAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "ptiClipLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "dwWSF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "rpdeskList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spklList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spwndClipOpen": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "luidEndSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 128 - }, - "pTerm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTERMINAL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndClipboardListener": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "spwndClipViewer": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iClipSequenceNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "ptiDrawingClipboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "spwndClipOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "psidUser": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "rpwinstaNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 152 - }, - "tagDESKTOPINFO": { - "fields": { - "spwndProgman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "pvwplMessagePPHandler": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 224 - }, - "pvDesktopLimit": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fComposited": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndGestureEngine": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "pvDesktopBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwndShell": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "ppiShellProcess": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pvwplShellHook": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "fIsDwmDesktop": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndTaskman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 40 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cntMBox": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 208 - }, - "spwndBkGnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 240 - }, - "tagMBSTRING": { - "fields": { - "szName": { - "type": { - "count": 15, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 0 - }, - "uID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "uStr": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DKMDT_VIDPN_TARGET_MODE": { - "fields": { - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 72 - }, - "_DMM_VIDPNSET_SERIALIZATION": { - "fields": { - "VidPnOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumVidPns": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagKBDFILE": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "awchDllName": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 56 - }, - "pKbdTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdLayer" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pkfNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pKbdNlsTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdNlsLayer" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_11e4": { - "fields": { - "UserApcContext": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "UserApcRoutine": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "IssuingProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_W32PROCESS": { - "fields": { - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 256 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { - "fields": { - "Scaling": { - "type": { - "kind": "enum", - "name": "ScalingEnum" - }, - "offset": 0 - }, - "RotationSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" - }, - "offset": 12 - }, - "Rotation": { - "type": { - "kind": "enum", - "name": "RotationEnum" - }, - "offset": 8 - }, - "ScalingSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSERVERINFO": { - "fields": { - "uiShellMsg": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 912 - }, - "cbHandleTable": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 848 - }, - "atomSysClass": { - "type": { - "count": 25, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 852 - }, - "dtScroll": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2800 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2952 - }, - "atomIconSmProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1356 - }, - "argbSystemUnmatched": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2268 - }, - "dwTagCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4632 - }, - "ucWheelScrollLines": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2812 - }, - "ptCursorReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2784 - }, - "ucWheelScrollChars": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2816 - }, - "acOemToAnsi": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1364 - }, - "cySysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2832 - }, - "atomFrostedWindowProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1362 - }, - "mpFnid_serverCBWndProc": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 328 - }, - "PUSIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4476 - }, - "BitCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4468 - }, - "argbSystem": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2392 - }, - "dtLBSearch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2804 - }, - "dtCaretBlink": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2808 - }, - "dwInstalledEventHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 1876 - }, - "apfnClientA": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 392 - }, - "cxSysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2828 - }, - "hbrGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 2768 - }, - "ahbrSystem": { - "type": { - "count": 31, - "subtype": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 2520 - }, - "dwDefaultHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "wMaxRightOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2824 - }, - "dwSRVIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "oembmi": { - "type": { - "count": 93, - "subtype": { - "kind": "struct", - "name": "tagOEMBITMAPINFO" - }, - "kind": "array" - }, - "offset": 2964 - }, - "apfnClientWorker": { - "type": { - "kind": "struct", - "name": "_PFNCLIENTWORKER" - }, - "offset": 760 - }, - "dwDefaultHeapBase": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 904 - }, - "BitsPixel": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4473 - }, - "wMaxLeftOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2820 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4470 - }, - "dwLastSystemRITEventTickCountUpdate": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4488 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2796 - }, - "atomIconProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1358 - }, - "Planes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4472 - }, - "dpiSystem": { - "type": { - "kind": "struct", - "name": "tagDPISERVERINFO" - }, - "offset": 2896 - }, - "hIcoWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2944 - }, - "apfnClientW": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 576 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2956 - }, - "MBStrings": { - "type": { - "count": 11, - "subtype": { - "kind": "struct", - "name": "tagMBSTRING" - }, - "kind": "array" - }, - "offset": 916 - }, - "atomContextHelpIdProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1360 - }, - "adwDBGTAGFlags": { - "type": { - "count": 35, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4492 - }, - "aiSysMet": { - "type": { - "count": 97, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 1880 - }, - "dwRIPFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4636 - }, - "uCaretWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4480 - }, - "cCaptures": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2960 - }, - "tmSysFont": { - "type": { - "kind": "struct", - "name": "tagTEXTMETRICW" - }, - "offset": 2836 - }, - "cHandleEntries": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ptCursor": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2776 - }, - "hIconSmWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2936 - }, - "mpFnidPfn": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "UILangID": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4484 - }, - "acAnsiToOem": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1620 - }, - "aStoCidPfn": { - "type": { - "count": 7, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 272 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 4452 - }, - "dwLastRITEventTickCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2792 - } - }, - "kind": "struct", - "size": 4640 - }, - "tagPOOLRECORD": { - "fields": { - "ExtraData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "trace": { - "type": { - "count": 6, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "__unnamed_195a": { - "fields": { - "Priority": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagUSERSTARTUPINFO": { - "fields": { - "dwYSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cbReserved2": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 26 - }, - "cb": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dwY": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwXSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "wShowWindow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 28 - }, - "_DMM_VIDPN_SERIALIZATION": { - "fields": { - "PathsFromSourceSerializationOffsets": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 8 - }, - "NumActiveSources": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_11df": { - "fields": { - "IrpCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "SystemBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MasterIrp": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IRP" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagHID_PAGEONLY_REQUEST": { - "fields": { - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cRefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1233": { - "fields": { - "Interface": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_INTERFACE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "InterfaceSpecificData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "InterfaceType": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_GUID" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagQMSG": { - "fields": { - "Padding": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 80 - }, - "ptMouseReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 72 - }, - "FromPen": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 64 - }, - "Wow64Message": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 96 - }, - "dwQEvent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 30 - }, - "offset": 80 - }, - "pqmsgPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FromTouch": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "NoCoalesce": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "msg": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 16 - }, - "pqmsgNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1237": { - "fields": { - "Capabilities": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_CAPABILITIES" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_11e6": { - "fields": { - "AsynchronousParameters": { - "type": { - "kind": "struct", - "name": "__unnamed_11e4" - }, - "offset": 0 - }, - "AllocationSize": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagDESKTOP": { - "fields": { - "spmenuVScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "dwMouseHoverTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 212 - }, - "rpwinstaParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spmenuDialogSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndForeground": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenuHScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "spwndTooltip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndMessage": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cciConsole": { - "type": { - "kind": "struct", - "name": "_CONSOLE_CARET_INFO" - }, - "offset": 144 - }, - "PtiList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 168 - }, - "spwndTray": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "rpdeskNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwDTFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pMagInputTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MAGNIFICATION_INPUT_TRANSFORM" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "htEx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 192 - }, - "ulHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "pheapDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!tagWIN32HEAP" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "rcMouseHover": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 196 - }, - "hsectionDesktop": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "dwDesktopId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 224 - }, - "_MAGNIFICATION_INPUT_TRANSFORM": { - "fields": { - "rcScreen": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 16 - }, - "magFactorX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "magFactorY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "ptiMagThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rcSource": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 48 - }, - "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 0 - }, - "ConstraintType": { - "type": { - "kind": "enum", - "name": "ConstraintTypeEnum" - }, - "offset": 36 - }, - "RangeLimits": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_FREQUENCY_RANGE" - }, - "offset": 4 - }, - "Constraint": { - "type": { - "kind": "struct", - "name": "__unnamed_16c1" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_121d": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IoControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_PFNCLIENTWORKER": { - "fields": { - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnCtfHookProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_12e0": { - "fields": { - "InitialPrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" - }, - "offset": 0 - }, - "PrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_PRIVILEGE_SET" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 44 - }, - "tagMENULIST": { - "fields": { - "pMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_DMA_OPERATIONS": { - "fields": { - "PutDmaAdapter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FreeMapRegisters": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "MapTransfer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "FreeCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReadDmaCounter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "AllocateCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "PutScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "BuildMdlFromScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "GetScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "CalculateScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "FreeAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "GetDmaAlignment": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "FlushAdapterBuffers": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "AllocateAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "BuildScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 128 - }, - "__unnamed_1811": { - "fields": { - "Start": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagSPB": { - "fields": { - "hbm": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hrgn": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ulSaveId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "pspbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "tagWin32PoolHead": { - "fields": { - "pPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pTrace": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DXGK_DIAG_HEADER": { - "fields": { - "Index": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "ProcessName": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 16 - }, - "LogTimestamp": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ThreadId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - }, - "WdLogIdx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 48 - }, - "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { - "fields": { - "CleanupAfterFailedCommitVidPn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ModeChangeRequestId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "ReclaimClonedTarget": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ForceAllActiveVidPnModeListInvalidation": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 12 - }, - "tagTOUCHINPUT": { - "fields": { - "dwExtraInfo": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "hSource": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dwMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cyContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "cxContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "dwTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 48 - }, - "_SM_VALUES_STRINGS": { - "fields": { - "StorageType": { - "type": { - "kind": "enum", - "name": "StorageTypeEnum" - }, - "offset": 16 - }, - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "RangeType": { - "type": { - "kind": "enum", - "name": "RangeTypeEnum" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1956": { - "fields": { - "MinimumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "_D3DKMDT_VIDEO_SIGNAL_INFO": { - "fields": { - "VSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 20 - }, - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 12 - }, - "PixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "TotalSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 4 - }, - "VideoStandard": { - "type": { - "kind": "enum", - "name": "VideoStandardEnum" - }, - "offset": 0 - }, - "ScanLineOrdering": { - "type": { - "kind": "enum", - "name": "ScanLineOrderingEnum" - }, - "offset": 48 - }, - "HSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 56 - }, - "tagTERMINAL": { - "fields": { - "spwndDesktopOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pEventInputReady": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "rpdeskDestroy": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pqDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwTERMF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwNestedLevel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ptiDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pEventTermInit": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "HFONT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { - "fields": { - "MacroVisionFull": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "MacroVisionApsTrigger": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "NoProtection": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 29 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_PFNCLIENT": { - "fields": { - "pfnDispatchDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnDispatchHook": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "pfnDesktopWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "pfnScrollBarWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnMessageWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnSwitchWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnHkINLPCWPSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnTitleWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnHkINLPCWPRETSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnMenuWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDispatchMessage": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pfnDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnMDIActivateDlgProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 176 - } - }, - "kind": "struct", - "size": 184 - }, - "tagOEMBITMAPINFO": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1221": { - "fields": { - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "SecurityDescriptor": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_KLIST_ENTRY": { - "fields": { - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HMONITOR__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1247": { - "fields": { - "DeviceTextType": { - "type": { - "kind": "enum", - "name": "DeviceTextTypeEnum" - }, - "offset": 0 - }, - "LocaleId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagCLIENTINFO": { - "fields": { - "msgDbcsCB": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 160 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "achDbcsCF": { - "type": { - "count": 2, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 154 - }, - "dwTIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "pClientThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 152 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "dwHookCurrent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "afAsyncKeyStateRecentDown": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwHookData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "afAsyncKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 128 - }, - "CallbackWnd": { - "type": { - "kind": "struct", - "name": "_CALLBACKWND" - }, - "offset": 64 - }, - "lpdwRegisteredClasses": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "cInDDEMLCallback": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 92 - }, - "cSpins": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "hKL": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "afKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 116 - }, - "CI_flags": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "phkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 216 - }, - "_DMM_MONITOR_SERIALIZATION": { - "fields": { - "SourceModeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FrequencyRangeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "DescriptorSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ModePruningAlgorithm": { - "type": { - "kind": "enum", - "name": "ModePruningAlgorithmEnum" - }, - "offset": 16 - }, - "VideoPresentTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "IsUsingDefaultProfile": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 13 - }, - "MonitorPowerState": { - "type": { - "kind": "enum", - "name": "MonitorPowerStateEnum" - }, - "offset": 20 - }, - "MonitorType": { - "type": { - "kind": "enum", - "name": "MonitorTypeEnum" - }, - "offset": 36 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IsSimulatedMonitor": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 12 - }, - "Orientation": { - "type": { - "kind": "enum", - "name": "OrientationEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagPROP": { - "fields": { - "fs": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "atomKey": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1243": { - "fields": { - "IdType": { - "type": { - "kind": "enum", - "name": "IdTypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123d": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "WhichSpace": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Offset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_WNDMSG": { - "fields": { - "abMsgs": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "maxMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSHAREDINFO": { - "fields": { - "psi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSERVERINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulSharedDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "aheList": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HANDLEENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "DefWindowSpecMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 552 - }, - "awmControl": { - "type": { - "count": 31, - "subtype": { - "kind": "struct", - "name": "_WNDMSG" - }, - "kind": "array" - }, - "offset": 40 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "HeEntrySize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DefWindowMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 536 - } - }, - "kind": "struct", - "size": 568 - }, - "__unnamed_181b": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1811" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_180d" - }, - "offset": 0 - }, - "DeviceSpecificData": { - "type": { - "kind": "struct", - "name": "__unnamed_1813" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_1817" - }, - "offset": 0 - }, - "MessageInterrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_180b" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_1815" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1819" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPOINT": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagIMC": { - "fields": { - "dwClientImcData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "hImeWnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pImcNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "tagKL": { - "fields": { - "uNumTbl": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "pklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "pklNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spkfPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "dwFontSigs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLastKbdType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 72 - }, - "dwKL_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "iBaseCharset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "dwKLID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "spkf": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "piiex": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMEINFOEX" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pspkfExtra": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "wchDiacritic": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 74 - }, - "dwLastKbdSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_115b": { - "fields": { - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_182e": { - "fields": { - "pRgb256x3x16": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pRaw": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pDxgi1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagTDB": { - "fields": { - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "TDB_Flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "pwti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "nPriority": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "ptdbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagCARET": { - "fields": { - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "iHideLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "hTimer": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "yOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "xOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "fVisible": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hBitmap": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cxOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cyOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "tid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "fOn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_LIGATURE1": { - "fields": { - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 4 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModificationNumber": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 6 + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" } - }, - "base_types": { - "unsigned char": { - "kind": "char", - "endian": "little", - "signed": false, - "size": 1 - }, - "float": { - "kind": "float", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "wchar": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "pointer": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - }, - "unsigned int": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "short": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned short": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 2 - }, - "long long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 8 - }, - "unsigned long long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - } - }, - "enums": { - "TextEnum": { - "base": "long", - "constants": { - "D3DKMDT_TRF_UNINITIALIZED": 0 - }, - "size": 4 - }, - "PreferenceEnum": { - "base": "long", - "constants": { - "D3DKMDT_MP_PREFERRED": 1, - "D3DKMDT_MP_MAXVALID": 2, - "D3DKMDT_MP_UNINITIALIZED": 0 - }, - "size": 4 - }, - "FileInformationClassEnum": { - "base": "long", - "constants": { - "FileInternalInformation": 6, - "FileQuotaInformation": 32, - "FileIoStatusBlockRangeInformation": 42, - "FilePipeLocalInformation": 24, - "FileStandardLinkInformation": 54, - "FileIdFullDirectoryInformation": 38, - "FileLinkInformation": 11, - "FileFullDirectoryInformation": 2, - "FileAllInformation": 18, - "FileSfioVolumeInformation": 45, - "FileStreamInformation": 22, - "FileRenameInformation": 10, - "FileValidDataLengthInformation": 39, - "FileAlternateNameInformation": 21, - "FileBasicInformation": 4, - "FilePositionInformation": 14, - "FileCompletionInformation": 30, - "FileAttributeCacheInformation": 52, - "FileReparsePointInformation": 33, - "FileMailslotSetInformation": 27, - "FileNetworkPhysicalNameInformation": 49, - "FileAllocationInformation": 19, - "FileIsRemoteDeviceInformation": 51, - "FileFullEaInformation": 15, - "FileProcessIdsUsingFileInformation": 47, - "FileDispositionInformation": 13, - "FileStandardInformation": 5, - "FileAccessInformation": 8, - "FileNumaNodeInformation": 53, - "FilePipeRemoteInformation": 25, - "FileIoPriorityHintInformation": 43, - "FileMailslotQueryInformation": 26, - "FileRemoteProtocolInformation": 55, - "FileNamesInformation": 12, - "FileHardLinkInformation": 46, - "FileEndOfFileInformation": 20, - "FileIdBothDirectoryInformation": 37, - "FileSfioReserveInformation": 44, - "FileIdGlobalTxDirectoryInformation": 50, - "FileNetworkOpenInformation": 34, - "FileObjectIdInformation": 29, - "FileMoveClusterInformation": 31, - "FileIoCompletionNotificationInformation": 41, - "FileNameInformation": 9, - "FileBothDirectoryInformation": 3, - "FileDirectoryInformation": 1, - "FileMaximumInformation": 56, - "FileNormalizedNameInformation": 48, - "FilePipeInformation": 23, - "FileCompressionInformation": 28, - "FileTrackingInformation": 36, - "FileEaInformation": 7, - "FileShortNameInformation": 40, - "FileModeInformation": 16, - "FileAlignmentInformation": 17, - "FileAttributeTagInformation": 35 - }, - "size": 4 - }, - "ModePruningAlgorithmEnum": { - "base": "long", - "constants": { - "DMM_MPA_MAXVALID": 3, - "DMM_MPA_GDI": 1, - "DMM_MPA_VISTA": 2, - "DMM_MPA_UNINITIALIZED": 0 - }, - "size": 4 - }, - "fmtEnum": { - "base": "unsigned long", - "constants": { - "CF_ENHMETAFILE": 14, - "CF_PENDATA": 10, - "CF_BITMAP": 2, - "CF_UNICODETEXT": 13, - "CF_HDROP": 15, - "CF_OEMTEXT": 7, - "CF_WAVE": 12, - "CF_DSPTEXT": 129, - "CF_DIBV5": 17, - "CF_TIFF": 6, - "CF_PALETTE": 9, - "CF_OWNERDISPLAY": 128, - "CF_DSPMETAFILEPICT": 131, - "CF_METAFILEPICT": 3, - "CF_RIFF": 11, - "CF_DSPENHMETAFILE": 142, - "CF_TEXT": 1, - "CF_LOCALE": 16, - "CF_SYLK": 4, - "CF_DSPBITMAP": 130, - "CF_DIB": 8, - "CF_DIF": 5 - }, - "size": 4 - }, - "MonitorPowerStateEnum": { - "base": "long", - "constants": { - "PowerDeviceUnspecified": 0, - "PowerDeviceD0": 1, - "PowerDeviceD1": 2, - "PowerDeviceD2": 3, - "PowerDeviceD3": 4, - "PowerDeviceMaximum": 5 - }, - "size": 4 - }, - "bTypeEnum": { - "base": "unsigned char", - "constants": { - "TYPE_DDEXACT": 11, - "TYPE_HOOK": 5, - "TYPE_FREE": 0, - "TYPE_MONITOR": 12, - "TYPE_GESTURE": 21, - "TYPE_DEVICEINFO": 19, - "TYPE_DDEACCESS": 9, - "TYPE_CALLPROC": 7, - "TYPE_CURSOR": 3, - "TYPE_KBDLAYOUT": 13, - "TYPE_WINEVENTHOOK": 15, - "TYPE_MENU": 2, - "TYPE_ACCELTABLE": 8, - "TYPE_TOUCH": 20, - "TYPE_SETWINDOWPOS": 4, - "TYPE_CLIPDATA": 6, - "TYPE_KBDFILE": 14, - "TYPE_DDECONV": 10, - "TYPE_HIDDATA": 18, - "TYPE_WINDOW": 1, - "TYPE_INPUTCONTEXT": 17, - "TYPE_TIMER": 16 - }, - "size": 1 - }, - "OriginEnum": { - "base": "long", - "constants": { - "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, - "D3DKMDT_MCO_UNINITIALIZED": 0, - "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, - "D3DKMDT_MCO_MAXVALID": 5, - "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, - "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 - }, - "size": 4 - }, - "CodePointTypeEnum": { - "base": "long", - "constants": { - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, - "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, - "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, - "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, - "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, - "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, - "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, - "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, - "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, - "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, - "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, - "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, - "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, - "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, - "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, - "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, - "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, - "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, - "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, - "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, - "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, - "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, - "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, - "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, - "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, - "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, - "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, - "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 - }, - "size": 4 - }, - "ConstraintTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MFRC_MAXPIXELRATE": 2, - "D3DKMDT_MFRC_ACTIVESIZE": 1, - "D3DKMDT_MFRC_UNINITIALIZED": 0 - }, - "size": 4 - }, - "VidPnTargetColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorTypeEnum": { - "base": "long", - "constants": { - "DMM_VMT_TEMPORARY_MONITOR": 4, - "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, - "DMM_VMT_PHYSICAL_MONITOR": 1, - "DMM_VMT_UNINITIALIZED": 0, - "DMM_VMT_SIMULATED_MONITOR": 5, - "DMM_VMT_PERSISTENT_MONITOR": 3 - }, - "size": 4 - }, - "PowerStateEnum": { - "base": "long", - "constants": { - "PowerSystemSleeping2": 3, - "PowerSystemSleeping1": 2, - "PowerSystemSleeping3": 4, - "PowerSystemUnspecified": 0, - "PowerSystemMaximum": 7, - "PowerSystemShutdown": 6, - "PowerSystemHibernate": 5, - "PowerSystemWorking": 1 - }, - "size": 4 - }, - "ShutdownTypeEnum": { - "base": "long", - "constants": { - "PowerActionNone": 0, - "PowerActionReserved": 1, - "PowerActionHibernate": 3, - "PowerActionShutdownOff": 6, - "PowerActionShutdown": 4, - "PowerActionSleep": 2, - "PowerActionShutdownReset": 5, - "PowerActionWarmEject": 7 - }, - "size": 4 - }, - "ScalingEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPS_CENTERED": 2, - "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, - "D3DKMDT_VPPS_STRETCHED": 3, - "D3DKMDT_VPPS_UNINITIALIZED": 0, - "D3DKMDT_VPPS_UNPINNED": 254, - "D3DKMDT_VPPS_IDENTITY": 1, - "D3DKMDT_VPPS_NOTSPECIFIED": 255, - "D3DKMDT_VPPS_CUSTOM": 5, - "D3DKMDT_VPPS_RESERVED1": 253 - }, - "size": 4 - }, - "CurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "StorageTypeEnum": { - "base": "long", - "constants": { - "SmStorageActual": 0, - "SmStorageNonActual": 1 - }, - "size": 4 - }, - "ScanLineOrderingEnum": { - "base": "long", - "constants": { - "D3DDDI_VSSLO_PROGRESSIVE": 1, - "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, - "D3DDDI_VSSLO_UNINITIALIZED": 0, - "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, - "D3DDDI_VSSLO_OTHER": 255 - }, - "size": 4 - }, - "PixelValueAccessModeEnum": { - "base": "long", - "constants": { - "D3DKMDT_PVAM_UNINITIALIZED": 0, - "D3DKMDT_PVAM_DIRECT": 1, - "D3DKMDT_PVAM_PRESETPALETTE": 2, - "D3DKMDT_PVAM_MAXVALID": 3 - }, - "size": 4 - }, - "PriorityPolicyEnum": { - "base": "long", - "constants": { - "IrqPriorityHigh": 3, - "IrqPriorityNormal": 2, - "IrqPriorityLow": 1, - "IrqPriorityUndefined": 0 - }, - "size": 4 - }, - "OrientationEnum": { - "base": "long", - "constants": { - "D3DKMDT_MO_90DEG": 2, - "D3DKMDT_MO_0DEG": 1, - "D3DKMDT_MO_270DEG": 4, - "D3DKMDT_MO_UNINITIALIZED": 0, - "D3DKMDT_MO_180DEG": 3 - }, - "size": 4 - }, - "ContentEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPC_NOTSPECIFIED": 255, - "D3DKMDT_VPPC_UNINITIALIZED": 0, - "D3DKMDT_VPPC_GRAPHICS": 1, - "D3DKMDT_VPPC_VIDEO": 2 - }, - "size": 4 - }, - "ColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MoveRectStyleEnum": { - "base": "long", - "constants": { - "MoveRectMidTopAtCursor": 1, - "MoveRectSidewiseKeepPositionAtCursor": 3, - "MoveRectKeepPositionAtCursor": 0, - "MoveRectKeepAspectRatioAtCursor": 2 - }, - "size": 4 - }, - "VideoStandardEnum": { - "base": "long", - "constants": { - "D3DKMDT_VSS_PAL_G": 11, - "D3DKMDT_VSS_PAL_D": 14, - "D3DKMDT_VSS_PAL_B": 9, - "D3DKMDT_VSS_SECAM_K": 21, - "D3DKMDT_VSS_VESA_GTF": 2, - "D3DKMDT_VSS_PAL_L": 30, - "D3DKMDT_VSS_PAL_M": 31, - "D3DKMDT_VSS_PAL_K": 28, - "D3DKMDT_VSS_PAL_H": 12, - "D3DKMDT_VSS_PAL_I": 13, - "D3DKMDT_VSS_SECAM_L1": 24, - "D3DKMDT_VSS_VESA_DMT": 1, - "D3DKMDT_VSS_SECAM_L": 23, - "D3DKMDT_VSS_EIA_861": 25, - "D3DKMDT_VSS_PAL_N": 15, - "D3DKMDT_VSS_APPLE": 5, - "D3DKMDT_VSS_NTSC_M": 6, - "D3DKMDT_VSS_SECAM_H": 20, - "D3DKMDT_VSS_NTSC_J": 7, - "D3DKMDT_VSS_SECAM_B": 17, - "D3DKMDT_VSS_SECAM_G": 19, - "D3DKMDT_VSS_SECAM_D": 18, - "D3DKMDT_VSS_IBM": 4, - "D3DKMDT_VSS_SECAM_K1": 22, - "D3DKMDT_VSS_PAL_NC": 16, - "D3DKMDT_VSS_PAL_B1": 10, - "D3DKMDT_VSS_EIA_861A": 26, - "D3DKMDT_VSS_EIA_861B": 27, - "D3DKMDT_VSS_UNINITIALIZED": 0, - "D3DKMDT_VSS_OTHER": 255, - "D3DKMDT_VSS_PAL_K1": 29, - "D3DKMDT_VSS_VESA_CVT": 3, - "D3DKMDT_VSS_NTSC_443": 8 - }, - "size": 4 - }, - "ImportanceOrdinalEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPI_QUATERNARY": 4, - "D3DKMDT_VPPI_SECONDARY": 2, - "D3DKMDT_VPPI_PRIMARY": 1, - "D3DKMDT_VPPI_QUINARY": 5, - "D3DKMDT_VPPI_DENARY": 10, - "D3DKMDT_VPPI_SENARY": 6, - "D3DKMDT_VPPI_TERTIARY": 3, - "D3DKMDT_VPPI_SEPTENARY": 7, - "D3DKMDT_VPPI_NONARY": 9, - "D3DKMDT_VPPI_UNINITIALIZED": 0, - "D3DKMDT_VPPI_OCTONARY": 8, - "D3DKMDT_VPPI_MAX": 32, - "D3DKMDT_VPPI_NOTSPECIFIED": 255 - }, - "size": 4 - }, - "RangeTypeEnum": { - "base": "long", - "constants": { - "SmRangeBool": 2, - "SmRangeNonSharedInfo": 1, - "SmRangeSharedInfo": 0 - }, - "size": 4 - }, - "TimingTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MTT_EXTRASTANDARD": 3, - "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, - "D3DKMDT_MTT_STANDARD": 2, - "D3DKMDT_MTT_UNINITIALIZED": 0, - "D3DKMDT_MTT_MAXVALID": 6, - "D3DKMDT_MTT_DETAILED": 4, - "D3DKMDT_MTT_ESTABLISHED": 1 - }, - "size": 4 - }, - "PixelFormatEnum": { - "base": "long", - "constants": { - "D3DDDIFMT_W11V11U10": 65, - "D3DDDIFMT_A16B16G16R16F": 113, - "D3DDDIFMT_A8R8G8B8": 21, - "D3DDDIFMT_D32_LOCKABLE": 84, - "D3DDDIFMT_L8": 50, - "D3DDDIFMT_DXVA_RESERVED27": 177, - "D3DDDIFMT_DXVA_RESERVED26": 176, - "D3DDDIFMT_DXVA_RESERVED25": 175, - "D3DDDIFMT_DXVA_RESERVED24": 174, - "D3DDDIFMT_DXVA_RESERVED23": 173, - "D3DDDIFMT_DXVA_RESERVED22": 172, - "D3DDDIFMT_DXVA_RESERVED21": 171, - "D3DDDIFMT_DXVA_RESERVED20": 170, - "D3DDDIFMT_DXVA_RESERVED29": 179, - "D3DDDIFMT_DXVA_RESERVED28": 178, - "D3DDDIFMT_R3G3B2": 27, - "D3DDDIFMT_A8R3G3B2": 29, - "D3DDDIFMT_INDEX16": 101, - "D3DDDIFMT_X4R4G4B4": 30, - "D3DDDIFMT_A4R4G4B4": 26, - "D3DDDIFMT_Q8W8V8U8": 63, - "D3DDDIFMT_FORCE_UINT": 2147483647, - "D3DDDIFMT_S1D15": 72, - "D3DDDIFMT_A16B16G16R16": 36, - "D3DDDIFMT_A8L8": 51, - "D3DDDIFMT_D24X4S4": 79, - "D3DDDIFMT_BINARYBUFFER": 199, - "D3DDDIFMT_DXVA_RESERVED30": 180, - "D3DDDIFMT_R32F": 114, - "D3DDDIFMT_VERTEXDATA": 100, - "D3DDDIFMT_R5G6B5": 23, - "D3DDDIFMT_R8G8_B8G8": 1195525970, - "D3DDDIFMT_A4L4": 52, - "D3DDDIFMT_A1R5G5B5": 25, - "D3DDDIFMT_X1R5G5B5": 24, - "D3DDDIFMT_D32": 71, - "D3DDDIFMT_G8R8_G8B8": 1111970375, - "D3DDDIFMT_A2B10G10R10": 31, - "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, - "D3DDDIFMT_MULTI2_ARGB8": 827606349, - "D3DDDIFMT_D16_LOCKABLE": 70, - "D3DDDIFMT_BITSTREAMDATA": 156, - "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, - "D3DDDIFMT_X8B8G8R8": 33, - "D3DDDIFMT_R8G8B8": 20, - "D3DDDIFMT_S8_LOCKABLE": 85, - "D3DDDIFMT_D24S8": 75, - "D3DDDIFMT_X8D24": 76, - "D3DDDIFMT_A2R10G10B10": 35, - "D3DDDIFMT_P8": 41, - "D3DDDIFMT_L6V5U5": 61, - "D3DDDIFMT_X8R8G8B8": 22, - "D3DDDIFMT_D16": 80, - "D3DDDIFMT_A2W10V10U10": 67, - "D3DDDIFMT_D24FS8": 83, - "D3DDDIFMT_MOTIONVECTORBUFFER": 157, - "D3DDDIFMT_L16": 81, - "D3DDDIFMT_X8L8V8U8": 62, - "D3DDDIFMT_A32B32G32R32F": 116, - "D3DDDIFMT_A8P8": 40, - "D3DDDIFMT_YUY2": 844715353, - "D3DDDIFMT_R16F": 111, - "D3DDDIFMT_G16R16": 34, - "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, - "D3DDDIFMT_Q16W16V16U16": 110, - "D3DDDIFMT_S8D24": 74, - "D3DDDIFMT_PICTUREPARAMSDATA": 150, - "D3DDDIFMT_A1": 118, - "D3DDDIFMT_FILMGRAINBUFFER": 158, - "D3DDDIFMT_A8": 28, - "D3DDDIFMT_UNKNOWN": 0, - "D3DDDIFMT_DXVA_RESERVED19": 169, - "D3DDDIFMT_D32F_LOCKABLE": 82, - "D3DDDIFMT_MACROBLOCKDATA": 151, - "D3DDDIFMT_A8B8G8R8": 32, - "D3DDDIFMT_UYVY": 1498831189, - "D3DDDIFMT_DXT1": 827611204, - "D3DDDIFMT_DEBLOCKINGDATA": 153, - "D3DDDIFMT_DXT3": 861165636, - "D3DDDIFMT_DXT4": 877942852, - "D3DDDIFMT_DXT5": 894720068, - "D3DDDIFMT_CxV8U8": 117, - "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, - "D3DDDIFMT_DXVA_RESERVED9": 159, - "D3DDDIFMT_DXT2": 844388420, - "D3DDDIFMT_G32R32F": 115, - "D3DDDIFMT_X4S4D24": 78, - "D3DDDIFMT_D24X8": 77, - "D3DDDIFMT_DXVA_RESERVED12": 162, - "D3DDDIFMT_DXVA_RESERVED13": 163, - "D3DDDIFMT_DXVA_RESERVED10": 160, - "D3DDDIFMT_DXVA_RESERVED11": 161, - "D3DDDIFMT_DXVA_RESERVED16": 166, - "D3DDDIFMT_DXVA_RESERVED17": 167, - "D3DDDIFMT_DXVA_RESERVED14": 164, - "D3DDDIFMT_DXVA_RESERVED15": 165, - "D3DDDIFMT_DXVA_RESERVED18": 168, - "D3DDDIFMT_D15S1": 73, - "D3DDDIFMT_V16U16": 64, - "D3DDDIFMT_SLICECONTROLDATA": 155, - "D3DDDIFMT_G16R16F": 112, - "D3DDDIFMT_INDEX32": 102, - "D3DDDIFMT_V8U8": 60 - }, - "size": 4 - }, - "IdTypeEnum": { - "base": "long", - "constants": { - "BusQueryCompatibleIDs": 2, - "BusQueryInstanceID": 3, - "BusQueryDeviceID": 0, - "BusQueryDeviceSerialNumber": 4, - "BusQueryHardwareIDs": 1, - "BusQueryContainerID": 5 - }, - "size": 4 - }, - "StartCurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "TypeEnum": { - "base": "long", - "constants": { - "DevicePowerState": 1, - "SystemPowerState": 0 - }, - "size": 4 - }, - "RotationEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPR_IDENTITY": 1, - "D3DKMDT_VPPR_NOTSPECIFIED": 255, - "D3DKMDT_VPPR_UNPINNED": 254, - "D3DKMDT_VPPR_ROTATE270": 4, - "D3DKMDT_VPPR_ROTATE90": 2, - "D3DKMDT_VPPR_ROTATE180": 3, - "D3DKMDT_VPPR_UNINITIALIZED": 0 - }, - "size": 4 - }, - "CopyProtectionTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPMT_NOTSPECIFIED": 255, - "D3DKMDT_VPPMT_UNINITIALIZED": 0, - "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, - "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, - "D3DKMDT_VPPMT_NOPROTECTION": 1 - }, - "size": 4 - }, - "FsInformationClassEnum": { - "base": "long", - "constants": { - "FileFsFullSizeInformation": 7, - "FileFsAttributeInformation": 5, - "FileFsVolumeFlagsInformation": 10, - "FileFsVolumeInformation": 1, - "FileFsSizeInformation": 3, - "FileFsLabelInformation": 2, - "FileFsDeviceInformation": 4, - "FileFsControlInformation": 6, - "FileFsDriverPathInformation": 9, - "FileFsMaximumInformation": 11, - "FileFsObjectIdInformation": 8 - }, - "size": 4 - }, - "DeviceTextTypeEnum": { - "base": "long", - "constants": { - "DeviceTextLocationInformation": 1, - "DeviceTextDescription": 0 - }, - "size": 4 - } - }, - "metadata": { - "producer": { - "version": "0.0.1", - "name": "dgmcdona-via-conversion-script", - "datetime": "2024-09-03T18:22:52Z" - }, - "format": "4.0.0" - } } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json index f26523a1a..be4341cfd 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json @@ -1,18830 +1,18830 @@ { - "symbols": {}, - "user_types": { - "HWINSTA__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 896 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 736 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 480 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 456 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 832 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "subPointer": { + "type": { + "subtype": { + "kind": "struct", + "name": "subTagWNDType" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "directName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!String" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "subTagWNDType": { + "fields": { + "style_bitmask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + } + }, + "kind": "struct", + "size": 128 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 40 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1153": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 59 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 9 - }, - "offset": 0 - }, - "Region": { - "type": { - "bit_position": 61, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 39 - }, - "offset": 0 + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1960": { - "fields": { - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 } - }, - "kind": "struct", - "size": 24 - }, - "tagCLIENTTHREADINFO": { - "fields": { - "fsWakeMask": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "CTIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fsWakeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - }, - "fsWakeBitsJournal": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "fsChangeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4 - }, - "tickLastMsgChecked": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "tagKbdNlsLayer": { - "fields": { - "OEMIdentifier": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "NumOfVkToF": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pusMouseVKey": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "NumOfMouseVKey": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pVkToF": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_FUNCTION_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "LayoutInformation": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1158": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 2 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HBITMAP__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_124b": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1 - }, - "InPath": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_TL": { - "fields": { - "pfnFree": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pobj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagTOUCHINPUTINFO": { - "fields": { - "dwcInputs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "TouchInput": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagTOUCHINPUT" - }, - "kind": "array" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 80 - }, - "tagTHREADINFO": { - "fields": { - "ForceLegacyResizeNCMetr": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptl": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 336 - }, - "timeLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 448 - }, - "DontJournalAttach": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fPack": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 26 - }, - "offset": 928 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 516 - }, - "psmsSent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 424 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 656 - }, - "DefaultCharset": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 512 - }, - "psmsReceiveList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "sphkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 560 - }, - "No50ExStyles": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "IgnoreFaults": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pClientInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "DDENoAsyncReg": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DealyHwndShakeChk": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "amdesk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 720 - }, - "fsChangeBitsRemoved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 704 - }, - "psmsCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 432 - }, - "NoInitFlagsOnFocus": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "StrictLLHook": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "NoShadow": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EnumHelv": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoBatching": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 896 - }, - "Winver31": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Win30AvgWidth": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "AlwaysSendSyncPaint": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "IgnoreNoDiscard": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cPaintsReady": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 480 - }, - "SubtractClips": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "apEvent": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 712 - }, - "cEnterCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 672 - }, - "OpenGLEMF": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "fThreadCleanupFinished": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "idLast": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 456 - }, - "spklActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 360 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "NoEMFSpooling": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptdb": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "SpareCompatFlags2": { - "type": { - "bit_position": 33, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 31 - }, - "offset": 520 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "mlPost": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 680 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "NoCustomPaperSize": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cTimersReady": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 484 - }, - "NoScrollBarCtxMenu": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hPrevHidData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 880 - }, - "NoPaddedBorder": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "DpiAware": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "MultipleBands": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "AnimationOff": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "No50ExStyleBits": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulThreadFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 928 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 472 - }, - "MoreExtraWndWords": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoGhost": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoHRGN1": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 628 - }, - "GiveUpForegound": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "spDefaultImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 656 - }, - "pmsd": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MOVESIZEDATA" - }, - "kind": "pointer" - }, - "offset": 544 - }, - "HardwareMixer": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 904 - }, - "EnumTTNotDevice": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fSpecialInitialization": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ForceFusion": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cti": { - "type": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "offset": 864 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pstrAppName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "SendMnuDblClk": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DDENoSync": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EditNoMouseHide": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptLastReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 636 - }, - "hTouchInputCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HTOUCHINPUT__" - }, - "kind": "pointer" - }, - "offset": 888 - }, - "pEventQueueServer": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "cNestedStableVisRgn": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "NoDrawPatRect": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTTGrapchis": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "GetDeviceCaps": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fsReserveKeys": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 708 - }, - "pq": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 352 - }, - "NoSoftCursOnMoveSize": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hEventQueueClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 592 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "DDE": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "exitCode": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 464 - }, - "wchInjected": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 706 - }, - "CallTTDevice": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DisableDBCSProp": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsShellDlg": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TransparentBltMirror": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "PtiLink": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 736 - }, - "HackWinFlags": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cVisWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 728 - }, - "NcCalcSizeOnMove": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "KCOff": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "readyHead": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 912 - }, - "UsePrintingEscape": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hGestureInfoCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HGESTUREINFO__" - }, - "kind": "pointer" - }, - "offset": 896 - }, - "ForceTextBand": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 724 - }, - "fETWReserved": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 928 - }, - "pMenuState": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 488 - }, - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "TIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 480 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "Win31DevModeSize": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSBTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBTRACK" - }, - "kind": "pointer" - }, - "offset": 584 - }, - "spwndDefaultIme": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 648 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 520 - }, - "EditSetTextMunge": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Random31Ux": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fgfSwitchInProgressSetter": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 392 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "NoTimeCbProtect": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DisableFontAssoc": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pcti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "NoCharDeadKey": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TTIgnoreRasterDupe": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "lParamHkCurrent": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 568 - }, - "qwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 520 - }, - "wParamHkCurrent": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 576 - }, - "NoWindowArrangement": { - "type": { - "bit_position": 32, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ActiveMenus": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 456 - }, - "pqAttach": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 528 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "psiiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 504 - }, - "IgnoreTopMost": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "TryExceptCallWndProc": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoDDETrackDying": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "FontSubs": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "SmoothScrolling": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 624 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "ptiSibling": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 536 - }, - "hklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "IncreaseStack": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - } - }, - "kind": "struct", - "size": 936 - }, - "__unnamed_11ff": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "EaLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FileAttributes": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_CALLPROCDATA": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "pfnClientPrevious": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "wType": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "spcpdNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH": { - "fields": { - "VidPnTargetColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 48 - }, - "VidPnTargetColorBasis": { - "type": { - "kind": "enum", - "name": "VidPnTargetColorBasisEnum" - }, - "offset": 44 - }, - "ContentTransformation": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" - }, - "offset": 12 - }, - "GammaRamp": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GAMMA_RAMP" - }, - "offset": 336 - }, - "CopyProtection": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" - }, - "offset": 68 - }, - "VidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Content": { - "type": { - "kind": "enum", - "name": "ContentEnum" - }, - "offset": 64 - }, - "VisibleFromActiveTLOffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 28 - }, - "VidPnTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "VisibleFromActiveBROffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 36 - }, - "ImportanceOrdinal": { - "type": { - "kind": "enum", - "name": "ImportanceOrdinalEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 360 - }, - "__unnamed_1253": { - "fields": { - "PowerSequence": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_POWER_SEQUENCE" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESS_HID_TABLE": { - "fields": { - "fExclusiveMouseSink": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fCaptureMouse": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyMouse": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboard": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "spwndTargetMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndTargetKbd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "UsageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 98 - }, - "UsagePageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 96 - }, - "fRawMouse": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawMouseSink": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "inclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "nSinks": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "UsagePageList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 32 - }, - "ExclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - }, - "InclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "fRawKeyboardSink": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fAppKeys": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoHotKeys": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "fNoLegacyKeyboard": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "request": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fExclusiveKeyboardSink": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "pLastRequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1809": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "MessageCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHOOK": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "iHook": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "phkNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "offPfn": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "fLastHookHung": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 88 - }, - "nTimeout": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 7 - }, - "offset": 88 - }, - "ihmod": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "ptiHooked": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 80 - } - }, - "kind": "struct", - "size": 96 - }, - "_THROBJHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagPROCESS_HID_REQUEST": { - "fields": { - "fSinkable": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "pTLCInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_TLC_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDevNotify": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "fExSinkable": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 18 - }, - "fExclusiveOrphaned": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "next_request": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "pPORequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_PAGEONLY_REQUEST" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 16 - }, - "ptr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "spwndTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 40 - }, - "_KFLOATING_SAVE": { - "fields": { - "Dummy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { - "fields": { - "Rotate270": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate90": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate180": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMLIST": { - "fields": { - "cMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pqmsgRead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pqmsgWriteLast": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_CONSOLE_CARET_INFO": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1807": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - }, - "Level": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "DEADKEY": { - "fields": { - "wchComposed": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 4 - }, - "dwBoth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESSINFO": { - "fields": { - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "fHasMagContext": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 736 - }, - "hwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWINSTA__" - }, - "kind": "pointer" - }, - "offset": 608 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ptiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 256 - }, - "pHidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 744 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "pclsPublicList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 288 - }, - "dwhmodLibLoadedMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 340 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "hdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 328 - }, - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "dwImeCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 696 - }, - "hMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HMONITOR__" - }, - "kind": "pointer" - }, - "offset": 624 - }, - "ptiMainThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "pvwplWndGCList": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 760 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "usi": { - "type": { - "kind": "struct", - "name": "tagUSERSTARTUPINFO" - }, - "offset": 708 - }, - "luidSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 700 - }, - "Unused": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 736 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pW32Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 688 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwRegisteredClasses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 752 - }, - "bmHandleFlags": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_BITMAP" - }, - "offset": 648 - }, - "pclsPrivateList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "amwinsta": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 616 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ppiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 736 - }, - "dwHotkey": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 620 - }, - "cSysExpunge": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "rpdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pdvList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 632 - }, - "hidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 832 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 320 - }, - "pwpi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "ppiNextRunning": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "dwLayout": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 740 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rpwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "pCursorCache": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "pClientBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 672 - }, - "ahmodLibLoaded": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 384 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 640 - }, - "dwLpkEntryPoints": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 680 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 768 - }, - "HBRUSH__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLIP": { - "fields": { - "fmt": { - "type": { - "kind": "enum", - "name": "fmtEnum" - }, - "offset": 0 - }, - "fGlobalHandle": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagUAHMENUPOPUPMETRICS": { - "fields": { - "rgcx": { - "type": { - "count": 4, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 0 - }, - "fUpdateMaxWidths": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 20 - }, - "tagSMS": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 72 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 80 - }, - "lpResultCallBack": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lRet": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 56 - }, - "psmsReceiveNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "tSent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "pvCapture": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "psmsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptiReceiver": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ptiCallBackSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "dwData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 112 - }, - "__unnamed_195e": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_195c": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_W32THREAD": { - "fields": { - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 336 - }, - "_VK_TO_WCHAR_TABLE": { - "fields": { - "pVkToWchars": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHARS1" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cbSize": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - }, - "nModifications": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPROPLIST": { - "fields": { - "aprop": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagPROP" - }, - "kind": "array" - }, - "offset": 8 - }, - "iFirstFree": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cEntries": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_D3DKMDT_FREQUENCY_RANGE": { - "fields": { - "MinVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 0 - }, - "MaxVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 8 - }, - "MaxHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 24 - }, - "MinHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_11f8": { - "fields": { - "Apc": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KAPC" - }, - "offset": 0 - }, - "CompletionKey": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Overlay": { - "type": { - "kind": "struct", - "name": "__unnamed_11f5" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_18bf": { - "fields": { - "BaseMiddle": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "Flags1": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "Flags2": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "tagPROFILEVALUEINFO": { - "fields": { - "dwValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uSection": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pwszKeyName": { - "type": { - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_11f5": { - "fields": { - "Thread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "DeviceQueueEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" - }, - "offset": 0 - }, - "CurrentStackLocation": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_STACK_LOCATION" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "DriverContext": { - "type": { - "count": 4, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 0 - }, - "AuxiliaryBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "OriginalFileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "PacketType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 80 - }, - "__unnamed_125f": { - "fields": { - "AllocatedResources": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "AllocatedResourcesTranslated": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "D3DDDI_DXGI_RGB": { - "fields": { - "Blue": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "Green": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "Red": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1219": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FsControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_125b": { - "fields": { - "State": { - "type": { - "kind": "struct", - "name": "nt_symbols!_POWER_STATE" - }, - "offset": 16 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "SystemContext": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ShutdownType": { - "type": { - "kind": "enum", - "name": "ShutdownTypeEnum" - }, - "offset": 24 - }, - "SystemPowerStateContext": { - "type": { - "kind": "struct", - "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "HDC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagDISPLAYINFO": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "SpatialListHead": { - "type": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "offset": 144 - }, - "BitCountMax": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 130 - }, - "cyGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "hdcBits": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDesktopIsRect": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "hbmGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pmdev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "cFullScreen": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 160 - }, - "cxGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 128 - }, - "hDevInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fAnyPalette": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "pspbFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pMonitorPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 162 - }, - "pMonitorFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "hdcGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hrgnScreenReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cMonitors": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "hdcScreen": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "DockThresholdMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "pdceFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 168 - }, - "tagWin32AllocStats": { - "fields": { - "dwMaxAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwMaxMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwCrtAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwCrtMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18c5": { - "fields": { - "DefaultBig": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "BaseMiddle": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "LimitHigh": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 0 - }, - "System": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Granularity": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Dpl": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 0 - }, - "Type": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "Present": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "LongMode": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1261": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ProviderId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "BufferSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DataPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1263": { - "fields": { - "Argument4": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Argument2": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Argument3": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "Argument1": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1265": { - "fields": { - "DeviceIoControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121d" - }, - "offset": 0 - }, - "ReadWriteConfig": { - "type": { - "kind": "struct", - "name": "__unnamed_123d" - }, - "offset": 0 - }, - "Create": { - "type": { - "kind": "struct", - "name": "__unnamed_11ff" - }, - "offset": 0 - }, - "Write": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "PowerSequence": { - "type": { - "kind": "struct", - "name": "__unnamed_1253" - }, - "offset": 0 - }, - "QueryId": { - "type": { - "kind": "struct", - "name": "__unnamed_1243" - }, - "offset": 0 - }, - "SetFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1213" - }, - "offset": 0 - }, - "CreatePipe": { - "type": { - "kind": "struct", - "name": "__unnamed_1203" - }, - "offset": 0 - }, - "Power": { - "type": { - "kind": "struct", - "name": "__unnamed_125b" - }, - "offset": 0 - }, - "Read": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "StartDevice": { - "type": { - "kind": "struct", - "name": "__unnamed_125f" - }, - "offset": 0 - }, - "QueryDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120d" - }, - "offset": 0 - }, - "LockControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121b" - }, - "offset": 0 - }, - "QueryInterface": { - "type": { - "kind": "struct", - "name": "__unnamed_1233" - }, - "offset": 0 - }, - "Others": { - "type": { - "kind": "struct", - "name": "__unnamed_1263" - }, - "offset": 0 - }, - "FileSystemControl": { - "type": { - "kind": "struct", - "name": "__unnamed_1219" - }, - "offset": 0 - }, - "SetLock": { - "type": { - "kind": "struct", - "name": "__unnamed_123f" - }, - "offset": 0 - }, - "QueryDeviceText": { - "type": { - "kind": "struct", - "name": "__unnamed_1247" - }, - "offset": 0 - }, - "WMI": { - "type": { - "kind": "struct", - "name": "__unnamed_1261" - }, - "offset": 0 - }, - "CreateMailslot": { - "type": { - "kind": "struct", - "name": "__unnamed_1207" - }, - "offset": 0 - }, - "FilterResourceRequirements": { - "type": { - "kind": "struct", - "name": "__unnamed_123b" - }, - "offset": 0 - }, - "MountVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QueryVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1217" - }, - "offset": 0 - }, - "UsageNotification": { - "type": { - "kind": "struct", - "name": "__unnamed_124b" - }, - "offset": 0 - }, - "Scsi": { - "type": { - "kind": "struct", - "name": "__unnamed_1229" - }, - "offset": 0 - }, - "WaitWake": { - "type": { - "kind": "struct", - "name": "__unnamed_124f" - }, - "offset": 0 - }, - "QueryFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1211" - }, - "offset": 0 - }, - "VerifyVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QuerySecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_121f" - }, - "offset": 0 - }, - "QueryDeviceRelations": { - "type": { - "kind": "struct", - "name": "__unnamed_122d" - }, - "offset": 0 - }, - "NotifyDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120f" - }, - "offset": 0 - }, - "SetSecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_1221" - }, - "offset": 0 - }, - "DeviceCapabilities": { - "type": { - "kind": "struct", - "name": "__unnamed_1237" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1817": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1815": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "tagKbdLayer": { - "fields": { - "pVkToWcharTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHAR_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fLocaleFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "pCharModifiers": { - "type": { - "subtype": { - "kind": "struct", - "name": "MODIFIERS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pKeyNamesExt": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pDeadKey": { - "type": { - "subtype": { - "kind": "struct", - "name": "DEADKEY" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pusVSCtoVK": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pKeyNamesDead": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pLigature": { - "type": { - "subtype": { - "kind": "struct", - "name": "_LIGATURE1" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "cbLgEntry": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 85 - }, - "pKeyNames": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "dwSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "nLgMax": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 84 - }, - "pVSCtoVK_E1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pVSCtoVK_E0": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bMaxVSCtoVK": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1813": { - "fields": { - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { - "fields": { - "Centered": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "AspectRatioCenteredMax": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Stretched": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Custom": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1958": { - "fields": { - "MinBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "MaxBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_2DREGION": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "HRGN__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1954": { - "fields": { - "AffinityPolicy": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "PriorityPolicy": { - "type": { - "kind": "enum", - "name": "PriorityPolicyEnum" - }, - "offset": 12 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "MaximumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "TargetedProcessors": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "MinimumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_PROCMARKHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagSIZE": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagDESKTOPVIEW": { - "fields": { - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "pdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pdvNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1819": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { - "fields": { - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "PathAndTargetModeSetOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBTRACK": { - "fields": { - "spwndSBNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTimerSB": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "cmdSB": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "xxxpfnSB": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fTrackVert": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posNew": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 84 - }, - "posOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fCtlSB": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "rcTrack": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 32 - }, - "fTrackRecalc": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndSB": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "pxOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fHitOld": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "pSBCalc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBCALC" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "nBar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_16c1": { - "fields": { - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "MaxPixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_DMA_ADAPTER": { - "fields": { - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "DmaOperations": { - "type": { - "subtype": { - "kind": "struct", - "name": "_DMA_OPERATIONS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMONITOR": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "rcMonitorReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 28 - }, - "pMonitorNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hDevReal": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "hrgnMonitorReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "rcWorkReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 44 - }, - "dwMONFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cWndStack": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 74 - }, - "DockTargets": { - "type": { - "count": 7, - "subtype": { - "count": 4, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "kind": "array" - }, - "offset": 96 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 144 - }, - "__unnamed_180b": { - "fields": { - "Translated": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Raw": { - "type": { - "kind": "struct", - "name": "__unnamed_1809" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagRECT": { - "fields": { - "top": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "right": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "bottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "left": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_180d": { - "fields": { - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Port": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Channel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "MODIFIERS": { - "fields": { - "wMaxModBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "pVkToBit": { - "type": { - "subtype": { - "kind": "struct", - "name": "VK_TO_BIT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ModNumber": { - "type": { - "count": 0, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 10 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120f": { - "fields": { - "CompletionFilter": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120d": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 16 - }, - "FileName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { - "fields": { - "PathAndTargetModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 48 - }, - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 40 - }, - "SourceMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_SOURCE_MODE" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 480 - }, - "tagMSG": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 24 - }, - "pt": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 36 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "time": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "tagDPISERVERINFO": { - "fields": { - "hMsgFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hCaptionFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "gclBorder": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cxMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "wMaxBtnSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "cyMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { - "fields": { - "Blue": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 1024 - }, - "Green": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 512 - }, - "Red": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1536 - }, - "__unnamed_124f": { - "fields": { - "PowerState": { - "type": { - "kind": "enum", - "name": "PowerStateEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagWOWPROCESSINFO": { - "fields": { - "ptdbHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ptiScheduled": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "nRecvLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CSLockCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "nSendLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pEventWowExec": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lpfnWowExitTask": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "CSOwningThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "hEventWowExecClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwpiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "HTOUCHINPUT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMENU": { - "fields": { - "iItem": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "umpm": { - "type": { - "kind": "struct", - "name": "tagUAHMENUPOPUPMETRICS" - }, - "offset": 132 - }, - "cItems": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pParentMenus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "fFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "cxMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwContextHelpId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "cxTextAlign": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "cAlloced": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "hbrBack": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwArrowsOn": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 128 - }, - "iMaxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 124 - }, - "dwMenuData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "cyMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "rgItems": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagITEM" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "cyMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "_D3DDDI_GAMMA_RAMP_DXGI_1": { - "fields": { - "GammaCurve": { - "type": { - "count": 1025, - "subtype": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "kind": "array" - }, - "offset": 24 - }, - "Scale": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 0 - }, - "Offset": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 12324 - }, - "_MOVESIZEDATA": { - "fields": { - "fmsKbd": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "pStartMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "impy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 152 - }, - "fMoveFromMax": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapMoving": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "frcNormalCheckPtValid": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptMaxTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 96 - }, - "ptRestore": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 156 - }, - "fUsePreviewRect": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForceSizing": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fThresholdSelector": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 164 - }, - "ptStartHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 208 - }, - "fDragFullWindows": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForeground": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "dyMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 140 - }, - "fHasSoftwareCursor": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsHitPtOffScreen": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapSizingTemporaryAllowed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fCheckPtForcefullyRestored": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedRight": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ulCountDragOutOfLeftRightTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 228 - }, - "Unused": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 164 - }, - "dxMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 136 - }, - "fStartVerticallyMaximizedRight": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcParent": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 72 - }, - "fOffScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fWindowWasSuperMaximized": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedLeft": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "StartCurrentHitTarget": { - "type": { - "kind": "enum", - "name": "StartCurrentHitTargetEnum" - }, - "offset": 176 - }, - "fHasPreviewRect": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fLockWindowUpdate": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcPreview": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 40 - }, - "fSnapSizing": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsMoveSizeLoop": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fInitSize": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcDragCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "ulCountDragOutOfTopTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 224 - }, - "rcPreviewCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 56 - }, - "CurrentHitTarget": { - "type": { - "kind": "enum", - "name": "CurrentHitTargetEnum" - }, - "offset": 192 - }, - "fSnapMovingTemporaryAllowed": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fTrackCancelled": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 200 - }, - "ptLastTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 216 - }, - "cmd": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 144 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 164 - }, - "MoveRectStyle": { - "type": { - "kind": "enum", - "name": "MoveRectStyleEnum" - }, - "offset": 196 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "ulCountSizeOutOfTopBottomTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 232 - }, - "fStartVerticallyMaximizedLeft": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcNormalStartCheckPt": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 120 - }, - "ptMinTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 88 - }, - "rcDrag": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - }, - "pMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "impx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 148 - } - }, - "kind": "struct", - "size": 240 - }, - "_D3DDDI_RATIONAL": { - "fields": { - "Denominator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Numerator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "VWPL": { - "fields": { - "cElem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "aElement": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "VWPLELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "fTagged": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cThreshhold": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cPwnd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagTEXTMETRICW": { - "fields": { - "tmOverhang": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "tmPitchAndFamily": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 55 - }, - "tmStruckOut": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 54 - }, - "tmCharSet": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - }, - "tmDigitizedAspectX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "tmDigitizedAspectY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "tmFirstChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 44 - }, - "tmWeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "tmDescent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "tmDefaultChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 48 - }, - "tmLastChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 46 - }, - "tmMaxCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "tmItalic": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 52 - }, - "tmUnderlined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 53 - }, - "tmInternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "tmAscent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "tmHeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "tmAveCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "tmBreakChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 50 - }, - "tmExternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 60 - }, - "_SCATTER_GATHER_LIST": { - "fields": { - "Elements": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "_SCATTER_GATHER_ELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "NumberOfElements": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "HICON__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_HANDLEENTRY": { - "fields": { - "pOwner": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "bType": { - "type": { - "kind": "enum", - "name": "bTypeEnum" - }, - "offset": 16 - }, - "bFlags": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 17 - }, - "phead": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HEAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "wUniq": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - } - }, - "kind": "struct", - "size": 24 - }, - "_THRDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagSVR_INSTANCE_INFO": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nextInThisThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spwndEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "afCmd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pcii": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 80 - }, - "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { - "fields": { - "RequestDiagInfo": { - "type": { - "kind": "struct", - "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" - }, - "offset": 4 - }, - "AffectedVidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "VidPnSerialization": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPN_SERIALIZATION" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 28 - }, - "tagPOPUPMENU": { - "fields": { - "fDroppedLeft": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fIsSysMenu": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posDropped": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fIsMenuBar": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHierarchyDropped": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDropNextPopup": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fRightButton": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ppopupmenuRoot": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fFirstClick": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fRtoL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSendUninit": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fAboutToHide": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNextPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fFlushDelayedFree": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHasMenuBar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fTrackMouseEvent": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fNoNotify": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posSelectedItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fUseMonitorRect": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndPrevPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ppmDelayedFree": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "fFreed": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSynchronous": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenuAlternate": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fDestroyed": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "iDropDir": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "fIsTrackPopup": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndActivePopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "fInCancel": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fToggle": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDelayedFree": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHideTimer": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fShowTimer": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "_D3DKMDT_MONITOR_SOURCE_MODE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 84 - }, - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "ColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 68 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 88 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 96 - }, - "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 8 - }, - "Data": { - "type": { - "count": 128, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 12 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 140 - }, - "__unnamed_127c": { - "fields": { - "Wcb": { - "type": { - "kind": "struct", - "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" - }, - "offset": 0 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_D3DMATRIX": { - "fields": { - "_41": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 48 - }, - "_42": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 52 - }, - "_43": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 56 - }, - "_44": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 60 - }, - "_34": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 44 - }, - "_14": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 12 - }, - "_13": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "_12": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "_11": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - }, - "_24": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 28 - }, - "_31": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 32 - }, - "_33": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 40 - }, - "_32": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 36 - }, - "_22": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 20 - }, - "_23": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 24 - }, - "_21": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 64 - }, - "_LARGE_UNICODE_STRING": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumLength": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 4 - }, - "bAnsi": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "_VK_VALUES_STRINGS": { - "fields": { - "fReserved": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "pszMultiNames": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHID_TLC_INFO": { - "fields": { - "cExcludeOrphaned": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - }, - "cDevices": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "cExcludeRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cUsagePageRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "cDirectRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { - "fields": { - "Info": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_SOURCE_MODE" - }, - "offset": 0 - }, - "TimingType": { - "type": { - "kind": "enum", - "name": "TimingTypeEnum" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 104 - }, - "tagCURSOR": { - "fields": { - "rt": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 58 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCMARKHEAD" - }, - "offset": 0 - }, - "hbmUserAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "xHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 68 - }, - "hbmColor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pcurNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "CURSORF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hbmMask": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bpp": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 120 - }, - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 128 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "rcBounds": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 96 - }, - "atomModName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "hbmAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "yHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 70 - }, - "strName": { - "type": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 136 - }, - "_D3DKMDT_GAMMA_RAMP": { - "fields": { - "Data": { - "type": { - "kind": "struct", - "name": "__unnamed_182e" - }, - "offset": 16 - }, - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "HWND__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1207": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18a1": { - "fields": { - "Text": { - "type": { - "kind": "enum", - "name": "TextEnum" - }, - "offset": 0 - }, - "Graphics": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { - "fields": { - "TargetMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "offset": 360 - }, - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 432 - }, - "HKL__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1209": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagDCE": { - "fields": { - "hrgnClipPublic": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwndOrg": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pdceNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "DCX_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hdc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "hrgnSavedVis": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pwndRedirect": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pwndClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 96 - }, - "VSC_LPWSTR": { - "fields": { - "vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pwsz": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagQ": { - "fields": { - "hwndDblClk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "timeDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndFocus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 328 - }, - "cLockCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 322 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 312 - }, - "ptiSysLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "caret": { - "type": { - "kind": "struct", - "name": "tagCARET" - }, - "offset": 232 - }, - "ptiMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndActivePrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ptMouseMove": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 128 - }, - "msgDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "msgJournal": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "ptiKeyboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 320 - }, - "QF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 316 - }, - "mlInput": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 0 - }, - "spwndActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "codeCapture": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "idSysLock": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "spcurCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "ulEtwReserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "ptDblClk": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 120 - }, - "xbtnDblClk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 104 - }, - "afKeyRecentDown": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "afKeyState": { - "type": { - "count": 64, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 168 - }, - "spwndCapture": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "idSysPeek": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 344 - }, - "__unnamed_1203": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "HGESTUREINFO__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLS": { - "fields": { - "spcur": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 100 - }, - "pclsClone": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "lpszClientAnsiMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pclsBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "atomNVClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "pclsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "CSF_flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "lpszAnsiClassName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "spcpdFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "lpszClientUnicodeMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "cbclsExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 96 - }, - "lpszMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "spicnSm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "cWndReferenceCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "hbrBackground": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "spicn": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 12 - }, - "pdce": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "rpdeskParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "atomClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 160 - }, - "_PROCDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { - "fields": { - "CommitVidPnRequestOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumCommitVidPnRequests": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_VK_TO_FUNCTION_TABLE": { - "fields": { - "NLSFEProcType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "NLSFEProcCurrent": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcSwitch": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "NLSFEProcAlt": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 68 - }, - "NLSFEProc": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 132 - }, - "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { - "fields": { - "NumDescriptors": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "DescriptorSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 144 - }, - "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 112 - }, - "_CALLBACKWND": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { - "fields": { - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - }, - "TargetModeSet": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" - }, - "offset": 360 - } - }, - "kind": "struct", - "size": 440 - }, - "_VK_FUNCTION_PARAM": { - "fields": { - "NLSFEProcIndex": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcParam": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBCALC": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "pxStart": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "pxThumbBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "cpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "pxMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pxThumbTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "pxDownArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cpx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "pxBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "pxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pxLeft": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "pxRight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "pxUpArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "HDESK__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "HIMC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { - "fields": { - "SecondChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "FourthChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "ThirdChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FirstChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMENUSTATE": { - "fields": { - "cxAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 116 - }, - "pGlobalPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "uDraggingIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "fNotifyByPos": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInCallHandleMenuMessages": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ixAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "dwLockCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "fAutoDismiss": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fIsSysMenu": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "dwAniStartTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "uButtonDownHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "fIgnoreButtonUp": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptButtonDown": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 56 - }, - "fMenuStarted": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "iAniDropDir": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 8 - }, - "hdcAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "fModelessMenu": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hbmAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "fInEndMenu": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 92 - }, - "vkButtonDown": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fSetCapture": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInDoDragDrop": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fActiveNoForeground": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fMouseOffMenu": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fDragAndDrop": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInsideMenuLoop": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 80 - }, - "fButtonDown": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptiMenuStateOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "iyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 112 - }, - "hdcWndAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "fAboutToAutoDismiss": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "mnFocus": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "uButtonDownIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "fButtonAlwaysDown": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fUnderline": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptMouseLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 12 - }, - "pmnsPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fDragging": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "cmdLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 144 - }, - "VK_TO_BIT": { - "fields": { - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModBits": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - } - }, - "kind": "struct", - "size": 2 - }, - "tagWOWTHREADINFO": { - "fields": { - "pIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "idParentProcess": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "idTask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwtiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "idWaitObject": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 40 - }, - "__unnamed_1805": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1211": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1213": { - "fields": { - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - }, - "AdvanceOnly": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 25 - }, - "ClusterCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "DeleteHandle": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReplaceIfExists": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 24 - }, - "FileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1217": { - "fields": { - "FsInformationClass": { - "type": { - "kind": "enum", - "name": "FsInformationClassEnum" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_123b": { - "fields": { - "IoResourceRequirementList": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_122d": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1950": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagITEM": { - "fields": { - "fType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ulX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "wID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwItemData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "hbmpChecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "xItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "spSubMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hbmpUnchecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fState": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dxTab": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "cxBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 104 - }, - "yItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "cyItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 76 - }, - "umim": { - "type": { - "kind": "struct", - "name": "tagUAHMENUITEMMETRICS" - }, - "offset": 112 - }, - "cch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "ulWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "cyBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "lpstr": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cxItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "hbmp": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 144 - }, - "tagIMEINFOEX": { - "fields": { - "dwImeWinVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fSysWow64Only": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "fInitOpen": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "wszImeDescription": { - "type": { - "count": 50, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 88 - }, - "fCUASLayer": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "ImeInfo": { - "type": { - "kind": "struct", - "name": "tagIMEINFO" - }, - "offset": 8 - }, - "wszImeFile": { - "type": { - "count": 80, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 188 - }, - "wszUIClass": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 36 - }, - "fLoadFlag": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "dwProdVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fdwInitConvMode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - } - }, - "kind": "struct", - "size": 352 - }, - "__unnamed_1962": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1958" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_1956" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_195e" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_195c" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "ConfigData": { - "type": { - "kind": "struct", - "name": "__unnamed_195a" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1960" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1954" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagMSGPPINFO": { - "fields": { - "dwIndexMsgPP": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagSBINFO": { - "fields": { - "WSBflags": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "Horz": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 4 - }, - "Vert": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 36 - }, - "VWPLELEMENT": { - "fields": { - "DataOrTag": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSBDATA": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "_VSC_VK": { - "fields": { - "Vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123f": { - "fields": { - "Lock": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1 - }, - "_SCATTER_GATHER_ELEMENT": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "Address": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagWND": { - "fields": { - "spwndLastActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "bWS_CLIPCHILDREN": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bMaximizeButtonDown": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bUIStateActive": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_TABSTOP": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDialogWindow": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "bMinimizeButtonDown": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HIMC__" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "bChildNoActivate": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_LAYERED": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bStartPaint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedLeft": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bHiddenPopup": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSendEraseBackground": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin50Compat": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_CLIENTEDGE": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 66 - }, - "bWS_EX_TOOLWINDOW": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bDisabled": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bAnsiWindowProc": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin40Compat": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcClient": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 128 - }, - "bAnsiCreator": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bAnyScrollButtonDown": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bSendSizeMoveMsgs": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bLinked": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bSendNCPaint": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bInternalPaint": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasClientEdge": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasPalette": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasHorizontalScrollbar": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUIStateFocusRectHidden": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_DLGFRAME": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_MDICHILD": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasVerticalScrollbar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved2": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bActiveFrame": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bNoNCPaint": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasSPB": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_MINIMIZEBOX": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarVerticalTracking": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_DLGMODALFRAME": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TRANSPARENT": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bPaintNotProcessed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSyncPaintPending": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "bShellHookRegistered": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndChild": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "bUnused5": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bInDestroy": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "state": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "bWS_EX_LEFTSCROLLBAR": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bToggleTopmost": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_VSCROLL": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "ExStyle": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "bWS_HSCROLL": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUpdateDirty": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWMPaintSent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_WINDOWEDGE": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_ACCEPTFILE": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_GROUP": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "bVisible": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bVerticallyMaximizedRight": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bForceMenuDraw": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bForceNCPaint": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bOldUI": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndClipboardListenerNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "bWS_EX_NOPADDEDBORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bNoMinmaxAnimatedRects": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bWS_MAXIMIZEBOX": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bHasCaption": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bEraseBackground": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "spwndOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "subPointer": { - "type": { - "subtype": { - "kind": "struct", - "name": "subTagWNDType" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 232 - }, - "bMakeVisibleWhenUnghosted": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused8": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bUnused9": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 52 - }, - "bForceFullNCPaintClipRgn": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_RTLREADING": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused1": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused2": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused3": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused4": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasMeun": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused6": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused7": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bSmallIconFromWMQueryDrag": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bClipboardListener": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bScrollBarLineDownBtnDown": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedirectedForPrint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_RIGHT": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasCreatestructName": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITED": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bFullScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnUpdate": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "bConsoleWindow": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "ppropList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROPLIST" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bWS_EX_TOPMOST": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bScrollBarPageDownBtnDown": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarLineUpBtnDown": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRecievedQuerySuspendMsg": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bMaximizeMonitorRegion": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedrawIfHung": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_POPUP": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTEXTHELP": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "dwUserData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 256 - }, - "hMod16": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 64 - }, - "FullScreenMode": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 44 - }, - "bLayeredLimbo": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_NOINHERITLAYOUT": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_LAYOUTRTL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUIStateKbdAccelHidden": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_BORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_SIZEBOX": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDestroyed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bServerSideWindowProc": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bCaptionTextTruncated": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 112 - }, - "bEndPaintInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnNewFrame": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "bBeingActivated": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITEDCompositing": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWMCreateMsgProcessed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_NOACTIVATE": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_APPWINDOW": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pSBInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBINFO" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "directName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!String" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bCloseButtonDown": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bMaximized": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_CHILD": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "bWS_THICKFRAME": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTROLPARENT": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pcls": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bLayeredForDWM": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bMsgBox": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHelpButtonDown": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasOverlay": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bRedrawFrameIfHung": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_NOPARENTNOTIFY": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bMaximizesToMonitor": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bBottomMost": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bReserved1": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bRedirected": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved3": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved4": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved5": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved6": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved7": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "spwndPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bLayeredInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "state2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "bWS_CLIPSIBLINGS": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarPageUpBtnDown": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "pTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DMATRIX" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "bWin31Compat": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "ExStyle2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "bHIGHDPI_UNAWARE_Unused": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_SYSMENU": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "strName": { - "type": { - "kind": "struct", - "name": "_LARGE_UNICODE_STRING" - }, - "offset": 232 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "bMinimized": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bRecievedSuspendMsg": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_STATICEDGE": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 296 - }, - "_WM_VALUES_STRINGS": { - "fields": { - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "fInternal": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "fDefined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { - "fields": { - "VisibleRegionSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 8 - }, - "Stride": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "PixelFormat": { - "type": { - "kind": "enum", - "name": "PixelFormatEnum" - }, - "offset": 20 - }, - "PixelValueAccessMode": { - "type": { - "kind": "enum", - "name": "PixelValueAccessModeEnum" - }, - "offset": 28 - }, - "PrimSurfSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "_VK_TO_WCHARS1": { - "fields": { - "Attributes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "_TLSPRITESTATE": { - "fields": { - "flOriginalSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "iSpriteType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pfnSaveScreenBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bInsideDriverCall": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pfnStrokePath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnTransparentBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnPaint": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnStretchBltROP": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "iType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "pfnPlgBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnCopyBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "iOriginalType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pfnTextOut": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDrawStream": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStrokeAndFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnLineTo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnStretchBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGradientFill": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnAlphaBlend": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "flSpriteSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "pfnBitBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 168 - }, - "tagUAHMENUITEMMETRICS": { - "fields": { - "rgsizeBar": { - "type": { - "count": 2, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - }, - "rgsizePopup": { - "type": { - "count": 4, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_121b": { - "fields": { - "Length": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1229": { - "fields": { - "Srb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_SCSI_REQUEST_BLOCK" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_121f": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1225": { - "fields": { - "DeviceObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Vpb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_VPB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "subTagWNDType": { - "fields": { - "style_bitmask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - } - }, - "kind": "struct", - "size": 128 - }, - "_HEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagIMEINFO": { - "fields": { - "fdwProperty": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "fdwSelectCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fdwUICaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwPrivateDataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fdwSCSCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "fdwSentenceCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "fdwConversionCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 28 - }, - "_DXGK_DIAG_CODE_POINT_PACKET": { - "fields": { - "Header": { - "type": { - "kind": "struct", - "name": "_DXGK_DIAG_HEADER" - }, - "offset": 0 - }, - "Param3": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "Param1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CodePointType": { - "type": { - "kind": "enum", - "name": "CodePointTypeEnum" - }, - "offset": 48 - }, - "Param2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_SOURCE_MODE": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Format": { - "type": { - "kind": "struct", - "name": "__unnamed_18a1" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagW32JOB": { - "fields": { - "restrictions": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ughCrt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ughMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pgh": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long long" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EJOB" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ppiTable": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "uProcessCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "uMaxProcesses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { - "fields": { - "NumFrequencyRanges": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "FrequencyRangeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 56 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { - "fields": { - "APSTriggerBits": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "CopyProtectionType": { - "type": { - "kind": "enum", - "name": "CopyProtectionTypeEnum" - }, - "offset": 0 - }, - "CopyProtectionSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" - }, - "offset": 264 - }, - "OEMCopyProtection": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 268 - }, - "tagWINDOWSTATION": { - "fields": { - "pClipBase": { - "type": { - "subtype": { - "count": 104, - "subtype": { - "kind": "struct", - "name": "tagCLIP" - }, - "kind": "array" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "cNumClipFormats": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "luidUser": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 136 - }, - "pGlobalAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "ptiClipLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "dwWSF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "rpdeskList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spklList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spwndClipOpen": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "psidUser": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pTerm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTERMINAL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndClipboardListener": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "luidEndSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 128 - }, - "iClipSequenceNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "ptiDrawingClipboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "spwndClipOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndClipViewer": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpwinstaNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 152 - }, - "tagDESKTOPINFO": { - "fields": { - "spwndProgman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "pvwplMessagePPHandler": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 224 - }, - "pvDesktopLimit": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fComposited": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndGestureEngine": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "pvDesktopBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwndShell": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "ppiShellProcess": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pvwplShellHook": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "fIsDwmDesktop": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndTaskman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 40 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cntMBox": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 208 - }, - "spwndBkGnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 240 - }, - "tagMBSTRING": { - "fields": { - "szName": { - "type": { - "count": 15, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 0 - }, - "uID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "uStr": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DKMDT_VIDPN_TARGET_MODE": { - "fields": { - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 72 - }, - "_DMM_VIDPNSET_SERIALIZATION": { - "fields": { - "VidPnOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumVidPns": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagKBDFILE": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "awchDllName": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 56 - }, - "pKbdTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdLayer" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pkfNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pKbdNlsTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdNlsLayer" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_11e4": { - "fields": { - "UserApcContext": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "UserApcRoutine": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "IssuingProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_W32PROCESS": { - "fields": { - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 256 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { - "fields": { - "Scaling": { - "type": { - "kind": "enum", - "name": "ScalingEnum" - }, - "offset": 0 - }, - "RotationSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" - }, - "offset": 12 - }, - "Rotation": { - "type": { - "kind": "enum", - "name": "RotationEnum" - }, - "offset": 8 - }, - "ScalingSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSERVERINFO": { - "fields": { - "uiShellMsg": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 912 - }, - "cbHandleTable": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 848 - }, - "atomSysClass": { - "type": { - "count": 25, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 852 - }, - "dtScroll": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2800 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2952 - }, - "atomIconSmProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1356 - }, - "argbSystemUnmatched": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2268 - }, - "dwTagCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4632 - }, - "ucWheelScrollLines": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2812 - }, - "ptCursorReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2784 - }, - "ucWheelScrollChars": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2816 - }, - "acOemToAnsi": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1364 - }, - "cySysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2832 - }, - "atomFrostedWindowProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1362 - }, - "mpFnid_serverCBWndProc": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 328 - }, - "PUSIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4476 - }, - "BitCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4468 - }, - "argbSystem": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2392 - }, - "dtLBSearch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2804 - }, - "dtCaretBlink": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2808 - }, - "dwInstalledEventHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 1876 - }, - "apfnClientA": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 392 - }, - "cxSysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2828 - }, - "hbrGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 2768 - }, - "ahbrSystem": { - "type": { - "count": 31, - "subtype": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 2520 - }, - "dwDefaultHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "wMaxRightOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2824 - }, - "dwSRVIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "oembmi": { - "type": { - "count": 93, - "subtype": { - "kind": "struct", - "name": "tagOEMBITMAPINFO" - }, - "kind": "array" - }, - "offset": 2964 - }, - "apfnClientWorker": { - "type": { - "kind": "struct", - "name": "_PFNCLIENTWORKER" - }, - "offset": 760 - }, - "dwDefaultHeapBase": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 904 - }, - "BitsPixel": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4473 - }, - "wMaxLeftOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2820 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4470 - }, - "dwLastSystemRITEventTickCountUpdate": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4488 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2796 - }, - "atomIconProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1358 - }, - "Planes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4472 - }, - "dpiSystem": { - "type": { - "kind": "struct", - "name": "tagDPISERVERINFO" - }, - "offset": 2896 - }, - "hIcoWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2944 - }, - "apfnClientW": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 576 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2956 - }, - "MBStrings": { - "type": { - "count": 11, - "subtype": { - "kind": "struct", - "name": "tagMBSTRING" - }, - "kind": "array" - }, - "offset": 916 - }, - "atomContextHelpIdProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1360 - }, - "adwDBGTAGFlags": { - "type": { - "count": 35, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4492 - }, - "aiSysMet": { - "type": { - "count": 97, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 1880 - }, - "dwRIPFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4636 - }, - "uCaretWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4480 - }, - "cCaptures": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2960 - }, - "tmSysFont": { - "type": { - "kind": "struct", - "name": "tagTEXTMETRICW" - }, - "offset": 2836 - }, - "cHandleEntries": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ptCursor": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2776 - }, - "hIconSmWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2936 - }, - "mpFnidPfn": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "UILangID": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4484 - }, - "acAnsiToOem": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1620 - }, - "aStoCidPfn": { - "type": { - "count": 7, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 272 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 4452 - }, - "dwLastRITEventTickCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2792 - } - }, - "kind": "struct", - "size": 4640 - }, - "tagPOOLRECORD": { - "fields": { - "ExtraData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "trace": { - "type": { - "count": 6, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "__unnamed_195a": { - "fields": { - "Priority": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagUSERSTARTUPINFO": { - "fields": { - "dwYSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cbReserved2": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 26 - }, - "cb": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dwY": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwXSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "wShowWindow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 28 - }, - "_DMM_VIDPN_SERIALIZATION": { - "fields": { - "PathsFromSourceSerializationOffsets": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 8 - }, - "NumActiveSources": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_11df": { - "fields": { - "IrpCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "SystemBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MasterIrp": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IRP" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagHID_PAGEONLY_REQUEST": { - "fields": { - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cRefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1233": { - "fields": { - "Interface": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_INTERFACE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "InterfaceSpecificData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "InterfaceType": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_GUID" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagQMSG": { - "fields": { - "Padding": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 80 - }, - "ptMouseReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 72 - }, - "FromPen": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 64 - }, - "Wow64Message": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 96 - }, - "dwQEvent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 30 - }, - "offset": 80 - }, - "pqmsgPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FromTouch": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "NoCoalesce": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "msg": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 16 - }, - "pqmsgNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1237": { - "fields": { - "Capabilities": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_CAPABILITIES" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_11e6": { - "fields": { - "AsynchronousParameters": { - "type": { - "kind": "struct", - "name": "__unnamed_11e4" - }, - "offset": 0 - }, - "AllocationSize": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagDESKTOP": { - "fields": { - "spmenuVScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "dwMouseHoverTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 212 - }, - "rpwinstaParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spmenuDialogSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndForeground": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenuHScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "spwndTooltip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndMessage": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cciConsole": { - "type": { - "kind": "struct", - "name": "_CONSOLE_CARET_INFO" - }, - "offset": 144 - }, - "PtiList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 168 - }, - "spwndTray": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "rpdeskNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwDTFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pMagInputTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MAGNIFICATION_INPUT_TRANSFORM" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "htEx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 192 - }, - "ulHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "pheapDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!tagWIN32HEAP" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "rcMouseHover": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 196 - }, - "hsectionDesktop": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "dwDesktopId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 224 - }, - "_MAGNIFICATION_INPUT_TRANSFORM": { - "fields": { - "rcScreen": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 16 - }, - "magFactorX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "magFactorY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "ptiMagThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rcSource": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 48 - }, - "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 0 - }, - "ConstraintType": { - "type": { - "kind": "enum", - "name": "ConstraintTypeEnum" - }, - "offset": 36 - }, - "RangeLimits": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_FREQUENCY_RANGE" - }, - "offset": 4 - }, - "Constraint": { - "type": { - "kind": "struct", - "name": "__unnamed_16c1" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_121d": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IoControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_PFNCLIENTWORKER": { - "fields": { - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnCtfHookProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_12e0": { - "fields": { - "InitialPrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" - }, - "offset": 0 - }, - "PrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_PRIVILEGE_SET" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 44 - }, - "tagMENULIST": { - "fields": { - "pMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_DMA_OPERATIONS": { - "fields": { - "PutDmaAdapter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FreeMapRegisters": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "MapTransfer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "FreeCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReadDmaCounter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "AllocateCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "PutScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "BuildMdlFromScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "GetScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "CalculateScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "FreeAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "GetDmaAlignment": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "FlushAdapterBuffers": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "AllocateAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "BuildScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 128 - }, - "__unnamed_1811": { - "fields": { - "Start": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagSPB": { - "fields": { - "hbm": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hrgn": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ulSaveId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "pspbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "tagWin32PoolHead": { - "fields": { - "pPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pTrace": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DXGK_DIAG_HEADER": { - "fields": { - "Index": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "ProcessName": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 16 - }, - "LogTimestamp": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ThreadId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - }, - "WdLogIdx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 48 - }, - "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { - "fields": { - "CleanupAfterFailedCommitVidPn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ModeChangeRequestId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "ReclaimClonedTarget": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ForceAllActiveVidPnModeListInvalidation": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 12 - }, - "tagTOUCHINPUT": { - "fields": { - "dwExtraInfo": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "hSource": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dwMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cyContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "cxContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "dwTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 48 - }, - "_SM_VALUES_STRINGS": { - "fields": { - "StorageType": { - "type": { - "kind": "enum", - "name": "StorageTypeEnum" - }, - "offset": 16 - }, - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "RangeType": { - "type": { - "kind": "enum", - "name": "RangeTypeEnum" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1956": { - "fields": { - "MinimumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "_D3DKMDT_VIDEO_SIGNAL_INFO": { - "fields": { - "VSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 20 - }, - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 12 - }, - "PixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "TotalSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 4 - }, - "VideoStandard": { - "type": { - "kind": "enum", - "name": "VideoStandardEnum" - }, - "offset": 0 - }, - "ScanLineOrdering": { - "type": { - "kind": "enum", - "name": "ScanLineOrderingEnum" - }, - "offset": 48 - }, - "HSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 56 - }, - "tagTERMINAL": { - "fields": { - "spwndDesktopOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pEventInputReady": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "rpdeskDestroy": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pqDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwTERMF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwNestedLevel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ptiDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pEventTermInit": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "HFONT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { - "fields": { - "MacroVisionFull": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "MacroVisionApsTrigger": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "NoProtection": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 29 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_PFNCLIENT": { - "fields": { - "pfnDispatchDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnDispatchHook": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "pfnDesktopWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "pfnScrollBarWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnMessageWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnSwitchWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnHkINLPCWPSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnTitleWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnHkINLPCWPRETSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnMenuWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDispatchMessage": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pfnDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnMDIActivateDlgProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 176 - } - }, - "kind": "struct", - "size": 184 - }, - "tagOEMBITMAPINFO": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1221": { - "fields": { - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "SecurityDescriptor": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_KLIST_ENTRY": { - "fields": { - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HMONITOR__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1247": { - "fields": { - "DeviceTextType": { - "type": { - "kind": "enum", - "name": "DeviceTextTypeEnum" - }, - "offset": 0 - }, - "LocaleId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagCLIENTINFO": { - "fields": { - "msgDbcsCB": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 160 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "achDbcsCF": { - "type": { - "count": 2, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 154 - }, - "dwTIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "pClientThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 152 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "dwHookCurrent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "afAsyncKeyStateRecentDown": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwHookData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "afAsyncKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 128 - }, - "CallbackWnd": { - "type": { - "kind": "struct", - "name": "_CALLBACKWND" - }, - "offset": 64 - }, - "lpdwRegisteredClasses": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "cInDDEMLCallback": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 92 - }, - "cSpins": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "hKL": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "afKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 116 - }, - "CI_flags": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "phkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 216 - }, - "_DMM_MONITOR_SERIALIZATION": { - "fields": { - "SourceModeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FrequencyRangeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "DescriptorSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ModePruningAlgorithm": { - "type": { - "kind": "enum", - "name": "ModePruningAlgorithmEnum" - }, - "offset": 16 - }, - "VideoPresentTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "IsUsingDefaultProfile": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 13 - }, - "MonitorPowerState": { - "type": { - "kind": "enum", - "name": "MonitorPowerStateEnum" - }, - "offset": 20 - }, - "MonitorType": { - "type": { - "kind": "enum", - "name": "MonitorTypeEnum" - }, - "offset": 36 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IsSimulatedMonitor": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 12 - }, - "Orientation": { - "type": { - "kind": "enum", - "name": "OrientationEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagPROP": { - "fields": { - "fs": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "atomKey": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1243": { - "fields": { - "IdType": { - "type": { - "kind": "enum", - "name": "IdTypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123d": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "WhichSpace": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Offset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_WNDMSG": { - "fields": { - "abMsgs": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "maxMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSHAREDINFO": { - "fields": { - "psi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSERVERINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulSharedDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "aheList": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HANDLEENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "DefWindowSpecMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 552 - }, - "awmControl": { - "type": { - "count": 31, - "subtype": { - "kind": "struct", - "name": "_WNDMSG" - }, - "kind": "array" - }, - "offset": 40 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "HeEntrySize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DefWindowMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 536 - } - }, - "kind": "struct", - "size": 568 - }, - "__unnamed_181b": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1811" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_180d" - }, - "offset": 0 - }, - "DeviceSpecificData": { - "type": { - "kind": "struct", - "name": "__unnamed_1813" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_1817" - }, - "offset": 0 - }, - "MessageInterrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_180b" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_1815" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1819" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPOINT": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagIMC": { - "fields": { - "dwClientImcData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "hImeWnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pImcNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "tagKL": { - "fields": { - "uNumTbl": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "pklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "pklNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spkfPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "dwFontSigs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLastKbdType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 72 - }, - "dwKL_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "iBaseCharset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "dwKLID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "spkf": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "piiex": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMEINFOEX" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pspkfExtra": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "wchDiacritic": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 74 - }, - "dwLastKbdSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_115b": { - "fields": { - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_182e": { - "fields": { - "pRgb256x3x16": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pRaw": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pDxgi1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagTDB": { - "fields": { - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "TDB_Flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "pwti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "nPriority": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "ptdbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagCARET": { - "fields": { - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "iHideLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "hTimer": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "yOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "xOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "fVisible": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hBitmap": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cxOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cyOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "tid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "fOn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_LIGATURE1": { - "fields": { - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 4 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModificationNumber": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 6 + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" } - }, - "base_types": { - "unsigned char": { - "kind": "char", - "endian": "little", - "signed": false, - "size": 1 - }, - "float": { - "kind": "float", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "wchar": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "pointer": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - }, - "unsigned int": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "short": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned short": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 2 - }, - "long long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 8 - }, - "unsigned long long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - } - }, - "enums": { - "TextEnum": { - "base": "long", - "constants": { - "D3DKMDT_TRF_UNINITIALIZED": 0 - }, - "size": 4 - }, - "PreferenceEnum": { - "base": "long", - "constants": { - "D3DKMDT_MP_PREFERRED": 1, - "D3DKMDT_MP_MAXVALID": 2, - "D3DKMDT_MP_UNINITIALIZED": 0 - }, - "size": 4 - }, - "FileInformationClassEnum": { - "base": "long", - "constants": { - "FileInternalInformation": 6, - "FileQuotaInformation": 32, - "FileIoStatusBlockRangeInformation": 42, - "FilePipeLocalInformation": 24, - "FileStandardLinkInformation": 54, - "FileIdFullDirectoryInformation": 38, - "FileLinkInformation": 11, - "FileFullDirectoryInformation": 2, - "FileAllInformation": 18, - "FileSfioVolumeInformation": 45, - "FileStreamInformation": 22, - "FileRenameInformation": 10, - "FileValidDataLengthInformation": 39, - "FileAlternateNameInformation": 21, - "FileBasicInformation": 4, - "FilePositionInformation": 14, - "FileCompletionInformation": 30, - "FileAttributeCacheInformation": 52, - "FileReparsePointInformation": 33, - "FileMailslotSetInformation": 27, - "FileNetworkPhysicalNameInformation": 49, - "FileAllocationInformation": 19, - "FileIsRemoteDeviceInformation": 51, - "FileFullEaInformation": 15, - "FileProcessIdsUsingFileInformation": 47, - "FileDispositionInformation": 13, - "FileStandardInformation": 5, - "FileAccessInformation": 8, - "FileNumaNodeInformation": 53, - "FilePipeRemoteInformation": 25, - "FileIoPriorityHintInformation": 43, - "FileMailslotQueryInformation": 26, - "FileRemoteProtocolInformation": 55, - "FileNamesInformation": 12, - "FileHardLinkInformation": 46, - "FileEndOfFileInformation": 20, - "FileIdBothDirectoryInformation": 37, - "FileSfioReserveInformation": 44, - "FileIdGlobalTxDirectoryInformation": 50, - "FileNetworkOpenInformation": 34, - "FileObjectIdInformation": 29, - "FileMoveClusterInformation": 31, - "FileIoCompletionNotificationInformation": 41, - "FileNameInformation": 9, - "FileBothDirectoryInformation": 3, - "FileDirectoryInformation": 1, - "FileMaximumInformation": 56, - "FileNormalizedNameInformation": 48, - "FilePipeInformation": 23, - "FileCompressionInformation": 28, - "FileTrackingInformation": 36, - "FileEaInformation": 7, - "FileShortNameInformation": 40, - "FileModeInformation": 16, - "FileAlignmentInformation": 17, - "FileAttributeTagInformation": 35 - }, - "size": 4 - }, - "ModePruningAlgorithmEnum": { - "base": "long", - "constants": { - "DMM_MPA_MAXVALID": 3, - "DMM_MPA_GDI": 1, - "DMM_MPA_VISTA": 2, - "DMM_MPA_UNINITIALIZED": 0 - }, - "size": 4 - }, - "fmtEnum": { - "base": "unsigned long", - "constants": { - "CF_ENHMETAFILE": 14, - "CF_PENDATA": 10, - "CF_BITMAP": 2, - "CF_UNICODETEXT": 13, - "CF_HDROP": 15, - "CF_OEMTEXT": 7, - "CF_WAVE": 12, - "CF_DSPTEXT": 129, - "CF_DIBV5": 17, - "CF_TIFF": 6, - "CF_PALETTE": 9, - "CF_OWNERDISPLAY": 128, - "CF_DSPMETAFILEPICT": 131, - "CF_METAFILEPICT": 3, - "CF_RIFF": 11, - "CF_DSPENHMETAFILE": 142, - "CF_TEXT": 1, - "CF_LOCALE": 16, - "CF_SYLK": 4, - "CF_DSPBITMAP": 130, - "CF_DIB": 8, - "CF_DIF": 5 - }, - "size": 4 - }, - "MonitorPowerStateEnum": { - "base": "long", - "constants": { - "PowerDeviceUnspecified": 0, - "PowerDeviceD0": 1, - "PowerDeviceD1": 2, - "PowerDeviceD2": 3, - "PowerDeviceD3": 4, - "PowerDeviceMaximum": 5 - }, - "size": 4 - }, - "bTypeEnum": { - "base": "unsigned char", - "constants": { - "TYPE_DDEXACT": 11, - "TYPE_HOOK": 5, - "TYPE_FREE": 0, - "TYPE_MONITOR": 12, - "TYPE_GESTURE": 21, - "TYPE_DEVICEINFO": 19, - "TYPE_DDEACCESS": 9, - "TYPE_CALLPROC": 7, - "TYPE_CURSOR": 3, - "TYPE_KBDLAYOUT": 13, - "TYPE_WINEVENTHOOK": 15, - "TYPE_MENU": 2, - "TYPE_ACCELTABLE": 8, - "TYPE_TOUCH": 20, - "TYPE_SETWINDOWPOS": 4, - "TYPE_CLIPDATA": 6, - "TYPE_KBDFILE": 14, - "TYPE_DDECONV": 10, - "TYPE_HIDDATA": 18, - "TYPE_WINDOW": 1, - "TYPE_INPUTCONTEXT": 17, - "TYPE_TIMER": 16 - }, - "size": 1 - }, - "OriginEnum": { - "base": "long", - "constants": { - "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, - "D3DKMDT_MCO_UNINITIALIZED": 0, - "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, - "D3DKMDT_MCO_MAXVALID": 5, - "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, - "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 - }, - "size": 4 - }, - "CodePointTypeEnum": { - "base": "long", - "constants": { - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, - "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, - "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, - "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, - "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, - "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, - "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, - "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, - "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, - "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, - "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, - "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, - "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, - "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, - "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, - "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, - "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, - "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, - "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, - "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, - "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, - "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, - "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, - "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, - "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, - "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, - "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, - "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 - }, - "size": 4 - }, - "ConstraintTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MFRC_MAXPIXELRATE": 2, - "D3DKMDT_MFRC_ACTIVESIZE": 1, - "D3DKMDT_MFRC_UNINITIALIZED": 0 - }, - "size": 4 - }, - "VidPnTargetColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorTypeEnum": { - "base": "long", - "constants": { - "DMM_VMT_TEMPORARY_MONITOR": 4, - "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, - "DMM_VMT_PHYSICAL_MONITOR": 1, - "DMM_VMT_UNINITIALIZED": 0, - "DMM_VMT_SIMULATED_MONITOR": 5, - "DMM_VMT_PERSISTENT_MONITOR": 3 - }, - "size": 4 - }, - "PowerStateEnum": { - "base": "long", - "constants": { - "PowerSystemSleeping2": 3, - "PowerSystemSleeping1": 2, - "PowerSystemSleeping3": 4, - "PowerSystemUnspecified": 0, - "PowerSystemMaximum": 7, - "PowerSystemShutdown": 6, - "PowerSystemHibernate": 5, - "PowerSystemWorking": 1 - }, - "size": 4 - }, - "ShutdownTypeEnum": { - "base": "long", - "constants": { - "PowerActionNone": 0, - "PowerActionReserved": 1, - "PowerActionHibernate": 3, - "PowerActionShutdownOff": 6, - "PowerActionShutdown": 4, - "PowerActionSleep": 2, - "PowerActionShutdownReset": 5, - "PowerActionWarmEject": 7 - }, - "size": 4 - }, - "ScalingEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPS_CENTERED": 2, - "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, - "D3DKMDT_VPPS_STRETCHED": 3, - "D3DKMDT_VPPS_UNINITIALIZED": 0, - "D3DKMDT_VPPS_UNPINNED": 254, - "D3DKMDT_VPPS_IDENTITY": 1, - "D3DKMDT_VPPS_NOTSPECIFIED": 255, - "D3DKMDT_VPPS_CUSTOM": 5, - "D3DKMDT_VPPS_RESERVED1": 253 - }, - "size": 4 - }, - "CurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "StorageTypeEnum": { - "base": "long", - "constants": { - "SmStorageActual": 0, - "SmStorageNonActual": 1 - }, - "size": 4 - }, - "ScanLineOrderingEnum": { - "base": "long", - "constants": { - "D3DDDI_VSSLO_PROGRESSIVE": 1, - "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, - "D3DDDI_VSSLO_UNINITIALIZED": 0, - "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, - "D3DDDI_VSSLO_OTHER": 255 - }, - "size": 4 - }, - "PixelValueAccessModeEnum": { - "base": "long", - "constants": { - "D3DKMDT_PVAM_UNINITIALIZED": 0, - "D3DKMDT_PVAM_DIRECT": 1, - "D3DKMDT_PVAM_PRESETPALETTE": 2, - "D3DKMDT_PVAM_MAXVALID": 3 - }, - "size": 4 - }, - "PriorityPolicyEnum": { - "base": "long", - "constants": { - "IrqPriorityHigh": 3, - "IrqPriorityNormal": 2, - "IrqPriorityLow": 1, - "IrqPriorityUndefined": 0 - }, - "size": 4 - }, - "OrientationEnum": { - "base": "long", - "constants": { - "D3DKMDT_MO_90DEG": 2, - "D3DKMDT_MO_0DEG": 1, - "D3DKMDT_MO_270DEG": 4, - "D3DKMDT_MO_UNINITIALIZED": 0, - "D3DKMDT_MO_180DEG": 3 - }, - "size": 4 - }, - "ContentEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPC_NOTSPECIFIED": 255, - "D3DKMDT_VPPC_UNINITIALIZED": 0, - "D3DKMDT_VPPC_GRAPHICS": 1, - "D3DKMDT_VPPC_VIDEO": 2 - }, - "size": 4 - }, - "ColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MoveRectStyleEnum": { - "base": "long", - "constants": { - "MoveRectMidTopAtCursor": 1, - "MoveRectSidewiseKeepPositionAtCursor": 3, - "MoveRectKeepPositionAtCursor": 0, - "MoveRectKeepAspectRatioAtCursor": 2 - }, - "size": 4 - }, - "VideoStandardEnum": { - "base": "long", - "constants": { - "D3DKMDT_VSS_PAL_G": 11, - "D3DKMDT_VSS_PAL_D": 14, - "D3DKMDT_VSS_PAL_B": 9, - "D3DKMDT_VSS_SECAM_K": 21, - "D3DKMDT_VSS_VESA_GTF": 2, - "D3DKMDT_VSS_PAL_L": 30, - "D3DKMDT_VSS_PAL_M": 31, - "D3DKMDT_VSS_PAL_K": 28, - "D3DKMDT_VSS_PAL_H": 12, - "D3DKMDT_VSS_PAL_I": 13, - "D3DKMDT_VSS_SECAM_L1": 24, - "D3DKMDT_VSS_VESA_DMT": 1, - "D3DKMDT_VSS_SECAM_L": 23, - "D3DKMDT_VSS_EIA_861": 25, - "D3DKMDT_VSS_PAL_N": 15, - "D3DKMDT_VSS_APPLE": 5, - "D3DKMDT_VSS_NTSC_M": 6, - "D3DKMDT_VSS_SECAM_H": 20, - "D3DKMDT_VSS_NTSC_J": 7, - "D3DKMDT_VSS_SECAM_B": 17, - "D3DKMDT_VSS_SECAM_G": 19, - "D3DKMDT_VSS_SECAM_D": 18, - "D3DKMDT_VSS_IBM": 4, - "D3DKMDT_VSS_SECAM_K1": 22, - "D3DKMDT_VSS_PAL_NC": 16, - "D3DKMDT_VSS_PAL_B1": 10, - "D3DKMDT_VSS_EIA_861A": 26, - "D3DKMDT_VSS_EIA_861B": 27, - "D3DKMDT_VSS_UNINITIALIZED": 0, - "D3DKMDT_VSS_OTHER": 255, - "D3DKMDT_VSS_PAL_K1": 29, - "D3DKMDT_VSS_VESA_CVT": 3, - "D3DKMDT_VSS_NTSC_443": 8 - }, - "size": 4 - }, - "ImportanceOrdinalEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPI_QUATERNARY": 4, - "D3DKMDT_VPPI_SECONDARY": 2, - "D3DKMDT_VPPI_PRIMARY": 1, - "D3DKMDT_VPPI_QUINARY": 5, - "D3DKMDT_VPPI_DENARY": 10, - "D3DKMDT_VPPI_SENARY": 6, - "D3DKMDT_VPPI_TERTIARY": 3, - "D3DKMDT_VPPI_SEPTENARY": 7, - "D3DKMDT_VPPI_NONARY": 9, - "D3DKMDT_VPPI_UNINITIALIZED": 0, - "D3DKMDT_VPPI_OCTONARY": 8, - "D3DKMDT_VPPI_MAX": 32, - "D3DKMDT_VPPI_NOTSPECIFIED": 255 - }, - "size": 4 - }, - "RangeTypeEnum": { - "base": "long", - "constants": { - "SmRangeBool": 2, - "SmRangeNonSharedInfo": 1, - "SmRangeSharedInfo": 0 - }, - "size": 4 - }, - "TimingTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MTT_EXTRASTANDARD": 3, - "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, - "D3DKMDT_MTT_STANDARD": 2, - "D3DKMDT_MTT_UNINITIALIZED": 0, - "D3DKMDT_MTT_MAXVALID": 6, - "D3DKMDT_MTT_DETAILED": 4, - "D3DKMDT_MTT_ESTABLISHED": 1 - }, - "size": 4 - }, - "PixelFormatEnum": { - "base": "long", - "constants": { - "D3DDDIFMT_W11V11U10": 65, - "D3DDDIFMT_A16B16G16R16F": 113, - "D3DDDIFMT_A8R8G8B8": 21, - "D3DDDIFMT_D32_LOCKABLE": 84, - "D3DDDIFMT_L8": 50, - "D3DDDIFMT_DXVA_RESERVED27": 177, - "D3DDDIFMT_DXVA_RESERVED26": 176, - "D3DDDIFMT_DXVA_RESERVED25": 175, - "D3DDDIFMT_DXVA_RESERVED24": 174, - "D3DDDIFMT_DXVA_RESERVED23": 173, - "D3DDDIFMT_DXVA_RESERVED22": 172, - "D3DDDIFMT_DXVA_RESERVED21": 171, - "D3DDDIFMT_DXVA_RESERVED20": 170, - "D3DDDIFMT_DXVA_RESERVED29": 179, - "D3DDDIFMT_DXVA_RESERVED28": 178, - "D3DDDIFMT_R3G3B2": 27, - "D3DDDIFMT_A8R3G3B2": 29, - "D3DDDIFMT_INDEX16": 101, - "D3DDDIFMT_X4R4G4B4": 30, - "D3DDDIFMT_A4R4G4B4": 26, - "D3DDDIFMT_Q8W8V8U8": 63, - "D3DDDIFMT_FORCE_UINT": 2147483647, - "D3DDDIFMT_S1D15": 72, - "D3DDDIFMT_A16B16G16R16": 36, - "D3DDDIFMT_A8L8": 51, - "D3DDDIFMT_D24X4S4": 79, - "D3DDDIFMT_BINARYBUFFER": 199, - "D3DDDIFMT_DXVA_RESERVED30": 180, - "D3DDDIFMT_R32F": 114, - "D3DDDIFMT_VERTEXDATA": 100, - "D3DDDIFMT_R5G6B5": 23, - "D3DDDIFMT_R8G8_B8G8": 1195525970, - "D3DDDIFMT_A4L4": 52, - "D3DDDIFMT_A1R5G5B5": 25, - "D3DDDIFMT_X1R5G5B5": 24, - "D3DDDIFMT_D32": 71, - "D3DDDIFMT_G8R8_G8B8": 1111970375, - "D3DDDIFMT_A2B10G10R10": 31, - "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, - "D3DDDIFMT_MULTI2_ARGB8": 827606349, - "D3DDDIFMT_D16_LOCKABLE": 70, - "D3DDDIFMT_BITSTREAMDATA": 156, - "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, - "D3DDDIFMT_X8B8G8R8": 33, - "D3DDDIFMT_R8G8B8": 20, - "D3DDDIFMT_S8_LOCKABLE": 85, - "D3DDDIFMT_D24S8": 75, - "D3DDDIFMT_X8D24": 76, - "D3DDDIFMT_A2R10G10B10": 35, - "D3DDDIFMT_P8": 41, - "D3DDDIFMT_L6V5U5": 61, - "D3DDDIFMT_X8R8G8B8": 22, - "D3DDDIFMT_D16": 80, - "D3DDDIFMT_A2W10V10U10": 67, - "D3DDDIFMT_D24FS8": 83, - "D3DDDIFMT_MOTIONVECTORBUFFER": 157, - "D3DDDIFMT_L16": 81, - "D3DDDIFMT_X8L8V8U8": 62, - "D3DDDIFMT_A32B32G32R32F": 116, - "D3DDDIFMT_A8P8": 40, - "D3DDDIFMT_YUY2": 844715353, - "D3DDDIFMT_R16F": 111, - "D3DDDIFMT_G16R16": 34, - "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, - "D3DDDIFMT_Q16W16V16U16": 110, - "D3DDDIFMT_S8D24": 74, - "D3DDDIFMT_PICTUREPARAMSDATA": 150, - "D3DDDIFMT_A1": 118, - "D3DDDIFMT_FILMGRAINBUFFER": 158, - "D3DDDIFMT_A8": 28, - "D3DDDIFMT_UNKNOWN": 0, - "D3DDDIFMT_DXVA_RESERVED19": 169, - "D3DDDIFMT_D32F_LOCKABLE": 82, - "D3DDDIFMT_MACROBLOCKDATA": 151, - "D3DDDIFMT_A8B8G8R8": 32, - "D3DDDIFMT_UYVY": 1498831189, - "D3DDDIFMT_DXT1": 827611204, - "D3DDDIFMT_DEBLOCKINGDATA": 153, - "D3DDDIFMT_DXT3": 861165636, - "D3DDDIFMT_DXT4": 877942852, - "D3DDDIFMT_DXT5": 894720068, - "D3DDDIFMT_CxV8U8": 117, - "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, - "D3DDDIFMT_DXVA_RESERVED9": 159, - "D3DDDIFMT_DXT2": 844388420, - "D3DDDIFMT_G32R32F": 115, - "D3DDDIFMT_X4S4D24": 78, - "D3DDDIFMT_D24X8": 77, - "D3DDDIFMT_DXVA_RESERVED12": 162, - "D3DDDIFMT_DXVA_RESERVED13": 163, - "D3DDDIFMT_DXVA_RESERVED10": 160, - "D3DDDIFMT_DXVA_RESERVED11": 161, - "D3DDDIFMT_DXVA_RESERVED16": 166, - "D3DDDIFMT_DXVA_RESERVED17": 167, - "D3DDDIFMT_DXVA_RESERVED14": 164, - "D3DDDIFMT_DXVA_RESERVED15": 165, - "D3DDDIFMT_DXVA_RESERVED18": 168, - "D3DDDIFMT_D15S1": 73, - "D3DDDIFMT_V16U16": 64, - "D3DDDIFMT_SLICECONTROLDATA": 155, - "D3DDDIFMT_G16R16F": 112, - "D3DDDIFMT_INDEX32": 102, - "D3DDDIFMT_V8U8": 60 - }, - "size": 4 - }, - "IdTypeEnum": { - "base": "long", - "constants": { - "BusQueryCompatibleIDs": 2, - "BusQueryInstanceID": 3, - "BusQueryDeviceID": 0, - "BusQueryDeviceSerialNumber": 4, - "BusQueryHardwareIDs": 1, - "BusQueryContainerID": 5 - }, - "size": 4 - }, - "StartCurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "TypeEnum": { - "base": "long", - "constants": { - "DevicePowerState": 1, - "SystemPowerState": 0 - }, - "size": 4 - }, - "RotationEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPR_IDENTITY": 1, - "D3DKMDT_VPPR_NOTSPECIFIED": 255, - "D3DKMDT_VPPR_UNPINNED": 254, - "D3DKMDT_VPPR_ROTATE270": 4, - "D3DKMDT_VPPR_ROTATE90": 2, - "D3DKMDT_VPPR_ROTATE180": 3, - "D3DKMDT_VPPR_UNINITIALIZED": 0 - }, - "size": 4 - }, - "CopyProtectionTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPMT_NOTSPECIFIED": 255, - "D3DKMDT_VPPMT_UNINITIALIZED": 0, - "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, - "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, - "D3DKMDT_VPPMT_NOPROTECTION": 1 - }, - "size": 4 - }, - "FsInformationClassEnum": { - "base": "long", - "constants": { - "FileFsFullSizeInformation": 7, - "FileFsAttributeInformation": 5, - "FileFsVolumeFlagsInformation": 10, - "FileFsVolumeInformation": 1, - "FileFsSizeInformation": 3, - "FileFsLabelInformation": 2, - "FileFsDeviceInformation": 4, - "FileFsControlInformation": 6, - "FileFsDriverPathInformation": 9, - "FileFsMaximumInformation": 11, - "FileFsObjectIdInformation": 8 - }, - "size": 4 - }, - "DeviceTextTypeEnum": { - "base": "long", - "constants": { - "DeviceTextLocationInformation": 1, - "DeviceTextDescription": 0 - }, - "size": 4 - } - }, - "metadata": { - "producer": { - "version": "0.0.1", - "name": "dgmcdona-via-conversion-script", - "datetime": "2024-09-03T18:22:52Z" - }, - "format": "4.0.0" - } } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json index 7a1a405a3..68692dcf4 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json @@ -1,18830 +1,18830 @@ { - "symbols": {}, - "user_types": { - "HWINSTA__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 656 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 904 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 736 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 480 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 456 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "inclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "request": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 18 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "next_request": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 16 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "hidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 832 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 384 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "subPointer": { + "type": { + "subtype": { + "kind": "struct", + "name": "subTagWNDType" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "directName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!String" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 232 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "subTagWNDType": { + "fields": { + "style_bitmask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + } + }, + "kind": "struct", + "size": 128 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 40 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1153": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 59 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 9 - }, - "offset": 0 - }, - "Region": { - "type": { - "bit_position": 61, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 39 - }, - "offset": 0 + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1960": { - "fields": { - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 } - }, - "kind": "struct", - "size": 24 - }, - "tagCLIENTTHREADINFO": { - "fields": { - "fsWakeMask": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "CTIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fsWakeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - }, - "fsWakeBitsJournal": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "fsChangeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4 - }, - "tickLastMsgChecked": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "tagKbdNlsLayer": { - "fields": { - "OEMIdentifier": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "NumOfVkToF": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pusMouseVKey": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "NumOfMouseVKey": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pVkToF": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_FUNCTION_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "LayoutInformation": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1158": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 2 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HBITMAP__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_124b": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1 - }, - "InPath": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_TL": { - "fields": { - "pfnFree": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pobj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagTOUCHINPUTINFO": { - "fields": { - "dwcInputs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "TouchInput": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagTOUCHINPUT" - }, - "kind": "array" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 80 - }, - "tagTHREADINFO": { - "fields": { - "ForceLegacyResizeNCMetr": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptl": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 336 - }, - "timeLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 448 - }, - "DontJournalAttach": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fPack": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 26 - }, - "offset": 928 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 516 - }, - "psmsSent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 424 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 656 - }, - "DefaultCharset": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 512 - }, - "psmsReceiveList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "sphkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 560 - }, - "No50ExStyles": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "IgnoreFaults": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pClientInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "DDENoAsyncReg": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DealyHwndShakeChk": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "amdesk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 720 - }, - "fsChangeBitsRemoved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 704 - }, - "psmsCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 432 - }, - "NoInitFlagsOnFocus": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "StrictLLHook": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "NoShadow": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EnumHelv": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoBatching": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 904 - }, - "Winver31": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Win30AvgWidth": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "AlwaysSendSyncPaint": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "IgnoreNoDiscard": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cPaintsReady": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 480 - }, - "SubtractClips": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "apEvent": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 712 - }, - "cEnterCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 672 - }, - "OpenGLEMF": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "fThreadCleanupFinished": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "idLast": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 456 - }, - "spklActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 360 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "NoEMFSpooling": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptdb": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "SpareCompatFlags2": { - "type": { - "bit_position": 33, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 31 - }, - "offset": 520 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "mlPost": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 680 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "NoCustomPaperSize": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cTimersReady": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 484 - }, - "NoScrollBarCtxMenu": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hPrevHidData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 880 - }, - "NoPaddedBorder": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "DpiAware": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "MultipleBands": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "AnimationOff": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "No50ExStyleBits": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulThreadFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 928 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 472 - }, - "MoreExtraWndWords": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoGhost": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoHRGN1": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 628 - }, - "GiveUpForegound": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "spDefaultImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 656 - }, - "pmsd": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MOVESIZEDATA" - }, - "kind": "pointer" - }, - "offset": 544 - }, - "HardwareMixer": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 904 - }, - "EnumTTNotDevice": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fSpecialInitialization": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ForceFusion": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cti": { - "type": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "offset": 864 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pstrAppName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "SendMnuDblClk": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DDENoSync": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EditNoMouseHide": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptLastReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 636 - }, - "hTouchInputCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HTOUCHINPUT__" - }, - "kind": "pointer" - }, - "offset": 888 - }, - "pEventQueueServer": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "cNestedStableVisRgn": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "NoDrawPatRect": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTTGrapchis": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "GetDeviceCaps": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fsReserveKeys": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 708 - }, - "pq": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 352 - }, - "NoSoftCursOnMoveSize": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hEventQueueClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 592 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "DDE": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "exitCode": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 464 - }, - "wchInjected": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 706 - }, - "CallTTDevice": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DisableDBCSProp": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsShellDlg": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TransparentBltMirror": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "PtiLink": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 736 - }, - "HackWinFlags": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cVisWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 728 - }, - "NcCalcSizeOnMove": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "KCOff": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "readyHead": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 912 - }, - "UsePrintingEscape": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hGestureInfoCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HGESTUREINFO__" - }, - "kind": "pointer" - }, - "offset": 896 - }, - "ForceTextBand": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 724 - }, - "fETWReserved": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 928 - }, - "pMenuState": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 488 - }, - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "TIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 480 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "Win31DevModeSize": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSBTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBTRACK" - }, - "kind": "pointer" - }, - "offset": 584 - }, - "spwndDefaultIme": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 648 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 520 - }, - "EditSetTextMunge": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Random31Ux": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fgfSwitchInProgressSetter": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 392 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "NoTimeCbProtect": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DisableFontAssoc": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pcti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "NoCharDeadKey": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TTIgnoreRasterDupe": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "lParamHkCurrent": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 568 - }, - "qwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 520 - }, - "wParamHkCurrent": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 576 - }, - "NoWindowArrangement": { - "type": { - "bit_position": 32, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ActiveMenus": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 456 - }, - "pqAttach": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 528 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "psiiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 504 - }, - "IgnoreTopMost": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "TryExceptCallWndProc": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoDDETrackDying": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "FontSubs": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "SmoothScrolling": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 624 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "ptiSibling": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 536 - }, - "hklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "IncreaseStack": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - } - }, - "kind": "struct", - "size": 936 - }, - "__unnamed_11ff": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "EaLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FileAttributes": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_CALLPROCDATA": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "pfnClientPrevious": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "wType": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "spcpdNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH": { - "fields": { - "VidPnTargetColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 48 - }, - "VidPnTargetColorBasis": { - "type": { - "kind": "enum", - "name": "VidPnTargetColorBasisEnum" - }, - "offset": 44 - }, - "ContentTransformation": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" - }, - "offset": 12 - }, - "GammaRamp": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GAMMA_RAMP" - }, - "offset": 336 - }, - "CopyProtection": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" - }, - "offset": 68 - }, - "VidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Content": { - "type": { - "kind": "enum", - "name": "ContentEnum" - }, - "offset": 64 - }, - "VisibleFromActiveTLOffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 28 - }, - "VidPnTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "VisibleFromActiveBROffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 36 - }, - "ImportanceOrdinal": { - "type": { - "kind": "enum", - "name": "ImportanceOrdinalEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 360 - }, - "__unnamed_1253": { - "fields": { - "PowerSequence": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_POWER_SEQUENCE" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESS_HID_TABLE": { - "fields": { - "fExclusiveMouseSink": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fCaptureMouse": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyMouse": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboard": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "spwndTargetMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndTargetKbd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "UsageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 98 - }, - "UsagePageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 96 - }, - "fRawMouse": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawMouseSink": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "inclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "nSinks": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "UsagePageList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 32 - }, - "ExclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - }, - "InclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - }, - "fRawKeyboardSink": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fAppKeys": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoHotKeys": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "fNoLegacyKeyboard": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "request": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fExclusiveKeyboardSink": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "pLastRequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1809": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "MessageCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHOOK": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "iHook": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "phkNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "offPfn": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "fLastHookHung": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 88 - }, - "nTimeout": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 7 - }, - "offset": 88 - }, - "ihmod": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "ptiHooked": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 80 - } - }, - "kind": "struct", - "size": 96 - }, - "_THROBJHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagPROCESS_HID_REQUEST": { - "fields": { - "fSinkable": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "pTLCInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_TLC_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDevNotify": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "fExSinkable": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 18 - }, - "fExclusiveOrphaned": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "next_request": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "pPORequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_PAGEONLY_REQUEST" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 16 - }, - "ptr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "spwndTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 40 - }, - "_KFLOATING_SAVE": { - "fields": { - "Dummy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { - "fields": { - "Rotate270": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate90": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate180": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMLIST": { - "fields": { - "cMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pqmsgRead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pqmsgWriteLast": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_CONSOLE_CARET_INFO": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1807": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - }, - "Level": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "DEADKEY": { - "fields": { - "wchComposed": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 4 - }, - "dwBoth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESSINFO": { - "fields": { - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "fHasMagContext": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 736 - }, - "hwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWINSTA__" - }, - "kind": "pointer" - }, - "offset": 608 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ptiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 256 - }, - "pHidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 744 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "pclsPublicList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 288 - }, - "dwhmodLibLoadedMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 340 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "hdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 328 - }, - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "dwImeCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 696 - }, - "hMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HMONITOR__" - }, - "kind": "pointer" - }, - "offset": 624 - }, - "ptiMainThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "pvwplWndGCList": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 760 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "usi": { - "type": { - "kind": "struct", - "name": "tagUSERSTARTUPINFO" - }, - "offset": 708 - }, - "luidSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 700 - }, - "Unused": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 736 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pW32Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 688 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwRegisteredClasses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 752 - }, - "bmHandleFlags": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_BITMAP" - }, - "offset": 648 - }, - "pclsPrivateList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "amwinsta": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 616 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ppiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 736 - }, - "dwHotkey": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 620 - }, - "cSysExpunge": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "rpdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pdvList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 632 - }, - "hidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 832 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 320 - }, - "pwpi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "ppiNextRunning": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "dwLayout": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 740 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rpwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "pCursorCache": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "pClientBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 672 - }, - "ahmodLibLoaded": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 384 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 640 - }, - "dwLpkEntryPoints": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 680 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 768 - }, - "HBRUSH__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLIP": { - "fields": { - "fmt": { - "type": { - "kind": "enum", - "name": "fmtEnum" - }, - "offset": 0 - }, - "fGlobalHandle": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagUAHMENUPOPUPMETRICS": { - "fields": { - "rgcx": { - "type": { - "count": 4, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 0 - }, - "fUpdateMaxWidths": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 20 - }, - "tagSMS": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 72 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 80 - }, - "lpResultCallBack": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lRet": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 56 - }, - "psmsReceiveNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "tSent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "pvCapture": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "psmsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptiReceiver": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ptiCallBackSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "dwData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 112 - }, - "__unnamed_195e": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_195c": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_W32THREAD": { - "fields": { - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 336 - }, - "_VK_TO_WCHAR_TABLE": { - "fields": { - "pVkToWchars": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHARS1" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cbSize": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - }, - "nModifications": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPROPLIST": { - "fields": { - "aprop": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagPROP" - }, - "kind": "array" - }, - "offset": 8 - }, - "iFirstFree": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cEntries": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_D3DKMDT_FREQUENCY_RANGE": { - "fields": { - "MinVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 0 - }, - "MaxVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 8 - }, - "MaxHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 24 - }, - "MinHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_11f8": { - "fields": { - "Apc": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KAPC" - }, - "offset": 0 - }, - "CompletionKey": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Overlay": { - "type": { - "kind": "struct", - "name": "__unnamed_11f5" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_18bf": { - "fields": { - "BaseMiddle": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "Flags1": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "Flags2": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "tagPROFILEVALUEINFO": { - "fields": { - "dwValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uSection": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pwszKeyName": { - "type": { - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_11f5": { - "fields": { - "Thread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "DeviceQueueEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" - }, - "offset": 0 - }, - "CurrentStackLocation": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_STACK_LOCATION" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "DriverContext": { - "type": { - "count": 4, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 0 - }, - "AuxiliaryBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "OriginalFileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "PacketType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 80 - }, - "__unnamed_125f": { - "fields": { - "AllocatedResources": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "AllocatedResourcesTranslated": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "D3DDDI_DXGI_RGB": { - "fields": { - "Blue": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "Green": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "Red": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1219": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FsControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_125b": { - "fields": { - "State": { - "type": { - "kind": "struct", - "name": "nt_symbols!_POWER_STATE" - }, - "offset": 16 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "SystemContext": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ShutdownType": { - "type": { - "kind": "enum", - "name": "ShutdownTypeEnum" - }, - "offset": 24 - }, - "SystemPowerStateContext": { - "type": { - "kind": "struct", - "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "HDC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagDISPLAYINFO": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "SpatialListHead": { - "type": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "offset": 144 - }, - "BitCountMax": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 130 - }, - "cyGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "hdcBits": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDesktopIsRect": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "hbmGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pmdev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "cFullScreen": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 160 - }, - "cxGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 128 - }, - "hDevInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fAnyPalette": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "pspbFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pMonitorPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 162 - }, - "pMonitorFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "hdcGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hrgnScreenReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cMonitors": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "hdcScreen": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "DockThresholdMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "pdceFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 168 - }, - "tagWin32AllocStats": { - "fields": { - "dwMaxAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwMaxMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwCrtAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwCrtMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18c5": { - "fields": { - "DefaultBig": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "BaseMiddle": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "LimitHigh": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 0 - }, - "System": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Granularity": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Dpl": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 0 - }, - "Type": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "Present": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "LongMode": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1261": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ProviderId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "BufferSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DataPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1263": { - "fields": { - "Argument4": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Argument2": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Argument3": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "Argument1": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1265": { - "fields": { - "DeviceIoControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121d" - }, - "offset": 0 - }, - "ReadWriteConfig": { - "type": { - "kind": "struct", - "name": "__unnamed_123d" - }, - "offset": 0 - }, - "Create": { - "type": { - "kind": "struct", - "name": "__unnamed_11ff" - }, - "offset": 0 - }, - "Write": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "PowerSequence": { - "type": { - "kind": "struct", - "name": "__unnamed_1253" - }, - "offset": 0 - }, - "QueryId": { - "type": { - "kind": "struct", - "name": "__unnamed_1243" - }, - "offset": 0 - }, - "SetFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1213" - }, - "offset": 0 - }, - "CreatePipe": { - "type": { - "kind": "struct", - "name": "__unnamed_1203" - }, - "offset": 0 - }, - "Power": { - "type": { - "kind": "struct", - "name": "__unnamed_125b" - }, - "offset": 0 - }, - "Read": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "StartDevice": { - "type": { - "kind": "struct", - "name": "__unnamed_125f" - }, - "offset": 0 - }, - "QueryDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120d" - }, - "offset": 0 - }, - "LockControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121b" - }, - "offset": 0 - }, - "QueryInterface": { - "type": { - "kind": "struct", - "name": "__unnamed_1233" - }, - "offset": 0 - }, - "Others": { - "type": { - "kind": "struct", - "name": "__unnamed_1263" - }, - "offset": 0 - }, - "FileSystemControl": { - "type": { - "kind": "struct", - "name": "__unnamed_1219" - }, - "offset": 0 - }, - "SetLock": { - "type": { - "kind": "struct", - "name": "__unnamed_123f" - }, - "offset": 0 - }, - "QueryDeviceText": { - "type": { - "kind": "struct", - "name": "__unnamed_1247" - }, - "offset": 0 - }, - "WMI": { - "type": { - "kind": "struct", - "name": "__unnamed_1261" - }, - "offset": 0 - }, - "CreateMailslot": { - "type": { - "kind": "struct", - "name": "__unnamed_1207" - }, - "offset": 0 - }, - "FilterResourceRequirements": { - "type": { - "kind": "struct", - "name": "__unnamed_123b" - }, - "offset": 0 - }, - "MountVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QueryVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1217" - }, - "offset": 0 - }, - "UsageNotification": { - "type": { - "kind": "struct", - "name": "__unnamed_124b" - }, - "offset": 0 - }, - "Scsi": { - "type": { - "kind": "struct", - "name": "__unnamed_1229" - }, - "offset": 0 - }, - "WaitWake": { - "type": { - "kind": "struct", - "name": "__unnamed_124f" - }, - "offset": 0 - }, - "QueryFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1211" - }, - "offset": 0 - }, - "VerifyVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QuerySecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_121f" - }, - "offset": 0 - }, - "QueryDeviceRelations": { - "type": { - "kind": "struct", - "name": "__unnamed_122d" - }, - "offset": 0 - }, - "NotifyDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120f" - }, - "offset": 0 - }, - "SetSecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_1221" - }, - "offset": 0 - }, - "DeviceCapabilities": { - "type": { - "kind": "struct", - "name": "__unnamed_1237" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1817": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1815": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "tagKbdLayer": { - "fields": { - "pVkToWcharTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHAR_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fLocaleFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "pCharModifiers": { - "type": { - "subtype": { - "kind": "struct", - "name": "MODIFIERS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pKeyNamesExt": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pDeadKey": { - "type": { - "subtype": { - "kind": "struct", - "name": "DEADKEY" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pusVSCtoVK": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pKeyNamesDead": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pLigature": { - "type": { - "subtype": { - "kind": "struct", - "name": "_LIGATURE1" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "cbLgEntry": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 85 - }, - "pKeyNames": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "dwSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "nLgMax": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 84 - }, - "pVSCtoVK_E1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pVSCtoVK_E0": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bMaxVSCtoVK": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1813": { - "fields": { - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { - "fields": { - "Centered": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "AspectRatioCenteredMax": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Stretched": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Custom": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1958": { - "fields": { - "MinBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "MaxBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_2DREGION": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "HRGN__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1954": { - "fields": { - "AffinityPolicy": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "PriorityPolicy": { - "type": { - "kind": "enum", - "name": "PriorityPolicyEnum" - }, - "offset": 12 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "MaximumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "TargetedProcessors": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "MinimumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_PROCMARKHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagSIZE": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagDESKTOPVIEW": { - "fields": { - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "pdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pdvNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1819": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { - "fields": { - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "PathAndTargetModeSetOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBTRACK": { - "fields": { - "spwndSBNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTimerSB": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "cmdSB": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "xxxpfnSB": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fTrackVert": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posNew": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 84 - }, - "posOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fCtlSB": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "rcTrack": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 32 - }, - "fTrackRecalc": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndSB": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "pxOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fHitOld": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "pSBCalc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBCALC" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "nBar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_16c1": { - "fields": { - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "MaxPixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_DMA_ADAPTER": { - "fields": { - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "DmaOperations": { - "type": { - "subtype": { - "kind": "struct", - "name": "_DMA_OPERATIONS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMONITOR": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "rcMonitorReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 28 - }, - "pMonitorNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hDevReal": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "hrgnMonitorReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "rcWorkReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 44 - }, - "dwMONFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cWndStack": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 74 - }, - "DockTargets": { - "type": { - "count": 7, - "subtype": { - "count": 4, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "kind": "array" - }, - "offset": 96 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 144 - }, - "__unnamed_180b": { - "fields": { - "Translated": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Raw": { - "type": { - "kind": "struct", - "name": "__unnamed_1809" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagRECT": { - "fields": { - "top": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "right": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "bottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "left": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_180d": { - "fields": { - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Port": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Channel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "MODIFIERS": { - "fields": { - "wMaxModBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "pVkToBit": { - "type": { - "subtype": { - "kind": "struct", - "name": "VK_TO_BIT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ModNumber": { - "type": { - "count": 0, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 10 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120f": { - "fields": { - "CompletionFilter": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120d": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 16 - }, - "FileName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { - "fields": { - "PathAndTargetModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 48 - }, - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 40 - }, - "SourceMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_SOURCE_MODE" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 480 - }, - "tagMSG": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 24 - }, - "pt": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 36 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "time": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "tagDPISERVERINFO": { - "fields": { - "hMsgFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hCaptionFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "gclBorder": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cxMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "wMaxBtnSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "cyMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { - "fields": { - "Blue": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 1024 - }, - "Green": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 512 - }, - "Red": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1536 - }, - "__unnamed_124f": { - "fields": { - "PowerState": { - "type": { - "kind": "enum", - "name": "PowerStateEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagWOWPROCESSINFO": { - "fields": { - "ptdbHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ptiScheduled": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "nRecvLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CSLockCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "nSendLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pEventWowExec": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lpfnWowExitTask": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "CSOwningThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "hEventWowExecClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwpiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "HTOUCHINPUT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMENU": { - "fields": { - "iItem": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "umpm": { - "type": { - "kind": "struct", - "name": "tagUAHMENUPOPUPMETRICS" - }, - "offset": 132 - }, - "cItems": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pParentMenus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "fFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "cxMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwContextHelpId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "cxTextAlign": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "cAlloced": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "hbrBack": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwArrowsOn": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 128 - }, - "iMaxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 124 - }, - "dwMenuData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "cyMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "rgItems": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagITEM" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "cyMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "_D3DDDI_GAMMA_RAMP_DXGI_1": { - "fields": { - "GammaCurve": { - "type": { - "count": 1025, - "subtype": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "kind": "array" - }, - "offset": 24 - }, - "Scale": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 0 - }, - "Offset": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 12324 - }, - "_MOVESIZEDATA": { - "fields": { - "fmsKbd": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "pStartMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "impy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 152 - }, - "fMoveFromMax": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapMoving": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "frcNormalCheckPtValid": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptMaxTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 96 - }, - "ptRestore": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 156 - }, - "fUsePreviewRect": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForceSizing": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fThresholdSelector": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 164 - }, - "ptStartHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 208 - }, - "fDragFullWindows": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForeground": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "dyMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 140 - }, - "fHasSoftwareCursor": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsHitPtOffScreen": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapSizingTemporaryAllowed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fCheckPtForcefullyRestored": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedRight": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ulCountDragOutOfLeftRightTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 228 - }, - "Unused": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 164 - }, - "dxMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 136 - }, - "fStartVerticallyMaximizedRight": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcParent": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 72 - }, - "fOffScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fWindowWasSuperMaximized": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedLeft": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "StartCurrentHitTarget": { - "type": { - "kind": "enum", - "name": "StartCurrentHitTargetEnum" - }, - "offset": 176 - }, - "fHasPreviewRect": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fLockWindowUpdate": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcPreview": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 40 - }, - "fSnapSizing": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsMoveSizeLoop": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fInitSize": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcDragCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "ulCountDragOutOfTopTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 224 - }, - "rcPreviewCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 56 - }, - "CurrentHitTarget": { - "type": { - "kind": "enum", - "name": "CurrentHitTargetEnum" - }, - "offset": 192 - }, - "fSnapMovingTemporaryAllowed": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fTrackCancelled": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 200 - }, - "ptLastTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 216 - }, - "cmd": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 144 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 164 - }, - "MoveRectStyle": { - "type": { - "kind": "enum", - "name": "MoveRectStyleEnum" - }, - "offset": 196 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "ulCountSizeOutOfTopBottomTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 232 - }, - "fStartVerticallyMaximizedLeft": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcNormalStartCheckPt": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 120 - }, - "ptMinTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 88 - }, - "rcDrag": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - }, - "pMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "impx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 148 - } - }, - "kind": "struct", - "size": 240 - }, - "_D3DDDI_RATIONAL": { - "fields": { - "Denominator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Numerator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "VWPL": { - "fields": { - "cElem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "aElement": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "VWPLELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "fTagged": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cThreshhold": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cPwnd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagTEXTMETRICW": { - "fields": { - "tmOverhang": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "tmPitchAndFamily": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 55 - }, - "tmStruckOut": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 54 - }, - "tmCharSet": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - }, - "tmDigitizedAspectX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "tmDigitizedAspectY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "tmFirstChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 44 - }, - "tmWeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "tmDescent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "tmDefaultChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 48 - }, - "tmLastChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 46 - }, - "tmMaxCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "tmItalic": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 52 - }, - "tmUnderlined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 53 - }, - "tmInternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "tmAscent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "tmHeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "tmAveCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "tmBreakChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 50 - }, - "tmExternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 60 - }, - "_SCATTER_GATHER_LIST": { - "fields": { - "Elements": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "_SCATTER_GATHER_ELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "NumberOfElements": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "HICON__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_HANDLEENTRY": { - "fields": { - "pOwner": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "bType": { - "type": { - "kind": "enum", - "name": "bTypeEnum" - }, - "offset": 16 - }, - "bFlags": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 17 - }, - "phead": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HEAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "wUniq": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - } - }, - "kind": "struct", - "size": 24 - }, - "_THRDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagSVR_INSTANCE_INFO": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nextInThisThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spwndEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "afCmd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pcii": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 80 - }, - "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { - "fields": { - "RequestDiagInfo": { - "type": { - "kind": "struct", - "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" - }, - "offset": 4 - }, - "AffectedVidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "VidPnSerialization": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPN_SERIALIZATION" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 28 - }, - "tagPOPUPMENU": { - "fields": { - "fDroppedLeft": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fIsSysMenu": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posDropped": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fIsMenuBar": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHierarchyDropped": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDropNextPopup": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fRightButton": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ppopupmenuRoot": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fFirstClick": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fRtoL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSendUninit": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fAboutToHide": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNextPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fFlushDelayedFree": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHasMenuBar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fTrackMouseEvent": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fNoNotify": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posSelectedItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fUseMonitorRect": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndPrevPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ppmDelayedFree": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "fFreed": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSynchronous": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenuAlternate": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fDestroyed": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "iDropDir": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "fIsTrackPopup": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndActivePopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "fInCancel": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fToggle": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDelayedFree": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHideTimer": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fShowTimer": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "_D3DKMDT_MONITOR_SOURCE_MODE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 84 - }, - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "ColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 68 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 88 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 96 - }, - "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 8 - }, - "Data": { - "type": { - "count": 128, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 12 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 140 - }, - "__unnamed_127c": { - "fields": { - "Wcb": { - "type": { - "kind": "struct", - "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" - }, - "offset": 0 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_D3DMATRIX": { - "fields": { - "_41": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 48 - }, - "_42": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 52 - }, - "_43": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 56 - }, - "_44": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 60 - }, - "_34": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 44 - }, - "_14": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 12 - }, - "_13": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "_12": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "_11": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - }, - "_24": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 28 - }, - "_31": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 32 - }, - "_33": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 40 - }, - "_32": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 36 - }, - "_22": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 20 - }, - "_23": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 24 - }, - "_21": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 64 - }, - "_LARGE_UNICODE_STRING": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumLength": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 4 - }, - "bAnsi": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "_VK_VALUES_STRINGS": { - "fields": { - "fReserved": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "pszMultiNames": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHID_TLC_INFO": { - "fields": { - "cExcludeOrphaned": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - }, - "cDevices": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "cExcludeRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cUsagePageRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "cDirectRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { - "fields": { - "Info": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_SOURCE_MODE" - }, - "offset": 0 - }, - "TimingType": { - "type": { - "kind": "enum", - "name": "TimingTypeEnum" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 104 - }, - "tagCURSOR": { - "fields": { - "rt": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 58 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCMARKHEAD" - }, - "offset": 0 - }, - "hbmUserAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "xHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 68 - }, - "hbmColor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pcurNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "CURSORF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hbmMask": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bpp": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 120 - }, - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 128 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "rcBounds": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 96 - }, - "atomModName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "hbmAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "yHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 70 - }, - "strName": { - "type": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 136 - }, - "_D3DKMDT_GAMMA_RAMP": { - "fields": { - "Data": { - "type": { - "kind": "struct", - "name": "__unnamed_182e" - }, - "offset": 16 - }, - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "HWND__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1207": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18a1": { - "fields": { - "Text": { - "type": { - "kind": "enum", - "name": "TextEnum" - }, - "offset": 0 - }, - "Graphics": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { - "fields": { - "TargetMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "offset": 360 - }, - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 432 - }, - "HKL__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1209": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagDCE": { - "fields": { - "hrgnClipPublic": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwndOrg": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pdceNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "DCX_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hdc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "hrgnSavedVis": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pwndRedirect": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pwndClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 96 - }, - "VSC_LPWSTR": { - "fields": { - "vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pwsz": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagQ": { - "fields": { - "hwndDblClk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "timeDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndFocus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 328 - }, - "cLockCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 322 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 312 - }, - "ptiSysLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "caret": { - "type": { - "kind": "struct", - "name": "tagCARET" - }, - "offset": 232 - }, - "ptiMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndActivePrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ptMouseMove": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 128 - }, - "msgDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "msgJournal": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "ptiKeyboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 320 - }, - "QF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 316 - }, - "mlInput": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 0 - }, - "spwndActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "codeCapture": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "idSysLock": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "spcurCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "ulEtwReserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "ptDblClk": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 120 - }, - "xbtnDblClk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 104 - }, - "afKeyRecentDown": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "afKeyState": { - "type": { - "count": 64, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 168 - }, - "spwndCapture": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "idSysPeek": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 344 - }, - "__unnamed_1203": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "HGESTUREINFO__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLS": { - "fields": { - "spcur": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 100 - }, - "pclsClone": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "lpszClientAnsiMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pclsBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "atomNVClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "pclsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "CSF_flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "lpszAnsiClassName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "spcpdFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "lpszClientUnicodeMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "cbclsExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 96 - }, - "lpszMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "spicnSm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "cWndReferenceCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "hbrBackground": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "spicn": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 12 - }, - "pdce": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "rpdeskParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "atomClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 160 - }, - "_PROCDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { - "fields": { - "CommitVidPnRequestOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumCommitVidPnRequests": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_VK_TO_FUNCTION_TABLE": { - "fields": { - "NLSFEProcType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "NLSFEProcCurrent": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcSwitch": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "NLSFEProcAlt": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 68 - }, - "NLSFEProc": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 132 - }, - "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { - "fields": { - "NumDescriptors": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "DescriptorSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 144 - }, - "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 112 - }, - "_CALLBACKWND": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { - "fields": { - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - }, - "TargetModeSet": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" - }, - "offset": 360 - } - }, - "kind": "struct", - "size": 440 - }, - "_VK_FUNCTION_PARAM": { - "fields": { - "NLSFEProcIndex": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcParam": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBCALC": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "pxStart": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "pxThumbBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "cpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "pxMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pxThumbTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "pxDownArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cpx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "pxBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "pxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pxLeft": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "pxRight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "pxUpArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "HDESK__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "HIMC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { - "fields": { - "SecondChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "FourthChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "ThirdChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FirstChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMENUSTATE": { - "fields": { - "cxAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 116 - }, - "pGlobalPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "uDraggingIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "fNotifyByPos": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInCallHandleMenuMessages": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ixAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "dwLockCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "fAutoDismiss": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fIsSysMenu": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "dwAniStartTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "uButtonDownHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "fIgnoreButtonUp": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptButtonDown": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 56 - }, - "fMenuStarted": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "iAniDropDir": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 8 - }, - "hdcAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "fModelessMenu": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hbmAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "fInEndMenu": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 92 - }, - "vkButtonDown": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fSetCapture": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInDoDragDrop": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fActiveNoForeground": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fMouseOffMenu": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fDragAndDrop": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInsideMenuLoop": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 80 - }, - "fButtonDown": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptiMenuStateOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "iyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 112 - }, - "hdcWndAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "fAboutToAutoDismiss": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "mnFocus": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "uButtonDownIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "fButtonAlwaysDown": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fUnderline": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptMouseLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 12 - }, - "pmnsPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fDragging": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "cmdLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 144 - }, - "VK_TO_BIT": { - "fields": { - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModBits": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - } - }, - "kind": "struct", - "size": 2 - }, - "tagWOWTHREADINFO": { - "fields": { - "pIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "idParentProcess": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "idTask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwtiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "idWaitObject": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 40 - }, - "__unnamed_1805": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1211": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1213": { - "fields": { - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - }, - "AdvanceOnly": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 25 - }, - "ClusterCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "DeleteHandle": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReplaceIfExists": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 24 - }, - "FileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1217": { - "fields": { - "FsInformationClass": { - "type": { - "kind": "enum", - "name": "FsInformationClassEnum" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_123b": { - "fields": { - "IoResourceRequirementList": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_122d": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1950": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagITEM": { - "fields": { - "fType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ulX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "wID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwItemData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "hbmpChecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "xItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "spSubMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hbmpUnchecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fState": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dxTab": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "cxBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 104 - }, - "yItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "cyItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 76 - }, - "umim": { - "type": { - "kind": "struct", - "name": "tagUAHMENUITEMMETRICS" - }, - "offset": 112 - }, - "cch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "ulWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "cyBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "lpstr": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cxItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "hbmp": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 144 - }, - "tagIMEINFOEX": { - "fields": { - "dwImeWinVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fSysWow64Only": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "fInitOpen": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "wszImeDescription": { - "type": { - "count": 50, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 88 - }, - "fCUASLayer": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "ImeInfo": { - "type": { - "kind": "struct", - "name": "tagIMEINFO" - }, - "offset": 8 - }, - "wszImeFile": { - "type": { - "count": 80, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 188 - }, - "wszUIClass": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 36 - }, - "fLoadFlag": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "dwProdVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fdwInitConvMode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - } - }, - "kind": "struct", - "size": 352 - }, - "__unnamed_1962": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1958" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_1956" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_195e" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_195c" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "ConfigData": { - "type": { - "kind": "struct", - "name": "__unnamed_195a" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1960" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1954" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagMSGPPINFO": { - "fields": { - "dwIndexMsgPP": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagSBINFO": { - "fields": { - "WSBflags": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "Horz": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 4 - }, - "Vert": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 36 - }, - "VWPLELEMENT": { - "fields": { - "DataOrTag": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSBDATA": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "_VSC_VK": { - "fields": { - "Vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123f": { - "fields": { - "Lock": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1 - }, - "_SCATTER_GATHER_ELEMENT": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "Address": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagWND": { - "fields": { - "spwndLastActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "bWS_CLIPCHILDREN": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bMaximizeButtonDown": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bUIStateActive": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_TABSTOP": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDialogWindow": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "bMinimizeButtonDown": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HIMC__" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "bChildNoActivate": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_LAYERED": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bStartPaint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedLeft": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bHiddenPopup": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSendEraseBackground": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin50Compat": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_CLIENTEDGE": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 66 - }, - "bWS_EX_TOOLWINDOW": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bDisabled": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bAnsiWindowProc": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin40Compat": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcClient": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 128 - }, - "bAnsiCreator": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bAnyScrollButtonDown": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bSendSizeMoveMsgs": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bLinked": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bSendNCPaint": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bInternalPaint": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasClientEdge": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasPalette": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasHorizontalScrollbar": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUIStateFocusRectHidden": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_DLGFRAME": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_MDICHILD": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasVerticalScrollbar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved2": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bActiveFrame": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bNoNCPaint": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasSPB": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_MINIMIZEBOX": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarVerticalTracking": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_DLGMODALFRAME": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TRANSPARENT": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bPaintNotProcessed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSyncPaintPending": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "bShellHookRegistered": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndChild": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "bUnused5": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bInDestroy": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "state": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "bWS_EX_LEFTSCROLLBAR": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bToggleTopmost": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_VSCROLL": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "ExStyle": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "bWS_HSCROLL": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUpdateDirty": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWMPaintSent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_WINDOWEDGE": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_ACCEPTFILE": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_GROUP": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "bVisible": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bVerticallyMaximizedRight": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bForceMenuDraw": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bForceNCPaint": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bOldUI": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndClipboardListenerNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "bWS_EX_NOPADDEDBORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bNoMinmaxAnimatedRects": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bWS_MAXIMIZEBOX": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bHasCaption": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bEraseBackground": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "spwndOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "subPointer": { - "type": { - "subtype": { - "kind": "struct", - "name": "subTagWNDType" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 232 - }, - "bMakeVisibleWhenUnghosted": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused8": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bUnused9": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 52 - }, - "bForceFullNCPaintClipRgn": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_RTLREADING": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused1": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused2": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused3": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused4": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasMeun": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused6": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused7": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bSmallIconFromWMQueryDrag": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bClipboardListener": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bScrollBarLineDownBtnDown": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedirectedForPrint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_RIGHT": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasCreatestructName": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITED": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bFullScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnUpdate": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "bConsoleWindow": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "ppropList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROPLIST" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bWS_EX_TOPMOST": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bScrollBarPageDownBtnDown": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarLineUpBtnDown": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRecievedQuerySuspendMsg": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bMaximizeMonitorRegion": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedrawIfHung": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_POPUP": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTEXTHELP": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "dwUserData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 256 - }, - "hMod16": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 64 - }, - "FullScreenMode": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 44 - }, - "bLayeredLimbo": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_NOINHERITLAYOUT": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_LAYOUTRTL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUIStateKbdAccelHidden": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_BORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_SIZEBOX": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDestroyed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bServerSideWindowProc": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bCaptionTextTruncated": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 112 - }, - "bEndPaintInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnNewFrame": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "bBeingActivated": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITEDCompositing": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWMCreateMsgProcessed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_NOACTIVATE": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_APPWINDOW": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pSBInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBINFO" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "directName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!String" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bCloseButtonDown": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bMaximized": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_CHILD": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "bWS_THICKFRAME": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTROLPARENT": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pcls": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bLayeredForDWM": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bMsgBox": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHelpButtonDown": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasOverlay": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bRedrawFrameIfHung": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_NOPARENTNOTIFY": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bMaximizesToMonitor": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bBottomMost": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bReserved1": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bRedirected": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved3": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved4": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved5": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved6": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved7": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "spwndPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bLayeredInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "state2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "bWS_CLIPSIBLINGS": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarPageUpBtnDown": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "pTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DMATRIX" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "bWin31Compat": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "ExStyle2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "bHIGHDPI_UNAWARE_Unused": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_SYSMENU": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "strName": { - "type": { - "kind": "struct", - "name": "_LARGE_UNICODE_STRING" - }, - "offset": 232 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "bMinimized": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bRecievedSuspendMsg": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_STATICEDGE": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 296 - }, - "_WM_VALUES_STRINGS": { - "fields": { - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "fInternal": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "fDefined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { - "fields": { - "VisibleRegionSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 8 - }, - "Stride": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "PixelFormat": { - "type": { - "kind": "enum", - "name": "PixelFormatEnum" - }, - "offset": 20 - }, - "PixelValueAccessMode": { - "type": { - "kind": "enum", - "name": "PixelValueAccessModeEnum" - }, - "offset": 28 - }, - "PrimSurfSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "_VK_TO_WCHARS1": { - "fields": { - "Attributes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "_TLSPRITESTATE": { - "fields": { - "flOriginalSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "iSpriteType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pfnSaveScreenBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bInsideDriverCall": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pfnStrokePath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnTransparentBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnPaint": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnStretchBltROP": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "iType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "pfnPlgBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnCopyBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "iOriginalType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pfnTextOut": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDrawStream": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStrokeAndFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnLineTo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnStretchBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGradientFill": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnAlphaBlend": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "flSpriteSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "pfnBitBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 168 - }, - "tagUAHMENUITEMMETRICS": { - "fields": { - "rgsizeBar": { - "type": { - "count": 2, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - }, - "rgsizePopup": { - "type": { - "count": 4, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_121b": { - "fields": { - "Length": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1229": { - "fields": { - "Srb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_SCSI_REQUEST_BLOCK" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_121f": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1225": { - "fields": { - "DeviceObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Vpb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_VPB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "subTagWNDType": { - "fields": { - "style_bitmask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - } - }, - "kind": "struct", - "size": 128 - }, - "_HEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagIMEINFO": { - "fields": { - "fdwProperty": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "fdwSelectCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fdwUICaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwPrivateDataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fdwSCSCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "fdwSentenceCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "fdwConversionCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 28 - }, - "_DXGK_DIAG_CODE_POINT_PACKET": { - "fields": { - "Header": { - "type": { - "kind": "struct", - "name": "_DXGK_DIAG_HEADER" - }, - "offset": 0 - }, - "Param3": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "Param1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CodePointType": { - "type": { - "kind": "enum", - "name": "CodePointTypeEnum" - }, - "offset": 48 - }, - "Param2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_SOURCE_MODE": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Format": { - "type": { - "kind": "struct", - "name": "__unnamed_18a1" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagW32JOB": { - "fields": { - "restrictions": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ughCrt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ughMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pgh": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long long" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EJOB" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ppiTable": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "uProcessCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "uMaxProcesses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { - "fields": { - "NumFrequencyRanges": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "FrequencyRangeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 56 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { - "fields": { - "APSTriggerBits": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "CopyProtectionType": { - "type": { - "kind": "enum", - "name": "CopyProtectionTypeEnum" - }, - "offset": 0 - }, - "CopyProtectionSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" - }, - "offset": 264 - }, - "OEMCopyProtection": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 268 - }, - "tagWINDOWSTATION": { - "fields": { - "pClipBase": { - "type": { - "subtype": { - "count": 104, - "subtype": { - "kind": "struct", - "name": "tagCLIP" - }, - "kind": "array" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "cNumClipFormats": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "luidUser": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 136 - }, - "pGlobalAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "ptiClipLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "dwWSF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "rpdeskList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spklList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spwndClipOpen": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "psidUser": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pTerm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTERMINAL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndClipboardListener": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "luidEndSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 128 - }, - "iClipSequenceNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "ptiDrawingClipboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "spwndClipOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndClipViewer": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpwinstaNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 152 - }, - "tagDESKTOPINFO": { - "fields": { - "spwndProgman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "pvwplMessagePPHandler": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 224 - }, - "pvDesktopLimit": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fComposited": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndGestureEngine": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "pvDesktopBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwndShell": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "ppiShellProcess": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pvwplShellHook": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "fIsDwmDesktop": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndTaskman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 40 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cntMBox": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 208 - }, - "spwndBkGnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 240 - }, - "tagMBSTRING": { - "fields": { - "szName": { - "type": { - "count": 15, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 0 - }, - "uID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "uStr": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DKMDT_VIDPN_TARGET_MODE": { - "fields": { - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 72 - }, - "_DMM_VIDPNSET_SERIALIZATION": { - "fields": { - "VidPnOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumVidPns": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagKBDFILE": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "awchDllName": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 56 - }, - "pKbdTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdLayer" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pkfNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pKbdNlsTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdNlsLayer" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_11e4": { - "fields": { - "UserApcContext": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "UserApcRoutine": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "IssuingProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_W32PROCESS": { - "fields": { - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 256 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { - "fields": { - "Scaling": { - "type": { - "kind": "enum", - "name": "ScalingEnum" - }, - "offset": 0 - }, - "RotationSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" - }, - "offset": 12 - }, - "Rotation": { - "type": { - "kind": "enum", - "name": "RotationEnum" - }, - "offset": 8 - }, - "ScalingSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSERVERINFO": { - "fields": { - "uiShellMsg": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 912 - }, - "cbHandleTable": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 848 - }, - "atomSysClass": { - "type": { - "count": 25, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 852 - }, - "dtScroll": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2800 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2952 - }, - "atomIconSmProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1356 - }, - "argbSystemUnmatched": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2268 - }, - "dwTagCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4632 - }, - "ucWheelScrollLines": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2812 - }, - "ptCursorReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2784 - }, - "ucWheelScrollChars": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2816 - }, - "acOemToAnsi": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1364 - }, - "cySysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2832 - }, - "atomFrostedWindowProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1362 - }, - "mpFnid_serverCBWndProc": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 328 - }, - "PUSIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4476 - }, - "BitCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4468 - }, - "argbSystem": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2392 - }, - "dtLBSearch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2804 - }, - "dtCaretBlink": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2808 - }, - "dwInstalledEventHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 1876 - }, - "apfnClientA": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 392 - }, - "cxSysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2828 - }, - "hbrGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 2768 - }, - "ahbrSystem": { - "type": { - "count": 31, - "subtype": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 2520 - }, - "dwDefaultHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "wMaxRightOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2824 - }, - "dwSRVIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "oembmi": { - "type": { - "count": 93, - "subtype": { - "kind": "struct", - "name": "tagOEMBITMAPINFO" - }, - "kind": "array" - }, - "offset": 2964 - }, - "apfnClientWorker": { - "type": { - "kind": "struct", - "name": "_PFNCLIENTWORKER" - }, - "offset": 760 - }, - "dwDefaultHeapBase": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 904 - }, - "BitsPixel": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4473 - }, - "wMaxLeftOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2820 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4470 - }, - "dwLastSystemRITEventTickCountUpdate": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4488 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2796 - }, - "atomIconProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1358 - }, - "Planes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4472 - }, - "dpiSystem": { - "type": { - "kind": "struct", - "name": "tagDPISERVERINFO" - }, - "offset": 2896 - }, - "hIcoWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2944 - }, - "apfnClientW": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 576 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2956 - }, - "MBStrings": { - "type": { - "count": 11, - "subtype": { - "kind": "struct", - "name": "tagMBSTRING" - }, - "kind": "array" - }, - "offset": 916 - }, - "atomContextHelpIdProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1360 - }, - "adwDBGTAGFlags": { - "type": { - "count": 35, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4492 - }, - "aiSysMet": { - "type": { - "count": 97, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 1880 - }, - "dwRIPFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4636 - }, - "uCaretWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4480 - }, - "cCaptures": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2960 - }, - "tmSysFont": { - "type": { - "kind": "struct", - "name": "tagTEXTMETRICW" - }, - "offset": 2836 - }, - "cHandleEntries": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ptCursor": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2776 - }, - "hIconSmWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2936 - }, - "mpFnidPfn": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "UILangID": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4484 - }, - "acAnsiToOem": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1620 - }, - "aStoCidPfn": { - "type": { - "count": 7, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 272 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 4452 - }, - "dwLastRITEventTickCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2792 - } - }, - "kind": "struct", - "size": 4640 - }, - "tagPOOLRECORD": { - "fields": { - "ExtraData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "trace": { - "type": { - "count": 6, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "__unnamed_195a": { - "fields": { - "Priority": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagUSERSTARTUPINFO": { - "fields": { - "dwYSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cbReserved2": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 26 - }, - "cb": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dwY": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwXSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "wShowWindow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 28 - }, - "_DMM_VIDPN_SERIALIZATION": { - "fields": { - "PathsFromSourceSerializationOffsets": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 8 - }, - "NumActiveSources": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_11df": { - "fields": { - "IrpCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "SystemBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MasterIrp": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IRP" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagHID_PAGEONLY_REQUEST": { - "fields": { - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cRefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1233": { - "fields": { - "Interface": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_INTERFACE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "InterfaceSpecificData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "InterfaceType": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_GUID" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagQMSG": { - "fields": { - "Padding": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 80 - }, - "ptMouseReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 72 - }, - "FromPen": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 64 - }, - "Wow64Message": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 96 - }, - "dwQEvent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 30 - }, - "offset": 80 - }, - "pqmsgPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FromTouch": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "NoCoalesce": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "msg": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 16 - }, - "pqmsgNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1237": { - "fields": { - "Capabilities": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_CAPABILITIES" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_11e6": { - "fields": { - "AsynchronousParameters": { - "type": { - "kind": "struct", - "name": "__unnamed_11e4" - }, - "offset": 0 - }, - "AllocationSize": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagDESKTOP": { - "fields": { - "spmenuVScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "dwMouseHoverTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 212 - }, - "rpwinstaParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spmenuDialogSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndForeground": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenuHScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "spwndTooltip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndMessage": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cciConsole": { - "type": { - "kind": "struct", - "name": "_CONSOLE_CARET_INFO" - }, - "offset": 144 - }, - "PtiList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 168 - }, - "spwndTray": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "rpdeskNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwDTFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pMagInputTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MAGNIFICATION_INPUT_TRANSFORM" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "htEx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 192 - }, - "ulHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "pheapDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!tagWIN32HEAP" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "rcMouseHover": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 196 - }, - "hsectionDesktop": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "dwDesktopId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 224 - }, - "_MAGNIFICATION_INPUT_TRANSFORM": { - "fields": { - "rcScreen": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 16 - }, - "magFactorX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "magFactorY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "ptiMagThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rcSource": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 48 - }, - "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 0 - }, - "ConstraintType": { - "type": { - "kind": "enum", - "name": "ConstraintTypeEnum" - }, - "offset": 36 - }, - "RangeLimits": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_FREQUENCY_RANGE" - }, - "offset": 4 - }, - "Constraint": { - "type": { - "kind": "struct", - "name": "__unnamed_16c1" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_121d": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IoControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_PFNCLIENTWORKER": { - "fields": { - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnCtfHookProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_12e0": { - "fields": { - "InitialPrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" - }, - "offset": 0 - }, - "PrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_PRIVILEGE_SET" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 44 - }, - "tagMENULIST": { - "fields": { - "pMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_DMA_OPERATIONS": { - "fields": { - "PutDmaAdapter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FreeMapRegisters": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "MapTransfer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "FreeCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReadDmaCounter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "AllocateCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "PutScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "BuildMdlFromScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "GetScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "CalculateScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "FreeAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "GetDmaAlignment": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "FlushAdapterBuffers": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "AllocateAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "BuildScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 128 - }, - "__unnamed_1811": { - "fields": { - "Start": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagSPB": { - "fields": { - "hbm": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hrgn": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ulSaveId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "pspbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "tagWin32PoolHead": { - "fields": { - "pPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pTrace": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DXGK_DIAG_HEADER": { - "fields": { - "Index": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "ProcessName": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 16 - }, - "LogTimestamp": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ThreadId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - }, - "WdLogIdx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 48 - }, - "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { - "fields": { - "CleanupAfterFailedCommitVidPn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ModeChangeRequestId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "ReclaimClonedTarget": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ForceAllActiveVidPnModeListInvalidation": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 12 - }, - "tagTOUCHINPUT": { - "fields": { - "dwExtraInfo": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "hSource": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dwMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cyContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "cxContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "dwTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 48 - }, - "_SM_VALUES_STRINGS": { - "fields": { - "StorageType": { - "type": { - "kind": "enum", - "name": "StorageTypeEnum" - }, - "offset": 16 - }, - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "RangeType": { - "type": { - "kind": "enum", - "name": "RangeTypeEnum" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1956": { - "fields": { - "MinimumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "_D3DKMDT_VIDEO_SIGNAL_INFO": { - "fields": { - "VSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 20 - }, - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 12 - }, - "PixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "TotalSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 4 - }, - "VideoStandard": { - "type": { - "kind": "enum", - "name": "VideoStandardEnum" - }, - "offset": 0 - }, - "ScanLineOrdering": { - "type": { - "kind": "enum", - "name": "ScanLineOrderingEnum" - }, - "offset": 48 - }, - "HSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 56 - }, - "tagTERMINAL": { - "fields": { - "spwndDesktopOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pEventInputReady": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "rpdeskDestroy": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pqDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwTERMF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwNestedLevel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ptiDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pEventTermInit": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "HFONT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { - "fields": { - "MacroVisionFull": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "MacroVisionApsTrigger": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "NoProtection": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 29 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_PFNCLIENT": { - "fields": { - "pfnDispatchDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnDispatchHook": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "pfnDesktopWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "pfnScrollBarWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnMessageWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnSwitchWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnHkINLPCWPSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnTitleWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnHkINLPCWPRETSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnMenuWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDispatchMessage": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pfnDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnMDIActivateDlgProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 176 - } - }, - "kind": "struct", - "size": 184 - }, - "tagOEMBITMAPINFO": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1221": { - "fields": { - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "SecurityDescriptor": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_KLIST_ENTRY": { - "fields": { - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HMONITOR__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1247": { - "fields": { - "DeviceTextType": { - "type": { - "kind": "enum", - "name": "DeviceTextTypeEnum" - }, - "offset": 0 - }, - "LocaleId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagCLIENTINFO": { - "fields": { - "msgDbcsCB": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 160 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "achDbcsCF": { - "type": { - "count": 2, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 154 - }, - "dwTIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "pClientThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 152 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "dwHookCurrent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "afAsyncKeyStateRecentDown": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwHookData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "afAsyncKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 128 - }, - "CallbackWnd": { - "type": { - "kind": "struct", - "name": "_CALLBACKWND" - }, - "offset": 64 - }, - "lpdwRegisteredClasses": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "cInDDEMLCallback": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 92 - }, - "cSpins": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "hKL": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "afKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 116 - }, - "CI_flags": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "phkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 216 - }, - "_DMM_MONITOR_SERIALIZATION": { - "fields": { - "SourceModeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FrequencyRangeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "DescriptorSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ModePruningAlgorithm": { - "type": { - "kind": "enum", - "name": "ModePruningAlgorithmEnum" - }, - "offset": 16 - }, - "VideoPresentTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "IsUsingDefaultProfile": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 13 - }, - "MonitorPowerState": { - "type": { - "kind": "enum", - "name": "MonitorPowerStateEnum" - }, - "offset": 20 - }, - "MonitorType": { - "type": { - "kind": "enum", - "name": "MonitorTypeEnum" - }, - "offset": 36 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IsSimulatedMonitor": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 12 - }, - "Orientation": { - "type": { - "kind": "enum", - "name": "OrientationEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagPROP": { - "fields": { - "fs": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "atomKey": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1243": { - "fields": { - "IdType": { - "type": { - "kind": "enum", - "name": "IdTypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123d": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "WhichSpace": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Offset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_WNDMSG": { - "fields": { - "abMsgs": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "maxMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSHAREDINFO": { - "fields": { - "psi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSERVERINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulSharedDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "aheList": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HANDLEENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "DefWindowSpecMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 552 - }, - "awmControl": { - "type": { - "count": 31, - "subtype": { - "kind": "struct", - "name": "_WNDMSG" - }, - "kind": "array" - }, - "offset": 40 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "HeEntrySize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DefWindowMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 536 - } - }, - "kind": "struct", - "size": 568 - }, - "__unnamed_181b": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1811" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_180d" - }, - "offset": 0 - }, - "DeviceSpecificData": { - "type": { - "kind": "struct", - "name": "__unnamed_1813" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_1817" - }, - "offset": 0 - }, - "MessageInterrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_180b" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_1815" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1819" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPOINT": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagIMC": { - "fields": { - "dwClientImcData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "hImeWnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pImcNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "tagKL": { - "fields": { - "uNumTbl": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "pklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "pklNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spkfPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "dwFontSigs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLastKbdType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 72 - }, - "dwKL_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "iBaseCharset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "dwKLID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "spkf": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "piiex": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMEINFOEX" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pspkfExtra": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "wchDiacritic": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 74 - }, - "dwLastKbdSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_115b": { - "fields": { - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_182e": { - "fields": { - "pRgb256x3x16": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pRaw": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pDxgi1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagTDB": { - "fields": { - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "TDB_Flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "pwti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "nPriority": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "ptdbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagCARET": { - "fields": { - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "iHideLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "hTimer": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "yOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "xOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "fVisible": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hBitmap": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cxOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cyOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "tid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "fOn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_LIGATURE1": { - "fields": { - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 4 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModificationNumber": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 6 + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" } - }, - "base_types": { - "unsigned char": { - "kind": "char", - "endian": "little", - "signed": false, - "size": 1 - }, - "float": { - "kind": "float", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "wchar": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "pointer": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - }, - "unsigned int": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "short": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned short": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 2 - }, - "long long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 8 - }, - "unsigned long long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - } - }, - "enums": { - "TextEnum": { - "base": "long", - "constants": { - "D3DKMDT_TRF_UNINITIALIZED": 0 - }, - "size": 4 - }, - "PreferenceEnum": { - "base": "long", - "constants": { - "D3DKMDT_MP_PREFERRED": 1, - "D3DKMDT_MP_MAXVALID": 2, - "D3DKMDT_MP_UNINITIALIZED": 0 - }, - "size": 4 - }, - "FileInformationClassEnum": { - "base": "long", - "constants": { - "FileInternalInformation": 6, - "FileQuotaInformation": 32, - "FileIoStatusBlockRangeInformation": 42, - "FilePipeLocalInformation": 24, - "FileStandardLinkInformation": 54, - "FileIdFullDirectoryInformation": 38, - "FileLinkInformation": 11, - "FileFullDirectoryInformation": 2, - "FileAllInformation": 18, - "FileSfioVolumeInformation": 45, - "FileStreamInformation": 22, - "FileRenameInformation": 10, - "FileValidDataLengthInformation": 39, - "FileAlternateNameInformation": 21, - "FileBasicInformation": 4, - "FilePositionInformation": 14, - "FileCompletionInformation": 30, - "FileAttributeCacheInformation": 52, - "FileReparsePointInformation": 33, - "FileMailslotSetInformation": 27, - "FileNetworkPhysicalNameInformation": 49, - "FileAllocationInformation": 19, - "FileIsRemoteDeviceInformation": 51, - "FileFullEaInformation": 15, - "FileProcessIdsUsingFileInformation": 47, - "FileDispositionInformation": 13, - "FileStandardInformation": 5, - "FileAccessInformation": 8, - "FileNumaNodeInformation": 53, - "FilePipeRemoteInformation": 25, - "FileIoPriorityHintInformation": 43, - "FileMailslotQueryInformation": 26, - "FileRemoteProtocolInformation": 55, - "FileNamesInformation": 12, - "FileHardLinkInformation": 46, - "FileEndOfFileInformation": 20, - "FileIdBothDirectoryInformation": 37, - "FileSfioReserveInformation": 44, - "FileIdGlobalTxDirectoryInformation": 50, - "FileNetworkOpenInformation": 34, - "FileObjectIdInformation": 29, - "FileMoveClusterInformation": 31, - "FileIoCompletionNotificationInformation": 41, - "FileNameInformation": 9, - "FileBothDirectoryInformation": 3, - "FileDirectoryInformation": 1, - "FileMaximumInformation": 56, - "FileNormalizedNameInformation": 48, - "FilePipeInformation": 23, - "FileCompressionInformation": 28, - "FileTrackingInformation": 36, - "FileEaInformation": 7, - "FileShortNameInformation": 40, - "FileModeInformation": 16, - "FileAlignmentInformation": 17, - "FileAttributeTagInformation": 35 - }, - "size": 4 - }, - "ModePruningAlgorithmEnum": { - "base": "long", - "constants": { - "DMM_MPA_MAXVALID": 3, - "DMM_MPA_GDI": 1, - "DMM_MPA_VISTA": 2, - "DMM_MPA_UNINITIALIZED": 0 - }, - "size": 4 - }, - "fmtEnum": { - "base": "unsigned long", - "constants": { - "CF_ENHMETAFILE": 14, - "CF_PENDATA": 10, - "CF_BITMAP": 2, - "CF_UNICODETEXT": 13, - "CF_HDROP": 15, - "CF_OEMTEXT": 7, - "CF_WAVE": 12, - "CF_DSPTEXT": 129, - "CF_DIBV5": 17, - "CF_TIFF": 6, - "CF_PALETTE": 9, - "CF_OWNERDISPLAY": 128, - "CF_DSPMETAFILEPICT": 131, - "CF_METAFILEPICT": 3, - "CF_RIFF": 11, - "CF_DSPENHMETAFILE": 142, - "CF_TEXT": 1, - "CF_LOCALE": 16, - "CF_SYLK": 4, - "CF_DSPBITMAP": 130, - "CF_DIB": 8, - "CF_DIF": 5 - }, - "size": 4 - }, - "MonitorPowerStateEnum": { - "base": "long", - "constants": { - "PowerDeviceUnspecified": 0, - "PowerDeviceD0": 1, - "PowerDeviceD1": 2, - "PowerDeviceD2": 3, - "PowerDeviceD3": 4, - "PowerDeviceMaximum": 5 - }, - "size": 4 - }, - "bTypeEnum": { - "base": "unsigned char", - "constants": { - "TYPE_DDEXACT": 11, - "TYPE_HOOK": 5, - "TYPE_FREE": 0, - "TYPE_MONITOR": 12, - "TYPE_GESTURE": 21, - "TYPE_DEVICEINFO": 19, - "TYPE_DDEACCESS": 9, - "TYPE_CALLPROC": 7, - "TYPE_CURSOR": 3, - "TYPE_KBDLAYOUT": 13, - "TYPE_WINEVENTHOOK": 15, - "TYPE_MENU": 2, - "TYPE_ACCELTABLE": 8, - "TYPE_TOUCH": 20, - "TYPE_SETWINDOWPOS": 4, - "TYPE_CLIPDATA": 6, - "TYPE_KBDFILE": 14, - "TYPE_DDECONV": 10, - "TYPE_HIDDATA": 18, - "TYPE_WINDOW": 1, - "TYPE_INPUTCONTEXT": 17, - "TYPE_TIMER": 16 - }, - "size": 1 - }, - "OriginEnum": { - "base": "long", - "constants": { - "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, - "D3DKMDT_MCO_UNINITIALIZED": 0, - "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, - "D3DKMDT_MCO_MAXVALID": 5, - "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, - "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 - }, - "size": 4 - }, - "CodePointTypeEnum": { - "base": "long", - "constants": { - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, - "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, - "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, - "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, - "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, - "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, - "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, - "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, - "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, - "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, - "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, - "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, - "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, - "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, - "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, - "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, - "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, - "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, - "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, - "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, - "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, - "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, - "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, - "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, - "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, - "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, - "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, - "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 - }, - "size": 4 - }, - "ConstraintTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MFRC_MAXPIXELRATE": 2, - "D3DKMDT_MFRC_ACTIVESIZE": 1, - "D3DKMDT_MFRC_UNINITIALIZED": 0 - }, - "size": 4 - }, - "VidPnTargetColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorTypeEnum": { - "base": "long", - "constants": { - "DMM_VMT_TEMPORARY_MONITOR": 4, - "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, - "DMM_VMT_PHYSICAL_MONITOR": 1, - "DMM_VMT_UNINITIALIZED": 0, - "DMM_VMT_SIMULATED_MONITOR": 5, - "DMM_VMT_PERSISTENT_MONITOR": 3 - }, - "size": 4 - }, - "PowerStateEnum": { - "base": "long", - "constants": { - "PowerSystemSleeping2": 3, - "PowerSystemSleeping1": 2, - "PowerSystemSleeping3": 4, - "PowerSystemUnspecified": 0, - "PowerSystemMaximum": 7, - "PowerSystemShutdown": 6, - "PowerSystemHibernate": 5, - "PowerSystemWorking": 1 - }, - "size": 4 - }, - "ShutdownTypeEnum": { - "base": "long", - "constants": { - "PowerActionNone": 0, - "PowerActionReserved": 1, - "PowerActionHibernate": 3, - "PowerActionShutdownOff": 6, - "PowerActionShutdown": 4, - "PowerActionSleep": 2, - "PowerActionShutdownReset": 5, - "PowerActionWarmEject": 7 - }, - "size": 4 - }, - "ScalingEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPS_CENTERED": 2, - "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, - "D3DKMDT_VPPS_STRETCHED": 3, - "D3DKMDT_VPPS_UNINITIALIZED": 0, - "D3DKMDT_VPPS_UNPINNED": 254, - "D3DKMDT_VPPS_IDENTITY": 1, - "D3DKMDT_VPPS_NOTSPECIFIED": 255, - "D3DKMDT_VPPS_CUSTOM": 5, - "D3DKMDT_VPPS_RESERVED1": 253 - }, - "size": 4 - }, - "CurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "StorageTypeEnum": { - "base": "long", - "constants": { - "SmStorageActual": 0, - "SmStorageNonActual": 1 - }, - "size": 4 - }, - "ScanLineOrderingEnum": { - "base": "long", - "constants": { - "D3DDDI_VSSLO_PROGRESSIVE": 1, - "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, - "D3DDDI_VSSLO_UNINITIALIZED": 0, - "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, - "D3DDDI_VSSLO_OTHER": 255 - }, - "size": 4 - }, - "PixelValueAccessModeEnum": { - "base": "long", - "constants": { - "D3DKMDT_PVAM_UNINITIALIZED": 0, - "D3DKMDT_PVAM_DIRECT": 1, - "D3DKMDT_PVAM_PRESETPALETTE": 2, - "D3DKMDT_PVAM_MAXVALID": 3 - }, - "size": 4 - }, - "PriorityPolicyEnum": { - "base": "long", - "constants": { - "IrqPriorityHigh": 3, - "IrqPriorityNormal": 2, - "IrqPriorityLow": 1, - "IrqPriorityUndefined": 0 - }, - "size": 4 - }, - "OrientationEnum": { - "base": "long", - "constants": { - "D3DKMDT_MO_90DEG": 2, - "D3DKMDT_MO_0DEG": 1, - "D3DKMDT_MO_270DEG": 4, - "D3DKMDT_MO_UNINITIALIZED": 0, - "D3DKMDT_MO_180DEG": 3 - }, - "size": 4 - }, - "ContentEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPC_NOTSPECIFIED": 255, - "D3DKMDT_VPPC_UNINITIALIZED": 0, - "D3DKMDT_VPPC_GRAPHICS": 1, - "D3DKMDT_VPPC_VIDEO": 2 - }, - "size": 4 - }, - "ColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MoveRectStyleEnum": { - "base": "long", - "constants": { - "MoveRectMidTopAtCursor": 1, - "MoveRectSidewiseKeepPositionAtCursor": 3, - "MoveRectKeepPositionAtCursor": 0, - "MoveRectKeepAspectRatioAtCursor": 2 - }, - "size": 4 - }, - "VideoStandardEnum": { - "base": "long", - "constants": { - "D3DKMDT_VSS_PAL_G": 11, - "D3DKMDT_VSS_PAL_D": 14, - "D3DKMDT_VSS_PAL_B": 9, - "D3DKMDT_VSS_SECAM_K": 21, - "D3DKMDT_VSS_VESA_GTF": 2, - "D3DKMDT_VSS_PAL_L": 30, - "D3DKMDT_VSS_PAL_M": 31, - "D3DKMDT_VSS_PAL_K": 28, - "D3DKMDT_VSS_PAL_H": 12, - "D3DKMDT_VSS_PAL_I": 13, - "D3DKMDT_VSS_SECAM_L1": 24, - "D3DKMDT_VSS_VESA_DMT": 1, - "D3DKMDT_VSS_SECAM_L": 23, - "D3DKMDT_VSS_EIA_861": 25, - "D3DKMDT_VSS_PAL_N": 15, - "D3DKMDT_VSS_APPLE": 5, - "D3DKMDT_VSS_NTSC_M": 6, - "D3DKMDT_VSS_SECAM_H": 20, - "D3DKMDT_VSS_NTSC_J": 7, - "D3DKMDT_VSS_SECAM_B": 17, - "D3DKMDT_VSS_SECAM_G": 19, - "D3DKMDT_VSS_SECAM_D": 18, - "D3DKMDT_VSS_IBM": 4, - "D3DKMDT_VSS_SECAM_K1": 22, - "D3DKMDT_VSS_PAL_NC": 16, - "D3DKMDT_VSS_PAL_B1": 10, - "D3DKMDT_VSS_EIA_861A": 26, - "D3DKMDT_VSS_EIA_861B": 27, - "D3DKMDT_VSS_UNINITIALIZED": 0, - "D3DKMDT_VSS_OTHER": 255, - "D3DKMDT_VSS_PAL_K1": 29, - "D3DKMDT_VSS_VESA_CVT": 3, - "D3DKMDT_VSS_NTSC_443": 8 - }, - "size": 4 - }, - "ImportanceOrdinalEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPI_QUATERNARY": 4, - "D3DKMDT_VPPI_SECONDARY": 2, - "D3DKMDT_VPPI_PRIMARY": 1, - "D3DKMDT_VPPI_QUINARY": 5, - "D3DKMDT_VPPI_DENARY": 10, - "D3DKMDT_VPPI_SENARY": 6, - "D3DKMDT_VPPI_TERTIARY": 3, - "D3DKMDT_VPPI_SEPTENARY": 7, - "D3DKMDT_VPPI_NONARY": 9, - "D3DKMDT_VPPI_UNINITIALIZED": 0, - "D3DKMDT_VPPI_OCTONARY": 8, - "D3DKMDT_VPPI_MAX": 32, - "D3DKMDT_VPPI_NOTSPECIFIED": 255 - }, - "size": 4 - }, - "RangeTypeEnum": { - "base": "long", - "constants": { - "SmRangeBool": 2, - "SmRangeNonSharedInfo": 1, - "SmRangeSharedInfo": 0 - }, - "size": 4 - }, - "TimingTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MTT_EXTRASTANDARD": 3, - "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, - "D3DKMDT_MTT_STANDARD": 2, - "D3DKMDT_MTT_UNINITIALIZED": 0, - "D3DKMDT_MTT_MAXVALID": 6, - "D3DKMDT_MTT_DETAILED": 4, - "D3DKMDT_MTT_ESTABLISHED": 1 - }, - "size": 4 - }, - "PixelFormatEnum": { - "base": "long", - "constants": { - "D3DDDIFMT_W11V11U10": 65, - "D3DDDIFMT_A16B16G16R16F": 113, - "D3DDDIFMT_A8R8G8B8": 21, - "D3DDDIFMT_D32_LOCKABLE": 84, - "D3DDDIFMT_L8": 50, - "D3DDDIFMT_DXVA_RESERVED27": 177, - "D3DDDIFMT_DXVA_RESERVED26": 176, - "D3DDDIFMT_DXVA_RESERVED25": 175, - "D3DDDIFMT_DXVA_RESERVED24": 174, - "D3DDDIFMT_DXVA_RESERVED23": 173, - "D3DDDIFMT_DXVA_RESERVED22": 172, - "D3DDDIFMT_DXVA_RESERVED21": 171, - "D3DDDIFMT_DXVA_RESERVED20": 170, - "D3DDDIFMT_DXVA_RESERVED29": 179, - "D3DDDIFMT_DXVA_RESERVED28": 178, - "D3DDDIFMT_R3G3B2": 27, - "D3DDDIFMT_A8R3G3B2": 29, - "D3DDDIFMT_INDEX16": 101, - "D3DDDIFMT_X4R4G4B4": 30, - "D3DDDIFMT_A4R4G4B4": 26, - "D3DDDIFMT_Q8W8V8U8": 63, - "D3DDDIFMT_FORCE_UINT": 2147483647, - "D3DDDIFMT_S1D15": 72, - "D3DDDIFMT_A16B16G16R16": 36, - "D3DDDIFMT_A8L8": 51, - "D3DDDIFMT_D24X4S4": 79, - "D3DDDIFMT_BINARYBUFFER": 199, - "D3DDDIFMT_DXVA_RESERVED30": 180, - "D3DDDIFMT_R32F": 114, - "D3DDDIFMT_VERTEXDATA": 100, - "D3DDDIFMT_R5G6B5": 23, - "D3DDDIFMT_R8G8_B8G8": 1195525970, - "D3DDDIFMT_A4L4": 52, - "D3DDDIFMT_A1R5G5B5": 25, - "D3DDDIFMT_X1R5G5B5": 24, - "D3DDDIFMT_D32": 71, - "D3DDDIFMT_G8R8_G8B8": 1111970375, - "D3DDDIFMT_A2B10G10R10": 31, - "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, - "D3DDDIFMT_MULTI2_ARGB8": 827606349, - "D3DDDIFMT_D16_LOCKABLE": 70, - "D3DDDIFMT_BITSTREAMDATA": 156, - "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, - "D3DDDIFMT_X8B8G8R8": 33, - "D3DDDIFMT_R8G8B8": 20, - "D3DDDIFMT_S8_LOCKABLE": 85, - "D3DDDIFMT_D24S8": 75, - "D3DDDIFMT_X8D24": 76, - "D3DDDIFMT_A2R10G10B10": 35, - "D3DDDIFMT_P8": 41, - "D3DDDIFMT_L6V5U5": 61, - "D3DDDIFMT_X8R8G8B8": 22, - "D3DDDIFMT_D16": 80, - "D3DDDIFMT_A2W10V10U10": 67, - "D3DDDIFMT_D24FS8": 83, - "D3DDDIFMT_MOTIONVECTORBUFFER": 157, - "D3DDDIFMT_L16": 81, - "D3DDDIFMT_X8L8V8U8": 62, - "D3DDDIFMT_A32B32G32R32F": 116, - "D3DDDIFMT_A8P8": 40, - "D3DDDIFMT_YUY2": 844715353, - "D3DDDIFMT_R16F": 111, - "D3DDDIFMT_G16R16": 34, - "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, - "D3DDDIFMT_Q16W16V16U16": 110, - "D3DDDIFMT_S8D24": 74, - "D3DDDIFMT_PICTUREPARAMSDATA": 150, - "D3DDDIFMT_A1": 118, - "D3DDDIFMT_FILMGRAINBUFFER": 158, - "D3DDDIFMT_A8": 28, - "D3DDDIFMT_UNKNOWN": 0, - "D3DDDIFMT_DXVA_RESERVED19": 169, - "D3DDDIFMT_D32F_LOCKABLE": 82, - "D3DDDIFMT_MACROBLOCKDATA": 151, - "D3DDDIFMT_A8B8G8R8": 32, - "D3DDDIFMT_UYVY": 1498831189, - "D3DDDIFMT_DXT1": 827611204, - "D3DDDIFMT_DEBLOCKINGDATA": 153, - "D3DDDIFMT_DXT3": 861165636, - "D3DDDIFMT_DXT4": 877942852, - "D3DDDIFMT_DXT5": 894720068, - "D3DDDIFMT_CxV8U8": 117, - "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, - "D3DDDIFMT_DXVA_RESERVED9": 159, - "D3DDDIFMT_DXT2": 844388420, - "D3DDDIFMT_G32R32F": 115, - "D3DDDIFMT_X4S4D24": 78, - "D3DDDIFMT_D24X8": 77, - "D3DDDIFMT_DXVA_RESERVED12": 162, - "D3DDDIFMT_DXVA_RESERVED13": 163, - "D3DDDIFMT_DXVA_RESERVED10": 160, - "D3DDDIFMT_DXVA_RESERVED11": 161, - "D3DDDIFMT_DXVA_RESERVED16": 166, - "D3DDDIFMT_DXVA_RESERVED17": 167, - "D3DDDIFMT_DXVA_RESERVED14": 164, - "D3DDDIFMT_DXVA_RESERVED15": 165, - "D3DDDIFMT_DXVA_RESERVED18": 168, - "D3DDDIFMT_D15S1": 73, - "D3DDDIFMT_V16U16": 64, - "D3DDDIFMT_SLICECONTROLDATA": 155, - "D3DDDIFMT_G16R16F": 112, - "D3DDDIFMT_INDEX32": 102, - "D3DDDIFMT_V8U8": 60 - }, - "size": 4 - }, - "IdTypeEnum": { - "base": "long", - "constants": { - "BusQueryCompatibleIDs": 2, - "BusQueryInstanceID": 3, - "BusQueryDeviceID": 0, - "BusQueryDeviceSerialNumber": 4, - "BusQueryHardwareIDs": 1, - "BusQueryContainerID": 5 - }, - "size": 4 - }, - "StartCurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "TypeEnum": { - "base": "long", - "constants": { - "DevicePowerState": 1, - "SystemPowerState": 0 - }, - "size": 4 - }, - "RotationEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPR_IDENTITY": 1, - "D3DKMDT_VPPR_NOTSPECIFIED": 255, - "D3DKMDT_VPPR_UNPINNED": 254, - "D3DKMDT_VPPR_ROTATE270": 4, - "D3DKMDT_VPPR_ROTATE90": 2, - "D3DKMDT_VPPR_ROTATE180": 3, - "D3DKMDT_VPPR_UNINITIALIZED": 0 - }, - "size": 4 - }, - "CopyProtectionTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPMT_NOTSPECIFIED": 255, - "D3DKMDT_VPPMT_UNINITIALIZED": 0, - "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, - "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, - "D3DKMDT_VPPMT_NOPROTECTION": 1 - }, - "size": 4 - }, - "FsInformationClassEnum": { - "base": "long", - "constants": { - "FileFsFullSizeInformation": 7, - "FileFsAttributeInformation": 5, - "FileFsVolumeFlagsInformation": 10, - "FileFsVolumeInformation": 1, - "FileFsSizeInformation": 3, - "FileFsLabelInformation": 2, - "FileFsDeviceInformation": 4, - "FileFsControlInformation": 6, - "FileFsDriverPathInformation": 9, - "FileFsMaximumInformation": 11, - "FileFsObjectIdInformation": 8 - }, - "size": 4 - }, - "DeviceTextTypeEnum": { - "base": "long", - "constants": { - "DeviceTextLocationInformation": 1, - "DeviceTextDescription": 0 - }, - "size": 4 - } - }, - "metadata": { - "producer": { - "version": "0.0.1", - "name": "dgmcdona-via-conversion-script", - "datetime": "2024-09-03T18:22:52Z" - }, - "format": "4.0.0" - } } diff --git a/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json b/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json index 80de6b279..ec81241b2 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json @@ -1,18683 +1,18683 @@ { - "symbols": {}, - "enums": { - "TextEnum": { - "base": "long", - "constants": { - "D3DKMDT_TRF_UNINITIALIZED": 0 - }, - "size": 4 - }, - "PreferenceEnum": { - "base": "long", - "constants": { - "D3DKMDT_MP_PREFERRED": 1, - "D3DKMDT_MP_MAXVALID": 2, - "D3DKMDT_MP_UNINITIALIZED": 0 - }, - "size": 4 - }, - "FileInformationClassEnum": { - "base": "long", - "constants": { - "FileInternalInformation": 6, - "FileQuotaInformation": 32, - "FileIoStatusBlockRangeInformation": 42, - "FilePipeLocalInformation": 24, - "FileStandardLinkInformation": 54, - "FileIdFullDirectoryInformation": 38, - "FileLinkInformation": 11, - "FileFullDirectoryInformation": 2, - "FileAllInformation": 18, - "FileSfioVolumeInformation": 45, - "FileStreamInformation": 22, - "FileRenameInformation": 10, - "FileValidDataLengthInformation": 39, - "FileAlternateNameInformation": 21, - "FileBasicInformation": 4, - "FilePositionInformation": 14, - "FileCompletionInformation": 30, - "FileAttributeCacheInformation": 52, - "FileReparsePointInformation": 33, - "FileMailslotSetInformation": 27, - "FileNetworkPhysicalNameInformation": 49, - "FileAllocationInformation": 19, - "FileIsRemoteDeviceInformation": 51, - "FileFullEaInformation": 15, - "FileProcessIdsUsingFileInformation": 47, - "FileDispositionInformation": 13, - "FileStandardInformation": 5, - "FileAccessInformation": 8, - "FileNumaNodeInformation": 53, - "FilePipeRemoteInformation": 25, - "FileIoPriorityHintInformation": 43, - "FileMailslotQueryInformation": 26, - "FileRemoteProtocolInformation": 55, - "FileNamesInformation": 12, - "FileHardLinkInformation": 46, - "FileEndOfFileInformation": 20, - "FileIdBothDirectoryInformation": 37, - "FileSfioReserveInformation": 44, - "FileIdGlobalTxDirectoryInformation": 50, - "FileNetworkOpenInformation": 34, - "FileObjectIdInformation": 29, - "FileMoveClusterInformation": 31, - "FileIoCompletionNotificationInformation": 41, - "FileNameInformation": 9, - "FileBothDirectoryInformation": 3, - "FileDirectoryInformation": 1, - "FileMaximumInformation": 56, - "FileNormalizedNameInformation": 48, - "FilePipeInformation": 23, - "FileCompressionInformation": 28, - "FileTrackingInformation": 36, - "FileEaInformation": 7, - "FileShortNameInformation": 40, - "FileModeInformation": 16, - "FileAlignmentInformation": 17, - "FileAttributeTagInformation": 35 - }, - "size": 4 - }, - "ModePruningAlgorithmEnum": { - "base": "long", - "constants": { - "DMM_MPA_MAXVALID": 3, - "DMM_MPA_GDI": 1, - "DMM_MPA_VISTA": 2, - "DMM_MPA_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorPowerStateEnum": { - "base": "long", - "constants": { - "PowerDeviceUnspecified": 0, - "PowerDeviceD0": 1, - "PowerDeviceD1": 2, - "PowerDeviceD2": 3, - "PowerDeviceD3": 4, - "PowerDeviceMaximum": 5 - }, - "size": 4 - }, - "OriginEnum": { - "base": "long", - "constants": { - "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, - "D3DKMDT_MCO_UNINITIALIZED": 0, - "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, - "D3DKMDT_MCO_MAXVALID": 5, - "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, - "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 - }, - "size": 4 - }, - "CodePointTypeEnum": { - "base": "long", - "constants": { - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, - "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, - "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, - "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, - "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, - "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, - "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, - "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, - "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, - "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, - "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, - "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, - "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, - "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, - "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, - "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, - "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, - "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, - "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, - "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, - "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, - "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, - "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, - "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, - "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, - "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, - "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, - "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 - }, - "size": 4 - }, - "ConstraintTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MFRC_MAXPIXELRATE": 2, - "D3DKMDT_MFRC_ACTIVESIZE": 1, - "D3DKMDT_MFRC_UNINITIALIZED": 0 - }, - "size": 4 - }, - "VidPnTargetColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorTypeEnum": { - "base": "long", - "constants": { - "DMM_VMT_TEMPORARY_MONITOR": 4, - "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, - "DMM_VMT_PHYSICAL_MONITOR": 1, - "DMM_VMT_UNINITIALIZED": 0, - "DMM_VMT_SIMULATED_MONITOR": 5, - "DMM_VMT_PERSISTENT_MONITOR": 3 - }, - "size": 4 - }, - "PowerStateEnum": { - "base": "long", - "constants": { - "PowerSystemSleeping2": 3, - "PowerSystemSleeping1": 2, - "PowerSystemSleeping3": 4, - "PowerSystemUnspecified": 0, - "PowerSystemMaximum": 7, - "PowerSystemShutdown": 6, - "PowerSystemHibernate": 5, - "PowerSystemWorking": 1 - }, - "size": 4 - }, - "ShutdownTypeEnum": { - "base": "long", - "constants": { - "PowerActionNone": 0, - "PowerActionReserved": 1, - "PowerActionHibernate": 3, - "PowerActionShutdownOff": 6, - "PowerActionShutdown": 4, - "PowerActionSleep": 2, - "PowerActionShutdownReset": 5, - "PowerActionWarmEject": 7 - }, - "size": 4 - }, - "ScalingEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPS_CENTERED": 2, - "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, - "D3DKMDT_VPPS_STRETCHED": 3, - "D3DKMDT_VPPS_UNINITIALIZED": 0, - "D3DKMDT_VPPS_UNPINNED": 254, - "D3DKMDT_VPPS_IDENTITY": 1, - "D3DKMDT_VPPS_NOTSPECIFIED": 255, - "D3DKMDT_VPPS_CUSTOM": 5, - "D3DKMDT_VPPS_RESERVED1": 253 - }, - "size": 4 - }, - "CurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "StorageTypeEnum": { - "base": "long", - "constants": { - "SmStorageActual": 0, - "SmStorageNonActual": 1 - }, - "size": 4 - }, - "ScanLineOrderingEnum": { - "base": "long", - "constants": { - "D3DDDI_VSSLO_PROGRESSIVE": 1, - "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, - "D3DDDI_VSSLO_UNINITIALIZED": 0, - "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, - "D3DDDI_VSSLO_OTHER": 255 - }, - "size": 4 - }, - "PixelValueAccessModeEnum": { - "base": "long", - "constants": { - "D3DKMDT_PVAM_UNINITIALIZED": 0, - "D3DKMDT_PVAM_DIRECT": 1, - "D3DKMDT_PVAM_PRESETPALETTE": 2, - "D3DKMDT_PVAM_MAXVALID": 3 - }, - "size": 4 - }, - "PriorityPolicyEnum": { - "base": "long", - "constants": { - "IrqPriorityHigh": 3, - "IrqPriorityNormal": 2, - "IrqPriorityLow": 1, - "IrqPriorityUndefined": 0 - }, - "size": 4 - }, - "OrientationEnum": { - "base": "long", - "constants": { - "D3DKMDT_MO_90DEG": 2, - "D3DKMDT_MO_0DEG": 1, - "D3DKMDT_MO_270DEG": 4, - "D3DKMDT_MO_UNINITIALIZED": 0, - "D3DKMDT_MO_180DEG": 3 - }, - "size": 4 - }, - "ContentEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPC_NOTSPECIFIED": 255, - "D3DKMDT_VPPC_UNINITIALIZED": 0, - "D3DKMDT_VPPC_GRAPHICS": 1, - "D3DKMDT_VPPC_VIDEO": 2 - }, - "size": 4 - }, - "ColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MoveRectStyleEnum": { - "base": "long", - "constants": { - "MoveRectMidTopAtCursor": 1, - "MoveRectSidewiseKeepPositionAtCursor": 3, - "MoveRectKeepPositionAtCursor": 0, - "MoveRectKeepAspectRatioAtCursor": 2 - }, - "size": 4 - }, - "VideoStandardEnum": { - "base": "long", - "constants": { - "D3DKMDT_VSS_PAL_G": 11, - "D3DKMDT_VSS_PAL_D": 14, - "D3DKMDT_VSS_PAL_B": 9, - "D3DKMDT_VSS_SECAM_K": 21, - "D3DKMDT_VSS_VESA_GTF": 2, - "D3DKMDT_VSS_PAL_L": 30, - "D3DKMDT_VSS_PAL_M": 31, - "D3DKMDT_VSS_PAL_K": 28, - "D3DKMDT_VSS_PAL_H": 12, - "D3DKMDT_VSS_PAL_I": 13, - "D3DKMDT_VSS_SECAM_L1": 24, - "D3DKMDT_VSS_VESA_DMT": 1, - "D3DKMDT_VSS_SECAM_L": 23, - "D3DKMDT_VSS_EIA_861": 25, - "D3DKMDT_VSS_PAL_N": 15, - "D3DKMDT_VSS_APPLE": 5, - "D3DKMDT_VSS_NTSC_M": 6, - "D3DKMDT_VSS_SECAM_H": 20, - "D3DKMDT_VSS_NTSC_J": 7, - "D3DKMDT_VSS_SECAM_B": 17, - "D3DKMDT_VSS_SECAM_G": 19, - "D3DKMDT_VSS_SECAM_D": 18, - "D3DKMDT_VSS_IBM": 4, - "D3DKMDT_VSS_SECAM_K1": 22, - "D3DKMDT_VSS_PAL_NC": 16, - "D3DKMDT_VSS_PAL_B1": 10, - "D3DKMDT_VSS_EIA_861A": 26, - "D3DKMDT_VSS_EIA_861B": 27, - "D3DKMDT_VSS_UNINITIALIZED": 0, - "D3DKMDT_VSS_OTHER": 255, - "D3DKMDT_VSS_PAL_K1": 29, - "D3DKMDT_VSS_VESA_CVT": 3, - "D3DKMDT_VSS_NTSC_443": 8 - }, - "size": 4 - }, - "ImportanceOrdinalEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPI_QUATERNARY": 4, - "D3DKMDT_VPPI_SECONDARY": 2, - "D3DKMDT_VPPI_PRIMARY": 1, - "D3DKMDT_VPPI_QUINARY": 5, - "D3DKMDT_VPPI_DENARY": 10, - "D3DKMDT_VPPI_SENARY": 6, - "D3DKMDT_VPPI_TERTIARY": 3, - "D3DKMDT_VPPI_SEPTENARY": 7, - "D3DKMDT_VPPI_NONARY": 9, - "D3DKMDT_VPPI_UNINITIALIZED": 0, - "D3DKMDT_VPPI_OCTONARY": 8, - "D3DKMDT_VPPI_MAX": 32, - "D3DKMDT_VPPI_NOTSPECIFIED": 255 - }, - "size": 4 - }, - "RangeTypeEnum": { - "base": "long", - "constants": { - "SmRangeBool": 2, - "SmRangeNonSharedInfo": 1, - "SmRangeSharedInfo": 0 - }, - "size": 4 - }, - "TimingTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MTT_EXTRASTANDARD": 3, - "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, - "D3DKMDT_MTT_STANDARD": 2, - "D3DKMDT_MTT_UNINITIALIZED": 0, - "D3DKMDT_MTT_MAXVALID": 6, - "D3DKMDT_MTT_DETAILED": 4, - "D3DKMDT_MTT_ESTABLISHED": 1 - }, - "size": 4 - }, - "PixelFormatEnum": { - "base": "long", - "constants": { - "D3DDDIFMT_W11V11U10": 65, - "D3DDDIFMT_A16B16G16R16F": 113, - "D3DDDIFMT_A8R8G8B8": 21, - "D3DDDIFMT_D32_LOCKABLE": 84, - "D3DDDIFMT_L8": 50, - "D3DDDIFMT_DXVA_RESERVED27": 177, - "D3DDDIFMT_DXVA_RESERVED26": 176, - "D3DDDIFMT_DXVA_RESERVED25": 175, - "D3DDDIFMT_DXVA_RESERVED24": 174, - "D3DDDIFMT_DXVA_RESERVED23": 173, - "D3DDDIFMT_DXVA_RESERVED22": 172, - "D3DDDIFMT_DXVA_RESERVED21": 171, - "D3DDDIFMT_DXVA_RESERVED20": 170, - "D3DDDIFMT_DXVA_RESERVED29": 179, - "D3DDDIFMT_DXVA_RESERVED28": 178, - "D3DDDIFMT_R3G3B2": 27, - "D3DDDIFMT_A8R3G3B2": 29, - "D3DDDIFMT_INDEX16": 101, - "D3DDDIFMT_X4R4G4B4": 30, - "D3DDDIFMT_A4R4G4B4": 26, - "D3DDDIFMT_Q8W8V8U8": 63, - "D3DDDIFMT_FORCE_UINT": 2147483647, - "D3DDDIFMT_S1D15": 72, - "D3DDDIFMT_A16B16G16R16": 36, - "D3DDDIFMT_A8L8": 51, - "D3DDDIFMT_D24X4S4": 79, - "D3DDDIFMT_BINARYBUFFER": 199, - "D3DDDIFMT_DXVA_RESERVED30": 180, - "D3DDDIFMT_R32F": 114, - "D3DDDIFMT_VERTEXDATA": 100, - "D3DDDIFMT_R5G6B5": 23, - "D3DDDIFMT_R8G8_B8G8": 1195525970, - "D3DDDIFMT_A4L4": 52, - "D3DDDIFMT_A1R5G5B5": 25, - "D3DDDIFMT_X1R5G5B5": 24, - "D3DDDIFMT_D32": 71, - "D3DDDIFMT_G8R8_G8B8": 1111970375, - "D3DDDIFMT_A2B10G10R10": 31, - "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, - "D3DDDIFMT_MULTI2_ARGB8": 827606349, - "D3DDDIFMT_D16_LOCKABLE": 70, - "D3DDDIFMT_BITSTREAMDATA": 156, - "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, - "D3DDDIFMT_X8B8G8R8": 33, - "D3DDDIFMT_R8G8B8": 20, - "D3DDDIFMT_S8_LOCKABLE": 85, - "D3DDDIFMT_D24S8": 75, - "D3DDDIFMT_X8D24": 76, - "D3DDDIFMT_A2R10G10B10": 35, - "D3DDDIFMT_P8": 41, - "D3DDDIFMT_L6V5U5": 61, - "D3DDDIFMT_X8R8G8B8": 22, - "D3DDDIFMT_D16": 80, - "D3DDDIFMT_A2W10V10U10": 67, - "D3DDDIFMT_D24FS8": 83, - "D3DDDIFMT_MOTIONVECTORBUFFER": 157, - "D3DDDIFMT_L16": 81, - "D3DDDIFMT_X8L8V8U8": 62, - "D3DDDIFMT_A32B32G32R32F": 116, - "D3DDDIFMT_A8P8": 40, - "D3DDDIFMT_YUY2": 844715353, - "D3DDDIFMT_R16F": 111, - "D3DDDIFMT_G16R16": 34, - "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, - "D3DDDIFMT_Q16W16V16U16": 110, - "D3DDDIFMT_S8D24": 74, - "D3DDDIFMT_PICTUREPARAMSDATA": 150, - "D3DDDIFMT_A1": 118, - "D3DDDIFMT_FILMGRAINBUFFER": 158, - "D3DDDIFMT_A8": 28, - "D3DDDIFMT_UNKNOWN": 0, - "D3DDDIFMT_DXVA_RESERVED19": 169, - "D3DDDIFMT_D32F_LOCKABLE": 82, - "D3DDDIFMT_MACROBLOCKDATA": 151, - "D3DDDIFMT_A8B8G8R8": 32, - "D3DDDIFMT_UYVY": 1498831189, - "D3DDDIFMT_DXT1": 827611204, - "D3DDDIFMT_DEBLOCKINGDATA": 153, - "D3DDDIFMT_DXT3": 861165636, - "D3DDDIFMT_DXT4": 877942852, - "D3DDDIFMT_DXT5": 894720068, - "D3DDDIFMT_CxV8U8": 117, - "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, - "D3DDDIFMT_DXVA_RESERVED9": 159, - "D3DDDIFMT_DXT2": 844388420, - "D3DDDIFMT_G32R32F": 115, - "D3DDDIFMT_X4S4D24": 78, - "D3DDDIFMT_D24X8": 77, - "D3DDDIFMT_DXVA_RESERVED12": 162, - "D3DDDIFMT_DXVA_RESERVED13": 163, - "D3DDDIFMT_DXVA_RESERVED10": 160, - "D3DDDIFMT_DXVA_RESERVED11": 161, - "D3DDDIFMT_DXVA_RESERVED16": 166, - "D3DDDIFMT_DXVA_RESERVED17": 167, - "D3DDDIFMT_DXVA_RESERVED14": 164, - "D3DDDIFMT_DXVA_RESERVED15": 165, - "D3DDDIFMT_DXVA_RESERVED18": 168, - "D3DDDIFMT_D15S1": 73, - "D3DDDIFMT_V16U16": 64, - "D3DDDIFMT_SLICECONTROLDATA": 155, - "D3DDDIFMT_G16R16F": 112, - "D3DDDIFMT_INDEX32": 102, - "D3DDDIFMT_V8U8": 60 - }, - "size": 4 - }, - "IdTypeEnum": { - "base": "long", - "constants": { - "BusQueryCompatibleIDs": 2, - "BusQueryInstanceID": 3, - "BusQueryDeviceID": 0, - "BusQueryDeviceSerialNumber": 4, - "BusQueryHardwareIDs": 1, - "BusQueryContainerID": 5 - }, - "size": 4 - }, - "StartCurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "TypeEnum": { - "base": "long", - "constants": { - "DevicePowerState": 1, - "SystemPowerState": 0 - }, - "size": 4 - }, - "RotationEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPR_IDENTITY": 1, - "D3DKMDT_VPPR_NOTSPECIFIED": 255, - "D3DKMDT_VPPR_UNPINNED": 254, - "D3DKMDT_VPPR_ROTATE270": 4, - "D3DKMDT_VPPR_ROTATE90": 2, - "D3DKMDT_VPPR_ROTATE180": 3, - "D3DKMDT_VPPR_UNINITIALIZED": 0 - }, - "size": 4 - }, - "CopyProtectionTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPMT_NOTSPECIFIED": 255, - "D3DKMDT_VPPMT_UNINITIALIZED": 0, - "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, - "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, - "D3DKMDT_VPPMT_NOPROTECTION": 1 - }, - "size": 4 - }, - "FsInformationClassEnum": { - "base": "long", - "constants": { - "FileFsFullSizeInformation": 7, - "FileFsAttributeInformation": 5, - "FileFsVolumeFlagsInformation": 10, - "FileFsVolumeInformation": 1, - "FileFsSizeInformation": 3, - "FileFsLabelInformation": 2, - "FileFsDeviceInformation": 4, - "FileFsControlInformation": 6, - "FileFsDriverPathInformation": 9, - "FileFsMaximumInformation": 11, - "FileFsObjectIdInformation": 8 - }, - "size": 4 - }, - "DeviceTextTypeEnum": { - "base": "long", - "constants": { - "DeviceTextLocationInformation": 1, - "DeviceTextDescription": 0 - }, - "size": 4 - } - }, - "metadata": { - "producer": { - "version": "0.0.1", - "name": "dgmcdona-via-conversion-script", - "datetime": "2024-09-03T18:22:52Z" - }, - "format": "4.0.0" - }, - "user_types": { - "HWINSTA__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1153": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 59 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 9 - }, - "offset": 0 - }, - "Region": { - "type": { - "bit_position": 61, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 39 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1960": { - "fields": { - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagCLIENTTHREADINFO": { - "fields": { - "fsWakeMask": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "CTIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fsWakeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - }, - "fsWakeBitsJournal": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "fsChangeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4 - }, - "tickLastMsgChecked": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "tagKbdNlsLayer": { - "fields": { - "OEMIdentifier": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "NumOfVkToF": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pusMouseVKey": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "NumOfMouseVKey": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pVkToF": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_FUNCTION_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "LayoutInformation": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1158": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 2 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HBITMAP__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_124b": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1 - }, - "InPath": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_TL": { - "fields": { - "pfnFree": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pobj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagTOUCHINPUTINFO": { - "fields": { - "dwcInputs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "TouchInput": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagTOUCHINPUT" - }, - "kind": "array" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 80 - }, - "tagTHREADINFO": { - "fields": { - "ForceLegacyResizeNCMetr": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptl": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 336 - }, - "timeLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 448 - }, - "DontJournalAttach": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fPack": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 26 - }, - "offset": 928 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 516 - }, - "psmsSent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 424 - }, - "hPrevHidData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 880 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 552 - }, - "DefaultCharset": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 512 - }, - "psmsReceiveList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "sphkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 560 - }, - "No50ExStyles": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "IgnoreFaults": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pClientInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "DDENoAsyncReg": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DealyHwndShakeChk": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "amdesk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 720 - }, - "fsChangeBitsRemoved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 704 - }, - "psmsCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 432 - }, - "NoInitFlagsOnFocus": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "StrictLLHook": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "NoShadow": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EnumHelv": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Winver31": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Win30AvgWidth": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "AlwaysSendSyncPaint": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "IgnoreNoDiscard": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cPaintsReady": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 480 - }, - "SubtractClips": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "apEvent": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 712 - }, - "cEnterCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 672 - }, - "ptLastReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 636 - }, - "fThreadCleanupFinished": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "idLast": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 456 - }, - "HackWinFlags": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptdb": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "SpareCompatFlags2": { - "type": { - "bit_position": 33, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 31 - }, - "offset": 520 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "mlPost": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 680 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "NoCustomPaperSize": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cTimersReady": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 484 - }, - "NoScrollBarCtxMenu": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 384 - }, - "cNestedStableVisRgn": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "DDE": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "DpiAware": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "MultipleBands": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "AnimationOff": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "No50ExStyleBits": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulThreadFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 928 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "fsReserveKeys": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 708 - }, - "hdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 472 - }, - "MoreExtraWndWords": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoGhost": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoHRGN1": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 628 - }, - "hGestureInfoCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HGESTUREINFO__" - }, - "kind": "pointer" - }, - "offset": 896 - }, - "GiveUpForegound": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "spDefaultImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 656 - }, - "pmsd": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MOVESIZEDATA" - }, - "kind": "pointer" - }, - "offset": 544 - }, - "HardwareMixer": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoEMFSpooling": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 904 - }, - "EnumTTNotDevice": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fSpecialInitialization": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ForceFusion": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cti": { - "type": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "offset": 864 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pstrAppName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 344 - }, - "SendMnuDblClk": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DDENoSync": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EditNoMouseHide": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "OpenGLEMF": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hTouchInputCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HTOUCHINPUT__" - }, - "kind": "pointer" - }, - "offset": 888 - }, - "pEventQueueServer": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "NoPaddedBorder": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoDrawPatRect": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTTGrapchis": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "GetDeviceCaps": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pq": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 352 - }, - "NoSoftCursOnMoveSize": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hEventQueueClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 592 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "wchInjected": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 706 - }, - "TransparentBltMirror": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "CallTTDevice": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DisableDBCSProp": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsShellDlg": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "PtiLink": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 608 - }, - "spklActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 360 - }, - "cVisWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 728 - }, - "Random31Ux": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NcCalcSizeOnMove": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "KCOff": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "readyHead": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 912 - }, - "UsePrintingEscape": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoBatching": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTextBand": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 724 - }, - "fETWReserved": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 928 - }, - "pqAttach": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 528 - }, - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "TIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 408 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "Win31DevModeSize": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSBTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBTRACK" - }, - "kind": "pointer" - }, - "offset": 584 - }, - "spwndDefaultIme": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 648 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 520 - }, - "EditSetTextMunge": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fgfSwitchInProgressSetter": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 392 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "NoTimeCbProtect": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DisableFontAssoc": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pcti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "NoCharDeadKey": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 624 - }, - "TTIgnoreRasterDupe": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "qwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 520 - }, - "wParamHkCurrent": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 576 - }, - "NoWindowArrangement": { - "type": { - "bit_position": 32, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ActiveMenus": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pMenuState": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 488 - }, - "TryExceptCallWndProc": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "hklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "IgnoreTopMost": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "exitCode": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 464 - }, - "NoDDETrackDying": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "FontSubs": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "SmoothScrolling": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "lParamHkCurrent": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 568 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 736 - }, - "ptiSibling": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 536 - }, - "psiiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 504 - }, - "IncreaseStack": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - } - }, - "kind": "struct", - "size": 936 - }, - "__unnamed_11ff": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "EaLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FileAttributes": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_CALLPROCDATA": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "pfnClientPrevious": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "wType": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "spcpdNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH": { - "fields": { - "VidPnTargetColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 48 - }, - "VidPnTargetColorBasis": { - "type": { - "kind": "enum", - "name": "VidPnTargetColorBasisEnum" - }, - "offset": 44 - }, - "ContentTransformation": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" - }, - "offset": 12 - }, - "GammaRamp": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GAMMA_RAMP" - }, - "offset": 336 - }, - "CopyProtection": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" - }, - "offset": 68 - }, - "VidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Content": { - "type": { - "kind": "enum", - "name": "ContentEnum" - }, - "offset": 64 - }, - "VisibleFromActiveTLOffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 28 - }, - "VidPnTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "VisibleFromActiveBROffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 36 - }, - "ImportanceOrdinal": { - "type": { - "kind": "enum", - "name": "ImportanceOrdinalEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 360 - }, - "__unnamed_1253": { - "fields": { - "PowerSequence": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_POWER_SEQUENCE" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESS_HID_TABLE": { - "fields": { - "UsagePageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 96 - }, - "fExclusiveMouseSink": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboardSink": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fAppKeys": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fCaptureMouse": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyMouse": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboard": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyKeyboard": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "nSinks": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fExclusiveKeyboardSink": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "spwndTargetKbd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "UsagePageList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 32 - }, - "UsageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 98 - }, - "fNoHotKeys": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "pLastRequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "ExclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - }, - "spwndTargetMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fRawMouse": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawMouseSink": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "InclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1809": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "MessageCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHOOK": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "iHook": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "phkNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "offPfn": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "fLastHookHung": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 88 - }, - "nTimeout": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 7 - }, - "offset": 88 - }, - "ihmod": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "ptiHooked": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 80 - } - }, - "kind": "struct", - "size": 96 - }, - "_THROBJHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagPROCESS_HID_REQUEST": { - "fields": { - "fSinkable": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "pTLCInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_TLC_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fDevNotify": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "fExSinkable": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "ptr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "pPORequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_PAGEONLY_REQUEST" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "fExclusiveOrphaned": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "spwndTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 40 - }, - "_KFLOATING_SAVE": { - "fields": { - "Dummy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { - "fields": { - "Rotate270": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate90": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate180": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMLIST": { - "fields": { - "cMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pqmsgRead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pqmsgWriteLast": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_CONSOLE_CARET_INFO": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1807": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - }, - "Level": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "DEADKEY": { - "fields": { - "wchComposed": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 4 - }, - "dwBoth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESSINFO": { - "fields": { - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "fHasMagContext": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 736 - }, - "hwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWINSTA__" - }, - "kind": "pointer" - }, - "offset": 608 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ptiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 256 - }, - "pHidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 744 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "pclsPublicList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 288 - }, - "dwhmodLibLoadedMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 340 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "hdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 328 - }, - "pvwplWndGCList": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 760 - }, - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "dwImeCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 696 - }, - "hMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HMONITOR__" - }, - "kind": "pointer" - }, - "offset": 624 - }, - "ptiMainThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "dwRegisteredClasses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 752 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "usi": { - "type": { - "kind": "struct", - "name": "tagUSERSTARTUPINFO" - }, - "offset": 708 - }, - "luidSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 700 - }, - "Unused": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 736 - }, - "pW32Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 688 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 320 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "bmHandleFlags": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_BITMAP" - }, - "offset": 648 - }, - "pclsPrivateList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "amwinsta": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 616 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ppiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 736 - }, - "dwHotkey": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 620 - }, - "cSysExpunge": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "rpdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pdvList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 632 - }, - "pwpi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "ppiNextRunning": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "dwLayout": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 740 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rpwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "pCursorCache": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "pClientBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 672 - }, - "ahmodLibLoaded": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 344 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 640 - }, - "dwLpkEntryPoints": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 680 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 768 - }, - "HBRUSH__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLIP": { - "fields": { - "fmt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fGlobalHandle": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagUAHMENUPOPUPMETRICS": { - "fields": { - "rgcx": { - "type": { - "count": 4, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 0 - }, - "fUpdateMaxWidths": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 20 - }, - "tagSMS": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 72 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 80 - }, - "lpResultCallBack": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lRet": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 56 - }, - "psmsReceiveNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "tSent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "pvCapture": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "psmsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptiReceiver": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ptiCallBackSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "dwData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 112 - }, - "__unnamed_195e": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_195c": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_W32THREAD": { - "fields": { - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 336 - }, - "_VK_TO_WCHAR_TABLE": { - "fields": { - "pVkToWchars": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHARS1" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cbSize": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - }, - "nModifications": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPROPLIST": { - "fields": { - "aprop": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagPROP" - }, - "kind": "array" - }, - "offset": 8 - }, - "iFirstFree": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cEntries": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_D3DKMDT_FREQUENCY_RANGE": { - "fields": { - "MinVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 0 - }, - "MaxVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 8 - }, - "MaxHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 24 - }, - "MinHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_11f8": { - "fields": { - "Apc": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KAPC" - }, - "offset": 0 - }, - "CompletionKey": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Overlay": { - "type": { - "kind": "struct", - "name": "__unnamed_11f5" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_18bf": { - "fields": { - "BaseMiddle": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "Flags1": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "Flags2": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "tagPROFILEVALUEINFO": { - "fields": { - "dwValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uSection": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pwszKeyName": { - "type": { - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_11f5": { - "fields": { - "Thread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "DeviceQueueEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" - }, - "offset": 0 - }, - "CurrentStackLocation": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_STACK_LOCATION" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "DriverContext": { - "type": { - "count": 4, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 0 - }, - "AuxiliaryBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "OriginalFileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "PacketType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 80 - }, - "__unnamed_125f": { - "fields": { - "AllocatedResources": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "AllocatedResourcesTranslated": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "D3DDDI_DXGI_RGB": { - "fields": { - "Blue": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "Green": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "Red": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1219": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FsControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_125b": { - "fields": { - "State": { - "type": { - "kind": "struct", - "name": "nt_symbols!_POWER_STATE" - }, - "offset": 16 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "SystemContext": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ShutdownType": { - "type": { - "kind": "enum", - "name": "ShutdownTypeEnum" - }, - "offset": 24 - }, - "SystemPowerStateContext": { - "type": { - "kind": "struct", - "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "HDC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagDISPLAYINFO": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "SpatialListHead": { - "type": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "offset": 144 - }, - "BitCountMax": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 130 - }, - "cyGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "hdcBits": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDesktopIsRect": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "hbmGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pmdev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "cFullScreen": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 160 - }, - "cxGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 128 - }, - "hDevInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fAnyPalette": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "pspbFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pMonitorPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 162 - }, - "pMonitorFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "hdcGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hrgnScreenReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cMonitors": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "hdcScreen": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "DockThresholdMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "pdceFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 168 - }, - "tagWin32AllocStats": { - "fields": { - "dwMaxAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwMaxMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwCrtAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwCrtMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18c5": { - "fields": { - "DefaultBig": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "BaseMiddle": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "LimitHigh": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 0 - }, - "System": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Granularity": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Dpl": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 0 - }, - "Type": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "Present": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "LongMode": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1261": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ProviderId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "BufferSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DataPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1263": { - "fields": { - "Argument4": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Argument2": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Argument3": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "Argument1": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1265": { - "fields": { - "DeviceIoControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121d" - }, - "offset": 0 - }, - "ReadWriteConfig": { - "type": { - "kind": "struct", - "name": "__unnamed_123d" - }, - "offset": 0 - }, - "Create": { - "type": { - "kind": "struct", - "name": "__unnamed_11ff" - }, - "offset": 0 - }, - "Write": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "PowerSequence": { - "type": { - "kind": "struct", - "name": "__unnamed_1253" - }, - "offset": 0 - }, - "QueryId": { - "type": { - "kind": "struct", - "name": "__unnamed_1243" - }, - "offset": 0 - }, - "SetFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1213" - }, - "offset": 0 - }, - "CreatePipe": { - "type": { - "kind": "struct", - "name": "__unnamed_1203" - }, - "offset": 0 - }, - "Power": { - "type": { - "kind": "struct", - "name": "__unnamed_125b" - }, - "offset": 0 - }, - "Read": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "StartDevice": { - "type": { - "kind": "struct", - "name": "__unnamed_125f" - }, - "offset": 0 - }, - "QueryDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120d" - }, - "offset": 0 - }, - "LockControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121b" - }, - "offset": 0 - }, - "QueryInterface": { - "type": { - "kind": "struct", - "name": "__unnamed_1233" - }, - "offset": 0 - }, - "Others": { - "type": { - "kind": "struct", - "name": "__unnamed_1263" - }, - "offset": 0 - }, - "FileSystemControl": { - "type": { - "kind": "struct", - "name": "__unnamed_1219" - }, - "offset": 0 - }, - "SetLock": { - "type": { - "kind": "struct", - "name": "__unnamed_123f" - }, - "offset": 0 - }, - "QueryDeviceText": { - "type": { - "kind": "struct", - "name": "__unnamed_1247" - }, - "offset": 0 - }, - "WMI": { - "type": { - "kind": "struct", - "name": "__unnamed_1261" - }, - "offset": 0 - }, - "CreateMailslot": { - "type": { - "kind": "struct", - "name": "__unnamed_1207" - }, - "offset": 0 - }, - "FilterResourceRequirements": { - "type": { - "kind": "struct", - "name": "__unnamed_123b" - }, - "offset": 0 - }, - "MountVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QueryVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1217" - }, - "offset": 0 - }, - "UsageNotification": { - "type": { - "kind": "struct", - "name": "__unnamed_124b" - }, - "offset": 0 - }, - "Scsi": { - "type": { - "kind": "struct", - "name": "__unnamed_1229" - }, - "offset": 0 - }, - "WaitWake": { - "type": { - "kind": "struct", - "name": "__unnamed_124f" - }, - "offset": 0 - }, - "QueryFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1211" - }, - "offset": 0 - }, - "VerifyVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QuerySecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_121f" - }, - "offset": 0 - }, - "QueryDeviceRelations": { - "type": { - "kind": "struct", - "name": "__unnamed_122d" - }, - "offset": 0 - }, - "NotifyDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120f" - }, - "offset": 0 - }, - "SetSecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_1221" - }, - "offset": 0 - }, - "DeviceCapabilities": { - "type": { - "kind": "struct", - "name": "__unnamed_1237" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1817": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1815": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "tagKbdLayer": { - "fields": { - "pVkToWcharTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHAR_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fLocaleFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "pCharModifiers": { - "type": { - "subtype": { - "kind": "struct", - "name": "MODIFIERS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pKeyNamesExt": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pDeadKey": { - "type": { - "subtype": { - "kind": "struct", - "name": "DEADKEY" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pusVSCtoVK": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pKeyNamesDead": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pLigature": { - "type": { - "subtype": { - "kind": "struct", - "name": "_LIGATURE1" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "cbLgEntry": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 85 - }, - "pKeyNames": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "dwSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "nLgMax": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 84 - }, - "pVSCtoVK_E1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pVSCtoVK_E0": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bMaxVSCtoVK": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1813": { - "fields": { - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { - "fields": { - "Centered": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "AspectRatioCenteredMax": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Stretched": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Custom": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1958": { - "fields": { - "MinBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "MaxBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_2DREGION": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "HRGN__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1954": { - "fields": { - "AffinityPolicy": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "PriorityPolicy": { - "type": { - "kind": "enum", - "name": "PriorityPolicyEnum" - }, - "offset": 12 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "MaximumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "TargetedProcessors": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "MinimumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_PROCMARKHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagSIZE": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagDESKTOPVIEW": { - "fields": { - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "pdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pdvNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1819": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { - "fields": { - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "PathAndTargetModeSetOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBTRACK": { - "fields": { - "spwndSBNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTimerSB": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "cmdSB": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "xxxpfnSB": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fTrackVert": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posNew": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 84 - }, - "posOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fCtlSB": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "rcTrack": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 32 - }, - "fTrackRecalc": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndSB": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "pxOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fHitOld": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "pSBCalc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBCALC" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "nBar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_16c1": { - "fields": { - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "MaxPixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_DMA_ADAPTER": { - "fields": { - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "DmaOperations": { - "type": { - "subtype": { - "kind": "struct", - "name": "_DMA_OPERATIONS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMONITOR": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "rcMonitorReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 28 - }, - "pMonitorNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hDevReal": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "hrgnMonitorReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "rcWorkReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 44 - }, - "dwMONFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cWndStack": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 74 - }, - "DockTargets": { - "type": { - "count": 7, - "subtype": { - "count": 4, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "kind": "array" - }, - "offset": 96 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 144 - }, - "__unnamed_180b": { - "fields": { - "Translated": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Raw": { - "type": { - "kind": "struct", - "name": "__unnamed_1809" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagRECT": { - "fields": { - "top": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "right": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "bottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "left": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_180d": { - "fields": { - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Port": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Channel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "MODIFIERS": { - "fields": { - "wMaxModBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "pVkToBit": { - "type": { - "subtype": { - "kind": "struct", - "name": "VK_TO_BIT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ModNumber": { - "type": { - "count": 0, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 10 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120f": { - "fields": { - "CompletionFilter": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120d": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 16 - }, - "FileName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { - "fields": { - "PathAndTargetModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 48 - }, - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 40 - }, - "SourceMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_SOURCE_MODE" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 480 - }, - "tagMSG": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 24 - }, - "pt": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 36 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "time": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "tagDPISERVERINFO": { - "fields": { - "hMsgFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hCaptionFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "gclBorder": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cxMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "wMaxBtnSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "cyMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { - "fields": { - "Blue": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 1024 - }, - "Green": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 512 - }, - "Red": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1536 - }, - "__unnamed_124f": { - "fields": { - "PowerState": { - "type": { - "kind": "enum", - "name": "PowerStateEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagWOWPROCESSINFO": { - "fields": { - "ptdbHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ptiScheduled": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "nRecvLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CSLockCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "nSendLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pEventWowExec": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lpfnWowExitTask": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "CSOwningThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "hEventWowExecClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwpiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "HTOUCHINPUT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMENU": { - "fields": { - "iItem": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "umpm": { - "type": { - "kind": "struct", - "name": "tagUAHMENUPOPUPMETRICS" - }, - "offset": 132 - }, - "cItems": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pParentMenus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "fFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "cxMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwContextHelpId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "cxTextAlign": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "cAlloced": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "hbrBack": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwArrowsOn": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 128 - }, - "iMaxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 124 - }, - "dwMenuData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "cyMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "rgItems": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagITEM" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "cyMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "_D3DDDI_GAMMA_RAMP_DXGI_1": { - "fields": { - "GammaCurve": { - "type": { - "count": 1025, - "subtype": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "kind": "array" - }, - "offset": 24 - }, - "Scale": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 0 - }, - "Offset": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 12324 - }, - "_MOVESIZEDATA": { - "fields": { - "fmsKbd": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "pStartMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "impy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 152 - }, - "fMoveFromMax": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapMoving": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "frcNormalCheckPtValid": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptMaxTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 96 - }, - "ptRestore": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 156 - }, - "fUsePreviewRect": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForceSizing": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fThresholdSelector": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 164 - }, - "ptStartHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 208 - }, - "fDragFullWindows": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForeground": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "dyMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 140 - }, - "fHasSoftwareCursor": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsHitPtOffScreen": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapSizingTemporaryAllowed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fCheckPtForcefullyRestored": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedRight": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ulCountDragOutOfLeftRightTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 228 - }, - "Unused": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 164 - }, - "dxMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 136 - }, - "fStartVerticallyMaximizedRight": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcParent": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 72 - }, - "fOffScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fWindowWasSuperMaximized": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedLeft": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "StartCurrentHitTarget": { - "type": { - "kind": "enum", - "name": "StartCurrentHitTargetEnum" - }, - "offset": 176 - }, - "fHasPreviewRect": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fLockWindowUpdate": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcPreview": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 40 - }, - "fSnapSizing": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsMoveSizeLoop": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fInitSize": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcDragCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "ulCountDragOutOfTopTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 224 - }, - "rcPreviewCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 56 - }, - "CurrentHitTarget": { - "type": { - "kind": "enum", - "name": "CurrentHitTargetEnum" - }, - "offset": 192 - }, - "fSnapMovingTemporaryAllowed": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fTrackCancelled": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 200 - }, - "ptLastTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 216 - }, - "cmd": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 144 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 164 - }, - "MoveRectStyle": { - "type": { - "kind": "enum", - "name": "MoveRectStyleEnum" - }, - "offset": 196 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "ulCountSizeOutOfTopBottomTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 232 - }, - "fStartVerticallyMaximizedLeft": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcNormalStartCheckPt": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 120 - }, - "ptMinTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 88 - }, - "rcDrag": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - }, - "pMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "impx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 148 - } - }, - "kind": "struct", - "size": 240 - }, - "_D3DDDI_RATIONAL": { - "fields": { - "Denominator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Numerator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "VWPL": { - "fields": { - "cElem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "aElement": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "VWPLELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "fTagged": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cThreshhold": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cPwnd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagTEXTMETRICW": { - "fields": { - "tmOverhang": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "tmPitchAndFamily": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 55 - }, - "tmStruckOut": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 54 - }, - "tmCharSet": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - }, - "tmDigitizedAspectX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "tmDigitizedAspectY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "tmFirstChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 44 - }, - "tmWeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "tmDescent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "tmDefaultChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 48 - }, - "tmLastChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 46 - }, - "tmMaxCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "tmItalic": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 52 - }, - "tmUnderlined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 53 - }, - "tmInternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "tmAscent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "tmHeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "tmAveCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "tmBreakChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 50 - }, - "tmExternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 60 - }, - "_SCATTER_GATHER_LIST": { - "fields": { - "Elements": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "_SCATTER_GATHER_ELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "NumberOfElements": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "HICON__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_HANDLEENTRY": { - "fields": { - "pOwner": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "bFlags": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 17 - }, - "phead": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HEAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "wUniq": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "bType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_THRDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagSVR_INSTANCE_INFO": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nextInThisThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spwndEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "afCmd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pcii": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 80 - }, - "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { - "fields": { - "RequestDiagInfo": { - "type": { - "kind": "struct", - "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" - }, - "offset": 4 - }, - "AffectedVidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "VidPnSerialization": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPN_SERIALIZATION" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 28 - }, - "tagPOPUPMENU": { - "fields": { - "fDroppedLeft": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fIsSysMenu": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posDropped": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fIsMenuBar": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHierarchyDropped": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDropNextPopup": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fRightButton": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ppopupmenuRoot": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fFirstClick": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fRtoL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSendUninit": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fAboutToHide": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNextPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fFlushDelayedFree": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHasMenuBar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fTrackMouseEvent": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fNoNotify": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posSelectedItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fUseMonitorRect": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndPrevPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ppmDelayedFree": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "fFreed": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSynchronous": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenuAlternate": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fDestroyed": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "iDropDir": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "fIsTrackPopup": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndActivePopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "fInCancel": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fToggle": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDelayedFree": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHideTimer": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fShowTimer": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "_D3DKMDT_MONITOR_SOURCE_MODE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 84 - }, - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "ColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 68 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 88 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 96 - }, - "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 8 - }, - "Data": { - "type": { - "count": 128, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 12 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 140 - }, - "__unnamed_127c": { - "fields": { - "Wcb": { - "type": { - "kind": "struct", - "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" - }, - "offset": 0 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_D3DMATRIX": { - "fields": { - "_41": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 48 - }, - "_42": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 52 - }, - "_43": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 56 - }, - "_44": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 60 - }, - "_34": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 44 - }, - "_14": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 12 - }, - "_13": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "_12": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "_11": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - }, - "_24": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 28 - }, - "_31": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 32 - }, - "_33": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 40 - }, - "_32": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 36 - }, - "_22": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 20 - }, - "_23": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 24 - }, - "_21": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 64 - }, - "_LARGE_UNICODE_STRING": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumLength": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 4 - }, - "bAnsi": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "_VK_VALUES_STRINGS": { - "fields": { - "fReserved": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "pszMultiNames": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHID_TLC_INFO": { - "fields": { - "cExcludeOrphaned": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - }, - "cDevices": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "cExcludeRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cUsagePageRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "cDirectRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { - "fields": { - "Info": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_SOURCE_MODE" - }, - "offset": 0 - }, - "TimingType": { - "type": { - "kind": "enum", - "name": "TimingTypeEnum" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 104 - }, - "tagCURSOR": { - "fields": { - "rt": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 58 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCMARKHEAD" - }, - "offset": 0 - }, - "hbmUserAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "xHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 68 - }, - "hbmColor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pcurNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "CURSORF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hbmMask": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bpp": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 120 - }, - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 128 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "rcBounds": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 96 - }, - "atomModName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "hbmAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "yHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 70 - }, - "strName": { - "type": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 136 - }, - "_D3DKMDT_GAMMA_RAMP": { - "fields": { - "Data": { - "type": { - "kind": "struct", - "name": "__unnamed_182e" - }, - "offset": 16 - }, - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "HWND__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1207": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18a1": { - "fields": { - "Text": { - "type": { - "kind": "enum", - "name": "TextEnum" - }, - "offset": 0 - }, - "Graphics": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { - "fields": { - "TargetMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "offset": 360 - }, - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 432 - }, - "HKL__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1209": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagDCE": { - "fields": { - "hrgnClipPublic": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwndOrg": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pdceNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "DCX_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hdc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "hrgnSavedVis": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pwndRedirect": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pwndClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 96 - }, - "VSC_LPWSTR": { - "fields": { - "vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pwsz": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagQ": { - "fields": { - "hwndDblClk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "timeDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndFocus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 328 - }, - "cLockCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 322 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 312 - }, - "ptiSysLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "caret": { - "type": { - "kind": "struct", - "name": "tagCARET" - }, - "offset": 232 - }, - "ptiMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndActivePrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ptMouseMove": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 128 - }, - "msgDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "msgJournal": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "ptiKeyboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 320 - }, - "QF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 316 - }, - "mlInput": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 0 - }, - "spwndActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "codeCapture": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "idSysLock": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "spcurCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "ulEtwReserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "ptDblClk": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 120 - }, - "xbtnDblClk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 104 - }, - "afKeyRecentDown": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "afKeyState": { - "type": { - "count": 64, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 168 - }, - "spwndCapture": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "idSysPeek": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 344 - }, - "__unnamed_1203": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "HGESTUREINFO__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLS": { - "fields": { - "spcur": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 100 - }, - "pclsClone": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "lpszClientAnsiMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pclsBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "atomNVClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "pclsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "CSF_flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "lpszAnsiClassName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "spcpdFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "lpszClientUnicodeMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "cbclsExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 96 - }, - "lpszMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "spicnSm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "cWndReferenceCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "hbrBackground": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "spicn": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 12 - }, - "pdce": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "rpdeskParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "atomClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 160 - }, - "_PROCDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { - "fields": { - "CommitVidPnRequestOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumCommitVidPnRequests": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_VK_TO_FUNCTION_TABLE": { - "fields": { - "NLSFEProcType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "NLSFEProcCurrent": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcSwitch": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "NLSFEProcAlt": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 68 - }, - "NLSFEProc": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 132 - }, - "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { - "fields": { - "NumDescriptors": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "DescriptorSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 144 - }, - "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 112 - }, - "_CALLBACKWND": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { - "fields": { - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - }, - "TargetModeSet": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" - }, - "offset": 360 - } - }, - "kind": "struct", - "size": 440 - }, - "_VK_FUNCTION_PARAM": { - "fields": { - "NLSFEProcIndex": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcParam": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBCALC": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "pxStart": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "pxThumbBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "cpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "pxMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pxThumbTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "pxDownArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cpx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "pxBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "pxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pxLeft": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "pxRight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "pxUpArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "HDESK__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "HIMC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { - "fields": { - "SecondChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "FourthChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "ThirdChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FirstChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMENUSTATE": { - "fields": { - "cxAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 116 - }, - "pGlobalPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "uDraggingIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "fNotifyByPos": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInCallHandleMenuMessages": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ixAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "dwLockCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "fAutoDismiss": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fIsSysMenu": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "dwAniStartTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "uButtonDownHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "fIgnoreButtonUp": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptButtonDown": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 56 - }, - "fMenuStarted": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "iAniDropDir": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 8 - }, - "hdcAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "fModelessMenu": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hbmAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "fInEndMenu": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 92 - }, - "vkButtonDown": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fSetCapture": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInDoDragDrop": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fActiveNoForeground": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fMouseOffMenu": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fDragAndDrop": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInsideMenuLoop": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 80 - }, - "fButtonDown": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptiMenuStateOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "iyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 112 - }, - "hdcWndAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "fAboutToAutoDismiss": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "mnFocus": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "uButtonDownIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "fButtonAlwaysDown": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fUnderline": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptMouseLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 12 - }, - "pmnsPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fDragging": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "cmdLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 144 - }, - "VK_TO_BIT": { - "fields": { - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModBits": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - } - }, - "kind": "struct", - "size": 2 - }, - "tagWOWTHREADINFO": { - "fields": { - "pIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "idParentProcess": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "idTask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwtiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "idWaitObject": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 40 - }, - "__unnamed_1805": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1211": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1213": { - "fields": { - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - }, - "AdvanceOnly": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 25 - }, - "ClusterCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "DeleteHandle": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReplaceIfExists": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 24 - }, - "FileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1217": { - "fields": { - "FsInformationClass": { - "type": { - "kind": "enum", - "name": "FsInformationClassEnum" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_123b": { - "fields": { - "IoResourceRequirementList": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_122d": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1950": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagITEM": { - "fields": { - "fType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ulX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "wID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwItemData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "hbmpChecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "xItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "spSubMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hbmpUnchecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fState": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dxTab": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "cxBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 104 - }, - "yItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "cyItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 76 - }, - "umim": { - "type": { - "kind": "struct", - "name": "tagUAHMENUITEMMETRICS" - }, - "offset": 112 - }, - "cch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "ulWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "cyBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "lpstr": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cxItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "hbmp": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 144 - }, - "tagIMEINFOEX": { - "fields": { - "dwImeWinVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fSysWow64Only": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "fInitOpen": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "wszImeDescription": { - "type": { - "count": 50, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 88 - }, - "fCUASLayer": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "ImeInfo": { - "type": { - "kind": "struct", - "name": "tagIMEINFO" - }, - "offset": 8 - }, - "wszImeFile": { - "type": { - "count": 80, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 188 - }, - "wszUIClass": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 36 - }, - "fLoadFlag": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "dwProdVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fdwInitConvMode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - } - }, - "kind": "struct", - "size": 352 - }, - "__unnamed_1962": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1958" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_1956" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_195e" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_195c" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "ConfigData": { - "type": { - "kind": "struct", - "name": "__unnamed_195a" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1960" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1954" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagMSGPPINFO": { - "fields": { - "dwIndexMsgPP": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagSBINFO": { - "fields": { - "WSBflags": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "Horz": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 4 - }, - "Vert": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 36 - }, - "VWPLELEMENT": { - "fields": { - "DataOrTag": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSBDATA": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "_VSC_VK": { - "fields": { - "Vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123f": { - "fields": { - "Lock": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1 - }, - "_SCATTER_GATHER_ELEMENT": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "Address": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagWND": { - "fields": { - "spwndLastActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "bWS_CLIPCHILDREN": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bMaximizeButtonDown": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bUIStateActive": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_TABSTOP": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDialogWindow": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bMinimizeButtonDown": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HIMC__" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "bChildNoActivate": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_LAYERED": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved3": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bStartPaint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedLeft": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bHiddenPopup": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSendEraseBackground": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin50Compat": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_CLIENTEDGE": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 66 - }, - "bWS_EX_TOOLWINDOW": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bDisabled": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bAnsiWindowProc": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin40Compat": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcClient": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 128 - }, - "bAnsiCreator": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bAnyScrollButtonDown": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bSendSizeMoveMsgs": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bLinked": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bSendNCPaint": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bInternalPaint": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasClientEdge": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasPalette": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasHorizontalScrollbar": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUIStateFocusRectHidden": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_DLGFRAME": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_MDICHILD": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasVerticalScrollbar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved2": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bSmallIconFromWMQueryDrag": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bNoNCPaint": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused1": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasSPB": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_MINIMIZEBOX": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarVerticalTracking": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_DLGMODALFRAME": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TRANSPARENT": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bPaintNotProcessed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSyncPaintPending": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "bShellHookRegistered": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndChild": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bUnused5": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bInDestroy": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "state": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "bWS_EX_LEFTSCROLLBAR": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bToggleTopmost": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_VSCROLL": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "ExStyle": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "bWS_HSCROLL": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUpdateDirty": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWMPaintSent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_WINDOWEDGE": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_ACCEPTFILE": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_GROUP": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bVisible": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bVerticallyMaximizedRight": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bForceMenuDraw": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bForceNCPaint": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bOldUI": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndClipboardListenerNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "bWS_EX_NOPADDEDBORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bNoMinmaxAnimatedRects": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bWS_MAXIMIZEBOX": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bHasCaption": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bEraseBackground": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "spwndOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 232 - }, - "bMakeVisibleWhenUnghosted": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused8": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bUnused9": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 52 - }, - "bForceFullNCPaintClipRgn": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_RTLREADING": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pSBInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBINFO" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "bUnused2": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused3": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused4": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasMeun": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused6": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused7": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bClipboardListener": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bScrollBarLineDownBtnDown": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedirectedForPrint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_RIGHT": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasCreatestructName": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITED": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bFullScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnUpdate": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "bConsoleWindow": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "ppropList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROPLIST" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bWS_EX_TOPMOST": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bScrollBarPageDownBtnDown": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarLineUpBtnDown": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRecievedQuerySuspendMsg": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bMaximizeMonitorRegion": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedrawIfHung": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_POPUP": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTEXTHELP": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "dwUserData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 256 - }, - "hMod16": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 64 - }, - "FullScreenMode": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 44 - }, - "bLayeredLimbo": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_NOINHERITLAYOUT": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_LAYOUTRTL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUIStateKbdAccelHidden": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_BORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_SIZEBOX": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDestroyed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bServerSideWindowProc": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bCaptionTextTruncated": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 112 - }, - "bEndPaintInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnNewFrame": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "bBeingActivated": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITEDCompositing": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWMCreateMsgProcessed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_NOACTIVATE": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_APPWINDOW": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bCloseButtonDown": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bMaximized": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_CHILD": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "bWS_THICKFRAME": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTROLPARENT": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pcls": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "bLayeredForDWM": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bMsgBox": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHelpButtonDown": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasOverlay": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bRedrawFrameIfHung": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_NOPARENTNOTIFY": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bMaximizesToMonitor": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bBottomMost": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bReserved1": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bRedirected": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bActiveFrame": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved4": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved5": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved6": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved7": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "spwndPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "bLayeredInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "state2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "bWS_CLIPSIBLINGS": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarPageUpBtnDown": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "pTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DMATRIX" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "bWin31Compat": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "ExStyle2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "bHIGHDPI_UNAWARE_Unused": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_SYSMENU": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "strName": { - "type": { - "kind": "struct", - "name": "_LARGE_UNICODE_STRING" - }, - "offset": 216 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "bMinimized": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bRecievedSuspendMsg": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_STATICEDGE": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 296 - }, - "_WM_VALUES_STRINGS": { - "fields": { - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "fInternal": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "fDefined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { - "fields": { - "VisibleRegionSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 8 - }, - "Stride": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "PixelFormat": { - "type": { - "kind": "enum", - "name": "PixelFormatEnum" - }, - "offset": 20 - }, - "PixelValueAccessMode": { - "type": { - "kind": "enum", - "name": "PixelValueAccessModeEnum" - }, - "offset": 28 - }, - "PrimSurfSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "_VK_TO_WCHARS1": { - "fields": { - "Attributes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "_TLSPRITESTATE": { - "fields": { - "flOriginalSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "iSpriteType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pfnSaveScreenBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bInsideDriverCall": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pfnStrokePath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnTransparentBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnPaint": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnStretchBltROP": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "iType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "pfnPlgBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnCopyBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "iOriginalType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pfnTextOut": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDrawStream": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStrokeAndFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnLineTo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnStretchBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGradientFill": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnAlphaBlend": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "flSpriteSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "pfnBitBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 168 - }, - "tagUAHMENUITEMMETRICS": { - "fields": { - "rgsizeBar": { - "type": { - "count": 2, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - }, - "rgsizePopup": { - "type": { - "count": 4, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_121b": { - "fields": { - "Length": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1229": { - "fields": { - "Srb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_SCSI_REQUEST_BLOCK" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_121f": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1225": { - "fields": { - "DeviceObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Vpb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_VPB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_HEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagIMEINFO": { - "fields": { - "fdwProperty": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "fdwSelectCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fdwUICaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwPrivateDataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fdwSCSCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "fdwSentenceCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "fdwConversionCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 28 - }, - "_DXGK_DIAG_CODE_POINT_PACKET": { - "fields": { - "Header": { - "type": { - "kind": "struct", - "name": "_DXGK_DIAG_HEADER" - }, - "offset": 0 - }, - "Param3": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "Param1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CodePointType": { - "type": { - "kind": "enum", - "name": "CodePointTypeEnum" - }, - "offset": 48 - }, - "Param2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_SOURCE_MODE": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Format": { - "type": { - "kind": "struct", - "name": "__unnamed_18a1" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagW32JOB": { - "fields": { - "restrictions": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ughCrt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ughMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pgh": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long long" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EJOB" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ppiTable": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "uProcessCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "uMaxProcesses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { - "fields": { - "NumFrequencyRanges": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "FrequencyRangeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 56 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { - "fields": { - "APSTriggerBits": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "CopyProtectionType": { - "type": { - "kind": "enum", - "name": "CopyProtectionTypeEnum" - }, - "offset": 0 - }, - "CopyProtectionSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" - }, - "offset": 264 - }, - "OEMCopyProtection": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 268 - }, - "tagWINDOWSTATION": { - "fields": { - "pClipBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIP" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "cNumClipFormats": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "luidUser": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 136 - }, - "pGlobalAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "ptiClipLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "dwWSF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "rpdeskList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spklList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spwndClipOpen": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndClipViewer": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pTerm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTERMINAL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "rpwinstaNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndClipboardListener": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "luidEndSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 128 - }, - "iClipSequenceNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "ptiDrawingClipboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "spwndClipOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "psidUser": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "tagDESKTOPINFO": { - "fields": { - "spwndProgman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "pvwplMessagePPHandler": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 224 - }, - "pvDesktopLimit": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fComposited": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndGestureEngine": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "pvDesktopBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwndShell": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "ppiShellProcess": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pvwplShellHook": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "fIsDwmDesktop": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndTaskman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 32 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cntMBox": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 208 - }, - "spwndBkGnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 240 - }, - "tagMBSTRING": { - "fields": { - "szName": { - "type": { - "count": 15, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 0 - }, - "uID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "uStr": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DKMDT_VIDPN_TARGET_MODE": { - "fields": { - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 72 - }, - "_DMM_VIDPNSET_SERIALIZATION": { - "fields": { - "VidPnOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumVidPns": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagKBDFILE": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "awchDllName": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 56 - }, - "pKbdTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdLayer" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pkfNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pKbdNlsTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdNlsLayer" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_11e4": { - "fields": { - "UserApcContext": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "UserApcRoutine": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "IssuingProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_W32PROCESS": { - "fields": { - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 256 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { - "fields": { - "Scaling": { - "type": { - "kind": "enum", - "name": "ScalingEnum" - }, - "offset": 0 - }, - "RotationSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" - }, - "offset": 12 - }, - "Rotation": { - "type": { - "kind": "enum", - "name": "RotationEnum" - }, - "offset": 8 - }, - "ScalingSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSERVERINFO": { - "fields": { - "uiShellMsg": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 912 - }, - "cbHandleTable": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 848 - }, - "atomSysClass": { - "type": { - "count": 25, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 852 - }, - "dtScroll": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2800 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2952 - }, - "atomIconSmProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1356 - }, - "argbSystemUnmatched": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2268 - }, - "dwTagCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4632 - }, - "ucWheelScrollLines": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2812 - }, - "ptCursorReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2784 - }, - "ucWheelScrollChars": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2816 - }, - "acOemToAnsi": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1364 - }, - "cySysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2832 - }, - "atomFrostedWindowProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1362 - }, - "mpFnid_serverCBWndProc": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 328 - }, - "PUSIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4476 - }, - "BitCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4468 - }, - "argbSystem": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2392 - }, - "dtLBSearch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2804 - }, - "dtCaretBlink": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2808 - }, - "dwInstalledEventHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 1876 - }, - "apfnClientA": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 392 - }, - "cxSysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2828 - }, - "hbrGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 2768 - }, - "ahbrSystem": { - "type": { - "count": 31, - "subtype": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 2520 - }, - "dwDefaultHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "wMaxRightOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2824 - }, - "dwSRVIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "oembmi": { - "type": { - "count": 93, - "subtype": { - "kind": "struct", - "name": "tagOEMBITMAPINFO" - }, - "kind": "array" - }, - "offset": 2964 - }, - "apfnClientWorker": { - "type": { - "kind": "struct", - "name": "_PFNCLIENTWORKER" - }, - "offset": 760 - }, - "dwDefaultHeapBase": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 904 - }, - "BitsPixel": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4473 - }, - "wMaxLeftOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2820 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4470 - }, - "dwLastSystemRITEventTickCountUpdate": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4488 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2796 - }, - "atomIconProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1358 - }, - "Planes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4472 - }, - "dpiSystem": { - "type": { - "kind": "struct", - "name": "tagDPISERVERINFO" - }, - "offset": 2896 - }, - "hIcoWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2944 - }, - "apfnClientW": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 576 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2956 - }, - "MBStrings": { - "type": { - "count": 11, - "subtype": { - "kind": "struct", - "name": "tagMBSTRING" - }, - "kind": "array" - }, - "offset": 916 - }, - "atomContextHelpIdProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1360 - }, - "adwDBGTAGFlags": { - "type": { - "count": 35, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4492 - }, - "aiSysMet": { - "type": { - "count": 97, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 1880 - }, - "dwRIPFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4636 - }, - "uCaretWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4480 - }, - "cCaptures": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2960 - }, - "tmSysFont": { - "type": { - "kind": "struct", - "name": "tagTEXTMETRICW" - }, - "offset": 2836 - }, - "cHandleEntries": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ptCursor": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2776 - }, - "hIconSmWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2936 - }, - "mpFnidPfn": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "UILangID": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4484 - }, - "acAnsiToOem": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1620 - }, - "aStoCidPfn": { - "type": { - "count": 7, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 272 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 4452 - }, - "dwLastRITEventTickCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2792 - } - }, - "kind": "struct", - "size": 4640 - }, - "tagPOOLRECORD": { - "fields": { - "ExtraData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "trace": { - "type": { - "count": 6, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "__unnamed_195a": { - "fields": { - "Priority": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagUSERSTARTUPINFO": { - "fields": { - "dwYSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cbReserved2": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 26 - }, - "cb": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dwY": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwXSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "wShowWindow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 28 - }, - "_DMM_VIDPN_SERIALIZATION": { - "fields": { - "PathsFromSourceSerializationOffsets": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 8 - }, - "NumActiveSources": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_11df": { - "fields": { - "IrpCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "SystemBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MasterIrp": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IRP" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagHID_PAGEONLY_REQUEST": { - "fields": { - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cRefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1233": { - "fields": { - "Interface": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_INTERFACE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "InterfaceSpecificData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "InterfaceType": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_GUID" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagQMSG": { - "fields": { - "Padding": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 80 - }, - "ptMouseReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 72 - }, - "FromPen": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 64 - }, - "Wow64Message": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 96 - }, - "dwQEvent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 30 - }, - "offset": 80 - }, - "pqmsgPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FromTouch": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "NoCoalesce": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "msg": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 16 - }, - "pqmsgNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1237": { - "fields": { - "Capabilities": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_CAPABILITIES" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_11e6": { - "fields": { - "AsynchronousParameters": { - "type": { - "kind": "struct", - "name": "__unnamed_11e4" - }, - "offset": 0 - }, - "AllocationSize": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagDESKTOP": { - "fields": { - "spmenuVScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "dwMouseHoverTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 212 - }, - "rpwinstaParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spmenuDialogSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndForeground": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenuHScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "spwndTooltip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndMessage": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cciConsole": { - "type": { - "kind": "struct", - "name": "_CONSOLE_CARET_INFO" - }, - "offset": 144 - }, - "PtiList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 168 - }, - "spwndTray": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "rpdeskNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwDTFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pMagInputTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MAGNIFICATION_INPUT_TRANSFORM" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "htEx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 192 - }, - "ulHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "pheapDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!tagWIN32HEAP" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "rcMouseHover": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 196 - }, - "hsectionDesktop": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "dwDesktopId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 224 - }, - "_MAGNIFICATION_INPUT_TRANSFORM": { - "fields": { - "rcScreen": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 16 - }, - "magFactorX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "magFactorY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "ptiMagThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rcSource": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 48 - }, - "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 0 - }, - "ConstraintType": { - "type": { - "kind": "enum", - "name": "ConstraintTypeEnum" - }, - "offset": 36 - }, - "RangeLimits": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_FREQUENCY_RANGE" - }, - "offset": 4 - }, - "Constraint": { - "type": { - "kind": "struct", - "name": "__unnamed_16c1" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_121d": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IoControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_PFNCLIENTWORKER": { - "fields": { - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnCtfHookProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_12e0": { - "fields": { - "InitialPrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" - }, - "offset": 0 - }, - "PrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_PRIVILEGE_SET" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 44 - }, - "tagMENULIST": { - "fields": { - "pMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_DMA_OPERATIONS": { - "fields": { - "PutDmaAdapter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FreeMapRegisters": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "MapTransfer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "FreeCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReadDmaCounter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "AllocateCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "PutScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "BuildMdlFromScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "GetScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "CalculateScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "FreeAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "GetDmaAlignment": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "FlushAdapterBuffers": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "AllocateAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "BuildScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 128 - }, - "__unnamed_1811": { - "fields": { - "Start": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagSPB": { - "fields": { - "hbm": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hrgn": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ulSaveId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "pspbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "tagWin32PoolHead": { - "fields": { - "pPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pTrace": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DXGK_DIAG_HEADER": { - "fields": { - "Index": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "ProcessName": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 16 - }, - "LogTimestamp": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ThreadId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - }, - "WdLogIdx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 48 - }, - "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { - "fields": { - "CleanupAfterFailedCommitVidPn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ModeChangeRequestId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "ReclaimClonedTarget": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ForceAllActiveVidPnModeListInvalidation": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 12 - }, - "tagTOUCHINPUT": { - "fields": { - "dwExtraInfo": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "hSource": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dwMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cyContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "cxContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "dwTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 48 - }, - "_SM_VALUES_STRINGS": { - "fields": { - "StorageType": { - "type": { - "kind": "enum", - "name": "StorageTypeEnum" - }, - "offset": 16 - }, - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "RangeType": { - "type": { - "kind": "enum", - "name": "RangeTypeEnum" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1956": { - "fields": { - "MinimumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "_D3DKMDT_VIDEO_SIGNAL_INFO": { - "fields": { - "VSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 20 - }, - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 12 - }, - "PixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "TotalSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 4 - }, - "VideoStandard": { - "type": { - "kind": "enum", - "name": "VideoStandardEnum" - }, - "offset": 0 - }, - "ScanLineOrdering": { - "type": { - "kind": "enum", - "name": "ScanLineOrderingEnum" - }, - "offset": 48 - }, - "HSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 56 - }, - "tagTERMINAL": { - "fields": { - "spwndDesktopOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pEventInputReady": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "rpdeskDestroy": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pqDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwTERMF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwNestedLevel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ptiDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pEventTermInit": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "HFONT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { - "fields": { - "MacroVisionFull": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "MacroVisionApsTrigger": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "NoProtection": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 29 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_PFNCLIENT": { - "fields": { - "pfnDispatchDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnDispatchHook": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "pfnDesktopWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "pfnScrollBarWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnMessageWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnSwitchWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnHkINLPCWPSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnTitleWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnHkINLPCWPRETSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnMenuWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDispatchMessage": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pfnDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnMDIActivateDlgProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 176 - } - }, - "kind": "struct", - "size": 184 - }, - "tagOEMBITMAPINFO": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1221": { - "fields": { - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "SecurityDescriptor": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_KLIST_ENTRY": { - "fields": { - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HMONITOR__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1247": { - "fields": { - "DeviceTextType": { - "type": { - "kind": "enum", - "name": "DeviceTextTypeEnum" - }, - "offset": 0 - }, - "LocaleId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagCLIENTINFO": { - "fields": { - "msgDbcsCB": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 160 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "achDbcsCF": { - "type": { - "count": 2, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 154 - }, - "dwTIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "pClientThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 152 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "dwHookCurrent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "afAsyncKeyStateRecentDown": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwHookData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "afAsyncKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 128 - }, - "CallbackWnd": { - "type": { - "kind": "struct", - "name": "_CALLBACKWND" - }, - "offset": 64 - }, - "lpdwRegisteredClasses": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "cInDDEMLCallback": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 92 - }, - "cSpins": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "hKL": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "afKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 116 - }, - "CI_flags": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "phkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 216 - }, - "_DMM_MONITOR_SERIALIZATION": { - "fields": { - "SourceModeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FrequencyRangeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "DescriptorSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ModePruningAlgorithm": { - "type": { - "kind": "enum", - "name": "ModePruningAlgorithmEnum" - }, - "offset": 16 - }, - "VideoPresentTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "IsUsingDefaultProfile": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 13 - }, - "MonitorPowerState": { - "type": { - "kind": "enum", - "name": "MonitorPowerStateEnum" - }, - "offset": 20 - }, - "MonitorType": { - "type": { - "kind": "enum", - "name": "MonitorTypeEnum" - }, - "offset": 36 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IsSimulatedMonitor": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 12 - }, - "Orientation": { - "type": { - "kind": "enum", - "name": "OrientationEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagPROP": { - "fields": { - "fs": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "atomKey": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1243": { - "fields": { - "IdType": { - "type": { - "kind": "enum", - "name": "IdTypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123d": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "WhichSpace": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Offset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_WNDMSG": { - "fields": { - "abMsgs": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "maxMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSHAREDINFO": { - "fields": { - "psi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSERVERINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulSharedDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "aheList": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HANDLEENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "DefWindowSpecMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 552 - }, - "awmControl": { - "type": { - "count": 31, - "subtype": { - "kind": "struct", - "name": "_WNDMSG" - }, - "kind": "array" - }, - "offset": 40 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "HeEntrySize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DefWindowMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 536 - } - }, - "kind": "struct", - "size": 568 - }, - "__unnamed_181b": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1811" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_180d" - }, - "offset": 0 - }, - "DeviceSpecificData": { - "type": { - "kind": "struct", - "name": "__unnamed_1813" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_1817" - }, - "offset": 0 - }, - "MessageInterrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_180b" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_1815" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1819" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPOINT": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagIMC": { - "fields": { - "dwClientImcData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "hImeWnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pImcNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "tagKL": { - "fields": { - "uNumTbl": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "pklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "pklNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spkfPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "dwFontSigs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLastKbdType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 72 - }, - "dwKL_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "iBaseCharset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "dwKLID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "spkf": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "piiex": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMEINFOEX" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pspkfExtra": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "wchDiacritic": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 74 - }, - "dwLastKbdSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_115b": { - "fields": { - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_182e": { - "fields": { - "pRgb256x3x16": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pRaw": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pDxgi1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagTDB": { - "fields": { - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "TDB_Flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "pwti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "nPriority": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "ptdbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagCARET": { - "fields": { - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "iHideLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "hTimer": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "yOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "xOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "fVisible": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hBitmap": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cxOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cyOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "tid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "fOn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_LIGATURE1": { - "fields": { - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 4 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModificationNumber": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 6 - } - }, - "base_types": { - "unsigned char": { - "kind": "char", - "endian": "little", - "signed": false, - "size": 1 - }, - "float": { - "kind": "float", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "wchar": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "pointer": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - }, - "unsigned int": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "short": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned short": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 2 - }, - "long long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 8 - }, - "unsigned long long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - } - } + "symbols": {}, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 + } + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" + }, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 552 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 384 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 344 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 608 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 408 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 736 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 344 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "bType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 216 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 32 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 + } + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + } + } } diff --git a/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json b/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json index 2d4b63380..ae844e535 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json @@ -1,18680 +1,18680 @@ { - "symbols": {}, - "user_types": { - "HWINSTA__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 552 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 384 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 344 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 608 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 408 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 736 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 344 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_180f": { + "fields": { + "Data": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "bType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fAssigned": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 216 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 32 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 168 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1153": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 59 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 9 - }, - "offset": 0 - }, - "Region": { - "type": { - "bit_position": 61, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 39 - }, - "offset": 0 + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1960": { - "fields": { - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 } - }, - "kind": "struct", - "size": 24 - }, - "tagCLIENTTHREADINFO": { - "fields": { - "fsWakeMask": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "CTIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fsWakeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - }, - "fsWakeBitsJournal": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "fsChangeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4 - }, - "tickLastMsgChecked": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "tagKbdNlsLayer": { - "fields": { - "OEMIdentifier": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "NumOfVkToF": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pusMouseVKey": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "NumOfMouseVKey": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pVkToF": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_FUNCTION_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "LayoutInformation": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1158": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 2 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HBITMAP__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_124b": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1 - }, - "InPath": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_TL": { - "fields": { - "pfnFree": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pobj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagTOUCHINPUTINFO": { - "fields": { - "dwcInputs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "TouchInput": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagTOUCHINPUT" - }, - "kind": "array" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 80 - }, - "tagTHREADINFO": { - "fields": { - "ForceLegacyResizeNCMetr": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptl": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 336 - }, - "timeLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 448 - }, - "DontJournalAttach": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fPack": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 26 - }, - "offset": 928 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 516 - }, - "psmsSent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 424 - }, - "hPrevHidData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 880 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 552 - }, - "DefaultCharset": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 512 - }, - "psmsReceiveList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "sphkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 560 - }, - "No50ExStyles": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "IgnoreFaults": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pClientInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "DDENoAsyncReg": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DealyHwndShakeChk": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "amdesk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 720 - }, - "fsChangeBitsRemoved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 704 - }, - "psmsCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 432 - }, - "NoInitFlagsOnFocus": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "StrictLLHook": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "NoShadow": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EnumHelv": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Winver31": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Win30AvgWidth": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "AlwaysSendSyncPaint": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "IgnoreNoDiscard": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cPaintsReady": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 480 - }, - "SubtractClips": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "apEvent": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 712 - }, - "cEnterCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 672 - }, - "ptLastReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 636 - }, - "fThreadCleanupFinished": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "idLast": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 456 - }, - "HackWinFlags": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptdb": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "SpareCompatFlags2": { - "type": { - "bit_position": 33, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 31 - }, - "offset": 520 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "mlPost": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 680 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "NoCustomPaperSize": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cTimersReady": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 484 - }, - "NoScrollBarCtxMenu": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 384 - }, - "cNestedStableVisRgn": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "DDE": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "DpiAware": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "MultipleBands": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "AnimationOff": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "No50ExStyleBits": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulThreadFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 928 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "fsReserveKeys": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 708 - }, - "hdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 472 - }, - "MoreExtraWndWords": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoGhost": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoHRGN1": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 628 - }, - "hGestureInfoCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HGESTUREINFO__" - }, - "kind": "pointer" - }, - "offset": 896 - }, - "GiveUpForegound": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "spDefaultImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 656 - }, - "pmsd": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MOVESIZEDATA" - }, - "kind": "pointer" - }, - "offset": 544 - }, - "HardwareMixer": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoEMFSpooling": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 904 - }, - "EnumTTNotDevice": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fSpecialInitialization": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ForceFusion": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cti": { - "type": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "offset": 864 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pstrAppName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 344 - }, - "SendMnuDblClk": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DDENoSync": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EditNoMouseHide": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "OpenGLEMF": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hTouchInputCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HTOUCHINPUT__" - }, - "kind": "pointer" - }, - "offset": 888 - }, - "pEventQueueServer": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "NoPaddedBorder": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoDrawPatRect": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTTGrapchis": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "GetDeviceCaps": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pq": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 352 - }, - "NoSoftCursOnMoveSize": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hEventQueueClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 592 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "wchInjected": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 706 - }, - "TransparentBltMirror": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "CallTTDevice": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DisableDBCSProp": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsShellDlg": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "PtiLink": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 608 - }, - "spklActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 360 - }, - "cVisWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 728 - }, - "Random31Ux": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NcCalcSizeOnMove": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "KCOff": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "readyHead": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 912 - }, - "UsePrintingEscape": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoBatching": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTextBand": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 724 - }, - "fETWReserved": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 928 - }, - "pqAttach": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 528 - }, - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "TIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 408 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "Win31DevModeSize": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSBTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBTRACK" - }, - "kind": "pointer" - }, - "offset": 584 - }, - "spwndDefaultIme": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 648 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 520 - }, - "EditSetTextMunge": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fgfSwitchInProgressSetter": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 392 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "NoTimeCbProtect": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DisableFontAssoc": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pcti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "NoCharDeadKey": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 624 - }, - "TTIgnoreRasterDupe": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "qwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 520 - }, - "wParamHkCurrent": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 576 - }, - "NoWindowArrangement": { - "type": { - "bit_position": 32, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ActiveMenus": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pMenuState": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 488 - }, - "TryExceptCallWndProc": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "hklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "IgnoreTopMost": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "exitCode": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 464 - }, - "NoDDETrackDying": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "FontSubs": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "SmoothScrolling": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "lParamHkCurrent": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 568 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 736 - }, - "ptiSibling": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 536 - }, - "psiiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 504 - }, - "IncreaseStack": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - } - }, - "kind": "struct", - "size": 936 - }, - "__unnamed_11ff": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "EaLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FileAttributes": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_CALLPROCDATA": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "pfnClientPrevious": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "wType": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "spcpdNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH": { - "fields": { - "VidPnTargetColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 48 - }, - "VidPnTargetColorBasis": { - "type": { - "kind": "enum", - "name": "VidPnTargetColorBasisEnum" - }, - "offset": 44 - }, - "ContentTransformation": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" - }, - "offset": 12 - }, - "GammaRamp": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GAMMA_RAMP" - }, - "offset": 336 - }, - "CopyProtection": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" - }, - "offset": 68 - }, - "VidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Content": { - "type": { - "kind": "enum", - "name": "ContentEnum" - }, - "offset": 64 - }, - "VisibleFromActiveTLOffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 28 - }, - "VidPnTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "VisibleFromActiveBROffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 36 - }, - "ImportanceOrdinal": { - "type": { - "kind": "enum", - "name": "ImportanceOrdinalEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 360 - }, - "__unnamed_1253": { - "fields": { - "PowerSequence": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_POWER_SEQUENCE" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESS_HID_TABLE": { - "fields": { - "UsagePageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 96 - }, - "fExclusiveMouseSink": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboardSink": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fAppKeys": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fCaptureMouse": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyMouse": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboard": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyKeyboard": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "nSinks": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fExclusiveKeyboardSink": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "spwndTargetKbd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "UsagePageList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 32 - }, - "UsageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 98 - }, - "fNoHotKeys": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "pLastRequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "ExclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - }, - "spwndTargetMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fRawMouse": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawMouseSink": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "InclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1809": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "MessageCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHOOK": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "iHook": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "phkNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "offPfn": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "fLastHookHung": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 88 - }, - "nTimeout": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 7 - }, - "offset": 88 - }, - "ihmod": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "ptiHooked": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 80 - } - }, - "kind": "struct", - "size": 96 - }, - "_THROBJHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagPROCESS_HID_REQUEST": { - "fields": { - "fSinkable": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "pTLCInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_TLC_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fDevNotify": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "fExSinkable": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "ptr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "pPORequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_PAGEONLY_REQUEST" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "fExclusiveOrphaned": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "spwndTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 40 - }, - "_KFLOATING_SAVE": { - "fields": { - "Dummy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { - "fields": { - "Rotate270": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate90": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate180": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMLIST": { - "fields": { - "cMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pqmsgRead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pqmsgWriteLast": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_CONSOLE_CARET_INFO": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1807": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - }, - "Level": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "DEADKEY": { - "fields": { - "wchComposed": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 4 - }, - "dwBoth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESSINFO": { - "fields": { - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "fHasMagContext": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 736 - }, - "hwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWINSTA__" - }, - "kind": "pointer" - }, - "offset": 608 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ptiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 256 - }, - "pHidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 744 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "pclsPublicList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 288 - }, - "dwhmodLibLoadedMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 340 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "hdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 328 - }, - "pvwplWndGCList": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 760 - }, - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "dwImeCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 696 - }, - "hMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HMONITOR__" - }, - "kind": "pointer" - }, - "offset": 624 - }, - "ptiMainThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "dwRegisteredClasses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 752 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "usi": { - "type": { - "kind": "struct", - "name": "tagUSERSTARTUPINFO" - }, - "offset": 708 - }, - "luidSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 700 - }, - "Unused": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 736 - }, - "pW32Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 688 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 320 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "bmHandleFlags": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_BITMAP" - }, - "offset": 648 - }, - "pclsPrivateList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "amwinsta": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 616 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ppiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 736 - }, - "dwHotkey": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 620 - }, - "cSysExpunge": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "rpdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pdvList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 632 - }, - "pwpi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "ppiNextRunning": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "dwLayout": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 740 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rpwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "pCursorCache": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "pClientBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 672 - }, - "ahmodLibLoaded": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 344 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 640 - }, - "dwLpkEntryPoints": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 680 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 768 - }, - "HBRUSH__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLIP": { - "fields": { - "fmt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fGlobalHandle": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagUAHMENUPOPUPMETRICS": { - "fields": { - "rgcx": { - "type": { - "count": 4, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 0 - }, - "fUpdateMaxWidths": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 20 - }, - "tagSMS": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 72 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 80 - }, - "lpResultCallBack": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lRet": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 56 - }, - "psmsReceiveNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "tSent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "pvCapture": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "psmsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptiReceiver": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ptiCallBackSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "dwData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 112 - }, - "__unnamed_195e": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_195c": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_W32THREAD": { - "fields": { - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 336 - }, - "_VK_TO_WCHAR_TABLE": { - "fields": { - "pVkToWchars": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHARS1" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cbSize": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - }, - "nModifications": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPROPLIST": { - "fields": { - "aprop": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagPROP" - }, - "kind": "array" - }, - "offset": 8 - }, - "iFirstFree": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cEntries": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_D3DKMDT_FREQUENCY_RANGE": { - "fields": { - "MinVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 0 - }, - "MaxVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 8 - }, - "MaxHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 24 - }, - "MinHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_11f8": { - "fields": { - "Apc": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KAPC" - }, - "offset": 0 - }, - "CompletionKey": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Overlay": { - "type": { - "kind": "struct", - "name": "__unnamed_11f5" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_18bf": { - "fields": { - "BaseMiddle": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "Flags1": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "Flags2": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "tagPROFILEVALUEINFO": { - "fields": { - "dwValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uSection": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pwszKeyName": { - "type": { - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_11f5": { - "fields": { - "Thread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "DeviceQueueEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" - }, - "offset": 0 - }, - "CurrentStackLocation": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_STACK_LOCATION" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "DriverContext": { - "type": { - "count": 4, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 0 - }, - "AuxiliaryBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "OriginalFileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "PacketType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 80 - }, - "__unnamed_125f": { - "fields": { - "AllocatedResources": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "AllocatedResourcesTranslated": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "D3DDDI_DXGI_RGB": { - "fields": { - "Blue": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "Green": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "Red": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1219": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FsControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_125b": { - "fields": { - "State": { - "type": { - "kind": "struct", - "name": "nt_symbols!_POWER_STATE" - }, - "offset": 16 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "SystemContext": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ShutdownType": { - "type": { - "kind": "enum", - "name": "ShutdownTypeEnum" - }, - "offset": 24 - }, - "SystemPowerStateContext": { - "type": { - "kind": "struct", - "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "HDC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagDISPLAYINFO": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "SpatialListHead": { - "type": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "offset": 144 - }, - "BitCountMax": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 130 - }, - "cyGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "hdcBits": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDesktopIsRect": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "hbmGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pmdev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "cFullScreen": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 160 - }, - "cxGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 128 - }, - "hDevInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fAnyPalette": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "pspbFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pMonitorPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 162 - }, - "pMonitorFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "hdcGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hrgnScreenReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cMonitors": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "hdcScreen": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "DockThresholdMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "pdceFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 168 - }, - "tagWin32AllocStats": { - "fields": { - "dwMaxAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwMaxMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwCrtAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwCrtMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18c5": { - "fields": { - "DefaultBig": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "BaseMiddle": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "LimitHigh": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 0 - }, - "System": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Granularity": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Dpl": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 0 - }, - "Type": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "Present": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "LongMode": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1261": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ProviderId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "BufferSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DataPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1263": { - "fields": { - "Argument4": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Argument2": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Argument3": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "Argument1": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1265": { - "fields": { - "DeviceIoControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121d" - }, - "offset": 0 - }, - "ReadWriteConfig": { - "type": { - "kind": "struct", - "name": "__unnamed_123d" - }, - "offset": 0 - }, - "Create": { - "type": { - "kind": "struct", - "name": "__unnamed_11ff" - }, - "offset": 0 - }, - "Write": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "PowerSequence": { - "type": { - "kind": "struct", - "name": "__unnamed_1253" - }, - "offset": 0 - }, - "QueryId": { - "type": { - "kind": "struct", - "name": "__unnamed_1243" - }, - "offset": 0 - }, - "SetFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1213" - }, - "offset": 0 - }, - "CreatePipe": { - "type": { - "kind": "struct", - "name": "__unnamed_1203" - }, - "offset": 0 - }, - "Power": { - "type": { - "kind": "struct", - "name": "__unnamed_125b" - }, - "offset": 0 - }, - "Read": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "StartDevice": { - "type": { - "kind": "struct", - "name": "__unnamed_125f" - }, - "offset": 0 - }, - "QueryDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120d" - }, - "offset": 0 - }, - "LockControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121b" - }, - "offset": 0 - }, - "QueryInterface": { - "type": { - "kind": "struct", - "name": "__unnamed_1233" - }, - "offset": 0 - }, - "Others": { - "type": { - "kind": "struct", - "name": "__unnamed_1263" - }, - "offset": 0 - }, - "FileSystemControl": { - "type": { - "kind": "struct", - "name": "__unnamed_1219" - }, - "offset": 0 - }, - "SetLock": { - "type": { - "kind": "struct", - "name": "__unnamed_123f" - }, - "offset": 0 - }, - "QueryDeviceText": { - "type": { - "kind": "struct", - "name": "__unnamed_1247" - }, - "offset": 0 - }, - "WMI": { - "type": { - "kind": "struct", - "name": "__unnamed_1261" - }, - "offset": 0 - }, - "CreateMailslot": { - "type": { - "kind": "struct", - "name": "__unnamed_1207" - }, - "offset": 0 - }, - "FilterResourceRequirements": { - "type": { - "kind": "struct", - "name": "__unnamed_123b" - }, - "offset": 0 - }, - "MountVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QueryVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1217" - }, - "offset": 0 - }, - "UsageNotification": { - "type": { - "kind": "struct", - "name": "__unnamed_124b" - }, - "offset": 0 - }, - "Scsi": { - "type": { - "kind": "struct", - "name": "__unnamed_1229" - }, - "offset": 0 - }, - "WaitWake": { - "type": { - "kind": "struct", - "name": "__unnamed_124f" - }, - "offset": 0 - }, - "QueryFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1211" - }, - "offset": 0 - }, - "VerifyVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QuerySecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_121f" - }, - "offset": 0 - }, - "QueryDeviceRelations": { - "type": { - "kind": "struct", - "name": "__unnamed_122d" - }, - "offset": 0 - }, - "NotifyDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120f" - }, - "offset": 0 - }, - "SetSecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_1221" - }, - "offset": 0 - }, - "DeviceCapabilities": { - "type": { - "kind": "struct", - "name": "__unnamed_1237" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1817": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1815": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "tagKbdLayer": { - "fields": { - "pVkToWcharTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHAR_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fLocaleFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "pCharModifiers": { - "type": { - "subtype": { - "kind": "struct", - "name": "MODIFIERS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pKeyNamesExt": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pDeadKey": { - "type": { - "subtype": { - "kind": "struct", - "name": "DEADKEY" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pusVSCtoVK": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pKeyNamesDead": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pLigature": { - "type": { - "subtype": { - "kind": "struct", - "name": "_LIGATURE1" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "cbLgEntry": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 85 - }, - "pKeyNames": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "dwSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "nLgMax": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 84 - }, - "pVSCtoVK_E1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pVSCtoVK_E0": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bMaxVSCtoVK": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1813": { - "fields": { - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { - "fields": { - "Centered": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "AspectRatioCenteredMax": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Stretched": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Custom": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1958": { - "fields": { - "MinBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "MaxBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_2DREGION": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "HRGN__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1954": { - "fields": { - "AffinityPolicy": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "PriorityPolicy": { - "type": { - "kind": "enum", - "name": "PriorityPolicyEnum" - }, - "offset": 12 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "MaximumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "TargetedProcessors": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "MinimumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_PROCMARKHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagSIZE": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagDESKTOPVIEW": { - "fields": { - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "pdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pdvNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1819": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { - "fields": { - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "PathAndTargetModeSetOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBTRACK": { - "fields": { - "spwndSBNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTimerSB": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "cmdSB": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "xxxpfnSB": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fTrackVert": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posNew": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 84 - }, - "posOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fCtlSB": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "rcTrack": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 32 - }, - "fTrackRecalc": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndSB": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "pxOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fHitOld": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "pSBCalc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBCALC" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "nBar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_16c1": { - "fields": { - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "MaxPixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_DMA_ADAPTER": { - "fields": { - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "DmaOperations": { - "type": { - "subtype": { - "kind": "struct", - "name": "_DMA_OPERATIONS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMONITOR": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "rcMonitorReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 28 - }, - "pMonitorNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hDevReal": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "hrgnMonitorReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "rcWorkReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 44 - }, - "dwMONFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cWndStack": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 74 - }, - "DockTargets": { - "type": { - "count": 7, - "subtype": { - "count": 4, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "kind": "array" - }, - "offset": 96 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 144 - }, - "__unnamed_180b": { - "fields": { - "Translated": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Raw": { - "type": { - "kind": "struct", - "name": "__unnamed_1809" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagRECT": { - "fields": { - "top": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "right": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "bottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "left": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_180d": { - "fields": { - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Port": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Channel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_180f": { - "fields": { - "Data": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "MODIFIERS": { - "fields": { - "wMaxModBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "pVkToBit": { - "type": { - "subtype": { - "kind": "struct", - "name": "VK_TO_BIT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ModNumber": { - "type": { - "count": 0, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 10 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120f": { - "fields": { - "CompletionFilter": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120d": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 16 - }, - "FileName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { - "fields": { - "PathAndTargetModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 48 - }, - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 40 - }, - "SourceMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_SOURCE_MODE" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 480 - }, - "tagMSG": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 24 - }, - "pt": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 36 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "time": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "tagDPISERVERINFO": { - "fields": { - "hMsgFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hCaptionFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "gclBorder": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cxMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "wMaxBtnSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "cyMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { - "fields": { - "Blue": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 1024 - }, - "Green": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 512 - }, - "Red": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1536 - }, - "__unnamed_124f": { - "fields": { - "PowerState": { - "type": { - "kind": "enum", - "name": "PowerStateEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagWOWPROCESSINFO": { - "fields": { - "ptdbHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ptiScheduled": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "nRecvLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CSLockCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "nSendLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pEventWowExec": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lpfnWowExitTask": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "CSOwningThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "hEventWowExecClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwpiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "HTOUCHINPUT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMENU": { - "fields": { - "iItem": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "umpm": { - "type": { - "kind": "struct", - "name": "tagUAHMENUPOPUPMETRICS" - }, - "offset": 132 - }, - "cItems": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pParentMenus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "fFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "cxMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwContextHelpId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "cxTextAlign": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "cAlloced": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "hbrBack": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwArrowsOn": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 128 - }, - "iMaxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 124 - }, - "dwMenuData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "cyMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "rgItems": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagITEM" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "cyMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "_D3DDDI_GAMMA_RAMP_DXGI_1": { - "fields": { - "GammaCurve": { - "type": { - "count": 1025, - "subtype": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "kind": "array" - }, - "offset": 24 - }, - "Scale": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 0 - }, - "Offset": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 12324 - }, - "_MOVESIZEDATA": { - "fields": { - "fmsKbd": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "pStartMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "impy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 152 - }, - "fMoveFromMax": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapMoving": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "frcNormalCheckPtValid": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptMaxTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 96 - }, - "ptRestore": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 156 - }, - "fUsePreviewRect": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForceSizing": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fThresholdSelector": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 164 - }, - "ptStartHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 208 - }, - "fDragFullWindows": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForeground": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "dyMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 140 - }, - "fHasSoftwareCursor": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsHitPtOffScreen": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapSizingTemporaryAllowed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fCheckPtForcefullyRestored": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedRight": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ulCountDragOutOfLeftRightTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 228 - }, - "Unused": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 164 - }, - "dxMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 136 - }, - "fStartVerticallyMaximizedRight": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcParent": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 72 - }, - "fOffScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fWindowWasSuperMaximized": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedLeft": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "StartCurrentHitTarget": { - "type": { - "kind": "enum", - "name": "StartCurrentHitTargetEnum" - }, - "offset": 176 - }, - "fHasPreviewRect": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fLockWindowUpdate": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcPreview": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 40 - }, - "fSnapSizing": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsMoveSizeLoop": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fInitSize": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcDragCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "ulCountDragOutOfTopTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 224 - }, - "rcPreviewCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 56 - }, - "CurrentHitTarget": { - "type": { - "kind": "enum", - "name": "CurrentHitTargetEnum" - }, - "offset": 192 - }, - "fSnapMovingTemporaryAllowed": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fTrackCancelled": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 200 - }, - "ptLastTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 216 - }, - "cmd": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 144 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 164 - }, - "MoveRectStyle": { - "type": { - "kind": "enum", - "name": "MoveRectStyleEnum" - }, - "offset": 196 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "ulCountSizeOutOfTopBottomTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 232 - }, - "fStartVerticallyMaximizedLeft": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcNormalStartCheckPt": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 120 - }, - "ptMinTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 88 - }, - "rcDrag": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - }, - "pMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "impx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 148 - } - }, - "kind": "struct", - "size": 240 - }, - "_D3DDDI_RATIONAL": { - "fields": { - "Denominator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Numerator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "VWPL": { - "fields": { - "cElem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "aElement": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "VWPLELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "fTagged": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cThreshhold": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cPwnd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagTEXTMETRICW": { - "fields": { - "tmOverhang": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "tmPitchAndFamily": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 55 - }, - "tmStruckOut": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 54 - }, - "tmCharSet": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - }, - "tmDigitizedAspectX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "tmDigitizedAspectY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "tmFirstChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 44 - }, - "tmWeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "tmDescent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "tmDefaultChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 48 - }, - "tmLastChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 46 - }, - "tmMaxCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "tmItalic": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 52 - }, - "tmUnderlined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 53 - }, - "tmInternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "tmAscent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "tmHeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "tmAveCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "tmBreakChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 50 - }, - "tmExternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 60 - }, - "_SCATTER_GATHER_LIST": { - "fields": { - "Elements": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "_SCATTER_GATHER_ELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "NumberOfElements": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "HICON__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_HANDLEENTRY": { - "fields": { - "pOwner": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "bFlags": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 17 - }, - "phead": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HEAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "wUniq": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "bType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_THRDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagSVR_INSTANCE_INFO": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nextInThisThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spwndEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "afCmd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pcii": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 80 - }, - "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { - "fields": { - "RequestDiagInfo": { - "type": { - "kind": "struct", - "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" - }, - "offset": 4 - }, - "AffectedVidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "VidPnSerialization": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPN_SERIALIZATION" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 28 - }, - "tagPOPUPMENU": { - "fields": { - "fDroppedLeft": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fIsSysMenu": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posDropped": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fIsMenuBar": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHierarchyDropped": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDropNextPopup": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fRightButton": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ppopupmenuRoot": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fFirstClick": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fRtoL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSendUninit": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fAboutToHide": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNextPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fFlushDelayedFree": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHasMenuBar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fTrackMouseEvent": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fNoNotify": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posSelectedItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fUseMonitorRect": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndPrevPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ppmDelayedFree": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "fFreed": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSynchronous": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenuAlternate": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fDestroyed": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "iDropDir": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "fIsTrackPopup": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndActivePopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "fInCancel": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fToggle": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDelayedFree": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHideTimer": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fShowTimer": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "_D3DKMDT_MONITOR_SOURCE_MODE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 84 - }, - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "ColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 68 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 88 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 96 - }, - "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 8 - }, - "Data": { - "type": { - "count": 128, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 12 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 140 - }, - "__unnamed_127c": { - "fields": { - "Wcb": { - "type": { - "kind": "struct", - "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" - }, - "offset": 0 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_D3DMATRIX": { - "fields": { - "_41": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 48 - }, - "_42": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 52 - }, - "_43": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 56 - }, - "_44": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 60 - }, - "_34": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 44 - }, - "_14": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 12 - }, - "_13": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "_12": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "_11": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - }, - "_24": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 28 - }, - "_31": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 32 - }, - "_33": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 40 - }, - "_32": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 36 - }, - "_22": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 20 - }, - "_23": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 24 - }, - "_21": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 64 - }, - "_LARGE_UNICODE_STRING": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumLength": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 4 - }, - "bAnsi": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "_VK_VALUES_STRINGS": { - "fields": { - "fReserved": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "pszMultiNames": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHID_TLC_INFO": { - "fields": { - "cExcludeOrphaned": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - }, - "cDevices": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "cExcludeRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cUsagePageRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "cDirectRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { - "fields": { - "Info": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_SOURCE_MODE" - }, - "offset": 0 - }, - "TimingType": { - "type": { - "kind": "enum", - "name": "TimingTypeEnum" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 104 - }, - "tagCURSOR": { - "fields": { - "rt": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 58 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCMARKHEAD" - }, - "offset": 0 - }, - "hbmUserAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "xHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 68 - }, - "hbmColor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pcurNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "CURSORF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hbmMask": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bpp": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 120 - }, - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 128 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "rcBounds": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 96 - }, - "atomModName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "hbmAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "yHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 70 - }, - "strName": { - "type": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 136 - }, - "_D3DKMDT_GAMMA_RAMP": { - "fields": { - "Data": { - "type": { - "kind": "struct", - "name": "__unnamed_182e" - }, - "offset": 16 - }, - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "HWND__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1207": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18a1": { - "fields": { - "Text": { - "type": { - "kind": "enum", - "name": "TextEnum" - }, - "offset": 0 - }, - "Graphics": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { - "fields": { - "TargetMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "offset": 360 - }, - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 432 - }, - "HKL__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1209": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagDCE": { - "fields": { - "hrgnClipPublic": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwndOrg": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pdceNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "DCX_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hdc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "hrgnSavedVis": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pwndRedirect": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pwndClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 96 - }, - "VSC_LPWSTR": { - "fields": { - "vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pwsz": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagQ": { - "fields": { - "hwndDblClk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "timeDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndFocus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 328 - }, - "cLockCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 322 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 312 - }, - "ptiSysLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "caret": { - "type": { - "kind": "struct", - "name": "tagCARET" - }, - "offset": 232 - }, - "ptiMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndActivePrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ptMouseMove": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 128 - }, - "msgDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "msgJournal": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "ptiKeyboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 320 - }, - "QF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 316 - }, - "mlInput": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 0 - }, - "spwndActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "codeCapture": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "idSysLock": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "spcurCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "ulEtwReserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "ptDblClk": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 120 - }, - "xbtnDblClk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 104 - }, - "afKeyRecentDown": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "afKeyState": { - "type": { - "count": 64, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 168 - }, - "spwndCapture": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "idSysPeek": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 344 - }, - "__unnamed_1203": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "HGESTUREINFO__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLS": { - "fields": { - "spcur": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 100 - }, - "pclsClone": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "lpszClientAnsiMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pclsBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "atomNVClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "pclsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "CSF_flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "lpszAnsiClassName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "spcpdFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "lpszClientUnicodeMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "cbclsExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 96 - }, - "lpszMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "spicnSm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "cWndReferenceCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "hbrBackground": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "spicn": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 12 - }, - "pdce": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "rpdeskParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "atomClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 160 - }, - "_PROCDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { - "fields": { - "CommitVidPnRequestOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumCommitVidPnRequests": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_VK_TO_FUNCTION_TABLE": { - "fields": { - "NLSFEProcType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "NLSFEProcCurrent": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcSwitch": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "NLSFEProcAlt": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 68 - }, - "NLSFEProc": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 132 - }, - "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { - "fields": { - "NumDescriptors": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "DescriptorSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 144 - }, - "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 112 - }, - "_CALLBACKWND": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { - "fields": { - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - }, - "TargetModeSet": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" - }, - "offset": 360 - } - }, - "kind": "struct", - "size": 440 - }, - "_VK_FUNCTION_PARAM": { - "fields": { - "NLSFEProcIndex": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcParam": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBCALC": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "pxStart": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "pxThumbBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "cpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "pxMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pxThumbTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "pxDownArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cpx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "pxBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "pxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pxLeft": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "pxRight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "pxUpArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "HDESK__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "HIMC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { - "fields": { - "SecondChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "FourthChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "ThirdChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FirstChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMENUSTATE": { - "fields": { - "cxAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 116 - }, - "pGlobalPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "uDraggingIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "fNotifyByPos": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInCallHandleMenuMessages": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ixAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "dwLockCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "fAutoDismiss": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fIsSysMenu": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "dwAniStartTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "uButtonDownHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "fIgnoreButtonUp": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptButtonDown": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 56 - }, - "fMenuStarted": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "iAniDropDir": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 8 - }, - "hdcAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "fModelessMenu": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hbmAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "fInEndMenu": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 92 - }, - "vkButtonDown": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fSetCapture": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInDoDragDrop": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fActiveNoForeground": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fMouseOffMenu": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fDragAndDrop": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInsideMenuLoop": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 80 - }, - "fButtonDown": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptiMenuStateOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "iyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 112 - }, - "hdcWndAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "fAboutToAutoDismiss": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "mnFocus": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "uButtonDownIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "fButtonAlwaysDown": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fUnderline": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptMouseLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 12 - }, - "pmnsPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fDragging": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "cmdLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 144 - }, - "VK_TO_BIT": { - "fields": { - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModBits": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - } - }, - "kind": "struct", - "size": 2 - }, - "tagWOWTHREADINFO": { - "fields": { - "pwtiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "idParentProcess": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fAssigned": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "idWaitObject": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "idTask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_1805": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1211": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1213": { - "fields": { - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - }, - "AdvanceOnly": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 25 - }, - "ClusterCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "DeleteHandle": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReplaceIfExists": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 24 - }, - "FileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1217": { - "fields": { - "FsInformationClass": { - "type": { - "kind": "enum", - "name": "FsInformationClassEnum" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_123b": { - "fields": { - "IoResourceRequirementList": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_122d": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1950": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagITEM": { - "fields": { - "fType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ulX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "wID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwItemData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "hbmpChecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "xItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "spSubMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hbmpUnchecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fState": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dxTab": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "cxBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 104 - }, - "yItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "cyItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 76 - }, - "umim": { - "type": { - "kind": "struct", - "name": "tagUAHMENUITEMMETRICS" - }, - "offset": 112 - }, - "cch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "ulWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "cyBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "lpstr": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cxItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "hbmp": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 144 - }, - "tagIMEINFOEX": { - "fields": { - "dwImeWinVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fSysWow64Only": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "fInitOpen": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "wszImeDescription": { - "type": { - "count": 50, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 88 - }, - "fCUASLayer": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "ImeInfo": { - "type": { - "kind": "struct", - "name": "tagIMEINFO" - }, - "offset": 8 - }, - "wszImeFile": { - "type": { - "count": 80, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 188 - }, - "wszUIClass": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 36 - }, - "fLoadFlag": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "dwProdVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fdwInitConvMode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - } - }, - "kind": "struct", - "size": 352 - }, - "__unnamed_1962": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1958" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_1956" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_195e" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_195c" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "__unnamed_180f" - }, - "offset": 0 - }, - "ConfigData": { - "type": { - "kind": "struct", - "name": "__unnamed_195a" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1960" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1954" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagMSGPPINFO": { - "fields": { - "dwIndexMsgPP": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagSBINFO": { - "fields": { - "WSBflags": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "Horz": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 4 - }, - "Vert": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 36 - }, - "VWPLELEMENT": { - "fields": { - "DataOrTag": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSBDATA": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "_VSC_VK": { - "fields": { - "Vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123f": { - "fields": { - "Lock": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1 - }, - "_SCATTER_GATHER_ELEMENT": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "Address": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagWND": { - "fields": { - "spwndLastActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "bWS_CLIPCHILDREN": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bMaximizeButtonDown": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bUIStateActive": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_TABSTOP": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDialogWindow": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bMinimizeButtonDown": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HIMC__" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "bChildNoActivate": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_LAYERED": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved3": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bStartPaint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedLeft": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bHiddenPopup": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSendEraseBackground": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin50Compat": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_CLIENTEDGE": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 66 - }, - "bWS_EX_TOOLWINDOW": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bDisabled": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bAnsiWindowProc": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin40Compat": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcClient": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 128 - }, - "bAnsiCreator": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bAnyScrollButtonDown": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bSendSizeMoveMsgs": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bLinked": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bSendNCPaint": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bInternalPaint": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasClientEdge": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasPalette": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasHorizontalScrollbar": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUIStateFocusRectHidden": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_DLGFRAME": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_MDICHILD": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasVerticalScrollbar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved2": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bSmallIconFromWMQueryDrag": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bNoNCPaint": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused1": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasSPB": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_MINIMIZEBOX": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarVerticalTracking": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_DLGMODALFRAME": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TRANSPARENT": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bPaintNotProcessed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSyncPaintPending": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "bShellHookRegistered": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndChild": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bUnused5": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bInDestroy": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "state": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "bWS_EX_LEFTSCROLLBAR": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bToggleTopmost": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_VSCROLL": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "ExStyle": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "bWS_HSCROLL": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUpdateDirty": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWMPaintSent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_WINDOWEDGE": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_ACCEPTFILE": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_GROUP": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bVisible": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bVerticallyMaximizedRight": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bForceMenuDraw": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bForceNCPaint": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bOldUI": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndClipboardListenerNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "bWS_EX_NOPADDEDBORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bNoMinmaxAnimatedRects": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bWS_MAXIMIZEBOX": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bHasCaption": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bEraseBackground": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "spwndOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 232 - }, - "bMakeVisibleWhenUnghosted": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused8": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bUnused9": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 52 - }, - "bForceFullNCPaintClipRgn": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_RTLREADING": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pSBInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBINFO" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "bUnused2": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused3": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused4": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasMeun": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused6": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused7": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bClipboardListener": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bScrollBarLineDownBtnDown": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedirectedForPrint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_RIGHT": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasCreatestructName": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITED": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bFullScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnUpdate": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "bConsoleWindow": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "ppropList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROPLIST" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bWS_EX_TOPMOST": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bScrollBarPageDownBtnDown": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarLineUpBtnDown": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRecievedQuerySuspendMsg": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bMaximizeMonitorRegion": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedrawIfHung": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_POPUP": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTEXTHELP": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "dwUserData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 256 - }, - "hMod16": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 64 - }, - "FullScreenMode": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 44 - }, - "bLayeredLimbo": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_NOINHERITLAYOUT": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_LAYOUTRTL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUIStateKbdAccelHidden": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_BORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_SIZEBOX": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDestroyed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bServerSideWindowProc": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bCaptionTextTruncated": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 112 - }, - "bEndPaintInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnNewFrame": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "bBeingActivated": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITEDCompositing": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWMCreateMsgProcessed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_NOACTIVATE": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_APPWINDOW": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bCloseButtonDown": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bMaximized": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_CHILD": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "bWS_THICKFRAME": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTROLPARENT": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pcls": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "bLayeredForDWM": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bMsgBox": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHelpButtonDown": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasOverlay": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bRedrawFrameIfHung": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_NOPARENTNOTIFY": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bMaximizesToMonitor": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bBottomMost": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bReserved1": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bRedirected": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bActiveFrame": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved4": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved5": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved6": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved7": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "spwndPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "bLayeredInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "state2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "bWS_CLIPSIBLINGS": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarPageUpBtnDown": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "pTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DMATRIX" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "bWin31Compat": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "ExStyle2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "bHIGHDPI_UNAWARE_Unused": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_SYSMENU": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "strName": { - "type": { - "kind": "struct", - "name": "_LARGE_UNICODE_STRING" - }, - "offset": 216 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "bMinimized": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bRecievedSuspendMsg": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_STATICEDGE": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 296 - }, - "_WM_VALUES_STRINGS": { - "fields": { - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "fInternal": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "fDefined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { - "fields": { - "VisibleRegionSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 8 - }, - "Stride": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "PixelFormat": { - "type": { - "kind": "enum", - "name": "PixelFormatEnum" - }, - "offset": 20 - }, - "PixelValueAccessMode": { - "type": { - "kind": "enum", - "name": "PixelValueAccessModeEnum" - }, - "offset": 28 - }, - "PrimSurfSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "_VK_TO_WCHARS1": { - "fields": { - "Attributes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "_TLSPRITESTATE": { - "fields": { - "flOriginalSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "iSpriteType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pfnSaveScreenBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bInsideDriverCall": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pfnStrokePath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnTransparentBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnPaint": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnStretchBltROP": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "iType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "pfnPlgBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnCopyBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "iOriginalType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pfnTextOut": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDrawStream": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStrokeAndFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnLineTo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnStretchBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGradientFill": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnAlphaBlend": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "flSpriteSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "pfnBitBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 168 - }, - "tagUAHMENUITEMMETRICS": { - "fields": { - "rgsizeBar": { - "type": { - "count": 2, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - }, - "rgsizePopup": { - "type": { - "count": 4, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_121b": { - "fields": { - "Length": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1229": { - "fields": { - "Srb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_SCSI_REQUEST_BLOCK" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_121f": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1225": { - "fields": { - "DeviceObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Vpb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_VPB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_HEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagIMEINFO": { - "fields": { - "fdwProperty": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "fdwSelectCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fdwUICaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwPrivateDataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fdwSCSCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "fdwSentenceCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "fdwConversionCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 28 - }, - "_DXGK_DIAG_CODE_POINT_PACKET": { - "fields": { - "Header": { - "type": { - "kind": "struct", - "name": "_DXGK_DIAG_HEADER" - }, - "offset": 0 - }, - "Param3": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "Param1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CodePointType": { - "type": { - "kind": "enum", - "name": "CodePointTypeEnum" - }, - "offset": 48 - }, - "Param2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_SOURCE_MODE": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Format": { - "type": { - "kind": "struct", - "name": "__unnamed_18a1" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagW32JOB": { - "fields": { - "restrictions": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ughCrt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ughMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pgh": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long long" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EJOB" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ppiTable": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "uProcessCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "uMaxProcesses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { - "fields": { - "NumFrequencyRanges": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "FrequencyRangeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 56 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { - "fields": { - "APSTriggerBits": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "CopyProtectionType": { - "type": { - "kind": "enum", - "name": "CopyProtectionTypeEnum" - }, - "offset": 0 - }, - "CopyProtectionSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" - }, - "offset": 264 - }, - "OEMCopyProtection": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 268 - }, - "tagWINDOWSTATION": { - "fields": { - "pClipBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIP" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "cNumClipFormats": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "luidUser": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 136 - }, - "pGlobalAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "ptiClipLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "dwWSF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "rpdeskList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spklList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spwndClipOpen": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndClipViewer": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pTerm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTERMINAL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "rpwinstaNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndClipboardListener": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "luidEndSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 128 - }, - "iClipSequenceNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "ptiDrawingClipboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "spwndClipOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "psidUser": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "tagDESKTOPINFO": { - "fields": { - "spwndProgman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "pvwplMessagePPHandler": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 224 - }, - "pvDesktopLimit": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fComposited": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndGestureEngine": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "pvDesktopBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwndShell": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "ppiShellProcess": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pvwplShellHook": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "fIsDwmDesktop": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndTaskman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 32 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cntMBox": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 208 - }, - "spwndBkGnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 240 - }, - "tagMBSTRING": { - "fields": { - "szName": { - "type": { - "count": 15, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 0 - }, - "uID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "uStr": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DKMDT_VIDPN_TARGET_MODE": { - "fields": { - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 72 - }, - "_DMM_VIDPNSET_SERIALIZATION": { - "fields": { - "VidPnOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumVidPns": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagKBDFILE": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "awchDllName": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 56 - }, - "pKbdTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdLayer" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pkfNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pKbdNlsTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdNlsLayer" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_11e4": { - "fields": { - "UserApcContext": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "UserApcRoutine": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "IssuingProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_W32PROCESS": { - "fields": { - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 256 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { - "fields": { - "Scaling": { - "type": { - "kind": "enum", - "name": "ScalingEnum" - }, - "offset": 0 - }, - "RotationSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" - }, - "offset": 12 - }, - "Rotation": { - "type": { - "kind": "enum", - "name": "RotationEnum" - }, - "offset": 8 - }, - "ScalingSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSERVERINFO": { - "fields": { - "uiShellMsg": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 912 - }, - "cbHandleTable": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 848 - }, - "atomSysClass": { - "type": { - "count": 25, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 852 - }, - "dtScroll": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2800 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2952 - }, - "atomIconSmProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1356 - }, - "argbSystemUnmatched": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2268 - }, - "dwTagCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4632 - }, - "ucWheelScrollLines": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2812 - }, - "ptCursorReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2784 - }, - "ucWheelScrollChars": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2816 - }, - "acOemToAnsi": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1364 - }, - "cySysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2832 - }, - "atomFrostedWindowProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1362 - }, - "mpFnid_serverCBWndProc": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 328 - }, - "PUSIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4476 - }, - "BitCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4468 - }, - "argbSystem": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2392 - }, - "dtLBSearch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2804 - }, - "dtCaretBlink": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2808 - }, - "dwInstalledEventHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 1876 - }, - "apfnClientA": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 392 - }, - "cxSysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2828 - }, - "hbrGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 2768 - }, - "ahbrSystem": { - "type": { - "count": 31, - "subtype": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 2520 - }, - "dwDefaultHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "wMaxRightOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2824 - }, - "dwSRVIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "oembmi": { - "type": { - "count": 93, - "subtype": { - "kind": "struct", - "name": "tagOEMBITMAPINFO" - }, - "kind": "array" - }, - "offset": 2964 - }, - "apfnClientWorker": { - "type": { - "kind": "struct", - "name": "_PFNCLIENTWORKER" - }, - "offset": 760 - }, - "dwDefaultHeapBase": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 904 - }, - "BitsPixel": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4473 - }, - "wMaxLeftOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2820 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4470 - }, - "dwLastSystemRITEventTickCountUpdate": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4488 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2796 - }, - "atomIconProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1358 - }, - "Planes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4472 - }, - "dpiSystem": { - "type": { - "kind": "struct", - "name": "tagDPISERVERINFO" - }, - "offset": 2896 - }, - "hIcoWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2944 - }, - "apfnClientW": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 576 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2956 - }, - "MBStrings": { - "type": { - "count": 11, - "subtype": { - "kind": "struct", - "name": "tagMBSTRING" - }, - "kind": "array" - }, - "offset": 916 - }, - "atomContextHelpIdProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1360 - }, - "adwDBGTAGFlags": { - "type": { - "count": 35, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4492 - }, - "aiSysMet": { - "type": { - "count": 97, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 1880 - }, - "dwRIPFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4636 - }, - "uCaretWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4480 - }, - "cCaptures": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2960 - }, - "tmSysFont": { - "type": { - "kind": "struct", - "name": "tagTEXTMETRICW" - }, - "offset": 2836 - }, - "cHandleEntries": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ptCursor": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2776 - }, - "hIconSmWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2936 - }, - "mpFnidPfn": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "UILangID": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4484 - }, - "acAnsiToOem": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1620 - }, - "aStoCidPfn": { - "type": { - "count": 7, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 272 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 4452 - }, - "dwLastRITEventTickCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2792 - } - }, - "kind": "struct", - "size": 4640 - }, - "tagPOOLRECORD": { - "fields": { - "ExtraData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "trace": { - "type": { - "count": 6, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "__unnamed_195a": { - "fields": { - "Priority": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagUSERSTARTUPINFO": { - "fields": { - "dwYSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cbReserved2": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 26 - }, - "cb": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dwY": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwXSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "wShowWindow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 28 - }, - "_DMM_VIDPN_SERIALIZATION": { - "fields": { - "PathsFromSourceSerializationOffsets": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 8 - }, - "NumActiveSources": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_11df": { - "fields": { - "IrpCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "SystemBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MasterIrp": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IRP" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagHID_PAGEONLY_REQUEST": { - "fields": { - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cRefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1233": { - "fields": { - "Interface": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_INTERFACE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "InterfaceSpecificData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "InterfaceType": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_GUID" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagQMSG": { - "fields": { - "Padding": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 80 - }, - "ptMouseReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 72 - }, - "FromPen": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 64 - }, - "Wow64Message": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 96 - }, - "dwQEvent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 30 - }, - "offset": 80 - }, - "pqmsgPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FromTouch": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "NoCoalesce": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "msg": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 16 - }, - "pqmsgNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1237": { - "fields": { - "Capabilities": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_CAPABILITIES" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_11e6": { - "fields": { - "AsynchronousParameters": { - "type": { - "kind": "struct", - "name": "__unnamed_11e4" - }, - "offset": 0 - }, - "AllocationSize": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagDESKTOP": { - "fields": { - "spmenuVScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "dwMouseHoverTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 212 - }, - "rpwinstaParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spmenuDialogSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndForeground": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenuHScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "spwndTooltip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndMessage": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cciConsole": { - "type": { - "kind": "struct", - "name": "_CONSOLE_CARET_INFO" - }, - "offset": 144 - }, - "PtiList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 168 - }, - "spwndTray": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "rpdeskNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwDTFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pMagInputTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MAGNIFICATION_INPUT_TRANSFORM" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "htEx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 192 - }, - "ulHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "pheapDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!tagWIN32HEAP" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "rcMouseHover": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 196 - }, - "hsectionDesktop": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "dwDesktopId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 224 - }, - "_MAGNIFICATION_INPUT_TRANSFORM": { - "fields": { - "rcScreen": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 16 - }, - "magFactorX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "magFactorY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "ptiMagThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rcSource": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 48 - }, - "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 0 - }, - "ConstraintType": { - "type": { - "kind": "enum", - "name": "ConstraintTypeEnum" - }, - "offset": 36 - }, - "RangeLimits": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_FREQUENCY_RANGE" - }, - "offset": 4 - }, - "Constraint": { - "type": { - "kind": "struct", - "name": "__unnamed_16c1" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_121d": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IoControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_PFNCLIENTWORKER": { - "fields": { - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnCtfHookProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_12e0": { - "fields": { - "InitialPrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" - }, - "offset": 0 - }, - "PrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_PRIVILEGE_SET" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 44 - }, - "tagMENULIST": { - "fields": { - "pMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_DMA_OPERATIONS": { - "fields": { - "PutDmaAdapter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FreeMapRegisters": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "MapTransfer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "FreeCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReadDmaCounter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "AllocateCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "PutScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "BuildMdlFromScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "GetScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "CalculateScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "FreeAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "GetDmaAlignment": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "FlushAdapterBuffers": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "AllocateAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "BuildScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 128 - }, - "tagSPB": { - "fields": { - "hbm": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hrgn": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ulSaveId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "pspbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "tagWin32PoolHead": { - "fields": { - "pPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pTrace": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DXGK_DIAG_HEADER": { - "fields": { - "Index": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "ProcessName": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 16 - }, - "LogTimestamp": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ThreadId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - }, - "WdLogIdx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 48 - }, - "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { - "fields": { - "CleanupAfterFailedCommitVidPn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ModeChangeRequestId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "ReclaimClonedTarget": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ForceAllActiveVidPnModeListInvalidation": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 12 - }, - "tagTOUCHINPUT": { - "fields": { - "dwExtraInfo": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "hSource": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dwMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cyContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "cxContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "dwTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 48 - }, - "_SM_VALUES_STRINGS": { - "fields": { - "StorageType": { - "type": { - "kind": "enum", - "name": "StorageTypeEnum" - }, - "offset": 16 - }, - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "RangeType": { - "type": { - "kind": "enum", - "name": "RangeTypeEnum" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1956": { - "fields": { - "MinimumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "_D3DKMDT_VIDEO_SIGNAL_INFO": { - "fields": { - "VSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 20 - }, - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 12 - }, - "PixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "TotalSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 4 - }, - "VideoStandard": { - "type": { - "kind": "enum", - "name": "VideoStandardEnum" - }, - "offset": 0 - }, - "ScanLineOrdering": { - "type": { - "kind": "enum", - "name": "ScanLineOrderingEnum" - }, - "offset": 48 - }, - "HSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 56 - }, - "tagTERMINAL": { - "fields": { - "spwndDesktopOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pEventInputReady": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "rpdeskDestroy": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pqDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwTERMF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwNestedLevel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ptiDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pEventTermInit": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "HFONT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { - "fields": { - "MacroVisionFull": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "MacroVisionApsTrigger": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "NoProtection": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 29 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_PFNCLIENT": { - "fields": { - "pfnDispatchDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnDispatchHook": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "pfnDesktopWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "pfnScrollBarWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnMessageWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnSwitchWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnHkINLPCWPSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnTitleWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnHkINLPCWPRETSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnMenuWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDispatchMessage": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pfnDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnMDIActivateDlgProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 176 - } - }, - "kind": "struct", - "size": 184 - }, - "tagOEMBITMAPINFO": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1221": { - "fields": { - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "SecurityDescriptor": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_KLIST_ENTRY": { - "fields": { - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HMONITOR__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1247": { - "fields": { - "DeviceTextType": { - "type": { - "kind": "enum", - "name": "DeviceTextTypeEnum" - }, - "offset": 0 - }, - "LocaleId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagCLIENTINFO": { - "fields": { - "msgDbcsCB": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 160 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "achDbcsCF": { - "type": { - "count": 2, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 154 - }, - "dwTIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "pClientThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 152 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "dwHookCurrent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "afAsyncKeyStateRecentDown": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwHookData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "afAsyncKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 128 - }, - "CallbackWnd": { - "type": { - "kind": "struct", - "name": "_CALLBACKWND" - }, - "offset": 64 - }, - "lpdwRegisteredClasses": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "cInDDEMLCallback": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 92 - }, - "cSpins": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "hKL": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "afKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 116 - }, - "CI_flags": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "phkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 216 - }, - "_DMM_MONITOR_SERIALIZATION": { - "fields": { - "SourceModeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FrequencyRangeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "DescriptorSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ModePruningAlgorithm": { - "type": { - "kind": "enum", - "name": "ModePruningAlgorithmEnum" - }, - "offset": 16 - }, - "VideoPresentTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "IsUsingDefaultProfile": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 13 - }, - "MonitorPowerState": { - "type": { - "kind": "enum", - "name": "MonitorPowerStateEnum" - }, - "offset": 20 - }, - "MonitorType": { - "type": { - "kind": "enum", - "name": "MonitorTypeEnum" - }, - "offset": 36 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IsSimulatedMonitor": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 12 - }, - "Orientation": { - "type": { - "kind": "enum", - "name": "OrientationEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagPROP": { - "fields": { - "fs": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "atomKey": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1243": { - "fields": { - "IdType": { - "type": { - "kind": "enum", - "name": "IdTypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123d": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "WhichSpace": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Offset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_WNDMSG": { - "fields": { - "abMsgs": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "maxMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSHAREDINFO": { - "fields": { - "psi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSERVERINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulSharedDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "aheList": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HANDLEENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "DefWindowSpecMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 552 - }, - "awmControl": { - "type": { - "count": 31, - "subtype": { - "kind": "struct", - "name": "_WNDMSG" - }, - "kind": "array" - }, - "offset": 40 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "HeEntrySize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DefWindowMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 536 - } - }, - "kind": "struct", - "size": 568 - }, - "__unnamed_181b": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_1811" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_180d" - }, - "offset": 0 - }, - "DeviceSpecificData": { - "type": { - "kind": "struct", - "name": "__unnamed_1813" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_1817" - }, - "offset": 0 - }, - "MessageInterrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_180b" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_1815" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "__unnamed_180f" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1819" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPOINT": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagIMC": { - "fields": { - "dwClientImcData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "hImeWnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pImcNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "tagKL": { - "fields": { - "uNumTbl": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "pklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "pklNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spkfPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "dwFontSigs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLastKbdType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 72 - }, - "dwKL_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "iBaseCharset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "dwKLID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "spkf": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "piiex": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMEINFOEX" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pspkfExtra": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "wchDiacritic": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 74 - }, - "dwLastKbdSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_115b": { - "fields": { - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_182e": { - "fields": { - "pRgb256x3x16": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pRaw": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pDxgi1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagTDB": { - "fields": { - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "TDB_Flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "pwti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "nPriority": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "ptdbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagCARET": { - "fields": { - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "iHideLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "hTimer": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "yOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "xOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "fVisible": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hBitmap": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cxOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cyOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "tid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "fOn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_LIGATURE1": { - "fields": { - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 4 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModificationNumber": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 6 + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" } - }, - "base_types": { - "unsigned char": { - "kind": "char", - "endian": "little", - "signed": false, - "size": 1 - }, - "float": { - "kind": "float", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "wchar": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "pointer": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - }, - "unsigned int": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "short": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned short": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 2 - }, - "long long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 8 - }, - "unsigned long long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - } - }, - "enums": { - "TextEnum": { - "base": "long", - "constants": { - "D3DKMDT_TRF_UNINITIALIZED": 0 - }, - "size": 4 - }, - "PreferenceEnum": { - "base": "long", - "constants": { - "D3DKMDT_MP_PREFERRED": 1, - "D3DKMDT_MP_MAXVALID": 2, - "D3DKMDT_MP_UNINITIALIZED": 0 - }, - "size": 4 - }, - "FileInformationClassEnum": { - "base": "long", - "constants": { - "FileInternalInformation": 6, - "FileQuotaInformation": 32, - "FileIoStatusBlockRangeInformation": 42, - "FilePipeLocalInformation": 24, - "FileStandardLinkInformation": 54, - "FileIdFullDirectoryInformation": 38, - "FileLinkInformation": 11, - "FileFullDirectoryInformation": 2, - "FileAllInformation": 18, - "FileSfioVolumeInformation": 45, - "FileStreamInformation": 22, - "FileRenameInformation": 10, - "FileValidDataLengthInformation": 39, - "FileAlternateNameInformation": 21, - "FileBasicInformation": 4, - "FilePositionInformation": 14, - "FileCompletionInformation": 30, - "FileAttributeCacheInformation": 52, - "FileReparsePointInformation": 33, - "FileMailslotSetInformation": 27, - "FileNetworkPhysicalNameInformation": 49, - "FileAllocationInformation": 19, - "FileIsRemoteDeviceInformation": 51, - "FileFullEaInformation": 15, - "FileProcessIdsUsingFileInformation": 47, - "FileDispositionInformation": 13, - "FileStandardInformation": 5, - "FileAccessInformation": 8, - "FileNumaNodeInformation": 53, - "FilePipeRemoteInformation": 25, - "FileIoPriorityHintInformation": 43, - "FileMailslotQueryInformation": 26, - "FileRemoteProtocolInformation": 55, - "FileNamesInformation": 12, - "FileHardLinkInformation": 46, - "FileEndOfFileInformation": 20, - "FileIdBothDirectoryInformation": 37, - "FileSfioReserveInformation": 44, - "FileIdGlobalTxDirectoryInformation": 50, - "FileNetworkOpenInformation": 34, - "FileObjectIdInformation": 29, - "FileMoveClusterInformation": 31, - "FileIoCompletionNotificationInformation": 41, - "FileNameInformation": 9, - "FileBothDirectoryInformation": 3, - "FileDirectoryInformation": 1, - "FileMaximumInformation": 56, - "FileNormalizedNameInformation": 48, - "FilePipeInformation": 23, - "FileCompressionInformation": 28, - "FileTrackingInformation": 36, - "FileEaInformation": 7, - "FileShortNameInformation": 40, - "FileModeInformation": 16, - "FileAlignmentInformation": 17, - "FileAttributeTagInformation": 35 - }, - "size": 4 - }, - "ModePruningAlgorithmEnum": { - "base": "long", - "constants": { - "DMM_MPA_MAXVALID": 3, - "DMM_MPA_GDI": 1, - "DMM_MPA_VISTA": 2, - "DMM_MPA_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorPowerStateEnum": { - "base": "long", - "constants": { - "PowerDeviceUnspecified": 0, - "PowerDeviceD0": 1, - "PowerDeviceD1": 2, - "PowerDeviceD2": 3, - "PowerDeviceD3": 4, - "PowerDeviceMaximum": 5 - }, - "size": 4 - }, - "OriginEnum": { - "base": "long", - "constants": { - "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, - "D3DKMDT_MCO_UNINITIALIZED": 0, - "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, - "D3DKMDT_MCO_MAXVALID": 5, - "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, - "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 - }, - "size": 4 - }, - "CodePointTypeEnum": { - "base": "long", - "constants": { - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, - "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, - "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, - "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, - "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, - "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, - "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, - "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, - "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, - "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, - "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, - "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, - "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, - "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, - "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, - "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, - "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, - "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, - "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, - "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, - "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, - "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, - "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, - "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, - "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, - "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, - "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, - "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 - }, - "size": 4 - }, - "ConstraintTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MFRC_MAXPIXELRATE": 2, - "D3DKMDT_MFRC_ACTIVESIZE": 1, - "D3DKMDT_MFRC_UNINITIALIZED": 0 - }, - "size": 4 - }, - "VidPnTargetColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorTypeEnum": { - "base": "long", - "constants": { - "DMM_VMT_TEMPORARY_MONITOR": 4, - "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, - "DMM_VMT_PHYSICAL_MONITOR": 1, - "DMM_VMT_UNINITIALIZED": 0, - "DMM_VMT_SIMULATED_MONITOR": 5, - "DMM_VMT_PERSISTENT_MONITOR": 3 - }, - "size": 4 - }, - "PowerStateEnum": { - "base": "long", - "constants": { - "PowerSystemSleeping2": 3, - "PowerSystemSleeping1": 2, - "PowerSystemSleeping3": 4, - "PowerSystemUnspecified": 0, - "PowerSystemMaximum": 7, - "PowerSystemShutdown": 6, - "PowerSystemHibernate": 5, - "PowerSystemWorking": 1 - }, - "size": 4 - }, - "ShutdownTypeEnum": { - "base": "long", - "constants": { - "PowerActionNone": 0, - "PowerActionReserved": 1, - "PowerActionHibernate": 3, - "PowerActionShutdownOff": 6, - "PowerActionShutdown": 4, - "PowerActionSleep": 2, - "PowerActionShutdownReset": 5, - "PowerActionWarmEject": 7 - }, - "size": 4 - }, - "ScalingEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPS_CENTERED": 2, - "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, - "D3DKMDT_VPPS_STRETCHED": 3, - "D3DKMDT_VPPS_UNINITIALIZED": 0, - "D3DKMDT_VPPS_UNPINNED": 254, - "D3DKMDT_VPPS_IDENTITY": 1, - "D3DKMDT_VPPS_NOTSPECIFIED": 255, - "D3DKMDT_VPPS_CUSTOM": 5, - "D3DKMDT_VPPS_RESERVED1": 253 - }, - "size": 4 - }, - "CurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "StorageTypeEnum": { - "base": "long", - "constants": { - "SmStorageActual": 0, - "SmStorageNonActual": 1 - }, - "size": 4 - }, - "ScanLineOrderingEnum": { - "base": "long", - "constants": { - "D3DDDI_VSSLO_PROGRESSIVE": 1, - "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, - "D3DDDI_VSSLO_UNINITIALIZED": 0, - "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, - "D3DDDI_VSSLO_OTHER": 255 - }, - "size": 4 - }, - "PixelValueAccessModeEnum": { - "base": "long", - "constants": { - "D3DKMDT_PVAM_UNINITIALIZED": 0, - "D3DKMDT_PVAM_DIRECT": 1, - "D3DKMDT_PVAM_PRESETPALETTE": 2, - "D3DKMDT_PVAM_MAXVALID": 3 - }, - "size": 4 - }, - "PriorityPolicyEnum": { - "base": "long", - "constants": { - "IrqPriorityHigh": 3, - "IrqPriorityNormal": 2, - "IrqPriorityLow": 1, - "IrqPriorityUndefined": 0 - }, - "size": 4 - }, - "OrientationEnum": { - "base": "long", - "constants": { - "D3DKMDT_MO_90DEG": 2, - "D3DKMDT_MO_0DEG": 1, - "D3DKMDT_MO_270DEG": 4, - "D3DKMDT_MO_UNINITIALIZED": 0, - "D3DKMDT_MO_180DEG": 3 - }, - "size": 4 - }, - "ContentEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPC_NOTSPECIFIED": 255, - "D3DKMDT_VPPC_UNINITIALIZED": 0, - "D3DKMDT_VPPC_GRAPHICS": 1, - "D3DKMDT_VPPC_VIDEO": 2 - }, - "size": 4 - }, - "ColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MoveRectStyleEnum": { - "base": "long", - "constants": { - "MoveRectMidTopAtCursor": 1, - "MoveRectSidewiseKeepPositionAtCursor": 3, - "MoveRectKeepPositionAtCursor": 0, - "MoveRectKeepAspectRatioAtCursor": 2 - }, - "size": 4 - }, - "VideoStandardEnum": { - "base": "long", - "constants": { - "D3DKMDT_VSS_PAL_G": 11, - "D3DKMDT_VSS_PAL_D": 14, - "D3DKMDT_VSS_PAL_B": 9, - "D3DKMDT_VSS_SECAM_K": 21, - "D3DKMDT_VSS_VESA_GTF": 2, - "D3DKMDT_VSS_PAL_L": 30, - "D3DKMDT_VSS_PAL_M": 31, - "D3DKMDT_VSS_PAL_K": 28, - "D3DKMDT_VSS_PAL_H": 12, - "D3DKMDT_VSS_PAL_I": 13, - "D3DKMDT_VSS_SECAM_L1": 24, - "D3DKMDT_VSS_VESA_DMT": 1, - "D3DKMDT_VSS_SECAM_L": 23, - "D3DKMDT_VSS_EIA_861": 25, - "D3DKMDT_VSS_PAL_N": 15, - "D3DKMDT_VSS_APPLE": 5, - "D3DKMDT_VSS_NTSC_M": 6, - "D3DKMDT_VSS_SECAM_H": 20, - "D3DKMDT_VSS_NTSC_J": 7, - "D3DKMDT_VSS_SECAM_B": 17, - "D3DKMDT_VSS_SECAM_G": 19, - "D3DKMDT_VSS_SECAM_D": 18, - "D3DKMDT_VSS_IBM": 4, - "D3DKMDT_VSS_SECAM_K1": 22, - "D3DKMDT_VSS_PAL_NC": 16, - "D3DKMDT_VSS_PAL_B1": 10, - "D3DKMDT_VSS_EIA_861A": 26, - "D3DKMDT_VSS_EIA_861B": 27, - "D3DKMDT_VSS_UNINITIALIZED": 0, - "D3DKMDT_VSS_OTHER": 255, - "D3DKMDT_VSS_PAL_K1": 29, - "D3DKMDT_VSS_VESA_CVT": 3, - "D3DKMDT_VSS_NTSC_443": 8 - }, - "size": 4 - }, - "ImportanceOrdinalEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPI_QUATERNARY": 4, - "D3DKMDT_VPPI_SECONDARY": 2, - "D3DKMDT_VPPI_PRIMARY": 1, - "D3DKMDT_VPPI_QUINARY": 5, - "D3DKMDT_VPPI_DENARY": 10, - "D3DKMDT_VPPI_SENARY": 6, - "D3DKMDT_VPPI_TERTIARY": 3, - "D3DKMDT_VPPI_SEPTENARY": 7, - "D3DKMDT_VPPI_NONARY": 9, - "D3DKMDT_VPPI_UNINITIALIZED": 0, - "D3DKMDT_VPPI_OCTONARY": 8, - "D3DKMDT_VPPI_MAX": 32, - "D3DKMDT_VPPI_NOTSPECIFIED": 255 - }, - "size": 4 - }, - "RangeTypeEnum": { - "base": "long", - "constants": { - "SmRangeBool": 2, - "SmRangeNonSharedInfo": 1, - "SmRangeSharedInfo": 0 - }, - "size": 4 - }, - "TimingTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MTT_EXTRASTANDARD": 3, - "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, - "D3DKMDT_MTT_STANDARD": 2, - "D3DKMDT_MTT_UNINITIALIZED": 0, - "D3DKMDT_MTT_MAXVALID": 6, - "D3DKMDT_MTT_DETAILED": 4, - "D3DKMDT_MTT_ESTABLISHED": 1 - }, - "size": 4 - }, - "PixelFormatEnum": { - "base": "long", - "constants": { - "D3DDDIFMT_W11V11U10": 65, - "D3DDDIFMT_A16B16G16R16F": 113, - "D3DDDIFMT_A8R8G8B8": 21, - "D3DDDIFMT_D32_LOCKABLE": 84, - "D3DDDIFMT_L8": 50, - "D3DDDIFMT_DXVA_RESERVED27": 177, - "D3DDDIFMT_DXVA_RESERVED26": 176, - "D3DDDIFMT_DXVA_RESERVED25": 175, - "D3DDDIFMT_DXVA_RESERVED24": 174, - "D3DDDIFMT_DXVA_RESERVED23": 173, - "D3DDDIFMT_DXVA_RESERVED22": 172, - "D3DDDIFMT_DXVA_RESERVED21": 171, - "D3DDDIFMT_DXVA_RESERVED20": 170, - "D3DDDIFMT_DXVA_RESERVED29": 179, - "D3DDDIFMT_DXVA_RESERVED28": 178, - "D3DDDIFMT_R3G3B2": 27, - "D3DDDIFMT_A8R3G3B2": 29, - "D3DDDIFMT_INDEX16": 101, - "D3DDDIFMT_X4R4G4B4": 30, - "D3DDDIFMT_A4R4G4B4": 26, - "D3DDDIFMT_Q8W8V8U8": 63, - "D3DDDIFMT_FORCE_UINT": 2147483647, - "D3DDDIFMT_S1D15": 72, - "D3DDDIFMT_A16B16G16R16": 36, - "D3DDDIFMT_A8L8": 51, - "D3DDDIFMT_D24X4S4": 79, - "D3DDDIFMT_BINARYBUFFER": 199, - "D3DDDIFMT_DXVA_RESERVED30": 180, - "D3DDDIFMT_R32F": 114, - "D3DDDIFMT_VERTEXDATA": 100, - "D3DDDIFMT_R5G6B5": 23, - "D3DDDIFMT_R8G8_B8G8": 1195525970, - "D3DDDIFMT_A4L4": 52, - "D3DDDIFMT_A1R5G5B5": 25, - "D3DDDIFMT_X1R5G5B5": 24, - "D3DDDIFMT_D32": 71, - "D3DDDIFMT_G8R8_G8B8": 1111970375, - "D3DDDIFMT_A2B10G10R10": 31, - "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, - "D3DDDIFMT_MULTI2_ARGB8": 827606349, - "D3DDDIFMT_D16_LOCKABLE": 70, - "D3DDDIFMT_BITSTREAMDATA": 156, - "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, - "D3DDDIFMT_X8B8G8R8": 33, - "D3DDDIFMT_R8G8B8": 20, - "D3DDDIFMT_S8_LOCKABLE": 85, - "D3DDDIFMT_D24S8": 75, - "D3DDDIFMT_X8D24": 76, - "D3DDDIFMT_A2R10G10B10": 35, - "D3DDDIFMT_P8": 41, - "D3DDDIFMT_L6V5U5": 61, - "D3DDDIFMT_X8R8G8B8": 22, - "D3DDDIFMT_D16": 80, - "D3DDDIFMT_A2W10V10U10": 67, - "D3DDDIFMT_D24FS8": 83, - "D3DDDIFMT_MOTIONVECTORBUFFER": 157, - "D3DDDIFMT_L16": 81, - "D3DDDIFMT_X8L8V8U8": 62, - "D3DDDIFMT_A32B32G32R32F": 116, - "D3DDDIFMT_A8P8": 40, - "D3DDDIFMT_YUY2": 844715353, - "D3DDDIFMT_R16F": 111, - "D3DDDIFMT_G16R16": 34, - "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, - "D3DDDIFMT_Q16W16V16U16": 110, - "D3DDDIFMT_S8D24": 74, - "D3DDDIFMT_PICTUREPARAMSDATA": 150, - "D3DDDIFMT_A1": 118, - "D3DDDIFMT_FILMGRAINBUFFER": 158, - "D3DDDIFMT_A8": 28, - "D3DDDIFMT_UNKNOWN": 0, - "D3DDDIFMT_DXVA_RESERVED19": 169, - "D3DDDIFMT_D32F_LOCKABLE": 82, - "D3DDDIFMT_MACROBLOCKDATA": 151, - "D3DDDIFMT_A8B8G8R8": 32, - "D3DDDIFMT_UYVY": 1498831189, - "D3DDDIFMT_DXT1": 827611204, - "D3DDDIFMT_DEBLOCKINGDATA": 153, - "D3DDDIFMT_DXT3": 861165636, - "D3DDDIFMT_DXT4": 877942852, - "D3DDDIFMT_DXT5": 894720068, - "D3DDDIFMT_CxV8U8": 117, - "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, - "D3DDDIFMT_DXVA_RESERVED9": 159, - "D3DDDIFMT_DXT2": 844388420, - "D3DDDIFMT_G32R32F": 115, - "D3DDDIFMT_X4S4D24": 78, - "D3DDDIFMT_D24X8": 77, - "D3DDDIFMT_DXVA_RESERVED12": 162, - "D3DDDIFMT_DXVA_RESERVED13": 163, - "D3DDDIFMT_DXVA_RESERVED10": 160, - "D3DDDIFMT_DXVA_RESERVED11": 161, - "D3DDDIFMT_DXVA_RESERVED16": 166, - "D3DDDIFMT_DXVA_RESERVED17": 167, - "D3DDDIFMT_DXVA_RESERVED14": 164, - "D3DDDIFMT_DXVA_RESERVED15": 165, - "D3DDDIFMT_DXVA_RESERVED18": 168, - "D3DDDIFMT_D15S1": 73, - "D3DDDIFMT_V16U16": 64, - "D3DDDIFMT_SLICECONTROLDATA": 155, - "D3DDDIFMT_G16R16F": 112, - "D3DDDIFMT_INDEX32": 102, - "D3DDDIFMT_V8U8": 60 - }, - "size": 4 - }, - "IdTypeEnum": { - "base": "long", - "constants": { - "BusQueryCompatibleIDs": 2, - "BusQueryInstanceID": 3, - "BusQueryDeviceID": 0, - "BusQueryDeviceSerialNumber": 4, - "BusQueryHardwareIDs": 1, - "BusQueryContainerID": 5 - }, - "size": 4 - }, - "StartCurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "TypeEnum": { - "base": "long", - "constants": { - "DevicePowerState": 1, - "SystemPowerState": 0 - }, - "size": 4 - }, - "RotationEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPR_IDENTITY": 1, - "D3DKMDT_VPPR_NOTSPECIFIED": 255, - "D3DKMDT_VPPR_UNPINNED": 254, - "D3DKMDT_VPPR_ROTATE270": 4, - "D3DKMDT_VPPR_ROTATE90": 2, - "D3DKMDT_VPPR_ROTATE180": 3, - "D3DKMDT_VPPR_UNINITIALIZED": 0 - }, - "size": 4 - }, - "CopyProtectionTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPMT_NOTSPECIFIED": 255, - "D3DKMDT_VPPMT_UNINITIALIZED": 0, - "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, - "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, - "D3DKMDT_VPPMT_NOPROTECTION": 1 - }, - "size": 4 - }, - "FsInformationClassEnum": { - "base": "long", - "constants": { - "FileFsFullSizeInformation": 7, - "FileFsAttributeInformation": 5, - "FileFsVolumeFlagsInformation": 10, - "FileFsVolumeInformation": 1, - "FileFsSizeInformation": 3, - "FileFsLabelInformation": 2, - "FileFsDeviceInformation": 4, - "FileFsControlInformation": 6, - "FileFsDriverPathInformation": 9, - "FileFsMaximumInformation": 11, - "FileFsObjectIdInformation": 8 - }, - "size": 4 - }, - "DeviceTextTypeEnum": { - "base": "long", - "constants": { - "DeviceTextLocationInformation": 1, - "DeviceTextDescription": 0 - }, - "size": 4 - } - }, - "metadata": { - "producer": { - "version": "0.0.1", - "name": "dgmcdona-via-conversion-script", - "datetime": "2024-09-03T18:22:52Z" - }, - "format": "4.0.0" - } } diff --git a/volatility3/framework/symbols/windows/gui/gui-win8-x64.json b/volatility3/framework/symbols/windows/gui/gui-win8-x64.json index ffc2bf90b..e7581413f 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win8-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win8-x64.json @@ -1,18743 +1,18743 @@ { - "symbols": {}, - "user_types": { - "HWINSTA__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 + "symbols": {}, + "user_types": { + "HWINSTA__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1153": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 59 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 9 + }, + "offset": 0 + }, + "Region": { + "type": { + "bit_position": 61, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 39 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1960": { + "fields": { + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagCLIENTTHREADINFO": { + "fields": { + "fsWakeMask": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "CTIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fsWakeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + }, + "fsWakeBitsJournal": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "fsChangeBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4 + }, + "tickLastMsgChecked": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "tagKbdNlsLayer": { + "fields": { + "OEMIdentifier": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "NumOfVkToF": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pusMouseVKey": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "NumOfMouseVKey": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pVkToF": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_FUNCTION_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "LayoutInformation": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1158": { + "fields": { + "Reserved": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 2 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + }, + "Init": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HBITMAP__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_124b": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "count": 3, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1 + }, + "InPath": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_TL": { + "fields": { + "pfnFree": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pobj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagTOUCHINPUTINFO": { + "fields": { + "dwcInputs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "TouchInput": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagTOUCHINPUT" + }, + "kind": "array" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 80 + }, + "tagTHREADINFO": { + "fields": { + "ForceLegacyResizeNCMetr": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptl": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 336 + }, + "timeLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 448 + }, + "DontJournalAttach": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fPack": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 26 + }, + "offset": 928 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 516 + }, + "psmsSent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 424 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 552 + }, + "DefaultCharset": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 512 + }, + "psmsReceiveList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 440 + }, + "sphkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 560 + }, + "No50ExStyles": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "IgnoreFaults": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pClientInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTINFO" + }, + "kind": "pointer" + }, + "offset": 400 + }, + "DDENoAsyncReg": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DealyHwndShakeChk": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "amdesk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 720 + }, + "fsChangeBitsRemoved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 704 + }, + "psmsCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 432 + }, + "NoInitFlagsOnFocus": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "StrictLLHook": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "NoShadow": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EnumHelv": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoBatching": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 736 + }, + "Winver31": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Win30AvgWidth": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "AlwaysSendSyncPaint": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "IgnoreNoDiscard": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cPaintsReady": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 480 + }, + "SubtractClips": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "apEvent": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 712 + }, + "cEnterCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 672 + }, + "OpenGLEMF": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "fThreadCleanupFinished": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "idLast": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 456 + }, + "DisableDBCSProp": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "NoEMFSpooling": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptdb": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "SpareCompatFlags2": { + "type": { + "bit_position": 33, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 31 + }, + "offset": 520 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "mlPost": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 680 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 496 + }, + "NoCustomPaperSize": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cTimersReady": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 484 + }, + "NoScrollBarCtxMenu": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hPrevHidData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 880 + }, + "NoPaddedBorder": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "DpiAware": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "MultipleBands": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 376 + }, + "AnimationOff": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "No50ExStyleBits": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ulThreadFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 928 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 472 + }, + "spklActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 360 + }, + "MoreExtraWndWords": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "NoGhost": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoHRGN1": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "ptLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 628 + }, + "GiveUpForegound": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "spDefaultImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 656 + }, + "pmsd": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MOVESIZEDATA" + }, + "kind": "pointer" + }, + "offset": 544 + }, + "HardwareMixer": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 904 + }, + "EnumTTNotDevice": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fSpecialInitialization": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ForceFusion": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "cti": { + "type": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "offset": 864 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pstrAppName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 416 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "SendMnuDblClk": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "DDENoSync": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "EditNoMouseHide": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ptLastReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 636 + }, + "hTouchInputCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HTOUCHINPUT__" + }, + "kind": "pointer" + }, + "offset": 888 + }, + "pEventQueueServer": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "cNestedStableVisRgn": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "NoDrawPatRect": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ForceTTGrapchis": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "GetDeviceCaps": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fsReserveKeys": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 708 + }, + "pq": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 352 + }, + "NoSoftCursOnMoveSize": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "hEventQueueClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 592 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "DDE": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "exitCode": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 464 + }, + "wchInjected": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 706 + }, + "CallTTDevice": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "MsShellDlg": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TransparentBltMirror": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "PtiLink": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 640 + }, + "HackWinFlags": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "cVisWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 728 + }, + "NcCalcSizeOnMove": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "KCOff": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "readyHead": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 912 + }, + "pMenuState": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 488 + }, + "UsePrintingEscape": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "hGestureInfoCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "HGESTUREINFO__" + }, + "kind": "pointer" + }, + "offset": 896 + }, + "ForceTextBand": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cWindows": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 724 + }, + "fETWReserved": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 928 + }, + "pqAttach": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 528 + }, + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "TIF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 408 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "Win31DevModeSize": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSBTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBTRACK" + }, + "kind": "pointer" + }, + "offset": 584 + }, + "spwndDefaultIme": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 648 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 520 + }, + "EditSetTextMunge": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "Random31Ux": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "fgfSwitchInProgressSetter": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 928 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 392 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "NoTimeCbProtect": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "DisableFontAssoc": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pcti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 368 + }, + "NoCharDeadKey": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "TTIgnoreRasterDupe": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "lParamHkCurrent": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 568 + }, + "qwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 520 + }, + "wParamHkCurrent": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 576 + }, + "NoWindowArrangement": { + "type": { + "bit_position": 32, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "ActiveMenus": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 384 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "psiiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 504 + }, + "IgnoreTopMost": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "TryExceptCallWndProc": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "NoDDETrackDying": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "FontSubs": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 520 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "SmoothScrolling": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 624 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "ptiSibling": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 536 + }, + "hklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "IncreaseStack": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 516 + } + }, + "kind": "struct", + "size": 936 + }, + "__unnamed_11ff": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "EaLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FileAttributes": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_CALLPROCDATA": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "pfnClientPrevious": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "wType": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "spcpdNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH": { + "fields": { + "VidPnTargetColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 48 + }, + "VidPnTargetColorBasis": { + "type": { + "kind": "enum", + "name": "VidPnTargetColorBasisEnum" + }, + "offset": 44 + }, + "ContentTransformation": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" + }, + "offset": 12 + }, + "GammaRamp": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GAMMA_RAMP" + }, + "offset": 336 + }, + "CopyProtection": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" + }, + "offset": 68 + }, + "VidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Content": { + "type": { + "kind": "enum", + "name": "ContentEnum" + }, + "offset": 64 + }, + "VisibleFromActiveTLOffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 28 + }, + "VidPnTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "VisibleFromActiveBROffset": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 36 + }, + "ImportanceOrdinal": { + "type": { + "kind": "enum", + "name": "ImportanceOrdinalEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 360 + }, + "__unnamed_1253": { + "fields": { + "PowerSequence": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_POWER_SEQUENCE" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESS_HID_TABLE": { + "fields": { + "UsagePageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 96 + }, + "fExclusiveMouseSink": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboardSink": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fAppKeys": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fCaptureMouse": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyMouse": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawKeyboard": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fNoLegacyKeyboard": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "nSinks": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fExclusiveKeyboardSink": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "spwndTargetKbd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "UsagePageList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 32 + }, + "UsageLast": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 98 + }, + "fNoHotKeys": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "pLastRequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_REQUEST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "ExclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + }, + "spwndTargetMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fRawMouse": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "fRawMouseSink": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 100 + }, + "InclusionList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1809": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "MessageCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHOOK": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "iHook": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "phkNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "offPfn": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "fLastHookHung": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 88 + }, + "nTimeout": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 7 + }, + "offset": 88 + }, + "ihmod": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "ptiHooked": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 80 + } + }, + "kind": "struct", + "size": 96 + }, + "_THROBJHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagPROCESS_HID_REQUEST": { + "fields": { + "fSinkable": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "pTLCInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_TLC_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fDevNotify": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "fExSinkable": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "ptr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "pPORequest": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHID_PAGEONLY_REQUEST" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "fExclusiveOrphaned": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 20 + }, + "spwndTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + } + }, + "kind": "struct", + "size": 40 + }, + "_KFLOATING_SAVE": { + "fields": { + "Dummy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { + "fields": { + "Rotate270": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate90": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Rotate180": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMLIST": { + "fields": { + "cMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pqmsgRead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pqmsgWriteLast": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_CONSOLE_CARET_INFO": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1807": { + "fields": { + "Affinity": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Vector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + }, + "Level": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "DEADKEY": { + "fields": { + "wchComposed": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 4 + }, + "dwBoth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uFlags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 6 + } + }, + "kind": "struct", + "size": 8 + }, + "tagPROCESSINFO": { + "fields": { + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "fHasMagContext": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 736 + }, + "hwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWINSTA__" + }, + "kind": "pointer" + }, + "offset": 608 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ptiList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 256 + }, + "pHidTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESS_HID_TABLE" + }, + "kind": "pointer" + }, + "offset": 744 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "pclsPublicList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 288 + }, + "dwhmodLibLoadedMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 340 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "hdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDESK__" + }, + "kind": "pointer" + }, + "offset": 328 + }, + "pvwplWndGCList": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 760 + }, + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "dwImeCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 696 + }, + "hMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HMONITOR__" + }, + "kind": "pointer" + }, + "offset": 624 + }, + "ptiMainThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "dwRegisteredClasses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 752 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "usi": { + "type": { + "kind": "struct", + "name": "tagUSERSTARTUPINFO" + }, + "offset": 708 + }, + "luidSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 700 + }, + "Unused": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 736 + }, + "pW32Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 688 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 320 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "bmHandleFlags": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_BITMAP" + }, + "offset": 648 + }, + "pclsPrivateList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "amwinsta": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 616 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ppiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 736 + }, + "dwHotkey": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 620 + }, + "cSysExpunge": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "rpdeskStartup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pdvList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 632 + }, + "pwpi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "ppiNextRunning": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "dwLayout": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 740 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "rpwinsta": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 600 + }, + "pCursorCache": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 664 + }, + "pClientBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 672 + }, + "ahmodLibLoaded": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 344 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 640 + }, + "dwLpkEntryPoints": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 680 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 768 + }, + "HBRUSH__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLIP": { + "fields": { + "fmt": { + "type": { + "kind": "enum", + "name": "fmtEnum" + }, + "offset": 0 + }, + "fGlobalHandle": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagUAHMENUPOPUPMETRICS": { + "fields": { + "rgcx": { + "type": { + "count": 4, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 0 + }, + "fUpdateMaxWidths": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 20 + }, + "tagSMS": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 72 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 80 + }, + "lpResultCallBack": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lRet": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 56 + }, + "psmsReceiveNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "tSent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "pvCapture": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "psmsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSMS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ptiReceiver": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ptiCallBackSender": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "dwData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 112 + }, + "__unnamed_195e": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_195c": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Alignment40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 24 + }, + "_W32THREAD": { + "fields": { + "pRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "iVisRgnUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 328 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pDevHTInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "pUMPDHeap": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pgdiBrushAttr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ulWindowSystemRendering": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "tlSpriteState": { + "type": { + "kind": "struct", + "name": "_TLSPRITESTATE" + }, + "offset": 104 + }, + "pdcoRender": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "bEnableEngUpdateDeviceSurface": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 320 + }, + "pdcoAA": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 296 + }, + "pNonRBRecursionCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "ptlW32": { + "type": { + "subtype": { + "kind": "struct", + "name": "_TL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "GdiTmpTgoList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 80 + }, + "pUMPDObjs": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pgdiDcattr": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "bIncludeSprites": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 321 + }, + "pEThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pSpriteState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "pProxyPort": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "ulDevHTInfoUniqueness": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "pdcoSrc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 312 + }, + "pUMPDObj": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pClientID": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 336 + }, + "_VK_TO_WCHAR_TABLE": { + "fields": { + "pVkToWchars": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHARS1" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cbSize": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + }, + "nModifications": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPROPLIST": { + "fields": { + "aprop": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "tagPROP" + }, + "kind": "array" + }, + "offset": 8 + }, + "iFirstFree": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cEntries": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_D3DKMDT_FREQUENCY_RANGE": { + "fields": { + "MinVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 0 + }, + "MaxVSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 8 + }, + "MaxHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 24 + }, + "MinHSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_11f8": { + "fields": { + "Apc": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KAPC" + }, + "offset": 0 + }, + "CompletionKey": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Overlay": { + "type": { + "kind": "struct", + "name": "__unnamed_11f5" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_18bf": { + "fields": { + "BaseMiddle": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "Flags1": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "Flags2": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "tagPROFILEVALUEINFO": { + "fields": { + "dwValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "uSection": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "pwszKeyName": { + "type": { + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_11f5": { + "fields": { + "Thread": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ETHREAD" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "DeviceQueueEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" + }, + "offset": 0 + }, + "CurrentStackLocation": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_STACK_LOCATION" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "DriverContext": { + "type": { + "count": 4, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 0 + }, + "AuxiliaryBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "OriginalFileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "PacketType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 80 + }, + "__unnamed_125f": { + "fields": { + "AllocatedResources": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "AllocatedResourcesTranslated": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_CM_RESOURCE_LIST" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "D3DDDI_DXGI_RGB": { + "fields": { + "Blue": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "Green": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "Red": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1219": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FsControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_125b": { + "fields": { + "State": { + "type": { + "kind": "struct", + "name": "nt_symbols!_POWER_STATE" + }, + "offset": 16 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 8 + }, + "SystemContext": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ShutdownType": { + "type": { + "kind": "enum", + "name": "ShutdownTypeEnum" + }, + "offset": 24 + }, + "SystemPowerStateContext": { + "type": { + "kind": "struct", + "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "HDC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagDISPLAYINFO": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "SpatialListHead": { + "type": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "offset": 144 + }, + "BitCountMax": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 130 + }, + "cyGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "hdcBits": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fDesktopIsRect": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "hbmGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pmdev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "cFullScreen": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 160 + }, + "cxGray": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 128 + }, + "hDevInfo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fAnyPalette": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 132 + }, + "pspbFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pMonitorPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 162 + }, + "pMonitorFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "hdcGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "hrgnScreenReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cMonitors": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "hdcScreen": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "DockThresholdMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "pdceFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 168 + }, + "tagWin32AllocStats": { + "fields": { + "dwMaxAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwMaxMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwCrtAlloc": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwCrtMem": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18c5": { + "fields": { + "DefaultBig": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "BaseMiddle": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "BaseHigh": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 8 + }, + "offset": 0 + }, + "LimitHigh": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 0 + }, + "System": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Granularity": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Dpl": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 0 + }, + "Type": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "Present": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "LongMode": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1261": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ProviderId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "BufferSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DataPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1263": { + "fields": { + "Argument4": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Argument2": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Argument3": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "Argument1": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1265": { + "fields": { + "DeviceIoControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121d" + }, + "offset": 0 + }, + "ReadWriteConfig": { + "type": { + "kind": "struct", + "name": "__unnamed_123d" + }, + "offset": 0 + }, + "Create": { + "type": { + "kind": "struct", + "name": "__unnamed_11ff" + }, + "offset": 0 + }, + "Write": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "PowerSequence": { + "type": { + "kind": "struct", + "name": "__unnamed_1253" + }, + "offset": 0 + }, + "QueryId": { + "type": { + "kind": "struct", + "name": "__unnamed_1243" + }, + "offset": 0 + }, + "SetFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1213" + }, + "offset": 0 + }, + "CreatePipe": { + "type": { + "kind": "struct", + "name": "__unnamed_1203" + }, + "offset": 0 + }, + "Power": { + "type": { + "kind": "struct", + "name": "__unnamed_125b" + }, + "offset": 0 + }, + "Read": { + "type": { + "kind": "struct", + "name": "__unnamed_1209" + }, + "offset": 0 + }, + "StartDevice": { + "type": { + "kind": "struct", + "name": "__unnamed_125f" + }, + "offset": 0 + }, + "QueryDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120d" + }, + "offset": 0 + }, + "LockControl": { + "type": { + "kind": "struct", + "name": "__unnamed_121b" + }, + "offset": 0 + }, + "QueryInterface": { + "type": { + "kind": "struct", + "name": "__unnamed_1233" + }, + "offset": 0 + }, + "Others": { + "type": { + "kind": "struct", + "name": "__unnamed_1263" + }, + "offset": 0 + }, + "FileSystemControl": { + "type": { + "kind": "struct", + "name": "__unnamed_1219" + }, + "offset": 0 + }, + "SetLock": { + "type": { + "kind": "struct", + "name": "__unnamed_123f" + }, + "offset": 0 + }, + "QueryDeviceText": { + "type": { + "kind": "struct", + "name": "__unnamed_1247" + }, + "offset": 0 + }, + "WMI": { + "type": { + "kind": "struct", + "name": "__unnamed_1261" + }, + "offset": 0 + }, + "CreateMailslot": { + "type": { + "kind": "struct", + "name": "__unnamed_1207" + }, + "offset": 0 + }, + "FilterResourceRequirements": { + "type": { + "kind": "struct", + "name": "__unnamed_123b" + }, + "offset": 0 + }, + "MountVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QueryVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1217" + }, + "offset": 0 + }, + "UsageNotification": { + "type": { + "kind": "struct", + "name": "__unnamed_124b" + }, + "offset": 0 + }, + "Scsi": { + "type": { + "kind": "struct", + "name": "__unnamed_1229" + }, + "offset": 0 + }, + "WaitWake": { + "type": { + "kind": "struct", + "name": "__unnamed_124f" + }, + "offset": 0 + }, + "QueryFile": { + "type": { + "kind": "struct", + "name": "__unnamed_1211" + }, + "offset": 0 + }, + "VerifyVolume": { + "type": { + "kind": "struct", + "name": "__unnamed_1225" + }, + "offset": 0 + }, + "QuerySecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_121f" + }, + "offset": 0 + }, + "QueryDeviceRelations": { + "type": { + "kind": "struct", + "name": "__unnamed_122d" + }, + "offset": 0 + }, + "NotifyDirectory": { + "type": { + "kind": "struct", + "name": "__unnamed_120f" + }, + "offset": 0 + }, + "SetSecurity": { + "type": { + "kind": "struct", + "name": "__unnamed_1221" + }, + "offset": 0 + }, + "DeviceCapabilities": { + "type": { + "kind": "struct", + "name": "__unnamed_1237" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1817": { + "fields": { + "Length48": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1815": { + "fields": { + "Length40": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "tagKbdLayer": { + "fields": { + "pVkToWcharTable": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VK_TO_WCHAR_TABLE" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fLocaleFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "pCharModifiers": { + "type": { + "subtype": { + "kind": "struct", + "name": "MODIFIERS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pKeyNamesExt": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pDeadKey": { + "type": { + "subtype": { + "kind": "struct", + "name": "DEADKEY" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pusVSCtoVK": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pKeyNamesDead": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pLigature": { + "type": { + "subtype": { + "kind": "struct", + "name": "_LIGATURE1" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "cbLgEntry": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 85 + }, + "pKeyNames": { + "type": { + "subtype": { + "kind": "struct", + "name": "VSC_LPWSTR" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "dwSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "nLgMax": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 84 + }, + "pVSCtoVK_E1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pVSCtoVK_E0": { + "type": { + "subtype": { + "kind": "struct", + "name": "_VSC_VK" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "bMaxVSCtoVK": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1813": { + "fields": { + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { + "fields": { + "Centered": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "AspectRatioCenteredMax": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Stretched": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Identity": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Custom": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1958": { + "fields": { + "MinBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "MaxBusNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_2DREGION": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "HRGN__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1954": { + "fields": { + "AffinityPolicy": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "PriorityPolicy": { + "type": { + "kind": "enum", + "name": "PriorityPolicyEnum" + }, + "offset": 12 + }, + "Group": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "MaximumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "TargetedProcessors": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "MinimumVector": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "_PROCMARKHEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagSIZE": { + "fields": { + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagDESKTOPVIEW": { + "fields": { + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "pdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pdvNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPVIEW" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1819": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length64": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { + "fields": { + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "PathAndTargetModeSetOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBTRACK": { + "fields": { + "spwndSBNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hTimerSB": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "cmdSB": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "xxxpfnSB": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fTrackVert": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posNew": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 84 + }, + "posOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "fCtlSB": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "rcTrack": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 32 + }, + "fTrackRecalc": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndSB": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "pxOld": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fHitOld": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "pSBCalc": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBCALC" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "nBar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 88 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_16c1": { + "fields": { + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "MaxPixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_DMA_ADAPTER": { + "fields": { + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 0 + }, + "DmaOperations": { + "type": { + "subtype": { + "kind": "struct", + "name": "_DMA_OPERATIONS" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMONITOR": { + "fields": { + "hDev": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "rcMonitorReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 28 + }, + "pMonitorNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hDevReal": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "hrgnMonitorReal": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "rcWorkReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 44 + }, + "dwMONFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cWndStack": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 74 + }, + "DockTargets": { + "type": { + "count": 7, + "subtype": { + "count": 4, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "kind": "array" + }, + "offset": 96 + }, + "Spare0": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 144 + }, + "__unnamed_180b": { + "fields": { + "Translated": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Raw": { + "type": { + "kind": "struct", + "name": "__unnamed_1809" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagRECT": { + "fields": { + "top": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "right": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "bottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "left": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_180d": { + "fields": { + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Port": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Channel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "MODIFIERS": { + "fields": { + "wMaxModBits": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + }, + "pVkToBit": { + "type": { + "subtype": { + "kind": "struct", + "name": "VK_TO_BIT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ModNumber": { + "type": { + "count": 0, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 10 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120f": { + "fields": { + "CompletionFilter": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_120d": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 16 + }, + "FileName": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { + "fields": { + "PathAndTargetModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 48 + }, + "NumPathsFromSource": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 40 + }, + "SourceMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_SOURCE_MODE" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 480 + }, + "tagMSG": { + "fields": { + "wParam": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "lParam": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 24 + }, + "pt": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 36 + }, + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "time": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "message": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 48 + }, + "tagDPISERVERINFO": { + "fields": { + "hMsgFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hCaptionFont": { + "type": { + "subtype": { + "kind": "struct", + "name": "HFONT__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "gclBorder": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cxMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "wMaxBtnSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "cyMsgFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { + "fields": { + "Blue": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 1024 + }, + "Green": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 512 + }, + "Red": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1536 + }, + "__unnamed_124f": { + "fields": { + "PowerState": { + "type": { + "kind": "enum", + "name": "PowerStateEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagWOWPROCESSINFO": { + "fields": { + "ptdbHead": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ptiScheduled": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "nRecvLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CSLockCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "nSendLock": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pEventWowExec": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "lpfnWowExitTask": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "CSOwningThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "hEventWowExecClient": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwpiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "HTOUCHINPUT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagMENU": { + "fields": { + "iItem": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCDESKHEAD" + }, + "offset": 0 + }, + "umpm": { + "type": { + "kind": "struct", + "name": "tagUAHMENUPOPUPMETRICS" + }, + "offset": 132 + }, + "cItems": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pParentMenus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "fFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "cxMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "dwContextHelpId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "cxTextAlign": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "cAlloced": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "hbrBack": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwArrowsOn": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 128 + }, + "iMaxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 124 + }, + "dwMenuData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "cyMenu": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "rgItems": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagITEM" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "cyMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + } + }, + "kind": "struct", + "size": 152 + }, + "_D3DDDI_GAMMA_RAMP_DXGI_1": { + "fields": { + "GammaCurve": { + "type": { + "count": 1025, + "subtype": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "kind": "array" + }, + "offset": 24 + }, + "Scale": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 0 + }, + "Offset": { + "type": { + "kind": "struct", + "name": "D3DDDI_DXGI_RGB" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 12324 + }, + "_MOVESIZEDATA": { + "fields": { + "fmsKbd": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "pStartMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "impy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 152 + }, + "fMoveFromMax": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapMoving": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "frcNormalCheckPtValid": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptMaxTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 96 + }, + "ptRestore": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 156 + }, + "fUsePreviewRect": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForceSizing": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fThresholdSelector": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 3 + }, + "offset": 164 + }, + "ptStartHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 208 + }, + "fDragFullWindows": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fForeground": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "dyMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 140 + }, + "fHasSoftwareCursor": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsHitPtOffScreen": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fSnapSizingTemporaryAllowed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fCheckPtForcefullyRestored": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedRight": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ulCountDragOutOfLeftRightTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 228 + }, + "Unused": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 4 + }, + "offset": 164 + }, + "dxMouse": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 136 + }, + "fStartVerticallyMaximizedRight": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcParent": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 72 + }, + "fOffScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fWindowWasSuperMaximized": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fVerticallyMaximizedLeft": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "StartCurrentHitTarget": { + "type": { + "kind": "enum", + "name": "StartCurrentHitTargetEnum" + }, + "offset": 176 + }, + "fHasPreviewRect": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fLockWindowUpdate": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcPreview": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 40 + }, + "fSnapSizing": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fIsMoveSizeLoop": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fInitSize": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcDragCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "ulCountDragOutOfTopTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 224 + }, + "rcPreviewCursor": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 56 + }, + "CurrentHitTarget": { + "type": { + "kind": "enum", + "name": "CurrentHitTargetEnum" + }, + "offset": 192 + }, + "fSnapMovingTemporaryAllowed": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "fTrackCancelled": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "ptHitWindowRelative": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 200 + }, + "ptLastTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 216 + }, + "cmd": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 144 + }, + "Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 164 + }, + "MoveRectStyle": { + "type": { + "kind": "enum", + "name": "MoveRectStyleEnum" + }, + "offset": 196 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 104 + }, + "ulCountSizeOutOfTopBottomTarget": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 232 + }, + "fStartVerticallyMaximizedLeft": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 164 + }, + "rcNormalStartCheckPt": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 120 + }, + "ptMinTrack": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 88 + }, + "rcDrag": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 8 + }, + "pMonitorCurrentHitTarget": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "impx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 148 + } + }, + "kind": "struct", + "size": 240 + }, + "_D3DDDI_RATIONAL": { + "fields": { + "Denominator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Numerator": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "VWPL": { + "fields": { + "cElem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "aElement": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "VWPLELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "fTagged": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cThreshhold": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "cPwnd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagTEXTMETRICW": { + "fields": { + "tmOverhang": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "tmPitchAndFamily": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 55 + }, + "tmStruckOut": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 54 + }, + "tmCharSet": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 56 + }, + "tmDigitizedAspectX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "tmDigitizedAspectY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "tmFirstChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 44 + }, + "tmWeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "tmDescent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "tmDefaultChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 48 + }, + "tmLastChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 46 + }, + "tmMaxCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "tmItalic": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 52 + }, + "tmUnderlined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 53 + }, + "tmInternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "tmAscent": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "tmHeight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "tmAveCharWidth": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "tmBreakChar": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 50 + }, + "tmExternalLeading": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 60 + }, + "_SCATTER_GATHER_LIST": { + "fields": { + "Elements": { + "type": { + "count": 0, + "subtype": { + "kind": "struct", + "name": "_SCATTER_GATHER_ELEMENT" + }, + "kind": "array" + }, + "offset": 16 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "NumberOfElements": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "HICON__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_HANDLEENTRY": { + "fields": { + "pOwner": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "bType": { + "type": { + "kind": "enum", + "name": "bTypeEnum" + }, + "offset": 16 + }, + "bFlags": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 17 + }, + "phead": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HEAD" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "wUniq": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + } + }, + "kind": "struct", + "size": 24 + }, + "_THRDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagSVR_INSTANCE_INFO": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_THROBJHEAD" + }, + "offset": 0 + }, + "next": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nextInThisThread": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSVR_INSTANCE_INFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "spwndEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "afCmd": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pcii": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 80 + }, + "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { + "fields": { + "RequestDiagInfo": { + "type": { + "kind": "struct", + "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" + }, + "offset": 4 + }, + "AffectedVidPnSourceId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "VidPnSerialization": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPN_SERIALIZATION" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 28 + }, + "tagPOPUPMENU": { + "fields": { + "fDroppedLeft": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fIsSysMenu": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posDropped": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fIsMenuBar": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHierarchyDropped": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDropNextPopup": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fRightButton": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ppopupmenuRoot": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "fFirstClick": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNotify": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fRtoL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSendUninit": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fAboutToHide": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndNextPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "fFlushDelayedFree": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHasMenuBar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fTrackMouseEvent": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fNoNotify": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "posSelectedItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fUseMonitorRect": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndPrevPopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "ppmDelayedFree": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "fFreed": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fSynchronous": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spmenuAlternate": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "fDestroyed": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "iDropDir": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 0 + }, + "fIsTrackPopup": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "spwndActivePopup": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "fInCancel": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fToggle": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fDelayedFree": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fHideTimer": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "fShowTimer": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "_D3DKMDT_MONITOR_SOURCE_MODE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 84 + }, + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "ColorCoeffDynamicRanges": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" + }, + "offset": 68 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 88 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 96 + }, + "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 8 + }, + "Data": { + "type": { + "count": 128, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 12 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 140 + }, + "__unnamed_127c": { + "fields": { + "Wcb": { + "type": { + "kind": "struct", + "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" + }, + "offset": 0 + }, + "ListEntry": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_D3DMATRIX": { + "fields": { + "_41": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 48 + }, + "_42": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 52 + }, + "_43": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 56 + }, + "_44": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 60 + }, + "_34": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 44 + }, + "_14": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 12 + }, + "_13": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 8 + }, + "_12": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 4 + }, + "_11": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 0 + }, + "_24": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 28 + }, + "_31": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 32 + }, + "_33": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 40 + }, + "_32": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 36 + }, + "_22": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 20 + }, + "_23": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 24 + }, + "_21": { + "type": { + "kind": "base", + "name": "float" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 64 + }, + "_LARGE_UNICODE_STRING": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumLength": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 31 + }, + "offset": 4 + }, + "bAnsi": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "_VK_VALUES_STRINGS": { + "fields": { + "fReserved": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "pszMultiNames": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagHID_TLC_INFO": { + "fields": { + "cExcludeOrphaned": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + }, + "cDevices": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "usUsage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "cExcludeRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cUsagePageRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "cDirectRequest": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { + "fields": { + "Info": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_SOURCE_MODE" + }, + "offset": 0 + }, + "TimingType": { + "type": { + "kind": "enum", + "name": "TimingTypeEnum" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 104 + }, + "tagCURSOR": { + "fields": { + "rt": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 58 + }, + "head": { + "type": { + "kind": "struct", + "name": "_PROCMARKHEAD" + }, + "offset": 0 + }, + "hbmUserAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "xHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 68 + }, + "hbmColor": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pcurNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "CURSORF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hbmMask": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bpp": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 120 + }, + "cy": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 128 + }, + "cx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "rcBounds": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 96 + }, + "atomModName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 56 + }, + "hbmAlpha": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "yHotspot": { + "type": { + "kind": "base", + "name": "short" + }, + "offset": 70 + }, + "strName": { + "type": { + "kind": "struct", + "name": "nt_symbols!_UNICODE_STRING" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 136 + }, + "_D3DKMDT_GAMMA_RAMP": { + "fields": { + "Data": { + "type": { + "kind": "struct", + "name": "__unnamed_182e" + }, + "offset": 16 + }, + "DataSize": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "HWND__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1207": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_18a1": { + "fields": { + "Text": { + "type": { + "kind": "enum", + "name": "TextEnum" + }, + "offset": 0 + }, + "Graphics": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { + "fields": { + "TargetMode": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_TARGET_MODE" + }, + "offset": 360 + }, + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 432 + }, + "HKL__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1209": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "tagDCE": { + "fields": { + "hrgnClipPublic": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pwndOrg": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pdceNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ppiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "DCX_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "hdc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ptiOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "hrgnSavedVis": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pwndRedirect": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pMonitor": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMONITOR" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pwndClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 96 + }, + "VSC_LPWSTR": { + "fields": { + "vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pwsz": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagQ": { + "fields": { + "hwndDblClk": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "timeDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "spwndFocus": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 328 + }, + "cLockCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 322 + }, + "iCursorLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 312 + }, + "ptiSysLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "caret": { + "type": { + "kind": "struct", + "name": "tagCARET" + }, + "offset": 232 + }, + "ptiMouse": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "spwndActivePrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ptMouseMove": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 128 + }, + "msgDblClk": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 100 + }, + "msgJournal": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 324 + }, + "ptiKeyboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "cThreads": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 320 + }, + "QF_flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 316 + }, + "mlInput": { + "type": { + "kind": "struct", + "name": "tagMLIST" + }, + "offset": 0 + }, + "spwndActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "codeCapture": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 96 + }, + "idSysLock": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "spcurCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 304 + }, + "ulEtwReserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 336 + }, + "ptDblClk": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 120 + }, + "xbtnDblClk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 104 + }, + "afKeyRecentDown": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "afKeyState": { + "type": { + "count": 64, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 168 + }, + "spwndCapture": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "idSysPeek": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 344 + }, + "__unnamed_1203": { + "fields": { + "ShareAccess": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 18 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "SecurityContext": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_SECURITY_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Options": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Parameters": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" + }, + "kind": "pointer" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "HGESTUREINFO__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagCLS": { + "fields": { + "spcur": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 100 + }, + "pclsClone": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "lpszClientAnsiMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pclsBase": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "atomNVClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "pclsNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "CSF_flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "lpszAnsiClassName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "spcpdFirst": { + "type": { + "subtype": { + "kind": "struct", + "name": "_CALLPROCDATA" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "lpszClientUnicodeMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "cbclsExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 96 + }, + "lpszMenuName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "spicnSm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "cWndReferenceCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 80 + }, + "hbrBackground": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "spicn": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCURSOR" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 12 + }, + "pdce": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDCE" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "rpdeskParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "atomClassName": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 160 + }, + "_PROCDESKHEAD": { + "fields": { + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pSelf": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "rpdesk": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { + "fields": { + "CommitVidPnRequestOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumCommitVidPnRequests": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "_VK_TO_FUNCTION_TABLE": { + "fields": { + "NLSFEProcType": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "NLSFEProcCurrent": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 2 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcSwitch": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 3 + }, + "NLSFEProcAlt": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 68 + }, + "NLSFEProc": { + "type": { + "count": 8, + "subtype": { + "kind": "struct", + "name": "_VK_FUNCTION_PARAM" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 132 + }, + "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { + "fields": { + "NumDescriptors": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "DescriptorSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 144 + }, + "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { + "fields": { + "NumModes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 112 + }, + "_CALLBACKWND": { + "fields": { + "hwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { + "fields": { + "PathInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH" + }, + "offset": 0 + }, + "TargetModeSet": { + "type": { + "kind": "struct", + "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" + }, + "offset": 360 + } + }, + "kind": "struct", + "size": 440 + }, + "_VK_FUNCTION_PARAM": { + "fields": { + "NLSFEProcIndex": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "NLSFEProcParam": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "tagSBCALC": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "pxStart": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "pxThumbBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 48 + }, + "cpxThumb": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 32 + }, + "pxMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "pxThumbTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "pxDownArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cpx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "pxBottom": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "pxTop": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "pxLeft": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "pxRight": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "pxUpArrow": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 36 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "HDESK__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "HIMC__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { + "fields": { + "SecondChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "FourthChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "ThirdChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "FirstChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagMENUSTATE": { + "fields": { + "cxAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 116 + }, + "pGlobalPopupMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPOPUPMENU" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "uDraggingIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "fNotifyByPos": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInCallHandleMenuMessages": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ixAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "dwLockCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "fAutoDismiss": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fIsSysMenu": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "dwAniStartTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "uButtonDownHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 64 + }, + "fIgnoreButtonUp": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptButtonDown": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 56 + }, + "fMenuStarted": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "iAniDropDir": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 5 + }, + "offset": 8 + }, + "hdcAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "fModelessMenu": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hbmAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "fInEndMenu": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 92 + }, + "vkButtonDown": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "fSetCapture": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInDoDragDrop": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fActiveNoForeground": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fMouseOffMenu": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fDragAndDrop": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fInsideMenuLoop": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "uDraggingHitArea": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 80 + }, + "fButtonDown": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptiMenuStateOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 120 + }, + "iyAni": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 112 + }, + "hdcWndAni": { + "type": { + "subtype": { + "kind": "struct", + "name": "HDC__" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "fAboutToAutoDismiss": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "mnFocus": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "uButtonDownIndex": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "fButtonAlwaysDown": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "fUnderline": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "ptMouseLast": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 12 + }, + "pmnsPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENUSTATE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "fDragging": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "cmdLast": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 144 + }, + "VK_TO_BIT": { + "fields": { + "Vk": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModBits": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + } + }, + "kind": "struct", + "size": 2 + }, + "tagWOWTHREADINFO": { + "fields": { + "pIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "idParentProcess": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "idTask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pwtiNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "idWaitObject": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 40 + }, + "__unnamed_1805": { + "fields": { + "Start": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_1211": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1213": { + "fields": { + "FileInformationClass": { + "type": { + "kind": "enum", + "name": "FileInformationClassEnum" + }, + "offset": 8 + }, + "AdvanceOnly": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 25 + }, + "ClusterCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "DeleteHandle": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReplaceIfExists": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 24 + }, + "FileObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_FILE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_1217": { + "fields": { + "FsInformationClass": { + "type": { + "kind": "enum", + "name": "FsInformationClassEnum" + }, + "offset": 8 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_123b": { + "fields": { + "IoResourceRequirementList": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_122d": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1950": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "MinimumAddress": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 8 + }, + "Alignment": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 24 + }, + "tagITEM": { + "fields": { + "fType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "ulX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "wID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwItemData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "hbmpChecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "xItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "spSubMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hbmpUnchecked": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "fState": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dxTab": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "cxBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 104 + }, + "yItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "cyItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 76 + }, + "umim": { + "type": { + "kind": "struct", + "name": "tagUAHMENUITEMMETRICS" + }, + "offset": 112 + }, + "cch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "ulWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "cyBmp": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 108 + }, + "lpstr": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "cxItem": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "hbmp": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 96 + } + }, + "kind": "struct", + "size": 144 + }, + "tagIMEINFOEX": { + "fields": { + "dwImeWinVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 84 + }, + "fSysWow64Only": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "fInitOpen": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 72 + }, + "wszImeDescription": { + "type": { + "count": 50, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 88 + }, + "fCUASLayer": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 348 + }, + "ImeInfo": { + "type": { + "kind": "struct", + "name": "tagIMEINFO" + }, + "offset": 8 + }, + "wszImeFile": { + "type": { + "count": 80, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 188 + }, + "wszUIClass": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 36 + }, + "fLoadFlag": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 76 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "dwProdVersion": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 80 + }, + "fdwInitConvMode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + } + }, + "kind": "struct", + "size": 352 + }, + "__unnamed_1962": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1958" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_1956" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_195e" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_195c" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "ConfigData": { + "type": { + "kind": "struct", + "name": "__unnamed_195a" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1960" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1954" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1950" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagMSGPPINFO": { + "fields": { + "dwIndexMsgPP": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "tagSBINFO": { + "fields": { + "WSBflags": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "Horz": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 4 + }, + "Vert": { + "type": { + "kind": "struct", + "name": "tagSBDATA" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 36 + }, + "VWPLELEMENT": { + "fields": { + "DataOrTag": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "pwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSBDATA": { + "fields": { + "posMax": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "posMin": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "page": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "pos": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 16 + }, + "_VSC_VK": { + "fields": { + "Vsc": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "Vk": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123f": { + "fields": { + "Lock": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 1 + }, + "_SCATTER_GATHER_ELEMENT": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 16 + }, + "Address": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 24 + }, + "tagWND": { + "fields": { + "spwndLastActive": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "bWS_CLIPCHILDREN": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bMaximizeButtonDown": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bUIStateActive": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_TABSTOP": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDialogWindow": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "lpfnWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bMinimizeButtonDown": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hImc": { + "type": { + "subtype": { + "kind": "struct", + "name": "HIMC__" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "style": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "bChildNoActivate": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_LAYERED": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bReserved3": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bStartPaint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bVerticallyMaximizedLeft": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bHiddenPopup": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSendEraseBackground": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin50Compat": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_CLIENTEDGE": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "fnid": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 66 + }, + "bWS_EX_TOOLWINDOW": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bDisabled": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bAnsiWindowProc": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWin40Compat": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcClient": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 128 + }, + "bAnsiCreator": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bAnyScrollButtonDown": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bSendSizeMoveMsgs": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bLinked": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bSendNCPaint": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bInternalPaint": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasClientEdge": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasPalette": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHasHorizontalScrollbar": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUIStateFocusRectHidden": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_DLGFRAME": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_MDICHILD": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasVerticalScrollbar": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved2": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bSmallIconFromWMQueryDrag": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bNoNCPaint": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused1": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasSPB": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_MINIMIZEBOX": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarVerticalTracking": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_DLGMODALFRAME": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_TRANSPARENT": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bPaintNotProcessed": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bSyncPaintPending": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "hrgnClip": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "bShellHookRegistered": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndChild": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "bUnused5": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bInDestroy": { + "type": { + "bit_position": 7, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "state": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "bWS_EX_LEFTSCROLLBAR": { + "type": { + "bit_position": 14, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bToggleTopmost": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_VSCROLL": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "ExStyle": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "bWS_HSCROLL": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUpdateDirty": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWMPaintSent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_WINDOWEDGE": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_ACCEPTFILE": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_GROUP": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "bVisible": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bVerticallyMaximizedRight": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bForceMenuDraw": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bForceNCPaint": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bOldUI": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spwndClipboardListenerNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 280 + }, + "bWS_EX_NOPADDEDBORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bNoMinmaxAnimatedRects": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "bWS_MAXIMIZEBOX": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bHasCaption": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bEraseBackground": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "spwndOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cbwndExtra": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 232 + }, + "bMakeVisibleWhenUnghosted": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused8": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bUnused9": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 52 + }, + "bForceFullNCPaintClipRgn": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_RTLREADING": { + "type": { + "bit_position": 13, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pSBInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSBINFO" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "bUnused2": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused3": { + "type": { + "bit_position": 21, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUnused4": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasMeun": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bUnused6": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bUnused7": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 2 + }, + "offset": 52 + }, + "bClipboardListener": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bScrollBarLineDownBtnDown": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedirectedForPrint": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_RIGHT": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bHasCreatestructName": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITED": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bFullScreen": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnUpdate": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "bConsoleWindow": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "ppropList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROPLIST" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "bWS_EX_TOPMOST": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bScrollBarPageDownBtnDown": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bScrollBarLineUpBtnDown": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRecievedQuerySuspendMsg": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bMaximizeMonitorRegion": { + "type": { + "bit_position": 11, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bRedrawIfHung": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_POPUP": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTEXTHELP": { + "type": { + "bit_position": 10, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "dwUserData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 256 + }, + "hMod16": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 64 + }, + "FullScreenMode": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 3 + }, + "offset": 44 + }, + "bLayeredLimbo": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_EX_NOINHERITLAYOUT": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_LAYOUTRTL": { + "type": { + "bit_position": 22, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bUIStateKbdAccelHidden": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_BORDER": { + "type": { + "bit_position": 23, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_SIZEBOX": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bDestroyed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bServerSideWindowProc": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bCaptionTextTruncated": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "rcWindow": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 112 + }, + "bEndPaintInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "hrgnNewFrame": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "bBeingActivated": { + "type": { + "bit_position": 20, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_COMPOSITEDCompositing": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWMCreateMsgProcessed": { + "type": { + "bit_position": 31, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bWS_EX_NOACTIVATE": { + "type": { + "bit_position": 27, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bWS_EX_APPWINDOW": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bCloseButtonDown": { + "type": { + "bit_position": 12, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bMaximized": { + "type": { + "bit_position": 24, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_CHILD": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "spwndParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "bWS_THICKFRAME": { + "type": { + "bit_position": 18, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bWS_EX_CONTROLPARENT": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "pcls": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLS" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "bLayeredForDWM": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bMsgBox": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bHelpButtonDown": { + "type": { + "bit_position": 15, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bHasOverlay": { + "type": { + "bit_position": 9, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bRedrawFrameIfHung": { + "type": { + "bit_position": 28, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_NOPARENTNOTIFY": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bMaximizesToMonitor": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bBottomMost": { + "type": { + "bit_position": 5, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "bReserved1": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bRedirected": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + }, + "bActiveFrame": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bReserved4": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved5": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved6": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "bReserved7": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 16 + }, + "offset": 52 + }, + "spwndPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "bLayeredInvalidate": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "state2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "bWS_CLIPSIBLINGS": { + "type": { + "bit_position": 26, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bScrollBarPageUpBtnDown": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "pTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DMATRIX" + }, + "kind": "pointer" + }, + "offset": 272 + }, + "bWin31Compat": { + "type": { + "bit_position": 8, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 44 + }, + "ExStyle2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 288 + }, + "bHIGHDPI_UNAWARE_Unused": { + "type": { + "bit_position": 6, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 288 + }, + "bWS_SYSMENU": { + "type": { + "bit_position": 19, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "hModule": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "strName": { + "type": { + "kind": "struct", + "name": "_LARGE_UNICODE_STRING" + }, + "offset": 216 + }, + "pActCtx": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_ACTIVATION_CONTEXT" + }, + "kind": "pointer" + }, + "offset": 264 + }, + "bMinimized": { + "type": { + "bit_position": 29, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 52 + }, + "bRecievedSuspendMsg": { + "type": { + "bit_position": 25, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 40 + }, + "bWS_EX_STATICEDGE": { + "type": { + "bit_position": 17, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 296 + }, + "_WM_VALUES_STRINGS": { + "fields": { + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "fInternal": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 8 + }, + "fDefined": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 9 + } + }, + "kind": "struct", + "size": 16 + }, + "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { + "fields": { + "VisibleRegionSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 8 + }, + "Stride": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "PixelFormat": { + "type": { + "kind": "enum", + "name": "PixelFormatEnum" + }, + "offset": 20 + }, + "PixelValueAccessMode": { + "type": { + "kind": "enum", + "name": "PixelValueAccessModeEnum" + }, + "offset": 28 + }, + "PrimSurfSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 0 + }, + "ColorBasis": { + "type": { + "kind": "enum", + "name": "ColorBasisEnum" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 32 + }, + "_VK_TO_WCHARS1": { + "fields": { + "Attributes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 1 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 4 + }, + "_TLSPRITESTATE": { + "fields": { + "flOriginalSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "iSpriteType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "pfnSaveScreenBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "bInsideDriverCall": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "pfnStrokePath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnTransparentBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnPaint": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnStretchBltROP": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "iType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "pfnPlgBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnCopyBits": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pState": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "iOriginalType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "pfnTextOut": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDrawStream": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStrokeAndFillPath": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnLineTo": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnStretchBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGradientFill": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnAlphaBlend": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "flSpriteSurfFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "pfnBitBlt": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + } + }, + "kind": "struct", + "size": 168 + }, + "tagUAHMENUITEMMETRICS": { + "fields": { + "rgsizeBar": { + "type": { + "count": 2, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + }, + "rgsizePopup": { + "type": { + "count": 4, + "subtype": { + "kind": "struct", + "name": "tagSIZE" + }, + "kind": "array" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "__unnamed_121b": { + "fields": { + "Length": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ByteOffset": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 16 + }, + "Key": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1229": { + "fields": { + "Srb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_SCSI_REQUEST_BLOCK" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_121f": { + "fields": { + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1225": { + "fields": { + "DeviceObject": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_OBJECT" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "Vpb": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_VPB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_HEAD": { + "fields": { + "h": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "cLockObj": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagIMEINFO": { + "fields": { + "fdwProperty": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "fdwSelectCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fdwUICaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwPrivateDataSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "fdwSCSCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "fdwSentenceCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "fdwConversionCaps": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 28 + }, + "_DXGK_DIAG_CODE_POINT_PACKET": { + "fields": { + "Header": { + "type": { + "kind": "struct", + "name": "_DXGK_DIAG_HEADER" + }, + "offset": 0 + }, + "Param3": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 60 + }, + "Param1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "CodePointType": { + "type": { + "kind": "enum", + "name": "CodePointTypeEnum" + }, + "offset": 48 + }, + "Param2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + } + }, + "kind": "struct", + "size": 64 + }, + "_D3DKMDT_VIDPN_SOURCE_MODE": { + "fields": { + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 4 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Format": { + "type": { + "kind": "struct", + "name": "__unnamed_18a1" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagW32JOB": { + "fields": { + "restrictions": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "ughCrt": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "pAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "ughMax": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 52 + }, + "pgh": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long long" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "Job": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EJOB" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "ppiTable": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "uProcessCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "uMaxProcesses": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagW32JOB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 64 + }, + "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { + "fields": { + "NumFrequencyRanges": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "FrequencyRangeSerialization": { + "type": { + "count": 1, + "subtype": { + "kind": "struct", + "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 56 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { + "fields": { + "APSTriggerBits": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "CopyProtectionType": { + "type": { + "kind": "enum", + "name": "CopyProtectionTypeEnum" + }, + "offset": 0 + }, + "CopyProtectionSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" + }, + "offset": 264 + }, + "OEMCopyProtection": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 268 + }, + "tagWINDOWSTATION": { + "fields": { + "pClipBase": { + "type": { + "subtype": { + "count": 104, + "subtype": { + "kind": "struct", + "name": "tagCLIP" + }, + "kind": "array" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "cNumClipFormats": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "luidUser": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 136 + }, + "pGlobalAtomTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "ptiClipLock": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "dwWSF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "rpdeskList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spklList": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "spwndClipOpen": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "iClipSerialNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + }, + "pTerm": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTERMINAL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "rpwinstaNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndClipboardListener": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "spwndClipViewer": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "iClipSequenceNumber": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "ptiDrawingClipboard": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "spwndClipOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "psidUser": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "luidEndSession": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LUID" + }, + "offset": 128 + } + }, + "kind": "struct", + "size": 152 + }, + "tagDESKTOPINFO": { + "fields": { + "spwndProgman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 192 + }, + "pvwplMessagePPHandler": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 224 + }, + "pvDesktopLimit": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "fComposited": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndGestureEngine": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "pvDesktopBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwndShell": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "ppiShellProcess": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagPROCESSINFO" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pvwplShellHook": { + "type": { + "subtype": { + "kind": "struct", + "name": "VWPL" + }, + "kind": "pointer" + }, + "offset": 200 + }, + "fIsDwmDesktop": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 232 + }, + "spwndTaskman": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "aphkStart": { + "type": { + "count": 16, + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 32 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cntMBox": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 208 + }, + "spwndBkGnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 176 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 240 + }, + "tagMBSTRING": { + "fields": { + "szName": { + "type": { + "count": 15, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 0 + }, + "uID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "uStr": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 36 + } + }, + "kind": "struct", + "size": 40 + }, + "_D3DKMDT_VIDPN_TARGET_MODE": { + "fields": { + "VideoSignalInfo": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" + }, + "offset": 8 + }, + "Id": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Preference": { + "type": { + "kind": "enum", + "name": "PreferenceEnum" + }, + "offset": 64 + } + }, + "kind": "struct", + "size": 72 + }, + "_DMM_VIDPNSET_SERIALIZATION": { + "fields": { + "VidPnOffset": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4 + }, + "NumVidPns": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagKBDFILE": { + "fields": { + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "awchDllName": { + "type": { + "count": 32, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 56 + }, + "pKbdTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdLayer" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pkfNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pKbdNlsTbl": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKbdNlsLayer" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "hBase": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_11e4": { + "fields": { + "UserApcContext": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "UserApcRoutine": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "IssuingProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_W32PROCESS": { + "fields": { + "GDIPushLock": { + "type": { + "kind": "struct", + "name": "nt_symbols!_EX_PUSH_LOCK" + }, + "offset": 80 + }, + "DxProcess": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 248 + }, + "pBrushAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "Process": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_EPROCESS" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "GDIHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "RefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "StartCursorHideTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "InputIdleEvent": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "W32PF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "GDIHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "NextStart": { + "type": { + "subtype": { + "kind": "struct", + "name": "_W32PROCESS" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "hSecureGdiSharedHandleTable": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 240 + }, + "UserHandleCountPeak": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 72 + }, + "GDIW32PIDLockedBitmaps": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 224 + }, + "UserHandleCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 68 + }, + "W32Pid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "GDIEngUserMemAllocTable": { + "type": { + "kind": "struct", + "name": "nt_symbols!_RTL_AVL_TABLE" + }, + "offset": 88 + }, + "pDCAttrList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "GDIBrushAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 208 + }, + "GDIDcAttrFreeList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 192 + } + }, + "kind": "struct", + "size": 256 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { + "fields": { + "Scaling": { + "type": { + "kind": "enum", + "name": "ScalingEnum" + }, + "offset": 0 + }, + "RotationSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" + }, + "offset": 12 + }, + "Rotation": { + "type": { + "kind": "enum", + "name": "RotationEnum" + }, + "offset": 8 + }, + "ScalingSupport": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSERVERINFO": { + "fields": { + "uiShellMsg": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 912 + }, + "cbHandleTable": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 848 + }, + "atomSysClass": { + "type": { + "count": 25, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 852 + }, + "dtScroll": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2800 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2952 + }, + "atomIconSmProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1356 + }, + "argbSystemUnmatched": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2268 + }, + "dwTagCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4632 + }, + "ucWheelScrollLines": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2812 + }, + "ptCursorReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2784 + }, + "ucWheelScrollChars": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2816 + }, + "acOemToAnsi": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1364 + }, + "cySysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2832 + }, + "atomFrostedWindowProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1362 + }, + "mpFnid_serverCBWndProc": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned short" + }, + "kind": "array" + }, + "offset": 328 + }, + "PUSIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4476 + }, + "BitCount": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4468 + }, + "argbSystem": { + "type": { + "count": 31, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 2392 + }, + "dtLBSearch": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2804 + }, + "dtCaretBlink": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2808 + }, + "dwInstalledEventHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 1876 + }, + "apfnClientA": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 392 + }, + "cxSysFontChar": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2828 + }, + "hbrGray": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "offset": 2768 + }, + "ahbrSystem": { + "type": { + "count": 31, + "subtype": { + "subtype": { + "kind": "struct", + "name": "HBRUSH__" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 2520 + }, + "dwDefaultHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 908 + }, + "wMaxRightOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2824 + }, + "dwSRVIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "oembmi": { + "type": { + "count": 93, + "subtype": { + "kind": "struct", + "name": "tagOEMBITMAPINFO" + }, + "kind": "array" + }, + "offset": 2964 + }, + "apfnClientWorker": { + "type": { + "kind": "struct", + "name": "_PFNCLIENTWORKER" + }, + "offset": 760 + }, + "dwDefaultHeapBase": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 904 + }, + "BitsPixel": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4473 + }, + "wMaxLeftOverlapChars": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2820 + }, + "dmLogPixels": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4470 + }, + "dwLastSystemRITEventTickCountUpdate": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4488 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 2796 + }, + "atomIconProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1358 + }, + "Planes": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4472 + }, + "dpiSystem": { + "type": { + "kind": "struct", + "name": "tagDPISERVERINFO" + }, + "offset": 2896 + }, + "hIcoWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2944 + }, + "apfnClientW": { + "type": { + "kind": "struct", + "name": "_PFNCLIENT" + }, + "offset": 576 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2956 + }, + "MBStrings": { + "type": { + "count": 11, + "subtype": { + "kind": "struct", + "name": "tagMBSTRING" + }, + "kind": "array" + }, + "offset": 916 + }, + "atomContextHelpIdProp": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 1360 + }, + "adwDBGTAGFlags": { + "type": { + "count": 35, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 4492 + }, + "aiSysMet": { + "type": { + "count": 97, + "subtype": { + "kind": "base", + "name": "long" + }, + "kind": "array" + }, + "offset": 1880 + }, + "dwRIPFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4636 + }, + "uCaretWidth": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4480 + }, + "cCaptures": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2960 + }, + "tmSysFont": { + "type": { + "kind": "struct", + "name": "tagTEXTMETRICW" + }, + "offset": 2836 + }, + "cHandleEntries": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ptCursor": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 2776 + }, + "hIconSmWindows": { + "type": { + "subtype": { + "kind": "struct", + "name": "HICON__" + }, + "kind": "pointer" + }, + "offset": 2936 + }, + "mpFnidPfn": { + "type": { + "count": 32, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "UILangID": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 4484 + }, + "acAnsiToOem": { + "type": { + "count": 256, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 1620 + }, + "aStoCidPfn": { + "type": { + "count": 7, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 272 + }, + "rcScreenReal": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 4452 + }, + "dwLastRITEventTickCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 2792 + } + }, + "kind": "struct", + "size": 4640 + }, + "tagPOOLRECORD": { + "fields": { + "ExtraData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "trace": { + "type": { + "count": 6, + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "array" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "__unnamed_195a": { + "fields": { + "Priority": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Reserved1": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagUSERSTARTUPINFO": { + "fields": { + "dwYSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "cbReserved2": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 26 + }, + "cb": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwX": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "dwY": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwXSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 12 + }, + "wShowWindow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 24 + } + }, + "kind": "struct", + "size": 28 + }, + "_DMM_VIDPN_SERIALIZATION": { + "fields": { + "PathsFromSourceSerializationOffsets": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "array" + }, + "offset": 8 + }, + "NumActiveSources": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 4 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 12 + }, + "__unnamed_11df": { + "fields": { + "IrpCount": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "SystemBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "MasterIrp": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_IRP" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagHID_PAGEONLY_REQUEST": { + "fields": { + "usUsagePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 16 + }, + "link": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 0 + }, + "cRefCount": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1233": { + "fields": { + "Interface": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_INTERFACE" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "InterfaceSpecificData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "Version": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "InterfaceType": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_GUID" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "tagQMSG": { + "fields": { + "Padding": { + "type": { + "bit_position": 30, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 2 + }, + "offset": 80 + }, + "ptMouseReal": { + "type": { + "kind": "struct", + "name": "tagPOINT" + }, + "offset": 72 + }, + "FromPen": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "ExtraInfo": { + "type": { + "kind": "base", + "name": "long long" + }, + "offset": 64 + }, + "Wow64Message": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "MsgPPInfo": { + "type": { + "kind": "struct", + "name": "tagMSGPPINFO" + }, + "offset": 96 + }, + "dwQEvent": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 30 + }, + "offset": 80 + }, + "pqmsgPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FromTouch": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "NoCoalesce": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "long" + }, + "bit_length": 1 + }, + "offset": 84 + }, + "msg": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 16 + }, + "pqmsgNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQMSG" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 104 + }, + "__unnamed_1237": { + "fields": { + "Capabilities": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_DEVICE_CAPABILITIES" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "__unnamed_11e6": { + "fields": { + "AsynchronousParameters": { + "type": { + "kind": "struct", + "name": "__unnamed_11e4" + }, + "offset": 0 + }, + "AllocationSize": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LARGE_INTEGER" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagDESKTOP": { + "fields": { + "spmenuVScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "dwMouseHoverTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 212 + }, + "rpwinstaParent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWINDOWSTATION" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "spmenuDialogSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "spwndForeground": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "spmenuHScroll": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "spwndTooltip": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "dwSessionId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "spwndMessage": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "cciConsole": { + "type": { + "kind": "struct", + "name": "_CONSOLE_CARET_INFO" + }, + "offset": 144 + }, + "PtiList": { + "type": { + "kind": "struct", + "name": "nt_symbols!_LIST_ENTRY" + }, + "offset": 160 + }, + "spwndTray": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "rpdeskNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "dwDTFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "pMagInputTransform": { + "type": { + "subtype": { + "kind": "struct", + "name": "_MAGNIFICATION_INPUT_TRANSFORM" + }, + "kind": "pointer" + }, + "offset": 216 + }, + "spwndTrack": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 184 + }, + "htEx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 192 + }, + "ulHeapSize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 136 + }, + "pheapDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!tagWIN32HEAP" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "rcMouseHover": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 196 + }, + "hsectionDesktop": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "dwDesktopId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "spmenuSys": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 224 + }, + "_MAGNIFICATION_INPUT_TRANSFORM": { + "fields": { + "rcScreen": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 16 + }, + "magFactorX": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 40 + }, + "magFactorY": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 44 + }, + "ptiMagThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "rcSource": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 48 + }, + "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { + "fields": { + "Origin": { + "type": { + "kind": "enum", + "name": "OriginEnum" + }, + "offset": 0 + }, + "ConstraintType": { + "type": { + "kind": "enum", + "name": "ConstraintTypeEnum" + }, + "offset": 36 + }, + "RangeLimits": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_FREQUENCY_RANGE" + }, + "offset": 4 + }, + "Constraint": { + "type": { + "kind": "struct", + "name": "__unnamed_16c1" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 48 + }, + "__unnamed_121d": { + "fields": { + "Type3InputBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "OutputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IoControlCode": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "InputBufferLength": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 32 + }, + "_PFNCLIENTWORKER": { + "fields": { + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnCtfHookProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 88 + }, + "__unnamed_12e0": { + "fields": { + "InitialPrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" + }, + "offset": 0 + }, + "PrivilegeSet": { + "type": { + "kind": "struct", + "name": "nt_symbols!_PRIVILEGE_SET" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 44 + }, + "tagMENULIST": { + "fields": { + "pMenu": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENU" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagMENULIST" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "_DMA_OPERATIONS": { + "fields": { + "PutDmaAdapter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "FreeMapRegisters": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "MapTransfer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "FreeCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "ReadDmaCounter": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "AllocateCommonBuffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "PutScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "BuildMdlFromScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "GetScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "CalculateScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "FreeAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "GetDmaAlignment": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "FlushAdapterBuffers": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "AllocateAdapterChannel": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "BuildScatterGatherList": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 128 + }, + "__unnamed_1811": { + "fields": { + "Start": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "Reserved": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 12 + }, + "tagSPB": { + "fields": { + "hbm": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "hrgn": { + "type": { + "subtype": { + "kind": "struct", + "name": "HRGN__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "ulSaveId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 56 + }, + "flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "rc": { + "type": { + "kind": "struct", + "name": "tagRECT" + }, + "offset": 24 + }, + "pspbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSPB" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 64 + }, + "tagWin32PoolHead": { + "fields": { + "pPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pTrace": { + "type": { + "subtype": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWin32PoolHead" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "size": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 32 + }, + "_DXGK_DIAG_HEADER": { + "fields": { + "Index": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "ProcessName": { + "type": { + "count": 16, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 16 + }, + "LogTimestamp": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "ThreadId": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "Type": { + "type": { + "kind": "enum", + "name": "TypeEnum" + }, + "offset": 0 + }, + "WdLogIdx": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 48 + }, + "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { + "fields": { + "CleanupAfterFailedCommitVidPn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ModeChangeRequestId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "ReclaimClonedTarget": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + }, + "ForceAllActiveVidPnModeListInvalidation": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned char" + }, + "bit_length": 1 + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 12 + }, + "tagTOUCHINPUT": { + "fields": { + "dwExtraInfo": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "hSource": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "dwMask": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "cyContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 44 + }, + "cxContact": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 40 + }, + "dwFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "dwID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "dwTime": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 48 + }, + "_SM_VALUES_STRINGS": { + "fields": { + "StorageType": { + "type": { + "kind": "enum", + "name": "StorageTypeEnum" + }, + "offset": 16 + }, + "pszName": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulValue": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + }, + "RangeType": { + "type": { + "kind": "enum", + "name": "RangeTypeEnum" + }, + "offset": 12 + } + }, + "kind": "struct", + "size": 24 + }, + "__unnamed_1956": { + "fields": { + "MinimumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "MaximumChannel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + } + }, + "kind": "struct", + "size": 8 + }, + "_D3DKMDT_VIDEO_SIGNAL_INFO": { + "fields": { + "VSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 20 + }, + "ActiveSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 12 + }, + "PixelRate": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "TotalSize": { + "type": { + "kind": "struct", + "name": "_D3DKMDT_2DREGION" + }, + "offset": 4 + }, + "VideoStandard": { + "type": { + "kind": "enum", + "name": "VideoStandardEnum" + }, + "offset": 0 + }, + "ScanLineOrdering": { + "type": { + "kind": "enum", + "name": "ScanLineOrderingEnum" + }, + "offset": 48 + }, + "HSyncFreq": { + "type": { + "kind": "struct", + "name": "_D3DDDI_RATIONAL" + }, + "offset": 28 + } + }, + "kind": "struct", + "size": 56 + }, + "tagTERMINAL": { + "fields": { + "spwndDesktopOwner": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pEventInputReady": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "rpdeskDestroy": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOP" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pqDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagQ" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "dwTERMF_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "dwNestedLevel": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ptiDesktop": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pEventTermInit": { + "type": { + "subtype": { + "kind": "struct", + "name": "nt_symbols!_KEVENT" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "HFONT__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { + "fields": { + "MacroVisionFull": { + "type": { + "bit_position": 2, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "MacroVisionApsTrigger": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "NoProtection": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 3, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 29 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "_PFNCLIENT": { + "fields": { + "pfnDispatchDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 160 + }, + "pfnStaticWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 112 + }, + "pfnDispatchHook": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 152 + }, + "pfnDesktopWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "pfnImeWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 120 + }, + "pfnScrollBarWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pfnEditWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 88 + }, + "pfnGhostWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 128 + }, + "pfnMessageWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pfnSwitchWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "pfnComboListBoxProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 72 + }, + "pfnComboBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 64 + }, + "pfnMDIClientWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 104 + }, + "pfnDialogWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "pfnHkINLPCWPSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 136 + }, + "pfnTitleWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "pfnHkINLPCWPRETSTRUCT": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "pfnButtonWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pfnMenuWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "pfnListBoxWndProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "pfnDispatchMessage": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 168 + }, + "pfnDefWindowProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "pfnMDIActivateDlgProc": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 176 + } + }, + "kind": "struct", + "size": 184 + }, + "tagOEMBITMAPINFO": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1221": { + "fields": { + "SecurityInformation": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "SecurityDescriptor": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "_KLIST_ENTRY": { + "fields": { + "Flink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "Blink": { + "type": { + "subtype": { + "kind": "struct", + "name": "_KLIST_ENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "HMONITOR__": { + "fields": { + "unused": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_1247": { + "fields": { + "DeviceTextType": { + "type": { + "kind": "enum", + "name": "DeviceTextTypeEnum" + }, + "offset": 0 + }, + "LocaleId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "tagCLIENTINFO": { + "fields": { + "msgDbcsCB": { + "type": { + "kind": "struct", + "name": "tagMSG" + }, + "offset": 160 + }, + "dwCompatFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 20 + }, + "achDbcsCF": { + "type": { + "count": 2, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 154 + }, + "dwTIFlags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "pClientThreadInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagCLIENTTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 152 + }, + "dwKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "dwHookCurrent": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "afAsyncKeyStateRecentDown": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 136 + }, + "dwCompatFlags2": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "fsHooks": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 56 + }, + "ulClientDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "pDeskInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDESKTOPINFO" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "dwExpWinVer": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "dwHookData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 104 + }, + "afAsyncKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 128 + }, + "CallbackWnd": { + "type": { + "kind": "struct", + "name": "_CALLBACKWND" + }, + "offset": 64 + }, + "lpdwRegisteredClasses": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned long" + }, + "kind": "pointer" + }, + "offset": 208 + }, + "cInDDEMLCallback": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 92 + }, + "cSpins": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 8 + }, + "hKL": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 144 + }, + "dwAsyncKeyCache": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 124 + }, + "afKeyState": { + "type": { + "count": 8, + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "array" + }, + "offset": 116 + }, + "CI_flags": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 0 + }, + "phkCurrent": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagHOOK" + }, + "kind": "pointer" + }, + "offset": 48 + } + }, + "kind": "struct", + "size": 216 + }, + "_DMM_MONITOR_SERIALIZATION": { + "fields": { + "SourceModeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "FrequencyRangeSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 28 + }, + "DescriptorSetOffset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "ModePruningAlgorithm": { + "type": { + "kind": "enum", + "name": "ModePruningAlgorithmEnum" + }, + "offset": 16 + }, + "VideoPresentTargetId": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 4 + }, + "IsUsingDefaultProfile": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 13 + }, + "MonitorPowerState": { + "type": { + "kind": "enum", + "name": "MonitorPowerStateEnum" + }, + "offset": 20 + }, + "MonitorType": { + "type": { + "kind": "enum", + "name": "MonitorTypeEnum" + }, + "offset": 36 + }, + "Size": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "IsSimulatedMonitor": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 12 + }, + "Orientation": { + "type": { + "kind": "enum", + "name": "OrientationEnum" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 40 + }, + "tagPROP": { + "fields": { + "fs": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 10 + }, + "hData": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "atomKey": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 8 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_1243": { + "fields": { + "IdType": { + "type": { + "kind": "enum", + "name": "IdTypeEnum" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 4 + }, + "__unnamed_123d": { + "fields": { + "Buffer": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "WhichSpace": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + }, + "Length": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 24 + }, + "Offset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + } + }, + "kind": "struct", + "size": 32 + }, + "_WNDMSG": { + "fields": { + "abMsgs": { + "type": { + "subtype": { + "kind": "base", + "name": "unsigned char" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "maxMsgs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagSHAREDINFO": { + "fields": { + "psi": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagSERVERINFO" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "ulSharedDelta": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 32 + }, + "aheList": { + "type": { + "subtype": { + "kind": "struct", + "name": "_HANDLEENTRY" + }, + "kind": "pointer" + }, + "offset": 8 + }, + "DefWindowSpecMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 552 + }, + "awmControl": { + "type": { + "count": 31, + "subtype": { + "kind": "struct", + "name": "_WNDMSG" + }, + "kind": "array" + }, + "offset": 40 + }, + "pDispInfo": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagDISPLAYINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "HeEntrySize": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 16 + }, + "DefWindowMsgs": { + "type": { + "kind": "struct", + "name": "_WNDMSG" + }, + "offset": 536 + } + }, + "kind": "struct", + "size": 568 + }, + "__unnamed_181b": { + "fields": { + "BusNumber": { + "type": { + "kind": "struct", + "name": "__unnamed_1811" + }, + "offset": 0 + }, + "Dma": { + "type": { + "kind": "struct", + "name": "__unnamed_180d" + }, + "offset": 0 + }, + "DeviceSpecificData": { + "type": { + "kind": "struct", + "name": "__unnamed_1813" + }, + "offset": 0 + }, + "Memory48": { + "type": { + "kind": "struct", + "name": "__unnamed_1817" + }, + "offset": 0 + }, + "MessageInterrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_180b" + }, + "offset": 0 + }, + "Generic": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Memory40": { + "type": { + "kind": "struct", + "name": "__unnamed_1815" + }, + "offset": 0 + }, + "DevicePrivate": { + "type": { + "kind": "struct", + "name": "nt_symbols!__unnamed_180f" + }, + "offset": 0 + }, + "Memory64": { + "type": { + "kind": "struct", + "name": "__unnamed_1819" + }, + "offset": 0 + }, + "Memory": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + }, + "Interrupt": { + "type": { + "kind": "struct", + "name": "__unnamed_1807" + }, + "offset": 0 + }, + "Port": { + "type": { + "kind": "struct", + "name": "__unnamed_1805" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "tagPOINT": { + "fields": { + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 4 + }, + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagIMC": { + "fields": { + "dwClientImcData": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 48 + }, + "head": { + "type": { + "kind": "struct", + "name": "_THRDESKHEAD" + }, + "offset": 0 + }, + "hImeWnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "HWND__" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "pImcNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMC" + }, + "kind": "pointer" + }, + "offset": 40 + } + }, + "kind": "struct", + "size": 64 + }, + "tagKL": { + "fields": { + "uNumTbl": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 88 + }, + "pklPrev": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "head": { + "type": { + "kind": "struct", + "name": "_HEAD" + }, + "offset": 0 + }, + "pklNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKL" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "spkfPrimary": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 56 + }, + "dwFontSigs": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 64 + }, + "dwLastKbdType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 104 + }, + "CodePage": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 72 + }, + "dwKL_Flags": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 32 + }, + "iBaseCharset": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 68 + }, + "dwKLID": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 112 + }, + "spkf": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "offset": 48 + }, + "piiex": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagIMEINFOEX" + }, + "kind": "pointer" + }, + "offset": 80 + }, + "hkl": { + "type": { + "subtype": { + "kind": "struct", + "name": "HKL__" + }, + "kind": "pointer" + }, + "offset": 40 + }, + "pspkfExtra": { + "type": { + "subtype": { + "subtype": { + "kind": "struct", + "name": "tagKBDFILE" + }, + "kind": "pointer" + }, + "kind": "pointer" + }, + "offset": 96 + }, + "wchDiacritic": { + "type": { + "kind": "base", + "name": "wchar" + }, + "offset": 74 + }, + "dwLastKbdSubType": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 108 + } + }, + "kind": "struct", + "size": 120 + }, + "__unnamed_115b": { + "fields": { + "NextEntry": { + "type": { + "bit_position": 4, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 60 + }, + "offset": 8 + }, + "Depth": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 16 + }, + "offset": 0 + }, + "Reserved": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 3 + }, + "offset": 8 + }, + "HeaderType": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "Sequence": { + "type": { + "bit_position": 16, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "bit_length": 48 + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 16 + }, + "__unnamed_182e": { + "fields": { + "pRgb256x3x16": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pRaw": { + "type": { + "subtype": { + "kind": "base", + "name": "void" + }, + "kind": "pointer" + }, + "offset": 0 + }, + "pDxgi1": { + "type": { + "subtype": { + "kind": "struct", + "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 8 + }, + "tagTDB": { + "fields": { + "pti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 16 + }, + "TDB_Flags": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 34 + }, + "hTaskWow": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 32 + }, + "pwti": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWOWTHREADINFO" + }, + "kind": "pointer" + }, + "offset": 24 + }, + "nEvents": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 8 + }, + "nPriority": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "ptdbNext": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagTDB" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 40 + }, + "tagCARET": { + "fields": { + "x": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 16 + }, + "iHideLevel": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 12 + }, + "hTimer": { + "type": { + "kind": "base", + "name": "unsigned long long" + }, + "offset": 40 + }, + "yOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 56 + }, + "y": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 20 + }, + "xOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 52 + }, + "cy": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 24 + }, + "cx": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 28 + }, + "fVisible": { + "type": { + "bit_position": 0, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "hBitmap": { + "type": { + "subtype": { + "kind": "struct", + "name": "HBITMAP__" + }, + "kind": "pointer" + }, + "offset": 32 + }, + "cxOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 60 + }, + "cyOwnDc": { + "type": { + "kind": "base", + "name": "long" + }, + "offset": 64 + }, + "tid": { + "type": { + "kind": "base", + "name": "unsigned long" + }, + "offset": 48 + }, + "fOn": { + "type": { + "bit_position": 1, + "kind": "bitfield", + "type": { + "kind": "base", + "name": "unsigned long" + }, + "bit_length": 1 + }, + "offset": 8 + }, + "spwnd": { + "type": { + "subtype": { + "kind": "struct", + "name": "tagWND" + }, + "kind": "pointer" + }, + "offset": 0 + } + }, + "kind": "struct", + "size": 72 + }, + "_LIGATURE1": { + "fields": { + "wch": { + "type": { + "count": 1, + "subtype": { + "kind": "base", + "name": "wchar" + }, + "kind": "array" + }, + "offset": 4 + }, + "VirtualKey": { + "type": { + "kind": "base", + "name": "unsigned char" + }, + "offset": 0 + }, + "ModificationNumber": { + "type": { + "kind": "base", + "name": "unsigned short" + }, + "offset": 2 + } + }, + "kind": "struct", + "size": 6 } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1153": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 59 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 9 - }, - "offset": 0 - }, - "Region": { - "type": { - "bit_position": 61, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 39 - }, - "offset": 0 + }, + "base_types": { + "unsigned char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, + "float": { + "kind": "float", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "wchar": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "pointer": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 + }, + "unsigned int": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 4 + }, + "short": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 2 + }, + "long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 4 + }, + "unsigned short": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 2 + }, + "long long": { + "kind": "int", + "endian": "little", + "signed": true, + "size": 8 + }, + "unsigned long long": { + "kind": "int", + "endian": "little", + "signed": false, + "size": 8 } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1960": { - "fields": { - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 + }, + "enums": { + "TextEnum": { + "base": "long", + "constants": { + "D3DKMDT_TRF_UNINITIALIZED": 0 + }, + "size": 4 + }, + "PreferenceEnum": { + "base": "long", + "constants": { + "D3DKMDT_MP_PREFERRED": 1, + "D3DKMDT_MP_MAXVALID": 2, + "D3DKMDT_MP_UNINITIALIZED": 0 + }, + "size": 4 + }, + "FileInformationClassEnum": { + "base": "long", + "constants": { + "FileInternalInformation": 6, + "FileQuotaInformation": 32, + "FileIoStatusBlockRangeInformation": 42, + "FilePipeLocalInformation": 24, + "FileStandardLinkInformation": 54, + "FileIdFullDirectoryInformation": 38, + "FileLinkInformation": 11, + "FileFullDirectoryInformation": 2, + "FileAllInformation": 18, + "FileSfioVolumeInformation": 45, + "FileStreamInformation": 22, + "FileRenameInformation": 10, + "FileValidDataLengthInformation": 39, + "FileAlternateNameInformation": 21, + "FileBasicInformation": 4, + "FilePositionInformation": 14, + "FileCompletionInformation": 30, + "FileAttributeCacheInformation": 52, + "FileReparsePointInformation": 33, + "FileMailslotSetInformation": 27, + "FileNetworkPhysicalNameInformation": 49, + "FileAllocationInformation": 19, + "FileIsRemoteDeviceInformation": 51, + "FileFullEaInformation": 15, + "FileProcessIdsUsingFileInformation": 47, + "FileDispositionInformation": 13, + "FileStandardInformation": 5, + "FileAccessInformation": 8, + "FileNumaNodeInformation": 53, + "FilePipeRemoteInformation": 25, + "FileIoPriorityHintInformation": 43, + "FileMailslotQueryInformation": 26, + "FileRemoteProtocolInformation": 55, + "FileNamesInformation": 12, + "FileHardLinkInformation": 46, + "FileEndOfFileInformation": 20, + "FileIdBothDirectoryInformation": 37, + "FileSfioReserveInformation": 44, + "FileIdGlobalTxDirectoryInformation": 50, + "FileNetworkOpenInformation": 34, + "FileObjectIdInformation": 29, + "FileMoveClusterInformation": 31, + "FileIoCompletionNotificationInformation": 41, + "FileNameInformation": 9, + "FileBothDirectoryInformation": 3, + "FileDirectoryInformation": 1, + "FileMaximumInformation": 56, + "FileNormalizedNameInformation": 48, + "FilePipeInformation": 23, + "FileCompressionInformation": 28, + "FileTrackingInformation": 36, + "FileEaInformation": 7, + "FileShortNameInformation": 40, + "FileModeInformation": 16, + "FileAlignmentInformation": 17, + "FileAttributeTagInformation": 35 + }, + "size": 4 + }, + "ModePruningAlgorithmEnum": { + "base": "long", + "constants": { + "DMM_MPA_MAXVALID": 3, + "DMM_MPA_GDI": 1, + "DMM_MPA_VISTA": 2, + "DMM_MPA_UNINITIALIZED": 0 + }, + "size": 4 + }, + "fmtEnum": { + "base": "unsigned long", + "constants": { + "CF_ENHMETAFILE": 14, + "CF_PENDATA": 10, + "CF_BITMAP": 2, + "CF_UNICODETEXT": 13, + "CF_HDROP": 15, + "CF_OEMTEXT": 7, + "CF_WAVE": 12, + "CF_DSPTEXT": 129, + "CF_DIBV5": 17, + "CF_TIFF": 6, + "CF_PALETTE": 9, + "CF_OWNERDISPLAY": 128, + "CF_DSPMETAFILEPICT": 131, + "CF_METAFILEPICT": 3, + "CF_RIFF": 11, + "CF_DSPENHMETAFILE": 142, + "CF_TEXT": 1, + "CF_LOCALE": 16, + "CF_SYLK": 4, + "CF_DSPBITMAP": 130, + "CF_DIB": 8, + "CF_DIF": 5 + }, + "size": 4 + }, + "MonitorPowerStateEnum": { + "base": "long", + "constants": { + "PowerDeviceUnspecified": 0, + "PowerDeviceD0": 1, + "PowerDeviceD1": 2, + "PowerDeviceD2": 3, + "PowerDeviceD3": 4, + "PowerDeviceMaximum": 5 + }, + "size": 4 + }, + "bTypeEnum": { + "base": "unsigned char", + "constants": { + "TYPE_DDEXACT": 11, + "TYPE_HOOK": 5, + "TYPE_FREE": 0, + "TYPE_MONITOR": 12, + "TYPE_GESTURE": 21, + "TYPE_DEVICEINFO": 19, + "TYPE_DDEACCESS": 9, + "TYPE_CALLPROC": 7, + "TYPE_CURSOR": 3, + "TYPE_KBDLAYOUT": 13, + "TYPE_WINEVENTHOOK": 15, + "TYPE_MENU": 2, + "TYPE_ACCELTABLE": 8, + "TYPE_TOUCH": 20, + "TYPE_SETWINDOWPOS": 4, + "TYPE_CLIPDATA": 6, + "TYPE_KBDFILE": 14, + "TYPE_DDECONV": 10, + "TYPE_HIDDATA": 18, + "TYPE_WINDOW": 1, + "TYPE_INPUTCONTEXT": 17, + "TYPE_TIMER": 16 + }, + "size": 1 + }, + "OriginEnum": { + "base": "long", + "constants": { + "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, + "D3DKMDT_MCO_UNINITIALIZED": 0, + "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, + "D3DKMDT_MCO_MAXVALID": 5, + "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, + "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 + }, + "size": 4 + }, + "CodePointTypeEnum": { + "base": "long", + "constants": { + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, + "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, + "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, + "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, + "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, + "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, + "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, + "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, + "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, + "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, + "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, + "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, + "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, + "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, + "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, + "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, + "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, + "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, + "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, + "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, + "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, + "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, + "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, + "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, + "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, + "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, + "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, + "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, + "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, + "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, + "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, + "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, + "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, + "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, + "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, + "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, + "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, + "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, + "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 + }, + "size": 4 + }, + "ConstraintTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MFRC_MAXPIXELRATE": 2, + "D3DKMDT_MFRC_ACTIVESIZE": 1, + "D3DKMDT_MFRC_UNINITIALIZED": 0 + }, + "size": 4 + }, + "VidPnTargetColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MonitorTypeEnum": { + "base": "long", + "constants": { + "DMM_VMT_TEMPORARY_MONITOR": 4, + "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, + "DMM_VMT_PHYSICAL_MONITOR": 1, + "DMM_VMT_UNINITIALIZED": 0, + "DMM_VMT_SIMULATED_MONITOR": 5, + "DMM_VMT_PERSISTENT_MONITOR": 3 + }, + "size": 4 + }, + "PowerStateEnum": { + "base": "long", + "constants": { + "PowerSystemSleeping2": 3, + "PowerSystemSleeping1": 2, + "PowerSystemSleeping3": 4, + "PowerSystemUnspecified": 0, + "PowerSystemMaximum": 7, + "PowerSystemShutdown": 6, + "PowerSystemHibernate": 5, + "PowerSystemWorking": 1 + }, + "size": 4 + }, + "ShutdownTypeEnum": { + "base": "long", + "constants": { + "PowerActionNone": 0, + "PowerActionReserved": 1, + "PowerActionHibernate": 3, + "PowerActionShutdownOff": 6, + "PowerActionShutdown": 4, + "PowerActionSleep": 2, + "PowerActionShutdownReset": 5, + "PowerActionWarmEject": 7 + }, + "size": 4 + }, + "ScalingEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPS_CENTERED": 2, + "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, + "D3DKMDT_VPPS_STRETCHED": 3, + "D3DKMDT_VPPS_UNINITIALIZED": 0, + "D3DKMDT_VPPS_UNPINNED": 254, + "D3DKMDT_VPPS_IDENTITY": 1, + "D3DKMDT_VPPS_NOTSPECIFIED": 255, + "D3DKMDT_VPPS_CUSTOM": 5, + "D3DKMDT_VPPS_RESERVED1": 253 + }, + "size": 4 + }, + "CurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "StorageTypeEnum": { + "base": "long", + "constants": { + "SmStorageActual": 0, + "SmStorageNonActual": 1 + }, + "size": 4 + }, + "ScanLineOrderingEnum": { + "base": "long", + "constants": { + "D3DDDI_VSSLO_PROGRESSIVE": 1, + "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, + "D3DDDI_VSSLO_UNINITIALIZED": 0, + "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, + "D3DDDI_VSSLO_OTHER": 255 + }, + "size": 4 + }, + "PixelValueAccessModeEnum": { + "base": "long", + "constants": { + "D3DKMDT_PVAM_UNINITIALIZED": 0, + "D3DKMDT_PVAM_DIRECT": 1, + "D3DKMDT_PVAM_PRESETPALETTE": 2, + "D3DKMDT_PVAM_MAXVALID": 3 + }, + "size": 4 + }, + "PriorityPolicyEnum": { + "base": "long", + "constants": { + "IrqPriorityHigh": 3, + "IrqPriorityNormal": 2, + "IrqPriorityLow": 1, + "IrqPriorityUndefined": 0 + }, + "size": 4 + }, + "OrientationEnum": { + "base": "long", + "constants": { + "D3DKMDT_MO_90DEG": 2, + "D3DKMDT_MO_0DEG": 1, + "D3DKMDT_MO_270DEG": 4, + "D3DKMDT_MO_UNINITIALIZED": 0, + "D3DKMDT_MO_180DEG": 3 + }, + "size": 4 + }, + "ContentEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPC_NOTSPECIFIED": 255, + "D3DKMDT_VPPC_UNINITIALIZED": 0, + "D3DKMDT_VPPC_GRAPHICS": 1, + "D3DKMDT_VPPC_VIDEO": 2 + }, + "size": 4 + }, + "ColorBasisEnum": { + "base": "long", + "constants": { + "D3DKMDT_CB_MAXVALID": 5, + "D3DKMDT_CB_INTENSITY": 1, + "D3DKMDT_CB_SCRGB": 3, + "D3DKMDT_CB_YCBCR": 4, + "D3DKMDT_CB_SRGB": 2, + "D3DKMDT_CB_UNINITIALIZED": 0 + }, + "size": 4 + }, + "MoveRectStyleEnum": { + "base": "long", + "constants": { + "MoveRectMidTopAtCursor": 1, + "MoveRectSidewiseKeepPositionAtCursor": 3, + "MoveRectKeepPositionAtCursor": 0, + "MoveRectKeepAspectRatioAtCursor": 2 + }, + "size": 4 + }, + "VideoStandardEnum": { + "base": "long", + "constants": { + "D3DKMDT_VSS_PAL_G": 11, + "D3DKMDT_VSS_PAL_D": 14, + "D3DKMDT_VSS_PAL_B": 9, + "D3DKMDT_VSS_SECAM_K": 21, + "D3DKMDT_VSS_VESA_GTF": 2, + "D3DKMDT_VSS_PAL_L": 30, + "D3DKMDT_VSS_PAL_M": 31, + "D3DKMDT_VSS_PAL_K": 28, + "D3DKMDT_VSS_PAL_H": 12, + "D3DKMDT_VSS_PAL_I": 13, + "D3DKMDT_VSS_SECAM_L1": 24, + "D3DKMDT_VSS_VESA_DMT": 1, + "D3DKMDT_VSS_SECAM_L": 23, + "D3DKMDT_VSS_EIA_861": 25, + "D3DKMDT_VSS_PAL_N": 15, + "D3DKMDT_VSS_APPLE": 5, + "D3DKMDT_VSS_NTSC_M": 6, + "D3DKMDT_VSS_SECAM_H": 20, + "D3DKMDT_VSS_NTSC_J": 7, + "D3DKMDT_VSS_SECAM_B": 17, + "D3DKMDT_VSS_SECAM_G": 19, + "D3DKMDT_VSS_SECAM_D": 18, + "D3DKMDT_VSS_IBM": 4, + "D3DKMDT_VSS_SECAM_K1": 22, + "D3DKMDT_VSS_PAL_NC": 16, + "D3DKMDT_VSS_PAL_B1": 10, + "D3DKMDT_VSS_EIA_861A": 26, + "D3DKMDT_VSS_EIA_861B": 27, + "D3DKMDT_VSS_UNINITIALIZED": 0, + "D3DKMDT_VSS_OTHER": 255, + "D3DKMDT_VSS_PAL_K1": 29, + "D3DKMDT_VSS_VESA_CVT": 3, + "D3DKMDT_VSS_NTSC_443": 8 + }, + "size": 4 + }, + "ImportanceOrdinalEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPI_QUATERNARY": 4, + "D3DKMDT_VPPI_SECONDARY": 2, + "D3DKMDT_VPPI_PRIMARY": 1, + "D3DKMDT_VPPI_QUINARY": 5, + "D3DKMDT_VPPI_DENARY": 10, + "D3DKMDT_VPPI_SENARY": 6, + "D3DKMDT_VPPI_TERTIARY": 3, + "D3DKMDT_VPPI_SEPTENARY": 7, + "D3DKMDT_VPPI_NONARY": 9, + "D3DKMDT_VPPI_UNINITIALIZED": 0, + "D3DKMDT_VPPI_OCTONARY": 8, + "D3DKMDT_VPPI_MAX": 32, + "D3DKMDT_VPPI_NOTSPECIFIED": 255 + }, + "size": 4 + }, + "RangeTypeEnum": { + "base": "long", + "constants": { + "SmRangeBool": 2, + "SmRangeNonSharedInfo": 1, + "SmRangeSharedInfo": 0 + }, + "size": 4 + }, + "TimingTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_MTT_EXTRASTANDARD": 3, + "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, + "D3DKMDT_MTT_STANDARD": 2, + "D3DKMDT_MTT_UNINITIALIZED": 0, + "D3DKMDT_MTT_MAXVALID": 6, + "D3DKMDT_MTT_DETAILED": 4, + "D3DKMDT_MTT_ESTABLISHED": 1 + }, + "size": 4 + }, + "PixelFormatEnum": { + "base": "long", + "constants": { + "D3DDDIFMT_W11V11U10": 65, + "D3DDDIFMT_A16B16G16R16F": 113, + "D3DDDIFMT_A8R8G8B8": 21, + "D3DDDIFMT_D32_LOCKABLE": 84, + "D3DDDIFMT_L8": 50, + "D3DDDIFMT_DXVA_RESERVED27": 177, + "D3DDDIFMT_DXVA_RESERVED26": 176, + "D3DDDIFMT_DXVA_RESERVED25": 175, + "D3DDDIFMT_DXVA_RESERVED24": 174, + "D3DDDIFMT_DXVA_RESERVED23": 173, + "D3DDDIFMT_DXVA_RESERVED22": 172, + "D3DDDIFMT_DXVA_RESERVED21": 171, + "D3DDDIFMT_DXVA_RESERVED20": 170, + "D3DDDIFMT_DXVA_RESERVED29": 179, + "D3DDDIFMT_DXVA_RESERVED28": 178, + "D3DDDIFMT_R3G3B2": 27, + "D3DDDIFMT_A8R3G3B2": 29, + "D3DDDIFMT_INDEX16": 101, + "D3DDDIFMT_X4R4G4B4": 30, + "D3DDDIFMT_A4R4G4B4": 26, + "D3DDDIFMT_Q8W8V8U8": 63, + "D3DDDIFMT_FORCE_UINT": 2147483647, + "D3DDDIFMT_S1D15": 72, + "D3DDDIFMT_A16B16G16R16": 36, + "D3DDDIFMT_A8L8": 51, + "D3DDDIFMT_D24X4S4": 79, + "D3DDDIFMT_BINARYBUFFER": 199, + "D3DDDIFMT_DXVA_RESERVED30": 180, + "D3DDDIFMT_R32F": 114, + "D3DDDIFMT_VERTEXDATA": 100, + "D3DDDIFMT_R5G6B5": 23, + "D3DDDIFMT_R8G8_B8G8": 1195525970, + "D3DDDIFMT_A4L4": 52, + "D3DDDIFMT_A1R5G5B5": 25, + "D3DDDIFMT_X1R5G5B5": 24, + "D3DDDIFMT_D32": 71, + "D3DDDIFMT_G8R8_G8B8": 1111970375, + "D3DDDIFMT_A2B10G10R10": 31, + "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, + "D3DDDIFMT_MULTI2_ARGB8": 827606349, + "D3DDDIFMT_D16_LOCKABLE": 70, + "D3DDDIFMT_BITSTREAMDATA": 156, + "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, + "D3DDDIFMT_X8B8G8R8": 33, + "D3DDDIFMT_R8G8B8": 20, + "D3DDDIFMT_S8_LOCKABLE": 85, + "D3DDDIFMT_D24S8": 75, + "D3DDDIFMT_X8D24": 76, + "D3DDDIFMT_A2R10G10B10": 35, + "D3DDDIFMT_P8": 41, + "D3DDDIFMT_L6V5U5": 61, + "D3DDDIFMT_X8R8G8B8": 22, + "D3DDDIFMT_D16": 80, + "D3DDDIFMT_A2W10V10U10": 67, + "D3DDDIFMT_D24FS8": 83, + "D3DDDIFMT_MOTIONVECTORBUFFER": 157, + "D3DDDIFMT_L16": 81, + "D3DDDIFMT_X8L8V8U8": 62, + "D3DDDIFMT_A32B32G32R32F": 116, + "D3DDDIFMT_A8P8": 40, + "D3DDDIFMT_YUY2": 844715353, + "D3DDDIFMT_R16F": 111, + "D3DDDIFMT_G16R16": 34, + "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, + "D3DDDIFMT_Q16W16V16U16": 110, + "D3DDDIFMT_S8D24": 74, + "D3DDDIFMT_PICTUREPARAMSDATA": 150, + "D3DDDIFMT_A1": 118, + "D3DDDIFMT_FILMGRAINBUFFER": 158, + "D3DDDIFMT_A8": 28, + "D3DDDIFMT_UNKNOWN": 0, + "D3DDDIFMT_DXVA_RESERVED19": 169, + "D3DDDIFMT_D32F_LOCKABLE": 82, + "D3DDDIFMT_MACROBLOCKDATA": 151, + "D3DDDIFMT_A8B8G8R8": 32, + "D3DDDIFMT_UYVY": 1498831189, + "D3DDDIFMT_DXT1": 827611204, + "D3DDDIFMT_DEBLOCKINGDATA": 153, + "D3DDDIFMT_DXT3": 861165636, + "D3DDDIFMT_DXT4": 877942852, + "D3DDDIFMT_DXT5": 894720068, + "D3DDDIFMT_CxV8U8": 117, + "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, + "D3DDDIFMT_DXVA_RESERVED9": 159, + "D3DDDIFMT_DXT2": 844388420, + "D3DDDIFMT_G32R32F": 115, + "D3DDDIFMT_X4S4D24": 78, + "D3DDDIFMT_D24X8": 77, + "D3DDDIFMT_DXVA_RESERVED12": 162, + "D3DDDIFMT_DXVA_RESERVED13": 163, + "D3DDDIFMT_DXVA_RESERVED10": 160, + "D3DDDIFMT_DXVA_RESERVED11": 161, + "D3DDDIFMT_DXVA_RESERVED16": 166, + "D3DDDIFMT_DXVA_RESERVED17": 167, + "D3DDDIFMT_DXVA_RESERVED14": 164, + "D3DDDIFMT_DXVA_RESERVED15": 165, + "D3DDDIFMT_DXVA_RESERVED18": 168, + "D3DDDIFMT_D15S1": 73, + "D3DDDIFMT_V16U16": 64, + "D3DDDIFMT_SLICECONTROLDATA": 155, + "D3DDDIFMT_G16R16F": 112, + "D3DDDIFMT_INDEX32": 102, + "D3DDDIFMT_V8U8": 60 + }, + "size": 4 + }, + "IdTypeEnum": { + "base": "long", + "constants": { + "BusQueryCompatibleIDs": 2, + "BusQueryInstanceID": 3, + "BusQueryDeviceID": 0, + "BusQueryDeviceSerialNumber": 4, + "BusQueryHardwareIDs": 1, + "BusQueryContainerID": 5 + }, + "size": 4 + }, + "StartCurrentHitTargetEnum": { + "base": "long", + "constants": { + "ThresholdMarginRight": 2, + "ThresholdMarginMax": 4, + "ThresholdMarginBottom": 3, + "ThresholdMarginLeft": 1, + "ThresholdMarginTop": 0 + }, + "size": 4 + }, + "TypeEnum": { + "base": "long", + "constants": { + "DevicePowerState": 1, + "SystemPowerState": 0 + }, + "size": 4 + }, + "RotationEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPR_IDENTITY": 1, + "D3DKMDT_VPPR_NOTSPECIFIED": 255, + "D3DKMDT_VPPR_UNPINNED": 254, + "D3DKMDT_VPPR_ROTATE270": 4, + "D3DKMDT_VPPR_ROTATE90": 2, + "D3DKMDT_VPPR_ROTATE180": 3, + "D3DKMDT_VPPR_UNINITIALIZED": 0 + }, + "size": 4 + }, + "CopyProtectionTypeEnum": { + "base": "long", + "constants": { + "D3DKMDT_VPPMT_NOTSPECIFIED": 255, + "D3DKMDT_VPPMT_UNINITIALIZED": 0, + "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, + "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, + "D3DKMDT_VPPMT_NOPROTECTION": 1 + }, + "size": 4 + }, + "FsInformationClassEnum": { + "base": "long", + "constants": { + "FileFsFullSizeInformation": 7, + "FileFsAttributeInformation": 5, + "FileFsVolumeFlagsInformation": 10, + "FileFsVolumeInformation": 1, + "FileFsSizeInformation": 3, + "FileFsLabelInformation": 2, + "FileFsDeviceInformation": 4, + "FileFsControlInformation": 6, + "FileFsDriverPathInformation": 9, + "FileFsMaximumInformation": 11, + "FileFsObjectIdInformation": 8 + }, + "size": 4 + }, + "DeviceTextTypeEnum": { + "base": "long", + "constants": { + "DeviceTextLocationInformation": 1, + "DeviceTextDescription": 0 + }, + "size": 4 } - }, - "kind": "struct", - "size": 24 - }, - "tagCLIENTTHREADINFO": { - "fields": { - "fsWakeMask": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "CTIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fsWakeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - }, - "fsWakeBitsJournal": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "fsChangeBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4 - }, - "tickLastMsgChecked": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "tagKbdNlsLayer": { - "fields": { - "OEMIdentifier": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "NumOfVkToF": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pusMouseVKey": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "NumOfMouseVKey": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pVkToF": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_FUNCTION_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "LayoutInformation": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1158": { - "fields": { - "Reserved": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 2 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - }, - "Init": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HBITMAP__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_124b": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "count": 3, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1 - }, - "InPath": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_TL": { - "fields": { - "pfnFree": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pobj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagTOUCHINPUTINFO": { - "fields": { - "dwcInputs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "TouchInput": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagTOUCHINPUT" - }, - "kind": "array" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 80 - }, - "tagTHREADINFO": { - "fields": { - "ForceLegacyResizeNCMetr": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptl": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 336 - }, - "timeLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 448 - }, - "DontJournalAttach": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fPack": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 26 - }, - "offset": 928 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 516 - }, - "psmsSent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 424 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 552 - }, - "DefaultCharset": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 512 - }, - "psmsReceiveList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 440 - }, - "sphkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 560 - }, - "No50ExStyles": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "IgnoreFaults": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pClientInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTINFO" - }, - "kind": "pointer" - }, - "offset": 400 - }, - "DDENoAsyncReg": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DealyHwndShakeChk": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "amdesk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 720 - }, - "fsChangeBitsRemoved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 704 - }, - "psmsCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 432 - }, - "NoInitFlagsOnFocus": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "StrictLLHook": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "NoShadow": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EnumHelv": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoBatching": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 736 - }, - "Winver31": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Win30AvgWidth": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "AlwaysSendSyncPaint": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "IgnoreNoDiscard": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cPaintsReady": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 480 - }, - "SubtractClips": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "apEvent": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 712 - }, - "cEnterCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 672 - }, - "OpenGLEMF": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "fThreadCleanupFinished": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "idLast": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 456 - }, - "DisableDBCSProp": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "NoEMFSpooling": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptdb": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "SpareCompatFlags2": { - "type": { - "bit_position": 33, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 31 - }, - "offset": 520 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "mlPost": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 680 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 496 - }, - "NoCustomPaperSize": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cTimersReady": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 484 - }, - "NoScrollBarCtxMenu": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hPrevHidData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 880 - }, - "NoPaddedBorder": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "DpiAware": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "MultipleBands": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 376 - }, - "AnimationOff": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "No50ExStyleBits": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ulThreadFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 928 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 472 - }, - "spklActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 360 - }, - "MoreExtraWndWords": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "NoGhost": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoHRGN1": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "ptLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 628 - }, - "GiveUpForegound": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "spDefaultImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 656 - }, - "pmsd": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MOVESIZEDATA" - }, - "kind": "pointer" - }, - "offset": 544 - }, - "HardwareMixer": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 904 - }, - "EnumTTNotDevice": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fSpecialInitialization": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ForceFusion": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "cti": { - "type": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "offset": 864 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pstrAppName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 416 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "SendMnuDblClk": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "DDENoSync": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "EditNoMouseHide": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ptLastReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 636 - }, - "hTouchInputCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HTOUCHINPUT__" - }, - "kind": "pointer" - }, - "offset": 888 - }, - "pEventQueueServer": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "cNestedStableVisRgn": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "NoDrawPatRect": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ForceTTGrapchis": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "GetDeviceCaps": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fsReserveKeys": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 708 - }, - "pq": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 352 - }, - "NoSoftCursOnMoveSize": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "hEventQueueClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 592 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "DDE": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "exitCode": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 464 - }, - "wchInjected": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 706 - }, - "CallTTDevice": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "MsShellDlg": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TransparentBltMirror": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "PtiLink": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 640 - }, - "HackWinFlags": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "cVisWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 728 - }, - "NcCalcSizeOnMove": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "KCOff": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "readyHead": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 912 - }, - "pMenuState": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 488 - }, - "UsePrintingEscape": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "hGestureInfoCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "HGESTUREINFO__" - }, - "kind": "pointer" - }, - "offset": 896 - }, - "ForceTextBand": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cWindows": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 724 - }, - "fETWReserved": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 928 - }, - "pqAttach": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 528 - }, - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "TIF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 408 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "Win31DevModeSize": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSBTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBTRACK" - }, - "kind": "pointer" - }, - "offset": 584 - }, - "spwndDefaultIme": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 648 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 520 - }, - "EditSetTextMunge": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "Random31Ux": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "fgfSwitchInProgressSetter": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 928 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 392 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "NoTimeCbProtect": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "DisableFontAssoc": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pcti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 368 - }, - "NoCharDeadKey": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "TTIgnoreRasterDupe": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "lParamHkCurrent": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 568 - }, - "qwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 520 - }, - "wParamHkCurrent": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 576 - }, - "NoWindowArrangement": { - "type": { - "bit_position": 32, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "ActiveMenus": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 384 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "psiiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 504 - }, - "IgnoreTopMost": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "TryExceptCallWndProc": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "NoDDETrackDying": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "FontSubs": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 520 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "SmoothScrolling": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 624 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "ptiSibling": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 536 - }, - "hklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "IncreaseStack": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 516 - } - }, - "kind": "struct", - "size": 936 - }, - "__unnamed_11ff": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "EaLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FileAttributes": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_CALLPROCDATA": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "pfnClientPrevious": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "wType": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "spcpdNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH": { - "fields": { - "VidPnTargetColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 48 - }, - "VidPnTargetColorBasis": { - "type": { - "kind": "enum", - "name": "VidPnTargetColorBasisEnum" - }, - "offset": 44 - }, - "ContentTransformation": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION" - }, - "offset": 12 - }, - "GammaRamp": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GAMMA_RAMP" - }, - "offset": 336 - }, - "CopyProtection": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION" - }, - "offset": 68 - }, - "VidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Content": { - "type": { - "kind": "enum", - "name": "ContentEnum" - }, - "offset": 64 - }, - "VisibleFromActiveTLOffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 28 - }, - "VidPnTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "VisibleFromActiveBROffset": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 36 - }, - "ImportanceOrdinal": { - "type": { - "kind": "enum", - "name": "ImportanceOrdinalEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 360 - }, - "__unnamed_1253": { - "fields": { - "PowerSequence": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_POWER_SEQUENCE" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESS_HID_TABLE": { - "fields": { - "UsagePageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 96 - }, - "fExclusiveMouseSink": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboardSink": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fAppKeys": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fCaptureMouse": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyMouse": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawKeyboard": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fNoLegacyKeyboard": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "nSinks": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fExclusiveKeyboardSink": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "spwndTargetKbd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "UsagePageList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 32 - }, - "UsageLast": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 98 - }, - "fNoHotKeys": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "pLastRequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_REQUEST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "ExclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - }, - "spwndTargetMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fRawMouse": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "fRawMouseSink": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 100 - }, - "InclusionList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1809": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "MessageCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHOOK": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "iHook": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "phkNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "offPfn": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "fLastHookHung": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 88 - }, - "nTimeout": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 7 - }, - "offset": 88 - }, - "ihmod": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "ptiHooked": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 80 - } - }, - "kind": "struct", - "size": 96 - }, - "_THROBJHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagPROCESS_HID_REQUEST": { - "fields": { - "fSinkable": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "pTLCInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_TLC_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fDevNotify": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "fExSinkable": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "ptr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "pPORequest": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHID_PAGEONLY_REQUEST" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "fExclusiveOrphaned": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 20 - }, - "spwndTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - } - }, - "kind": "struct", - "size": 40 - }, - "_KFLOATING_SAVE": { - "fields": { - "Dummy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT": { - "fields": { - "Rotate270": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate90": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Rotate180": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMLIST": { - "fields": { - "cMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pqmsgRead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pqmsgWriteLast": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_CONSOLE_CARET_INFO": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1807": { - "fields": { - "Affinity": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Vector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - }, - "Level": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "DEADKEY": { - "fields": { - "wchComposed": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 4 - }, - "dwBoth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uFlags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 6 - } - }, - "kind": "struct", - "size": 8 - }, - "tagPROCESSINFO": { - "fields": { - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "fHasMagContext": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 736 - }, - "hwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWINSTA__" - }, - "kind": "pointer" - }, - "offset": 608 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ptiList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 256 - }, - "pHidTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESS_HID_TABLE" - }, - "kind": "pointer" - }, - "offset": 744 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "pclsPublicList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 288 - }, - "dwhmodLibLoadedMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 340 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "hdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDESK__" - }, - "kind": "pointer" - }, - "offset": 328 - }, - "pvwplWndGCList": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 760 - }, - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "dwImeCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 696 - }, - "hMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HMONITOR__" - }, - "kind": "pointer" - }, - "offset": 624 - }, - "ptiMainThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "dwRegisteredClasses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 752 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "usi": { - "type": { - "kind": "struct", - "name": "tagUSERSTARTUPINFO" - }, - "offset": 708 - }, - "luidSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 700 - }, - "Unused": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 736 - }, - "pW32Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 688 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 320 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "bmHandleFlags": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_BITMAP" - }, - "offset": 648 - }, - "pclsPrivateList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "amwinsta": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 616 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ppiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 736 - }, - "dwHotkey": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 620 - }, - "cSysExpunge": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "rpdeskStartup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pdvList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 632 - }, - "pwpi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "ppiNextRunning": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "dwLayout": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 740 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "rpwinsta": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 600 - }, - "pCursorCache": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 664 - }, - "pClientBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 672 - }, - "ahmodLibLoaded": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 344 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 640 - }, - "dwLpkEntryPoints": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 680 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 768 - }, - "HBRUSH__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLIP": { - "fields": { - "fmt": { - "type": { - "kind": "enum", - "name": "fmtEnum" - }, - "offset": 0 - }, - "fGlobalHandle": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagUAHMENUPOPUPMETRICS": { - "fields": { - "rgcx": { - "type": { - "count": 4, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 0 - }, - "fUpdateMaxWidths": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 20 - }, - "tagSMS": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 72 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 80 - }, - "lpResultCallBack": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lRet": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 56 - }, - "psmsReceiveNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "tSent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "pvCapture": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "psmsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSMS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ptiReceiver": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ptiCallBackSender": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "dwData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 112 - }, - "__unnamed_195e": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_195c": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Alignment40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 24 - }, - "_W32THREAD": { - "fields": { - "pRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "iVisRgnUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 328 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pDevHTInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "pUMPDHeap": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pgdiBrushAttr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ulWindowSystemRendering": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "tlSpriteState": { - "type": { - "kind": "struct", - "name": "_TLSPRITESTATE" - }, - "offset": 104 - }, - "pdcoRender": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "bEnableEngUpdateDeviceSurface": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 320 - }, - "pdcoAA": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 296 - }, - "pNonRBRecursionCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "ptlW32": { - "type": { - "subtype": { - "kind": "struct", - "name": "_TL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "GdiTmpTgoList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 80 - }, - "pUMPDObjs": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pgdiDcattr": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "bIncludeSprites": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 321 - }, - "pEThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pSpriteState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "pProxyPort": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "ulDevHTInfoUniqueness": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "pdcoSrc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 312 - }, - "pUMPDObj": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pClientID": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 336 - }, - "_VK_TO_WCHAR_TABLE": { - "fields": { - "pVkToWchars": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHARS1" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cbSize": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - }, - "nModifications": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPROPLIST": { - "fields": { - "aprop": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "tagPROP" - }, - "kind": "array" - }, - "offset": 8 - }, - "iFirstFree": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cEntries": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_D3DKMDT_FREQUENCY_RANGE": { - "fields": { - "MinVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 0 - }, - "MaxVSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 8 - }, - "MaxHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 24 - }, - "MinHSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_11f8": { - "fields": { - "Apc": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KAPC" - }, - "offset": 0 - }, - "CompletionKey": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Overlay": { - "type": { - "kind": "struct", - "name": "__unnamed_11f5" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_18bf": { - "fields": { - "BaseMiddle": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "Flags1": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "Flags2": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "tagPROFILEVALUEINFO": { - "fields": { - "dwValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "uSection": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "pwszKeyName": { - "type": { - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_11f5": { - "fields": { - "Thread": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ETHREAD" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "DeviceQueueEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_KDEVICE_QUEUE_ENTRY" - }, - "offset": 0 - }, - "CurrentStackLocation": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_STACK_LOCATION" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "DriverContext": { - "type": { - "count": 4, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 0 - }, - "AuxiliaryBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "OriginalFileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "PacketType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 80 - }, - "__unnamed_125f": { - "fields": { - "AllocatedResources": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "AllocatedResourcesTranslated": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_CM_RESOURCE_LIST" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "D3DDDI_DXGI_RGB": { - "fields": { - "Blue": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "Green": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "Red": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1219": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FsControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_125b": { - "fields": { - "State": { - "type": { - "kind": "struct", - "name": "nt_symbols!_POWER_STATE" - }, - "offset": 16 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 8 - }, - "SystemContext": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ShutdownType": { - "type": { - "kind": "enum", - "name": "ShutdownTypeEnum" - }, - "offset": 24 - }, - "SystemPowerStateContext": { - "type": { - "kind": "struct", - "name": "nt_symbols!_SYSTEM_POWER_STATE_CONTEXT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "HDC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagDISPLAYINFO": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "SpatialListHead": { - "type": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "offset": 144 - }, - "BitCountMax": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 130 - }, - "cyGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "hdcBits": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fDesktopIsRect": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "hbmGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pmdev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "cFullScreen": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 160 - }, - "cxGray": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 128 - }, - "hDevInfo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fAnyPalette": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 132 - }, - "pspbFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pMonitorPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 162 - }, - "pMonitorFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "hdcGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "hrgnScreenReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cMonitors": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "hdcScreen": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "DockThresholdMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "pdceFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 168 - }, - "tagWin32AllocStats": { - "fields": { - "dwMaxAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwMaxMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwCrtAlloc": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwCrtMem": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18c5": { - "fields": { - "DefaultBig": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "BaseMiddle": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "BaseHigh": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 8 - }, - "offset": 0 - }, - "LimitHigh": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 0 - }, - "System": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Granularity": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Dpl": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 0 - }, - "Type": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "Present": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "LongMode": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1261": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ProviderId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "BufferSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DataPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1263": { - "fields": { - "Argument4": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Argument2": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Argument3": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "Argument1": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1265": { - "fields": { - "DeviceIoControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121d" - }, - "offset": 0 - }, - "ReadWriteConfig": { - "type": { - "kind": "struct", - "name": "__unnamed_123d" - }, - "offset": 0 - }, - "Create": { - "type": { - "kind": "struct", - "name": "__unnamed_11ff" - }, - "offset": 0 - }, - "Write": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "PowerSequence": { - "type": { - "kind": "struct", - "name": "__unnamed_1253" - }, - "offset": 0 - }, - "QueryId": { - "type": { - "kind": "struct", - "name": "__unnamed_1243" - }, - "offset": 0 - }, - "SetFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1213" - }, - "offset": 0 - }, - "CreatePipe": { - "type": { - "kind": "struct", - "name": "__unnamed_1203" - }, - "offset": 0 - }, - "Power": { - "type": { - "kind": "struct", - "name": "__unnamed_125b" - }, - "offset": 0 - }, - "Read": { - "type": { - "kind": "struct", - "name": "__unnamed_1209" - }, - "offset": 0 - }, - "StartDevice": { - "type": { - "kind": "struct", - "name": "__unnamed_125f" - }, - "offset": 0 - }, - "QueryDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120d" - }, - "offset": 0 - }, - "LockControl": { - "type": { - "kind": "struct", - "name": "__unnamed_121b" - }, - "offset": 0 - }, - "QueryInterface": { - "type": { - "kind": "struct", - "name": "__unnamed_1233" - }, - "offset": 0 - }, - "Others": { - "type": { - "kind": "struct", - "name": "__unnamed_1263" - }, - "offset": 0 - }, - "FileSystemControl": { - "type": { - "kind": "struct", - "name": "__unnamed_1219" - }, - "offset": 0 - }, - "SetLock": { - "type": { - "kind": "struct", - "name": "__unnamed_123f" - }, - "offset": 0 - }, - "QueryDeviceText": { - "type": { - "kind": "struct", - "name": "__unnamed_1247" - }, - "offset": 0 - }, - "WMI": { - "type": { - "kind": "struct", - "name": "__unnamed_1261" - }, - "offset": 0 - }, - "CreateMailslot": { - "type": { - "kind": "struct", - "name": "__unnamed_1207" - }, - "offset": 0 - }, - "FilterResourceRequirements": { - "type": { - "kind": "struct", - "name": "__unnamed_123b" - }, - "offset": 0 - }, - "MountVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QueryVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1217" - }, - "offset": 0 - }, - "UsageNotification": { - "type": { - "kind": "struct", - "name": "__unnamed_124b" - }, - "offset": 0 - }, - "Scsi": { - "type": { - "kind": "struct", - "name": "__unnamed_1229" - }, - "offset": 0 - }, - "WaitWake": { - "type": { - "kind": "struct", - "name": "__unnamed_124f" - }, - "offset": 0 - }, - "QueryFile": { - "type": { - "kind": "struct", - "name": "__unnamed_1211" - }, - "offset": 0 - }, - "VerifyVolume": { - "type": { - "kind": "struct", - "name": "__unnamed_1225" - }, - "offset": 0 - }, - "QuerySecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_121f" - }, - "offset": 0 - }, - "QueryDeviceRelations": { - "type": { - "kind": "struct", - "name": "__unnamed_122d" - }, - "offset": 0 - }, - "NotifyDirectory": { - "type": { - "kind": "struct", - "name": "__unnamed_120f" - }, - "offset": 0 - }, - "SetSecurity": { - "type": { - "kind": "struct", - "name": "__unnamed_1221" - }, - "offset": 0 - }, - "DeviceCapabilities": { - "type": { - "kind": "struct", - "name": "__unnamed_1237" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1817": { - "fields": { - "Length48": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1815": { - "fields": { - "Length40": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "tagKbdLayer": { - "fields": { - "pVkToWcharTable": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VK_TO_WCHAR_TABLE" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fLocaleFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "pCharModifiers": { - "type": { - "subtype": { - "kind": "struct", - "name": "MODIFIERS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pKeyNamesExt": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pDeadKey": { - "type": { - "subtype": { - "kind": "struct", - "name": "DEADKEY" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pusVSCtoVK": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pKeyNamesDead": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pLigature": { - "type": { - "subtype": { - "kind": "struct", - "name": "_LIGATURE1" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "cbLgEntry": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 85 - }, - "pKeyNames": { - "type": { - "subtype": { - "kind": "struct", - "name": "VSC_LPWSTR" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "dwSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "nLgMax": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 84 - }, - "pVSCtoVK_E1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pVSCtoVK_E0": { - "type": { - "subtype": { - "kind": "struct", - "name": "_VSC_VK" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "bMaxVSCtoVK": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1813": { - "fields": { - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT": { - "fields": { - "Centered": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "AspectRatioCenteredMax": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Stretched": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Identity": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Custom": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1958": { - "fields": { - "MinBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "MaxBusNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_2DREGION": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "HRGN__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1954": { - "fields": { - "AffinityPolicy": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "PriorityPolicy": { - "type": { - "kind": "enum", - "name": "PriorityPolicyEnum" - }, - "offset": 12 - }, - "Group": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "MaximumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "TargetedProcessors": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "MinimumVector": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "_PROCMARKHEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagSIZE": { - "fields": { - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagDESKTOPVIEW": { - "fields": { - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "pdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pdvNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPVIEW" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1819": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length64": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "_DMM_COFUNCPATHSMODALITY_SERIALIZATION": { - "fields": { - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "PathAndTargetModeSetOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBTRACK": { - "fields": { - "spwndSBNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hTimerSB": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "cmdSB": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "xxxpfnSB": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fTrackVert": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posNew": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 84 - }, - "posOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "fCtlSB": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "rcTrack": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 32 - }, - "fTrackRecalc": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndSB": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "pxOld": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fHitOld": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "pSBCalc": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBCALC" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "nBar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 88 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_16c1": { - "fields": { - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "MaxPixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_DMA_ADAPTER": { - "fields": { - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 0 - }, - "DmaOperations": { - "type": { - "subtype": { - "kind": "struct", - "name": "_DMA_OPERATIONS" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMONITOR": { - "fields": { - "hDev": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "rcMonitorReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 28 - }, - "pMonitorNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hDevReal": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "hrgnMonitorReal": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "rcWorkReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 44 - }, - "dwMONFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cWndStack": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 74 - }, - "DockTargets": { - "type": { - "count": 7, - "subtype": { - "count": 4, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "kind": "array" - }, - "offset": 96 - }, - "Spare0": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 144 - }, - "__unnamed_180b": { - "fields": { - "Translated": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Raw": { - "type": { - "kind": "struct", - "name": "__unnamed_1809" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagRECT": { - "fields": { - "top": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "right": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "bottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "left": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_180d": { - "fields": { - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Port": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Channel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "MODIFIERS": { - "fields": { - "wMaxModBits": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - }, - "pVkToBit": { - "type": { - "subtype": { - "kind": "struct", - "name": "VK_TO_BIT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ModNumber": { - "type": { - "count": 0, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 10 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120f": { - "fields": { - "CompletionFilter": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_120d": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 16 - }, - "FileName": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHSFROMSOURCE_SERIALIZATION": { - "fields": { - "PathAndTargetModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 48 - }, - "NumPathsFromSource": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 40 - }, - "SourceMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_SOURCE_MODE" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 480 - }, - "tagMSG": { - "fields": { - "wParam": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "lParam": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 24 - }, - "pt": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 36 - }, - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "time": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "message": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 48 - }, - "tagDPISERVERINFO": { - "fields": { - "hMsgFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hCaptionFont": { - "type": { - "subtype": { - "kind": "struct", - "name": "HFONT__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "gclBorder": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cxMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "wMaxBtnSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "cyMsgFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DDDI_GAMMA_RAMP_RGB256x3x16": { - "fields": { - "Blue": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 1024 - }, - "Green": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 512 - }, - "Red": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1536 - }, - "__unnamed_124f": { - "fields": { - "PowerState": { - "type": { - "kind": "enum", - "name": "PowerStateEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagWOWPROCESSINFO": { - "fields": { - "ptdbHead": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ptiScheduled": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "nRecvLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CSLockCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "nSendLock": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pEventWowExec": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "lpfnWowExitTask": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "CSOwningThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "hEventWowExecClient": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwpiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "HTOUCHINPUT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagMENU": { - "fields": { - "iItem": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCDESKHEAD" - }, - "offset": 0 - }, - "umpm": { - "type": { - "kind": "struct", - "name": "tagUAHMENUPOPUPMETRICS" - }, - "offset": 132 - }, - "cItems": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pParentMenus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "fFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "cxMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "dwContextHelpId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "cxTextAlign": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "cAlloced": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "hbrBack": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwArrowsOn": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 128 - }, - "iMaxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 124 - }, - "dwMenuData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "cyMenu": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "rgItems": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagITEM" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "cyMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - } - }, - "kind": "struct", - "size": 152 - }, - "_D3DDDI_GAMMA_RAMP_DXGI_1": { - "fields": { - "GammaCurve": { - "type": { - "count": 1025, - "subtype": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "kind": "array" - }, - "offset": 24 - }, - "Scale": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 0 - }, - "Offset": { - "type": { - "kind": "struct", - "name": "D3DDDI_DXGI_RGB" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 12324 - }, - "_MOVESIZEDATA": { - "fields": { - "fmsKbd": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "pStartMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "impy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 152 - }, - "fMoveFromMax": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapMoving": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "frcNormalCheckPtValid": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptMaxTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 96 - }, - "ptRestore": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 156 - }, - "fUsePreviewRect": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForceSizing": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fThresholdSelector": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 3 - }, - "offset": 164 - }, - "ptStartHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 208 - }, - "fDragFullWindows": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fForeground": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "dyMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 140 - }, - "fHasSoftwareCursor": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsHitPtOffScreen": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fSnapSizingTemporaryAllowed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fCheckPtForcefullyRestored": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedRight": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ulCountDragOutOfLeftRightTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 228 - }, - "Unused": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 4 - }, - "offset": 164 - }, - "dxMouse": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 136 - }, - "fStartVerticallyMaximizedRight": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcParent": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 72 - }, - "fOffScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fWindowWasSuperMaximized": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fVerticallyMaximizedLeft": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "StartCurrentHitTarget": { - "type": { - "kind": "enum", - "name": "StartCurrentHitTargetEnum" - }, - "offset": 176 - }, - "fHasPreviewRect": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fLockWindowUpdate": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcPreview": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 40 - }, - "fSnapSizing": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fIsMoveSizeLoop": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fInitSize": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcDragCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "ulCountDragOutOfTopTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 224 - }, - "rcPreviewCursor": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 56 - }, - "CurrentHitTarget": { - "type": { - "kind": "enum", - "name": "CurrentHitTargetEnum" - }, - "offset": 192 - }, - "fSnapMovingTemporaryAllowed": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "fTrackCancelled": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "ptHitWindowRelative": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 200 - }, - "ptLastTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 216 - }, - "cmd": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 144 - }, - "Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 164 - }, - "MoveRectStyle": { - "type": { - "kind": "enum", - "name": "MoveRectStyleEnum" - }, - "offset": 196 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 104 - }, - "ulCountSizeOutOfTopBottomTarget": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 232 - }, - "fStartVerticallyMaximizedLeft": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 164 - }, - "rcNormalStartCheckPt": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 120 - }, - "ptMinTrack": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 88 - }, - "rcDrag": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 8 - }, - "pMonitorCurrentHitTarget": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "impx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 148 - } - }, - "kind": "struct", - "size": 240 - }, - "_D3DDDI_RATIONAL": { - "fields": { - "Denominator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Numerator": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "VWPL": { - "fields": { - "cElem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "aElement": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "VWPLELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "fTagged": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cThreshhold": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "cPwnd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagTEXTMETRICW": { - "fields": { - "tmOverhang": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "tmPitchAndFamily": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 55 - }, - "tmStruckOut": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 54 - }, - "tmCharSet": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 56 - }, - "tmDigitizedAspectX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "tmDigitizedAspectY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "tmFirstChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 44 - }, - "tmWeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "tmDescent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "tmDefaultChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 48 - }, - "tmLastChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 46 - }, - "tmMaxCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "tmItalic": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 52 - }, - "tmUnderlined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 53 - }, - "tmInternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "tmAscent": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "tmHeight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "tmAveCharWidth": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "tmBreakChar": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 50 - }, - "tmExternalLeading": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 60 - }, - "_SCATTER_GATHER_LIST": { - "fields": { - "Elements": { - "type": { - "count": 0, - "subtype": { - "kind": "struct", - "name": "_SCATTER_GATHER_ELEMENT" - }, - "kind": "array" - }, - "offset": 16 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "NumberOfElements": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "HICON__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_HANDLEENTRY": { - "fields": { - "pOwner": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "bType": { - "type": { - "kind": "enum", - "name": "bTypeEnum" - }, - "offset": 16 - }, - "bFlags": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 17 - }, - "phead": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HEAD" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "wUniq": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - } - }, - "kind": "struct", - "size": 24 - }, - "_THRDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagSVR_INSTANCE_INFO": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_THROBJHEAD" - }, - "offset": 0 - }, - "next": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nextInThisThread": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSVR_INSTANCE_INFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "spwndEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "afCmd": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pcii": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_VIDPNTARGETMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 80 - }, - "_DMM_COMMITVIDPNREQUEST_SERIALIZATION": { - "fields": { - "RequestDiagInfo": { - "type": { - "kind": "struct", - "name": "_DMM_COMMITVIDPNREQUEST_DIAGINFO" - }, - "offset": 4 - }, - "AffectedVidPnSourceId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "VidPnSerialization": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPN_SERIALIZATION" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 28 - }, - "tagPOPUPMENU": { - "fields": { - "fDroppedLeft": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fIsSysMenu": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posDropped": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fIsMenuBar": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHierarchyDropped": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDropNextPopup": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fRightButton": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ppopupmenuRoot": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "fFirstClick": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNotify": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fRtoL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSendUninit": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fAboutToHide": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndNextPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "fFlushDelayedFree": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHasMenuBar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fTrackMouseEvent": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fNoNotify": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "posSelectedItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fUseMonitorRect": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndPrevPopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "ppmDelayedFree": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "fFreed": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fSynchronous": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spmenuAlternate": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "fDestroyed": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "iDropDir": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 0 - }, - "fIsTrackPopup": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "spwndActivePopup": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "fInCancel": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fToggle": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fDelayedFree": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fHideTimer": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "fShowTimer": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "_D3DKMDT_MONITOR_SOURCE_MODE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 84 - }, - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "ColorCoeffDynamicRanges": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES" - }, - "offset": 68 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 88 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 96 - }, - "_DMM_MONITORDESCRIPTOR_SERIALIZATION": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 8 - }, - "Data": { - "type": { - "count": 128, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 12 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 140 - }, - "__unnamed_127c": { - "fields": { - "Wcb": { - "type": { - "kind": "struct", - "name": "nt_symbols!_WAIT_CONTEXT_BLOCK" - }, - "offset": 0 - }, - "ListEntry": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_D3DMATRIX": { - "fields": { - "_41": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 48 - }, - "_42": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 52 - }, - "_43": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 56 - }, - "_44": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 60 - }, - "_34": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 44 - }, - "_14": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 12 - }, - "_13": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 8 - }, - "_12": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 4 - }, - "_11": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 0 - }, - "_24": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 28 - }, - "_31": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 32 - }, - "_33": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 40 - }, - "_32": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 36 - }, - "_22": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 20 - }, - "_23": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 24 - }, - "_21": { - "type": { - "kind": "base", - "name": "float" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 64 - }, - "_LARGE_UNICODE_STRING": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumLength": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 31 - }, - "offset": 4 - }, - "bAnsi": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "_VK_VALUES_STRINGS": { - "fields": { - "fReserved": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "pszMultiNames": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagHID_TLC_INFO": { - "fields": { - "cExcludeOrphaned": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - }, - "cDevices": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "usUsage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "cExcludeRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cUsagePageRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "cDirectRequest": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION": { - "fields": { - "Info": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_SOURCE_MODE" - }, - "offset": 0 - }, - "TimingType": { - "type": { - "kind": "enum", - "name": "TimingTypeEnum" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 104 - }, - "tagCURSOR": { - "fields": { - "rt": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 58 - }, - "head": { - "type": { - "kind": "struct", - "name": "_PROCMARKHEAD" - }, - "offset": 0 - }, - "hbmUserAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "xHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 68 - }, - "hbmColor": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pcurNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "CURSORF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hbmMask": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bpp": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 120 - }, - "cy": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 128 - }, - "cx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "rcBounds": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 96 - }, - "atomModName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 56 - }, - "hbmAlpha": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "yHotspot": { - "type": { - "kind": "base", - "name": "short" - }, - "offset": 70 - }, - "strName": { - "type": { - "kind": "struct", - "name": "nt_symbols!_UNICODE_STRING" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 136 - }, - "_D3DKMDT_GAMMA_RAMP": { - "fields": { - "Data": { - "type": { - "kind": "struct", - "name": "__unnamed_182e" - }, - "offset": 16 - }, - "DataSize": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "HWND__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1207": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_MAILSLOT_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_18a1": { - "fields": { - "Text": { - "type": { - "kind": "enum", - "name": "TextEnum" - }, - "offset": 0 - }, - "Graphics": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_GRAPHICS_RENDERING_FORMAT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DMM_VIDPNPATHANDTARGETMODE_SERIALIZATION": { - "fields": { - "TargetMode": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_TARGET_MODE" - }, - "offset": 360 - }, - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 432 - }, - "HKL__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1209": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "tagDCE": { - "fields": { - "hrgnClipPublic": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pwndOrg": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pdceNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ppiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "DCX_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "hdc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ptiOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "hrgnSavedVis": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pwndRedirect": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pMonitor": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMONITOR" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pwndClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 96 - }, - "VSC_LPWSTR": { - "fields": { - "vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pwsz": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagQ": { - "fields": { - "hwndDblClk": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "timeDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "spwndFocus": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 328 - }, - "cLockCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 322 - }, - "iCursorLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 312 - }, - "ptiSysLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "caret": { - "type": { - "kind": "struct", - "name": "tagCARET" - }, - "offset": 232 - }, - "ptiMouse": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "spwndActivePrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ptMouseMove": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 128 - }, - "msgDblClk": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 100 - }, - "msgJournal": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 324 - }, - "ptiKeyboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "cThreads": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 320 - }, - "QF_flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 316 - }, - "mlInput": { - "type": { - "kind": "struct", - "name": "tagMLIST" - }, - "offset": 0 - }, - "spwndActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "codeCapture": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 96 - }, - "idSysLock": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "spcurCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 304 - }, - "ulEtwReserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 336 - }, - "ptDblClk": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 120 - }, - "xbtnDblClk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 104 - }, - "afKeyRecentDown": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "afKeyState": { - "type": { - "count": 64, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 168 - }, - "spwndCapture": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "idSysPeek": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 344 - }, - "__unnamed_1203": { - "fields": { - "ShareAccess": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 18 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "SecurityContext": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_SECURITY_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Options": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Parameters": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_NAMED_PIPE_CREATE_PARAMETERS" - }, - "kind": "pointer" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "HGESTUREINFO__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagCLS": { - "fields": { - "spcur": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 100 - }, - "pclsClone": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "lpszClientAnsiMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pclsBase": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "atomNVClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "pclsNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "CSF_flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "lpszAnsiClassName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "spcpdFirst": { - "type": { - "subtype": { - "kind": "struct", - "name": "_CALLPROCDATA" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "lpszClientUnicodeMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "cbclsExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 96 - }, - "lpszMenuName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "spicnSm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "cWndReferenceCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 80 - }, - "hbrBackground": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "spicn": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCURSOR" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 12 - }, - "pdce": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDCE" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "rpdeskParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "atomClassName": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 160 - }, - "_PROCDESKHEAD": { - "fields": { - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pSelf": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "rpdesk": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "_DMM_COMMITVIDPNREQUESTSET_SERIALIZATION": { - "fields": { - "CommitVidPnRequestOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumCommitVidPnRequests": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "_VK_TO_FUNCTION_TABLE": { - "fields": { - "NLSFEProcType": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "NLSFEProcCurrent": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 2 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcSwitch": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 3 - }, - "NLSFEProcAlt": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 68 - }, - "NLSFEProc": { - "type": { - "count": 8, - "subtype": { - "kind": "struct", - "name": "_VK_FUNCTION_PARAM" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 132 - }, - "_DMM_MONITORDESCRIPTORSET_SERIALIZATION": { - "fields": { - "NumDescriptors": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "DescriptorSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITORDESCRIPTOR_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 144 - }, - "_DMM_MONITORSOURCEMODESET_SERIALIZATION": { - "fields": { - "NumModes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_DMM_MONITOR_SOURCE_MODE_SERIALIZATION" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 112 - }, - "_CALLBACKWND": { - "fields": { - "hwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "_DMM_VIDPNPATHANDTARGETMODESET_SERIALIZATION": { - "fields": { - "PathInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH" - }, - "offset": 0 - }, - "TargetModeSet": { - "type": { - "kind": "struct", - "name": "_DMM_VIDPNTARGETMODESET_SERIALIZATION" - }, - "offset": 360 - } - }, - "kind": "struct", - "size": 440 - }, - "_VK_FUNCTION_PARAM": { - "fields": { - "NLSFEProcIndex": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "NLSFEProcParam": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "tagSBCALC": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "pxStart": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "pxThumbBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 48 - }, - "cpxThumb": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 32 - }, - "pxMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "pxThumbTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "pxDownArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cpx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "pxBottom": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "pxTop": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "pxLeft": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "pxRight": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "pxUpArrow": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 36 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "HDESK__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "HIMC__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES": { - "fields": { - "SecondChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "FourthChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "ThirdChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "FirstChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagMENUSTATE": { - "fields": { - "cxAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 116 - }, - "pGlobalPopupMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPOPUPMENU" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "uDraggingIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "fNotifyByPos": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInCallHandleMenuMessages": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ixAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "dwLockCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "fAutoDismiss": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fIsSysMenu": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "dwAniStartTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "uButtonDownHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 64 - }, - "fIgnoreButtonUp": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptButtonDown": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 56 - }, - "fMenuStarted": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "iAniDropDir": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 5 - }, - "offset": 8 - }, - "hdcAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "fModelessMenu": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hbmAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "fInEndMenu": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 92 - }, - "vkButtonDown": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "fSetCapture": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInDoDragDrop": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fActiveNoForeground": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fMouseOffMenu": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fDragAndDrop": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fInsideMenuLoop": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "uDraggingHitArea": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 80 - }, - "fButtonDown": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptiMenuStateOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 120 - }, - "iyAni": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 112 - }, - "hdcWndAni": { - "type": { - "subtype": { - "kind": "struct", - "name": "HDC__" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "fAboutToAutoDismiss": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "mnFocus": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "uButtonDownIndex": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "fButtonAlwaysDown": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "fUnderline": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "ptMouseLast": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 12 - }, - "pmnsPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENUSTATE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "fDragging": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "cmdLast": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 144 - }, - "VK_TO_BIT": { - "fields": { - "Vk": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModBits": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - } - }, - "kind": "struct", - "size": 2 - }, - "tagWOWTHREADINFO": { - "fields": { - "pIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "idParentProcess": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "idTask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pwtiNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "idWaitObject": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 40 - }, - "__unnamed_1805": { - "fields": { - "Start": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_1211": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1213": { - "fields": { - "FileInformationClass": { - "type": { - "kind": "enum", - "name": "FileInformationClassEnum" - }, - "offset": 8 - }, - "AdvanceOnly": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 25 - }, - "ClusterCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "DeleteHandle": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReplaceIfExists": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 24 - }, - "FileObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_FILE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_1217": { - "fields": { - "FsInformationClass": { - "type": { - "kind": "enum", - "name": "FsInformationClassEnum" - }, - "offset": 8 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_123b": { - "fields": { - "IoResourceRequirementList": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IO_RESOURCE_REQUIREMENTS_LIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_122d": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1950": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "MinimumAddress": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 8 - }, - "Alignment": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 24 - }, - "tagITEM": { - "fields": { - "fType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "ulX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "wID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwItemData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "hbmpChecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "xItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "spSubMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hbmpUnchecked": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "fState": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dxTab": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "cxBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 104 - }, - "yItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "cyItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 76 - }, - "umim": { - "type": { - "kind": "struct", - "name": "tagUAHMENUITEMMETRICS" - }, - "offset": 112 - }, - "cch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "ulWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "cyBmp": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 108 - }, - "lpstr": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "cxItem": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "hbmp": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 96 - } - }, - "kind": "struct", - "size": 144 - }, - "tagIMEINFOEX": { - "fields": { - "dwImeWinVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 84 - }, - "fSysWow64Only": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "fInitOpen": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 72 - }, - "wszImeDescription": { - "type": { - "count": 50, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 88 - }, - "fCUASLayer": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 348 - }, - "ImeInfo": { - "type": { - "kind": "struct", - "name": "tagIMEINFO" - }, - "offset": 8 - }, - "wszImeFile": { - "type": { - "count": 80, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 188 - }, - "wszUIClass": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 36 - }, - "fLoadFlag": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 76 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "dwProdVersion": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 80 - }, - "fdwInitConvMode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - } - }, - "kind": "struct", - "size": 352 - }, - "__unnamed_1962": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1958" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_1956" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_195e" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_195c" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "ConfigData": { - "type": { - "kind": "struct", - "name": "__unnamed_195a" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1960" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1954" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1950" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagMSGPPINFO": { - "fields": { - "dwIndexMsgPP": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "tagSBINFO": { - "fields": { - "WSBflags": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "Horz": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 4 - }, - "Vert": { - "type": { - "kind": "struct", - "name": "tagSBDATA" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 36 - }, - "VWPLELEMENT": { - "fields": { - "DataOrTag": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "pwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSBDATA": { - "fields": { - "posMax": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "posMin": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "page": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "pos": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 16 - }, - "_VSC_VK": { - "fields": { - "Vsc": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "Vk": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123f": { - "fields": { - "Lock": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 1 - }, - "_SCATTER_GATHER_ELEMENT": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 16 - }, - "Address": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 24 - }, - "tagWND": { - "fields": { - "spwndLastActive": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "bWS_CLIPCHILDREN": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bMaximizeButtonDown": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bUIStateActive": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_TABSTOP": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDialogWindow": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "lpfnWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bMinimizeButtonDown": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hImc": { - "type": { - "subtype": { - "kind": "struct", - "name": "HIMC__" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "style": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "bChildNoActivate": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_LAYERED": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bReserved3": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bStartPaint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bVerticallyMaximizedLeft": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bHiddenPopup": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSendEraseBackground": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin50Compat": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_CLIENTEDGE": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "fnid": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 66 - }, - "bWS_EX_TOOLWINDOW": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bDisabled": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bAnsiWindowProc": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWin40Compat": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcClient": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 128 - }, - "bAnsiCreator": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bAnyScrollButtonDown": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bSendSizeMoveMsgs": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bLinked": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bSendNCPaint": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bInternalPaint": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasClientEdge": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasPalette": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHasHorizontalScrollbar": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUIStateFocusRectHidden": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_DLGFRAME": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_MDICHILD": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasVerticalScrollbar": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved2": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bSmallIconFromWMQueryDrag": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bNoNCPaint": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused1": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasSPB": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_MINIMIZEBOX": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarVerticalTracking": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_DLGMODALFRAME": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_TRANSPARENT": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bPaintNotProcessed": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bSyncPaintPending": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "hrgnClip": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "bShellHookRegistered": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndChild": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "bUnused5": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bInDestroy": { - "type": { - "bit_position": 7, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "state": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "bWS_EX_LEFTSCROLLBAR": { - "type": { - "bit_position": 14, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bToggleTopmost": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_VSCROLL": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "ExStyle": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "bWS_HSCROLL": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUpdateDirty": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWMPaintSent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_WINDOWEDGE": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_ACCEPTFILE": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_GROUP": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "bVisible": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bVerticallyMaximizedRight": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bForceMenuDraw": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bForceNCPaint": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bOldUI": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spwndClipboardListenerNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 280 - }, - "bWS_EX_NOPADDEDBORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bNoMinmaxAnimatedRects": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "bWS_MAXIMIZEBOX": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bHasCaption": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bEraseBackground": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "spwndOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cbwndExtra": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 232 - }, - "bMakeVisibleWhenUnghosted": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused8": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bUnused9": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 52 - }, - "bForceFullNCPaintClipRgn": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_RTLREADING": { - "type": { - "bit_position": 13, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pSBInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSBINFO" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "bUnused2": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused3": { - "type": { - "bit_position": 21, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUnused4": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasMeun": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bUnused6": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bUnused7": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 2 - }, - "offset": 52 - }, - "bClipboardListener": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bScrollBarLineDownBtnDown": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedirectedForPrint": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_RIGHT": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bHasCreatestructName": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITED": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bFullScreen": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnUpdate": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "bConsoleWindow": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "ppropList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROPLIST" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "bWS_EX_TOPMOST": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bScrollBarPageDownBtnDown": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bScrollBarLineUpBtnDown": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRecievedQuerySuspendMsg": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bMaximizeMonitorRegion": { - "type": { - "bit_position": 11, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bRedrawIfHung": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_POPUP": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTEXTHELP": { - "type": { - "bit_position": 10, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "dwUserData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 256 - }, - "hMod16": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 64 - }, - "FullScreenMode": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 3 - }, - "offset": 44 - }, - "bLayeredLimbo": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_EX_NOINHERITLAYOUT": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_LAYOUTRTL": { - "type": { - "bit_position": 22, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bUIStateKbdAccelHidden": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_BORDER": { - "type": { - "bit_position": 23, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_SIZEBOX": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bDestroyed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bServerSideWindowProc": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bCaptionTextTruncated": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "rcWindow": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 112 - }, - "bEndPaintInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "hrgnNewFrame": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "bBeingActivated": { - "type": { - "bit_position": 20, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_COMPOSITEDCompositing": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWMCreateMsgProcessed": { - "type": { - "bit_position": 31, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bWS_EX_NOACTIVATE": { - "type": { - "bit_position": 27, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bWS_EX_APPWINDOW": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bCloseButtonDown": { - "type": { - "bit_position": 12, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bMaximized": { - "type": { - "bit_position": 24, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_CHILD": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "spwndParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "bWS_THICKFRAME": { - "type": { - "bit_position": 18, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bWS_EX_CONTROLPARENT": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "pcls": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLS" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "bLayeredForDWM": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bMsgBox": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bHelpButtonDown": { - "type": { - "bit_position": 15, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bHasOverlay": { - "type": { - "bit_position": 9, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bRedrawFrameIfHung": { - "type": { - "bit_position": 28, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_NOPARENTNOTIFY": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bMaximizesToMonitor": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bBottomMost": { - "type": { - "bit_position": 5, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "bReserved1": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bRedirected": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - }, - "bActiveFrame": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bReserved4": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved5": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved6": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "bReserved7": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 16 - }, - "offset": 52 - }, - "spwndPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "bLayeredInvalidate": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "state2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "bWS_CLIPSIBLINGS": { - "type": { - "bit_position": 26, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bScrollBarPageUpBtnDown": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "pTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DMATRIX" - }, - "kind": "pointer" - }, - "offset": 272 - }, - "bWin31Compat": { - "type": { - "bit_position": 8, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 44 - }, - "ExStyle2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 288 - }, - "bHIGHDPI_UNAWARE_Unused": { - "type": { - "bit_position": 6, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 288 - }, - "bWS_SYSMENU": { - "type": { - "bit_position": 19, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "hModule": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "strName": { - "type": { - "kind": "struct", - "name": "_LARGE_UNICODE_STRING" - }, - "offset": 216 - }, - "pActCtx": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_ACTIVATION_CONTEXT" - }, - "kind": "pointer" - }, - "offset": 264 - }, - "bMinimized": { - "type": { - "bit_position": 29, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 52 - }, - "bRecievedSuspendMsg": { - "type": { - "bit_position": 25, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 40 - }, - "bWS_EX_STATICEDGE": { - "type": { - "bit_position": 17, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 296 - }, - "_WM_VALUES_STRINGS": { - "fields": { - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "fInternal": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 8 - }, - "fDefined": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 9 - } - }, - "kind": "struct", - "size": 16 - }, - "_D3DKMDT_GRAPHICS_RENDERING_FORMAT": { - "fields": { - "VisibleRegionSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 8 - }, - "Stride": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "PixelFormat": { - "type": { - "kind": "enum", - "name": "PixelFormatEnum" - }, - "offset": 20 - }, - "PixelValueAccessMode": { - "type": { - "kind": "enum", - "name": "PixelValueAccessModeEnum" - }, - "offset": 28 - }, - "PrimSurfSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 0 - }, - "ColorBasis": { - "type": { - "kind": "enum", - "name": "ColorBasisEnum" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 32 - }, - "_VK_TO_WCHARS1": { - "fields": { - "Attributes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 1 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 4 - }, - "_TLSPRITESTATE": { - "fields": { - "flOriginalSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "iSpriteType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "pfnSaveScreenBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "bInsideDriverCall": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "pfnStrokePath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnTransparentBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnPaint": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnStretchBltROP": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "iType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "pfnPlgBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnCopyBits": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pState": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "iOriginalType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "pfnTextOut": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDrawStream": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStrokeAndFillPath": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnLineTo": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnStretchBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGradientFill": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnAlphaBlend": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "flSpriteSurfFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "pfnBitBlt": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - } - }, - "kind": "struct", - "size": 168 - }, - "tagUAHMENUITEMMETRICS": { - "fields": { - "rgsizeBar": { - "type": { - "count": 2, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - }, - "rgsizePopup": { - "type": { - "count": 4, - "subtype": { - "kind": "struct", - "name": "tagSIZE" - }, - "kind": "array" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "__unnamed_121b": { - "fields": { - "Length": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ByteOffset": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 16 - }, - "Key": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1229": { - "fields": { - "Srb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_SCSI_REQUEST_BLOCK" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_121f": { - "fields": { - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1225": { - "fields": { - "DeviceObject": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_OBJECT" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "Vpb": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_VPB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_HEAD": { - "fields": { - "h": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "cLockObj": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagIMEINFO": { - "fields": { - "fdwProperty": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "fdwSelectCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fdwUICaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwPrivateDataSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "fdwSCSCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "fdwSentenceCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "fdwConversionCaps": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 28 - }, - "_DXGK_DIAG_CODE_POINT_PACKET": { - "fields": { - "Header": { - "type": { - "kind": "struct", - "name": "_DXGK_DIAG_HEADER" - }, - "offset": 0 - }, - "Param3": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 60 - }, - "Param1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "CodePointType": { - "type": { - "kind": "enum", - "name": "CodePointTypeEnum" - }, - "offset": 48 - }, - "Param2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - } - }, - "kind": "struct", - "size": 64 - }, - "_D3DKMDT_VIDPN_SOURCE_MODE": { - "fields": { - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 4 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Format": { - "type": { - "kind": "struct", - "name": "__unnamed_18a1" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagW32JOB": { - "fields": { - "restrictions": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "ughCrt": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "pAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "ughMax": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 52 - }, - "pgh": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long long" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "Job": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EJOB" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "ppiTable": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "uProcessCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "uMaxProcesses": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagW32JOB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 64 - }, - "_DMM_MONITORFREQUENCYRANGESET_SERIALIZATION": { - "fields": { - "NumFrequencyRanges": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "FrequencyRangeSerialization": { - "type": { - "count": 1, - "subtype": { - "kind": "struct", - "name": "_D3DKMDT_MONITOR_FREQUENCY_RANGE" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 56 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION": { - "fields": { - "APSTriggerBits": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "CopyProtectionType": { - "type": { - "kind": "enum", - "name": "CopyProtectionTypeEnum" - }, - "offset": 0 - }, - "CopyProtectionSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT" - }, - "offset": 264 - }, - "OEMCopyProtection": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 268 - }, - "tagWINDOWSTATION": { - "fields": { - "pClipBase": { - "type": { - "subtype": { - "count": 104, - "subtype": { - "kind": "struct", - "name": "tagCLIP" - }, - "kind": "array" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "cNumClipFormats": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "luidUser": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 136 - }, - "pGlobalAtomTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "ptiClipLock": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "dwWSF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "rpdeskList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spklList": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "spwndClipOpen": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "iClipSerialNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - }, - "pTerm": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTERMINAL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "rpwinstaNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndClipboardListener": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "spwndClipViewer": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "iClipSequenceNumber": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "ptiDrawingClipboard": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "spwndClipOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "psidUser": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "luidEndSession": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LUID" - }, - "offset": 128 - } - }, - "kind": "struct", - "size": 152 - }, - "tagDESKTOPINFO": { - "fields": { - "spwndProgman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 192 - }, - "pvwplMessagePPHandler": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 224 - }, - "pvDesktopLimit": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "fComposited": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndGestureEngine": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "pvDesktopBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwndShell": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "ppiShellProcess": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagPROCESSINFO" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pvwplShellHook": { - "type": { - "subtype": { - "kind": "struct", - "name": "VWPL" - }, - "kind": "pointer" - }, - "offset": 200 - }, - "fIsDwmDesktop": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 232 - }, - "spwndTaskman": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "aphkStart": { - "type": { - "count": 16, - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 32 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cntMBox": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 208 - }, - "spwndBkGnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 176 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 240 - }, - "tagMBSTRING": { - "fields": { - "szName": { - "type": { - "count": 15, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 0 - }, - "uID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "uStr": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 36 - } - }, - "kind": "struct", - "size": 40 - }, - "_D3DKMDT_VIDPN_TARGET_MODE": { - "fields": { - "VideoSignalInfo": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDEO_SIGNAL_INFO" - }, - "offset": 8 - }, - "Id": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Preference": { - "type": { - "kind": "enum", - "name": "PreferenceEnum" - }, - "offset": 64 - } - }, - "kind": "struct", - "size": 72 - }, - "_DMM_VIDPNSET_SERIALIZATION": { - "fields": { - "VidPnOffset": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4 - }, - "NumVidPns": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagKBDFILE": { - "fields": { - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "awchDllName": { - "type": { - "count": 32, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 56 - }, - "pKbdTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdLayer" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pkfNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pKbdNlsTbl": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKbdNlsLayer" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "hBase": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_11e4": { - "fields": { - "UserApcContext": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "UserApcRoutine": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "IssuingProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_W32PROCESS": { - "fields": { - "GDIPushLock": { - "type": { - "kind": "struct", - "name": "nt_symbols!_EX_PUSH_LOCK" - }, - "offset": 80 - }, - "DxProcess": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 248 - }, - "pBrushAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "Process": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_EPROCESS" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "GDIHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "RefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "StartCursorHideTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "InputIdleEvent": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "W32PF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "GDIHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "NextStart": { - "type": { - "subtype": { - "kind": "struct", - "name": "_W32PROCESS" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "hSecureGdiSharedHandleTable": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 240 - }, - "UserHandleCountPeak": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 72 - }, - "GDIW32PIDLockedBitmaps": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 224 - }, - "UserHandleCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 68 - }, - "W32Pid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "GDIEngUserMemAllocTable": { - "type": { - "kind": "struct", - "name": "nt_symbols!_RTL_AVL_TABLE" - }, - "offset": 88 - }, - "pDCAttrList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "GDIBrushAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 208 - }, - "GDIDcAttrFreeList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 192 - } - }, - "kind": "struct", - "size": 256 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION": { - "fields": { - "Scaling": { - "type": { - "kind": "enum", - "name": "ScalingEnum" - }, - "offset": 0 - }, - "RotationSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT" - }, - "offset": 12 - }, - "Rotation": { - "type": { - "kind": "enum", - "name": "RotationEnum" - }, - "offset": 8 - }, - "ScalingSupport": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSERVERINFO": { - "fields": { - "uiShellMsg": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 912 - }, - "cbHandleTable": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 848 - }, - "atomSysClass": { - "type": { - "count": 25, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 852 - }, - "dtScroll": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2800 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2952 - }, - "atomIconSmProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1356 - }, - "argbSystemUnmatched": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2268 - }, - "dwTagCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4632 - }, - "ucWheelScrollLines": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2812 - }, - "ptCursorReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2784 - }, - "ucWheelScrollChars": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2816 - }, - "acOemToAnsi": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1364 - }, - "cySysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2832 - }, - "atomFrostedWindowProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1362 - }, - "mpFnid_serverCBWndProc": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned short" - }, - "kind": "array" - }, - "offset": 328 - }, - "PUSIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4476 - }, - "BitCount": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4468 - }, - "argbSystem": { - "type": { - "count": 31, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 2392 - }, - "dtLBSearch": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2804 - }, - "dtCaretBlink": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2808 - }, - "dwInstalledEventHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 1876 - }, - "apfnClientA": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 392 - }, - "cxSysFontChar": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2828 - }, - "hbrGray": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "offset": 2768 - }, - "ahbrSystem": { - "type": { - "count": 31, - "subtype": { - "subtype": { - "kind": "struct", - "name": "HBRUSH__" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 2520 - }, - "dwDefaultHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 908 - }, - "wMaxRightOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2824 - }, - "dwSRVIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "oembmi": { - "type": { - "count": 93, - "subtype": { - "kind": "struct", - "name": "tagOEMBITMAPINFO" - }, - "kind": "array" - }, - "offset": 2964 - }, - "apfnClientWorker": { - "type": { - "kind": "struct", - "name": "_PFNCLIENTWORKER" - }, - "offset": 760 - }, - "dwDefaultHeapBase": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 904 - }, - "BitsPixel": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4473 - }, - "wMaxLeftOverlapChars": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2820 - }, - "dmLogPixels": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4470 - }, - "dwLastSystemRITEventTickCountUpdate": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4488 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 2796 - }, - "atomIconProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1358 - }, - "Planes": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4472 - }, - "dpiSystem": { - "type": { - "kind": "struct", - "name": "tagDPISERVERINFO" - }, - "offset": 2896 - }, - "hIcoWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2944 - }, - "apfnClientW": { - "type": { - "kind": "struct", - "name": "_PFNCLIENT" - }, - "offset": 576 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2956 - }, - "MBStrings": { - "type": { - "count": 11, - "subtype": { - "kind": "struct", - "name": "tagMBSTRING" - }, - "kind": "array" - }, - "offset": 916 - }, - "atomContextHelpIdProp": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 1360 - }, - "adwDBGTAGFlags": { - "type": { - "count": 35, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 4492 - }, - "aiSysMet": { - "type": { - "count": 97, - "subtype": { - "kind": "base", - "name": "long" - }, - "kind": "array" - }, - "offset": 1880 - }, - "dwRIPFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4636 - }, - "uCaretWidth": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4480 - }, - "cCaptures": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2960 - }, - "tmSysFont": { - "type": { - "kind": "struct", - "name": "tagTEXTMETRICW" - }, - "offset": 2836 - }, - "cHandleEntries": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ptCursor": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 2776 - }, - "hIconSmWindows": { - "type": { - "subtype": { - "kind": "struct", - "name": "HICON__" - }, - "kind": "pointer" - }, - "offset": 2936 - }, - "mpFnidPfn": { - "type": { - "count": 32, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "UILangID": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 4484 - }, - "acAnsiToOem": { - "type": { - "count": 256, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 1620 - }, - "aStoCidPfn": { - "type": { - "count": 7, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 272 - }, - "rcScreenReal": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 4452 - }, - "dwLastRITEventTickCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 2792 - } - }, - "kind": "struct", - "size": 4640 - }, - "tagPOOLRECORD": { - "fields": { - "ExtraData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "trace": { - "type": { - "count": 6, - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "array" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "__unnamed_195a": { - "fields": { - "Priority": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Reserved1": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagUSERSTARTUPINFO": { - "fields": { - "dwYSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "cbReserved2": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 26 - }, - "cb": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwX": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "dwY": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwXSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 12 - }, - "wShowWindow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 24 - } - }, - "kind": "struct", - "size": 28 - }, - "_DMM_VIDPN_SERIALIZATION": { - "fields": { - "PathsFromSourceSerializationOffsets": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "array" - }, - "offset": 8 - }, - "NumActiveSources": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 4 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 12 - }, - "__unnamed_11df": { - "fields": { - "IrpCount": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "SystemBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "MasterIrp": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_IRP" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagHID_PAGEONLY_REQUEST": { - "fields": { - "usUsagePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 16 - }, - "link": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 0 - }, - "cRefCount": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1233": { - "fields": { - "Interface": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_INTERFACE" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "InterfaceSpecificData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "Version": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "InterfaceType": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_GUID" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "tagQMSG": { - "fields": { - "Padding": { - "type": { - "bit_position": 30, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 2 - }, - "offset": 80 - }, - "ptMouseReal": { - "type": { - "kind": "struct", - "name": "tagPOINT" - }, - "offset": 72 - }, - "FromPen": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "ExtraInfo": { - "type": { - "kind": "base", - "name": "long long" - }, - "offset": 64 - }, - "Wow64Message": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "MsgPPInfo": { - "type": { - "kind": "struct", - "name": "tagMSGPPINFO" - }, - "offset": 96 - }, - "dwQEvent": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 30 - }, - "offset": 80 - }, - "pqmsgPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FromTouch": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "NoCoalesce": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "long" - }, - "bit_length": 1 - }, - "offset": 84 - }, - "msg": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 16 - }, - "pqmsgNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQMSG" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 104 - }, - "__unnamed_1237": { - "fields": { - "Capabilities": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_DEVICE_CAPABILITIES" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "__unnamed_11e6": { - "fields": { - "AsynchronousParameters": { - "type": { - "kind": "struct", - "name": "__unnamed_11e4" - }, - "offset": 0 - }, - "AllocationSize": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LARGE_INTEGER" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagDESKTOP": { - "fields": { - "spmenuVScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "dwMouseHoverTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 212 - }, - "rpwinstaParent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWINDOWSTATION" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "spmenuDialogSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "spwndForeground": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "spmenuHScroll": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "spwndTooltip": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "dwSessionId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "spwndMessage": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "cciConsole": { - "type": { - "kind": "struct", - "name": "_CONSOLE_CARET_INFO" - }, - "offset": 144 - }, - "PtiList": { - "type": { - "kind": "struct", - "name": "nt_symbols!_LIST_ENTRY" - }, - "offset": 160 - }, - "spwndTray": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "rpdeskNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "dwDTFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "pMagInputTransform": { - "type": { - "subtype": { - "kind": "struct", - "name": "_MAGNIFICATION_INPUT_TRANSFORM" - }, - "kind": "pointer" - }, - "offset": 216 - }, - "spwndTrack": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 184 - }, - "htEx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 192 - }, - "ulHeapSize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 136 - }, - "pheapDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!tagWIN32HEAP" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "rcMouseHover": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 196 - }, - "hsectionDesktop": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "dwDesktopId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "spmenuSys": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 224 - }, - "_MAGNIFICATION_INPUT_TRANSFORM": { - "fields": { - "rcScreen": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 16 - }, - "magFactorX": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 40 - }, - "magFactorY": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 44 - }, - "ptiMagThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "rcSource": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 48 - }, - "_D3DKMDT_MONITOR_FREQUENCY_RANGE": { - "fields": { - "Origin": { - "type": { - "kind": "enum", - "name": "OriginEnum" - }, - "offset": 0 - }, - "ConstraintType": { - "type": { - "kind": "enum", - "name": "ConstraintTypeEnum" - }, - "offset": 36 - }, - "RangeLimits": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_FREQUENCY_RANGE" - }, - "offset": 4 - }, - "Constraint": { - "type": { - "kind": "struct", - "name": "__unnamed_16c1" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 48 - }, - "__unnamed_121d": { - "fields": { - "Type3InputBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "OutputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IoControlCode": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "InputBufferLength": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 32 - }, - "_PFNCLIENTWORKER": { - "fields": { - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnCtfHookProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 88 - }, - "__unnamed_12e0": { - "fields": { - "InitialPrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_INITIAL_PRIVILEGE_SET" - }, - "offset": 0 - }, - "PrivilegeSet": { - "type": { - "kind": "struct", - "name": "nt_symbols!_PRIVILEGE_SET" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 44 - }, - "tagMENULIST": { - "fields": { - "pMenu": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENU" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagMENULIST" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "_DMA_OPERATIONS": { - "fields": { - "PutDmaAdapter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "FreeMapRegisters": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "MapTransfer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "FreeCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "ReadDmaCounter": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "AllocateCommonBuffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "PutScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "BuildMdlFromScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "GetScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "CalculateScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "FreeAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "GetDmaAlignment": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "FlushAdapterBuffers": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "AllocateAdapterChannel": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "BuildScatterGatherList": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 128 - }, - "__unnamed_1811": { - "fields": { - "Start": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "Reserved": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 12 - }, - "tagSPB": { - "fields": { - "hbm": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "hrgn": { - "type": { - "subtype": { - "kind": "struct", - "name": "HRGN__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "ulSaveId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 56 - }, - "flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "rc": { - "type": { - "kind": "struct", - "name": "tagRECT" - }, - "offset": 24 - }, - "pspbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSPB" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 64 - }, - "tagWin32PoolHead": { - "fields": { - "pPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pTrace": { - "type": { - "subtype": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWin32PoolHead" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "size": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 32 - }, - "_DXGK_DIAG_HEADER": { - "fields": { - "Index": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "ProcessName": { - "type": { - "count": 16, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 16 - }, - "LogTimestamp": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "ThreadId": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "Type": { - "type": { - "kind": "enum", - "name": "TypeEnum" - }, - "offset": 0 - }, - "WdLogIdx": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 48 - }, - "_DMM_COMMITVIDPNREQUEST_DIAGINFO": { - "fields": { - "CleanupAfterFailedCommitVidPn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ModeChangeRequestId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "ReclaimClonedTarget": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - }, - "ForceAllActiveVidPnModeListInvalidation": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned char" - }, - "bit_length": 1 - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 12 - }, - "tagTOUCHINPUT": { - "fields": { - "dwExtraInfo": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "hSource": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "dwMask": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "cyContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 44 - }, - "cxContact": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 40 - }, - "dwFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "dwID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "dwTime": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 48 - }, - "_SM_VALUES_STRINGS": { - "fields": { - "StorageType": { - "type": { - "kind": "enum", - "name": "StorageTypeEnum" - }, - "offset": 16 - }, - "pszName": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulValue": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - }, - "RangeType": { - "type": { - "kind": "enum", - "name": "RangeTypeEnum" - }, - "offset": 12 - } - }, - "kind": "struct", - "size": 24 - }, - "__unnamed_1956": { - "fields": { - "MinimumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "MaximumChannel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - } - }, - "kind": "struct", - "size": 8 - }, - "_D3DKMDT_VIDEO_SIGNAL_INFO": { - "fields": { - "VSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 20 - }, - "ActiveSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 12 - }, - "PixelRate": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "TotalSize": { - "type": { - "kind": "struct", - "name": "_D3DKMDT_2DREGION" - }, - "offset": 4 - }, - "VideoStandard": { - "type": { - "kind": "enum", - "name": "VideoStandardEnum" - }, - "offset": 0 - }, - "ScanLineOrdering": { - "type": { - "kind": "enum", - "name": "ScanLineOrderingEnum" - }, - "offset": 48 - }, - "HSyncFreq": { - "type": { - "kind": "struct", - "name": "_D3DDDI_RATIONAL" - }, - "offset": 28 - } - }, - "kind": "struct", - "size": 56 - }, - "tagTERMINAL": { - "fields": { - "spwndDesktopOwner": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pEventInputReady": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "rpdeskDestroy": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOP" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pqDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagQ" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "dwTERMF_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "dwNestedLevel": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ptiDesktop": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pEventTermInit": { - "type": { - "subtype": { - "kind": "struct", - "name": "nt_symbols!_KEVENT" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "HFONT__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT": { - "fields": { - "MacroVisionFull": { - "type": { - "bit_position": 2, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "MacroVisionApsTrigger": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "NoProtection": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 3, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 29 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "_PFNCLIENT": { - "fields": { - "pfnDispatchDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 160 - }, - "pfnStaticWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 112 - }, - "pfnDispatchHook": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 152 - }, - "pfnDesktopWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "pfnImeWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 120 - }, - "pfnScrollBarWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pfnEditWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 88 - }, - "pfnGhostWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 128 - }, - "pfnMessageWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pfnSwitchWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "pfnComboListBoxProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 72 - }, - "pfnComboBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 64 - }, - "pfnMDIClientWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 104 - }, - "pfnDialogWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "pfnHkINLPCWPSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 136 - }, - "pfnTitleWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "pfnHkINLPCWPRETSTRUCT": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "pfnButtonWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pfnMenuWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "pfnListBoxWndProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "pfnDispatchMessage": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 168 - }, - "pfnDefWindowProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "pfnMDIActivateDlgProc": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 176 - } - }, - "kind": "struct", - "size": 184 - }, - "tagOEMBITMAPINFO": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1221": { - "fields": { - "SecurityInformation": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "SecurityDescriptor": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "_KLIST_ENTRY": { - "fields": { - "Flink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "Blink": { - "type": { - "subtype": { - "kind": "struct", - "name": "_KLIST_ENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "HMONITOR__": { - "fields": { - "unused": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_1247": { - "fields": { - "DeviceTextType": { - "type": { - "kind": "enum", - "name": "DeviceTextTypeEnum" - }, - "offset": 0 - }, - "LocaleId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "tagCLIENTINFO": { - "fields": { - "msgDbcsCB": { - "type": { - "kind": "struct", - "name": "tagMSG" - }, - "offset": 160 - }, - "dwCompatFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 20 - }, - "achDbcsCF": { - "type": { - "count": 2, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 154 - }, - "dwTIFlags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "pClientThreadInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagCLIENTTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 152 - }, - "dwKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "dwHookCurrent": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "afAsyncKeyStateRecentDown": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 136 - }, - "dwCompatFlags2": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "fsHooks": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 56 - }, - "ulClientDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "pDeskInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDESKTOPINFO" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "dwExpWinVer": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "dwHookData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 104 - }, - "afAsyncKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 128 - }, - "CallbackWnd": { - "type": { - "kind": "struct", - "name": "_CALLBACKWND" - }, - "offset": 64 - }, - "lpdwRegisteredClasses": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned long" - }, - "kind": "pointer" - }, - "offset": 208 - }, - "cInDDEMLCallback": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 92 - }, - "cSpins": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 8 - }, - "hKL": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 144 - }, - "dwAsyncKeyCache": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 124 - }, - "afKeyState": { - "type": { - "count": 8, - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "array" - }, - "offset": 116 - }, - "CI_flags": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 0 - }, - "phkCurrent": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagHOOK" - }, - "kind": "pointer" - }, - "offset": 48 - } - }, - "kind": "struct", - "size": 216 - }, - "_DMM_MONITOR_SERIALIZATION": { - "fields": { - "SourceModeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "FrequencyRangeSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 28 - }, - "DescriptorSetOffset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "ModePruningAlgorithm": { - "type": { - "kind": "enum", - "name": "ModePruningAlgorithmEnum" - }, - "offset": 16 - }, - "VideoPresentTargetId": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 4 - }, - "IsUsingDefaultProfile": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 13 - }, - "MonitorPowerState": { - "type": { - "kind": "enum", - "name": "MonitorPowerStateEnum" - }, - "offset": 20 - }, - "MonitorType": { - "type": { - "kind": "enum", - "name": "MonitorTypeEnum" - }, - "offset": 36 - }, - "Size": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "IsSimulatedMonitor": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 12 - }, - "Orientation": { - "type": { - "kind": "enum", - "name": "OrientationEnum" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 40 - }, - "tagPROP": { - "fields": { - "fs": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 10 - }, - "hData": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "atomKey": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 8 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_1243": { - "fields": { - "IdType": { - "type": { - "kind": "enum", - "name": "IdTypeEnum" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 4 - }, - "__unnamed_123d": { - "fields": { - "Buffer": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "WhichSpace": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - }, - "Length": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 24 - }, - "Offset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - } - }, - "kind": "struct", - "size": 32 - }, - "_WNDMSG": { - "fields": { - "abMsgs": { - "type": { - "subtype": { - "kind": "base", - "name": "unsigned char" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "maxMsgs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagSHAREDINFO": { - "fields": { - "psi": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagSERVERINFO" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "ulSharedDelta": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 32 - }, - "aheList": { - "type": { - "subtype": { - "kind": "struct", - "name": "_HANDLEENTRY" - }, - "kind": "pointer" - }, - "offset": 8 - }, - "DefWindowSpecMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 552 - }, - "awmControl": { - "type": { - "count": 31, - "subtype": { - "kind": "struct", - "name": "_WNDMSG" - }, - "kind": "array" - }, - "offset": 40 - }, - "pDispInfo": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagDISPLAYINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "HeEntrySize": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 16 - }, - "DefWindowMsgs": { - "type": { - "kind": "struct", - "name": "_WNDMSG" - }, - "offset": 536 - } - }, - "kind": "struct", - "size": 568 - }, - "__unnamed_181b": { - "fields": { - "BusNumber": { - "type": { - "kind": "struct", - "name": "__unnamed_1811" - }, - "offset": 0 - }, - "Dma": { - "type": { - "kind": "struct", - "name": "__unnamed_180d" - }, - "offset": 0 - }, - "DeviceSpecificData": { - "type": { - "kind": "struct", - "name": "__unnamed_1813" - }, - "offset": 0 - }, - "Memory48": { - "type": { - "kind": "struct", - "name": "__unnamed_1817" - }, - "offset": 0 - }, - "MessageInterrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_180b" - }, - "offset": 0 - }, - "Generic": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Memory40": { - "type": { - "kind": "struct", - "name": "__unnamed_1815" - }, - "offset": 0 - }, - "DevicePrivate": { - "type": { - "kind": "struct", - "name": "nt_symbols!__unnamed_180f" - }, - "offset": 0 - }, - "Memory64": { - "type": { - "kind": "struct", - "name": "__unnamed_1819" - }, - "offset": 0 - }, - "Memory": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - }, - "Interrupt": { - "type": { - "kind": "struct", - "name": "__unnamed_1807" - }, - "offset": 0 - }, - "Port": { - "type": { - "kind": "struct", - "name": "__unnamed_1805" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "tagPOINT": { - "fields": { - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 4 - }, - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagIMC": { - "fields": { - "dwClientImcData": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 48 - }, - "head": { - "type": { - "kind": "struct", - "name": "_THRDESKHEAD" - }, - "offset": 0 - }, - "hImeWnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "HWND__" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "pImcNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMC" - }, - "kind": "pointer" - }, - "offset": 40 - } - }, - "kind": "struct", - "size": 64 - }, - "tagKL": { - "fields": { - "uNumTbl": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 88 - }, - "pklPrev": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "head": { - "type": { - "kind": "struct", - "name": "_HEAD" - }, - "offset": 0 - }, - "pklNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKL" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "spkfPrimary": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 56 - }, - "dwFontSigs": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 64 - }, - "dwLastKbdType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 104 - }, - "CodePage": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 72 - }, - "dwKL_Flags": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 32 - }, - "iBaseCharset": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 68 - }, - "dwKLID": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 112 - }, - "spkf": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "offset": 48 - }, - "piiex": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagIMEINFOEX" - }, - "kind": "pointer" - }, - "offset": 80 - }, - "hkl": { - "type": { - "subtype": { - "kind": "struct", - "name": "HKL__" - }, - "kind": "pointer" - }, - "offset": 40 - }, - "pspkfExtra": { - "type": { - "subtype": { - "subtype": { - "kind": "struct", - "name": "tagKBDFILE" - }, - "kind": "pointer" - }, - "kind": "pointer" - }, - "offset": 96 - }, - "wchDiacritic": { - "type": { - "kind": "base", - "name": "wchar" - }, - "offset": 74 - }, - "dwLastKbdSubType": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 108 - } - }, - "kind": "struct", - "size": 120 - }, - "__unnamed_115b": { - "fields": { - "NextEntry": { - "type": { - "bit_position": 4, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 60 - }, - "offset": 8 - }, - "Depth": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 16 - }, - "offset": 0 - }, - "Reserved": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 3 - }, - "offset": 8 - }, - "HeaderType": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "Sequence": { - "type": { - "bit_position": 16, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "bit_length": 48 - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 16 - }, - "__unnamed_182e": { - "fields": { - "pRgb256x3x16": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_RGB256x3x16" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pRaw": { - "type": { - "subtype": { - "kind": "base", - "name": "void" - }, - "kind": "pointer" - }, - "offset": 0 - }, - "pDxgi1": { - "type": { - "subtype": { - "kind": "struct", - "name": "_D3DDDI_GAMMA_RAMP_DXGI_1" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 8 - }, - "tagTDB": { - "fields": { - "pti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 16 - }, - "TDB_Flags": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 34 - }, - "hTaskWow": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 32 - }, - "pwti": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWOWTHREADINFO" - }, - "kind": "pointer" - }, - "offset": 24 - }, - "nEvents": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 8 - }, - "nPriority": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "ptdbNext": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagTDB" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 40 - }, - "tagCARET": { - "fields": { - "x": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 16 - }, - "iHideLevel": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 12 - }, - "hTimer": { - "type": { - "kind": "base", - "name": "unsigned long long" - }, - "offset": 40 - }, - "yOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 56 - }, - "y": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 20 - }, - "xOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 52 - }, - "cy": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 24 - }, - "cx": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 28 - }, - "fVisible": { - "type": { - "bit_position": 0, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "hBitmap": { - "type": { - "subtype": { - "kind": "struct", - "name": "HBITMAP__" - }, - "kind": "pointer" - }, - "offset": 32 - }, - "cxOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 60 - }, - "cyOwnDc": { - "type": { - "kind": "base", - "name": "long" - }, - "offset": 64 - }, - "tid": { - "type": { - "kind": "base", - "name": "unsigned long" - }, - "offset": 48 - }, - "fOn": { - "type": { - "bit_position": 1, - "kind": "bitfield", - "type": { - "kind": "base", - "name": "unsigned long" - }, - "bit_length": 1 - }, - "offset": 8 - }, - "spwnd": { - "type": { - "subtype": { - "kind": "struct", - "name": "tagWND" - }, - "kind": "pointer" - }, - "offset": 0 - } - }, - "kind": "struct", - "size": 72 - }, - "_LIGATURE1": { - "fields": { - "wch": { - "type": { - "count": 1, - "subtype": { - "kind": "base", - "name": "wchar" - }, - "kind": "array" - }, - "offset": 4 - }, - "VirtualKey": { - "type": { - "kind": "base", - "name": "unsigned char" - }, - "offset": 0 - }, - "ModificationNumber": { - "type": { - "kind": "base", - "name": "unsigned short" - }, - "offset": 2 - } - }, - "kind": "struct", - "size": 6 + }, + "metadata": { + "producer": { + "version": "0.0.1", + "name": "dgmcdona-via-conversion-script", + "datetime": "2024-09-03T18:22:52Z" + }, + "format": "4.0.0" } - }, - "base_types": { - "unsigned char": { - "kind": "char", - "endian": "little", - "signed": false, - "size": 1 - }, - "float": { - "kind": "float", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "wchar": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "pointer": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - }, - "unsigned int": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 4 - }, - "short": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 2 - }, - "long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 4 - }, - "unsigned short": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 2 - }, - "long long": { - "kind": "int", - "endian": "little", - "signed": true, - "size": 8 - }, - "unsigned long long": { - "kind": "int", - "endian": "little", - "signed": false, - "size": 8 - } - }, - "enums": { - "TextEnum": { - "base": "long", - "constants": { - "D3DKMDT_TRF_UNINITIALIZED": 0 - }, - "size": 4 - }, - "PreferenceEnum": { - "base": "long", - "constants": { - "D3DKMDT_MP_PREFERRED": 1, - "D3DKMDT_MP_MAXVALID": 2, - "D3DKMDT_MP_UNINITIALIZED": 0 - }, - "size": 4 - }, - "FileInformationClassEnum": { - "base": "long", - "constants": { - "FileInternalInformation": 6, - "FileQuotaInformation": 32, - "FileIoStatusBlockRangeInformation": 42, - "FilePipeLocalInformation": 24, - "FileStandardLinkInformation": 54, - "FileIdFullDirectoryInformation": 38, - "FileLinkInformation": 11, - "FileFullDirectoryInformation": 2, - "FileAllInformation": 18, - "FileSfioVolumeInformation": 45, - "FileStreamInformation": 22, - "FileRenameInformation": 10, - "FileValidDataLengthInformation": 39, - "FileAlternateNameInformation": 21, - "FileBasicInformation": 4, - "FilePositionInformation": 14, - "FileCompletionInformation": 30, - "FileAttributeCacheInformation": 52, - "FileReparsePointInformation": 33, - "FileMailslotSetInformation": 27, - "FileNetworkPhysicalNameInformation": 49, - "FileAllocationInformation": 19, - "FileIsRemoteDeviceInformation": 51, - "FileFullEaInformation": 15, - "FileProcessIdsUsingFileInformation": 47, - "FileDispositionInformation": 13, - "FileStandardInformation": 5, - "FileAccessInformation": 8, - "FileNumaNodeInformation": 53, - "FilePipeRemoteInformation": 25, - "FileIoPriorityHintInformation": 43, - "FileMailslotQueryInformation": 26, - "FileRemoteProtocolInformation": 55, - "FileNamesInformation": 12, - "FileHardLinkInformation": 46, - "FileEndOfFileInformation": 20, - "FileIdBothDirectoryInformation": 37, - "FileSfioReserveInformation": 44, - "FileIdGlobalTxDirectoryInformation": 50, - "FileNetworkOpenInformation": 34, - "FileObjectIdInformation": 29, - "FileMoveClusterInformation": 31, - "FileIoCompletionNotificationInformation": 41, - "FileNameInformation": 9, - "FileBothDirectoryInformation": 3, - "FileDirectoryInformation": 1, - "FileMaximumInformation": 56, - "FileNormalizedNameInformation": 48, - "FilePipeInformation": 23, - "FileCompressionInformation": 28, - "FileTrackingInformation": 36, - "FileEaInformation": 7, - "FileShortNameInformation": 40, - "FileModeInformation": 16, - "FileAlignmentInformation": 17, - "FileAttributeTagInformation": 35 - }, - "size": 4 - }, - "ModePruningAlgorithmEnum": { - "base": "long", - "constants": { - "DMM_MPA_MAXVALID": 3, - "DMM_MPA_GDI": 1, - "DMM_MPA_VISTA": 2, - "DMM_MPA_UNINITIALIZED": 0 - }, - "size": 4 - }, - "fmtEnum": { - "base": "unsigned long", - "constants": { - "CF_ENHMETAFILE": 14, - "CF_PENDATA": 10, - "CF_BITMAP": 2, - "CF_UNICODETEXT": 13, - "CF_HDROP": 15, - "CF_OEMTEXT": 7, - "CF_WAVE": 12, - "CF_DSPTEXT": 129, - "CF_DIBV5": 17, - "CF_TIFF": 6, - "CF_PALETTE": 9, - "CF_OWNERDISPLAY": 128, - "CF_DSPMETAFILEPICT": 131, - "CF_METAFILEPICT": 3, - "CF_RIFF": 11, - "CF_DSPENHMETAFILE": 142, - "CF_TEXT": 1, - "CF_LOCALE": 16, - "CF_SYLK": 4, - "CF_DSPBITMAP": 130, - "CF_DIB": 8, - "CF_DIF": 5 - }, - "size": 4 - }, - "MonitorPowerStateEnum": { - "base": "long", - "constants": { - "PowerDeviceUnspecified": 0, - "PowerDeviceD0": 1, - "PowerDeviceD1": 2, - "PowerDeviceD2": 3, - "PowerDeviceD3": 4, - "PowerDeviceMaximum": 5 - }, - "size": 4 - }, - "bTypeEnum": { - "base": "unsigned char", - "constants": { - "TYPE_DDEXACT": 11, - "TYPE_HOOK": 5, - "TYPE_FREE": 0, - "TYPE_MONITOR": 12, - "TYPE_GESTURE": 21, - "TYPE_DEVICEINFO": 19, - "TYPE_DDEACCESS": 9, - "TYPE_CALLPROC": 7, - "TYPE_CURSOR": 3, - "TYPE_KBDLAYOUT": 13, - "TYPE_WINEVENTHOOK": 15, - "TYPE_MENU": 2, - "TYPE_ACCELTABLE": 8, - "TYPE_TOUCH": 20, - "TYPE_SETWINDOWPOS": 4, - "TYPE_CLIPDATA": 6, - "TYPE_KBDFILE": 14, - "TYPE_DDECONV": 10, - "TYPE_HIDDATA": 18, - "TYPE_WINDOW": 1, - "TYPE_INPUTCONTEXT": 17, - "TYPE_TIMER": 16 - }, - "size": 1 - }, - "OriginEnum": { - "base": "long", - "constants": { - "D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE": 3, - "D3DKMDT_MCO_UNINITIALIZED": 0, - "D3DKMDT_MCO_MONITORDESCRIPTOR": 2, - "D3DKMDT_MCO_MAXVALID": 5, - "D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE": 4, - "D3DKMDT_MCO_DEFAULTMONITORPROFILE": 1 - }, - "size": 4 - }, - "CodePointTypeEnum": { - "base": "long", - "constants": { - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_BTL": 8, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_TARGET_MODE": 20, - "DXGK_DIAG_CODE_POINT_TYPE_HANDLE_IRP": 40, - "DXGK_DIAG_CODE_POINT_TYPE_CHANGE_UNSUPPORTED_MONITOR_MODE_FLAG": 41, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_ENFORCED_CLONE_PATH_INVALID_SOURCE_IDX": 57, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_GDI": 11, - "DXGK_DIAG_CODE_POINT_TYPE_BML_TARGET_MODE_NOT_PINNED": 22, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DEVICE_REMOVED": 51, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BACKTRACK": 17, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_RECREATE_DEVICE_FAILED": 53, - "DXGK_DIAG_CODE_POINT_TYPE_BML_NO_EXACT_SOURCE_MODE": 19, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_ENABLE_VGA": 48, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_SOURCE_MODE": 32, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_DISABLEGDI": 43, - "DXGK_DIAG_CODE_POINT_TYPE_TDR": 24, - "DXGK_DIAG_CODE_POINT_TYPE_BML_BEST_TARGET_MODE": 33, - "DXGK_DIAG_CODE_POINT_TYPE_MON_DEPART_GETRECENTTOP_FAIL": 61, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_LOG_FAILURE": 3, - "DXGK_DIAG_CODE_POINT_TYPE_STOP_ADAPTER": 36, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_DRVASSERTMODE_TRUE_FAILED": 52, - "DXGK_DIAG_CODE_POINT_TYPE_FORCE_UINT32": -1, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_MODESWITCH": 45, - "DXGK_DIAG_CODE_POINT_TYPE_START_ADAPTER": 35, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_CCDBML_FAIL_VISTABML_SUCCESSED": 31, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_NOTIFY_CALLBACK": 42, - "DXGK_DIAG_CODE_POINT_TYPE_MON_ARRIVE_INC_ADD_FAIL": 62, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKCDDENABLE_OPTIMIZED_MODE_CHANGE": 59, - "DXGK_DIAG_CODE_POINT_TYPE_NONE": 0, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEFUNVIDPN_RELAX_REFRESH_MATCH": 30, - "DXGK_DIAG_CODE_POINT_TYPE_QDC_LOG_FAILURE": 10, - "DXGK_DIAG_CODE_POINT_TYPE_COMMIT_VIDPN_LOG_FAILURE": 55, - "DXGK_DIAG_CODE_POINT_TYPE_OS_RECOMMENDED_VIDPN": 2, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING": 37, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_DIM_MONITOR": 15, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_LOG_FAILURE": 5, - "DXGK_DIAG_CODE_POINT_TYPE_ACPI_EVENT_NOTIFICATION": 25, - "DXGK_DIAG_CODE_POINT_TYPE_INDICATE_CHILD_STATUS": 39, - "DXGK_DIAG_CODE_POINT_TYPE_REBUILD_DXGK_MODE_CACHE": 29, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_GDI": 12, - "DXGK_DIAG_CODE_POINT_TYPE_CDD_MAPSHADOWBUFFER_FAILED": 54, - "DXGK_DIAG_CODE_POINT_TYPE_BML_CLOSEST_TARGET_MODE": 18, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_CDD_CREATE_DEVICE_FAILED": 50, - "DXGK_DIAG_CODE_POINT_TYPE_ADD_DEVICE": 34, - "DXGK_DIAG_CODE_POINT_TYPE_SDC_INVALIDATE_ERROR": 4, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_EXCLUDE_EVICTALL_ENABLEGDI": 44, - "DXGK_DIAG_CODE_POINT_TYPE_CDS_FAILURE_DB": 7, - "DXGK_DIAG_CODE_POINT_TYPE_BML_SOURCE_MODE_NOT_PINNED": 21, - "DXGK_DIAG_CODE_POINT_TYPE_INVALIDATE_DXGK_MODE_CACHE": 28, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_SYNC_MONITOR_EVENT": 46, - "DXGK_DIAG_CODE_POINT_TYPE_DRIVER_RECOMMEND_LOG_FAILURE": 56, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_TDR_SWITCH_GDI": 49, - "DXGK_DIAG_CODE_POINT_TYPE_DXGKSETDISPLAYMODE_OPTIMIZED_MODE_CHANGE": 60, - "DXGK_DIAG_CODE_POINT_TYPE_CHILD_POLLING_TARGET": 38, - "DXGK_DIAG_CODE_POINT_TYPE_RECOMMEND_FUNC_VIDPN": 1, - "DXGK_DIAG_CODE_POINT_TYPE_CREATEMDEV_USE_DEFAULT_MODE": 26, - "DXGK_DIAG_CODE_POINT_TYPE_BML_RESTARTED": 23, - "DXGK_DIAG_CODE_POINT_TYPE_CCD_DATABASE_PERSIST": 63, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_ON_MONITOR": 13, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_UNDIM_MONITOR": 16, - "DXGK_DIAG_CODE_POINT_TYPE_RETRIEVE_DB": 9, - "DXGK_DIAG_CODE_POINT_TYPE_CONNECTED_SET_LOG_FAILURE": 27, - "DXGK_DIAG_CODE_POINT_TYPE_DRVPROBEANDCAPTURE_FAILED": 58, - "DXGK_DIAG_CODE_POINT_TYPE_VIDEOPORTCALLOUT_PNP_NOTIFY_GDI": 47, - "DXGK_DIAG_CODE_POINT_TYPE_POWER_OFF_MONITOR": 14, - "DXGK_DIAG_CODE_POINT_TYPE_MAX": 64 - }, - "size": 4 - }, - "ConstraintTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MFRC_MAXPIXELRATE": 2, - "D3DKMDT_MFRC_ACTIVESIZE": 1, - "D3DKMDT_MFRC_UNINITIALIZED": 0 - }, - "size": 4 - }, - "VidPnTargetColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MonitorTypeEnum": { - "base": "long", - "constants": { - "DMM_VMT_TEMPORARY_MONITOR": 4, - "DMM_VMT_BOOT_PERSISTENT_MONITOR": 2, - "DMM_VMT_PHYSICAL_MONITOR": 1, - "DMM_VMT_UNINITIALIZED": 0, - "DMM_VMT_SIMULATED_MONITOR": 5, - "DMM_VMT_PERSISTENT_MONITOR": 3 - }, - "size": 4 - }, - "PowerStateEnum": { - "base": "long", - "constants": { - "PowerSystemSleeping2": 3, - "PowerSystemSleeping1": 2, - "PowerSystemSleeping3": 4, - "PowerSystemUnspecified": 0, - "PowerSystemMaximum": 7, - "PowerSystemShutdown": 6, - "PowerSystemHibernate": 5, - "PowerSystemWorking": 1 - }, - "size": 4 - }, - "ShutdownTypeEnum": { - "base": "long", - "constants": { - "PowerActionNone": 0, - "PowerActionReserved": 1, - "PowerActionHibernate": 3, - "PowerActionShutdownOff": 6, - "PowerActionShutdown": 4, - "PowerActionSleep": 2, - "PowerActionShutdownReset": 5, - "PowerActionWarmEject": 7 - }, - "size": 4 - }, - "ScalingEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPS_CENTERED": 2, - "D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX": 4, - "D3DKMDT_VPPS_STRETCHED": 3, - "D3DKMDT_VPPS_UNINITIALIZED": 0, - "D3DKMDT_VPPS_UNPINNED": 254, - "D3DKMDT_VPPS_IDENTITY": 1, - "D3DKMDT_VPPS_NOTSPECIFIED": 255, - "D3DKMDT_VPPS_CUSTOM": 5, - "D3DKMDT_VPPS_RESERVED1": 253 - }, - "size": 4 - }, - "CurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "StorageTypeEnum": { - "base": "long", - "constants": { - "SmStorageActual": 0, - "SmStorageNonActual": 1 - }, - "size": 4 - }, - "ScanLineOrderingEnum": { - "base": "long", - "constants": { - "D3DDDI_VSSLO_PROGRESSIVE": 1, - "D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST": 3, - "D3DDDI_VSSLO_UNINITIALIZED": 0, - "D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST": 2, - "D3DDDI_VSSLO_OTHER": 255 - }, - "size": 4 - }, - "PixelValueAccessModeEnum": { - "base": "long", - "constants": { - "D3DKMDT_PVAM_UNINITIALIZED": 0, - "D3DKMDT_PVAM_DIRECT": 1, - "D3DKMDT_PVAM_PRESETPALETTE": 2, - "D3DKMDT_PVAM_MAXVALID": 3 - }, - "size": 4 - }, - "PriorityPolicyEnum": { - "base": "long", - "constants": { - "IrqPriorityHigh": 3, - "IrqPriorityNormal": 2, - "IrqPriorityLow": 1, - "IrqPriorityUndefined": 0 - }, - "size": 4 - }, - "OrientationEnum": { - "base": "long", - "constants": { - "D3DKMDT_MO_90DEG": 2, - "D3DKMDT_MO_0DEG": 1, - "D3DKMDT_MO_270DEG": 4, - "D3DKMDT_MO_UNINITIALIZED": 0, - "D3DKMDT_MO_180DEG": 3 - }, - "size": 4 - }, - "ContentEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPC_NOTSPECIFIED": 255, - "D3DKMDT_VPPC_UNINITIALIZED": 0, - "D3DKMDT_VPPC_GRAPHICS": 1, - "D3DKMDT_VPPC_VIDEO": 2 - }, - "size": 4 - }, - "ColorBasisEnum": { - "base": "long", - "constants": { - "D3DKMDT_CB_MAXVALID": 5, - "D3DKMDT_CB_INTENSITY": 1, - "D3DKMDT_CB_SCRGB": 3, - "D3DKMDT_CB_YCBCR": 4, - "D3DKMDT_CB_SRGB": 2, - "D3DKMDT_CB_UNINITIALIZED": 0 - }, - "size": 4 - }, - "MoveRectStyleEnum": { - "base": "long", - "constants": { - "MoveRectMidTopAtCursor": 1, - "MoveRectSidewiseKeepPositionAtCursor": 3, - "MoveRectKeepPositionAtCursor": 0, - "MoveRectKeepAspectRatioAtCursor": 2 - }, - "size": 4 - }, - "VideoStandardEnum": { - "base": "long", - "constants": { - "D3DKMDT_VSS_PAL_G": 11, - "D3DKMDT_VSS_PAL_D": 14, - "D3DKMDT_VSS_PAL_B": 9, - "D3DKMDT_VSS_SECAM_K": 21, - "D3DKMDT_VSS_VESA_GTF": 2, - "D3DKMDT_VSS_PAL_L": 30, - "D3DKMDT_VSS_PAL_M": 31, - "D3DKMDT_VSS_PAL_K": 28, - "D3DKMDT_VSS_PAL_H": 12, - "D3DKMDT_VSS_PAL_I": 13, - "D3DKMDT_VSS_SECAM_L1": 24, - "D3DKMDT_VSS_VESA_DMT": 1, - "D3DKMDT_VSS_SECAM_L": 23, - "D3DKMDT_VSS_EIA_861": 25, - "D3DKMDT_VSS_PAL_N": 15, - "D3DKMDT_VSS_APPLE": 5, - "D3DKMDT_VSS_NTSC_M": 6, - "D3DKMDT_VSS_SECAM_H": 20, - "D3DKMDT_VSS_NTSC_J": 7, - "D3DKMDT_VSS_SECAM_B": 17, - "D3DKMDT_VSS_SECAM_G": 19, - "D3DKMDT_VSS_SECAM_D": 18, - "D3DKMDT_VSS_IBM": 4, - "D3DKMDT_VSS_SECAM_K1": 22, - "D3DKMDT_VSS_PAL_NC": 16, - "D3DKMDT_VSS_PAL_B1": 10, - "D3DKMDT_VSS_EIA_861A": 26, - "D3DKMDT_VSS_EIA_861B": 27, - "D3DKMDT_VSS_UNINITIALIZED": 0, - "D3DKMDT_VSS_OTHER": 255, - "D3DKMDT_VSS_PAL_K1": 29, - "D3DKMDT_VSS_VESA_CVT": 3, - "D3DKMDT_VSS_NTSC_443": 8 - }, - "size": 4 - }, - "ImportanceOrdinalEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPI_QUATERNARY": 4, - "D3DKMDT_VPPI_SECONDARY": 2, - "D3DKMDT_VPPI_PRIMARY": 1, - "D3DKMDT_VPPI_QUINARY": 5, - "D3DKMDT_VPPI_DENARY": 10, - "D3DKMDT_VPPI_SENARY": 6, - "D3DKMDT_VPPI_TERTIARY": 3, - "D3DKMDT_VPPI_SEPTENARY": 7, - "D3DKMDT_VPPI_NONARY": 9, - "D3DKMDT_VPPI_UNINITIALIZED": 0, - "D3DKMDT_VPPI_OCTONARY": 8, - "D3DKMDT_VPPI_MAX": 32, - "D3DKMDT_VPPI_NOTSPECIFIED": 255 - }, - "size": 4 - }, - "RangeTypeEnum": { - "base": "long", - "constants": { - "SmRangeBool": 2, - "SmRangeNonSharedInfo": 1, - "SmRangeSharedInfo": 0 - }, - "size": 4 - }, - "TimingTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_MTT_EXTRASTANDARD": 3, - "D3DKMDT_MTT_DEFAULTMONITORPROFILE": 5, - "D3DKMDT_MTT_STANDARD": 2, - "D3DKMDT_MTT_UNINITIALIZED": 0, - "D3DKMDT_MTT_MAXVALID": 6, - "D3DKMDT_MTT_DETAILED": 4, - "D3DKMDT_MTT_ESTABLISHED": 1 - }, - "size": 4 - }, - "PixelFormatEnum": { - "base": "long", - "constants": { - "D3DDDIFMT_W11V11U10": 65, - "D3DDDIFMT_A16B16G16R16F": 113, - "D3DDDIFMT_A8R8G8B8": 21, - "D3DDDIFMT_D32_LOCKABLE": 84, - "D3DDDIFMT_L8": 50, - "D3DDDIFMT_DXVA_RESERVED27": 177, - "D3DDDIFMT_DXVA_RESERVED26": 176, - "D3DDDIFMT_DXVA_RESERVED25": 175, - "D3DDDIFMT_DXVA_RESERVED24": 174, - "D3DDDIFMT_DXVA_RESERVED23": 173, - "D3DDDIFMT_DXVA_RESERVED22": 172, - "D3DDDIFMT_DXVA_RESERVED21": 171, - "D3DDDIFMT_DXVA_RESERVED20": 170, - "D3DDDIFMT_DXVA_RESERVED29": 179, - "D3DDDIFMT_DXVA_RESERVED28": 178, - "D3DDDIFMT_R3G3B2": 27, - "D3DDDIFMT_A8R3G3B2": 29, - "D3DDDIFMT_INDEX16": 101, - "D3DDDIFMT_X4R4G4B4": 30, - "D3DDDIFMT_A4R4G4B4": 26, - "D3DDDIFMT_Q8W8V8U8": 63, - "D3DDDIFMT_FORCE_UINT": 2147483647, - "D3DDDIFMT_S1D15": 72, - "D3DDDIFMT_A16B16G16R16": 36, - "D3DDDIFMT_A8L8": 51, - "D3DDDIFMT_D24X4S4": 79, - "D3DDDIFMT_BINARYBUFFER": 199, - "D3DDDIFMT_DXVA_RESERVED30": 180, - "D3DDDIFMT_R32F": 114, - "D3DDDIFMT_VERTEXDATA": 100, - "D3DDDIFMT_R5G6B5": 23, - "D3DDDIFMT_R8G8_B8G8": 1195525970, - "D3DDDIFMT_A4L4": 52, - "D3DDDIFMT_A1R5G5B5": 25, - "D3DDDIFMT_X1R5G5B5": 24, - "D3DDDIFMT_D32": 71, - "D3DDDIFMT_G8R8_G8B8": 1111970375, - "D3DDDIFMT_A2B10G10R10": 31, - "D3DDDIFMT_DXVACOMPBUFFER_MAX": 181, - "D3DDDIFMT_MULTI2_ARGB8": 827606349, - "D3DDDIFMT_D16_LOCKABLE": 70, - "D3DDDIFMT_BITSTREAMDATA": 156, - "D3DDDIFMT_RESIDUALDIFFERENCEDATA": 152, - "D3DDDIFMT_X8B8G8R8": 33, - "D3DDDIFMT_R8G8B8": 20, - "D3DDDIFMT_S8_LOCKABLE": 85, - "D3DDDIFMT_D24S8": 75, - "D3DDDIFMT_X8D24": 76, - "D3DDDIFMT_A2R10G10B10": 35, - "D3DDDIFMT_P8": 41, - "D3DDDIFMT_L6V5U5": 61, - "D3DDDIFMT_X8R8G8B8": 22, - "D3DDDIFMT_D16": 80, - "D3DDDIFMT_A2W10V10U10": 67, - "D3DDDIFMT_D24FS8": 83, - "D3DDDIFMT_MOTIONVECTORBUFFER": 157, - "D3DDDIFMT_L16": 81, - "D3DDDIFMT_X8L8V8U8": 62, - "D3DDDIFMT_A32B32G32R32F": 116, - "D3DDDIFMT_A8P8": 40, - "D3DDDIFMT_YUY2": 844715353, - "D3DDDIFMT_R16F": 111, - "D3DDDIFMT_G16R16": 34, - "D3DDDIFMT_A2B10G10R10_XR_BIAS": 119, - "D3DDDIFMT_Q16W16V16U16": 110, - "D3DDDIFMT_S8D24": 74, - "D3DDDIFMT_PICTUREPARAMSDATA": 150, - "D3DDDIFMT_A1": 118, - "D3DDDIFMT_FILMGRAINBUFFER": 158, - "D3DDDIFMT_A8": 28, - "D3DDDIFMT_UNKNOWN": 0, - "D3DDDIFMT_DXVA_RESERVED19": 169, - "D3DDDIFMT_D32F_LOCKABLE": 82, - "D3DDDIFMT_MACROBLOCKDATA": 151, - "D3DDDIFMT_A8B8G8R8": 32, - "D3DDDIFMT_UYVY": 1498831189, - "D3DDDIFMT_DXT1": 827611204, - "D3DDDIFMT_DEBLOCKINGDATA": 153, - "D3DDDIFMT_DXT3": 861165636, - "D3DDDIFMT_DXT4": 877942852, - "D3DDDIFMT_DXT5": 894720068, - "D3DDDIFMT_CxV8U8": 117, - "D3DDDIFMT_INVERSEQUANTIZATIONDATA": 154, - "D3DDDIFMT_DXVA_RESERVED9": 159, - "D3DDDIFMT_DXT2": 844388420, - "D3DDDIFMT_G32R32F": 115, - "D3DDDIFMT_X4S4D24": 78, - "D3DDDIFMT_D24X8": 77, - "D3DDDIFMT_DXVA_RESERVED12": 162, - "D3DDDIFMT_DXVA_RESERVED13": 163, - "D3DDDIFMT_DXVA_RESERVED10": 160, - "D3DDDIFMT_DXVA_RESERVED11": 161, - "D3DDDIFMT_DXVA_RESERVED16": 166, - "D3DDDIFMT_DXVA_RESERVED17": 167, - "D3DDDIFMT_DXVA_RESERVED14": 164, - "D3DDDIFMT_DXVA_RESERVED15": 165, - "D3DDDIFMT_DXVA_RESERVED18": 168, - "D3DDDIFMT_D15S1": 73, - "D3DDDIFMT_V16U16": 64, - "D3DDDIFMT_SLICECONTROLDATA": 155, - "D3DDDIFMT_G16R16F": 112, - "D3DDDIFMT_INDEX32": 102, - "D3DDDIFMT_V8U8": 60 - }, - "size": 4 - }, - "IdTypeEnum": { - "base": "long", - "constants": { - "BusQueryCompatibleIDs": 2, - "BusQueryInstanceID": 3, - "BusQueryDeviceID": 0, - "BusQueryDeviceSerialNumber": 4, - "BusQueryHardwareIDs": 1, - "BusQueryContainerID": 5 - }, - "size": 4 - }, - "StartCurrentHitTargetEnum": { - "base": "long", - "constants": { - "ThresholdMarginRight": 2, - "ThresholdMarginMax": 4, - "ThresholdMarginBottom": 3, - "ThresholdMarginLeft": 1, - "ThresholdMarginTop": 0 - }, - "size": 4 - }, - "TypeEnum": { - "base": "long", - "constants": { - "DevicePowerState": 1, - "SystemPowerState": 0 - }, - "size": 4 - }, - "RotationEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPR_IDENTITY": 1, - "D3DKMDT_VPPR_NOTSPECIFIED": 255, - "D3DKMDT_VPPR_UNPINNED": 254, - "D3DKMDT_VPPR_ROTATE270": 4, - "D3DKMDT_VPPR_ROTATE90": 2, - "D3DKMDT_VPPR_ROTATE180": 3, - "D3DKMDT_VPPR_UNINITIALIZED": 0 - }, - "size": 4 - }, - "CopyProtectionTypeEnum": { - "base": "long", - "constants": { - "D3DKMDT_VPPMT_NOTSPECIFIED": 255, - "D3DKMDT_VPPMT_UNINITIALIZED": 0, - "D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT": 3, - "D3DKMDT_VPPMT_MACROVISION_APSTRIGGER": 2, - "D3DKMDT_VPPMT_NOPROTECTION": 1 - }, - "size": 4 - }, - "FsInformationClassEnum": { - "base": "long", - "constants": { - "FileFsFullSizeInformation": 7, - "FileFsAttributeInformation": 5, - "FileFsVolumeFlagsInformation": 10, - "FileFsVolumeInformation": 1, - "FileFsSizeInformation": 3, - "FileFsLabelInformation": 2, - "FileFsDeviceInformation": 4, - "FileFsControlInformation": 6, - "FileFsDriverPathInformation": 9, - "FileFsMaximumInformation": 11, - "FileFsObjectIdInformation": 8 - }, - "size": 4 - }, - "DeviceTextTypeEnum": { - "base": "long", - "constants": { - "DeviceTextLocationInformation": 1, - "DeviceTextDescription": 0 - }, - "size": 4 - } - }, - "metadata": { - "producer": { - "version": "0.0.1", - "name": "dgmcdona-via-conversion-script", - "datetime": "2024-09-03T18:22:52Z" - }, - "format": "4.0.0" - } } From cad15d0c921132c36edd495800bd99dd801901b6 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 17:35:31 -0600 Subject: [PATCH 1498/2186] Windows DeskScan: Add version to class code review fix --- volatility3/framework/plugins/windows/deskscan.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/windows/deskscan.py b/volatility3/framework/plugins/windows/deskscan.py index baba3d8a0..6a8ff9e65 100644 --- a/volatility3/framework/plugins/windows/deskscan.py +++ b/volatility3/framework/plugins/windows/deskscan.py @@ -16,6 +16,7 @@ class DeskScan(desktops.Desktops): """Scans for the Desktop instances of each Window Station""" _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) From f139dde1217f7c3af9d9e59565c438efdfb51ce0 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 16:53:54 -0600 Subject: [PATCH 1499/2186] Code Review: Fix pslist param Change to self.current_kernel_name so people can change this value. --- volatility3/cli/volshell/windows.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/windows.py b/volatility3/cli/volshell/windows.py index cf8fd400d..c5bab3b74 100644 --- a/volatility3/cli/volshell/windows.py +++ b/volatility3/cli/volshell/windows.py @@ -38,7 +38,9 @@ class Volshell(generic.Volshell): def list_processes(self): """Returns a list of EPROCESS objects from the primary layer""" # We always use the main kernel memory and associated symbols - return list(pslist.PsList.list_processes(self.context, self.config["kernel"])) + return list( + pslist.PsList.list_processes(self.context, self.current_kernel_name) + ) def get_process(self, pid=None, virtaddr=None, physaddr=None): """Returns the _EPROCESS object that matches the pid. If a physical or a virtual address is provided, construct the _EPROCESS object at said address. Only one parameter is allowed. From c2c93ad90e7aae43d1f23ea4ae94127c5d0c08fb Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 17:44:37 -0600 Subject: [PATCH 1500/2186] Code Review: Simplify dictionary construction Also adds some keywords in method call args, and fixes an incorrect type-hint. --- .../framework/plugins/windows/modules.py | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 4872135a9..ee42b665b 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import Generator, Iterable, List, Optional, Dict +from typing import Generator, Iterable, List, Optional, Dict, Tuple from volatility3.framework import symbols, constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements @@ -93,11 +93,13 @@ class Modules(interfaces.plugins.PluginInterface): session_layers = list( self.get_session_layers( self.context, - self.config["kernel"], + kernel_module_name=self.config["kernel"], ) ) - for mod in self._enumeration_method(self.context, self.config["kernel"]): + for mod in self._enumeration_method( + self.context, kernel_module_name=self.config["kernel"] + ): if self.config["base"] and self.config["base"] != mod.DllBase: continue @@ -167,7 +169,7 @@ class Modules(interfaces.plugins.PluginInterface): context: interfaces.context.ContextInterface, kernel_module_name: str, pids: Optional[List[int]] = None, - ) -> Generator[str, None, None]: + ) -> Generator[Tuple[int, str], None, None]: """Build a cache of possible virtual layers, in priority starting with the primary/kernel layer. Then keep one layer per session by cycling through the process list. @@ -273,14 +275,7 @@ class Modules(interfaces.plugins.PluginInterface): Wraps `_do_get_session_layers` to produce a dictionary where each key is a session_id and the value is the name of the layer for that session """ - sessions: Dict[int, str] = {} - - for session_id, proc_layer_name in cls._do_get_session_layers( - context, kernel_module_name, pids - ): - sessions[session_id] = proc_layer_name - - return sessions + return dict(cls._do_get_session_layers(context, kernel_module_name, pids)) @classmethod def find_session_layer( From 2b9f61abeadfa12f4862301c5ea1edf5aa7bfcba Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 17:52:11 -0600 Subject: [PATCH 1501/2186] Code Review: Parameter renaming Makes it explicit that these are symbol table names, not actual symbol tables. --- .../framework/plugins/windows/poolscanner.py | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 75de8bb95..050a86c58 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -366,8 +366,8 @@ class PoolScanner(plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, kernel_layer_name: str, - kernel_symbol_table: str, - object_symbol_table: str, + kernel_symbol_table_name: str, + object_symbol_table_name: str, constraints: List[PoolConstraint], ) -> Generator[ Tuple[ @@ -396,18 +396,18 @@ class PoolScanner(plugins.PluginInterface): type_map = handles.Handles.get_type_map( context=context, layer_name=kernel_layer_name, - symbol_table=kernel_symbol_table, + symbol_table=kernel_symbol_table_name, ) cookie = handles.Handles.find_cookie( context=context, layer_name=kernel_layer_name, - symbol_table=kernel_symbol_table, + symbol_table=kernel_symbol_table_name, ) - is_windows_10 = versions.is_windows_10(context, kernel_symbol_table) + is_windows_10 = versions.is_windows_10(context, kernel_symbol_table_name) is_windows_8_or_later = versions.is_windows_8_or_later( - context, kernel_symbol_table + context, kernel_symbol_table_name ) # start off with the primary virtual layer @@ -417,14 +417,18 @@ class PoolScanner(plugins.PluginInterface): if not is_windows_10: scan_layer = context.layers[scan_layer].config["memory_layer"] - if symbols.symbol_table_is_64bit(context, kernel_symbol_table): + if symbols.symbol_table_is_64bit(context, kernel_symbol_table_name): alignment = 0x10 else: alignment = 8 # scan in the main kernel layer for the object(s) for constraint, header in cls.pool_scan( - context, scan_layer, object_symbol_table, constraints, alignment=alignment + context, + scan_layer, + object_symbol_table_name, + constraints, + alignment=alignment, ): # construct the object in its own layer, using its own types @@ -432,7 +436,7 @@ class PoolScanner(plugins.PluginInterface): constraint=constraint, use_top_down=is_windows_8_or_later, native_layer_name=kernel_layer_name, - kernel_symbol_table=kernel_symbol_table, + kernel_symbol_table=kernel_symbol_table_name, ) for mem_object in mem_objects: From 5c6107bf33e13e154c20bbcc382fc43390ad5904 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 17:27:45 -0600 Subject: [PATCH 1502/2186] Code Review (style): Use keyword args for clarity This updates a whole host of method calls to pass keyword arguments instead of positional arguments. --- volatility3/framework/layers/registry.py | 2 +- volatility3/framework/plugins/linux/bash.py | 2 +- .../framework/plugins/linux/malfind.py | 2 +- volatility3/framework/plugins/linux/psscan.py | 4 +++- volatility3/framework/plugins/mac/bash.py | 2 +- .../framework/plugins/windows/amcache.py | 8 ++++--- .../framework/plugins/windows/cachedump.py | 6 ++--- .../framework/plugins/windows/callbacks.py | 7 ++++-- .../framework/plugins/windows/cmdline.py | 4 ++-- .../framework/plugins/windows/cmdscan.py | 14 ++++++------ .../framework/plugins/windows/consoles.py | 14 +++++++----- .../plugins/windows/debugregisters.py | 4 +++- .../plugins/windows/direct_system_calls.py | 6 ++--- .../framework/plugins/windows/dlllist.py | 10 +++++---- .../framework/plugins/windows/driverirp.py | 6 +++-- .../framework/plugins/windows/drivermodule.py | 3 ++- .../framework/plugins/windows/dumpfiles.py | 4 ++-- .../framework/plugins/windows/envars.py | 10 ++++----- .../plugins/windows/getservicesids.py | 6 ++--- .../framework/plugins/windows/getsids.py | 10 ++++----- .../framework/plugins/windows/handles.py | 6 ++--- .../framework/plugins/windows/hashdump.py | 6 ++--- .../plugins/windows/hollowprocesses.py | 4 ++-- volatility3/framework/plugins/windows/iat.py | 4 ++-- volatility3/framework/plugins/windows/info.py | 9 +++++++- .../framework/plugins/windows/joblinks.py | 4 ++-- .../framework/plugins/windows/ldrmodules.py | 4 ++-- .../framework/plugins/windows/lsadump.py | 6 ++--- .../framework/plugins/windows/malfind.py | 6 ++--- .../framework/plugins/windows/mbrscan.py | 4 +++- .../framework/plugins/windows/memmap.py | 4 ++-- .../framework/plugins/windows/modules.py | 10 +++++---- .../framework/plugins/windows/netscan.py | 4 +++- .../framework/plugins/windows/netstat.py | 4 +++- .../plugins/windows/orphan_kernel_threads.py | 4 ++-- .../framework/plugins/windows/pe_symbols.py | 8 +++++-- .../framework/plugins/windows/pedump.py | 17 +++++++------- .../framework/plugins/windows/poolscanner.py | 8 +++++-- .../framework/plugins/windows/privileges.py | 4 ++-- .../plugins/windows/processghosting.py | 4 ++-- .../framework/plugins/windows/pstree.py | 4 +++- .../framework/plugins/windows/psxview.py | 4 +++- .../windows/registry/getcellroutine.py | 6 +++-- .../plugins/windows/registry/hivelist.py | 14 ++++++------ .../plugins/windows/registry/hivescan.py | 4 +++- .../plugins/windows/registry/printkey.py | 6 ++--- .../plugins/windows/registry/userassist.py | 6 ++--- .../plugins/windows/scheduled_tasks.py | 8 ++++--- .../framework/plugins/windows/sessions.py | 4 ++-- .../framework/plugins/windows/shimcachemem.py | 22 ++++++++++++++----- .../plugins/windows/skeleton_key_check.py | 8 ++++--- volatility3/framework/plugins/windows/ssdt.py | 6 ++--- .../framework/plugins/windows/strings.py | 10 +++++---- .../plugins/windows/suspended_threads.py | 8 +++++-- .../plugins/windows/suspicious_threads.py | 4 ++-- .../framework/plugins/windows/svcdiff.py | 2 +- .../framework/plugins/windows/svclist.py | 6 ++--- .../framework/plugins/windows/svcscan.py | 14 +++++++----- .../framework/plugins/windows/threads.py | 4 ++-- .../framework/plugins/windows/timers.py | 4 ++-- .../plugins/windows/unhooked_system_calls.py | 8 +++---- .../plugins/windows/unloadedmodules.py | 8 +++++-- .../framework/plugins/windows/vadinfo.py | 4 ++-- .../framework/plugins/windows/vadregexscan.py | 4 ++-- .../framework/plugins/windows/vadwalk.py | 4 ++-- .../framework/plugins/windows/vadyarascan.py | 4 ++-- .../framework/plugins/windows/verinfo.py | 6 +++-- .../plugins/windows/windowstations.py | 22 ++++++++++--------- .../symbols/linux/extensions/__init__.py | 8 +++++-- .../symbols/windows/extensions/__init__.py | 12 +++++++--- .../symbols/windows/extensions/pool.py | 4 +++- .../plugins/windows/registry/certificates.py | 6 ++--- 72 files changed, 286 insertions(+), 192 deletions(-) diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index 6d96a76a1..48dd2b624 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -66,7 +66,7 @@ class RegistryHive(linear.LinearlyMappedLayer): # Win10 17063 introduced the Registry process to map most hives. Check # if it exists and update RegistryHive._base_layer for proc in pslist.PsList.list_processes( - self.context, self.config["kernel_module_name"] + context=self.context, kernel_module_name=self.config["kernel_module_name"] ): proc_name = proc.ImageFileName.cast( "string", max_length=proc.ImageFileName.vol.count, errors="replace" diff --git a/volatility3/framework/plugins/linux/bash.py b/volatility3/framework/plugins/linux/bash.py index 8acfeb848..293c47224 100644 --- a/volatility3/framework/plugins/linux/bash.py +++ b/volatility3/framework/plugins/linux/bash.py @@ -46,7 +46,7 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): def _generator(self, tasks): vmlinux = self.context.modules[self.config["kernel"]] is_32bit = not symbols.symbol_table_is_64bit( - self.context, vmlinux.symbol_table_name + context=self.context, symbol_table_name=vmlinux.symbol_table_name ) if is_32bit: pack_format = "I" diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 297116890..8bbf3b89c 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -64,7 +64,7 @@ class Malfind(interfaces.plugins.PluginInterface): # determine if we're on a 32 or 64 bit kernel vmlinux = self.context.modules[self.config["kernel"]] is_32bit_arch = not symbols.symbol_table_is_64bit( - self.context, vmlinux.symbol_table_name + context=self.context, symbol_table_name=vmlinux.symbol_table_name ) for task in tasks: diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index ba68c4856..6c4c5eb35 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -84,7 +84,9 @@ class PsScan(interfaces.plugins.PluginInterface): vmlinux = context.modules[vmlinux_module_name] # check if this image is 32bit or 64bit - is_32bit = not symbols.symbol_table_is_64bit(context, vmlinux.symbol_table_name) + is_32bit = not symbols.symbol_table_is_64bit( + context=context, symbol_table_name=vmlinux.symbol_table_name + ) if is_32bit: pack_format = "I" else: diff --git a/volatility3/framework/plugins/mac/bash.py b/volatility3/framework/plugins/mac/bash.py index a52ae616a..5be5e74d6 100644 --- a/volatility3/framework/plugins/mac/bash.py +++ b/volatility3/framework/plugins/mac/bash.py @@ -44,7 +44,7 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): def _generator(self, tasks): darwin = self.context.modules[self.config["kernel"]] is_32bit = not symbols.symbol_table_is_64bit( - self.context, darwin.symbol_table_name + context=self.context, symbol_table_name=darwin.symbol_table_name ) if is_32bit: pack_format = "I" diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index 2ce1ead02..133297de3 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -259,9 +259,11 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Retrieves the `Amcache.hve` registry hive from the kernel module, if it can be located.""" return next( hivelist.HiveList.list_hives( - context, - interfaces.configuration.path_join(config_path, "hivelist"), - kernel_module_name, + context=context, + base_config_path=interfaces.configuration.path_join( + config_path, "hivelist" + ), + kernel_module_name=kernel_module_name, filter_string="amcache", ), None, diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index 5f5862e36..ef4096b42 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -171,9 +171,9 @@ class Cachedump(interfaces.plugins.PluginInterface): syshive = sechive = None for hive in hivelist.HiveList.list_hives( - self.context, - self.config_path, - self.config["kernel"], + context=self.context, + base_config_path=self.config_path, + kernel_module_name=self.config["kernel"], hive_offsets=None if offset is None else [offset], ): if hive.get_name().split("\\")[-1].upper() == "SYSTEM": diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index 035ed9091..08e343ec7 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -187,7 +187,9 @@ class Callbacks(interfaces.plugins.PluginInterface): The name of the constructed symbol table """ native_types = context.symbol_space[nt_symbol_table].natives - is_64bit = symbols.symbol_table_is_64bit(context, nt_symbol_table) + is_64bit = symbols.symbol_table_is_64bit( + context=context, symbol_table_name=nt_symbol_table + ) table_mapping = {"nt_symbols": nt_symbol_table} if is_64bit: @@ -691,7 +693,8 @@ class Callbacks(interfaces.plugins.PluginInterface): ) collection = ssdt.SSDT.build_module_collection( - self.context, self.config["kernel"] + context=self.context, + kernel_module_name=self.config["kernel"], ) callback_methods = ( diff --git a/volatility3/framework/plugins/windows/cmdline.py b/volatility3/framework/plugins/windows/cmdline.py index dbfac35bf..c095cff9e 100644 --- a/volatility3/framework/plugins/windows/cmdline.py +++ b/volatility3/framework/plugins/windows/cmdline.py @@ -106,8 +106,8 @@ class CmdLine(interfaces.plugins.PluginInterface): [("PID", int), ("Process", str), ("Args", str)], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index fd0dd76b9..be955374b 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -286,11 +286,11 @@ class CmdScan(interfaces.plugins.PluginInterface): if no_registry is False: max_history, _ = consoles.Consoles.get_console_settings_from_registry( - self.context, - self.config_path, - self.config["kernel"], - max_history, - [], + context=self.context, + config_path=self.config_path, + kernel_module_name=self.config["kernel"], + max_history=max_history, + max_buffers=[], ) vollog.debug(f"Possible CommandHistorySize values: {max_history}") @@ -370,8 +370,8 @@ class CmdScan(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=self._conhost_proc_filter, ) ), diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index a4003956f..ff5875354 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -149,7 +149,9 @@ class Consoles(interfaces.plugins.PluginInterface): The filename of the symbol table to use and the associated class types. """ - is_64bit = symbols.symbol_table_is_64bit(context, nt_symbol_table) + is_64bit = symbols.symbol_table_is_64bit( + context=context, symbol_table_name=nt_symbol_table + ) if is_64bit: arch = "x64" @@ -824,9 +826,9 @@ class Consoles(interfaces.plugins.PluginInterface): ) for hive in hivelist.HiveList.list_hives( - context, - config_path, - kernel_module_name, + context=context, + base_config_path=config_path, + kernel_module_name=kernel_module_name, hive_offsets=None, ): try: @@ -943,8 +945,8 @@ class Consoles(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=self._conhost_proc_filter, ) ), diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index 394c30e25..d1404b69f 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -117,7 +117,9 @@ class DebugRegisters(interfaces.plugins.PluginInterface): proc_modules = None - procs = pslist.PsList.list_processes(self.context, self.config["kernel"]) + procs = pslist.PsList.list_processes( + context=self.context, kernel_module_name=self.config["kernel"] + ) for proc in procs: for thread in threads.Threads.list_threads(kernel, proc): diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index eaf35e842..9d5b81507 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -354,12 +354,12 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): kernel = context.modules[kernel_module_name] is_32bit_arch = not symbols.symbol_table_is_64bit( - context, kernel.symbol_table_name + context=context, symbol_table_name=kernel.symbol_table_name ) for proc in pslist.PsList.list_processes( - context, - kernel_module_name, + context=context, + kernel_module_name=kernel_module_name, filter_func=filter_func, ): proc_name = utility.array_to_string(proc.ImageFileName) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index b609b4fc3..7efc8a7eb 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -13,7 +13,7 @@ from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows.extensions import pe from volatility3.plugins import timeliner -from volatility3.plugins.windows import info, pslist, psscan, pedump +from volatility3.plugins.windows import info, pedump, pslist, psscan vollog = logging.getLogger(__name__) @@ -192,7 +192,9 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): def generate_timeline(self): for row in self._generator( - pslist.PsList.list_processes(self.context, self.config["kernel"]) + pslist.PsList.list_processes( + context=self.context, kernel_module_name=self.config["kernel"] + ) ): _depth, row_data = row if not isinstance(row_data[6], datetime.datetime): @@ -217,8 +219,8 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) else: procs = pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) diff --git a/volatility3/framework/plugins/windows/driverirp.py b/volatility3/framework/plugins/windows/driverirp.py index 2fc699e79..20d8ac170 100644 --- a/volatility3/framework/plugins/windows/driverirp.py +++ b/volatility3/framework/plugins/windows/driverirp.py @@ -71,11 +71,13 @@ class DriverIrp(interfaces.plugins.PluginInterface): def _generator(self): collection = ssdt.SSDT.build_module_collection( - self.context, self.config["kernel"] + context=self.context, + kernel_module_name=self.config["kernel"], ) kernel_space_start = modules.Modules.get_kernel_space_start( - self.context, self.config["kernel"] + context=self.context, + module_name=self.config["kernel"], ) for driver in driverscan.DriverScan.scan_drivers( diff --git a/volatility3/framework/plugins/windows/drivermodule.py b/volatility3/framework/plugins/windows/drivermodule.py index 9b4c78ae8..97e9e5b3c 100644 --- a/volatility3/framework/plugins/windows/drivermodule.py +++ b/volatility3/framework/plugins/windows/drivermodule.py @@ -43,7 +43,8 @@ class DriverModule(interfaces.plugins.PluginInterface): which allows us to detect the disconnect between a malicious driver and its hidden module. """ collection = ssdt.SSDT.build_module_collection( - self.context, self.config["kernel"] + context=self.context, + kernel_module_name=self.config["kernel"], ) kernel_space_start = modules.Modules.get_kernel_space_start( diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index 74a328f78..e89b99275 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -371,8 +371,8 @@ class DumpFiles(interfaces.plugins.PluginInterface): [self.config.get("pid", None)] ) procs = pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) diff --git a/volatility3/framework/plugins/windows/envars.py b/volatility3/framework/plugins/windows/envars.py index f390c09d5..6f0f8fec1 100644 --- a/volatility3/framework/plugins/windows/envars.py +++ b/volatility3/framework/plugins/windows/envars.py @@ -60,9 +60,9 @@ class Envars(interfaces.plugins.PluginInterface): values = [] for hive in hivelist.HiveList.list_hives( - self.context, - self.config_path, - self.config["kernel"], + context=self.context, + base_config_path=self.config_path, + kernel_module_name=self.config["kernel"], hive_offsets=None, ): ## The global variables @@ -225,8 +225,8 @@ class Envars(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/getservicesids.py b/volatility3/framework/plugins/windows/getservicesids.py index c222d55b1..6c0040b98 100644 --- a/volatility3/framework/plugins/windows/getservicesids.py +++ b/volatility3/framework/plugins/windows/getservicesids.py @@ -76,9 +76,9 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface): def _generator(self): # Get the system hive for hive in hivelist.HiveList.list_hives( - self.context, - self.config_path, - self.config["kernel"], + context=self.context, + base_config_path=self.config_path, + kernel_module_name=self.config["kernel"], filter_string="machine\\system", hive_offsets=None, ): diff --git a/volatility3/framework/plugins/windows/getsids.py b/volatility3/framework/plugins/windows/getsids.py index ba1820a30..710b98bb6 100644 --- a/volatility3/framework/plugins/windows/getsids.py +++ b/volatility3/framework/plugins/windows/getsids.py @@ -104,9 +104,9 @@ class GetSIDs(interfaces.plugins.PluginInterface): sids = {} for hive in hivelist.HiveList.list_hives( - self.context, - self.config_path, - self.config["kernel"], + context=self.context, + base_config_path=self.config_path, + kernel_module_name=self.config["kernel"], filter_string="config\\software", hive_offsets=None, ): @@ -220,8 +220,8 @@ class GetSIDs(interfaces.plugins.PluginInterface): [("PID", int), ("Process", str), ("SID", str), ("Name", str)], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index d9e97c1b5..4d21cc9d9 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -78,7 +78,7 @@ class Handles(interfaces.plugins.PluginInterface): except AttributeError: # starting with windows 8 is_64bit = symbols.symbol_table_is_64bit( - self.context, kernel.symbol_table_name + context=self.context, symbol_table_name=kernel.symbol_table_name ) if is_64bit: @@ -393,8 +393,8 @@ class Handles(interfaces.plugins.PluginInterface): ) else: procs = pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index 5fdfd549f..fa4081366 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -594,9 +594,9 @@ class Hashdump(interfaces.plugins.PluginInterface): syshive = None samhive = None for hive in hivelist.HiveList.list_hives( - self.context, - self.config_path, - self.config["kernel"], + context=self.context, + base_config_path=self.config_path, + kernel_module_name=self.config["kernel"], hive_offsets=None if offset is None else [offset], ): if hive.get_name().split("\\")[-1].upper() == "SYSTEM": diff --git a/volatility3/framework/plugins/windows/hollowprocesses.py b/volatility3/framework/plugins/windows/hollowprocesses.py index 7990cb112..af559bfbc 100644 --- a/volatility3/framework/plugins/windows/hollowprocesses.py +++ b/volatility3/framework/plugins/windows/hollowprocesses.py @@ -214,8 +214,8 @@ class HollowProcesses(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/iat.py b/volatility3/framework/plugins/windows/iat.py index 0fe39e685..701db5734 100644 --- a/volatility3/framework/plugins/windows/iat.py +++ b/volatility3/framework/plugins/windows/iat.py @@ -137,8 +137,8 @@ class IAT(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=pslist.PsList.create_pid_filter( self.config.get("pid", None) ), diff --git a/volatility3/framework/plugins/windows/info.py b/volatility3/framework/plugins/windows/info.py index efaf1f737..e20af8114 100644 --- a/volatility3/framework/plugins/windows/info.py +++ b/volatility3/framework/plugins/windows/info.py @@ -207,7 +207,14 @@ class Info(plugins.PluginInterface): yield (0, ("Symbols", table.config["isf_url"])) yield ( 0, - ("Is64Bit", str(symbols.symbol_table_is_64bit(self.context, symbol_table))), + ( + "Is64Bit", + str( + symbols.symbol_table_is_64bit( + context=self.context, symbol_table_name=symbol_table + ) + ), + ), ) yield ( 0, diff --git a/volatility3/framework/plugins/windows/joblinks.py b/volatility3/framework/plugins/windows/joblinks.py index f6a59d7d1..a7fa4e709 100644 --- a/volatility3/framework/plugins/windows/joblinks.py +++ b/volatility3/framework/plugins/windows/joblinks.py @@ -46,8 +46,8 @@ class JobLinks(interfaces.plugins.PluginInterface): memory = self.context.layers[kernel.layer_name] for proc in pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], ): try: if not self.config["physical"]: diff --git a/volatility3/framework/plugins/windows/ldrmodules.py b/volatility3/framework/plugins/windows/ldrmodules.py index e1eb14599..32432c44e 100644 --- a/volatility3/framework/plugins/windows/ldrmodules.py +++ b/volatility3/framework/plugins/windows/ldrmodules.py @@ -120,8 +120,8 @@ class LdrModules(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index eb83352e0..ac2b678f6 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -211,9 +211,9 @@ class Lsadump(interfaces.plugins.PluginInterface): syshive = sechive = None for hive in hivelist.HiveList.list_hives( - self.context, - self.config_path, - self.config["kernel"], + context=self.context, + base_config_path=self.config_path, + kernel_module_name=self.config["kernel"], hive_offsets=None if offset is None else [offset], ): if hive.get_name().split("\\")[-1].upper() == "SYSTEM": diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 9d79be9dd..33a20ee51 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -172,7 +172,7 @@ class Malfind(interfaces.plugins.PluginInterface): } is_32bit_arch = not symbols.symbol_table_is_64bit( - self.context, kernel.symbol_table_name + context=self.context, symbol_table_name=kernel.symbol_table_name ) for proc in procs: @@ -256,8 +256,8 @@ class Malfind(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/mbrscan.py b/volatility3/framework/plugins/windows/mbrscan.py index e58ca8c24..4d5198181 100644 --- a/volatility3/framework/plugins/windows/mbrscan.py +++ b/volatility3/framework/plugins/windows/mbrscan.py @@ -53,7 +53,9 @@ class MBRScan(interfaces.plugins.PluginInterface): layer = self.context.layers[physical_layer_name] architecture = ( "intel" - if not symbols.symbol_table_is_64bit(self.context, kernel.symbol_table_name) + if not symbols.symbol_table_is_64bit( + context=self.context, symbol_table_name=kernel.symbol_table_name + ) else "intel64" ) diff --git a/volatility3/framework/plugins/windows/memmap.py b/volatility3/framework/plugins/windows/memmap.py index 790c37aab..5a7bd1b9a 100644 --- a/volatility3/framework/plugins/windows/memmap.py +++ b/volatility3/framework/plugins/windows/memmap.py @@ -108,8 +108,8 @@ class Memmap(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index ee42b665b..6ec16af1b 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -92,7 +92,7 @@ class Modules(interfaces.plugins.PluginInterface): session_layers = list( self.get_session_layers( - self.context, + context=self.context, kernel_module_name=self.config["kernel"], ) ) @@ -140,7 +140,9 @@ class Modules(interfaces.plugins.PluginInterface): module = context.modules[module_name] # default is used if/when MmSystemRangeStart is paged out - if symbols.symbol_table_is_64bit(context, module.symbol_table_name): + if symbols.symbol_table_is_64bit( + context=context, symbol_table_name=module.symbol_table_name + ): object_type = "unsigned long long" default_start = 0xFFFF800000000000 else: @@ -188,8 +190,8 @@ class Modules(interfaces.plugins.PluginInterface): kernel = context.modules[kernel_module_name] for proc in pslist.PsList.list_processes( - context, - kernel_module_name, + context=context, + kernel_module_name=kernel_module_name, filter_func=filter_func, ): proc_id = "Unknown" diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index c30792908..6f98547d7 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -137,7 +137,9 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # therefore we determine the version based on the kernel version as testing # with several windows versions has showed this to work out correctly. - is_64bit = symbols.symbol_table_is_64bit(context, nt_symbol_table) + is_64bit = symbols.symbol_table_is_64bit( + context=context, symbol_table_name=nt_symbol_table + ) is_18363_or_later = versions.is_win10_18363_or_later( context=context, symbol_table=nt_symbol_table diff --git a/volatility3/framework/plugins/windows/netstat.py b/volatility3/framework/plugins/windows/netstat.py index 5b5b56ae3..5daa6cc79 100644 --- a/volatility3/framework/plugins/windows/netstat.py +++ b/volatility3/framework/plugins/windows/netstat.py @@ -319,7 +319,9 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): Returns: The list of TCP endpoint objects from the `layer_name` layer's `PartitionTable` """ - if symbols.symbol_table_is_64bit(context, net_symbol_table): + if symbols.symbol_table_is_64bit( + context=context, symbol_table_name=net_symbol_table + ): alignment = 0x10 else: alignment = 8 diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py index bae1160d6..151fe88c9 100644 --- a/volatility3/framework/plugins/windows/orphan_kernel_threads.py +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -60,8 +60,8 @@ class Threads(thrdscan.ThrdScan): A generator of thread objects of orphaned threads """ collection = ssdt.SSDT.build_module_collection( - context, - kernel_module_name, + context=context, + kernel_module_name=kernel_module_name, ) kernel_space_start = modules.Modules.get_kernel_space_start( diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 555010ac9..270c6a174 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -803,7 +803,9 @@ class PESymbols(interfaces.plugins.PluginInterface): filter_modules_check = None session_layers = list( - modules.Modules.get_session_layers(context, kernel_module_name) + modules.Modules.get_session_layers( + context=context, kernel_module_name=kernel_module_name + ) ) # special handling for the kernel @@ -917,7 +919,9 @@ class PESymbols(interfaces.plugins.PluginInterface): Args: Generator[Tuple[interfaces.objects.ObjectInterface, str, ranges_type]]: Yields tuple of process objects, layers, and VADs mapping files """ - procs = pslist.PsList.list_processes(context, kernel_module_name) + procs = pslist.PsList.list_processes( + context=context, kernel_module_name=kernel_module_name + ) for proc in procs: try: diff --git a/volatility3/framework/plugins/windows/pedump.py b/volatility3/framework/plugins/windows/pedump.py index 5f2a1d737..9f125410c 100644 --- a/volatility3/framework/plugins/windows/pedump.py +++ b/volatility3/framework/plugins/windows/pedump.py @@ -161,7 +161,9 @@ class PEDump(interfaces.plugins.PluginInterface): """ Extracts a PE file from kernel memory at the given base address """ - session_layers = modules.Modules.get_session_layers(context, kernel_module_name) + session_layers = modules.Modules.get_session_layers( + context=context, kernel_module_name=kernel_module_name + ) session_layer_name = modules.Modules.find_session_layer( context, session_layers, base @@ -195,8 +197,7 @@ class PEDump(interfaces.plugins.PluginInterface): for proc in pslist.PsList.list_processes( context=context, - layer_name=kernel.layer_name, - symbol_table_name=kernel.symbol_table_name, + kernel_module_name=kernel.name, filter_func=filter_func, ): pid = proc.UniqueProcessId @@ -237,11 +238,11 @@ class PEDump(interfaces.plugins.PluginInterface): if self.config["kernel_module"]: pe_files = self.dump_kernel_pe_at_base( - self.context, - self.config["kernel"], - pe_table_name, - self.open, - self.config["base"], + context=self.context, + kernel_module_name=self.config["kernel"], + pe_table_name=pe_table_name, + open_method=self.open, + base=self.config["base"], ) else: filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 050a86c58..af19cd035 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -417,7 +417,9 @@ class PoolScanner(plugins.PluginInterface): if not is_windows_10: scan_layer = context.layers[scan_layer].config["memory_layer"] - if symbols.symbol_table_is_64bit(context, kernel_symbol_table_name): + if symbols.symbol_table_is_64bit( + context=context, symbol_table_name=kernel_symbol_table_name + ): alignment = 0x10 else: alignment = 8 @@ -565,7 +567,9 @@ class PoolScanner(plugins.PluginInterface): except exceptions.SymbolError: # We have to manually load a symbol table - if symbols.symbol_table_is_64bit(context, symbol_table): + if symbols.symbol_table_is_64bit( + context=context, symbol_table_name=symbol_table + ): is_win_7 = versions.is_windows_7(context, symbol_table) if is_win_7: pool_header_json_filename = "poolheader-x64-win7" diff --git a/volatility3/framework/plugins/windows/privileges.py b/volatility3/framework/plugins/windows/privileges.py index a0282e8c8..e41915442 100644 --- a/volatility3/framework/plugins/windows/privileges.py +++ b/volatility3/framework/plugins/windows/privileges.py @@ -119,8 +119,8 @@ class Privs(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/processghosting.py b/volatility3/framework/plugins/windows/processghosting.py index b94adee47..5bc6bc5a3 100644 --- a/volatility3/framework/plugins/windows/processghosting.py +++ b/volatility3/framework/plugins/windows/processghosting.py @@ -94,8 +94,8 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/pstree.py b/volatility3/framework/plugins/windows/pstree.py index d0cea43ff..24f7e2356 100644 --- a/volatility3/framework/plugins/windows/pstree.py +++ b/volatility3/framework/plugins/windows/pstree.py @@ -84,7 +84,9 @@ class PsTree(interfaces.plugins.PluginInterface): """Generates the Tree of processes.""" kernel = self.context.modules[self.config["kernel"]] - for proc in pslist.PsList.list_processes(self.context, self.config["kernel"]): + for proc in pslist.PsList.list_processes( + context=self.context, kernel_module_name=self.config["kernel"] + ): if not self.config.get("physical", pslist.PsList.PHYSICAL_DEFAULT): offset = proc.vol.offset else: diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index f7df979a8..89ef897cb 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -182,7 +182,9 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter kernel = self.context.modules[self.config["kernel"]] kdbg_list_processes = list( - pslist.PsList.list_processes(self.context, self.config["kernel"]) + pslist.PsList.list_processes( + context=self.context, kernel_module_name=self.config["kernel"] + ) ) # get processes from each source diff --git a/volatility3/framework/plugins/windows/registry/getcellroutine.py b/volatility3/framework/plugins/windows/registry/getcellroutine.py index 724ed1c9d..5be4254ba 100644 --- a/volatility3/framework/plugins/windows/registry/getcellroutine.py +++ b/volatility3/framework/plugins/windows/registry/getcellroutine.py @@ -37,13 +37,15 @@ class GetCellRoutine(interfaces.plugins.PluginInterface): def _generator(self): collection = ssdt.SSDT.build_module_collection( - self.context, self.config["kernel"] + context=self.context, kernel_module_name=self.config["kernel"] ) # walk each hive and validate that the GetCellRoutine handler # is inside of the kernel (ntoskrnl) for hive_object in hivelist.HiveList.list_hives( - self.context, self.config_path, self.config["kernel"] + context=self.context, + base_config_path=self.config_path, + kernel_module_name=self.config["kernel"], ): hive = hive_object.hive diff --git a/volatility3/framework/plugins/windows/registry/hivelist.py b/volatility3/framework/plugins/windows/registry/hivelist.py index 60ac0445e..fefd24b67 100644 --- a/volatility3/framework/plugins/windows/registry/hivelist.py +++ b/volatility3/framework/plugins/windows/registry/hivelist.py @@ -95,9 +95,9 @@ class HiveList(interfaces.plugins.PluginInterface): # Construct the hive hive = next( self.list_hives( - self.context, - self.config_path, - self.config["kernel"], + context=self.context, + base_config_path=self.config_path, + kernel_module_name=self.config["kernel"], hive_offsets=[hive_object.vol.offset], ) ) @@ -162,10 +162,10 @@ class HiveList(interfaces.plugins.PluginInterface): hive_offsets = [ hive.vol.offset for hive in cls.list_hive_objects( - context, - kernel.layer_name, - kernel.symbol_table_name, - filter_string, + context=context, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, + filter_string=filter_string, ) ] except ImportError: diff --git a/volatility3/framework/plugins/windows/registry/hivescan.py b/volatility3/framework/plugins/windows/registry/hivescan.py index 58ed63b4e..d91eeafc2 100644 --- a/volatility3/framework/plugins/windows/registry/hivescan.py +++ b/volatility3/framework/plugins/windows/registry/hivescan.py @@ -50,7 +50,9 @@ class HiveScan(interfaces.plugins.PluginInterface): kernel = context.modules[kernel_name] - is_64bit = symbols.symbol_table_is_64bit(context, kernel.symbol_table_name) + is_64bit = symbols.symbol_table_is_64bit( + context=context, symbol_table_name=kernel.symbol_table_name + ) is_windows_8_1_or_later = versions.is_windows_8_1_or_later( context=context, symbol_table=kernel.symbol_table_name ) diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index c14fcf507..71a54040c 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -245,9 +245,9 @@ class PrintKey(interfaces.plugins.PluginInterface): recurse: bool = False, ): for hive in hivelist.HiveList.list_hives( - self.context, - self.config_path, - self.config["kernel"], + context=self.context, + base_config_path=self.config_path, + kernel_module_name=self.config["kernel"], hive_offsets=hive_offsets, ): try: diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index 0e5d3c90c..e2e1436a8 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -302,9 +302,9 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac # get all the user hive offsets or use the one specified for hive in hivelist.HiveList.list_hives( - self.context, - self.config_path, - self.config["kernel"], + context=self.context, + base_config_path=self.config_path, + kernel_module_name=self.config["kernel"], filter_string="ntuser.dat", hive_offsets=hive_offsets, ): diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 67b88d8fc..c437d8654 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -1140,9 +1140,11 @@ information about triggers, actions, run times, and creation times.""" """Retrieves the `Amcache.hve` registry hive from the kernel module, if it can be located.""" return next( hivelist.HiveList.list_hives( - context, - interfaces.configuration.path_join(config_path, "hivelist"), - kernel_module_name, + context=context, + base_config_path=interfaces.configuration.path_join( + config_path, "hivelist" + ), + kernel_module_name=kernel_module_name, filter_string="SOFTWARE", ), None, diff --git a/volatility3/framework/plugins/windows/sessions.py b/volatility3/framework/plugins/windows/sessions.py index 99a3cf335..73a537cd4 100644 --- a/volatility3/framework/plugins/windows/sessions.py +++ b/volatility3/framework/plugins/windows/sessions.py @@ -45,8 +45,8 @@ class Sessions(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) sessions = {} for proc in pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ): session_id = proc.get_session_id() diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index 46045087f..f26bf3d6b 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -93,7 +93,9 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf The name of the constructed shimcache table """ native_types = context.symbol_space[symbol_table_name].natives - is_64bit = symbols.symbol_table_is_64bit(context, symbol_table_name) + is_64bit = symbols.symbol_table_is_64bit( + context=context, symbol_table_name=symbol_table_name + ) table_mapping = {"nt_symbols": symbol_table_name} try: @@ -260,7 +262,11 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf mod_page_offset, mod_page_size = mod_page addr_size = ( - 8 if symbols.symbol_table_is_64bit(context, kernel.symbol_table_name) else 4 + 8 + if symbols.symbol_table_is_64bit( + context=context, symbol_table_name=kernel.symbol_table_name + ) + else 4 ) shim_head = None @@ -322,7 +328,9 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf ).size ersrc_alignment = ( 0x20 - if symbols.symbol_table_is_64bit(context, kernel.symbol_table_name) + if symbols.symbol_table_is_64bit( + context=context, symbol_table_name=kernel.symbol_table_name + ) else 0x10 # 0x20 if context.symbol_space.get_type("pointer").size == 8 else 0x10 ) @@ -420,7 +428,9 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf data_sec_offset + data_sec_size, ( 8 - if symbols.symbol_table_is_64bit(context, kernel.symbol_table_name) + if symbols.symbol_table_is_64bit( + context=context, symbol_table_name=kernel.symbol_table_name + ) else 4 ), ): @@ -448,7 +458,9 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf # On Windows 8 x64, the first cache contains the shim cache. # On Windows 8 x86, 8.1 x86/x64, and 10, the second cache contains the shim cache. if ( - not symbols.symbol_table_is_64bit(context, kernel.symbol_table_name) + not symbols.symbol_table_is_64bit( + context=context, symbol_table_name=kernel.symbol_table_name + ) and not is_8_1_or_later ): valid_head = shim_heads[1] diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index b57683f04..bd32d1987 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -568,7 +568,9 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): """ kernel = self.context.modules[self.config["kernel"]] - if not symbols.symbol_table_is_64bit(self.context, kernel.symbol_table_name): + if not symbols.symbol_table_is_64bit( + context=self.context, symbol_table_name=kernel.symbol_table_name + ): vollog.info("This plugin only supports 64bit Windows memory samples") return None @@ -670,8 +672,8 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=self._lsass_proc_filter, ) ), diff --git a/volatility3/framework/plugins/windows/ssdt.py b/volatility3/framework/plugins/windows/ssdt.py index 471dc9e18..ed7d1310d 100644 --- a/volatility3/framework/plugins/windows/ssdt.py +++ b/volatility3/framework/plugins/windows/ssdt.py @@ -83,8 +83,8 @@ class SSDT(plugins.PluginInterface): kernel = self.context.modules[self.config["kernel"]] collection = self.build_module_collection( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], ) ntkrnlmp = kernel @@ -101,7 +101,7 @@ class SSDT(plugins.PluginInterface): # on 64-bit systems the indexes are also 32-bits but they're offsets from the # base address of the table and can be negative, so we need a signed data type is_kernel_64 = symbols.symbol_table_is_64bit( - self.context, kernel.symbol_table_name + context=self.context, symbol_table_name=kernel.symbol_table_name ) if is_kernel_64: array_subtype = "long" diff --git a/volatility3/framework/plugins/windows/strings.py b/volatility3/framework/plugins/windows/strings.py index b5a2b7145..0ec07d719 100644 --- a/volatility3/framework/plugins/windows/strings.py +++ b/volatility3/framework/plugins/windows/strings.py @@ -73,8 +73,8 @@ class Strings(interfaces.plugins.PluginInterface): line = strings_fp.readline() revmap = self.generate_mapping( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], progress_callback=self._progress_callback, pid_list=self.config["pid"], ) @@ -161,9 +161,11 @@ class Strings(interfaces.plugins.PluginInterface): # TODO: Include kernel modules - for process in pslist.PsList.list_processes(context, kernel_module_name): + for process in pslist.PsList.list_processes( + context=context, kernel_module_name=kernel_module_name + ): if not filter(process): - proc_id = "Unknown" + kernel_module_name = proc_id = "Unknown" try: proc_id = process.UniqueProcessId proc_layer_name = process.add_process_layer() diff --git a/volatility3/framework/plugins/windows/suspended_threads.py b/volatility3/framework/plugins/windows/suspended_threads.py index 2c3d584df..f83a201b5 100644 --- a/volatility3/framework/plugins/windows/suspended_threads.py +++ b/volatility3/framework/plugins/windows/suspended_threads.py @@ -61,7 +61,9 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): proc_modules = None # walk the threads of each process checking for suspended threads - for proc in pslist.PsList.list_processes(self.context, self.config["kernel"]): + for proc in pslist.PsList.list_processes( + context=self.context, kernel_module_name=self.config["kernel"] + ): for thread in threads.Threads.list_threads(kernel, proc): try: # we only care if the thread is suspended @@ -92,7 +94,9 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): # will not have suspended threads if not proc_modules: proc_modules = pe_symbols.PESymbols.get_process_modules( - self.context, self.config["kernel"], None + context=self.context, + kernel_module_name=self.config["kernel"], + filter_modules=None, ) path_and_symbol = functools.partial( diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py index 938c6a940..41affcbc7 100644 --- a/volatility3/framework/plugins/windows/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -138,8 +138,8 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) for proc in pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ): ranges = self._get_ranges(kernel, all_ranges, proc) diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py index ca9bcfb75..d2c3da3d3 100644 --- a/volatility3/framework/plugins/windows/svcdiff.py +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -65,7 +65,7 @@ class SvcDiff(svcscan.SvcScan): kernel = context.modules[kernel_module_name] if not symbols.symbol_table_is_64bit( - context, kernel.symbol_table_name + context=context, symbol_table_name=kernel.symbol_table_name ) or not versions.is_win10_15063_or_later( context=context, symbol_table=kernel.symbol_table_name ): diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index 00782c543..00d4aa647 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -70,7 +70,7 @@ class SvcList(svcscan.SvcScan): kernel = context.modules[kernel_module_name] if not symbols.symbol_table_is_64bit( - context, kernel.symbol_table_name + context=context, symbol_table_name=kernel.symbol_table_name ) or not versions.is_win10_15063_or_later( context=context, symbol_table=kernel.symbol_table_name ): @@ -80,8 +80,8 @@ class SvcList(svcscan.SvcScan): return for proc in pslist.PsList.list_processes( - context, - kernel_module_name, + context=context, + kernel_module_name=kernel_module_name, filter_func=filter_func, ): try: diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 602e7fbd5..653995f90 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -121,7 +121,9 @@ class SvcScan(interfaces.plugins.PluginInterface): A symbol table containing the symbols necessary for services """ native_types = context.symbol_space[symbol_table_name].natives - is_64bit = symbols.symbol_table_is_64bit(context, symbol_table_name) + is_64bit = symbols.symbol_table_is_64bit( + context=context, symbol_table_name=symbol_table_name + ) try: symbol_filename = next( @@ -148,9 +150,11 @@ class SvcScan(interfaces.plugins.PluginInterface): ) -> Optional[objects.StructType]: for hive in hivelist.HiveList.list_hives( - context, - interfaces.configuration.path_join(config_path, "hivelist"), - kernel_module_name, + context=context, + base_config_path=interfaces.configuration.path_join( + config_path, "hivelist" + ), + kernel_module_name=kernel_module_name, filter_string="machine\\system", ): # Get ControlSet\Services. @@ -300,7 +304,7 @@ class SvcScan(interfaces.plugins.PluginInterface): for task in pslist.PsList.list_processes( context, - kernel_module_name, + kernel_module_name=kernel_module_name, filter_func=filter_func, ): proc_id = "Unknown" diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index 806caaa52..f6d542357 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -69,8 +69,8 @@ class Threads(thrdscan.ThrdScan): filter_func = pslist.PsList.create_pid_filter(context.config.get("pid", None)) for proc in pslist.PsList.list_processes( - context, - kernel_module_name, + context=context, + kernel_module_name=kernel_module_name, filter_func=filter_func, ): yield from cls.list_threads(module, proc) diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py index 4bf574143..d08bc59dd 100644 --- a/volatility3/framework/plugins/windows/timers.py +++ b/volatility3/framework/plugins/windows/timers.py @@ -124,8 +124,8 @@ class Timers(interfaces.plugins.PluginInterface): kernel = self.context.modules[self.config["kernel"]] collection = ssdt.SSDT.build_module_collection( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], ) # FIXME - the list_timers API is gross. Fix after GUI merge diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index c941ff768..8882ff46f 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -151,10 +151,10 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): def _generator(self) -> Generator[Tuple[int, Tuple[str, str, int]], None, None]: found_symbols = pe_symbols.PESymbols.addresses_for_process_symbols( - self.context, - self.config_path, - self.config["kernel"], - unhooked_system_calls.system_calls, + context=self.context, + config_path=self.config_path, + kernel_module_name=self.config["kernel"], + symbols=unhooked_system_calls.system_calls, ) # code_bytes[dll_name][func_name][func_bytes] diff --git a/volatility3/framework/plugins/windows/unloadedmodules.py b/volatility3/framework/plugins/windows/unloadedmodules.py index 178fe65c5..90ad0fdb5 100644 --- a/volatility3/framework/plugins/windows/unloadedmodules.py +++ b/volatility3/framework/plugins/windows/unloadedmodules.py @@ -52,7 +52,9 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt The name of the constructed unloaded modules table """ native_types = context.symbol_space[symbol_table].natives - is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) + is_64bit = symbols.symbol_table_is_64bit( + context=context, symbol_table_name=symbol_table + ) table_mapping = {"nt_symbols": symbol_table} if is_64bit: @@ -100,7 +102,9 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt offset=unloadedmodules_offset, subtype="array", ) - is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) + is_64bit = symbols.symbol_table_is_64bit( + context=context, symbol_table_name=symbol_table + ) if is_64bit: unloaded_count_type = "unsigned long long" diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 46afcaca8..2b1d3f4bc 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -292,8 +292,8 @@ class VadInfo(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/vadregexscan.py b/volatility3/framework/plugins/windows/vadregexscan.py index 0d9b6a72e..5d2356f54 100644 --- a/volatility3/framework/plugins/windows/vadregexscan.py +++ b/volatility3/framework/plugins/windows/vadregexscan.py @@ -112,8 +112,8 @@ class VadRegExScan(plugins.PluginInterface): def run(self): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) procs = pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) return renderers.TreeGrid( diff --git a/volatility3/framework/plugins/windows/vadwalk.py b/volatility3/framework/plugins/windows/vadwalk.py index 0d6a8b245..cc8105e0c 100644 --- a/volatility3/framework/plugins/windows/vadwalk.py +++ b/volatility3/framework/plugins/windows/vadwalk.py @@ -83,8 +83,8 @@ class VadWalk(interfaces.plugins.PluginInterface): ], self._generator( pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ) ), diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 2dd2dec26..a19206e22 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -60,8 +60,8 @@ class VadYaraScan(interfaces.plugins.PluginInterface): sanity_check = 1024 * 1024 * 1024 # 1 GB for task in pslist.PsList.list_processes( - self.context, - self.config["kernel"], + context=self.context, + kernel_module_name=self.config["kernel"], filter_func=filter_func, ): layer_name = task.add_process_layer() diff --git a/volatility3/framework/plugins/windows/verinfo.py b/volatility3/framework/plugins/windows/verinfo.py index 63a0d9ece..fa7d4e113 100644 --- a/volatility3/framework/plugins/windows/verinfo.py +++ b/volatility3/framework/plugins/windows/verinfo.py @@ -253,13 +253,15 @@ class VerInfo(interfaces.plugins.PluginInterface): ) def run(self): - procs = pslist.PsList.list_processes(self.context, self.config["kernel"]) + procs = pslist.PsList.list_processes( + context=self.context, kernel_module_name=self.config["kernel"] + ) mods = modules.Modules.list_modules(self.context, self.config["kernel"]) # populate the session layers for kernel modules session_layers = modules.Modules.get_session_layers( - self.context, self.config["kernel"] + context=self.context, kernel_module_name=self.config["kernel"] ) return renderers.TreeGrid( diff --git a/volatility3/framework/plugins/windows/windowstations.py b/volatility3/framework/plugins/windows/windowstations.py index 6dac484f5..b9c6932f9 100644 --- a/volatility3/framework/plugins/windows/windowstations.py +++ b/volatility3/framework/plugins/windows/windowstations.py @@ -67,7 +67,9 @@ class WindowStations(interfaces.plugins.PluginInterface): native_types = intermed.native.x64NativeTable - if not symbols.symbol_table_is_64bit(context, symbol_table): + if not symbols.symbol_table_is_64bit( + context=context, symbol_table_name=symbol_table + ): raise NotImplementedError( "This plugin only supports x64 versions of Windows" ) @@ -86,10 +88,10 @@ class WindowStations(interfaces.plugins.PluginInterface): vollog.debug(f"Using GUI table {symbol_filename}") return intermed.IntermediateSymbolTable.create( - context, - config_path, - os.path.join("windows", "gui"), - symbol_filename, + context=context, + config_path=config_path, + sub_path=os.path.join("windows", "gui"), + filename=symbol_filename, class_types=gui.class_types, native_types=native_types, table_mapping=table_mapping, @@ -152,11 +154,11 @@ class WindowStations(interfaces.plugins.PluginInterface): session_map = cls.get_session_map(context, kernel_module_name, gui_table_name) for result in poolscanner.PoolScanner.generate_pool_scan_extended( - context, - kernel.layer_name, - kernel.symbol_table_name, - gui_table_name, - constraints, + context=context, + kernel_layer_name=kernel.layer_name, + kernel_symbol_table_name=kernel.symbol_table_name, + object_symbol_table_name=gui_table_name, + constraints=constraints, ): _constraint, mem_object, _header = result diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d5528a8b5..39605cf52 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -237,7 +237,9 @@ class module(generic.GenericIntelProcess): elf_table_name = self.get_elf_table_name() symbol_table_name = self.get_symbol_table_name() - is_64bit = symbols.symbol_table_is_64bit(self._context, symbol_table_name) + is_64bit = symbols.symbol_table_is_64bit( + context=self._context, symbol_table_name=symbol_table_name + ) sym_name = "Elf64_Sym" if is_64bit else "Elf32_Sym" sym_type = self._context.symbol_space.get_type( elf_table_name + constants.BANG + sym_name @@ -280,7 +282,9 @@ class module(generic.GenericIntelProcess): elf_table_name = self.get_elf_table_name() symbol_table_name = self.get_symbol_table_name() - is_64bit = symbols.symbol_table_is_64bit(self._context, symbol_table_name) + is_64bit = symbols.symbol_table_is_64bit( + context=self._context, symbol_table_name=symbol_table_name + ) sym_name = "Elf64_Sym" if is_64bit else "Elf32_Sym" sym_type = self._context.symbol_space.get_type( elf_table_name + constants.BANG + sym_name diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index e852de0da..933178c91 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -53,7 +53,9 @@ class MMVAD_SHORT(objects.StructType): # the offset is different on 32 and 64 bits symbol_table_name = self.vol.type_name.split(constants.BANG)[0] - if not symbols.symbol_table_is_64bit(self._context, symbol_table_name): + if not symbols.symbol_table_is_64bit( + context=self._context, symbol_table_name=symbol_table_name + ): vad_address -= 4 else: vad_address -= 12 @@ -389,7 +391,9 @@ class EX_FAST_REF(objects.StructType): # the mask value is different on 32 and 64 bits symbol_table_name = self.vol.type_name.split(constants.BANG)[0] - if not symbols.symbol_table_is_64bit(self._context, symbol_table_name): + if not symbols.symbol_table_is_64bit( + context=self._context, symbol_table_name=symbol_table_name + ): max_fast_ref = 7 else: max_fast_ref = 15 @@ -1406,7 +1410,9 @@ class CONTROL_AREA(objects.StructType): ) mmpte_size = mmpte_type.size subsection = self.get_subsection() - is_64bit = symbols.symbol_table_is_64bit(self._context, symbol_table_name) + is_64bit = symbols.symbol_table_is_64bit( + context=self._context, symbol_table_name=symbol_table_name + ) is_pae = self._context.layers[self.vol.layer_name].metadata.get("pae", False) # the sector_size is used as a multiplier to the StartingSector diff --git a/volatility3/framework/symbols/windows/extensions/pool.py b/volatility3/framework/symbols/windows/extensions/pool.py index 5427e3773..b0c480d19 100644 --- a/volatility3/framework/symbols/windows/extensions/pool.py +++ b/volatility3/framework/symbols/windows/extensions/pool.py @@ -78,7 +78,9 @@ class POOL_HEADER(objects.StructType): # otherwise we have an executive object in the pool else: - if symbols.symbol_table_is_64bit(self._context, symbol_table_name): + if symbols.symbol_table_is_64bit( + context=self._context, symbol_table_name=symbol_table_name + ): alignment = 16 else: alignment = 8 diff --git a/volatility3/plugins/windows/registry/certificates.py b/volatility3/plugins/windows/registry/certificates.py index 3cbeb3e7c..eea05548b 100644 --- a/volatility3/plugins/windows/registry/certificates.py +++ b/volatility3/plugins/windows/registry/certificates.py @@ -70,9 +70,9 @@ class Certificates(interfaces.plugins.PluginInterface): def _generator(self) -> Iterator[Tuple[int, Tuple[str, str, str, str]]]: for hive in hivelist.HiveList.list_hives( - self.context, - self.config_path, - self.config["kernel"], + context=self.context, + base_config_path=self.config_path, + kernel_module_name=self.config["kernel"], ): for top_key in [ "Microsoft\\SystemCertificates", From 7964ca07e401b75d17ccd87d6022388eb0d38d7b Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 17:34:36 -0600 Subject: [PATCH 1503/2186] Code Review: PluginRequirement -> VersionRequirement Code Review: PluginRequirement -> Version Requirement --- .../framework/plugins/windows/debugregisters.py | 4 ++-- .../framework/plugins/windows/suspicious_threads.py | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index d1404b69f..0f6655c78 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -37,8 +37,8 @@ class DebugRegisters(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), - requirements.PluginRequirement( - name="threads", plugin=threads.Threads, version=(2, 0, 0) + requirements.VersionRequirement( + name="threads", component=threads.Threads, version=(2, 0, 0) ), requirements.VersionRequirement( name="pe_symbols", component=pe_symbols.PESymbols, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py index 41affcbc7..f83f3efc9 100644 --- a/volatility3/framework/plugins/windows/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -34,14 +34,14 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): element_type=int, optional=True, ), - requirements.PluginRequirement( - name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 1, 0) + requirements.VersionRequirement( + name="thrdscan", component=thrdscan.ThrdScan, version=(1, 1, 0) ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), - requirements.PluginRequirement( - name="threads", plugin=threads.Threads, version=(2, 0, 0) + requirements.VersionRequirement( + name="threads", component=threads.Threads, version=(2, 0, 0) ), requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) From 456d7b7db5e6ec34b83e05aeb58877a76ae844ea Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 18:14:53 -0600 Subject: [PATCH 1504/2186] CodeQL Fix: Unused variable Also underscores an unused unpacked tuple value --- volatility3/framework/plugins/windows/strings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/strings.py b/volatility3/framework/plugins/windows/strings.py index 0ec07d719..46784e48a 100644 --- a/volatility3/framework/plugins/windows/strings.py +++ b/volatility3/framework/plugins/windows/strings.py @@ -165,7 +165,7 @@ class Strings(interfaces.plugins.PluginInterface): context=context, kernel_module_name=kernel_module_name ): if not filter(process): - kernel_module_name = proc_id = "Unknown" + proc_id = "Unknown" try: proc_id = process.UniqueProcessId proc_layer_name = process.add_process_layer() @@ -180,7 +180,7 @@ class Strings(interfaces.plugins.PluginInterface): for mapval in proc_layer.mapping( 0x0, proc_layer.maximum_address, ignore_errors=True ): - mapped_offset, _, offset, mapped_size, maplayer = mapval + mapped_offset, _, offset, mapped_size, _maplayer = mapval for val in range( mapped_offset, mapped_offset + mapped_size, 0x1000 ): From a192546eb055029f068d6da73a5b69033f84d519 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 19:02:17 -0600 Subject: [PATCH 1505/2186] Framework: Minor version bump There are a lot of things going into this so we're doing a minor framework version bump. --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 255b8fc3d..aa8e8936f 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 22 # Number of changes that only add to the interface +VERSION_MINOR = 23 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" From 76cceb93cb585e2ca2d16f22fea02b719f924eea Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 19:25:43 -0600 Subject: [PATCH 1506/2186] Code Review: Get rid of 'kvo' in favor of kernel.offset --- volatility3/framework/plugins/windows/modules.py | 6 +----- volatility3/framework/plugins/windows/pslist.py | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 6ec16af1b..e1a0f4cf1 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -322,11 +322,7 @@ class Modules(interfaces.plugins.PluginInterface): """ kernel = context.modules[kernel_module_name] - - kvo = context.layers[kernel.layer_name].config.get( - "kernel_virtual_offset", None - ) - if not kvo: + if not kernel.offset: raise ValueError( "Intel layer does not have an associated kernel virtual offset, failing" ) diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 7909945a1..2fc7612a9 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -228,11 +228,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): kernel = context.modules[kernel_module_name] - # We only use the object factory to demonstrate how to use one - kvo = context.layers[kernel.layer_name].config.get( - "kernel_virtual_offset", None - ) - if not kvo: + if not kernel.offset: raise ValueError( "Intel layer does not have an associated kernel virtual offset, failing" ) From 77d6bf25b079223e8aa017a8aa938bb2573b9a2d Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 17:55:18 -0600 Subject: [PATCH 1507/2186] Code Review: Remove redundant kernel module reconstruction --- volatility3/framework/plugins/windows/modules.py | 13 +++++-------- volatility3/framework/plugins/windows/pslist.py | 11 ++++------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index e1a0f4cf1..1ec965737 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -326,22 +326,19 @@ class Modules(interfaces.plugins.PluginInterface): raise ValueError( "Intel layer does not have an associated kernel virtual offset, failing" ) - ntkrnlmp = context.module( - kernel.symbol_table_name, layer_name=kernel.layer_name, offset=kvo - ) try: # use this type if its available (starting with windows 10) - ldr_entry_type = ntkrnlmp.get_type("_KLDR_DATA_TABLE_ENTRY") + ldr_entry_type = kernel.get_type("_KLDR_DATA_TABLE_ENTRY") except exceptions.SymbolError: - ldr_entry_type = ntkrnlmp.get_type("_LDR_DATA_TABLE_ENTRY") + ldr_entry_type = kernel.get_type("_LDR_DATA_TABLE_ENTRY") type_name = ldr_entry_type.type_name.split(constants.BANG)[1] - list_head = ntkrnlmp.get_symbol("PsLoadedModuleList").address - list_entry = ntkrnlmp.object(object_type="_LIST_ENTRY", offset=list_head) + list_head = kernel.get_symbol("PsLoadedModuleList").address + list_entry = kernel.object(object_type="_LIST_ENTRY", offset=list_head) reloff = ldr_entry_type.relative_child_offset("InLoadOrderLinks") - module = ntkrnlmp.object( + module = kernel.object( object_type=type_name, offset=list_entry.vol.offset - reloff, absolute=True ) diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 2fc7612a9..1cb2c6356 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -232,12 +232,9 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): raise ValueError( "Intel layer does not have an associated kernel virtual offset, failing" ) - ntkrnlmp = context.module( - kernel.symbol_table_name, layer_name=kernel.layer_name, offset=kvo - ) - ps_aph_offset = ntkrnlmp.get_symbol("PsActiveProcessHead").address - list_entry = ntkrnlmp.object(object_type="_LIST_ENTRY", offset=ps_aph_offset) + ps_aph_offset = kernel.get_symbol("PsActiveProcessHead").address + list_entry = kernel.object(object_type="_LIST_ENTRY", offset=ps_aph_offset) # This is example code to demonstrate how to use symbol_space directly, rather than through a module: # @@ -250,10 +247,10 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Note: "nt_symbols!_EPROCESS" could have been used, but would rely on the "nt_symbols" symbol table not already # having been present. Strictly, the value of the requirement should be joined with the BANG character # defined in the constants file - reloff = ntkrnlmp.get_type("_EPROCESS").relative_child_offset( + reloff = kernel.get_type("_EPROCESS").relative_child_offset( "ActiveProcessLinks" ) - eproc = ntkrnlmp.object( + eproc = kernel.object( object_type="_EPROCESS", offset=list_entry.vol.offset - reloff, absolute=True, From e8ec7b1bf75d19b4629f29a9cc32c83d5ff959d0 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Feb 2025 20:16:25 -0600 Subject: [PATCH 1508/2186] Code Review: Remove unneeded kernel module reconstruction --- .../framework/plugins/windows/handles.py | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 4d21cc9d9..6ab465439 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -223,24 +223,17 @@ class Handles(interfaces.plugins.PluginInterface): kernel = self.context.modules[self.config["kernel"]] - virtual = kernel.layer_name - kvo = kernel.offset - - ntkrnlmp = self.context.module( - kernel.symbol_table_name, layer_name=virtual, offset=kvo - ) - if level > 0: - subtype = ntkrnlmp.get_type("pointer") + subtype = kernel.get_type("pointer") count = 0x1000 / subtype.size else: - subtype = ntkrnlmp.get_type("_HANDLE_TABLE_ENTRY") + subtype = kernel.get_type("_HANDLE_TABLE_ENTRY") count = 0x1000 / subtype.size - if not self.context.layers[virtual].is_valid(offset): + if not self.context.layers[kernel.layer_name].is_valid(offset): return None - table = ntkrnlmp.object( + table = kernel.object( object_type="array", offset=offset, subtype=subtype, @@ -248,7 +241,7 @@ class Handles(interfaces.plugins.PluginInterface): absolute=True, ) - layer_object = self.context.layers[virtual] + layer_object = self.context.layers[kernel.layer_name] masked_offset = offset & layer_object.maximum_address for i in range(len(table)): @@ -262,7 +255,7 @@ class Handles(interfaces.plugins.PluginInterface): # The code above this calls `is_valid` on the `offset` # It is sent but then does not validate `entry` before # sending it to `_get_item` - if not self.context.layers[virtual].is_valid(entry.vol.offset): + if not self.context.layers[kernel.layer_name].is_valid(entry.vol.offset): continue if level > 0: From dc53afb217b59c704ed4fba96162660282ae391d Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 5 Mar 2025 16:25:53 -0600 Subject: [PATCH 1509/2186] Code Review: Don't use to-be-deprecated static natives This was originally done to solve a problem where `f32` wasn't available in the native types from every kernel version. However, it ended up not being necessary - we can just omit `native_types` from the method call, and it will construct the types as-needed using the definition for `float` in `base_types` from the JSON files. --- volatility3/framework/plugins/windows/windowstations.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/windowstations.py b/volatility3/framework/plugins/windows/windowstations.py index b9c6932f9..a077ef2fc 100644 --- a/volatility3/framework/plugins/windows/windowstations.py +++ b/volatility3/framework/plugins/windows/windowstations.py @@ -65,8 +65,6 @@ class WindowStations(interfaces.plugins.PluginInterface): The name of the constructed GUI table """ - native_types = intermed.native.x64NativeTable - if not symbols.symbol_table_is_64bit( context=context, symbol_table_name=symbol_table ): @@ -93,7 +91,6 @@ class WindowStations(interfaces.plugins.PluginInterface): sub_path=os.path.join("windows", "gui"), filename=symbol_filename, class_types=gui.class_types, - native_types=native_types, table_mapping=table_mapping, ) From 7e00f2c4c409bcdb08b20dc89e8b8b501ee14e02 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 5 Mar 2025 17:42:09 -0600 Subject: [PATCH 1510/2186] Windows Versions: Fix broken OSDistinguisher Something happened when picking _EPROCESS members before that caused this to not function properly. This one relies on a more stable type removal instead of _EPROCESS members. --- volatility3/framework/symbols/windows/versions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/windows/versions.py b/volatility3/framework/symbols/windows/versions.py index b00892cbc..28b7edfdf 100644 --- a/volatility3/framework/symbols/windows/versions.py +++ b/volatility3/framework/symbols/windows/versions.py @@ -152,8 +152,8 @@ is_win10 = OsDistinguisher( is_win10_10586_or_later = OsDistinguisher( version_check=lambda x: x >= (10, 0, 10586), fallback_checks=[ - ("_EPROCESS", "SecurityDomain", False), - ("_EPROCESS", "ImageFilePointer", False), + ("_UNLOADED_DRIVERS", None, False), + ("ObHeaderCookie", None, True), ], ) From 557b200f0749b2c08d78c7a21a4bb2d26990a46d Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 6 Mar 2025 17:36:24 +0000 Subject: [PATCH 1511/2186] Fix several bugs found in the tracing plugins during mass testing --- .../framework/plugins/linux/tracing/ftrace.py | 11 ++++--- .../plugins/linux/tracing/tracepoints.py | 32 +++++++++++++------ 2 files changed, 29 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 6690769b7..02b5a61f1 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -114,21 +114,24 @@ class CheckFtrace(interfaces.plugins.PluginInterface): An iterable of ftrace_func_entry structs """ + if hasattr(ftrace_ops, "func_hash"): + ftrace_hash = ftrace_ops.func_hash.filter_hash + else: + ftrace_hash = ftrace_ops.filter_hash + try: - current_bucket_ptr = ftrace_ops.func_hash.filter_hash.buckets.first + current_bucket_ptr = ftrace_hash.buckets.first except exceptions.InvalidAddressException: vollog.log( constants.LOGLEVEL_VV, f"ftrace_func_entry list of ftrace_ops@{ftrace_ops.vol.offset:#x} is empty/invalid. Skipping it...", ) - return [] + return while current_bucket_ptr.is_readable(): yield current_bucket_ptr.dereference().cast("ftrace_func_entry") current_bucket_ptr = current_bucket_ptr.next - return None - @classmethod def parse_ftrace_ops( cls, diff --git a/volatility3/framework/plugins/linux/tracing/tracepoints.py b/volatility3/framework/plugins/linux/tracing/tracepoints.py index 247e139d5..4af80b545 100644 --- a/volatility3/framework/plugins/linux/tracing/tracepoints.py +++ b/volatility3/framework/plugins/linux/tracing/tracepoints.py @@ -10,7 +10,7 @@ from dataclasses import dataclass import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3.plugins.linux import hidden_modules, modxview -from volatility3.framework import constants, exceptions, interfaces +from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints, NotAvailableValue, TreeGrid from volatility3.framework.symbols.linux import extensions @@ -116,18 +116,25 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): known_modules: A dict of known modules, used to locate callbacks origin. Typically obtained through modxview.run_modules_scanners(). tracepoint: The tracepoint struct to parse run_hidden_modules: Whether to run the hidden_modules plugin or not. Note: it won't be run, even if specified, \ -if the "hidden_modules" key is present in known_modules. + if the "hidden_modules" key is present in known_modules. Yields: An iterable of ParsedTracepointFunc dataclasses, containing a selection of useful fields related to a tracepoint struct """ - kernel = context.modules[kernel_name] kernel_layer = context.layers[kernel.layer_name] for tracepoint_func in cls.iterate_tracepoint_funcs( context, kernel_layer.name, tracepoint ): + try: + tracepoint_name = utility.pointer_to_string(tracepoint.name, count=512) + except exceptions.InvalidAddressException: + vollog.debug( + f"Tracepoint function at {tracepoint.vol.offset:#x} is smeared." + ) + continue + probe_handler_address = tracepoint_func.func probe_handler_symbol = module_address = module_name = None @@ -183,16 +190,21 @@ if the "hidden_modules" key is present in known_modules. probe_handler_address ) else: - vollog.warning( + vollog.debug( f"Could not determine tracepoint@{tracepoint.vol.offset:#x} probe handler {probe_handler_address:#x} module origin.", ) + if hasattr(tracepoint_func, "prio"): + prio = tracepoint_func.prio + else: + prio = renderers.NotAvailableValue() + yield ParsedTracepointFunc( - utility.pointer_to_string(tracepoint.name, count=512), + tracepoint_name, tracepoint.vol.offset, probe_handler_symbol, probe_handler_address, - tracepoint_func.prio, + prio, module_name, module_address, ) @@ -258,11 +270,11 @@ if the "hidden_modules" key is present in known_modules. kernel_layer = self.context.layers[kernel.layer_name] if not kernel.has_symbol("__start___tracepoints_ptrs"): - raise exceptions.SymbolError( - "__start___tracepoints_ptrs", - self.vmlinux.symbol_table_name, - 'The provided symbol table does not include the "__start___tracepoints_ptrs" symbol. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupted.', + vollog.error( + 'The provided symbol table does not include the "__start___tracepoints_ptrs" symbol.' + "This means you are either analyzing an unsupported kernel version or that your symbol table is corrupted." ) + return known_modules = modxview.Modxview.run_modules_scanners( self.context, kernel_name, run_hidden_modules=False From 14778cdf5c75b9fe10a28af2fa60c7ff5efe793f Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 6 Mar 2025 18:10:38 +0000 Subject: [PATCH 1512/2186] Address feedback --- .../framework/plugins/linux/tracing/ftrace.py | 14 ++++++-------- .../framework/plugins/linux/tracing/tracepoints.py | 6 +++--- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 02b5a61f1..59168d5bc 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -5,7 +5,7 @@ # Public researches: https://i.blackhat.com/USA21/Wednesday-Handouts/us-21-Fixing-A-Memory-Forensics-Blind-Spot-Linux-Kernel-Tracing-wp.pdf import logging -from typing import Dict, List, Iterable, Optional +from typing import Dict, List, Generator from enum import Enum from dataclasses import dataclass @@ -67,7 +67,7 @@ class CheckFtrace(interfaces.plugins.PluginInterface): Investigate the ftrace infrastructure to uncover kernel attached callbacks, which can be leveraged to hook kernel functions and modify their behaviour.""" - _version = (1, 0, 0) + _version = (2, 0, 0) _required_framework_version = (2, 19, 0) @classmethod @@ -103,14 +103,14 @@ class CheckFtrace(interfaces.plugins.PluginInterface): def extract_hash_table_filters( cls, ftrace_ops: interfaces.objects.ObjectInterface, - ) -> Optional[Iterable[interfaces.objects.ObjectInterface]]: + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Wrap the process of walking to every ftrace_func_entry of an ftrace_ops. Those are stored in a hash table of filters that indicates the addresses hooked. Args: ftrace_ops: The ftrace_ops struct to walk through - Returns: + Return, None, None: An iterable of ftrace_func_entry structs """ @@ -140,7 +140,7 @@ class CheckFtrace(interfaces.plugins.PluginInterface): known_modules: Dict[str, List[extensions.module]], ftrace_ops: interfaces.objects.ObjectInterface, run_hidden_modules: bool = True, - ) -> Optional[Iterable[ParsedFtraceOps]]: + ) -> Generator[ParsedFtraceOps, None, None]: """Parse an ftrace_ops struct to highlight ftrace kernel hooking. Iterates over embedded ftrace_func_entry entries, which point to hooked memory areas. @@ -237,12 +237,10 @@ if the "hidden_modules" key is present in known_modules. formatted_ftrace_flags, ) - return None - @classmethod def iterate_ftrace_ops_list( cls, context: interfaces.context.ContextInterface, kernel_name: str - ) -> Optional[Iterable[interfaces.objects.ObjectInterface]]: + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Iterate over (ftrace_ops *)ftrace_ops_list. Returns: diff --git a/volatility3/framework/plugins/linux/tracing/tracepoints.py b/volatility3/framework/plugins/linux/tracing/tracepoints.py index 4af80b545..f8edcc5b7 100644 --- a/volatility3/framework/plugins/linux/tracing/tracepoints.py +++ b/volatility3/framework/plugins/linux/tracing/tracepoints.py @@ -10,7 +10,7 @@ from dataclasses import dataclass import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3.plugins.linux import hidden_modules, modxview -from volatility3.framework import constants, exceptions, interfaces, renderers +from volatility3.framework import constants, exceptions, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints, NotAvailableValue, TreeGrid from volatility3.framework.symbols.linux import extensions @@ -197,7 +197,7 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): if hasattr(tracepoint_func, "prio"): prio = tracepoint_func.prio else: - prio = renderers.NotAvailableValue() + prio = None yield ParsedTracepointFunc( tracepoint_name, @@ -293,7 +293,7 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): format_hints.Hex(tracepoint_parsed.tracepoint_address), tracepoint_parsed.probe_name or NotAvailableValue(), format_hints.Hex(tracepoint_parsed.probe_address), - tracepoint_parsed.probe_priority, + tracepoint_parsed.probe_priority or NotAvailableValue(), tracepoint_parsed.module_name or NotAvailableValue(), ( format_hints.Hex(tracepoint_parsed.module_address) From 134a3bc6862939e1901bf493dd744a04b8ca3c4d Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 6 Mar 2025 15:19:23 -0600 Subject: [PATCH 1513/2186] Pdbconv: Make symbol server URL constant This removes the hard-coded symbol server URL from `PdbRetreiver.retrieve_pdb` and defines it as a constant within the `constants` module. --- volatility3/framework/constants/__init__.py | 2 ++ volatility3/framework/symbols/windows/pdbconv.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 429b79c3c..689ef122b 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -40,6 +40,8 @@ SYMBOL_BASEPATHS = [ ISF_EXTENSIONS = [".json", ".json.xz", ".json.gz", ".json.bz2"] """List of accepted extensions for ISF files""" +SYMBOL_SERVER_URL = "http://msdl.microsoft.com/download/symbols" + if hasattr(sys, "frozen") and sys.frozen: # Ensure we include the executable's directory as the base for plugins and symbols PLUGINS_PATH = [ diff --git a/volatility3/framework/symbols/windows/pdbconv.py b/volatility3/framework/symbols/windows/pdbconv.py index 248ef7d0c..c23ffb350 100644 --- a/volatility3/framework/symbols/windows/pdbconv.py +++ b/volatility3/framework/symbols/windows/pdbconv.py @@ -950,7 +950,7 @@ class PdbRetreiver: ) -> Optional[str]: vollog.info("Download PDB file...") file_name = ".".join(file_name.split(".")[:-1] + ["pdb"]) - for sym_url in ["http://msdl.microsoft.com/download/symbols"]: + for sym_url in [constants.SYMBOL_SERVER_URL]: url = sym_url + f"/{file_name}/{guid}/" result = None From aac0566c903af72cbc81a423d67b2ca94c2ba659 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Mar 2025 03:17:52 +0000 Subject: [PATCH 1514/2186] Change the type information reported for missing attributes --- volatility3/framework/interfaces/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 12cd1d988..62c31481b 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -133,7 +133,7 @@ class ObjectInterface(metaclass=abc.ABCMeta): def __getattr__(self, attr: str) -> Any: """Method for ensuring volatility members can be returned.""" - raise AttributeError(f"Unable to find {attr} for type {self.vol.type_name}") + raise AttributeError(f"Unable to find {attr} for type {type(self)}") @property def vol(self) -> ReadOnlyMapping: From bb3b0ada5c2dbd590414e02cb9a0972f45d36c6e Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Mar 2025 03:42:32 +0000 Subject: [PATCH 1515/2186] Fix how the task name is reported in getsids error path --- volatility3/framework/plugins/windows/getsids.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/getsids.py b/volatility3/framework/plugins/windows/getsids.py index 710b98bb6..12b16bebc 100644 --- a/volatility3/framework/plugins/windows/getsids.py +++ b/volatility3/framework/plugins/windows/getsids.py @@ -176,12 +176,14 @@ class GetSIDs(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: token = False + task_name = objects.utility.array_to_string(task.ImageFileName) + if not token or not isinstance(token, interfaces.objects.ObjectInterface): yield ( 0, [ int(task.UniqueProcessId), - str(task.ImageFileName), + task_name, "Token unreadable", "", ], @@ -207,7 +209,7 @@ class GetSIDs(interfaces.plugins.PluginInterface): 0, ( task.UniqueProcessId, - objects.utility.array_to_string(task.ImageFileName), + task_name, sid_string, sid_name, ), From f6aa6d87e84fc593ad22fe0653bf60750ae8a1f5 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Mar 2025 04:19:28 +0000 Subject: [PATCH 1516/2186] Add --tmpfs-only flag to RecoverFs to replace tmpfs plugin of Volatility 2 --- .../framework/plugins/linux/pagecache.py | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 7a1cf2506..3d2db7fd7 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -639,7 +639,7 @@ class RecoverFs(plugins.PluginInterface): Troubleshooting: to fix extraction errors related to long paths, please consider using https://github.com/mxmlnkn/ratarmount. """ - _version = (1, 0, 0) + _version = (1, 0, 1) _required_framework_version = (2, 21, 0) @classmethod @@ -656,6 +656,12 @@ class RecoverFs(plugins.PluginInterface): requirements.PluginRequirement( name="inodepages", plugin=InodePages, version=(3, 0, 0) ), + requirements.BooleanRequirement( + name="tmpfs_only", + description="Extracts only files from tmpfs file systems", + default=False, + optional=True, + ), requirements.ChoiceRequirement( name="compression_format", description="Compression format (default: gz)", @@ -805,6 +811,17 @@ class RecoverFs(plugins.PluginInterface): ) continue + sb_type = inode_in.superblock.get_type() + if not sb_type: + vollog.debug( + f"Unable to read superblock type for inode at {inode_in.inode.vol.offset}" + ) + continue + + if self.config["tmpfs_only"] and sb_type != "tmpfs": + vollog.debug(f"Skipping non-tmpfs filesystem {sb_type}") + continue + # Construct the output path if uuid_as_prefix: prefix = f"/{inode_in.superblock.uuid}" From 45fe8f69ddb96af065a84074b2848b0486191fd4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Mar 2025 05:05:23 +0000 Subject: [PATCH 1517/2186] Fix unloaded modules bugs. Change API to fit current formats --- .../plugins/windows/unloadedmodules.py | 87 ++++++++++++------- 1 file changed, 58 insertions(+), 29 deletions(-) diff --git a/volatility3/framework/plugins/windows/unloadedmodules.py b/volatility3/framework/plugins/windows/unloadedmodules.py index 90ad0fdb5..cadacf4ff 100644 --- a/volatility3/framework/plugins/windows/unloadedmodules.py +++ b/volatility3/framework/plugins/windows/unloadedmodules.py @@ -4,7 +4,7 @@ import logging import datetime -from typing import List, Iterable +from typing import List, Generator, Tuple from volatility3.framework import constants from volatility3.framework import interfaces, symbols, exceptions @@ -14,6 +14,7 @@ from volatility3.framework.interfaces import configuration from volatility3.framework.renderers import format_hints, conversion from volatility3.framework.symbols import intermed from volatility3.plugins import timeliner +from volatility3.plugins.windows import modules vollog = logging.getLogger(__name__) @@ -22,7 +23,7 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt """Lists the unloaded kernel modules.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 2) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -75,10 +76,9 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt def list_unloadedmodules( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, unloadedmodule_table_name: str, - ) -> Iterable[interfaces.objects.ObjectInterface]: + ) -> Generator[Tuple[str, int, int, datetime.datetime], None, None]: """Lists all the unloaded modules in the primary layer. Args: @@ -90,12 +90,8 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt A list of Unloaded Modules as retrieved from MmUnloadedDrivers """ - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) - if not kvo: - raise ValueError( - "Intel layer does not have an associated kernel virtual offset, failing" - ) - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + ntkrnlmp = context.modules[kernel_module_name] + unloadedmodules_offset = ntkrnlmp.get_symbol("MmUnloadedDrivers").address unloadedmodules = ntkrnlmp.object( object_type="pointer", @@ -103,7 +99,7 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt subtype="array", ) is_64bit = symbols.symbol_table_is_64bit( - context=context, symbol_table_name=symbol_table + context=context, symbol_table_name=ntkrnlmp.symbol_table_name ) if is_64bit: @@ -116,53 +112,86 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt object_type=unloaded_count_type, offset=last_unloadedmodule_offset ) + # Bring down to default when smear present. Some samples had this completely broken + if unloaded_count > 1024: + vollog.warning( + f"Smeared array count found {unloaded_count}. Defaulting to 1024 elements." + ) + unloaded_count = 1024 + unloadedmodules_array = context.object( object_type=unloadedmodule_table_name + constants.BANG + "_UNLOADED_DRIVERS", - layer_name=layer_name, + layer_name=ntkrnlmp.layer_name, offset=unloadedmodules, ) unloadedmodules_array.UnloadedDrivers.count = unloaded_count + kernel_space_start = modules.Modules.get_kernel_space_start( + context, kernel_module_name + ) + + address_mask = context.layers[ntkrnlmp.layer_name].address_mask + for driver in unloadedmodules_array.UnloadedDrivers: # Mass testing led to dozens of samples backtracing on this plugin when # accessing members of modules coming out this list # Given how often temporary drivers load and unload on Win10+, I # assume the chance for smear is very high try: - driver.StartAddress - driver.EndAddress - driver.CurrentTime - yield driver + start_address = driver.StartAddress & address_mask + end_address = driver.EndAddress & address_mask + current_time = driver.CurrentTime + driver_name = driver.Name.String except exceptions.InvalidAddressException: continue + if ( + current_time > 1024 + and start_address > kernel_space_start + and start_address & 0xFFF == 0x0 + and end_address & 0xFFF == 0x0 + and end_address > kernel_space_start + ): + yield driver_name, start_address, end_address, current_time + def _generator(self): kernel = self.context.modules[self.config["kernel"]] + if not kernel.has_symbol("MmUnloadedDrivers"): + vollog.error( + "The symbol table for this sample is missing the `MmUnloadedDrivers` symbol. Cannot proceed." + ) + return + + if not kernel.has_symbol("MmLastUnloadedDriver"): + vollog.error( + "The symbol table for this sample is missing the `MmLastUnloadededDriver` symbol. Cannot proceed." + ) + return + unloadedmodule_table_name = self.create_unloadedmodules_table( self.context, kernel.symbol_table_name, self.config_path ) - for mod in self.list_unloadedmodules( + for ( + driver_name, + start_address, + end_address, + current_time, + ) in self.list_unloadedmodules( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], unloadedmodule_table_name, ): - try: - name = mod.Name.String - except exceptions.InvalidAddressException: - name = renderers.UnreadableValue() - yield ( 0, ( - name, - format_hints.Hex(mod.StartAddress), - format_hints.Hex(mod.EndAddress), - conversion.wintime_to_datetime(mod.CurrentTime), + driver_name, + format_hints.Hex(start_address), + format_hints.Hex(end_address), + conversion.wintime_to_datetime(current_time), ), ) From 460f1307ac19748c8f018624a057773ebd594637 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 7 Mar 2025 16:43:44 +0100 Subject: [PATCH 1518/2186] improve secret readability --- volatility3/framework/plugins/windows/lsadump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 50f4da30d..22a1a62e1 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -204,7 +204,7 @@ class Lsadump(interfaces.plugins.PluginInterface): else: secret = self.decrypt_aes(enc_secret, lsakey) - yield (0, (key.get_name(), secret.decode("latin1"), secret)) + yield (0, (key.get_name(), str(secret), secret)) def run(self): offset = self.config.get("offset", None) From f0235279a91287af60af165ef97beee520346028 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 7 Mar 2025 16:44:07 +0100 Subject: [PATCH 1519/2186] Bump: 1.0.0->1.0.1 --- volatility3/framework/plugins/windows/lsadump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 22a1a62e1..051e55afe 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -22,7 +22,7 @@ class Lsadump(interfaces.plugins.PluginInterface): """Dumps lsa secrets from memory""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): From e8db2f03bb5eddf5e7b15d9c282f4802fa6ccbb8 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 1 Mar 2025 10:31:47 -0600 Subject: [PATCH 1520/2186] Add complete smear protection to linux.pstree --- volatility3/framework/plugins/linux/pstree.py | 39 +++++++++++++++++-- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/pstree.py b/volatility3/framework/plugins/linux/pstree.py index fd28fcbbd..dc4fef4f3 100644 --- a/volatility3/framework/plugins/linux/pstree.py +++ b/volatility3/framework/plugins/linux/pstree.py @@ -52,19 +52,38 @@ class PsTree(interfaces.plugins.PluginInterface): Args: pid: PID to find the level in the hierarchy """ - seen = set([pid]) + seen_ppids = set() + seen_offsets = set() + level = 0 proc = self._tasks.get(pid) - while proc and proc.get_parent_pid() not in seen: + + while proc: + # we don't want swapper in the tree + if proc.pid == 0: + break + if proc.is_thread_group_leader: parent_pid = proc.get_parent_pid() else: parent_pid = proc.tgid + if parent_pid in seen_ppids or proc.vol.offset in seen_offsets: + break + + # only pid 1 (init/systemd) or 2 (kthreadd) should have swapper as a parent + # any other process with a ppid of 0 is smeared or terminated + if parent_pid == 0 and proc.pid > 2: + break + + seen_ppids.add(parent_pid) + seen_offsets.add(proc.vol.offset) + child_list = self._children.setdefault(parent_pid, set()) child_list.add(proc.pid) proc = self._tasks.get(parent_pid) + level += 1 self._levels[pid] = level @@ -110,12 +129,26 @@ class PsTree(interfaces.plugins.PluginInterface): ) yield (self._levels[task_fields.user_tid] - 1, fields) + seen_children = set() + for child_pid in sorted(self._children.get(task_fields.user_tid, [])): + if child_pid in seen_children: + break + seen_children.add(child_pid) + yield from yield_processes(child_pid) + seen_processes = set() + for pid, level in self._levels.items(): if level == 1: - yield from yield_processes(pid) + for fields in yield_processes(pid): + pid = fields[1] + if pid in seen_processes: + break + seen_processes.add(pid) + + yield fields def run(self): filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) From 1daf62ab4e68d860e33ea8b8ef59bad32799a6fb Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Mar 2025 17:18:45 +0000 Subject: [PATCH 1521/2186] Add debug statement when a process is skipped --- volatility3/framework/plugins/linux/pstree.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/volatility3/framework/plugins/linux/pstree.py b/volatility3/framework/plugins/linux/pstree.py index dc4fef4f3..c5290774b 100644 --- a/volatility3/framework/plugins/linux/pstree.py +++ b/volatility3/framework/plugins/linux/pstree.py @@ -2,11 +2,15 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import logging + from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins.linux import pslist +vollog = logging.getLogger(__name__) + class PsTree(interfaces.plugins.PluginInterface): """Plugin for listing processes in a tree based on their parent process ID.""" @@ -74,6 +78,9 @@ class PsTree(interfaces.plugins.PluginInterface): # only pid 1 (init/systemd) or 2 (kthreadd) should have swapper as a parent # any other process with a ppid of 0 is smeared or terminated if parent_pid == 0 and proc.pid > 2: + vollog.debug( + "Smeared process with parent PID of 0 and PID greater than 2 ({proc.pid}) is being skipped." + ) break seen_ppids.add(parent_pid) From 9e01666319b5d4168f5623678e5ef58e9d187117 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Mar 2025 18:24:53 +0000 Subject: [PATCH 1522/2186] Fix timers and kpcrs bugs, missing smear checks, and API. Closes #1642 --- .../framework/plugins/windows/kpcrs.py | 58 +++++++++++-------- .../framework/plugins/windows/timers.py | 36 +++++------- 2 files changed, 49 insertions(+), 45 deletions(-) diff --git a/volatility3/framework/plugins/windows/kpcrs.py b/volatility3/framework/plugins/windows/kpcrs.py index 558ea844c..213e3833c 100644 --- a/volatility3/framework/plugins/windows/kpcrs.py +++ b/volatility3/framework/plugins/windows/kpcrs.py @@ -4,7 +4,7 @@ import logging -from typing import Iterator, List, Tuple +from typing import Iterator, Generator, List, Tuple from volatility3.framework import ( renderers, @@ -22,7 +22,7 @@ class KPCRs(interfaces.plugins.PluginInterface): """Print KPCR structure for each processor""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -39,60 +39,70 @@ class KPCRs(interfaces.plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, kernel_module_name: str, - layer_name: str, - symbol_table: str, - ) -> interfaces.objects.ObjectInterface: + ) -> Generator[Tuple[interfaces.objects.ObjectInterface, int], None, None]: """Returns the KPCR structure for each processor Args: context: The context to retrieve required elements (layers, symbol tables) from kernel_module_name: The name of the kernel module on which to operate - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols Returns: The _KPCR structure for each processor """ kernel = context.modules[kernel_module_name] + kernel_layer = context.layers[kernel.layer_name] + + kpcr_type = kernel.get_type("_KPCR") + + reloff = kpcr_type.relative_child_offset("Prcb") + + if kpcr_type.has_member("CurrentPrcb"): + kpcr_member = "CurrentPrcb" + else: + kpcr_member = "Prcb" + cpu_count_offset = kernel.get_symbol("KeNumberProcessors").address + cpu_count = kernel.object( - object_type="unsigned int", layer_name=layer_name, offset=cpu_count_offset + object_type="unsigned int", + layer_name=kernel_layer.name, + offset=cpu_count_offset, ) + processor_block = kernel.object( object_type="pointer", - layer_name=layer_name, + layer_name=kernel_layer.name, offset=kernel.get_symbol("KiProcessorBlock").address, ) + processor_pointers = utility.array_of_pointers( context=context, array=processor_block, count=cpu_count, - subtype=symbol_table + constants.BANG + "_KPRCB", + subtype=kernel.symbol_table_name + constants.BANG + "_KPRCB", ) + for pointer in processor_pointers: kprcb = pointer.dereference() - reloff = kernel.get_type("_KPCR").relative_child_offset("Prcb") - kpcr = context.object( - symbol_table + constants.BANG + "_KPCR", - offset=kprcb.vol.offset - reloff, - layer_name=layer_name, - ) - yield kpcr + + object_address = kprcb.vol.offset - reloff + + if not kernel_layer.is_valid(kprcb.vol.offset): + continue + + kpcr = kernel.object("_KPCR", offset=object_address, absolute=True) + + yield kpcr, kpcr.member(kpcr_member) def _generator(self) -> Iterator[Tuple]: - kernel = self.context.modules[self.config["kernel"]] - layer_name = kernel.layer_name - symbol_table = kernel.symbol_table_name - for kpcr in self.list_kpcrs( - self.context, self.config["kernel"], layer_name, symbol_table - ): + for kpcr, current_prcb in self.list_kpcrs(self.context, self.config["kernel"]): yield ( 0, ( format_hints.Hex(kpcr.vol.offset), - format_hints.Hex(kpcr.CurrentPrcb), + format_hints.Hex(current_prcb), ), ) diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py index d08bc59dd..1f100bf1c 100644 --- a/volatility3/framework/plugins/windows/timers.py +++ b/volatility3/framework/plugins/windows/timers.py @@ -38,7 +38,7 @@ class Timers(interfaces.plugins.PluginInterface): name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) ), requirements.PluginRequirement( - name="kpcrs", plugin=kpcrs.KPCRs, version=(1, 0, 0) + name="kpcrs", plugin=kpcrs.KPCRs, version=(2, 0, 0) ), ] @@ -47,16 +47,12 @@ class Timers(interfaces.plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, kernel_module_name: str, - layer_name: str, - symbol_table: str, ) -> Iterable[extensions.KTIMER]: """Lists all kernel timers. Args: context: The context to retrieve required elements (layers, symbol tables) from kernel_module_name: The name of the kernel module on which to operate - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols Yields: A _KTIMER entry @@ -64,19 +60,19 @@ class Timers(interfaces.plugins.PluginInterface): kernel = context.modules[kernel_module_name] if versions.is_windows_7( - context=context, symbol_table=symbol_table - ) or versions.is_windows_8_or_later(context=context, symbol_table=symbol_table): + context=context, symbol_table=kernel.symbol_table_name + ) or versions.is_windows_8_or_later( + context=context, symbol_table=kernel.symbol_table_name + ): # Starting with Windows 7, there is no more KiTimerTableListHead. The list is # at _KPCR.PrcbData.TimerTable.TimerEntries # See http://pastebin.com/FiRsGW3f - for kpcr in kpcrs.KPCRs.list_kpcrs( - context, kernel_module_name, layer_name, symbol_table - ): + for kpcr, _ in kpcrs.KPCRs.list_kpcrs(context, kernel_module_name): if hasattr(kpcr.Prcb.TimerTable, "TableState"): for timer_entries in kpcr.Prcb.TimerTable.TimerEntries: for timer_entry in timer_entries: for timer in timer_entry.Entry.to_list( - symbol_table + constants.BANG + "_KTIMER", + kernel.symbol_table_name + constants.BANG + "_KTIMER", "TimerListEntry", ): yield timer @@ -84,17 +80,19 @@ class Timers(interfaces.plugins.PluginInterface): else: for timer_entries in kpcr.Prcb.TimerTable.TimerEntries: for timer in timer_entries.Entry.to_list( - symbol_table + constants.BANG + "_KTIMER", + kernel.symbol_table_name + constants.BANG + "_KTIMER", "TimerListEntry", ): yield timer elif versions.is_xp_or_2003( - context=context, symbol_table=symbol_table - ) or versions.is_vista_or_later(context=context, symbol_table=symbol_table): - is_64bit = symbols.symbol_table_is_64bit(context, symbol_table) + context=context, symbol_table=kernel.symbol_table_name + ) or versions.is_vista_or_later( + context=context, symbol_table=kernel.symbol_table_name + ): + is_64bit = symbols.symbol_table_is_64bit(context, kernel.symbol_table_name) if is_64bit or versions.is_vista_or_later( - context=context, symbol_table=symbol_table + context=context, symbol_table=kernel.symbol_table_name ): # On XP x64, Windows 2003 SP1-SP2, and Vista SP0-SP2, KiTimerTableListHead # is an array of 512 _KTIMER_TABLE_ENTRY structs. @@ -112,7 +110,7 @@ class Timers(interfaces.plugins.PluginInterface): ) for table in timer_table_list_head: for timer in table.to_list( - symbol_table + constants.BANG + "_KTIMER", + kernel.symbol_table_name + constants.BANG + "_KTIMER", "TimerListEntry", ): yield timer @@ -121,8 +119,6 @@ class Timers(interfaces.plugins.PluginInterface): raise NotImplementedError("This version of Windows is not supported!") def _generator(self) -> Iterator[Tuple]: - kernel = self.context.modules[self.config["kernel"]] - collection = ssdt.SSDT.build_module_collection( context=self.context, kernel_module_name=self.config["kernel"], @@ -132,8 +128,6 @@ class Timers(interfaces.plugins.PluginInterface): for timer in self.list_timers( self.context, self.config["kernel"], - kernel.layer_name, - kernel.symbol_table_name, ): if not timer.valid_type(): continue From 4f946156448f4cc8427c44e47e57ffb218575c35 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Mar 2025 22:42:58 +0000 Subject: [PATCH 1523/2186] Bring hash dumping plugins up to current coding standards and error checking patterns. Fix bugs and typing --- .../framework/plugins/windows/cachedump.py | 6 +-- .../framework/plugins/windows/hashdump.py | 34 +++++++++++++---- .../framework/plugins/windows/lsadump.py | 37 +++++++++++-------- 3 files changed, 51 insertions(+), 26 deletions(-) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index ef4096b42..bcc1fac7f 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -22,7 +22,7 @@ class Cachedump(interfaces.plugins.PluginInterface): """Dumps lsa secrets from memory""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -36,10 +36,10 @@ class Cachedump(interfaces.plugins.PluginInterface): name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), requirements.PluginRequirement( - name="lsadump", plugin=lsadump.Lsadump, version=(1, 0, 0) + name="lsadump", plugin=lsadump.Lsadump, version=(2, 0, 0) ), requirements.PluginRequirement( - name="hashdump", plugin=hashdump.Hashdump, version=(1, 1, 0) + name="hashdump", plugin=hashdump.Hashdump, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index fa4081366..9577326ae 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -9,7 +9,7 @@ from typing import List, Optional, Tuple from Crypto.Cipher import AES, ARC4, DES -from volatility3.framework import interfaces, renderers +from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.symbols.windows.extensions import registry from volatility3.plugins.windows.registry import hivelist @@ -21,7 +21,7 @@ class Hashdump(interfaces.plugins.PluginInterface): """Dumps user hashes from memory""" _required_framework_version = (2, 0, 0) - _version = (1, 1, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -326,7 +326,9 @@ class Hashdump(interfaces.plugins.PluginInterface): empty_nt = b"\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0" @classmethod - def get_hive_key(cls, hive: registry.RegistryHive, key: str): + def get_hive_key( + cls, hive: registry.RegistryHive, key: str + ) -> Optional["registry.CM_KEY_NODE"]: result = None try: if hive: @@ -351,6 +353,9 @@ class Hashdump(interfaces.plugins.PluginInterface): @classmethod def get_bootkey(cls, syshive: registry.RegistryHive) -> Optional[bytes]: + """ + Returns the scrambled bootkey necesary to decrypt hashes + """ cs = 1 lsa_base = f"ControlSet{cs:03}" + "\\Control\\Lsa" lsa_keys = ["JD", "Skew1", "GBG", "Data"] @@ -366,7 +371,10 @@ class Hashdump(interfaces.plugins.PluginInterface): key = cls.get_hive_key(syshive, lsa_base + "\\" + lk) class_data = None if key: - class_data = syshive.read(key.Class + 4, key.ClassLength) + try: + class_data = syshive.read(key.Class + 4, key.ClassLength) + except exceptions.InvalidAddressException: + return None if class_data is None: return None @@ -394,7 +402,11 @@ class Hashdump(interfaces.plugins.PluginInterface): sam_data = None for v in sam_account_key.get_values(): if v.get_name() == "F": - sam_data = samhive.read(v.Data + 4, v.DataLength) + try: + sam_data = samhive.read(v.Data + 4, v.DataLength) + except exceptions.InvalidAddressException: + return None + if not sam_data: return None @@ -444,7 +456,11 @@ class Hashdump(interfaces.plugins.PluginInterface): sam_data = None for v in user.get_values(): if v.get_name() == "V": - sam_data = samhive.read(v.Data + 4, v.DataLength) + try: + sam_data = samhive.read(v.Data + 4, v.DataLength) + except exceptions.InvalidAddressException: + return None + if not sam_data: return None @@ -546,7 +562,11 @@ class Hashdump(interfaces.plugins.PluginInterface): value = None for v in user.get_values(): if v.get_name() == "V": - value = samhive.read(v.Data + 4, v.DataLength) + try: + value = samhive.read(v.Data + 4, v.DataLength) + except exceptions.InvalidAddressException: + return None + if not value: return None diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index ac2b678f6..0d23dda0a 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -22,7 +22,7 @@ class Lsadump(interfaces.plugins.PluginInterface): """Dumps lsa secrets from memory""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -33,7 +33,7 @@ class Lsadump(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="hashdump", component=hashdump.Hashdump, version=(1, 1, 0) + name="hashdump", component=hashdump.Hashdump, version=(2, 0, 0) ), requirements.VersionRequirement( name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) @@ -76,8 +76,7 @@ class Lsadump(interfaces.plugins.PluginInterface): enc_reg_key = hashdump.Hashdump.get_hive_key(sechive, "Policy\\" + policy_key) if not enc_reg_key: return None - enc_reg_value = next(enc_reg_key.get_values()) - + enc_reg_value = next(enc_reg_key.get_values(), None) if not enc_reg_value: return None @@ -112,18 +111,22 @@ class Lsadump(interfaces.plugins.PluginInterface): name: str, lsakey: bytes, is_vista_or_later: bool, - ): + ) -> Optional[bytes]: enc_secret_key = hashdump.Hashdump.get_hive_key( sechive, "Policy\\Secrets\\" + name + "\\CurrVal" ) secret = None if enc_secret_key: - enc_secret_value = next(enc_secret_key.get_values()) + enc_secret_value = next(enc_secret_key.get_values(), None) if enc_secret_value: - enc_secret = sechive.read( - enc_secret_value.Data + 4, enc_secret_value.DataLength - ) + try: + enc_secret = sechive.read( + enc_secret_value.Data + 4, enc_secret_value.DataLength + ) + except exceptions.InvalidAddressExceptions: + return None + if enc_secret: if not is_vista_or_later: secret = cls.decrypt_secret(enc_secret[0xC:], lsakey) @@ -133,7 +136,7 @@ class Lsadump(interfaces.plugins.PluginInterface): return secret @classmethod - def decrypt_secret(cls, secret: bytes, key: bytes): + def decrypt_secret(cls, secret: bytes, key: bytes) -> bytes: """Python implementation of SystemFunction005. Decrypts a block of data with DES using given key. @@ -168,11 +171,11 @@ class Lsadump(interfaces.plugins.PluginInterface): ) bootkey = hashdump.Hashdump.get_bootkey(syshive) - lsakey = self.get_lsa_key(sechive, bootkey, vista_or_later) if not bootkey: vollog.warning("Unable to find bootkey") return None + lsakey = self.get_lsa_key(sechive, bootkey, vista_or_later) if not lsakey: vollog.warning("Unable to find lsa key") return None @@ -190,15 +193,17 @@ class Lsadump(interfaces.plugins.PluginInterface): if not sec_val_key: continue - enc_secret_value = next(sec_val_key.get_values()) + enc_secret_value = next(sec_val_key.get_values(), None) if not enc_secret_value: continue - enc_secret = sechive.read( - enc_secret_value.Data + 4, enc_secret_value.DataLength - ) - if not enc_secret: + try: + enc_secret = sechive.read( + enc_secret_value.Data + 4, enc_secret_value.DataLength + ) + except exceptions.InvalidAddressExceptions: continue + if not vista_or_later: secret = self.decrypt_secret(enc_secret[0xC:], lsakey) else: From 74df8dc1ee87afe07d7ccee89097af3bd8fcb2f3 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Mar 2025 23:36:45 +0000 Subject: [PATCH 1524/2186] Fix version changes --- volatility3/framework/plugins/windows/cachedump.py | 4 ++-- volatility3/framework/plugins/windows/lsadump.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index bcc1fac7f..745fb8be4 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -22,7 +22,7 @@ class Cachedump(interfaces.plugins.PluginInterface): """Dumps lsa secrets from memory""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): @@ -36,7 +36,7 @@ class Cachedump(interfaces.plugins.PluginInterface): name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), requirements.PluginRequirement( - name="lsadump", plugin=lsadump.Lsadump, version=(2, 0, 0) + name="lsadump", plugin=lsadump.Lsadump, version=(1, 0, 0) ), requirements.PluginRequirement( name="hashdump", plugin=hashdump.Hashdump, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 0d23dda0a..afae77e0d 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -22,7 +22,7 @@ class Lsadump(interfaces.plugins.PluginInterface): """Dumps lsa secrets from memory""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (1, 0, 0) @classmethod def get_requirements(cls): From 24a53b4f68e0e219907840b28ae094fa0cf8498c Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 00:22:07 +0000 Subject: [PATCH 1525/2186] Prevent truecrypt from throwing a backtrace when the module isn't found and print a warning --- .../framework/plugins/windows/truecrypt.py | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/truecrypt.py b/volatility3/framework/plugins/windows/truecrypt.py index 158fc995d..aaab49d20 100644 --- a/volatility3/framework/plugins/windows/truecrypt.py +++ b/volatility3/framework/plugins/windows/truecrypt.py @@ -2,6 +2,8 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import logging + from typing import Iterable, Generator, List, Tuple from volatility3.framework import constants, interfaces, renderers @@ -17,6 +19,8 @@ from volatility3.framework.symbols.windows.extensions import pe from volatility3.plugins.windows import modules +vollog = logging.getLogger(__name__) + class Passphrase(interfaces.plugins.PluginInterface): """TrueCrypt Cached Passphrase Finder""" @@ -123,11 +127,18 @@ class Passphrase(interfaces.plugins.PluginInterface): mods: Iterable[ObjectInterface] = modules.Modules.list_modules( self.context, self.config["kernel"] ) - truecrypt_module_base = next( - mod.DllBase - for mod in mods - if mod.BaseDllName.get_string().lower() == "truecrypt.sys" - ) + try: + truecrypt_module_base = next( + mod.DllBase + for mod in mods + if mod.BaseDllName.get_string().lower() == "truecrypt.sys" + ) + except StopIteration: + vollog.warning( + "Truecrypt module not found in the modules list. Unable to proceed." + ) + return + for offset, password in self.scan_module( truecrypt_module_base, kernel.layer_name ): From 9fe4092e9f9c18ddb6be452faecba476496dfbf1 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Mar 2025 03:34:26 +0000 Subject: [PATCH 1526/2186] Update the list_threads API to current standards and update current callers to new form --- .../framework/plugins/windows/debugregisters.py | 8 ++++---- .../framework/plugins/windows/suspended_threads.py | 8 ++++---- .../plugins/windows/suspicious_threads.py | 6 ++++-- volatility3/framework/plugins/windows/threads.py | 14 ++++++++------ 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index 0f6655c78..38b0cb97e 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -38,7 +38,7 @@ class DebugRegisters(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="threads", component=threads.Threads, version=(2, 0, 0) + name="threads", component=threads.Threads, version=(3, 0, 0) ), requirements.VersionRequirement( name="pe_symbols", component=pe_symbols.PESymbols, version=(2, 0, 0) @@ -111,8 +111,6 @@ class DebugRegisters(interfaces.plugins.PluginInterface): None, None, ]: - kernel = self.context.modules[self.config["kernel"]] - vads_cache: Dict[int, pe_symbols.ranges_type] = {} proc_modules = None @@ -122,7 +120,9 @@ class DebugRegisters(interfaces.plugins.PluginInterface): ) for proc in procs: - for thread in threads.Threads.list_threads(kernel, proc): + for thread in threads.Threads.list_threads( + self.context, self.config["kernel"], proc + ): debug_info = self._get_debug_info(thread) if not debug_info: continue diff --git a/volatility3/framework/plugins/windows/suspended_threads.py b/volatility3/framework/plugins/windows/suspended_threads.py index f83a201b5..f8f5027d4 100644 --- a/volatility3/framework/plugins/windows/suspended_threads.py +++ b/volatility3/framework/plugins/windows/suspended_threads.py @@ -36,7 +36,7 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): name="pe_symbols", component=pe_symbols.PESymbols, version=(2, 0, 0) ), requirements.VersionRequirement( - name="threads", component=threads.Threads, version=(2, 0, 0) + name="threads", component=threads.Threads, version=(3, 0, 0) ), ] @@ -54,8 +54,6 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): https://www.volexity.com/wp-content/uploads/2024/08/Defcon24_EDR_Evasion_Detection_White-Paper_Andrew-Case.pdf """ - kernel = self.context.modules[self.config["kernel"]] - vads_cache: Dict[int, pe_symbols.PESymbols.ranges_type] = {} proc_modules = None @@ -64,7 +62,9 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): for proc in pslist.PsList.list_processes( context=self.context, kernel_module_name=self.config["kernel"] ): - for thread in threads.Threads.list_threads(kernel, proc): + for thread in threads.Threads.list_threads( + self.context, self.config["kernel"], proc + ): try: # we only care if the thread is suspended if thread.Tcb.SuspendCount == 0: diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py index f83f3efc9..c98b06792 100644 --- a/volatility3/framework/plugins/windows/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -41,7 +41,7 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="threads", component=threads.Threads, version=(2, 0, 0) + name="threads", component=threads.Threads, version=(3, 0, 0) ), requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) @@ -169,7 +169,9 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): # there is no benefit to checking the same address more than once per process checked = set() - for thread in threads.Threads.list_threads(kernel, proc): + for thread in threads.Threads.list_threads( + self.context, self.config["kernel"], proc + ): # do not process if a thread is exited or terminated (4 = Terminated) if thread.ExitTime.QuadPart > 0 or thread.Tcb.State == 4: continue diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index f6d542357..e7150bbe4 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -16,7 +16,7 @@ class Threads(thrdscan.ThrdScan): """Lists process threads""" _required_framework_version = (2, 4, 0) - _version = (2, 0, 0) + _version = (3, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -36,9 +36,11 @@ class Threads(thrdscan.ThrdScan): ), ] - @classmethod + @staticmethod def list_threads( - cls, kernel, proc: interfaces.objects.ObjectInterface + context: interfaces.context.ContextInterface, + kernel_module_name: str, + proc: interfaces.objects.ObjectInterface, ) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Lists the Threads of a specific process. @@ -48,6 +50,8 @@ class Threads(thrdscan.ThrdScan): Returns: A list of threads based on the process and filtered based on the filter function """ + kernel = context.modules[kernel_module_name] + seen = set() for thread in proc.ThreadListHead.to_list( f"{kernel.symbol_table_name}{constants.BANG}_ETHREAD", "ThreadListEntry" @@ -64,8 +68,6 @@ class Threads(thrdscan.ThrdScan): kernel_module_name: str, ) -> Iterable[interfaces.objects.ObjectInterface]: """Runs through all processes and lists threads for each process""" - module = context.modules[kernel_module_name] - filter_func = pslist.PsList.create_pid_filter(context.config.get("pid", None)) for proc in pslist.PsList.list_processes( @@ -73,4 +75,4 @@ class Threads(thrdscan.ThrdScan): kernel_module_name=kernel_module_name, filter_func=filter_func, ): - yield from cls.list_threads(module, proc) + yield from cls.list_threads(context, kernel_module_name, proc) From 7342f1e27e864df4b7d710b69d993c643feaa978 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Mar 2025 18:25:35 -0600 Subject: [PATCH 1527/2186] Apply suggestions from code review convert from static back to classmethod Co-authored-by: ikelos --- volatility3/framework/plugins/windows/threads.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index e7150bbe4..77062e8c6 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -36,8 +36,9 @@ class Threads(thrdscan.ThrdScan): ), ] - @staticmethod + @classmethod def list_threads( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str, proc: interfaces.objects.ObjectInterface, From bcf038bfd5ff981f673e23426b96ec79d3d8c19c Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 00:30:06 +0000 Subject: [PATCH 1528/2186] Fix versioning again --- volatility3/framework/plugins/windows/cachedump.py | 4 ++-- volatility3/framework/plugins/windows/hashdump.py | 2 +- volatility3/framework/plugins/windows/lsadump.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index 745fb8be4..cdb1d3c91 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -22,7 +22,7 @@ class Cachedump(interfaces.plugins.PluginInterface): """Dumps lsa secrets from memory""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 1, 1) @classmethod def get_requirements(cls): @@ -39,7 +39,7 @@ class Cachedump(interfaces.plugins.PluginInterface): name="lsadump", plugin=lsadump.Lsadump, version=(1, 0, 0) ), requirements.PluginRequirement( - name="hashdump", plugin=hashdump.Hashdump, version=(2, 0, 0) + name="hashdump", plugin=hashdump.Hashdump, version=(1, 1, 0) ), ] diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index 9577326ae..3346807d6 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -21,7 +21,7 @@ class Hashdump(interfaces.plugins.PluginInterface): """Dumps user hashes from memory""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (1, 1, 1) @classmethod def get_requirements(cls): diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index afae77e0d..325c8e381 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -33,7 +33,7 @@ class Lsadump(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="hashdump", component=hashdump.Hashdump, version=(2, 0, 0) + name="hashdump", component=hashdump.Hashdump, version=(1, 1, 0) ), requirements.VersionRequirement( name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) From 9e7ac650deeb26bf2382446a59814dec9433db0b Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 00:30:53 +0000 Subject: [PATCH 1529/2186] Fix versioning again --- volatility3/framework/plugins/windows/cachedump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index cdb1d3c91..ef4096b42 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -22,7 +22,7 @@ class Cachedump(interfaces.plugins.PluginInterface): """Dumps lsa secrets from memory""" _required_framework_version = (2, 0, 0) - _version = (1, 1, 1) + _version = (1, 0, 1) @classmethod def get_requirements(cls): From f85c3a2d97136ea2acbc438c03120eda202ebee7 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 00:31:57 +0000 Subject: [PATCH 1530/2186] Fix versioning again --- volatility3/framework/plugins/windows/lsadump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 325c8e381..041a653f4 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -22,7 +22,7 @@ class Lsadump(interfaces.plugins.PluginInterface): """Dumps lsa secrets from memory""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): From 3800ef37c7a29d9af6338b0dada091afc58a53c6 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 00:32:47 +0000 Subject: [PATCH 1531/2186] Fix versioning again --- volatility3/framework/plugins/windows/cachedump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index ef4096b42..7bc35945a 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -22,7 +22,7 @@ class Cachedump(interfaces.plugins.PluginInterface): """Dumps lsa secrets from memory""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls): From 3b7317971de4891817bc50f463ba8a78d4ad765b Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Mar 2025 19:55:28 +0000 Subject: [PATCH 1532/2186] Fix error handling and reporting around PE reconstruction calls --- volatility3/framework/plugins/windows/iat.py | 20 +++++++++++++++---- .../framework/plugins/windows/pe_symbols.py | 2 +- .../framework/plugins/windows/verinfo.py | 7 ++++++- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/iat.py b/volatility3/framework/plugins/windows/iat.py index 701db5734..acd3aaea2 100644 --- a/volatility3/framework/plugins/windows/iat.py +++ b/volatility3/framework/plugins/windows/iat.py @@ -69,11 +69,23 @@ class IAT(interfaces.plugins.PluginInterface): layer_name=proc_layer_name, ) - for offset, data in dos_header.reconstruct(): - pe_data.seek(offset) - pe_data.write(data) + try: + for offset, data in dos_header.reconstruct(): + pe_data.seek(offset) + pe_data.write(data) + except (exceptions.InvalidAddressException, ValueError) as excp: + vollog.debug( + f"Exception triggered when reconstructing PE file for process {proc.UniqueProcessId} at address {peb.ImageBaseAddress:#x} due to {excp}. Output file may be corrupt and/or truncated." + ) + + try: + pe_obj = pefile.PE(data=pe_data.getvalue(), fast_load=True) + except pefile.PEFormatError as excp: + vollog.debug( + f"Exception triggered when creating PE file object for process {proc.UniqueProcessId} at address {peb.ImageBaseAddress:#x} due to {excp}. Unable to extract file." + ) + continue - pe_obj = pefile.PE(data=pe_data.getvalue(), fast_load=True) pe_obj.parse_data_directories( [pefile.DIRECTORY_ENTRY["IMAGE_DIRECTORY_ENTRY_IMPORT"]] ) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 270c6a174..0faf4a698 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -327,7 +327,7 @@ class PESymbols(interfaces.plugins.PluginInterface): pe_ret = pefile.PE(data=pe_data.getvalue(), fast_load=True) - except exceptions.InvalidAddressException: + except (exceptions.InvalidAddressException, ValueError): pe_ret = None return pe_ret diff --git a/volatility3/framework/plugins/windows/verinfo.py b/volatility3/framework/plugins/windows/verinfo.py index fa7d4e113..49bf0b212 100644 --- a/volatility3/framework/plugins/windows/verinfo.py +++ b/volatility3/framework/plugins/windows/verinfo.py @@ -176,7 +176,12 @@ class VerInfo(interfaces.plugins.PluginInterface): (major, minor, product, build) = self.get_version_information( self._context, pe_table_name, session_layer_name, mod.DllBase ) - except (exceptions.InvalidAddressException, TypeError, AttributeError): + except ( + exceptions.InvalidAddressException, + ValueError, + TypeError, + AttributeError, + ): (major, minor, product, build) = [renderers.UnreadableValue()] * 4 if ( not isinstance(BaseDllName, renderers.UnreadableValue) From 0d3b155766ce4803ab718bfcb2e296bc7ba0dd41 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 00:50:51 +0000 Subject: [PATCH 1533/2186] Change debug to warning to always notify user --- volatility3/framework/plugins/windows/iat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/iat.py b/volatility3/framework/plugins/windows/iat.py index acd3aaea2..f2ba8e576 100644 --- a/volatility3/framework/plugins/windows/iat.py +++ b/volatility3/framework/plugins/windows/iat.py @@ -74,7 +74,7 @@ class IAT(interfaces.plugins.PluginInterface): pe_data.seek(offset) pe_data.write(data) except (exceptions.InvalidAddressException, ValueError) as excp: - vollog.debug( + vollog.warning( f"Exception triggered when reconstructing PE file for process {proc.UniqueProcessId} at address {peb.ImageBaseAddress:#x} due to {excp}. Output file may be corrupt and/or truncated." ) From 7f87f8eee0d0bf1fb481dc137e835dbf67d77d1a Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 8 Mar 2025 08:27:01 +0000 Subject: [PATCH 1534/2186] Tweak complex plugin documentation --- doc/source/complex-plugin.rst | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/doc/source/complex-plugin.rst b/doc/source/complex-plugin.rst index 8ab8a5186..07071f9a7 100644 --- a/doc/source/complex-plugin.rst +++ b/doc/source/complex-plugin.rst @@ -13,7 +13,7 @@ There is scope for this, in order to run multiple plugins (see `Writing plugins is to provide a parameterized `classmethod` within the plugin, which will allow the method to yield whatever kind of output it will generate and take whatever parameters it might need. -This is how processes are listed, which is an often used function. The code lives within the +As an example, an often used function is listing processes. The code lives within the :py:class:`~volatility3.plugins.windows.pslist.PsList` plugin but can be used by other plugins by providing the appropriate parameters (see :py:meth:`~volatility3.plugins.windows.pslist.PsList.list_processes`). @@ -36,8 +36,8 @@ each plugin in order to populate the context's configuration correctly based on between plugins). Once the automagics have been constructed, the plugin can be instantiated using the helper function :py:func:`~volatility3.framework.plugins.construct_plugin` providing: - * the base context (containing the configuration and any already loaded layers or symbol tables), - * the plugin class to run, + * the base context (containing the configuration and any already loaded layers or symbol tables)0l + * the plugin class to run * the configuration path within the context for the plugin * any callback to determine progress in lengthy operations * an open method for the plugin to create files during the run @@ -58,7 +58,7 @@ ContextManager, so it can be used by the python `with` keyword). This is set on that can be set on the filename, and a :py:class:`~volatility3.framework.interfaces.plugins.FileHandlerInterface` is the result. This mimics an `IO[bytes]` object, which closely mimics a standard python file-like object. -As such code for outputting to a file would be expected to look something like: +As such, code for outputting to a file would be expected to look something like: .. code-block:: python @@ -76,8 +76,7 @@ Writing Scanners Scanners are objects that adhere to the :py:class:`~volatility3.framework.interfaces.layers.ScannerInterface`. They are passed to the :py:meth:`~volatility3.framework.interfaces.layers.TranslationLayerInterface.scan` method on layers which will divide the provided range of sections (or the entire layer -if none are provided) and call the :py:meth:`~volatility3.framework.interfaces.layers.ScannerInterface`'s call method -method with each chunk as a parameter, ensuring a suitable amount of overlap (as defined by the scanner). +if none are provided) and call the :py:meth:`~volatility3.framework.interfaces.layers.ScannerInterface`'s call method with each chunk as a parameter, ensuring a suitable amount of overlap (as defined by the scanner). The offset of the chunk, within the layer, is also provided as a parameter. Scanners can technically maintain state, but it is not recommended since the ordering that the chunks are scanned is @@ -92,18 +91,18 @@ Empirically it was found that scanners are typically not the most time intensive extensive scanning) and so parallelism does not offer significant gains. As such, parallelism is not enabled by default but interfaces can easily enable parallelism when desired. -Writing/Using Intermediate Symbol Format Files ----------------------------------------------- +Writing / Using Intermediate Symbol Format Files +------------------------------------------------ It can occasionally be useful to create a data file containing the static structures that can create a :py:class:`~volatility3.framework.interfaces.objects.Template` to be instantiated on a layer. Volatility has all the machinery necessary to construct these for you from properly formatted JSON data. -The JSON format is documented by the JSON schema files located in schemas. These are versioned using standard .so +The JSON format is documented by the JSON schema files located in the schemas directory. These are versioned using standard .so library versioning, so they may not increment as expected. Each schema lists an available version that can be used, which specifies five different sections: -* Base_types - These are the basic type names that will make up the native/primitive types +* Base_types - These are the basic type names that will make up the native / primitive types * User_types - These are the standard definitions of type structures, most will go here * Symbols - These list offsets that are associated with specific names (and can be associated with specific type names) * Enums - Enumerations that offer a number of choices @@ -180,7 +179,7 @@ of data. Each chunk contains the following information, in order: **layer_name** the layer that this data comes from -An example (and the most common layer encountered in memory forensics) would be an Intel layer, which models the intel +An example (and the most common layer encountered in memory forensics) would be an Intel layer, which models the Intel page mapping system. Based on a series of tables stored within the layer itself, an intel layer can convert a virtual address to a physical address. It should be noted that intel layers allow multiple virtual addresses to map to the same physical address (but a single virtual address cannot ever map to more than one physical address). @@ -195,7 +194,7 @@ like `abcdr`, requesting `mapping(5, 4)` would return: (7,2,0,2, 'physical_layer') ] -This mapping mechanism allows for great flexibility in that chunks making up a virtual layer can come from multiple +This mapping mechanism allows for great flexibility because chunks making up a virtual layer can come from multiple different range layers, allowing for swap space to be used to construct the virtual layer, for example. Also, by defining the mapping method, the read and write methods (which read and write into the domain layer) are defined for you to write to the lower layers (which in turn can write to layers even lower than that) until eventually they arrive at a @@ -264,7 +263,7 @@ so it therefore populates the `metadata` property. This is defined as a read-on includes data from every underlying layer. As such, CrashDumpLayer would actually specify this value by setting it in the protected dictionary by `self._direct_metadata['page_map_offset']`. -There is, unfortunately, no easy way to form consensus between a particular layer may want and what a particular layer +There is, unfortunately, no easy way to form consensus between what a particular layer may want and what a particular layer may be able to provide. At the moment, the main information that layers may populate are: * `os` with values of `Windows`, `Linux`, `Mac` or `unknown` From 0dbd8c0ec103dbee97d192995b465a7d76079546 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 8 Mar 2025 08:30:41 +0000 Subject: [PATCH 1535/2186] Tweak complex plugin documentation --- doc/source/complex-plugin.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/complex-plugin.rst b/doc/source/complex-plugin.rst index 07071f9a7..8a35887ec 100644 --- a/doc/source/complex-plugin.rst +++ b/doc/source/complex-plugin.rst @@ -36,7 +36,7 @@ each plugin in order to populate the context's configuration correctly based on between plugins). Once the automagics have been constructed, the plugin can be instantiated using the helper function :py:func:`~volatility3.framework.plugins.construct_plugin` providing: - * the base context (containing the configuration and any already loaded layers or symbol tables)0l + * the base context (containing the configuration and any already loaded layers or symbol tables) * the plugin class to run * the configuration path within the context for the plugin * any callback to determine progress in lengthy operations From 603ecbb48602d92d473f7437b153991a02457169 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Sat, 8 Mar 2025 12:29:34 +0100 Subject: [PATCH 1536/2186] render secret with HexBytes --- volatility3/framework/plugins/windows/lsadump.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 051e55afe..a3bf9300f 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -14,6 +14,7 @@ from volatility3.framework.layers import registry from volatility3.framework.symbols.windows import versions from volatility3.plugins.windows import hashdump from volatility3.plugins.windows.registry import hivelist +from volatility3.framework.renderers import format_hints vollog = logging.getLogger(__name__) @@ -204,7 +205,7 @@ class Lsadump(interfaces.plugins.PluginInterface): else: secret = self.decrypt_aes(enc_secret, lsakey) - yield (0, (key.get_name(), str(secret), secret)) + yield (0, (key.get_name(), format_hints.HexBytes(secret), secret)) def run(self): offset = self.config.get("offset", None) @@ -224,6 +225,6 @@ class Lsadump(interfaces.plugins.PluginInterface): sechive = hive return renderers.TreeGrid( - [("Key", str), ("Secret", str), ("Hex", bytes)], + [("Key", str), ("Secret", format_hints.HexBytes), ("Hex", bytes)], self._generator(syshive, sechive), ) From 475c1e163cfd0e31486f897651a92a4ce6d8c314 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 8 Mar 2025 12:58:25 +0000 Subject: [PATCH 1537/2186] Tweak complex plugin documentation --- doc/source/complex-plugin.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/complex-plugin.rst b/doc/source/complex-plugin.rst index 8a35887ec..3db204081 100644 --- a/doc/source/complex-plugin.rst +++ b/doc/source/complex-plugin.rst @@ -76,7 +76,8 @@ Writing Scanners Scanners are objects that adhere to the :py:class:`~volatility3.framework.interfaces.layers.ScannerInterface`. They are passed to the :py:meth:`~volatility3.framework.interfaces.layers.TranslationLayerInterface.scan` method on layers which will divide the provided range of sections (or the entire layer -if none are provided) and call the :py:meth:`~volatility3.framework.interfaces.layers.ScannerInterface`'s call method with each chunk as a parameter, ensuring a suitable amount of overlap (as defined by the scanner). +if none are provided) and call the :py:meth:`~volatility3.framework.interfaces.layers.ScannerInterface`'s call method +with each chunk as a parameter, ensuring a suitable amount of overlap (as defined by the scanner). The offset of the chunk, within the layer, is also provided as a parameter. Scanners can technically maintain state, but it is not recommended since the ordering that the chunks are scanned is From f69b00b48c07328b618efaad6aa1e14cb3a5c3eb Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 17:21:27 +0000 Subject: [PATCH 1538/2186] Convert poolscanning APIs to new coding standards --- .../framework/plugins/windows/bigpools.py | 34 ++--- .../framework/plugins/windows/callbacks.py | 126 +++++++----------- .../framework/plugins/windows/cmdscan.py | 17 +-- .../framework/plugins/windows/consoles.py | 50 +++---- .../framework/plugins/windows/dlllist.py | 13 +- .../framework/plugins/windows/driverscan.py | 12 +- .../framework/plugins/windows/filescan.py | 22 ++- .../framework/plugins/windows/handles.py | 5 +- .../plugins/windows/indirect_system_calls.py | 2 +- volatility3/framework/plugins/windows/info.py | 70 +++++----- .../framework/plugins/windows/modscan.py | 4 +- .../framework/plugins/windows/mutantscan.py | 21 ++- .../framework/plugins/windows/netscan.py | 52 ++++---- .../framework/plugins/windows/netstat.py | 6 +- .../framework/plugins/windows/poolscanner.py | 43 +++--- .../framework/plugins/windows/psscan.py | 58 ++++---- .../framework/plugins/windows/psxview.py | 32 ++--- .../plugins/windows/registry/hivescan.py | 9 +- .../framework/plugins/windows/svcscan.py | 5 +- .../framework/plugins/windows/symlinkscan.py | 20 +-- .../framework/plugins/windows/thrdscan.py | 10 +- .../plugins/windows/windowstations.py | 9 +- 22 files changed, 262 insertions(+), 358 deletions(-) diff --git a/volatility3/framework/plugins/windows/bigpools.py b/volatility3/framework/plugins/windows/bigpools.py index 9da702ae0..fabdd4306 100644 --- a/volatility3/framework/plugins/windows/bigpools.py +++ b/volatility3/framework/plugins/windows/bigpools.py @@ -21,7 +21,7 @@ class BigPools(interfaces.plugins.PluginInterface): """List big page pools.""" _required_framework_version = (2, 0, 0) - _version = (1, 1, 1) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -50,8 +50,7 @@ class BigPools(interfaces.plugins.PluginInterface): def list_big_pools( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, tags: Optional[list] = None, show_free: bool = False, ): @@ -59,19 +58,13 @@ class BigPools(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module for the kernel tags: An optional list of pool tags to filter big page pool tags by Yields: A big page pool object """ - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) - if not kvo: - raise ValueError( - "Intel layer does not have an associated kernel virtual offset, failing" - ) - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + ntkrnlmp = context.modules[kernel_module_name] big_page_table_offset = ntkrnlmp.get_symbol("PoolBigPageTable").address big_page_table = ntkrnlmp.object( @@ -87,8 +80,10 @@ class BigPools(interfaces.plugins.PluginInterface): big_page_table_type = ntkrnlmp.get_type("_POOL_TRACKER_BIG_PAGES") except exceptions.SymbolError: # We have to manually load a symbol table - is_vista_or_later = versions.is_vista_or_later(context, symbol_table) - is_win10 = versions.is_win10(context, symbol_table) + is_vista_or_later = versions.is_vista_or_later( + context, ntkrnlmp.symbol_table_name + ) + is_win10 = versions.is_win10(context, ntkrnlmp.symbol_table_name) if is_win10: big_pools_json_filename = "bigpools-win10" elif is_vista_or_later: @@ -96,7 +91,7 @@ class BigPools(interfaces.plugins.PluginInterface): else: big_pools_json_filename = "bigpools" - if symbols.symbol_table_is_64bit(context, symbol_table): + if symbols.symbol_table_is_64bit(context, ntkrnlmp.symbol_table_name): big_pools_json_filename += "-x64" else: big_pools_json_filename += "-x86" @@ -104,16 +99,17 @@ class BigPools(interfaces.plugins.PluginInterface): new_table_name = intermed.IntermediateSymbolTable.create( context=context, config_path=configuration.path_join( - context.symbol_space[symbol_table].config_path, "bigpools" + context.symbol_space[ntkrnlmp.symbol_table_name].config_path, + "bigpools", ), sub_path=os.path.join("windows", "bigpools"), filename=big_pools_json_filename, - table_mapping={"nt_symbols": symbol_table}, + table_mapping={"nt_symbols": ntkrnlmp.symbol_table_name}, class_types={ "_POOL_TRACKER_BIG_PAGES": extensions.pool.POOL_TRACKER_BIG_PAGES }, ) - module = context.module(new_table_name, layer_name, offset=0) + module = context.module(new_table_name, ntkrnlmp.layer_name, offset=0) big_page_table_type = module.get_type("_POOL_TRACKER_BIG_PAGES") big_pools = ntkrnlmp.object( @@ -136,12 +132,10 @@ class BigPools(interfaces.plugins.PluginInterface): tags = [tag for tag in self.config["tags"].split(",")] else: tags = None - kernel = self.context.modules[self.config["kernel"]] for big_pool in self.list_big_pools( context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + kernel_module_name=self.config["kernel"], tags=tags, show_free=self.config.get("show-free"), ): diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index 08e343ec7..c832df66a 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -28,7 +28,7 @@ class Callbacks(interfaces.plugins.PluginInterface): """Lists kernel callbacks and notification routines.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 1) + _version = (3, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -42,7 +42,7 @@ class Callbacks(interfaces.plugins.PluginInterface): name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) ), requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) + name="poolscanner", plugin=poolscanner.PoolScanner, version=(2, 0, 0) ), requirements.PluginRequirement( name="driverirp", plugin=driverirp.DriverIrp, version=(1, 0, 0) @@ -211,8 +211,7 @@ class Callbacks(interfaces.plugins.PluginInterface): def scan( cls, context: interfaces.context.ContextInterface, - layer_name: str, - nt_symbol_table: str, + kernel_module_name: str, callback_symbol_table: str, ) -> Iterable[ Tuple[ @@ -225,18 +224,21 @@ class Callbacks(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - nt_symbol_table: The name of the table containing the kernel symbols + kernel_module_name: Name of the module for the kernel callback_symbol_table: The name of the table containing the callback object symbols (_SHUTDOWN_PACKET etc.) Returns: A list of callback objects found by scanning the `layer_name` layer for callback pool signatures """ + kernel = context.modules[kernel_module_name] + is_vista_or_later = versions.is_vista_or_later( - context=context, symbol_table=nt_symbol_table + context=context, symbol_table=kernel.symbol_table_name ) - type_map = handles.Handles.get_type_map(context, layer_name, nt_symbol_table) + type_map = handles.Handles.get_type_map( + context, kernel.layer_name, kernel.symbol_table_name + ) constraints = cls.create_callback_scan_constraints( context, callback_symbol_table, is_vista_or_later @@ -247,7 +249,7 @@ class Callbacks(interfaces.plugins.PluginInterface): mem_object, _header, ) in poolscanner.PoolScanner.generate_pool_scan( - context, layer_name, nt_symbol_table, constraints + context, kernel_module_name, constraints ): try: if isinstance(mem_object, callbacks._SHUTDOWN_PACKET): @@ -347,31 +349,24 @@ class Callbacks(interfaces.plugins.PluginInterface): def list_notify_routines( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, callback_table_name: str, ) -> Iterable[Tuple[str, int, Optional[str]]]: """Lists all kernel notification routines. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module of the kernel callback_table_name: The name of the table containing the callback symbols Yields: A name, location and optional detail string """ - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) - if not kvo: - raise ValueError( - "Intel layer does not have an associated kernel virtual offset, failing" - ) - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + ntkrnlmp = context.modules[kernel_module_name] is_vista_or_later = versions.is_vista_or_later( - context=context, symbol_table=symbol_table + context=context, symbol_table=ntkrnlmp.symbol_table_name ) full_type_name = callback_table_name + constants.BANG + "_GENERIC_CALLBACK" @@ -416,20 +411,14 @@ class Callbacks(interfaces.plugins.PluginInterface): def _list_registry_callbacks_legacy( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, callback_table_name: str, ) -> Iterable[Tuple[str, int, None]]: """ Lists all registry callbacks from the old format via the CmpCallBackVector. """ - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) - if not kvo: - raise ValueError( - "Intel layer does not have an associated kernel virtual offset, failing" - ) - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + ntkrnlmp = context.modules[kernel_module_name] full_type_name = ( callback_table_name + constants.BANG + "_EX_CALLBACK_ROUTINE_BLOCK" ) @@ -467,20 +456,13 @@ class Callbacks(interfaces.plugins.PluginInterface): def _list_registry_callbacks_new( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, callback_table_name: str, ) -> Iterable[Tuple[str, int, Optional[str]]]: """ Lists all registry callbacks via the CallbackListHead. """ - - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) - if not kvo: - raise ValueError( - "Intel layer does not have an associated kernel virtual offset, failing" - ) - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + ntkrnlmp = context.modules[kernel_module_name] full_type_name = callback_table_name + constants.BANG + "_CM_CALLBACK_ENTRY" symbol_offset = ntkrnlmp.get_symbol("CallbackListHead").address @@ -504,40 +486,33 @@ class Callbacks(interfaces.plugins.PluginInterface): def list_registry_callbacks( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, callback_table_name: str, ) -> Iterable[Tuple[str, int, Optional[str]]]: """Lists all registry callbacks. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module of the kernel callback_table_name: The name of the table containing the callback symbols Yields: A name, location and optional detail string """ - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) - if not kvo: - raise ValueError( - "Intel layer does not have an associated kernel virtual offset, failing" - ) - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + ntkrnlmp = context.modules[kernel_module_name] if ntkrnlmp.has_symbol("CmpCallBackVector") and ntkrnlmp.has_symbol( "CmpCallBackCount" ): yield from cls._list_registry_callbacks_legacy( - context, layer_name, symbol_table, callback_table_name + context, kernel_module_name, callback_table_name ) elif ntkrnlmp.has_symbol("CallbackListHead") and ntkrnlmp.has_symbol( "CmpCallBackCount" ): yield from cls._list_registry_callbacks_new( - context, layer_name, symbol_table, callback_table_name + context, kernel_module_name, callback_table_name ) else: symbols_to_check = [ @@ -552,14 +527,11 @@ class Callbacks(interfaces.plugins.PluginInterface): symbol_status = "exists" vollog.debug(f"symbol {symbol_name} {symbol_status}.") - return None - @classmethod def list_bugcheck_reason_callbacks( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, callback_table_name: str, ) -> Iterable[ Tuple[ @@ -572,20 +544,14 @@ class Callbacks(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module of the kernel callback_table_name: The name of the table containing the callback symbols Yields: A name, location and optional detail string """ - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) - if not kvo: - raise ValueError( - "Intel layer does not have an associated kernel virtual offset, failing" - ) - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + ntkrnlmp = context.modules[kernel_module_name] try: list_offset = ntkrnlmp.get_symbol( @@ -599,11 +565,15 @@ class Callbacks(interfaces.plugins.PluginInterface): callback_table_name + constants.BANG + "_KBUGCHECK_REASON_CALLBACK_RECORD" ) callback_record = context.object( - object_type=full_type_name, offset=kvo + list_offset, layer_name=layer_name + object_type=full_type_name, + offset=ntkrnlmp.offset + list_offset, + layer_name=ntkrnlmp.layer_name, ) for callback in callback_record.Entry: - if not context.layers[layer_name].is_valid(callback.CallbackRoutine, 64): + if not context.layers[ntkrnlmp.layer_name].is_valid( + callback.CallbackRoutine, 64 + ): continue try: @@ -626,8 +596,7 @@ class Callbacks(interfaces.plugins.PluginInterface): def list_bugcheck_callbacks( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, callback_table_name: str, ) -> Iterable[ Tuple[ @@ -640,20 +609,13 @@ class Callbacks(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module of the kernel callback_table_name: The name of the table containing the callback symbols Yields: A name, location and optional detail string """ - - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) - if not kvo: - raise ValueError( - "Intel layer does not have an associated kernel virtual offset, failing" - ) - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + ntkrnlmp = context.modules[kernel_module_name] try: list_offset = ntkrnlmp.get_symbol("KeBugCheckCallbackListHead").address @@ -665,17 +627,20 @@ class Callbacks(interfaces.plugins.PluginInterface): callback_table_name + constants.BANG + "_KBUGCHECK_CALLBACK_RECORD" ) callback_record = context.object( - full_type_name, offset=kvo + list_offset, layer_name=layer_name + full_type_name, + offset=ntkrnlmp.offset + list_offset, + layer_name=ntkrnlmp.layer_name, ) for callback in callback_record.Entry: - if not context.layers[layer_name].is_valid(callback.CallbackRoutine, 64): + if not context.layers[ntkrnlmp.layer_name].is_valid( + callback.CallbackRoutine, 64 + ): continue try: - component = context.object( - symbol_table + constants.BANG + "string", - layer_name=layer_name, + component = ntkrnlmp.object( + "string", offset=callback.Component, max_length=64, errors="replace", @@ -708,8 +673,7 @@ class Callbacks(interfaces.plugins.PluginInterface): for callback_method in callback_methods: for callback_type, callback_address, callback_detail in callback_method( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], callback_symbol_table, ): if callback_detail is None: diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index be955374b..b7eab79fb 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -24,7 +24,7 @@ class CmdScan(interfaces.plugins.PluginInterface): """Looks for Windows Command History lists""" _required_framework_version = (2, 4, 0) - _version = (1, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -39,7 +39,7 @@ class CmdScan(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( - name="consoles", plugin=consoles.Consoles, version=(2, 0, 0) + name="consoles", plugin=consoles.Consoles, version=(3, 0, 0) ), requirements.BooleanRequirement( name="no_registry", @@ -83,9 +83,8 @@ class CmdScan(interfaces.plugins.PluginInterface): def get_command_history( cls, context: interfaces.context.ContextInterface, - kernel_layer_name: str, - kernel_symbol_table_name: str, config_path: str, + kernel_module_name: str, procs: Generator[interfaces.objects.ObjectInterface, None, None], max_history: Set[int], ) -> Tuple[ @@ -97,8 +96,6 @@ class CmdScan(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - kernel_layer_name: The name of the layer on which to operate - kernel_symbol_table_name: The name of the table containing the kernel symbols config_path: The config path where to find symbol files procs: List of process objects max_history: An initial set of CommandHistorySize values @@ -135,9 +132,8 @@ class CmdScan(interfaces.plugins.PluginInterface): if conhost_symbol_table is None: conhost_symbol_table = consoles.Consoles.create_conhost_symbol_table( context, - kernel_layer_name, - kernel_symbol_table_name, config_path, + kernel_module_name, proc_layer_name, conhostexe_base, ) @@ -279,8 +275,6 @@ class CmdScan(interfaces.plugins.PluginInterface): procs: the process list filtered to conhost.exe instances """ - kernel = self.context.modules[self.config["kernel"]] - max_history = set(self.config.get("max_history", [50])) no_registry = self.config.get("no_registry") @@ -302,9 +296,8 @@ class CmdScan(interfaces.plugins.PluginInterface): command_history_properties, ) in self.get_command_history( self.context, - kernel.layer_name, - kernel.symbol_table_name, self.config_path, + self.config["kernel"], procs, max_history, ): diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index ff5875354..8236d87be 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -31,7 +31,7 @@ class Consoles(interfaces.plugins.PluginInterface): _required_framework_version = (2, 4, 0) # 2.0.0 - change the signature of `get_console_settings_from_registry` - _version = (2, 0, 0) + _version = (3, 0, 0) @classmethod def get_requirements(cls): @@ -128,9 +128,8 @@ class Consoles(interfaces.plugins.PluginInterface): def determine_conhost_version( cls, context: interfaces.context.ContextInterface, - layer_name: str, - nt_symbol_table: str, config_path: str, + kernel_module_name: str, conhost_layer_name: str, conhost_base: int, ) -> Tuple[Optional[str], Dict[str, Type]]: @@ -139,9 +138,8 @@ class Consoles(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - nt_symbol_table: The name of the table containing the kernel symbols config_path: The config path where to find symbol files + kernel_module_name: The name of the module for the kernel conhost_layer_name: The name of the conhot process memory layer conhost_base: the base address of conhost.exe @@ -149,8 +147,10 @@ class Consoles(interfaces.plugins.PluginInterface): The filename of the symbol table to use and the associated class types. """ + kernel = context.modules[kernel_module_name] + is_64bit = symbols.symbol_table_is_64bit( - context=context, symbol_table_name=nt_symbol_table + context=context, symbol_table_name=kernel.symbol_table_name ) if is_64bit: @@ -158,9 +158,9 @@ class Consoles(interfaces.plugins.PluginInterface): else: arch = "x86" - vers = info.Info.get_version_structure(context, layer_name, nt_symbol_table) + vers = info.Info.get_version_structure(context, kernel_module_name) - kuser = info.Info.get_kuser_structure(context, layer_name, nt_symbol_table) + kuser = info.Info.get_kuser_structure(context, kernel_module_name) try: vers_minor_version = int(vers.MinorVersion) @@ -247,7 +247,7 @@ class Consoles(interfaces.plugins.PluginInterface): ) except (exceptions.InvalidAddressException, TypeError, AttributeError): # the following is IntelLayer specific and might need to be adapted to other architectures. - physical_layer_name = context.layers[layer_name].config.get( + physical_layer_name = context.layers[kernel.layer_name].config.get( "memory_layer", None ) if physical_layer_name: @@ -318,9 +318,8 @@ class Consoles(interfaces.plugins.PluginInterface): def create_conhost_symbol_table( cls, context: interfaces.context.ContextInterface, - layer_name: str, - nt_symbol_table: str, config_path: str, + kernel_module_name: str, conhost_layer_name: str, conhost_base: int, ) -> str: @@ -328,20 +327,20 @@ class Consoles(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - nt_symbol_table: The name of the table containing the kernel symbols config_path: The config path where to find symbol files + kernel_module_name: The name of the module of the kernel Returns: The name of the constructed symbol table """ - table_mapping = {"nt_symbols": nt_symbol_table} + kernel = context.modules[kernel_module_name] + + table_mapping = {"nt_symbols": kernel.symbol_table_name} symbol_filename, class_types = cls.determine_conhost_version( context, - layer_name, - nt_symbol_table, config_path, + kernel_module_name, conhost_layer_name, conhost_base, ) @@ -366,9 +365,8 @@ class Consoles(interfaces.plugins.PluginInterface): def get_console_info( cls, context: interfaces.context.ContextInterface, - kernel_layer_name: str, - kernel_table_name: str, config_path: str, + kernel_module_name: str, procs: Generator[interfaces.objects.ObjectInterface, None, None], max_history: Set[int], max_buffers: Set[int], @@ -385,9 +383,8 @@ class Consoles(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - kernel_layer_name: The name of the layer on which to operate - kernel_table_name: The name of the table containing the kernel symbols config_path: The config path where to find symbol files + kernel_module_name: The name of the module for the kernel procs: list of process objects max_history: an initial set of CommandHistorySize values max_buffers: an initial list of HistoryBufferMax values @@ -427,9 +424,8 @@ class Consoles(interfaces.plugins.PluginInterface): if conhost_symbol_table is None: conhost_symbol_table = cls.create_conhost_symbol_table( context, - kernel_layer_name, - kernel_table_name, config_path, + kernel_module_name, proc_layer_name, conhostexe_base, ) @@ -486,7 +482,7 @@ class Consoles(interfaces.plugins.PluginInterface): console_properties.append( { "level": 1, - "name": "_CONSOLE_INFORMATION.ScreenX", + "kernel_module_nameme": "_CONSOLE_INFORMATION.ScreenX", "address": console_info.ScreenX.vol.offset, "data": console_info.ScreenX, } @@ -810,8 +806,7 @@ class Consoles(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from config_path: The config path where to find symbol files - kernel_layer_name: The name of the layer on which to operate - kernel_symbol_table_name: The name of the table containing the kernel symbols + kernel_module_name: The name of the module for the kernel max_history: an initial set of CommandHistorySize values max_buffers: an initial list of HistoryBufferMax values @@ -853,8 +848,6 @@ class Consoles(interfaces.plugins.PluginInterface): procs: the process list filtered to conhost.exe instances """ - kernel = self.context.modules[self.config["kernel"]] - max_history = set(self.config.get("max_history", [50])) max_buffers = set(self.config.get("max_buffers", [4])) no_registry = self.config.get("no_registry") @@ -874,9 +867,8 @@ class Consoles(interfaces.plugins.PluginInterface): proc = None for proc, console_info, console_properties in self.get_console_info( self.context, - kernel.layer_name, - kernel.symbol_table_name, self.config_path, + self.config["kernel"], procs, max_history, max_buffers, diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index 7efc8a7eb..b1c6f2f05 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -37,13 +37,13 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="psscan", component=psscan.PsScan, version=(1, 1, 0) + name="psscan", component=psscan.PsScan, version=(2, 0, 0) ), requirements.VersionRequirement( name="pedump", component=pedump.PEDump, version=(2, 0, 0) ), requirements.VersionRequirement( - name="info", component=info.Info, version=(1, 0, 0) + name="info", component=info.Info, version=(2, 0, 0) ), requirements.ListRequirement( name="pid", @@ -85,11 +85,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): self.context, self.config_path, "windows", "pe", class_types=pe.class_types ) - kernel = self.context.modules[self.config["kernel"]] - - kuser = info.Info.get_kuser_structure( - self.context, kernel.layer_name, kernel.symbol_table_name - ) + kuser = info.Info.get_kuser_structure(self.context, self.config["kernel"]) nt_major_version = int(kuser.NtMajorVersion) nt_minor_version = int(kuser.NtMinorVersion) @@ -209,8 +205,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): if self.config["offset"]: procs = psscan.PsScan.scan_processes( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], filter_func=psscan.PsScan.create_offset_filter( self.context, kernel.layer_name, diff --git a/volatility3/framework/plugins/windows/driverscan.py b/volatility3/framework/plugins/windows/driverscan.py index f179ff548..86db8d72b 100644 --- a/volatility3/framework/plugins/windows/driverscan.py +++ b/volatility3/framework/plugins/windows/driverscan.py @@ -25,7 +25,7 @@ class DriverScan(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) + name="poolscanner", plugin=poolscanner.PoolScanner, version=(2, 0, 0) ), ] @@ -48,15 +48,11 @@ class DriverScan(interfaces.plugins.PluginInterface): kernel = context.modules[kernel_module_name] - symbol_table_name = kernel.symbol_table_name - layer_name = kernel.layer_name - constraints = poolscanner.PoolScanner.builtin_constraints( - symbol_table_name, [b"Dri\xf6", b"Driv"] + kernel.symbol_table_name, [b"Dri\xf6", b"Driv"] ) - module = context.module(symbol_table_name, layer_name, 0) - driver_start_offset = module.get_type("_DRIVER_OBJECT").relative_child_offset( + driver_start_offset = kernel.get_type("_DRIVER_OBJECT").relative_child_offset( "DriverStart" ) @@ -65,7 +61,7 @@ class DriverScan(interfaces.plugins.PluginInterface): ) for result in poolscanner.PoolScanner.generate_pool_scan( - context, layer_name, symbol_table_name, constraints + context, kernel_module_name, constraints ): _constraint, mem_object, _header = result diff --git a/volatility3/framework/plugins/windows/filescan.py b/volatility3/framework/plugins/windows/filescan.py index 82566361d..abec2a92e 100644 --- a/volatility3/framework/plugins/windows/filescan.py +++ b/volatility3/framework/plugins/windows/filescan.py @@ -14,7 +14,7 @@ class FileScan(interfaces.plugins.PluginInterface): """Scans for file objects present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -25,7 +25,7 @@ class FileScan(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) + name="poolscanner", plugin=poolscanner.PoolScanner, version=(2, 0, 0) ), ] @@ -33,36 +33,32 @@ class FileScan(interfaces.plugins.PluginInterface): def scan_files( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, ) -> Iterable[interfaces.objects.ObjectInterface]: """Scans for file objects using the poolscanner module and constraints. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module for the kernel Returns: A list of File objects as found from the `layer_name` layer based on File pool signatures """ + kernel = context.modules[kernel_module_name] + constraints = poolscanner.PoolScanner.builtin_constraints( - symbol_table, [b"Fil\xe5", b"File"] + kernel.symbol_table_name, [b"Fil\xe5", b"File"] ) for result in poolscanner.PoolScanner.generate_pool_scan( - context, layer_name, symbol_table, constraints + context, kernel_module_name, constraints ): _constraint, mem_object, _header = result yield mem_object def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - - for fileobj in self.scan_files( - self.context, kernel.layer_name, kernel.symbol_table_name - ): + for fileobj in self.scan_files(self.context, self.config["kernel"]): try: file_name = fileobj.FileName.String except exceptions.InvalidAddressException: diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 6ab465439..e39c23a30 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -39,7 +39,7 @@ class Handles(interfaces.plugins.PluginInterface): name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="psscan", component=psscan.PsScan, version=(1, 1, 0) + name="psscan", component=psscan.PsScan, version=(2, 0, 0) ), requirements.ListRequirement( name="pid", @@ -376,8 +376,7 @@ class Handles(interfaces.plugins.PluginInterface): if self.config["offset"]: procs = psscan.PsScan.scan_processes( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], filter_func=psscan.PsScan.create_offset_filter( self.context, kernel.layer_name, diff --git a/volatility3/framework/plugins/windows/indirect_system_calls.py b/volatility3/framework/plugins/windows/indirect_system_calls.py index c241a9b67..9f3fc4359 100644 --- a/volatility3/framework/plugins/windows/indirect_system_calls.py +++ b/volatility3/framework/plugins/windows/indirect_system_calls.py @@ -52,7 +52,7 @@ class IndirectSystemCalls(direct_system_calls.DirectSystemCalls): requirements.PluginRequirement( name="direct_system_calls", plugin=direct_system_calls.DirectSystemCalls, - version=(1, 0, 0), + version=(2, 0, 0), ), ] diff --git a/volatility3/framework/plugins/windows/info.py b/volatility3/framework/plugins/windows/info.py index e20af8114..a2e438c3f 100644 --- a/volatility3/framework/plugins/windows/info.py +++ b/volatility3/framework/plugins/windows/info.py @@ -17,7 +17,7 @@ class Info(plugins.PluginInterface): """Show OS & kernel details of the memory sample being analyzed.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -56,6 +56,9 @@ class Info(plugins.PluginInterface): # FileLayer won't have dependencies pass + # FIXME - this needs to be deprecated. This is exactly the same + # as getting it from context.modules + # Deprecation warning will go once the API is overhauled @classmethod def get_kernel_module( cls, @@ -80,13 +83,12 @@ class Info(plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, config_path: str, - layer_name: str, - symbol_table: str, + kernel_module_name: str, ) -> interfaces.objects.ObjectInterface: """Returns the KDDEBUGGER_DATA64 structure for a kernel""" - ntkrnlmp = cls.get_kernel_module(context, layer_name, symbol_table) + ntkrnlmp = context.modules[kernel_module_name] - native_types = context.symbol_space[symbol_table].natives + native_types = context.symbol_space[ntkrnlmp.symbol_table_name].natives kdbg_offset = ntkrnlmp.get_symbol("KdDebuggerDataBlock").address @@ -102,7 +104,7 @@ class Info(plugins.PluginInterface): kdbg_obj = context.object( kdbg_table_name + constants.BANG + "_KDDEBUGGER_DATA64", offset=ntkrnlmp.offset + kdbg_offset, - layer_name=layer_name, + layer_name=ntkrnlmp.layer_name, ) return kdbg_obj @@ -111,16 +113,15 @@ class Info(plugins.PluginInterface): def get_kuser_structure( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, ) -> interfaces.objects.ObjectInterface: """Returns the _KUSER_SHARED_DATA structure for a kernel""" - virtual_layer = context.layers[layer_name] + ntkrnlmp = context.modules[kernel_module_name] + + virtual_layer = context.layers[ntkrnlmp.layer_name] if not isinstance(virtual_layer, layers.intel.Intel): raise TypeError("Virtual Layer is not an intel layer") - ntkrnlmp = cls.get_kernel_module(context, layer_name, symbol_table) - # this is a hard-coded address in the Windows OS if virtual_layer.bits_per_register == 32: kuser_addr = 0xFFDF0000 @@ -129,7 +130,6 @@ class Info(plugins.PluginInterface): kuser = ntkrnlmp.object( object_type="_KUSER_SHARED_DATA", - layer_name=layer_name, offset=kuser_addr, absolute=True, ) @@ -140,17 +140,15 @@ class Info(plugins.PluginInterface): def get_version_structure( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, ) -> interfaces.objects.ObjectInterface: """Returns the KdVersionBlock information from a kernel""" - ntkrnlmp = cls.get_kernel_module(context, layer_name, symbol_table) + ntkrnlmp = context.modules[kernel_module_name] vers_offset = ntkrnlmp.get_symbol("KdVersionBlock").address vers = ntkrnlmp.object( object_type="_DBGKD_GET_VERSION64", - layer_name=layer_name, offset=vers_offset, ) @@ -193,35 +191,38 @@ class Info(plugins.PluginInterface): def _generator(self): kernel = self.context.modules[self.config["kernel"]] - layer_name = kernel.layer_name - symbol_table = kernel.symbol_table_name - layer = self.context.layers[layer_name] - table = self.context.symbol_space[symbol_table] + kernel_layer = self.context.layers[kernel.layer_name] + symbol_table = self.context.symbol_space[kernel.symbol_table_name] kdbg = self.get_kdbg_structure( - self.context, self.config_path, layer_name, symbol_table + self.context, + self.config_path, + self.config["kernel"], ) - yield (0, ("Kernel Base", hex(layer.config["kernel_virtual_offset"]))) - yield (0, ("DTB", hex(layer.config["page_map_offset"]))) - yield (0, ("Symbols", table.config["isf_url"])) + yield (0, ("Kernel Base", hex(kernel_layer.config["kernel_virtual_offset"]))) + yield (0, ("DTB", hex(kernel_layer.config["page_map_offset"]))) + yield (0, ("Symbols", symbol_table.config["isf_url"])) yield ( 0, ( "Is64Bit", str( symbols.symbol_table_is_64bit( - context=self.context, symbol_table_name=symbol_table + context=self.context, symbol_table_name=kernel.symbol_table_name ) ), ), ) yield ( 0, - ("IsPAE", str(self.context.layers[layer_name].metadata.get("pae", False))), + ( + "IsPAE", + str(self.context.layers[kernel.layer_name].metadata.get("pae", False)), + ), ) - for i, layer in self.get_depends(self.context, layer_name): + for i, layer in self.get_depends(self.context, kernel.layer_name): yield (0, (layer.name, f"{i} {layer.__class__.__name__}")) if kdbg.Header.OwnerTag == 0x4742444B: @@ -229,23 +230,22 @@ class Info(plugins.PluginInterface): yield (0, ("NTBuildLab", kdbg.get_build_lab())) yield (0, ("CSDVersion", str(kdbg.get_csdversion()))) - vers = self.get_version_structure(self.context, layer_name, symbol_table) + vers = self.get_version_structure(self.context, self.config["kernel"]) yield (0, ("KdVersionBlock", hex(vers.vol.offset))) yield (0, ("Major/Minor", f"{vers.MajorVersion}.{vers.MinorVersion}")) yield (0, ("MachineType", str(vers.MachineType))) - ntkrnlmp = self.get_kernel_module(self.context, layer_name, symbol_table) + cpu_count_offset = kernel.get_symbol("KeNumberProcessors").address - cpu_count_offset = ntkrnlmp.get_symbol("KeNumberProcessors").address - - cpu_count = ntkrnlmp.object( - object_type="unsigned int", layer_name=layer_name, offset=cpu_count_offset + cpu_count = kernel.object( + object_type="unsigned int", + offset=cpu_count_offset, ) yield (0, ("KeNumberProcessors", str(cpu_count))) - kuser = self.get_kuser_structure(self.context, layer_name, symbol_table) + kuser = self.get_kuser_structure(self.context, self.config["kernel"]) yield (0, ("SystemTime", str(kuser.SystemTime.get_time()))) yield ( @@ -266,7 +266,7 @@ class Info(plugins.PluginInterface): # yield (0, ("SafeBootMode", "True" if kuser.SafeBootMode else "False")) nt_header = self.get_ntheader_structure( - self.context, self.config_path, layer_name + self.context, self.config_path, kernel.layer_name ) yield ( diff --git a/volatility3/framework/plugins/windows/modscan.py b/volatility3/framework/plugins/windows/modscan.py index ab1383ddf..7330b2cb4 100644 --- a/volatility3/framework/plugins/windows/modscan.py +++ b/volatility3/framework/plugins/windows/modscan.py @@ -32,7 +32,7 @@ class ModScan(modules.Modules): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="poolscanner", component=poolscanner.PoolScanner, version=(1, 0, 0) + name="poolscanner", component=poolscanner.PoolScanner, version=(2, 0, 0) ), requirements.VersionRequirement( name="modules", component=modules.Modules, version=(3, 0, 0) @@ -81,7 +81,7 @@ class ModScan(modules.Modules): ) for result in poolscanner.PoolScanner.generate_pool_scan( - context, kernel.layer_name, kernel.symbol_table_name, constraints + context, kernel_module_name, constraints ): _constraint, mem_object, _header = result yield mem_object diff --git a/volatility3/framework/plugins/windows/mutantscan.py b/volatility3/framework/plugins/windows/mutantscan.py index 64d3b5470..ca6e26157 100644 --- a/volatility3/framework/plugins/windows/mutantscan.py +++ b/volatility3/framework/plugins/windows/mutantscan.py @@ -14,6 +14,7 @@ class MutantScan(interfaces.plugins.PluginInterface): """Scans for mutexes present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -24,7 +25,7 @@ class MutantScan(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) + name="poolscanner", plugin=poolscanner.PoolScanner, version=(2, 0, 0) ), ] @@ -32,36 +33,32 @@ class MutantScan(interfaces.plugins.PluginInterface): def scan_mutants( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, ) -> Iterable[interfaces.objects.ObjectInterface]: """Scans for mutants using the poolscanner module and constraints. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module for the kernel Returns: A list of Mutant objects found by scanning memory for the Mutant pool signatures """ + kernel = context.modules[kernel_module_name] + constraints = poolscanner.PoolScanner.builtin_constraints( - symbol_table, [b"Mut\xe1", b"Muta"] + kernel.symbol_table_name, [b"Mut\xe1", b"Muta"] ) for result in poolscanner.PoolScanner.generate_pool_scan( - context, layer_name, symbol_table, constraints + context, kernel_module_name, constraints ): _constraint, mem_object, _header = result yield mem_object def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - - for mutant in self.scan_mutants( - self.context, kernel.layer_name, kernel.symbol_table_name - ): + for mutant in self.scan_mutants(self.context, self.config["kernel"]): try: name = mutant.get_name() except (ValueError, exceptions.InvalidAddressException): diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index 6f98547d7..0c8523cce 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -23,7 +23,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Scans for network objects present in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -34,10 +34,10 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="poolscanner", component=poolscanner.PoolScanner, version=(1, 0, 0) + name="poolscanner", component=poolscanner.PoolScanner, version=(2, 0, 0) ), requirements.VersionRequirement( - name="info", component=info.Info, version=(1, 0, 0) + name="info", component=info.Info, version=(2, 0, 0) ), requirements.VersionRequirement( name="verinfo", component=verinfo.VerInfo, version=(1, 0, 0) @@ -117,15 +117,13 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): def determine_tcpip_version( cls, context: interfaces.context.ContextInterface, - layer_name: str, - nt_symbol_table: str, + kernel_module_name: str, ) -> Tuple[str, Type]: """Tries to determine which symbol filename to use for the image's tcpip driver. The logic is partially taken from the info plugin. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - nt_symbol_table: The name of the table containing the kernel symbols + kernel_module_name: Name of the module for the kernel Returns: The filename of the symbol table to use. @@ -137,12 +135,14 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # therefore we determine the version based on the kernel version as testing # with several windows versions has showed this to work out correctly. + kernel = context.modules[kernel_module_name] + is_64bit = symbols.symbol_table_is_64bit( - context=context, symbol_table_name=nt_symbol_table + context=context, symbol_table_name=kernel.symbol_table_name ) is_18363_or_later = versions.is_win10_18363_or_later( - context=context, symbol_table=nt_symbol_table + context=context, symbol_table=kernel.symbol_table_name ) if is_64bit: @@ -150,9 +150,9 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): else: arch = "x86" - vers = info.Info.get_version_structure(context, layer_name, nt_symbol_table) + vers = info.Info.get_version_structure(context, kernel_module_name) - kuser = info.Info.get_kuser_structure(context, layer_name, nt_symbol_table) + kuser = info.Info.get_kuser_structure(context, kernel_module_name) try: vers_minor_version = int(vers.MinorVersion) @@ -259,7 +259,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): "Requiring further version inspection due to OS version by checking tcpip.sys's FileVersion header" ) # the following is IntelLayer specific and might need to be adapted to other architectures. - physical_layer_name = context.layers[layer_name].config.get( + physical_layer_name = context.layers[kernel.layer_name].config.get( "memory_layer", None ) if physical_layer_name: @@ -322,27 +322,26 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): def create_netscan_symbol_table( cls, context: interfaces.context.ContextInterface, - layer_name: str, - nt_symbol_table: str, + kernel_module_name: str, config_path: str, ) -> str: """Creates a symbol table for TCP Listeners and TCP/UDP Endpoints. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - nt_symbol_table: The name of the table containing the kernel symbols + kernel_module_name: Name of the module for the kernel config_path: The config path where to find symbol files Returns: The name of the constructed symbol table """ - table_mapping = {"nt_symbols": nt_symbol_table} + kernel = context.modules[kernel_module_name] + + table_mapping = {"nt_symbols": kernel.symbol_table_name} symbol_filename, class_types = cls.determine_tcpip_version( context, - layer_name, - nt_symbol_table, + kernel_module_name, ) return intermed.IntermediateSymbolTable.create( @@ -358,16 +357,14 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): def scan( cls, context: interfaces.context.ContextInterface, - layer_name: str, - nt_symbol_table: str, + kernel_module_name: str, netscan_symbol_table: str, ) -> Iterable[interfaces.objects.ObjectInterface]: """Scans for network objects using the poolscanner module and constraints. Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - nt_symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module for the kernel netscan_symbol_table: The name of the table containing the network object symbols (_TCP_LISTENER etc.) Returns: @@ -377,7 +374,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): constraints = cls.create_netscan_constraints(context, netscan_symbol_table) for result in poolscanner.PoolScanner.generate_pool_scan( - context, layer_name, nt_symbol_table, constraints + context, kernel_module_name, constraints ): _constraint, mem_object, _header = result yield mem_object @@ -385,16 +382,13 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): def _generator(self, show_corrupt_results: Optional[bool] = None): """Generates the network objects for use in rendering.""" - kernel = self.context.modules[self.config["kernel"]] - netscan_symbol_table = self.create_netscan_symbol_table( - self.context, kernel.layer_name, kernel.symbol_table_name, self.config_path + self.context, self.config["kernel"], self.config_path ) for netw_obj in self.scan( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], netscan_symbol_table, ): vollog.debug( diff --git a/volatility3/framework/plugins/windows/netstat.py b/volatility3/framework/plugins/windows/netstat.py index 5daa6cc79..aaab4494c 100644 --- a/volatility3/framework/plugins/windows/netstat.py +++ b/volatility3/framework/plugins/windows/netstat.py @@ -34,7 +34,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="netscan", component=netscan.NetScan, version=(1, 0, 0) + name="netscan", component=netscan.NetScan, version=(2, 0, 0) ), requirements.VersionRequirement( name="modules", component=modules.Modules, version=(3, 0, 0) @@ -43,7 +43,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) ), requirements.VersionRequirement( - name="info", component=info.Info, version=(1, 0, 0) + name="info", component=info.Info, version=(2, 0, 0) ), requirements.VersionRequirement( name="verinfo", component=verinfo.VerInfo, version=(1, 0, 0) @@ -629,7 +629,7 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): kernel = self.context.modules[self.config["kernel"]] netscan_symbol_table = netscan.NetScan.create_netscan_symbol_table( - self.context, kernel.layer_name, kernel.symbol_table_name, self.config_path + self.context, self.config["kernel"], self.config_path ) tcpip_module = self.get_tcpip_module(self.context, self.config["kernel"]) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index af19cd035..c78c47c43 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -129,7 +129,7 @@ class PoolScanner(plugins.PluginInterface): """A generic pool scanner plugin.""" _required_framework_version = (2, 0, 0) - _version = (1, 1, 1) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -151,7 +151,7 @@ class PoolScanner(plugins.PluginInterface): constraints = self.builtin_constraints(symbol_table) for constraint, mem_object, header in self.generate_pool_scan( - self.context, kernel.layer_name, symbol_table, constraints + self.context, self.config["kernel"], constraints ): # generate some type-specific info for sanity checking if constraint.object_type == "Process": @@ -365,8 +365,7 @@ class PoolScanner(plugins.PluginInterface): def generate_pool_scan_extended( cls, context: interfaces.context.ContextInterface, - kernel_layer_name: str, - kernel_symbol_table_name: str, + kernel_module_name: str, object_symbol_table_name: str, constraints: List[PoolConstraint], ) -> Generator[ @@ -384,41 +383,42 @@ class PoolScanner(plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - kernel_layer_name: The name of the base kernel layer - kernel_symbol_table_name: The name of the table containing the kernel symbols + kernel_module_name: The name of the module for the kernel object_symbol_table_name: The name of the symbol table for the object being scanned for constraints: List of pool constraints used to limit the scan results Returns: Iterable of tuples, containing the constraint that matched, the object from memory, the object header used to determine the object """ + kernel = context.modules[kernel_module_name] + # get the object type map type_map = handles.Handles.get_type_map( context=context, - layer_name=kernel_layer_name, - symbol_table=kernel_symbol_table_name, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, ) cookie = handles.Handles.find_cookie( context=context, - layer_name=kernel_layer_name, - symbol_table=kernel_symbol_table_name, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, ) - is_windows_10 = versions.is_windows_10(context, kernel_symbol_table_name) + is_windows_10 = versions.is_windows_10(context, kernel.symbol_table_name) is_windows_8_or_later = versions.is_windows_8_or_later( - context, kernel_symbol_table_name + context, kernel.symbol_table_name ) # start off with the primary virtual layer - scan_layer = kernel_layer_name + scan_layer = kernel.layer_name # switch to a non-virtual layer if necessary if not is_windows_10: scan_layer = context.layers[scan_layer].config["memory_layer"] if symbols.symbol_table_is_64bit( - context=context, symbol_table_name=kernel_symbol_table_name + context=context, symbol_table_name=kernel.symbol_table_name ): alignment = 0x10 else: @@ -433,12 +433,11 @@ class PoolScanner(plugins.PluginInterface): alignment=alignment, ): - # construct the object in its own layer, using its own types mem_objects = header.get_object( constraint=constraint, use_top_down=is_windows_8_or_later, - native_layer_name=kernel_layer_name, - kernel_symbol_table=kernel_symbol_table_name, + native_layer_name=kernel.layer_name, + kernel_symbol_table=kernel.symbol_table_name, ) for mem_object in mem_objects: @@ -472,8 +471,7 @@ class PoolScanner(plugins.PluginInterface): def generate_pool_scan( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, constraints: List[PoolConstraint], ) -> Generator[ Tuple[ @@ -489,17 +487,18 @@ class PoolScanner(plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module for the kernel constraints: List of pool constraints used to limit the scan results Returns: Iterable of tuples, containing the constraint that matched, the object from memory, the object header used to determine the object """ + kernel = context.modules[kernel_module_name] + # repeat the symbol table to match the original `generate_pool_scan` behaviour yield from cls.generate_pool_scan_extended( - context, layer_name, symbol_table, symbol_table, constraints + context, kernel_module_name, kernel.symbol_table_name, constraints ) @classmethod diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index a19423029..45f935ceb 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -23,7 +23,7 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Scans for processes present in a particular windows memory image.""" _required_framework_version = (2, 3, 1) - _version = (1, 1, 1) + _version = (2, 0, 0) @classmethod def get_requirements(cls): @@ -37,7 +37,10 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="info", component=info.Info, version=(1, 0, 0) + name="info", component=info.Info, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="poolscanner", component=poolscanner.PoolScanner, version=(2, 0, 0) ), requirements.ListRequirement( name="pid", @@ -141,8 +144,7 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): def scan_processes( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, filter_func: Callable[ [interfaces.objects.ObjectInterface], bool ] = lambda _: False, @@ -151,19 +153,20 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module for the kernel Returns: A list of processes found by scanning the `layer_name` layer for process pool signatures """ + kernel = context.modules[kernel_module_name] + constraints = poolscanner.PoolScanner.builtin_constraints( - symbol_table, [b"Pro\xe3", b"Proc"] + kernel.symbol_table_name, [b"Pro\xe3", b"Proc"] ) for result in poolscanner.PoolScanner.generate_pool_scan( - context, layer_name, symbol_table, constraints + context, kernel_module_name, constraints ): _constraint, mem_object, _header = result if not filter_func(mem_object): @@ -173,16 +176,14 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): def virtual_process_from_physical( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, proc: interfaces.objects.ObjectInterface, ) -> Optional[interfaces.objects.ObjectInterface]: """Returns a virtual process from a physical addressed one Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols + kernel_module_name: The name of the module inside the kernel proc: the process object with physical address Returns: @@ -190,16 +191,10 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """ - version = cls.get_osversion(context, layer_name, symbol_table) + ntkrnlmp = context.modules[kernel_module_name] + + version = cls.get_osversion(context, kernel_module_name) - # If it's WinXP->8.1 we have now a physical process address. - # We'll use the first thread to bounce back to the virtual process - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) - if not kvo: - raise ValueError( - "Intel layer does not have an associated kernel virtual offset, failing" - ) - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) tleoffset = ntkrnlmp.get_type("_ETHREAD").relative_child_offset( "ThreadListEntry" ) @@ -208,7 +203,7 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # If (and only if) we're dealing with 64-bit Windows 7 SP1 # then add the other commonly seen member offset to the list - bits = context.layers[layer_name].bits_per_register + bits = context.layers[ntkrnlmp.layer_name].bits_per_register if version == (6, 1, 7601) and bits == 64: offsets.append(tleoffset + 8) @@ -225,7 +220,7 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Sanity check the bounce. # This compares the original offset with the new one (translated from virtual layer) (_, _, ph_offset, _, _) = list( - context.layers[layer_name].mapping( + context.layers[ntkrnlmp.layer_name].mapping( offset=virtual_process.vol.offset, length=0 ) )[0] @@ -237,23 +232,20 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): def get_osversion( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, ) -> Tuple[int, int, int]: """Returns the complete OS version (MAJ,MIN,BUILD) Args: context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - symbol_table: The name of the table containing the kernel symbols - + kernel_module_name: The name of the module for the kernel Returns: A tuple with (MAJ,MIN,BUILD) """ - kuser = info.Info.get_kuser_structure(context, layer_name, symbol_table) + kuser = info.Info.get_kuser_structure(context, kernel_module_name) nt_major_version = int(kuser.NtMajorVersion) nt_minor_version = int(kuser.NtMinorVersion) - vers = info.Info.get_version_structure(context, layer_name, symbol_table) + vers = info.Info.get_version_structure(context, kernel_module_name) build = vers.MinorVersion return (nt_major_version, nt_minor_version, build) @@ -268,8 +260,7 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): for proc in self.scan_processes( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], filter_func=pslist.PsList.create_pid_filter(self.config.get("pid", None)), ): file_output = "Disabled" @@ -281,8 +272,7 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): try: vproc = self.virtual_process_from_physical( self.context, - kernel.layer_name, - kernel.symbol_table_name, + self.config["kernel"], proc, ) except exceptions.PagedInvalidAddressException: diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 89ef897cb..3377163f7 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -11,7 +11,6 @@ from volatility3.framework.renderers import TreeGrid, format_hints from volatility3.framework.symbols.windows import extensions from volatility3.plugins.windows import ( handles, - info, pslist, psscan, thrdscan, @@ -49,14 +48,11 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.VersionRequirement( - name="info", component=info.Info, version=(1, 0, 0) - ), requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="psscan", component=psscan.PsScan, version=(1, 0, 0) + name="psscan", component=psscan.PsScan, version=(2, 0, 0) ), requirements.VersionRequirement( name="thrdscan", component=thrdscan.ThrdScan, version=(1, 0, 0) @@ -114,10 +110,10 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter return self._proc_list_to_dict(tasks) def _check_psscan( - self, layer_name: str, symbol_table: str + self, ) -> Dict[int, extensions.EPROCESS]: res = psscan.PsScan.scan_processes( - context=self.context, layer_name=layer_name, symbol_table=symbol_table + context=self.context, kernel_module_name=self.config["kernel"] ) return self._proc_list_to_dict(res) @@ -144,20 +140,24 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter return self._proc_list_to_dict(ret) def _check_csrss_handles( - self, tasks: Iterable[extensions.EPROCESS], layer_name: str, symbol_table: str + self, tasks: Iterable[extensions.EPROCESS] ) -> Dict[int, extensions.EPROCESS]: ret: List[extensions.EPROCESS] = [] + kernel = self.context.modules[self.config["kernel"]] + handles_plugin = handles.Handles( context=self.context, config_path=self.config_path ) - type_map = handles_plugin.get_type_map(self.context, layer_name, symbol_table) + type_map = handles_plugin.get_type_map( + self.context, kernel.layer_name, kernel.symbol_table_name + ) cookie = handles_plugin.find_cookie( context=self.context, - layer_name=layer_name, - symbol_table=symbol_table, + layer_name=kernel.layer_name, + symbol_table=kernel.symbol_table_name, ) for p in tasks: @@ -179,8 +179,6 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter return self._proc_list_to_dict(ret) def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - kdbg_list_processes = list( pslist.PsList.list_processes( context=self.context, kernel_module_name=self.config["kernel"] @@ -191,13 +189,9 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter processes: Dict[str, Dict[int, extensions.EPROCESS]] = {} processes["pslist"] = self._check_pslist(kdbg_list_processes) - processes["psscan"] = self._check_psscan( - kernel.layer_name, kernel.symbol_table_name - ) + processes["psscan"] = self._check_psscan() processes["thrdscan"] = self._check_thrdscan() - processes["csrss"] = self._check_csrss_handles( - kdbg_list_processes, kernel.layer_name, kernel.symbol_table_name - ) + processes["csrss"] = self._check_csrss_handles(kdbg_list_processes) # Unique set of all offsets from all sources offsets = set(chain(*(mapping.keys() for mapping in processes.values()))) diff --git a/volatility3/framework/plugins/windows/registry/hivescan.py b/volatility3/framework/plugins/windows/registry/hivescan.py index d91eeafc2..a28ab19de 100644 --- a/volatility3/framework/plugins/windows/registry/hivescan.py +++ b/volatility3/framework/plugins/windows/registry/hivescan.py @@ -26,10 +26,10 @@ class HiveScan(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) + name="poolscanner", plugin=poolscanner.PoolScanner, version=(2, 0, 0) ), requirements.PluginRequirement( - name="bigpools", plugin=bigpools.BigPools, version=(1, 0, 0) + name="bigpools", plugin=bigpools.BigPools, version=(2, 0, 0) ), ] @@ -62,8 +62,7 @@ class HiveScan(interfaces.plugins.PluginInterface): for pool in bigpools.BigPools.list_big_pools( context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + kernel_module_name=kernel_name, tags=["CM10"], ): cmhive = ntkrnlmp.object( @@ -77,7 +76,7 @@ class HiveScan(interfaces.plugins.PluginInterface): ) for result in poolscanner.PoolScanner.generate_pool_scan( - context, kernel.layer_name, kernel.symbol_table_name, constraints + context, kernel_name, constraints ): _constraint, mem_object, _header = result yield mem_object diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 653995f90..915850574 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -20,7 +20,7 @@ from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import versions from volatility3.framework.symbols.windows.extensions import services as services_types -from volatility3.plugins.windows import poolscanner, pslist +from volatility3.plugins.windows import pslist from volatility3.plugins.windows.registry import hivelist vollog = logging.getLogger(__name__) @@ -53,9 +53,6 @@ class SvcScan(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="pslist", plugin=pslist.PsList, version=(3, 0, 0) ), - requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) - ), requirements.PluginRequirement( name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) ), diff --git a/volatility3/framework/plugins/windows/symlinkscan.py b/volatility3/framework/plugins/windows/symlinkscan.py index 89fdf142e..459129843 100644 --- a/volatility3/framework/plugins/windows/symlinkscan.py +++ b/volatility3/framework/plugins/windows/symlinkscan.py @@ -17,6 +17,8 @@ class SymlinkScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfa _required_framework_version = (2, 0, 0) + _version = (2, 0, 0) + @classmethod def get_requirements(cls): return [ @@ -25,14 +27,16 @@ class SymlinkScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfa description="Windows kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="poolscanner", component=poolscanner.PoolScanner, version=(2, 0, 0) + ), ] @classmethod def scan_symlinks( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, ) -> Iterable[interfaces.objects.ObjectInterface]: """Scans for links using the poolscanner module and constraints. @@ -45,22 +49,20 @@ class SymlinkScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfa A list of symlink objects found by scanning memory for the Symlink pool signatures """ + kernel = context.modules[kernel_module_name] + constraints = poolscanner.PoolScanner.builtin_constraints( - symbol_table, [b"Sym\xe2", b"Symb"] + kernel.symbol_table_name, [b"Sym\xe2", b"Symb"] ) for result in poolscanner.PoolScanner.generate_pool_scan( - context, layer_name, symbol_table, constraints + context, kernel_module_name, constraints ): _constraint, mem_object, _header = result yield mem_object def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - - for link in self.scan_symlinks( - self.context, kernel.layer_name, kernel.symbol_table_name - ): + for link in self.scan_symlinks(self.context, self.config["kernel"]): try: from_name = link.get_link_name() except (ValueError, exceptions.InvalidAddressException): diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index c0963e754..b43593401 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -34,7 +34,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(1, 0, 0) + name="poolscanner", plugin=poolscanner.PoolScanner, version=(2, 0, 0) ), ] @@ -54,16 +54,14 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) A list of _ETHREAD objects found by scanning memory for the "Thre" / "Thr\\xE5" pool signatures """ - module = context.modules[module_name] - layer_name = module.layer_name - symbol_table = module.symbol_table_name + kernel = context.modules[module_name] constraints = poolscanner.PoolScanner.builtin_constraints( - symbol_table, [b"Thr\xe5", b"Thre"] + kernel.symbol_table_name, [b"Thr\xe5", b"Thre"] ) for result in poolscanner.PoolScanner.generate_pool_scan( - context, layer_name, symbol_table, constraints + context, module_name, constraints ): _constraint, mem_object, _header = result yield mem_object diff --git a/volatility3/framework/plugins/windows/windowstations.py b/volatility3/framework/plugins/windows/windowstations.py index a077ef2fc..9d666e3dd 100644 --- a/volatility3/framework/plugins/windows/windowstations.py +++ b/volatility3/framework/plugins/windows/windowstations.py @@ -46,6 +46,12 @@ class WindowStations(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="poolscanner", component=poolscanner.PoolScanner, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(3, 0, 0) + ), ] @staticmethod @@ -152,8 +158,7 @@ class WindowStations(interfaces.plugins.PluginInterface): for result in poolscanner.PoolScanner.generate_pool_scan_extended( context=context, - kernel_layer_name=kernel.layer_name, - kernel_symbol_table_name=kernel.symbol_table_name, + kernel_module_name=kernel_module_name, object_symbol_table_name=gui_table_name, constraints=constraints, ): From 539a94117aa7697bc014e045f228bdcac6030a30 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 17:27:50 +0000 Subject: [PATCH 1539/2186] Add missing change --- volatility3/framework/plugins/windows/consoles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index 8236d87be..a63b044d9 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -482,7 +482,7 @@ class Consoles(interfaces.plugins.PluginInterface): console_properties.append( { "level": 1, - "kernel_module_nameme": "_CONSOLE_INFORMATION.ScreenX", + "name": "_CONSOLE_INFORMATION.ScreenX", "address": console_info.ScreenX.vol.offset, "data": console_info.ScreenX, } From 222554807915416c8089914ca28b65eb21907902 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 19:59:57 +0000 Subject: [PATCH 1540/2186] Remove deepcopy call in pe_symbols. Validate wanted symbol information passed through resolving functions --- .../plugins/windows/debugregisters.py | 2 +- .../framework/plugins/windows/pe_symbols.py | 59 +++++++++++++++++-- .../plugins/windows/skeleton_key_check.py | 2 +- .../plugins/windows/suspended_threads.py | 2 +- .../plugins/windows/unhooked_system_calls.py | 2 +- 5 files changed, 58 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index 38b0cb97e..74434a3cc 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -41,7 +41,7 @@ class DebugRegisters(interfaces.plugins.PluginInterface): name="threads", component=threads.Threads, version=(3, 0, 0) ), requirements.VersionRequirement( - name="pe_symbols", component=pe_symbols.PESymbols, version=(2, 0, 0) + name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 0faf4a698..f7d99a79b 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -1,7 +1,6 @@ # This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 -import copy import io import logging import ntpath @@ -11,7 +10,7 @@ from typing import Dict, Tuple, Optional, List, Generator, Union, Callable import pefile from volatility3.framework import interfaces, exceptions -from volatility3.framework import renderers, constants +from volatility3.framework import renderers, constants, objects from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed @@ -245,7 +244,8 @@ class PESymbols(interfaces.plugins.PluginInterface): _required_framework_version = (2, 7, 0) # 2.0.0 - changed signature of get_kernel_modules, get_all_vads_with_file_paths, addresses_for_process_symbols, get_process_modules - _version = (2, 0, 0) + # 3.0.0 - find_symbols wil now throw a ValueError if the provided wanted symbol information does not follow the spec + _version = (3, 0, 0) # used for special handling of the kernel PDB file. See later notes os_module_name = "ntoskrnl.exe" @@ -671,6 +671,52 @@ class PESymbols(interfaces.plugins.PluginInterface): else: yield symbol_key, value_index, symbol_value, wanted_value # type: ignore + @staticmethod + def _validate_wanted_modules( + wanted: PESymbolFinder.cached_module_lists, + ) -> Optional[PESymbolFinder.cached_module_lists]: + """ + Validates and makes a copy of the address(es) and/or name(s) wanted from a particular module + Throws ValueError if invalid values found + """ + remaining: PESymbolFinder.cached_module_lists = {} + + valid_name_types = [str] + valid_address_types = [int, objects.Pointer] + + for wanted_type, wanted_symbols in wanted.items(): + if wanted_type not in [ + wanted_names_identifier, + wanted_addresses_identifier, + ]: + raise ValueError( + f"The symbol type specified ({wanted_type}) is not valid. Values choices: {wanted_names_identifier}, {wanted_addresses_identifier}" + ) + + remaining[wanted_type] = [] + + # symbol_info will be a symbol name or address requested + for symbol_info in wanted_symbols: + if ( + wanted_type == wanted_names_identifier + and type(symbol_info) not in valid_name_types + ): + raise ValueError( + f"The requested symbol name has a type of {type(symbol_info)} which is not in the allowed set of {valid_name_types}" + ) + + elif ( + wanted_type == wanted_addresses_identifier + and type(symbol_info) not in valid_address_types + ): + raise ValueError( + f"The requested address has a type of {type(symbol_info)} which is not in the allowed set of {valid_address_types}" + ) + + remaining[wanted_type].append(symbol_info) + + return remaining + @staticmethod def _resolve_symbols_through_methods( context: interfaces.context.ContextInterface, @@ -700,8 +746,8 @@ class PESymbols(interfaces.plugins.PluginInterface): # the symbols wanted from this module by the caller wanted = wanted_modules[mod_name] - # make a copy to remove from inside this function for returning to the caller - remaining = copy.deepcopy(wanted) + # The ValueError will pass through to the caller + remaining = PESymbols._validate_wanted_modules(wanted) done_processing = False @@ -748,6 +794,8 @@ class PESymbols(interfaces.plugins.PluginInterface): Loops through each method of symbol analysis until each wanted symbol is found Returns the resolved symbols as a dictionary that includes the name and runtime address + `wanted_modules` must be correctly formatted or a ValueError will be thrown + Args: wanted_modules: the dictionary of modules and symbols to resolve. Modified to remove symbols as they are resolved. collected_modules: return value from `get_kernel_modules` or `get_process_modules` @@ -763,6 +811,7 @@ class PESymbols(interfaces.plugins.PluginInterface): module_instances = collected_modules[mod_name] + # The ValueError from an invalid wanted_modules will pass through to the caller # try to resolve the symbols for `mod_name` through each method (PDB and export table currently) ( found_in_module, diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index bd32d1987..4831362fd 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -61,7 +61,7 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) ), requirements.VersionRequirement( - name="pe_symbols", component=pe_symbols.PESymbols, version=(2, 0, 0) + name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/suspended_threads.py b/volatility3/framework/plugins/windows/suspended_threads.py index f8f5027d4..82d44a6d7 100644 --- a/volatility3/framework/plugins/windows/suspended_threads.py +++ b/volatility3/framework/plugins/windows/suspended_threads.py @@ -33,7 +33,7 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="pe_symbols", component=pe_symbols.PESymbols, version=(2, 0, 0) + name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) ), requirements.VersionRequirement( name="threads", component=threads.Threads, version=(3, 0, 0) diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index 8882ff46f..132cf4e4f 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -98,7 +98,7 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.PluginRequirement( - name="pe_symbols", plugin=pe_symbols.PESymbols, version=(2, 0, 0) + name="pe_symbols", plugin=pe_symbols.PESymbols, version=(3, 0, 0) ), ] From 5f8e7e58a449257e911f94dbfbc0ff646ba9b5f5 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 14:12:11 -0600 Subject: [PATCH 1541/2186] Update volatility3/framework/plugins/windows/pe_symbols.py Co-authored-by: ikelos --- volatility3/framework/plugins/windows/pe_symbols.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index f7d99a79b..b26e8d113 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -671,8 +671,9 @@ class PESymbols(interfaces.plugins.PluginInterface): else: yield symbol_key, value_index, symbol_value, wanted_value # type: ignore - @staticmethod + @classmethod def _validate_wanted_modules( + cls, wanted: PESymbolFinder.cached_module_lists, ) -> Optional[PESymbolFinder.cached_module_lists]: """ From 9919c1e6142a141330e93bb7fa751ed4709a4151 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 22:49:16 +0000 Subject: [PATCH 1542/2186] Fix handles API and callers. Bump version number and requirements --- .../framework/plugins/windows/callbacks.py | 4 +- .../framework/plugins/windows/dumpfiles.py | 8 ++- .../framework/plugins/windows/handles.py | 50 ++++++------------- .../framework/plugins/windows/poolscanner.py | 10 ++-- .../framework/plugins/windows/psxview.py | 10 ++-- 5 files changed, 27 insertions(+), 55 deletions(-) diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index c832df66a..24f25c38d 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -48,7 +48,7 @@ class Callbacks(interfaces.plugins.PluginInterface): name="driverirp", plugin=driverirp.DriverIrp, version=(1, 0, 0) ), requirements.PluginRequirement( - name="handles", plugin=handles.Handles, version=(2, 0, 0) + name="handles", plugin=handles.Handles, version=(3, 0, 0) ), ] @@ -237,7 +237,7 @@ class Callbacks(interfaces.plugins.PluginInterface): ) type_map = handles.Handles.get_type_map( - context, kernel.layer_name, kernel.symbol_table_name + context=context, kernel_module_name=kernel_module_name ) constraints = cls.create_callback_scan_constraints( diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index e89b99275..e0adad2b1 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -71,7 +71,7 @@ class DumpFiles(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="handles", component=handles.Handles, version=(2, 0, 0) + name="handles", component=handles.Handles, version=(3, 0, 0) ), ] @@ -231,13 +231,11 @@ class DumpFiles(interfaces.plugins.PluginInterface): ) type_map = handles_plugin.get_type_map( context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + kernel_module_name=self.config["kernel"], ) cookie = handles_plugin.find_cookie( context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + kernel_module_name=self.config["kernel"], ) dumped_files = set() diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index e39c23a30..9627b5caa 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -18,7 +18,7 @@ class Handles(interfaces.plugins.PluginInterface): """Lists process open handles.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 1) + _version = (3, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -121,8 +121,7 @@ class Handles(interfaces.plugins.PluginInterface): def get_type_map( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, ) -> Dict[int, str]: """List the executive object types (_OBJECT_TYPE) using the ObTypeIndexTable or ObpObjectTypes symbol (differs per OS). This method @@ -144,21 +143,16 @@ class Handles(interfaces.plugins.PluginInterface): type_map: Dict[int, str] = {} - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) - if not kvo: - raise ValueError( - "Intel layer does not have an associated kernel virtual offset, failing" - ) - ntkrnlmp = context.module(symbol_table, layer_name=layer_name, offset=kvo) + ntkrnlmp = context.modules[kernel_module_name] try: table_addr = ntkrnlmp.get_symbol("ObTypeIndexTable").address except exceptions.SymbolError: table_addr = ntkrnlmp.get_symbol("ObpObjectTypes").address - trans_layer = context.layers[layer_name] + trans_layer = context.layers[ntkrnlmp.layer_name] - if not trans_layer.is_valid(kvo + table_addr): + if not trans_layer.is_valid(ntkrnlmp.offset + table_addr): return type_map ptrs = ntkrnlmp.object( @@ -176,7 +170,7 @@ class Handles(interfaces.plugins.PluginInterface): try: objt = ptr.dereference().cast( - symbol_table + constants.BANG + "_OBJECT_TYPE" + ntkrnlmp.symbol_table_name + constants.BANG + "_OBJECT_TYPE" ) type_name = objt.Name.String except exceptions.InvalidAddressException: @@ -194,27 +188,21 @@ class Handles(interfaces.plugins.PluginInterface): def find_cookie( cls, context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table: str, + kernel_module_name: str, ) -> Optional[interfaces.objects.ObjectInterface]: """Find the ObHeaderCookie value (if it exists)""" + kernel = context.modules[kernel_module_name] + try: - offset = context.symbol_space.get_symbol( - symbol_table + constants.BANG + "ObHeaderCookie" - ).address + symbol_offset = kernel.get_symbol("ObHeaderCookie").address except exceptions.SymbolError: + vollog.debug('Unable to get symbol information for "ObHeaderCookie"') return None - kvo = context.layers[layer_name].config.get("kernel_virtual_offset", None) - if not kvo: - raise ValueError( - "Intel layer does not have an associated kernel virtual offset, failing" - ) - return context.object( - symbol_table + constants.BANG + "unsigned int", - layer_name, - offset=kvo + offset, + return kernel.object( + "unsigned int", + offset=symbol_offset, ) def _make_handle_array(self, offset, level, depth=0): @@ -298,18 +286,12 @@ class Handles(interfaces.plugins.PluginInterface): yield from self._make_handle_array(TableCode, table_levels) def _generator(self, procs): - kernel = self.context.modules[self.config["kernel"]] - type_map = self.get_type_map( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + context=self.context, kernel_module_name=self.config["kernel"] ) cookie = self.find_cookie( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + context=self.context, kernel_module_name=self.config["kernel"] ) for proc in procs: diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index c78c47c43..5e75d9bbb 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -140,7 +140,7 @@ class PoolScanner(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="handles", plugin=handles.Handles, version=(2, 0, 0) + name="handles", plugin=handles.Handles, version=(3, 0, 0) ), ] @@ -394,15 +394,11 @@ class PoolScanner(plugins.PluginInterface): # get the object type map type_map = handles.Handles.get_type_map( - context=context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + context=context, kernel_module_name=kernel_module_name ) cookie = handles.Handles.find_cookie( - context=context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + context=context, kernel_module_name=kernel_module_name ) is_windows_10 = versions.is_windows_10(context, kernel.symbol_table_name) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 3377163f7..7329588cc 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -58,7 +58,7 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter name="thrdscan", component=thrdscan.ThrdScan, version=(1, 0, 0) ), requirements.VersionRequirement( - name="handles", component=handles.Handles, version=(2, 0, 0) + name="handles", component=handles.Handles, version=(3, 0, 0) ), requirements.BooleanRequirement( name="physical-offsets", @@ -144,20 +144,16 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter ) -> Dict[int, extensions.EPROCESS]: ret: List[extensions.EPROCESS] = [] - kernel = self.context.modules[self.config["kernel"]] - handles_plugin = handles.Handles( context=self.context, config_path=self.config_path ) type_map = handles_plugin.get_type_map( - self.context, kernel.layer_name, kernel.symbol_table_name + context=self.context, kernel_module_name=self.config["kernel"] ) cookie = handles_plugin.find_cookie( - context=self.context, - layer_name=kernel.layer_name, - symbol_table=kernel.symbol_table_name, + context=self.context, kernel_module_name=self.config["kernel"] ) for p in tasks: From 5b088561dbce90b2933ce88d9cd1c87fe190982e Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sun, 9 Mar 2025 08:55:15 +0000 Subject: [PATCH 1543/2186] Remove comment and handling of an empty pid_list These mypy issues are now closed. --- volatility3/framework/plugins/linux/pslist.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index b8fac4a8b..00d3b6cc5 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -85,8 +85,6 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): Returns: Function which, when provided a process object, returns True if the process is to be filtered out of the list """ - # FIXME: mypy #4973 or #2608 - pid_list = pid_list or [] filter_list = [x for x in pid_list if x is not None] if filter_list: From 2e56787bf2a2471fab2b9769b7b53e7bd5500bad Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sun, 9 Mar 2025 09:21:20 +0000 Subject: [PATCH 1544/2186] Remove comment These mypy issues are now closed. --- volatility3/framework/plugins/linux/pslist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 00d3b6cc5..4c42fc992 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -85,6 +85,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): Returns: Function which, when provided a process object, returns True if the process is to be filtered out of the list """ + pid_list = pid_list or [] filter_list = [x for x in pid_list if x is not None] if filter_list: From 2074b8fb2339829f5f2cdec4cf0fb1158f2ab0ae Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sun, 9 Mar 2025 10:47:51 +0000 Subject: [PATCH 1545/2186] Remove duplicate reference of capstone The capstone dependency under test is not needed, because test references volatility3[dev] which references volatility3[full,cloud], and full has the capstone dependency. --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 742b4f771..abd2e79f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,6 @@ dev = [ test = [ "volatility3[dev]", "pytest>=8.3.3,<9", - "capstone>=5.0.3,<6", "yara-x>=0.10.0,<1", ] From bdc3443c135f96273213d030254be634c5aa1fdf Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 6 Mar 2025 23:55:36 +0000 Subject: [PATCH 1546/2186] Merge two Linux APIs for mapping kernel modules to pointers. Fix bugs in new API. Add deprecation warnings throughout old API. --- volatility3/framework/__init__.py | 13 + .../framework/plugins/linux/check_idt.py | 2 +- .../framework/plugins/linux/check_modules.py | 66 +-- .../framework/plugins/linux/hidden_modules.py | 158 ++---- .../plugins/linux/keyboard_notifiers.py | 2 +- .../framework/plugins/linux/kthreads.py | 2 +- volatility3/framework/plugins/linux/lsmod.py | 40 +- .../framework/plugins/linux/modxview.py | 106 ++-- .../framework/plugins/linux/netfilter.py | 2 +- .../framework/plugins/linux/tracing/ftrace.py | 96 +--- .../plugins/linux/tracing/tracepoints.py | 78 +-- .../framework/plugins/linux/tty_check.py | 2 +- .../framework/symbols/linux/__init__.py | 13 +- .../symbols/linux/utilities/modules.py | 475 ++++++++++++++++-- 14 files changed, 641 insertions(+), 414 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 60acb9465..333e7909f 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -69,6 +69,19 @@ def require_interface_version(*args) -> None: class Deprecation: """Deprecation related methods.""" + @staticmethod + def method_being_removed(message: str): + + def decorator(deprecated_func): + @functools.wraps(deprecated_func) + def wrapper(*args, **kwargs): + warnings.warn(f"This API ({deprecated_func.__module__}.{deprecated_func.__qualname__}) will be removed in a release very soon. {message}", FutureWarning) + return deprecated_func(*args, **kwargs) + + return wrapper + + return decorator + @staticmethod def deprecated_method( replacement: Callable, diff --git a/volatility3/framework/plugins/linux/check_idt.py b/volatility3/framework/plugins/linux/check_idt.py index 653ecc081..dbdb0e9be 100644 --- a/volatility3/framework/plugins/linux/check_idt.py +++ b/volatility3/framework/plugins/linux/check_idt.py @@ -34,7 +34,7 @@ class Check_idt(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(1, 0, 0), + version=(2, 0, 0), ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index 23da29680..8d2d0c746 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -3,14 +3,15 @@ # import logging -from typing import List +from typing import List, Dict -from volatility3.framework import interfaces, renderers, exceptions, constants +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules +from volatility3.framework import interfaces, renderers, Deprecation from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints -from volatility3.plugins.linux import lsmod +from volatility3.framework.symbols.linux import extensions vollog = logging.getLogger(__name__) @@ -18,7 +19,7 @@ vollog = logging.getLogger(__name__) class Check_modules(plugins.PluginInterface): """Compares module list to sysfs info, if available""" - _version = (1, 0, 0) + _version = (2, 0, 0) _required_framework_version = (2, 0, 0) @classmethod @@ -29,58 +30,33 @@ class Check_modules(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(2, 0, 0), ), ] @classmethod + @Deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.get_kset_modules, + replacement_version=(2, 0, 0), + ) def get_kset_modules( cls, context: interfaces.context.ContextInterface, vmlinux_name: str - ): - vmlinux = context.modules[vmlinux_name] - - try: - module_kset = vmlinux.object_from_symbol("module_kset") - except exceptions.SymbolError: - module_kset = None - - if not module_kset: - raise TypeError( - "This plugin requires the module_kset structure. This structure is not present in the supplied symbol table. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." - ) - - ret = {} - - kobj_off = vmlinux.get_type("module_kobject").relative_child_offset("kobj") - - for kobj in module_kset.list.to_list( - vmlinux.symbol_table_name + constants.BANG + "kobject", "entry" - ): - mod_kobj = vmlinux.object( - object_type="module_kobject", - offset=kobj.vol.offset - kobj_off, - absolute=True, - ) - - mod = mod_kobj.mod - - try: - name = utility.pointer_to_string(kobj.name, 32) - except exceptions.InvalidAddressException: - continue - - if kobj.name and kobj.reference_count() > 2: - ret[name] = mod - - return ret + ) -> Dict[str, extensions.module]: + return linux_utilities_modules.Modules.get_kset_modules(context, vmlinux_name) def _generator(self): - kset_modules = self.get_kset_modules(self.context, self.config["kernel"]) + kset_modules = linux_utilities_modules.Modules.get_kset_modules( + self.context, self.config["kernel"] + ) lsmod_modules = set( str(utility.array_to_string(modules.name)) - for modules in lsmod.Lsmod.list_modules(self.context, self.config["kernel"]) + for modules in linux_utilities_modules.Modules.list_modules( + self.context, self.config["kernel"] + ) ) for mod_name in set(kset_modules.keys()).difference(lsmod_modules): diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index e1ba40926..0b93cfacc 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -3,7 +3,8 @@ # import logging from typing import List, Set, Tuple, Iterable -from volatility3.framework import renderers, interfaces, exceptions, objects +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules +from volatility3.framework import renderers, interfaces, exceptions, Deprecation from volatility3.framework.constants import architectures from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements @@ -16,7 +17,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): """Carves memory to find hidden kernel modules""" _required_framework_version = (2, 10, 0) - _version = (1, 0, 1) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -29,46 +30,30 @@ class Hidden_modules(interfaces.plugins.PluginInterface): requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(2, 0, 0), + ), ] - @classmethod + @staticmethod + @Deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.get_modules_memory_boundaries, + replacement_version=(2, 0, 0), + ) def get_modules_memory_boundaries( - cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str, - ) -> Tuple[int]: - """Determine the boundaries of the module allocation area - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - vmlinux_module_name: The name of the kernel module on which to operate - - Returns: - A tuple containing the minimum and maximum addresses for the module allocation area. - """ - vmlinux = context.modules[vmlinux_module_name] - if vmlinux.has_symbol("mod_tree"): - # Kernel >= 5.19 58d208de3e8d87dbe196caf0b57cc58c7a3836ca - mod_tree = vmlinux.object_from_symbol("mod_tree") - modules_addr_min = mod_tree.addr_min - modules_addr_max = mod_tree.addr_max - elif vmlinux.has_symbol("module_addr_min"): - # 2.6.27 <= kernel < 5.19 3a642e99babe0617febb6f402e1e063479f489db - modules_addr_min = vmlinux.object_from_symbol("module_addr_min") - modules_addr_max = vmlinux.object_from_symbol("module_addr_max") - - if isinstance(modules_addr_min, objects.Void): - raise exceptions.VolatilityException( - "Your ISF symbols lack type information. You may need to update the" - "ISF using the latest version of dwarf2json" - ) - else: - raise exceptions.VolatilityException( - "Cannot find the module memory allocation area. Unsupported kernel" - ) - - return modules_addr_min, modules_addr_max + ) -> Tuple[int, int]: + return linux_utilities_modules.Modules.get_modules_memory_boundaries( + context, vmlinux_module_name + ) + @Deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.get_module_address_alignment, + replacement_version=(2, 0, 0), + ) @classmethod def _get_module_address_alignment( cls, @@ -88,27 +73,14 @@ class Hidden_modules(interfaces.plugins.PluginInterface): Returns: The struct module alignment """ - # FIXME: When dwarf2json/ISF supports type alignments. Read it directly from the type metadata - # Additionally, while 'context' and 'vmlinux_module_name' are currently unused, they will be - # essential for retrieving type metadata in the future. - return 64 - - @staticmethod - def _validate_alignment_patterns( - addresses: Iterable[int], - address_alignment: int, - ) -> bool: - """Check if the memory addresses meet our alignments patterns - - Args: - addresses: Iterable with the address values - address_alignment: Number of bytes for alignment validation - - Returns: - True if all the addresses meet the alignment - """ - return all(addr % address_alignment == 0 for addr in addresses) + return linux_utilities_modules.get_module_address_alignment( + context, vmlinux_module_name + ) + @Deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.get_hidden_modules, + replacement_version=(2, 0, 0), + ) @classmethod def get_hidden_modules( cls, @@ -139,54 +111,31 @@ class Hidden_modules(interfaces.plugins.PluginInterface): Yields: module objects """ - vmlinux = context.modules[vmlinux_module_name] - vmlinux_layer = context.layers[vmlinux.layer_name] - - module_addr_min, module_addr_max = modules_memory_boundaries - module_address_alignment = cls._get_module_address_alignment( - context, vmlinux_module_name + return linux_utilities_modules.get_hidden_modules( + vmlinux_module_name, known_module_addresses, modules_memory_boundaries ) - if not cls._validate_alignment_patterns( - known_module_addresses, module_address_alignment - ): - vollog.warning( - f"Module addresses aren't aligned to {module_address_alignment} bytes. " - "Switching to 1 byte aligment scan method." - ) - module_address_alignment = 1 - mkobj_offset = vmlinux.get_type("module").relative_child_offset("mkobj") - mod_offset = vmlinux.get_type("module_kobject").relative_child_offset("mod") - offset_to_mkobj_mod = mkobj_offset + mod_offset - mod_member_template = vmlinux.get_type("module_kobject").child_template("mod") - mod_size = mod_member_template.size - mod_member_data_format = mod_member_template.data_format + @staticmethod + @Deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.validate_alignment_patterns, + replacement_version=(2, 0, 0), + ) + def _validate_alignment_patterns( + addresses: Iterable[int], + address_alignment: int, + ) -> bool: + """Check if the memory addresses meet our alignments patterns - for module_addr in range( - module_addr_min, module_addr_max, module_address_alignment - ): - if module_addr in known_module_addresses: - continue + Args: + addresses: Iterable with the address values + address_alignment: Number of bytes for alignment validation - try: - # This is just a pre-filter. Module readability and consistency are verified in module.is_valid() - self_referential_bytes = vmlinux_layer.read( - module_addr + offset_to_mkobj_mod, mod_size - ) - self_referential = objects.convert_data_to_value( - self_referential_bytes, int, mod_member_data_format - ) - if self_referential != module_addr: - continue - except ( - exceptions.PagedInvalidAddressException, - exceptions.InvalidAddressException, - ): - continue - - module = vmlinux.object("module", offset=module_addr, absolute=True) - if module and module.is_valid(): - yield module + Returns: + True if all the addresses meet the alignment + """ + return linux_utilities_modules.validate_alignment_patterns( + addresses, address_alignment + ) @classmethod def get_lsmod_module_addresses( @@ -217,10 +166,13 @@ class Hidden_modules(interfaces.plugins.PluginInterface): known_module_addresses = self.get_lsmod_module_addresses( self.context, vmlinux_module_name ) - modules_memory_boundaries = self.get_modules_memory_boundaries( - self.context, vmlinux_module_name + modules_memory_boundaries = ( + linux_utilities_modules.Modules.get_modules_memory_boundaries( + self.context, vmlinux_module_name + ) ) - for module in self.get_hidden_modules( + + for module in linux_utilities_modules.Modules.get_hidden_modules( self.context, vmlinux_module_name, known_module_addresses, diff --git a/volatility3/framework/plugins/linux/keyboard_notifiers.py b/volatility3/framework/plugins/linux/keyboard_notifiers.py index 726280cbe..8fd2846c1 100644 --- a/volatility3/framework/plugins/linux/keyboard_notifiers.py +++ b/volatility3/framework/plugins/linux/keyboard_notifiers.py @@ -30,7 +30,7 @@ class Keyboard_notifiers(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(1, 0, 0), + version=(2, 0, 0), ), requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py index 674eae1e5..60d24f06e 100644 --- a/volatility3/framework/plugins/linux/kthreads.py +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -34,7 +34,7 @@ class Kthreads(plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(1, 0, 0), + version=(2, 0, 0), ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index e9a2a7137..be3970a5b 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -6,7 +6,8 @@ import logging from typing import List, Iterable -from volatility3.framework import exceptions, renderers, constants, interfaces +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules +from volatility3.framework import exceptions, renderers, interfaces, Deprecation from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -29,35 +30,30 @@ class Lsmod(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(2, 0, 0), + ), ] @classmethod + @Deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.list_modules, + replacement_version=(2, 0, 0), + ) def list_modules( cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str ) -> Iterable[interfaces.objects.ObjectInterface]: - """Lists all the modules in the primary layer. - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - layer_name: The name of the layer on which to operate - vmlinux_symbols: The name of the table containing the kernel symbols - - Yields: - The modules present in the `layer_name` layer's modules list - - This function will throw a SymbolError exception if kernel module support is not enabled. - """ - vmlinux = context.modules[vmlinux_module_name] - - modules = vmlinux.object_from_symbol(symbol_name="modules").cast("list_head") - - table_name = modules.vol.type_name.split(constants.BANG)[0] - - yield from modules.to_list(table_name + constants.BANG + "module", "list") + return linux_utilities_modules.Modules.list_modules( + context, vmlinux_module_name + ) def _generator(self): try: - for module in self.list_modules(self.context, self.config["kernel"]): + for module in linux_utilities_modules.Modules.list_modules( + self.context, self.config["kernel"] + ): mod_size = module.get_init_size() + module.get_core_size() mod_name = utility.array_to_string(module.name) @@ -65,7 +61,7 @@ class Lsmod(plugins.PluginInterface): yield 0, (format_hints.Hex(module.vol.offset), mod_name, mod_size) except exceptions.SymbolError: - vollog.debug( + vollog.warning( "The required symbol 'module' is not present in symbol table. Please check that kernel modules are enabled for the system under analysis." ) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index 0dd503829..d05f16458 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -3,8 +3,10 @@ # import logging from typing import List, Dict, Iterator -from volatility3.plugins.linux import lsmod, check_modules, hidden_modules -from volatility3.framework import interfaces + +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules + +from volatility3.framework import interfaces, Deprecation from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints, TreeGrid, NotAvailableValue from volatility3.framework.symbols.linux import extensions @@ -29,22 +31,14 @@ spot modules presence and taints.""" description="Linux kernel", architectures=architectures.LINUX_ARCHS, ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(2, 0, 0), + ), requirements.VersionRequirement( name="linux-tainting", component=tainting.Tainting, version=(1, 0, 0) ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) - ), - requirements.PluginRequirement( - name="check_modules", - plugin=check_modules.Check_modules, - version=(1, 0, 0), - ), - requirements.PluginRequirement( - name="hidden_modules", - plugin=hidden_modules.Hidden_modules, - version=(1, 0, 0), - ), requirements.BooleanRequirement( name="plain_taints", description="Display the plain taints string for each module.", @@ -54,6 +48,10 @@ spot modules presence and taints.""" ] @classmethod + @Deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.flatten_run_modules_results, + replacement_version=(2, 0, 0), + ) def flatten_run_modules_results( cls, run_results: Dict[str, List[extensions.module]], deduplicate: bool = True ) -> Iterator[extensions.module]: @@ -67,15 +65,15 @@ spot modules presence and taints.""" Returns: Iterator of modules objects """ - seen_addresses = set() - for modules in run_results.values(): - for module in modules: - if deduplicate and module.vol.offset in seen_addresses: - continue - seen_addresses.add(module.vol.offset) - yield module + return linux_utilities_modules.Modules.flatten_run_modules_results( + run_results, deduplicate + ) @classmethod + @Deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.run_modules_scanners, + replacement_version=(2, 0, 0), + ) def run_modules_scanners( cls, context: interfaces.context.ContextInterface, @@ -83,67 +81,37 @@ spot modules presence and taints.""" run_hidden_modules: bool = True, ) -> Dict[str, List[extensions.module]]: """Run module scanning plugins and aggregate the results. It is designed - to not operate any inter-plugin results triage. - - Args: - run_hidden_modules: specify if the hidden_modules plugin should be run - Returns: - Dictionary mapping each plugin to its corresponding result - """ - - kernel = context.modules[kernel_name] - run_results = {} - # lsmod - run_results["lsmod"] = list(lsmod.Lsmod.list_modules(context, kernel_name)) - # check_modules - sysfs_modules: dict = check_modules.Check_modules.get_kset_modules( - context, kernel_name + to not operate any inter-plugin results triage.""" + return linux_utilities_modules.Modules.run_modules_scanners( + context, kernel_name, run_hidden_modules ) - ## Convert get_kset_modules() offsets back to module objects - run_results["check_modules"] = [ - kernel.object(object_type="module", offset=m_offset, absolute=True) - for m_offset in sysfs_modules.values() - ] - # hidden_modules - if run_hidden_modules: - known_modules_addresses = set( - context.layers[kernel.layer_name].canonicalize(module.vol.offset) - for module in run_results["lsmod"] + run_results["check_modules"] - ) - modules_memory_boundaries = ( - hidden_modules.Hidden_modules.get_modules_memory_boundaries( - context, kernel_name - ) - ) - run_results["hidden_modules"] = list( - hidden_modules.Hidden_modules.get_hidden_modules( - context, - kernel_name, - known_modules_addresses, - modules_memory_boundaries, - ) - ) - - return run_results def _generator(self): kernel_name = self.config["kernel"] - run_results = self.run_modules_scanners(self.context, kernel_name) + + kernel = self.context.modules[kernel_name] + + run_results = linux_utilities_modules.Modules.run_modules_scanners( + self.context, kernel_name, flatten=False + ) + aggregated_modules = {} # We want to be explicit on the plugins results we are interested in for plugin_name in ["lsmod", "check_modules", "hidden_modules"]: # Iterate over each recovered module - for module in run_results[plugin_name]: + for mod_info in run_results[plugin_name]: # Use offsets as unique keys, whether a module # appears in many plugin runs or not - if aggregated_modules.get(module.vol.offset, None) is not None: + if aggregated_modules.get(mod_info.offset, None) is not None: # Append the plugin to the list of originating plugins - aggregated_modules[module.vol.offset][1].append(plugin_name) + aggregated_modules[mod_info.offset].append(plugin_name) else: - aggregated_modules[module.vol.offset] = (module, [plugin_name]) + aggregated_modules[mod_info.offset] = [plugin_name] - for module_offset, (module, originating_plugins) in aggregated_modules.items(): + for module_offset, originating_plugins in aggregated_modules.items(): # Tainting parsing capabilities applied to the module + module = kernel.object("module", offset=module_offset, absolute=True) + if self.config.get("plain_taints"): taints = tainting.Tainting.get_taints_as_plain_string( self.context, diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 9c8c9feb0..9c0055a54 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -726,7 +726,7 @@ class Netfilter(interfaces.plugins.PluginInterface): _version = (1, 1, 1) - _required_linux_utilities_modules_version = (1, 0, 0) + _required_linux_utilities_modules_version = (2, 0, 0) _required_linuxutils_version = (2, 1, 0) _required_lsmod_version = (2, 0, 0) _required_linuxnet_version = (1, 0, 0) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 59168d5bc..17766cc74 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -10,11 +10,9 @@ from enum import Enum from dataclasses import dataclass import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.plugins.linux import hidden_modules, modxview from volatility3.framework import constants, exceptions, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints, TreeGrid, NotAvailableValue -from volatility3.framework.symbols.linux import extensions from volatility3.framework.constants import architectures vollog = logging.getLogger(__name__) @@ -67,7 +65,7 @@ class CheckFtrace(interfaces.plugins.PluginInterface): Investigate the ftrace infrastructure to uncover kernel attached callbacks, which can be leveraged to hook kernel functions and modify their behaviour.""" - _version = (2, 0, 0) + _version = (3, 0, 0) _required_framework_version = (2, 19, 0) @classmethod @@ -81,15 +79,7 @@ class CheckFtrace(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(1, 1, 0), - ), - requirements.PluginRequirement( - name="modxview", plugin=modxview.Modxview, version=(1, 0, 0) - ), - requirements.PluginRequirement( - name="hidden_modules", - plugin=hidden_modules.Hidden_modules, - version=(1, 0, 0), + version=(2, 0, 0), ), requirements.BooleanRequirement( name="show_ftrace_flags", @@ -136,8 +126,8 @@ class CheckFtrace(interfaces.plugins.PluginInterface): def parse_ftrace_ops( cls, context: interfaces.context.ContextInterface, - kernel_name: str, - known_modules: Dict[str, List[extensions.module]], + kernel_module_name: str, + known_modules: Dict[str, List[linux_utilities_modules.Modules.ModuleInfo]], ftrace_ops: interfaces.objects.ObjectInterface, run_hidden_modules: bool = True, ) -> Generator[ParsedFtraceOps, None, None]: @@ -145,70 +135,33 @@ class CheckFtrace(interfaces.plugins.PluginInterface): Iterates over embedded ftrace_func_entry entries, which point to hooked memory areas. Args: - known_modules: A dict of known modules, used to locate callbacks origin. Typically obtained through modxview.run_modules_scanners(). + known_modules: A dict of known modules, used to locate callbacks origin. Typically obtained through run_modules_scanners(). ftrace_ops: The ftrace_ops struct to parse run_hidden_modules: Whether to run the hidden_modules plugin or not. Note: it won't be run, even if specified, \ -if the "hidden_modules" key is present in known_modules. + if the "hidden_modules" key is present in known_modules. Yields: An iterable of ParsedFtraceOps dataclasses, containing a selection of useful fields (callback, hook, module) related to an ftrace_ops struct """ - kernel = context.modules[kernel_name] - kernel_layer = context.layers[kernel.layer_name] + kernel = context.modules[kernel_module_name] callback = ftrace_ops.func - callback_symbol = module_address = module_name = None - # Try to lookup within the known modules if the callback address fits - module = linux_utilities_modules.Modules.module_lookup_by_address( - context, - kernel.layer_name, - modxview.Modxview.flatten_run_modules_results(known_modules), - callback, - ) - # Run hidden_modules plugin if a callback origin couldn't be determined (only done once, results are re-used afterwards) - if ( - module is None - and run_hidden_modules - and "hidden_modules" not in known_modules - ): - vollog.info( - "A callback module origin could not be determined. hidden_modules plugin will be run to detect additional modules.", - ) - known_modules_addresses = set( - kernel_layer.canonicalize(module.vol.offset) - for module in modxview.Modxview.flatten_run_modules_results( - known_modules - ) - ) - modules_memory_boundaries = ( - hidden_modules.Hidden_modules.get_modules_memory_boundaries( - context, kernel_name - ) - ) - known_modules["hidden_modules"] = list( - hidden_modules.Hidden_modules.get_hidden_modules( - context, - kernel_name, - known_modules_addresses, - modules_memory_boundaries, - ) - ) - # Lookup the updated list to see if hidden_modules was able - # to find the missing module - module = linux_utilities_modules.Modules.module_lookup_by_address( + mod_info, callback_symbol = ( + linux_utilities_modules.Modules.module_lookup_by_address( context, - kernel.layer_name, - modxview.Modxview.flatten_run_modules_results(known_modules), + kernel_module_name, + known_modules, callback, ) + ) - # Fetch more information about the module - if module is not None: - module_address = module.vol.offset - module_name = module.get_name() - callback_symbol = module.get_symbol_by_address(callback) + if mod_info: + module_address = mod_info.start + module_name = mod_info.name else: - vollog.warning( + callback_symbol = module_address = module_name = None + + vollog.debug( f"Could not determine ftrace_ops@{ftrace_ops.vol.offset:#x} callback {callback:#x} module origin.", ) @@ -264,16 +217,15 @@ if the "hidden_modules" key is present in known_modules. kernel = self.context.modules[kernel_name] if not kernel.has_symbol("ftrace_ops_list"): - raise exceptions.SymbolError( - "ftrace_ops_list", - kernel.symbol_table_name, - 'The provided symbol table does not include the "ftrace_ops_list" symbol. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupted.', + vollog.error( + 'The provided symbol table does not include the "ftrace_ops_list" symbol. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupted.' ) + return - # Do not run hidden_modules by default, but only on failure to find a module - known_modules = modxview.Modxview.run_modules_scanners( - self.context, kernel_name, run_hidden_modules=False + known_modules = linux_utilities_modules.Modules.run_modules_scanners( + self.context, kernel_name, run_hidden_modules=True ) + for ftrace_ops in self.iterate_ftrace_ops_list(self.context, kernel_name): for ftrace_ops_parsed in self.parse_ftrace_ops( self.context, diff --git a/volatility3/framework/plugins/linux/tracing/tracepoints.py b/volatility3/framework/plugins/linux/tracing/tracepoints.py index f8edcc5b7..fe6d11af9 100644 --- a/volatility3/framework/plugins/linux/tracing/tracepoints.py +++ b/volatility3/framework/plugins/linux/tracing/tracepoints.py @@ -9,11 +9,9 @@ from typing import Dict, Iterable, List, Optional from dataclasses import dataclass import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.plugins.linux import hidden_modules, modxview from volatility3.framework import constants, exceptions, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints, NotAvailableValue, TreeGrid -from volatility3.framework.symbols.linux import extensions from volatility3.framework.objects import utility from volatility3.framework.constants import architectures @@ -54,15 +52,7 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(1, 1, 0), - ), - requirements.PluginRequirement( - name="modxview", plugin=modxview.Modxview, version=(1, 0, 0) - ), - requirements.PluginRequirement( - name="hidden_modules", - plugin=hidden_modules.Hidden_modules, - version=(1, 0, 0), + version=(2, 0, 0), ), ] @@ -105,15 +95,15 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): def parse_tracepoint( cls, context: interfaces.context.ContextInterface, - kernel_name: str, - known_modules: Dict[str, List[extensions.module]], + kernel_module_name: str, + known_modules: Dict[str, List[linux_utilities_modules.Modules.ModuleInfo]], tracepoint: interfaces.objects.ObjectInterface, run_hidden_modules: bool = True, ) -> Optional[Iterable[ParsedTracepointFunc]]: """Parse a tracepoint struct to highlight tracepoints kernel hooking. Args: - known_modules: A dict of known modules, used to locate callbacks origin. Typically obtained through modxview.run_modules_scanners(). + known_modules: A dict of known modules, used to locate callbacks origin. Typically obtained through run_modules_scanners(). tracepoint: The tracepoint struct to parse run_hidden_modules: Whether to run the hidden_modules plugin or not. Note: it won't be run, even if specified, \ if the "hidden_modules" key is present in known_modules. @@ -121,11 +111,10 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): Yields: An iterable of ParsedTracepointFunc dataclasses, containing a selection of useful fields related to a tracepoint struct """ - kernel = context.modules[kernel_name] - kernel_layer = context.layers[kernel.layer_name] + kernel = context.modules[kernel_module_name] for tracepoint_func in cls.iterate_tracepoint_funcs( - context, kernel_layer.name, tracepoint + context, kernel.layer_name, tracepoint ): try: tracepoint_name = utility.pointer_to_string(tracepoint.name, count=512) @@ -139,56 +128,19 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): probe_handler_symbol = module_address = module_name = None # Try to lookup within the known modules if the probe_handler address fits - module = linux_utilities_modules.Modules.module_lookup_by_address( - context, - kernel.layer_name, - modxview.Modxview.flatten_run_modules_results(known_modules), - probe_handler_address, - ) - # Run hidden_modules plugin if a probe handler origin couldn't be determined (only done once, results are re-used afterwards) - if ( - module is None - and run_hidden_modules - and "hidden_modules" not in known_modules - ): - vollog.info( - "A probe handler module origin could not be determined. hidden_modules plugin will be run to detect additional modules.", - ) - known_modules_addresses = set( - kernel_layer.canonicalize(module.vol.offset) - for module in modxview.Modxview.flatten_run_modules_results( - known_modules - ) - ) - modules_memory_boundaries = ( - hidden_modules.Hidden_modules.get_modules_memory_boundaries( - context, kernel_name - ) - ) - known_modules["hidden_modules"] = list( - hidden_modules.Hidden_modules.get_hidden_modules( - context, - kernel_name, - known_modules_addresses, - modules_memory_boundaries, - ) - ) - # Lookup the updated list to see if hidden_modules was able - # to find the missing module - module = linux_utilities_modules.Modules.module_lookup_by_address( + mod_info, probe_handler_symbol = ( + linux_utilities_modules.Modules.module_lookup_by_address( context, - kernel.layer_name, - modxview.Modxview.flatten_run_modules_results(known_modules), + kernel_module_name, + known_modules, probe_handler_address, ) + ) # Fetch more information about the module - if module is not None: - module_address = module.vol.offset - module_name = module.get_name() - probe_handler_symbol = module.get_symbol_by_address( - probe_handler_address - ) + if mod_info is not None: + module_address = mod_info.offset + module_name = mod_info.name else: vollog.debug( f"Could not determine tracepoint@{tracepoint.vol.offset:#x} probe handler {probe_handler_address:#x} module origin.", @@ -276,7 +228,7 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): ) return - known_modules = modxview.Modxview.run_modules_scanners( + known_modules = linux_utilities_modules.Modules.run_modules_scanners( self.context, kernel_name, run_hidden_modules=False ) tracepoints = self.iterate_tracepoints_array(self.context, kernel_name) diff --git a/volatility3/framework/plugins/linux/tty_check.py b/volatility3/framework/plugins/linux/tty_check.py index 742bacb0b..281d46eda 100644 --- a/volatility3/framework/plugins/linux/tty_check.py +++ b/volatility3/framework/plugins/linux/tty_check.py @@ -33,7 +33,7 @@ class tty_check(plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(1, 0, 0), + version=(2, 0, 0), ), requirements.PluginRequirement( name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index c443c37e1..8d7cbcae1 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -1,6 +1,7 @@ # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # + import math import string import contextlib @@ -367,9 +368,8 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): yield fd_num, filp, full_path @classmethod - @Deprecation.deprecated_method( - replacement=linux_utilities_modules.Modules.mask_mods_list, - replacement_version=(1, 0, 0), + @Deprecation.method_being_removed( + "This method is not needed. The correct API for mapping kernel pointers to modules is `linux_utilities_modules.Modules.run_module_scanners`" ) def mask_mods_list( cls, @@ -385,6 +385,9 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return linux_utilities_modules.Modules.mask_mods_list(context, layer_name, mods) @classmethod + @Deprecation.method_being_removed( + "The correct API for mapping kernel pointers to modules is `linux_utilities_modules.Modules.run_module_scanners`" + ) def generate_kernel_handler_info( cls, context: interfaces.context.ContextInterface, @@ -392,6 +395,8 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): mods_list: Iterator[interfaces.objects.ObjectInterface], ) -> List[Tuple[str, int, int]]: """ + This method is being deprecated. Use `linux_utilities_modules.Modules.run_module_scanners` to map kernel pointers to modules") + A helper function that gets the beginning and end address of the kernel module """ @@ -414,7 +419,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): @classmethod @Deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.lookup_module_address, - replacement_version=(1, 0, 0), + replacement_version=(2, 0, 0), ) def lookup_module_address( cls, diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index d03e76c88..8f242a169 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -1,32 +1,54 @@ +import logging import warnings -from typing import Iterable, Iterator, List, Optional, Tuple +from typing import Iterable, Iterator, List, Optional, Tuple, NamedTuple, Dict, Set from volatility3 import framework -from volatility3.framework import constants, interfaces +from volatility3.framework import ( + constants, + interfaces, + Deprecation, + exceptions, + objects, +) from volatility3.framework.objects import utility from volatility3.framework.symbols.linux import extensions +vollog = logging.getLogger(__name__) + class Modules(interfaces.configuration.VersionableInterface): """Kernel modules related utilities.""" - _version = (1, 1, 0) + _version = (2, 0, 0) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) - @classmethod + class ModuleInfo(NamedTuple): + """ + Used to track the name and boundary of a kernel module + """ + + offset: int + name: str + start: int + end: int + + @staticmethod def module_lookup_by_address( - cls, context: interfaces.context.ContextInterface, - layer_name: str, - modules: Iterable[extensions.module], + kernel_module_name: str, + modules: Iterable[ModuleInfo], target_address: int, - ) -> Optional[extensions.module]: + run_hidden_modules: bool = True, + ) -> Optional[Tuple[ModuleInfo, Optional[str]]]: """ Determine if a target address lies in a module memory space. Returns the module where the provided address lies. + `modules` must contain masked addresses via `get_module_info_for_module` or + a ValueError will be thrown + Args: context: The context on which to operate layer_name: The name of the layer on which to operate @@ -34,44 +56,66 @@ class Modules(interfaces.configuration.VersionableInterface): target_address: The address to check for a match Returns: - The first memory module in which the address fits + The first memory module in which the address fits and the symbol name for `target_address` Kernel documentation: "within_module" and "within_module_mem_type" functions """ - matches = [] - seen_addresses = set() - for module in modules: - _, start, end = cls.mask_mods_list(context, layer_name, [module])[0] - if ( - start <= target_address < end - and module.vol.offset not in seen_addresses - ): - matches.append(module) - seen_addresses.add(module.vol.offset) + kernel = context.modules[kernel_module_name] - if len(matches) > 1: - warnings.warn( - f"Address {hex(target_address)} fits in modules at {[hex(module.vol.offset) for module in matches]}, indicating potential modules memory space overlap.", - UserWarning, + kernel_layer = context.layers[kernel.layer_name] + + if modules[0].start != modules[0].start & kernel_layer.address_mask: + raise ValueError( + "Modules list must be gathered from `run_modules_scanners` to be used in this function" ) - return matches[0] - elif len(matches) == 1: - return matches[0] - return None + matches = [] + for module in modules: + if module.start <= target_address < module.end: + matches.append(module) + + if len(matches) >= 1: + if len(matches) > 1: + warnings.warn( + f"Address {hex(target_address)} fits in modules at {[hex(module.start) for module in matches]}, indicating potential modules memory space overlap.", + UserWarning, + ) + + symbol_name = None + + match = matches[0] + + if match.name == constants.linux.KERNEL_NAME: + symbols = list(kernel.get_symbols_by_absolute_location(target_address)) + + if len(symbols): + symbol_name = symbols[0] + else: + module = kernel.object("module", offset=module.offset, absolute=True) + symbol_name = module.get_symbol_by_address(target_address) + + if symbol_name: + symbol_name = symbol_name.split(constants.BANG)[1] + + return match, symbol_name + + return None, None @classmethod + @Deprecation.method_being_removed( + "This method is not needed. The correct API for mapping kernel pointers to modules is `linux_utilities_modules.Modules.run_module_scanners`" + ) def mask_mods_list( cls, context: interfaces.context.ContextInterface, - layer_name: str, - mods: Iterator[interfaces.objects.ObjectInterface], - ) -> List[Tuple[str, int, int]]: + kernel_layer_name: str, + mods: Iterator[extensions.module], + ) -> List[extensions.module]: """ A helper function to mask the starting and end address of kernel modules """ - mask = context.layers[layer_name].address_mask + mask = context.layers[kernel_layer_name].address_mask return [ ( @@ -83,6 +127,9 @@ class Modules(interfaces.configuration.VersionableInterface): ] @classmethod + @Deprecation.method_being_removed( + "Use `module_lookup_by_address` to map address to their hosting kernel module and symbol." + ) def lookup_module_address( cls, context: interfaces.context.ContextInterface, @@ -116,3 +163,369 @@ class Modules(interfaces.configuration.VersionableInterface): break return mod_name, symbol_name + + @classmethod + def get_module_info_for_module( + cls, address_mask: int, module: extensions.module + ) -> Optional[ModuleInfo]: + """ + Returns a ModuleInfo instance for `module` + + This performs address masking to avoid endless calls to `mask_mods_list` + + Returns None if the name is smeared + """ + try: + mod_name = utility.array_to_string(module.name) + except exceptions.InvalidAddressException: + return None + + start = module.get_module_base() & address_mask + + end = start + module.get_core_size() + + return Modules.ModuleInfo(module.vol.offset, mod_name, start, end) + + @staticmethod + def get_kernel_module_info( + context: interfaces.context.ContextInterface, + kernel_module_name: str, + ) -> ModuleInfo: + """ + Returns a ModuleInfo instance that encodes the kernel + This is required to map function pointers to the kerenl executable + """ + kernel = context.modules[kernel_module_name] + + mask = context.layers[kernel.layer_name].address_mask + + start_addr = kernel.object_from_symbol("_text") + start_addr = start_addr.vol.offset & mask + + end_addr = kernel.object_from_symbol("_etext") + end_addr = end_addr.vol.offset & mask + + return Modules.ModuleInfo( + start_addr, constants.linux.KERNEL_NAME, start_addr, end_addr + ) + + @classmethod + def run_modules_scanners( + cls, + context: interfaces.context.ContextInterface, + kernel_name: str, + run_hidden_modules: bool = True, + flatten: bool = True, + ) -> Dict[str, List[ModuleInfo]]: + """Run module scanning plugins and aggregate the results. It is designed + to not operate any inter-plugin results triage. + + Args: + run_hidden_modules: specify if the hidden_modules plugin should be run + Returns: + Dictionary mapping each plugin to its corresponding result + """ + + kernel = context.modules[kernel_name] + + address_mask = context.layers[kernel.layer_name].address_mask + + run_results = {} + + # the kernel module boundaries + run_results["kernel"] = [cls.get_kernel_module_info(context, kernel_name)] + + # lsmod + run_results["lsmod"] = [] + + for module in cls.list_modules(context, kernel_name): + modinfo = cls.get_module_info_for_module(address_mask, module) + if modinfo: + run_results["lsmod"].append(modinfo) + + # check_modules + run_results["check_modules"] = [] + + sysfs_modules: dict = cls.get_kset_modules(context, kernel_name) + + for m_offset in sysfs_modules.values(): + module = kernel.object(object_type="module", offset=m_offset, absolute=True) + modinfo = cls.get_module_info_for_module(address_mask, module) + if modinfo: + run_results["check_modules"].append(modinfo) + + # hidden_modules + if run_hidden_modules: + known_modules_addresses = set( + context.layers[kernel.layer_name].canonicalize(modinfo.start) + for modinfo in run_results["kernel"] + + run_results["lsmod"] + + run_results["check_modules"] + ) + modules_memory_boundaries = cls.get_modules_memory_boundaries( + context, kernel_name + ) + run_results["hidden_modules"] = [] + + for module in cls.get_hidden_modules( + context, + kernel_name, + known_modules_addresses, + modules_memory_boundaries, + ): + modinfo = cls.get_module_info_for_module(address_mask, module) + if modinfo: + run_results["hidden_modules"].append(modinfo) + + if flatten: + return cls.flatten_run_modules_results(run_results) + + return run_results + + @staticmethod + def get_modules_memory_boundaries( + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> Tuple[int, int]: + """Determine the boundaries of the module allocation area + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + + Returns: + A tuple containing the minimum and maximum addresses for the module allocation area. + """ + vmlinux = context.modules[vmlinux_module_name] + if vmlinux.has_symbol("mod_tree"): + # Kernel >= 5.19 58d208de3e8d87dbe196caf0b57cc58c7a3836ca + mod_tree = vmlinux.object_from_symbol("mod_tree") + modules_addr_min = mod_tree.addr_min + modules_addr_max = mod_tree.addr_max + elif vmlinux.has_symbol("module_addr_min"): + # 2.6.27 <= kernel < 5.19 3a642e99babe0617febb6f402e1e063479f489db + modules_addr_min = vmlinux.object_from_symbol("module_addr_min") + modules_addr_max = vmlinux.object_from_symbol("module_addr_max") + + if isinstance(modules_addr_min, objects.Void): + raise exceptions.VolatilityException( + "Your ISF symbols lack type information. You may need to update the" + "ISF using the latest version of dwarf2json" + ) + else: + raise exceptions.VolatilityException( + "Cannot find the module memory allocation area. Unsupported kernel" + ) + + return modules_addr_min, modules_addr_max + + @classmethod + def flatten_run_modules_results( + cls, run_results: Dict[str, List[ModuleInfo]], deduplicate: bool = True + ) -> List[ModuleInfo]: + """Flatten a dictionary mapping plugin names and modules list, to a single merged list. + This is useful to get a generic lookup list of all the detected modules. + + Args: + run_results: dictionary of plugin names mapping a list of detected modules + deduplicate: remove duplicate modules, based on their offsets + + Returns: + List of ModuleInfo objects + """ + uniq_modules: List[Modules.ModuleInfo] = [] + + seen_addresses: int = set() + + for modules in run_results.values(): + for module in modules: + if deduplicate and (module.start in seen_addresses): + continue + seen_addresses.add(module.start) + uniq_modules.append(module) + + return uniq_modules + + @classmethod + def get_hidden_modules( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + known_module_addresses: Set[int], + modules_memory_boundaries: Tuple, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Enumerate hidden modules by taking advantage of memory address alignment patterns + + This technique is much faster and uses less memory than the traditional scan method + in Volatility2, but it doesn't work with older kernels. + + From kernels 4.2 struct module allocation are aligned to the L1 cache line size. + In i386/amd64/arm64 this is typically 64 bytes. However, this can be changed in + the Linux kernel configuration via CONFIG_X86_L1_CACHE_SHIFT. The alignment can + also be obtained from the DWARF info i.e. DW_AT_alignment<64>, but dwarf2json + doesn't support this feature yet. + In kernels < 4.2, alignment attributes are absent in the struct module, meaning + alignment cannot be guaranteed. Therefore, for older kernels, it's better to use + the traditional scan technique. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + known_module_addresses: Set with known module addresses + modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. + Yields: + module objects + """ + vmlinux = context.modules[vmlinux_module_name] + vmlinux_layer = context.layers[vmlinux.layer_name] + + module_addr_min, module_addr_max = modules_memory_boundaries + module_address_alignment = cls.get_module_address_alignment( + context, vmlinux_module_name + ) + if not cls.validate_alignment_patterns( + known_module_addresses, module_address_alignment + ): + vollog.warning( + f"Module addresses aren't aligned to {module_address_alignment} bytes. " + "Switching to 1 byte aligment scan method." + ) + module_address_alignment = 1 + + mkobj_offset = vmlinux.get_type("module").relative_child_offset("mkobj") + mod_offset = vmlinux.get_type("module_kobject").relative_child_offset("mod") + offset_to_mkobj_mod = mkobj_offset + mod_offset + mod_member_template = vmlinux.get_type("module_kobject").child_template("mod") + mod_size = mod_member_template.size + mod_member_data_format = mod_member_template.data_format + + for module_addr in range( + module_addr_min, module_addr_max, module_address_alignment + ): + if module_addr in known_module_addresses: + continue + + try: + # This is just a pre-filter. Module readability and consistency are verified in module.is_valid() + self_referential_bytes = vmlinux_layer.read( + module_addr + offset_to_mkobj_mod, mod_size + ) + self_referential = objects.convert_data_to_value( + self_referential_bytes, int, mod_member_data_format + ) + if self_referential != module_addr: + continue + except ( + exceptions.PagedInvalidAddressException, + exceptions.InvalidAddressException, + ): + continue + + module = vmlinux.object("module", offset=module_addr, absolute=True) + if module and module.is_valid(): + yield module + + @classmethod + def get_module_address_alignment( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> int: + """Obtain the module memory address alignment. + + struct module is aligned to the L1 cache line, which is typically 64 bytes for most + common i386/AMD64/ARM64 configurations. In some cases, it can be 128 bytes, but this + will still work. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + + Returns: + The struct module alignment + """ + # FIXME: When dwarf2json/ISF supports type alignments. Read it directly from the type metadata + # Additionally, while 'context' and 'vmlinux_module_name' are currently unused, they will be + # essential for retrieving type metadata in the future. + return 64 + + @classmethod + def list_modules( + cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Lists all the modules in the primary layer. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + layer_name: The name of the layer on which to operate + vmlinux_symbols: The name of the table containing the kernel symbols + + Yields: + The modules present in the `layer_name` layer's modules list + + This function will throw a SymbolError exception if kernel module support is not enabled. + """ + vmlinux = context.modules[vmlinux_module_name] + + modules = vmlinux.object_from_symbol(symbol_name="modules").cast("list_head") + + table_name = modules.vol.type_name.split(constants.BANG)[0] + + yield from modules.to_list(table_name + constants.BANG + "module", "list") + + @classmethod + def get_kset_modules( + cls, context: interfaces.context.ContextInterface, vmlinux_name: str + ) -> Dict[str, extensions.module]: + vmlinux = context.modules[vmlinux_name] + + try: + module_kset = vmlinux.object_from_symbol("module_kset") + except exceptions.SymbolError: + module_kset = None + + if not module_kset: + raise TypeError( + "This plugin requires the module_kset structure. This structure is not present in the supplied symbol table. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." + ) + + ret = {} + + kobj_off = vmlinux.get_type("module_kobject").relative_child_offset("kobj") + + for kobj in module_kset.list.to_list( + vmlinux.symbol_table_name + constants.BANG + "kobject", "entry" + ): + mod_kobj = vmlinux.object( + object_type="module_kobject", + offset=kobj.vol.offset - kobj_off, + absolute=True, + ) + + mod = mod_kobj.mod + + try: + name = utility.pointer_to_string(kobj.name, 32) + except exceptions.InvalidAddressException: + continue + + if kobj.name and kobj.reference_count() > 2: + ret[name] = mod + + return ret + + @staticmethod + def validate_alignment_patterns( + addresses: Iterable[int], + address_alignment: int, + ) -> bool: + """Check if the memory addresses meet our alignments patterns + + Args: + addresses: Iterable with the address values + address_alignment: Number of bytes for alignment validation + + Returns: + True if all the addresses meet the alignment + """ + return all(addr % address_alignment == 0 for addr in addresses) From 2ead4d3dc6c9ff801eace48a84de275dec14eee4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 7 Mar 2025 00:10:20 +0000 Subject: [PATCH 1547/2186] update for black --- volatility3/framework/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 333e7909f..20f30714d 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -75,7 +75,10 @@ class Deprecation: def decorator(deprecated_func): @functools.wraps(deprecated_func) def wrapper(*args, **kwargs): - warnings.warn(f"This API ({deprecated_func.__module__}.{deprecated_func.__qualname__}) will be removed in a release very soon. {message}", FutureWarning) + warnings.warn( + f"This API ({deprecated_func.__module__}.{deprecated_func.__qualname__}) will be removed in a release very soon. {message}", + FutureWarning, + ) return deprecated_func(*args, **kwargs) return wrapper From 636bb10f9f1290edb02b6ed7b506400cc4be0e7d Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 14:04:37 -0600 Subject: [PATCH 1548/2186] Update volatility3/framework/plugins/linux/hidden_modules.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/hidden_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 0b93cfacc..7fa8e1d4f 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -3,7 +3,7 @@ # import logging from typing import List, Set, Tuple, Iterable -import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules +from volatility3.framework.symbols.linux.utilities import modules as linux_utilities_modules from volatility3.framework import renderers, interfaces, exceptions, Deprecation from volatility3.framework.constants import architectures from volatility3.framework.renderers import format_hints From 00678fbf19cb3fe230d332ed5abd1e429faa6d8c Mon Sep 17 00:00:00 2001 From: ikelos Date: Sat, 8 Mar 2025 20:37:55 +0000 Subject: [PATCH 1549/2186] Update volatility3/framework/plugins/linux/hidden_modules.py Ensure black doesn't complain --- volatility3/framework/plugins/linux/hidden_modules.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 7fa8e1d4f..948a8cce6 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -3,7 +3,9 @@ # import logging from typing import List, Set, Tuple, Iterable -from volatility3.framework.symbols.linux.utilities import modules as linux_utilities_modules +from volatility3.framework.symbols.linux.utilities import ( + modules as linux_utilities_modules, +) from volatility3.framework import renderers, interfaces, exceptions, Deprecation from volatility3.framework.constants import architectures from volatility3.framework.renderers import format_hints From 6a32aa4b6a3313b8abba027e38a56f10d67c054f Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 21:39:50 +0000 Subject: [PATCH 1550/2186] Deprecation API updates --- volatility3/framework/__init__.py | 78 +------------------ .../framework/plugins/linux/check_modules.py | 4 +- .../framework/plugins/linux/hidden_modules.py | 8 +- volatility3/framework/plugins/linux/lsmod.py | 4 +- .../framework/plugins/linux/modxview.py | 6 +- .../framework/symbols/linux/__init__.py | 12 +-- .../symbols/linux/utilities/modules.py | 10 +-- 7 files changed, 24 insertions(+), 98 deletions(-) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 20f30714d..0bbdefa43 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -11,12 +11,9 @@ import inspect import logging import os import traceback -import functools -import warnings -from typing import Any, Callable, Dict, Generator, List, Optional, Tuple, Type, TypeVar +from typing import Any, Dict, Generator, List, Optional, Tuple, Type, TypeVar -from volatility3.framework import constants, exceptions, interfaces -from volatility3.framework.configuration import requirements +from volatility3.framework import constants, interfaces if ( sys.version_info.major != constants.REQUIRED_PYTHON_VERSION[0] @@ -66,77 +63,6 @@ def require_interface_version(*args) -> None: ) -class Deprecation: - """Deprecation related methods.""" - - @staticmethod - def method_being_removed(message: str): - - def decorator(deprecated_func): - @functools.wraps(deprecated_func) - def wrapper(*args, **kwargs): - warnings.warn( - f"This API ({deprecated_func.__module__}.{deprecated_func.__qualname__}) will be removed in a release very soon. {message}", - FutureWarning, - ) - return deprecated_func(*args, **kwargs) - - return wrapper - - return decorator - - @staticmethod - def deprecated_method( - replacement: Callable, - replacement_version: Tuple[int, int, int] = None, - additional_information: str = "", - ): - """A decorator for marking functions as deprecated. - - Args: - replacement: The replacement function overriding the deprecated API, in the form of a Callable (typically a method) - replacement_version: The "replacement" base class version that the deprecated method expects before proxying to it. This implies that "replacement" is a method from a class that inherits from VersionableInterface. - additional_information: Information appended at the end of the deprecation message - """ - - def decorator(deprecated_func): - @functools.wraps(deprecated_func) - def wrapper(*args, **kwargs): - nonlocal replacement, replacement_version, additional_information - # Prevent version mismatches between deprecated (proxy) methods and the ones they proxy - if ( - replacement_version is not None - and callable(replacement) - and hasattr(replacement, "__self__") - ): - replacement_base_class = replacement.__self__ - - # Verify that the base class inherits from VersionableInterface - if inspect.isclass(replacement_base_class) and issubclass( - replacement_base_class, - interfaces.configuration.VersionableInterface, - ): - # SemVer check - if not requirements.VersionRequirement.matches_required( - replacement_version, replacement_base_class.version - ): - raise exceptions.VersionMismatchException( - deprecated_func, - replacement_base_class, - replacement_version, - "This is a bug, the deprecated call needs to be removed and the caller needs to update their code to use the new method.", - ) - - deprecation_msg = f"Method \"{deprecated_func.__module__ + '.' + deprecated_func.__qualname__}\" is deprecated, use \"{replacement.__module__ + '.' + replacement.__qualname__}\" instead. {additional_information}" - warnings.warn(deprecation_msg, FutureWarning) - # Return the wrapped function with its original arguments - return deprecated_func(*args, **kwargs) - - return wrapper - - return decorator - - class NonInheritable: def __init__(self, value: Any, cls: Type) -> None: self.default_value = value diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index 8d2d0c746..c6cf4e22e 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -6,7 +6,7 @@ import logging from typing import List, Dict import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import interfaces, renderers, Deprecation +from volatility3.framework import interfaces, renderers, deprecation from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -38,7 +38,7 @@ class Check_modules(plugins.PluginInterface): ] @classmethod - @Deprecation.deprecated_method( + @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_kset_modules, replacement_version=(2, 0, 0), ) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 948a8cce6..87cd5f6aa 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -40,7 +40,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): ] @staticmethod - @Deprecation.deprecated_method( + @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_modules_memory_boundaries, replacement_version=(2, 0, 0), ) @@ -52,7 +52,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): context, vmlinux_module_name ) - @Deprecation.deprecated_method( + @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_module_address_alignment, replacement_version=(2, 0, 0), ) @@ -79,7 +79,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): context, vmlinux_module_name ) - @Deprecation.deprecated_method( + @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_hidden_modules, replacement_version=(2, 0, 0), ) @@ -118,7 +118,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): ) @staticmethod - @Deprecation.deprecated_method( + @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.validate_alignment_patterns, replacement_version=(2, 0, 0), ) diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index be3970a5b..728466afa 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -7,7 +7,7 @@ import logging from typing import List, Iterable import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import exceptions, renderers, interfaces, Deprecation +from volatility3.framework import exceptions, renderers, interfaces, deprecation from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -38,7 +38,7 @@ class Lsmod(plugins.PluginInterface): ] @classmethod - @Deprecation.deprecated_method( + @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.list_modules, replacement_version=(2, 0, 0), ) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index d05f16458..09e12fe87 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -6,7 +6,7 @@ from typing import List, Dict, Iterator import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import interfaces, Deprecation +from volatility3.framework import interfaces, deprecation from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints, TreeGrid, NotAvailableValue from volatility3.framework.symbols.linux import extensions @@ -48,7 +48,7 @@ spot modules presence and taints.""" ] @classmethod - @Deprecation.deprecated_method( + @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.flatten_run_modules_results, replacement_version=(2, 0, 0), ) @@ -70,7 +70,7 @@ spot modules presence and taints.""" ) @classmethod - @Deprecation.deprecated_method( + @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.run_modules_scanners, replacement_version=(2, 0, 0), ) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 8d7cbcae1..49081cb08 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -15,9 +15,9 @@ from volatility3 import framework from volatility3.framework import ( constants, exceptions, + deprecation, interfaces, objects, - Deprecation, ) from volatility3.framework.objects import utility from volatility3.framework.symbols import intermed @@ -368,8 +368,8 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): yield fd_num, filp, full_path @classmethod - @Deprecation.method_being_removed( - "This method is not needed. The correct API for mapping kernel pointers to modules is `linux_utilities_modules.Modules.run_module_scanners`" + @deprecation.method_being_removed( + "Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`" ) def mask_mods_list( cls, @@ -385,8 +385,8 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return linux_utilities_modules.Modules.mask_mods_list(context, layer_name, mods) @classmethod - @Deprecation.method_being_removed( - "The correct API for mapping kernel pointers to modules is `linux_utilities_modules.Modules.run_module_scanners`" + @deprecation.method_being_removed( + "Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`" ) def generate_kernel_handler_info( cls, @@ -417,7 +417,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): ) @classmethod - @Deprecation.deprecated_method( + @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.lookup_module_address, replacement_version=(2, 0, 0), ) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 8f242a169..c1c6dbd86 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -6,7 +6,7 @@ from volatility3 import framework from volatility3.framework import ( constants, interfaces, - Deprecation, + deprecation, exceptions, objects, ) @@ -103,15 +103,15 @@ class Modules(interfaces.configuration.VersionableInterface): return None, None @classmethod - @Deprecation.method_being_removed( - "This method is not needed. The correct API for mapping kernel pointers to modules is `linux_utilities_modules.Modules.run_module_scanners`" + @deprecation.method_being_removed( + "Code using this function should adapt `linux_utilities_modules.Modules.run_module_scanners`" ) def mask_mods_list( cls, context: interfaces.context.ContextInterface, kernel_layer_name: str, mods: Iterator[extensions.module], - ) -> List[extensions.module]: + ) -> List[Tuple[str, int, int]]: """ A helper function to mask the starting and end address of kernel modules """ @@ -127,7 +127,7 @@ class Modules(interfaces.configuration.VersionableInterface): ] @classmethod - @Deprecation.method_being_removed( + @deprecation.method_being_removed( "Use `module_lookup_by_address` to map address to their hosting kernel module and symbol." ) def lookup_module_address( From b68b4f3e72943508b815b54047a3340cfd372318 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 21:42:23 +0000 Subject: [PATCH 1551/2186] Bring back change after merge conflict --- volatility3/framework/plugins/linux/hidden_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 87cd5f6aa..260eb8d21 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -6,7 +6,7 @@ from typing import List, Set, Tuple, Iterable from volatility3.framework.symbols.linux.utilities import ( modules as linux_utilities_modules, ) -from volatility3.framework import renderers, interfaces, exceptions, Deprecation +from volatility3.framework import renderers, interfaces, exceptions, deprecation from volatility3.framework.constants import architectures from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements From 4a87bf506ac95c36e9e354fa2d6780a56d31bcb4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 21:46:21 +0000 Subject: [PATCH 1552/2186] Add new deprecation module --- volatility3/framework/deprecation.py | 81 ++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 volatility3/framework/deprecation.py diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py new file mode 100644 index 000000000..fca7115c3 --- /dev/null +++ b/volatility3/framework/deprecation.py @@ -0,0 +1,81 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +# This file contains the Deprecation class used to deprecate methods in an orderly manner + +import warnings +import functools +import inspect + +from typing import Callable, Tuple + +from volatility3.framework import interfaces, exceptions +from volatility3.framework.configuration import requirements + + +def method_being_removed(message: str): + + def decorator(deprecated_func): + @functools.wraps(deprecated_func) + def wrapper(*args, **kwargs): + warnings.warn( + f"This API ({deprecated_func.__module__}.{deprecated_func.__qualname__}) will be removed in a release very soon. {message}", + FutureWarning, + ) + return deprecated_func(*args, **kwargs) + + return wrapper + + return decorator + + +def deprecated_method( + replacement: Callable, + replacement_version: Tuple[int, int, int] = None, + additional_information: str = "", +): + """A decorator for marking functions as deprecated. + + Args: + replacement: The replacement function overriding the deprecated API, in the form of a Callable (typically a method) + replacement_version: The "replacement" base class version that the deprecated method expects before proxying to it. This implies that "replacement" is a method from a class that inherits from VersionableInterface. + additional_information: Information appended at the end of the deprecation message + """ + + def decorator(deprecated_func): + @functools.wraps(deprecated_func) + def wrapper(*args, **kwargs): + nonlocal replacement, replacement_version, additional_information + # Prevent version mismatches between deprecated (proxy) methods and the ones they proxy + if ( + replacement_version is not None + and callable(replacement) + and hasattr(replacement, "__self__") + ): + replacement_base_class = replacement.__self__ + + # Verify that the base class inherits from VersionableInterface + if inspect.isclass(replacement_base_class) and issubclass( + replacement_base_class, + interfaces.configuration.VersionableInterface, + ): + # SemVer check + if not requirements.VersionRequirement.matches_required( + replacement_version, replacement_base_class.version + ): + raise exceptions.VersionMismatchException( + deprecated_func, + replacement_base_class, + replacement_version, + "This is a bug, the deprecated call needs to be removed and the caller needs to update their code to use the new method.", + ) + + deprecation_msg = f"Method \"{deprecated_func.__module__ + '.' + deprecated_func.__qualname__}\" is deprecated, use \"{replacement.__module__ + '.' + replacement.__qualname__}\" instead. {additional_information}" + warnings.warn(deprecation_msg, FutureWarning) + # Return the wrapped function with its original arguments + return deprecated_func(*args, **kwargs) + + return wrapper + + return decorator From 6cabb0586b3f836a2012b94b4e9cfa577b181b80 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 9 Mar 2025 03:48:48 +0000 Subject: [PATCH 1553/2186] Add removal_date to deprecation API --- volatility3/framework/deprecation.py | 10 +++++----- volatility3/framework/plugins/linux/check_modules.py | 1 + volatility3/framework/plugins/linux/hidden_modules.py | 4 ++++ volatility3/framework/plugins/linux/lsmod.py | 1 + volatility3/framework/plugins/linux/modxview.py | 2 ++ volatility3/framework/symbols/linux/__init__.py | 7 +++++-- .../framework/symbols/linux/utilities/modules.py | 6 ++++-- 7 files changed, 22 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py index fca7115c3..728760671 100644 --- a/volatility3/framework/deprecation.py +++ b/volatility3/framework/deprecation.py @@ -14,13 +14,12 @@ from volatility3.framework import interfaces, exceptions from volatility3.framework.configuration import requirements -def method_being_removed(message: str): - +def method_being_removed(message: str, removal_date: str): def decorator(deprecated_func): @functools.wraps(deprecated_func) def wrapper(*args, **kwargs): warnings.warn( - f"This API ({deprecated_func.__module__}.{deprecated_func.__qualname__}) will be removed in a release very soon. {message}", + f"This API ({deprecated_func.__module__}.{deprecated_func.__qualname__}) will be removed in the first release after {removal_date}. {message}", FutureWarning, ) return deprecated_func(*args, **kwargs) @@ -32,8 +31,9 @@ def method_being_removed(message: str): def deprecated_method( replacement: Callable, + removal_date: str, replacement_version: Tuple[int, int, int] = None, - additional_information: str = "", + additional_information: str = "" ): """A decorator for marking functions as deprecated. @@ -71,7 +71,7 @@ def deprecated_method( "This is a bug, the deprecated call needs to be removed and the caller needs to update their code to use the new method.", ) - deprecation_msg = f"Method \"{deprecated_func.__module__ + '.' + deprecated_func.__qualname__}\" is deprecated, use \"{replacement.__module__ + '.' + replacement.__qualname__}\" instead. {additional_information}" + deprecation_msg = f"Method \"{deprecated_func.__module__ + '.' + deprecated_func.__qualname__}\" is deprecated and will be removed in the first release after {removal_date}, use \"{replacement.__module__ + '.' + replacement.__qualname__}\" instead. {additional_information}" warnings.warn(deprecation_msg, FutureWarning) # Return the wrapped function with its original arguments return deprecated_func(*args, **kwargs) diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index c6cf4e22e..76f75ec50 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -40,6 +40,7 @@ class Check_modules(plugins.PluginInterface): @classmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_kset_modules, + removal_date="2025-09-25", replacement_version=(2, 0, 0), ) def get_kset_modules( diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 260eb8d21..9891bf138 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -42,6 +42,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): @staticmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_modules_memory_boundaries, + removal_date="2025-09-25", replacement_version=(2, 0, 0), ) def get_modules_memory_boundaries( @@ -54,6 +55,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_module_address_alignment, + removal_date="2025-09-25", replacement_version=(2, 0, 0), ) @classmethod @@ -81,6 +83,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_hidden_modules, + removal_date="2025-09-25", replacement_version=(2, 0, 0), ) @classmethod @@ -120,6 +123,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): @staticmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.validate_alignment_patterns, + removal_date="2025-09-25", replacement_version=(2, 0, 0), ) def _validate_alignment_patterns( diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index 728466afa..4f3275fa3 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -41,6 +41,7 @@ class Lsmod(plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.list_modules, replacement_version=(2, 0, 0), + removal_date="2025-09-25" ) def list_modules( cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index 09e12fe87..2928226b9 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -51,6 +51,7 @@ spot modules presence and taints.""" @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.flatten_run_modules_results, replacement_version=(2, 0, 0), + removal_date="2025-09-25" ) def flatten_run_modules_results( cls, run_results: Dict[str, List[extensions.module]], deduplicate: bool = True @@ -73,6 +74,7 @@ spot modules presence and taints.""" @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.run_modules_scanners, replacement_version=(2, 0, 0), + removal_date="2025-09-25" ) def run_modules_scanners( cls, diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 49081cb08..0931dcabf 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -369,7 +369,8 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): @classmethod @deprecation.method_being_removed( - "Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`" + removal_date="2025-09-25", + message="Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`" ) def mask_mods_list( cls, @@ -386,7 +387,8 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): @classmethod @deprecation.method_being_removed( - "Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`" + removal_date="2025-09-25", + message="Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`" ) def generate_kernel_handler_info( cls, @@ -419,6 +421,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): @classmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.lookup_module_address, + removal_date="2025-09-25", replacement_version=(2, 0, 0), ) def lookup_module_address( diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index c1c6dbd86..a4854e81b 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -104,7 +104,8 @@ class Modules(interfaces.configuration.VersionableInterface): @classmethod @deprecation.method_being_removed( - "Code using this function should adapt `linux_utilities_modules.Modules.run_module_scanners`" + removal_date="2025-09-25", + message="Code using this function should adapt `linux_utilities_modules.Modules.run_module_scanners`" ) def mask_mods_list( cls, @@ -128,7 +129,8 @@ class Modules(interfaces.configuration.VersionableInterface): @classmethod @deprecation.method_being_removed( - "Use `module_lookup_by_address` to map address to their hosting kernel module and symbol." + removal_date="2025-09-25", + message="Use `module_lookup_by_address` to map address to their hosting kernel module and symbol." ) def lookup_module_address( cls, From 3eae04c1e8bb8c4a551251b272fa5366ca097174 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 9 Mar 2025 03:49:35 +0000 Subject: [PATCH 1554/2186] Add removal_date to deprecation API --- volatility3/framework/deprecation.py | 2 +- volatility3/framework/plugins/linux/lsmod.py | 2 +- volatility3/framework/plugins/linux/modxview.py | 4 ++-- volatility3/framework/symbols/linux/__init__.py | 4 ++-- volatility3/framework/symbols/linux/utilities/modules.py | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py index 728760671..e1a4d444e 100644 --- a/volatility3/framework/deprecation.py +++ b/volatility3/framework/deprecation.py @@ -33,7 +33,7 @@ def deprecated_method( replacement: Callable, removal_date: str, replacement_version: Tuple[int, int, int] = None, - additional_information: str = "" + additional_information: str = "", ): """A decorator for marking functions as deprecated. diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index 4f3275fa3..b4f881801 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -41,7 +41,7 @@ class Lsmod(plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.list_modules, replacement_version=(2, 0, 0), - removal_date="2025-09-25" + removal_date="2025-09-25", ) def list_modules( cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index 2928226b9..f6a6f7727 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -51,7 +51,7 @@ spot modules presence and taints.""" @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.flatten_run_modules_results, replacement_version=(2, 0, 0), - removal_date="2025-09-25" + removal_date="2025-09-25", ) def flatten_run_modules_results( cls, run_results: Dict[str, List[extensions.module]], deduplicate: bool = True @@ -74,7 +74,7 @@ spot modules presence and taints.""" @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.run_modules_scanners, replacement_version=(2, 0, 0), - removal_date="2025-09-25" + removal_date="2025-09-25", ) def run_modules_scanners( cls, diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 0931dcabf..758e142aa 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -370,7 +370,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): @classmethod @deprecation.method_being_removed( removal_date="2025-09-25", - message="Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`" + message="Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`", ) def mask_mods_list( cls, @@ -388,7 +388,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): @classmethod @deprecation.method_being_removed( removal_date="2025-09-25", - message="Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`" + message="Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`", ) def generate_kernel_handler_info( cls, diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index a4854e81b..560398f91 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -105,7 +105,7 @@ class Modules(interfaces.configuration.VersionableInterface): @classmethod @deprecation.method_being_removed( removal_date="2025-09-25", - message="Code using this function should adapt `linux_utilities_modules.Modules.run_module_scanners`" + message="Code using this function should adapt `linux_utilities_modules.Modules.run_module_scanners`", ) def mask_mods_list( cls, @@ -130,7 +130,7 @@ class Modules(interfaces.configuration.VersionableInterface): @classmethod @deprecation.method_being_removed( removal_date="2025-09-25", - message="Use `module_lookup_by_address` to map address to their hosting kernel module and symbol." + message="Use `module_lookup_by_address` to map address to their hosting kernel module and symbol.", ) def lookup_module_address( cls, From 7289f7dc70b77004bbf0c48d14ead436cfa925ff Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 10 Mar 2025 03:27:56 +0000 Subject: [PATCH 1555/2186] Ensure that new symbol tables are only created when needed. Avoid name collisions leading to inconsistent behaviour. Make API for symbol table acquisition sane. --- .../framework/plugins/windows/modscan.py | 2 +- .../framework/plugins/windows/netscan.py | 2 +- .../framework/plugins/windows/poolscanner.py | 76 ++++++++++--------- .../framework/plugins/windows/psscan.py | 2 +- .../framework/plugins/windows/symlinkscan.py | 2 +- .../plugins/windows/windowstations.py | 2 +- 6 files changed, 45 insertions(+), 41 deletions(-) diff --git a/volatility3/framework/plugins/windows/modscan.py b/volatility3/framework/plugins/windows/modscan.py index 7330b2cb4..667fadd11 100644 --- a/volatility3/framework/plugins/windows/modscan.py +++ b/volatility3/framework/plugins/windows/modscan.py @@ -32,7 +32,7 @@ class ModScan(modules.Modules): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="poolscanner", component=poolscanner.PoolScanner, version=(2, 0, 0) + name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), requirements.VersionRequirement( name="modules", component=modules.Modules, version=(3, 0, 0) diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index 0c8523cce..1ab748864 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -34,7 +34,7 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="poolscanner", component=poolscanner.PoolScanner, version=(2, 0, 0) + name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), requirements.VersionRequirement( name="info", component=info.Info, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 5e75d9bbb..7dd6821b8 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -129,7 +129,7 @@ class PoolScanner(plugins.PluginInterface): """A generic pool scanner plugin.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (3, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -423,6 +423,7 @@ class PoolScanner(plugins.PluginInterface): # scan in the main kernel layer for the object(s) for constraint, header in cls.pool_scan( context, + kernel_module_name, scan_layer, object_symbol_table_name, constraints, @@ -501,6 +502,7 @@ class PoolScanner(plugins.PluginInterface): def pool_scan( cls, context: interfaces.context.ContextInterface, + kernel_module_name: str, layer_name: str, symbol_table: str, pool_constraints: List[PoolConstraint], @@ -534,8 +536,16 @@ class PoolScanner(plugins.PluginInterface): ) constraint_lookup[constraint.tag] = constraint - pool_header_table_name = cls.get_pool_header_table(context, symbol_table) - module = context.module(pool_header_table_name, layer_name, offset=0) + kernel = context.modules[kernel_module_name] + + if kernel.has_type("_POOL_HEADER"): + pool_header_table_name = kernel.symbol_table_name + else: + pool_header_table_name = cls.get_pool_header_table(context, symbol_table) + + module = context.module( + pool_header_table_name, layer_name, offset=kernel.offset + ) # Run the scan locating the offsets of a particular tag layer = context.layers[layer_name] @@ -553,43 +563,37 @@ class PoolScanner(plugins.PluginInterface): context: The context that the symbol tables does (or will) reside in symbol_table: The expected symbol_table to contain the _POOL_HEADER type """ - # Setup the pool header and offset differential - try: - context.symbol_space.get_type( - symbol_table + constants.BANG + "_POOL_HEADER" - ) - table_name = symbol_table - except exceptions.SymbolError: - # We have to manually load a symbol table + # We have to manually load a symbol table - if symbols.symbol_table_is_64bit( - context=context, symbol_table_name=symbol_table - ): - is_win_7 = versions.is_windows_7(context, symbol_table) - if is_win_7: - pool_header_json_filename = "poolheader-x64-win7" - else: - pool_header_json_filename = "poolheader-x64" + if symbols.symbol_table_is_64bit( + context=context, symbol_table_name=symbol_table + ): + is_win_7 = versions.is_windows_7(context, symbol_table) + if is_win_7: + pool_header_json_filename = "poolheader-x64-win7" else: - pool_header_json_filename = "poolheader-x86" + pool_header_json_filename = "poolheader-x64" + else: + pool_header_json_filename = "poolheader-x86" - # set the class_type to match the normal WindowsKernelIntermedSymbols - is_vista_or_later = versions.is_vista_or_later(context, symbol_table) - if is_vista_or_later: - class_type = extensions.pool.POOL_HEADER_VISTA - else: - class_type = extensions.pool.POOL_HEADER + # set the class_type to match the normal WindowsKernelIntermedSymbols + is_vista_or_later = versions.is_vista_or_later(context, symbol_table) + if is_vista_or_later: + class_type = extensions.pool.POOL_HEADER_VISTA + else: + class_type = extensions.pool.POOL_HEADER + + table_name = intermed.IntermediateSymbolTable.create( + context=context, + config_path=configuration.path_join( + context.symbol_space[symbol_table].config_path, "poolheader" + ), + sub_path="windows", + filename=pool_header_json_filename, + table_mapping={"nt_symbols": symbol_table}, + class_types={"_POOL_HEADER": class_type}, + ) - table_name = intermed.IntermediateSymbolTable.create( - context=context, - config_path=configuration.path_join( - context.symbol_space[symbol_table].config_path, "poolheader" - ), - sub_path="windows", - filename=pool_header_json_filename, - table_mapping={"nt_symbols": symbol_table}, - class_types={"_POOL_HEADER": class_type}, - ) return table_name def run(self) -> renderers.TreeGrid: diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index 45f935ceb..99fa9640b 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -40,7 +40,7 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): name="info", component=info.Info, version=(2, 0, 0) ), requirements.VersionRequirement( - name="poolscanner", component=poolscanner.PoolScanner, version=(2, 0, 0) + name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/windows/symlinkscan.py b/volatility3/framework/plugins/windows/symlinkscan.py index 459129843..358ea130e 100644 --- a/volatility3/framework/plugins/windows/symlinkscan.py +++ b/volatility3/framework/plugins/windows/symlinkscan.py @@ -28,7 +28,7 @@ class SymlinkScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfa architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="poolscanner", component=poolscanner.PoolScanner, version=(2, 0, 0) + name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/windowstations.py b/volatility3/framework/plugins/windows/windowstations.py index 9d666e3dd..0ca92eb97 100644 --- a/volatility3/framework/plugins/windows/windowstations.py +++ b/volatility3/framework/plugins/windows/windowstations.py @@ -47,7 +47,7 @@ class WindowStations(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="poolscanner", component=poolscanner.PoolScanner, version=(2, 0, 0) + name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), requirements.VersionRequirement( name="modules", component=modules.Modules, version=(3, 0, 0) From b8c0b1eaa87d08b35aa42c1daa106668aa973a3c Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 10 Mar 2025 03:39:57 +0000 Subject: [PATCH 1556/2186] Add missing files --- volatility3/framework/plugins/windows/callbacks.py | 2 +- volatility3/framework/plugins/windows/driverscan.py | 2 +- volatility3/framework/plugins/windows/filescan.py | 2 +- volatility3/framework/plugins/windows/mutantscan.py | 2 +- volatility3/framework/plugins/windows/registry/hivescan.py | 2 +- volatility3/framework/plugins/windows/thrdscan.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index 24f25c38d..bb326fd41 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -42,7 +42,7 @@ class Callbacks(interfaces.plugins.PluginInterface): name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) ), requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(2, 0, 0) + name="poolscanner", plugin=poolscanner.PoolScanner, version=(3, 0, 0) ), requirements.PluginRequirement( name="driverirp", plugin=driverirp.DriverIrp, version=(1, 0, 0) diff --git a/volatility3/framework/plugins/windows/driverscan.py b/volatility3/framework/plugins/windows/driverscan.py index 86db8d72b..57edfe0b6 100644 --- a/volatility3/framework/plugins/windows/driverscan.py +++ b/volatility3/framework/plugins/windows/driverscan.py @@ -25,7 +25,7 @@ class DriverScan(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(2, 0, 0) + name="poolscanner", plugin=poolscanner.PoolScanner, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/filescan.py b/volatility3/framework/plugins/windows/filescan.py index abec2a92e..e0c823756 100644 --- a/volatility3/framework/plugins/windows/filescan.py +++ b/volatility3/framework/plugins/windows/filescan.py @@ -25,7 +25,7 @@ class FileScan(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(2, 0, 0) + name="poolscanner", plugin=poolscanner.PoolScanner, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/mutantscan.py b/volatility3/framework/plugins/windows/mutantscan.py index ca6e26157..38685677a 100644 --- a/volatility3/framework/plugins/windows/mutantscan.py +++ b/volatility3/framework/plugins/windows/mutantscan.py @@ -25,7 +25,7 @@ class MutantScan(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(2, 0, 0) + name="poolscanner", plugin=poolscanner.PoolScanner, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/registry/hivescan.py b/volatility3/framework/plugins/windows/registry/hivescan.py index a28ab19de..10843f8ab 100644 --- a/volatility3/framework/plugins/windows/registry/hivescan.py +++ b/volatility3/framework/plugins/windows/registry/hivescan.py @@ -26,7 +26,7 @@ class HiveScan(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(2, 0, 0) + name="poolscanner", plugin=poolscanner.PoolScanner, version=(3, 0, 0) ), requirements.PluginRequirement( name="bigpools", plugin=bigpools.BigPools, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index b43593401..369db1fd8 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -34,7 +34,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(2, 0, 0) + name="poolscanner", plugin=poolscanner.PoolScanner, version=(3, 0, 0) ), ] From 66df9f206661fdcbffdc9cbb401b1772c14a9d7f Mon Sep 17 00:00:00 2001 From: D Date: Mon, 10 Mar 2025 15:57:29 +0900 Subject: [PATCH 1557/2186] Modern shell / Python3 Fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b74bdab0b..4f5a0a37e 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ The latest stable version of Volatility will always be the `stable` branch of th git clone https://github.com/volatilityfoundation/volatility3.git cd volatility3/ python3 -m venv venv && . venv/bin/activate -pip install -e .[dev] +pip install -e ".[dev]" ``` ## Quick Start From 9e4fdbf8efad109e0993a019952617ad9cb366c4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 10 Mar 2025 16:21:56 +0000 Subject: [PATCH 1558/2186] Address feedback --- volatility3/framework/deprecation.py | 9 ++++++++ .../symbols/linux/utilities/modules.py | 23 +++++++++++-------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py index e1a4d444e..e2e91a0eb 100644 --- a/volatility3/framework/deprecation.py +++ b/volatility3/framework/deprecation.py @@ -15,6 +15,14 @@ from volatility3.framework.configuration import requirements def method_being_removed(message: str, removal_date: str): + """A decorator for marking functions as being removed in the future and without a replacement. + Callers to this function should explicitly list the API paths that should be used instead. + + Args: + message: A message added to the standard deprecation warning. Should include the replacement API paths + removal_date: A YYYY-MM-DD formatted date of when the function will be removed from the framework + """ + def decorator(deprecated_func): @functools.wraps(deprecated_func) def wrapper(*args, **kwargs): @@ -39,6 +47,7 @@ def deprecated_method( Args: replacement: The replacement function overriding the deprecated API, in the form of a Callable (typically a method) + removal_date: A YYYY-MM-DD formatted date of when the function will be removed from the framework replacement_version: The "replacement" base class version that the deprecated method expects before proxying to it. This implies that "replacement" is a method from a class that inherits from VersionableInterface. additional_information: Information appended at the end of the deprecation message """ diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 560398f91..0eeb2b33c 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -46,7 +46,7 @@ class Modules(interfaces.configuration.VersionableInterface): Determine if a target address lies in a module memory space. Returns the module where the provided address lies. - `modules` must contain masked addresses via `get_module_info_for_module` or + `modules` must be non-empty and contain masked addresses via `get_module_info_for_module` or a ValueError will be thrown Args: @@ -65,20 +65,23 @@ class Modules(interfaces.configuration.VersionableInterface): kernel_layer = context.layers[kernel.layer_name] - if modules[0].start != modules[0].start & kernel_layer.address_mask: - raise ValueError( - "Modules list must be gathered from `run_modules_scanners` to be used in this function" - ) + if not modules: + raise ValueError("Empty list sent to `module_lookup_by_address`") matches = [] for module in modules: + if module.start != module.start & kernel_layer.address_mask: + raise ValueError( + "Modules list must be gathered from `run_modules_scanners` to be used in this function" + ) + if module.start <= target_address < module.end: matches.append(module) if len(matches) >= 1: if len(matches) > 1: warnings.warn( - f"Address {hex(target_address)} fits in modules at {[hex(module.start) for module in matches]}, indicating potential modules memory space overlap.", + f"Address {hex(target_address)} fits in modules at {[hex(module.start) for module in matches]}, indicating potential modules memory space overlap. The first matching entry {matches[0].name} will be used", UserWarning, ) @@ -199,13 +202,13 @@ class Modules(interfaces.configuration.VersionableInterface): """ kernel = context.modules[kernel_module_name] - mask = context.layers[kernel.layer_name].address_mask + address_mask = context.layers[kernel.layer_name].address_mask start_addr = kernel.object_from_symbol("_text") - start_addr = start_addr.vol.offset & mask + start_addr = start_addr.vol.offset & address_mask end_addr = kernel.object_from_symbol("_etext") - end_addr = end_addr.vol.offset & mask + end_addr = end_addr.vol.offset & address_mask return Modules.ModuleInfo( start_addr, constants.linux.KERNEL_NAME, start_addr, end_addr @@ -471,7 +474,7 @@ class Modules(interfaces.configuration.VersionableInterface): modules = vmlinux.object_from_symbol(symbol_name="modules").cast("list_head") - table_name = modules.vol.type_name.split(constants.BANG)[0] + table_name = vmlinux.symbol_table_name yield from modules.to_list(table_name + constants.BANG + "module", "list") From a4bbdfddedd95136f836d49256fc7a81cb7d194c Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 9 Mar 2025 22:11:32 +0000 Subject: [PATCH 1559/2186] Make exception throwing consistent in the PDB gathering API. Avoid returning an empty symbol_table name when the PDB cannot be downloaded. --- volatility3/framework/plugins/windows/netstat.py | 4 ---- volatility3/framework/symbols/windows/pdbutil.py | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/netstat.py b/volatility3/framework/plugins/windows/netstat.py index aaab4494c..655ef710a 100644 --- a/volatility3/framework/plugins/windows/netstat.py +++ b/volatility3/framework/plugins/windows/netstat.py @@ -649,10 +649,6 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): vollog.error("Unable to locate symbols for the memory image's tcpip module") return - if not tcpip_symbol_table: - vollog.error("Unable to reconstruct symbol table for tcpip.sys") - return - for netw_obj in self.list_sockets( self.context, kernel.layer_name, diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index b5e8ca70a..c2084ea25 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -409,6 +409,10 @@ class PDBUtility(interfaces.configuration.VersionableInterface): _, symbol_table_name = cls._modtable_from_pdb( context, config_path, layer_name, pdb_name, module_offset, module_size ) + + if symbol_table_name is None: + raise exceptions.VolatilityException(f"Symbol table could not be reconstructed for module {pdb_name}") + return symbol_table_name @classmethod From 2a99a5378405992d1683841015d34eeff122b899 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 9 Mar 2025 22:17:39 +0000 Subject: [PATCH 1560/2186] Make exception throwing consistent in the PDB gathering API. Avoid returning an empty symbol_table name when the PDB cannot be downloaded. --- volatility3/framework/symbols/windows/pdbutil.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index c2084ea25..ea96b0bf8 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -411,7 +411,9 @@ class PDBUtility(interfaces.configuration.VersionableInterface): ) if symbol_table_name is None: - raise exceptions.VolatilityException(f"Symbol table could not be reconstructed for module {pdb_name}") + raise exceptions.VolatilityException( + f"Symbol table could not be reconstructed for module {pdb_name}" + ) return symbol_table_name From 897069c6d05cae414c3d42c72a4deeff3c77563f Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 10 Mar 2025 16:27:49 +0000 Subject: [PATCH 1561/2186] Throw more specific exception --- volatility3/framework/symbols/windows/pdbutil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index ea96b0bf8..3c23eddb8 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -411,7 +411,7 @@ class PDBUtility(interfaces.configuration.VersionableInterface): ) if symbol_table_name is None: - raise exceptions.VolatilityException( + raise exceptions.SymbolSpaceError( f"Symbol table could not be reconstructed for module {pdb_name}" ) @@ -445,7 +445,7 @@ class PDBUtility(interfaces.configuration.VersionableInterface): ) if not guids: - raise exceptions.VolatilityException( + raise exceptions.SymbolSpaceError( f"Did not find GUID of {pdb_name} in module @ 0x{module_offset:x}!" ) From dad88965e9ac2c5e1b9d42f330dbe2b492ed6221 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 1 Mar 2025 14:22:15 -0600 Subject: [PATCH 1562/2186] Fix broken code and APIs in Linux networking paths --- volatility3/framework/plugins/linux/ip.py | 8 ++-- .../symbols/linux/extensions/network.py | 47 ++++++++++++++++--- 2 files changed, 45 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/linux/ip.py b/volatility3/framework/plugins/linux/ip.py index 8b42ccdbf..76f7253fe 100644 --- a/volatility3/framework/plugins/linux/ip.py +++ b/volatility3/framework/plugins/linux/ip.py @@ -15,7 +15,7 @@ class Addr(plugins.PluginInterface): _required_framework_version = (2, 22, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -47,7 +47,7 @@ class Addr(plugins.PluginInterface): prefix_len = in_ifaddr.get_prefix_len() scope_type = in_ifaddr.get_scope_type() ip_addr = in_ifaddr.get_address() - yield net_ns_id, iface_ifindex, iface_name, mac_addr, promisc, ip_addr, prefix_len, scope_type, operational_state + yield net_ns_id or renderers.NotAvailableValue(), iface_ifindex, iface_name, mac_addr, promisc, ip_addr, prefix_len, scope_type, operational_state # Interface IPv6 Addresses inet6_dev = net_dev.ip6_ptr.dereference().cast("inet6_dev") @@ -55,7 +55,7 @@ class Addr(plugins.PluginInterface): prefix_len = inet6_ifaddr.get_prefix_len() scope_type = inet6_ifaddr.get_scope_type() ip6_addr = inet6_ifaddr.get_address() - yield net_ns_id, iface_ifindex, iface_name, mac_addr, promisc, ip6_addr, prefix_len, scope_type, operational_state + yield net_ns_id or renderers.NotAvailableValue(), iface_ifindex, iface_name, mac_addr, promisc, ip6_addr, prefix_len, scope_type, operational_state def _generator(self): vmlinux = self.context.modules[self.config["kernel"]] @@ -127,7 +127,7 @@ class Link(plugins.PluginInterface): ] flags_str = ",".join(flags_list) - yield net_ns_id, iface_name, mac_addr, operational_state, mtu, qdisc_name, qlen, flags_str + yield net_ns_id or renderers.NotAvailableValue(), iface_name, mac_addr, operational_state, mtu, qdisc_name or renderers.NotAvailableValue(), qlen, flags_str def _generator(self): vmlinux = self.context.modules[self.config["kernel"]] diff --git a/volatility3/framework/symbols/linux/extensions/network.py b/volatility3/framework/symbols/linux/extensions/network.py index ed739894d..30094d1b1 100644 --- a/volatility3/framework/symbols/linux/extensions/network.py +++ b/volatility3/framework/symbols/linux/extensions/network.py @@ -199,7 +199,7 @@ class net_device(objects.StructType): """ return self.flags & self._get_net_device_flag_value("IFF_PROMISC") != 0 - def get_net_namespace_id(self) -> int: + def _do_get_net_namespace_id(self) -> int: """Return the network namespace id for this network interface. Returns: @@ -216,6 +216,20 @@ class net_device(objects.StructType): return net_ns_id + def get_net_namespace_id(self) -> Optional[int]: + """Return the network namespace id for this network interface. + + Returns: + int: the network namespace id for this network interface + """ + try: + return self._do_get_net_namespace_id() + except exceptions.InvalidAddressException: + vollog.debug( + f"Encountered an invalid address exception when getting the namespace for {self.vol.offset:#x}" + ) + return None + def get_operational_state(self) -> Union[str, interfaces.renderers.BaseAbsentValue]: """Return the netwok device oprational state (RFC 2863) string @@ -228,13 +242,17 @@ class net_device(objects.StructType): vollog.warning(f"Invalid net_device operational state '{self.operstate}'") return renderers.UnparsableValue() - def get_qdisc_name(self) -> str: + def get_qdisc_name(self) -> Optional[str]: """Return the network device queuing discipline (qdisc) name Returns: str: A string with the queuing discipline (qdisc) name """ - return utility.array_to_string(self.qdisc.ops.id) + try: + return utility.array_to_string(self.qdisc.ops.id) + except exceptions.InvalidAddressException: + vollog.debug(f"Unable to get qdisc name for {self.vol.offset:#x}") + return None def get_queue_length(self) -> int: """Return the netwrok device transmision qeueue length (qlen) @@ -247,17 +265,34 @@ class net_device(objects.StructType): class in_device(objects.StructType): def get_addresses( - self, + self, max_devices=128 ) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Yield the IPv4 ifaddr addresses Yields: in_ifaddr: An IPv4 ifaddr address """ - cur = self.ifa_list + seen = set() + + try: + cur = self.ifa_list + except exceptions.InvalidAddressException: + return + while cur and cur.vol.offset: + if len(seen) > max_devices: + break + + if cur.vol.offset in seen: + break + seen.add(cur.vol.offset) + yield cur - cur = cur.ifa_next + + try: + cur = cur.ifa_next + except exceptions.InvalidAddressException: + break class inet6_dev(objects.StructType): From f7f8cf24cd21d9376e60ac9f27830a6d7b972442 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 10 Mar 2025 16:36:53 +0000 Subject: [PATCH 1563/2186] Address feedback --- volatility3/framework/plugins/linux/ip.py | 37 ++++++++++++++++++----- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/ip.py b/volatility3/framework/plugins/linux/ip.py index 76f7253fe..348f3c13f 100644 --- a/volatility3/framework/plugins/linux/ip.py +++ b/volatility3/framework/plugins/linux/ip.py @@ -39,7 +39,7 @@ class Addr(plugins.PluginInterface): try: net_ns_id = net_dev.get_net_namespace_id() except AttributeError: - net_ns_id = renderers.NotAvailableValue() + net_ns_id = None # Interface IPv4 Addresses in_device = net_dev.ip_ptr.dereference().cast("in_device") @@ -47,7 +47,7 @@ class Addr(plugins.PluginInterface): prefix_len = in_ifaddr.get_prefix_len() scope_type = in_ifaddr.get_scope_type() ip_addr = in_ifaddr.get_address() - yield net_ns_id or renderers.NotAvailableValue(), iface_ifindex, iface_name, mac_addr, promisc, ip_addr, prefix_len, scope_type, operational_state + yield net_ns_id, iface_ifindex, iface_name, mac_addr, promisc, ip_addr, prefix_len, scope_type, operational_state # Interface IPv6 Addresses inet6_dev = net_dev.ip6_ptr.dereference().cast("inet6_dev") @@ -55,9 +55,9 @@ class Addr(plugins.PluginInterface): prefix_len = inet6_ifaddr.get_prefix_len() scope_type = inet6_ifaddr.get_scope_type() ip6_addr = inet6_ifaddr.get_address() - yield net_ns_id or renderers.NotAvailableValue(), iface_ifindex, iface_name, mac_addr, promisc, ip6_addr, prefix_len, scope_type, operational_state + yield net_ns_id, iface_ifindex, iface_name, mac_addr, promisc, ip6_addr, prefix_len, scope_type, operational_state - def _generator(self): + def _enumerate_net_namespace_list(self): vmlinux = self.context.modules[self.config["kernel"]] net_type_symname = vmlinux.symbol_table_name + constants.BANG + "net" @@ -67,9 +67,32 @@ class Addr(plugins.PluginInterface): # 'net_namespace_list' exists from kernels >= 2.6.24 net_namespace_list = vmlinux.object_from_symbol("net_namespace_list") for net_ns in net_namespace_list.to_list(net_type_symname, "list"): - for net_dev in net_ns.dev_base_head.to_list(net_device_symname, "dev_list"): - for fields in self._gather_net_dev_info(net_dev): - yield 0, fields + yield from net_ns.dev_base_head.to_list(net_device_symname, "dev_list") + + def _generator(self): + for net_dev in self._enumerate_net_namespace_list(): + for ( + net_ns_id, + iface_ifindex, + iface_name, + mac_addr, + promisc, + ip6_addr, + prefix_len, + scope_type, + operational_state, + ) in self._gather_net_dev_info(net_dev): + yield 0, ( + net_ns_id or renderers.NotAvailableValue(), + iface_ifindex, + iface_name, + mac_addr, + promisc, + ip6_addr, + prefix_len, + scope_type, + operational_state, + ) def run(self): headers = [ From 2d4e0f66d87cdce6a3d75db6df8b566c83409669 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 01:09:52 +0000 Subject: [PATCH 1564/2186] Update fbdev plugin to gracefully handle old/broken symbol tables --- .../framework/plugins/linux/graphics/fbdev.py | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/graphics/fbdev.py b/volatility3/framework/plugins/linux/graphics/fbdev.py index 7b644eccf..d436bbcb9 100644 --- a/volatility3/framework/plugins/linux/graphics/fbdev.py +++ b/volatility3/framework/plugins/linux/graphics/fbdev.py @@ -255,22 +255,28 @@ You can try using ffmpeg to decode the raw buffer. Example usage: vollog.error( "PIL (pillow) module is required to use this plugin. Please install it manually or through pyproject.toml." ) - return None + return kernel_name = self.config["kernel"] kernel = self.context.modules[kernel_name] if not kernel.has_symbol("num_registered_fb"): - raise exceptions.SymbolError( - "num_registered_fb", - kernel.symbol_table_name, - "The provided symbol does not exist in the symbol table. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt.", + vollog.error( + '"num_registered_fb" symbol does not exist in the symbol table. This means you are either analyzing an unsupported kernel version, your symbol table is corrupt, or the fbdev driver is compiled as a kernel module..' ) + return + + try: + num_registered_fb = kernel.object_from_symbol("num_registered_fb") + except exceptions.SymbolError: + vollog.error( + 'Creating an object from "num_registered_fb" caused a symbol error. This is a sign that the symbol table is outdated. Please re-generate your symbol table using the latest dwarf2json' + ) + return - num_registered_fb = kernel.object_from_symbol("num_registered_fb") if num_registered_fb < 1: vollog.info("No registered framebuffer in the fbdev API.") - return None + return registered_fb = kernel.object_from_symbol("registered_fb") fb_info_list = utility.array_of_pointers( From 6c96ffacddc0bc3ad461b1fd1042e572ec5d344a Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 8 Mar 2025 01:13:03 +0000 Subject: [PATCH 1565/2186] Update fbdev plugin to gracefully handle old/broken symbol tables --- volatility3/framework/plugins/linux/graphics/fbdev.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/graphics/fbdev.py b/volatility3/framework/plugins/linux/graphics/fbdev.py index d436bbcb9..f7cde1bf0 100644 --- a/volatility3/framework/plugins/linux/graphics/fbdev.py +++ b/volatility3/framework/plugins/linux/graphics/fbdev.py @@ -262,7 +262,7 @@ You can try using ffmpeg to decode the raw buffer. Example usage: if not kernel.has_symbol("num_registered_fb"): vollog.error( - '"num_registered_fb" symbol does not exist in the symbol table. This means you are either analyzing an unsupported kernel version, your symbol table is corrupt, or the fbdev driver is compiled as a kernel module..' + '"num_registered_fb" symbol does not exist in the symbol table. This means you are either analyzing an unsupported kernel version, your symbol table is corrupt, or the fbdev driver is compiled as a kernel module.' ) return From 8b302ff7fc568177d97e865a2031ac35ad10dab6 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 10 Mar 2025 13:39:00 -0500 Subject: [PATCH 1566/2186] #1476 - additional exception handling for registry plugins --- .../framework/plugins/windows/envars.py | 15 +- .../plugins/windows/getservicesids.py | 17 +- .../framework/plugins/windows/getsids.py | 11 +- .../framework/plugins/windows/hashdump.py | 30 +- .../framework/plugins/windows/lsadump.py | 23 +- .../framework/plugins/windows/prefetch.py | 478 ++++++++++++++++++ .../plugins/windows/registry/printkey.py | 16 +- .../plugins/windows/registry/userassist.py | 14 +- .../plugins/windows/scheduled_tasks.py | 30 +- .../symbols/windows/extensions/registry.py | 16 +- 10 files changed, 604 insertions(+), 46 deletions(-) create mode 100644 volatility3/framework/plugins/windows/prefetch.py diff --git a/volatility3/framework/plugins/windows/envars.py b/volatility3/framework/plugins/windows/envars.py index 61414778d..f1cca9b94 100644 --- a/volatility3/framework/plugins/windows/envars.py +++ b/volatility3/framework/plugins/windows/envars.py @@ -73,13 +73,13 @@ class Envars(interfaces.plugins.PluginInterface): sys = hive.get_key( "CurrentControlSet\\Control\\Session Manager\\Environment" ) - except (KeyError, registry.RegistryFormatException): - with contextlib.suppress(KeyError, registry.RegistryFormatException): + except (KeyError, registry.RegistryFormatException, registry.RegistryInvalidIndex): + with contextlib.suppress(KeyError, registry.RegistryFormatException, registry.RegistryInvalidIndex): sys = hive.get_key( "ControlSet001\\Control\\Session Manager\\Environment" ) if sys: - with contextlib.suppress(KeyError, registry.RegistryFormatException): + with contextlib.suppress(KeyError, registry.RegistryFormatException, registry.RegistryInvalidIndex): for node in sys.get_values(): try: value_node_name = node.get_name() @@ -88,6 +88,7 @@ class Envars(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, registry.RegistryFormatException, + registry.RegistryInvalidIndex ): vollog.log( constants.LOGLEVEL_VVV, @@ -97,10 +98,10 @@ class Envars(interfaces.plugins.PluginInterface): ntuser = None ## The user-specific variables - with contextlib.suppress(KeyError, registry.RegistryFormatException): + with contextlib.suppress(KeyError, registry.RegistryFormatException, registry.RegistryInvalidIndex): ntuser = hive.get_key("Environment") if ntuser: - with contextlib.suppress(KeyError, registry.RegistryFormatException): + with contextlib.suppress(KeyError, registry.RegistryFormatException, registry.RegistryInvalidIndex): for node in ntuser.get_values(): try: value_node_name = node.get_name() @@ -109,6 +110,7 @@ class Envars(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, registry.RegistryFormatException, + registry.RegistryInvalidIndex, ): vollog.log( constants.LOGLEVEL_VVV, @@ -119,7 +121,7 @@ class Envars(interfaces.plugins.PluginInterface): ## The volatile user variables try: key = hive.get_key("Volatile Environment") - except (KeyError, registry.RegistryFormatException): + except (KeyError, registry.RegistryFormatException, registry.RegistryInvalidIndex): continue try: for node in key.get_values(): @@ -130,6 +132,7 @@ class Envars(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, registry.RegistryFormatException, + registry.RegistryInvalidIndex, ): vollog.log( constants.LOGLEVEL_VVV, diff --git a/volatility3/framework/plugins/windows/getservicesids.py b/volatility3/framework/plugins/windows/getservicesids.py index 207d0e2ad..4dbdf5106 100644 --- a/volatility3/framework/plugins/windows/getservicesids.py +++ b/volatility3/framework/plugins/windows/getservicesids.py @@ -91,6 +91,7 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface): KeyError, exceptions.InvalidAddressException, registry.RegistryFormatException, + registry.RegistryInvalidIndex, ): try: services = hive.get_key(r"ControlSet001\Services") @@ -98,14 +99,24 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface): KeyError, exceptions.InvalidAddressException, registry.RegistryFormatException, + registry.RegistryInvalidIndex, ): continue if services: for s in services.get_subkeys(): - if s.get_name() not in self.servicesids.values(): - sid = createservicesid(s.get_name()) - yield (0, (sid, s.get_name())) + try: + sid_name = s.get_name() + except ( + exceptions.InvalidAddressException, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ): + continue + + if sid_name not in self.servicesids.values(): + sid = createservicesid(sid_name) + yield (0, (sid, sid_name)) def run(self): return renderers.TreeGrid([("SID", str), ("Service", str)], self._generator()) diff --git a/volatility3/framework/plugins/windows/getsids.py b/volatility3/framework/plugins/windows/getsids.py index a75bbe7ea..0c8374455 100644 --- a/volatility3/framework/plugins/windows/getsids.py +++ b/volatility3/framework/plugins/windows/getsids.py @@ -114,7 +114,15 @@ class GetSIDs(interfaces.plugins.PluginInterface): ): try: for subkey in hive.get_key(key).get_subkeys(): - sid = str(subkey.get_name()) + try: + sid = str(subkey.get_name()) + except ( + exceptions.InvalidAddressException, + layers.registry.RegistryFormatException, + layers.registry.RegistryInvalidIndex, + ): + continue + path = "" for node in subkey.get_values(): try: @@ -122,6 +130,7 @@ class GetSIDs(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, layers.registry.RegistryFormatException, + layers.registry.RegistryInvalidIndex, ): continue try: diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index 1fea3d49d..9f481781d 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -9,8 +9,9 @@ from typing import List, Optional, Tuple from Crypto.Cipher import AES, ARC4, DES -from volatility3.framework import interfaces, renderers +from volatility3.framework import interfaces, renderers, constants from volatility3.framework.configuration import requirements +from volatility3.framework.exceptions import InvalidAddressException from volatility3.framework.symbols.windows.extensions import registry from volatility3.plugins.windows.registry import hivelist @@ -356,21 +357,27 @@ class Hashdump(interfaces.plugins.PluginInterface): lsa_keys = ["JD", "Skew1", "GBG", "Data"] lsa = cls.get_hive_key(syshive, lsa_base) - if not lsa: return None bootkey = "" for lk in lsa_keys: - key = cls.get_hive_key(syshive, lsa_base + "\\" + lk) - class_data = None - if key: - class_data = syshive.read(key.Class + 4, key.ClassLength) + try: + key = cls.get_hive_key(syshive, lsa_base + "\\" + lk) + class_data = None + if key: + class_data = syshive.read(key.Class + 4, key.ClassLength) - if class_data is None: + if class_data is None: + return None + bootkey += class_data.decode("utf-16-le") + except (InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex) as excp: + vollog.log( + constants.LOGLEVEL_VVV, + f"Unable to read Lsa key {lk}: {excp}" + ) return None - bootkey += class_data.decode("utf-16-le") bootkey_str = binascii.unhexlify(bootkey) bootkey_scrambled = bytes( @@ -443,8 +450,11 @@ class Hashdump(interfaces.plugins.PluginInterface): return None sam_data = None for v in user.get_values(): - if v.get_name() == "V": - sam_data = samhive.read(v.Data + 4, v.DataLength) + try: + if v.get_name() == "V": + sam_data = samhive.read(v.Data + 4, v.DataLength) + except (InvalidAddressException, registry.RegistryInvalidIndex): + continue if not sam_data: return None diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 50f4da30d..511ec0126 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -10,6 +10,8 @@ from Crypto.Cipher import ARC4, DES, AES from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements +from volatility3.framework.exceptions import InvalidAddressException +from volatility3.framework.interfaces.layers import IteratorValue from volatility3.framework.layers import registry from volatility3.framework.symbols.windows import versions from volatility3.plugins.windows import hashdump @@ -119,7 +121,11 @@ class Lsadump(interfaces.plugins.PluginInterface): secret = None if enc_secret_key: - enc_secret_value = next(enc_secret_key.get_values()) + try: + enc_secret_value = next(enc_secret_key.get_values()) + except (InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex): + enc_secret_value = None + if enc_secret_value: enc_secret = sechive.read( enc_secret_value.Data + 4, enc_secret_value.DataLength @@ -168,11 +174,11 @@ class Lsadump(interfaces.plugins.PluginInterface): ) bootkey = hashdump.Hashdump.get_bootkey(syshive) - lsakey = self.get_lsa_key(sechive, bootkey, vista_or_later) if not bootkey: vollog.warning("Unable to find bootkey") return None + lsakey = self.get_lsa_key(sechive, bootkey, vista_or_later) if not lsakey: vollog.warning("Unable to find lsa key") return None @@ -190,7 +196,11 @@ class Lsadump(interfaces.plugins.PluginInterface): if not sec_val_key: continue - enc_secret_value = next(sec_val_key.get_values()) + try: + enc_secret_value = next(sec_val_key.get_values()) + except (StopIteration, InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex): + enc_secret_value = None + if not enc_secret_value: continue @@ -204,7 +214,12 @@ class Lsadump(interfaces.plugins.PluginInterface): else: secret = self.decrypt_aes(enc_secret, lsakey) - yield (0, (key.get_name(), secret.decode("latin1"), secret)) + try: + key_name = key.get_name() + except (InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex): + key_name = renderers.UnreadableValue() + + yield (0, (key_name, secret.decode("latin1"), secret)) def run(self): offset = self.config.get("offset", None) diff --git a/volatility3/framework/plugins/windows/prefetch.py b/volatility3/framework/plugins/windows/prefetch.py new file mode 100644 index 000000000..3997bc012 --- /dev/null +++ b/volatility3/framework/plugins/windows/prefetch.py @@ -0,0 +1,478 @@ +# References : +# https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-XCA/%5bMS-XCA%5d.pdf +# https://github.com/libyal/libscca/blob/main/documentation/Windows%20Prefetch%20File%20(PF)%20format.asciidoc +# https://github.com/volatilityfoundation/volatility3/ +# https://github.com/EricZimmerman/Prefetch/tree/master/Prefetch +import logging, pathlib, datetime, io, struct +from volatility3.framework import renderers, interfaces, exceptions, constants +from volatility3.framework.configuration import requirements +from volatility3.plugins.windows import filescan +from volatility3.framework.renderers import format_hints, conversion + +vollog = logging.getLogger(__name__) +from typing import Tuple, List, Union + + +class BitStream: + def __init__(self, source: bytes, in_pos: int): + self.source = source + self.index = in_pos + 4 + # read UInt16 little endian + mask = struct.unpack_from(' int: + if n == 0: + return 0 + return self.mask >> (32 - n) + + def skip(self, n: int) -> Union[None, Exception]: + self.mask = ((self.mask << n) & 0xFFFFFFFF) + self.bits -= n + if self.bits < 16: + if self.index + 2 > len(self.source): + return Exception("EOF Error") + # read UInt16 little endian + self.mask += ((struct.unpack_from(' int: + node = treeNodes[0] + i = leafIndex + 1 + childIndex = None + + while bits > 1: + bits -= 1 + childIndex = (mask >> bits) & 1 + if node.child[childIndex] == None: + node.child[childIndex] = treeNodes[i] + treeNodes[i].leaf = False + i += 1 + node = node.child[childIndex] + + node.child[mask & 1] = treeNodes[leafIndex] + + return i + + +def prefix_code_tree_rebuild(input: bytes) -> PREFIX_CODE_NODE: + treeNodes = [PREFIX_CODE_NODE() for _ in range(1024)] + symbolInfo = [PREFIX_CODE_SYMBOL() for _ in range(512)] + + for i in range(256): + value = input[i] + + symbolInfo[2 * i].id = 2 * i + symbolInfo[2 * i].symbol = 2 * i + symbolInfo[2 * i].length = value & 0xf + + value >>= 4 + + symbolInfo[2 * i + 1].id = 2 * i + 1 + symbolInfo[2 * i + 1].symbol = 2 * i + 1 + symbolInfo[2 * i + 1].length = value & 0xf + + symbolInfo = sorted(symbolInfo, key=lambda x: (x.length, x.symbol)) + + i = 0 + while i < 512 and symbolInfo[i].length == 0: + i += 1 + + mask = 0 + bits = 1 + + root = treeNodes[0] + root.leaf = False + + j = 1 + while i < 512: + treeNodes[j].id = j + treeNodes[j].symbol = symbolInfo[i].symbol + treeNodes[j].leaf = True + mask = mask << (symbolInfo[i].length - bits) + bits = symbolInfo[i].length + j = prefix_code_tree_add_leaf(treeNodes, j, mask, bits) + mask += 1 + i += 1 + + return root + + +def prefix_code_tree_decode_symbol(bstr: BitStream, root: PREFIX_CODE_NODE) -> Tuple[int, Union[None, Exception]]: + node = root + i = 0 + while True: + bit = bstr.lookup(1) + err = bstr.skip(1) + if err is not None: + return 0, err + + node = node.child[bit] + if node == None: + return 0, Exception("Corruption detected") + + if node.leaf: + break + return node.symbol, None + + +def lz77_huffman_decompress_chunck(in_idx: int, + input: bytes, + out_idx: int, + output: bytearray, + chunk_size: int) -> Tuple[int, int, Union[None, Exception]]: + # Ensure there are at least 256 bytes available to read + if in_idx + 256 > len(input): + return 0, 0, Exception("EOF Error") + + root = prefix_code_tree_rebuild(input[in_idx:]) + # print_tree(root) + bstr = BitStream(input, in_idx + 256) + + i = out_idx + + while i < out_idx + chunk_size: + symbol, err = prefix_code_tree_decode_symbol(bstr, root) + + if err is not None: + return int(bstr.index), i, err + + if symbol < 256: + output[i] = symbol + i += 1 + else: + symbol -= 256 + length = symbol & 15 + symbol >>= 4 + + offset = 0 + if symbol != 0: + offset = int(bstr.lookup(symbol)) + + offset |= 1 << symbol + offset = -offset + + if length == 15: + length = bstr.source[bstr.index] + 15 + bstr.index += 1 + + if length == 270: + length = struct.unpack_from(' 0: + if i + offset < 0: + print(i + offset) + return int(bstr.index), i, Exception("Decompression Error") + + output[i] = output[i + offset] + i += 1 + length -= 1 + if length == 0: + break + return int(bstr.index), i, None + + +def lz77_huffman_decompress(input: bytes, output_size: int) -> Tuple[bytes, Union[None, Exception]]: + output = bytearray(output_size) + err = None + + # Index into the input buffer. + in_idx = 0 + + # Index into the output buffer. + out_idx = 0 + + while True: + # How much data belongs in the current chunk. Chunks + # are split into maximum 65536 bytes. + chunk_size = output_size - out_idx + if chunk_size > 65536: + chunk_size = 65536 + + in_idx, out_idx, err = lz77_huffman_decompress_chunck( + in_idx, input, out_idx, output, chunk_size) + if err is not None: + return output, err + if out_idx >= len(output) or in_idx >= len(input): + break + return output, None + + +class Prefetch(interfaces.plugins.PluginInterface): + """Get and parse the prefetch files""" + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls): + return [requirements.ModuleRequirement(name='kernel', description='Windows kernel', + architectures=["Intel32", "Intel64"]), + requirements.PluginRequirement(name='filescan', plugin=filescan.FileScan, version=(0, 0, 0)), ] + + @classmethod + def version_17(cls, prefetch_file): + """Extract pf information for Version 17""" + stream = io.BytesIO(prefetch_file) + + stream.seek(0x000C) + file_size = int.from_bytes(stream.read(4), "little") + + stream.seek(0x0010) + executable_raw = stream.read(60).decode('utf-16') + executable_name = executable_raw.split('\u0000')[0] + + stream.seek(0x004C) + prefetch_hash = int.from_bytes(stream.read(4), "little") + + stream.seek(0x0078) + last_execution_filetime = int.from_bytes(stream.read(8), "little") + last_execution_filetime_human = conversion.wintime_to_datetime(last_execution_filetime) + + stream.seek(0x0090) + execution_counter = int.from_bytes(stream.read(4), "little") + + yield ( + executable_name, + file_size, + format_hints.Hex(prefetch_hash), + last_execution_filetime_human, + execution_counter + ) + + @classmethod + def version_23(cls, prefetch_file): + """Extract pf information for Version 23""" + stream = io.BytesIO(prefetch_file) + + stream.seek(0x000C) + file_size = int.from_bytes(stream.read(4), "little") + + stream.seek(0x0010) + executable_raw = stream.read(60).decode('utf-16') + executable_name = executable_raw.split('\u0000')[0] + + stream.seek(0x004C) + prefetch_hash = int.from_bytes(stream.read(4), "little") + + stream.seek(0x0080) + last_execution_filetime = int.from_bytes(stream.read(8), "little") + last_execution_filetime_human = conversion.wintime_to_datetime(last_execution_filetime) + + stream.seek(0x0098) + execution_counter = int.from_bytes(stream.read(4), "little") + + yield ( + executable_name, + file_size, + format_hints.Hex(prefetch_hash), + last_execution_filetime_human, + execution_counter + ) + + @classmethod + def version_26(cls, prefetch_file): + """Extract pf information for Version 26""" + stream = io.BytesIO(prefetch_file) + + stream.seek(0x000C) + file_size = int.from_bytes(stream.read(4), "little") + + stream.seek(0x0010) + executable_raw = stream.read(60).decode('utf-16') + executable_name = executable_raw.split('\u0000')[0] + + stream.seek(0x004C) + prefetch_hash = int.from_bytes(stream.read(4), "little") + + stream.seek(0x0080) + last_execution_filetime = int.from_bytes(stream.read(8), "little") + last_execution_filetime_human = conversion.wintime_to_datetime(last_execution_filetime) + + stream.seek(0x00D0) + execution_counter = int.from_bytes(stream.read(4), "little") + + yield ( + executable_name, + file_size, + format_hints.Hex(prefetch_hash), + last_execution_filetime_human, + execution_counter + ) + + @classmethod + def version_30(cls, prefetch_file): + """Extract pf information for Version 30""" + stream = io.BytesIO(prefetch_file) + + stream.seek(0x000C) + file_size = int.from_bytes(stream.read(4), "little") + + stream.seek(0x0010) + executable_raw = stream.read(60).decode('utf-16') + executable_name = executable_raw.split('\u0000')[0] + + stream.seek(0x004C) + prefetch_hash = int.from_bytes(stream.read(4), "little") + + stream.seek(0x0080) + # The first FILETIME is the most recent run time + last_execution_filetime = int.from_bytes(stream.read(8), "little") + last_execution_filetime_human = conversion.wintime_to_datetime(last_execution_filetime) + + stream.seek(0x00C8) # Variant 1 + execution_counter = int.from_bytes(stream.read(4), "little") + if execution_counter == 0: + stream.seek(0x00D0) # Variant 2 + execution_counter = int.from_bytes(stream.read(4), "little") + + yield ( + executable_name, + file_size, + format_hints.Hex(prefetch_hash), + last_execution_filetime_human, + execution_counter + ) + + @classmethod + def parse_prefetch(cls, prefetch_file): + WinXpOrWin2K3 = 17 + VistaOrWin7 = 23 + Win8xOrWin2012x = 26 + Win10OrWin11 = 30 + stream = io.BytesIO(prefetch_file) + # First, we need to know if the prefetch is compressed (Win10/11) + signature = prefetch_file[:3].decode() + if signature == "MAM": + vollog.info("Windows 1X prefetch file detected.") + # The size of decompressed data is at offset 4 + stream.seek(0x0004) + decompressed_size = int.from_bytes(stream.read(4), "little") + vollog.info(f"decompressed size : {decompressed_size}") + stream.seek(0x0008) + compressed_bytes = stream.read() + prefetch_file = lz77_huffman_decompress(bytearray(compressed_bytes), decompressed_size)[0] + try: + file_version = int.from_bytes(prefetch_file[:4], "little") + signature = prefetch_file[4:8].decode() + vollog.info(f'File version : {file_version}') + vollog.info(f"Signature : {signature}") + except: + # We can not even read the header + pass + + if signature != "SCCA": + vollog.info("Wrong signature, should be SCCA") + return + if file_version == WinXpOrWin2K3: + for result in cls.version_17(prefetch_file): + yield result + elif file_version == VistaOrWin7: + for result in cls.version_23(prefetch_file): + yield result + elif file_version == Win8xOrWin2012x: + for result in cls.version_26(prefetch_file): + yield result + elif file_version == Win10OrWin11: + for result in cls.version_30(prefetch_file): + yield result + + def _generator(self, files): + kernel = self.context.modules[self.config['kernel']] + offsets = [] + for file_obj in files: + """Get the prefetch recovered files from the “filescan” plugin; """ + try: + file_name = file_obj.FileName.String + file_extension = pathlib.Path(file_name).suffix + if file_extension == ".pf": + """If found, try to dump the prefetch file (inspired from the "DumpFiles" plugin)""" + memory_objects = [] + memory_layer_name = self.context.layers[kernel.layer_name].config['memory_layer'] + memory_layer = self.context.layers[memory_layer_name] + primary_layer = self.context.layers[kernel.layer_name] + for member_name in ["DataSectionObject", "ImageSectionObject"]: + try: + section_obj = getattr(file_obj.SectionObjectPointer, member_name) + control_area = section_obj.dereference().cast("_CONTROL_AREA") + if control_area.is_valid(): + vollog.info(f"Found : {file_obj.FileName.String}") + memory_objects.append((control_area, memory_layer)) + except exceptions.InvalidAddressException: + vollog.log(constants.LOGLEVEL_VVV, + f"{member_name} is unavailable for file {file_obj.vol.offset:#x}") + try: + scm_pointer = file_obj.SectionObjectPointer.SharedCacheMap + shared_cache_map = scm_pointer.dereference().cast("_SHARED_CACHE_MAP") + if shared_cache_map.is_valid(): + memory_objects.append((shared_cache_map, primary_layer)) + except exceptions.InvalidAddressException: + vollog.log(constants.LOGLEVEL_VVV, + f"SharedCacheMap is unavailable for file {file_obj.vol.offset:#x}") + vollog.info(f"memory_objects : {memory_objects}") + + """Now, read and parse our PF to retrieve our artifacts""" + for memory_object, layer in memory_objects: + bytes_read = 0 + prefetch_raw = b'' + try: + for mem_offset, _, datasize in memory_object.get_available_pages(): + prefetch_raw += layer.read(mem_offset, datasize, pad=True) + bytes_read += len(prefetch_raw) + vollog.info(f"Read {bytes_read}") + if not bytes_read: + vollog.info(f"Prefetch is empty") + else: + """Prefetch parsing""" + for result in self.parse_prefetch(prefetch_raw): + yield 0, result + + except exceptions.InvalidAddressException: + vollog.debug(f"Unable to dump file at {file_obj.vol.offset:#x}") + pass + except exceptions.InvalidAddressException: + continue + + def run(self): + kernel = self.context.modules[self.config['kernel']] + return renderers.TreeGrid([ + ("ExecutableName", str), + ("FileSize", int), + ("PrefetchHash", format_hints.Hex), + ("LastExecution", datetime.datetime), ("ExecutionCounter", int)], + self._generator(filescan.FileScan.scan_files(self.context, kernel.layer_name, kernel.symbol_table_name))) \ No newline at end of file diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index ed926805b..10079e41b 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -8,7 +8,8 @@ from typing import List, Optional, Sequence, Iterable, Tuple, Union from volatility3.framework import objects, renderers, exceptions, interfaces, constants from volatility3.framework.configuration import requirements -from volatility3.framework.layers.registry import RegistryHive, RegistryFormatException +from volatility3.framework.layers.registry import RegistryHive, RegistryFormatException, InvalidAddressException, \ + RegistryInvalidIndex from volatility3.framework.renderers import TreeGrid, conversion, format_hints from volatility3.framework.symbols.windows.extensions.registry import RegValueTypes from volatility3.plugins.windows.registry import hivelist @@ -77,7 +78,14 @@ class PrintKey(interfaces.plugins.PluginInterface): return None node = node_path[-1] key_path_items = [hive] + node_path[1:] - key_path = "\\".join([k.get_name() for k in key_path_items]) + key_path_names = [] + for k in key_path_items: + try: + key_path_names.append(k.get_name()) + except (InvalidAddressException, RegistryFormatException, RegistryInvalidIndex): + key_path_names.append('-') + key_path = "\\".join([k for k in key_path_names]) + if node.vol.type_name.endswith(constants.BANG + "_CELL_DATA"): raise RegistryFormatException( hive.name, "Encountered _CELL_DATA instead of _CM_KEY_NODE" @@ -99,7 +107,7 @@ class PrintKey(interfaces.plugins.PluginInterface): if key_node.vol.offset not in [x.vol.offset for x in node_path]: try: key_node.get_name() - except exceptions.InvalidAddressException as excp: + except (exceptions.InvalidAddressException, RegistryFormatException, RegistryInvalidIndex) as excp: vollog.debug(excp) continue @@ -149,6 +157,7 @@ class PrintKey(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, RegistryFormatException, + RegistryInvalidIndex ) as excp: vollog.debug(excp) key_node_name = renderers.UnreadableValue() @@ -176,6 +185,7 @@ class PrintKey(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, RegistryFormatException, + RegistryInvalidIndex ) as excp: vollog.debug(excp) value_node_name = renderers.UnreadableValue() diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index 87016553a..3bc4e48d8 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -13,7 +13,7 @@ from typing import Any, Generator, List, Tuple from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.layers.physical import BufferDataLayer -from volatility3.framework.layers.registry import RegistryHive, RegistryFormatException +from volatility3.framework.layers.registry import RegistryHive, RegistryFormatException, RegistryInvalidIndex from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed from volatility3.plugins.windows.registry import hivelist @@ -238,7 +238,11 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac # output any subkeys under Count for subkey in countkey.get_subkeys(): - subkey_name = subkey.get_name() + try: + subkey_name = subkey.get_name() + except (exceptions.InvalidAddressException, RegistryFormatException, RegistryInvalidIndex): + subkey_name = renderers.UnreadableValue() + result = ( 1, ( @@ -260,7 +264,11 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac # output any values under Count for value in countkey.get_values(): - value_name = value.get_name() + try: + value_name = value.get_name() + except (exceptions.InvalidAddressException, RegistryFormatException, RegistryInvalidIndex): + value_name = renderers.UnreadableValue() + with contextlib.suppress(UnicodeDecodeError): value_name = codecs.encode(value_name, "rot_13") diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 31aaec4f0..2f2f7c254 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -311,7 +311,7 @@ def _build_guid_name_map(key: reg_extensions.CM_KEY_NODE) -> Dict[str, str]: if value.get_name() == "Id": task_id_value = value break - except exceptions.InvalidAddressException: + except (exceptions.InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex): continue if ( @@ -323,10 +323,13 @@ def _build_guid_name_map(key: reg_extensions.CM_KEY_NODE) -> Dict[str, str]: except exceptions.InvalidAddressException: id_str = None - if isinstance(id_str, bytes): - mapping[id_str.decode("utf-16le", errors="replace").rstrip(NULL)] = str( - key.get_name() - ) + try: + if isinstance(id_str, bytes): + mapping[id_str.decode("utf-16le", errors="replace").rstrip(NULL)] = str( + key.get_name() + ) + except (exceptions.InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex): + pass for subkey in key.get_subkeys(): mapping.update(_build_guid_name_map(subkey)) @@ -1231,13 +1234,22 @@ information about triggers, actions, run times, and creation times.""" for value in key.get_values(): try: name = str(value.get_name()) - except exceptions.InvalidAddressException: + except (exceptions.InvalidAddressException, registry.RegistryFormatException, registry.RegistryFormatException): continue if name in ["Actions", "Triggers", "DynamicInfo"]: values[name] = value - task_name = guid_mapping.get(str(key.get_name()), renderers.NotAvailableValue()) + + try: + key_name = str(key.get_name()) + except (exceptions.InvalidAddressException, registry.RegistryFormatException, registry.RegistryFormatException): + key_name = None + + try: + task_name = guid_mapping.get(key_name, renderers.NotAvailableValue()) + except (exceptions.InvalidAddressException, registry.RegistryFormatException, registry.RegistryFormatException): + task_name = renderers.NotAvailableValue() try: action_set = cls.parse_actions_value(values["Actions"]) @@ -1348,11 +1360,11 @@ information about triggers, actions, run times, and creation times.""" args, ( action_set.context - if action_set is not None + if action_set is not None and action_set.context is not None else renderers.NotAvailableValue() ), working_directory, - str(key.get_name()), + key_name or renderers.NotAvailableValue(), ) def _generator(self) -> Iterator[Tuple[int, _ScheduledTaskEntry]]: diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index c807c2cd6..7f284a36f 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -103,7 +103,7 @@ class CMHIVE(objects.StructType): for attr in ["FileFullPath", "FileUserName", "HiveRootPath"]: with contextlib.suppress( - AttributeError, exceptions.InvalidAddressException + AttributeError, exceptions.InvalidAddressException, RegistryInvalidIndex ): name = getattr(self, attr) if name.Length > 0: @@ -228,6 +228,7 @@ class CM_KEY_NODE(objects.StructType): except ( exceptions.InvalidAddressException, RegistryFormatException, + RegistryInvalidIndex, ): vollog.log( constants.LOGLEVEL_VVV, @@ -244,21 +245,22 @@ class CM_KEY_NODE(objects.StructType): hive = self._context.layers[self.vol.layer_name] if not isinstance(hive, RegistryHive): raise TypeError("CM_KEY_NODE was not instantiated on a RegistryHive layer") - child_list = hive.get_cell(self.ValueList.List).u.KeyList - child_list.count = self.ValueList.Count try: + child_list = hive.get_cell(self.ValueList.List).u.KeyList + child_list.count = self.ValueList.Count + for v in child_list: if v != 0: try: node = hive.get_node(v) - except (RegistryInvalidIndex, RegistryFormatException) as excp: + except (RegistryInvalidIndex, RegistryFormatException, RegistryInvalidIndex) as excp: vollog.debug(f"Invalid address {excp}") continue if isinstance(node, CM_KEY_VALUE): yield node - except (exceptions.InvalidAddressException, RegistryFormatException) as excp: + except (exceptions.InvalidAddressException, RegistryFormatException, RegistryInvalidIndex) as excp: vollog.debug(f"Invalid address in get_values iteration: {excp}") return None @@ -347,7 +349,7 @@ class CM_KEY_VALUE(objects.StructType): offset=layer.get_cell(block_offset).vol.offset, length=amount, ) - except exceptions.InvalidAddressException: + except (exceptions.InvalidAddressException, RegistryInvalidIndex): vollog.debug( f"Failed to read {amount:x} bytes of data, padding with {amount:x}" ) @@ -357,7 +359,7 @@ class CM_KEY_VALUE(objects.StructType): # but the length at the start could be negative so just adding 4 to jump past it try: data = layer.read(self.Data + 4, datalen) - except exceptions.InvalidAddressException: + except (exceptions.InvalidAddressException, RegistryInvalidIndex): vollog.debug( f"Failed to read {datalen:x} bytes of data, returning {datalen:x} null bytes" ) From e1c88f065b547bada3622632a381322a94c4c5c3 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 10 Mar 2025 13:57:14 -0500 Subject: [PATCH 1567/2186] #1476 - black fixes --- .../framework/plugins/windows/envars.py | 38 +++++++++++++++---- .../plugins/windows/getservicesids.py | 6 +-- .../framework/plugins/windows/getsids.py | 6 +-- .../framework/plugins/windows/hashdump.py | 9 +++-- .../framework/plugins/windows/lsadump.py | 20 ++++++++-- .../plugins/windows/registry/printkey.py | 26 +++++++++---- .../plugins/windows/registry/userassist.py | 18 +++++++-- .../plugins/windows/scheduled_tasks.py | 31 ++++++++++++--- .../symbols/windows/extensions/registry.py | 18 +++++++-- 9 files changed, 133 insertions(+), 39 deletions(-) diff --git a/volatility3/framework/plugins/windows/envars.py b/volatility3/framework/plugins/windows/envars.py index 98d9e2553..d197fbc98 100644 --- a/volatility3/framework/plugins/windows/envars.py +++ b/volatility3/framework/plugins/windows/envars.py @@ -71,13 +71,25 @@ class Envars(interfaces.plugins.PluginInterface): sys = hive.get_key( "CurrentControlSet\\Control\\Session Manager\\Environment" ) - except (KeyError, registry.RegistryFormatException, registry.RegistryInvalidIndex): - with contextlib.suppress(KeyError, registry.RegistryFormatException, registry.RegistryInvalidIndex): + except ( + KeyError, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ): + with contextlib.suppress( + KeyError, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ): sys = hive.get_key( "ControlSet001\\Control\\Session Manager\\Environment" ) if sys: - with contextlib.suppress(KeyError, registry.RegistryFormatException, registry.RegistryInvalidIndex): + with contextlib.suppress( + KeyError, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ): for node in sys.get_values(): try: value_node_name = node.get_name() @@ -86,7 +98,7 @@ class Envars(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, registry.RegistryFormatException, - registry.RegistryInvalidIndex + registry.RegistryInvalidIndex, ): vollog.log( constants.LOGLEVEL_VVV, @@ -96,10 +108,18 @@ class Envars(interfaces.plugins.PluginInterface): ntuser = None ## The user-specific variables - with contextlib.suppress(KeyError, registry.RegistryFormatException, registry.RegistryInvalidIndex): + with contextlib.suppress( + KeyError, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ): ntuser = hive.get_key("Environment") if ntuser: - with contextlib.suppress(KeyError, registry.RegistryFormatException, registry.RegistryInvalidIndex): + with contextlib.suppress( + KeyError, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ): for node in ntuser.get_values(): try: value_node_name = node.get_name() @@ -119,7 +139,11 @@ class Envars(interfaces.plugins.PluginInterface): ## The volatile user variables try: key = hive.get_key("Volatile Environment") - except (KeyError, registry.RegistryFormatException, registry.RegistryInvalidIndex): + except ( + KeyError, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ): continue try: for node in key.get_values(): diff --git a/volatility3/framework/plugins/windows/getservicesids.py b/volatility3/framework/plugins/windows/getservicesids.py index 9e9c5fa4d..c334fe722 100644 --- a/volatility3/framework/plugins/windows/getservicesids.py +++ b/volatility3/framework/plugins/windows/getservicesids.py @@ -106,9 +106,9 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface): try: sid_name = s.get_name() except ( - exceptions.InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + exceptions.InvalidAddressException, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, ): continue diff --git a/volatility3/framework/plugins/windows/getsids.py b/volatility3/framework/plugins/windows/getsids.py index 6cbba059b..0d54ea12c 100644 --- a/volatility3/framework/plugins/windows/getsids.py +++ b/volatility3/framework/plugins/windows/getsids.py @@ -115,9 +115,9 @@ class GetSIDs(interfaces.plugins.PluginInterface): try: sid = str(subkey.get_name()) except ( - exceptions.InvalidAddressException, - layers.registry.RegistryFormatException, - layers.registry.RegistryInvalidIndex, + exceptions.InvalidAddressException, + layers.registry.RegistryFormatException, + layers.registry.RegistryInvalidIndex, ): continue diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index 6529cba19..d90e23802 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -380,10 +380,13 @@ class Hashdump(interfaces.plugins.PluginInterface): if class_data is None: return None bootkey += class_data.decode("utf-16-le") - except (InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex) as excp: + except ( + InvalidAddressException, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ) as excp: vollog.log( - constants.LOGLEVEL_VVV, - f"Unable to read Lsa key {lk}: {excp}" + constants.LOGLEVEL_VVV, f"Unable to read Lsa key {lk}: {excp}" ) return None diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index c4e8ef48a..aeea239c7 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -123,7 +123,11 @@ class Lsadump(interfaces.plugins.PluginInterface): if enc_secret_key: try: enc_secret_value = next(enc_secret_key.get_values(), None) - except (InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex): + except ( + InvalidAddressException, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ): enc_secret_value = None if enc_secret_value: @@ -202,7 +206,12 @@ class Lsadump(interfaces.plugins.PluginInterface): try: enc_secret_value = next(sec_val_key.get_values(), None) - except (StopIteration, InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex): + except ( + StopIteration, + InvalidAddressException, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ): enc_secret_value = None if not enc_secret_value: @@ -222,12 +231,15 @@ class Lsadump(interfaces.plugins.PluginInterface): try: key_name = key.get_name() - except (InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex): + except ( + InvalidAddressException, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ): key_name = renderers.UnreadableValue() yield (0, (key_name, format_hints.HexBytes(secret), secret)) - def run(self): offset = self.config.get("offset", None) syshive = sechive = None diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index 585ec6b5e..c6d216760 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -8,8 +8,12 @@ from typing import List, Optional, Sequence, Iterable, Tuple, Union from volatility3.framework import objects, renderers, exceptions, interfaces, constants from volatility3.framework.configuration import requirements -from volatility3.framework.layers.registry import RegistryHive, RegistryFormatException, InvalidAddressException, \ - RegistryInvalidIndex +from volatility3.framework.layers.registry import ( + RegistryHive, + RegistryFormatException, + InvalidAddressException, + RegistryInvalidIndex, +) from volatility3.framework.renderers import TreeGrid, conversion, format_hints from volatility3.framework.symbols.windows.extensions.registry import RegValueTypes from volatility3.plugins.windows.registry import hivelist @@ -82,8 +86,12 @@ class PrintKey(interfaces.plugins.PluginInterface): for k in key_path_items: try: key_path_names.append(k.get_name()) - except (InvalidAddressException, RegistryFormatException, RegistryInvalidIndex): - key_path_names.append('-') + except ( + InvalidAddressException, + RegistryFormatException, + RegistryInvalidIndex, + ): + key_path_names.append("-") key_path = "\\".join([k for k in key_path_names]) if node.vol.type_name.endswith(constants.BANG + "_CELL_DATA"): @@ -107,7 +115,11 @@ class PrintKey(interfaces.plugins.PluginInterface): if key_node.vol.offset not in [x.vol.offset for x in node_path]: try: key_node.get_name() - except (exceptions.InvalidAddressException, RegistryFormatException, RegistryInvalidIndex) as excp: + except ( + exceptions.InvalidAddressException, + RegistryFormatException, + RegistryInvalidIndex, + ) as excp: vollog.debug(excp) continue @@ -157,7 +169,7 @@ class PrintKey(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, RegistryFormatException, - RegistryInvalidIndex + RegistryInvalidIndex, ) as excp: vollog.debug(excp) key_node_name = renderers.UnreadableValue() @@ -185,7 +197,7 @@ class PrintKey(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, RegistryFormatException, - RegistryInvalidIndex + RegistryInvalidIndex, ) as excp: vollog.debug(excp) value_node_name = renderers.UnreadableValue() diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index 82139fdf2..738f230b7 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -13,7 +13,11 @@ from typing import Any, Generator, List, Tuple from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.layers.physical import BufferDataLayer -from volatility3.framework.layers.registry import RegistryHive, RegistryFormatException, RegistryInvalidIndex +from volatility3.framework.layers.registry import ( + RegistryHive, + RegistryFormatException, + RegistryInvalidIndex, +) from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed from volatility3.plugins.windows.registry import hivelist @@ -240,7 +244,11 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac for subkey in countkey.get_subkeys(): try: subkey_name = subkey.get_name() - except (exceptions.InvalidAddressException, RegistryFormatException, RegistryInvalidIndex): + except ( + exceptions.InvalidAddressException, + RegistryFormatException, + RegistryInvalidIndex, + ): subkey_name = renderers.UnreadableValue() result = ( @@ -266,7 +274,11 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac for value in countkey.get_values(): try: value_name = value.get_name() - except (exceptions.InvalidAddressException, RegistryFormatException, RegistryInvalidIndex): + except ( + exceptions.InvalidAddressException, + RegistryFormatException, + RegistryInvalidIndex, + ): value_name = renderers.UnreadableValue() with contextlib.suppress(UnicodeDecodeError): diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index b901139c3..fc4d46338 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -311,7 +311,11 @@ def _build_guid_name_map(key: reg_extensions.CM_KEY_NODE) -> Dict[str, str]: if value.get_name() == "Id": task_id_value = value break - except (exceptions.InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex): + except ( + exceptions.InvalidAddressException, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ): continue if ( @@ -328,7 +332,11 @@ def _build_guid_name_map(key: reg_extensions.CM_KEY_NODE) -> Dict[str, str]: mapping[id_str.decode("utf-16le", errors="replace").rstrip(NULL)] = str( key.get_name() ) - except (exceptions.InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex): + except ( + exceptions.InvalidAddressException, + registry.RegistryFormatException, + registry.RegistryInvalidIndex, + ): pass for subkey in key.get_subkeys(): @@ -1233,21 +1241,32 @@ information about triggers, actions, run times, and creation times.""" for value in key.get_values(): try: name = str(value.get_name()) - except (exceptions.InvalidAddressException, registry.RegistryFormatException, registry.RegistryFormatException): + except ( + exceptions.InvalidAddressException, + registry.RegistryFormatException, + registry.RegistryFormatException, + ): continue if name in ["Actions", "Triggers", "DynamicInfo"]: values[name] = value - try: key_name = str(key.get_name()) - except (exceptions.InvalidAddressException, registry.RegistryFormatException, registry.RegistryFormatException): + except ( + exceptions.InvalidAddressException, + registry.RegistryFormatException, + registry.RegistryFormatException, + ): key_name = None try: task_name = guid_mapping.get(key_name, renderers.NotAvailableValue()) - except (exceptions.InvalidAddressException, registry.RegistryFormatException, registry.RegistryFormatException): + except ( + exceptions.InvalidAddressException, + registry.RegistryFormatException, + registry.RegistryFormatException, + ): task_name = renderers.NotAvailableValue() try: diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index 7f284a36f..c6c2ee358 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -199,7 +199,11 @@ class CM_KEY_NODE(objects.StructType): # We could change the array type to a struct with both parts try: signature = node.cast("string", max_length=2, encoding="latin-1") - except (exceptions.InvalidAddressException, RegistryFormatException, RegistryInvalidIndex): + except ( + exceptions.InvalidAddressException, + RegistryFormatException, + RegistryInvalidIndex, + ): return None listjump = None @@ -254,13 +258,21 @@ class CM_KEY_NODE(objects.StructType): if v != 0: try: node = hive.get_node(v) - except (RegistryInvalidIndex, RegistryFormatException, RegistryInvalidIndex) as excp: + except ( + RegistryInvalidIndex, + RegistryFormatException, + RegistryInvalidIndex, + ) as excp: vollog.debug(f"Invalid address {excp}") continue if isinstance(node, CM_KEY_VALUE): yield node - except (exceptions.InvalidAddressException, RegistryFormatException, RegistryInvalidIndex) as excp: + except ( + exceptions.InvalidAddressException, + RegistryFormatException, + RegistryInvalidIndex, + ) as excp: vollog.debug(f"Invalid address in get_values iteration: {excp}") return None From 6061270816c75f019e4ce185becfee5901aa7730 Mon Sep 17 00:00:00 2001 From: superponible Date: Mon, 10 Mar 2025 14:03:34 -0500 Subject: [PATCH 1568/2186] Potential fix for code scanning alert no. 381: Unused import Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- volatility3/framework/plugins/windows/lsadump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index aeea239c7..989d4d473 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -11,7 +11,7 @@ from Crypto.Cipher import ARC4, DES, AES from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.exceptions import InvalidAddressException -from volatility3.framework.interfaces.layers import IteratorValue + from volatility3.framework.layers import registry from volatility3.framework.symbols.windows import versions from volatility3.plugins.windows import hashdump From e0168c7becf017f2cfbee326b5b3a847c7f69e4c Mon Sep 17 00:00:00 2001 From: superponible Date: Mon, 10 Mar 2025 14:03:45 -0500 Subject: [PATCH 1569/2186] Potential fix for code scanning alert no. 374: Testing equality to None Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- volatility3/framework/plugins/windows/prefetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/prefetch.py b/volatility3/framework/plugins/windows/prefetch.py index 3997bc012..30642b269 100644 --- a/volatility3/framework/plugins/windows/prefetch.py +++ b/volatility3/framework/plugins/windows/prefetch.py @@ -74,7 +74,7 @@ def prefix_code_tree_add_leaf(treeNodes: List[PREFIX_CODE_NODE], leafIndex: int, while bits > 1: bits -= 1 childIndex = (mask >> bits) & 1 - if node.child[childIndex] == None: + if node.child[childIndex] is None: node.child[childIndex] = treeNodes[i] treeNodes[i].leaf = False i += 1 From f52a857aa06986d6d7f4c12241ff1bf5d8625963 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 10 Mar 2025 14:10:59 -0500 Subject: [PATCH 1570/2186] #1476 - code cleanup --- .../framework/plugins/windows/prefetch.py | 178 +++++++++++------- .../plugins/windows/scheduled_tasks.py | 4 +- 2 files changed, 117 insertions(+), 65 deletions(-) diff --git a/volatility3/framework/plugins/windows/prefetch.py b/volatility3/framework/plugins/windows/prefetch.py index 30642b269..6e74f466f 100644 --- a/volatility3/framework/plugins/windows/prefetch.py +++ b/volatility3/framework/plugins/windows/prefetch.py @@ -18,8 +18,8 @@ class BitStream: self.source = source self.index = in_pos + 4 # read UInt16 little endian - mask = struct.unpack_from('> (32 - n) def skip(self, n: int) -> Union[None, Exception]: - self.mask = ((self.mask << n) & 0xFFFFFFFF) + self.mask = (self.mask << n) & 0xFFFFFFFF self.bits -= n if self.bits < 16: if self.index + 2 > len(self.source): return Exception("EOF Error") # read UInt16 little endian - self.mask += ((struct.unpack_from(' int: +def prefix_code_tree_add_leaf( + treeNodes: List[PREFIX_CODE_NODE], leafIndex: int, mask: int, bits: int +) -> int: node = treeNodes[0] i = leafIndex + 1 childIndex = None @@ -94,13 +99,13 @@ def prefix_code_tree_rebuild(input: bytes) -> PREFIX_CODE_NODE: symbolInfo[2 * i].id = 2 * i symbolInfo[2 * i].symbol = 2 * i - symbolInfo[2 * i].length = value & 0xf + symbolInfo[2 * i].length = value & 0xF value >>= 4 symbolInfo[2 * i + 1].id = 2 * i + 1 symbolInfo[2 * i + 1].symbol = 2 * i + 1 - symbolInfo[2 * i + 1].length = value & 0xf + symbolInfo[2 * i + 1].length = value & 0xF symbolInfo = sorted(symbolInfo, key=lambda x: (x.length, x.symbol)) @@ -128,9 +133,10 @@ def prefix_code_tree_rebuild(input: bytes) -> PREFIX_CODE_NODE: return root -def prefix_code_tree_decode_symbol(bstr: BitStream, root: PREFIX_CODE_NODE) -> Tuple[int, Union[None, Exception]]: +def prefix_code_tree_decode_symbol( + bstr: BitStream, root: PREFIX_CODE_NODE +) -> Tuple[int, Union[None, Exception]]: node = root - i = 0 while True: bit = bstr.lookup(1) err = bstr.skip(1) @@ -138,7 +144,7 @@ def prefix_code_tree_decode_symbol(bstr: BitStream, root: PREFIX_CODE_NODE) -> T return 0, err node = node.child[bit] - if node == None: + if node is None: return 0, Exception("Corruption detected") if node.leaf: @@ -146,11 +152,9 @@ def prefix_code_tree_decode_symbol(bstr: BitStream, root: PREFIX_CODE_NODE) -> T return node.symbol, None -def lz77_huffman_decompress_chunck(in_idx: int, - input: bytes, - out_idx: int, - output: bytearray, - chunk_size: int) -> Tuple[int, int, Union[None, Exception]]: +def lz77_huffman_decompress_chunck( + in_idx: int, input: bytes, out_idx: int, output: bytearray, chunk_size: int +) -> Tuple[int, int, Union[None, Exception]]: # Ensure there are at least 256 bytes available to read if in_idx + 256 > len(input): return 0, 0, Exception("EOF Error") @@ -187,7 +191,7 @@ def lz77_huffman_decompress_chunck(in_idx: int, bstr.index += 1 if length == 270: - length = struct.unpack_from(' Tuple[bytes, Union[None, Exception]]: +def lz77_huffman_decompress( + input: bytes, output_size: int +) -> Tuple[bytes, Union[None, Exception]]: output = bytearray(output_size) err = None @@ -226,7 +232,8 @@ def lz77_huffman_decompress(input: bytes, output_size: int) -> Tuple[bytes, Unio chunk_size = 65536 in_idx, out_idx, err = lz77_huffman_decompress_chunck( - in_idx, input, out_idx, output, chunk_size) + in_idx, input, out_idx, output, chunk_size + ) if err is not None: return output, err if out_idx >= len(output) or in_idx >= len(input): @@ -236,14 +243,22 @@ def lz77_huffman_decompress(input: bytes, output_size: int) -> Tuple[bytes, Unio class Prefetch(interfaces.plugins.PluginInterface): """Get and parse the prefetch files""" + _required_framework_version = (2, 0, 0) _version = (1, 0, 0) @classmethod def get_requirements(cls): - return [requirements.ModuleRequirement(name='kernel', description='Windows kernel', - architectures=["Intel32", "Intel64"]), - requirements.PluginRequirement(name='filescan', plugin=filescan.FileScan, version=(0, 0, 0)), ] + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="filescan", plugin=filescan.FileScan, version=(0, 0, 0) + ), + ] @classmethod def version_17(cls, prefetch_file): @@ -254,15 +269,17 @@ class Prefetch(interfaces.plugins.PluginInterface): file_size = int.from_bytes(stream.read(4), "little") stream.seek(0x0010) - executable_raw = stream.read(60).decode('utf-16') - executable_name = executable_raw.split('\u0000')[0] + executable_raw = stream.read(60).decode("utf-16") + executable_name = executable_raw.split("\u0000")[0] stream.seek(0x004C) prefetch_hash = int.from_bytes(stream.read(4), "little") stream.seek(0x0078) last_execution_filetime = int.from_bytes(stream.read(8), "little") - last_execution_filetime_human = conversion.wintime_to_datetime(last_execution_filetime) + last_execution_filetime_human = conversion.wintime_to_datetime( + last_execution_filetime + ) stream.seek(0x0090) execution_counter = int.from_bytes(stream.read(4), "little") @@ -272,7 +289,7 @@ class Prefetch(interfaces.plugins.PluginInterface): file_size, format_hints.Hex(prefetch_hash), last_execution_filetime_human, - execution_counter + execution_counter, ) @classmethod @@ -284,15 +301,17 @@ class Prefetch(interfaces.plugins.PluginInterface): file_size = int.from_bytes(stream.read(4), "little") stream.seek(0x0010) - executable_raw = stream.read(60).decode('utf-16') - executable_name = executable_raw.split('\u0000')[0] + executable_raw = stream.read(60).decode("utf-16") + executable_name = executable_raw.split("\u0000")[0] stream.seek(0x004C) prefetch_hash = int.from_bytes(stream.read(4), "little") stream.seek(0x0080) last_execution_filetime = int.from_bytes(stream.read(8), "little") - last_execution_filetime_human = conversion.wintime_to_datetime(last_execution_filetime) + last_execution_filetime_human = conversion.wintime_to_datetime( + last_execution_filetime + ) stream.seek(0x0098) execution_counter = int.from_bytes(stream.read(4), "little") @@ -302,7 +321,7 @@ class Prefetch(interfaces.plugins.PluginInterface): file_size, format_hints.Hex(prefetch_hash), last_execution_filetime_human, - execution_counter + execution_counter, ) @classmethod @@ -314,15 +333,17 @@ class Prefetch(interfaces.plugins.PluginInterface): file_size = int.from_bytes(stream.read(4), "little") stream.seek(0x0010) - executable_raw = stream.read(60).decode('utf-16') - executable_name = executable_raw.split('\u0000')[0] + executable_raw = stream.read(60).decode("utf-16") + executable_name = executable_raw.split("\u0000")[0] stream.seek(0x004C) prefetch_hash = int.from_bytes(stream.read(4), "little") stream.seek(0x0080) last_execution_filetime = int.from_bytes(stream.read(8), "little") - last_execution_filetime_human = conversion.wintime_to_datetime(last_execution_filetime) + last_execution_filetime_human = conversion.wintime_to_datetime( + last_execution_filetime + ) stream.seek(0x00D0) execution_counter = int.from_bytes(stream.read(4), "little") @@ -332,7 +353,7 @@ class Prefetch(interfaces.plugins.PluginInterface): file_size, format_hints.Hex(prefetch_hash), last_execution_filetime_human, - execution_counter + execution_counter, ) @classmethod @@ -344,8 +365,8 @@ class Prefetch(interfaces.plugins.PluginInterface): file_size = int.from_bytes(stream.read(4), "little") stream.seek(0x0010) - executable_raw = stream.read(60).decode('utf-16') - executable_name = executable_raw.split('\u0000')[0] + executable_raw = stream.read(60).decode("utf-16") + executable_name = executable_raw.split("\u0000")[0] stream.seek(0x004C) prefetch_hash = int.from_bytes(stream.read(4), "little") @@ -353,7 +374,9 @@ class Prefetch(interfaces.plugins.PluginInterface): stream.seek(0x0080) # The first FILETIME is the most recent run time last_execution_filetime = int.from_bytes(stream.read(8), "little") - last_execution_filetime_human = conversion.wintime_to_datetime(last_execution_filetime) + last_execution_filetime_human = conversion.wintime_to_datetime( + last_execution_filetime + ) stream.seek(0x00C8) # Variant 1 execution_counter = int.from_bytes(stream.read(4), "little") @@ -366,7 +389,7 @@ class Prefetch(interfaces.plugins.PluginInterface): file_size, format_hints.Hex(prefetch_hash), last_execution_filetime_human, - execution_counter + execution_counter, ) @classmethod @@ -386,13 +409,15 @@ class Prefetch(interfaces.plugins.PluginInterface): vollog.info(f"decompressed size : {decompressed_size}") stream.seek(0x0008) compressed_bytes = stream.read() - prefetch_file = lz77_huffman_decompress(bytearray(compressed_bytes), decompressed_size)[0] + prefetch_file = lz77_huffman_decompress( + bytearray(compressed_bytes), decompressed_size + )[0] try: file_version = int.from_bytes(prefetch_file[:4], "little") signature = prefetch_file[4:8].decode() - vollog.info(f'File version : {file_version}') + vollog.info(f"File version : {file_version}") vollog.info(f"Signature : {signature}") - except: + except Exception: # We can not even read the header pass @@ -413,46 +438,63 @@ class Prefetch(interfaces.plugins.PluginInterface): yield result def _generator(self, files): - kernel = self.context.modules[self.config['kernel']] - offsets = [] + kernel = self.context.modules[self.config["kernel"]] for file_obj in files: - """Get the prefetch recovered files from the “filescan” plugin; """ + """Get the prefetch recovered files from the “filescan” plugin;""" try: file_name = file_obj.FileName.String file_extension = pathlib.Path(file_name).suffix if file_extension == ".pf": """If found, try to dump the prefetch file (inspired from the "DumpFiles" plugin)""" memory_objects = [] - memory_layer_name = self.context.layers[kernel.layer_name].config['memory_layer'] + memory_layer_name = self.context.layers[kernel.layer_name].config[ + "memory_layer" + ] memory_layer = self.context.layers[memory_layer_name] primary_layer = self.context.layers[kernel.layer_name] for member_name in ["DataSectionObject", "ImageSectionObject"]: try: - section_obj = getattr(file_obj.SectionObjectPointer, member_name) - control_area = section_obj.dereference().cast("_CONTROL_AREA") + section_obj = getattr( + file_obj.SectionObjectPointer, member_name + ) + control_area = section_obj.dereference().cast( + "_CONTROL_AREA" + ) if control_area.is_valid(): vollog.info(f"Found : {file_obj.FileName.String}") memory_objects.append((control_area, memory_layer)) except exceptions.InvalidAddressException: - vollog.log(constants.LOGLEVEL_VVV, - f"{member_name} is unavailable for file {file_obj.vol.offset:#x}") + vollog.log( + constants.LOGLEVEL_VVV, + f"{member_name} is unavailable for file {file_obj.vol.offset:#x}", + ) try: scm_pointer = file_obj.SectionObjectPointer.SharedCacheMap - shared_cache_map = scm_pointer.dereference().cast("_SHARED_CACHE_MAP") + shared_cache_map = scm_pointer.dereference().cast( + "_SHARED_CACHE_MAP" + ) if shared_cache_map.is_valid(): memory_objects.append((shared_cache_map, primary_layer)) except exceptions.InvalidAddressException: - vollog.log(constants.LOGLEVEL_VVV, - f"SharedCacheMap is unavailable for file {file_obj.vol.offset:#x}") + vollog.log( + constants.LOGLEVEL_VVV, + f"SharedCacheMap is unavailable for file {file_obj.vol.offset:#x}", + ) vollog.info(f"memory_objects : {memory_objects}") """Now, read and parse our PF to retrieve our artifacts""" for memory_object, layer in memory_objects: bytes_read = 0 - prefetch_raw = b'' + prefetch_raw = b"" try: - for mem_offset, _, datasize in memory_object.get_available_pages(): - prefetch_raw += layer.read(mem_offset, datasize, pad=True) + for ( + mem_offset, + _, + datasize, + ) in memory_object.get_available_pages(): + prefetch_raw += layer.read( + mem_offset, datasize, pad=True + ) bytes_read += len(prefetch_raw) vollog.info(f"Read {bytes_read}") if not bytes_read: @@ -463,16 +505,26 @@ class Prefetch(interfaces.plugins.PluginInterface): yield 0, result except exceptions.InvalidAddressException: - vollog.debug(f"Unable to dump file at {file_obj.vol.offset:#x}") - pass + vollog.debug( + f"Unable to dump file at {file_obj.vol.offset:#x}" + ) + except exceptions.InvalidAddressException: continue def run(self): - kernel = self.context.modules[self.config['kernel']] - return renderers.TreeGrid([ - ("ExecutableName", str), - ("FileSize", int), - ("PrefetchHash", format_hints.Hex), - ("LastExecution", datetime.datetime), ("ExecutionCounter", int)], - self._generator(filescan.FileScan.scan_files(self.context, kernel.layer_name, kernel.symbol_table_name))) \ No newline at end of file + kernel = self.context.modules[self.config["kernel"]] + return renderers.TreeGrid( + [ + ("ExecutableName", str), + ("FileSize", int), + ("PrefetchHash", format_hints.Hex), + ("LastExecution", datetime.datetime), + ("ExecutionCounter", int), + ], + self._generator( + filescan.FileScan.scan_files( + self.context, kernel.layer_name, kernel.symbol_table_name + ) + ), + ) diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index fc4d46338..dd821bb35 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -336,8 +336,8 @@ def _build_guid_name_map(key: reg_extensions.CM_KEY_NODE) -> Dict[str, str]: exceptions.InvalidAddressException, registry.RegistryFormatException, registry.RegistryInvalidIndex, - ): - pass + ) as excp: + vollog.debug(f"Exception occurred while decoding id_str: {excp}") for subkey in key.get_subkeys(): mapping.update(_build_guid_name_map(subkey)) From 9b23feef2be35e079f7dba02e2a1e31343d8315e Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 10 Mar 2025 14:17:24 -0500 Subject: [PATCH 1571/2186] #1476 - ruff fixes --- volatility3/framework/plugins/windows/prefetch.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/prefetch.py b/volatility3/framework/plugins/windows/prefetch.py index 6e74f466f..a5f054f15 100644 --- a/volatility3/framework/plugins/windows/prefetch.py +++ b/volatility3/framework/plugins/windows/prefetch.py @@ -3,14 +3,19 @@ # https://github.com/libyal/libscca/blob/main/documentation/Windows%20Prefetch%20File%20(PF)%20format.asciidoc # https://github.com/volatilityfoundation/volatility3/ # https://github.com/EricZimmerman/Prefetch/tree/master/Prefetch -import logging, pathlib, datetime, io, struct +import logging +import pathlib +import datetime +import io +import struct + from volatility3.framework import renderers, interfaces, exceptions, constants from volatility3.framework.configuration import requirements from volatility3.plugins.windows import filescan from volatility3.framework.renderers import format_hints, conversion +from typing import Tuple, List, Union vollog = logging.getLogger(__name__) -from typing import Tuple, List, Union class BitStream: @@ -498,7 +503,7 @@ class Prefetch(interfaces.plugins.PluginInterface): bytes_read += len(prefetch_raw) vollog.info(f"Read {bytes_read}") if not bytes_read: - vollog.info(f"Prefetch is empty") + vollog.info("Prefetch is empty") else: """Prefetch parsing""" for result in self.parse_prefetch(prefetch_raw): From 4b74de4104bca92a9ceb92a1784c62aa11935fbd Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Mon, 10 Mar 2025 15:32:13 -0500 Subject: [PATCH 1572/2186] #1645 - duplicate list_processes code --- volatility3/framework/layers/registry.py | 54 +++++++++++++++++++----- 1 file changed, 44 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index 48dd2b624..19e02ac33 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -14,7 +14,7 @@ from volatility3.framework.configuration.requirements import ( from volatility3.framework.exceptions import InvalidAddressException from volatility3.framework.layers import linear from volatility3.framework.symbols import intermed -from volatility3.plugins.windows import pslist +from volatility3.framework.symbols.windows import extensions vollog = logging.getLogger(__name__) @@ -65,16 +65,15 @@ class RegistryHive(linear.LinearlyMappedLayer): # Win10 17063 introduced the Registry process to map most hives. Check # if it exists and update RegistryHive._base_layer - for proc in pslist.PsList.list_processes( - context=self.context, kernel_module_name=self.config["kernel_module_name"] - ): - proc_name = proc.ImageFileName.cast( - "string", max_length=proc.ImageFileName.vol.count, errors="replace" + try: + registry_proc = self._find_registry_process() + if registry_proc: + self._base_layer = registry_proc.add_process_layer() + except ValueError: + vollog.log( + constants.LOGLEVEL_VVVV, + "Error walking process list, results may not be valid.", ) - if proc_name == "Registry" and proc.InheritedFromUniqueProcessId == 4: - proc_layer_name = proc.add_process_layer() - self._base_layer = proc_layer_name - break self._base_block = self.hive.BaseBlock.dereference() @@ -96,6 +95,41 @@ class RegistryHive(linear.LinearlyMappedLayer): f"Exception when setting hive {self.name} max address, using {hex(self._maxaddr)}", ) + def _find_registry_process(self) -> Optional["extensions.EPROCESS"]: + """Walk the active process list and return the Registry process if it exists. Duplicates + PsList.list_processes() since pulling in the plugin causes problems. + + Returns: + The Registry EPROCESS object if it exists, or None + """ + + kernel = self.context.modules.get("kernel") + + if not kernel or not kernel.offset: + raise ValueError( + "Intel layer does not have an associated kernel virtual offset, failing" + ) + + ps_aph_offset = kernel.get_symbol("PsActiveProcessHead").address + list_entry = kernel.object(object_type="_LIST_ENTRY", offset=ps_aph_offset) + reloff = kernel.get_type("_EPROCESS").relative_child_offset( + "ActiveProcessLinks" + ) + eproc = kernel.object( + object_type="_EPROCESS", + offset=list_entry.vol.offset - reloff, + absolute=True, + ) + + for proc in eproc.ActiveProcessLinks: + proc_name = proc.ImageFileName.cast( + "string", max_length=proc.ImageFileName.vol.count, errors="replace" + ) + if proc_name == "Registry" and proc.InheritedFromUniqueProcessId == 4: + return proc + + return None + def _get_hive_maxaddr(self, volatile): return ( self._hive_maxaddr_volatile if volatile else self._hive_maxaddr_non_volatile From 7d5d379144ce1a34a4346b6068e0008987b66407 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 10 Mar 2025 21:24:55 +0000 Subject: [PATCH 1573/2186] Allow desktops and window stations to come from the paged or non-paged pool --- volatility3/framework/plugins/windows/poolscanner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 7dd6821b8..1f29a3aed 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -194,14 +194,14 @@ class PoolScanner(plugins.PluginInterface): b"Wind", type_name=gui_table + constants.BANG + "tagWINDOWSTATION", size=(0x90, None), - page_type=PoolType.PAGED, + page_type=PoolType.PAGED | PoolType.NONPAGED, object_type="WindowStation", skip_type_test=True, ), PoolConstraint( b"Desk", type_name=gui_table + constants.BANG + "tagDESKTOP", - page_type=PoolType.PAGED, + page_type=PoolType.PAGED | PoolType.NONPAGED, object_type="Desktop", skip_type_test=True, ), From f17907200ddde0a4b9cf64581a841fadb034d39e Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 10 Mar 2025 21:26:58 +0000 Subject: [PATCH 1574/2186] No longer allocate session modules in support of the GUI objects at offset 0. Instantiate objects at the absolute address explicility. --- volatility3/framework/plugins/windows/windowstations.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/windowstations.py b/volatility3/framework/plugins/windows/windowstations.py index 0ca92eb97..cd02938cd 100644 --- a/volatility3/framework/plugins/windows/windowstations.py +++ b/volatility3/framework/plugins/windows/windowstations.py @@ -115,7 +115,9 @@ class WindowStations(interfaces.plugins.PluginInterface): for session_id, session_layer in session_map.items(): session_module = context.module( - gui_table_name, layer_name=session_layer, offset=0 + gui_table_name, + layer_name=session_layer, + offset=context.modules[module_name].offset, ) session_map[session_id] = session_module @@ -177,7 +179,9 @@ class WindowStations(interfaces.plugins.PluginInterface): if session_module: # create the object its own address space (per-session) yield session_module.object( - object_type=object_type, offset=mem_object.vol.offset + object_type=object_type, + offset=mem_object.vol.offset, + absolute=True, ) @classmethod From cbab1d1f49a6bdeaa2acda52290ccb925c24f9a3 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Tue, 11 Mar 2025 09:30:38 -0500 Subject: [PATCH 1577/2186] #1446 - pid is objects.Pointer, not int --- volatility3/framework/plugins/windows/pstree.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/pstree.py b/volatility3/framework/plugins/windows/pstree.py index 24f7e2356..39db56243 100644 --- a/volatility3/framework/plugins/windows/pstree.py +++ b/volatility3/framework/plugins/windows/pstree.py @@ -20,10 +20,10 @@ class PsTree(interfaces.plugins.PluginInterface): def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) - self._processes: Dict[int, Tuple[interfaces.objects.ObjectInterface, int]] = {} - self._levels: Dict[int, int] = {} - self._children: Dict[int, Set[int]] = {} - self._ancestors: Set[int] = set([]) + self._processes: Dict[objects.Pointer, Tuple[interfaces.objects.ObjectInterface, int]] = {} + self._levels: Dict[objects.Pointer, int] = {} + self._children: Dict[objects.Pointer, Set[int]] = {} + self._ancestors: Set[objects.Pointer] = set([]) @classmethod def get_requirements(cls): From d148d8f9d8fb28f0027b6f276f6e26fdfd229068 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Tue, 11 Mar 2025 09:31:54 -0500 Subject: [PATCH 1578/2186] #1446 - black fixes --- volatility3/framework/plugins/windows/pstree.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/pstree.py b/volatility3/framework/plugins/windows/pstree.py index 39db56243..3a5e1c878 100644 --- a/volatility3/framework/plugins/windows/pstree.py +++ b/volatility3/framework/plugins/windows/pstree.py @@ -20,7 +20,9 @@ class PsTree(interfaces.plugins.PluginInterface): def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) - self._processes: Dict[objects.Pointer, Tuple[interfaces.objects.ObjectInterface, int]] = {} + self._processes: Dict[ + objects.Pointer, Tuple[interfaces.objects.ObjectInterface, int] + ] = {} self._levels: Dict[objects.Pointer, int] = {} self._children: Dict[objects.Pointer, Set[int]] = {} self._ancestors: Set[objects.Pointer] = set([]) From ac74de694a82bd4aea169f3c209521fd3702d1fb Mon Sep 17 00:00:00 2001 From: superponible Date: Tue, 11 Mar 2025 09:46:10 -0500 Subject: [PATCH 1579/2186] Update volatility3/framework/layers/registry.py Co-authored-by: ikelos --- volatility3/framework/layers/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index 19e02ac33..57747c14a 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -103,7 +103,7 @@ class RegistryHive(linear.LinearlyMappedLayer): The Registry EPROCESS object if it exists, or None """ - kernel = self.context.modules.get("kernel") + kernel = self.context.modules.get(self.config["kernel_module_name"]) if not kernel or not kernel.offset: raise ValueError( From d32f3e76d4746ca235c1d5ae1a3668167ece1297 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Tue, 11 Mar 2025 09:47:47 -0500 Subject: [PATCH 1580/2186] #1645 - remove quoutes around type --- volatility3/framework/layers/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index 57747c14a..9444df675 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -95,7 +95,7 @@ class RegistryHive(linear.LinearlyMappedLayer): f"Exception when setting hive {self.name} max address, using {hex(self._maxaddr)}", ) - def _find_registry_process(self) -> Optional["extensions.EPROCESS"]: + def _find_registry_process(self) -> Optional[extensions.EPROCESS]: """Walk the active process list and return the Registry process if it exists. Duplicates PsList.list_processes() since pulling in the plugin causes problems. From 7f7295cdb7718da9719617297722de0bcd0b17f3 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Tue, 11 Mar 2025 09:52:24 -0500 Subject: [PATCH 1581/2186] #1476 - remove unfinished prefetch plugin --- .../framework/plugins/windows/prefetch.py | 535 ------------------ 1 file changed, 535 deletions(-) delete mode 100644 volatility3/framework/plugins/windows/prefetch.py diff --git a/volatility3/framework/plugins/windows/prefetch.py b/volatility3/framework/plugins/windows/prefetch.py deleted file mode 100644 index a5f054f15..000000000 --- a/volatility3/framework/plugins/windows/prefetch.py +++ /dev/null @@ -1,535 +0,0 @@ -# References : -# https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-XCA/%5bMS-XCA%5d.pdf -# https://github.com/libyal/libscca/blob/main/documentation/Windows%20Prefetch%20File%20(PF)%20format.asciidoc -# https://github.com/volatilityfoundation/volatility3/ -# https://github.com/EricZimmerman/Prefetch/tree/master/Prefetch -import logging -import pathlib -import datetime -import io -import struct - -from volatility3.framework import renderers, interfaces, exceptions, constants -from volatility3.framework.configuration import requirements -from volatility3.plugins.windows import filescan -from volatility3.framework.renderers import format_hints, conversion -from typing import Tuple, List, Union - -vollog = logging.getLogger(__name__) - - -class BitStream: - def __init__(self, source: bytes, in_pos: int): - self.source = source - self.index = in_pos + 4 - # read UInt16 little endian - mask = struct.unpack_from(" int: - if n == 0: - return 0 - return self.mask >> (32 - n) - - def skip(self, n: int) -> Union[None, Exception]: - self.mask = (self.mask << n) & 0xFFFFFFFF - self.bits -= n - if self.bits < 16: - if self.index + 2 > len(self.source): - return Exception("EOF Error") - # read UInt16 little endian - self.mask += ( - (struct.unpack_from(" int: - node = treeNodes[0] - i = leafIndex + 1 - childIndex = None - - while bits > 1: - bits -= 1 - childIndex = (mask >> bits) & 1 - if node.child[childIndex] is None: - node.child[childIndex] = treeNodes[i] - treeNodes[i].leaf = False - i += 1 - node = node.child[childIndex] - - node.child[mask & 1] = treeNodes[leafIndex] - - return i - - -def prefix_code_tree_rebuild(input: bytes) -> PREFIX_CODE_NODE: - treeNodes = [PREFIX_CODE_NODE() for _ in range(1024)] - symbolInfo = [PREFIX_CODE_SYMBOL() for _ in range(512)] - - for i in range(256): - value = input[i] - - symbolInfo[2 * i].id = 2 * i - symbolInfo[2 * i].symbol = 2 * i - symbolInfo[2 * i].length = value & 0xF - - value >>= 4 - - symbolInfo[2 * i + 1].id = 2 * i + 1 - symbolInfo[2 * i + 1].symbol = 2 * i + 1 - symbolInfo[2 * i + 1].length = value & 0xF - - symbolInfo = sorted(symbolInfo, key=lambda x: (x.length, x.symbol)) - - i = 0 - while i < 512 and symbolInfo[i].length == 0: - i += 1 - - mask = 0 - bits = 1 - - root = treeNodes[0] - root.leaf = False - - j = 1 - while i < 512: - treeNodes[j].id = j - treeNodes[j].symbol = symbolInfo[i].symbol - treeNodes[j].leaf = True - mask = mask << (symbolInfo[i].length - bits) - bits = symbolInfo[i].length - j = prefix_code_tree_add_leaf(treeNodes, j, mask, bits) - mask += 1 - i += 1 - - return root - - -def prefix_code_tree_decode_symbol( - bstr: BitStream, root: PREFIX_CODE_NODE -) -> Tuple[int, Union[None, Exception]]: - node = root - while True: - bit = bstr.lookup(1) - err = bstr.skip(1) - if err is not None: - return 0, err - - node = node.child[bit] - if node is None: - return 0, Exception("Corruption detected") - - if node.leaf: - break - return node.symbol, None - - -def lz77_huffman_decompress_chunck( - in_idx: int, input: bytes, out_idx: int, output: bytearray, chunk_size: int -) -> Tuple[int, int, Union[None, Exception]]: - # Ensure there are at least 256 bytes available to read - if in_idx + 256 > len(input): - return 0, 0, Exception("EOF Error") - - root = prefix_code_tree_rebuild(input[in_idx:]) - # print_tree(root) - bstr = BitStream(input, in_idx + 256) - - i = out_idx - - while i < out_idx + chunk_size: - symbol, err = prefix_code_tree_decode_symbol(bstr, root) - - if err is not None: - return int(bstr.index), i, err - - if symbol < 256: - output[i] = symbol - i += 1 - else: - symbol -= 256 - length = symbol & 15 - symbol >>= 4 - - offset = 0 - if symbol != 0: - offset = int(bstr.lookup(symbol)) - - offset |= 1 << symbol - offset = -offset - - if length == 15: - length = bstr.source[bstr.index] + 15 - bstr.index += 1 - - if length == 270: - length = struct.unpack_from(" 0: - if i + offset < 0: - print(i + offset) - return int(bstr.index), i, Exception("Decompression Error") - - output[i] = output[i + offset] - i += 1 - length -= 1 - if length == 0: - break - return int(bstr.index), i, None - - -def lz77_huffman_decompress( - input: bytes, output_size: int -) -> Tuple[bytes, Union[None, Exception]]: - output = bytearray(output_size) - err = None - - # Index into the input buffer. - in_idx = 0 - - # Index into the output buffer. - out_idx = 0 - - while True: - # How much data belongs in the current chunk. Chunks - # are split into maximum 65536 bytes. - chunk_size = output_size - out_idx - if chunk_size > 65536: - chunk_size = 65536 - - in_idx, out_idx, err = lz77_huffman_decompress_chunck( - in_idx, input, out_idx, output, chunk_size - ) - if err is not None: - return output, err - if out_idx >= len(output) or in_idx >= len(input): - break - return output, None - - -class Prefetch(interfaces.plugins.PluginInterface): - """Get and parse the prefetch files""" - - _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) - - @classmethod - def get_requirements(cls): - return [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.PluginRequirement( - name="filescan", plugin=filescan.FileScan, version=(0, 0, 0) - ), - ] - - @classmethod - def version_17(cls, prefetch_file): - """Extract pf information for Version 17""" - stream = io.BytesIO(prefetch_file) - - stream.seek(0x000C) - file_size = int.from_bytes(stream.read(4), "little") - - stream.seek(0x0010) - executable_raw = stream.read(60).decode("utf-16") - executable_name = executable_raw.split("\u0000")[0] - - stream.seek(0x004C) - prefetch_hash = int.from_bytes(stream.read(4), "little") - - stream.seek(0x0078) - last_execution_filetime = int.from_bytes(stream.read(8), "little") - last_execution_filetime_human = conversion.wintime_to_datetime( - last_execution_filetime - ) - - stream.seek(0x0090) - execution_counter = int.from_bytes(stream.read(4), "little") - - yield ( - executable_name, - file_size, - format_hints.Hex(prefetch_hash), - last_execution_filetime_human, - execution_counter, - ) - - @classmethod - def version_23(cls, prefetch_file): - """Extract pf information for Version 23""" - stream = io.BytesIO(prefetch_file) - - stream.seek(0x000C) - file_size = int.from_bytes(stream.read(4), "little") - - stream.seek(0x0010) - executable_raw = stream.read(60).decode("utf-16") - executable_name = executable_raw.split("\u0000")[0] - - stream.seek(0x004C) - prefetch_hash = int.from_bytes(stream.read(4), "little") - - stream.seek(0x0080) - last_execution_filetime = int.from_bytes(stream.read(8), "little") - last_execution_filetime_human = conversion.wintime_to_datetime( - last_execution_filetime - ) - - stream.seek(0x0098) - execution_counter = int.from_bytes(stream.read(4), "little") - - yield ( - executable_name, - file_size, - format_hints.Hex(prefetch_hash), - last_execution_filetime_human, - execution_counter, - ) - - @classmethod - def version_26(cls, prefetch_file): - """Extract pf information for Version 26""" - stream = io.BytesIO(prefetch_file) - - stream.seek(0x000C) - file_size = int.from_bytes(stream.read(4), "little") - - stream.seek(0x0010) - executable_raw = stream.read(60).decode("utf-16") - executable_name = executable_raw.split("\u0000")[0] - - stream.seek(0x004C) - prefetch_hash = int.from_bytes(stream.read(4), "little") - - stream.seek(0x0080) - last_execution_filetime = int.from_bytes(stream.read(8), "little") - last_execution_filetime_human = conversion.wintime_to_datetime( - last_execution_filetime - ) - - stream.seek(0x00D0) - execution_counter = int.from_bytes(stream.read(4), "little") - - yield ( - executable_name, - file_size, - format_hints.Hex(prefetch_hash), - last_execution_filetime_human, - execution_counter, - ) - - @classmethod - def version_30(cls, prefetch_file): - """Extract pf information for Version 30""" - stream = io.BytesIO(prefetch_file) - - stream.seek(0x000C) - file_size = int.from_bytes(stream.read(4), "little") - - stream.seek(0x0010) - executable_raw = stream.read(60).decode("utf-16") - executable_name = executable_raw.split("\u0000")[0] - - stream.seek(0x004C) - prefetch_hash = int.from_bytes(stream.read(4), "little") - - stream.seek(0x0080) - # The first FILETIME is the most recent run time - last_execution_filetime = int.from_bytes(stream.read(8), "little") - last_execution_filetime_human = conversion.wintime_to_datetime( - last_execution_filetime - ) - - stream.seek(0x00C8) # Variant 1 - execution_counter = int.from_bytes(stream.read(4), "little") - if execution_counter == 0: - stream.seek(0x00D0) # Variant 2 - execution_counter = int.from_bytes(stream.read(4), "little") - - yield ( - executable_name, - file_size, - format_hints.Hex(prefetch_hash), - last_execution_filetime_human, - execution_counter, - ) - - @classmethod - def parse_prefetch(cls, prefetch_file): - WinXpOrWin2K3 = 17 - VistaOrWin7 = 23 - Win8xOrWin2012x = 26 - Win10OrWin11 = 30 - stream = io.BytesIO(prefetch_file) - # First, we need to know if the prefetch is compressed (Win10/11) - signature = prefetch_file[:3].decode() - if signature == "MAM": - vollog.info("Windows 1X prefetch file detected.") - # The size of decompressed data is at offset 4 - stream.seek(0x0004) - decompressed_size = int.from_bytes(stream.read(4), "little") - vollog.info(f"decompressed size : {decompressed_size}") - stream.seek(0x0008) - compressed_bytes = stream.read() - prefetch_file = lz77_huffman_decompress( - bytearray(compressed_bytes), decompressed_size - )[0] - try: - file_version = int.from_bytes(prefetch_file[:4], "little") - signature = prefetch_file[4:8].decode() - vollog.info(f"File version : {file_version}") - vollog.info(f"Signature : {signature}") - except Exception: - # We can not even read the header - pass - - if signature != "SCCA": - vollog.info("Wrong signature, should be SCCA") - return - if file_version == WinXpOrWin2K3: - for result in cls.version_17(prefetch_file): - yield result - elif file_version == VistaOrWin7: - for result in cls.version_23(prefetch_file): - yield result - elif file_version == Win8xOrWin2012x: - for result in cls.version_26(prefetch_file): - yield result - elif file_version == Win10OrWin11: - for result in cls.version_30(prefetch_file): - yield result - - def _generator(self, files): - kernel = self.context.modules[self.config["kernel"]] - for file_obj in files: - """Get the prefetch recovered files from the “filescan” plugin;""" - try: - file_name = file_obj.FileName.String - file_extension = pathlib.Path(file_name).suffix - if file_extension == ".pf": - """If found, try to dump the prefetch file (inspired from the "DumpFiles" plugin)""" - memory_objects = [] - memory_layer_name = self.context.layers[kernel.layer_name].config[ - "memory_layer" - ] - memory_layer = self.context.layers[memory_layer_name] - primary_layer = self.context.layers[kernel.layer_name] - for member_name in ["DataSectionObject", "ImageSectionObject"]: - try: - section_obj = getattr( - file_obj.SectionObjectPointer, member_name - ) - control_area = section_obj.dereference().cast( - "_CONTROL_AREA" - ) - if control_area.is_valid(): - vollog.info(f"Found : {file_obj.FileName.String}") - memory_objects.append((control_area, memory_layer)) - except exceptions.InvalidAddressException: - vollog.log( - constants.LOGLEVEL_VVV, - f"{member_name} is unavailable for file {file_obj.vol.offset:#x}", - ) - try: - scm_pointer = file_obj.SectionObjectPointer.SharedCacheMap - shared_cache_map = scm_pointer.dereference().cast( - "_SHARED_CACHE_MAP" - ) - if shared_cache_map.is_valid(): - memory_objects.append((shared_cache_map, primary_layer)) - except exceptions.InvalidAddressException: - vollog.log( - constants.LOGLEVEL_VVV, - f"SharedCacheMap is unavailable for file {file_obj.vol.offset:#x}", - ) - vollog.info(f"memory_objects : {memory_objects}") - - """Now, read and parse our PF to retrieve our artifacts""" - for memory_object, layer in memory_objects: - bytes_read = 0 - prefetch_raw = b"" - try: - for ( - mem_offset, - _, - datasize, - ) in memory_object.get_available_pages(): - prefetch_raw += layer.read( - mem_offset, datasize, pad=True - ) - bytes_read += len(prefetch_raw) - vollog.info(f"Read {bytes_read}") - if not bytes_read: - vollog.info("Prefetch is empty") - else: - """Prefetch parsing""" - for result in self.parse_prefetch(prefetch_raw): - yield 0, result - - except exceptions.InvalidAddressException: - vollog.debug( - f"Unable to dump file at {file_obj.vol.offset:#x}" - ) - - except exceptions.InvalidAddressException: - continue - - def run(self): - kernel = self.context.modules[self.config["kernel"]] - return renderers.TreeGrid( - [ - ("ExecutableName", str), - ("FileSize", int), - ("PrefetchHash", format_hints.Hex), - ("LastExecution", datetime.datetime), - ("ExecutionCounter", int), - ], - self._generator( - filescan.FileScan.scan_files( - self.context, kernel.layer_name, kernel.symbol_table_name - ) - ), - ) From d9c9e11127963f8059a5ed5ee05def65fbfdbd45 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Tue, 11 Mar 2025 13:41:01 -0500 Subject: [PATCH 1582/2186] #1446 - uses ints instead of objects.Pointer --- volatility3/framework/plugins/windows/pstree.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/pstree.py b/volatility3/framework/plugins/windows/pstree.py index 3a5e1c878..373c555f6 100644 --- a/volatility3/framework/plugins/windows/pstree.py +++ b/volatility3/framework/plugins/windows/pstree.py @@ -5,7 +5,7 @@ import datetime import logging from typing import Callable, Dict, Set, Tuple -from volatility3.framework import objects, interfaces, renderers, exceptions +from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import pslist @@ -20,12 +20,10 @@ class PsTree(interfaces.plugins.PluginInterface): def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) - self._processes: Dict[ - objects.Pointer, Tuple[interfaces.objects.ObjectInterface, int] - ] = {} - self._levels: Dict[objects.Pointer, int] = {} - self._children: Dict[objects.Pointer, Set[int]] = {} - self._ancestors: Set[objects.Pointer] = set([]) + self._processes: Dict[int, Tuple[interfaces.objects.ObjectInterface, int]] = {} + self._levels: Dict[int, int] = {} + self._children: Dict[int, Set[int]] = {} + self._ancestors: Set[int] = set([]) @classmethod def get_requirements(cls): @@ -54,7 +52,7 @@ class PsTree(interfaces.plugins.PluginInterface): def find_level( self, - pid: objects.Pointer, + pid: int, filter_func: Callable[ [interfaces.objects.ObjectInterface], bool ] = lambda _: False, @@ -106,7 +104,7 @@ class PsTree(interfaces.plugins.PluginInterface): process_pids = set([]) - def yield_processes(pid, descendant: bool = False): + def yield_processes(pid: int, descendant: bool = False): if pid in process_pids: vollog.debug(f"Pid cycle: already processed pid {pid}") return None From 95aee9a66402480c24f042dde1085bdbfc92d4ea Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Tue, 11 Mar 2025 16:04:06 -0500 Subject: [PATCH 1583/2186] #1476 - introduce RegistryException for simpler exception handling --- volatility3/framework/layers/registry.py | 10 ++++--- .../framework/plugins/windows/amcache.py | 10 +++---- .../framework/plugins/windows/envars.py | 27 +++++++------------ .../plugins/windows/getservicesids.py | 9 +++---- .../framework/plugins/windows/getsids.py | 10 +++---- .../framework/plugins/windows/hashdump.py | 11 +++++--- .../framework/plugins/windows/lsadump.py | 9 +++---- .../plugins/windows/registry/printkey.py | 22 +++++++-------- .../plugins/windows/registry/userassist.py | 11 +++----- .../plugins/windows/scheduled_tasks.py | 19 +++++-------- .../framework/plugins/windows/svcscan.py | 4 +-- .../symbols/windows/extensions/registry.py | 24 ++++++----------- .../plugins/windows/registry/certificates.py | 2 +- 13 files changed, 69 insertions(+), 99 deletions(-) diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index 9ca32ed31..1c16cedcf 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -19,11 +19,15 @@ from volatility3.plugins.windows import pslist vollog = logging.getLogger(__name__) -class RegistryFormatException(exceptions.LayerException): +class RegistryException(exceptions.LayerException): + """Base Registry Exception class for catching Registry layer errors.""" + + +class RegistryFormatException(RegistryException): """Thrown when an error occurs with the underlying Registry file format.""" -class RegistryInvalidIndex(exceptions.LayerException): +class RegistryInvalidIndex(RegistryException): """Thrown when an index that doesn't exist or can't be found occurs.""" @@ -142,7 +146,7 @@ class RegistryHive(linear.LinearlyMappedLayer): cell = self.get_cell(cell_offset) try: signature = cell.cast("string", max_length=2, encoding="latin-1") - except (RegistryInvalidIndex, exceptions.InvalidAddressException): + except (RegistryException, exceptions.InvalidAddressException): vollog.debug( f"Failed to get cell signature for cell (0x{cell.vol.offset:x})" ) diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index 133297de3..5920cd266 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -544,7 +544,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): amcache.get_key("Root\\InventoryDriverBinary") # type: ignore ) ) - except (KeyError, registry.RegistryFormatException): + except (KeyError, registry.RegistryException): # Registry key not found pass @@ -555,7 +555,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): amcache.get_key("Root\\Programs") ) # type: ignore } - except (KeyError, registry.RegistryFormatException): + except (KeyError, registry.RegistryException): programs = {} try: @@ -565,7 +565,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), key=_entry_sort_key, ) - except (KeyError, registry.RegistryFormatException): + except (KeyError, registry.RegistryException): files = [] for program_id, file_entries in itertools.groupby( @@ -594,7 +594,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): amcache.get_key("Root\\InventoryApplication") # type: ignore ) ) - except (KeyError, registry.RegistryFormatException): + except (KeyError, registry.RegistryException): programs = {} try: @@ -604,7 +604,7 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ), key=_entry_sort_key, ) - except (KeyError, registry.RegistryFormatException): + except (KeyError, registry.RegistryException): files = [] for program_id, file_entries in itertools.groupby( diff --git a/volatility3/framework/plugins/windows/envars.py b/volatility3/framework/plugins/windows/envars.py index d197fbc98..6360ca10b 100644 --- a/volatility3/framework/plugins/windows/envars.py +++ b/volatility3/framework/plugins/windows/envars.py @@ -73,13 +73,11 @@ class Envars(interfaces.plugins.PluginInterface): ) except ( KeyError, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): with contextlib.suppress( KeyError, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): sys = hive.get_key( "ControlSet001\\Control\\Session Manager\\Environment" @@ -87,8 +85,7 @@ class Envars(interfaces.plugins.PluginInterface): if sys: with contextlib.suppress( KeyError, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): for node in sys.get_values(): try: @@ -97,8 +94,7 @@ class Envars(interfaces.plugins.PluginInterface): values.append(value_node_name) except ( exceptions.InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): vollog.log( constants.LOGLEVEL_VVV, @@ -110,15 +106,13 @@ class Envars(interfaces.plugins.PluginInterface): ## The user-specific variables with contextlib.suppress( KeyError, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): ntuser = hive.get_key("Environment") if ntuser: with contextlib.suppress( KeyError, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): for node in ntuser.get_values(): try: @@ -127,8 +121,7 @@ class Envars(interfaces.plugins.PluginInterface): values.append(value_node_name) except ( exceptions.InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): vollog.log( constants.LOGLEVEL_VVV, @@ -141,8 +134,7 @@ class Envars(interfaces.plugins.PluginInterface): key = hive.get_key("Volatile Environment") except ( KeyError, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): continue try: @@ -153,8 +145,7 @@ class Envars(interfaces.plugins.PluginInterface): values.append(value_node_name) except ( exceptions.InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): vollog.log( constants.LOGLEVEL_VVV, diff --git a/volatility3/framework/plugins/windows/getservicesids.py b/volatility3/framework/plugins/windows/getservicesids.py index c334fe722..19a73fba8 100644 --- a/volatility3/framework/plugins/windows/getservicesids.py +++ b/volatility3/framework/plugins/windows/getservicesids.py @@ -88,16 +88,14 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface): except ( KeyError, exceptions.InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): try: services = hive.get_key(r"ControlSet001\Services") except ( KeyError, exceptions.InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): continue @@ -107,8 +105,7 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface): sid_name = s.get_name() except ( exceptions.InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): continue diff --git a/volatility3/framework/plugins/windows/getsids.py b/volatility3/framework/plugins/windows/getsids.py index 0d54ea12c..786dc3394 100644 --- a/volatility3/framework/plugins/windows/getsids.py +++ b/volatility3/framework/plugins/windows/getsids.py @@ -116,8 +116,7 @@ class GetSIDs(interfaces.plugins.PluginInterface): sid = str(subkey.get_name()) except ( exceptions.InvalidAddressException, - layers.registry.RegistryFormatException, - layers.registry.RegistryInvalidIndex, + layers.registry.RegistryException, ): continue @@ -127,8 +126,7 @@ class GetSIDs(interfaces.plugins.PluginInterface): value_node_name = node.get_name() or "(Default)" except ( exceptions.InvalidAddressException, - layers.registry.RegistryFormatException, - layers.registry.RegistryInvalidIndex, + layers.registry.RegistryException, ): continue try: @@ -162,13 +160,13 @@ class GetSIDs(interfaces.plugins.PluginInterface): except ( ValueError, exceptions.InvalidAddressException, - layers.registry.RegistryFormatException, + layers.registry.RegistryException, ): continue except ( KeyError, exceptions.InvalidAddressException, - layers.registry.RegistryFormatException, + layers.registry.RegistryException, ): continue diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index d90e23802..68d5f834a 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -12,6 +12,7 @@ from Crypto.Cipher import AES, ARC4, DES from volatility3.framework import interfaces, renderers, exceptions, constants from volatility3.framework.configuration import requirements from volatility3.framework.exceptions import InvalidAddressException +from volatility3.framework.layers import registry as registrylayer from volatility3.framework.symbols.windows.extensions import registry from volatility3.plugins.windows.registry import hivelist @@ -334,7 +335,7 @@ class Hashdump(interfaces.plugins.PluginInterface): try: if hive: result = hive.get_key(key) - except (KeyError, registry.RegistryFormatException): + except (KeyError, registrylayer.RegistryException): vollog.info( f"Unable to load the required registry key {hive.get_name()}\\{key} from this memory image" ) @@ -382,8 +383,7 @@ class Hashdump(interfaces.plugins.PluginInterface): bootkey += class_data.decode("utf-16-le") except ( InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registrylayer.RegistryException, ) as excp: vollog.log( constants.LOGLEVEL_VVV, f"Unable to read Lsa key {lk}: {excp}" @@ -468,7 +468,10 @@ class Hashdump(interfaces.plugins.PluginInterface): if v.get_name() == "V": try: sam_data = samhive.read(v.Data + 4, v.DataLength) - except (exceptions.InvalidAddressException, registry.RegistryHive): + except ( + exceptions.InvalidAddressException, + registrylayer.RegistryException, + ): return None if not sam_data: diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 989d4d473..72f2fa146 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -125,8 +125,7 @@ class Lsadump(interfaces.plugins.PluginInterface): enc_secret_value = next(enc_secret_key.get_values(), None) except ( InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): enc_secret_value = None @@ -209,8 +208,7 @@ class Lsadump(interfaces.plugins.PluginInterface): except ( StopIteration, InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): enc_secret_value = None @@ -233,8 +231,7 @@ class Lsadump(interfaces.plugins.PluginInterface): key_name = key.get_name() except ( InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): key_name = renderers.UnreadableValue() diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index c6d216760..c8b8f9cfb 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -12,7 +12,7 @@ from volatility3.framework.layers.registry import ( RegistryHive, RegistryFormatException, InvalidAddressException, - RegistryInvalidIndex, + RegistryException, ) from volatility3.framework.renderers import TreeGrid, conversion, format_hints from volatility3.framework.symbols.windows.extensions.registry import RegValueTypes @@ -88,8 +88,7 @@ class PrintKey(interfaces.plugins.PluginInterface): key_path_names.append(k.get_name()) except ( InvalidAddressException, - RegistryFormatException, - RegistryInvalidIndex, + RegistryException, ): key_path_names.append("-") key_path = "\\".join([k for k in key_path_names]) @@ -117,8 +116,7 @@ class PrintKey(interfaces.plugins.PluginInterface): key_node.get_name() except ( exceptions.InvalidAddressException, - RegistryFormatException, - RegistryInvalidIndex, + RegistryException, ) as excp: vollog.debug(excp) continue @@ -168,8 +166,7 @@ class PrintKey(interfaces.plugins.PluginInterface): key_node_name = node.get_name() except ( exceptions.InvalidAddressException, - RegistryFormatException, - RegistryInvalidIndex, + RegistryException, ) as excp: vollog.debug(excp) key_node_name = renderers.UnreadableValue() @@ -196,8 +193,7 @@ class PrintKey(interfaces.plugins.PluginInterface): value_node_name = node.get_name() or "(Default)" except ( exceptions.InvalidAddressException, - RegistryFormatException, - RegistryInvalidIndex, + RegistryException, ) as excp: vollog.debug(excp) value_node_name = renderers.UnreadableValue() @@ -206,7 +202,7 @@ class PrintKey(interfaces.plugins.PluginInterface): value_type = RegValueTypes(node.Type).name except ( exceptions.InvalidAddressException, - RegistryFormatException, + RegistryException, ) as excp: vollog.debug(excp) value_type = renderers.UnreadableValue() @@ -241,7 +237,7 @@ class PrintKey(interfaces.plugins.PluginInterface): except ( ValueError, exceptions.InvalidAddressException, - RegistryFormatException, + RegistryException, ) as excp: vollog.debug(excp) value_data = renderers.UnreadableValue() @@ -283,13 +279,13 @@ class PrintKey(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, KeyError, - RegistryFormatException, + RegistryException, ) as excp: if isinstance(excp, KeyError): vollog.debug( f"Key '{key}' not found in Hive at offset {hex(hive.hive_offset)}." ) - elif isinstance(excp, RegistryFormatException): + elif isinstance(excp, RegistryException): vollog.debug(excp) elif isinstance(excp, exceptions.InvalidAddressException): vollog.debug( diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index 738f230b7..ef51b91bf 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -15,8 +15,7 @@ from volatility3.framework.configuration import requirements from volatility3.framework.layers.physical import BufferDataLayer from volatility3.framework.layers.registry import ( RegistryHive, - RegistryFormatException, - RegistryInvalidIndex, + RegistryException, ) from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed @@ -176,7 +175,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac "software\\microsoft\\windows\\currentversion\\explorer\\userassist", return_list=True, ) - except RegistryFormatException as e: + except RegistryException as e: vollog.warning( f"Error accessing UserAssist key in {hive_name} at {hive.hive_offset:#x}: {e}" ) @@ -246,8 +245,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac subkey_name = subkey.get_name() except ( exceptions.InvalidAddressException, - RegistryFormatException, - RegistryInvalidIndex, + RegistryException, ): subkey_name = renderers.UnreadableValue() @@ -276,8 +274,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac value_name = value.get_name() except ( exceptions.InvalidAddressException, - RegistryFormatException, - RegistryInvalidIndex, + RegistryException, ): value_name = renderers.UnreadableValue() diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index dd821bb35..ba54e19ec 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -313,8 +313,7 @@ def _build_guid_name_map(key: reg_extensions.CM_KEY_NODE) -> Dict[str, str]: break except ( exceptions.InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ): continue @@ -334,8 +333,7 @@ def _build_guid_name_map(key: reg_extensions.CM_KEY_NODE) -> Dict[str, str]: ) except ( exceptions.InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryInvalidIndex, + registry.RegistryException, ) as excp: vollog.debug(f"Exception occurred while decoding id_str: {excp}") @@ -1221,14 +1219,14 @@ information about triggers, actions, run times, and creation times.""" task_key = software_hive.get_key( "Microsoft\\Windows NT\\CurrentVersion\\Schedule\\TaskCache\\Tasks" ) - except (KeyError, registry.RegistryFormatException): + except (KeyError, registry.RegistryException): task_key = None try: task_tree = software_hive.get_key( "Microsoft\\Windows NT\\CurrentVersion\\Schedule\\TaskCache\\Tree" ) - except (KeyError, registry.RegistryFormatException): + except (KeyError, registry.RegistryException): task_tree = None return (task_key, task_tree) # type: ignore @@ -1243,8 +1241,7 @@ information about triggers, actions, run times, and creation times.""" name = str(value.get_name()) except ( exceptions.InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryFormatException, + registry.RegistryException, ): continue @@ -1255,8 +1252,7 @@ information about triggers, actions, run times, and creation times.""" key_name = str(key.get_name()) except ( exceptions.InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryFormatException, + registry.RegistryException, ): key_name = None @@ -1264,8 +1260,7 @@ information about triggers, actions, run times, and creation times.""" task_name = guid_mapping.get(key_name, renderers.NotAvailableValue()) except ( exceptions.InvalidAddressException, - registry.RegistryFormatException, - registry.RegistryFormatException, + registry.RegistryException, ): task_name = renderers.NotAvailableValue() diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 915850574..80400ec5a 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -162,7 +162,7 @@ class SvcScan(interfaces.plugins.PluginInterface): except ( KeyError, exceptions.InvalidAddressException, - registry.RegistryFormatException, + registry.RegistryException, ): try: return cast( @@ -171,7 +171,7 @@ class SvcScan(interfaces.plugins.PluginInterface): except ( KeyError, exceptions.InvalidAddressException, - registry.RegistryFormatException, + registry.RegistryException, ): vollog.log( constants.LOGLEVEL_VVVV, diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index c6c2ee358..987f01ac1 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -9,9 +9,8 @@ from typing import Iterator, Optional, Union, cast from volatility3.framework import constants, exceptions, interfaces, objects from volatility3.framework.layers.registry import ( - RegistryFormatException, + RegistryException, RegistryHive, - RegistryInvalidIndex, ) vollog = logging.getLogger(__name__) @@ -103,7 +102,7 @@ class CMHIVE(objects.StructType): for attr in ["FileFullPath", "FileUserName", "HiveRootPath"]: with contextlib.suppress( - AttributeError, exceptions.InvalidAddressException, RegistryInvalidIndex + AttributeError, exceptions.InvalidAddressException, RegistryException ): name = getattr(self, attr) if name.Length > 0: @@ -201,8 +200,7 @@ class CM_KEY_NODE(objects.StructType): signature = node.cast("string", max_length=2, encoding="latin-1") except ( exceptions.InvalidAddressException, - RegistryFormatException, - RegistryInvalidIndex, + RegistryException, ): return None @@ -231,8 +229,7 @@ class CM_KEY_NODE(objects.StructType): subnode = hive.get_node(subnode_offset) except ( exceptions.InvalidAddressException, - RegistryFormatException, - RegistryInvalidIndex, + RegistryException, ): vollog.log( constants.LOGLEVEL_VVV, @@ -258,11 +255,7 @@ class CM_KEY_NODE(objects.StructType): if v != 0: try: node = hive.get_node(v) - except ( - RegistryInvalidIndex, - RegistryFormatException, - RegistryInvalidIndex, - ) as excp: + except (RegistryException,) as excp: vollog.debug(f"Invalid address {excp}") continue if isinstance(node, CM_KEY_VALUE): @@ -270,8 +263,7 @@ class CM_KEY_NODE(objects.StructType): except ( exceptions.InvalidAddressException, - RegistryFormatException, - RegistryInvalidIndex, + RegistryException, ) as excp: vollog.debug(f"Invalid address in get_values iteration: {excp}") return None @@ -361,7 +353,7 @@ class CM_KEY_VALUE(objects.StructType): offset=layer.get_cell(block_offset).vol.offset, length=amount, ) - except (exceptions.InvalidAddressException, RegistryInvalidIndex): + except (exceptions.InvalidAddressException, RegistryException): vollog.debug( f"Failed to read {amount:x} bytes of data, padding with {amount:x}" ) @@ -371,7 +363,7 @@ class CM_KEY_VALUE(objects.StructType): # but the length at the start could be negative so just adding 4 to jump past it try: data = layer.read(self.Data + 4, datalen) - except (exceptions.InvalidAddressException, RegistryInvalidIndex): + except (exceptions.InvalidAddressException, RegistryException): vollog.debug( f"Failed to read {datalen:x} bytes of data, returning {datalen:x} null bytes" ) diff --git a/volatility3/plugins/windows/registry/certificates.py b/volatility3/plugins/windows/registry/certificates.py index eea05548b..fd33d75a7 100644 --- a/volatility3/plugins/windows/registry/certificates.py +++ b/volatility3/plugins/windows/registry/certificates.py @@ -80,7 +80,7 @@ class Certificates(interfaces.plugins.PluginInterface): ]: with contextlib.suppress( KeyError, - registry.RegistryFormatException, + registry.RegistryException, exceptions.InvalidAddressException, ): # Walk it From 7b0628d9c1732fb964c31eeb349a93ddc524232c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 15:59:07 +0100 Subject: [PATCH 1584/2186] windows testing data --- .../windows.driverirp.DriverIrp.json | 32 + .../windows/test_data/windows.info.Info.json | 96 +++ .../test_data/windows.pstree.Pstree.json | 375 ++++++++++ .../windows.registry.hivescan.HiveScan.json | 100 +++ .../windows.registry.printkey.PrintKey.json | 61 ++ ...indows.registry.userassist.UserAssist.json | 123 ++++ .../test_data/windows.sessions.Sessions.json | 36 + .../windows.shimcachemem.ShimcacheMem.json | 41 ++ .../test_data/windows.timers.Timers.json | 684 ++++++++++++++++++ ...ndows.unloadedmodules.UnloadedModules.json | 67 ++ .../test_data/windows.vadinfo.VadInfo.json | 94 +++ .../test_data/windows.vadwalk.VadWalk.json | 76 ++ .../test_data/windows.virtmap.VirtMap.json | 82 +++ 13 files changed, 1867 insertions(+) create mode 100644 test/plugins/windows/test_data/windows.driverirp.DriverIrp.json create mode 100644 test/plugins/windows/test_data/windows.info.Info.json create mode 100644 test/plugins/windows/test_data/windows.pstree.Pstree.json create mode 100644 test/plugins/windows/test_data/windows.registry.hivescan.HiveScan.json create mode 100644 test/plugins/windows/test_data/windows.registry.printkey.PrintKey.json create mode 100644 test/plugins/windows/test_data/windows.registry.userassist.UserAssist.json create mode 100644 test/plugins/windows/test_data/windows.sessions.Sessions.json create mode 100644 test/plugins/windows/test_data/windows.shimcachemem.ShimcacheMem.json create mode 100644 test/plugins/windows/test_data/windows.timers.Timers.json create mode 100644 test/plugins/windows/test_data/windows.unloadedmodules.UnloadedModules.json create mode 100644 test/plugins/windows/test_data/windows.vadinfo.VadInfo.json create mode 100644 test/plugins/windows/test_data/windows.vadwalk.VadWalk.json create mode 100644 test/plugins/windows/test_data/windows.virtmap.VirtMap.json diff --git a/test/plugins/windows/test_data/windows.driverirp.DriverIrp.json b/test/plugins/windows/test_data/windows.driverirp.DriverIrp.json new file mode 100644 index 000000000..f026e54a2 --- /dev/null +++ b/test/plugins/windows/test_data/windows.driverirp.DriverIrp.json @@ -0,0 +1,32 @@ +{ + "GENERIC": [ + "IRP_MJ_CREATE", + "IRP_MJ_CREATE_NAMED_PIPE", + "IRP_MJ_CLOSE", + "IRP_MJ_READ", + "IRP_MJ_WRITE", + "IRP_MJ_QUERY_INFORMATION", + "IRP_MJ_SET_INFORMATION", + "IRP_MJ_QUERY_EA", + "IRP_MJ_SET_EA", + "IRP_MJ_FLUSH_BUFFERS", + "IRP_MJ_QUERY_VOLUME_INFORMATION", + "IRP_MJ_SET_VOLUME_INFORMATION", + "IRP_MJ_DIRECTORY_CONTROL", + "IRP_MJ_FILE_SYSTEM_CONTROL", + "IRP_MJ_DEVICE_CONTROL", + "IRP_MJ_INTERNAL_DEVICE_CONTROL", + "IRP_MJ_SHUTDOWN", + "IRP_MJ_LOCK_CONTROL", + "IRP_MJ_CLEANUP", + "IRP_MJ_CREATE_MAILSLOT", + "IRP_MJ_QUERY_SECURITY", + "IRP_MJ_SET_SECURITY", + "IRP_MJ_POWER", + "IRP_MJ_SYSTEM_CONTROL", + "IRP_MJ_DEVICE_CHANGE", + "IRP_MJ_QUERY_QUOTA", + "IRP_MJ_SET_QUOTA", + "IRP_MJ_PNP" + ] +} \ No newline at end of file diff --git a/test/plugins/windows/test_data/windows.info.Info.json b/test/plugins/windows/test_data/windows.info.Info.json new file mode 100644 index 000000000..ef350389f --- /dev/null +++ b/test/plugins/windows/test_data/windows.info.Info.json @@ -0,0 +1,96 @@ +{ + "WINDOWS10_GENERIC": [ + { + "Value": "0xf8043601f000", + "Variable": "Kernel Base" + }, + { + "Value": "0x6d4000", + "Variable": "DTB" + }, + { + "Value": "True", + "Variable": "Is64Bit" + }, + { + "Value": "False", + "Variable": "IsPAE" + }, + { + "Value": "0 WindowsIntel32e", + "Variable": "layer_name" + }, + { + "Value": "1 WindowsCrashDump64Layer", + "Variable": "memory_layer" + }, + { + "Value": "2 FileLayer", + "Variable": "base_layer" + }, + { + "Value": "0xf80436c1fb20", + "Variable": "KdDebuggerDataBlock" + }, + { + "Value": "19041.1.amd64fre.vb_release.1912", + "Variable": "NTBuildLab" + }, + { + "Value": "0", + "Variable": "CSDVersion" + }, + { + "Value": "0xf80436c2e420", + "Variable": "KdVersionBlock" + }, + { + "Value": "15.19041", + "Variable": "Major/Minor" + }, + { + "Value": "34404", + "Variable": "MachineType" + }, + { + "Value": "1", + "Variable": "KeNumberProcessors" + }, + { + "Value": "2025-03-06 17:59:20+00:00", + "Variable": "SystemTime" + }, + { + "Value": "C:\\Windows", + "Variable": "NtSystemRoot" + }, + { + "Value": "NtProductWinNt", + "Variable": "NtProductType" + }, + { + "Value": "10", + "Variable": "NtMajorVersion" + }, + { + "Value": "0", + "Variable": "NtMinorVersion" + }, + { + "Value": "10", + "Variable": "PE MajorOperatingSystemVersion" + }, + { + "Value": "0", + "Variable": "PE MinorOperatingSystemVersion" + }, + { + "Value": "34404", + "Variable": "PE Machine" + }, + { + "Value": "Tue Sep 26 06:53:33 2023", + "Variable": "PE TimeDateStamp" + } + ] +} \ No newline at end of file diff --git a/test/plugins/windows/test_data/windows.pstree.Pstree.json b/test/plugins/windows/test_data/windows.pstree.Pstree.json new file mode 100644 index 000000000..76971ddd4 --- /dev/null +++ b/test/plugins/windows/test_data/windows.pstree.Pstree.json @@ -0,0 +1,375 @@ +{ + "WINDOWS10_GENERIC": { + "Audit": "\\Device\\HarddiskVolume4\\Windows\\System32\\winlogon.exe", + "Cmd": null, + "CreateTime": "2025-03-06T17:49:34+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "winlogon.exe", + "Offset(V)": 145201769754752, + "PID": 3616, + "PPID": 3568, + "Path": null, + "SessionId": 2, + "Threads": 3, + "Wow64": false, + "__children": [ + { + "Audit": "\\Device\\HarddiskVolume4\\Windows\\System32\\userinit.exe", + "Cmd": null, + "CreateTime": "2025-03-06T17:50:15+00:00", + "ExitTime": "2025-03-06T17:50:32+00:00", + "Handles": null, + "ImageFileName": "userinit.exe", + "Offset(V)": 145201786712256, + "PID": 4832, + "PPID": 3616, + "Path": null, + "SessionId": 2, + "Threads": 0, + "Wow64": false, + "__children": [ + { + "Audit": "\\Device\\HarddiskVolume4\\Windows\\explorer.exe", + "Cmd": "C:\\Windows\\Explorer.EXE", + "CreateTime": "2025-03-06T17:50:17+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "explorer.exe", + "Offset(V)": 145201787191488, + "PID": 4912, + "PPID": 4832, + "Path": "C:\\Windows\\Explorer.EXE", + "SessionId": 2, + "Threads": 57, + "Wow64": false, + "__children": [ + { + "Audit": "\\Device\\HarddiskVolume4\\Windows\\System32\\SecurityHealthSystray.exe", + "Cmd": "\"C:\\Windows\\System32\\SecurityHealthSystray.exe\" ", + "CreateTime": "2025-03-06T17:51:05+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "SecurityHealth", + "Offset(V)": 145201826054336, + "PID": 1860, + "PPID": 4912, + "Path": "C:\\Windows\\System32\\SecurityHealthSystray.exe", + "SessionId": 2, + "Threads": 2, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": "\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --no-startup-window --win-session-start", + "CreateTime": "2025-03-06T17:51:05+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201826906304, + "PID": 3952, + "PPID": 4912, + "Path": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "SessionId": 2, + "Threads": 61, + "Wow64": false, + "__children": [ + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": "\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --type=renderer --string-annotations --instant-process --pdf-upsell-enabled --video-capture-use-gpu-memory-buffer --lang=en-US --js-flags=--ms-user-locale= --device-scale-factor=1 --num-raster-threads=1 --renderer-client-id=21 --time-ticks-at-unix-epoch=-1741283277737123 --launch-time-ticks=556708795 --always-read-main-dll --field-trial-handle=3928,i,15721868202469256575,6833569417170289141,262144 --variations-seed-version --mojo-platform-channel-handle=3996 /prefetch:1", + "CreateTime": "2025-03-06T17:57:14+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201787768960, + "PID": 5348, + "PPID": 3952, + "Path": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "SessionId": 2, + "Threads": 19, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": "\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --type=utility --utility-sub-type=edge_xpay_wallet.mojom.EdgeXPayWalletService --lang=en-US --service-sandbox-type=utility --string-annotations --always-read-main-dll --field-trial-handle=6740,i,15721868202469256575,6833569417170289141,262144 --variations-seed-version --mojo-platform-channel-handle=6732 /prefetch:8", + "CreateTime": "2025-03-06T17:57:52+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201832050880, + "PID": 3876, + "PPID": 3952, + "Path": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "SessionId": 2, + "Threads": 8, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": "\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --type=utility --utility-sub-type=edge_search_indexer.mojom.SearchIndexerInterfaceBroker --lang=en-US --service-sandbox-type=search_indexer --message-loop-type-ui --string-annotations --always-read-main-dll --field-trial-handle=7016,i,15721868202469256575,6833569417170289141,262144 --variations-seed-version --mojo-platform-channel-handle=7128 /prefetch:8", + "CreateTime": "2025-03-06T17:57:59+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201827619008, + "PID": 5604, + "PPID": 3952, + "Path": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "SessionId": 2, + "Threads": 14, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": "\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --type=utility --utility-sub-type=entity_extraction_service.mojom.Extractor --lang=en-US --service-sandbox-type=entity_extraction --onnx-enabled-for-ee --string-annotations --always-read-main-dll --field-trial-handle=5520,i,15721868202469256575,6833569417170289141,262144 --variations-seed-version --mojo-platform-channel-handle=5608 /prefetch:8", + "CreateTime": "2025-03-06T17:57:16+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201827774656, + "PID": 1000, + "PPID": 3952, + "Path": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "SessionId": 2, + "Threads": 9, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": "\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --type=renderer --string-annotations --pdf-upsell-enabled --disable-gpu-compositing --video-capture-use-gpu-memory-buffer --lang=en-US --js-flags=--ms-user-locale= --device-scale-factor=1 --num-raster-threads=1 --renderer-client-id=31 --time-ticks-at-unix-epoch=-1741283277737123 --launch-time-ticks=596993509 --always-read-main-dll --field-trial-handle=6904,i,15721868202469256575,6833569417170289141,262144 --variations-seed-version --mojo-platform-channel-handle=7092 /prefetch:1", + "CreateTime": "2025-03-06T17:57:54+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201839592000, + "PID": 7080, + "PPID": 3952, + "Path": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "SessionId": 2, + "Threads": 15, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": "\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --type=renderer --string-annotations --pdf-upsell-enabled --disable-gpu-compositing --video-capture-use-gpu-memory-buffer --lang=en-US --js-flags=--ms-user-locale= --device-scale-factor=1 --num-raster-threads=1 --renderer-client-id=35 --time-ticks-at-unix-epoch=-1741283277737123 --launch-time-ticks=625057436 --always-read-main-dll --field-trial-handle=5592,i,15721868202469256575,6833569417170289141,262144 --variations-seed-version --mojo-platform-channel-handle=5688 /prefetch:1", + "CreateTime": "2025-03-06T17:58:23+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201828201216, + "PID": 5132, + "PPID": 3952, + "Path": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "SessionId": 2, + "Threads": 17, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": "\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --type=renderer --string-annotations --pdf-upsell-enabled --disable-gpu-compositing --video-capture-use-gpu-memory-buffer --lang=en-US --js-flags=--ms-user-locale= --device-scale-factor=1 --num-raster-threads=1 --renderer-client-id=36 --time-ticks-at-unix-epoch=-1741283277737123 --launch-time-ticks=625148972 --always-read-main-dll --field-trial-handle=7112,i,15721868202469256575,6833569417170289141,262144 --variations-seed-version --mojo-platform-channel-handle=6396 /prefetch:1", + "CreateTime": "2025-03-06T17:58:23+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201839919232, + "PID": 5388, + "PPID": 3952, + "Path": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "SessionId": 2, + "Threads": 15, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": "\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --string-annotations --always-read-main-dll --field-trial-handle=2180,i,15721868202469256575,6833569417170289141,262144 --variations-seed-version --mojo-platform-channel-handle=2512 /prefetch:3", + "CreateTime": "2025-03-06T17:51:14+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201835704512, + "PID": 6448, + "PPID": 3952, + "Path": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "SessionId": 2, + "Threads": 16, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": null, + "CreateTime": "2025-03-06T17:51:16+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201668321408, + "PID": 6672, + "PPID": 3952, + "Path": null, + "SessionId": 2, + "Threads": 9, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": "\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --type=utility --utility-sub-type=price_comparison_service.mojom.DataProcessor --lang=en-US --service-sandbox-type=entity_extraction --string-annotations --always-read-main-dll --field-trial-handle=6188,i,15721868202469256575,6833569417170289141,262144 --variations-seed-version --mojo-platform-channel-handle=6580 /prefetch:8", + "CreateTime": "2025-03-06T17:58:44+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201830273728, + "PID": 6064, + "PPID": 3952, + "Path": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "SessionId": 2, + "Threads": 9, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": "\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --type=gpu-process --string-annotations --gpu-preferences=UAAAAAAAAADgAAAEAAAAAAAAAAAAAAAAAABgAAEAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAA --always-read-main-dll --field-trial-handle=2472,i,15721868202469256575,6833569417170289141,262144 --variations-seed-version --mojo-platform-channel-handle=2468 /prefetch:2", + "CreateTime": "2025-03-06T17:51:14+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201834049728, + "PID": 6456, + "PPID": 3952, + "Path": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "SessionId": 2, + "Threads": 15, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", + "Cmd": null, + "CreateTime": "2025-03-06T17:51:11+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "msedge.exe", + "Offset(V)": 145201786340096, + "PID": 6204, + "PPID": 3952, + "Path": null, + "SessionId": 2, + "Threads": 8, + "Wow64": false, + "__children": [] + } + ] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Users\\generic-user\\AppData\\Local\\Microsoft\\OneDrive\\OneDrive.exe", + "Cmd": "\"C:\\Users\\generic-user\\AppData\\Local\\Microsoft\\OneDrive\\OneDrive.exe\" /background", + "CreateTime": "2025-03-06T17:51:11+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "OneDrive.exe", + "Offset(V)": 145201834340544, + "PID": 6160, + "PPID": 4912, + "Path": "C:\\Users\\generic-user\\AppData\\Local\\Microsoft\\OneDrive\\OneDrive.exe", + "SessionId": 2, + "Threads": 22, + "Wow64": true, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Windows\\System32\\cmd.exe", + "Cmd": "\"C:\\Windows\\system32\\cmd.exe\" ", + "CreateTime": "2025-03-06T17:51:44+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "cmd.exe", + "Offset(V)": 145201834332288, + "PID": 784, + "PPID": 4912, + "Path": "C:\\Windows\\system32\\cmd.exe", + "SessionId": 2, + "Threads": 1, + "Wow64": false, + "__children": [ + { + "Audit": "\\Device\\HarddiskVolume4\\Windows\\System32\\conhost.exe", + "Cmd": null, + "CreateTime": "2025-03-06T17:51:49+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "conhost.exe", + "Offset(V)": 145201834446976, + "PID": 3896, + "PPID": 784, + "Path": null, + "SessionId": 2, + "Threads": 3, + "Wow64": false, + "__children": [] + } + ] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Windows\\System32\\notepad.exe", + "Cmd": "\"C:\\Windows\\system32\\notepad.exe\" ", + "CreateTime": "2025-03-06T17:52:33+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "notepad.exe", + "Offset(V)": 145201839497344, + "PID": 2968, + "PPID": 4912, + "Path": "C:\\Windows\\system32\\notepad.exe", + "SessionId": 2, + "Threads": 4, + "Wow64": false, + "__children": [] + } + ] + } + ] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Windows\\System32\\fontdrvhost.exe", + "Cmd": null, + "CreateTime": "2025-03-06T17:49:42+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "fontdrvhost.ex", + "Offset(V)": 145201770697088, + "PID": 3812, + "PPID": 3616, + "Path": null, + "SessionId": 2, + "Threads": 5, + "Wow64": false, + "__children": [] + }, + { + "Audit": "\\Device\\HarddiskVolume4\\Windows\\System32\\dwm.exe", + "Cmd": "\"dwm.exe\"", + "CreateTime": "2025-03-06T17:49:42+00:00", + "ExitTime": null, + "Handles": null, + "ImageFileName": "dwm.exe", + "Offset(V)": 145201770352768, + "PID": 3860, + "PPID": 3616, + "Path": "C:\\Windows\\system32\\dwm.exe", + "SessionId": 2, + "Threads": 16, + "Wow64": false, + "__children": [] + } + ] + } +} \ No newline at end of file diff --git a/test/plugins/windows/test_data/windows.registry.hivescan.HiveScan.json b/test/plugins/windows/test_data/windows.registry.hivescan.HiveScan.json new file mode 100644 index 000000000..67d36af04 --- /dev/null +++ b/test/plugins/windows/test_data/windows.registry.hivescan.HiveScan.json @@ -0,0 +1,100 @@ +{ + "WINDOWS10_GENERIC": [ + { + "Offset": 213323072327680, + "__children": [] + }, + { + "Offset": 213323069669376, + "__children": [] + }, + { + "Offset": 213323011252224, + "__children": [] + }, + { + "Offset": 213322964488192, + "__children": [] + }, + { + "Offset": 213323011387392, + "__children": [] + }, + { + "Offset": 213322962362368, + "__children": [] + }, + { + "Offset": 213323041546240, + "__children": [] + }, + { + "Offset": 213323013046272, + "__children": [] + }, + { + "Offset": 213323061571584, + "__children": [] + }, + { + "Offset": 213323079548928, + "__children": [] + }, + { + "Offset": 213323067502592, + "__children": [] + }, + { + "Offset": 213323081900032, + "__children": [] + }, + { + "Offset": 213322954362880, + "__children": [] + }, + { + "Offset": 213322954346496, + "__children": [] + }, + { + "Offset": 213323014123520, + "__children": [] + }, + { + "Offset": 213323067707392, + "__children": [] + }, + { + "Offset": 213323070193664, + "__children": [] + }, + { + "Offset": 213323078791168, + "__children": [] + }, + { + "Offset": 213323069112320, + "__children": [] + }, + { + "Offset": 213323047776256, + "__children": [] + }, + { + "Offset": 213323013799936, + "__children": [] + }, + { + "Offset": 213322954985472, + "__children": [] + }, + { + "Offset": 213322954969088, + "__children": [] + }, + { + "Offset": 213323048636416, + "__children": [] + } + ] +} \ No newline at end of file diff --git a/test/plugins/windows/test_data/windows.registry.printkey.PrintKey.json b/test/plugins/windows/test_data/windows.registry.printkey.PrintKey.json new file mode 100644 index 000000000..ee069ec30 --- /dev/null +++ b/test/plugins/windows/test_data/windows.registry.printkey.PrintKey.json @@ -0,0 +1,61 @@ +{ + "WINDOWS10_GENERIC": [ + { + "Data": "", + "Hive Offset": 213322954346496, + "Key": "[NONAME]", + "Last Write Time": "2025-03-06T17:59:19+00:00", + "Name": "A", + "Type": "Key", + "Volatile": false + }, + { + "Data": "", + "Hive Offset": 213322954362880, + "Key": "\\REGISTRY\\MACHINE\\SYSTEM", + "Last Write Time": "2019-12-07T09:15:07+00:00", + "Name": "ControlSet001", + "Type": "Key", + "Volatile": false + }, + { + "Data": "", + "Hive Offset": 213322964488192, + "Key": "\\SystemRoot\\System32\\Config\\SOFTWARE", + "Last Write Time": "2025-03-06T17:38:01+00:00", + "Name": "Classes", + "Type": "Key", + "Volatile": false + }, + { + "Data": "", + "Hive Offset": 213323011252224, + "Key": "\\SystemRoot\\System32\\Config\\SAM", + "Last Write Time": "2025-01-31T13:01:49+00:00", + "Name": "SAM", + "Type": "Key", + "Volatile": false, + "__children": [] + }, + { + "Data": "", + "Hive Offset": 213323048636416, + "Key": "\\??\\C:\\Users\\generic-user\\ntuser.dat", + "Last Write Time": "2025-03-06T17:50:04+00:00", + "Name": "SOFTWARE", + "Type": "Key", + "Volatile": false, + "__children": [] + }, + { + "Data": "", + "Hive Offset": 213323047776256, + "Key": "\\??\\C:\\Users\\generic-user\\AppData\\Local\\Microsoft\\Windows\\UsrClass.dat", + "Last Write Time": "2025-03-05T18:36:09+00:00", + "Name": ".eip", + "Type": "Key", + "Volatile": false, + "__children": [] + } + ] +} \ No newline at end of file diff --git a/test/plugins/windows/test_data/windows.registry.userassist.UserAssist.json b/test/plugins/windows/test_data/windows.registry.userassist.UserAssist.json new file mode 100644 index 000000000..6ae740822 --- /dev/null +++ b/test/plugins/windows/test_data/windows.registry.userassist.UserAssist.json @@ -0,0 +1,123 @@ +{ + "WINDOWS10_GENERIC": { + "Count": null, + "Focus Count": null, + "Hive Name": "\\??\\C:\\Users\\generic-user\\ntuser.dat", + "Hive Offset": 213323048636416, + "ID": null, + "Last Updated": null, + "Last Write Time": "2025-03-06T17:57:09+00:00", + "Name": null, + "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", + "Raw Data": "", + "Time Focused": null, + "Type": "Key", + "__children": [ + { + "Count": 7, + "Focus Count": 0, + "Hive Name": "\\??\\C:\\Users\\generic-user\\ntuser.dat", + "Hive Offset": 213323048636416, + "ID": null, + "Last Updated": "2025-03-05T18:34:13+00:00", + "Last Write Time": "2025-03-06T17:57:09+00:00", + "Name": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Accessories\\Paint.lnk", + "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", + "Raw Data": "\"\n00 00 00 00 07 00 00 00 00 00 00 00 07 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff 90 86 6b 31 ..............k1\nfd 8d db 01 00 00 00 00 ........ \"", + "Time Focused": "0:00:00.507000", + "Type": "Value", + "__children": [] + }, + { + "Count": 1, + "Focus Count": 0, + "Hive Name": "\\??\\C:\\Users\\generic-user\\ntuser.dat", + "Hive Offset": 213323048636416, + "ID": null, + "Last Updated": "2025-03-06T12:46:34+00:00", + "Last Write Time": "2025-03-06T17:57:09+00:00", + "Name": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Administrative Tools\\Registry Editor.lnk", + "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", + "Raw Data": "\"\n00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff f0 82 cf ca ................\n95 8e db 01 00 00 00 00 ........ \"", + "Time Focused": "0:00:00.501000", + "Type": "Value", + "__children": [] + }, + { + "Count": 4, + "Focus Count": 0, + "Hive Name": "\\??\\C:\\Users\\generic-user\\ntuser.dat", + "Hive Offset": 213323048636416, + "ID": null, + "Last Updated": "2025-03-06T17:36:33+00:00", + "Last Write Time": "2025-03-06T17:57:09+00:00", + "Name": "%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\Windows PowerShell\\Windows PowerShell.lnk", + "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", + "Raw Data": "\"\n00 00 00 00 04 00 00 00 00 00 00 00 04 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff 10 67 cf 4d .............g.M\nbe 8e db 01 00 00 00 00 ........ \"", + "Time Focused": "0:00:00.504000", + "Type": "Value", + "__children": [] + }, + { + "Count": 1, + "Focus Count": 0, + "Hive Name": "\\??\\C:\\Users\\generic-user\\ntuser.dat", + "Hive Offset": 213323048636416, + "ID": null, + "Last Updated": "2025-03-06T17:51:44+00:00", + "Last Write Time": "2025-03-06T17:57:09+00:00", + "Name": "%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\System Tools\\Command Prompt.lnk", + "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", + "Raw Data": "\"\n00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff d0 99 66 6c ..............fl\nc0 8e db 01 00 00 00 00 ........ \"", + "Time Focused": "0:00:00.501000", + "Type": "Value", + "__children": [] + }, + { + "Count": 1, + "Focus Count": 0, + "Hive Name": "\\??\\C:\\Users\\generic-user\\ntuser.dat", + "Hive Offset": 213323048636416, + "ID": null, + "Last Updated": "2025-03-06T17:52:33+00:00", + "Last Write Time": "2025-03-06T17:57:09+00:00", + "Name": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Accessories\\Notepad.lnk", + "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", + "Raw Data": "\"\n00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff 00 62 ba 89 .............b..\nc0 8e db 01 00 00 00 00 ........ \"", + "Time Focused": "0:00:00.501000", + "Type": "Value", + "__children": [] + }, + { + "Count": 2, + "Focus Count": 0, + "Hive Name": "\\??\\C:\\Users\\generic-user\\ntuser.dat", + "Hive Offset": 213323048636416, + "ID": null, + "Last Updated": "2025-03-06T17:56:50+00:00", + "Last Write Time": "2025-03-06T17:57:09+00:00", + "Name": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Administrative Tools\\Task Scheduler.lnk", + "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", + "Raw Data": "\"\n00 00 00 00 02 00 00 00 00 00 00 00 02 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff b0 24 49 23 .............$I#\nc1 8e db 01 00 00 00 00 ........ \"", + "Time Focused": "0:00:00.502000", + "Type": "Value", + "__children": [] + }, + { + "Count": 1, + "Focus Count": 0, + "Hive Name": "\\??\\C:\\Users\\generic-user\\ntuser.dat", + "Hive Offset": 213323048636416, + "ID": null, + "Last Updated": "2025-03-06T17:57:09+00:00", + "Last Write Time": "2025-03-06T17:57:09+00:00", + "Name": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Edge.lnk", + "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", + "Raw Data": "\"\n00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff 60 3d 89 2e ............`=..\nc1 8e db 01 00 00 00 00 ........ \"", + "Time Focused": "0:00:00.501000", + "Type": "Value", + "__children": [] + } + ] + } +} \ No newline at end of file diff --git a/test/plugins/windows/test_data/windows.sessions.Sessions.json b/test/plugins/windows/test_data/windows.sessions.Sessions.json new file mode 100644 index 000000000..30b202adb --- /dev/null +++ b/test/plugins/windows/test_data/windows.sessions.Sessions.json @@ -0,0 +1,36 @@ +{ + "WINDOWS10_GENERIC": [ + { + "Create Time": "2025-03-06T17:48:02+00:00", + "Process": "System", + "Process ID": 4 + }, + { + "Create Time": "2025-03-06T17:48:37+00:00", + "Process": "lsass.exe", + "Process ID": 696, + "Session ID": 0, + "Session Type": null, + "User Name": "/SYSTEM", + "__children": [] + }, + { + "Create Time": "2025-03-06T17:49:03+00:00", + "Process": "MsMpEng.exe", + "Process ID": 1956, + "Session ID": 0, + "Session Type": null, + "User Name": "WORKGROUP/Windows-generic$", + "__children": [] + }, + { + "Create Time": "2025-03-06T17:50:08+00:00", + "Process": "rdpclip.exe", + "Process ID": 4180, + "Session ID": 2, + "Session Type": null, + "User Name": "Windows-generic/generic-user", + "__children": [] + } + ] +} \ No newline at end of file diff --git a/test/plugins/windows/test_data/windows.shimcachemem.ShimcacheMem.json b/test/plugins/windows/test_data/windows.shimcachemem.ShimcacheMem.json new file mode 100644 index 000000000..b671f4c4b --- /dev/null +++ b/test/plugins/windows/test_data/windows.shimcachemem.ShimcacheMem.json @@ -0,0 +1,41 @@ +{ + "WINDOWS10_GENERIC": + [ + { + "Exec Flag": null, + "File Path": "C:\\Windows\\System32\\cmdl32.exe", + "File Size": null, + "Last Modified": "2019-12-07T09:09:07+00:00", + "Last Update": null, + "Order": 0, + "__children": [] + }, + { + "Exec Flag": null, + "File Path": "C:\\Windows\\System32\\cmdkey.exe", + "File Size": null, + "Last Modified": "2019-12-07T09:09:09+00:00", + "Last Update": null, + "Order": 1, + "__children": [] + }, + { + "Exec Flag": null, + "File Path": "C:\\Windows\\system32\\whoami.exe", + "File Size": null, + "Last Modified": "2019-12-07T09:09:51+00:00", + "Last Update": null, + "Order": 2, + "__children": [] + }, + { + "Exec Flag": null, + "File Path": null, + "File Size": null, + "Last Modified": "2023-12-13T16:43:28+00:00", + "Last Update": null, + "Order": 3, + "__children": [] + } + ] +} \ No newline at end of file diff --git a/test/plugins/windows/test_data/windows.timers.Timers.json b/test/plugins/windows/test_data/windows.timers.Timers.json new file mode 100644 index 000000000..88e8f339a --- /dev/null +++ b/test/plugins/windows/test_data/windows.timers.Timers.json @@ -0,0 +1,684 @@ +{ + "WINDOWSXP_GENERIC": [ + { + "DueTime": "0x00000001:0xb6912640", + "Module": "ntoskrnl", + "Offset": 2180960760, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xe2e5d9fc", + "Module": "ks", + "Offset": 2181100944, + "Period(ms)": 0, + "Routine": 4162614588, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x80000001:0x838d66d0", + "Module": "ntoskrnl", + "Offset": 2180726816, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xbe54efd0", + "Module": "NDIS", + "Offset": 2182586488, + "Period(ms)": 60000, + "Routine": 4164630316, + "Signaled": "Yes", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x80000000:0x6d915dc0", + "Module": "ntoskrnl", + "Offset": 2182771520, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xd5616870", + "Module": "HTTP", + "Offset": 4122586976, + "Period(ms)": 0, + "Routine": 4122527634, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaa92535f", + "Module": "USBPORT", + "Offset": 2179614512, + "Period(ms)": 0, + "Routine": 4163343596, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x80000000:0x28ec7d80", + "Module": "ntoskrnl", + "Offset": 2167895896, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xd5f1ddd0", + "Module": "afd", + "Offset": 4289149728, + "Period(ms)": 0, + "Routine": 4146614848, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xe64e9c50", + "Module": "ntoskrnl", + "Offset": 4289091536, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000002:0x10691f50", + "Module": "BATTC", + "Offset": 2182647568, + "Period(ms)": 0, + "Routine": 4170619626, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000002:0x10691f50", + "Module": "BATTC", + "Offset": 2184852912, + "Period(ms)": 0, + "Routine": 4170619626, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xe650bd40", + "Module": "ntoskrnl", + "Offset": 4289091352, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xaf39aa70", + "Module": "watchdog", + "Offset": 2182133296, + "Period(ms)": 10000, + "Routine": 4170290884, + "Signaled": "Yes", + "Symbol": "_imp__KdSave", + "__children": [] + }, + { + "DueTime": "0x00000001:0xaf39aa70", + "Module": "watchdog", + "Offset": 2181849992, + "Period(ms)": 10000, + "Routine": 4170290884, + "Signaled": "Yes", + "Symbol": "_imp__KdSave", + "__children": [] + }, + { + "DueTime": "0x00000008:0x61e17090", + "Module": "ntoskrnl", + "Offset": 2153125248, + "Period(ms)": 0, + "Routine": 2152824977, + "Signaled": "-", + "Symbol": "ExpTimeRefreshDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xa9537f40", + "Module": "ntoskrnl", + "Offset": 2153083360, + "Period(ms)": 0, + "Routine": 2152814203, + "Signaled": "-", + "Symbol": "CmpLazyFlushDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xc5addbe0", + "Module": "TDI", + "Offset": 4147138000, + "Period(ms)": 0, + "Routine": 4169831408, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaadb3be0", + "Module": "netbt", + "Offset": 2182155920, + "Period(ms)": 0, + "Routine": 4146697354, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaadb9040", + "Module": "TDI", + "Offset": 2182059040, + "Period(ms)": 0, + "Routine": 4169831408, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xa9537f40", + "Module": "ntoskrnl", + "Offset": 2153083360, + "Period(ms)": 0, + "Routine": 2152814203, + "Signaled": "-", + "Symbol": "CmpLazyFlushDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x80000000:0x19eae820", + "Module": "ntoskrnl", + "Offset": 2182169704, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xaa9b2a20", + "Module": "NDIS", + "Offset": 2179568032, + "Period(ms)": 0, + "Routine": 4164628447, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000002:0x1a97a160", + "Module": "Ntfs", + "Offset": 4164841808, + "Period(ms)": 0, + "Routine": 4164732734, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x80000000:0x2c5fb7e0", + "Module": "ntoskrnl", + "Offset": 2180369200, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000002:0x3dcf47a0", + "Module": "afd", + "Offset": 2183169664, + "Period(ms)": 0, + "Routine": 4146614848, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xc4906e60", + "Module": "rdbss", + "Offset": 4146422176, + "Period(ms)": 0, + "Routine": 4146381701, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaa92535f", + "Module": "USBPORT", + "Offset": 2179614512, + "Period(ms)": 0, + "Routine": 4163343596, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaa8619e0", + "Module": "TDI", + "Offset": 2182064136, + "Period(ms)": 0, + "Routine": 4169831408, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xc45ec240", + "Module": "tcpip", + "Offset": 4147157776, + "Period(ms)": 100, + "Routine": 4146861021, + "Signaled": "Yes", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x80000000:0x35b72850", + "Module": "ntoskrnl", + "Offset": 2180437784, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xaad6fab0", + "Module": "NDIS", + "Offset": 2181321392, + "Period(ms)": 1000, + "Routine": 4164630316, + "Signaled": "Yes", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaadb9040", + "Module": "TDI", + "Offset": 2182059040, + "Period(ms)": 0, + "Routine": 4169831408, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xa9537f40", + "Module": "ntoskrnl", + "Offset": 2153083360, + "Period(ms)": 0, + "Routine": 2152814203, + "Signaled": "-", + "Symbol": "CmpLazyFlushDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xe2e5ee70", + "Module": "ipsec", + "Offset": 4147285920, + "Period(ms)": 60000, + "Routine": 4147221715, + "Signaled": "Yes", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xe2e5ee70", + "Module": "ipsec", + "Offset": 4147284744, + "Period(ms)": 0, + "Routine": 4147221577, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xe2e5d9fc", + "Module": "ks", + "Offset": 2181100944, + "Period(ms)": 0, + "Routine": 4162614588, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000098:0xa67683e0", + "Module": "NDIS", + "Offset": 2183038120, + "Period(ms)": 0, + "Routine": 4164628447, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xa6beb810", + "Module": "ntoskrnl", + "Offset": 2153086208, + "Period(ms)": 1000, + "Routine": 2152611575, + "Signaled": "Yes", + "Symbol": "IopTimerDispatch", + "__children": [] + }, + { + "DueTime": "0x00000001:0xe2f53650", + "Module": "ipnat", + "Offset": 4146164320, + "Period(ms)": 60000, + "Routine": 4146134936, + "Signaled": "Yes", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x80000001:0x838d66d0", + "Module": "ntoskrnl", + "Offset": 2180726816, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xa6c34da0", + "Module": "ntoskrnl", + "Offset": 2153118912, + "Period(ms)": 1000, + "Routine": 2152615232, + "Signaled": "Yes", + "Symbol": "PopScanIdleList", + "__children": [] + }, + { + "DueTime": "0x00000098:0xa67683e0", + "Module": "NDIS", + "Offset": 2183038120, + "Period(ms)": 0, + "Routine": 4164628447, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xa6d41cb0", + "Module": "ntoskrnl", + "Offset": 2153080200, + "Period(ms)": 0, + "Routine": 2152616496, + "Signaled": "-", + "Symbol": "CcScanDpc", + "__children": [] + }, + { + "DueTime": "0x80000000:0x14500b10", + "Module": "ntoskrnl", + "Offset": 2182113448, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xaba81b20", + "Module": "NDIS", + "Offset": 2182656416, + "Period(ms)": 0, + "Routine": 4164628447, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xab110bd0", + "Module": "ntoskrnl", + "Offset": 2181090272, + "Period(ms)": 0, + "Routine": 2152754200, + "Signaled": "-", + "Symbol": "CcPfTraceTimerRoutine", + "__children": [] + }, + { + "DueTime": "0x00000098:0xa6ad86a0", + "Module": "NDIS", + "Offset": 2182615456, + "Period(ms)": 0, + "Routine": 4164628447, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xd56a01e0", + "Module": "HTTP", + "Offset": 4122576520, + "Period(ms)": 60000, + "Routine": 4122481076, + "Signaled": "Yes", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xd56a7ca0", + "Module": "HTTP", + "Offset": 4122577120, + "Period(ms)": 30000, + "Routine": 4122510208, + "Signaled": "Yes", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xd56a7ca0", + "Module": "HTTP", + "Offset": 4122586816, + "Period(ms)": 0, + "Routine": 4122536296, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x80000000:0x14500b10", + "Module": "ntoskrnl", + "Offset": 2182113448, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000002:0x10691f50", + "Module": "BATTC", + "Offset": 2184852912, + "Period(ms)": 0, + "Routine": 4170619626, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000002:0x10691f50", + "Module": "BATTC", + "Offset": 2182647568, + "Period(ms)": 0, + "Routine": 4170619626, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaa90b010", + "Module": "sr", + "Offset": 2184659528, + "Period(ms)": 0, + "Routine": 4165384494, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000131:0x3cf80b10", + "Module": "NDIS", + "Offset": 2181526704, + "Period(ms)": 0, + "Routine": 4164628447, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaa9b2a20", + "Module": "NDIS", + "Offset": 2179568032, + "Period(ms)": 0, + "Routine": 4164628447, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaa9cb150", + "Module": "NDIS", + "Offset": 2179569720, + "Period(ms)": 0, + "Routine": 4164628447, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaa9e70c0", + "Module": "ntoskrnl", + "Offset": 2182248232, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xd56bd340", + "Module": "srv", + "Offset": 4128143248, + "Period(ms)": 0, + "Routine": 4128080773, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xbae86a40", + "Module": "ntoskrnl", + "Offset": 2182222184, + "Period(ms)": 0, + "Routine": 2152618407, + "Signaled": "-", + "Symbol": "ExpTimerDpcRoutine", + "__children": [] + }, + { + "DueTime": "0x00000001:0xacafcdd0", + "Module": "Ntfs", + "Offset": 4164841712, + "Period(ms)": 0, + "Routine": 4164719155, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaa92535f", + "Module": "USBPORT", + "Offset": 2179614512, + "Period(ms)": 0, + "Routine": 4163343596, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xad54f9d0", + "Module": "ntoskrnl", + "Offset": 2153085904, + "Period(ms)": 60000, + "Routine": 2152638914, + "Signaled": "Yes", + "Symbol": "IopIrpStackProfilerTimer", + "__children": [] + }, + { + "DueTime": "0x00000008:0x73b44670", + "Module": "ipsec", + "Offset": 4147284848, + "Period(ms)": 0, + "Routine": 4147221577, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaad6c270", + "Module": "NDIS", + "Offset": 2179663392, + "Period(ms)": 0, + "Routine": 4164642677, + "Signaled": "-", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000001:0xaad6fab0", + "Module": "NDIS", + "Offset": 2181321392, + "Period(ms)": 1000, + "Routine": 4164630316, + "Signaled": "Yes", + "Symbol": null, + "__children": [] + }, + { + "DueTime": "0x00000008:0x73bef8c0", + "Module": "netbt", + "Offset": 2182155520, + "Period(ms)": 0, + "Routine": 4146697354, + "Signaled": "-", + "Symbol": null, + "__children": [] + } + ] +} \ No newline at end of file diff --git a/test/plugins/windows/test_data/windows.unloadedmodules.UnloadedModules.json b/test/plugins/windows/test_data/windows.unloadedmodules.UnloadedModules.json new file mode 100644 index 000000000..e287d3c14 --- /dev/null +++ b/test/plugins/windows/test_data/windows.unloadedmodules.UnloadedModules.json @@ -0,0 +1,67 @@ +{ + "WINDOWS10_GENERIC": [ + { + "EndAddress": 18446735295750344704, + "Name": "hwpolicy.sys", + "StartAddress": 18446735295750275072, + "Time": "2025-03-06T17:47:55+00:00", + "__children": [] + }, + { + "EndAddress": 18446735295728652288, + "Name": "WdBoot.sys", + "StartAddress": 18446735295728582656, + "Time": "2025-03-06T17:47:56+00:00", + "__children": [] + }, + { + "EndAddress": 18446735295786053632, + "Name": "dam.sys", + "StartAddress": 18446735295785926656, + "Time": "2025-03-06T17:48:02+00:00", + "__children": [] + }, + { + "EndAddress": 18446735295788797952, + "Name": "serial.sys", + "StartAddress": 18446735295788679168, + "Time": "2025-03-06T17:48:21+00:00", + "__children": [] + }, + { + "EndAddress": 18446735295788875776, + "Name": "serenum.sys", + "StartAddress": 18446735295788810240, + "Time": "2025-03-06T17:48:21+00:00", + "__children": [] + }, + { + "EndAddress": 18446735295761932288, + "Name": "dump_dumpfve.sys", + "StartAddress": 18446735295761809408, + "Time": "2025-03-06T17:48:27+00:00", + "__children": [] + }, + { + "EndAddress": 18446735295761629184, + "Name": "dump_vmbkmcl.sys", + "StartAddress": 18446735295761481728, + "Time": "2025-03-06T17:48:27+00:00", + "__children": [] + }, + { + "EndAddress": 18446735295761481728, + "Name": "dump_storvsc.sys", + "StartAddress": 18446735295761416192, + "Time": "2025-03-06T17:48:27+00:00", + "__children": [] + }, + { + "EndAddress": 18446735295761350656, + "Name": "dump_storport.sys", + "StartAddress": 18446735295761285120, + "Time": "2025-03-06T17:48:27+00:00", + "__children": [] + } + ] +} \ No newline at end of file diff --git a/test/plugins/windows/test_data/windows.vadinfo.VadInfo.json b/test/plugins/windows/test_data/windows.vadinfo.VadInfo.json new file mode 100644 index 000000000..d980b21a2 --- /dev/null +++ b/test/plugins/windows/test_data/windows.vadinfo.VadInfo.json @@ -0,0 +1,94 @@ +{ + "WINDOWS10_GENERIC": [ + { + "CommitCharge": 1, + "End VPN": 2147381247, + "File": null, + "File output": "Disabled", + "Offset": 18446607800399740208, + "PID": 4, + "Parent": 0, + "PrivateMemory": 1, + "Process": "System", + "Protection": "PAGE_READONLY", + "Start VPN": 2147377152, + "Tag": "VadS", + "__children": [] + }, + { + "CommitCharge": 1, + "End VPN": 2147356671, + "File": null, + "File output": "Disabled", + "Offset": 18446607800399739968, + "PID": 4, + "Parent": 18446607800399740208, + "PrivateMemory": 1, + "Process": "System", + "Protection": "PAGE_READONLY", + "Start VPN": 2147352576, + "Tag": "VadS", + "__children": [] + }, + { + "CommitCharge": 9, + "End VPN": 2004303871, + "File": "\\Windows\\SysWOW64\\ntdll.dll", + "File output": "Disabled", + "Offset": 18446607800410763840, + "PID": 4, + "Parent": 18446607800399739968, + "PrivateMemory": 0, + "Process": "System", + "Protection": "PAGE_EXECUTE_WRITECOPY", + "Start VPN": 2002583552, + "Tag": "Vad ", + "__children": [] + }, + { + "CommitCharge": 9, + "End VPN": 140703785033727, + "File": "\\Windows\\System32\\vertdll.dll", + "File output": "Disabled", + "Offset": 18446607800410768000, + "PID": 4, + "Parent": 18446607800399740208, + "PrivateMemory": 0, + "Process": "System", + "Protection": "PAGE_EXECUTE_WRITECOPY", + "Start VPN": 140703784828928, + "Tag": "Vad ", + "__children": [] + }, + { + "CommitCharge": 0, + "End VPN": 2873390796799, + "File": null, + "File output": "Disabled", + "Offset": 18446607800474375600, + "PID": 4, + "Parent": 18446607800410768000, + "PrivateMemory": 0, + "Process": "System", + "Protection": "PAGE_READWRITE", + "Start VPN": 2873390792704, + "Tag": "Vad ", + "__children": [] + }, + { + "CommitCharge": 16, + "End VPN": 140703787155455, + "File": "\\Windows\\System32\\ntdll.dll", + "File output": "Disabled", + "Offset": 18446607800410767520, + "PID": 4, + "Parent": 18446607800410768000, + "PrivateMemory": 0, + "Process": "System", + "Protection": "PAGE_EXECUTE_WRITECOPY", + "Start VPN": 140703785091072, + "Tag": "Vad ", + "__children": [] + } + ] +} \ No newline at end of file diff --git a/test/plugins/windows/test_data/windows.vadwalk.VadWalk.json b/test/plugins/windows/test_data/windows.vadwalk.VadWalk.json new file mode 100644 index 000000000..d7c884fca --- /dev/null +++ b/test/plugins/windows/test_data/windows.vadwalk.VadWalk.json @@ -0,0 +1,76 @@ +{ + "WINDOWS10_GENERIC": [ + { + "End": 2147381247, + "Left": 145201666899008, + "Offset": 145201666899248, + "PID": 4, + "Parent": 0, + "Process": "System", + "Right": 145201677927040, + "Start": 2147377152, + "Tag": "VadS", + "__children": [] + }, + { + "End": 2147356671, + "Left": 145201677922880, + "Offset": 145201666899008, + "PID": 4, + "Parent": 145201666899248, + "Process": "System", + "Right": 0, + "Start": 2147352576, + "Tag": "VadS", + "__children": [] + }, + { + "End": 2004303871, + "Left": 0, + "Offset": 145201677922880, + "PID": 4, + "Parent": 145201666899008, + "Process": "System", + "Right": 0, + "Start": 2002583552, + "Tag": "Vad ", + "__children": [] + }, + { + "End": 140703785033727, + "Left": 145201741534640, + "Offset": 145201677927040, + "PID": 4, + "Parent": 145201666899248, + "Process": "System", + "Right": 145201677926560, + "Start": 140703784828928, + "Tag": "Vad ", + "__children": [] + }, + { + "End": 2873390796799, + "Left": 0, + "Offset": 145201741534640, + "PID": 4, + "Parent": 145201677927040, + "Process": "System", + "Right": 0, + "Start": 2873390792704, + "Tag": "Vad ", + "__children": [] + }, + { + "End": 140703787155455, + "Left": 0, + "Offset": 145201677926560, + "PID": 4, + "Parent": 145201677927040, + "Process": "System", + "Right": 0, + "Start": 140703785091072, + "Tag": "Vad ", + "__children": [] + } + ] +} \ No newline at end of file diff --git a/test/plugins/windows/test_data/windows.virtmap.VirtMap.json b/test/plugins/windows/test_data/windows.virtmap.VirtMap.json new file mode 100644 index 000000000..6b80068f2 --- /dev/null +++ b/test/plugins/windows/test_data/windows.virtmap.VirtMap.json @@ -0,0 +1,82 @@ +{ + "WINDOWS10_GENERIC": [ + { + "End offset": 17592186044416, + "Region": "MiVaBootLoaded", + "Start offset": 238594023227392, + "__children": [] + }, + { + "End offset": 549755813888, + "Region": "MiVaDriverImages", + "Start offset": 272678883688448, + "__children": [] + }, + { + "End offset": 549755813888, + "Region": "MiVaHal", + "Start offset": 258385232527360, + "__children": [] + }, + { + "End offset": 3848290697216, + "Region": "MiVaNonPagedPool", + "Start offset": 266081813921792, + "__children": [] + }, + { + "End offset": 2748779069440, + "Region": "MiVaPagedPool", + "Start offset": 278135644927560, + "__children": [] + }, + { + "End offset": 17592186044416, + "Region": "MiVaPfnDatabase", + "Start offset": 166026255794176, + "__children": [] + }, + { + "End offset": 17592186044416, + "Region": "MiVaProcessSpace", + "Start offset": 191315023233024, + "__children": [] + }, + { + "End offset": 549755813888, + "Region": "MiVaSessionGlobalSpace", + "Start offset": 186367220908032, + "__children": [] + }, + { + "End offset": 17592186044416, + "Region": "MiVaSessionSpace", + "Start offset": 213305255788544, + "__children": [] + }, + { + "End offset": 1099511627776, + "Region": "MiVaSpecialPoolPaged", + "Start offset": 261683767410688, + "__children": [] + }, + { + "End offset": 1099511627776, + "Region": "MiVaSystemCache", + "Start offset": 208907209277440, + "__children": [] + }, + { + "End offset": 549755813888, + "Region": "MiVaSystemPtes", + "Start offset": 274328151130112, + "__children": [] + }, + { + "End offset": 17592186044416, + "Region": "MiVaUnused", + "Start offset": 145135534866432, + "__children": [] + } + ] +} \ No newline at end of file From d6362e010f0a24c327a8eea3fa5a43fdb06990dc Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 16:08:52 +0100 Subject: [PATCH 1585/2186] add testing data constants --- test/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/__init__.py b/test/__init__.py index 2b59ef5ca..cad5ea76b 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,4 +1,8 @@ from enum import Enum +from pathlib import Path + +TESTS_ROOT_DIR = Path(__file__).parent +WINDOWS_TESTS_DATA_DIR = TESTS_ROOT_DIR / "plugins" / "windows" / "test_data" class Sample: From 2d5a6eeb8e1e3c300214448985519a5da98d7ded Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 16:09:13 +0100 Subject: [PATCH 1586/2186] add windows10 sample abstraction --- test/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/__init__.py b/test/__init__.py index cad5ea76b..b2cfa3139 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -13,6 +13,8 @@ class Sample: class WindowsSamples(Enum): WINDOWSXP_GENERIC = Sample("./test_images/win-xp-laptop-2005-06-25.img") """WindowsXP sample from early Volatility training.""" + WINDOWS10_GENERIC = Sample("./test_images/win-10_19041-2025_03.dmp") + """Windows10 CrashDump sample.""" class LinuxSamples(Enum): From ca20b6e979bdd61eb9af82de1b6f35f03e953535 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 16:10:12 +0100 Subject: [PATCH 1587/2186] enhance and extend testing helper functions --- test/test_volatility.py | 104 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 99 insertions(+), 5 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 632a6bcde..960ac00d1 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -11,8 +11,15 @@ import sys import tempfile import contextlib import functools +import json +import logging from typing import List, Tuple +from test import WINDOWS_TESTS_DATA_DIR + +test_logger = logging.getLogger(__name__) + + # # HELPER FUNCTIONS # @@ -71,25 +78,100 @@ def runvolshell(img, volshell, python, volshellargs=None, globalargs=None): return runvol(args, volshell, python) +def load_test_data(plugin: str, test_key: str): + if plugin.startswith("windows."): + data_path = WINDOWS_TESTS_DATA_DIR / f"{plugin}.json" + # TODO: add Linux and macOS when any of these requires this API + else: + raise Exception(f"Cannot determine OS of plugin: {plugin}") + + if not data_path.exists(): + raise FileNotFoundError( + f"Test data not found for plugin {plugin} at {data_path}" + ) + + with open(data_path) as f: + # This will raise an explicit exception by itself on failures + return json.load(f)[test_key] + + +def dict_lower_strvalues(dict_to_convert: dict): + """Lower each value of type string of a dictionary + + Args: + dict_to_convert: The dictionary in which to lower the string values + Returns: + A copy of the dictionary with lowered string values + """ + + converted = {} + for key, value in dict_to_convert.items(): + if isinstance(value, str): + converted[key] = value.lower() + else: + converted[key] = value + return converted + + def match_output_row( - expected_row: dict, plugin_json_out: List[dict], exact_match: bool = False + expected_row: dict, + plugin_json_out: List[dict], + exact_match: bool = False, + case_sensitive: bool = True, + children_recursive: bool = False, ): - """Search each row of a plugin's JSON output for an expected row. Each row is a dict. + """Search each row in a plugin's JSON output for a matching row. + This method supports recursive comparisons using the "__children" key, making it useful for testing hierarchical plugins like windows.pstree. + It also maintains case sensitivity and exact matching behavior when traversing nested structures. Args: expected_row: The expected row to be found in the output plugin_json_out: The plugin's output in JSON format (typically obtained through -r json and json.loads) - exact_match: Whether to require exactly the expected row, no more no less, or to anticipate columns' addition by checking only + exact_match: Require exactly the expected row, no more no less, or anticipate columns' addition by checking only the expected row keys and values + case_sensitive: Operate case sensitive match for str values of both dictionaries or not + children_recursive: Perform a recursive match by inspecting "__children" keys of each expected_row + + Returns: + A boolean indicating whether a match was found or not """ + # Lower each string value of both dicts + if not case_sensitive: + expected_row = dict_lower_strvalues(expected_row) + plugin_json_out_tmp = [] + for row in plugin_json_out: + plugin_json_out_tmp.append(dict_lower_strvalues(row)) + plugin_json_out = plugin_json_out_tmp + if not exact_match: for row in plugin_json_out: if all( - expected_item in row.items() for expected_item in expected_row.items() + expected_item in row.items() + for expected_item in expected_row.items() + if not expected_item[0] == "__children" ): - return True + if ( + children_recursive + and "__children" in expected_row + and "__children" in row + ): + for children_expected_row in expected_row["__children"]: + if not match_output_row( + children_expected_row, + row["__children"], + case_sensitive=case_sensitive, + children_recursive=True, + ): + break + else: + # We matched all the children keys + return True + else: + # No recursion required and we already matched the row + return True else: + # No "__children" recursion here as we want to match the whole tree at once for row in plugin_json_out: if expected_row == row: return True @@ -97,6 +179,18 @@ def match_output_row( return False +def count_entries_flat(plugin_json_out: List[dict]): + """Count the number of entries as if -r json wasn't specified. Allows to get a non-hierarchical count, without running a plugin twice + (once with "-r json" and once without) while still preserving JSON features. + + Args: + plugin_json_out: The plugin's output in JSON format (typically obtained through -r json and json.loads) + """ + # Remove whitespaces between entries + # If a value contains {", it will be represented by {\" so no confusion + return json.dumps(plugin_json_out, separators=(",", ":")).count('{"') + + # # TESTS # From a53904751658ee24d7431e2ca4ca98affc9b5853 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 16:19:08 +0100 Subject: [PATCH 1588/2186] correctly order volshell args --- test/plugins/linux/linux.py | 2 +- test/plugins/windows/windows.py | 2 +- test/test_volatility.py | 12 +++++++----- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index 8ec485735..e39c1d15d 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -8,7 +8,7 @@ from test import test_volatility, LinuxSamples class TestLinuxVolshell: def test_linux_volshell(self, image, volatility, python): out = test_volatility.basic_volshell_test( - image, volatility, python, globalargs=("-l",) + image, volatility, python, volshellargs=("-l",) ) assert out.count(b" 100 diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index ce05af0cd..d19478484 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -10,7 +10,7 @@ from test import test_volatility, WindowsSamples class TestWindowsVolshell: def test_windows_volshell(self, image, volatility, python): out = test_volatility.basic_volshell_test( - image, volatility, python, globalargs=("-w",) + image, volatility, python, volshellargs=("-w",) ) assert out.count(b" 40 diff --git a/test/test_volatility.py b/test/test_volatility.py index 960ac00d1..9b7aff4be 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -62,9 +62,9 @@ def runvol_plugin( return runvol(args, volatility, python) -def runvolshell(img, volshell, python, volshellargs=None, globalargs=None): - volshellargs = volshellargs or [] - globalargs = globalargs or [] +def runvolshell( + img, volshell, python, volshellargs: Tuple = (), globalargs: Tuple = () +): args = ( globalargs + ( @@ -196,7 +196,9 @@ def count_entries_flat(plugin_json_out: List[dict]): # -def basic_volshell_test(image, volatility, python, globalargs): +def basic_volshell_test( + image, volatility, python, volshellargs: Tuple = (), globalargs: Tuple = () +): # Basic VolShell test to verify requirements and ensure VolShell runs without crashing volshell_commands = [ @@ -216,7 +218,7 @@ def basic_volshell_test(image, volatility, python, globalargs): img=image, volshell=volatility, python=python, - volshellargs=("--script", filename), + volshellargs=("--script", filename) + volshellargs, globalargs=globalargs, ) finally: From d37f7b98f56ee5bd2c75ba0e6e5941cab9d61d5d Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 16:22:54 +0100 Subject: [PATCH 1589/2186] first windows testing enhancement iteration --- test/plugins/windows/windows.py | 1167 +++++++++++++++++++++++++++++-- 1 file changed, 1123 insertions(+), 44 deletions(-) diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index d19478484..36596721d 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -75,40 +75,66 @@ class TestWindowsPsscan: class TestWindowsDlllist: def test_windows_generic_dlllist(self, volatility, python, image): rc, out, _err = test_volatility.runvol_plugin( - "windows.dlllist.DllList", image, volatility, python + "windows.dlllist.DllList", + image, + volatility, + python, + globalargs=("-r", "json"), ) assert rc == 0 - out = out.lower() - assert out.count(b"\n") > 10 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 2000 + expected_rows = [ + { + "Path": "C:\\Windows\\SYSTEM32\\kernel32.dll", + "Process": "csrss.exe", + }, + { + "Path": "C:\\Windows\\system32\\USER32.dll", + "Process": "csrss.exe", + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row( + expected_row, json_out, case_sensitive=False + ) class TestWindowsModules: - def test_windows_generic_modules(self, volatility, python, image): + def test_windows_generic_modules(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( - "windows.modules.Modules", image, volatility, python + "windows.modules.Modules", + image, + volatility, + python, + globalargs=("-r", "json"), ) assert rc == 0 - out = out.lower() - assert out.count(b"\n") > 10 - - -class TestWindowsHivelist: - def test_windows_generic_hivelist(self, volatility, python, image): - rc, out, _err = test_volatility.runvol_plugin( - "windows.registry.hivelist.HiveList", image, volatility, python - ) - assert rc == 0 - out = out.lower() - - not_xp = out.find(b"\\systemroot\\system32\\config\\software") - if not_xp == -1: - assert ( - out.find( - b"\\device\\harddiskvolume1\\windows\\system32\\config\\software" - ) - != -1 - ) - assert out.count(b"\n") > 10 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 110 + expected_rows = [ + { + "Name": "ntoskrnl.exe", + "Offset": 2185216944, + "Path": "\\WINDOWS\\system32\\ntoskrnl.exe", + "Size": 2179328, + }, + { + "Name": "hal.dll", + "Offset": 2185216840, + "Path": "\\WINDOWS\\system32\\hal.dll", + "Size": 81280, + }, + { + "Name": "netbios.sys", + "Offset": 2182050616, + "Path": "\\SystemRoot\\System32\\DRIVERS\\netbios.sys", + "Size": 36864, + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) class TestWindowsDumpfiles: @@ -173,14 +199,47 @@ class TestWindowsHandles: assert out.count(b"\n") > 500 -class TestWindowsSvcscan: - def test_windows_generic_svcscan(self, volatility, python, image): +class TestWindowsSvcList: + def test_windows_generic_svclist(self, volatility, python, image): + image = WindowsSamples.WINDOWS10_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( - "windows.svcscan.SvcScan", image, volatility, python + "windows.svclist.SvcList", + image, + volatility, + python, + globalargs=("-r", "json"), ) assert rc == 0 - assert out.find(b"Microsoft ACPI Driver") != -1 - assert out.count(b"\n") > 250 + json_out = json.loads(out) + assert len(json_out) > 250 + expected_row = { + "Binary": "\\Driver\\ACPI", + "Display": "ACPI", + "Name": "ACPI", + "Start": "SERVICE_BOOT_START", + "State": "SERVICE_RUNNING", + "Type": "SERVICE_KERNEL_DRIVER", + } + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsSvcScan: + def test_windows_generic_svcscan(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.svcscan.SvcScan", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert len(json_out) > 250 + expected_rows = [ + {"Name": "ACPI", "Type": "SERVICE_KERNEL_DRIVER"}, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) class TestWindowsThrdscan: @@ -210,20 +269,47 @@ class TestWindowsPrivileges: assert out.count(b"\n") > 20 -class TestWindowsGetsids: +class TestWindowsGetSIDs: def test_windows_generic_getsids(self, volatility, python, image): rc, out, _err = test_volatility.runvol_plugin( "windows.getsids.GetSIDs", image, volatility, python, - pluginargs=("--pid", "4"), + globalargs=("-r", "json"), ) assert rc == 0 - assert out.find(b"Local System") != -1 - assert out.find(b"Administrators") != -1 - assert out.find(b"Everyone") != -1 - assert out.find(b"Authenticated Users") != -1 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 400 + expected_rows = [ + { + "Name": "Local System", + "Process": "csrss.exe", + "SID": "S-1-5-18", + }, + { + "Name": "Administrators", + "Process": "csrss.exe", + "SID": "S-1-5-32-544", + }, + { + "Name": "Everyone", + "Process": "csrss.exe", + "SID": "S-1-1-0", + }, + { + "Name": "Authenticated Users", + "Process": "csrss.exe", + "SID": "S-1-5-11", + }, + { + "Name": "System Mandatory Level", + "Process": "csrss.exe", + "SID": "S-1-16-16384", + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) class TestWindowsEnvars: @@ -253,16 +339,23 @@ class TestWindowsCallbacks: class TestWindowsVadwalk: - def test_windows_generic_vadwalk(self, volatility, python, image): + def test_windows_specific_vadwalk(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( - "windows.vadwalk.VadWalk", image, volatility, python + "windows.vadwalk.VadWalk", + image, + volatility, + python, + globalargs=("-r", "json"), + pluginargs=("--pid", "4"), ) assert rc == 0 - assert out.find(b"Vad") != -1 - assert out.find(b"VadS") != -1 - assert out.find(b"Vadl") != -1 - assert out.find(b"VadF") != -1 - assert out.find(b"0x0") != -1 + json_out = json.loads(out) + expected_rows = test_volatility.load_test_data( + "windows.vadwalk.VadWalk", "WINDOWS10_GENERIC" + ) + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) class TestWindowsDevicetree: @@ -324,3 +417,989 @@ class TestWindowsVadyarascan: ) assert rc == 0 assert out.count(b"\n") > 10 + + +class TestWindowsAmcache: + def test_windows_generic_amcache(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.amcache.Amcache", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 100 + # Win10+ expected package names + expected_rows = [ + { + "Path": "C:\\Windows\\SystemApps\\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy", + "ProductName": "Microsoft.Windows.StartMenuExperienceHost", + }, + { + "Path": "C:\\Windows\\SystemApps\\Microsoft.Windows.FileExplorer_cw5n1h2txyewy", + "ProductName": "c5e2524a-ea46-4f67-841f-6a9465d9d515", + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsBigPools: + def test_windows_generic_bigpools(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.bigpools.BigPools", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 2000 + expected_rows = [ + { + "PoolType": "PagedPool", + }, + { + "PoolType": "PagedPoolCacheAligned", + }, + { + "PoolType": "NonPagedPoolNx", + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +# FIXME: Empty on WIN10 and XP samples +# class TestWindowsCachedump: +# def test_windows_generic_cachedump(self, volatility, python, image): +# rc, out, _err = test_volatility.runvol_plugin( +# "windows.cachedump.Cachedump", +# image, +# volatility, +# python, +# globalargs=("-r", "json"), +# ) +# assert rc == 0 +# json_out = json.loads(out) + + +class TestWindowsCmdLine: + def test_windows_generic_cmdline(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.cmdline.CmdLine", + image, + volatility, + python, + ) + assert rc == 0 + assert out.count(b"\n") > 20 + out = out.lower() + assert ( + out.find(b"C:\\Windows\\system32\\svchost.exe -k DcomLaunch -p".lower()) + != -1 + ) + assert ( + out.count( + b"C:\\Windows\\system32\\svchost.exe -k LocalServiceNetworkRestricted -p".lower() + ) + > 3 + ) + + +class TestWindowsCmdScan: + def test_windows_specific_cmdscan(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.cmdscan.CmdScan", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + expected_row = { + "Process": "conhost.exe", + "Property": "_COMMAND_HISTORY", + } + assert test_volatility.match_output_row(expected_row, json.loads(out)) + + +class TestWindowsConsoles: + def test_windows_specific_consoles(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.consoles.Consoles", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + expected_row = { + "Process": "conhost.exe", + "Property": "_CONSOLE_INFORMATION", + } + assert test_volatility.match_output_row(expected_row, json.loads(out)) + + +class TestWindowsCrashinfo: + def test_windows_specific_crashinfo(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.crashinfo.Crashinfo", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + expected_row = { + "BitmapHeaderSize": 176128, + "BitmapPages": 511191, + "BitmapSize": 1310720, + "Comment": "PAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGE", + "DirectoryTableBase": 4610162688, + "DumpType": "Bitmap Dump (0x5)", + "MachineImageType": 34404, + "MajorVersion": 15, + "MinorVersion": 19041, + "NumberProcessors": 1, + "Signature": "PAGE", + "SystemTime": "2025-03-06T17:59:20+00:00", + "SystemUpTime": "0:11:23.199374", + "__children": [], + } + assert test_volatility.match_output_row(expected_row, json.loads(out)) + + +class TestWindowsDriverIrp: + def test_windows_generic_driverirp(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.driverirp.DriverIrp", + image, + volatility, + python, + ) + assert rc == 0 + assert out.count(b"\n") > 2000 + assert out.count(b"ntoskrnl") > 400 + for irp in test_volatility.load_test_data( + "windows.driverirp.DriverIrp", "GENERIC" + ): + assert out.find(irp.encode()) != -1 + + +class TestWindowsDriverScan: + def test_windows_generic_driverscan(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.driverscan.DriverScan", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 50 + expected_rows = [ + { + "Name": "\\Driver\\ACPI_HAL", + "Service Key": "\\Driver\\ACPI_HAL", + }, + { + "Name": "\\Driver\\Tcpip", + "Service Key": "Tcpip", + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsGetServiceSIDs: + def test_windows_generic_getservicesids(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.getservicesids.GetServiceSIDs", + image, + volatility, + python, + ) + assert rc == 0 + assert out.count(b"S-1-5-80-") > 90 + + +class TestWindowsIAT: + def test_windows_generic_iat(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.iat.IAT", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 2000 + expected_rows = [ + { + "Function": "NtTerminateProcess", + "Library": "ntdll.dll", + "Name": "csrss.exe", + }, + { + "Function": "RtlSetHeapInformation", + "Library": "ntdll.dll", + "Name": "csrss.exe", + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsInfo: + def test_windows_specific_info(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.info.Info", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + expected_rows = test_volatility.load_test_data( + "windows.info.Info", "WINDOWS10_GENERIC" + ) + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsJobLinks: + def test_windows_specific_joblinks(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.joblinks.JobLinks", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 30 + expected_row = { + "Active": 1, + "JobLink": None, + "JobSess": 2, + "Name": "taskhostw.exe", + "Offset(V)": 145201782567040, + "PID": 4304, + "PPID": 1008, + "Process": "(Original Process)", + "Sess": 2, + "Term": 0, + "Total": 1, + "Wow64": False, + "__children": [ + { + "Active": 0, + "JobLink": "Yes", + "JobSess": 0, + "Name": "taskhostw.exe", + "Offset(V)": 145201782567040, + "PID": 4304, + "PPID": 1008, + "Process": "C:\\Windows\\system32\\taskhostw.exe", + "Sess": 2, + "Term": 0, + "Total": 0, + "Wow64": False, + "__children": [], + } + ], + } + + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsKPCRs: + def test_windows_generic_kpcrs(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.kpcrs.KPCRs", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + assert test_volatility.count_entries_flat(json.loads(out)) > 0 + + +class TestWindowsLdrModules: + def test_windows_generic_ldrmodules(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.ldrmodules.LdrModules", + image, + volatility, + python, + ) + assert rc == 0 + assert out.count(b"\n") > 800 + out = out.lower() + assert out.find(b"\\Windows\\System32\\ntdll.dll".lower()) > 10 + + +class TestWindowsLsadump: + def test_windows_specific_lsadump(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.lsadump.Lsadump", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 5 + expected_row = { + "Hex": "01 00 00 00 2b 2b f1 09 a3 b3 4b af 02 19 5a 61 2f 09 3a 88 03 52 51 64 8a 6c d2 a8 34 07 cb 61 41 ca a4 5d f1 fb 4c e0 41 72 69 32", + "Key": "DPAPI_SYSTEM", + } + + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsMBRScan: + def test_windows_specific_mbrscan(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.mbrscan.MBRScan", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 4300 + expected_rows = [ + { + "Bootcode MD5": "dbcef88b4d770658b0050bf20b2d3061", + "Disk Signature": "82-78-77-32", + "Full MBR MD5": "8eea93bb1c63863f6e7f95b084411672", + "Potential MBR at Physical Offset": 154029739, + }, + { + "Bootcode MD5": "591213a9dfef595735e419eff6eeb39d", + "Disk Signature": "7a-74-60-53", + "Full MBR MD5": "4e00711a5014941f5ad8b3a4cde69c9c", + "Potential MBR at Physical Offset": 437808348, + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsMemmap: + def test_windows_specific_memmap(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.memmap.Memmap", + image, + volatility, + python, + pluginargs=("--pid", "504"), + ) + assert rc == 0 + assert out.count(b"\n") > 12000 + + +class TestWindowsMFTscan: + def test_windows_specific_mftscan_ads_xp(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.mftscan.ADS", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + expected_rows = [ + { + "ADS Filename": "Zone.Identifier", + "Filename": "libby_hoeler_part1.wmv", + "Hexdump": '"\n5b 5a 6f 6e 65 54 72 61 6e 73 66 65 72 5d 0d 0a [ZoneTransfer]..\n5a 6f 6e 65 49 64 3d 33 0d 0a ZoneId=3.. "', + "MFT Type": "DATA", + "Offset": 55926304, + "Record Number": 323, + "Record Type": "FILE", + }, + { + "ADS Filename": "Zone.Identifier", + "Filename": "NetZeroQuickHelpLite.exe", + "Hexdump": '"\n5b 5a 6f 6e 65 54 72 61 6e 73 66 65 72 5d 0d 0a [ZoneTransfer]..\n5a 6f 6e 65 49 64 3d 33 0d 0a ZoneId=3.. "', + "MFT Type": "DATA", + "Offset": 56102400, + "Record Number": 347, + "Record Type": "FILE", + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + def test_windows_specific_mftscan_ads_win10(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.mftscan.ADS", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + expected_rows = [ + { + "ADS Filename": "$Max", + "Filename": "$UsnJrnl", + "Hexdump": '"\n00 00 00 02 00 00 00 00 00 00 80 00 00 00 00 00 ................\nb9 dd f0 cc df 73 db 01 00 00 00 00 00 00 00 00 .....s.........."', + "MFT Type": "DATA", + "Offset": 1058018088, + "Record Number": 107240, + "Record Type": "FILE", + }, + { + "ADS Filename": "$Config", + "Filename": "$Repair", + "Hexdump": '"\n01 00 00 00 03 00 00 00 ........ "', + "MFT Type": "DATA", + "Offset": 5009678688, + "Record Number": 28, + "Record Type": "FILE", + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + def test_windows_specific_mftscan_mftscan(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.mftscan.MFTScan", + image, + volatility, + python, + ) + assert rc == 0 + assert out.count(b"\n") > 15000 + assert out.count(b"STANDARD_INFORMATION") > 5000 + assert out.count(b"FILE_NAME") > 11000 + + def test_windows_specific_mftscan_residentdata_win10(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.mftscan.ResidentData", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 850 + expected_rows = [ + { + "Filename": "index", + "Hexdump": '"\n30 5c 72 a7 1b 6d fb fc 09 00 00 00 00 00 00 00 0\\r..m..........\n00 00 00 00 00 00 00 00 ........ "', + "MFT Type": "DATA", + "Offset": 4961536280, + "Record Number": 116474, + "Record Type": "FILE", + }, + { + "Filename": "0.2.filtertrie.intermediate.txt", + "Hexdump": '"\n30 09 32 0d 0a 0.2.. "', + "MFT Type": "DATA", + "Offset": 619242944, + "Record Number": 113013, + "Record Type": "FILE", + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsModScan: + def test_windows_generic_modscan(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.modscan.ModScan", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 90 + expected_rows = [ + { + "Name": "ntoskrnl.exe", + "Offset": 37733296, + "Path": "\\WINDOWS\\system32\\ntoskrnl.exe", + "Size": 2179328, + }, + { + "Name": "hal.dll", + "Offset": 37733192, + "Path": "\\WINDOWS\\system32\\hal.dll", + "Size": 81280, + }, + { + "Name": "netbios.sys", + "Offset": 34566968, + "Path": "\\SystemRoot\\System32\\DRIVERS\\netbios.sys", + "Size": 36864, + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsMutantScan: + def test_windows_specific_mutantscan(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.mutantscan.MutantScan", + image, + volatility, + python, + ) + assert rc == 0 + assert out.count(b"\n") > 350 + + +class TestWindowsNetScan: + def test_windows_specific_netscan(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.netscan.NetScan", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 100 + expected_rows = [ + { + "Created": "2025-03-06T17:56:53+00:00", + "ForeignAddr": "13.107.246.254", + "ForeignPort": 443, + "LocalAddr": "10.0.0.4", + "LocalPort": 49929, + "Offset": 145201667934000, + "Owner": "SearchApp.exe", + "PID": 5644, + "Proto": "TCPv4", + "State": "CLOSE_WAIT", + }, + { + "Created": "2025-03-06T17:50:02+00:00", + "ForeignAddr": "168.63.129.16", + "ForeignPort": 80, + "LocalAddr": "10.0.0.4", + "LocalPort": 49689, + "Offset": 145201778694688, + "Owner": "WindowsAzureGu", + "PID": 1944, + "Proto": "TCPv4", + "State": "CLOSED", + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsNetStat: + def test_windows_specific_netstat(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.netstat.NetStat", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 70 + expected_rows = [ + { + "Created": "2025-03-06T17:56:53+00:00", + "ForeignAddr": "13.107.246.254", + "ForeignPort": 443, + "LocalAddr": "10.0.0.4", + "LocalPort": 49929, + "Offset": 145201667934000, + "Owner": "SearchApp.exe", + "PID": 5644, + "Proto": "TCPv4", + "State": "CLOSE_WAIT", + }, + { + "Created": "2025-03-06T17:50:02+00:00", + "ForeignAddr": "168.63.129.16", + "ForeignPort": 80, + "LocalAddr": "10.0.0.4", + "LocalPort": 49688, + "Offset": 145201778506032, + "Owner": "WindowsAzureGu", + "PID": 1944, + "Proto": "TCPv4", + "State": "ESTABLISHED", + }, + ] + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsPESymbols: + def test_windows_specific_pe_symbols_processes(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.pe_symbols.PESymbols", + image, + volatility, + python, + globalargs=("-r", "json"), + pluginargs=( + "--source", + "processes", + "--module", + "ntdll.dll", + "--symbol", + "NtProtectVirtualMemory", + ), + ) + assert rc == 0 + expected_row = { + "Address": 2089868982, + "Module": "ntdll.dll", + "Symbol": "NtProtectVirtualMemory", + } + + assert test_volatility.match_output_row(expected_row, json.loads(out)) + + def test_windows_specific_pe_symbols_kernel(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.pe_symbols.PESymbols", + image, + volatility, + python, + globalargs=("-r", "json"), + pluginargs=( + "--source", + "kernel", + "--module", + "ntoskrnl.exe", + "--symbol", + "ZwOpenThread", + ), + ) + assert rc == 0 + expected_row = { + "Address": 2152583356, + "Module": "ntoskrnl.exe", + "Symbol": "ZwOpenThread", + } + + assert test_volatility.match_output_row(expected_row, json.loads(out)) + + +class TestWindowsPoolScanner: + def test_windows_specific_poolscanner(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.poolscanner.PoolScanner", + image, + volatility, + python, + ) + assert rc == 0 + assert out.count(b"\n") > 4800 + assert out.find(b"_FILE_OBJECT") != -1 + assert out.find(b"_ETHREAD") != -1 + assert out.find(b"_RTL_ATOM_TABLE") != -1 + assert out.find(b"_KMUTANT") != -1 + + +class TestWindowsPsTree: + def test_windows_specific_pstree(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.pstree.PsTree", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 110 + expected_row = test_volatility.load_test_data( + "windows.pstree.PsTree", "WINDOWS10_GENERIC" + ) + + assert test_volatility.match_output_row( + expected_row, json_out, children_recursive=True + ) + + +class TestWindowsRegistry: + def test_windows_specific_registry_certificates(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.registry.certificates.Certificates", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 30 + expected_row = { + "Certificate ID": "ProtectedRoots", + "Certificate path": "Software\\Microsoft\\SystemCertificates", + "Certificate section": "Root", + } + assert test_volatility.match_output_row(expected_row, json_out) + + def test_windows_generic_registry_hivelist(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.registry.hivelist.HiveList", image, volatility, python + ) + assert rc == 0 + out = out.lower() + + not_xp = out.find(b"\\systemroot\\system32\\config\\software") + if not_xp == -1: + assert ( + out.find( + b"\\device\\harddiskvolume1\\windows\\system32\\config\\software" + ) + != -1 + ) + assert out.count(b"\n") > 10 + + def test_windows_specific_registry_hivescan(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.registry.hivescan.HiveScan", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + expected_rows = test_volatility.load_test_data( + "windows.registry.hivescan.HiveScan", "WINDOWS10_GENERIC" + ) + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + def test_windows_specific_registry_printkey(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.registry.printkey.PrintKey", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 450 + expected_rows = test_volatility.load_test_data( + "windows.registry.printkey.PrintKey", "WINDOWS10_GENERIC" + ) + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + def test_windows_specific_registry_userassist(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.registry.userassist.UserAssist", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 35 + expected_row = test_volatility.load_test_data( + "windows.registry.userassist.UserAssist", "WINDOWS10_GENERIC" + ) + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsSessions: + def test_windows_specific_sessions(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.sessions.Sessions", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 115 + expected_rows = test_volatility.load_test_data( + "windows.sessions.Sessions", "WINDOWS10_GENERIC" + ) + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsShimcacheMem: + def test_windows_specific_shimcachemem(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.shimcachemem.ShimcacheMem", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + expected_rows = test_volatility.load_test_data( + "windows.shimcachemem.ShimcacheMem", "WINDOWS10_GENERIC" + ) + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsSSDT: + def test_windows_specific_ssdt(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.ssdt.SSDT", + image, + volatility, + python, + ) + assert rc == 0 + assert out.count(b"\n") > 770 + assert out.find(b"ntoskrnl") != -1 + assert out.find(b"Nt") != -1 + assert out.find(b"xHal") != -1 + + +class TestWindowsThreads: + def test_windows_specific_threads(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.threads.Threads", + image, + volatility, + python, + ) + assert rc == 0 + assert out.count(b"\n") > 1730 + + +class TestWindowsTimers: + def test_windows_specific_timers(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.timers.Timers", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + expected_rows = test_volatility.load_test_data( + "windows.timers.Timers", "WINDOWSXP_GENERIC" + ) + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsVadInfo: + def test_windows_specific_vadinfo(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.vadinfo.VadInfo", + image, + volatility, + python, + globalargs=("-r", "json"), + pluginargs=("--pid", "4"), + ) + assert rc == 0 + json_out = json.loads(out) + expected_rows = test_volatility.load_test_data( + "windows.vadinfo.VadInfo", "WINDOWS10_GENERIC" + ) + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsVerInfo: + def test_windows_specific_verinfo(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.verinfo.VerInfo", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 125 + expected_row = { + "Base": 2152558592, + "Build": 2622, + "Major": 5, + "Minor": 1, + "Name": "ntoskrnl.exe", + "Product": 2600, + "__children": [], + } + assert test_volatility.match_output_row(expected_row, json_out) + + +class TestWindowsVirtMap: + def test_windows_specific_virtmap(self, volatility, python): + image = WindowsSamples.WINDOWS10_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.virtmap.VirtMap", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + expected_rows = test_volatility.load_test_data( + "windows.virtmap.VirtMap", "WINDOWS10_GENERIC" + ) + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) From ff55a0ea6c475c8d245b44ce6fa75155bbc58fe8 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 16:25:47 +0100 Subject: [PATCH 1590/2186] use win10 generic sample as main testing --- .github/workflows/test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5fdc83327..202877e99 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -31,6 +31,8 @@ jobs: gunzip linux-sample-1.bin.gz curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/win-xp-laptop-2005-06-25.img.gz" gunzip win-xp-laptop-2005-06-25.img.gz + curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/win-10_19041-2025_03.dmp.gz" + gunzip win-10_19041-2025_03.dmp.gz cd - - name: Download and Extract symbols @@ -47,7 +49,7 @@ jobs: pytest ./test/plugins/linux/linux.py --volatility=volshell.py --image-dir=./test_images -k test_linux_volshell -v # Volatility - pytest ./test/plugins/windows/windows.py --volatility=vol.py --image-dir=./test_images -k "test_windows and not test_windows_volshell" -v + pytest ./test/plugins/windows/windows.py --volatility=vol.py --image=./test_images/win-10_19041-2025_03.dmp -k "test_windows and not test_windows_volshell" -v pytest ./test/plugins/linux/linux.py --volatility=vol.py --image-dir=./test_images -k "test_linux and not test_linux_volshell" -v - name: Clean up post-test From 489265e86cd8e17126fec3bbcf8a59a4e7eb34b7 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 16:28:19 +0100 Subject: [PATCH 1591/2186] make modules test specific --- test/plugins/windows/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index 36596721d..fe2ea2d51 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -101,7 +101,7 @@ class TestWindowsDlllist: class TestWindowsModules: - def test_windows_generic_modules(self, volatility, python): + def test_windows_specific_modules(self, volatility, python): image = WindowsSamples.WINDOWSXP_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( "windows.modules.Modules", From c4054b4122699cc8a8d12f703811f580e0d986ee Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 16:51:14 +0100 Subject: [PATCH 1592/2186] correct pstree json name --- test/plugins/windows/test_data/windows.pstree.Pstree.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/plugins/windows/test_data/windows.pstree.Pstree.json b/test/plugins/windows/test_data/windows.pstree.Pstree.json index 76971ddd4..139931730 100644 --- a/test/plugins/windows/test_data/windows.pstree.Pstree.json +++ b/test/plugins/windows/test_data/windows.pstree.Pstree.json @@ -372,4 +372,4 @@ } ] } -} \ No newline at end of file +} From cd2d396c9ebcd4de6cd905db5d00a9b9d0882e0f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 16:54:49 +0100 Subject: [PATCH 1593/2186] tmp commit to resolve pstree case sensitive filename --- ...{windows.pstree.Pstree.json => windows.pstree.PsTree.json.tmp} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/plugins/windows/test_data/{windows.pstree.Pstree.json => windows.pstree.PsTree.json.tmp} (100%) diff --git a/test/plugins/windows/test_data/windows.pstree.Pstree.json b/test/plugins/windows/test_data/windows.pstree.PsTree.json.tmp similarity index 100% rename from test/plugins/windows/test_data/windows.pstree.Pstree.json rename to test/plugins/windows/test_data/windows.pstree.PsTree.json.tmp From 951d1f6c484c1f578d5e39ee82554798d10e7c7b Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 16:55:20 +0100 Subject: [PATCH 1594/2186] fix pstree data test name --- ...{windows.pstree.PsTree.json.tmp => windows.pstree.PsTree.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/plugins/windows/test_data/{windows.pstree.PsTree.json.tmp => windows.pstree.PsTree.json} (100%) diff --git a/test/plugins/windows/test_data/windows.pstree.PsTree.json.tmp b/test/plugins/windows/test_data/windows.pstree.PsTree.json similarity index 100% rename from test/plugins/windows/test_data/windows.pstree.PsTree.json.tmp rename to test/plugins/windows/test_data/windows.pstree.PsTree.json From d46c02cb75f0a6aaba1d6111c5cb25b1888d037f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 17:33:47 +0100 Subject: [PATCH 1595/2186] more granular runtime debugging --- .github/workflows/test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 202877e99..9a73303ed 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -45,12 +45,12 @@ jobs: - name: Testing... run: | # VolShell - pytest ./test/plugins/windows/windows.py --volatility=volshell.py --image-dir=./test_images -k test_windows_volshell -v + pytest ./test/plugins/windows/windows.py --volatility=volshell.py --image=./test_images/win-10_19041-2025_03.dmp -k test_windows_volshell -v pytest ./test/plugins/linux/linux.py --volatility=volshell.py --image-dir=./test_images -k test_linux_volshell -v # Volatility - pytest ./test/plugins/windows/windows.py --volatility=vol.py --image=./test_images/win-10_19041-2025_03.dmp -k "test_windows and not test_windows_volshell" -v - pytest ./test/plugins/linux/linux.py --volatility=vol.py --image-dir=./test_images -k "test_linux and not test_linux_volshell" -v + pytest ./test/plugins/windows/windows.py --volatility=vol.py --image=./test_images/win-10_19041-2025_03.dmp -k "test_windows and not test_windows_volshell" -v --durations=0 + pytest ./test/plugins/linux/linux.py --volatility=vol.py --image-dir=./test_images -k "test_linux and not test_linux_volshell" -v --durations=0 - name: Clean up post-test run: | From 8de7f114486ee40bd2d1f54a3c3ae2cb8d67aa3f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 12 Mar 2025 17:59:04 +0100 Subject: [PATCH 1596/2186] revert volshell test on image-dir --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9a73303ed..336ca48f3 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -45,7 +45,7 @@ jobs: - name: Testing... run: | # VolShell - pytest ./test/plugins/windows/windows.py --volatility=volshell.py --image=./test_images/win-10_19041-2025_03.dmp -k test_windows_volshell -v + pytest ./test/plugins/windows/windows.py --volatility=volshell.py --image-dir=./test_images -k test_windows_volshell -v pytest ./test/plugins/linux/linux.py --volatility=volshell.py --image-dir=./test_images -k test_linux_volshell -v # Volatility From c8791c241af545bca2396937f2775262354e8ee8 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 12 Mar 2025 12:22:04 -0500 Subject: [PATCH 1597/2186] #1471 - move registry plugins to registry directory --- volatility3/framework/plugins/windows/{ => registry}/amcache.py | 0 volatility3/framework/plugins/windows/{ => registry}/cachedump.py | 0 volatility3/framework/plugins/windows/{ => registry}/hashdump.py | 0 volatility3/framework/plugins/windows/{ => registry}/lsadump.py | 0 .../framework/plugins/windows/{ => registry}/scheduled_tasks.py | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename volatility3/framework/plugins/windows/{ => registry}/amcache.py (100%) rename volatility3/framework/plugins/windows/{ => registry}/cachedump.py (100%) rename volatility3/framework/plugins/windows/{ => registry}/hashdump.py (100%) rename volatility3/framework/plugins/windows/{ => registry}/lsadump.py (100%) rename volatility3/framework/plugins/windows/{ => registry}/scheduled_tasks.py (100%) diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/registry/amcache.py similarity index 100% rename from volatility3/framework/plugins/windows/amcache.py rename to volatility3/framework/plugins/windows/registry/amcache.py diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/registry/cachedump.py similarity index 100% rename from volatility3/framework/plugins/windows/cachedump.py rename to volatility3/framework/plugins/windows/registry/cachedump.py diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/registry/hashdump.py similarity index 100% rename from volatility3/framework/plugins/windows/hashdump.py rename to volatility3/framework/plugins/windows/registry/hashdump.py diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/registry/lsadump.py similarity index 100% rename from volatility3/framework/plugins/windows/lsadump.py rename to volatility3/framework/plugins/windows/registry/lsadump.py diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/registry/scheduled_tasks.py similarity index 100% rename from volatility3/framework/plugins/windows/scheduled_tasks.py rename to volatility3/framework/plugins/windows/registry/scheduled_tasks.py From 54f1f746cd81f8222c58a42b1a6c931f87fe828b Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 12 Mar 2025 12:23:30 -0500 Subject: [PATCH 1598/2186] #1471 - import from correct location --- volatility3/framework/plugins/windows/registry/cachedump.py | 3 +-- volatility3/framework/plugins/windows/registry/lsadump.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/registry/cachedump.py b/volatility3/framework/plugins/windows/registry/cachedump.py index 7bc35945a..c46ea237e 100644 --- a/volatility3/framework/plugins/windows/registry/cachedump.py +++ b/volatility3/framework/plugins/windows/registry/cachedump.py @@ -12,8 +12,7 @@ from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.layers import registry from volatility3.framework.symbols.windows import versions -from volatility3.plugins.windows import hashdump, lsadump -from volatility3.plugins.windows.registry import hivelist +from volatility3.plugins.windows.registry import hashdump, hivelist, lsadump vollog = logging.getLogger(__name__) diff --git a/volatility3/framework/plugins/windows/registry/lsadump.py b/volatility3/framework/plugins/windows/registry/lsadump.py index 72f2fa146..2154923ec 100644 --- a/volatility3/framework/plugins/windows/registry/lsadump.py +++ b/volatility3/framework/plugins/windows/registry/lsadump.py @@ -14,8 +14,7 @@ from volatility3.framework.exceptions import InvalidAddressException from volatility3.framework.layers import registry from volatility3.framework.symbols.windows import versions -from volatility3.plugins.windows import hashdump -from volatility3.plugins.windows.registry import hivelist +from volatility3.plugins.windows.registry import hashdump, hivelist from volatility3.framework.renderers import format_hints vollog = logging.getLogger(__name__) From 474e8e69166b4edc1e230dd4f6504a541a52d546 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 12 Mar 2025 12:31:26 -0500 Subject: [PATCH 1599/2186] #1471 - add deprecated plugins in old location --- .../framework/plugins/windows/amcache.py | 23 ++++++++++++++++++ .../framework/plugins/windows/cachedump.py | 23 ++++++++++++++++++ .../framework/plugins/windows/hashdump.py | 23 ++++++++++++++++++ .../framework/plugins/windows/lsadump.py | 23 ++++++++++++++++++ .../plugins/windows/scheduled_tasks.py | 24 +++++++++++++++++++ 5 files changed, 116 insertions(+) create mode 100644 volatility3/framework/plugins/windows/amcache.py create mode 100644 volatility3/framework/plugins/windows/cachedump.py create mode 100644 volatility3/framework/plugins/windows/hashdump.py create mode 100644 volatility3/framework/plugins/windows/lsadump.py create mode 100644 volatility3/framework/plugins/windows/scheduled_tasks.py diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py new file mode 100644 index 000000000..65ef041db --- /dev/null +++ b/volatility3/framework/plugins/windows/amcache.py @@ -0,0 +1,23 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +import warnings +from volatility3.plugins.windows.registry import amcache + +vollog = logging.getLogger(__name__) + + +class Amcache(amcache.Amcache): + """Extract information on executed applications from the AmCache (deprecated).""" + + _required_framework_version = (2, 0, 0) + _version = (2, 0, 0) + + def __getattr__(self, *args, **kwargs): + warnings.warn( + DeprecationWarning( + "This plugin is now called windows.registry.amcache.Amcache" + ) + ) + return super().__getattr__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py new file mode 100644 index 000000000..73ab7c87b --- /dev/null +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -0,0 +1,23 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +import warnings +from volatility3.plugins.windows.registry import cachedump + +vollog = logging.getLogger(__name__) + + +class Cachedump(cachedump.Cachedump): + """Dumps lsa secrets from memory (deprecated)""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 2) + + def __getattr__(self, *args, **kwargs): + warnings.warn( + DeprecationWarning( + "This plugin is now called windows.registry.cachedump.Cachedump" + ) + ) + return super().__getattr__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py new file mode 100644 index 000000000..c875dda50 --- /dev/null +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -0,0 +1,23 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +import warnings +from volatility3.plugins.windows.registry import hashdump + +vollog = logging.getLogger(__name__) + + +class Hashdump(hashdump.Hashdump): + """Dumps user hashes from memory (deprecated)""" + + _required_framework_version = (2, 0, 0) + _version = (1, 1, 1) + + def __getattr__(self, *args, **kwargs): + warnings.warn( + DeprecationWarning( + "This plugin is now called windows.registry.hashdump.Hashdump" + ) + ) + return super().__getattr__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py new file mode 100644 index 000000000..65e58cc25 --- /dev/null +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -0,0 +1,23 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +import warnings +from volatility3.plugins.windows.registry import lsadump + +vollog = logging.getLogger(__name__) + + +class Lsadump(lsadump.Lsadump): + """Dumps lsa secrets from memory (deprecated)""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 1) + + def __getattr__(self, *args, **kwargs): + warnings.warn( + DeprecationWarning( + "This plugin is now called windows.registry.lsadump.Lsadump" + ) + ) + return super().__getattr__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py new file mode 100644 index 000000000..4b32f6be7 --- /dev/null +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -0,0 +1,24 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +import warnings +from volatility3.plugins.windows.registry import scheduled_tasks + +vollog = logging.getLogger(__name__) + + +class ScheduledTasks(scheduled_tasks.ScheduledTasks): + """Decodes scheduled task information from the Windows registry, including \ +information about triggers, actions, run times, and creation times (deprecated).""" + + _required_framework_version = (2, 11, 0) + _version = (2, 0, 0) + + def __getattr__(self, *args, **kwargs): + warnings.warn( + DeprecationWarning( + "This plugin is now called windows.registry.scheduled_tasks.ScheduledTasks" + ) + ) + return super().__getattr__(*args, **kwargs) From 3a6063f2709bccb95b633c20d6d68906cc6e19a1 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 12 Mar 2025 15:51:42 -0500 Subject: [PATCH 1600/2186] #1471 - change DeprecationWarning to FutureWarning --- volatility3/framework/plugins/windows/amcache.py | 4 +--- volatility3/framework/plugins/windows/cachedump.py | 2 +- volatility3/framework/plugins/windows/hashdump.py | 2 +- volatility3/framework/plugins/windows/lsadump.py | 4 +--- volatility3/framework/plugins/windows/scheduled_tasks.py | 2 +- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index 65ef041db..dade91a7d 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -16,8 +16,6 @@ class Amcache(amcache.Amcache): def __getattr__(self, *args, **kwargs): warnings.warn( - DeprecationWarning( - "This plugin is now called windows.registry.amcache.Amcache" - ) + FutureWarning("This plugin is now called windows.registry.amcache.Amcache") ) return super().__getattr__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index 73ab7c87b..7aa63e013 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -16,7 +16,7 @@ class Cachedump(cachedump.Cachedump): def __getattr__(self, *args, **kwargs): warnings.warn( - DeprecationWarning( + FutureWarning( "This plugin is now called windows.registry.cachedump.Cachedump" ) ) diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index c875dda50..fa23541bc 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -16,7 +16,7 @@ class Hashdump(hashdump.Hashdump): def __getattr__(self, *args, **kwargs): warnings.warn( - DeprecationWarning( + FutureWarning( "This plugin is now called windows.registry.hashdump.Hashdump" ) ) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 65e58cc25..a360d6ca8 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -16,8 +16,6 @@ class Lsadump(lsadump.Lsadump): def __getattr__(self, *args, **kwargs): warnings.warn( - DeprecationWarning( - "This plugin is now called windows.registry.lsadump.Lsadump" - ) + FutureWarning("This plugin is now called windows.registry.lsadump.Lsadump") ) return super().__getattr__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 4b32f6be7..4861092ba 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -17,7 +17,7 @@ information about triggers, actions, run times, and creation times (deprecated). def __getattr__(self, *args, **kwargs): warnings.warn( - DeprecationWarning( + FutureWarning( "This plugin is now called windows.registry.scheduled_tasks.ScheduledTasks" ) ) From f0991a9cf6cbdd91a474a7ac845eb0d31cf9beb0 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 12 Mar 2025 16:33:09 -0500 Subject: [PATCH 1601/2186] #1471 - getattribute instead of getattr, and removal date --- volatility3/framework/plugins/windows/amcache.py | 9 ++++++--- volatility3/framework/plugins/windows/cachedump.py | 7 ++++--- volatility3/framework/plugins/windows/hashdump.py | 7 ++++--- volatility3/framework/plugins/windows/lsadump.py | 9 ++++++--- .../plugins/windows/registry/scheduled_tasks.py | 4 ++-- .../framework/plugins/windows/scheduled_tasks.py | 11 ++++++----- 6 files changed, 28 insertions(+), 19 deletions(-) diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index dade91a7d..90e0949c8 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -14,8 +14,11 @@ class Amcache(amcache.Amcache): _required_framework_version = (2, 0, 0) _version = (2, 0, 0) - def __getattr__(self, *args, **kwargs): + def __getattribute__(self, *args, **kwargs): warnings.warn( - FutureWarning("This plugin is now called windows.registry.amcache.Amcache") + FutureWarning( + "The windows.amcache.Amcache plugin is deprecated and will be removed on " + "September 19, 2025. Use windows.registry.amcache.Amcache instead." + ) ) - return super().__getattr__(*args, **kwargs) + return super().__getattribute__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index 7aa63e013..8640ae5cf 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -14,10 +14,11 @@ class Cachedump(cachedump.Cachedump): _required_framework_version = (2, 0, 0) _version = (1, 0, 2) - def __getattr__(self, *args, **kwargs): + def __getattribute__(self, *args, **kwargs): warnings.warn( FutureWarning( - "This plugin is now called windows.registry.cachedump.Cachedump" + "The windows.cachedump.Cachedump plugin is deprecated and will be removed on " + "September 19, 2025. Use windows.registry.cachedump.Cachedump instead." ) ) - return super().__getattr__(*args, **kwargs) + return super().__getattribute__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index fa23541bc..ee6bdb477 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -14,10 +14,11 @@ class Hashdump(hashdump.Hashdump): _required_framework_version = (2, 0, 0) _version = (1, 1, 1) - def __getattr__(self, *args, **kwargs): + def __getattribute__(self, *args, **kwargs): warnings.warn( FutureWarning( - "This plugin is now called windows.registry.hashdump.Hashdump" + "The windows.hashdump.Hashdump plugin is deprecated and will be removed on " + "September 19, 2025. Use windows.registry.hashdump.Hashdump instead." ) ) - return super().__getattr__(*args, **kwargs) + return super().__getattribute__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index a360d6ca8..8ee173e89 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -14,8 +14,11 @@ class Lsadump(lsadump.Lsadump): _required_framework_version = (2, 0, 0) _version = (1, 0, 1) - def __getattr__(self, *args, **kwargs): + def __getattribute__(self, *args, **kwargs): warnings.warn( - FutureWarning("This plugin is now called windows.registry.lsadump.Lsadump") + FutureWarning( + "The windows.lsadump.Lsadump plugin is deprecated and will be removed on " + "September 19, 2025. Use windows.registry.lsadump.Lsadump instead." + ) ) - return super().__getattr__(*args, **kwargs) + return super().__getattribute__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/registry/scheduled_tasks.py b/volatility3/framework/plugins/windows/registry/scheduled_tasks.py index ba54e19ec..3aa82a69e 100644 --- a/volatility3/framework/plugins/windows/registry/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/registry/scheduled_tasks.py @@ -1108,8 +1108,8 @@ class DynamicInfo: class ScheduledTasks(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): - """Decodes scheduled task information from the Windows registry, including \ -information about triggers, actions, run times, and creation times.""" + """Decodes scheduled task information from the Windows registry, including + information about triggers, actions, run times, and creation times.""" _required_framework_version = (2, 11, 0) _version = (2, 0, 0) diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 4861092ba..15d8abb93 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -9,16 +9,17 @@ vollog = logging.getLogger(__name__) class ScheduledTasks(scheduled_tasks.ScheduledTasks): - """Decodes scheduled task information from the Windows registry, including \ -information about triggers, actions, run times, and creation times (deprecated).""" + """Decodes scheduled task information from the Windows registry, including + information about triggers, actions, run times, and creation times (deprecated).""" _required_framework_version = (2, 11, 0) _version = (2, 0, 0) - def __getattr__(self, *args, **kwargs): + def __getattribute__(self, *args, **kwargs): warnings.warn( FutureWarning( - "This plugin is now called windows.registry.scheduled_tasks.ScheduledTasks" + "The windows.registry.scheduled_tasks.ScheduledTasks plugin is deprecated and will be removed on " + "September 19, 2025. Use windows.registry.scheduled_tasks.ScheduledTasks instead." ) ) - return super().__getattr__(*args, **kwargs) + return super().__getattribute__(*args, **kwargs) From 154999461fbecf374661f14c0ae5d3ec067e855e Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 12 Mar 2025 19:02:59 -0500 Subject: [PATCH 1602/2186] #1471 - use standard date format --- volatility3/framework/plugins/windows/amcache.py | 2 +- volatility3/framework/plugins/windows/cachedump.py | 2 +- volatility3/framework/plugins/windows/hashdump.py | 2 +- volatility3/framework/plugins/windows/lsadump.py | 2 +- volatility3/framework/plugins/windows/scheduled_tasks.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index 90e0949c8..6e45d5b36 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -18,7 +18,7 @@ class Amcache(amcache.Amcache): warnings.warn( FutureWarning( "The windows.amcache.Amcache plugin is deprecated and will be removed on " - "September 19, 2025. Use windows.registry.amcache.Amcache instead." + "2025-09-25. Use windows.registry.amcache.Amcache instead." ) ) return super().__getattribute__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index 8640ae5cf..14320312a 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -18,7 +18,7 @@ class Cachedump(cachedump.Cachedump): warnings.warn( FutureWarning( "The windows.cachedump.Cachedump plugin is deprecated and will be removed on " - "September 19, 2025. Use windows.registry.cachedump.Cachedump instead." + "2025-09-25. Use windows.registry.cachedump.Cachedump instead." ) ) return super().__getattribute__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index ee6bdb477..98baf7d53 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -18,7 +18,7 @@ class Hashdump(hashdump.Hashdump): warnings.warn( FutureWarning( "The windows.hashdump.Hashdump plugin is deprecated and will be removed on " - "September 19, 2025. Use windows.registry.hashdump.Hashdump instead." + "2025-09-25. Use windows.registry.hashdump.Hashdump instead." ) ) return super().__getattribute__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 8ee173e89..86cbe1949 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -18,7 +18,7 @@ class Lsadump(lsadump.Lsadump): warnings.warn( FutureWarning( "The windows.lsadump.Lsadump plugin is deprecated and will be removed on " - "September 19, 2025. Use windows.registry.lsadump.Lsadump instead." + "2025-09-25. Use windows.registry.lsadump.Lsadump instead." ) ) return super().__getattribute__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 15d8abb93..7241f07d1 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -19,7 +19,7 @@ class ScheduledTasks(scheduled_tasks.ScheduledTasks): warnings.warn( FutureWarning( "The windows.registry.scheduled_tasks.ScheduledTasks plugin is deprecated and will be removed on " - "September 19, 2025. Use windows.registry.scheduled_tasks.ScheduledTasks instead." + "2025-09-25. Use windows.registry.scheduled_tasks.ScheduledTasks instead." ) ) return super().__getattribute__(*args, **kwargs) From 48a5736a576a5b9c6119d64d85a46c8cc370bc31 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 13 Mar 2025 21:09:38 +0000 Subject: [PATCH 1603/2186] Properly reconstruct strings from memory buffers and allow for plugin-specified encodings --- volatility3/framework/constants/_version.py | 2 +- volatility3/framework/objects/utility.py | 27 ++++++++++++--------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index aa8e8936f..1ea59c068 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 23 # Number of changes that only add to the interface +VERSION_MINOR = 24 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 500c0e9a5..1fcd305f7 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import re from typing import Optional, Union from volatility3.framework import interfaces, objects, constants @@ -33,6 +34,7 @@ def array_to_string( count: Optional[int] = None, errors: str = "replace", block_size=32, + encoding="utf-8", ) -> str: """Takes a Volatility 'Array' of characters and returns a Python string. @@ -60,6 +62,7 @@ def array_to_string( count=count, errors=errors, block_size=block_size, + encoding=encoding, ) @@ -68,6 +71,7 @@ def pointer_to_string( count: int, errors: str = "replace", block_size=32, + encoding="utf-8", ) -> str: """Takes a Volatility 'Pointer' to characters and returns a Python string. @@ -94,6 +98,7 @@ def pointer_to_string( count=count, errors=errors, block_size=block_size, + encoding=encoding, ) @@ -104,6 +109,7 @@ def address_to_string( count: int, errors: str = "replace", block_size=32, + encoding="utf-8", ) -> str: """Reads a null-terminated string from a given specified memory address, processing it in blocks for efficiency. @@ -126,18 +132,17 @@ def address_to_string( raise ValueError("Count must be greater than 0") layer = context.layers[layer_name] - text = b"" - while len(text) < count: - current_block_size = min(count - len(text), block_size) - temp_text = layer.read(address + len(text), current_block_size) - idx = temp_text.find(b"\x00") - if idx != -1: - temp_text = temp_text[:idx] - text += temp_text - break - text += temp_text - return text.decode(errors=errors) + # Purposely do not catch exception + data = layer.read(address, count) + + decoded_data = data.decode(encoding=encoding, errors=errors) + try: + idx = re.search("\ufffd|\x00", decoded_data).start() + except AttributeError: + idx = len(decoded_data) + + return decoded_data[:idx] def array_of_pointers( From 6f9f5c34b9767ed8dd531da0b0ba85c42fcc6fab Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 10 Mar 2025 11:03:18 -0500 Subject: [PATCH 1604/2186] Feature: Add support for IPython in volshell --- volatility3/cli/volshell/generic.py | 70 +++++++++++++++++++++-------- 1 file changed, 51 insertions(+), 19 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 2321408fe..8f915ac4a 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -8,6 +8,7 @@ import random import string import struct import sys +import textwrap from typing import Any, Dict, Iterable, List, Optional, Tuple, Type, Union from urllib import parse, request @@ -23,6 +24,14 @@ try: except ImportError: has_capstone = False +try: + from IPython import terminal + from traitlets import config as traitlets_config + + has_ipython = True +except ImportError: + has_ipython = False + class Volshell(interfaces.plugins.PluginInterface): """Shell environment to directly interact with a memory image.""" @@ -69,43 +78,66 @@ class Volshell(interfaces.plugins.PluginInterface): """ # Try to enable tab completion - try: - import readline - except ImportError: - pass - else: - import rlcompleter + if not has_ipython: + try: + import readline + except ImportError: + pass + else: + import rlcompleter - completer = rlcompleter.Completer(namespace=self._construct_locals_dict()) - readline.set_completer(completer.complete) - readline.parse_and_bind("tab: complete") - print("Readline imported successfully") + completer = rlcompleter.Completer( + namespace=self._construct_locals_dict() + ) + readline.set_completer(completer.complete) + readline.parse_and_bind("tab: complete") + print("Readline imported successfully") # TODO: provide help, consider generic functions (pslist?) and/or providing windows/linux functions mode = self.__module__.split(".")[-1] mode = mode[0].upper() + mode[1:] - banner = f""" - Call help() to see available functions + banner = textwrap.dedent( + f""" + Call help() to see available functions - Volshell mode : {mode} - Current Layer : {self.current_layer} - Current Symbol Table : {self.current_symbol_table} - Current Kernel Name : {self.current_kernel_name} -""" + Volshell mode : {mode} + Current Layer : {self.current_layer} + Current Symbol Table : {self.current_symbol_table} + Current Kernel Name : {self.current_kernel_name} + """ + ) sys.ps1 = f"({self.current_layer}) >>> " # Dict self._construct_locals_dict() will have priority on keys combined_locals = additional_locals.copy() combined_locals.update(self._construct_locals_dict()) - self.__console = code.InteractiveConsole(locals=combined_locals) + if has_ipython: + + class LayerNamePrompt(terminal.prompts.Prompts): + def in_prompt_tokens(self, cli=None): + slf = self.shell.user_ns.get("self") + layer_name = slf.current_layer if slf else "no_layer" + return [(terminal.prompts.Token.Prompt, f"[{layer_name}]> ")] + + c = traitlets_config.Config() + c.TerminalInteractiveShell.prompts_class = LayerNamePrompt + c.InteractiveShellEmbed.banner2 = banner + self.__console = terminal.embed.InteractiveShellEmbed( + config=c, user_ns=combined_locals + ) + else: + self.__console = code.InteractiveConsole(locals=combined_locals) # Since we have to do work to add the option only once for all different modes of volshell, we can't # rely on the default having been set if self.config.get("script", None) is not None: self.run_script(location=self.config["script"]) - self.__console.interact(banner=banner) + if has_ipython: + self.__console() + else: + self.__console.interact(banner=banner) return renderers.TreeGrid([("Terminating", str)], None) From fa2a93ade493380e94c1391a980777b477daeae8 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 13 Mar 2025 17:09:56 -0500 Subject: [PATCH 1605/2186] Volshell: Fix import logic around readline + rlcomplete --- volatility3/cli/volshell/generic.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 8f915ac4a..c45f9d1d4 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -81,9 +81,6 @@ class Volshell(interfaces.plugins.PluginInterface): if not has_ipython: try: import readline - except ImportError: - pass - else: import rlcompleter completer = rlcompleter.Completer( @@ -92,6 +89,8 @@ class Volshell(interfaces.plugins.PluginInterface): readline.set_completer(completer.complete) readline.parse_and_bind("tab: complete") print("Readline imported successfully") + except ImportError: + pass # TODO: provide help, consider generic functions (pslist?) and/or providing windows/linux functions From c3123e883944e27b89d1231fb823ba4e0ea328e0 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 13 Mar 2025 17:17:17 -0500 Subject: [PATCH 1606/2186] Volshell: Handle script running in ipython shell --- volatility3/cli/volshell/generic.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index c45f9d1d4..c86e221f7 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -539,10 +539,11 @@ class Volshell(interfaces.plugins.PluginInterface): location = "file:" + request.pathname2url(location) print(f"Running code from {location}\n") accessor = resources.ResourceAccessor() - with accessor.open(url=location) as fp: - self.__console.runsource( - io.TextIOWrapper(fp, encoding="utf-8").read(), symbol="exec" - ) + with io.TextIOWrapper(accessor.open(url=location), encoding="utf-8") as fp: + if has_ipython: + self.__console.ex(fp.read()) + else: + self.__console.runsource(fp.read(), symbol="exec") print("\nCode complete") def load_file(self, location: str): From d76288f99407c93b719c130b9da6ba86471446db Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 13 Mar 2025 22:53:51 +0000 Subject: [PATCH 1607/2186] Update nearly all callers of now deprecated Linux kernel APIs --- .../framework/plugins/linux/check_idt.py | 23 ++++++------ .../framework/plugins/linux/hidden_modules.py | 8 ++-- .../plugins/linux/keyboard_notifiers.py | 34 ++++++++++------- .../framework/plugins/linux/kthreads.py | 37 +++++++++---------- .../framework/plugins/linux/tty_check.py | 32 +++++++++------- 5 files changed, 69 insertions(+), 65 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_idt.py b/volatility3/framework/plugins/linux/check_idt.py index dbdb0e9be..c85f291cc 100644 --- a/volatility3/framework/plugins/linux/check_idt.py +++ b/volatility3/framework/plugins/linux/check_idt.py @@ -10,7 +10,6 @@ from volatility3.framework import interfaces, renderers, symbols from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import linux -from volatility3.plugins.linux import lsmod vollog = logging.getLogger(__name__) @@ -39,9 +38,6 @@ class Check_idt(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) - ), ] @staticmethod @@ -82,10 +78,8 @@ class Check_idt(interfaces.plugins.PluginInterface): vmlinux = self.context.modules[self.config["kernel"]] - modules = lsmod.Lsmod.list_modules(self.context, vmlinux.name) - - handlers = linux.LinuxUtilities.generate_kernel_handler_info( - self.context, vmlinux.name, modules + known_modules = linux_utilities_modules.Modules.run_modules_scanners( + self.context, self.config["kernel"], run_hidden_modules=True ) idt_table_size = 256 @@ -134,19 +128,24 @@ class Check_idt(interfaces.plugins.PluginInterface): module_name = renderers.NotAvailableValue() symbol_name = renderers.NotAvailableValue() else: - module_name, symbol_name = ( - linux_utilities_modules.Modules.lookup_module_address( - self.context, vmlinux.name, handlers, idt_addr + module_info, symbol_name = ( + linux_utilities_modules.Modules.module_lookup_by_address( + self.context, vmlinux.name, known_modules, idt_addr ) ) + if module_info: + module_name = module_info.name + else: + module_name = renderers.NotAvailableValue() + yield ( 0, [ format_hints.Hex(i), format_hints.Hex(idt_addr), module_name, - symbol_name, + symbol_name or renderers.NotAvailableValue(), ], ) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 9891bf138..8999126b1 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -10,7 +10,6 @@ from volatility3.framework import renderers, interfaces, exceptions, deprecation from volatility3.framework.constants import architectures from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements -from volatility3.plugins.linux import lsmod vollog = logging.getLogger(__name__) @@ -29,9 +28,6 @@ class Hidden_modules(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=architectures.LINUX_ARCHS, ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) - ), requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, @@ -163,7 +159,9 @@ class Hidden_modules(interfaces.plugins.PluginInterface): known_module_addresses = { vmlinux_layer.canonicalize(module.vol.offset) - for module in lsmod.Lsmod.list_modules(context, vmlinux_module_name) + for module in linux_utilities_modules.Modules.list_modules( + context, vmlinux_module_name + ) } return known_module_addresses diff --git a/volatility3/framework/plugins/linux/keyboard_notifiers.py b/volatility3/framework/plugins/linux/keyboard_notifiers.py index 8fd2846c1..beebc4248 100644 --- a/volatility3/framework/plugins/linux/keyboard_notifiers.py +++ b/volatility3/framework/plugins/linux/keyboard_notifiers.py @@ -9,7 +9,6 @@ from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import linux -from volatility3.plugins.linux import lsmod vollog = logging.getLogger(__name__) @@ -32,9 +31,6 @@ class Keyboard_notifiers(interfaces.plugins.PluginInterface): component=linux_utilities_modules.Modules, version=(2, 0, 0), ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) - ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) ), @@ -43,12 +39,6 @@ class Keyboard_notifiers(interfaces.plugins.PluginInterface): def _generator(self): vmlinux = self.context.modules[self.config["kernel"]] - modules = lsmod.Lsmod.list_modules(self.context, vmlinux.name) - - handlers = linux.LinuxUtilities.generate_kernel_handler_info( - self.context, vmlinux.name, modules - ) - try: knl_addr = vmlinux.object_from_symbol("keyboard_notifier_list") except exceptions.SymbolError: @@ -65,6 +55,10 @@ class Keyboard_notifiers(interfaces.plugins.PluginInterface): vollog.error("The head of the keyboard notifier list is paged out.") return + known_modules = linux_utilities_modules.Modules.run_modules_scanners( + self.context, self.config["kernel"], run_hidden_modules=True + ) + knl = vmlinux.object( object_type="atomic_notifier_head", offset=knl_addr.vol.offset, @@ -76,13 +70,25 @@ class Keyboard_notifiers(interfaces.plugins.PluginInterface): ): call_addr = call_back.notifier_call - module_name, symbol_name = ( - linux_utilities_modules.Modules.lookup_module_address( - self.context, vmlinux.name, handlers, call_addr + module_info, symbol_name = ( + linux_utilities_modules.Modules.module_lookup_by_address( + self.context, vmlinux.name, known_modules, call_addr ) ) - yield (0, [format_hints.Hex(call_addr), module_name, symbol_name]) + if module_info: + module_name = module_info.name + else: + module_name = renderers.NotAvailableValue() + + yield ( + 0, + [ + format_hints.Hex(call_addr), + module_name, + symbol_name or renderers.NotAvailableValue(), + ], + ) def run(self): return renderers.TreeGrid( diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py index 60d24f06e..99a1b57a9 100644 --- a/volatility3/framework/plugins/linux/kthreads.py +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -5,14 +5,14 @@ import logging from typing import List import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import constants, exceptions, interfaces, renderers +from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import linux from volatility3.framework.constants import architectures from volatility3.framework.objects import utility -from volatility3.plugins.linux import pslist, lsmod +from volatility3.plugins.linux import pslist vollog = logging.getLogger(__name__) @@ -42,28 +42,22 @@ class Kthreads(plugins.PluginInterface): requirements.PluginRequirement( name="pslist", plugin=pslist.PsList, version=(4, 0, 0) ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) - ), ] def _generator(self): vmlinux = self.context.modules[self.config["kernel"]] - modules = lsmod.Lsmod.list_modules(self.context, vmlinux.name) - handlers = linux.LinuxUtilities.generate_kernel_handler_info( - self.context, vmlinux.name, modules - ) - - kthread_type = vmlinux.get_type( - vmlinux.symbol_table_name + constants.BANG + "kthread" - ) + kthread_type = vmlinux.get_type("kthread") if not kthread_type.has_member("threadfn"): raise exceptions.VolatilityException( "Unsupported kthread implementation. This plugin only works with kernels >= 5.8" ) + known_modules = linux_utilities_modules.Modules.run_modules_scanners( + self.context, self.config["kernel"], run_hidden_modules=True + ) + for task in pslist.PsList.list_tasks( self.context, vmlinux.name, include_threads=True ): @@ -86,9 +80,7 @@ class Kthreads(plugins.PluginInterface): if not (threadfn and threadfn.is_readable()): continue - task_name = utility.array_to_string(task.comm) - - thread_name = task_name + thread_name = utility.array_to_string(task.comm) # kernels >= 5.17 in d6986ce24fc00b0638bd29efe8fb7ba7619ed2aa full_name was added to kthread if kthread.has_member("full_name"): @@ -101,18 +93,23 @@ class Kthreads(plugins.PluginInterface): f"full_name pointer for thread at {kthread.vol.offset:#x} is paged out." ) - module_name, symbol_name = ( - linux_utilities_modules.Modules.lookup_module_address( - self.context, vmlinux.name, handlers, threadfn + module_info, symbol_name = ( + linux_utilities_modules.Modules.module_lookup_by_address( + self.context, vmlinux.name, known_modules, threadfn ) ) + if module_info: + module_name = module_info.name + else: + module_name = renderers.NotAvailableValue() + fields = [ task.pid, thread_name, format_hints.Hex(threadfn), module_name, - symbol_name, + symbol_name or renderers.NotAvailableValue(), ] yield 0, fields diff --git a/volatility3/framework/plugins/linux/tty_check.py b/volatility3/framework/plugins/linux/tty_check.py index 281d46eda..b45272eb6 100644 --- a/volatility3/framework/plugins/linux/tty_check.py +++ b/volatility3/framework/plugins/linux/tty_check.py @@ -12,7 +12,6 @@ from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import linux -from volatility3.plugins.linux import lsmod vollog = logging.getLogger(__name__) @@ -35,9 +34,6 @@ class tty_check(plugins.PluginInterface): component=linux_utilities_modules.Modules, version=(2, 0, 0), ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) - ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) ), @@ -46,12 +42,6 @@ class tty_check(plugins.PluginInterface): def _generator(self): vmlinux = self.context.modules[self.config["kernel"]] - modules = lsmod.Lsmod.list_modules(self.context, vmlinux.name) - - handlers = linux.LinuxUtilities.generate_kernel_handler_info( - self.context, vmlinux.name, modules - ) - try: tty_drivers = vmlinux.object_from_symbol("tty_drivers").cast("list_head") except exceptions.SymbolError: @@ -64,6 +54,10 @@ class tty_check(plugins.PluginInterface): "This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." ) + known_modules = linux_utilities_modules.Modules.run_modules_scanners( + self.context, self.config["kernel"], run_hidden_modules=True + ) + for tty in tty_drivers.to_list( vmlinux.symbol_table_name + constants.BANG + "tty_driver", "tty_drivers" ): @@ -87,13 +81,23 @@ class tty_check(plugins.PluginInterface): except exceptions.InvalidAddressException: continue - module_name, symbol_name = ( - linux_utilities_modules.Modules.lookup_module_address( - self.context, vmlinux.name, handlers, recv_buf + module_info, symbol_name = ( + linux_utilities_modules.Modules.module_lookup_by_address( + self.context, vmlinux.name, known_modules, recv_buf ) ) - yield (0, (name, format_hints.Hex(recv_buf), module_name, symbol_name)) + if module_info: + module_name = module_info.name + else: + module_name = renderers.NotAvailableValue() + + yield 0, ( + name, + format_hints.Hex(recv_buf), + module_name, + symbol_name or renderers.NotAvailableValue(), + ) def run(self): return renderers.TreeGrid( From 39d39292f0a0c2b1429041713696d3c5e0190978 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 13 Mar 2025 22:55:47 +0000 Subject: [PATCH 1608/2186] Update symbol splitting to handle symbols without attached module name --- volatility3/framework/symbols/linux/utilities/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 0eeb2b33c..ef20ed044 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -98,7 +98,7 @@ class Modules(interfaces.configuration.VersionableInterface): module = kernel.object("module", offset=module.offset, absolute=True) symbol_name = module.get_symbol_by_address(target_address) - if symbol_name: + if symbol_name and symbol_name.find(constants.BANG) != -1: symbol_name = symbol_name.split(constants.BANG)[1] return match, symbol_name From c318e7c32664352f036aeed1453a8ed40ad6c90f Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 01:52:16 +0000 Subject: [PATCH 1609/2186] Make configurable to sources --- .../framework/plugins/linux/check_idt.py | 6 +- .../framework/plugins/linux/check_modules.py | 2 +- .../framework/plugins/linux/hidden_modules.py | 2 +- .../plugins/linux/keyboard_notifiers.py | 6 +- .../framework/plugins/linux/kthreads.py | 6 +- volatility3/framework/plugins/linux/lsmod.py | 2 +- .../framework/plugins/linux/modxview.py | 15 +- .../framework/plugins/linux/netfilter.py | 2 +- .../framework/plugins/linux/tracing/ftrace.py | 6 +- .../plugins/linux/tracing/tracepoints.py | 6 +- .../framework/plugins/linux/tty_check.py | 6 +- .../symbols/linux/utilities/modules.py | 207 ++++++++++++++---- 12 files changed, 199 insertions(+), 67 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_idt.py b/volatility3/framework/plugins/linux/check_idt.py index c85f291cc..119531836 100644 --- a/volatility3/framework/plugins/linux/check_idt.py +++ b/volatility3/framework/plugins/linux/check_idt.py @@ -33,7 +33,7 @@ class Check_idt(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(2, 0, 0), + version=(3, 0, 0), ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) @@ -79,7 +79,9 @@ class Check_idt(interfaces.plugins.PluginInterface): vmlinux = self.context.modules[self.config["kernel"]] known_modules = linux_utilities_modules.Modules.run_modules_scanners( - self.context, self.config["kernel"], run_hidden_modules=True + context=self.context, + kernel_module_name=self.config["kernel"], + caller_wanted_sources=linux_utilities_modules.Modules.all_sources_identifier, ) idt_table_size = 256 diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index 76f75ec50..40f3f638c 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -33,7 +33,7 @@ class Check_modules(plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(2, 0, 0), + version=(3, 0, 0), ), ] diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 8999126b1..5be8e7174 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -31,7 +31,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(2, 0, 0), + version=(3, 0, 0), ), ] diff --git a/volatility3/framework/plugins/linux/keyboard_notifiers.py b/volatility3/framework/plugins/linux/keyboard_notifiers.py index beebc4248..b4f9dd3ca 100644 --- a/volatility3/framework/plugins/linux/keyboard_notifiers.py +++ b/volatility3/framework/plugins/linux/keyboard_notifiers.py @@ -29,7 +29,7 @@ class Keyboard_notifiers(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(2, 0, 0), + version=(3, 0, 0), ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) @@ -56,7 +56,9 @@ class Keyboard_notifiers(interfaces.plugins.PluginInterface): return known_modules = linux_utilities_modules.Modules.run_modules_scanners( - self.context, self.config["kernel"], run_hidden_modules=True + context=self.context, + kernel_module_name=self.config["kernel"], + caller_wanted_sources=linux_utilities_modules.Modules.all_sources_identifier, ) knl = vmlinux.object( diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py index 99a1b57a9..7d6abcecc 100644 --- a/volatility3/framework/plugins/linux/kthreads.py +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -34,7 +34,7 @@ class Kthreads(plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(2, 0, 0), + version=(3, 0, 0), ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) @@ -55,7 +55,9 @@ class Kthreads(plugins.PluginInterface): ) known_modules = linux_utilities_modules.Modules.run_modules_scanners( - self.context, self.config["kernel"], run_hidden_modules=True + context=self.context, + kernel_module_name=self.config["kernel"], + caller_wanted_sources=linux_utilities_modules.Modules.all_sources_identifier, ) for task in pslist.PsList.list_tasks( diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index b4f881801..a3ace9a24 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -33,7 +33,7 @@ class Lsmod(plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(2, 0, 0), + version=(3, 0, 0), ), ] diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index f6a6f7727..4373ffb7c 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -34,7 +34,7 @@ spot modules presence and taints.""" requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(2, 0, 0), + version=(3, 0, 0), ), requirements.VersionRequirement( name="linux-tainting", component=tainting.Tainting, version=(1, 0, 0) @@ -93,13 +93,22 @@ spot modules presence and taints.""" kernel = self.context.modules[kernel_name] + wanted_sources = [ + linux_utilities_modules.Modules.source_lsmod_identifier, + linux_utilities_modules.Modules.source_sysfs_identifier, + linux_utilities_modules.Modules.source_hidden_identifier, + ] + run_results = linux_utilities_modules.Modules.run_modules_scanners( - self.context, kernel_name, flatten=False + context=self.context, + kernel_module_name=self.config["kernel"], + caller_wanted_sources=wanted_sources, + flatten=False, ) aggregated_modules = {} # We want to be explicit on the plugins results we are interested in - for plugin_name in ["lsmod", "check_modules", "hidden_modules"]: + for plugin_name in wanted_sources: # Iterate over each recovered module for mod_info in run_results[plugin_name]: # Use offsets as unique keys, whether a module diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 9c0055a54..e8a33be61 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -726,7 +726,7 @@ class Netfilter(interfaces.plugins.PluginInterface): _version = (1, 1, 1) - _required_linux_utilities_modules_version = (2, 0, 0) + _required_linux_utilities_modules_version = (3, 0, 0) _required_linuxutils_version = (2, 1, 0) _required_lsmod_version = (2, 0, 0) _required_linuxnet_version = (1, 0, 0) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 17766cc74..146230f02 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -79,7 +79,7 @@ class CheckFtrace(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(2, 0, 0), + version=(3, 0, 0), ), requirements.BooleanRequirement( name="show_ftrace_flags", @@ -223,7 +223,9 @@ class CheckFtrace(interfaces.plugins.PluginInterface): return known_modules = linux_utilities_modules.Modules.run_modules_scanners( - self.context, kernel_name, run_hidden_modules=True + context=self.context, + kernel_module_name=self.config["kernel"], + caller_wanted_sources=linux_utilities_modules.Modules.all_sources_identifier, ) for ftrace_ops in self.iterate_ftrace_ops_list(self.context, kernel_name): diff --git a/volatility3/framework/plugins/linux/tracing/tracepoints.py b/volatility3/framework/plugins/linux/tracing/tracepoints.py index fe6d11af9..83903b19b 100644 --- a/volatility3/framework/plugins/linux/tracing/tracepoints.py +++ b/volatility3/framework/plugins/linux/tracing/tracepoints.py @@ -52,7 +52,7 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(2, 0, 0), + version=(3, 0, 0), ), ] @@ -229,7 +229,9 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): return known_modules = linux_utilities_modules.Modules.run_modules_scanners( - self.context, kernel_name, run_hidden_modules=False + context=self.context, + kernel_module_name=self.config["kernel"], + caller_wanted_sources=linux_utilities_modules.Modules.all_sources_identifier, ) tracepoints = self.iterate_tracepoints_array(self.context, kernel_name) diff --git a/volatility3/framework/plugins/linux/tty_check.py b/volatility3/framework/plugins/linux/tty_check.py index b45272eb6..f4b581756 100644 --- a/volatility3/framework/plugins/linux/tty_check.py +++ b/volatility3/framework/plugins/linux/tty_check.py @@ -32,7 +32,7 @@ class tty_check(plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, - version=(2, 0, 0), + version=(3, 0, 0), ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) @@ -55,7 +55,9 @@ class tty_check(plugins.PluginInterface): ) known_modules = linux_utilities_modules.Modules.run_modules_scanners( - self.context, self.config["kernel"], run_hidden_modules=True + context=self.context, + kernel_module_name=self.config["kernel"], + caller_wanted_sources=linux_utilities_modules.Modules.all_sources_identifier, ) for tty in tty_drivers.to_list( diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 0eeb2b33c..dac52dce3 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -19,11 +19,26 @@ vollog = logging.getLogger(__name__) class Modules(interfaces.configuration.VersionableInterface): """Kernel modules related utilities.""" - _version = (2, 0, 0) + _version = (3, 0, 0) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) + # Valid sources of kernel modules to send to `run_module_scanners` + source_kernel_identifier = "kernel" + source_lsmod_identifier = "lsmod" + source_sysfs_identifier = "check_modules" + source_hidden_identifier = "hidden_modules" + + # With few exceptions, rootkit checking plugins want all sources + # This provides a stable identifier as new sources are added over time + all_sources_identifier = [ + source_kernel_identifier, + source_lsmod_identifier, + source_sysfs_identifier, + source_hidden_identifier, + ] + class ModuleInfo(NamedTuple): """ Used to track the name and boundary of a kernel module @@ -34,13 +49,13 @@ class Modules(interfaces.configuration.VersionableInterface): start: int end: int - @staticmethod + @classmethod def module_lookup_by_address( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str, modules: Iterable[ModuleInfo], target_address: int, - run_hidden_modules: bool = True, ) -> Optional[Tuple[ModuleInfo, Optional[str]]]: """ Determine if a target address lies in a module memory space. @@ -195,7 +210,7 @@ class Modules(interfaces.configuration.VersionableInterface): def get_kernel_module_info( context: interfaces.context.ContextInterface, kernel_module_name: str, - ) -> ModuleInfo: + ) -> Iterator[ModuleInfo]: """ Returns a ModuleInfo instance that encodes the kernel This is required to map function pointers to the kerenl executable @@ -210,77 +225,173 @@ class Modules(interfaces.configuration.VersionableInterface): end_addr = kernel.object_from_symbol("_etext") end_addr = end_addr.vol.offset & address_mask - return Modules.ModuleInfo( - start_addr, constants.linux.KERNEL_NAME, start_addr, end_addr + return [ + Modules.ModuleInfo( + start_addr, constants.linux.KERNEL_NAME, start_addr, end_addr + ) + ] + + @classmethod + def _get_hidden_modules_results( + cls, + context: str, + kernel_module_name: str, + run_results: Dict[str, List[ModuleInfo]], + ): + known_modules_addresses = set() + + kernel = context.modules[kernel_module_name] + + # Walk each sources' results + for results in run_results.values(): + for modinfo in results: + address = context.layers[kernel.layer_name].canonicalize(modinfo.start) + known_modules_addresses.add(address) + + modules_memory_boundaries = cls.get_modules_memory_boundaries( + context, kernel_module_name ) + hidden_results = [] + + address_mask = context.layers[kernel.layer_name].address_mask + + for module in cls.get_hidden_modules( + context, + kernel_module_name, + known_modules_addresses, + modules_memory_boundaries, + ): + modinfo = cls.get_module_info_for_module(address_mask, module) + if modinfo: + hidden_results.append(modinfo) + + return hidden_results + + @classmethod + def _get_list_modules( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str + ) -> List[ModuleInfo]: + """ + Gather `module` instances from lsmod + """ + yield from cls.list_modules(context, kernel_module_name) + + @classmethod + def _get_sysfs_modules( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str + ) -> List[ModuleInfo]: + """ + Gather the `module` instances from sysfs + """ + kernel = context.modules[kernel_module_name] + + sysfs_modules: dict = cls.get_kset_modules(context, kernel_module_name) + + for m_offset in sysfs_modules.values(): + yield kernel.object(object_type="module", offset=m_offset, absolute=True) + + @classmethod + def _validated_sources(cls, caller_wanted_sources) -> List[str]: + """ + Called by `run_modules_scanners` to validate the caller supplied sources list + An exception is thrown if an empty source list is given or a list containing an invalid source + """ + if not caller_wanted_sources: + raise ValueError("`caller_wanted_sources` must have at least one source.") + + if ( + len(caller_wanted_sources) == 1 + and caller_wanted_sources[0] == Modules.source_hidden_identifier + ): + raise ValueError( + f"{Modules.source_hidden_identifier} cannot be the only source or there is nothing to compare against." + ) + + wanted_sources = [] + + for source in caller_wanted_sources: + if source not in Modules.all_sources_identifier: + raise ValueError( + f"Invalid source sent through `caller_wanted_sources`: {source}" + ) + + wanted_sources.append(source) + + return wanted_sources + @classmethod def run_modules_scanners( cls, context: interfaces.context.ContextInterface, - kernel_name: str, - run_hidden_modules: bool = True, + kernel_module_name: str, + caller_wanted_sources: List[str], flatten: bool = True, ) -> Dict[str, List[ModuleInfo]]: """Run module scanning plugins and aggregate the results. It is designed to not operate any inter-plugin results triage. + Rules for `caller_wanted_sources`: + + If `Modules.all_sources_identifier` is specified then every source will be populated + + If `Modules.source_hidden_identifier` is in the list, then at least one other sources must be + specified so a comparison will be populated + + If empty or an invalid source is specified then a ValueError is thrown + Args: - run_hidden_modules: specify if the hidden_modules plugin should be run + called_wanted_sources: The list of sources to gather modules. + flatten: Whether to de-duplicate modules across sources Returns: Dictionary mapping each plugin to its corresponding result """ - kernel = context.modules[kernel_name] + module_gatherers = { + Modules.source_kernel_identifier: cls.get_kernel_module_info, + Modules.source_lsmod_identifier: cls._get_list_modules, + Modules.source_sysfs_identifier: cls._get_sysfs_modules, + } + + kernel = context.modules[kernel_module_name] address_mask = context.layers[kernel.layer_name].address_mask + wanted_sources = Modules._validated_sources(caller_wanted_sources) + run_results = {} - # the kernel module boundaries - run_results["kernel"] = [cls.get_kernel_module_info(context, kernel_name)] + run_hidden_modules = False - # lsmod - run_results["lsmod"] = [] + # Special case hidden modules since it gathers modules on its own + if Modules.source_hidden_identifier in wanted_sources: + run_hidden_modules = True + wanted_sources.remove(Modules.source_hidden_identifier) - for module in cls.list_modules(context, kernel_name): - modinfo = cls.get_module_info_for_module(address_mask, module) - if modinfo: - run_results["lsmod"].append(modinfo) + # Walk each source, gathering modules + for wanted_source in wanted_sources: + run_results[wanted_source] = [] - # check_modules - run_results["check_modules"] = [] + gatherer = module_gatherers[wanted_source] - sysfs_modules: dict = cls.get_kset_modules(context, kernel_name) + # process each module coming from back the current source + for module in gatherer(context, kernel_module_name): + # the kernel sends back a ModuleInfo directly + if wanted_source == Modules.source_kernel_identifier: + modinfo = module + else: + modinfo = cls.get_module_info_for_module(address_mask, module) - for m_offset in sysfs_modules.values(): - module = kernel.object(object_type="module", offset=m_offset, absolute=True) - modinfo = cls.get_module_info_for_module(address_mask, module) - if modinfo: - run_results["check_modules"].append(modinfo) - - # hidden_modules - if run_hidden_modules: - known_modules_addresses = set( - context.layers[kernel.layer_name].canonicalize(modinfo.start) - for modinfo in run_results["kernel"] - + run_results["lsmod"] - + run_results["check_modules"] - ) - modules_memory_boundaries = cls.get_modules_memory_boundaries( - context, kernel_name - ) - run_results["hidden_modules"] = [] - - for module in cls.get_hidden_modules( - context, - kernel_name, - known_modules_addresses, - modules_memory_boundaries, - ): - modinfo = cls.get_module_info_for_module(address_mask, module) if modinfo: - run_results["hidden_modules"].append(modinfo) + run_results[wanted_source].append(modinfo) + + # run hidden modules against the other sources + if run_hidden_modules: + run_results[Modules.source_hidden_identifier] = ( + cls._get_hidden_modules_results( + context, kernel_module_name, run_results + ) + ) if flatten: return cls.flatten_run_modules_results(run_results) From 4606495ded4f71c2bdd9066b260556947729e618 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 02:09:08 +0000 Subject: [PATCH 1610/2186] Bump dep versions --- volatility3/framework/plugins/linux/check_modules.py | 2 +- volatility3/framework/plugins/linux/hidden_modules.py | 8 ++++---- volatility3/framework/plugins/linux/lsmod.py | 2 +- volatility3/framework/plugins/linux/modxview.py | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index 40f3f638c..44cb568e6 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -41,7 +41,7 @@ class Check_modules(plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_kset_modules, removal_date="2025-09-25", - replacement_version=(2, 0, 0), + replacement_version=(3, 0, 0), ) def get_kset_modules( cls, context: interfaces.context.ContextInterface, vmlinux_name: str diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 5be8e7174..985d4cfcb 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -39,7 +39,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_modules_memory_boundaries, removal_date="2025-09-25", - replacement_version=(2, 0, 0), + replacement_version=(3, 0, 0), ) def get_modules_memory_boundaries( context: interfaces.context.ContextInterface, @@ -52,7 +52,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_module_address_alignment, removal_date="2025-09-25", - replacement_version=(2, 0, 0), + replacement_version=(3, 0, 0), ) @classmethod def _get_module_address_alignment( @@ -80,7 +80,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_hidden_modules, removal_date="2025-09-25", - replacement_version=(2, 0, 0), + replacement_version=(3, 0, 0), ) @classmethod def get_hidden_modules( @@ -120,7 +120,7 @@ class Hidden_modules(interfaces.plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.validate_alignment_patterns, removal_date="2025-09-25", - replacement_version=(2, 0, 0), + replacement_version=(3, 0, 0), ) def _validate_alignment_patterns( addresses: Iterable[int], diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index a3ace9a24..466bfa0b4 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -40,7 +40,7 @@ class Lsmod(plugins.PluginInterface): @classmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.list_modules, - replacement_version=(2, 0, 0), + replacement_version=(3, 0, 0), removal_date="2025-09-25", ) def list_modules( diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index 4373ffb7c..e43672974 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -50,7 +50,7 @@ spot modules presence and taints.""" @classmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.flatten_run_modules_results, - replacement_version=(2, 0, 0), + replacement_version=(3, 0, 0), removal_date="2025-09-25", ) def flatten_run_modules_results( @@ -73,7 +73,7 @@ spot modules presence and taints.""" @classmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.run_modules_scanners, - replacement_version=(2, 0, 0), + replacement_version=(3, 0, 0), removal_date="2025-09-25", ) def run_modules_scanners( From 7ab62365fbbaf3184942eed0a13848cd8781ef00 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 03:05:11 +0000 Subject: [PATCH 1611/2186] Vastly improve string reading while keeping intended behaviour --- volatility3/framework/objects/utility.py | 97 +++++++++++++++++++++--- 1 file changed, 87 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 1fcd305f7..a1ad4fdf5 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -2,10 +2,9 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import re from typing import Optional, Union -from volatility3.framework import interfaces, objects, constants +from volatility3.framework import interfaces, objects, constants, exceptions def rol(value: int, count: int, max_bits: int = 64) -> int: @@ -102,6 +101,64 @@ def pointer_to_string( ) +def gather_contiguous_bytes_from_address(layer, address: int, count: int) -> bytes: + """ + This method reconstructs a string from memory while also carefully examining each page + + It goes page-by-page reading the bytes. This is done by calculating page boundaries + and then only reading one page at a time. + + If a page is missing, the code initially catches the exception. + If data is non-empty (meaning at least one read succeeded), then we return what was read + If the first page fails, then we re-raise the exception + """ + + data = b"" + + left_to_read = count + + # read as many pages as possible that are contiguous + # if the first page is missed, we re-raise the InvalidAddressException + # if we have at least 1 page that was read succesfully, + # then we try to construct a string from it + while left_to_read > 0: + # compute aligned address of current page and next the page + aligned = address & ~0xFFF + next_page = aligned + 0xFFF + 1 + + # all fits on the current page, last read + if address + left_to_read < next_page: + try: + data += layer.read(address, left_to_read) + except exceptions.InvalidAddressException: + # if we have data, just break the loop + if data: + break + # Raise if no data was read as this means the first page was invalid + else: + raise + + left_to_read = 0 + + else: + # how many bytes are left on the current page + len_to_read = next_page - address + + try: + data += layer.read(address, len_to_read) + except exceptions.InvalidAddressException: + if data: + break + # Raise if no data was read as this means the first page was invalid + else: + raise + + address += len_to_read + left_to_read -= len_to_read + + return data + + def address_to_string( context: interfaces.context.ContextInterface, layer_name: str, @@ -131,18 +188,38 @@ def address_to_string( if count < 1: raise ValueError("Count must be greater than 0") + encodings = {"utf8": 1, "utf16": 2, "utf32": 4} + if encoding not in encodings: + raise ValueError( + f"Encoding ({encoding} is invalid. Must be one of {[e for e in encodings]}." + ) + layer = context.layers[layer_name] - # Purposely do not catch exception - data = layer.read(address, count) + data = gather_contiguous_bytes_from_address(layer, address, count) - decoded_data = data.decode(encoding=encoding, errors=errors) - try: - idx = re.search("\ufffd|\x00", decoded_data).start() - except AttributeError: - idx = len(decoded_data) + # we need to find the ending nulls, which the amount of nulls varies based on encoding + ending_nulls = b"\x00" * encodings[encoding] - return decoded_data[:idx] + end_idx = data.find(ending_nulls) + # send back the bytes even if the ending nulls aren't found (can be on the next page) + if end_idx == -1: + return data + + # cut at the nulls + data = data[:end_idx] + + # For utf16 and utf32, just looking for the nulls cuts the final null from the string when its ascii characters + # This occurs as the string 'vol.py' in utf-16 will look like this, with two ending nulls: + # "v\x00o\x00l\x00.\x00p\x00y\x00\x00\x00" + # By cutting at the first \x00\x00, we are taking the second byte of the character for 'y' + # With real unicode strings this character can be non-zero + # This check and added null, pads out the last byte(s) to the width of each character to avoid this issue + end_size = len(ending_nulls) + if len(data) > end_size and len(data) % end_size != 0: + data += b"\x00" * (end_size - (len(data) % end_size)) + + return data.decode(encoding=encoding, errors=errors) def array_of_pointers( From 36b3c2885974e7c697a160bfc8820800e680286b Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 03:12:06 +0000 Subject: [PATCH 1612/2186] Update encodings --- volatility3/framework/objects/utility.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index a1ad4fdf5..13031e1f1 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -188,7 +188,14 @@ def address_to_string( if count < 1: raise ValueError("Count must be greater than 0") - encodings = {"utf8": 1, "utf16": 2, "utf32": 4} + encodings = { + "utf-8": 1, + "utf8": 1, + "utf-16": 2, + "utf16": 2, + "utf32": 4, + "utf-32": 4, + } if encoding not in encodings: raise ValueError( f"Encoding ({encoding} is invalid. Must be one of {[e for e in encodings]}." From 4225adce56d1c73ff0194d944b948ad6befa2b87 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 16:32:54 +0000 Subject: [PATCH 1613/2186] Convert to .mapping and let Python had all encodings --- volatility3/framework/objects/utility.py | 131 ++++++++++------------- 1 file changed, 58 insertions(+), 73 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 13031e1f1..b014e37fa 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -2,6 +2,8 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import re + from typing import Optional, Union from volatility3.framework import interfaces, objects, constants, exceptions @@ -101,7 +103,9 @@ def pointer_to_string( ) -def gather_contiguous_bytes_from_address(layer, address: int, count: int) -> bytes: +def gather_contiguous_bytes_from_address( + context, data_layer, starting_address: int, count: int +) -> bytes: """ This method reconstructs a string from memory while also carefully examining each page @@ -115,50 +119,65 @@ def gather_contiguous_bytes_from_address(layer, address: int, count: int) -> byt data = b"" - left_to_read = count + last_address = None - # read as many pages as possible that are contiguous - # if the first page is missed, we re-raise the InvalidAddressException - # if we have at least 1 page that was read succesfully, - # then we try to construct a string from it - while left_to_read > 0: - # compute aligned address of current page and next the page - aligned = address & ~0xFFF - next_page = aligned + 0xFFF + 1 + for address, length, _, _, _ in data_layer.mapping( + offset=starting_address, length=count, ignore_errors=True + ): + # Used to track when we hit a paged out page + if not last_address: + last_address = address + length - # all fits on the current page, last read - if address + left_to_read < next_page: - try: - data += layer.read(address, left_to_read) - except exceptions.InvalidAddressException: - # if we have data, just break the loop - if data: - break - # Raise if no data was read as this means the first page was invalid - else: - raise + # we hit a swapped out page + elif last_address and last_address != address: + break - left_to_read = 0 + data += data_layer.read(address, length) - else: - # how many bytes are left on the current page - len_to_read = next_page - address - - try: - data += layer.read(address, len_to_read) - except exceptions.InvalidAddressException: - if data: - break - # Raise if no data was read as this means the first page was invalid - else: - raise - - address += len_to_read - left_to_read -= len_to_read + # if we were able to read from the first page, we want to try and construct the string + # if the first page fails -> throw exception + if data: + return data + else: + raise exceptions.InvalidAddressException( + layer_name=data_layer, invalid_address=starting_address + ) return data +def bytes_to_decoded_string(data: bytes, encoding: str, errors: str) -> bytes: + """ + This function takes a bytes buffer that contains at a string of unknown + length starting at the first byte, and returns the properly decoded string + + It starts by using Python's `bytes.decode` to attempt to decode the entire string + It then finds the termination character (\ufffd or \x00) and splices the string + Finally, it returns this spliced string after its been decoded with the + caller-specified encoding + """ + # this is the standard byte used to replace bad unicode characters + unicode_replacement_char = "\ufffd" + + # used to find the terminating byte + termination_re = re.compile(f"{unicode_replacement_char}|\x00") + + # run over the entire string, letting Python replace invalid characters + full_decoded_string = data.decode(encoding=encoding, errors="replace") + + # stop at the first terminating character or get the whole string if not found + try: + idx = termination_re.search(full_decoded_string).start() + except AttributeError: + idx = len(full_decoded_string) + + # cut at terminating byte, if found + data = data[:idx] + + # return with caller-specified encoding and errors + return data.decode(encoding=encoding, errors=errors) + + def address_to_string( context: interfaces.context.ContextInterface, layer_name: str, @@ -188,45 +207,11 @@ def address_to_string( if count < 1: raise ValueError("Count must be greater than 0") - encodings = { - "utf-8": 1, - "utf8": 1, - "utf-16": 2, - "utf16": 2, - "utf32": 4, - "utf-32": 4, - } - if encoding not in encodings: - raise ValueError( - f"Encoding ({encoding} is invalid. Must be one of {[e for e in encodings]}." - ) - layer = context.layers[layer_name] - data = gather_contiguous_bytes_from_address(layer, address, count) + data = gather_contiguous_bytes_from_address(context, layer, address, count) - # we need to find the ending nulls, which the amount of nulls varies based on encoding - ending_nulls = b"\x00" * encodings[encoding] - - end_idx = data.find(ending_nulls) - # send back the bytes even if the ending nulls aren't found (can be on the next page) - if end_idx == -1: - return data - - # cut at the nulls - data = data[:end_idx] - - # For utf16 and utf32, just looking for the nulls cuts the final null from the string when its ascii characters - # This occurs as the string 'vol.py' in utf-16 will look like this, with two ending nulls: - # "v\x00o\x00l\x00.\x00p\x00y\x00\x00\x00" - # By cutting at the first \x00\x00, we are taking the second byte of the character for 'y' - # With real unicode strings this character can be non-zero - # This check and added null, pads out the last byte(s) to the width of each character to avoid this issue - end_size = len(ending_nulls) - if len(data) > end_size and len(data) % end_size != 0: - data += b"\x00" * (end_size - (len(data) % end_size)) - - return data.decode(encoding=encoding, errors=errors) + return bytes_to_decoded_string(data=data, errors=errors, encoding=encoding) def array_of_pointers( From 196bf8187dbb777f0ad43b2c9d18a0d9e069fe7d Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 14 Mar 2025 12:21:11 -0500 Subject: [PATCH 1614/2186] Volshell: Address comments from code review - Add failure message when readline or rlcompleter can't be imported - Fix unclosed file handle in context manager --- volatility3/cli/volshell/generic.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index c86e221f7..143e26500 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -90,7 +90,9 @@ class Volshell(interfaces.plugins.PluginInterface): readline.parse_and_bind("tab: complete") print("Readline imported successfully") except ImportError: - pass + print( + "Readline or rlcompleter module could not be imported. Tab completion will not be available." + ) # TODO: provide help, consider generic functions (pslist?) and/or providing windows/linux functions @@ -539,7 +541,9 @@ class Volshell(interfaces.plugins.PluginInterface): location = "file:" + request.pathname2url(location) print(f"Running code from {location}\n") accessor = resources.ResourceAccessor() - with io.TextIOWrapper(accessor.open(url=location), encoding="utf-8") as fp: + with accessor.open(url=location) as handle, io.TextIOWrapper( + handle, encoding="utf-8" + ) as fp: if has_ipython: self.__console.ex(fp.read()) else: From cf8bb3dfbc12897445220d24912a43bc1cea75ac Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 20:27:25 +0000 Subject: [PATCH 1615/2186] Adjust run_modules_scanners to avoid special handling of hidden modules, adjust modxview to new API, add classes and version requirements on module gathering interface --- .../framework/plugins/linux/check_idt.py | 7 +- .../plugins/linux/keyboard_notifiers.py | 7 +- .../framework/plugins/linux/kthreads.py | 7 +- .../framework/plugins/linux/modxview.py | 43 +-- .../framework/plugins/linux/tracing/ftrace.py | 16 +- .../plugins/linux/tracing/tracepoints.py | 13 +- .../framework/plugins/linux/tty_check.py | 7 +- .../symbols/linux/utilities/modules.py | 333 +++++++++--------- 8 files changed, 229 insertions(+), 204 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_idt.py b/volatility3/framework/plugins/linux/check_idt.py index 119531836..e199d98d3 100644 --- a/volatility3/framework/plugins/linux/check_idt.py +++ b/volatility3/framework/plugins/linux/check_idt.py @@ -35,6 +35,11 @@ class Check_idt(interfaces.plugins.PluginInterface): component=linux_utilities_modules.Modules, version=(3, 0, 0), ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGatherers, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) ), @@ -81,7 +86,7 @@ class Check_idt(interfaces.plugins.PluginInterface): known_modules = linux_utilities_modules.Modules.run_modules_scanners( context=self.context, kernel_module_name=self.config["kernel"], - caller_wanted_sources=linux_utilities_modules.Modules.all_sources_identifier, + caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, ) idt_table_size = 256 diff --git a/volatility3/framework/plugins/linux/keyboard_notifiers.py b/volatility3/framework/plugins/linux/keyboard_notifiers.py index b4f9dd3ca..215704350 100644 --- a/volatility3/framework/plugins/linux/keyboard_notifiers.py +++ b/volatility3/framework/plugins/linux/keyboard_notifiers.py @@ -31,6 +31,11 @@ class Keyboard_notifiers(interfaces.plugins.PluginInterface): component=linux_utilities_modules.Modules, version=(3, 0, 0), ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGatherers, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) ), @@ -58,7 +63,7 @@ class Keyboard_notifiers(interfaces.plugins.PluginInterface): known_modules = linux_utilities_modules.Modules.run_modules_scanners( context=self.context, kernel_module_name=self.config["kernel"], - caller_wanted_sources=linux_utilities_modules.Modules.all_sources_identifier, + caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, ) knl = vmlinux.object( diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py index 7d6abcecc..06e94b221 100644 --- a/volatility3/framework/plugins/linux/kthreads.py +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -36,6 +36,11 @@ class Kthreads(plugins.PluginInterface): component=linux_utilities_modules.Modules, version=(3, 0, 0), ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGatherers, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) ), @@ -57,7 +62,7 @@ class Kthreads(plugins.PluginInterface): known_modules = linux_utilities_modules.Modules.run_modules_scanners( context=self.context, kernel_module_name=self.config["kernel"], - caller_wanted_sources=linux_utilities_modules.Modules.all_sources_identifier, + caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, ) for task in pslist.PsList.list_tasks( diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index e43672974..b04eb74ca 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -36,6 +36,11 @@ spot modules presence and taints.""" component=linux_utilities_modules.Modules, version=(3, 0, 0), ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGatherers, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="linux-tainting", component=tainting.Tainting, version=(1, 0, 0) ), @@ -89,44 +94,42 @@ spot modules presence and taints.""" ) def _generator(self): - kernel_name = self.config["kernel"] + kernel = self.context.modules[self.config["kernel"]] - kernel = self.context.modules[kernel_name] - - wanted_sources = [ - linux_utilities_modules.Modules.source_lsmod_identifier, - linux_utilities_modules.Modules.source_sysfs_identifier, - linux_utilities_modules.Modules.source_hidden_identifier, + wanted_gatherers = [ + linux_utilities_modules.ModuleGathererLsmod, + linux_utilities_modules.ModuleGathererSysFs, + linux_utilities_modules.ModuleGathererScanner, ] run_results = linux_utilities_modules.Modules.run_modules_scanners( context=self.context, kernel_module_name=self.config["kernel"], - caller_wanted_sources=wanted_sources, + caller_wanted_gatherers=wanted_gatherers, flatten=False, ) aggregated_modules = {} # We want to be explicit on the plugins results we are interested in - for plugin_name in wanted_sources: + for gatherer in wanted_gatherers: # Iterate over each recovered module - for mod_info in run_results[plugin_name]: + for mod_info in run_results[gatherer]: # Use offsets as unique keys, whether a module # appears in many plugin runs or not if aggregated_modules.get(mod_info.offset, None) is not None: # Append the plugin to the list of originating plugins - aggregated_modules[mod_info.offset].append(plugin_name) + aggregated_modules[mod_info.offset].append(gatherer) else: - aggregated_modules[mod_info.offset] = [plugin_name] + aggregated_modules[mod_info.offset] = [gatherer] - for module_offset, originating_plugins in aggregated_modules.items(): - # Tainting parsing capabilities applied to the module + for module_offset, gatherers in aggregated_modules.items(): module = kernel.object("module", offset=module_offset, absolute=True) + # Tainting parsing capabilities applied to the module if self.config.get("plain_taints"): taints = tainting.Tainting.get_taints_as_plain_string( self.context, - kernel_name, + self.config["kernel"], module.taints, True, ) @@ -134,7 +137,7 @@ spot modules presence and taints.""" taints = ",".join( tainting.Tainting.get_taints_parsed( self.context, - kernel_name, + self.config["kernel"], module.taints, True, ) @@ -145,9 +148,9 @@ spot modules presence and taints.""" ( module.get_name() or NotAvailableValue(), format_hints.Hex(module_offset), - "lsmod" in originating_plugins, - "check_modules" in originating_plugins, - "hidden_modules" in originating_plugins, + linux_utilities_modules.ModuleGathererLsmod in gatherers, + linux_utilities_modules.ModuleGathererSysFs in gatherers, + linux_utilities_modules.ModuleGathererScanner in gatherers, taints or NotAvailableValue(), ), ) @@ -158,7 +161,7 @@ spot modules presence and taints.""" ("Address", format_hints.Hex), ("In procfs", bool), ("In sysfs", bool), - ("Hidden", bool), + ("In scan", bool), ("Taints", str), ] diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index 146230f02..c5e4f9ef8 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -5,7 +5,7 @@ # Public researches: https://i.blackhat.com/USA21/Wednesday-Handouts/us-21-Fixing-A-Memory-Forensics-Blind-Spot-Linux-Kernel-Tracing-wp.pdf import logging -from typing import Dict, List, Generator +from typing import List, Generator from enum import Enum from dataclasses import dataclass @@ -65,7 +65,7 @@ class CheckFtrace(interfaces.plugins.PluginInterface): Investigate the ftrace infrastructure to uncover kernel attached callbacks, which can be leveraged to hook kernel functions and modify their behaviour.""" - _version = (3, 0, 0) + _version = (4, 0, 0) _required_framework_version = (2, 19, 0) @classmethod @@ -81,6 +81,11 @@ class CheckFtrace(interfaces.plugins.PluginInterface): component=linux_utilities_modules.Modules, version=(3, 0, 0), ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGatherers, + version=(1, 0, 0), + ), requirements.BooleanRequirement( name="show_ftrace_flags", description="Show ftrace flags associated with an ftrace_ops struct", @@ -127,9 +132,8 @@ class CheckFtrace(interfaces.plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, kernel_module_name: str, - known_modules: Dict[str, List[linux_utilities_modules.Modules.ModuleInfo]], + known_modules: List[linux_utilities_modules.ModuleInfo], ftrace_ops: interfaces.objects.ObjectInterface, - run_hidden_modules: bool = True, ) -> Generator[ParsedFtraceOps, None, None]: """Parse an ftrace_ops struct to highlight ftrace kernel hooking. Iterates over embedded ftrace_func_entry entries, which point to hooked memory areas. @@ -137,8 +141,6 @@ class CheckFtrace(interfaces.plugins.PluginInterface): Args: known_modules: A dict of known modules, used to locate callbacks origin. Typically obtained through run_modules_scanners(). ftrace_ops: The ftrace_ops struct to parse - run_hidden_modules: Whether to run the hidden_modules plugin or not. Note: it won't be run, even if specified, \ - if the "hidden_modules" key is present in known_modules. Yields: An iterable of ParsedFtraceOps dataclasses, containing a selection of useful fields (callback, hook, module) related to an ftrace_ops struct @@ -225,7 +227,7 @@ class CheckFtrace(interfaces.plugins.PluginInterface): known_modules = linux_utilities_modules.Modules.run_modules_scanners( context=self.context, kernel_module_name=self.config["kernel"], - caller_wanted_sources=linux_utilities_modules.Modules.all_sources_identifier, + caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, ) for ftrace_ops in self.iterate_ftrace_ops_list(self.context, kernel_name): diff --git a/volatility3/framework/plugins/linux/tracing/tracepoints.py b/volatility3/framework/plugins/linux/tracing/tracepoints.py index 83903b19b..9d4a4a2e3 100644 --- a/volatility3/framework/plugins/linux/tracing/tracepoints.py +++ b/volatility3/framework/plugins/linux/tracing/tracepoints.py @@ -5,7 +5,7 @@ # Public researches: https://i.blackhat.com/USA21/Wednesday-Handouts/us-21-Fixing-A-Memory-Forensics-Blind-Spot-Linux-Kernel-Tracing-wp.pdf import logging -from typing import Dict, Iterable, List, Optional +from typing import Iterable, List, Optional from dataclasses import dataclass import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules @@ -38,7 +38,7 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): Investigate the tracepoints subsystem to uncover kernel attached probes, which can be leveraged to hook kernel functions and modify their behaviour.""" - _version = (1, 0, 0) + _version = (2, 0, 0) _required_framework_version = (2, 19, 0) @classmethod @@ -54,6 +54,11 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): component=linux_utilities_modules.Modules, version=(3, 0, 0), ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGatherers, + version=(1, 0, 0), + ), ] @classmethod @@ -96,7 +101,7 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, kernel_module_name: str, - known_modules: Dict[str, List[linux_utilities_modules.Modules.ModuleInfo]], + known_modules: List[linux_utilities_modules.ModuleInfo], tracepoint: interfaces.objects.ObjectInterface, run_hidden_modules: bool = True, ) -> Optional[Iterable[ParsedTracepointFunc]]: @@ -231,7 +236,7 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): known_modules = linux_utilities_modules.Modules.run_modules_scanners( context=self.context, kernel_module_name=self.config["kernel"], - caller_wanted_sources=linux_utilities_modules.Modules.all_sources_identifier, + caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, ) tracepoints = self.iterate_tracepoints_array(self.context, kernel_name) diff --git a/volatility3/framework/plugins/linux/tty_check.py b/volatility3/framework/plugins/linux/tty_check.py index f4b581756..7d30b84ee 100644 --- a/volatility3/framework/plugins/linux/tty_check.py +++ b/volatility3/framework/plugins/linux/tty_check.py @@ -34,6 +34,11 @@ class tty_check(plugins.PluginInterface): component=linux_utilities_modules.Modules, version=(3, 0, 0), ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGatherers, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) ), @@ -57,7 +62,7 @@ class tty_check(plugins.PluginInterface): known_modules = linux_utilities_modules.Modules.run_modules_scanners( context=self.context, kernel_module_name=self.config["kernel"], - caller_wanted_sources=linux_utilities_modules.Modules.all_sources_identifier, + caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, ) for tty in tty_drivers.to_list( diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index dac52dce3..a930bef20 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -1,6 +1,18 @@ import logging import warnings -from typing import Iterable, Iterator, List, Optional, Tuple, NamedTuple, Dict, Set +from typing import ( + Iterable, + Iterator, + List, + Optional, + Tuple, + NamedTuple, + Dict, + Set, + Generator, + Union, +) +from abc import ABCMeta, abstractmethod from volatility3 import framework from volatility3.framework import ( @@ -10,12 +22,44 @@ from volatility3.framework import ( exceptions, objects, ) + from volatility3.framework.objects import utility from volatility3.framework.symbols.linux import extensions vollog = logging.getLogger(__name__) +class ModuleInfo(NamedTuple): + """ + Used to track the name and boundary of a kernel module + """ + + offset: int + name: str + start: int + end: int + + +class ModuleGathererInterface( + interfaces.configuration.VersionableInterface, metaclass=ABCMeta +): + _version = (1, 0, 0) + _required_framework_version = (2, 0, 0) + + framework.require_interface_version(*_required_framework_version) + + gatherer_return_type = Generator[Union[ModuleInfo, "extensions.module"], None, None] + + @classmethod + @abstractmethod + def gather_modules( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str + ) -> gatherer_return_type: + """ + This method must return a generator (yield) of each `gatherer_return_type` found from its source + """ + + class Modules(interfaces.configuration.VersionableInterface): """Kernel modules related utilities.""" @@ -24,31 +68,6 @@ class Modules(interfaces.configuration.VersionableInterface): framework.require_interface_version(*_required_framework_version) - # Valid sources of kernel modules to send to `run_module_scanners` - source_kernel_identifier = "kernel" - source_lsmod_identifier = "lsmod" - source_sysfs_identifier = "check_modules" - source_hidden_identifier = "hidden_modules" - - # With few exceptions, rootkit checking plugins want all sources - # This provides a stable identifier as new sources are added over time - all_sources_identifier = [ - source_kernel_identifier, - source_lsmod_identifier, - source_sysfs_identifier, - source_hidden_identifier, - ] - - class ModuleInfo(NamedTuple): - """ - Used to track the name and boundary of a kernel module - """ - - offset: int - name: str - start: int - end: int - @classmethod def module_lookup_by_address( cls, @@ -204,138 +223,41 @@ class Modules(interfaces.configuration.VersionableInterface): end = start + module.get_core_size() - return Modules.ModuleInfo(module.vol.offset, mod_name, start, end) - - @staticmethod - def get_kernel_module_info( - context: interfaces.context.ContextInterface, - kernel_module_name: str, - ) -> Iterator[ModuleInfo]: - """ - Returns a ModuleInfo instance that encodes the kernel - This is required to map function pointers to the kerenl executable - """ - kernel = context.modules[kernel_module_name] - - address_mask = context.layers[kernel.layer_name].address_mask - - start_addr = kernel.object_from_symbol("_text") - start_addr = start_addr.vol.offset & address_mask - - end_addr = kernel.object_from_symbol("_etext") - end_addr = end_addr.vol.offset & address_mask - - return [ - Modules.ModuleInfo( - start_addr, constants.linux.KERNEL_NAME, start_addr, end_addr - ) - ] + return ModuleInfo(module.vol.offset, mod_name, start, end) @classmethod - def _get_hidden_modules_results( - cls, - context: str, - kernel_module_name: str, - run_results: Dict[str, List[ModuleInfo]], - ): - known_modules_addresses = set() - - kernel = context.modules[kernel_module_name] - - # Walk each sources' results - for results in run_results.values(): - for modinfo in results: - address = context.layers[kernel.layer_name].canonicalize(modinfo.start) - known_modules_addresses.add(address) - - modules_memory_boundaries = cls.get_modules_memory_boundaries( - context, kernel_module_name - ) - - hidden_results = [] - - address_mask = context.layers[kernel.layer_name].address_mask - - for module in cls.get_hidden_modules( - context, - kernel_module_name, - known_modules_addresses, - modules_memory_boundaries, - ): - modinfo = cls.get_module_info_for_module(address_mask, module) - if modinfo: - hidden_results.append(modinfo) - - return hidden_results - - @classmethod - def _get_list_modules( - cls, context: interfaces.context.ContextInterface, kernel_module_name: str - ) -> List[ModuleInfo]: + def _validate_gatherers(cls, caller_wanted_gatherers) -> List[str]: """ - Gather `module` instances from lsmod + Called by `run_modules_scanners` to validate the caller supplied gatherers list + An exception is thrown if an empty gatherers list is given or a list containing an invalid source """ - yield from cls.list_modules(context, kernel_module_name) - - @classmethod - def _get_sysfs_modules( - cls, context: interfaces.context.ContextInterface, kernel_module_name: str - ) -> List[ModuleInfo]: - """ - Gather the `module` instances from sysfs - """ - kernel = context.modules[kernel_module_name] - - sysfs_modules: dict = cls.get_kset_modules(context, kernel_module_name) - - for m_offset in sysfs_modules.values(): - yield kernel.object(object_type="module", offset=m_offset, absolute=True) - - @classmethod - def _validated_sources(cls, caller_wanted_sources) -> List[str]: - """ - Called by `run_modules_scanners` to validate the caller supplied sources list - An exception is thrown if an empty source list is given or a list containing an invalid source - """ - if not caller_wanted_sources: - raise ValueError("`caller_wanted_sources` must have at least one source.") - - if ( - len(caller_wanted_sources) == 1 - and caller_wanted_sources[0] == Modules.source_hidden_identifier - ): + if not caller_wanted_gatherers: raise ValueError( - f"{Modules.source_hidden_identifier} cannot be the only source or there is nothing to compare against." + "`caller_wanted_gatherers` must have at least one gatherer." ) - wanted_sources = [] - - for source in caller_wanted_sources: - if source not in Modules.all_sources_identifier: + for gatherer in caller_wanted_gatherers: + if gatherer not in ModuleGatherers.all_gatherers_identifier: raise ValueError( - f"Invalid source sent through `caller_wanted_sources`: {source}" + f"Invalid gatherer sent through `caller_wanted_gatherers`: {gatherer}" ) - wanted_sources.append(source) - - return wanted_sources - @classmethod def run_modules_scanners( cls, context: interfaces.context.ContextInterface, kernel_module_name: str, - caller_wanted_sources: List[str], + caller_wanted_gatherers: List[ModuleGathererInterface], flatten: bool = True, - ) -> Dict[str, List[ModuleInfo]]: + ) -> Dict[ModuleGathererInterface, List[ModuleInfo]]: """Run module scanning plugins and aggregate the results. It is designed to not operate any inter-plugin results triage. Rules for `caller_wanted_sources`: - If `Modules.all_sources_identifier` is specified then every source will be populated + If `ModuleGathers.all_gathers_identifier` is specified then every source will be populated - If `Modules.source_hidden_identifier` is in the list, then at least one other sources must be + If `ModuleGathers.Scanner` is in the list, then at least one other sources must be specified so a comparison will be populated If empty or an invalid source is specified then a ValueError is thrown @@ -346,52 +268,30 @@ class Modules(interfaces.configuration.VersionableInterface): Returns: Dictionary mapping each plugin to its corresponding result """ - - module_gatherers = { - Modules.source_kernel_identifier: cls.get_kernel_module_info, - Modules.source_lsmod_identifier: cls._get_list_modules, - Modules.source_sysfs_identifier: cls._get_sysfs_modules, - } + # Throws ValueError if invalid gatherers sent in + Modules._validate_gatherers(caller_wanted_gatherers) kernel = context.modules[kernel_module_name] address_mask = context.layers[kernel.layer_name].address_mask - wanted_sources = Modules._validated_sources(caller_wanted_sources) + run_results: Dict[ModuleGathererInterface, List[ModuleInfo]] = {} - run_results = {} - - run_hidden_modules = False - - # Special case hidden modules since it gathers modules on its own - if Modules.source_hidden_identifier in wanted_sources: - run_hidden_modules = True - wanted_sources.remove(Modules.source_hidden_identifier) - - # Walk each source, gathering modules - for wanted_source in wanted_sources: - run_results[wanted_source] = [] - - gatherer = module_gatherers[wanted_source] + # Walk each source gathering modules + for gatherer in caller_wanted_gatherers: + run_results[gatherer] = [] # process each module coming from back the current source - for module in gatherer(context, kernel_module_name): + for module in gatherer.gather_modules(context, kernel_module_name): + # the kernel sends back a ModuleInfo directly - if wanted_source == Modules.source_kernel_identifier: + if gatherer == ModuleGathererKernel: modinfo = module else: modinfo = cls.get_module_info_for_module(address_mask, module) if modinfo: - run_results[wanted_source].append(modinfo) - - # run hidden modules against the other sources - if run_hidden_modules: - run_results[Modules.source_hidden_identifier] = ( - cls._get_hidden_modules_results( - context, kernel_module_name, run_results - ) - ) + run_results[gatherer].append(modinfo) if flatten: return cls.flatten_run_modules_results(run_results) @@ -449,7 +349,7 @@ class Modules(interfaces.configuration.VersionableInterface): Returns: List of ModuleInfo objects """ - uniq_modules: List[Modules.ModuleInfo] = [] + uniq_modules: List[ModuleInfo] = [] seen_addresses: int = set() @@ -645,3 +545,98 @@ class Modules(interfaces.configuration.VersionableInterface): True if all the addresses meet the alignment """ return all(addr % address_alignment == 0 for addr in addresses) + + +class ModuleGathererLsmod(ModuleGathererInterface): + """ + Gathers modules from the main kernel list + """ + + @classmethod + def gather_modules( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str + ) -> ModuleGathererInterface.gatherer_return_type: + yield from Modules.list_modules(context, kernel_module_name) + + +class ModuleGathererSysFs(ModuleGathererInterface): + """ + Gathers modules from the sysfs /sys/modules objects + """ + + @classmethod + def gather_modules( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str + ) -> ModuleGathererInterface.gatherer_return_type: + kernel = context.modules[kernel_module_name] + + sysfs_modules: dict = Modules.get_kset_modules(context, kernel_module_name) + + for m_offset in sysfs_modules.values(): + yield kernel.object(object_type="module", offset=m_offset, absolute=True) + + +class ModuleGathererScanner(ModuleGathererInterface): + """ + Gathers modules by scanning memory + """ + + @classmethod + def gather_modules( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str + ) -> ModuleGathererInterface.gatherer_return_type: + modules_memory_boundaries = Modules.get_modules_memory_boundaries( + context, kernel_module_name + ) + + # Send in an empty list to not filter on any modules + yield from Modules.get_hidden_modules( + context=context, + vmlinux_module_name=kernel_module_name, + known_module_addresses=[], + modules_memory_boundaries=modules_memory_boundaries, + ) + + +class ModuleGathererKernel(ModuleGathererInterface): + """ + Creates a ModuleInfo instance for the kernel so that plugins + can determine when function pointers reference the kernel + """ + + @classmethod + def gather_modules( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str + ) -> ModuleGathererInterface.gatherer_return_type: + """ + Returns a ModuleInfo instance that encodes the kernel + This is required to map function pointers to the kerenl executable + """ + kernel = context.modules[kernel_module_name] + + address_mask = context.layers[kernel.layer_name].address_mask + + start_addr = kernel.object_from_symbol("_text") + start_addr = start_addr.vol.offset & address_mask + + end_addr = kernel.object_from_symbol("_etext") + end_addr = end_addr.vol.offset & address_mask + + yield ModuleInfo(start_addr, constants.linux.KERNEL_NAME, start_addr, end_addr) + + +class ModuleGatherers(interfaces.configuration.VersionableInterface): + _version = (1, 0, 0) + _required_framework_version = (2, 0, 0) + + framework.require_interface_version(*_required_framework_version) + + # Valid sources of cores kernel module gatherers to send to `run_module_scanners` + # With few exceptions, rootkit checking plugins want all sources + # This provides a stable identifier as new sources are added over time + all_gatherers_identifier = [ + ModuleGathererLsmod, + ModuleGathererSysFs, + ModuleGathererScanner, + ModuleGathererKernel, + ] From 2e93b8ed0982de47d0745975fb516b1b580f84b2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 20:43:12 +0000 Subject: [PATCH 1616/2186] Prevent CodeQL from losing its mind. Properly checking for instances of the interface --- .../symbols/linux/utilities/modules.py | 33 ++++++++----------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index a930bef20..ee48ebc28 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -225,23 +225,6 @@ class Modules(interfaces.configuration.VersionableInterface): return ModuleInfo(module.vol.offset, mod_name, start, end) - @classmethod - def _validate_gatherers(cls, caller_wanted_gatherers) -> List[str]: - """ - Called by `run_modules_scanners` to validate the caller supplied gatherers list - An exception is thrown if an empty gatherers list is given or a list containing an invalid source - """ - if not caller_wanted_gatherers: - raise ValueError( - "`caller_wanted_gatherers` must have at least one gatherer." - ) - - for gatherer in caller_wanted_gatherers: - if gatherer not in ModuleGatherers.all_gatherers_identifier: - raise ValueError( - f"Invalid gatherer sent through `caller_wanted_gatherers`: {gatherer}" - ) - @classmethod def run_modules_scanners( cls, @@ -268,8 +251,20 @@ class Modules(interfaces.configuration.VersionableInterface): Returns: Dictionary mapping each plugin to its corresponding result """ - # Throws ValueError if invalid gatherers sent in - Modules._validate_gatherers(caller_wanted_gatherers) + if not caller_wanted_gatherers: + raise ValueError( + "`caller_wanted_gatherers` must have at least one gatherer." + ) + + if not isinstance(caller_wanted_gatherers, Iterable): + raise ValueError("`caller_wanted_gatherers` must be iterable") + + for gatherer in caller_wanted_gatherers: + if not issubclass(gatherer, ModuleGathererInterface): + raise ValueError( + f"Invalid gatherer sent through `caller_wanted_gatherers`: {gatherer}" + ) + kernel = context.modules[kernel_module_name] From f5ae7928a300e1eeec2c19fd67b9d7d883a9d2e1 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 20:45:14 +0000 Subject: [PATCH 1617/2186] Black fix --- volatility3/framework/symbols/linux/utilities/modules.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index ee48ebc28..c3700ae60 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -265,7 +265,6 @@ class Modules(interfaces.configuration.VersionableInterface): f"Invalid gatherer sent through `caller_wanted_gatherers`: {gatherer}" ) - kernel = context.modules[kernel_module_name] address_mask = context.layers[kernel.layer_name].address_mask From f38ddaf7155dce6c9171ad052bbfb6db0c9be3a8 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 20:53:02 +0000 Subject: [PATCH 1618/2186] Fix string scanning code --- volatility3/framework/objects/utility.py | 30 ++++++++++++++---------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index b014e37fa..f1ee701bf 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -119,20 +119,26 @@ def gather_contiguous_bytes_from_address( data = b"" - last_address = None + if isinstance(data_layer, interfaces.layers.TranslationLayerInterface): + last_address = None + + for address, length, _, _, _ in data_layer.mapping( + offset=starting_address, length=count, ignore_errors=True + ): + # Used to track when we hit a paged out page + if not last_address: + last_address = address + length + + # we hit a swapped out page + elif last_address and last_address != address: + break + + data += data_layer.read(address, length) - for address, length, _, _, _ in data_layer.mapping( - offset=starting_address, length=count, ignore_errors=True - ): - # Used to track when we hit a paged out page - if not last_address: last_address = address + length - # we hit a swapped out page - elif last_address and last_address != address: - break - - data += data_layer.read(address, length) + elif starting_address + count < data_layer.maximum_address: + data = data_layer.read(starting_address, count) # if we were able to read from the first page, we want to try and construct the string # if the first page fails -> throw exception @@ -143,8 +149,6 @@ def gather_contiguous_bytes_from_address( layer_name=data_layer, invalid_address=starting_address ) - return data - def bytes_to_decoded_string(data: bytes, encoding: str, errors: str) -> bytes: """ From bb0a17004f004b6eac4113a3e9377acdc4bc6e6c Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 20:59:15 +0000 Subject: [PATCH 1619/2186] Add return_truncated for plugin-specified handling of truncated strings --- volatility3/framework/objects/utility.py | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index f1ee701bf..a29b65875 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -150,8 +150,19 @@ def gather_contiguous_bytes_from_address( ) -def bytes_to_decoded_string(data: bytes, encoding: str, errors: str) -> bytes: +def bytes_to_decoded_string( + data: bytes, encoding: str, errors: str, return_truncated: bool = True +) -> bytes: """ + Args: + data: The `bytes` buffer containing the string of a string at offset 0 + encoding: An encoding value for the encoding paramater of `bytes.decode` + errors: An errors value for the errors parameter of `bytes.decode` + return_truncated: Dictates whether truncated strings should be returned or + if a ValueError should be thrown if a truncated (broken) string was decoded + Returns: + bytes: The decoded string starting at offset of data + This function takes a bytes buffer that contains at a string of unknown length starting at the first byte, and returns the properly decoded string @@ -173,7 +184,12 @@ def bytes_to_decoded_string(data: bytes, encoding: str, errors: str) -> bytes: try: idx = termination_re.search(full_decoded_string).start() except AttributeError: - idx = len(full_decoded_string) + if return_truncated: + idx = len(full_decoded_string) + else: + raise ValueError( + "return_truncated set to False and truncated string decoded." + ) # cut at terminating byte, if found data = data[:idx] From a0f3cba6f6d71648a4feb884502491b773815255 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 21:08:15 +0000 Subject: [PATCH 1620/2186] Fix stale comments --- volatility3/framework/symbols/linux/utilities/modules.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index c3700ae60..957d7b5b4 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -237,14 +237,9 @@ class Modules(interfaces.configuration.VersionableInterface): to not operate any inter-plugin results triage. Rules for `caller_wanted_sources`: - - If `ModuleGathers.all_gathers_identifier` is specified then every source will be populated - - If `ModuleGathers.Scanner` is in the list, then at least one other sources must be - specified so a comparison will be populated + If `ModuleGatherers.all_gathers_identifier` is specified then every source will be populated If empty or an invalid source is specified then a ValueError is thrown - Args: called_wanted_sources: The list of sources to gather modules. flatten: Whether to de-duplicate modules across sources From b2ec21fcf28e657f42f178c27c144af7d1d7893e Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 21:15:03 +0000 Subject: [PATCH 1621/2186] Simplify last_address handling --- volatility3/framework/objects/utility.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index a29b65875..018b4a138 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -120,17 +120,13 @@ def gather_contiguous_bytes_from_address( data = b"" if isinstance(data_layer, interfaces.layers.TranslationLayerInterface): - last_address = None + last_address = starting_address for address, length, _, _, _ in data_layer.mapping( offset=starting_address, length=count, ignore_errors=True ): - # Used to track when we hit a paged out page - if not last_address: - last_address = address + length - # we hit a swapped out page - elif last_address and last_address != address: + if last_address != address: break data += data_layer.read(address, length) From 53e32e36f6128fa3ec53e77f3e7fb859cbc1d173 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 14 Mar 2025 22:34:06 +0000 Subject: [PATCH 1622/2186] Add versioning on gatherers, make check non-specific to kernel gatherer, add requirements to ModuleGatherers --- .../symbols/linux/utilities/modules.py | 40 ++++++++++++++++++- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 957d7b5b4..70b45fbd9 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -23,6 +23,7 @@ from volatility3.framework import ( objects, ) +from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.symbols.linux import extensions @@ -274,7 +275,7 @@ class Modules(interfaces.configuration.VersionableInterface): for module in gatherer.gather_modules(context, kernel_module_name): # the kernel sends back a ModuleInfo directly - if gatherer == ModuleGathererKernel: + if isinstance(module, ModuleInfo): modinfo = module else: modinfo = cls.get_module_info_for_module(address_mask, module) @@ -541,6 +542,10 @@ class ModuleGathererLsmod(ModuleGathererInterface): Gathers modules from the main kernel list """ + _version = (1, 0, 0) + + name = "Lsmod" + @classmethod def gather_modules( cls, context: interfaces.context.ContextInterface, kernel_module_name: str @@ -553,6 +558,10 @@ class ModuleGathererSysFs(ModuleGathererInterface): Gathers modules from the sysfs /sys/modules objects """ + _version = (1, 0, 0) + + name = "SysFs" + @classmethod def gather_modules( cls, context: interfaces.context.ContextInterface, kernel_module_name: str @@ -570,6 +579,10 @@ class ModuleGathererScanner(ModuleGathererInterface): Gathers modules by scanning memory """ + _version = (1, 0, 0) + + name = "Scanner" + @classmethod def gather_modules( cls, context: interfaces.context.ContextInterface, kernel_module_name: str @@ -593,6 +606,10 @@ class ModuleGathererKernel(ModuleGathererInterface): can determine when function pointers reference the kernel """ + _version = (1, 0, 0) + + name = "kernel" + @classmethod def gather_modules( cls, context: interfaces.context.ContextInterface, kernel_module_name: str @@ -614,7 +631,10 @@ class ModuleGathererKernel(ModuleGathererInterface): yield ModuleInfo(start_addr, constants.linux.KERNEL_NAME, start_addr, end_addr) -class ModuleGatherers(interfaces.configuration.VersionableInterface): +class ModuleGatherers( + interfaces.configuration.VersionableInterface, + interfaces.configuration.ConfigurableInterface, +): _version = (1, 0, 0) _required_framework_version = (2, 0, 0) @@ -629,3 +649,19 @@ class ModuleGatherers(interfaces.configuration.VersionableInterface): ModuleGathererScanner, ModuleGathererKernel, ] + + @classmethod + def get_requirements(cls): + reqs = [] + + # for now, all versions are 1, this will be broken out if/when that changes + for gatherer in ModuleGatherers.all_gatherers_identifier: + reqs.append( + requirements.VersionRequirement( + name=gatherer.name.replace(" ", ""), + component=gatherer, + version=(1, 0, 0), + ) + ) + + return reqs From 674cc045d21694647857f9d47ca3ff94f49a8c51 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 15 Mar 2025 17:22:31 +0000 Subject: [PATCH 1623/2186] Update to using str dictionary key. Add requirements for each gatherer in modxview. Validate names are unique while sanity checking. --- .../framework/plugins/linux/modxview.py | 24 ++++++++++----- .../symbols/linux/utilities/modules.py | 30 ++++++++++++++----- 2 files changed, 40 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index b04eb74ca..cf31a3a33 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -38,7 +38,17 @@ spot modules presence and taints.""" ), requirements.VersionRequirement( name="linux_utilities_module_gatherers", - component=linux_utilities_modules.ModuleGatherers, + component=linux_utilities_modules.ModuleGathererLsmod, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGathererSysFs, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGathererScanner, version=(1, 0, 0), ), requirements.VersionRequirement( @@ -113,14 +123,14 @@ spot modules presence and taints.""" # We want to be explicit on the plugins results we are interested in for gatherer in wanted_gatherers: # Iterate over each recovered module - for mod_info in run_results[gatherer]: + for mod_info in run_results[gatherer.name]: # Use offsets as unique keys, whether a module # appears in many plugin runs or not if aggregated_modules.get(mod_info.offset, None) is not None: # Append the plugin to the list of originating plugins - aggregated_modules[mod_info.offset].append(gatherer) + aggregated_modules[mod_info.offset].append(gatherer.name) else: - aggregated_modules[mod_info.offset] = [gatherer] + aggregated_modules[mod_info.offset] = [gatherer.name] for module_offset, gatherers in aggregated_modules.items(): module = kernel.object("module", offset=module_offset, absolute=True) @@ -148,9 +158,9 @@ spot modules presence and taints.""" ( module.get_name() or NotAvailableValue(), format_hints.Hex(module_offset), - linux_utilities_modules.ModuleGathererLsmod in gatherers, - linux_utilities_modules.ModuleGathererSysFs in gatherers, - linux_utilities_modules.ModuleGathererScanner in gatherers, + linux_utilities_modules.ModuleGathererLsmod.name in gatherers, + linux_utilities_modules.ModuleGathererSysFs.name in gatherers, + linux_utilities_modules.ModuleGathererScanner.name in gatherers, taints or NotAvailableValue(), ), ) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 70b45fbd9..eeee98a01 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -233,19 +233,21 @@ class Modules(interfaces.configuration.VersionableInterface): kernel_module_name: str, caller_wanted_gatherers: List[ModuleGathererInterface], flatten: bool = True, - ) -> Dict[ModuleGathererInterface, List[ModuleInfo]]: + ) -> Dict[str, List[ModuleInfo]]: """Run module scanning plugins and aggregate the results. It is designed to not operate any inter-plugin results triage. - Rules for `caller_wanted_sources`: + Rules for `caller_wanted_gatherers`: If `ModuleGatherers.all_gathers_identifier` is specified then every source will be populated - If empty or an invalid source is specified then a ValueError is thrown + If empty or an invalid gatherer is specified then a ValueError is thrown + + All gatherer names must be unique Args: called_wanted_sources: The list of sources to gather modules. - flatten: Whether to de-duplicate modules across sources + flatten: Whether to de-duplicate modules across gatherers Returns: - Dictionary mapping each plugin to its corresponding result + Dictionary mapping each gatherer to its corresponding result """ if not caller_wanted_gatherers: raise ValueError( @@ -255,12 +257,26 @@ class Modules(interfaces.configuration.VersionableInterface): if not isinstance(caller_wanted_gatherers, Iterable): raise ValueError("`caller_wanted_gatherers` must be iterable") + seen_names = set() + for gatherer in caller_wanted_gatherers: if not issubclass(gatherer, ModuleGathererInterface): raise ValueError( f"Invalid gatherer sent through `caller_wanted_gatherers`: {gatherer}" ) + if not hasattr(gatherer, "name"): + raise ValueError( + f"{gatherer} does not have a name attribute, which is required." + ) + + if gatherer.name in seen_names: + raise ValueError( + f"{gatherer} has a name {gatherer.name} which has already been processed. Names must be unique." + ) + + seen_names.add(gatherer.name) + kernel = context.modules[kernel_module_name] address_mask = context.layers[kernel.layer_name].address_mask @@ -269,7 +285,7 @@ class Modules(interfaces.configuration.VersionableInterface): # Walk each source gathering modules for gatherer in caller_wanted_gatherers: - run_results[gatherer] = [] + run_results[gatherer.name] = [] # process each module coming from back the current source for module in gatherer.gather_modules(context, kernel_module_name): @@ -281,7 +297,7 @@ class Modules(interfaces.configuration.VersionableInterface): modinfo = cls.get_module_info_for_module(address_mask, module) if modinfo: - run_results[gatherer].append(modinfo) + run_results[gatherer.name].append(modinfo) if flatten: return cls.flatten_run_modules_results(run_results) From 0f5dd10aa9ba8370c8153dd6d36fb600dd03f888 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 15 Mar 2025 13:23:01 -0500 Subject: [PATCH 1624/2186] Apply suggestions from code review Co-authored-by: ikelos --- volatility3/framework/plugins/linux/modxview.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index cf31a3a33..ed21acfd1 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -37,17 +37,17 @@ spot modules presence and taints.""" version=(3, 0, 0), ), requirements.VersionRequirement( - name="linux_utilities_module_gatherers", + name="linux_utilities_module_gatherer_lsmod", component=linux_utilities_modules.ModuleGathererLsmod, version=(1, 0, 0), ), requirements.VersionRequirement( - name="linux_utilities_module_gatherers", + name="linux_utilities_module_gatherer_sysfs", component=linux_utilities_modules.ModuleGathererSysFs, version=(1, 0, 0), ), requirements.VersionRequirement( - name="linux_utilities_module_gatherers", + name="linux_utilities_module_gatherer_scanner", component=linux_utilities_modules.ModuleGathererScanner, version=(1, 0, 0), ), From e79f03691a1aa84afa3e2a1fe5fc9746709a5d70 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 15 Mar 2025 19:01:52 +0000 Subject: [PATCH 1625/2186] Add name to interface and validate it in processing loop --- volatility3/framework/symbols/linux/utilities/modules.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index eeee98a01..b711f4e2c 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -51,6 +51,9 @@ class ModuleGathererInterface( gatherer_return_type = Generator[Union[ModuleInfo, "extensions.module"], None, None] + # Must be set to a unique, descriptive name of the gathering technique or data structure source + name = None + @classmethod @abstractmethod def gather_modules( @@ -265,9 +268,9 @@ class Modules(interfaces.configuration.VersionableInterface): f"Invalid gatherer sent through `caller_wanted_gatherers`: {gatherer}" ) - if not hasattr(gatherer, "name"): + if gatherer.name is None or len(gatherer.name) == 0: raise ValueError( - f"{gatherer} does not have a name attribute, which is required." + f"{gatherer} does not have a valid name attribute, which is required. It must be a non-zero length string." ) if gatherer.name in seen_names: From 9da147df1b6b79a5c9ab0a67ed3593829bb6c598 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 15 Mar 2025 19:10:00 +0000 Subject: [PATCH 1626/2186] simplify check --- volatility3/framework/symbols/linux/utilities/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index b711f4e2c..52dfe77e4 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -268,7 +268,7 @@ class Modules(interfaces.configuration.VersionableInterface): f"Invalid gatherer sent through `caller_wanted_gatherers`: {gatherer}" ) - if gatherer.name is None or len(gatherer.name) == 0: + if not gatherer.name: raise ValueError( f"{gatherer} does not have a valid name attribute, which is required. It must be a non-zero length string." ) From 9550db82a99d8ac5220048605152092ee92db0cd Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 15 Mar 2025 20:31:01 +0000 Subject: [PATCH 1627/2186] Bump the ruff action --- .github/workflows/ruff.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ruff.yaml b/.github/workflows/ruff.yaml index 77e3aa864..98a05a616 100644 --- a/.github/workflows/ruff.yaml +++ b/.github/workflows/ruff.yaml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: astral-sh/ruff-action@v1 + - uses: astral-sh/ruff-action@v3.2.1 with: args: check src: "." From fbb4003a3224a6fc24f0a872b0b4253d778697c3 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 15 Mar 2025 20:59:14 +0000 Subject: [PATCH 1630/2186] Fix broken truncation from Vol3 bytes to string conversion --- volatility3/framework/objects/utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 018b4a138..473c5a349 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -188,7 +188,7 @@ def bytes_to_decoded_string( ) # cut at terminating byte, if found - data = data[:idx] + data = bytes(full_decoded_string[:idx], encoding=encoding) # return with caller-specified encoding and errors return data.decode(encoding=encoding, errors=errors) From 2d2228b06e89bc08ae53aba05059488327ad5ec2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 15 Mar 2025 21:25:39 +0000 Subject: [PATCH 1631/2186] Fix signature --- volatility3/framework/objects/utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 473c5a349..57d1bca4c 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -105,7 +105,7 @@ def pointer_to_string( def gather_contiguous_bytes_from_address( context, data_layer, starting_address: int, count: int -) -> bytes: +) -> str: """ This method reconstructs a string from memory while also carefully examining each page From bad34a112aabfc4c7a0e3eb29f3d7716fa839faf Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sat, 15 Mar 2025 22:58:07 +0000 Subject: [PATCH 1632/2186] Add the windows plugin and associated extensions updates --- .../framework/plugins/windows/windows.py | 137 ++++++++++++ .../symbols/windows/extensions/gui.py | 199 +++++++++++++++++- .../windows/gui/gui-win10-10586-x64.json | 6 + .../windows/gui/gui-win10-15063-x64.json | 6 + .../windows/gui/gui-win10-16299-x64.json | 6 + .../windows/gui/gui-win10-17134-x64.json | 10 +- .../windows/gui/gui-win10-17735-x64.json | 10 +- .../windows/gui/gui-win10-17763-x64.json | 10 +- .../windows/gui/gui-win10-18362-x64.json | 10 +- .../windows/gui/gui-win10-19041-x64.json | 10 +- .../windows/gui/gui-win10-19577-x64.json | 10 +- .../symbols/windows/gui/gui-win7sp0-x64.json | 6 + .../symbols/windows/gui/gui-win7sp1-x64.json | 6 + .../symbols/windows/gui/gui-win8-x64.json | 6 + 14 files changed, 418 insertions(+), 14 deletions(-) create mode 100644 volatility3/framework/plugins/windows/windows.py diff --git a/volatility3/framework/plugins/windows/windows.py b/volatility3/framework/plugins/windows/windows.py new file mode 100644 index 000000000..5e3059e45 --- /dev/null +++ b/volatility3/framework/plugins/windows/windows.py @@ -0,0 +1,137 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import List, Iterable + +from volatility3.framework import interfaces, renderers, exceptions +from volatility3.framework.objects import utility +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import windowstations + +vollog = logging.getLogger(__name__) + + +class Windows(interfaces.plugins.PluginInterface): + """Enumerates the Windows of Desktop instances""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="windowstations", + component=windowstations.WindowStations, + version=(1, 0, 0), + ), + ] + + @classmethod + def list_windows( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + kernel_module_name: str, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """ + Enumerates the desktops of each window station + For each found, enumerates its windows within the desktop + """ + kernel = context.modules[kernel_module_name] + + for ( + winsta, + station_name, + session_id, + ) in windowstations.WindowStations.scan_window_stations( + context, config_path, kernel_module_name + ): + # for each window station, walk its list of desktops + for desktop, desktop_name in winsta.desktops(kernel.symbol_table_name): + try: + top_window = desktop.pDeskInfo.spwnd + except exceptions.InvalidAddressException: + vollog.debug( + f"Desktop with name {desktop_name} in window station {station_name} has a broken window pointer." + ) + continue + + for window, window_name in desktop.windows(top_window): + yield station_name, desktop_name, window, window_name + + def _generator(self): + kernel_name = self.config["kernel"] + + # call the implementation for finding windows and gather attributes + for station_name, desktop_name, window, window_name in self.list_windows( + self.context, self.config_path, kernel_name + ): + # We need a valid process and session id for the window to display it + process = window.get_process() + process_name = None + if process: + try: + process_name = utility.array_to_string(process.ImageFileName) + process_pid = process.UniqueProcessId + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to read name and pid of the process for window {window.vol.offset:#x}" + ) + + if process_name is None: + vollog.warning( + f"Invalid process reference for the process hosting window {window.vol.offset:#x}" + ) + continue + + sess_id = window.get_session_id() + if sess_id is None: + vollog.debug( + f"Unable to read session id of the process for window {window.vol.offset:#x} in process {process_name}" + ) + continue + + # procedures can be empty, but if set, should be a valid pointer + window_proc = window.get_window_procedure() + if window_proc is None or window_proc == 0 or window_proc > 0x1000: + window_proc = format_hints.Hex(window_proc) + else: + vollog.warning( + f"Invalid window procedure for the window {window.vol.offset:#x}" + ) + continue + + yield 0, ( + format_hints.Hex(window.vol.offset), + station_name, + sess_id, + desktop_name, + window_name or renderers.NotAvailableValue(), + window_proc, + process_name, + process_pid, + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("Station", str), + ("Session", int), + ("Desktop", str), + ("Window", str), + ("Procedure", format_hints.Hex), + ("Process", str), + ("PID", int), + ], + self._generator(), + ) diff --git a/volatility3/framework/symbols/windows/extensions/gui.py b/volatility3/framework/symbols/windows/extensions/gui.py index 92693dba5..559fda095 100644 --- a/volatility3/framework/symbols/windows/extensions/gui.py +++ b/volatility3/framework/symbols/windows/extensions/gui.py @@ -2,13 +2,17 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Optional, Tuple, Iterator +import logging +from typing import Optional, Tuple, Iterator, Generator from volatility3.framework import exceptions, constants, interfaces from volatility3.framework import objects from volatility3.framework.objects import utility +from volatility3.framework.symbols.windows import extensions from volatility3.framework.symbols.windows.extensions import pool +vollog = logging.getLogger(__name__) + class tagWINDOWSTATION(objects.StructType, pool.ExecutiveObject): def is_valid(self) -> bool: @@ -77,7 +81,7 @@ class tagWINDOWSTATION(objects.StructType, pool.ExecutiveObject): class tagDESKTOP(objects.StructType, pool.ExecutiveObject): def is_valid(self) -> bool: """ - Enforce a valid sid + owning window station + Enforce a valid sid + name """ sid = self.get_session_id() @@ -89,12 +93,18 @@ class tagDESKTOP(objects.StructType, pool.ExecutiveObject): return False def get_window_station(self) -> Optional["tagWINDOWSTATION"]: + """ + Attempts to return the window station for this desktop + """ try: return self.rpwinstaParent.dereference() except exceptions.InvalidAddressException: return None def get_session_id(self) -> Optional[int]: + """ + Attempts to return the session ID for this desktop + """ winsta = self.get_window_station() if winsta: return winsta.get_session_id() @@ -120,8 +130,193 @@ class tagDESKTOP(objects.StructType, pool.ExecutiveObject): yield thread, process_name, process_pid + def _do_get_windows( + self, window, max_windows + ) -> Generator[Tuple[interfaces.objects.ObjectInterface, str], None, None]: + """ + Recusively walks and yields the adjacent and child windows + """ + seen_windows = set() + seen_children = set() + + if window.vol.offset == 0: + return + + yield window, window.get_name() + + seen_windows.add(window) + + # Walk adjacent windows + while len(seen_windows) < max_windows: + try: + window = window.spwndNext.dereference() + except exceptions.InvalidAddressException: + break + + if window.vol.offset == 0: + break + + if window.vol.offset in seen_windows: + break + + yield window, window.get_name() + + seen_windows.add(window) + + # Walk children windows and recursively yield them + for window in seen_windows: + child = window + + while len(seen_windows) + len(seen_children) < max_windows: + try: + child = child.spwndChild + except exceptions.InvalidAddressException: + break + + if child.vol.offset == 0: + break + + if child in seen_children: + break + seen_children.add(child) + + yield from self._do_get_windows(child, max_windows) + + def windows( + self, window, max_windows=10000 + ) -> Generator[Tuple[interfaces.objects.ObjectInterface, str], None, None]: + """ + Enumerates all windows adjacent to and children of `window` + + Args: + window: The window to enumerate windows from + + Returns: + A generator of tuples containing the window and its name + """ + seen_windows = set() + + for window, window_name in self._do_get_windows(window, max_windows): + if window.vol.offset in seen_windows: + continue + + seen_windows.add(window.vol.offset) + + yield window, window_name + + if len(seen_windows) == max_windows: + break + + +class tagWND(objects.StructType, pool.ExecutiveObject): + + def is_valid(self) -> bool: + """ + Enforce a valid sid + """ + sid = self.get_session_id() + + return sid is not None and 0 <= sid < 256 + + def get_name(self) -> Optional[str]: + """ + directName appeared in later Windows 10 versions and is pointer + strName is a unicode string directly in the structure + """ + if self.has_member("directName"): + try: + return utility.pointer_to_string( + self.directName, count=256, encoding="utf16" + ) + except exceptions.InvalidAddressException: + vollog.debug( + f"directname for window at {self.vol.offset:#x} in layer {self.vol.layer_name} is invalid" + ) + + try: + return self.strName.get_string() + except exceptions.InvalidAddressException: + vollog.debug( + f"strName for window at {self.vol.offset:#x} in layer {self.vol.layer_name} is invalid" + ) + + return None + + def get_session_id(self) -> Optional[int]: + """ + Uses its tagDESKTOP pointer to find its session + """ + desktop = self.get_desktop() + if desktop: + return desktop.get_session_id() + + return None + + def get_desktop(self) -> Optional[tagDESKTOP]: + """ + Attempts to return the host desktop (tagDESKTOP) for this window + """ + try: + return self.head.rpdesk.dereference() + except exceptions.InvalidAddressException: + vollog.debug( + f"Reading the desktop pointer for window {self.vol.offset:#x} caused a page fault" + ) + return None + + def get_process(self) -> Optional["extensions.EPROCESS"]: + """ + Attempts to return the host process (_EPROCESS) for this window + """ + try: + return self.head.pti.ppi.Process.dereference() + except exceptions.InvalidAddressException: + vollog.debug( + f"Reading the process pointer for window {self.vol.offset:#x} caused a page fault" + ) + return None + + def get_window_procedure(self): + """ + Attempts to return the window procedure for this windows + """ + try: + # >= 17134 + if hasattr(self, "subPointer"): + return self.subPointer.lpfnWndProc + else: + return self.lpfnWndProc + except exceptions.InvalidAddressException: + vollog.debug(f"Invalid window procedure for window {self.vol.offset:#x}") + return None + + +# This is copy/paste from UNICODE_STRING in `symbols/windows/extensions/__init__.py` +# The versioning of modules would get very ugly if we let different modules share implementations +# across different data structures +class LARGE_UNICODE_STRING(objects.StructType): + """A class for Windows unicode string structures.""" + + def get_string(self) -> interfaces.objects.ObjectInterface: + # We explicitly do *not* catch errors here, we allow an exception to be thrown + # (otherwise there's no way to determine anything went wrong) + # It's up to the user of this method to catch exceptions + + # We manually construct an object rather than casting a dereferenced pointer in case + # the buffer length is 0 and the pointer is a NULL pointer + return self._context.object( + self.vol.type_name.split(constants.BANG)[0] + constants.BANG + "string", + layer_name=self.Buffer.vol.native_layer_name, + offset=self.Buffer, + max_length=self.Length, + errors="replace", + encoding="utf16", + ) + class_types = { "tagWINDOWSTATION": tagWINDOWSTATION, "tagDESKTOP": tagDESKTOP, + "tagWND": tagWND, + "_LARGE_UNICODE_STRING": LARGE_UNICODE_STRING, } diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json index a542d4778..0308f4c7d 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-10586-x64.json @@ -18036,6 +18036,12 @@ "signed": false, "size": 1 }, + "char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, "float": { "kind": "float", "endian": "little", diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json index 7c4af02e1..a69cbb7c3 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-15063-x64.json @@ -18036,6 +18036,12 @@ "signed": false, "size": 1 }, + "char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, "float": { "kind": "float", "endian": "little", diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json index 1ff5fdcd9..54e8aeec3 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-16299-x64.json @@ -18036,6 +18036,12 @@ "signed": false, "size": 1 }, + "char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, "float": { "kind": "float", "endian": "little", diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json index f74c8dd5b..48b97a1c2 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-17134-x64.json @@ -12464,8 +12464,8 @@ "directName": { "type": { "subtype": { - "kind": "struct", - "name": "nt_symbols!String" + "kind": "base", + "name": "char" }, "kind": "pointer" }, @@ -18079,6 +18079,12 @@ "signed": false, "size": 1 }, + "char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, "float": { "kind": "float", "endian": "little", diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-17735-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-17735-x64.json index 88e419100..affaf8731 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-17735-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-17735-x64.json @@ -12464,8 +12464,8 @@ "directName": { "type": { "subtype": { - "kind": "struct", - "name": "nt_symbols!String" + "kind": "base", + "name": "char" }, "kind": "pointer" }, @@ -18079,6 +18079,12 @@ "signed": false, "size": 1 }, + "char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, "float": { "kind": "float", "endian": "little", diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json index ed183f39b..33db6c28d 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-17763-x64.json @@ -12464,8 +12464,8 @@ "directName": { "type": { "subtype": { - "kind": "struct", - "name": "nt_symbols!String" + "kind": "base", + "name": "char" }, "kind": "pointer" }, @@ -18079,6 +18079,12 @@ "signed": false, "size": 1 }, + "char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, "float": { "kind": "float", "endian": "little", diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json index f568eedbe..bb1c74f7f 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-18362-x64.json @@ -12464,8 +12464,8 @@ "directName": { "type": { "subtype": { - "kind": "struct", - "name": "nt_symbols!String" + "kind": "base", + "name": "char" }, "kind": "pointer" }, @@ -18079,6 +18079,12 @@ "signed": false, "size": 1 }, + "char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, "float": { "kind": "float", "endian": "little", diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json index be4341cfd..74868f1a7 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-19041-x64.json @@ -12464,8 +12464,8 @@ "directName": { "type": { "subtype": { - "kind": "struct", - "name": "nt_symbols!String" + "kind": "base", + "name": "char" }, "kind": "pointer" }, @@ -18079,6 +18079,12 @@ "signed": false, "size": 1 }, + "char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, "float": { "kind": "float", "endian": "little", diff --git a/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json b/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json index 68692dcf4..e718710cf 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win10-19577-x64.json @@ -12464,8 +12464,8 @@ "directName": { "type": { "subtype": { - "kind": "struct", - "name": "nt_symbols!String" + "kind": "base", + "name": "char" }, "kind": "pointer" }, @@ -18079,6 +18079,12 @@ "signed": false, "size": 1 }, + "char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, "float": { "kind": "float", "endian": "little", diff --git a/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json b/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json index ec81241b2..9b413baaa 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win7sp0-x64.json @@ -18619,6 +18619,12 @@ "signed": false, "size": 1 }, + "char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, "float": { "kind": "float", "endian": "little", diff --git a/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json b/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json index ae844e535..b856506a7 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win7sp1-x64.json @@ -17985,6 +17985,12 @@ "signed": false, "size": 1 }, + "char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, "float": { "kind": "float", "endian": "little", diff --git a/volatility3/framework/symbols/windows/gui/gui-win8-x64.json b/volatility3/framework/symbols/windows/gui/gui-win8-x64.json index e7581413f..8662bf62b 100644 --- a/volatility3/framework/symbols/windows/gui/gui-win8-x64.json +++ b/volatility3/framework/symbols/windows/gui/gui-win8-x64.json @@ -17992,6 +17992,12 @@ "signed": false, "size": 1 }, + "char": { + "kind": "char", + "endian": "little", + "signed": false, + "size": 1 + }, "float": { "kind": "float", "endian": "little", From d22d513716804bb4af002cefbe8cbeed2afcadb1 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 16 Mar 2025 16:40:53 +0000 Subject: [PATCH 1633/2186] Re-type the correct function --- volatility3/framework/objects/utility.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 57d1bca4c..ef702060c 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -105,7 +105,7 @@ def pointer_to_string( def gather_contiguous_bytes_from_address( context, data_layer, starting_address: int, count: int -) -> str: +) -> bytes: """ This method reconstructs a string from memory while also carefully examining each page @@ -148,7 +148,7 @@ def gather_contiguous_bytes_from_address( def bytes_to_decoded_string( data: bytes, encoding: str, errors: str, return_truncated: bool = True -) -> bytes: +) -> str: """ Args: data: The `bytes` buffer containing the string of a string at offset 0 From c8869d87cd447e258ae2f9172f2db158a75d841f Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 16 Mar 2025 17:15:43 +0000 Subject: [PATCH 1634/2186] Version the GUI extensions. Correctly check windows procedure --- .../framework/plugins/windows/windows.py | 6 +- .../symbols/windows/extensions/gui.py | 502 +++++++++--------- 2 files changed, 260 insertions(+), 248 deletions(-) diff --git a/volatility3/framework/plugins/windows/windows.py b/volatility3/framework/plugins/windows/windows.py index 5e3059e45..a7c350ea9 100644 --- a/volatility3/framework/plugins/windows/windows.py +++ b/volatility3/framework/plugins/windows/windows.py @@ -102,11 +102,13 @@ class Windows(interfaces.plugins.PluginInterface): # procedures can be empty, but if set, should be a valid pointer window_proc = window.get_window_procedure() - if window_proc is None or window_proc == 0 or window_proc > 0x1000: + if window_proc is None: + window_proc = renderers.NotAvailableValue() + elif window_proc == 0 or window_proc > 0x1000: window_proc = format_hints.Hex(window_proc) else: vollog.warning( - f"Invalid window procedure for the window {window.vol.offset:#x}" + f"Invalid window procedure {window_proc} for the window {window.vol.offset:#x}" ) continue diff --git a/volatility3/framework/symbols/windows/extensions/gui.py b/volatility3/framework/symbols/windows/extensions/gui.py index 559fda095..48ec2eba4 100644 --- a/volatility3/framework/symbols/windows/extensions/gui.py +++ b/volatility3/framework/symbols/windows/extensions/gui.py @@ -5,6 +5,7 @@ import logging from typing import Optional, Tuple, Iterator, Generator +from volatility3 import framework from volatility3.framework import exceptions, constants, interfaces from volatility3.framework import objects from volatility3.framework.objects import utility @@ -13,310 +14,319 @@ from volatility3.framework.symbols.windows.extensions import pool vollog = logging.getLogger(__name__) +class GUIExtensions(interfaces.configuration.VersionableInterface): + _version = (1, 0, 0) + _required_framework_version = (2, 0, 0) -class tagWINDOWSTATION(objects.StructType, pool.ExecutiveObject): - def is_valid(self) -> bool: - sid = self.get_session_id() - return sid is not None and 0 <= sid < 256 + framework.require_interface_version(*_required_framework_version) - def get_session_id(self) -> Optional[int]: - try: - return self.dwSessionId - except exceptions.InvalidAddressException: - return None + class tagWINDOWSTATION(objects.StructType, pool.ExecutiveObject): + def is_valid(self) -> bool: + sid = self.get_session_id() + return sid is not None and 0 <= sid < 256 - def traverse(self, max_stations: int = 15): - """ - Traverses the window stations referenced in the list of stations - """ - seen = set() - - # include the first window station - yield self - - while len(seen) < max_stations: + def get_session_id(self) -> Optional[int]: try: - winsta = self.rpwinstaNext.dereference() + return self.dwSessionId except exceptions.InvalidAddressException: - break + return None - if winsta.vol.offset in seen: - break + def traverse(self, max_stations: int = 15): + """ + Traverses the window stations referenced in the list of stations + """ + seen = set() - yield winsta + # include the first window station + yield self - seen.add(winsta.vol.offset) + while len(seen) < max_stations: + try: + winsta = self.rpwinstaNext.dereference() + except exceptions.InvalidAddressException: + break + + if winsta.vol.offset in seen: + break + + yield winsta + + seen.add(winsta.vol.offset) + + def get_info(self, kernel_symbol_table_name) -> Optional[Tuple[str, int]]: + try: + name = self.get_name(kernel_symbol_table_name) + session_id = self.get_session_id() + except exceptions.InvalidAddressException: + return None, None + + # attempt to avoid smear + if session_id is not None and session_id < 256 and name and len(name) > 1: + return name, session_id - def get_info(self, kernel_symbol_table_name) -> Optional[Tuple[str, int]]: - try: - name = self.get_name(kernel_symbol_table_name) - session_id = self.get_session_id() - except exceptions.InvalidAddressException: return None, None - # attempt to avoid smear - if session_id is not None and session_id < 256 and name and len(name) > 1: - return name, session_id + def desktops(self, symbol_table_name, max_desktops: int = 12): + seen = set() - return None, None + while len(seen) < max_desktops: + try: + desktop = self.rpdeskList.dereference() + name = desktop.get_name(symbol_table_name) + except exceptions.InvalidAddressException: + break - def desktops(self, symbol_table_name, max_desktops: int = 12): - seen = set() + if desktop.vol.offset in seen: + break - while len(seen) < max_desktops: + yield desktop, name + + seen.add(desktop.vol.offset) + + + class tagDESKTOP(objects.StructType, pool.ExecutiveObject): + def is_valid(self) -> bool: + """ + Enforce a valid session ID and Window station + We aren't interested in terminated desktops as there are so many pointers + going from station -> desktop -> windows, that we would just be processing junk. + Even if the pointers were still in tact by some miracle, its not that helpful to + have a floating desktop appear in the output as you can't do much with it. + """ + sid = self.get_session_id() + + valid_sid = sid is not None and 0 <= sid < 256 + + if valid_sid: + return self.get_window_station() is not None + + return False + + def get_window_station(self) -> Optional["tagWINDOWSTATION"]: + """ + Attempts to return the window station for this desktop + """ try: - desktop = self.rpdeskList.dereference() - name = desktop.get_name(symbol_table_name) + return self.rpwinstaParent.dereference() except exceptions.InvalidAddressException: - break + return None - if desktop.vol.offset in seen: - break + def get_session_id(self) -> Optional[int]: + """ + Attempts to return the session ID for this desktop + """ + winsta = self.get_window_station() + if winsta: + return winsta.get_session_id() - yield desktop, name - - seen.add(desktop.vol.offset) - - -class tagDESKTOP(objects.StructType, pool.ExecutiveObject): - def is_valid(self) -> bool: - """ - Enforce a valid sid + name - """ - sid = self.get_session_id() - - valid_sid = sid is not None and 0 <= sid < 256 - - if valid_sid: - return self.get_window_station() is not None - - return False - - def get_window_station(self) -> Optional["tagWINDOWSTATION"]: - """ - Attempts to return the window station for this desktop - """ - try: - return self.rpwinstaParent.dereference() - except exceptions.InvalidAddressException: return None - def get_session_id(self) -> Optional[int]: - """ - Attempts to return the session ID for this desktop - """ - winsta = self.get_window_station() - if winsta: - return winsta.get_session_id() + def get_threads( + self, + ) -> Iterator[Tuple[interfaces.objects.ObjectInterface, str, int]]: + """ + Returns the threads of each desktop along with owning process information + """ + symbol_table_name = self.vol.type_name.split(constants.BANG)[0] - return None + for thread in self.PtiList.to_list( + symbol_table_name + constants.BANG + "tagTHREADINFO", "PtiLink" + ): + try: + process_name = utility.array_to_string(thread.ppi.Process.ImageFileName) + process_pid = thread.ppi.Process.UniqueProcessId + except exceptions.InvalidAddressException: + continue - def get_threads( - self, - ) -> Iterator[Tuple[interfaces.objects.ObjectInterface, str, int]]: - """ - Returns the threads of each desktop along with owning process information - """ - symbol_table_name = self.vol.type_name.split(constants.BANG)[0] + yield thread, process_name, process_pid - for thread in self.PtiList.to_list( - symbol_table_name + constants.BANG + "tagTHREADINFO", "PtiLink" - ): - try: - process_name = utility.array_to_string(thread.ppi.Process.ImageFileName) - process_pid = thread.ppi.Process.UniqueProcessId - except exceptions.InvalidAddressException: - continue + def _do_get_windows( + self, window, max_windows + ) -> Generator[Tuple[interfaces.objects.ObjectInterface, str], None, None]: + """ + Recusively walks and yields the adjacent and child windows + """ + seen_windows = set() + seen_children = set() - yield thread, process_name, process_pid - - def _do_get_windows( - self, window, max_windows - ) -> Generator[Tuple[interfaces.objects.ObjectInterface, str], None, None]: - """ - Recusively walks and yields the adjacent and child windows - """ - seen_windows = set() - seen_children = set() - - if window.vol.offset == 0: - return - - yield window, window.get_name() - - seen_windows.add(window) - - # Walk adjacent windows - while len(seen_windows) < max_windows: - try: - window = window.spwndNext.dereference() - except exceptions.InvalidAddressException: - break - - if window.vol.offset == 0: - break - - if window.vol.offset in seen_windows: - break + if not window.vol.offset: + return yield window, window.get_name() seen_windows.add(window) - # Walk children windows and recursively yield them - for window in seen_windows: - child = window - - while len(seen_windows) + len(seen_children) < max_windows: + # Walk adjacent windows + while len(seen_windows) < max_windows: try: - child = child.spwndChild + window = window.spwndNext.dereference() except exceptions.InvalidAddressException: break - if child.vol.offset == 0: + if not window.vol.offset: break - if child in seen_children: + if window.vol.offset in seen_windows: break - seen_children.add(child) - yield from self._do_get_windows(child, max_windows) + yield window, window.get_name() - def windows( - self, window, max_windows=10000 - ) -> Generator[Tuple[interfaces.objects.ObjectInterface, str], None, None]: - """ - Enumerates all windows adjacent to and children of `window` + seen_windows.add(window) - Args: - window: The window to enumerate windows from + # Walk children windows and recursively yield them + for window in seen_windows: + child = window - Returns: - A generator of tuples containing the window and its name - """ - seen_windows = set() + while len(seen_windows) + len(seen_children) < max_windows: + try: + child = child.spwndChild + except exceptions.InvalidAddressException: + break - for window, window_name in self._do_get_windows(window, max_windows): - if window.vol.offset in seen_windows: - continue + if not child.vol.offset: + break - seen_windows.add(window.vol.offset) + if child in seen_children: + break + seen_children.add(child) - yield window, window_name + yield from self._do_get_windows(child, max_windows) - if len(seen_windows) == max_windows: - break + def windows( + self, window, max_windows=10000 + ) -> Generator[Tuple[interfaces.objects.ObjectInterface, str], None, None]: + """ + Enumerates all windows adjacent to and children of `window` + + Args: + window: The window to enumerate windows from + + Returns: + A generator of tuples containing the window and its name + """ + seen_windows = set() + + for window, window_name in self._do_get_windows(window, max_windows): + if window.vol.offset in seen_windows: + continue + + seen_windows.add(window.vol.offset) + + yield window, window_name + + if len(seen_windows) == max_windows: + break -class tagWND(objects.StructType, pool.ExecutiveObject): + class tagWND(objects.StructType, pool.ExecutiveObject): - def is_valid(self) -> bool: - """ - Enforce a valid sid - """ - sid = self.get_session_id() + def is_valid(self) -> bool: + """ + Enforce a valid sid + """ + sid = self.get_session_id() - return sid is not None and 0 <= sid < 256 + return sid is not None and 0 <= sid < 256 + + def get_name(self) -> Optional[str]: + """ + directName appeared in later Windows 10 versions and is pointer + strName is a unicode string directly in the structure + """ + if self.has_member("directName"): + try: + return utility.pointer_to_string( + self.directName, count=256, encoding="utf16" + ) + except exceptions.InvalidAddressException: + vollog.debug( + f"directname for window at {self.vol.offset:#x} in layer {self.vol.layer_name} is invalid" + ) - def get_name(self) -> Optional[str]: - """ - directName appeared in later Windows 10 versions and is pointer - strName is a unicode string directly in the structure - """ - if self.has_member("directName"): try: - return utility.pointer_to_string( - self.directName, count=256, encoding="utf16" - ) + return self.strName.get_string() except exceptions.InvalidAddressException: vollog.debug( - f"directname for window at {self.vol.offset:#x} in layer {self.vol.layer_name} is invalid" + f"strName for window at {self.vol.offset:#x} in layer {self.vol.layer_name} is invalid" ) - try: - return self.strName.get_string() - except exceptions.InvalidAddressException: - vollog.debug( - f"strName for window at {self.vol.offset:#x} in layer {self.vol.layer_name} is invalid" - ) - - return None - - def get_session_id(self) -> Optional[int]: - """ - Uses its tagDESKTOP pointer to find its session - """ - desktop = self.get_desktop() - if desktop: - return desktop.get_session_id() - - return None - - def get_desktop(self) -> Optional[tagDESKTOP]: - """ - Attempts to return the host desktop (tagDESKTOP) for this window - """ - try: - return self.head.rpdesk.dereference() - except exceptions.InvalidAddressException: - vollog.debug( - f"Reading the desktop pointer for window {self.vol.offset:#x} caused a page fault" - ) return None - def get_process(self) -> Optional["extensions.EPROCESS"]: - """ - Attempts to return the host process (_EPROCESS) for this window - """ - try: - return self.head.pti.ppi.Process.dereference() - except exceptions.InvalidAddressException: - vollog.debug( - f"Reading the process pointer for window {self.vol.offset:#x} caused a page fault" + def get_session_id(self) -> Optional[int]: + """ + Uses its tagDESKTOP pointer to find its session + """ + desktop = self.get_desktop() + if desktop: + return desktop.get_session_id() + + return None + + def get_desktop(self) -> Optional["GUIExtensions.tagDESKTOP"]: + """ + Attempts to return the host desktop (tagDESKTOP) for this window + """ + try: + return self.head.rpdesk.dereference() + except exceptions.InvalidAddressException: + vollog.debug( + f"Reading the desktop pointer for window {self.vol.offset:#x} caused a page fault" + ) + return None + + def get_process(self) -> Optional["extensions.EPROCESS"]: + """ + Attempts to return the host process (_EPROCESS) for this window + """ + try: + return self.head.pti.ppi.Process.dereference() + except exceptions.InvalidAddressException: + vollog.debug( + f"Reading the process pointer for window {self.vol.offset:#x} caused a page fault" + ) + return None + + def get_window_procedure(self): + """ + Attempts to return the window procedure for this windows + """ + try: + # >= 17134 + if hasattr(self, "subPointer"): + return self.subPointer.lpfnWndProc + else: + return self.lpfnWndProc + except exceptions.InvalidAddressException: + vollog.debug(f"Invalid window procedure for window {self.vol.offset:#x}") + return None + + + # This is copy/paste from UNICODE_STRING in `symbols/windows/extensions/__init__.py` + # The versioning of modules would get very ugly if we let different modules share implementations + # across different data structures + class LARGE_UNICODE_STRING(objects.StructType): + """A class for Windows unicode string structures.""" + + def get_string(self) -> interfaces.objects.ObjectInterface: + # We explicitly do *not* catch errors here, we allow an exception to be thrown + # (otherwise there's no way to determine anything went wrong) + # It's up to the user of this method to catch exceptions + + # We manually construct an object rather than casting a dereferenced pointer in case + # the buffer length is 0 and the pointer is a NULL pointer + return self._context.object( + self.vol.type_name.split(constants.BANG)[0] + constants.BANG + "string", + layer_name=self.Buffer.vol.native_layer_name, + offset=self.Buffer, + max_length=self.Length, + errors="replace", + encoding="utf16", ) - return None - - def get_window_procedure(self): - """ - Attempts to return the window procedure for this windows - """ - try: - # >= 17134 - if hasattr(self, "subPointer"): - return self.subPointer.lpfnWndProc - else: - return self.lpfnWndProc - except exceptions.InvalidAddressException: - vollog.debug(f"Invalid window procedure for window {self.vol.offset:#x}") - return None - - -# This is copy/paste from UNICODE_STRING in `symbols/windows/extensions/__init__.py` -# The versioning of modules would get very ugly if we let different modules share implementations -# across different data structures -class LARGE_UNICODE_STRING(objects.StructType): - """A class for Windows unicode string structures.""" - - def get_string(self) -> interfaces.objects.ObjectInterface: - # We explicitly do *not* catch errors here, we allow an exception to be thrown - # (otherwise there's no way to determine anything went wrong) - # It's up to the user of this method to catch exceptions - - # We manually construct an object rather than casting a dereferenced pointer in case - # the buffer length is 0 and the pointer is a NULL pointer - return self._context.object( - self.vol.type_name.split(constants.BANG)[0] + constants.BANG + "string", - layer_name=self.Buffer.vol.native_layer_name, - offset=self.Buffer, - max_length=self.Length, - errors="replace", - encoding="utf16", - ) class_types = { - "tagWINDOWSTATION": tagWINDOWSTATION, - "tagDESKTOP": tagDESKTOP, - "tagWND": tagWND, - "_LARGE_UNICODE_STRING": LARGE_UNICODE_STRING, + "tagWINDOWSTATION": GUIExtensions.tagWINDOWSTATION, + "tagDESKTOP": GUIExtensions.tagDESKTOP, + "tagWND": GUIExtensions.tagWND, + "_LARGE_UNICODE_STRING": GUIExtensions.LARGE_UNICODE_STRING, } From 7e5a34ae49df25acc76da4bb93336fc7550e1c21 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 16 Mar 2025 17:17:46 +0000 Subject: [PATCH 1635/2186] Black and Ruff fixes --- .../framework/symbols/windows/extensions/gui.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/gui.py b/volatility3/framework/symbols/windows/extensions/gui.py index 48ec2eba4..f811f4313 100644 --- a/volatility3/framework/symbols/windows/extensions/gui.py +++ b/volatility3/framework/symbols/windows/extensions/gui.py @@ -14,6 +14,7 @@ from volatility3.framework.symbols.windows.extensions import pool vollog = logging.getLogger(__name__) + class GUIExtensions(interfaces.configuration.VersionableInterface): _version = (1, 0, 0) _required_framework_version = (2, 0, 0) @@ -83,14 +84,13 @@ class GUIExtensions(interfaces.configuration.VersionableInterface): seen.add(desktop.vol.offset) - class tagDESKTOP(objects.StructType, pool.ExecutiveObject): def is_valid(self) -> bool: """ Enforce a valid session ID and Window station We aren't interested in terminated desktops as there are so many pointers going from station -> desktop -> windows, that we would just be processing junk. - Even if the pointers were still in tact by some miracle, its not that helpful to + Even if the pointers were still in tact by some miracle, its not that helpful to have a floating desktop appear in the output as you can't do much with it. """ sid = self.get_session_id() @@ -102,7 +102,7 @@ class GUIExtensions(interfaces.configuration.VersionableInterface): return False - def get_window_station(self) -> Optional["tagWINDOWSTATION"]: + def get_window_station(self) -> Optional["GUIExtensions.tagWINDOWSTATION"]: """ Attempts to return the window station for this desktop """ @@ -133,7 +133,9 @@ class GUIExtensions(interfaces.configuration.VersionableInterface): symbol_table_name + constants.BANG + "tagTHREADINFO", "PtiLink" ): try: - process_name = utility.array_to_string(thread.ppi.Process.ImageFileName) + process_name = utility.array_to_string( + thread.ppi.Process.ImageFileName + ) process_pid = thread.ppi.Process.UniqueProcessId except exceptions.InvalidAddressException: continue @@ -217,7 +219,6 @@ class GUIExtensions(interfaces.configuration.VersionableInterface): if len(seen_windows) == max_windows: break - class tagWND(objects.StructType, pool.ExecutiveObject): def is_valid(self) -> bool: @@ -297,10 +298,11 @@ class GUIExtensions(interfaces.configuration.VersionableInterface): else: return self.lpfnWndProc except exceptions.InvalidAddressException: - vollog.debug(f"Invalid window procedure for window {self.vol.offset:#x}") + vollog.debug( + f"Invalid window procedure for window {self.vol.offset:#x}" + ) return None - # This is copy/paste from UNICODE_STRING in `symbols/windows/extensions/__init__.py` # The versioning of modules would get very ugly if we let different modules share implementations # across different data structures From 4e1ddadb4080b6269521ab40e73c160706a28880 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 16 Mar 2025 17:53:55 +0000 Subject: [PATCH 1636/2186] Fix version requirements --- volatility3/framework/plugins/windows/deskscan.py | 4 ++++ volatility3/framework/plugins/windows/desktops.py | 4 ++++ volatility3/framework/plugins/windows/windows.py | 8 ++++++-- volatility3/framework/plugins/windows/windowstations.py | 5 ++++- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/deskscan.py b/volatility3/framework/plugins/windows/deskscan.py index 6a8ff9e65..2db9c8234 100644 --- a/volatility3/framework/plugins/windows/deskscan.py +++ b/volatility3/framework/plugins/windows/deskscan.py @@ -8,6 +8,7 @@ from volatility3.framework import interfaces from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import desktops, windowstations +from volatility3.framework.symbols.windows.extensions import gui vollog = logging.getLogger(__name__) @@ -39,6 +40,9 @@ class DeskScan(desktops.Desktops): plugin=windowstations.WindowStations, version=(1, 0, 0), ), + requirements.VersionRequirement( + name="GUIExtensions", component=gui.GUIExtensions, version=(1, 0, 0) + ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/desktops.py b/volatility3/framework/plugins/windows/desktops.py index 1085ff36d..dd1d238d6 100644 --- a/volatility3/framework/plugins/windows/desktops.py +++ b/volatility3/framework/plugins/windows/desktops.py @@ -8,6 +8,7 @@ from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import windowstations +from volatility3.framework.symbols.windows.extensions import gui vollog = logging.getLogger(__name__) @@ -36,6 +37,9 @@ class Desktops(interfaces.plugins.PluginInterface): plugin=windowstations.WindowStations, version=(1, 0, 0), ), + requirements.VersionRequirement( + name="GUIExtensions", component=gui.GUIExtensions, version=(1, 0, 0) + ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/windows.py b/volatility3/framework/plugins/windows/windows.py index a7c350ea9..ade1df9dc 100644 --- a/volatility3/framework/plugins/windows/windows.py +++ b/volatility3/framework/plugins/windows/windows.py @@ -9,6 +9,7 @@ from volatility3.framework.objects import utility from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import windowstations +from volatility3.framework.symbols.windows.extensions import gui vollog = logging.getLogger(__name__) @@ -33,6 +34,9 @@ class Windows(interfaces.plugins.PluginInterface): component=windowstations.WindowStations, version=(1, 0, 0), ), + requirements.VersionRequirement( + name="GUIExtensions", component=gui.GUIExtensions, version=(1, 0, 0) + ), ] @classmethod @@ -88,7 +92,7 @@ class Windows(interfaces.plugins.PluginInterface): ) if process_name is None: - vollog.warning( + vollog.debug( f"Invalid process reference for the process hosting window {window.vol.offset:#x}" ) continue @@ -107,7 +111,7 @@ class Windows(interfaces.plugins.PluginInterface): elif window_proc == 0 or window_proc > 0x1000: window_proc = format_hints.Hex(window_proc) else: - vollog.warning( + vollog.debug( f"Invalid window procedure {window_proc} for the window {window.vol.offset:#x}" ) continue diff --git a/volatility3/framework/plugins/windows/windowstations.py b/volatility3/framework/plugins/windows/windowstations.py index cd02938cd..ad1709bfa 100644 --- a/volatility3/framework/plugins/windows/windowstations.py +++ b/volatility3/framework/plugins/windows/windowstations.py @@ -10,8 +10,8 @@ from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import versions -from volatility3.framework.symbols.windows.extensions import gui from volatility3.plugins.windows import poolscanner, modules +from volatility3.framework.symbols.windows.extensions import gui vollog = logging.getLogger(__name__) @@ -52,6 +52,9 @@ class WindowStations(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="modules", component=modules.Modules, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="GUIExtensions", component=gui.GUIExtensions, version=(1, 0, 0) + ), ] @staticmethod From dae430ff5872784d7a750f60cf3eb36bc77ef043 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 16 Mar 2025 22:19:41 +0000 Subject: [PATCH 1637/2186] Address feedback --- volatility3/framework/plugins/windows/deskscan.py | 4 ---- volatility3/framework/plugins/windows/desktops.py | 4 ---- volatility3/framework/plugins/windows/windows.py | 4 ---- .../framework/plugins/windows/windowstations.py | 2 +- .../framework/symbols/windows/extensions/gui.py | 13 ++++++------- 5 files changed, 7 insertions(+), 20 deletions(-) diff --git a/volatility3/framework/plugins/windows/deskscan.py b/volatility3/framework/plugins/windows/deskscan.py index 2db9c8234..6a8ff9e65 100644 --- a/volatility3/framework/plugins/windows/deskscan.py +++ b/volatility3/framework/plugins/windows/deskscan.py @@ -8,7 +8,6 @@ from volatility3.framework import interfaces from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import desktops, windowstations -from volatility3.framework.symbols.windows.extensions import gui vollog = logging.getLogger(__name__) @@ -40,9 +39,6 @@ class DeskScan(desktops.Desktops): plugin=windowstations.WindowStations, version=(1, 0, 0), ), - requirements.VersionRequirement( - name="GUIExtensions", component=gui.GUIExtensions, version=(1, 0, 0) - ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/desktops.py b/volatility3/framework/plugins/windows/desktops.py index dd1d238d6..1085ff36d 100644 --- a/volatility3/framework/plugins/windows/desktops.py +++ b/volatility3/framework/plugins/windows/desktops.py @@ -8,7 +8,6 @@ from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import windowstations -from volatility3.framework.symbols.windows.extensions import gui vollog = logging.getLogger(__name__) @@ -37,9 +36,6 @@ class Desktops(interfaces.plugins.PluginInterface): plugin=windowstations.WindowStations, version=(1, 0, 0), ), - requirements.VersionRequirement( - name="GUIExtensions", component=gui.GUIExtensions, version=(1, 0, 0) - ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/windows.py b/volatility3/framework/plugins/windows/windows.py index ade1df9dc..9d4317df9 100644 --- a/volatility3/framework/plugins/windows/windows.py +++ b/volatility3/framework/plugins/windows/windows.py @@ -9,7 +9,6 @@ from volatility3.framework.objects import utility from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import windowstations -from volatility3.framework.symbols.windows.extensions import gui vollog = logging.getLogger(__name__) @@ -34,9 +33,6 @@ class Windows(interfaces.plugins.PluginInterface): component=windowstations.WindowStations, version=(1, 0, 0), ), - requirements.VersionRequirement( - name="GUIExtensions", component=gui.GUIExtensions, version=(1, 0, 0) - ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/windowstations.py b/volatility3/framework/plugins/windows/windowstations.py index ad1709bfa..1f95b0531 100644 --- a/volatility3/framework/plugins/windows/windowstations.py +++ b/volatility3/framework/plugins/windows/windowstations.py @@ -99,7 +99,7 @@ class WindowStations(interfaces.plugins.PluginInterface): config_path=config_path, sub_path=os.path.join("windows", "gui"), filename=symbol_filename, - class_types=gui.class_types, + class_types=gui.GUIExtensions.class_types, table_mapping=table_mapping, ) diff --git a/volatility3/framework/symbols/windows/extensions/gui.py b/volatility3/framework/symbols/windows/extensions/gui.py index f811f4313..d1835631f 100644 --- a/volatility3/framework/symbols/windows/extensions/gui.py +++ b/volatility3/framework/symbols/windows/extensions/gui.py @@ -325,10 +325,9 @@ class GUIExtensions(interfaces.configuration.VersionableInterface): encoding="utf16", ) - -class_types = { - "tagWINDOWSTATION": GUIExtensions.tagWINDOWSTATION, - "tagDESKTOP": GUIExtensions.tagDESKTOP, - "tagWND": GUIExtensions.tagWND, - "_LARGE_UNICODE_STRING": GUIExtensions.LARGE_UNICODE_STRING, -} + class_types = { + "tagWINDOWSTATION": tagWINDOWSTATION, + "tagDESKTOP": tagDESKTOP, + "tagWND": tagWND, + "_LARGE_UNICODE_STRING": LARGE_UNICODE_STRING, + } From 04cd65ef2b439914277d3ca47d4b3d4975b4fced Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 15:23:44 +0000 Subject: [PATCH 1638/2186] Update netfilter to current rookit detection API and update displayed columns to current standards --- .../framework/plugins/linux/netfilter.py | 83 ++++++++++--------- 1 file changed, 45 insertions(+), 38 deletions(-) diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index e8a33be61..9079adef9 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -13,12 +13,11 @@ from volatility3.framework import ( interfaces, renderers, exceptions, + deprecation, ) from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements -from volatility3.framework.symbols import linux from volatility3.framework.symbols.linux import network -from volatility3.plugins.linux import lsmod vollog = logging.getLogger(__name__) @@ -82,22 +81,18 @@ class AbstractNetfilter(ABC): self.ptr_size = self.vmlinux.get_type("pointer").size self.list_head_size = self.vmlinux.get_type("list_head").size - lsmod_required_version = Netfilter._required_lsmod_version - lsmod_current_version = lsmod.Lsmod.version + linuxutils_modulegatherers_required_version = ( + Netfilter._required_linuxutils_gatherers_version + ) + linuxutils_modulegatherers_current_version = ( + linux_utilities_modules.ModuleGatherers.version + ) if not requirements.VersionRequirement.matches_required( - lsmod_required_version, lsmod_current_version + linuxutils_modulegatherers_required_version, + linuxutils_modulegatherers_current_version, ): raise exceptions.PluginRequirementException( - f"linux.lsmod.Lsmod version not suitable: required {lsmod_required_version} found {lsmod_current_version}" - ) - - linuxutils_required_version = Netfilter._required_linuxutils_version - linuxutils_current_version = linux.LinuxUtilities.version - if not requirements.VersionRequirement.matches_required( - linuxutils_required_version, linuxutils_current_version - ): - raise exceptions.PluginRequirementException( - f"linux.LinuxUtilities version not suitable: required {linuxutils_required_version} found {linuxutils_current_version}" + f"linux_utilities_modules.ModuleGatherer version not suitable: required {linuxutils_modulegatherers_required_version} found {linuxutils_modulegatherers_current_version}" ) linux_net_required_version = Netfilter._required_linuxnet_version @@ -123,12 +118,13 @@ class AbstractNetfilter(ABC): f"linux_utilities_modules.Modules version not suitable: required {linux_utilities_modules_required_version} found {linux_utilities_modules_current_version}" ) - symbol_table = self._context.symbol_space[self.vmlinux.symbol_table_name] + symbol_table = context.symbol_space[self.vmlinux.symbol_table_name] network.NetSymbols.apply(symbol_table) - modules = lsmod.Lsmod.list_modules(context, kernel_module_name) - self.handlers = linux.LinuxUtilities.generate_kernel_handler_info( - context, kernel_module_name, modules + self.handlers = linux_utilities_modules.Modules.run_modules_scanners( + context=context, + kernel_module_name=kernel_module_name, + caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, ) @classmethod @@ -217,10 +213,17 @@ class AbstractNetfilter(ABC): priority = int(hook_ops.priority) hook_ops_hook = hook_ops.hook - module_name = self.get_module_name_for_address(hook_ops_hook) - hooked = module_name is None + module_info, symbol_name = ( + linux_utilities_modules.Modules.module_lookup_by_address( + self._context, + self.vmlinux.name, + self.handlers, + hook_ops_hook, + ) + ) + hooked = module_info is None - yield netns, proto_name, hook_name, priority, hook_ops_hook, module_name, hooked + yield netns, proto_name, hook_name, priority, hook_ops_hook, module_info, symbol_name, hooked @classmethod @abstractmethod @@ -300,6 +303,10 @@ class AbstractNetfilter(ABC): # in other parts of the kernel source code. return ("IPV4", "ARP", "BRIDGE", "IPV6", "DECNET") + @deprecation.method_being_removed( + removal_date="2025-09-25", + message="Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`", + ) def get_module_name_for_address(self, addr) -> str: """Helper to obtain the module and symbol name in the format needed for the output of this plugin. @@ -724,11 +731,10 @@ class Netfilter(interfaces.plugins.PluginInterface): _required_framework_version = (2, 22, 0) - _version = (1, 1, 1) + _version = (2, 0, 0) _required_linux_utilities_modules_version = (3, 0, 0) - _required_linuxutils_version = (2, 1, 0) - _required_lsmod_version = (2, 0, 0) + _required_linuxutils_gatherers_version = (1, 0, 0) _required_linuxnet_version = (1, 0, 0) @classmethod @@ -740,17 +746,9 @@ class Netfilter(interfaces.plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="linux_utilities_modules", - component=linux_utilities_modules.Modules, - version=cls._required_linux_utilities_modules_version, - ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=cls._required_lsmod_version - ), - requirements.VersionRequirement( - name="linuxutils", - component=linux.LinuxUtilities, - version=cls._required_linuxutils_version, + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGatherers, + version=cls._required_linuxutils_gatherers_version, ), requirements.VersionRequirement( name="linuxnet", @@ -766,16 +764,24 @@ class Netfilter(interfaces.plugins.PluginInterface): hook_name, priority, hook_func, - module_name, + module_info, + symbol_name, hooked, ) = fields + + if module_info: + module_name = module_info.name + else: + module_name = renderers.NotAvailableValue() + return ( netns, proto_name, hook_name, priority, format_hints.Hex(hook_func), - module_name or renderers.NotAvailableValue(), + module_name, + symbol_name or renderers.NotAvailableValue(), str(hooked), ) @@ -794,6 +800,7 @@ class Netfilter(interfaces.plugins.PluginInterface): ("Priority", int), ("Handler", format_hints.Hex), ("Module", str), + ("Symbol", str), ("Is Hooked", str), ] return renderers.TreeGrid(headers, self._generator()) From 18abe9c50815b2e6186f0cf6201b2411b617272f Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 15:25:43 +0000 Subject: [PATCH 1639/2186] Fix first set of ELF parsing unhandled smear protection --- .../framework/symbols/linux/extensions/__init__.py | 8 ++++++-- volatility3/framework/symbols/linux/extensions/elf.py | 5 ++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 39605cf52..dd0f23d34 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -256,14 +256,18 @@ class module(generic.GenericIntelProcess): elf_sym_obj.cached_strtab = self.section_strtab yield elf_sym_obj - def get_symbols_names_and_addresses(self) -> Iterable[Tuple[str, int]]: + def get_symbols_names_and_addresses(self, max_symbols: int = 4096) -> Iterable[Tuple[str, int]]: """Get names and addresses for each symbol of the module Yields: A tuple for each symbol containing the symbol name and its corresponding value """ layer = self._context.layers[self.vol.layer_name] - for elf_sym_obj in self.get_symbols(): + for iteration_counter, elf_sym_obj in enumerate(self.get_symbols()): + if iteration_counter > max_symbols: + vollog.debug(f"Hit maximum symbols ({max_symbols}) for ELF at {self.vol.offset:#x} in layer {self.vol.layer_name}") + return + sym_name = elf_sym_obj.get_name() if not sym_name: continue diff --git a/volatility3/framework/symbols/linux/extensions/elf.py b/volatility3/framework/symbols/linux/extensions/elf.py index 7105a05ea..564439c64 100644 --- a/volatility3/framework/symbols/linux/extensions/elf.py +++ b/volatility3/framework/symbols/linux/extensions/elf.py @@ -329,7 +329,10 @@ class elf_sym(objects.StructType): def get_name(self) -> Optional[str]: """Returns the symbol name""" - addr = self._cached_strtab + self.st_name + try: + addr = self._cached_strtab + self.st_name + except exceptions.InvalidAddressException: + return None layer = self._context.layers[self.vol.layer_name] name_bytes = layer.read(addr, self._MAX_NAME_LENGTH, pad=True) From 4b403d50ef291920cb50aa7008ab6ce96c1280d9 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 15:29:28 +0000 Subject: [PATCH 1640/2186] Fix first set of ELF parsing unhandled smear protection --- .../framework/symbols/linux/extensions/__init__.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index dd0f23d34..2094d63da 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -256,7 +256,9 @@ class module(generic.GenericIntelProcess): elf_sym_obj.cached_strtab = self.section_strtab yield elf_sym_obj - def get_symbols_names_and_addresses(self, max_symbols: int = 4096) -> Iterable[Tuple[str, int]]: + def get_symbols_names_and_addresses( + self, max_symbols: int = 4096 + ) -> Iterable[Tuple[str, int]]: """Get names and addresses for each symbol of the module Yields: @@ -265,7 +267,9 @@ class module(generic.GenericIntelProcess): layer = self._context.layers[self.vol.layer_name] for iteration_counter, elf_sym_obj in enumerate(self.get_symbols()): if iteration_counter > max_symbols: - vollog.debug(f"Hit maximum symbols ({max_symbols}) for ELF at {self.vol.offset:#x} in layer {self.vol.layer_name}") + vollog.debug( + f"Hit maximum symbols ({max_symbols}) for ELF at {self.vol.offset:#x} in layer {self.vol.layer_name}" + ) return sym_name = elf_sym_obj.get_name() From f697287784e5a2901e8c16eecd82db0c8641ed77 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 19:09:05 +0000 Subject: [PATCH 1641/2186] Prevent backtrace on corrupt system call table entry --- volatility3/framework/plugins/linux/check_syscall.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_syscall.py b/volatility3/framework/plugins/linux/check_syscall.py index 9ffd4c497..724a67810 100644 --- a/volatility3/framework/plugins/linux/check_syscall.py +++ b/volatility3/framework/plugins/linux/check_syscall.py @@ -172,8 +172,11 @@ class Check_syscall(plugins.PluginInterface): count=tblsz, ) - for i, call_addr in enumerate(table): - if not call_addr: + for i in range(len(table)): + try: + call_addr = table[i] + except exceptions.InvalidAddressException: + vollog.debug(f"Failed to get system call table entry at index {i}") continue symbols = list(vmlinux.get_symbols_by_absolute_location(call_addr)) From ee35fa1ef9b90520931812b06ecb619ce8672366 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 19:10:23 +0000 Subject: [PATCH 1642/2186] Prevent backtrace on smeared iomem entry --- volatility3/framework/plugins/linux/iomem.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/iomem.py b/volatility3/framework/plugins/linux/iomem.py index 6732084db..5be6627fc 100644 --- a/volatility3/framework/plugins/linux/iomem.py +++ b/volatility3/framework/plugins/linux/iomem.py @@ -59,7 +59,7 @@ class IOMem(interfaces.plugins.PluginInterface): f"Unable to create resource object at {resource_offset:#x}. This resource, " "its sibling, and any of it's children and will be missing from the output." ) - return None + return # get name with protection against smear as following a pointer try: @@ -71,6 +71,15 @@ class IOMem(interfaces.plugins.PluginInterface): ) name = renderers.UnreadableValue() + try: + start = resource.start + end = resource.end + except exceptions.InvalidAddressException: + vollog.warning( + f"Unable to follow pointer to start and end for resource object at {resource_offset:#x}. Skipping entry." + ) + return + # mark this resource as seen in the seen set. Normally this should not be needed but will protect # against possible infinite loops. Warn the user if an infinite loop would have happened. if resource_offset in seen: @@ -79,12 +88,12 @@ class IOMem(interfaces.plugins.PluginInterface): "this should not normally occur. No further results from related resources will be " "displayed to protect against infinite loops." ) - return None + return else: seen.add(resource_offset) # yield information on this resource - yield depth, (name, resource.start, resource.end) + yield depth, (name, start, end) # process child resource if this exists if resource.child != 0: From b8a427c13063d55fdc52688c8fe6b2e1f09d84a1 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 17:08:27 -0500 Subject: [PATCH 1643/2186] Fix bugs in kallsyms and the related pscallstack found in testing and switch calls to deprecated functions --- .../framework/plugins/linux/kallsyms.py | 2 + .../framework/plugins/linux/pscallstack.py | 10 +- .../symbols/linux/extensions/__init__.py | 17 +- .../framework/symbols/linux/kallsyms.py | 164 ++++++++++++------ 4 files changed, 137 insertions(+), 56 deletions(-) diff --git a/volatility3/framework/plugins/linux/kallsyms.py b/volatility3/framework/plugins/linux/kallsyms.py index 7dd4f06e6..47861d91a 100644 --- a/volatility3/framework/plugins/linux/kallsyms.py +++ b/volatility3/framework/plugins/linux/kallsyms.py @@ -106,6 +106,8 @@ class Kallsyms(plugins.PluginInterface): for symbols_generator in symbol_generators: for kassymbol in symbols_generator: + if not kassymbol: + continue # Symbol sizes are calculated using the address of the next non-aliased # symbol or the end of the kernel text area _end/_etext. However, some kernel # symbols are located beyond that area, which causes this method to fail for diff --git a/volatility3/framework/plugins/linux/pscallstack.py b/volatility3/framework/plugins/linux/pscallstack.py index 8931ca581..6d7a24942 100644 --- a/volatility3/framework/plugins/linux/pscallstack.py +++ b/volatility3/framework/plugins/linux/pscallstack.py @@ -118,9 +118,15 @@ class PsCallStack(plugins.PluginInterface): current_sp = rsp_start idx = 0 while current_sp < task_top_of_stack: - stack_value_bytes = task_layer.read(current_sp, pointer_size) + try: + stack_value_bytes = task_layer.read(current_sp, pointer_size) + except exceptions.InvalidAddressException: + break stack_value = int.from_bytes(stack_value_bytes, byteorder=byte_order) - + if not stack_value: + idx += 1 + current_sp += pointer_size + continue kassymbol = kas.lookup_address(stack_value) sp_address = current_sp & vmlinux_layer.address_mask stack_value &= vmlinux_layer.address_mask diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 2094d63da..a4e04d950 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1994,7 +1994,10 @@ class bpf_prog(objects.StructType): # 'prog_aux' was added in kernels 3.18 return None - return self.aux.get_name() + try: + return self.aux.get_name() + except exceptions.InvalidAddressException: + return None def bpf_jit_binary_hdr_address(self) -> int: """Return the jitted BPF program start address @@ -2056,11 +2059,13 @@ class bpf_prog_aux(objects.StructType): # 'name' was added in kernels 4.15 return None - if not self.name: + try: + if not self.name: + return None + return utility.array_to_string(self.name) + except exceptions.InvalidAddressException: return None - return utility.array_to_string(self.name) - class cred(objects.StructType): # struct cred was added in kernels 2.6.29 @@ -2996,7 +3001,9 @@ class latch_tree_root(objects.StructType): rb_node = rb_node_ptr.dereference() lt_node = self._get_lt_node_from_rb_node(rb_node, idx) c = comp_function(key, lt_node) - if c < 0: + if c is None: + return None + elif c < 0: rb_node_ptr = rb_node.rb_left elif c > 0: rb_node_ptr = rb_node.rb_right diff --git a/volatility3/framework/symbols/linux/kallsyms.py b/volatility3/framework/symbols/linux/kallsyms.py index 298725a7a..368169757 100644 --- a/volatility3/framework/symbols/linux/kallsyms.py +++ b/volatility3/framework/symbols/linux/kallsyms.py @@ -6,12 +6,12 @@ import functools import logging from typing import Iterator, List, Optional, Tuple +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3.framework import constants, exceptions, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.constants import linux as linux_constants from volatility3.framework.objects import utility from volatility3.framework.symbols import linux -from volatility3.plugins.linux import lsmod vollog = logging.getLogger(__name__) @@ -304,28 +304,35 @@ class Kallsyms(interfaces.configuration.VersionableInterface): @classmethod def _assert_versions(cls) -> None: """Verify versions of shared dependencies""" - lsmod_version_required = (2, 0, 0) + linux_utilities_modules_version_required = (3, 0, 0) if not requirements.VersionRequirement.matches_required( - lsmod_version_required, lsmod.Lsmod.version + linux_utilities_modules_version_required, + linux_utilities_modules.Modules.version, ): raise exceptions.VolatilityException( - "Lsmod version not suitable: " - f"required {lsmod_version_required} found {lsmod.Lsmod.version}", + "linux_utilities_modules.Modules version not suitable: " + f"required {linux_utilities_modules_version_required} found {linux_utilities_modules.Modules.version}", ) return None - def _read_bytes(self, address: int, size: int) -> bytes: + def _read_bytes(self, address: int, size: int) -> Optional[bytes]: layer = self._context.layers[self._layer_name] - return layer.read(address, size).decode() + try: + return layer.read(address, size).decode() + except exceptions.InvalidAddressException: + return None - def _read_int(self, address: int, size: int, signed: bool = False) -> int: + def _read_int(self, address: int, size: int, signed: bool = False) -> Optional[int]: layer = self._context.layers[self._layer_name] - return int.from_bytes( - layer.read(address, size), - byteorder=self._endian, - signed=signed, - ) + try: + return int.from_bytes( + layer.read(address, size), + byteorder=self._endian, + signed=signed, + ) + except exceptions.InvalidAddressException: + return None def _bootstrap(self) -> None: layer = self._context.layers[self._layer_name] @@ -402,7 +409,20 @@ class Kallsyms(interfaces.configuration.VersionableInterface): """ current_offset = 0 for sym_idx in range(self._kallsyms_num_syms): - kassymbol, compressed_length = self._get_symbol(current_offset, sym_idx) + try: + kassymbol, compressed_length = self._get_symbol(current_offset, sym_idx) + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to reconstruct core symbol at offset {current_offset:#x} and index {sym_idx}" + ) + continue + + if compressed_length is None: + vollog.debug( + f"Unable to reconstruct compressed_length at offset {current_offset:#x} and index {sym_idx}" + ) + break + if kassymbol: yield kassymbol @@ -485,7 +505,7 @@ class Kallsyms(interfaces.configuration.VersionableInterface): ) return kassymbolbasic, compressed_length - def _get_symbol_address_by_index(self, index: int) -> int: + def _get_symbol_address_by_index(self, index: int) -> Optional[int]: """Return symbol address based on the symbol index in the kallsyms arrays. Based on kallsyms_sym_address() @@ -502,6 +522,8 @@ class Kallsyms(interfaces.configuration.VersionableInterface): signed_int_size = 4 sym_offset_ptr = self._kallsyms_offsets_address + (index * signed_int_size) sym_addr = self._read_int(sym_offset_ptr, signed_int_size, signed=True) + if sym_addr is None: + return None if sym_addr < 0: # Negative offsets are relative to kallsyms_relative_base - 1 @@ -517,35 +539,56 @@ class Kallsyms(interfaces.configuration.VersionableInterface): self._long_size, signed=False, ) + if kallsyms_address is None: + return None + return kallsyms_address & layer.address_mask else: raise exceptions.VolatilityException("Unsupported kernel") @functools.lru_cache - def _get_symbol_pos(self, address: int) -> Tuple[int, int]: + def _get_symbol_pos(self, address: int) -> Optional[Tuple[int, int]]: """Returns the symbol position in the kallsyms arrays and its size.""" low = 0 high = self._kallsyms_num_syms while high - low > 1: mid = low + (high - low) // 2 - if self._get_symbol_address_by_index(mid) <= address: + symbol_index = self._get_symbol_address_by_index(mid) + if symbol_index is None: + return None, None + elif symbol_index <= address: low = mid else: high = mid + # prevent accidental bleed through + symbol_index = None + # Search for the first aliased symbol. *Aliased symbols* are symbols with the same address. - while low and self._get_symbol_address_by_index( - low - 1 - ) == self._get_symbol_address_by_index(low): - low -= 1 + while low: + symbol_index = self._get_symbol_address_by_index(low - 1) + if symbol_index is None: + return None, None + + if symbol_index == self._get_symbol_address_by_index(low): + low -= 1 + else: + break symbol_start = self._get_symbol_address_by_index(low) + if symbol_start is None: + return None, None + symbol_end = 0 # Search for next non-aliased symbol. for idx in range(low + 1, self._kallsyms_num_syms): - if self._get_symbol_address_by_index(idx) > symbol_start: + symbol_index = self._get_symbol_address_by_index(idx) + if symbol_index is None: + return None, None + + if symbol_index > symbol_start: symbol_end = self._get_symbol_address_by_index(idx) break @@ -664,6 +707,8 @@ class Kallsyms(interfaces.configuration.VersionableInterface): return None pos, sym_size = self._get_symbol_pos(address) + if pos is None: + return None offset = self._get_symbol_offset(pos) sym_address = self._get_symbol_address_by_index(pos) kassymbolbasic, _compressed_length = self._expand_symbol(offset) @@ -855,7 +900,9 @@ class Kallsyms(interfaces.configuration.VersionableInterface): self, ) -> List[Tuple[interfaces.objects.ObjectInterface, int, int]]: modules_region = [] - for module in lsmod.Lsmod.list_modules(self._context, self._module_name): + for module in linux_utilities_modules.Modules.list_modules( + self._context, self._module_name + ): minimum_address, maximum_address = module.get_module_address_boundaries() module_region = module, minimum_address, maximum_address modules_region.append(module_region) @@ -923,21 +970,35 @@ class Kallsyms(interfaces.configuration.VersionableInterface): return self._search_module_by_address(address) @functools.lru_cache - def _get_type_cache(self, name: str): + def _get_type_cache(self, name: str) -> Optional[interfaces.objects.Template]: vmlinux = self._context.modules[self._module_name] - return vmlinux.get_type(name) + try: + return vmlinux.get_type(name) + except exceptions.SymbolError: + return None def _mod_tree_comp( self, address: int, latch_tree_node: interfaces.objects.ObjectInterface - ) -> int: + ) -> Optional[int]: vmlinux = self._context.modules[self._module_name] - module_memory_mtn_offset = self._get_type_cache( - "module_memory" - ).relative_child_offset("mtn") - mod_tree_node_mod_offset = self._get_type_cache( - "mod_tree_node" - ).relative_child_offset("mod") + module_memory_mtn = self._get_type_cache("module_memory") + if not module_memory_mtn: + vollog.debug( + "`module_memory` symbol not present in the symbol table. Cannot proceed." + ) + return None + + module_memory_mtn_offset = module_memory_mtn.relative_child_offset("mtn") + + mod_tree_node_mod = self._get_type_cache("mod_tree_node") + if not mod_tree_node_mod: + vollog.debug( + "`mod_tree_node` symbol not present in the symbol table. Cannot proceed." + ) + return None + + mod_tree_node_mod_offset = mod_tree_node_mod.relative_child_offset("mod") module_memory_offset = ( latch_tree_node.vol.offset @@ -1087,7 +1148,9 @@ class Kallsyms(interfaces.configuration.VersionableInterface): KASSymbol objects """ layer = self._context.layers[self._layer_name] - for module in lsmod.Lsmod.list_modules(self._context, self._module_name): + for module in linux_utilities_modules.Modules.list_modules( + self._context, self._module_name + ): module_name = utility.array_to_string(module.name) for elf_sym_idx, elf_sym_obj in enumerate(module.get_symbols()): sym_name = elf_sym_obj.get_name() @@ -1254,21 +1317,24 @@ class Kallsyms(interfaces.configuration.VersionableInterface): # this function will still be able to gather the symbols. bpf_kallsyms_list = vmlinux.object_from_symbol("bpf_kallsyms") for elem in bpf_kallsyms_list.to_list(list_type_symname, list_head_member): - # See kernel's bpf_get_kallsym() - if list_type == "bpf_ksym": - # kernels >= 5.8 - bpf_ksym = elem - sym_name = utility.array_to_string(bpf_ksym.name) - sym_addr = bpf_ksym.start - sym_size = bpf_ksym.end - bpf_ksym.start - else: - # list_type == "bpf_prog_aux" 3.18 <= kernels < 5.8 - bpf_prog_aux = elem - bpf_prog = bpf_prog_aux.prog - sym_name = bpf_prog.get_name() - sym_addr = bpf_prog.bpf_func - sym_start, sym_end = bpf_prog.get_address_region() - sym_size = sym_end - sym_start + try: + # See kernel's bpf_get_kallsym() + if list_type == "bpf_ksym": + # kernels >= 5.8 + bpf_ksym = elem + sym_name = utility.array_to_string(bpf_ksym.name) + sym_addr = bpf_ksym.start + sym_size = bpf_ksym.end - bpf_ksym.start + else: + # list_type == "bpf_prog_aux" 3.18 <= kernels < 5.8 + bpf_prog_aux = elem + bpf_prog = bpf_prog_aux.prog + sym_name = bpf_prog.get_name() + sym_addr = bpf_prog.bpf_func + sym_start, sym_end = bpf_prog.get_address_region() + sym_size = sym_end - sym_start + except exceptions.InvalidAddressException: + continue # The following are also hardcoded in the Linux kernel # see kernel's get_ksymbol_bpf(), bpf_get_kallsym() and BPF_SYM_ELF_TYPE @@ -1322,7 +1388,7 @@ class Kallsyms(interfaces.configuration.VersionableInterface): sym_size = symbol_end - symbol_start elif vmlinux.has_type("latch_tree_root") and vmlinux.get_type( "bpf_prog_aux" - ).child_template("ksym_tnode"): + ).has_member("ksym_tnode"): # For 4.11 <= kernels < 5.7 # latch_tree_root was added in kernels 4.2 ade3f510f93a5613b672febe88eff8ea7f1c63b7 # BPF kallsyms support was added in kernels 4.11 74451e66d516c55e309e8d89a4a1e7596e46aacd From 1eacddc79c2975fe1e53167f86bec365c68636b9 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 17:45:13 -0500 Subject: [PATCH 1644/2186] Add needed checks to prevent backtraces in ELF parsing --- .../symbols/linux/extensions/__init__.py | 72 ++++++++++++------- 1 file changed, 46 insertions(+), 26 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 2094d63da..524f2a7c6 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -337,39 +337,55 @@ class module(generic.GenericIntelProcess): @property def section_symtab(self): - if self.has_member("kallsyms"): - return self.kallsyms.symtab - elif self.has_member("symtab"): - return self.symtab + try: + if self.has_member("kallsyms"): + return self.kallsyms.symtab + elif self.has_member("symtab"): + return self.symtab + except exceptions.InvalidAddressException: + vollog.debug(f"Page fault encountered when accessing symtab of ELF at {self.vol.offset:#x} in {self.vol.layer_name}") + return None raise AttributeError("Unable to get symtab") @property def num_symtab(self): - if self.has_member("kallsyms"): - return int(self.kallsyms.num_symtab) - elif self.has_member("num_symtab"): - return int(self.member("num_symtab")) + try: + if self.has_member("kallsyms"): + return int(self.kallsyms.num_symtab) + elif self.has_member("num_symtab"): + return int(self.member("num_symtab")) + except exceptions.InvalidAddressException: + vollog.debug(f"Page fault encountered when accessing num_symtab of ELF at {self.vol.offset:#x} in {self.vol.layer_name}") + return None raise AttributeError("Unable to determine number of symbols") @property def section_strtab(self): - # Newer kernels - if self.has_member("kallsyms"): - return self.kallsyms.strtab - # Older kernels - elif self.has_member("strtab"): - return self.strtab + try: + # Newer kernels + if self.has_member("kallsyms"): + return self.kallsyms.strtab + # Older kernels + elif self.has_member("strtab"): + return self.strtab + except exceptions.InvalidAddressException: + vollog.debug(f"Page fault encountered when accessing strtab of ELF at {self.vol.offset:#x} in {self.vol.layer_name}") + return None raise AttributeError("Unable to get strtab") @property def section_typetab(self): - if self.has_member("kallsyms") and self.kallsyms.has_member("typetab"): - # kernels >= 4.5 8244062ef1e54502ef55f54cced659913f244c3e: kallsyms was added - # kernels >= 5.2 1c7651f43777cdd59c1aaa82c87324d3e7438c7b: types have its own array - return self.kallsyms.typetab + try: + if self.has_member("kallsyms") and self.kallsyms.has_member("typetab"): + # kernels >= 4.5 8244062ef1e54502ef55f54cced659913f244c3e: kallsyms was added + # kernels >= 5.2 1c7651f43777cdd59c1aaa82c87324d3e7438c7b: types have its own array + return self.kallsyms.typetab + except exceptions.InvalidAddressException: + vollog.debug(f"Page fault encountered when accessing typetab of ELF at {self.vol.offset:#x} in {self.vol.layer_name}") + return None raise AttributeError("Unable to get typetab section, it needs a kernel >= 5.2") @@ -385,14 +401,18 @@ class module(generic.GenericIntelProcess): Returns: A single-character string representing the symbol type """ - if self.has_member("kallsyms") and self.kallsyms.has_member("typetab"): - # kernels >= 5.2 1c7651f43777cdd59c1aaa82c87324d3e7438c7b types have its own array - layer = self._context.layers[self.vol.layer_name] - sym_type = layer.read(self.section_typetab + symbol_index, 1) - sym_type = sym_type.decode("utf-8", errors="ignore") - else: - # kernels < 5.2 the type was stored in the st_info - sym_type = chr(symbol.st_info) + try: + if self.has_member("kallsyms") and self.kallsyms.has_member("typetab"): + # kernels >= 5.2 1c7651f43777cdd59c1aaa82c87324d3e7438c7b types have its own array + layer = self._context.layers[self.vol.layer_name] + sym_type = layer.read(self.section_typetab + symbol_index, 1) + sym_type = sym_type.decode("utf-8", errors="ignore") + else: + # kernels < 5.2 the type was stored in the st_info + sym_type = chr(symbol.st_info) + except exceptions.InvalidAddressException: + vollog.debug(f"Page fault encountered when accessing symbol type of index {symbol_index} of ELF at {self.vol.offset:#x} in {self.vol.layer_name}") + return None return sym_type From e48d2972a6e44bb01fc5c2f4eafa28b91d1e4071 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 17:46:25 -0500 Subject: [PATCH 1645/2186] Add needed checks to prevent backtraces in ELF parsing --- .../symbols/linux/extensions/__init__.py | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 524f2a7c6..959d33c60 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -343,7 +343,9 @@ class module(generic.GenericIntelProcess): elif self.has_member("symtab"): return self.symtab except exceptions.InvalidAddressException: - vollog.debug(f"Page fault encountered when accessing symtab of ELF at {self.vol.offset:#x} in {self.vol.layer_name}") + vollog.debug( + f"Page fault encountered when accessing symtab of ELF at {self.vol.offset:#x} in {self.vol.layer_name}" + ) return None raise AttributeError("Unable to get symtab") @@ -356,7 +358,9 @@ class module(generic.GenericIntelProcess): elif self.has_member("num_symtab"): return int(self.member("num_symtab")) except exceptions.InvalidAddressException: - vollog.debug(f"Page fault encountered when accessing num_symtab of ELF at {self.vol.offset:#x} in {self.vol.layer_name}") + vollog.debug( + f"Page fault encountered when accessing num_symtab of ELF at {self.vol.offset:#x} in {self.vol.layer_name}" + ) return None raise AttributeError("Unable to determine number of symbols") @@ -371,7 +375,9 @@ class module(generic.GenericIntelProcess): elif self.has_member("strtab"): return self.strtab except exceptions.InvalidAddressException: - vollog.debug(f"Page fault encountered when accessing strtab of ELF at {self.vol.offset:#x} in {self.vol.layer_name}") + vollog.debug( + f"Page fault encountered when accessing strtab of ELF at {self.vol.offset:#x} in {self.vol.layer_name}" + ) return None raise AttributeError("Unable to get strtab") @@ -384,7 +390,9 @@ class module(generic.GenericIntelProcess): # kernels >= 5.2 1c7651f43777cdd59c1aaa82c87324d3e7438c7b: types have its own array return self.kallsyms.typetab except exceptions.InvalidAddressException: - vollog.debug(f"Page fault encountered when accessing typetab of ELF at {self.vol.offset:#x} in {self.vol.layer_name}") + vollog.debug( + f"Page fault encountered when accessing typetab of ELF at {self.vol.offset:#x} in {self.vol.layer_name}" + ) return None raise AttributeError("Unable to get typetab section, it needs a kernel >= 5.2") @@ -411,7 +419,9 @@ class module(generic.GenericIntelProcess): # kernels < 5.2 the type was stored in the st_info sym_type = chr(symbol.st_info) except exceptions.InvalidAddressException: - vollog.debug(f"Page fault encountered when accessing symbol type of index {symbol_index} of ELF at {self.vol.offset:#x} in {self.vol.layer_name}") + vollog.debug( + f"Page fault encountered when accessing symbol type of index {symbol_index} of ELF at {self.vol.offset:#x} in {self.vol.layer_name}" + ) return None return sym_type From 07b74fd8e30753612610b712514ca1f5e5a0b93a Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 18:28:13 -0500 Subject: [PATCH 1646/2186] Add typing to functions in modules class --- .../symbols/linux/extensions/__init__.py | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 959d33c60..6767650dc 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -99,13 +99,13 @@ class module(generic.GenericIntelProcess): return self.mem[module_mem_index] - def _get_mem_size(self, mod_mem_type_name): + def _get_mem_size(self, mod_mem_type_name) -> int: return self._get_mem_type(mod_mem_type_name).size - def _get_mem_base(self, mod_mem_type_name): + def _get_mem_base(self, mod_mem_type_name) -> int: return self._get_mem_type(mod_mem_type_name).base - def get_module_base(self): + def get_module_base(self) -> int: if self.has_member("mem"): # kernels 6.4+ return self._get_mem_base("MOD_TEXT") elif self.has_member("core_layout"): @@ -115,7 +115,7 @@ class module(generic.GenericIntelProcess): raise AttributeError("Unable to get module base") - def get_init_size(self): + def get_init_size(self) -> int: if self.has_member("mem"): # kernels 6.4+ return ( self._get_mem_size("MOD_INIT_TEXT") @@ -129,7 +129,7 @@ class module(generic.GenericIntelProcess): raise AttributeError("Unable to determine .init section size of module") - def get_core_size(self): + def get_core_size(self) -> int: if self.has_member("mem"): # kernels 6.4+ return ( self._get_mem_size("MOD_TEXT") @@ -144,7 +144,7 @@ class module(generic.GenericIntelProcess): raise AttributeError("Unable to determine core size of module") - def get_core_text_size(self): + def get_core_text_size(self) -> int: if self.has_member("mem"): # kernels 6.4+ return self._get_mem_size("MOD_TEXT") elif self.has_member("core_layout"): @@ -154,7 +154,7 @@ class module(generic.GenericIntelProcess): raise AttributeError("Unable to determine core text size of module") - def get_module_core(self): + def get_module_core(self) -> objects.Pointer: if self.has_member("mem"): # kernels 6.4+ return self._get_mem_base("MOD_TEXT") elif self.has_member("core_layout"): @@ -163,7 +163,7 @@ class module(generic.GenericIntelProcess): return self.module_core raise AttributeError("Unable to get module core") - def get_module_init(self): + def get_module_init(self) -> objects.Pointer: if self.has_member("mem"): # kernels 6.4+ return self._get_mem_base("MOD_INIT_TEXT") elif self.has_member("init_layout"): @@ -172,9 +172,12 @@ class module(generic.GenericIntelProcess): return self.module_init raise AttributeError("Unable to get module init") - def get_name(self): + def get_name(self) -> Optional[str]: """Get the name of the module as a string""" - return utility.array_to_string(self.name) + try: + return utility.array_to_string(self.name) + except exceptions.InvalidAddressException: + return None def _get_sect_count(self, grp: interfaces.objects.ObjectInterface) -> int: """Try to determine the number of valid sections""" @@ -336,7 +339,7 @@ class module(generic.GenericIntelProcess): return None @property - def section_symtab(self): + def section_symtab(self) -> Optional[interfaces.objects.ObjectInterface]: try: if self.has_member("kallsyms"): return self.kallsyms.symtab @@ -351,7 +354,7 @@ class module(generic.GenericIntelProcess): raise AttributeError("Unable to get symtab") @property - def num_symtab(self): + def num_symtab(self) -> Optional[int]: try: if self.has_member("kallsyms"): return int(self.kallsyms.num_symtab) @@ -366,7 +369,7 @@ class module(generic.GenericIntelProcess): raise AttributeError("Unable to determine number of symbols") @property - def section_strtab(self): + def section_strtab(self) -> Optional[interfaces.objects.ObjectInterface]: try: # Newer kernels if self.has_member("kallsyms"): @@ -383,7 +386,7 @@ class module(generic.GenericIntelProcess): raise AttributeError("Unable to get strtab") @property - def section_typetab(self): + def section_typetab(self) -> Optional[interfaces.objects.ObjectInterface]: try: if self.has_member("kallsyms") and self.kallsyms.has_member("typetab"): # kernels >= 4.5 8244062ef1e54502ef55f54cced659913f244c3e: kallsyms was added @@ -399,7 +402,7 @@ class module(generic.GenericIntelProcess): def get_symbol_type( self, symbol: interfaces.objects.ObjectInterface, symbol_index: int - ) -> str: + ) -> Optional[str]: """Determines the type of a given ELF symbol. Args: From 7146b45fa7571da210be13c2c341f2a3a5c52133 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 17:41:35 +0000 Subject: [PATCH 1647/2186] Create versioned parent class for all plugins that enumerate Linux kernel modules. Convert plugins to new method. --- .../framework/plugins/linux/check_modules.py | 36 ++++---- .../framework/plugins/linux/hidden_modules.py | 66 +++++++------- volatility3/framework/plugins/linux/lsmod.py | 45 +++------- .../symbols/linux/utilities/modules.py | 85 ++++++++++++++++++- 4 files changed, 145 insertions(+), 87 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index 44cb568e6..246f2450d 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -3,25 +3,26 @@ # import logging -from typing import List, Dict +from typing import List, Dict, Generator import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import interfaces, renderers, deprecation +from volatility3.framework import interfaces, deprecation from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility -from volatility3.framework.renderers import format_hints from volatility3.framework.symbols.linux import extensions vollog = logging.getLogger(__name__) -class Check_modules(plugins.PluginInterface): +class Check_modules(linux_utilities_modules.ModuleDisplayPlugin): """Compares module list to sysfs info, if available""" - _version = (2, 0, 0) + _version = (3, 0, 0) _required_framework_version = (2, 0, 0) + def __init__(self, *args, **kwargs): + super().__init__(self.compare_kset_and_lsmod, *args, **kwargs) + @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ @@ -31,9 +32,9 @@ class Check_modules(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="linux_utilities_modules", - component=linux_utilities_modules.Modules, - version=(3, 0, 0), + name="linux_utilities_modules_module_display_plugin", + component=linux_utilities_modules.ModuleDisplayPlugin, + version=(1, 0, 0), ), ] @@ -48,23 +49,20 @@ class Check_modules(plugins.PluginInterface): ) -> Dict[str, extensions.module]: return linux_utilities_modules.Modules.get_kset_modules(context, vmlinux_name) - def _generator(self): + @classmethod + def compare_kset_and_lsmod( + cls, context: str, vmlinux_name: str + ) -> Generator[extensions.module, None, None]: kset_modules = linux_utilities_modules.Modules.get_kset_modules( - self.context, self.config["kernel"] + context=context, vmlinux_name=vmlinux_name ) lsmod_modules = set( str(utility.array_to_string(modules.name)) for modules in linux_utilities_modules.Modules.list_modules( - self.context, self.config["kernel"] + context=context, vmlinux_module_name=vmlinux_name ) ) for mod_name in set(kset_modules.keys()).difference(lsmod_modules): - yield (0, (format_hints.Hex(kset_modules[mod_name]), str(mod_name))) - - def run(self): - return renderers.TreeGrid( - [("Module Address", format_hints.Hex), ("Module Name", str)], - self._generator(), - ) + yield kset_modules[mod_name] diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 985d4cfcb..dd473a8f7 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -6,19 +6,22 @@ from typing import List, Set, Tuple, Iterable from volatility3.framework.symbols.linux.utilities import ( modules as linux_utilities_modules, ) -from volatility3.framework import renderers, interfaces, exceptions, deprecation +from volatility3.framework import interfaces, exceptions, deprecation from volatility3.framework.constants import architectures -from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements +from volatility3.framework.symbols.linux import extensions vollog = logging.getLogger(__name__) -class Hidden_modules(interfaces.plugins.PluginInterface): +class Hidden_modules(linux_utilities_modules.ModuleDisplayPlugin): """Carves memory to find hidden kernel modules""" _required_framework_version = (2, 10, 0) - _version = (2, 0, 0) + _version = (3, 0, 0) + + def __init__(self, *args, **kwargs): + super().__init__(self.find_hidden_modules, *args, **kwargs) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -29,9 +32,9 @@ class Hidden_modules(interfaces.plugins.PluginInterface): architectures=architectures.LINUX_ARCHS, ), requirements.VersionRequirement( - name="linux_utilities_modules", - component=linux_utilities_modules.Modules, - version=(3, 0, 0), + name="linux_utilities_modules_module_display_plugin", + component=linux_utilities_modules.ModuleDisplayPlugin, + version=(1, 0, 0), ), ] @@ -165,38 +168,29 @@ class Hidden_modules(interfaces.plugins.PluginInterface): } return known_module_addresses - def _generator(self): - vmlinux_module_name = self.config["kernel"] - known_module_addresses = self.get_lsmod_module_addresses( - self.context, vmlinux_module_name - ) - modules_memory_boundaries = ( - linux_utilities_modules.Modules.get_modules_memory_boundaries( - self.context, vmlinux_module_name - ) - ) - - for module in linux_utilities_modules.Modules.get_hidden_modules( - self.context, - vmlinux_module_name, - known_module_addresses, - modules_memory_boundaries, - ): - module_addr = module.vol.offset - module_name = module.get_name() or renderers.NotAvailableValue() - fields = (format_hints.Hex(module_addr), module_name) - yield (0, fields) - - def run(self): - if self.context.symbol_space.verify_table_versions( + @classmethod + def find_hidden_modules( + cls, context, vmlinux_module_name: str + ) -> extensions.module: + if context.symbol_space.verify_table_versions( "dwarf2json", lambda version, _: (not version) or version < (0, 8, 0) ): raise exceptions.SymbolSpaceError( "Invalid symbol table, please ensure the ISF table produced by dwarf2json was created with version 0.8.0 or later" ) - headers = [ - ("Address", format_hints.Hex), - ("Name", str), - ] - return renderers.TreeGrid(headers, self._generator()) + known_module_addresses = cls.get_lsmod_module_addresses( + context, vmlinux_module_name + ) + modules_memory_boundaries = ( + linux_utilities_modules.Modules.get_modules_memory_boundaries( + context, vmlinux_module_name + ) + ) + + yield from linux_utilities_modules.Modules.get_hidden_modules( + context, + vmlinux_module_name, + known_module_addresses, + modules_memory_boundaries, + ) diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index 466bfa0b4..30d494d55 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -7,20 +7,20 @@ import logging from typing import List, Iterable import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import exceptions, renderers, interfaces, deprecation +from volatility3.framework import interfaces, deprecation from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins -from volatility3.framework.objects import utility -from volatility3.framework.renderers import format_hints vollog = logging.getLogger(__name__) -class Lsmod(plugins.PluginInterface): +class Lsmod(linux_utilities_modules.ModuleDisplayPlugin): """Lists loaded kernel modules.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _version = (3, 0, 0) + + def __init__(self, *args, **kwargs): + super().__init__(linux_utilities_modules.ModuleGathererLsmod, *args, **kwargs) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -31,9 +31,14 @@ class Lsmod(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="linux_utilities_modules", - component=linux_utilities_modules.Modules, - version=(3, 0, 0), + name="linux_utilities_modules_gatherers_lsmod", + component=linux_utilities_modules.ModuleGathererLsmod, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="linux_utilities_modules_module_display_plugin", + component=linux_utilities_modules.ModuleDisplayPlugin, + version=(1, 0, 0), ), ] @@ -49,25 +54,3 @@ class Lsmod(plugins.PluginInterface): return linux_utilities_modules.Modules.list_modules( context, vmlinux_module_name ) - - def _generator(self): - try: - for module in linux_utilities_modules.Modules.list_modules( - self.context, self.config["kernel"] - ): - mod_size = module.get_init_size() + module.get_core_size() - - mod_name = utility.array_to_string(module.name) - - yield 0, (format_hints.Hex(module.vol.offset), mod_name, mod_size) - - except exceptions.SymbolError: - vollog.warning( - "The required symbol 'module' is not present in symbol table. Please check that kernel modules are enabled for the system under analysis." - ) - - def run(self): - return renderers.TreeGrid( - [("Offset", format_hints.Hex), ("Name", str), ("Size", int)], - self._generator(), - ) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 8f1b5b67d..a2f6a942b 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -21,11 +21,15 @@ from volatility3.framework import ( deprecation, exceptions, objects, + renderers, ) - +from volatility3.framework.constants import architectures +from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.symbols.linux import extensions +from volatility3.framework.interfaces import plugins +from volatility3.framework.symbols.linux.utilities import tainting vollog = logging.getLogger(__name__) @@ -684,3 +688,82 @@ class ModuleGatherers( ) return reqs + + +class ModuleDisplayPlugin(plugins.PluginInterface): + """ + Plugins that enumerate kernel modules (lsmod, check_modules, etc.) + must inherit from this class to have unified output columns across plugins. + The constructor of the plugin must call super() with the `implementation` set + """ + + _version = (1, 0, 0) + _required_framework_version = (2, 0, 0) + + framework.require_interface_version(*_required_framework_version) + + def __init__(self, implementation, *args, **kwargs): + super().__init__(*args, **kwargs) + self.implementation = implementation + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=architectures.LINUX_ARCHS, + ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=Modules, + version=(3, 0, 0), + ), + requirements.VersionRequirement( + name="linux-tainting", component=tainting.Tainting, version=(1, 0, 0) + ), + ] + + def _generator(self): + """ + Uses the implementation set in the constructor call to produce consistent output fields + across module gathering plugins + """ + for module in self.implementation(self.context, self.config["kernel"]): + try: + name = utility.array_to_string(module.name) + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to recover name for module {module.vol.offset:#x} from implementation {self.implementation}" + ) + continue + + code_size = format_hints.Hex( + module.get_init_size() + module.get_core_size() + ) + + taints = ",".join( + tainting.Tainting.get_taints_parsed( + self.context, self.config["kernel"], module.taints, True + ) + ) + + yield 0, ( + format_hints.Hex(module.vol.offset), + name, + format_hints.Hex(code_size), + taints, + renderers.NotAvailableValue(), # will become the load arguments after this inital conversion is merged + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("Module Name", str), + ("Code Size", format_hints.Hex), + ("Taints", str), + ("Load Arguments", str), + ], + self._generator(), + ) From 971f06996b54deda6cab6e0d48b01146c83ad519 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 18:02:03 +0000 Subject: [PATCH 1648/2186] bump version on kallsyms --- volatility3/framework/symbols/linux/kallsyms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/symbols/linux/kallsyms.py b/volatility3/framework/symbols/linux/kallsyms.py index 368169757..945342ea9 100644 --- a/volatility3/framework/symbols/linux/kallsyms.py +++ b/volatility3/framework/symbols/linux/kallsyms.py @@ -305,6 +305,7 @@ class Kallsyms(interfaces.configuration.VersionableInterface): def _assert_versions(cls) -> None: """Verify versions of shared dependencies""" linux_utilities_modules_version_required = (3, 0, 0) + if not requirements.VersionRequirement.matches_required( linux_utilities_modules_version_required, linux_utilities_modules.Modules.version, From f906bde338d8298c69d3e8db6faa6664f935a25b Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 18:22:19 +0000 Subject: [PATCH 1649/2186] change lmsod call --- volatility3/framework/plugins/linux/lsmod.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index 30d494d55..d01a25afa 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -20,7 +20,7 @@ class Lsmod(linux_utilities_modules.ModuleDisplayPlugin): _version = (3, 0, 0) def __init__(self, *args, **kwargs): - super().__init__(linux_utilities_modules.ModuleGathererLsmod, *args, **kwargs) + super().__init__(linux_utilities_modules.Modules.list_modules, *args, **kwargs) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -31,9 +31,9 @@ class Lsmod(linux_utilities_modules.ModuleDisplayPlugin): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="linux_utilities_modules_gatherers_lsmod", - component=linux_utilities_modules.ModuleGathererLsmod, - version=(1, 0, 0), + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(3, 0, 0), ), requirements.VersionRequirement( name="linux_utilities_modules_module_display_plugin", From 00c4a13567d2fb2bc14aa291bb9ab7c7aab02a75 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 18:58:55 -0500 Subject: [PATCH 1650/2186] remove errant space --- volatility3/framework/symbols/linux/kallsyms.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/kallsyms.py b/volatility3/framework/symbols/linux/kallsyms.py index 945342ea9..368169757 100644 --- a/volatility3/framework/symbols/linux/kallsyms.py +++ b/volatility3/framework/symbols/linux/kallsyms.py @@ -305,7 +305,6 @@ class Kallsyms(interfaces.configuration.VersionableInterface): def _assert_versions(cls) -> None: """Verify versions of shared dependencies""" linux_utilities_modules_version_required = (3, 0, 0) - if not requirements.VersionRequirement.matches_required( linux_utilities_modules_version_required, linux_utilities_modules.Modules.version, From 93be148534308a47e06ceefbecf64ccdeaba50ee Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 19:04:02 -0500 Subject: [PATCH 1651/2186] Change how the inheritance is performed --- volatility3/framework/plugins/linux/check_modules.py | 5 ++++- volatility3/framework/plugins/linux/hidden_modules.py | 5 ++++- volatility3/framework/plugins/linux/lsmod.py | 3 ++- volatility3/framework/symbols/linux/utilities/modules.py | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index 246f2450d..55865deb8 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -10,11 +10,14 @@ from volatility3.framework import interfaces, deprecation from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.symbols.linux import extensions +from volatility3.framework.interfaces import plugins vollog = logging.getLogger(__name__) -class Check_modules(linux_utilities_modules.ModuleDisplayPlugin): +class Check_modules( + linux_utilities_modules.ModuleDisplayPlugin, plugins.PluginInterface +): """Compares module list to sysfs info, if available""" _version = (3, 0, 0) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index dd473a8f7..56b36e2cb 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -10,11 +10,14 @@ from volatility3.framework import interfaces, exceptions, deprecation from volatility3.framework.constants import architectures from volatility3.framework.configuration import requirements from volatility3.framework.symbols.linux import extensions +from volatility3.framework.interfaces import plugins vollog = logging.getLogger(__name__) -class Hidden_modules(linux_utilities_modules.ModuleDisplayPlugin): +class Hidden_modules( + linux_utilities_modules.ModuleDisplayPlugin, plugins.PluginInterface +): """Carves memory to find hidden kernel modules""" _required_framework_version = (2, 10, 0) diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index d01a25afa..71f36ecc9 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -9,11 +9,12 @@ from typing import List, Iterable import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3.framework import interfaces, deprecation from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins vollog = logging.getLogger(__name__) -class Lsmod(linux_utilities_modules.ModuleDisplayPlugin): +class Lsmod(linux_utilities_modules.ModuleDisplayPlugin, plugins.PluginInterface): """Lists loaded kernel modules.""" _required_framework_version = (2, 0, 0) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index a2f6a942b..b5b5b28a2 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -690,7 +690,7 @@ class ModuleGatherers( return reqs -class ModuleDisplayPlugin(plugins.PluginInterface): +class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): """ Plugins that enumerate kernel modules (lsmod, check_modules, etc.) must inherit from this class to have unified output columns across plugins. From 0667a408364394dc56f7bcf080f5c26c92171c39 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 19:06:02 -0500 Subject: [PATCH 1652/2186] Removed unused import --- volatility3/framework/symbols/linux/utilities/modules.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index b5b5b28a2..b8466d097 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -28,7 +28,6 @@ from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.symbols.linux import extensions -from volatility3.framework.interfaces import plugins from volatility3.framework.symbols.linux.utilities import tainting vollog = logging.getLogger(__name__) From 06a4c5639533657d32eda56b927aa0a826406829 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 17 Mar 2025 20:15:18 -0500 Subject: [PATCH 1653/2186] Update for new accessing method --- .../framework/plugins/linux/check_modules.py | 45 ++++++----- .../framework/plugins/linux/hidden_modules.py | 77 +++++++++---------- volatility3/framework/plugins/linux/lsmod.py | 7 +- .../symbols/linux/utilities/modules.py | 6 +- 4 files changed, 65 insertions(+), 70 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index 55865deb8..5a43bf899 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -15,16 +15,33 @@ from volatility3.framework.interfaces import plugins vollog = logging.getLogger(__name__) -class Check_modules( - linux_utilities_modules.ModuleDisplayPlugin, plugins.PluginInterface -): +class Check_modules(plugins.PluginInterface): """Compares module list to sysfs info, if available""" _version = (3, 0, 0) _required_framework_version = (2, 0, 0) - def __init__(self, *args, **kwargs): - super().__init__(self.compare_kset_and_lsmod, *args, **kwargs) + @classmethod + def compare_kset_and_lsmod( + cls, context: str, vmlinux_name: str + ) -> Generator[extensions.module, None, None]: + kset_modules = linux_utilities_modules.Modules.get_kset_modules( + context=context, vmlinux_name=vmlinux_name + ) + + lsmod_modules = set( + str(utility.array_to_string(modules.name)) + for modules in linux_utilities_modules.Modules.list_modules( + context=context, vmlinux_module_name=vmlinux_name + ) + ) + + for mod_name in set(kset_modules.keys()).difference(lsmod_modules): + yield kset_modules[mod_name] + + run = linux_utilities_modules.ModuleDisplayPlugin.run + _generator = linux_utilities_modules.ModuleDisplayPlugin.generator + implementation = compare_kset_and_lsmod @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -51,21 +68,3 @@ class Check_modules( cls, context: interfaces.context.ContextInterface, vmlinux_name: str ) -> Dict[str, extensions.module]: return linux_utilities_modules.Modules.get_kset_modules(context, vmlinux_name) - - @classmethod - def compare_kset_and_lsmod( - cls, context: str, vmlinux_name: str - ) -> Generator[extensions.module, None, None]: - kset_modules = linux_utilities_modules.Modules.get_kset_modules( - context=context, vmlinux_name=vmlinux_name - ) - - lsmod_modules = set( - str(utility.array_to_string(modules.name)) - for modules in linux_utilities_modules.Modules.list_modules( - context=context, vmlinux_module_name=vmlinux_name - ) - ) - - for mod_name in set(kset_modules.keys()).difference(lsmod_modules): - yield kset_modules[mod_name] diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 56b36e2cb..c6f5d749e 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -15,16 +15,49 @@ from volatility3.framework.interfaces import plugins vollog = logging.getLogger(__name__) -class Hidden_modules( - linux_utilities_modules.ModuleDisplayPlugin, plugins.PluginInterface -): +class Hidden_modules(plugins.PluginInterface): """Carves memory to find hidden kernel modules""" _required_framework_version = (2, 10, 0) _version = (3, 0, 0) - def __init__(self, *args, **kwargs): - super().__init__(self.find_hidden_modules, *args, **kwargs) + @classmethod + def get_hidden_modules( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + known_module_addresses: Set[int], + modules_memory_boundaries: Tuple, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Enumerate hidden modules by taking advantage of memory address alignment patterns + + This technique is much faster and uses less memory than the traditional scan method + in Volatility2, but it doesn't work with older kernels. + + From kernels 4.2 struct module allocation are aligned to the L1 cache line size. + In i386/amd64/arm64 this is typically 64 bytes. However, this can be changed in + the Linux kernel configuration via CONFIG_X86_L1_CACHE_SHIFT. The alignment can + also be obtained from the DWARF info i.e. DW_AT_alignment<64>, but dwarf2json + doesn't support this feature yet. + In kernels < 4.2, alignment attributes are absent in the struct module, meaning + alignment cannot be guaranteed. Therefore, for older kernels, it's better to use + the traditional scan technique. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + known_module_addresses: Set with known module addresses + modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. + Yields: + module objects + """ + return linux_utilities_modules.get_hidden_modules( + vmlinux_module_name, known_module_addresses, modules_memory_boundaries + ) + + run = linux_utilities_modules.ModuleDisplayPlugin.run + _generator = linux_utilities_modules.ModuleDisplayPlugin.generator + implementation = linux_utilities_modules.Modules.list_modules @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -88,40 +121,6 @@ class Hidden_modules( removal_date="2025-09-25", replacement_version=(3, 0, 0), ) - @classmethod - def get_hidden_modules( - cls, - context: interfaces.context.ContextInterface, - vmlinux_module_name: str, - known_module_addresses: Set[int], - modules_memory_boundaries: Tuple, - ) -> Iterable[interfaces.objects.ObjectInterface]: - """Enumerate hidden modules by taking advantage of memory address alignment patterns - - This technique is much faster and uses less memory than the traditional scan method - in Volatility2, but it doesn't work with older kernels. - - From kernels 4.2 struct module allocation are aligned to the L1 cache line size. - In i386/amd64/arm64 this is typically 64 bytes. However, this can be changed in - the Linux kernel configuration via CONFIG_X86_L1_CACHE_SHIFT. The alignment can - also be obtained from the DWARF info i.e. DW_AT_alignment<64>, but dwarf2json - doesn't support this feature yet. - In kernels < 4.2, alignment attributes are absent in the struct module, meaning - alignment cannot be guaranteed. Therefore, for older kernels, it's better to use - the traditional scan technique. - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - vmlinux_module_name: The name of the kernel module on which to operate - known_module_addresses: Set with known module addresses - modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. - Yields: - module objects - """ - return linux_utilities_modules.get_hidden_modules( - vmlinux_module_name, known_module_addresses, modules_memory_boundaries - ) - @staticmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.validate_alignment_patterns, diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index 71f36ecc9..3029d2541 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -14,14 +14,15 @@ from volatility3.framework.interfaces import plugins vollog = logging.getLogger(__name__) -class Lsmod(linux_utilities_modules.ModuleDisplayPlugin, plugins.PluginInterface): +class Lsmod(plugins.PluginInterface): """Lists loaded kernel modules.""" _required_framework_version = (2, 0, 0) _version = (3, 0, 0) - def __init__(self, *args, **kwargs): - super().__init__(linux_utilities_modules.Modules.list_modules, *args, **kwargs) + run = linux_utilities_modules.ModuleDisplayPlugin.run + _generator = linux_utilities_modules.ModuleDisplayPlugin.generator + implementation = linux_utilities_modules.Modules.list_modules @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index b8466d097..0b4dea997 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -701,10 +701,6 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): framework.require_interface_version(*_required_framework_version) - def __init__(self, implementation, *args, **kwargs): - super().__init__(*args, **kwargs) - self.implementation = implementation - @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ @@ -723,7 +719,7 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): ), ] - def _generator(self): + def generator(self): """ Uses the implementation set in the constructor call to produce consistent output fields across module gathering plugins From 2795c7cdd2ad2899508faf423656581958eadec0 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 19 Mar 2025 15:36:18 -0500 Subject: [PATCH 1654/2186] Windows: Fix raw Dpc offset calculation The original code was still returning this as a pointer that ended up dereferenced in later steps. However, this pointer value actually needs to be cast to an `unsigned long long` and decoded first. --- .../symbols/windows/extensions/__init__.py | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 933178c91..091d6ceb5 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -22,9 +22,8 @@ from volatility3.framework.interfaces.objects import ObjectInterface from volatility3.framework.layers import intel from volatility3.framework.objects import utility from volatility3.framework.renderers import conversion -from volatility3.framework.symbols import generic +from volatility3.framework.symbols import generic, windows from volatility3.framework.symbols.windows.extensions import pool -from volatility3.framework.symbols import windows vollog = logging.getLogger(__name__) @@ -1222,17 +1221,13 @@ class KTIMER(objects.StructType): return "-" def get_raw_dpc(self): - """Returns the encoded DPC since it may not look like a pointer after encoding""" - symbol_table_name = self.get_symbol_table_name() - pointer_type = self._context.symbol_space.get_type( - symbol_table_name + constants.BANG + "pointer" - ) - - return self._context.object( - object_type=pointer_type, - layer_name=self.vol.layer_name, - offset=self.Dpc.vol.offset, - ) + """Returns the encoded DPC as an unsigned long long since the pointer is actually encoded""" + if symbols.symbol_table_is_64bit( + context=self._context, symbol_table_name=self.get_symbol_table_name() + ): + return self.Dpc.cast("unsigned long long") + else: + return self.Dpc.cast("unsigned long") def valid_type(self): return self.Header.Type in self.VALID_TYPES From bfe50889b0c51088615db29dd86ca50f1b0ca852 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 19 Mar 2025 17:32:09 -0500 Subject: [PATCH 1655/2186] Add the recovery and reporting of LKM load parameters --- .../symbols/linux/utilities/modules.py | 237 +++++++++++++++++- 1 file changed, 234 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 0b4dea997..f987c352e 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -70,7 +70,7 @@ class ModuleGathererInterface( class Modules(interfaces.configuration.VersionableInterface): """Kernel modules related utilities.""" - _version = (3, 0, 0) + _version = (3, 0, 1) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) @@ -558,6 +558,231 @@ class Modules(interfaces.configuration.VersionableInterface): """ return all(addr % address_alignment == 0 for addr in addresses) + @classmethod + def _get_param_handlers( + cls, context: interfaces.context.ContextInterface, vmlinux_name: str + ) -> Tuple[Dict[int, str], Dict[str, Optional[int]]]: + """ + This function builds the dictionaries needed to map kernel parameters to their types + We need these values and information to properly decode each parameter to its input representation + """ + kernel = context.modules[vmlinux_name] + + # All the integer type parameters + pairs = { + "param_get_invbool": "int", + "param_get_bool": "int", + "param_get_int": "int", + "param_get_ulong": "long unsigned int", + "param_get_ullong": "long long unsigned int", + "param_get_long": "long int", + "param_get_uint": "unsigned int", + "param_get_ushort": "short unsigned int", + "param_get_short": "short int", + "param_get_byte": "char", + } + + int_handlers: Dict[int, str] = {} + + for sym_name, val_type in pairs.items(): + try: + sym_address = kernel.get_absolute_symbol_address(sym_name) + except exceptions.SymbolError: + continue + + int_handlers[sym_address] = val_type + + # Strings, arrays, booleans + getters = { + "param_get_string": None, + "param_array_get": None, + "param_get_charp": None, + "param_get_bool": None, + "param_get_invbool": None, + } + + for sym_name in getters: + try: + sym_address = kernel.get_absolute_symbol_address(sym_name) + except exceptions.SymbolError: + continue + + getters[sym_name] = sym_address + + return int_handlers, getters + + @classmethod + def _get_param_val( + cls, + context: interfaces.context.ContextInterface, + vmlinux_name: str, + int_handlers, + getters, + module, + param, + ) -> Optional[Union[str, int]]: + """ + Properly determines the type of a parameter and decodes based on the type. + The type is determined by examining its `get` function, which will be a pointer to + predefined operations handler for particular parameter types. + """ + + # Attempt to retrieve the `get` pointer. Bail if smeared + try: + if hasattr(param, "get"): + param_func = param.get + else: + param_func = param.ops.get + + except exceptions.InvalidAddressException: + return None + + if not param_func: + return None + + kernel = context.modules[vmlinux_name] + + # For arrays, recusively get the value of each member as the type can be different + if param_func == getters["param_array_get"]: + array = param.arr + + if array.num: + max_index = array.num.dereference() + else: + max_index = array.member("max") + + if max_index > 32: + vollog.debug( + f"Skipping array parameter with invalid index for module {module.vol.offset:#x}" + ) + return None + + element_vals = [] + for i in range(max_index): + kp = kernel.object( + object_type="kernel_param", + offset=array.elem + (array.elemsize * i), + absolute=True, + ) + + element_vals.append( + cls._get_param_val( + context, vmlinux_name, int_handlers, getters, module, kp + ) + ) + + # nothing was gathered + if not element_vals: + return None + + return ",".join([str(ele) for ele in element_vals]) + + # strings types + elif param_func in [getters["param_get_string"], getters["param_get_charp"]]: + try: + if param_func == getters["param_get_string"]: + count = param.member("str").maxlen + else: + count = 256 + + return utility.pointer_to_string(param.member("str"), count=count) + except exceptions.InvalidAddressException: + vollog.debug( + f"Skipping string parameter with invalid address for module {module.vol.offset:#x}" + ) + return None + + # The integer handles, which also encompass boolean handlers + elif param_func in int_handlers: + try: + int_value = kernel.object( + object_type=int_handlers[param_func], offset=param.arg + ) + except exceptions.InvalidAddressException: + vollog.debug( + f"Skipping {int_handlers[param_func]} parameter with invalid address for module {module.vol.offset:#x}" + ) + return None + + if param_func == getters["param_get_bool"]: + if int_value == 0: + return "N" + else: + return "Y" + elif param_func == getters["param_get_invbool"]: + if int_value == 0: + return "Y" + else: + return "N" + else: + return int_value + + else: + handler_symbol = kernel.get_symbols_by_absolute_location(param_func) + + msg = f"Unknown kernel parameter handling function ({handler_symbol}) at address {param_func:#x} for module at {module.vol.offset:#x}" + + # If a new kernel has a handler symbol we don't support then we want to always see that information + # If the handler doesn't map to a kernel symbol then its smeared/invalid + if handler_symbol: + vollog.warning(msg) + else: + vollog.debug(msg) + + return None + + @classmethod + def get_load_parameters( + cls, + context: interfaces.context.ContextInterface, + vmlinux_name: str, + module: extensions.module, + ) -> Generator[Tuple[str, Optional[Union[str, int]]], None, None]: + """ + Recovers the load parameters of the given kernel module + Returns a tuple (key,value) for each parameter + """ + if not hasattr(module, "kp"): + vollog.debug( + "kp member missing for struct module. Cannot recover parameters." + ) + return None + + if module.num_kp > 128: + vollog.debug( + f"Smeared number of parameters ({module.num_kp}) found for module at offset {module.vol.offset:#x}" + ) + return None + + kernel = context.modules[vmlinux_name] + + int_handlers, getters = cls._get_param_handlers(context, vmlinux_name) + + # Build the array of parameters + param_array = kernel.object( + object_type="array", + offset=module.kp.dereference().vol.offset, + subtype=kernel.get_type("kernel_param"), + count=module.num_kp, + absolute=True, + ) + + for i in range(len(param_array)): + try: + param = param_array[i] + name = utility.pointer_to_string(param.name, count=32) + except exceptions.InvalidAddressException: + vollog.debug( + f"Smeared load parameter module at offset {module.vol.offset:#x}" + ) + continue + + value = cls._get_param_val( + context, vmlinux_name, int_handlers, getters, module, param + ) + + yield name, value + class ModuleGathererLsmod(ModuleGathererInterface): """ @@ -712,7 +937,7 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): requirements.VersionRequirement( name="linux_utilities_modules", component=Modules, - version=(3, 0, 0), + version=(3, 0, 1), ), requirements.VersionRequirement( name="linux-tainting", component=tainting.Tainting, version=(1, 0, 0) @@ -743,12 +968,18 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): ) ) + parameters_iter = Modules.get_load_parameters( + self.context, self.config["kernel"], module + ) + + parameters = ", ".join([f"{key}={value}" for key, value in parameters_iter]) + yield 0, ( format_hints.Hex(module.vol.offset), name, format_hints.Hex(code_size), taints, - renderers.NotAvailableValue(), # will become the load arguments after this inital conversion is merged + parameters, ) def run(self): From 741a4ea8097a2c1211425a99660eb08ab6f055a4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 19 Mar 2025 23:49:45 +0000 Subject: [PATCH 1656/2186] Hopefully final round of kallsym fixes --- .../framework/plugins/linux/kallsyms.py | 8 +++-- .../symbols/linux/extensions/__init__.py | 24 +++++++++++-- .../framework/symbols/linux/kallsyms.py | 36 ++++++++++++++----- 3 files changed, 55 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/plugins/linux/kallsyms.py b/volatility3/framework/plugins/linux/kallsyms.py index 47861d91a..54f1adc70 100644 --- a/volatility3/framework/plugins/linux/kallsyms.py +++ b/volatility3/framework/plugins/linux/kallsyms.py @@ -73,6 +73,9 @@ class Kallsyms(plugins.PluginInterface): # resulting in incorrect values. Unfortunately, there isn't much that can be done # in such cases. # See comments on .init.scratch in arch/x86/kernel/vmlinux.lds.S for details + if not kassymbol or not kassymbol.size: + return renderers.NotAvailableValue() + return kassymbol.size if kassymbol.size >= 0 else renderers.NotAvailableValue() def _generator(self): @@ -95,6 +98,7 @@ class Kallsyms(plugins.PluginInterface): include_core = include_modules = include_ftrace = include_bpf = True symbol_generators = [] + if include_core: symbol_generators.append(kas.get_core_symbols()) if include_modules: @@ -116,9 +120,9 @@ class Kallsyms(plugins.PluginInterface): symbol_size = self._get_symbol_size(kassymbol) fields = ( format_hints.Hex(kassymbol.address), - kassymbol.type, + kassymbol.type or renderers.NotAvailableValue(), symbol_size, - kassymbol.exported, + kassymbol.exported or renderers.NotAvailableValue(), kassymbol.subsystem, kassymbol.module_name, kassymbol.name, diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index ae958411a..e998b55dd 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -3053,7 +3053,7 @@ class kernel_symbol(objects.StructType): long_mask = (1 << layer.bits_per_register) - 1 return (self.vol.offset + off) & long_mask - def get_name(self) -> str: + def _do_get_name(self) -> str: if self.has_member("name_offset"): # kernel >= 4.19 and CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y # See 7290d58095712a89f845e1bca05334796dd49ed2 @@ -3073,7 +3073,13 @@ class kernel_symbol(objects.StructType): return name_bytes.decode("utf-8", errors="ignore") - def get_value(self) -> int: + def get_name(self) -> Optional[str]: + try: + return self._do_get_name() + except exceptions.InvalidAddressException: + return None + + def _do_get_value(self) -> int: if self.has_member("value_offset"): # kernel >= 4.19 and CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y # See 7290d58095712a89f845e1bca05334796dd49ed2 @@ -3084,7 +3090,13 @@ class kernel_symbol(objects.StructType): raise AttributeError("Unsupported kernel_symbol type implementation") - def get_namespace(self) -> str: + def _do_get_value(self) -> Optional[int]: + try: + return self._do_get_value() + except exceptions.InvalidAddressException: + return None + + def _do_get_namespace(self) -> str: if self.has_member("namespace_offset"): # kernel >= 4.19 and CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y # See 7290d58095712a89f845e1bca05334796dd49ed2 @@ -3103,3 +3115,9 @@ class kernel_symbol(objects.StructType): namespace_bytes = namespace_bytes[:idx] return namespace_bytes.decode("utf-8", errors="ignore") + + def get_namespace(self) -> Optional[str]: + try: + return self._do_get_namespace() + except exceptions.InvalidAddressException: + return None diff --git a/volatility3/framework/symbols/linux/kallsyms.py b/volatility3/framework/symbols/linux/kallsyms.py index 368169757..35aba3ca5 100644 --- a/volatility3/framework/symbols/linux/kallsyms.py +++ b/volatility3/framework/symbols/linux/kallsyms.py @@ -186,7 +186,10 @@ class KASSymbol(KASSymbolBasic): # If lowercase, the symbol is usually local; if uppercase, the symbol is # global (external). There are however a few lowercase symbols that are shown # for special global symbols ("u", "v" and "w"). - self.exported = bool(self.type.isupper() or self.type in ("u", "v", "w")) + if self.type: + self.exported = bool(self.type.isupper() or self.type in ("u", "v", "w")) + else: + self.exported = None @functools.cached_property def type_description(self) -> Optional[str]: @@ -200,10 +203,12 @@ class KASSymbol(KASSymbolBasic): if symbol_type_description: return symbol_type_description - # Otherwise, use the lowercase version - symbol_type_description = linux_constants.NM_TYPES_DESC.get( - self.type.lower(), None - ) + if self.type: + # Otherwise, use the lowercase version + symbol_type_description = linux_constants.NM_TYPES_DESC.get( + self.type.lower(), None + ) + return symbol_type_description @@ -767,7 +772,13 @@ class Kallsyms(interfaces.configuration.VersionableInterface): self._kas_config.stop_ksymtab, ) - return kernel_symbol is not None and kernel_symbol.get_value() == address + if kernel_symbol is not None: + if hasattr(kernel_symbol, "get_value"): + return kernel_symbol.get_value() == address + else: + return kernel_symbol.vol.offset == address + + return None def _elfsym_to_kassymbol( self, @@ -1094,7 +1105,9 @@ class Kallsyms(interfaces.configuration.VersionableInterface): name: str, other: str, ) -> int: - if name == other: + if name is None or other is None: + return None + elif name == other: return 0 elif name < other: return -1 @@ -1315,7 +1328,14 @@ class Kallsyms(interfaces.configuration.VersionableInterface): # Even when bpf_jit_kallsyms is disabled (/proc/sys/net/core/bpf_jit_kallsyms = 0), # this function will still be able to gather the symbols. - bpf_kallsyms_list = vmlinux.object_from_symbol("bpf_kallsyms") + try: + bpf_kallsyms_list = vmlinux.object_from_symbol("bpf_kallsyms") + except exceptions.SymbolError: + vollog.debug( + "`bpf_kallsyms` symbol not present in the symbol table. Cannot proceed." + ) + return None + for elem in bpf_kallsyms_list.to_list(list_type_symname, list_head_member): try: # See kernel's bpf_get_kallsym() From 508cbd3a17d4d970abfa7415a785d28ad1df4e9e Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 19 Mar 2025 23:51:29 +0000 Subject: [PATCH 1657/2186] Fix function name --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index e998b55dd..b9ce84ed1 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -3090,7 +3090,7 @@ class kernel_symbol(objects.StructType): raise AttributeError("Unsupported kernel_symbol type implementation") - def _do_get_value(self) -> Optional[int]: + def get_value(self) -> Optional[int]: try: return self._do_get_value() except exceptions.InvalidAddressException: From 548657c309591b5592e0ea28e38bd29ee1eb991c Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 20 Mar 2025 15:02:22 +0000 Subject: [PATCH 1658/2186] Change None check to remove False booleans --- volatility3/framework/plugins/linux/kallsyms.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/kallsyms.py b/volatility3/framework/plugins/linux/kallsyms.py index 54f1adc70..c8bca03f7 100644 --- a/volatility3/framework/plugins/linux/kallsyms.py +++ b/volatility3/framework/plugins/linux/kallsyms.py @@ -118,11 +118,17 @@ class Kallsyms(plugins.PluginInterface): # the last symbol, resulting in a negative size. # See comments on .init.scratch in arch/x86/kernel/vmlinux.lds.S for details symbol_size = self._get_symbol_size(kassymbol) + + if kassymbol.exported is None: + exported = renderers.NotAvailableValue() + else: + exported = kassymbol.exported + fields = ( format_hints.Hex(kassymbol.address), kassymbol.type or renderers.NotAvailableValue(), symbol_size, - kassymbol.exported or renderers.NotAvailableValue(), + exported, kassymbol.subsystem, kassymbol.module_name, kassymbol.name, From 7b9fb916722a0678b666be0f02dd59b13c769951 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 20 Mar 2025 14:23:24 -0500 Subject: [PATCH 1659/2186] Objects: create `get_raw_value()` method for Pointer This creates a `get_raw_value()` method for the `Pointer` class that allows users to access the raw (unmasked) value of a pointer. This was required in order to decode the encoded `Dpc` pointer that is part of the `_KTIMER` Windows type. Addition of this type was favored over a cast to `unsigned long` or `unsigned long long` due to the potential for future instability of this type due to compiler changes. See https://github.com/volatilityfoundation/volatility3/issues/1041 for further discussion around the conversion of `log unsigned int` to `unsigned long` in `clang`. See https://github.com/volatilityfoundation/volatility3/pull/1177#discussion_r1650049299 for the original discussion around how to access this pointer in the `Timers` plugin. --- volatility3/framework/objects/__init__.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index 39ce6f59f..9dd30db63 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -410,6 +410,19 @@ class Pointer(Integer): value = int.from_bytes(data, byteorder=endian, signed=signed) return value & mask + def get_raw_value(self) -> int: + formats = { + 4: "I", + 8: "Q", + } + length = self.vol.data_format.length + endian = self.vol.data_format.byteorder + raw_data = self._context.layers[self.vol.layer_name].read( + self.vol.offset, length + ) + struct_format = ("<" if endian == "little" else ">") + formats[length] + return struct.unpack(struct_format, raw_data)[0] + def dereference( self, layer_name: Optional[str] = None ) -> interfaces.objects.ObjectInterface: From a8ea3aae011827b174760ecfa05de42a49e33fca Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 20 Mar 2025 14:32:04 -0500 Subject: [PATCH 1660/2186] Extensions: Removes the `get_raw_dpc` method from `KTIMER` This removes the `get_raw_dpc` method from the `KTIMER` extension class. This method was inaccurate in that it actually returns the masked pointer value instead of the full 64-bit value encoded in that member, which is required in order to correctly decode the 'real' pointer. The invocation of `get_raw_dpc()` was replaced with `self.Dpc.get_raw_value()`, which was added in the previous commit. --- .../framework/symbols/windows/extensions/__init__.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 091d6ceb5..75608cfc6 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -1220,15 +1220,6 @@ class KTIMER(objects.StructType): return "Yes" return "-" - def get_raw_dpc(self): - """Returns the encoded DPC as an unsigned long long since the pointer is actually encoded""" - if symbols.symbol_table_is_64bit( - context=self._context, symbol_table_name=self.get_symbol_table_name() - ): - return self.Dpc.cast("unsigned long long") - else: - return self.Dpc.cast("unsigned long") - def valid_type(self): return self.Header.Type in self.VALID_TYPES @@ -1263,7 +1254,7 @@ class KTIMER(objects.StructType): ) low_byte = (wait_never) & 0xFF - entry = utility.rol(self.get_raw_dpc() ^ wait_never, low_byte) + entry = utility.rol(self.Dpc.get_raw_value() ^ wait_never, low_byte) swap_xor = self._context.layers[self.vol.native_layer_name].canonicalize( self.vol.offset ) From 144fd3139ae18a4aa785c5e4df3c323b24a67692 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 20 Mar 2025 14:38:19 -0500 Subject: [PATCH 1661/2186] Framework: Minor version bump Made an additive change to `Pointer` by adding the `get_raw_value()` method, so bumping the minor version here. The `get_raw_dpc()` method was removed from the `KTIMER` extension class, which is currently unversioned. --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 1ea59c068..f5da4c75b 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 24 # Number of changes that only add to the interface +VERSION_MINOR = 25 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" From 1e175b5d3bf25dbc674bc2bda800c82b737cca70 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 20 Mar 2025 15:11:37 -0500 Subject: [PATCH 1662/2186] Objects: rework new `get_raw_value()` method Per code review recommendations, splits the `_unmarshall` classmethod into two components, one of which retrieves the raw value, and the other that returns the masked pointer. The `get_raw_value` method now calls the `_get_raw_value` classmethod using its instance information. --- volatility3/framework/objects/__init__.py | 35 ++++++++++++++--------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index 9dd30db63..b863e103b 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -402,26 +402,35 @@ class Pointer(Integer): pointer should be recast. The "pointer" must always live within the space (even if the data provided is invalid). """ + mask = context.layers[object_info.native_layer_name].address_mask + new = ( + cls._get_raw_value( + context, data_format, object_info.layer_name, object_info.offset + ) + & mask + ) + return new + + @classmethod + def _get_raw_value( + cls, + context: interfaces.context.ContextInterface, + data_format: DataFormatInfo, + layer_name: str, + offset: int, + ) -> int: length, endian, signed = data_format if signed: raise ValueError("Pointers cannot have signed values") - mask = context.layers[object_info.native_layer_name].address_mask - data = context.layers.read(object_info.layer_name, object_info.offset, length) + data = context.layers.read(layer_name, offset, length) value = int.from_bytes(data, byteorder=endian, signed=signed) - return value & mask + return value def get_raw_value(self) -> int: - formats = { - 4: "I", - 8: "Q", - } - length = self.vol.data_format.length - endian = self.vol.data_format.byteorder - raw_data = self._context.layers[self.vol.layer_name].read( - self.vol.offset, length + raw = self._get_raw_value( + self._context, self.vol.data_format, self.vol.layer_name, self.vol.offset ) - struct_format = ("<" if endian == "little" else ">") + formats[length] - return struct.unpack(struct_format, raw_data)[0] + return raw def dereference( self, layer_name: Optional[str] = None From c4589a51d51d441838812f32ef1a97b9c328d8dc Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 20 Mar 2025 15:13:26 -0500 Subject: [PATCH 1663/2186] Timers: Adds debug log statement to catch-all exception --- volatility3/framework/plugins/windows/timers.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py index 1f100bf1c..07313c004 100644 --- a/volatility3/framework/plugins/windows/timers.py +++ b/volatility3/framework/plugins/windows/timers.py @@ -131,6 +131,7 @@ class Timers(interfaces.plugins.PluginInterface): ): if not timer.valid_type(): continue + try: dpc = timer.get_dpc() if dpc == 0: @@ -138,7 +139,10 @@ class Timers(interfaces.plugins.PluginInterface): if dpc.DeferredRoutine == 0: continue deferred_routine = dpc.DeferredRoutine - except Exception: + except Exception as exc: + vollog.debug( + f"Failed to get _KTIMER.Dpc: {exc.__class__.__name__} {str(exc)}" + ) continue module_symbols = list( From d097d6abeb278de346601c6ee7570aa5383bbb73 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 20 Mar 2025 15:18:08 -0500 Subject: [PATCH 1664/2186] Timers: convert general Exception to InvalidAddressException --- volatility3/framework/plugins/windows/timers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py index 07313c004..f530a4c7b 100644 --- a/volatility3/framework/plugins/windows/timers.py +++ b/volatility3/framework/plugins/windows/timers.py @@ -11,6 +11,7 @@ from volatility3.framework import ( interfaces, constants, symbols, + exceptions, ) from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints @@ -139,9 +140,9 @@ class Timers(interfaces.plugins.PluginInterface): if dpc.DeferredRoutine == 0: continue deferred_routine = dpc.DeferredRoutine - except Exception as exc: + except exceptions.InvalidAddressException as exc: vollog.debug( - f"Failed to get _KTIMER.Dpc: {exc.__class__.__name__} {str(exc)}" + f"Failed to get _KTIMER.Dpc due to {exc.__class__.__name__}" ) continue From 6763031df87d7f830117c593d9132b60b781cb4a Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Fri, 21 Mar 2025 20:28:23 +0000 Subject: [PATCH 1665/2186] Add performance event plugin to detect eBPF malware --- .../plugins/linux/tracing/perf_events.py | 138 ++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 volatility3/framework/plugins/linux/tracing/perf_events.py diff --git a/volatility3/framework/plugins/linux/tracing/perf_events.py b/volatility3/framework/plugins/linux/tracing/perf_events.py new file mode 100644 index 000000000..5d629bd21 --- /dev/null +++ b/volatility3/framework/plugins/linux/tracing/perf_events.py @@ -0,0 +1,138 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import List, Tuple, Generator, Optional + +from volatility3.framework import renderers, interfaces, constants, exceptions +from volatility3.framework.renderers import format_hints +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.objects import utility +from volatility3.plugins.linux import pslist + +vollog = logging.getLogger(__name__) + + +class PerfEvents(plugins.PluginInterface): + """Lists performance events for each process.""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.PluginRequirement( + name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + ), + ] + + @classmethod + def list_perf_events(cls, context, vmlinux_module_name: str) -> Generator[ + Tuple[ + interfaces.objects.ObjectInterface, + interfaces.objects.ObjectInterface, + Optional[str], + Optional[str], + Optional[str], + Optional[int], + ], + None, + None, + ]: + """ + Walks the `perf_event_list` of each `task_struct` and reports valid event structures found + This plugin is one of several to detect eBPF based malware + + Args: + context: + vmlinux_module_name: + + Returns: + A tuple of the task struct, performance event object, event name, program name, full name, and program address + """ + vmlinux = context.modules[vmlinux_module_name] + + if not vmlinux.has_type("perf_event") or not vmlinux.get_type( + "perf_event" + ).has_member("owner_entry"): + vollog.warning( + "This kernel does not have performance events enabled (CONFIG_PERF_EVENTS). Cannot proceed." + ) + return + + for task in pslist.PsList.list_tasks( + context, vmlinux_module_name, include_threads=True + ): + + # walk the list of perf_event entries for this process + for event in task.perf_event_list.to_list( + vmlinux.symbol_table_name + constants.BANG + "perf_event", "owner_entry" + ): + # if the names are smeared then bail + try: + event_name = utility.pointer_to_string(event.pmu.name, count=64) + try: + full_name = utility.array_to_string( + event.prog.aux.ksym.name, count=512 + ) + except AttributeError: + full_name = renderers.NotApplicableValue() + + program_name = utility.array_to_string(event.prog.aux.name) + except exceptions.InvalidAddressException: + continue + + # if the kernel has the prog member then ensure it is not 0 + if hasattr(event, "prog"): + program_address = event.prog + if program_address == 0: + continue + + program_address = format_hints.Hex(program_address) + + else: + program_address = renderers.NotAvailableValue() + + yield task, event_name, program_name, full_name, program_address + + def _generator(self): + for ( + task, + event_name, + program_name, + full_name, + program_address, + ) in self.list_perf_events(self.context, self.config["kernel"]): + task_name = utility.array_to_string(task.comm) + + yield ( + 0, + ( + task.pid, + task_name, + event_name, + program_name, + full_name, + program_address, + ), + ) + + def run(self) -> renderers.TreeGrid: + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("Event", str), + ("Short Program Name", str), + ("Full Name", str), + ("Address", format_hints.Hex), + ], + self._generator(), + ) From 55151f546d0e1ccc65c034075eaaaba324cf4734 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 22 Nov 2024 11:46:04 +0000 Subject: [PATCH 1666/2186] Initial work on adding a LayerData renderer type --- volatility3/framework/interfaces/renderers.py | 32 ++++++++++++++++--- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/interfaces/renderers.py b/volatility3/framework/interfaces/renderers.py index e26164ee7..477d743d1 100644 --- a/volatility3/framework/interfaces/renderers.py +++ b/volatility3/framework/interfaces/renderers.py @@ -9,8 +9,10 @@ renderer interface which can interact with a TreeGrid to produce suitable output. """ +from dataclasses import dataclass import datetime -from abc import abstractmethod, ABCMeta +from volatility3.framework import interfaces +from abc import ABCMeta, abstractmethod from collections import abc from typing import ( Any, @@ -20,9 +22,9 @@ from typing import ( List, NamedTuple, Optional, - TypeVar, - Type, Tuple, + Type, + TypeVar, Union, ) @@ -124,6 +126,13 @@ class Disassembly: self.offset = offset +@dataclass +class LayerData(object): + layer_name: str + offset: int + length: int + + # We don't class these off a shared base, because the BaseTypes must only # contain the types that the validator will accept (which would not include the base) @@ -136,6 +145,7 @@ BaseTypes = Union[ Type[datetime.datetime], Type[BaseAbsentValue], Type[Disassembly], + Type[LayerData], ] ColumnsType = List[Tuple[str, BaseTypes]] VisitorSignature = Callable[[TreeNode, _Type], _Type] @@ -163,7 +173,12 @@ class TreeGrid(metaclass=ABCMeta): Disassembly, ) - def __init__(self, columns: ColumnsType, generator: Generator) -> None: + def __init__( + self, + columns: ColumnsType, + generator: Generator, + context: Optional[interfaces.context.ContextInterface] = None, + ) -> None: """Constructs a TreeGrid object using a specific set of columns. The TreeGrid itself is a root element, that can have children but no values. @@ -174,6 +189,15 @@ class TreeGrid(metaclass=ABCMeta): columns: A list of column tuples made up of (name, type). generator: An iterable containing row for a tree grid, each row contains a indent level followed by the values for each column in order. """ + self._context = context + + @property + def context(self) -> Optional[interfaces.context.ContextInterface]: + """Returns the context value for the tree grid (to retrieve data items) + + This is a property to ensure the renderers don't try changing the context for any reason + """ + return self._context @staticmethod @abstractmethod From 453f52ba3e192643b8729a45e0d0bb6b4dd5d7d0 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 31 Dec 2024 23:04:58 +0000 Subject: [PATCH 1667/2186] CLI: Add in concept of CellRenderer --- volatility3/cli/text_renderer.py | 74 +++++++++++-------- volatility3/framework/interfaces/renderers.py | 58 ++++++++++++--- 2 files changed, 92 insertions(+), 40 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index b1944ae5a..6cfd10ced 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -9,10 +9,11 @@ import random import string import sys from functools import wraps -from typing import Any, Callable, Dict, List, Tuple +from typing import Any, Callable, Dict, List, Tuple, TypeVar from volatility3.cli import text_filter from volatility3.framework import exceptions, interfaces, renderers +from volatility3.framework.interfaces.renderers import BaseAbsentValue from volatility3.framework.renderers import format_hints vollog = logging.getLogger(__name__) @@ -79,8 +80,9 @@ def multitypedata_as_text(value: format_hints.MultiTypeData) -> str: return string_representation.split("\x00")[0] return hex_bytes_as_text(value) +T = TypeVar("T") -def optional(func: Callable) -> Callable: +def optional(func: Callable[[BaseAbsentValue| T], str]) -> Callable[[T], str]: @wraps(func) def wrapped(x: Any) -> str: if isinstance(x, interfaces.renderers.BaseAbsentValue): @@ -137,9 +139,41 @@ def display_disassembly(disasm: interfaces.renderers.Disassembly) -> str: return QuickTextRenderer._type_renderers[bytes](disasm.data) +class CLITypeRenderer(interfaces.renderers.TypeRendererInterface): + def __init__(self, func): + super().__init__(func = optional(func)) + + +class LayerDataRenderer(CLITypeRenderer): + """Renders a LayerData object into data/bytes""" + def __init__(self): + def render(data: interfaces.renderers.LayerData| BaseAbsentValue): + if isinstance(data, BaseAbsentValue): + # FIXME: Do something cleverer here + return "" + data = data.context.layers[data.layer_name].read(data.offset, data.length) + return " ".join(f"{b:02x}" for b in data) + + render_func = render + return super().__init__(render_func) + + class CLIRenderer(interfaces.renderers.Renderer): """Class to add specific requirements for CLI renderers.""" + _type_renderers = { + format_hints.Bin: CLITypeRenderer(lambda x: f"0b{x:b}"), + format_hints.Hex: CLITypeRenderer(lambda x: f"0x{x:x}"), + format_hints.HexBytes: CLITypeRenderer(hex_bytes_as_text), + format_hints.MultiTypeData: CLITypeRenderer(multitypedata_as_text), + interfaces.renderers.Disassembly: CLITypeRenderer(display_disassembly), + bytes: CLITypeRenderer(lambda x: " ".join(f"{b:02x}" for b in x)), + interfaces.renderers.LayerData: LayerDataRenderer(), + datetime.datetime: CLITypeRenderer(lambda x: x.strftime("%Y-%m-%d %H:%M:%S.%f %Z")), + "default": CLITypeRenderer(lambda x: f"{x}"), + } + + name = "unnamed" structured_output = False filter: text_filter.CLIFilter = None @@ -170,21 +204,11 @@ class CLIRenderer(interfaces.renderers.Renderer): class QuickTextRenderer(CLIRenderer): - _type_renderers = { - format_hints.Bin: optional(lambda x: f"0b{x:b}"), - format_hints.Hex: optional(lambda x: f"0x{x:x}"), - format_hints.HexBytes: optional(hex_bytes_as_text), - format_hints.MultiTypeData: quoted_optional(multitypedata_as_text), - interfaces.renderers.Disassembly: optional(display_disassembly), - bytes: optional(lambda x: " ".join(f"{b:02x}" for b in x)), - datetime.datetime: optional(lambda x: x.strftime("%Y-%m-%d %H:%M:%S.%f %Z")), - "default": optional(lambda x: f"{x}"), - } name = "quick" def get_render_options(self): - pass + return [] def render(self, grid: interfaces.renderers.TreeGrid) -> None: """Renders each column immediately to stdout. @@ -242,7 +266,7 @@ class NoneRenderer(CLIRenderer): name = "none" def get_render_options(self): - pass + return [] def render(self, grid: interfaces.renderers.TreeGrid) -> None: if not grid.populated: @@ -250,22 +274,12 @@ class NoneRenderer(CLIRenderer): class CSVRenderer(CLIRenderer): - _type_renderers = { - format_hints.Bin: optional(lambda x: f"0b{x:b}"), - format_hints.Hex: optional(lambda x: f"0x{x:x}"), - format_hints.HexBytes: optional(hex_bytes_as_text), - format_hints.MultiTypeData: optional(multitypedata_as_text), - interfaces.renderers.Disassembly: optional(display_disassembly), - bytes: optional(lambda x: " ".join(f"{b:02x}" for b in x)), - datetime.datetime: optional(lambda x: x.strftime("%Y-%m-%d %H:%M:%S.%f %Z")), - "default": optional(lambda x: f"{x}"), - } name = "csv" structured_output = True def get_render_options(self): - pass + return [] def render(self, grid: interfaces.renderers.TreeGrid) -> None: """Renders each row immediately to stdout. @@ -316,12 +330,10 @@ class CSVRenderer(CLIRenderer): class PrettyTextRenderer(CLIRenderer): - _type_renderers = QuickTextRenderer._type_renderers - name = "pretty" def get_render_options(self): - pass + return [] def render(self, grid: interfaces.renderers.TreeGrid) -> None: """Renders each column immediately to stdout. @@ -380,7 +392,7 @@ class PrettyTextRenderer(CLIRenderer): accumulator.append((node.path_depth, line)) return accumulator - final_output: List[Tuple[int, Dict[interfaces.renderers.Column, bytes]]] = [] + final_output: List[Tuple[int, Dict[interfaces.renderers.Column, str]]] = [] if not grid.populated: grid.populate(visitor, final_output) else: @@ -418,7 +430,7 @@ class PrettyTextRenderer(CLIRenderer): del line[column] else: line[column] = line[column] + ( - [""] * (nums_line - len(line[column])) + "" * (nums_line - len(line[column])) ) for index in range(nums_line): if index == 0: @@ -463,7 +475,7 @@ class JsonRenderer(CLIRenderer): structured_output = True def get_render_options(self) -> List[interfaces.renderers.RenderOption]: - pass + return [] def output_result(self, outfd, result): """Outputs the JSON data to a file in a particular format""" diff --git a/volatility3/framework/interfaces/renderers.py b/volatility3/framework/interfaces/renderers.py index 477d743d1..6aa0ad7aa 100644 --- a/volatility3/framework/interfaces/renderers.py +++ b/volatility3/framework/interfaces/renderers.py @@ -9,9 +9,8 @@ renderer interface which can interact with a TreeGrid to produce suitable output. """ -from dataclasses import dataclass +import dataclasses import datetime -from volatility3.framework import interfaces from abc import ABCMeta, abstractmethod from collections import abc from typing import ( @@ -27,6 +26,14 @@ from typing import ( TypeVar, Union, ) +from typing import Dict +import functools + +from volatility3.framework import interfaces + + +class BaseAbsentValue: + """Class that represents values which are not present for some reason.""" class Column(NamedTuple): @@ -36,11 +43,34 @@ class Column(NamedTuple): RenderOption = Any +T = TypeVar("T") + +class TypeRendererInterface: + type = T + + def __init__(self, func: Optional[Callable] = None, options: Optional[Dict[str, Any]] = None): + self._options = options or {} + setattr(self, "render", func) + + @property + def options(self): + return self._options + + def render(self, data: T|BaseAbsentValue) -> Any: + """Renders a specific datatype""" + return "" + + def __call__(self, data: T|BaseAbsentValue) -> Any: + """Shortcut for render""" + return self.render(data) + class Renderer(metaclass=ABCMeta): """Class that defines the interface that all output renderers must support.""" + _type_renderers: Dict[Union[Type, str], Callable] + def __init__(self, options: Optional[List[RenderOption]] = None) -> None: """Accepts an options object to configure the renderers.""" # FIXME: Once the config option objects are in place, put the _type_check in place @@ -104,10 +134,6 @@ class TreeNode(abc.Sequence, metaclass=ABCMeta): """ -class BaseAbsentValue: - """Class that represents values which are not present for some reason.""" - - class Disassembly: """A class to indicate that the bytes provided should be disassembled (based on the architecture)""" @@ -126,12 +152,24 @@ class Disassembly: self.offset = offset -@dataclass +@dataclasses.dataclass class LayerData(object): + """Layer data + + This requires the contex to be passed in, in case plugins want to use multiple contexts + and to ensure the TreeGrid interface doesn't change, since this would break all existing plugins""" + context: 'interfaces.context.ContextInterface' layer_name: str offset: int length: int + @staticmethod + def from_object(object: 'interfaces.objects.ObjectInterface', size: Optional[int] = None): + return LayerData(context = object._context, + layer_name = object.vol.layer_name, + offset = object.vol.offset, + length = size or object.vol.size) + # We don't class these off a shared base, because the BaseTypes must only # contain the types that the validator will accept (which would not include the base) @@ -164,6 +202,7 @@ class TreeGrid(metaclass=ABCMeta): and to create cycles. """ + # TODO: Figure out why this isn't just BaseTypes (which includes AbsentValues' base_types: ClassVar[Tuple] = ( int, str, @@ -171,13 +210,14 @@ class TreeGrid(metaclass=ABCMeta): bytes, datetime.datetime, Disassembly, + LayerData ) def __init__( self, columns: ColumnsType, generator: Generator, - context: Optional[interfaces.context.ContextInterface] = None, + context: Optional['interfaces.context.ContextInterface'] = None, ) -> None: """Constructs a TreeGrid object using a specific set of columns. @@ -192,7 +232,7 @@ class TreeGrid(metaclass=ABCMeta): self._context = context @property - def context(self) -> Optional[interfaces.context.ContextInterface]: + def context(self) -> Optional['interfaces.context.ContextInterface']: """Returns the context value for the tree grid (to retrieve data items) This is a property to ensure the renderers don't try changing the context for any reason From 1ecd75f6653981eae52de51ee322423a1bc5c9e0 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 9 Feb 2025 22:08:11 +0000 Subject: [PATCH 1668/2186] Core: Apply black to interfaces and the CLI --- volatility3/cli/text_renderer.py | 18 +++++----- volatility3/framework/interfaces/renderers.py | 35 ++++++++++++------- 2 files changed, 32 insertions(+), 21 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 6cfd10ced..07a8e3867 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -80,9 +80,11 @@ def multitypedata_as_text(value: format_hints.MultiTypeData) -> str: return string_representation.split("\x00")[0] return hex_bytes_as_text(value) + T = TypeVar("T") -def optional(func: Callable[[BaseAbsentValue| T], str]) -> Callable[[T], str]: + +def optional(func: Callable[[BaseAbsentValue | T], str]) -> Callable[[T], str]: @wraps(func) def wrapped(x: Any) -> str: if isinstance(x, interfaces.renderers.BaseAbsentValue): @@ -141,13 +143,14 @@ def display_disassembly(disasm: interfaces.renderers.Disassembly) -> str: class CLITypeRenderer(interfaces.renderers.TypeRendererInterface): def __init__(self, func): - super().__init__(func = optional(func)) + super().__init__(func=optional(func)) class LayerDataRenderer(CLITypeRenderer): """Renders a LayerData object into data/bytes""" + def __init__(self): - def render(data: interfaces.renderers.LayerData| BaseAbsentValue): + def render(data: interfaces.renderers.LayerData | BaseAbsentValue): if isinstance(data, BaseAbsentValue): # FIXME: Do something cleverer here return "" @@ -169,11 +172,12 @@ class CLIRenderer(interfaces.renderers.Renderer): interfaces.renderers.Disassembly: CLITypeRenderer(display_disassembly), bytes: CLITypeRenderer(lambda x: " ".join(f"{b:02x}" for b in x)), interfaces.renderers.LayerData: LayerDataRenderer(), - datetime.datetime: CLITypeRenderer(lambda x: x.strftime("%Y-%m-%d %H:%M:%S.%f %Z")), + datetime.datetime: CLITypeRenderer( + lambda x: x.strftime("%Y-%m-%d %H:%M:%S.%f %Z") + ), "default": CLITypeRenderer(lambda x: f"{x}"), } - name = "unnamed" structured_output = False filter: text_filter.CLIFilter = None @@ -429,9 +433,7 @@ class PrettyTextRenderer(CLIRenderer): if column in ignore_columns: del line[column] else: - line[column] = line[column] + ( - "" * (nums_line - len(line[column])) - ) + line[column] = line[column] + ("" * (nums_line - len(line[column]))) for index in range(nums_line): if index == 0: outfd.write( diff --git a/volatility3/framework/interfaces/renderers.py b/volatility3/framework/interfaces/renderers.py index 6aa0ad7aa..ec552cf62 100644 --- a/volatility3/framework/interfaces/renderers.py +++ b/volatility3/framework/interfaces/renderers.py @@ -45,10 +45,13 @@ RenderOption = Any T = TypeVar("T") + class TypeRendererInterface: type = T - def __init__(self, func: Optional[Callable] = None, options: Optional[Dict[str, Any]] = None): + def __init__( + self, func: Optional[Callable] = None, options: Optional[Dict[str, Any]] = None + ): self._options = options or {} setattr(self, "render", func) @@ -56,11 +59,11 @@ class TypeRendererInterface: def options(self): return self._options - def render(self, data: T|BaseAbsentValue) -> Any: + def render(self, data: T | BaseAbsentValue) -> Any: """Renders a specific datatype""" return "" - def __call__(self, data: T|BaseAbsentValue) -> Any: + def __call__(self, data: T | BaseAbsentValue) -> Any: """Shortcut for render""" return self.render(data) @@ -157,18 +160,24 @@ class LayerData(object): """Layer data This requires the contex to be passed in, in case plugins want to use multiple contexts - and to ensure the TreeGrid interface doesn't change, since this would break all existing plugins""" - context: 'interfaces.context.ContextInterface' + and to ensure the TreeGrid interface doesn't change, since this would break all existing plugins + """ + + context: "interfaces.context.ContextInterface" layer_name: str offset: int length: int @staticmethod - def from_object(object: 'interfaces.objects.ObjectInterface', size: Optional[int] = None): - return LayerData(context = object._context, - layer_name = object.vol.layer_name, - offset = object.vol.offset, - length = size or object.vol.size) + def from_object( + object: "interfaces.objects.ObjectInterface", size: Optional[int] = None + ): + return LayerData( + context=object._context, + layer_name=object.vol.layer_name, + offset=object.vol.offset, + length=size or object.vol.size, + ) # We don't class these off a shared base, because the BaseTypes must only @@ -210,14 +219,14 @@ class TreeGrid(metaclass=ABCMeta): bytes, datetime.datetime, Disassembly, - LayerData + LayerData, ) def __init__( self, columns: ColumnsType, generator: Generator, - context: Optional['interfaces.context.ContextInterface'] = None, + context: Optional["interfaces.context.ContextInterface"] = None, ) -> None: """Constructs a TreeGrid object using a specific set of columns. @@ -232,7 +241,7 @@ class TreeGrid(metaclass=ABCMeta): self._context = context @property - def context(self) -> Optional['interfaces.context.ContextInterface']: + def context(self) -> Optional["interfaces.context.ContextInterface"]: """Returns the context value for the tree grid (to retrieve data items) This is a property to ensure the renderers don't try changing the context for any reason From 4fd501d38fe1cadae269edcb1edd503290923103 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 9 Feb 2025 22:12:14 +0000 Subject: [PATCH 1669/2186] Core: Resolve ruff errors --- volatility3/framework/interfaces/renderers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/interfaces/renderers.py b/volatility3/framework/interfaces/renderers.py index ec552cf62..1fe61f88f 100644 --- a/volatility3/framework/interfaces/renderers.py +++ b/volatility3/framework/interfaces/renderers.py @@ -27,7 +27,6 @@ from typing import ( Union, ) from typing import Dict -import functools from volatility3.framework import interfaces @@ -156,7 +155,7 @@ class Disassembly: @dataclasses.dataclass -class LayerData(object): +class LayerData: """Layer data This requires the contex to be passed in, in case plugins want to use multiple contexts From 16d1b2697c7e2bc220028337d3e8b3350773f5b9 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 9 Feb 2025 22:16:40 +0000 Subject: [PATCH 1670/2186] Core: Fix typing for python < 3.10 --- volatility3/framework/interfaces/renderers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/interfaces/renderers.py b/volatility3/framework/interfaces/renderers.py index 1fe61f88f..f6cac1859 100644 --- a/volatility3/framework/interfaces/renderers.py +++ b/volatility3/framework/interfaces/renderers.py @@ -58,11 +58,11 @@ class TypeRendererInterface: def options(self): return self._options - def render(self, data: T | BaseAbsentValue) -> Any: + def render(self, data: Union[T,BaseAbsentValue] -> Any: """Renders a specific datatype""" return "" - def __call__(self, data: T | BaseAbsentValue) -> Any: + def __call__(self, data: Union[T, BaseAbsentValue]) -> Any: """Shortcut for render""" return self.render(data) From 45ee399623814b7737962bebc7ea89f1546fa1dd Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 9 Feb 2025 22:18:25 +0000 Subject: [PATCH 1671/2186] Core: Fix up yet another typo --- volatility3/framework/interfaces/renderers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/renderers.py b/volatility3/framework/interfaces/renderers.py index f6cac1859..e3fc02573 100644 --- a/volatility3/framework/interfaces/renderers.py +++ b/volatility3/framework/interfaces/renderers.py @@ -58,7 +58,7 @@ class TypeRendererInterface: def options(self): return self._options - def render(self, data: Union[T,BaseAbsentValue] -> Any: + def render(self, data: Union[T,BaseAbsentValue]) -> Any: """Renders a specific datatype""" return "" From d3a5883130f78fa7467ac24cfde49fbfc27acff4 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 9 Feb 2025 22:24:33 +0000 Subject: [PATCH 1672/2186] Core: Fix up more bad typing operators --- volatility3/cli/text_renderer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 07a8e3867..a13c64d0d 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -9,7 +9,7 @@ import random import string import sys from functools import wraps -from typing import Any, Callable, Dict, List, Tuple, TypeVar +from typing import Any, Callable, Dict, List, Tuple, TypeVar, Union from volatility3.cli import text_filter from volatility3.framework import exceptions, interfaces, renderers @@ -84,7 +84,7 @@ def multitypedata_as_text(value: format_hints.MultiTypeData) -> str: T = TypeVar("T") -def optional(func: Callable[[BaseAbsentValue | T], str]) -> Callable[[T], str]: +def optional(func: Callable[[Union[BaseAbsentValue, T]], str]) -> Callable[[T], str]: @wraps(func) def wrapped(x: Any) -> str: if isinstance(x, interfaces.renderers.BaseAbsentValue): @@ -150,7 +150,7 @@ class LayerDataRenderer(CLITypeRenderer): """Renders a LayerData object into data/bytes""" def __init__(self): - def render(data: interfaces.renderers.LayerData | BaseAbsentValue): + def render(data: Union[interfaces.renderers.LayerData, BaseAbsentValue]): if isinstance(data, BaseAbsentValue): # FIXME: Do something cleverer here return "" From ba82067dac96ebf3845e37addf3d0d71f0a84462 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 15 Feb 2025 20:29:59 +0000 Subject: [PATCH 1673/2186] CLI: Add in initial LayerData renderer --- volatility3/cli/text_renderer.py | 61 ++++++++++++++++++++++++++++++-- 1 file changed, 59 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index a13c64d0d..a0b45e353 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -1,3 +1,5 @@ +from volatility3.framework.interfaces.layers import TranslationLayerInterface + # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # @@ -150,12 +152,67 @@ class LayerDataRenderer(CLITypeRenderer): """Renders a LayerData object into data/bytes""" def __init__(self): + self.context_byte_len = 0 + self.width = 16 + self.display_offset = False + self.display_hex = True + self.display_ascii = True + def render(data: Union[interfaces.renderers.LayerData, BaseAbsentValue]): if isinstance(data, BaseAbsentValue): # FIXME: Do something cleverer here return "" - data = data.context.layers[data.layer_name].read(data.offset, data.length) - return " ".join(f"{b:02x}" for b in data) + + layer = data.context.layers[data.layer_name] + # Map of the holes + error_bytes = set() + start_offset = data.offset - self.context_byte_len + end_offset = data.offset + data.length + self.context_byte_len + if isinstance(layer, interfaces.layers.TranslationLayerInterface): + error_bytes = set() + mapping = iter(layer.mapping(start_offset, end_offset, True)) + current_map = next(mapping) + for i in range(start_offset, end_offset): + # Run through the bytes, check if they're present + offset, sublength, _, _, _ = current_map + if i < offset: + error_bytes.add(i - start_offset) + if i > offset + sublength: + try: + current_map = next(mapping) + except StopIteration: + pass + offset, sublength, _, _, _ = current_map + if i > offset + sublength: + error_bytes.add(i - start_offset) + + # Padded data + specific_data = data.context.layers[data.layer_name].read( + start_offset, + end_offset - start_offset, + True, + ) + + printables = "" + output = "\n" + for count, byte in enumerate(specific_data): + output += f"{byte:02x} " + char = chr(byte) + printables += char if 0x20 <= byte <= 0x7E else "." + if count % self.width == self.width - 1: + output += printables + if count < len(specific_data) - 1: + output += "\n" + printables = "" + + # Handle leftovers when the length is not mutiple of width + if printables: + padding = self.width - len(printables) + output += " " * padding + output += printables + output += " " * padding + + return output render_func = render return super().__init__(render_func) From 1d5d981be180d2bdb19c643180d697e95a7a8385 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 15 Feb 2025 21:19:59 +0000 Subject: [PATCH 1674/2186] Windows: Convert malfind to LayerData renderer --- .../framework/plugins/windows/malfind.py | 43 ++++++++++++++++--- 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 33a20ee51..34ef9fb34 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import Iterable, Tuple +from typing import Iterable, Generator, Tuple from volatility3.framework import interfaces, symbols, exceptions from volatility3.framework import renderers @@ -88,6 +88,25 @@ class Malfind(interfaces.plugins.PluginInterface): symbol_table: str, proc: interfaces.objects.ObjectInterface, ) -> Iterable[Tuple[interfaces.objects.ObjectInterface, bytes]]: + for vad, data_object in cls.list_injection_sites( + context, kernel_layer_name, symbol_table, proc + ): + yield vad, data_object.context.layers[data_object.layer_name].read( + data_object.offset, data_object.length + ) + + @classmethod + def list_injection_sites( + cls, + context: interfaces.context.ContextInterface, + kernel_layer_name: str, + symbol_table: str, + proc: interfaces.objects.ObjectInterface, + ) -> Generator[ + Tuple[interfaces.objects.ObjectInterface, interfaces.renderers.LayerData], + None, + None, + ]: """Generate memory regions for a process that may contain injected code. @@ -156,8 +175,15 @@ class Malfind(interfaces.plugins.PluginInterface): vollog.warning( f"[proc_id {proc_id}] Found suspicious DIRTY + {protection_string} page at {hex(dirty_page)}", ) - data = proc_layer.read(vad.get_start(), 64, pad=True) - yield vad, data + start = vad.get_start() + length = 64 + data = interfaces.renderers.LayerData( + context=context, + layer_name=proc_layer_name, + offset=start, + length=length, + ) + yield (vad, data) def _generator(self, procs): # determine if we're on a 32 or 64 bit kernel @@ -166,7 +192,7 @@ class Malfind(interfaces.plugins.PluginInterface): # set refined criteria to know when to add to "Notes" column refined_criteria = { b"MZ": "MZ header", - b"\x55\x8B": "PE header", + b"\x55\x8b": "PE header", b"\x55\x48": "Function prologue", b"\x55\x89": "Function prologue", } @@ -179,11 +205,14 @@ class Malfind(interfaces.plugins.PluginInterface): # by default, "Notes" column will be set to N/A process_name = utility.array_to_string(proc.ImageFileName) - for vad, data in self.list_injections( + for vad, data_object in self.list_injection_sites( self.context, kernel.layer_name, kernel.symbol_table_name, proc ): notes = renderers.NotApplicableValue() # Check for unique headers and update "Notes" column if criteria is met + data = data_object.context.layers[data_object.layer_name].read( + data_object.offset, data_object.length, True + ) if data[0:2] in refined_criteria: notes = refined_criteria[data[0:2]] @@ -231,7 +260,7 @@ class Malfind(interfaces.plugins.PluginInterface): vad.get_private_memory(), file_output, notes, - format_hints.HexBytes(data), + data_object, disasm, ), ) @@ -251,7 +280,7 @@ class Malfind(interfaces.plugins.PluginInterface): ("PrivateMemory", int), ("File output", str), ("Notes", str), - ("Hexdump", format_hints.HexBytes), + ("Hexdump", interfaces.renderers.LayerData), ("Disasm", interfaces.renderers.Disassembly), ], self._generator( From 2304ea4cbe340fa9829e9eb6c034b0e1c359cf59 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 15 Feb 2025 21:44:55 +0000 Subject: [PATCH 1675/2186] Windows: Convert mftscan plugins to LayerData output --- volatility3/framework/plugins/windows/mftscan.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 2c5827a25..c6e6b8703 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -223,7 +223,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): content = attr.get_resident_filecontent() if content: - content = format_hints.HexBytes(content) + content = interfaces.renderers.LayerData.from_object(content) else: content = renderers.NotAvailableValue() @@ -387,7 +387,7 @@ class ADS(interfaces.plugins.PluginInterface): ("MFT Type", str), ("Filename", str), ("ADS Filename", str), - ("Hexdump", format_hints.HexBytes), + ("Hexdump", interfaces.renderers.LayerData), ], self._generator(), ) @@ -453,7 +453,7 @@ class ResidentData(interfaces.plugins.PluginInterface): ("Record Number", int), ("MFT Type", str), ("Filename", str), - ("Hexdump", format_hints.HexBytes), + ("Hexdump", interfaces.renderers.LayerData), ], self._generator(), ) From 2e8d18e7cb7621821e724515ed23bf3c8320234d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 15 Feb 2025 21:51:14 +0000 Subject: [PATCH 1676/2186] Windows: Convert mbrscan over to LayerData output --- volatility3/framework/plugins/windows/mbrscan.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/mbrscan.py b/volatility3/framework/plugins/windows/mbrscan.py index 4d5198181..b279307d7 100644 --- a/volatility3/framework/plugins/windows/mbrscan.py +++ b/volatility3/framework/plugins/windows/mbrscan.py @@ -149,7 +149,12 @@ class MBRScan(interfaces.plugins.PluginInterface): interfaces.renderers.Disassembly( bootcode, 0, architecture ), - format_hints.HexBytes(bootcode), + interfaces.renderers.LayerData( + context=self.context, + layer_name=layer.name, + offset=mbr_start_offset, + length=bootcode_length, + ), ), ) @@ -257,7 +262,7 @@ class MBRScan(interfaces.plugins.PluginInterface): ("EndingSector", int), ("SectorInSize", format_hints.Hex), ("Disasm", interfaces.renderers.Disassembly), - ("Bootcode", format_hints.HexBytes), + ("Bootcode", interfaces.renderers.LayerData), ], self._generator(), ) From e936b33784138e4f0916b61ea1edc555d2fd5f39 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 15 Feb 2025 21:52:15 +0000 Subject: [PATCH 1677/2186] CLI: Fix ruff check error --- volatility3/cli/text_renderer.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index a0b45e353..99bb9fe73 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -1,5 +1,3 @@ -from volatility3.framework.interfaces.layers import TranslationLayerInterface - # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # From 4145ef2c0d6e5760593a113054d5793c7798b614 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 15 Feb 2025 22:10:09 +0000 Subject: [PATCH 1678/2186] Renderers: Add no_surrounding to LayerData and include MINOR version bump --- volatility3/cli/text_renderer.py | 6 ++++-- volatility3/framework/constants/_version.py | 2 +- volatility3/framework/interfaces/renderers.py | 8 ++++++-- volatility3/framework/plugins/windows/malfind.py | 1 + volatility3/framework/plugins/windows/mbrscan.py | 1 + 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 99bb9fe73..7b78f4dda 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -161,11 +161,13 @@ class LayerDataRenderer(CLITypeRenderer): # FIXME: Do something cleverer here return "" + context_byte_len = self.context_byte_len if not data.no_context else 0 + layer = data.context.layers[data.layer_name] # Map of the holes error_bytes = set() - start_offset = data.offset - self.context_byte_len - end_offset = data.offset + data.length + self.context_byte_len + start_offset = data.offset - context_byte_len + end_offset = data.offset + data.length + context_byte_len if isinstance(layer, interfaces.layers.TranslationLayerInterface): error_bytes = set() mapping = iter(layer.mapping(start_offset, end_offset, True)) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index f5da4c75b..64707b782 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,6 +1,6 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 25 # Number of changes that only add to the interface +VERSION_MINOR = 26 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" diff --git a/volatility3/framework/interfaces/renderers.py b/volatility3/framework/interfaces/renderers.py index e3fc02573..1034a211b 100644 --- a/volatility3/framework/interfaces/renderers.py +++ b/volatility3/framework/interfaces/renderers.py @@ -58,7 +58,7 @@ class TypeRendererInterface: def options(self): return self._options - def render(self, data: Union[T,BaseAbsentValue]) -> Any: + def render(self, data: Union[T, BaseAbsentValue]) -> Any: """Renders a specific datatype""" return "" @@ -166,16 +166,20 @@ class LayerData: layer_name: str offset: int length: int + no_surrounding: bool = False @staticmethod def from_object( - object: "interfaces.objects.ObjectInterface", size: Optional[int] = None + object: "interfaces.objects.ObjectInterface", + size: Optional[int] = None, + no_surrounding: bool = True, ): return LayerData( context=object._context, layer_name=object.vol.layer_name, offset=object.vol.offset, length=size or object.vol.size, + no_surrounding=no_surrounding, ) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 34ef9fb34..57ecbb062 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -182,6 +182,7 @@ class Malfind(interfaces.plugins.PluginInterface): layer_name=proc_layer_name, offset=start, length=length, + no_surrounding=True, ) yield (vad, data) diff --git a/volatility3/framework/plugins/windows/mbrscan.py b/volatility3/framework/plugins/windows/mbrscan.py index b279307d7..64cbdfc9d 100644 --- a/volatility3/framework/plugins/windows/mbrscan.py +++ b/volatility3/framework/plugins/windows/mbrscan.py @@ -154,6 +154,7 @@ class MBRScan(interfaces.plugins.PluginInterface): layer_name=layer.name, offset=mbr_start_offset, length=bootcode_length, + no_surrounding=True, ), ), ) From 85870a9a9427bd0cc6fdce598e6a47530612f235 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 15 Feb 2025 22:14:22 +0000 Subject: [PATCH 1679/2186] Windows: Update the required framework version for plugins outputting LayerData --- volatility3/framework/plugins/windows/malfind.py | 2 +- volatility3/framework/plugins/windows/mbrscan.py | 2 +- volatility3/framework/plugins/windows/mftscan.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 57ecbb062..b04c21f52 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -17,7 +17,7 @@ vollog = logging.getLogger(__name__) class Malfind(interfaces.plugins.PluginInterface): """Lists process memory ranges that potentially contain injected code.""" - _required_framework_version = (2, 4, 0) + _required_framework_version = (2, 22, 0) @classmethod def get_requirements(cls): diff --git a/volatility3/framework/plugins/windows/mbrscan.py b/volatility3/framework/plugins/windows/mbrscan.py index 64cbdfc9d..c0db350fe 100644 --- a/volatility3/framework/plugins/windows/mbrscan.py +++ b/volatility3/framework/plugins/windows/mbrscan.py @@ -20,7 +20,7 @@ vollog = logging.getLogger(__name__) class MBRScan(interfaces.plugins.PluginInterface): """Scans for and parses potential Master Boot Records (MBRs)""" - _required_framework_version = (2, 0, 1) + _required_framework_version = (2, 22, 0) _version = (1, 0, 0) @classmethod diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index c6e6b8703..6f07effd6 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -326,7 +326,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): class ADS(interfaces.plugins.PluginInterface): """Scans for Alternate Data Stream""" - _required_framework_version = (2, 7, 0) + _required_framework_version = (2, 22, 0) _version = (1, 0, 1) @@ -396,7 +396,7 @@ class ADS(interfaces.plugins.PluginInterface): class ResidentData(interfaces.plugins.PluginInterface): """Scans for MFT Records with Resident Data""" - _required_framework_version = (2, 7, 0) + _required_framework_version = (2, 22, 0) _version = (1, 0, 1) From 94d6f4f1313a57a539844b7b9f85f3633dfd09e3 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 15 Feb 2025 22:27:10 +0000 Subject: [PATCH 1680/2186] CLI: Indicate missing bytes from padded bytes --- volatility3/cli/text_renderer.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 7b78f4dda..21816f866 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -196,9 +196,13 @@ class LayerDataRenderer(CLITypeRenderer): printables = "" output = "\n" for count, byte in enumerate(specific_data): - output += f"{byte:02x} " - char = chr(byte) - printables += char if 0x20 <= byte <= 0x7E else "." + if count not in error_bytes: + output += f"{byte:02x} " + char = chr(byte) + printables += char if 0x20 <= byte <= 0x7E else "." + else: + output += "__ " + printables += "." if count % self.width == self.width - 1: output += printables if count < len(specific_data) - 1: From 6af8cd09f07f5bf4331885f482ffacde3470a72c Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 16 Feb 2025 16:12:14 +0000 Subject: [PATCH 1681/2186] Renderers: Add in fallback method for formatting cellrenderers --- volatility3/framework/interfaces/renderers.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/volatility3/framework/interfaces/renderers.py b/volatility3/framework/interfaces/renderers.py index 1034a211b..618364bdf 100644 --- a/volatility3/framework/interfaces/renderers.py +++ b/volatility3/framework/interfaces/renderers.py @@ -153,6 +153,10 @@ class Disassembly: raise TypeError("Offset must be an integer type") self.offset = offset + def __str__(self) -> str: + """Fallback method of rendering""" + return str(self.data) + @dataclasses.dataclass class LayerData: @@ -182,6 +186,11 @@ class LayerData: no_surrounding=no_surrounding, ) + def __str__(self) -> str: + """Fallback method of rendering""" + data = self.context.layers[self.layer_name].read(self.offset, self.length, True) + return str(data) + # We don't class these off a shared base, because the BaseTypes must only # contain the types that the validator will accept (which would not include the base) From c18c6cbf3038454f9a67fe243af23702cfa28d49 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 16 Feb 2025 16:39:53 +0000 Subject: [PATCH 1682/2186] Core: Shift renderers from interfaces --- volatility3/cli/text_renderer.py | 12 +-- volatility3/framework/interfaces/renderers.py | 65 +++++----------- .../framework/plugins/linux/malfind.py | 8 +- volatility3/framework/plugins/mac/malfind.py | 6 +- .../framework/plugins/windows/malfind.py | 12 ++- .../framework/plugins/windows/mbrscan.py | 18 ++--- .../framework/plugins/windows/mftscan.py | 6 +- volatility3/framework/renderers/__init__.py | 77 +++++++++++++++++++ 8 files changed, 121 insertions(+), 83 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 21816f866..1d39e3fa6 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -114,7 +114,7 @@ def quoted_optional(func: Callable) -> Callable: return wrapped -def display_disassembly(disasm: interfaces.renderers.Disassembly) -> str: +def display_disassembly(disasm: renderers.Disassembly) -> str: """Renders a disassembly renderer type into string format. Args: @@ -156,12 +156,12 @@ class LayerDataRenderer(CLITypeRenderer): self.display_hex = True self.display_ascii = True - def render(data: Union[interfaces.renderers.LayerData, BaseAbsentValue]): + def render(data: Union[renderers.LayerData, BaseAbsentValue]): if isinstance(data, BaseAbsentValue): # FIXME: Do something cleverer here return "" - context_byte_len = self.context_byte_len if not data.no_context else 0 + context_byte_len = self.context_byte_len if not data.no_surrounding else 0 layer = data.context.layers[data.layer_name] # Map of the holes @@ -230,9 +230,9 @@ class CLIRenderer(interfaces.renderers.Renderer): format_hints.Hex: CLITypeRenderer(lambda x: f"0x{x:x}"), format_hints.HexBytes: CLITypeRenderer(hex_bytes_as_text), format_hints.MultiTypeData: CLITypeRenderer(multitypedata_as_text), - interfaces.renderers.Disassembly: CLITypeRenderer(display_disassembly), + renderers.Disassembly: CLITypeRenderer(display_disassembly), bytes: CLITypeRenderer(lambda x: " ".join(f"{b:02x}" for b in x)), - interfaces.renderers.LayerData: LayerDataRenderer(), + renderers.LayerData: LayerDataRenderer(), datetime.datetime: CLITypeRenderer( lambda x: x.strftime("%Y-%m-%d %H:%M:%S.%f %Z") ), @@ -523,7 +523,7 @@ class PrettyTextRenderer(CLIRenderer): class JsonRenderer(CLIRenderer): _type_renderers = { format_hints.HexBytes: quoted_optional(hex_bytes_as_text), - interfaces.renderers.Disassembly: quoted_optional(display_disassembly), + renderers.Disassembly: quoted_optional(display_disassembly), format_hints.MultiTypeData: quoted_optional(multitypedata_as_text), bytes: optional(lambda x: " ".join(f"{b:02x}" for b in x)), datetime.datetime: lambda x: ( diff --git a/volatility3/framework/interfaces/renderers.py b/volatility3/framework/interfaces/renderers.py index 618364bdf..b4c93cb3e 100644 --- a/volatility3/framework/interfaces/renderers.py +++ b/volatility3/framework/interfaces/renderers.py @@ -9,8 +9,8 @@ renderer interface which can interact with a TreeGrid to produce suitable output. """ -import dataclasses import datetime +import warnings from abc import ABCMeta, abstractmethod from collections import abc from typing import ( @@ -31,9 +31,19 @@ from typing import Dict from volatility3.framework import interfaces +class BasicType: + def __str__(self) -> str: + """Fallback method for rendering basic types""" + return str(self) + + class BaseAbsentValue: """Class that represents values which are not present for some reason.""" + def __str__(self) -> str: + """Fallback method for rendering basic types""" + return "-" + class Column(NamedTuple): name: str @@ -136,7 +146,7 @@ class TreeNode(abc.Sequence, metaclass=ABCMeta): """ -class Disassembly: +class Disassembly(BasicType): """A class to indicate that the bytes provided should be disassembled (based on the architecture)""" @@ -145,6 +155,10 @@ class Disassembly: def __init__( self, data: bytes, offset: int = 0, architecture: str = "intel64" ) -> None: + warnings.warn( + f"interfaces.renderers.Disassembly is now renderers.Disassembly", + FutureWarning, + ) self.data = data self.architecture = None if architecture in self.possible_architectures: @@ -158,40 +172,6 @@ class Disassembly: return str(self.data) -@dataclasses.dataclass -class LayerData: - """Layer data - - This requires the contex to be passed in, in case plugins want to use multiple contexts - and to ensure the TreeGrid interface doesn't change, since this would break all existing plugins - """ - - context: "interfaces.context.ContextInterface" - layer_name: str - offset: int - length: int - no_surrounding: bool = False - - @staticmethod - def from_object( - object: "interfaces.objects.ObjectInterface", - size: Optional[int] = None, - no_surrounding: bool = True, - ): - return LayerData( - context=object._context, - layer_name=object.vol.layer_name, - offset=object.vol.offset, - length=size or object.vol.size, - no_surrounding=no_surrounding, - ) - - def __str__(self) -> str: - """Fallback method of rendering""" - data = self.context.layers[self.layer_name].read(self.offset, self.length, True) - return str(data) - - # We don't class these off a shared base, because the BaseTypes must only # contain the types that the validator will accept (which would not include the base) @@ -203,8 +183,7 @@ BaseTypes = Union[ Type[bytes], Type[datetime.datetime], Type[BaseAbsentValue], - Type[Disassembly], - Type[LayerData], + Type[BasicType], ] ColumnsType = List[Tuple[str, BaseTypes]] VisitorSignature = Callable[[TreeNode, _Type], _Type] @@ -224,15 +203,7 @@ class TreeGrid(metaclass=ABCMeta): """ # TODO: Figure out why this isn't just BaseTypes (which includes AbsentValues' - base_types: ClassVar[Tuple] = ( - int, - str, - float, - bytes, - datetime.datetime, - Disassembly, - LayerData, - ) + base_types: ClassVar[Tuple] = (int, str, float, bytes, datetime.datetime, BasicType) def __init__( self, diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 8bbf3b89c..663f83bd5 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -18,7 +18,7 @@ class Malfind(interfaces.plugins.PluginInterface): """Lists process memory ranges that potentially contain injected code.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 2) + _version = (1, 0, 3) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -76,9 +76,7 @@ class Malfind(interfaces.plugins.PluginInterface): else: architecture = "intel64" - disasm = interfaces.renderers.Disassembly( - data, vma.vm_start, architecture - ) + disasm = renderers.Disassembly(data, vma.vm_start, architecture) yield ( 0, @@ -106,7 +104,7 @@ class Malfind(interfaces.plugins.PluginInterface): ("Path", str), ("Protection", str), ("Hexdump", format_hints.HexBytes), - ("Disasm", interfaces.renderers.Disassembly), + ("Disasm", renderers.Disassembly), ], self._generator( pslist.PsList.list_tasks( diff --git a/volatility3/framework/plugins/mac/malfind.py b/volatility3/framework/plugins/mac/malfind.py index 3094ada85..f1c3cc409 100644 --- a/volatility3/framework/plugins/mac/malfind.py +++ b/volatility3/framework/plugins/mac/malfind.py @@ -68,9 +68,7 @@ class Malfind(interfaces.plugins.PluginInterface): else: architecture = "intel64" - disasm = interfaces.renderers.Disassembly( - data, vma.links.start, architecture - ) + disasm = renderers.Disassembly(data, vma.links.start, architecture) yield ( 0, @@ -99,7 +97,7 @@ class Malfind(interfaces.plugins.PluginInterface): ("End", format_hints.Hex), ("Protection", str), ("Hexdump", format_hints.HexBytes), - ("Disasm", interfaces.renderers.Disassembly), + ("Disasm", renderers.Disassembly), ], self._generator( list_tasks(self.context, self.config["kernel"], filter_func=filter_func) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index b04c21f52..a91492049 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -103,7 +103,7 @@ class Malfind(interfaces.plugins.PluginInterface): symbol_table: str, proc: interfaces.objects.ObjectInterface, ) -> Generator[ - Tuple[interfaces.objects.ObjectInterface, interfaces.renderers.LayerData], + Tuple[interfaces.objects.ObjectInterface, renderers.LayerData], None, None, ]: @@ -177,7 +177,7 @@ class Malfind(interfaces.plugins.PluginInterface): ) start = vad.get_start() length = 64 - data = interfaces.renderers.LayerData( + data = renderers.LayerData( context=context, layer_name=proc_layer_name, offset=start, @@ -223,9 +223,7 @@ class Malfind(interfaces.plugins.PluginInterface): else: architecture = "intel64" - disasm = interfaces.renderers.Disassembly( - data, vad.get_start(), architecture - ) + disasm = renderers.Disassembly(data, vad.get_start(), architecture) file_output = "Disabled" if self.config["dump"]: @@ -281,8 +279,8 @@ class Malfind(interfaces.plugins.PluginInterface): ("PrivateMemory", int), ("File output", str), ("Notes", str), - ("Hexdump", interfaces.renderers.LayerData), - ("Disasm", interfaces.renderers.Disassembly), + ("Hexdump", renderers.LayerData), + ("Disasm", renderers.Disassembly), ], self._generator( pslist.PsList.list_processes( diff --git a/volatility3/framework/plugins/windows/mbrscan.py b/volatility3/framework/plugins/windows/mbrscan.py index c0db350fe..aac3001c5 100644 --- a/volatility3/framework/plugins/windows/mbrscan.py +++ b/volatility3/framework/plugins/windows/mbrscan.py @@ -74,7 +74,7 @@ class MBRScan(interfaces.plugins.PluginInterface): partition_table_object = symbol_table + constants.BANG + "PARTITION_TABLE" # Define Signature and Data Length - mbr_signature = b"\x55\xAA" + mbr_signature = b"\x55\xaa" mbr_length = 0x200 bootcode_length = 0x1B8 @@ -120,9 +120,7 @@ class MBRScan(interfaces.plugins.PluginInterface): renderers.NotApplicableValue(), renderers.NotApplicableValue(), renderers.NotApplicableValue(), - interfaces.renderers.Disassembly( - bootcode, 0, architecture - ), + renderers.Disassembly(bootcode, 0, architecture), ), ) else: @@ -146,10 +144,8 @@ class MBRScan(interfaces.plugins.PluginInterface): renderers.NotApplicableValue(), renderers.NotApplicableValue(), renderers.NotApplicableValue(), - interfaces.renderers.Disassembly( - bootcode, 0, architecture - ), - interfaces.renderers.LayerData( + renderers.Disassembly(bootcode, 0, architecture), + renderers.LayerData( context=self.context, layer_name=layer.name, offset=mbr_start_offset, @@ -238,7 +234,7 @@ class MBRScan(interfaces.plugins.PluginInterface): ("Bootable", bool), ("PartitionType", str), ("SectorInSize", format_hints.Hex), - ("Disasm", interfaces.renderers.Disassembly), + ("Disasm", renderers.Disassembly), ], self._generator(), ) @@ -262,8 +258,8 @@ class MBRScan(interfaces.plugins.PluginInterface): ("EndingCHS", int), ("EndingSector", int), ("SectorInSize", format_hints.Hex), - ("Disasm", interfaces.renderers.Disassembly), - ("Bootcode", interfaces.renderers.LayerData), + ("Disasm", renderers.Disassembly), + ("Bootcode", renderers.LayerData), ], self._generator(), ) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 6f07effd6..8ba110169 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -223,7 +223,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): content = attr.get_resident_filecontent() if content: - content = interfaces.renderers.LayerData.from_object(content) + content = renderers.LayerData.from_object(content) else: content = renderers.NotAvailableValue() @@ -387,7 +387,7 @@ class ADS(interfaces.plugins.PluginInterface): ("MFT Type", str), ("Filename", str), ("ADS Filename", str), - ("Hexdump", interfaces.renderers.LayerData), + ("Hexdump", renderers.LayerData), ], self._generator(), ) @@ -453,7 +453,7 @@ class ResidentData(interfaces.plugins.PluginInterface): ("Record Number", int), ("MFT Type", str), ("Filename", str), - ("Hexdump", interfaces.renderers.LayerData), + ("Hexdump", renderers.LayerData), ], self._generator(), ) diff --git a/volatility3/framework/renderers/__init__.py b/volatility3/framework/renderers/__init__.py index 093edf8cc..4f1de586a 100644 --- a/volatility3/framework/renderers/__init__.py +++ b/volatility3/framework/renderers/__init__.py @@ -8,6 +8,7 @@ or file or graphical output """ import collections import collections.abc +import dataclasses import datetime import logging from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, TypeVar, Union @@ -22,16 +23,28 @@ class UnreadableValue(interfaces.renderers.BaseAbsentValue): """Class that represents values which are empty because the data cannot be read.""" + def __str__(self) -> str: + """Fallback method for rendering basic types""" + return "-" + class UnparsableValue(interfaces.renderers.BaseAbsentValue): """Class that represents values which are empty because the data cannot be interpreted correctly.""" + def __str__(self) -> str: + """Fallback method for rendering basic types""" + return "-" + class NotApplicableValue(interfaces.renderers.BaseAbsentValue): """Class that represents values which are empty because they don't make sense for this node.""" + def __str__(self) -> str: + """Fallback method for rendering basic types""" + return "N/A" + class NotAvailableValue(interfaces.renderers.BaseAbsentValue): """Class that represents values which cannot be provided now (but might in @@ -45,6 +58,70 @@ class NotAvailableValue(interfaces.renderers.BaseAbsentValue): in preference, and only if neither fits should this be used. """ + def __str__(self) -> str: + """Fallback method for rendering basic types""" + return "N/A" + + +########## +### Basic Types + + +class Disassembly(interfaces.renderers.BasicType): + """A class to indicate that the bytes provided should be disassembled + (based on the architecture)""" + + possible_architectures = ["intel", "intel64", "arm", "arm64"] + + def __init__( + self, data: bytes, offset: int = 0, architecture: str = "intel64" + ) -> None: + self.data = data + self.architecture = None + if architecture in self.possible_architectures: + self.architecture = architecture + if not isinstance(offset, int): + raise TypeError("Offset must be an integer type") + self.offset = offset + + def __str__(self) -> str: + """Fallback method of rendering""" + return str(self.data) + + +@dataclasses.dataclass +class LayerData(interfaces.renderers.BasicType): + """Layer data + + This requires the contex to be passed in, in case plugins want to use multiple contexts + and to ensure the TreeGrid interface doesn't change, since this would break all existing plugins + """ + + context: "interfaces.context.ContextInterface" + layer_name: str + offset: int + length: int + no_surrounding: bool = False + + @staticmethod + def from_object( + object: "interfaces.objects.ObjectInterface", + size: Optional[int] = None, + no_surrounding: bool = True, + ): + return LayerData( + context=object._context, + layer_name=object.vol.layer_name, + offset=object.vol.offset, + length=size or object.vol.size, + no_surrounding=no_surrounding, + ) + + def __str__(self) -> str: + """Fallback method of rendering""" + data = self.context.layers[self.layer_name].read(self.offset, self.length, True) + return str(data) + class TreeNode(interfaces.renderers.TreeNode): """Class representing a particular node in a tree grid.""" From af01fcdcffa4c52e195de6df4ed7a6aa48bfea51 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 16 Feb 2025 17:41:28 +0000 Subject: [PATCH 1683/2186] Core: Remove unnecessary f-string --- volatility3/framework/interfaces/renderers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/renderers.py b/volatility3/framework/interfaces/renderers.py index b4c93cb3e..3e9afaf21 100644 --- a/volatility3/framework/interfaces/renderers.py +++ b/volatility3/framework/interfaces/renderers.py @@ -156,7 +156,7 @@ class Disassembly(BasicType): self, data: bytes, offset: int = 0, architecture: str = "intel64" ) -> None: warnings.warn( - f"interfaces.renderers.Disassembly is now renderers.Disassembly", + "interfaces.renderers.Disassembly is now renderers.Disassembly", FutureWarning, ) self.data = data From 6f599fa6456f812c7d6028588e987550c35bf86e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 21 Feb 2025 23:53:59 +0000 Subject: [PATCH 1684/2186] Various: Minor bump malfind functions for all OSes --- volatility3/framework/plugins/mac/malfind.py | 2 +- volatility3/framework/plugins/windows/malfind.py | 1 + volatility3/framework/plugins/windows/mbrscan.py | 2 +- volatility3/framework/plugins/windows/mftscan.py | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/mac/malfind.py b/volatility3/framework/plugins/mac/malfind.py index f1c3cc409..2c2c801dc 100644 --- a/volatility3/framework/plugins/mac/malfind.py +++ b/volatility3/framework/plugins/mac/malfind.py @@ -13,7 +13,7 @@ from volatility3.plugins.mac import pslist class Malfind(interfaces.plugins.PluginInterface): """Lists process memory ranges that potentially contain injected code.""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 0, 1) @classmethod def get_requirements(cls): diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index a91492049..d9861d9c8 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -18,6 +18,7 @@ class Malfind(interfaces.plugins.PluginInterface): """Lists process memory ranges that potentially contain injected code.""" _required_framework_version = (2, 22, 0) + _version = (1, 1, 0) @classmethod def get_requirements(cls): diff --git a/volatility3/framework/plugins/windows/mbrscan.py b/volatility3/framework/plugins/windows/mbrscan.py index aac3001c5..775b1a894 100644 --- a/volatility3/framework/plugins/windows/mbrscan.py +++ b/volatility3/framework/plugins/windows/mbrscan.py @@ -21,7 +21,7 @@ class MBRScan(interfaces.plugins.PluginInterface): """Scans for and parses potential Master Boot Records (MBRs)""" _required_framework_version = (2, 22, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 8ba110169..4139aab60 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -328,7 +328,7 @@ class ADS(interfaces.plugins.PluginInterface): _required_framework_version = (2, 22, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls): @@ -398,7 +398,7 @@ class ResidentData(interfaces.plugins.PluginInterface): _required_framework_version = (2, 22, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls): From e86981c8806f64f4db5a7297cdd0b3fd4a5045ea Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 22 Feb 2025 00:02:55 +0000 Subject: [PATCH 1685/2186] Various: Update yarascan plugins to output LayerData instead of just bytes --- volatility3/framework/plugins/linux/vmayarascan.py | 14 ++++++++++---- .../framework/plugins/windows/vadyarascan.py | 14 ++++++++++---- volatility3/framework/plugins/yarascan.py | 14 ++++++++++---- 3 files changed, 30 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index e9e56dd0f..42fd8e375 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -17,8 +17,8 @@ vollog = logging.getLogger(__name__) class VmaYaraScan(interfaces.plugins.PluginInterface): """Scans all virtual memory areas for tasks using yara.""" - _required_framework_version = (2, 4, 0) - _version = (1, 0, 3) + _required_framework_version = (2, 22, 0) + _version = (1, 0, 4) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -97,12 +97,18 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): for offset, rule_name, name, value in scanner( proc_layer.read(start, size, pad=True), start ): + layer_data = renderers.LayerData( + context=self.context, + offset=offset, + layer_name=proc_layer.name, + length=len(value), + ) yield 0, ( format_hints.Hex(offset), task.tgid, rule_name, name, - value, + layer_data, ) @classmethod @@ -130,7 +136,7 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): ("PID", int), ("Rule", str), ("Component", str), - ("Value", bytes), + ("Value", renderers.LayerData), ], self._generator(), ) diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index a19206e22..e18f435db 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -17,8 +17,8 @@ vollog = logging.getLogger(__name__) class VadYaraScan(interfaces.plugins.PluginInterface): """Scans all the Virtual Address Descriptor memory maps using yara.""" - _required_framework_version = (2, 4, 0) - _version = (1, 1, 2) + _required_framework_version = (2, 22, 0) + _version = (1, 1, 3) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -93,12 +93,18 @@ class VadYaraScan(interfaces.plugins.PluginInterface): for offset, rule_name, name, value in scanner( layer.read(start, size, pad=True), start ): + layer_data = renderers.LayerData( + context=self.context, + offset=offset, + layer_name=layer.name, + length=len(value), + ) yield 0, ( format_hints.Hex(offset), task.UniqueProcessId, rule_name, name, - value, + layer_data, ) @classmethod @@ -126,7 +132,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): ("PID", int), ("Rule", str), ("Component", str), - ("Value", bytes), + ("Value", renderers.LayerData), ], self._generator(), ) diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 38c8b6085..df31b18d7 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -105,8 +105,8 @@ class YaraScanner(interfaces.layers.ScannerInterface): class YaraScan(plugins.PluginInterface): """Scans kernel memory using yara rules (string or file).""" - _required_framework_version = (2, 0, 0) - _version = (2, 0, 0) + _required_framework_version = (2, 22, 0) + _version = (2, 0, 1) _yara_x = USE_YARA_X @classmethod @@ -201,7 +201,13 @@ class YaraScan(plugins.PluginInterface): for offset, rule_name, name, value in layer.scan( context=self.context, scanner=YaraScanner(rules=rules) ): - yield 0, (format_hints.Hex(offset), rule_name, name, value) + layer_data = renderers.LayerData( + context=self.context, + offset=offset, + layer_name=layer.name, + length=len(value), + ) + yield 0, (format_hints.Hex(offset), rule_name, name, layer_data) def run(self): return renderers.TreeGrid( @@ -209,7 +215,7 @@ class YaraScan(plugins.PluginInterface): ("Offset", format_hints.Hex), ("Rule", str), ("Component", str), - ("Value", bytes), + ("Value", renderers.LayerData), ], self._generator(), ) From bb39081e33ba1991233a0093a6748af9d19f6636 Mon Sep 17 00:00:00 2001 From: Odysseas Stavrou Date: Sun, 23 Mar 2025 22:29:16 +0200 Subject: [PATCH 1686/2186] Volshell: Add byteorder argument for display_* functions --- volatility3/cli/volshell/generic.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 143e26500..71b2173c6 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -310,23 +310,25 @@ class Volshell(interfaces.plugins.PluginInterface): self._display_data(offset, remaining_data) def display_quadwords( - self, offset, count=DEFAULT_NUM_DISPLAY_BYTES, layer_name=None + self, offset, count=DEFAULT_NUM_DISPLAY_BYTES, layer_name=None, byteorder="@" ): """Displays quad-word values (8 bytes) and corresponding ASCII characters""" remaining_data = self._read_data(offset, count=count, layer_name=layer_name) - self._display_data(offset, remaining_data, format_string="Q") + self._display_data(offset, remaining_data, format_string=f"{byteorder}Q") def display_doublewords( - self, offset, count=DEFAULT_NUM_DISPLAY_BYTES, layer_name=None + self, offset, count=DEFAULT_NUM_DISPLAY_BYTES, layer_name=None, byteorder="@" ): """Displays double-word values (4 bytes) and corresponding ASCII characters""" remaining_data = self._read_data(offset, count=count, layer_name=layer_name) - self._display_data(offset, remaining_data, format_string="I") + self._display_data(offset, remaining_data, format_string=f"{byteorder}I") - def display_words(self, offset, count=DEFAULT_NUM_DISPLAY_BYTES, layer_name=None): + def display_words( + self, offset, count=DEFAULT_NUM_DISPLAY_BYTES, layer_name=None, byteorder="@" + ): """Displays word values (2 bytes) and corresponding ASCII characters""" remaining_data = self._read_data(offset, count=count, layer_name=layer_name) - self._display_data(offset, remaining_data, format_string="H") + self._display_data(offset, remaining_data, format_string=f"{byteorder}H") def regex_scan(self, pattern, count=DEFAULT_NUM_DISPLAY_BYTES, layer_name=None): """Scans for regex pattern in layer using RegExScanner.""" From f0153817c5bcbb72093c1db70e79023405db1144 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 24 Mar 2025 00:58:28 +0000 Subject: [PATCH 1687/2186] Add in slots to object model --- volatility3/framework/interfaces/objects.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 62c31481b..7317469f1 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -23,6 +23,8 @@ class ReadOnlyMapping(collections.abc.Mapping): modified, making an immutable mapping. """ + __slots__ = ("_dict",) + def __init__(self, dictionary: Mapping[str, Any]) -> None: self._dict = dictionary @@ -63,6 +65,8 @@ class ObjectInformation(ReadOnlyMapping): in a single place. These values are based on the :class:`ReadOnlyMapping` class, to prevent their modification. """ + __slots__ = () + def __init__( self, layer_name: str, @@ -98,6 +102,8 @@ class ObjectInterface(metaclass=abc.ABCMeta): """A base object required to be the ancestor of every object used in volatility.""" + __slots__ = () + def __init__( self, context: "interfaces.context.ContextInterface", @@ -305,6 +311,8 @@ class Template: constructed at resolution time and then cached. """ + __slots__ = "_vol" + def __init__(self, type_name: str, **arguments) -> None: """Stores the keyword arguments for later object creation.""" # Allow the updating of template arguments whilst still in template form From 57c07631b057fac49bedd9fb8f8c3c5c063be868 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Sun, 23 Mar 2025 21:23:42 -0500 Subject: [PATCH 1688/2186] Add win32 start address listing. Add paths for both thread starting address types --- .../plugins/windows/orphan_kernel_threads.py | 2 +- .../framework/plugins/windows/psxview.py | 2 +- .../plugins/windows/suspicious_threads.py | 6 +- .../framework/plugins/windows/thrdscan.py | 85 +++++++++++++++++-- .../framework/plugins/windows/threads.py | 2 +- 5 files changed, 85 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py index 151fe88c9..0f556dd1e 100644 --- a/volatility3/framework/plugins/windows/orphan_kernel_threads.py +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -34,7 +34,7 @@ class Threads(thrdscan.ThrdScan): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 1, 0) + name="thrdscan", plugin=thrdscan.ThrdScan, version=(2, 0, 0) ), requirements.PluginRequirement( name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 7329588cc..7c3444f70 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -55,7 +55,7 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter name="psscan", component=psscan.PsScan, version=(2, 0, 0) ), requirements.VersionRequirement( - name="thrdscan", component=thrdscan.ThrdScan, version=(1, 0, 0) + name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) ), requirements.VersionRequirement( name="handles", component=handles.Handles, version=(3, 0, 0) diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py index c98b06792..eabc637c8 100644 --- a/volatility3/framework/plugins/windows/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -35,7 +35,7 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): optional=True, ), requirements.VersionRequirement( - name="thrdscan", component=thrdscan.ThrdScan, version=(1, 1, 0) + name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) ), requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) @@ -181,11 +181,11 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): if not info: continue - _, _, tid, start_address, _, _ = info + _, _, tid, start_address, _, win32_start_address, _, _, _ = info addresses = [ (start_address, "Start"), - (thread.Win32StartAddress, "Win32Start"), + (win32_start_address, "Win32Start"), ] for address, context in addresses: diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 369db1fd8..38fba1ff4 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -3,12 +3,12 @@ ## import logging import datetime -from typing import Callable, Iterable +from typing import Callable, Iterable, Tuple, Optional, Dict from volatility3.framework import renderers, interfaces, exceptions from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import poolscanner +from volatility3.plugins.windows import poolscanner, pe_symbols from volatility3.plugins import timeliner vollog = logging.getLogger(__name__) @@ -19,7 +19,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) # version 2.6.0 adds support for scanning for 'Ethread' structures by pool tags _required_framework_version = (2, 6, 0) - _version = (1, 1, 0) + _version = (2, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -67,27 +67,74 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) yield mem_object @classmethod - def gather_thread_info(cls, ethread): + def gather_thread_info( + cls, + ethread: interfaces.objects.ObjectInterface, + vads_cache: Dict[int, pe_symbols.ranges_type] = None, + ) -> Tuple[ + int, + int, + int, + int, + Optional[str], + int, + Optional[str], + Optional[datetime.datetime], + Optional[datetime.datetime], + ]: try: thread_offset = ethread.vol.offset owner_proc_pid = ethread.Cid.UniqueProcess thread_tid = ethread.Cid.UniqueThread thread_start_addr = ethread.StartAddress + thread_win32start_addr = ethread.Win32StartAddress thread_create_time = ( ethread.get_create_time() ) # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object thread_exit_time = ( ethread.get_exit_time() ) # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object + + owner_proc = None + if vads_cache is not None: + owner_proc = ethread.owning_process() except exceptions.InvalidAddressException: vollog.debug(f"Thread invalid address {ethread.vol.offset:#x}") return None + if vads_cache is not None: + vads = pe_symbols.PESymbols.get_vads_for_process_cache( + vads_cache, owner_proc + ) + # no vads = terminated/smeared, pid 4 = kernel = don't check VADs + if ( + owner_proc_pid != 4 + and owner_proc.InheritedFromUniqueProcessId != 4 + and (not vads or len(vads) < 5) + ): + vollog.debug( + f"No vads for process at {owner_proc.vol.offset:#x}. Skipping thread at {ethread.vol.offset:#x}" + ) + return None + + start_path = pe_symbols.PESymbols.filepath_for_address( + vads, thread_start_addr + ) + win32start_path = pe_symbols.PESymbols.filepath_for_address( + vads, thread_win32start_addr + ) + else: + start_path = None + win32start_path = None + return ( format_hints.Hex(thread_offset), owner_proc_pid, thread_tid, format_hints.Hex(thread_start_addr), + start_path, + format_hints.Hex(thread_win32start_addr), + win32start_path, thread_create_time, thread_exit_time, ) @@ -95,11 +142,34 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) def _generator(self, filter_func: Callable): kernel_name = self.config["kernel"] + vads_cache: Dict[int, pe_symbols.ranges_type] = {} + for ethread in self.implementation(self.context, kernel_name): - info = self.gather_thread_info(ethread) + info = self.gather_thread_info(ethread, vads_cache) if info: - yield (0, info) + ( + offset, + pid, + tid, + start_addr, + start_path, + win32start_addr, + win32start_path, + create_time, + exit_time, + ) = info + yield 0, ( + offset, + pid, + tid, + start_addr, + start_path or renderers.NotAvailableValue(), + win32start_addr, + win32start_path or renderers.NotAvailableValue(), + create_time, + exit_time, + ) def generate_timeline(self): filt_func = self.filter_func(self.config) @@ -145,6 +215,9 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) ("PID", int), ("TID", int), ("StartAddress", format_hints.Hex), + ("StartPath", str), + ("Win32StartAddress", format_hints.Hex), + ("Win32StartPath", str), ("CreateTime", datetime.datetime), ("ExitTime", datetime.datetime), ], diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index 77062e8c6..d0bb26e2a 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -32,7 +32,7 @@ class Threads(thrdscan.ThrdScan): architectures=["Intel32", "Intel64"], ), requirements.PluginRequirement( - name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 1, 0) + name="thrdscan", plugin=thrdscan.ThrdScan, version=(2, 0, 0) ), ] From e3d35aa425fe08c4ae5566b5843ec92ee05c841c Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 24 Mar 2025 02:49:31 +0000 Subject: [PATCH 1689/2186] update from feedback --- .../plugins/linux/tracing/perf_events.py | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/perf_events.py b/volatility3/framework/plugins/linux/tracing/perf_events.py index 5d629bd21..3e0a40579 100644 --- a/volatility3/framework/plugins/linux/tracing/perf_events.py +++ b/volatility3/framework/plugins/linux/tracing/perf_events.py @@ -83,7 +83,7 @@ class PerfEvents(plugins.PluginInterface): event.prog.aux.ksym.name, count=512 ) except AttributeError: - full_name = renderers.NotApplicableValue() + full_name = None program_name = utility.array_to_string(event.prog.aux.name) except exceptions.InvalidAddressException: @@ -95,10 +95,8 @@ class PerfEvents(plugins.PluginInterface): if program_address == 0: continue - program_address = format_hints.Hex(program_address) - else: - program_address = renderers.NotAvailableValue() + program_address = None yield task, event_name, program_name, full_name, program_address @@ -112,14 +110,23 @@ class PerfEvents(plugins.PluginInterface): ) in self.list_perf_events(self.context, self.config["kernel"]): task_name = utility.array_to_string(task.comm) + # We at least need one useful string... + if event_name is None and program_name is None and full_name is None: + continue + + if program_address is not None: + program_address = format_hints.Hex(program_address) + else: + program_address = renderers.NotAvailableValue() + yield ( 0, ( task.pid, task_name, - event_name, - program_name, - full_name, + event_name or renderers.NotAvailableValue(), + program_name or renderers.NotAvailableValue(), + full_name or renderers.NotAvailableValue(), program_address, ), ) From 36b66f00fe27476d75abffe635f1ddece3ad7c5d Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 24 Mar 2025 05:05:08 +0000 Subject: [PATCH 1690/2186] Add delete on close detection to process ghosting. Update plugin to current coding flow --- .../plugins/windows/processghosting.py | 193 ++++++++++++++---- 1 file changed, 154 insertions(+), 39 deletions(-) diff --git a/volatility3/framework/plugins/windows/processghosting.py b/volatility3/framework/plugins/windows/processghosting.py index 5bc6bc5a3..28af57053 100644 --- a/volatility3/framework/plugins/windows/processghosting.py +++ b/volatility3/framework/plugins/windows/processghosting.py @@ -2,21 +2,23 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -import contextlib + +from typing import Optional, Tuple, Generator, Dict from volatility3.framework import interfaces, exceptions from volatility3.framework import renderers from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import pslist +from volatility3.plugins.windows import pslist, vadinfo vollog = logging.getLogger(__name__) class ProcessGhosting(interfaces.plugins.PluginInterface): - """Lists processes whose DeletePending bit is set or whose FILE_OBJECT is set to 0""" + """Lists processes whose DeletePending bit is set or whose FILE_OBJECT is set to 0 or Vads that are DeleteOnClose""" + _version = (1, 0, 0) _required_framework_version = (2, 4, 0) @classmethod @@ -33,52 +35,163 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): ), ] + @classmethod + def _process_checks( + cls, + proc: interfaces.objects.ObjectInterface, + mapped_files: Dict[int, Tuple[str, interfaces.objects.ObjectInterface]], + ) -> Generator[ + Tuple[int, Optional[int], Optional[int], int, Optional[str]], None, None + ]: + """ + Checks the EPROCESS for signs of ghosting + """ + if not proc.has_member("ImageFilePointer"): + return + + delete_pending = None + + # if it is 0 then its a side effect of process ghosting + if proc.ImageFilePointer.vol.offset != 0: + try: + file_object = proc.ImageFilePointer + delete_pending = file_object.DeletePending + file_object = file_object.dereference().vol.offset + except exceptions.InvalidAddressException: + file_object = 0 + + # ImageFilePointer equal to 0 means process ghosting or similar techniques were used + else: + file_object = 0 + + # delete_pending besides 0 or 1 = smear + if isinstance(delete_pending, int) and delete_pending not in [0, 1]: + vollog.debug( + f"Invalid delete_pending value {delete_pending} found for process {proc.UniqueProcessId}" + ) + delete_pending = None + + if file_object == 0 or delete_pending == 1: + yield file_object, delete_pending, None, proc.SectionBaseAddress + + @classmethod + def _vad_checks( + cls, control_area: interfaces.objects.ObjectInterface, vad_path: str + ) -> Generator[Tuple[int, Optional[int], Optional[int]], None, None]: + """ + Checks the control area for delete on close or delete pending being set + """ + try: + file_object = control_area.FilePointer.dereference().cast("_FILE_OBJECT") + except exceptions.InvalidAddressException: + return + + try: + delete_on_close = control_area.u.Flags.DeleteOnClose + except exceptions.InvalidAddressException: + delete_on_close = None + + if delete_on_close and vad_path.lower().endswith((".exe", ".dll")): + yield file_object.vol.offset, None, delete_on_close + + try: + delete_pending = file_object.DeletePending + except exceptions.InvalidAddressException: + delete_pending = None + + if delete_pending and delete_pending == 1: + yield file_object.vol.offset, delete_pending, None + + @classmethod + def check_for_ghosting( + cls, + proc: interfaces.objects.ObjectInterface, + mapped_files: Dict[int, Tuple[str, interfaces.objects.ObjectInterface]], + ) -> Generator[ + Tuple[int, Optional[int], Optional[int], int, Optional[str]], None, None + ]: + """ + Returns process or vad info for ghosting files + + Args: + proc: + mapped_files: A dictionary mapping vad base addreses to the path and vad instance for the process + + Return: + A Generator of tuples of the file object address, the delete pending state, delete on close state, base address of the VAD, and the path + """ + # check the direct file object of the process + yield from cls._process_checks(proc, mapped_files) + + # walk each vad, check if it is pending delete or has its delete on close bit set + for vad_base, (path, vad) in mapped_files.items(): + # these checks have no meaning for private memory areas + if vad.get_private_memory() == 1: + continue + + try: + if vad.has_member("ControlArea"): + control_area = vad.ControlArea + elif vad.has_member("Subsection"): + control_area = vad.Subsection.ControlArea + # We got here from a short vad, likely smear + else: + continue + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to get control area for vad at base {vad_base:#x} for process with pid {proc.UniqueProcessId}" + ) + continue + + for file_object_address, delete_pending, delete_on_close in cls._vad_checks( + control_area, path + ): + yield format_hints.Hex( + file_object_address + ), delete_pending, delete_on_close, vad_base + def _generator(self, procs): kernel = self.context.modules[self.config["kernel"]] - if not kernel.get_type("_EPROCESS").has_member("ImageFilePointer"): + has_imagefilepointer = kernel.get_type("_EPROCESS").has_member( + "ImageFilePointer" + ) + if not has_imagefilepointer: vollog.warning( - "This plugin only supports Windows 10 builds when the ImageFilePointer member of _EPROCESS is present" + "ImageFilePointer checks are only supported on Windows 10 builds when the ImageFilePointer member of _EPROCESS is present" ) - return for proc in procs: - delete_pending = renderers.UnreadableValue() process_name = utility.array_to_string(proc.ImageFileName) + pid = proc.UniqueProcessId - # if it is 0 then its a side effect of process ghosting - if proc.ImageFilePointer.vol.offset != 0: - try: - file_object = proc.ImageFilePointer - delete_pending = file_object.DeletePending - except exceptions.InvalidAddressException: - file_object = 0 + # base address -> (file path, VAD instance) + mapped_files: Dict[int, Tuple[str, interfaces.objects.ObjectInterface]] = {} + for vad in vadinfo.VadInfo.list_vads(proc): + path = vad.get_file_name() + if isinstance(path, str): + mapped_files[vad.get_start()] = (path, vad) - # ImageFilePointer equal to 0 means process ghosting or similar techniques were used - else: - file_object = 0 + for ( + file_object_address, + delete_pending, + delete_on_close, + base_address, + ) in self.check_for_ghosting(proc, mapped_files): + vad_info = mapped_files.get(base_address) + if vad_info: + path = vad_info[0] + else: + path = renderers.NotAvailableValue() - if isinstance(delete_pending, int) and delete_pending not in [0, 1]: - vollog.debug( - f"Invalid delete_pending value {delete_pending} found for {process_name} {proc.UniqueProcessId}" - ) - - # delete_pending besides 0 or 1 = smear - if file_object == 0 or delete_pending == 1: - path = renderers.UnreadableValue() - if file_object: - with contextlib.suppress(exceptions.InvalidAddressException): - path = file_object.FileName.String - - yield ( - 0, - ( - proc.UniqueProcessId, - process_name, - format_hints.Hex(file_object), - delete_pending, - path, - ), + yield 0, ( + pid, + process_name, + format_hints.Hex(file_object_address), + delete_pending or renderers.NotApplicableValue(), + delete_on_close or renderers.NotApplicableValue(), + format_hints.Hex(base_address), + path, ) def run(self): @@ -89,7 +202,9 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): ("PID", int), ("Process", str), ("FILE_OBJECT", format_hints.Hex), - ("DeletePending", str), + ("DeletePending", int), + ("DeleteOnClose", int), + ("Base", format_hints.Hex), ("Path", str), ], self._generator( From 003c139597b93b649b688181781d3eb326bb18bf Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 24 Mar 2025 15:10:37 +0000 Subject: [PATCH 1691/2186] Add a --script-only flag that exits after the given volshell script is completed --- volatility3/cli/volshell/generic.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 143e26500..2f7c7662c 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -60,7 +60,13 @@ class Volshell(interfaces.plugins.PluginInterface): description="File to load and execute at start", default=None, optional=True, - ) + ), + requirements.BooleanRequirement( + name="script-only", + description="Exit volshell after the script specified in --script completes", + default=False, + optional=True, + ), ] return reqs + [ requirements.TranslationLayerRequirement( @@ -135,6 +141,9 @@ class Volshell(interfaces.plugins.PluginInterface): if self.config.get("script", None) is not None: self.run_script(location=self.config["script"]) + if self.config.get("script-only"): + exit() + if has_ipython: self.__console() else: From a6f9a0e95b3d8096a462894c8190479b2e293d52 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 24 Mar 2025 11:30:17 -0500 Subject: [PATCH 1692/2186] Framework: Replace PluginRequirements This replaces all uses of `requirements.PluginRequirements` with `requirements.VersionRequirement`. --- doc/source/simple-plugin.rst | 4 ++-- volatility3/cli/volshell/linux.py | 4 ++-- volatility3/cli/volshell/mac.py | 4 ++-- volatility3/cli/volshell/windows.py | 4 ++-- volatility3/framework/plugins/linux/bash.py | 4 ++-- volatility3/framework/plugins/linux/boottime.py | 4 ++-- .../framework/plugins/linux/capabilities.py | 4 ++-- .../framework/plugins/linux/check_creds.py | 4 ++-- volatility3/framework/plugins/linux/elfs.py | 4 ++-- volatility3/framework/plugins/linux/envars.py | 4 ++-- volatility3/framework/plugins/linux/kthreads.py | 4 ++-- .../framework/plugins/linux/library_list.py | 4 ++-- volatility3/framework/plugins/linux/lsof.py | 4 ++-- volatility3/framework/plugins/linux/malfind.py | 4 ++-- volatility3/framework/plugins/linux/mountinfo.py | 4 ++-- volatility3/framework/plugins/linux/pagecache.py | 16 ++++++++-------- .../framework/plugins/linux/pidhashtable.py | 4 ++-- volatility3/framework/plugins/linux/proc.py | 4 ++-- volatility3/framework/plugins/linux/psaux.py | 4 ++-- .../framework/plugins/linux/pscallstack.py | 4 ++-- volatility3/framework/plugins/linux/pslist.py | 4 ++-- volatility3/framework/plugins/linux/psscan.py | 4 ++-- volatility3/framework/plugins/linux/pstree.py | 4 ++-- volatility3/framework/plugins/linux/ptrace.py | 4 ++-- volatility3/framework/plugins/linux/sockstat.py | 8 ++++---- .../framework/plugins/linux/vmaregexscan.py | 4 ++-- .../framework/plugins/linux/vmayarascan.py | 8 ++++---- volatility3/framework/plugins/mac/bash.py | 4 ++-- .../framework/plugins/mac/check_syscall.py | 4 ++-- .../framework/plugins/mac/check_sysctl.py | 4 ++-- .../framework/plugins/mac/check_trap_table.py | 4 ++-- .../framework/plugins/mac/kauth_listeners.py | 10 ++++++---- .../framework/plugins/mac/kauth_scopes.py | 4 ++-- volatility3/framework/plugins/mac/kevents.py | 4 ++-- volatility3/framework/plugins/mac/list_files.py | 4 ++-- volatility3/framework/plugins/mac/lsof.py | 4 ++-- volatility3/framework/plugins/mac/malfind.py | 4 ++-- volatility3/framework/plugins/mac/netstat.py | 4 ++-- volatility3/framework/plugins/mac/proc_maps.py | 4 ++-- volatility3/framework/plugins/mac/psaux.py | 4 ++-- volatility3/framework/plugins/mac/pstree.py | 4 ++-- .../framework/plugins/mac/socket_filters.py | 4 ++-- volatility3/framework/plugins/mac/trustedbsd.py | 4 ++-- volatility3/framework/plugins/windows/amcache.py | 4 ++-- .../framework/plugins/windows/cachedump.py | 12 ++++++------ .../framework/plugins/windows/callbacks.py | 16 ++++++++-------- volatility3/framework/plugins/windows/cmdline.py | 4 ++-- volatility3/framework/plugins/windows/cmdscan.py | 4 ++-- .../framework/plugins/windows/consoles.py | 4 ++-- .../framework/plugins/windows/deskscan.py | 8 ++++---- .../framework/plugins/windows/desktops.py | 4 ++-- .../framework/plugins/windows/devicetree.py | 4 ++-- .../plugins/windows/direct_system_calls.py | 8 ++++---- .../framework/plugins/windows/driverirp.py | 12 ++++++------ .../framework/plugins/windows/drivermodule.py | 12 ++++++------ .../framework/plugins/windows/driverscan.py | 4 ++-- volatility3/framework/plugins/windows/envars.py | 8 ++++---- .../framework/plugins/windows/filescan.py | 4 ++-- .../framework/plugins/windows/getservicesids.py | 4 ++-- volatility3/framework/plugins/windows/getsids.py | 8 ++++---- volatility3/framework/plugins/windows/handles.py | 4 ++-- .../framework/plugins/windows/hashdump.py | 4 ++-- .../plugins/windows/indirect_system_calls.py | 8 ++++---- volatility3/framework/plugins/windows/memmap.py | 4 ++-- volatility3/framework/plugins/windows/mftscan.py | 8 ++++---- .../framework/plugins/windows/mutantscan.py | 4 ++-- .../plugins/windows/orphan_kernel_threads.py | 12 ++++++------ .../framework/plugins/windows/poolscanner.py | 4 ++-- .../framework/plugins/windows/privileges.py | 4 ++-- volatility3/framework/plugins/windows/psscan.py | 4 ++-- .../plugins/windows/registry/getcellroutine.py | 8 ++++---- .../plugins/windows/registry/hivelist.py | 4 ++-- .../plugins/windows/registry/hivescan.py | 8 ++++---- .../plugins/windows/registry/printkey.py | 4 ++-- .../plugins/windows/registry/userassist.py | 4 ++-- .../framework/plugins/windows/scheduled_tasks.py | 4 ++-- .../framework/plugins/windows/sessions.py | 4 ++-- .../framework/plugins/windows/shimcachemem.py | 4 ++-- volatility3/framework/plugins/windows/ssdt.py | 4 ++-- volatility3/framework/plugins/windows/strings.py | 4 ++-- volatility3/framework/plugins/windows/svclist.py | 4 ++-- volatility3/framework/plugins/windows/svcscan.py | 8 ++++---- .../framework/plugins/windows/thrdscan.py | 4 ++-- volatility3/framework/plugins/windows/threads.py | 4 ++-- .../plugins/windows/unhooked_system_calls.py | 4 ++-- volatility3/framework/plugins/windows/vadinfo.py | 4 ++-- .../framework/plugins/windows/vadregexscan.py | 4 ++-- volatility3/framework/plugins/windows/vadwalk.py | 8 ++++---- .../framework/plugins/windows/vadyarascan.py | 8 ++++---- volatility3/framework/plugins/windows/verinfo.py | 8 ++++---- .../plugins/windows/registry/certificates.py | 8 ++++---- 91 files changed, 244 insertions(+), 242 deletions(-) diff --git a/doc/source/simple-plugin.rst b/doc/source/simple-plugin.rst index a6916a027..d855e319d 100644 --- a/doc/source/simple-plugin.rst +++ b/doc/source/simple-plugin.rst @@ -53,9 +53,9 @@ to be able to run properly. Any that are defined as optional need not necessari description = "Process IDs to include (all other processes are excluded)", optional = True ), - requirements.PluginRequirement( + requirements.VersionRequirement( name = 'pslist', - plugin = pslist.PsList, + component = pslist.PsList, version = (2, 0, 0) ), ] diff --git a/volatility3/cli/volshell/linux.py b/volatility3/cli/volshell/linux.py index b3689c3ae..27c630614 100644 --- a/volatility3/cli/volshell/linux.py +++ b/volatility3/cli/volshell/linux.py @@ -30,8 +30,8 @@ class Volshell(generic.Volshell): requirements.ModuleRequirement( name="kernel", description="Linux kernel module" ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.IntRequirement( name="pid", description="Process ID", optional=True diff --git a/volatility3/cli/volshell/mac.py b/volatility3/cli/volshell/mac.py index 0ed35eb27..393eff20b 100644 --- a/volatility3/cli/volshell/mac.py +++ b/volatility3/cli/volshell/mac.py @@ -19,8 +19,8 @@ class Volshell(generic.Volshell): requirements.ModuleRequirement( name="kernel", description="Darwin kernel module" ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.IntRequirement( name="pid", description="Process ID", optional=True diff --git a/volatility3/cli/volshell/windows.py b/volatility3/cli/volshell/windows.py index c5bab3b74..ce5995648 100644 --- a/volatility3/cli/volshell/windows.py +++ b/volatility3/cli/volshell/windows.py @@ -17,8 +17,8 @@ class Volshell(generic.Volshell): def get_requirements(cls): return [ requirements.ModuleRequirement(name="kernel", description="Windows kernel"), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.IntRequirement( name="pid", description="Process ID", optional=True diff --git a/volatility3/framework/plugins/linux/bash.py b/volatility3/framework/plugins/linux/bash.py index 293c47224..fd73b4df2 100644 --- a/volatility3/framework/plugins/linux/bash.py +++ b/volatility3/framework/plugins/linux/bash.py @@ -32,8 +32,8 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/boottime.py b/volatility3/framework/plugins/linux/boottime.py index c57bdd65a..c1a75d478 100644 --- a/volatility3/framework/plugins/linux/boottime.py +++ b/volatility3/framework/plugins/linux/boottime.py @@ -25,8 +25,8 @@ class Boottime(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), ] diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index 1d0c60c11..dae6aac6a 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -60,8 +60,8 @@ class Capabilities(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pids", diff --git a/volatility3/framework/plugins/linux/check_creds.py b/volatility3/framework/plugins/linux/check_creds.py index 96f77ce4d..e2b84d679 100644 --- a/volatility3/framework/plugins/linux/check_creds.py +++ b/volatility3/framework/plugins/linux/check_creds.py @@ -22,8 +22,8 @@ class Check_creds(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), ] diff --git a/volatility3/framework/plugins/linux/elfs.py b/volatility3/framework/plugins/linux/elfs.py index b9dcc3cca..8b2759907 100644 --- a/volatility3/framework/plugins/linux/elfs.py +++ b/volatility3/framework/plugins/linux/elfs.py @@ -35,8 +35,8 @@ class Elfs(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/envars.py b/volatility3/framework/plugins/linux/envars.py index 0687caa9f..f4859cb49 100644 --- a/volatility3/framework/plugins/linux/envars.py +++ b/volatility3/framework/plugins/linux/envars.py @@ -29,8 +29,8 @@ class Envars(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/kthreads.py b/volatility3/framework/plugins/linux/kthreads.py index 06e94b221..4ed0e15b9 100644 --- a/volatility3/framework/plugins/linux/kthreads.py +++ b/volatility3/framework/plugins/linux/kthreads.py @@ -44,8 +44,8 @@ class Kthreads(plugins.PluginInterface): requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), ] diff --git a/volatility3/framework/plugins/linux/library_list.py b/volatility3/framework/plugins/linux/library_list.py index e251b5689..dedd77ade 100644 --- a/volatility3/framework/plugins/linux/library_list.py +++ b/volatility3/framework/plugins/linux/library_list.py @@ -31,8 +31,8 @@ class LibraryList(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pids", diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 044e9238f..8e0143584 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -120,8 +120,8 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index 8bbf3b89c..dad8b1f15 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -28,8 +28,8 @@ class Malfind(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index c56ced489..668b039db 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -46,8 +46,8 @@ class MountInfo(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 3d2db7fd7..879bc3288 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -126,8 +126,8 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): description="Linux kernel", architectures=architectures.LINUX_ARCHS, ), - requirements.PluginRequirement( - name="mountinfo", plugin=mountinfo.MountInfo, version=(1, 2, 0) + requirements.VersionRequirement( + name="mountinfo", component=mountinfo.MountInfo, version=(1, 2, 0) ), requirements.ListRequirement( name="type", @@ -431,8 +431,8 @@ class InodePages(plugins.PluginInterface): description="Linux kernel", architectures=architectures.LINUX_ARCHS, ), - requirements.PluginRequirement( - name="files", plugin=Files, version=(1, 0, 0) + requirements.VersionRequirement( + name="files", component=Files, version=(1, 0, 0) ), requirements.StringRequirement( name="find", @@ -650,11 +650,11 @@ class RecoverFs(plugins.PluginInterface): description="Linux kernel", architectures=architectures.LINUX_ARCHS, ), - requirements.PluginRequirement( - name="files", plugin=Files, version=(1, 1, 0) + requirements.VersionRequirement( + name="files", component=Files, version=(1, 1, 0) ), - requirements.PluginRequirement( - name="inodepages", plugin=InodePages, version=(3, 0, 0) + requirements.VersionRequirement( + name="inodepages", component=InodePages, version=(3, 0, 0) ), requirements.BooleanRequirement( name="tmpfs_only", diff --git a/volatility3/framework/plugins/linux/pidhashtable.py b/volatility3/framework/plugins/linux/pidhashtable.py index 060b3928e..b4b1643e1 100644 --- a/volatility3/framework/plugins/linux/pidhashtable.py +++ b/volatility3/framework/plugins/linux/pidhashtable.py @@ -29,8 +29,8 @@ class PIDHashTable(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index 5acba6594..e9a126374 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -34,8 +34,8 @@ class Maps(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/psaux.py b/volatility3/framework/plugins/linux/psaux.py index 1a118dba6..e6653251c 100644 --- a/volatility3/framework/plugins/linux/psaux.py +++ b/volatility3/framework/plugins/linux/psaux.py @@ -26,8 +26,8 @@ class PsAux(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/pscallstack.py b/volatility3/framework/plugins/linux/pscallstack.py index 6d7a24942..c22e00161 100644 --- a/volatility3/framework/plugins/linux/pscallstack.py +++ b/volatility3/framework/plugins/linux/pscallstack.py @@ -45,8 +45,8 @@ class PsCallStack(plugins.PluginInterface): requirements.VersionRequirement( name="Kallsyms", component=kallsyms.Kallsyms, version=(1, 0, 0) ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 4c42fc992..8296c82fa 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -44,8 +44,8 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="elfs", plugin=elfs.Elfs, version=(2, 0, 0) + requirements.VersionRequirement( + name="elfs", component=elfs.Elfs, version=(2, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index 6c4c5eb35..0813cebed 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -38,8 +38,8 @@ class PsScan(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), ] diff --git a/volatility3/framework/plugins/linux/pstree.py b/volatility3/framework/plugins/linux/pstree.py index c5290774b..e7bbdb8d5 100644 --- a/volatility3/framework/plugins/linux/pstree.py +++ b/volatility3/framework/plugins/linux/pstree.py @@ -27,8 +27,8 @@ class PsTree(interfaces.plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/ptrace.py b/volatility3/framework/plugins/linux/ptrace.py index 6493f22b9..356d5e72c 100644 --- a/volatility3/framework/plugins/linux/ptrace.py +++ b/volatility3/framework/plugins/linux/ptrace.py @@ -29,8 +29,8 @@ class Ptrace(plugins.PluginInterface): description="Linux kernel", architectures=architectures.LINUX_ARCHS, ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), ] diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index adbb5d6ea..da5d8cb8c 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -463,11 +463,11 @@ class Sockstat(plugins.PluginInterface): requirements.VersionRequirement( name="SockHandlers", component=SockHandlers, version=(4, 0, 0) ), - requirements.PluginRequirement( - name="lsof", plugin=lsof.Lsof, version=(2, 0, 0) + requirements.VersionRequirement( + name="lsof", component=lsof.Lsof, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/linux/vmaregexscan.py b/volatility3/framework/plugins/linux/vmaregexscan.py index 8fb96da1e..4c8ef5b8f 100644 --- a/volatility3/framework/plugins/linux/vmaregexscan.py +++ b/volatility3/framework/plugins/linux/vmaregexscan.py @@ -34,8 +34,8 @@ class VmaRegExScan(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index e9e56dd0f..2f15a1e7e 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -30,11 +30,11 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): description="Process IDs to include (all other processes are excluded)", optional=True, ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), - requirements.PluginRequirement( - name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) + requirements.VersionRequirement( + name="yarascan", component=yarascan.YaraScan, version=(2, 0, 0) ), requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/mac/bash.py b/volatility3/framework/plugins/mac/bash.py index 5be5e74d6..aca0aea0c 100644 --- a/volatility3/framework/plugins/mac/bash.py +++ b/volatility3/framework/plugins/mac/bash.py @@ -30,8 +30,8 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): description="Kernel module for the OS", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/mac/check_syscall.py b/volatility3/framework/plugins/mac/check_syscall.py index 5c22e6463..ed86b1a41 100644 --- a/volatility3/framework/plugins/mac/check_syscall.py +++ b/volatility3/framework/plugins/mac/check_syscall.py @@ -31,8 +31,8 @@ class Check_syscall(plugins.PluginInterface): requirements.VersionRequirement( name="macutils", component=mac.MacUtilities, version=(1, 0, 0) ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + requirements.VersionRequirement( + name="lsmod", component=lsmod.Lsmod, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/mac/check_sysctl.py b/volatility3/framework/plugins/mac/check_sysctl.py index ed3e34aea..d9c9a4dbd 100644 --- a/volatility3/framework/plugins/mac/check_sysctl.py +++ b/volatility3/framework/plugins/mac/check_sysctl.py @@ -33,8 +33,8 @@ class Check_sysctl(plugins.PluginInterface): requirements.VersionRequirement( name="macutils", component=mac.MacUtilities, version=(1, 0, 0) ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + requirements.VersionRequirement( + name="lsmod", component=lsmod.Lsmod, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/mac/check_trap_table.py b/volatility3/framework/plugins/mac/check_trap_table.py index 60f237208..6e0f4b8a9 100644 --- a/volatility3/framework/plugins/mac/check_trap_table.py +++ b/volatility3/framework/plugins/mac/check_trap_table.py @@ -29,8 +29,8 @@ class Check_trap_table(plugins.PluginInterface): description="Kernel module for the OS", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + requirements.VersionRequirement( + name="lsmod", component=lsmod.Lsmod, version=(2, 0, 0) ), requirements.VersionRequirement( name="macutils", component=mac.MacUtilities, version=(1, 0, 0) diff --git a/volatility3/framework/plugins/mac/kauth_listeners.py b/volatility3/framework/plugins/mac/kauth_listeners.py index ed43bfb42..ca236c04a 100644 --- a/volatility3/framework/plugins/mac/kauth_listeners.py +++ b/volatility3/framework/plugins/mac/kauth_listeners.py @@ -26,11 +26,13 @@ class Kauth_listeners(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="macutils", component=mac.MacUtilities, version=(1, 1, 0) ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + requirements.VersionRequirement( + name="lsmod", component=lsmod.Lsmod, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="kauth_scopes", plugin=kauth_scopes.Kauth_scopes, version=(2, 0, 0) + requirements.VersionRequirement( + name="kauth_scopes", + component=kauth_scopes.Kauth_scopes, + version=(2, 0, 0), ), ] diff --git a/volatility3/framework/plugins/mac/kauth_scopes.py b/volatility3/framework/plugins/mac/kauth_scopes.py index c2c473eac..6420d9955 100644 --- a/volatility3/framework/plugins/mac/kauth_scopes.py +++ b/volatility3/framework/plugins/mac/kauth_scopes.py @@ -31,8 +31,8 @@ class Kauth_scopes(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="macutils", component=mac.MacUtilities, version=(1, 1, 0) ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + requirements.VersionRequirement( + name="lsmod", component=lsmod.Lsmod, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/mac/kevents.py b/volatility3/framework/plugins/mac/kevents.py index 41fde31ca..e36de8c84 100644 --- a/volatility3/framework/plugins/mac/kevents.py +++ b/volatility3/framework/plugins/mac/kevents.py @@ -71,8 +71,8 @@ class Kevents(interfaces.plugins.PluginInterface): description="Kernel module for the OS", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="macutils", component=mac.MacUtilities, version=(1, 2, 0) diff --git a/volatility3/framework/plugins/mac/list_files.py b/volatility3/framework/plugins/mac/list_files.py index c18b0b7a2..bf3dcfce6 100644 --- a/volatility3/framework/plugins/mac/list_files.py +++ b/volatility3/framework/plugins/mac/list_files.py @@ -28,8 +28,8 @@ class List_Files(plugins.PluginInterface): description="Kernel module for the OS", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="mount", plugin=mount.Mount, version=(2, 0, 0) + requirements.VersionRequirement( + name="mount", component=mount.Mount, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/mac/lsof.py b/volatility3/framework/plugins/mac/lsof.py index 6832b837f..3191aeff6 100644 --- a/volatility3/framework/plugins/mac/lsof.py +++ b/volatility3/framework/plugins/mac/lsof.py @@ -29,8 +29,8 @@ class Lsof(plugins.PluginInterface): requirements.VersionRequirement( name="macutils", component=mac.MacUtilities, version=(1, 0, 0) ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/mac/malfind.py b/volatility3/framework/plugins/mac/malfind.py index 3094ada85..7d28c2d2a 100644 --- a/volatility3/framework/plugins/mac/malfind.py +++ b/volatility3/framework/plugins/mac/malfind.py @@ -23,8 +23,8 @@ class Malfind(interfaces.plugins.PluginInterface): description="Kernel module for the OS", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/mac/netstat.py b/volatility3/framework/plugins/mac/netstat.py index 76bba25f6..2eb7132f2 100644 --- a/volatility3/framework/plugins/mac/netstat.py +++ b/volatility3/framework/plugins/mac/netstat.py @@ -29,8 +29,8 @@ class Netstat(plugins.PluginInterface): description="Kernel module for the OS", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="macutils", component=mac.MacUtilities, version=(1, 0, 0) diff --git a/volatility3/framework/plugins/mac/proc_maps.py b/volatility3/framework/plugins/mac/proc_maps.py index bd905615d..87f3559ea 100644 --- a/volatility3/framework/plugins/mac/proc_maps.py +++ b/volatility3/framework/plugins/mac/proc_maps.py @@ -28,8 +28,8 @@ class Maps(interfaces.plugins.PluginInterface): description="Kernel module for the OS", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/mac/psaux.py b/volatility3/framework/plugins/mac/psaux.py index 28c238263..ba9b7b5f6 100644 --- a/volatility3/framework/plugins/mac/psaux.py +++ b/volatility3/framework/plugins/mac/psaux.py @@ -24,8 +24,8 @@ class Psaux(plugins.PluginInterface): description="Kernel module for the OS", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/mac/pstree.py b/volatility3/framework/plugins/mac/pstree.py index ad5bb309b..260029b11 100644 --- a/volatility3/framework/plugins/mac/pstree.py +++ b/volatility3/framework/plugins/mac/pstree.py @@ -28,8 +28,8 @@ class PsTree(plugins.PluginInterface): description="Kernel module for the OS", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/mac/socket_filters.py b/volatility3/framework/plugins/mac/socket_filters.py index 49e77163e..2675ccdd0 100644 --- a/volatility3/framework/plugins/mac/socket_filters.py +++ b/volatility3/framework/plugins/mac/socket_filters.py @@ -32,8 +32,8 @@ class Socket_filters(plugins.PluginInterface): requirements.VersionRequirement( name="macutils", component=mac.MacUtilities, version=(1, 0, 0) ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + requirements.VersionRequirement( + name="lsmod", component=lsmod.Lsmod, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/mac/trustedbsd.py b/volatility3/framework/plugins/mac/trustedbsd.py index a03e2a903..3d76a018b 100644 --- a/volatility3/framework/plugins/mac/trustedbsd.py +++ b/volatility3/framework/plugins/mac/trustedbsd.py @@ -33,8 +33,8 @@ class Trustedbsd(plugins.PluginInterface): requirements.VersionRequirement( name="macutils", component=mac.MacUtilities, version=(1, 3, 0) ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + requirements.VersionRequirement( + name="lsmod", component=lsmod.Lsmod, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index 5920cd266..bea9cd8a1 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -231,8 +231,8 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index 7bc35945a..520dc8054 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -32,14 +32,14 @@ class Cachedump(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="lsadump", plugin=lsadump.Lsadump, version=(1, 0, 0) + requirements.VersionRequirement( + name="lsadump", component=lsadump.Lsadump, version=(1, 0, 0) ), - requirements.PluginRequirement( - name="hashdump", plugin=hashdump.Hashdump, version=(1, 1, 0) + requirements.VersionRequirement( + name="hashdump", component=hashdump.Hashdump, version=(1, 1, 0) ), ] diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index bb326fd41..bcdd37869 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -38,17 +38,17 @@ class Callbacks(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) + requirements.VersionRequirement( + name="ssdt", component=ssdt.SSDT, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(3, 0, 0) + requirements.VersionRequirement( + name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), - requirements.PluginRequirement( - name="driverirp", plugin=driverirp.DriverIrp, version=(1, 0, 0) + requirements.VersionRequirement( + name="driverirp", component=driverirp.DriverIrp, version=(1, 0, 0) ), - requirements.PluginRequirement( - name="handles", plugin=handles.Handles, version=(3, 0, 0) + requirements.VersionRequirement( + name="handles", component=handles.Handles, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/cmdline.py b/volatility3/framework/plugins/windows/cmdline.py index c095cff9e..733b06605 100644 --- a/volatility3/framework/plugins/windows/cmdline.py +++ b/volatility3/framework/plugins/windows/cmdline.py @@ -27,8 +27,8 @@ class CmdLine(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index b7eab79fb..8c477b57d 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -38,8 +38,8 @@ class CmdScan(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), - requirements.PluginRequirement( - name="consoles", plugin=consoles.Consoles, version=(3, 0, 0) + requirements.VersionRequirement( + name="consoles", component=consoles.Consoles, version=(3, 0, 0) ), requirements.BooleanRequirement( name="no_registry", diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index a63b044d9..5a36cc796 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -48,8 +48,8 @@ class Consoles(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="verinfo", component=verinfo.VerInfo, version=(1, 0, 0) ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), requirements.BooleanRequirement( name="no_registry", diff --git a/volatility3/framework/plugins/windows/deskscan.py b/volatility3/framework/plugins/windows/deskscan.py index 6a8ff9e65..35430be5d 100644 --- a/volatility3/framework/plugins/windows/deskscan.py +++ b/volatility3/framework/plugins/windows/deskscan.py @@ -31,12 +31,12 @@ class DeskScan(desktops.Desktops): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="desktops", plugin=desktops.Desktops, version=(1, 0, 0) + requirements.VersionRequirement( + name="desktops", component=desktops.Desktops, version=(1, 0, 0) ), - requirements.PluginRequirement( + requirements.VersionRequirement( name="windowstations", - plugin=windowstations.WindowStations, + component=windowstations.WindowStations, version=(1, 0, 0), ), ] diff --git a/volatility3/framework/plugins/windows/desktops.py b/volatility3/framework/plugins/windows/desktops.py index 1085ff36d..c6557085e 100644 --- a/volatility3/framework/plugins/windows/desktops.py +++ b/volatility3/framework/plugins/windows/desktops.py @@ -31,9 +31,9 @@ class Desktops(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( + requirements.VersionRequirement( name="windowstations", - plugin=windowstations.WindowStations, + component=windowstations.WindowStations, version=(1, 0, 0), ), ] diff --git a/volatility3/framework/plugins/windows/devicetree.py b/volatility3/framework/plugins/windows/devicetree.py index 012a8750d..17ec1c451 100644 --- a/volatility3/framework/plugins/windows/devicetree.py +++ b/volatility3/framework/plugins/windows/devicetree.py @@ -89,8 +89,8 @@ class DeviceTree(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="driverscan", plugin=driverscan.DriverScan, version=(2, 0, 0) + requirements.VersionRequirement( + name="driverscan", component=driverscan.DriverScan, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index 9d5b81507..60dbf728c 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -91,14 +91,14 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) ), - requirements.PluginRequirement( - name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) + requirements.VersionRequirement( + name="yarascan", component=yarascan.YaraScan, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/driverirp.py b/volatility3/framework/plugins/windows/driverirp.py index 20d8ac170..d5452fa9c 100644 --- a/volatility3/framework/plugins/windows/driverirp.py +++ b/volatility3/framework/plugins/windows/driverirp.py @@ -58,14 +58,14 @@ class DriverIrp(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) + requirements.VersionRequirement( + name="ssdt", component=ssdt.SSDT, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="driverscan", plugin=driverscan.DriverScan, version=(2, 0, 0) + requirements.VersionRequirement( + name="driverscan", component=driverscan.DriverScan, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(3, 0, 0) + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/drivermodule.py b/volatility3/framework/plugins/windows/drivermodule.py index 97e9e5b3c..c31fe2500 100644 --- a/volatility3/framework/plugins/windows/drivermodule.py +++ b/volatility3/framework/plugins/windows/drivermodule.py @@ -25,14 +25,14 @@ class DriverModule(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) + requirements.VersionRequirement( + name="ssdt", component=ssdt.SSDT, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="driverscan", plugin=driverscan.DriverScan, version=(2, 0, 0) + requirements.VersionRequirement( + name="driverscan", component=driverscan.DriverScan, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(3, 0, 0) + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/driverscan.py b/volatility3/framework/plugins/windows/driverscan.py index 57edfe0b6..e19ff555b 100644 --- a/volatility3/framework/plugins/windows/driverscan.py +++ b/volatility3/framework/plugins/windows/driverscan.py @@ -24,8 +24,8 @@ class DriverScan(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(3, 0, 0) + requirements.VersionRequirement( + name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/envars.py b/volatility3/framework/plugins/windows/envars.py index 6360ca10b..6c07e797f 100644 --- a/volatility3/framework/plugins/windows/envars.py +++ b/volatility3/framework/plugins/windows/envars.py @@ -39,11 +39,11 @@ class Envars(interfaces.plugins.PluginInterface): description="Suppress common and non-persistent variables", optional=True, ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/filescan.py b/volatility3/framework/plugins/windows/filescan.py index e0c823756..f417e3e5e 100644 --- a/volatility3/framework/plugins/windows/filescan.py +++ b/volatility3/framework/plugins/windows/filescan.py @@ -24,8 +24,8 @@ class FileScan(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(3, 0, 0) + requirements.VersionRequirement( + name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/getservicesids.py b/volatility3/framework/plugins/windows/getservicesids.py index 19a73fba8..c04472eab 100644 --- a/volatility3/framework/plugins/windows/getservicesids.py +++ b/volatility3/framework/plugins/windows/getservicesids.py @@ -68,8 +68,8 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/getsids.py b/volatility3/framework/plugins/windows/getsids.py index 786dc3394..27894646e 100644 --- a/volatility3/framework/plugins/windows/getsids.py +++ b/volatility3/framework/plugins/windows/getsids.py @@ -83,11 +83,11 @@ class GetSIDs(interfaces.plugins.PluginInterface): element_type=int, optional=True, ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 9627b5caa..2f257772f 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -35,8 +35,8 @@ class Handles(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="psscan", component=psscan.PsScan, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index 68d5f834a..630aa1cfd 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -33,8 +33,8 @@ class Hashdump(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/indirect_system_calls.py b/volatility3/framework/plugins/windows/indirect_system_calls.py index 9f3fc4359..26216d2c3 100644 --- a/volatility3/framework/plugins/windows/indirect_system_calls.py +++ b/volatility3/framework/plugins/windows/indirect_system_calls.py @@ -46,12 +46,12 @@ class IndirectSystemCalls(direct_system_calls.DirectSystemCalls): requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) ), - requirements.PluginRequirement( - name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) + requirements.VersionRequirement( + name="yarascan", component=yarascan.YaraScan, version=(2, 0, 0) ), - requirements.PluginRequirement( + requirements.VersionRequirement( name="direct_system_calls", - plugin=direct_system_calls.DirectSystemCalls, + component=direct_system_calls.DirectSystemCalls, version=(2, 0, 0), ), ] diff --git a/volatility3/framework/plugins/windows/memmap.py b/volatility3/framework/plugins/windows/memmap.py index 5a7bd1b9a..af4564259 100644 --- a/volatility3/framework/plugins/windows/memmap.py +++ b/volatility3/framework/plugins/windows/memmap.py @@ -27,8 +27,8 @@ class Memmap(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.IntRequirement( name="pid", diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 2c5827a25..06d397010 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -333,8 +333,8 @@ class ADS(interfaces.plugins.PluginInterface): @classmethod def get_requirements(cls): return [ - requirements.PluginRequirement( - name="MFTScan", plugin=MFTScan, version=(2, 0, 0) + requirements.VersionRequirement( + name="MFTScan", component=MFTScan, version=(2, 0, 0) ), requirements.TranslationLayerRequirement( name="primary", @@ -403,8 +403,8 @@ class ResidentData(interfaces.plugins.PluginInterface): @classmethod def get_requirements(cls): return [ - requirements.PluginRequirement( - name="MFTScan", plugin=MFTScan, version=(2, 0, 0) + requirements.VersionRequirement( + name="MFTScan", component=MFTScan, version=(2, 0, 0) ), requirements.TranslationLayerRequirement( name="primary", diff --git a/volatility3/framework/plugins/windows/mutantscan.py b/volatility3/framework/plugins/windows/mutantscan.py index 38685677a..ba2824bfc 100644 --- a/volatility3/framework/plugins/windows/mutantscan.py +++ b/volatility3/framework/plugins/windows/mutantscan.py @@ -24,8 +24,8 @@ class MutantScan(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(3, 0, 0) + requirements.VersionRequirement( + name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py index 151fe88c9..5f26ae757 100644 --- a/volatility3/framework/plugins/windows/orphan_kernel_threads.py +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -33,14 +33,14 @@ class Threads(thrdscan.ThrdScan): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 1, 0) + requirements.VersionRequirement( + name="thrdscan", component=thrdscan.ThrdScan, version=(1, 1, 0) ), - requirements.PluginRequirement( - name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) + requirements.VersionRequirement( + name="ssdt", component=ssdt.SSDT, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(3, 0, 0) + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 1f29a3aed..975ed2326 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -139,8 +139,8 @@ class PoolScanner(plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="handles", plugin=handles.Handles, version=(3, 0, 0) + requirements.VersionRequirement( + name="handles", component=handles.Handles, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/privileges.py b/volatility3/framework/plugins/windows/privileges.py index e41915442..6bc59bab6 100644 --- a/volatility3/framework/plugins/windows/privileges.py +++ b/volatility3/framework/plugins/windows/privileges.py @@ -60,8 +60,8 @@ class Privs(interfaces.plugins.PluginInterface): element_type=int, optional=True, ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index 99fa9640b..07f026c7c 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -33,8 +33,8 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="info", component=info.Info, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/registry/getcellroutine.py b/volatility3/framework/plugins/windows/registry/getcellroutine.py index 5be4254ba..5f3b1dcaa 100644 --- a/volatility3/framework/plugins/windows/registry/getcellroutine.py +++ b/volatility3/framework/plugins/windows/registry/getcellroutine.py @@ -27,11 +27,11 @@ class GetCellRoutine(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) + requirements.VersionRequirement( + name="ssdt", component=ssdt.SSDT, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/registry/hivelist.py b/volatility3/framework/plugins/windows/registry/hivelist.py index fefd24b67..ec2fbc4c7 100644 --- a/volatility3/framework/plugins/windows/registry/hivelist.py +++ b/volatility3/framework/plugins/windows/registry/hivelist.py @@ -60,8 +60,8 @@ class HiveList(interfaces.plugins.PluginInterface): optional=True, default=None, ), - requirements.PluginRequirement( - name="hivescan", plugin=hivescan.HiveScan, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivescan", component=hivescan.HiveScan, version=(2, 0, 0) ), requirements.BooleanRequirement( name="dump", diff --git a/volatility3/framework/plugins/windows/registry/hivescan.py b/volatility3/framework/plugins/windows/registry/hivescan.py index 10843f8ab..2ebc52f53 100644 --- a/volatility3/framework/plugins/windows/registry/hivescan.py +++ b/volatility3/framework/plugins/windows/registry/hivescan.py @@ -25,11 +25,11 @@ class HiveScan(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(3, 0, 0) + requirements.VersionRequirement( + name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), - requirements.PluginRequirement( - name="bigpools", plugin=bigpools.BigPools, version=(2, 0, 0) + requirements.VersionRequirement( + name="bigpools", component=bigpools.BigPools, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index c8b8f9cfb..6ca56b1bb 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -35,8 +35,8 @@ class PrintKey(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), requirements.IntRequirement( name="offset", description="Hive Offset", default=None, optional=True diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index ef51b91bf..7beeb7375 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -56,8 +56,8 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac requirements.IntRequirement( name="offset", description="Hive Offset", default=None, optional=True ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index ba54e19ec..951ac6e80 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -1123,8 +1123,8 @@ information about triggers, actions, run times, and creation times.""" description="Windows kernel", architectures=["Intel33", "Intel64"], ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/sessions.py b/volatility3/framework/plugins/windows/sessions.py index 73a537cd4..a21fa578d 100644 --- a/volatility3/framework/plugins/windows/sessions.py +++ b/volatility3/framework/plugins/windows/sessions.py @@ -27,8 +27,8 @@ class Sessions(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index f26bf3d6b..eb2eb686b 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -64,8 +64,8 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/ssdt.py b/volatility3/framework/plugins/windows/ssdt.py index ed7d1310d..b4fa39950 100644 --- a/volatility3/framework/plugins/windows/ssdt.py +++ b/volatility3/framework/plugins/windows/ssdt.py @@ -31,8 +31,8 @@ class SSDT(plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(3, 0, 0) + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/strings.py b/volatility3/framework/plugins/windows/strings.py index 46784e48a..9ea4ffed0 100644 --- a/volatility3/framework/plugins/windows/strings.py +++ b/volatility3/framework/plugins/windows/strings.py @@ -33,8 +33,8 @@ class Strings(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index 00d4aa647..4a310c669 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -31,8 +31,8 @@ class SvcList(svcscan.SvcScan): def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: # Since we're calling the plugin, make sure we have the plugin's requirements return [ - requirements.PluginRequirement( - name="svcscan", plugin=svcscan.SvcScan, version=(4, 0, 0) + requirements.VersionRequirement( + name="svcscan", component=svcscan.SvcScan, version=(4, 0, 0) ), requirements.ModuleRequirement( name="kernel", diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 80400ec5a..94ce02897 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -50,11 +50,11 @@ class SvcScan(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 369db1fd8..5ba12736b 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -33,8 +33,8 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="poolscanner", plugin=poolscanner.PoolScanner, version=(3, 0, 0) + requirements.VersionRequirement( + name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index 77062e8c6..789300306 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -31,8 +31,8 @@ class Threads(thrdscan.ThrdScan): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="thrdscan", plugin=thrdscan.ThrdScan, version=(1, 1, 0) + requirements.VersionRequirement( + name="thrdscan", component=thrdscan.ThrdScan, version=(1, 1, 0) ), ] diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index 132cf4e4f..3ff0aa158 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -97,8 +97,8 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), - requirements.PluginRequirement( - name="pe_symbols", plugin=pe_symbols.PESymbols, version=(3, 0, 0) + requirements.VersionRequirement( + name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 2b1d3f4bc..22d42505f 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -63,8 +63,8 @@ class VadInfo(interfaces.plugins.PluginInterface): element_type=int, optional=True, ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.BooleanRequirement( name="dump", diff --git a/volatility3/framework/plugins/windows/vadregexscan.py b/volatility3/framework/plugins/windows/vadregexscan.py index 5d2356f54..9b666cbcb 100644 --- a/volatility3/framework/plugins/windows/vadregexscan.py +++ b/volatility3/framework/plugins/windows/vadregexscan.py @@ -32,8 +32,8 @@ class VadRegExScan(plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/windows/vadwalk.py b/volatility3/framework/plugins/windows/vadwalk.py index cc8105e0c..38b5d197e 100644 --- a/volatility3/framework/plugins/windows/vadwalk.py +++ b/volatility3/framework/plugins/windows/vadwalk.py @@ -28,11 +28,11 @@ class VadWalk(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), - requirements.PluginRequirement( - name="vadinfo", plugin=vadinfo.VadInfo, version=(2, 0, 0) + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index a19206e22..b86869969 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -29,14 +29,14 @@ class VadYaraScan(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="yarascan", plugin=yarascan.YaraScan, version=(2, 0, 0) + requirements.VersionRequirement( + name="yarascan", component=yarascan.YaraScan, version=(2, 0, 0) ), requirements.ListRequirement( name="pid", diff --git a/volatility3/framework/plugins/windows/verinfo.py b/volatility3/framework/plugins/windows/verinfo.py index 49bf0b212..b5eba7ec6 100644 --- a/volatility3/framework/plugins/windows/verinfo.py +++ b/volatility3/framework/plugins/windows/verinfo.py @@ -42,11 +42,11 @@ class VerInfo(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(3, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) ), - requirements.PluginRequirement( - name="modules", plugin=modules.Modules, version=(3, 0, 0) + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(3, 0, 0) ), requirements.BooleanRequirement( name="extensive", diff --git a/volatility3/plugins/windows/registry/certificates.py b/volatility3/plugins/windows/registry/certificates.py index fd33d75a7..caf244f95 100644 --- a/volatility3/plugins/windows/registry/certificates.py +++ b/volatility3/plugins/windows/registry/certificates.py @@ -24,11 +24,11 @@ class Certificates(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="hivelist", plugin=hivelist.HiveList, version=(2, 0, 0) + requirements.VersionRequirement( + name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="printkey", plugin=printkey.PrintKey, version=(1, 0, 0) + requirements.VersionRequirement( + name="printkey", component=printkey.PrintKey, version=(1, 0, 0) ), requirements.BooleanRequirement( name="dump", From 3153cd7e30dd7444eb6e35be9f4ed35bc4febc8f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 24 Mar 2025 19:21:51 +0000 Subject: [PATCH 1693/2186] Remove the chainmap and multiple dictionaries to reduce memory consumption --- volatility3/framework/interfaces/objects.py | 12 ++++++------ volatility3/framework/renderers/__init__.py | 7 +++++-- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 7317469f1..8419f9d4d 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -133,8 +133,10 @@ class ObjectInterface(metaclass=abc.ABCMeta): mask = context.layers[object_info.layer_name].address_mask normalized_offset = object_info.offset & mask + self._vol = kwargs vol_info_dict = {"type_name": type_name, "offset": normalized_offset} - self._vol = collections.ChainMap({}, vol_info_dict, object_info, kwargs) + self._vol.update(object_info) + self._vol.update(vol_info_dict) self._context = context def __getattr__(self, attr: str) -> Any: @@ -317,10 +319,8 @@ class Template: """Stores the keyword arguments for later object creation.""" # Allow the updating of template arguments whilst still in template form super().__init__() - empty_dict: Dict[str, Any] = {} - self._vol = collections.ChainMap( - empty_dict, arguments, {"type_name": type_name} - ) + self._vol = {"type_name": type_name} + self._vol.update(arguments) @property def vol(self) -> ReadOnlyMapping: @@ -364,7 +364,7 @@ class Template: def clone(self) -> "Template": """Returns a copy of the original Template as constructed (without `update_vol` additions having been made)""" - clone = self.__class__(**self._vol.parents.new_child()) + clone = self.__class__(**self._vol) return clone def update_vol(self, **new_arguments) -> None: diff --git a/volatility3/framework/renderers/__init__.py b/volatility3/framework/renderers/__init__.py index 093edf8cc..cc3129e87 100644 --- a/volatility3/framework/renderers/__init__.py +++ b/volatility3/framework/renderers/__init__.py @@ -61,7 +61,7 @@ class TreeNode(interfaces.renderers.TreeNode): self._treegrid = treegrid self._parent = parent self._path = path - self._validate_values(values) + validated_values = self._validate_values(values) self._values = treegrid.RowStructure(*values) # type: ignore def __repr__(self) -> str: @@ -73,9 +73,12 @@ class TreeNode(interfaces.renderers.TreeNode): def __len__(self) -> int: return len(self._treegrid.children(self)) - def _validate_values(self, values: List[interfaces.renderers.BaseTypes]) -> None: + def _validate_values( + self, values: List[interfaces.renderers.BaseTypes] + ) -> List[interfaces.renderers.BaseTypes]: """A function for raising exceptions if a given set of values is invalid according to the column properties.""" + new_values = () if not ( isinstance(values, collections.abc.Sequence) and len(values) == len(self._treegrid.columns) From f80b207aabcb56ace8a803594840c0f74fb28b24 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 24 Mar 2025 20:36:25 +0100 Subject: [PATCH 1694/2186] download symbols_win-10_19041-2025_03.zip --- .github/workflows/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 336ca48f3..2e894f24a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -38,8 +38,9 @@ jobs: - name: Download and Extract symbols run: | cd ./volatility3/symbols - curl -sLO https://downloads.volatilityfoundation.org/volatility3/symbols/linux.zip + curl -sLO https://downloads.volatilityfoundation.org/volatility3/symbols/linux.zip https://downloads.volatilityfoundation.org/volatility3/symbols/symbols_win-10_19041-2025_03.zip unzip linux.zip + unzip symbols_win-10_19041-2025_03.zip cd - - name: Testing... From 166d0e0c14974419ad1d60448819d67492466d96 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 24 Mar 2025 19:37:59 +0000 Subject: [PATCH 1695/2186] Fix issue when pe_symbols limited to searching one process. Remove need to track symbol indexes. Provide much more useful debugging information. Fixes #1732 --- .../framework/plugins/windows/pe_symbols.py | 45 +++++++++++++------ 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index b26e8d113..1ce40e1f8 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -229,7 +229,6 @@ class ExportSymbolFinder(PESymbolFinder): Returns: address: the address of the symbol, if found """ - for export in self._symbol_module: sym_name = self._get_name(export) if sym_name and sym_name == name: @@ -413,8 +412,10 @@ class PESymbols(interfaces.plugins.PluginInterface): ) for mod_name, unresolved_symbols in missing_symbols.items(): - for symbol in unresolved_symbols: - vollog.debug(f"Unable to resolve symbol {symbol} in module {mod_name}") + for symbol_key, symbols in unresolved_symbols.items(): + vollog.debug( + f"Unable to resolve symbols {symbols} of type {symbol_key} in module {mod_name}" + ) return found_symbols @@ -632,7 +633,7 @@ class PESymbols(interfaces.plugins.PluginInterface): def _get_symbol_value( wanted_symbols: filter_module_info, symbol_resolver: PESymbolFinder, - ) -> Generator[Tuple[str, int, str, int], None, None]: + ) -> Generator[Tuple[str, str, int], None, None]: """ Enumerates the symbols specified as wanted by the calling plugin @@ -661,15 +662,25 @@ class PESymbols(interfaces.plugins.PluginInterface): # address or name if symbol_key in wanted_symbols: # walk each wanted address or name - for value_index, wanted_value in enumerate(wanted_symbols[symbol_key]): - symbol_value = symbol_getter(wanted_value) + # build dict in this function for debugging and tracking + all_wanted = [] + for wanted_value in wanted_symbols[symbol_key]: + all_wanted.append(wanted_value) + + for value_index, wanted_value in enumerate(all_wanted): + symbol_value = symbol_getter(wanted_value) if symbol_value: # yield out deleteion key, deletion index, symbol name, symbol address if symbol_key == wanted_names_identifier: - yield symbol_key, value_index, wanted_value, symbol_value # type: ignore + yield symbol_key, wanted_value, symbol_value # type: ignore else: - yield symbol_key, value_index, symbol_value, wanted_value # type: ignore + yield symbol_key, symbol_value, wanted_value # type: ignore + + for value in all_wanted: + vollog.debug( + f"Unable to resolve value {value} using getter {symbol_getter}" + ) @classmethod def _validate_wanted_modules( @@ -742,7 +753,7 @@ class PESymbols(interfaces.plugins.PluginInterface): PESymbols._find_symbols_through_exports, ] - found: found_symbols_module = [] + found_symbols: found_symbols_module = [] # the symbols wanted from this module by the caller wanted = wanted_modules[mod_name] @@ -760,12 +771,17 @@ class PESymbols(interfaces.plugins.PluginInterface): vollog.debug(f"Have resolver for method {method}") for ( symbol_key, - value_index, symbol_name, symbol_address, ) in PESymbols._get_symbol_value(remaining, symbol_resolver): - found.append((symbol_name, symbol_address)) - del remaining[symbol_key][value_index] + found_symbols.append((symbol_name, symbol_address)) + + if symbol_key == wanted_names_identifier: + to_remove = symbol_name + else: + to_remove = symbol_address + + remaining[symbol_key].remove(to_remove) # everything was resolved, stop this resolver # remove this key from the remaining symbols to resolve @@ -781,7 +797,7 @@ class PESymbols(interfaces.plugins.PluginInterface): if done_processing: break - return found, remaining + return found_symbols, remaining @classmethod def find_symbols( @@ -970,7 +986,8 @@ class PESymbols(interfaces.plugins.PluginInterface): Generator[Tuple[interfaces.objects.ObjectInterface, str, ranges_type]]: Yields tuple of process objects, layers, and VADs mapping files """ procs = pslist.PsList.list_processes( - context=context, kernel_module_name=kernel_module_name + context=context, + kernel_module_name=kernel_module_name, ) for proc in procs: From 6a28d1432fba67b854ca2ffc158662d89b12b4f6 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 24 Mar 2025 20:39:44 +0100 Subject: [PATCH 1696/2186] adjust curl cmds --- .github/workflows/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2e894f24a..56d671102 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -38,7 +38,8 @@ jobs: - name: Download and Extract symbols run: | cd ./volatility3/symbols - curl -sLO https://downloads.volatilityfoundation.org/volatility3/symbols/linux.zip https://downloads.volatilityfoundation.org/volatility3/symbols/symbols_win-10_19041-2025_03.zip + curl -sLO https://downloads.volatilityfoundation.org/volatility3/symbols/linux.zip + curl -sLO https://downloads.volatilityfoundation.org/volatility3/symbols/symbols_win-10_19041-2025_03.zip unzip linux.zip unzip symbols_win-10_19041-2025_03.zip cd - From 8610c681aba380b7f77ddcce9ed22e716e10b7f5 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 24 Mar 2025 22:33:25 +0000 Subject: [PATCH 1697/2186] Restore the chainmap, since we need it for cloning --- volatility3/framework/interfaces/objects.py | 50 ++++++++++++++++----- volatility3/framework/renderers/__init__.py | 7 +-- 2 files changed, 41 insertions(+), 16 deletions(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 8419f9d4d..995a5f29b 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -54,7 +54,7 @@ class ReadOnlyMapping(collections.abc.Mapping): return dict(self) == dict(other) -class ObjectInformation(ReadOnlyMapping): +class ObjectInformation(collections.abc.Mapping): """Contains common information useful/pertinent only to an individual object (like an instance) @@ -65,7 +65,14 @@ class ObjectInformation(ReadOnlyMapping): in a single place. These values are based on the :class:`ReadOnlyMapping` class, to prevent their modification. """ - __slots__ = () + __slots__ = ( + "layer_name", + "offset", + "member_name", + "parent", + "native_layer_name", + "size", + ) def __init__( self, @@ -86,17 +93,36 @@ class ObjectInformation(ReadOnlyMapping): native_layer_name: If this object references other objects (such as a pointer), what layer those objects live in size: The size that the whole structure consumes in bytes """ - super().__init__( - { - "layer_name": layer_name, - "offset": offset, - "member_name": member_name, - "parent": parent, - "native_layer_name": native_layer_name or layer_name, - "size": size, - } + self.layer_name = layer_name + self.offset = offset + self.member_name = member_name + self.parent = parent + self.native_layer_name = native_layer_name or layer_name + self.size = size + + def __getattr__(self, attr: str) -> Any: + """Returns the item as an attribute.""" + if attr in self.__slots__: + return getattr(self, attr) + raise AttributeError( + f"Object has no attribute: {self.__class__.__name__}.{attr}" ) + def __getitem__(self, name: str) -> Any: + """Returns the item requested.""" + return getattr(self, name) + + def __iter__(self): + """Returns an iterator of the dictionary items.""" + return self.__slots__.__iter__() + + def __len__(self) -> int: + """Returns the length of the internal dictionary.""" + return len(self.__slots__) + + def __eq__(self, other): + return dict(self) == dict(other) + class ObjectInterface(metaclass=abc.ABCMeta): """A base object required to be the ancestor of every object used in @@ -137,6 +163,7 @@ class ObjectInterface(metaclass=abc.ABCMeta): vol_info_dict = {"type_name": type_name, "offset": normalized_offset} self._vol.update(object_info) self._vol.update(vol_info_dict) + self._vol = collections.ChainMap({}, self._vol) self._context = context def __getattr__(self, attr: str) -> Any: @@ -321,6 +348,7 @@ class Template: super().__init__() self._vol = {"type_name": type_name} self._vol.update(arguments) + self._vol = collections.ChainMap({}, self._vol) @property def vol(self) -> ReadOnlyMapping: diff --git a/volatility3/framework/renderers/__init__.py b/volatility3/framework/renderers/__init__.py index cc3129e87..093edf8cc 100644 --- a/volatility3/framework/renderers/__init__.py +++ b/volatility3/framework/renderers/__init__.py @@ -61,7 +61,7 @@ class TreeNode(interfaces.renderers.TreeNode): self._treegrid = treegrid self._parent = parent self._path = path - validated_values = self._validate_values(values) + self._validate_values(values) self._values = treegrid.RowStructure(*values) # type: ignore def __repr__(self) -> str: @@ -73,12 +73,9 @@ class TreeNode(interfaces.renderers.TreeNode): def __len__(self) -> int: return len(self._treegrid.children(self)) - def _validate_values( - self, values: List[interfaces.renderers.BaseTypes] - ) -> List[interfaces.renderers.BaseTypes]: + def _validate_values(self, values: List[interfaces.renderers.BaseTypes]) -> None: """A function for raising exceptions if a given set of values is invalid according to the column properties.""" - new_values = () if not ( isinstance(values, collections.abc.Sequence) and len(values) == len(self._treegrid.columns) From 0ea5d795fdfbe3f562d6d04fde5a6192de29003b Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 24 Mar 2025 22:36:12 +0000 Subject: [PATCH 1698/2186] Fix ruff issue --- volatility3/framework/interfaces/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 995a5f29b..93c0ac16f 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -8,7 +8,7 @@ import collections import collections.abc import contextlib import logging -from typing import Any, Dict, List, Mapping, Optional +from typing import Any, List, Mapping, Optional from volatility3.framework import constants, interfaces From 62d1d818b3f751534baae6b2fbc0a063e43d183c Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 24 Mar 2025 22:40:14 +0000 Subject: [PATCH 1699/2186] Restore use of ChainMap as well --- volatility3/framework/interfaces/objects.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 93c0ac16f..e1d36abb4 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -346,9 +346,8 @@ class Template: """Stores the keyword arguments for later object creation.""" # Allow the updating of template arguments whilst still in template form super().__init__() - self._vol = {"type_name": type_name} - self._vol.update(arguments) - self._vol = collections.ChainMap({}, self._vol) + vol = {"type_name": type_name}.update(arguments) + self._vol = collections.ChainMap({}, vol) @property def vol(self) -> ReadOnlyMapping: @@ -392,7 +391,7 @@ class Template: def clone(self) -> "Template": """Returns a copy of the original Template as constructed (without `update_vol` additions having been made)""" - clone = self.__class__(**self._vol) + clone = self.__class__(**self._vol.parents.new_child()) return clone def update_vol(self, **new_arguments) -> None: From 292ed6aeb46ff9bbbfbd0a8f73460bebf21f32b7 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 24 Mar 2025 22:41:52 +0000 Subject: [PATCH 1700/2186] Try to avoid variables changing types --- volatility3/framework/interfaces/objects.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index e1d36abb4..d6ad47bec 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -159,11 +159,11 @@ class ObjectInterface(metaclass=abc.ABCMeta): mask = context.layers[object_info.layer_name].address_mask normalized_offset = object_info.offset & mask - self._vol = kwargs + vol = kwargs vol_info_dict = {"type_name": type_name, "offset": normalized_offset} - self._vol.update(object_info) - self._vol.update(vol_info_dict) - self._vol = collections.ChainMap({}, self._vol) + vol.update(object_info) + vol.update(vol_info_dict) + self._vol = collections.ChainMap({}, vol) self._context = context def __getattr__(self, attr: str) -> Any: From 200746cbe6264e8e84b9b4ade0f9116b0848c45d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 24 Mar 2025 22:46:36 +0000 Subject: [PATCH 1701/2186] Fix silly usage of update --- volatility3/framework/interfaces/objects.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index d6ad47bec..7f4667b4e 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -346,7 +346,8 @@ class Template: """Stores the keyword arguments for later object creation.""" # Allow the updating of template arguments whilst still in template form super().__init__() - vol = {"type_name": type_name}.update(arguments) + vol = {"type_name": type_name} + vol.update(arguments) self._vol = collections.ChainMap({}, vol) @property From acfedd6d9cbbdca0a8058cec5cefc303455f591e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 24 Mar 2025 23:23:22 +0000 Subject: [PATCH 1702/2186] Sets slots to none has no effect on memory as long as __dict__ isn't instanciated --- volatility3/framework/interfaces/objects.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 7f4667b4e..e77a5893c 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -128,8 +128,6 @@ class ObjectInterface(metaclass=abc.ABCMeta): """A base object required to be the ancestor of every object used in volatility.""" - __slots__ = () - def __init__( self, context: "interfaces.context.ContextInterface", From a013170a2d2c22d48ae0f90354640b19117b5cd2 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 24 Mar 2025 23:58:45 +0000 Subject: [PATCH 1703/2186] Slotting has little effect, so don't change so much --- volatility3/framework/interfaces/objects.py | 54 +++++---------------- 1 file changed, 11 insertions(+), 43 deletions(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index e77a5893c..b7ea616c7 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -8,7 +8,7 @@ import collections import collections.abc import contextlib import logging -from typing import Any, List, Mapping, Optional +from typing import Any, Dict, List, Mapping, Optional from volatility3.framework import constants, interfaces @@ -23,8 +23,6 @@ class ReadOnlyMapping(collections.abc.Mapping): modified, making an immutable mapping. """ - __slots__ = ("_dict",) - def __init__(self, dictionary: Mapping[str, Any]) -> None: self._dict = dictionary @@ -54,7 +52,7 @@ class ReadOnlyMapping(collections.abc.Mapping): return dict(self) == dict(other) -class ObjectInformation(collections.abc.Mapping): +class ObjectInformation(ReadOnlyMapping): """Contains common information useful/pertinent only to an individual object (like an instance) @@ -65,15 +63,6 @@ class ObjectInformation(collections.abc.Mapping): in a single place. These values are based on the :class:`ReadOnlyMapping` class, to prevent their modification. """ - __slots__ = ( - "layer_name", - "offset", - "member_name", - "parent", - "native_layer_name", - "size", - ) - def __init__( self, layer_name: str, @@ -93,36 +82,17 @@ class ObjectInformation(collections.abc.Mapping): native_layer_name: If this object references other objects (such as a pointer), what layer those objects live in size: The size that the whole structure consumes in bytes """ - self.layer_name = layer_name - self.offset = offset - self.member_name = member_name - self.parent = parent - self.native_layer_name = native_layer_name or layer_name - self.size = size - - def __getattr__(self, attr: str) -> Any: - """Returns the item as an attribute.""" - if attr in self.__slots__: - return getattr(self, attr) - raise AttributeError( - f"Object has no attribute: {self.__class__.__name__}.{attr}" + super().__init__( + { + "layer_name": layer_name, + "offset": offset, + "member_name": member_name, + "parent": parent, + "native_layer_name": native_layer_name or layer_name, + "size": size, + } ) - def __getitem__(self, name: str) -> Any: - """Returns the item requested.""" - return getattr(self, name) - - def __iter__(self): - """Returns an iterator of the dictionary items.""" - return self.__slots__.__iter__() - - def __len__(self) -> int: - """Returns the length of the internal dictionary.""" - return len(self.__slots__) - - def __eq__(self, other): - return dict(self) == dict(other) - class ObjectInterface(metaclass=abc.ABCMeta): """A base object required to be the ancestor of every object used in @@ -338,8 +308,6 @@ class Template: constructed at resolution time and then cached. """ - __slots__ = "_vol" - def __init__(self, type_name: str, **arguments) -> None: """Stores the keyword arguments for later object creation.""" # Allow the updating of template arguments whilst still in template form From de11e87f28661f8b30d7d2c38ea8480461a0536c Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 25 Mar 2025 00:08:07 +0000 Subject: [PATCH 1704/2186] Fix ruff error (again) --- volatility3/framework/interfaces/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index b7ea616c7..1bca7a045 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -8,7 +8,7 @@ import collections import collections.abc import contextlib import logging -from typing import Any, Dict, List, Mapping, Optional +from typing import Any, List, Mapping, Optional from volatility3.framework import constants, interfaces From 0f098fc160b18e0ac840c5da5159bb2e14d392cc Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 24 Mar 2025 20:13:10 -0500 Subject: [PATCH 1705/2186] Address feedback --- volatility3/framework/plugins/windows/pe_symbols.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 1ce40e1f8..3a08a1002 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -642,7 +642,7 @@ class PESymbols(interfaces.plugins.PluginInterface): symbol_resolver: method in a layer to resolve the symbols Returns: - Tuple[str, int, str, int]: the index and value of the found symbol in the wanted list, and the name and address of resolved symbol + Tuple[str, str, int]: the symbol identifier (key) of the found symbol in the wanted list, and the name and address of resolved symbol """ if ( wanted_names_identifier not in wanted_symbols @@ -673,9 +673,9 @@ class PESymbols(interfaces.plugins.PluginInterface): if symbol_value: # yield out deleteion key, deletion index, symbol name, symbol address if symbol_key == wanted_names_identifier: - yield symbol_key, wanted_value, symbol_value # type: ignore + yield symbol_key, wanted_value, symbol_value else: - yield symbol_key, symbol_value, wanted_value # type: ignore + yield symbol_key, symbol_value, wanted_value for value in all_wanted: vollog.debug( From 1a2427b54b312e3a3283b877915ae32664a00e68 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 24 Mar 2025 20:18:54 -0500 Subject: [PATCH 1706/2186] Change column order --- volatility3/framework/plugins/windows/processghosting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/processghosting.py b/volatility3/framework/plugins/windows/processghosting.py index 28af57053..023ee877a 100644 --- a/volatility3/framework/plugins/windows/processghosting.py +++ b/volatility3/framework/plugins/windows/processghosting.py @@ -187,10 +187,10 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): yield 0, ( pid, process_name, + format_hints.Hex(base_address), format_hints.Hex(file_object_address), delete_pending or renderers.NotApplicableValue(), delete_on_close or renderers.NotApplicableValue(), - format_hints.Hex(base_address), path, ) @@ -201,10 +201,10 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): [ ("PID", int), ("Process", str), + ("Base", format_hints.Hex), ("FILE_OBJECT", format_hints.Hex), ("DeletePending", int), ("DeleteOnClose", int), - ("Base", format_hints.Hex), ("Path", str), ], self._generator( From 3a4e622854708ebd0b8bb4bc48c57ceb2db61828 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 24 Mar 2025 20:19:59 -0500 Subject: [PATCH 1707/2186] Change pending checking and OS version --- volatility3/framework/plugins/windows/processghosting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/processghosting.py b/volatility3/framework/plugins/windows/processghosting.py index 023ee877a..6e91a72cd 100644 --- a/volatility3/framework/plugins/windows/processghosting.py +++ b/volatility3/framework/plugins/windows/processghosting.py @@ -99,7 +99,7 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: delete_pending = None - if delete_pending and delete_pending == 1: + if delete_pending == 1: yield file_object.vol.offset, delete_pending, None @classmethod @@ -158,7 +158,7 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): ) if not has_imagefilepointer: vollog.warning( - "ImageFilePointer checks are only supported on Windows 10 builds when the ImageFilePointer member of _EPROCESS is present" + "ImageFilePointer checks are only supported on Windows 10+ builds when the ImageFilePointer member of _EPROCESS is present" ) for proc in procs: From d70d8820a95e6ad3c973e63ffc6b6423c614ed71 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 25 Mar 2025 11:41:28 +0100 Subject: [PATCH 1708/2186] use winxp against scanner plugins (performances) --- test/plugins/windows/windows.py | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index fe2ea2d51..3ad9dc70d 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -60,7 +60,8 @@ class TestWindowsPslist: class TestWindowsPsscan: - def test_windows_generic_psscan(self, volatility, python, image): + def test_windows_specific_psscan(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( "windows.psscan.PsScan", image, volatility, python ) @@ -243,7 +244,8 @@ class TestWindowsSvcScan: class TestWindowsThrdscan: - def test_windows_generic_thrdscan(self, volatility, python, image): + def test_windows_specific_thrdscan(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( "windows.thrdscan.ThrdScan", image, volatility, python ) @@ -327,7 +329,8 @@ class TestWindowsEnvars: class TestWindowsCallbacks: - def test_windows_generic_callbacks(self, volatility, python, image): + def test_windows_specific_callbacks(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( "windows.callbacks.Callbacks", image, volatility, python ) @@ -359,7 +362,8 @@ class TestWindowsVadwalk: class TestWindowsDevicetree: - def test_windows_generic_devicetree(self, volatility, python, image): + def test_windows_specific_devicetree(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( "windows.devicetree.DeviceTree", image, volatility, python ) @@ -577,7 +581,8 @@ class TestWindowsCrashinfo: class TestWindowsDriverIrp: - def test_windows_generic_driverirp(self, volatility, python, image): + def test_windows_specific_driverirp(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( "windows.driverirp.DriverIrp", image, @@ -594,7 +599,8 @@ class TestWindowsDriverIrp: class TestWindowsDriverScan: - def test_windows_generic_driverscan(self, volatility, python, image): + def test_windows_specific_driverscan(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( "windows.driverscan.DriverScan", image, @@ -740,7 +746,8 @@ class TestWindowsKPCRs: class TestWindowsLdrModules: - def test_windows_generic_ldrmodules(self, volatility, python, image): + def test_windows_specific_ldrmodules(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( "windows.ldrmodules.LdrModules", image, From d753e8ecb6c070c9834cdf4e11ecfb6ac807bd29 Mon Sep 17 00:00:00 2001 From: ikelos Date: Tue, 25 Mar 2025 17:25:55 +0000 Subject: [PATCH 1709/2186] Update CODING_STYLE.md Thanks, my fingers don't work as well as they used to, so I appreciate you picking up typos like this! Co-authored-by: Donghyun Kim --- CODING_STYLE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODING_STYLE.md b/CODING_STYLE.md index 2f18959c8..8301eebc2 100644 --- a/CODING_STYLE.md +++ b/CODING_STYLE.md @@ -7,7 +7,7 @@ All code submissions will be vetted automatically through tests from both and th Code Linter: Ruff Code Formatter: Black -In additiom, there are some coding practices that we employ to prevent specific failure cases and ensure consistency across the codebase. These are documented below along with the rationale for the decision. +In addition, there are some coding practices that we employ to prevent specific failure cases and ensure consistency across the codebase. These are documented below along with the rationale for the decision. This is heavily based upon https://google.github.io/styleguide/pyguide.html with minor modifications for volatility use. From 5c2d646829b2806a3874ee3b5538c7c33127dd98 Mon Sep 17 00:00:00 2001 From: ikelos Date: Tue, 25 Mar 2025 17:27:06 +0000 Subject: [PATCH 1710/2186] Update CODING_STYLE.md Co-authored-by: Donghyun Kim --- CODING_STYLE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODING_STYLE.md b/CODING_STYLE.md index 8301eebc2..bf12288d3 100644 --- a/CODING_STYLE.md +++ b/CODING_STYLE.md @@ -81,7 +81,7 @@ Okay for one-liners. Prefer generator expressions over map() or filter() with a Default Arguments ----------------- -Default arguments are fine, but not with mutable types (because they're consructed once at module load time and can lead to confusion/errors.) +Default arguments are fine, but not with mutable types (because they're constructed once at module load time and can lead to confusion/errors.) True/False Evaluations ---------------------- From f0b6b0405fa98636579e25e27b23880215beea97 Mon Sep 17 00:00:00 2001 From: ikelos Date: Tue, 25 Mar 2025 17:27:31 +0000 Subject: [PATCH 1711/2186] Update CODING_STYLE.md Hehehe, good catch, thanks! 5:D Co-authored-by: Donghyun Kim --- CODING_STYLE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODING_STYLE.md b/CODING_STYLE.md index bf12288d3..700167258 100644 --- a/CODING_STYLE.md +++ b/CODING_STYLE.md @@ -66,7 +66,7 @@ Shared functionality -------------------- Within a plugin, there may be functions that are useful to other plugins. These are created as `classmethod`s so that the plugin can be depended upon by other plugins in their requirements section, without needing to instantiate a whole copy of the plugin. It is not a staticmethod, because the caller may wish to determine information about the class the method is defined in, and this is not easily accessible for staticmethods. -A classmethod usually takes a `context` for its first method (and if it requires one, a configuration string for it second). All other parameters should generally be basic types (such as strings, numbers, etc) so that future work requiring paralellization does not have complex types to have to keep in sync. In particular, the idea was to ensure only one context was used per method (and each object brings its own context with it, meaning the function signature should not include objects to avoid discrepancies). +A classmethod usually takes a `context` for its first method (and if it requires one, a configuration string for it second). All other parameters should generally be basic types (such as strings, numbers, etc) so that future work requiring parallelization does not have complex types to have to keep in sync. In particular, the idea was to ensure only one context was used per method (and each object brings its own context with it, meaning the function signature should not include objects to avoid discrepancies). Comprehensions -------------- From d5fc0502246609fb255c4222ae2f5208195e22bd Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 25 Mar 2025 17:25:07 -0500 Subject: [PATCH 1712/2186] Timeliner: add `VersionableInterface` superclass This adds `interfaces.configuration.VersionableInterface` as a superclass to `TimelinerInterface` in order to be consistent with other versioned interfaces such as `PluginInterface`. --- volatility3/framework/plugins/timeliner.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index 6000704eb..f65868705 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -25,10 +25,14 @@ class TimeLinerType(enum.IntEnum): CHANGED = 4 -class TimeLinerInterface(metaclass=abc.ABCMeta): +class TimeLinerInterface( + interfaces.configuration.VersionableInterface, metaclass=abc.ABCMeta +): """Interface defining methods that timeliner will use to generate a body file.""" + _version = (1, 0, 0) + @abc.abstractmethod def generate_timeline( self, From 66992a5d9ae8839aff8e35582a0216764315c4a4 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 25 Mar 2025 17:42:35 -0500 Subject: [PATCH 1713/2186] Requirements: Insert missing version requirements This audits the entire codebase for missing `VersionRequirements` and adds them as needed. --- volatility3/framework/plugins/linux/bash.py | 5 +++++ volatility3/framework/plugins/linux/boottime.py | 5 +++++ volatility3/framework/plugins/linux/lsof.py | 5 +++++ volatility3/framework/plugins/linux/pagecache.py | 5 +++++ volatility3/framework/plugins/linux/pslist.py | 5 +++++ volatility3/framework/plugins/mac/bash.py | 5 +++++ volatility3/framework/plugins/windows/amcache.py | 5 +++++ volatility3/framework/plugins/windows/consoles.py | 5 ++++- volatility3/framework/plugins/windows/dlllist.py | 5 +++++ volatility3/framework/plugins/windows/driverscan.py | 3 +++ volatility3/framework/plugins/windows/mftscan.py | 8 ++++++++ volatility3/framework/plugins/windows/netscan.py | 5 +++++ volatility3/framework/plugins/windows/netstat.py | 5 +++++ volatility3/framework/plugins/windows/processghosting.py | 3 +++ volatility3/framework/plugins/windows/pslist.py | 5 +++++ volatility3/framework/plugins/windows/psscan.py | 5 +++++ .../framework/plugins/windows/registry/userassist.py | 5 +++++ volatility3/framework/plugins/windows/scheduled_tasks.py | 5 +++++ volatility3/framework/plugins/windows/sessions.py | 5 +++++ volatility3/framework/plugins/windows/shimcachemem.py | 5 +++++ volatility3/framework/plugins/windows/svclist.py | 3 +++ volatility3/framework/plugins/windows/symlinkscan.py | 5 +++++ volatility3/framework/plugins/windows/thrdscan.py | 8 ++++++++ volatility3/framework/plugins/windows/threads.py | 3 +++ volatility3/framework/plugins/windows/unloadedmodules.py | 8 ++++++++ 25 files changed, 125 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/bash.py b/volatility3/framework/plugins/linux/bash.py index fd73b4df2..2a63ac329 100644 --- a/volatility3/framework/plugins/linux/bash.py +++ b/volatility3/framework/plugins/linux/bash.py @@ -35,6 +35,11 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(4, 0, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.ListRequirement( name="pid", element_type=int, diff --git a/volatility3/framework/plugins/linux/boottime.py b/volatility3/framework/plugins/linux/boottime.py index c1a75d478..0b9abb856 100644 --- a/volatility3/framework/plugins/linux/boottime.py +++ b/volatility3/framework/plugins/linux/boottime.py @@ -25,6 +25,11 @@ class Boottime(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) description="Linux kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(4, 0, 0) ), diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 8e0143584..283eabca0 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -123,6 +123,11 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(4, 0, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) ), diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 879bc3288..0bb3b9263 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -129,6 +129,11 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="mountinfo", component=mountinfo.MountInfo, version=(1, 2, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.ListRequirement( name="type", description="List of space-separated file type filters i.e. --type REG DIR", diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 8296c82fa..2f0cc00b7 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -53,6 +53,11 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): element_type=int, optional=True, ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.BooleanRequirement( name="threads", description="Include user threads", diff --git a/volatility3/framework/plugins/mac/bash.py b/volatility3/framework/plugins/mac/bash.py index aca0aea0c..4cbade1cf 100644 --- a/volatility3/framework/plugins/mac/bash.py +++ b/volatility3/framework/plugins/mac/bash.py @@ -33,6 +33,11 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.ListRequirement( name="pid", description="Filter on specific process IDs", diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index bea9cd8a1..4ac5554e0 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -234,6 +234,11 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), ] def generate_timeline( diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index 5a36cc796..8999e1bab 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -46,7 +46,10 @@ class Consoles(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="verinfo", component=verinfo.VerInfo, version=(1, 0, 0) + name="verinfo", component=verinfo.VerInfo, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="info", component=info.Info, version=(1, 0, 0) ), requirements.VersionRequirement( name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index b1c6f2f05..b851cf7fd 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -36,6 +36,11 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="psscan", component=psscan.PsScan, version=(2, 0, 0) ), diff --git a/volatility3/framework/plugins/windows/driverscan.py b/volatility3/framework/plugins/windows/driverscan.py index e19ff555b..57d365d00 100644 --- a/volatility3/framework/plugins/windows/driverscan.py +++ b/volatility3/framework/plugins/windows/driverscan.py @@ -27,6 +27,9 @@ class DriverScan(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(3, 0, 0) + ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 06d397010..74cadc833 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -32,9 +32,17 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): description="Memory layer for the kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) ), + requirements.VersionRequirement( + name="yarascan", component=yarascan.YaraScan, version=(2, 0, 0) + ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/netscan.py b/volatility3/framework/plugins/windows/netscan.py index 1ab748864..fa422e103 100644 --- a/volatility3/framework/plugins/windows/netscan.py +++ b/volatility3/framework/plugins/windows/netscan.py @@ -39,6 +39,11 @@ class NetScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="info", component=info.Info, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="verinfo", component=verinfo.VerInfo, version=(1, 0, 0) ), diff --git a/volatility3/framework/plugins/windows/netstat.py b/volatility3/framework/plugins/windows/netstat.py index 655ef710a..cf7f5272a 100644 --- a/volatility3/framework/plugins/windows/netstat.py +++ b/volatility3/framework/plugins/windows/netstat.py @@ -39,6 +39,11 @@ class NetStat(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="modules", component=modules.Modules, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) ), diff --git a/volatility3/framework/plugins/windows/processghosting.py b/volatility3/framework/plugins/windows/processghosting.py index 6e91a72cd..7e7f6d3cc 100644 --- a/volatility3/framework/plugins/windows/processghosting.py +++ b/volatility3/framework/plugins/windows/processghosting.py @@ -33,6 +33,9 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 1) + ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 1cb2c6356..b92fdf66c 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -41,6 +41,11 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): default=cls.PHYSICAL_DEFAULT, optional=True, ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.ListRequirement( name="pid", element_type=int, diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index 07f026c7c..ae37c20a1 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -36,6 +36,11 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="info", component=info.Info, version=(2, 0, 0) ), diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index 7beeb7375..809d0b2b3 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -59,6 +59,11 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac requirements.VersionRequirement( name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), ] def parse_userassist_data(self, reg_val): diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 951ac6e80..4247bda74 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -1126,6 +1126,11 @@ information about triggers, actions, run times, and creation times.""" requirements.VersionRequirement( name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), ] def generate_timeline( diff --git a/volatility3/framework/plugins/windows/sessions.py b/volatility3/framework/plugins/windows/sessions.py index a21fa578d..29d0b2104 100644 --- a/volatility3/framework/plugins/windows/sessions.py +++ b/volatility3/framework/plugins/windows/sessions.py @@ -30,6 +30,11 @@ class Sessions(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.ListRequirement( name="pid", element_type=int, diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index eb2eb686b..7883dfba3 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -67,6 +67,11 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) ), diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index 4a310c669..24ac2278f 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -34,6 +34,9 @@ class SvcList(svcscan.SvcScan): requirements.VersionRequirement( name="svcscan", component=svcscan.SvcScan, version=(4, 0, 0) ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), requirements.ModuleRequirement( name="kernel", description="Windows kernel", diff --git a/volatility3/framework/plugins/windows/symlinkscan.py b/volatility3/framework/plugins/windows/symlinkscan.py index 358ea130e..cdcb5d3d3 100644 --- a/volatility3/framework/plugins/windows/symlinkscan.py +++ b/volatility3/framework/plugins/windows/symlinkscan.py @@ -27,6 +27,11 @@ class SymlinkScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfa description="Windows kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 5bafe45a7..7020a1fa1 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -36,6 +36,14 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) requirements.VersionRequirement( name="poolscanner", component=poolscanner.PoolScanner, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index 64eb38f42..d040fa990 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -34,6 +34,9 @@ class Threads(thrdscan.ThrdScan): requirements.VersionRequirement( name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/unloadedmodules.py b/volatility3/framework/plugins/windows/unloadedmodules.py index cadacf4ff..692f2c4a4 100644 --- a/volatility3/framework/plugins/windows/unloadedmodules.py +++ b/volatility3/framework/plugins/windows/unloadedmodules.py @@ -33,6 +33,14 @@ class UnloadedModules(interfaces.plugins.PluginInterface, timeliner.TimeLinerInt description="Windows kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="timeliner", + component=timeliner.TimeLinerInterface, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(3, 0, 0) + ), ] @classmethod From e52aea886ee49f73061432eed03b8d566f514e8f Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 26 Mar 2025 00:41:26 +0000 Subject: [PATCH 1714/2186] Fix checks in thrdscan that broke tests --- volatility3/framework/plugins/windows/thrdscan.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 7020a1fa1..387125899 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -110,18 +110,19 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) vollog.debug(f"Thread invalid address {ethread.vol.offset:#x}") return None + if owner_proc_pid == 4 or owner_proc.InheritedFromUniqueProcessId == 4: + vollog.debug( + f"Skipping kernel process with pid {owner_proc.InheritedFromUniqueProcessId}" + ) + return None + if vads_cache is not None: vads = pe_symbols.PESymbols.get_vads_for_process_cache( vads_cache, owner_proc ) - # no vads = terminated/smeared, pid 4 = kernel = don't check VADs - if ( - owner_proc_pid != 4 - and owner_proc.InheritedFromUniqueProcessId != 4 - and (not vads or len(vads) < 5) - ): + if not vads or len(vads) < 5: vollog.debug( - f"No vads for process at {owner_proc.vol.offset:#x}. Skipping thread at {ethread.vol.offset:#x}" + f"Not enough vads for process at {owner_proc.vol.offset:#x}. Skipping thread at {ethread.vol.offset:#x}" ) return None From 43ab95f4c5ea38f182bfe863bd5b425cbd9a70f4 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 26 Mar 2025 00:50:34 +0000 Subject: [PATCH 1715/2186] Change thrdscan from looking for kernel processes --- test/plugins/windows/windows.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index ce05af0cd..f07c8b20c 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -189,9 +189,9 @@ class TestWindowsThrdscan: "windows.thrdscan.ThrdScan", image, volatility, python ) assert rc == 0 - assert out.find(b"\t4\t8") != -1 - assert out.find(b"\t4\t12") != -1 - assert out.find(b"\t4\t16") != -1 + assert out.find(b"\t1812\t2768\t0x7c810856") != -1 + assert out.find(b"\t840\t2964\t0x7c810856") != -1 + assert out.find(b"\t2536\t2552\t0x7c810856") != -1 class TestWindowsPrivileges: From 444305afc2cbf680a6097b7b9c17fd7be97d1ca3 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 26 Mar 2025 00:55:48 +0000 Subject: [PATCH 1716/2186] Handle kernel processes properly this time --- volatility3/framework/plugins/windows/thrdscan.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 387125899..0ac3d0c33 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -110,13 +110,12 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) vollog.debug(f"Thread invalid address {ethread.vol.offset:#x}") return None - if owner_proc_pid == 4 or owner_proc.InheritedFromUniqueProcessId == 4: - vollog.debug( - f"Skipping kernel process with pid {owner_proc.InheritedFromUniqueProcessId}" - ) - return None - - if vads_cache is not None: + # don't look for VADs in kernel threads, just let them get reported with empty paths + if ( + owner_proc_pid != 4 + and owner_proc.InheritedFromUniqueProcessId != 4 + and vads_cache is not None + ): vads = pe_symbols.PESymbols.get_vads_for_process_cache( vads_cache, owner_proc ) From e93df3764929b6be6be2934c7bd5a41184426eb7 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 26 Mar 2025 01:16:53 +0000 Subject: [PATCH 1717/2186] Add module extraction API. Add plugin to directly extract modules. Hook module dumping into existing module listing plugins. --- .../framework/constants/linux/__init__.py | 25 + .../framework/plugins/linux/check_modules.py | 8 +- volatility3/framework/plugins/linux/lsmod.py | 8 +- .../framework/plugins/linux/module_extract.py | 85 ++ .../framework/symbols/linux/__init__.py | 3 + .../symbols/linux/extensions/__init__.py | 44 + .../symbols/linux/utilities/module_extract.py | 891 ++++++++++++++++++ .../symbols/linux/utilities/modules.py | 25 +- 8 files changed, 1086 insertions(+), 3 deletions(-) create mode 100644 volatility3/framework/plugins/linux/module_extract.py create mode 100644 volatility3/framework/symbols/linux/utilities/module_extract.py diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index ba0b92cc7..f45bed926 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -484,3 +484,28 @@ Documentation : - taint_flag kernel struct - taint_flags kernel constant """ + +## ELF related constants + +# Elf Symbol Bindings +STB_LOCAL = 0 +STB_GLOBAL = 1 + +# Elf Symbol Types +STT_NOTYPE = 0 +STT_OBJECT = 1 +STT_FUNC = 2 +STT_SECTION = 3 + +# Elf Section Types +SHT_NULL = 0 +SHT_PROGBITS = 1 +SHT_SYMTAB = 2 +SHT_STRTAB = 3 +SHT_RELA = 4 +SHT_NOTE = 7 + +# Elf Section Attributes +SHF_WRITE = 1 +SHF_ALLOC = 2 +SHF_EXECINSTR = 4 diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index 5a43bf899..b902bc872 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -18,7 +18,7 @@ vollog = logging.getLogger(__name__) class Check_modules(plugins.PluginInterface): """Compares module list to sysfs info, if available""" - _version = (3, 0, 0) + _version = (3, 0, 1) _required_framework_version = (2, 0, 0) @classmethod @@ -56,6 +56,12 @@ class Check_modules(plugins.PluginInterface): component=linux_utilities_modules.ModuleDisplayPlugin, version=(1, 0, 0), ), + requirements.BooleanRequirement( + name="dump", + description="Extract listed modules", + default=False, + optional=True, + ), ] @classmethod diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index 3029d2541..d2fe5880d 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -18,7 +18,7 @@ class Lsmod(plugins.PluginInterface): """Lists loaded kernel modules.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 0) + _version = (3, 0, 1) run = linux_utilities_modules.ModuleDisplayPlugin.run _generator = linux_utilities_modules.ModuleDisplayPlugin.generator @@ -42,6 +42,12 @@ class Lsmod(plugins.PluginInterface): component=linux_utilities_modules.ModuleDisplayPlugin, version=(1, 0, 0), ), + requirements.BooleanRequirement( + name="dump", + description="Extract listed modules", + default=False, + optional=True, + ), ] @classmethod diff --git a/volatility3/framework/plugins/linux/module_extract.py b/volatility3/framework/plugins/linux/module_extract.py new file mode 100644 index 000000000..2d728f0fd --- /dev/null +++ b/volatility3/framework/plugins/linux/module_extract.py @@ -0,0 +1,85 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import List + +import volatility3.framework.symbols.linux.utilities.module_extract as linux_utilities_module_extract +from volatility3.framework import interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.framework.objects import utility + +vollog = logging.getLogger(__name__) + + +class ModuleExtract(interfaces.plugins.PluginInterface): + """Recreates an ELF file from a specific address in the kernel""" + + _required_framework_version = (2, 0, 0) + + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.IntRequirement( + name="base", + description="Base address to reconstruct an ELF file", + optional=False, + ), + ] + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + base_address = self.config["base"] + + kernel_layer = self.context.layers[kernel.layer_name] + + if not kernel_layer.is_valid(base_address): + vollog.error( + f"Given base address ({base_address:#x}) is not valid in the kernel address space. Unable to extract file." + ) + return + + module = kernel.object(object_type="module", offset=base_address, absolute=True) + + elf_data = linux_utilities_module_extract.ModuleExtract.extract_module( + self.context, self.config["kernel"], module + ) + if not elf_data: + vollog.error( + f"Unable to reconstruct the ELF for module struct at {base_address:#x}" + ) + return + + module_name = utility.array_to_string(module.name) + file_name = self.open.sanitize_filename( + f"kernel_module.{module_name}.{base_address:#x}.elf" + ) + + with self.open(file_name) as file_handle: + file_handle.write(elf_data) + + yield 0, ( + format_hints.Hex(base_address), + len(elf_data), + file_handle.preferred_filename, + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Base", format_hints.Hex), + ("File Size", int), + ("File output", str), + ], + self._generator(), + ) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 758e142aa..9d3930087 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -52,6 +52,8 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("idr", extensions.IDR) self.set_type_class("address_space", extensions.address_space) self.set_type_class("page", extensions.page) + self.set_type_class("module_sect_attr", extensions.module_sect_attr) + # Might not exist in the current symbols self.optional_set_type_class("module", extensions.module) self.optional_set_type_class("bpf_prog", extensions.bpf_prog) @@ -79,6 +81,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("sock", extensions.network.sock) self.set_type_class("inet_sock", extensions.network.inet_sock) self.set_type_class("unix_sock", extensions.network.unix_sock) + # Might not exist in older kernels or the current symbols self.optional_set_type_class("netlink_sock", extensions.network.netlink_sock) self.optional_set_type_class("vsock_sock", extensions.network.vsock_sock) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index b9ce84ed1..b4bde1aba 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -3121,3 +3121,47 @@ class kernel_symbol(objects.StructType): return self._do_get_namespace() except exceptions.InvalidAddressException: return None + + +class module_sect_attr(objects.StructType): + def get_name(self) -> Optional[str]: + """ + Performs careful extraction of the section name + The `name` member has changed type and meaning over time + It also was present even in cases with `mattr` present, which + holds the name the kernel uses + """ + if hasattr(self, "battr"): + try: + return utility.pointer_to_string(self.battr.attr.name, count=32) + except exceptions.InvalidAddressException: + # if battr is present then its name attribute needs to be valid + vollog.debug(f"Invalid battr name for section at {self.vol.offset:#x}") + return None + + elif self.name.vol.type_name == "array": + try: + return utility.array_to_string(self.name, count=32) + except exceptions.InvalidAddressException: + # specifically do not return here to give `mattr` a chance + vollog.debug(f"Invalid direct name for section at {self.vol.offset:#x}") + + elif self.name.vol.type_name == "pointer": + try: + return utility.pointer_to_string(self.name, count=32) + except exceptions.InvalidAddressException: + # specifically do not return here to give `mattr` a chance + vollog.debug( + f"Invalid pointer name for section at {self.vol.offset:#x}" + ) + + # if everything else failed... + if hasattr(self, "mattr"): + try: + return utility.pointer_to_string(self.mattr.attr.name, count=32) + except exceptions.InvalidAddressException: + vollog.debug( + f"Unresolvable name for for section at {self.vol.offset:#x}" + ) + + return None diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py new file mode 100644 index 000000000..41b4e29b0 --- /dev/null +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -0,0 +1,891 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +import logging +import struct + +from typing import ( + List, + Optional, + Tuple, + Dict, +) + +from volatility3 import framework +from volatility3.framework import ( + interfaces, + exceptions, + symbols, +) +from volatility3.framework.constants import linux as linux_constants +from volatility3.framework.symbols.linux import extensions + +vollog = logging.getLogger(__name__) + +# This module is responsbile for producing an ELF file of a kernel module (LKM) loaded in memory +# This extraction task is quite complicated as the Linux kernel discards the ELF header at load time +# Due to this, to support static analysis, we must create an ELF header and proper file based on the sections +# There are also several other significant complications that we must deal with when trying to extract an LKM +# that can be analyzed with static analysis tools +# First, the .strtab points somewhere random and is kept off the module structure, not with the other sections +# Second, all of the symbols (.symtab) have mangled members that we must patch for anything to make sense +# Third, the section name string stable (.shstrtab) is not an allocated section, meaning its not in memory +# Not having the .shstrtab makes analysis impossible-to-difficult for static analysis tools. To work around this, +# we create the .shstrtab based on the sections in memory and then glue it in as the final section + +# ModuleExtract.extract_module is the entry point and only visible method for plugins + + +class ModuleExtract(interfaces.configuration.VersionableInterface): + """Extracts Linux kernel module structures into an analyzable ELF file""" + + _version = (1, 0, 0) + _required_framework_version = (2, 0, 0) + + framework.require_interface_version(*_required_framework_version) + + @classmethod + def _get_module_section_count( + cls, + context: interfaces.context.ContextInterface, + vmlinux_name: str, + module: extensions.module, + grp: interfaces.objects.ObjectInterface, + ) -> int: + """ + Used to manually determine the section count for kernels that do not track + this count directly within the attribute structures + """ + kernel = context.modules[vmlinux_name] + + count = 0 + + try: + array = kernel.object( + object_type="array", + offset=grp.attrs, + sub_type=kernel.get_type("pointer"), + count=50, + absolute=True, + ) + + # Walk up to 50 sections counting until we reach the end or a page fault + for sect in array: + if sect.vol.offset == 0: + break + + count += 1 + + except exceptions.InvalidAddressException: + # Use whatever count we reached before the error + vollog.debug( + f"Exception hit counting sections for module at {module.vol.offset:#x}" + ) + + return count + + @classmethod + def _find_section( + cls, section_lookups: List[Tuple[str, int, int, int]], sym_address: int + ) -> Optional[Tuple[str, int, int, int]]: + """ + Finds the section containing `sym_address` + """ + for name, index, address, size in section_lookups: + if address <= sym_address < address + size: + return name, index, address, size + + return None + + @classmethod + def _get_st_info_for_sym( + cls, sym: interfaces.objects.ObjectInterface, sym_address: int, sect_name: str + ) -> bytes: + """ + This is a helper function called from `_fix_sym_table` + + Calculates the `st_info` value for the given symbol + + Spec: https://refspecs.linuxbase.org/elf/gabi4+/ch4.symtab.html + """ + if sym.st_name > 0: + # Global symbol + bind = linux_constants.STB_GLOBAL + + if sym_address == 0: + sect_type = linux_constants.STT_NOTYPE + elif sect_name: + # rela = relocations + if sect_name.find(".text") != -1 and sect_name.find(".rela") == -1: + sect_type = linux_constants.STT_FUNC + else: + sect_type = linux_constants.STT_OBJECT + + else: + # outside the module being extracted + sect_type = linux_constants.STT_NOTYPE + + else: + # Local symbol + bind = linux_constants.STB_LOCAL + sect_type = linux_constants.STT_SECTION + + # Build the st_info as ELF32_ST_INFO/ELF64_ST_INFO + bind_bits = (bind << 4) & 0xF0 + type_bits = sect_type & 0xF + + st_info_int = (bind_bits | type_bits) & 0xFF + + return struct.pack("B", st_info_int) + + @classmethod + def _get_fixed_sym_fields( + cls, + st_fmt: str, + sym: interfaces.objects.ObjectInterface, + sections: List[Tuple[str, int, int, int]], + ) -> Tuple[str, int, int, int]: + """ + This is a helper function called from `_fix_sym_table` + + The st_value, st_info, and st_shndx fields of each symbol are changed/mangled while loading + Static analysis tools do not understand these transformed values as they only make sense to the kernel loader + We must de-mangle these to have analysis tools understand symbols (a key aspect) + """ + # Start by trying to map a symbol to its section + sym_address = sym.st_value + sect_info = cls._find_section(sections, sym_address) + + if not sect_info: + # Symbol does not point into the module being extracted + sect_name, sect_index, sect_address = None, None, None + st_value_int = sym_address + else: + # relative address inside the section + sect_name, sect_index, sect_address, _ = sect_info + st_value_int = sym_address - sect_address + + # Get the fixed st_value, st_info, and st_shndx that are broken in the mapped file + + # formatted to be written into the extracted file + st_value = struct.pack(st_fmt, st_value_int) + + # returns formatted to be written into the extracted file + st_info = cls._get_st_info_for_sym(sym, sym_address, sect_name) + + # format to reference its section, if any + if sect_name: + st_shndx = struct.pack(" Optional[bytes]: + """ + This function implements the most painful part of the reconstruction + + The symbols in .symtab are broken/mangled during loading. + We need to normalize these for static analysis tools to understand the references. + Without proper symbols, analysis is pretty pointless and gets nowhere. + + Spec: https://refspecs.linuxbase.org/elf/gabi4+/ch4.symtab.html + """ + kernel = context.modules[vmlinux_name] + + # Gather the section information into a list + section_lookups: List[Tuple[str, int, int, int]] = [] + for index, (address, name) in enumerate(original_sections.items()): + # We are fixing symtab references... + if name == ".symtab": + continue + + size = section_sizes[address] + + # Add 1 to account for leading NULL section + section_lookups.append((name, index + 1, address, size)) + + # Build the array of symbols as they are in memory + sym_type = kernel.get_type(sym_type_name) + + symbols = kernel.object( + object_type="array", + subtype=sym_type, + offset=module.section_symtab, + count=module.num_symtab, + absolute=True, + ) + + # used to hold the new (fixed) symbol table + sym_table_data = b"" + + # build a correct/normalized Elf32_Sym or Elf64_Sym for each symbol + for sym in symbols: + # get the mangled fields' correct values + sect_name, st_value, st_info, st_shndx = cls._get_fixed_sym_fields( + st_fmt, sym, section_lookups + ) + + # these aren't mangled during loading + st_name = struct.pack(" Optional[Dict[int, str]]: + """ + Enumerates the module's sections as maintained by the kernel after load time + 'Early' sections like .init.text and .init.data are discarded after module + initialization, so they are not expected to be in memory during extraction + """ + if hasattr(module.sect_attrs, "nsections"): + num_sections = module.sect_attrs.nsections + else: + num_sections = cls._get_module_section_count( + context, vmlinux_name, module.sect_attrs.grp + ) + + if num_sections > 1024 or num_sections == 0: + vollog.debug( + f"Invalid number of sections ({num_sections}) for module at offset {module.vol.offset:#x}" + ) + return None + + vmlinux = context.modules[vmlinux_name] + + # This is declared as a zero sized array, so we create ourselves + attribute_type = module.sect_attrs.attrs.vol.subtype + + sect_array = vmlinux.object( + object_type="array", + subtype=attribute_type, + offset=module.sect_attrs.attrs.vol.offset, + count=num_sections, + absolute=True, + ) + + sections: Dict[int, str] = {} + + # for each section, gather its name and address + for index, section in enumerate(sect_array): + name = section.get_name() + + sections[section.address] = name + + return sections + + @classmethod + def _parse_sections( + cls, + context: interfaces.context.ContextInterface, + vmlinux_name: str, + module: extensions.module, + ) -> Optional[Tuple[List, int, int]]: + """ + This function first parses the sections as maintained by the kernel + It then orders the sections by load address, and then gathers the data of each section + We also track the file_offset to correctly have alignment in the output file + + .symtab requires special handling as its so broken in memory as described in `_fix_sym_table` + The data of .strtab is read directly off the module structure and not its section + as the section from the original module has no meaning after loading as the kernel does not reference it. + """ + original_sections = cls._enumerate_original_sections( + context, vmlinux_name, module + ) + if original_sections is None: + return None + + kernel = context.modules[vmlinux_name] + kernel_layer = context.layers[kernel.layer_name] + + if symbols.symbol_table_is_64bit(context, kernel.symbol_table_name): + sym_type = "Elf64_Sym" + elf_hdr_type = "Elf64_Ehdr" + st_fmt = " Optional[bytes]: + """ + Creates a 32 bit ELF header for the file based on recovered values + Called last as it needs information computed from the sections + + Spec: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html + """ + e_ident = b"\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00" + e_type = b"\x01\x00" # relocateble + e_machine = b"\x03\x00" # EM_X86_86 + e_version = b"\x01\x00\x00\x00" + e_entry = b"\x00" * 4 # The .init sections are freed after module load + e_phoff = b"\x00" * 4 + e_shoff = struct.pack(" Optional[bytes]: + """ + Creates a 64 bit ELF header for the file based on recovered values + Called last as it needs information computed from the sections + + Spec: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html + """ + e_ident = b"\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00" + e_type = b"\x01\x00" # relocateble + e_machine = b"\x3e\x00" # EM_X86_64 + e_version = b"\x01\x00\x00\x00" + e_entry = b"\x00" * 8 # The .init sections are freed after module load + e_phoff = b"\x00" * 8 + e_shoff = struct.pack(" Optional[int]: + """ + This function makes a best effort to map common section names + to their attributes + """ + known_sections = { + ".note.gnu.build-id": linux_constants.SHT_NOTE, + ".text": linux_constants.SHT_PROGBITS, + ".init.text": linux_constants.SHT_PROGBITS, + ".exit.text": linux_constants.SHT_PROGBITS, + ".static_call.text": linux_constants.SHT_PROGBITS, + ".rodata": linux_constants.SHT_PROGBITS, + ".modinfo": linux_constants.SHT_PROGBITS, + "__param": linux_constants.SHT_PROGBITS, + ".data": linux_constants.SHT_PROGBITS, + ".gnu.linkonce.this_module": linux_constants.SHT_PROGBITS, + ".comment": linux_constants.SHT_PROGBITS, + ".shstrtab": linux_constants.SHT_STRTAB, + ".symtab": linux_constants.SHT_SYMTAB, + ".strtab": linux_constants.SHT_STRTAB, + } + + sect_type_val = linux_constants.SHT_PROGBITS + + if section_name.find(".rela.") != -1: + sect_type_val = linux_constants.SHT_RELA + + elif section_name in known_sections: + sect_type_val = known_sections[section_name] + + return sect_type_val + + # all sections from memory are allocated (SHF_ALLOC) + # special check certain other sections to try and ensure extra flags are added where needed + @classmethod + def _calc_sect_flags(cls, name: str) -> int: + """ + Make a best effort to map common section names to their permissions + If we miss a section here, users of common static analysis tools can mark the + sections are writable or executable manually, but that becomes very cumbersome + and breaks initial analysis by the tool + """ + # All sections in memory are allocated (`A` in readelf -S) + flags = linux_constants.SHF_ALLOC + + if name in [".text", ".init.text", ".exit.text", ".static_call.text"]: + flags = flags | linux_constants.SHF_EXECINSTR + + elif name in [ + ".data", + ".init.data", + ".exit.data", + ".bss", + "__tracepoints", + ".data.once", + "_ftrace_events", + ".gnu.linkonce.this_module", + ]: + flags = flags | linux_constants.SHF_WRITE + + return flags + + @classmethod + def _calc_link( + cls, name: str, strtab_index: int, symtab_index: int, sect_type: int + ) -> int: + """ + Calculates the link value for a section + + The most important ones are symtab indexes for relocations + and to point the symbol table to the string tab + + Spec: https://refspecs.linuxbase.org/elf/gabi4+/ch4.sheader.html + """ + # looking for RELA sections + if name.find(".rela.") != -1: + return symtab_index + + # per spec: "The section header index of the associated string table." + elif sect_type == linux_constants.SHT_SYMTAB: + return strtab_index + + return 0 + + @classmethod + def _calc_entsize(cls, name: str, sect_type: int, bits: int) -> int: + """ + Calculates the entsize for relocation sections and the symbol table section + + Spec: https://refspecs.linuxbase.org/elf/gabi4+/ch4.sheader.html + """ + # looking for RELA sections + if name.find(".rela.") != -1: + return 24 + + # per spec: "The section header index of the associated string table." + elif sect_type == linux_constants.SHT_SYMTAB: + if bits == 32: + return 16 + else: + return 24 + + return 0 + + @classmethod + def _make_section_header_32( + cls, + name_index: int, + name: str, + address: int, + size: int, + file_offset: int, + strtab_index: int, + symtab_index: int, + ) -> Optional[bytes]: + """ + Creates a section header (Elf32_Shdr) for the given section + """ + sect_header_type_int = cls._calc_sect_type(name) + + flags = cls._calc_sect_flags(name) + + link = cls._calc_link(name, strtab_index, symtab_index, sect_header_type_int) + + entsize = cls._calc_entsize(name, sect_header_type_int, 32) + + try: + sh_name = struct.pack(" Optional[bytes]: + """ + Creates a section header (Elf64_Shdr) for the given section + """ + sect_header_type_int = cls._calc_sect_type(name) + + flags = cls._calc_sect_flags(name) + + link = cls._calc_link(name, strtab_index, symtab_index, sect_header_type_int) + + entsize = cls._calc_entsize(name, sect_header_type_int, 64) + + try: + sh_name = struct.pack(" Optional[bytes]: + # Bail early if bad address sent in + try: + hasattr(module.sect_attrs, "nsections") + except exceptions.InvalidAddressException: + vollog.debug(f"module at offset {module.vol.offset:#x} is paged out.") + return + + # Gather sections + updated_sections, strtab_index, symtab_index = cls._parse_sections( + context, vmlinux_name, module + ) + + kernel = context.modules[vmlinux_name] + + # Figure out header sizes + if symbols.symbol_table_is_64bit(context, kernel.symbol_table_name): + make_elf_header = cls._make_elf_header_64 + make_section_header = cls._make_section_header_64 + header_type = "Elf64_Ehdr" + section_type = "Elf64_Shdr" + else: + make_elf_header = cls._make_elf_header_32 + make_section_header = cls._make_section_header_32 + header_type = "Elf32_Ehdr" + section_type = "Elf32_Shdr" + + header_type_size = kernel.get_type(header_type).size + section_type_size = kernel.get_type(section_type).size + + # Per Linux-spec, all LKMs must start with a null section header + # This buffer is used to hold the headers as they are built + sections_headers = b"\x00" * section_type_size + + # Holder of the data of the sections + sections_data = b"" + + # the .shstrtab section is "\x00" + section name for each section + # followed by a terminating null. + # It starts with the null string (\x00) + shstrtab_data = b"\x00" + + # Track where we end the sections and data to glue `.shstrtab` after + last_file_offset = None + last_sect_size = None + + # Start at 1 in the string table + name_index = 1 + + # Create the actual section headers + for index, (name, address, file_offset, section_data) in enumerate( + updated_sections + ): + # Make the section header + header_bytes = make_section_header( + name_index, + name, + address, + len(section_data), + file_offset, + strtab_index, + symtab_index, + ) + if not header_bytes: + vollog.debug(f"make_section_header failed for section {name}") + return None + + # ndex into the string table + name_index += len(name) + 1 + + # concatanate the header and section bytes + sections_headers += header_bytes + sections_data += section_data + + # track where we are so .shstrtab goes into correct offset + last_file_offset = file_offset + last_sect_size = len(section_data) + + # append each section name to what will become .shstrtab + shstrtab_data += bytes(name, encoding="utf8") + b"\x00" + + # stick our own section reference string at end + # name_index points to the end of the last section string after the loop ends + shstrtab_data += b".shstrtab\x00" + + # create our .shstrtab section so sections have names + sections_headers += make_section_header( + name_index, + ".shstrtab", + 0, + len(shstrtab_data), + last_file_offset + last_sect_size, + strtab_index, + symtab_index, + ) + + sections_data += shstrtab_data + + num_sections = len(updated_sections) + 1 + + header = make_elf_header( + header_type_size + len(sections_data), + num_sections, + ) + + if not header: + vollog.error( + f"Hit error creating Elf header for module at {module.vol.offset:#x}" + ) + return None + + # Return our beautiful, hand-crafted, farm raised ELF file + return header + sections_data + sections_headers diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index f987c352e..b934220a8 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -30,6 +30,8 @@ from volatility3.framework.objects import utility from volatility3.framework.symbols.linux import extensions from volatility3.framework.symbols.linux.utilities import tainting +import volatility3.framework.symbols.linux.utilities.module_extract as linux_utilities_module_extract + vollog = logging.getLogger(__name__) @@ -921,7 +923,7 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): The constructor of the plugin must call super() with the `implementation` set """ - _version = (1, 0, 0) + _version = (1, 0, 1) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) @@ -974,12 +976,32 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): parameters = ", ".join([f"{key}={value}" for key, value in parameters_iter]) + file_name = renderers.NotApplicableValue() + + if self.config["dump"]: + elf_data = linux_utilities_module_extract.ModuleExtract.extract_module( + self.context, self.config["kernel"], module + ) + if not elf_data: + vollog.warning( + f"Unable to reconstruct the ELF for module struct at {module.vol.offset:#x}" + ) + file_name = renderers.NotAvailableValue() + else: + file_name = self.open.sanitize_filename( + f"kernel_module.{name}.{module.vol.offset:#x}.elf" + ) + + with self.open(file_name) as file_handle: + file_handle.write(elf_data) + yield 0, ( format_hints.Hex(module.vol.offset), name, format_hints.Hex(code_size), taints, parameters, + file_name, ) def run(self): @@ -990,6 +1012,7 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): ("Code Size", format_hints.Hex), ("Taints", str), ("Load Arguments", str), + ("File Output", str), ], self._generator(), ) From 25eaaff06cbd0f517c71e3074144eec3cf4fbea2 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Wed, 26 Mar 2025 01:30:26 +0000 Subject: [PATCH 1718/2186] Bring hidden module to expose dump option. Fix CodeQL found bug --- volatility3/framework/plugins/linux/hidden_modules.py | 8 +++++++- .../framework/symbols/linux/utilities/module_extract.py | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index c6f5d749e..5d44ccb00 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -19,7 +19,7 @@ class Hidden_modules(plugins.PluginInterface): """Carves memory to find hidden kernel modules""" _required_framework_version = (2, 10, 0) - _version = (3, 0, 0) + _version = (3, 0, 1) @classmethod def get_hidden_modules( @@ -72,6 +72,12 @@ class Hidden_modules(plugins.PluginInterface): component=linux_utilities_modules.ModuleDisplayPlugin, version=(1, 0, 0), ), + requirements.BooleanRequirement( + name="dump", + description="Extract listed modules", + default=False, + optional=True, + ), ] @staticmethod diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index 41b4e29b0..fbe9053ec 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -782,7 +782,7 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): hasattr(module.sect_attrs, "nsections") except exceptions.InvalidAddressException: vollog.debug(f"module at offset {module.vol.offset:#x} is paged out.") - return + return None # Gather sections updated_sections, strtab_index, symtab_index = cls._parse_sections( From 67533b034a6c31368c1bfc176497368255a6ccfb Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 26 Mar 2025 08:21:28 -0500 Subject: [PATCH 1719/2186] #1471 - deprecation class for moving --- volatility3/framework/deprecation.py | 47 +++++++++++++++++++ .../framework/plugins/windows/amcache.py | 16 +++---- 2 files changed, 53 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py index e2e91a0eb..5d8087503 100644 --- a/volatility3/framework/deprecation.py +++ b/volatility3/framework/deprecation.py @@ -88,3 +88,50 @@ def deprecated_method( return wrapper return decorator + +def renamed_class(deprecated_class_name: str, message: str, removal_date: str): + """A decorator for marking classes as being renamed and removed in the future. + Callers to this function should explicitly update to use the other plugins instead. + + Args: + deprecated_class_name: The name of the class being deprecated + message: A message added to the standard deprecation warning. Should include the replacement API paths + removal_date: A YYYY-MM-DD formatted date of when the function will be removed from the framework + """ + + def decorator(replacement_func): + @functools.wraps(replacement_func) + def wrapper(*args, **kwargs): + warnings.warn( + f"This plugin ({deprecated_class_name}) has been renamed and will be removed in the first release after {removal_date}. {message}", + FutureWarning, + ) + return replacement_func(*args, **kwargs) + + return wrapper + + return decorator + + +class PluginRenameClass: + """Class to move all classmethod invocations (for when a plugin has been moved)""" + + def __init_subclass__(cls, replacement_class, removal_date, **kwargs): + deprecated_class_name = f"{cls.__module__}.{cls.__qualname__}" + super().__init_subclass__(**kwargs) + for attr, value in replacement_class.__dict__.items(): + if isinstance(value, classmethod): + setattr( + cls, + attr, + classmethod( + renamed_class( + deprecated_class_name=deprecated_class_name, + removal_date=removal_date, + message=f"Please ensure all method calls to this plugin are replaced with calls to {replacement_class.__module__}.{replacement_class.__qualname__}", + )(value.__func__) + ), + ) + else: + setattr(cls, attr, value) + return super(replacement_class).__init_subclass__(**kwargs) \ No newline at end of file diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index 6e45d5b36..bf0f8f8ad 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -3,22 +3,18 @@ # import logging import warnings +from volatility3.framework import interfaces, deprecation from volatility3.plugins.windows.registry import amcache vollog = logging.getLogger(__name__) -class Amcache(amcache.Amcache): +class Amcache( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=amcache.Amcache, + removal_date="2025-09-25"): """Extract information on executed applications from the AmCache (deprecated).""" _required_framework_version = (2, 0, 0) _version = (2, 0, 0) - - def __getattribute__(self, *args, **kwargs): - warnings.warn( - FutureWarning( - "The windows.amcache.Amcache plugin is deprecated and will be removed on " - "2025-09-25. Use windows.registry.amcache.Amcache instead." - ) - ) - return super().__getattribute__(*args, **kwargs) From f431f519b682d886edcda9b0371f483ee9735c97 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 26 Mar 2025 08:22:37 -0500 Subject: [PATCH 1720/2186] #1471 - black and ruff fixes --- volatility3/framework/deprecation.py | 3 ++- volatility3/framework/plugins/windows/amcache.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py index 5d8087503..ba07743a3 100644 --- a/volatility3/framework/deprecation.py +++ b/volatility3/framework/deprecation.py @@ -89,6 +89,7 @@ def deprecated_method( return decorator + def renamed_class(deprecated_class_name: str, message: str, removal_date: str): """A decorator for marking classes as being renamed and removed in the future. Callers to this function should explicitly update to use the other plugins instead. @@ -134,4 +135,4 @@ class PluginRenameClass: ) else: setattr(cls, attr, value) - return super(replacement_class).__init_subclass__(**kwargs) \ No newline at end of file + return super(replacement_class).__init_subclass__(**kwargs) diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index bf0f8f8ad..be144be91 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -2,7 +2,6 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -import warnings from volatility3.framework import interfaces, deprecation from volatility3.plugins.windows.registry import amcache @@ -13,7 +12,8 @@ class Amcache( interfaces.plugins.PluginInterface, deprecation.PluginRenameClass, replacement_class=amcache.Amcache, - removal_date="2025-09-25"): + removal_date="2025-09-25", +): """Extract information on executed applications from the AmCache (deprecated).""" _required_framework_version = (2, 0, 0) From b80a34110edb57353c51a413bcd032b58e1fdd47 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 26 Mar 2025 14:41:05 +0100 Subject: [PATCH 1721/2186] adjust thrdscan --- test/plugins/windows/windows.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index 3ad9dc70d..f494c5945 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -250,9 +250,10 @@ class TestWindowsThrdscan: "windows.thrdscan.ThrdScan", image, volatility, python ) assert rc == 0 - assert out.find(b"\t4\t8") != -1 - assert out.find(b"\t4\t12") != -1 - assert out.find(b"\t4\t16") != -1 + assert out.count(b"\n") > 700 + assert out.find(b"\t1812\t2768\t0x7c810856") != -1 + assert out.find(b"\t840\t2964\t0x7c810856") != -1 + assert out.find(b"\t2536\t2552\t0x7c810856") != -1 class TestWindowsPrivileges: From 1c21b3cd04ae5b0bc5cc41d7d5d2c1dec29a1db4 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 26 Mar 2025 09:07:32 -0500 Subject: [PATCH 1722/2186] Consoles: Fix requirement versions When I updated the requirements for `Consoles` in #1738, I bumped the version number on the `VerInfo` requirement instead of on the `Info` requirement. closes #1741 --- volatility3/framework/plugins/windows/consoles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index 8999e1bab..6cfc6d588 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -46,10 +46,10 @@ class Consoles(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="verinfo", component=verinfo.VerInfo, version=(2, 0, 0) + name="verinfo", component=verinfo.VerInfo, version=(1, 0, 0) ), requirements.VersionRequirement( - name="info", component=info.Info, version=(1, 0, 0) + name="info", component=info.Info, version=(2, 0, 0) ), requirements.VersionRequirement( name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) From dca182dc7234ba5b8cbef25b1d61e957b8899162 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 26 Mar 2025 15:59:35 +0100 Subject: [PATCH 1723/2186] trigger tests --- test/plugins/windows/windows.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index f494c5945..c9cf93391 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -1411,3 +1411,4 @@ class TestWindowsVirtMap: ) for expected_row in expected_rows: assert test_volatility.match_output_row(expected_row, json_out) + From ef29008cc8773ea2d02e63b89a856055cd53ad6e Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Wed, 26 Mar 2025 17:53:19 -0500 Subject: [PATCH 1724/2186] #1471 - fix class deprecation and update other plugins --- volatility3/framework/deprecation.py | 5 +++-- .../framework/plugins/windows/cachedump.py | 18 +++++++----------- .../framework/plugins/windows/hashdump.py | 18 +++++++----------- .../framework/plugins/windows/lsadump.py | 18 +++++++----------- .../plugins/windows/scheduled_tasks.py | 18 +++++++----------- 5 files changed, 31 insertions(+), 46 deletions(-) diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py index ba07743a3..b9b84f001 100644 --- a/volatility3/framework/deprecation.py +++ b/volatility3/framework/deprecation.py @@ -121,7 +121,7 @@ class PluginRenameClass: deprecated_class_name = f"{cls.__module__}.{cls.__qualname__}" super().__init_subclass__(**kwargs) for attr, value in replacement_class.__dict__.items(): - if isinstance(value, classmethod): + if isinstance(value, classmethod) and attr != "get_requirements": setattr( cls, attr, @@ -134,5 +134,6 @@ class PluginRenameClass: ), ) else: - setattr(cls, attr, value) + if not attr.startswith("__"): + setattr(cls, attr, value) return super(replacement_class).__init_subclass__(**kwargs) diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index 14320312a..35127c6f3 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -2,23 +2,19 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -import warnings +from volatility3.framework import interfaces, deprecation from volatility3.plugins.windows.registry import cachedump vollog = logging.getLogger(__name__) -class Cachedump(cachedump.Cachedump): +class Cachedump( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=cachedump.Cachedump, + removal_date="2025-09-25", +): """Dumps lsa secrets from memory (deprecated)""" _required_framework_version = (2, 0, 0) _version = (1, 0, 2) - - def __getattribute__(self, *args, **kwargs): - warnings.warn( - FutureWarning( - "The windows.cachedump.Cachedump plugin is deprecated and will be removed on " - "2025-09-25. Use windows.registry.cachedump.Cachedump instead." - ) - ) - return super().__getattribute__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index 98baf7d53..e496e77a9 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -2,23 +2,19 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -import warnings +from volatility3.framework import interfaces, deprecation from volatility3.plugins.windows.registry import hashdump vollog = logging.getLogger(__name__) -class Hashdump(hashdump.Hashdump): +class Hashdump( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=hashdump.Hashdump, + removal_date="2025-09-25", +): """Dumps user hashes from memory (deprecated)""" _required_framework_version = (2, 0, 0) _version = (1, 1, 1) - - def __getattribute__(self, *args, **kwargs): - warnings.warn( - FutureWarning( - "The windows.hashdump.Hashdump plugin is deprecated and will be removed on " - "2025-09-25. Use windows.registry.hashdump.Hashdump instead." - ) - ) - return super().__getattribute__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 86cbe1949..0b36ddef0 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -2,23 +2,19 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -import warnings +from volatility3.framework import interfaces, deprecation from volatility3.plugins.windows.registry import lsadump vollog = logging.getLogger(__name__) -class Lsadump(lsadump.Lsadump): +class Lsadump( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=lsadump.Lsadump, + removal_date="2025-09-25", +): """Dumps lsa secrets from memory (deprecated)""" _required_framework_version = (2, 0, 0) _version = (1, 0, 1) - - def __getattribute__(self, *args, **kwargs): - warnings.warn( - FutureWarning( - "The windows.lsadump.Lsadump plugin is deprecated and will be removed on " - "2025-09-25. Use windows.registry.lsadump.Lsadump instead." - ) - ) - return super().__getattribute__(*args, **kwargs) diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 7241f07d1..62d8e3b88 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -2,24 +2,20 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -import warnings +from volatility3.framework import interfaces, deprecation from volatility3.plugins.windows.registry import scheduled_tasks vollog = logging.getLogger(__name__) -class ScheduledTasks(scheduled_tasks.ScheduledTasks): +class ScheduledTasks( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=scheduled_tasks.ScheduledTasks, + removal_date="2025-09-25", +): """Decodes scheduled task information from the Windows registry, including information about triggers, actions, run times, and creation times (deprecated).""" _required_framework_version = (2, 11, 0) _version = (2, 0, 0) - - def __getattribute__(self, *args, **kwargs): - warnings.warn( - FutureWarning( - "The windows.registry.scheduled_tasks.ScheduledTasks plugin is deprecated and will be removed on " - "2025-09-25. Use windows.registry.scheduled_tasks.ScheduledTasks instead." - ) - ) - return super().__getattribute__(*args, **kwargs) From 70e101ff90f4537260a35e389f3424cf0c69c5cf Mon Sep 17 00:00:00 2001 From: ikelos Date: Thu, 27 Mar 2025 14:13:25 +0000 Subject: [PATCH 1725/2186] Potential fix for code scanning alert no. 407: First argument to super() is not enclosing class Think this is more correct Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- volatility3/framework/deprecation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py index b9b84f001..859a32bad 100644 --- a/volatility3/framework/deprecation.py +++ b/volatility3/framework/deprecation.py @@ -136,4 +136,4 @@ class PluginRenameClass: else: if not attr.startswith("__"): setattr(cls, attr, value) - return super(replacement_class).__init_subclass__(**kwargs) + return super(PluginRenameClass).__init_subclass__(**kwargs) From 7f55ec6dd5dc1db4a4090786077e518e6058171b Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 27 Mar 2025 16:46:51 -0500 Subject: [PATCH 1726/2186] Address feedback --- .../framework/plugins/linux/check_modules.py | 13 +- .../framework/plugins/linux/hidden_modules.py | 14 +- volatility3/framework/plugins/linux/lsmod.py | 18 +- .../framework/plugins/linux/module_extract.py | 2 +- .../symbols/linux/utilities/module_extract.py | 208 +++++------------- .../symbols/linux/utilities/modules.py | 6 + 6 files changed, 71 insertions(+), 190 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index b902bc872..ec6f0b73d 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -46,23 +46,12 @@ class Check_modules(plugins.PluginInterface): @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), requirements.VersionRequirement( name="linux_utilities_modules_module_display_plugin", component=linux_utilities_modules.ModuleDisplayPlugin, version=(1, 0, 0), ), - requirements.BooleanRequirement( - name="dump", - description="Extract listed modules", - default=False, - optional=True, - ), - ] + ] + linux_utilities_modules.ModuleDisplayPlugin.get_requirements() @classmethod @deprecation.deprecated_method( diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 5d44ccb00..38bddc9d8 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -7,7 +7,6 @@ from volatility3.framework.symbols.linux.utilities import ( modules as linux_utilities_modules, ) from volatility3.framework import interfaces, exceptions, deprecation -from volatility3.framework.constants import architectures from volatility3.framework.configuration import requirements from volatility3.framework.symbols.linux import extensions from volatility3.framework.interfaces import plugins @@ -62,23 +61,12 @@ class Hidden_modules(plugins.PluginInterface): @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=architectures.LINUX_ARCHS, - ), requirements.VersionRequirement( name="linux_utilities_modules_module_display_plugin", component=linux_utilities_modules.ModuleDisplayPlugin, version=(1, 0, 0), ), - requirements.BooleanRequirement( - name="dump", - description="Extract listed modules", - default=False, - optional=True, - ), - ] + ] + linux_utilities_modules.ModuleDisplayPlugin.get_requirements() @staticmethod @deprecation.deprecated_method( diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index d2fe5880d..8ed52e3b7 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -27,28 +27,12 @@ class Lsmod(plugins.PluginInterface): @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="linux_utilities_modules", - component=linux_utilities_modules.Modules, - version=(3, 0, 0), - ), requirements.VersionRequirement( name="linux_utilities_modules_module_display_plugin", component=linux_utilities_modules.ModuleDisplayPlugin, version=(1, 0, 0), ), - requirements.BooleanRequirement( - name="dump", - description="Extract listed modules", - default=False, - optional=True, - ), - ] + ] + linux_utilities_modules.ModuleDisplayPlugin.get_requirements() @classmethod @deprecation.deprecated_method( diff --git a/volatility3/framework/plugins/linux/module_extract.py b/volatility3/framework/plugins/linux/module_extract.py index 2d728f0fd..c9662da08 100644 --- a/volatility3/framework/plugins/linux/module_extract.py +++ b/volatility3/framework/plugins/linux/module_extract.py @@ -31,7 +31,7 @@ class ModuleExtract(interfaces.plugins.PluginInterface): ), requirements.IntRequirement( name="base", - description="Base address to reconstruct an ELF file", + description="Base virtual address to reconstruct an ELF file", optional=False, ), ] diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index fbe9053ec..c543228a8 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -28,7 +28,7 @@ vollog = logging.getLogger(__name__) # that can be analyzed with static analysis tools # First, the .strtab points somewhere random and is kept off the module structure, not with the other sections # Second, all of the symbols (.symtab) have mangled members that we must patch for anything to make sense -# Third, the section name string stable (.shstrtab) is not an allocated section, meaning its not in memory +# Third, the section name string table (.shstrtab) is not an allocated section, meaning its not in memory # Not having the .shstrtab makes analysis impossible-to-difficult for static analysis tools. To work around this, # we create the .shstrtab based on the sections in memory and then glue it in as the final section @@ -185,7 +185,7 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): cls, context: interfaces.context.ContextInterface, vmlinux_name: str, - original_sections, + original_sections: Dict[int, str], section_sizes: Dict[int, int], sym_type_name: str, st_fmt: str, @@ -347,7 +347,7 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): # All others can be read with padding # get the addresses in sorted order, can index into `original_sections` for names - sorted_addresses = sorted(original_sections) + sorted_addresses = sorted(original_sections.keys()) # We need to track where .symtab is for symbol name offsets symtab_address = None @@ -438,78 +438,46 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): return updated_sections, strtab_index, symtab_index @classmethod - def _make_elf_header_32( - cls, sect_hdr_offset: int, num_sections: int + def _make_elf_header( + cls, bits: int, sect_hdr_offset: int, num_sections: int ) -> Optional[bytes]: """ - Creates a 32 bit ELF header for the file based on recovered values + Creates a `bits` bit ELF header for the file based on recovered values Called last as it needs information computed from the sections Spec: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html """ - e_ident = b"\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00" - e_type = b"\x01\x00" # relocateble - e_machine = b"\x03\x00" # EM_X86_86 - e_version = b"\x01\x00\x00\x00" - e_entry = b"\x00" * 4 # The .init sections are freed after module load - e_phoff = b"\x00" * 4 - e_shoff = struct.pack(" Optional[bytes]: - """ - Creates a 64 bit ELF header for the file based on recovered values - Called last as it needs information computed from the sections - - Spec: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html - """ - e_ident = b"\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00" - e_type = b"\x01\x00" # relocateble - e_machine = b"\x3e\x00" # EM_X86_64 - e_version = b"\x01\x00\x00\x00" - e_entry = b"\x00" * 8 # The .init sections are freed after module load - e_phoff = b"\x00" * 8 - e_shoff = struct.pack(" Optional[bytes]: """ - Creates a section header (Elf32_Shdr) for the given section + Creates a section header (Elf32_Shdr or Elf64_Shdr) for the given section """ + if bits == 32: + fmt = " Optional[bytes]: - """ - Creates a section header (Elf64_Shdr) for the given section - """ - sect_header_type_int = cls._calc_sect_type(name) - - flags = cls._calc_sect_flags(name) - - link = cls._calc_link(name, strtab_index, symtab_index, sect_header_type_int) - - entsize = cls._calc_entsize(name, sect_header_type_int, 64) - - try: - sh_name = struct.pack(" Date: Thu, 27 Mar 2025 17:02:23 -0500 Subject: [PATCH 1727/2186] Address feedback update --- .../framework/symbols/linux/utilities/module_extract.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index c543228a8..c70e727da 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -461,9 +461,10 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): e_ident = ( b"\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00" ) - e_machine = 0x3E # EM_X86_64 - e_ehsize = 64 - e_shentsize = 52 + e_machine_int = 0x3E # EM_X86_64 + e_ehsize_int = 64 + e_shentsize_int = 52 + header_size = 64 e_type = struct.pack(" Date: Thu, 27 Mar 2025 17:06:14 -0500 Subject: [PATCH 1728/2186] Bug fix --- volatility3/framework/symbols/linux/utilities/module_extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index c70e727da..1176f4b04 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -463,7 +463,7 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): ) e_machine_int = 0x3E # EM_X86_64 e_ehsize_int = 64 - e_shentsize_int = 52 + e_shentsize_int = 64 header_size = 64 e_type = struct.pack(" Date: Thu, 27 Mar 2025 17:17:08 -0500 Subject: [PATCH 1729/2186] ordering fix --- .../framework/symbols/linux/utilities/module_extract.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index 1176f4b04..0b57dcdbc 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -240,8 +240,11 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): st_other = struct.pack("B", sym.st_other) st_size = struct.pack(st_fmt, sym.st_size) - # The order as in the ELF specification - sym_data = st_name + st_info + st_other + st_shndx + st_value + st_size + # The order as in the ELF specification. The order is not the same between 32 and 64 bit symbols + if st_fmt == " Date: Thu, 27 Mar 2025 18:39:29 -0500 Subject: [PATCH 1730/2186] Add required interface version to plugin --- volatility3/framework/plugins/linux/module_extract.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/module_extract.py b/volatility3/framework/plugins/linux/module_extract.py index c9662da08..1252e3708 100644 --- a/volatility3/framework/plugins/linux/module_extract.py +++ b/volatility3/framework/plugins/linux/module_extract.py @@ -4,6 +4,7 @@ import logging from typing import List +from volatility3 import framework import volatility3.framework.symbols.linux.utilities.module_extract as linux_utilities_module_extract from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements @@ -16,9 +17,10 @@ vollog = logging.getLogger(__name__) class ModuleExtract(interfaces.plugins.PluginInterface): """Recreates an ELF file from a specific address in the kernel""" + _version = (1, 0, 0) _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + framework.require_interface_version(*_required_framework_version) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 61575ca2b129f5068d6eee56b17cb31eba548840 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 27 Mar 2025 19:30:58 -0500 Subject: [PATCH 1731/2186] Require parity framework version --- volatility3/framework/plugins/linux/module_extract.py | 2 +- volatility3/framework/symbols/linux/utilities/module_extract.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/module_extract.py b/volatility3/framework/plugins/linux/module_extract.py index 1252e3708..d7c875523 100644 --- a/volatility3/framework/plugins/linux/module_extract.py +++ b/volatility3/framework/plugins/linux/module_extract.py @@ -18,7 +18,7 @@ class ModuleExtract(interfaces.plugins.PluginInterface): """Recreates an ELF file from a specific address in the kernel""" _version = (1, 0, 0) - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 25, 0) framework.require_interface_version(*_required_framework_version) diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index 0b57dcdbc..49ad4d9c0 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -39,7 +39,7 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): """Extracts Linux kernel module structures into an analyzable ELF file""" _version = (1, 0, 0) - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 25, 0) framework.require_interface_version(*_required_framework_version) From a3069a3192b7c704954ee2be29cc8383e5bf36ba Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Thu, 27 Mar 2025 20:06:09 -0500 Subject: [PATCH 1732/2186] Fix hidden_modules to actually list hidden modules... --- .../framework/plugins/linux/hidden_modules.py | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 38bddc9d8..136aafdd9 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -17,8 +17,35 @@ vollog = logging.getLogger(__name__) class Hidden_modules(plugins.PluginInterface): """Carves memory to find hidden kernel modules""" - _required_framework_version = (2, 10, 0) - _version = (3, 0, 1) + _required_framework_version = (2, 25, 0) + _version = (3, 0, 2) + + @classmethod + def find_hidden_modules( + cls, context, vmlinux_module_name: str + ) -> extensions.module: + if context.symbol_space.verify_table_versions( + "dwarf2json", lambda version, _: (not version) or version < (0, 8, 0) + ): + raise exceptions.SymbolSpaceError( + "Invalid symbol table, please ensure the ISF table produced by dwarf2json was created with version 0.8.0 or later" + ) + + known_module_addresses = cls.get_lsmod_module_addresses( + context, vmlinux_module_name + ) + modules_memory_boundaries = ( + linux_utilities_modules.Modules.get_modules_memory_boundaries( + context, vmlinux_module_name + ) + ) + + yield from linux_utilities_modules.Modules.get_hidden_modules( + context, + vmlinux_module_name, + known_module_addresses, + modules_memory_boundaries, + ) @classmethod def get_hidden_modules( @@ -56,7 +83,7 @@ class Hidden_modules(plugins.PluginInterface): run = linux_utilities_modules.ModuleDisplayPlugin.run _generator = linux_utilities_modules.ModuleDisplayPlugin.generator - implementation = linux_utilities_modules.Modules.list_modules + implementation = find_hidden_modules @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -163,30 +190,3 @@ class Hidden_modules(plugins.PluginInterface): ) } return known_module_addresses - - @classmethod - def find_hidden_modules( - cls, context, vmlinux_module_name: str - ) -> extensions.module: - if context.symbol_space.verify_table_versions( - "dwarf2json", lambda version, _: (not version) or version < (0, 8, 0) - ): - raise exceptions.SymbolSpaceError( - "Invalid symbol table, please ensure the ISF table produced by dwarf2json was created with version 0.8.0 or later" - ) - - known_module_addresses = cls.get_lsmod_module_addresses( - context, vmlinux_module_name - ) - modules_memory_boundaries = ( - linux_utilities_modules.Modules.get_modules_memory_boundaries( - context, vmlinux_module_name - ) - ) - - yield from linux_utilities_modules.Modules.get_hidden_modules( - context, - vmlinux_module_name, - known_module_addresses, - modules_memory_boundaries, - ) From ee0ad0b4af9c094976390f65376d623345dab393 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 28 Mar 2025 01:46:14 +0000 Subject: [PATCH 1733/2186] Update the various MINOR version bumps to the current version --- API_CHANGES.md | 96 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 94 insertions(+), 2 deletions(-) diff --git a/API_CHANGES.md b/API_CHANGES.md index 61d8781fb..83d59a202 100644 --- a/API_CHANGES.md +++ b/API_CHANGES.md @@ -4,6 +4,100 @@ API Changes When an addition to the existing API is made, the minor version is bumped. When an API feature or function is removed or changed, the major version is bumped. +2.25.0 +====== +Pointer class now supports `get_raw_value()`. +`KTIMER` no longer supports `get_raw_dpc()`. + +2.24.0 +====== +Support `encoding` parameter for `objects.utility.array_to_string` + +2.23.0 +====== +Add support for windows GUI classes and OS distinguishers. +Add a symbol_table_name for `ExecutiveObject.get_object_header()`/ + +2.22.0 +====== +Linux net constants added. +Network objects moved to separate versionable module. + +2.21.0 +====== +`uuid` method added to `linux.extensions`. + +2.20.0 +====== +NM_TYPES_DESC constants added to linux. +`latch_tree_root` and `kernel_symbol` added to linux extensions. +Linux `module` class additions: +* `get_module_address_boundaries` +* `section_typetab` +Linux `task_struct` class additions: +* `get_address_space_layer` +* `state` +Linux `bpf_prog` class additions: +* `bpf_jit_binary_hdr_address` + +2.19.0 +====== +Introduction of `Modules` versionable linux extension module. +Deprecation of some `LinuxUtilities` functions relating to modules. + +2.18.0 +====== +Addition of `scatterlist` linux extension. + +2.17.0 +====== +The addition of a `types` member to `SymbolInterface` + +2.16.0 +====== +Addition of TAINT_FLAG constants, `TaintFlag` dataclass +Addition of linux `tainting` versionable module + +2.15.0 +====== +Addition of `convert_fourcc_code` to `LinuxUtilities` class + +2.14.0 +====== +No significant changes (part of the 2.16.0 PR which took time in development) + +2.13.0 +====== +Linux `task` objectr extension addition of `getppid` + +2.12.0 +====== +Changes to the Intel layer to support `PROT_NONE` pages. + +2.11.0 +====== +Addition of `get_type` method to windows `CM_KEY_NODE` registry structure + +2.10.0 +====== +No significant API changes (CLI changes to the JSONL text renderer) + +2.9.0 +===== +No significant API changes (change to call `linux.LinuxUtilities.get_module_from_volobj_type` to get the kernel) + +2.8.0 +===== +Addition of the `BinOrAbsent`, `HexOrAbsent`, `HexBytesOrAbsent` and `MultiTypeDataOrAbsent` data type renderers + +2.7.0 +===== +Addition of `is_valid`, `get_create_time` and `get_exit_time` to ETHREAD structure + +2.6.0 +===== +No significant changes (again, the version got bump twice in the PR straight to 2.7.0) + 2.5.0 ===== Add in support for specifying a type override for object_from_symbol @@ -50,5 +144,3 @@ an absolute offset. This can be done with `Module.get_absolute_symbol_address` * Added context.modules * Added ModuleRequirement * Added get\_symbols\_by\_absolute\_location - - From 9ffdf08f20434263f7f58347d58683ee5df817bd Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 11:45:34 +0000 Subject: [PATCH 1734/2186] Improve `display_type` in Volshell with better pointer handling - Introduced `_get_type_name_with_pointer` to properly display pointer types. - Enhanced `display_type` to follow and display pointer chains up to `MAX_DEREFERENCE_COUNT` levels. - Added `_display_simple_type` to standardize type information display. - Improved `_display_value` to highlight null and unreadable pointers. --- volatility3/cli/volshell/generic.py | 170 ++++++++++++++++++++++++---- 1 file changed, 147 insertions(+), 23 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 3a5d514fe..116e9c449 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -32,6 +32,8 @@ try: except ImportError: has_ipython = False +MAX_DEREFERENCE_COUNT = 4 # the max number of times display_type should follow pointers + class Volshell(interfaces.plugins.PluginInterface): """Shell environment to directly interact with a memory image.""" @@ -386,6 +388,30 @@ class Volshell(interfaces.plugins.PluginInterface): for i in disasm_types[architecture].disasm(remaining_data, offset): print(f"0x{i.address:x}:\t{i.mnemonic}\t{i.op_str}") + def _get_type_name_with_pointer( + self, + member_type: Union[ + str, interfaces.objects.ObjectInterface, interfaces.objects.Template + ], + depth: int = 0, + ) -> str: + """Takes a member_type from and returns the subtype name with a * if the member_type is + a pointer otherwise it returns just the normal type name.""" + pointer_marker = "*" * depth + try: + if member_type.vol.object_class == objects.Pointer: + sub_member_type = member_type.vol.subtype + # follow at most MAX_DEREFERENCE_COUNT pointers. A guard against, hopefully unlikely, infinite loops + if depth < MAX_DEREFERENCE_COUNT: + return self._get_type_name_with_pointer(sub_member_type, depth + 1) + else: + return member_type_name + except AttributeError: + pass # not all objects get a `object_class`, and those that don't are not pointers. + finally: + member_type_name = pointer_marker + member_type.vol.type_name + return member_type_name + def display_type( self, object: Union[ @@ -418,26 +444,51 @@ class Volshell(interfaces.plugins.PluginInterface): volobject.vol.type_name, layer_name=self.current_layer, offset=offset ) - if hasattr(volobject.vol, "size"): - print(f"{volobject.vol.type_name} ({volobject.vol.size} bytes)") - elif hasattr(volobject.vol, "data_format"): - data_format = volobject.vol.data_format - print( - "{} ({} bytes, {} endian, {})".format( - volobject.vol.type_name, - data_format.length, - data_format.byteorder, - "signed" if data_format.signed else "unsigned", - ) - ) + # add special case for pointer so that information about the struct the + # pointer is pointing to is shown rather than simply the fact this is a + # pointer object. The "dereference_count < MAX_DEREFERENCE_COUNT" is to + # guard against loops + dereference_count = 0 + while ( + isinstance(volobject, objects.Pointer) + and dereference_count < MAX_DEREFERENCE_COUNT + ): + # before defreerencing the pointer, show it's information + print(f'{" " * dereference_count}{self._display_simple_type(volobject)}') + + # check that we can follow the pointer before dereferencing and do not + # attempt to follow null pointers. + if volobject.is_readable() and volobject != 0: + # now deference the pointer and store this as the new volobject + volobject = volobject.dereference() + dereference_count = dereference_count + 1 + else: + # if we aren't able to follow the pointers anymore then there will + # be no more information to display as we've already printed the + # details of this pointer including the fact that we're not able to + # follow it anywhere + return if hasattr(volobject.vol, "members"): + # display the header for this object, if the orginal object was just a type string, display the type information + struct_header = f'{" " * dereference_count}{volobject.vol.type_name} ({volobject.vol.size} bytes)' + if isinstance(object, str) and offset is None: + suffix = ":" + else: + # this is an actual object or an offset was given so the offset should be displayed + suffix = f" @ {hex(volobject.vol.offset)}:" + print(struct_header + suffix) + + # it is a more complex type, so all members also need information displayed longest_member = longest_offset = longest_typename = 0 for member in volobject.vol.members: relative_offset, member_type = volobject.vol.members[member] longest_member = max(len(member), longest_member) longest_offset = max(len(hex(relative_offset)), longest_offset) - longest_typename = max(len(member_type.vol.type_name), longest_typename) + member_type_name = self._get_type_name_with_pointer( + member_type + ) # special case for pointers to show what they point to + longest_typename = max(len(member_type_name), longest_typename) for member in sorted( volobject.vol.members, key=lambda x: (volobject.vol.members[x][0], x) @@ -445,40 +496,113 @@ class Volshell(interfaces.plugins.PluginInterface): relative_offset, member_type = volobject.vol.members[member] len_offset = len(hex(relative_offset)) len_member = len(member) - len_typename = len(member_type.vol.type_name) + member_type_name = self._get_type_name_with_pointer( + member_type + ) # special case for pointers to show what they point to + len_typename = len(member_type_name) if isinstance(volobject, interfaces.objects.ObjectInterface): # We're an instance, so also display the data print( + " " * dereference_count, " " * (longest_offset - len_offset), hex(relative_offset), ": ", member, " " * (longest_member - len_member), " ", - member_type.vol.type_name, + member_type_name, " " * (longest_typename - len_typename), " ", self._display_value(getattr(volobject, member)), ) else: + # not provided with an actual object, nor an offset so just display the types print( + " " * dereference_count, " " * (longest_offset - len_offset), hex(relative_offset), ": ", member, " " * (longest_member - len_member), " ", - member_type.vol.type_name, + member_type_name, ) - @classmethod - def _display_value(cls, value: Any) -> str: - if isinstance(value, objects.PrimitiveObject): - return repr(value) - elif isinstance(value, objects.Array): - return repr([cls._display_value(val) for val in value]) + else: # simple type with no members, only one line to print + # if the orginal object was just a type string, display the type information + if isinstance(object, str) and offset is None: + print(self._display_simple_type(volobject, include_value=False)) + + # if the original object was an actual volobject or was a type string + # with an offset. Then append the actual data to the display. + else: + print(" " * dereference_count, self._display_simple_type(volobject)) + + def _display_simple_type( + self, + volobject: Union[ + interfaces.objects.ObjectInterface, interfaces.objects.Template + ], + include_value: bool = True, + ) -> str: + # build the display_type_string based on the aviable information + + if hasattr(volobject.vol, "size"): + # the most common type to display, this shows their full size, e.g.: + # (layer_name) >>> dt('task_struct') + # symbol_table_name1!task_struct (1784 bytes) + display_type_string = ( + f"{volobject.vol.type_name} ({volobject.vol.size} bytes)" + ) + elif hasattr(volobject.vol, "data_format"): + # this is useful for very simple types like ints, e.g.: + # (layer_name) >>> dt('int') + # symbol_table_name1!int (4 bytes, little endian, signed) + data_format = volobject.vol.data_format + display_type_string = "{} ({} bytes, {} endian, {})".format( + volobject.vol.type_name, + data_format.length, + data_format.byteorder, + "signed" if data_format.signed else "unsigned", + ) + elif hasattr(volobject.vol, "type_name"): + # types like void have almost no values to display other than their name, e.g.: + # (layer_name) >>> dt('void') + # symbol_table_name1!void + display_type_string = volobject.vol.type_name else: - return hex(value.vol.offset) + # it should not be possible to have a volobject without at least a type_name + raise AttributeError("Unable to find any details for object") + + if include_value: # if include_value is true also add the value to the display + if isinstance(volobject, objects.Pointer): + # for pointers include the location of the pointer and where it points to + return f"{display_type_string} @ {hex(volobject.vol.offset)} -> {self._display_value(volobject)}" + else: + return f"{display_type_string}: {self._display_value(volobject)}" + else: + return display_type_string + + def _display_value(self, value: Any) -> str: + try: + if isinstance(value, objects.Pointer): + # show pointers in hex to match output for struct addrs + # highlight null or unreadable pointers + if value == 0: + suffix = " (null pointer)" + elif not value.is_readable(): + suffix = " (unreadable pointer)" + else: + suffix = "" + return f"{hex(value)}{suffix}" + elif isinstance(value, objects.PrimitiveObject): + return repr(value) + elif isinstance(value, objects.Array): + return repr([self._display_value(val) for val in value]) + else: + return hex(value.vol.offset) + except exceptions.InvalidAddressException: + return "-" def generate_treegrid( self, plugin: Type[interfaces.plugins.PluginInterface], **kwargs From 82e1813310a5fe168c73ae1905084d3f5d2909a1 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 11:52:44 +0000 Subject: [PATCH 1735/2186] Handle InvalidAddressException in volshell value display (thanks @atcuno!) Details: Implements exception handling for InvalidAddressException in volshell. Ensures invalid pointers don't cause large stack traces, displaying "N/A" instead. --- volatility3/cli/volshell/generic.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 116e9c449..ca1c7b73c 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -502,6 +502,10 @@ class Volshell(interfaces.plugins.PluginInterface): len_typename = len(member_type_name) if isinstance(volobject, interfaces.objects.ObjectInterface): # We're an instance, so also display the data + try: + value = self._display_value(getattr(volobject, member)) + except exceptions.InvalidAddressException: + value = self._display_value(renderers.NotAvailableValue()) print( " " * dereference_count, " " * (longest_offset - len_offset), @@ -513,7 +517,7 @@ class Volshell(interfaces.plugins.PluginInterface): member_type_name, " " * (longest_typename - len_typename), " ", - self._display_value(getattr(volobject, member)), + value, ) else: # not provided with an actual object, nor an offset so just display the types @@ -585,7 +589,9 @@ class Volshell(interfaces.plugins.PluginInterface): def _display_value(self, value: Any) -> str: try: - if isinstance(value, objects.Pointer): + if isinstance(value, interfaces.renderers.BaseAbsentValue): + return "N/A" + elif isinstance(value, objects.Pointer): # show pointers in hex to match output for struct addrs # highlight null or unreadable pointers if value == 0: From 2415e985104c698ba0e9994d292c26f74b120cd5 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 12:35:32 +0000 Subject: [PATCH 1736/2186] Fix `display_type()` issue for `.write` attribute in volshell, or other fuctions Previously, `getattr(volobject, member)` in `display_type()` would incorrectly retrieve method references (e.g., `.write`) instead of the intended object addresses, causing an `AttributeError` when `_display_value()` attempted to access `.vol.offset`. This commit replaces `getattr(volobject, member)` with `volobject.member(member)`, ensuring that the correct object address is retrieved instead of method references. Fixes: #1705 --- volatility3/cli/volshell/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index ca1c7b73c..4ebda12a2 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -503,7 +503,7 @@ class Volshell(interfaces.plugins.PluginInterface): if isinstance(volobject, interfaces.objects.ObjectInterface): # We're an instance, so also display the data try: - value = self._display_value(getattr(volobject, member)) + value = self._display_value(volobject.member(member)) except exceptions.InvalidAddressException: value = self._display_value(renderers.NotAvailableValue()) print( From f060e3b8aea71ee8b32f607e5c8cad41d12dc331 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 12:42:24 +0000 Subject: [PATCH 1737/2186] Fix type check for pointer detection in volshell Replaced `member_type.vol.object_class == objects.Pointer` with `isinstance(member_type, objects.Pointer)` to identify pointer types consistently. Thanks to @ikelos for the suggestion! --- volatility3/cli/volshell/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 4ebda12a2..cc8027ddd 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -399,7 +399,7 @@ class Volshell(interfaces.plugins.PluginInterface): a pointer otherwise it returns just the normal type name.""" pointer_marker = "*" * depth try: - if member_type.vol.object_class == objects.Pointer: + if isinstance(member_type, objects.Pointer): sub_member_type = member_type.vol.subtype # follow at most MAX_DEREFERENCE_COUNT pointers. A guard against, hopefully unlikely, infinite loops if depth < MAX_DEREFERENCE_COUNT: From d648bd908dcb220a1c7d22aaaa380c060c077a06 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 13:07:26 +0000 Subject: [PATCH 1738/2186] Revert change in _get_type_name_with_pointer as this stopped the pointer marker being calculated correctly --- volatility3/cli/volshell/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index cc8027ddd..4ebda12a2 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -399,7 +399,7 @@ class Volshell(interfaces.plugins.PluginInterface): a pointer otherwise it returns just the normal type name.""" pointer_marker = "*" * depth try: - if isinstance(member_type, objects.Pointer): + if member_type.vol.object_class == objects.Pointer: sub_member_type = member_type.vol.subtype # follow at most MAX_DEREFERENCE_COUNT pointers. A guard against, hopefully unlikely, infinite loops if depth < MAX_DEREFERENCE_COUNT: From 9d1a68256506d797cb3bd4e38986e484611f788f Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 13:36:32 +0000 Subject: [PATCH 1739/2186] remove unneeded else, this case is caught with finally --- volatility3/cli/volshell/generic.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 4ebda12a2..d6d2fdcc8 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -404,8 +404,6 @@ class Volshell(interfaces.plugins.PluginInterface): # follow at most MAX_DEREFERENCE_COUNT pointers. A guard against, hopefully unlikely, infinite loops if depth < MAX_DEREFERENCE_COUNT: return self._get_type_name_with_pointer(sub_member_type, depth + 1) - else: - return member_type_name except AttributeError: pass # not all objects get a `object_class`, and those that don't are not pointers. finally: From f844f80d2a0bc9c39e92def94a312bcc0aa7b81f Mon Sep 17 00:00:00 2001 From: ikelos Date: Fri, 28 Mar 2025 14:29:35 +0000 Subject: [PATCH 1740/2186] Update API_CHANGES.md Fix typo highlighted by @eve-mem --- API_CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API_CHANGES.md b/API_CHANGES.md index 83d59a202..a4d8d9b13 100644 --- a/API_CHANGES.md +++ b/API_CHANGES.md @@ -68,7 +68,7 @@ No significant changes (part of the 2.16.0 PR which took time in development) 2.13.0 ====== -Linux `task` objectr extension addition of `getppid` +Linux `task` object extension addition of `getppid` 2.12.0 ====== From ec9e738334aa4703bfadd940f94b056f09d55558 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 14:37:46 +0000 Subject: [PATCH 1741/2186] fix typo --- volatility3/cli/volshell/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index d6d2fdcc8..adb307c62 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -547,7 +547,7 @@ class Volshell(interfaces.plugins.PluginInterface): ], include_value: bool = True, ) -> str: - # build the display_type_string based on the aviable information + # build the display_type_string based on the available information if hasattr(volobject.vol, "size"): # the most common type to display, this shows their full size, e.g.: From fe6d57554bfda140d51a490da63f1764b04cd1db Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 14:51:31 +0000 Subject: [PATCH 1742/2186] update _display_value to handle None case --- volatility3/cli/volshell/generic.py | 49 +++++++++++++++++++---------- 1 file changed, 33 insertions(+), 16 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index adb307c62..688a513e5 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -587,26 +587,43 @@ class Volshell(interfaces.plugins.PluginInterface): def _display_value(self, value: Any) -> str: try: + # if value is a BaseAbsentValue they display N/A if isinstance(value, interfaces.renderers.BaseAbsentValue): return "N/A" - elif isinstance(value, objects.Pointer): - # show pointers in hex to match output for struct addrs - # highlight null or unreadable pointers - if value == 0: - suffix = " (null pointer)" - elif not value.is_readable(): - suffix = " (unreadable pointer)" - else: - suffix = "" - return f"{hex(value)}{suffix}" - elif isinstance(value, objects.PrimitiveObject): - return repr(value) - elif isinstance(value, objects.Array): - return repr([self._display_value(val) for val in value]) else: - return hex(value.vol.offset) + # volobject branch + if isinstance( + value, + Union[ + interfaces.objects.ObjectInterface, interfaces.objects.Template + ], + ): + if isinstance(value, objects.Pointer): + # show pointers in hex to match output for struct addrs + # highlight null or unreadable pointers + if value == 0: + suffix = " (null pointer)" + elif not value.is_readable(): + suffix = " (unreadable pointer)" + else: + suffix = "" + return f"{hex(value)}{suffix}" + elif isinstance(value, objects.PrimitiveObject): + return repr(value) + elif isinstance(value, objects.Array): + return repr([self._display_value(val) for val in value]) + else: + return hex(value.vol.offset) + else: + # non volobject + if value is None: + return "N/A" + else: + return value + except exceptions.InvalidAddressException: - return "-" + # if value causes an InvalidAddressException like BaseAbsentValue then display N/A + return "N/A" def generate_treegrid( self, plugin: Type[interfaces.plugins.PluginInterface], **kwargs From 06815f9c91f33304e08ba8345b5b24d680792844 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 15:03:53 +0000 Subject: [PATCH 1743/2186] volshell: add MAX_TYPENAME_DISPLAY_LENGTH to stop extremely large names breaking the output --- volatility3/cli/volshell/generic.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 688a513e5..9a03bd32a 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -418,6 +418,9 @@ class Volshell(interfaces.plugins.PluginInterface): offset: Optional[int] = None, ): """Display Type describes the members of a particular object in alphabetical order""" + + MAX_TYPENAME_DISPLAY_LENGTH = 256 + if not isinstance( object, (str, interfaces.objects.ObjectInterface, interfaces.objects.Template), @@ -487,6 +490,8 @@ class Volshell(interfaces.plugins.PluginInterface): member_type ) # special case for pointers to show what they point to longest_typename = max(len(member_type_name), longest_typename) + if longest_typename > MAX_TYPENAME_DISPLAY_LENGTH: + longest_typename = MAX_TYPENAME_DISPLAY_LENGTH for member in sorted( volobject.vol.members, key=lambda x: (volobject.vol.members[x][0], x) @@ -497,6 +502,10 @@ class Volshell(interfaces.plugins.PluginInterface): member_type_name = self._get_type_name_with_pointer( member_type ) # special case for pointers to show what they point to + if len(member_type_name) > MAX_TYPENAME_DISPLAY_LENGTH: + member_type_name = ( + f"{member_type_name[:MAX_TYPENAME_DISPLAY_LENGTH - 3]}..." + ) len_typename = len(member_type_name) if isinstance(volobject, interfaces.objects.ObjectInterface): # We're an instance, so also display the data From c43a1f40d333dcf104a9c1cdb3b95803f9d3d7d2 Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Fri, 28 Mar 2025 15:50:36 +0000 Subject: [PATCH 1744/2186] Update volatility3/cli/volshell/generic.py Tidy up case where type_name is very long by @ikelos Co-authored-by: ikelos --- volatility3/cli/volshell/generic.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 9a03bd32a..22d82ff61 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -502,11 +502,10 @@ class Volshell(interfaces.plugins.PluginInterface): member_type_name = self._get_type_name_with_pointer( member_type ) # special case for pointers to show what they point to - if len(member_type_name) > MAX_TYPENAME_DISPLAY_LENGTH: - member_type_name = ( - f"{member_type_name[:MAX_TYPENAME_DISPLAY_LENGTH - 3]}..." - ) len_typename = len(member_type_name) + if len(member_type_name) > MAX_TYPENAME_DISPLAY_LENGTH: + len_typename = MAX_TYPENAME_DISPLAY_LENGTH + member_type_name = f"{member_type_name[:len_typename - 3]}..." if isinstance(volobject, interfaces.objects.ObjectInterface): # We're an instance, so also display the data try: From 6653b93b05476781003c5f2258c54ce4619b48eb Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 15:54:24 +0000 Subject: [PATCH 1745/2186] volshell: update longest_typename calculations to use min() that than if statement --- volatility3/cli/volshell/generic.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 22d82ff61..806c5ab07 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -489,9 +489,12 @@ class Volshell(interfaces.plugins.PluginInterface): member_type_name = self._get_type_name_with_pointer( member_type ) # special case for pointers to show what they point to + + # find the longest typename longest_typename = max(len(member_type_name), longest_typename) - if longest_typename > MAX_TYPENAME_DISPLAY_LENGTH: - longest_typename = MAX_TYPENAME_DISPLAY_LENGTH + + # if the typename is very long then limit it to MAX_TYPENAME_DISPLAY_LENGTH + longest_typename = min(longest_typename, MAX_TYPENAME_DISPLAY_LENGTH) for member in sorted( volobject.vol.members, key=lambda x: (volobject.vol.members[x][0], x) From fa45b47ed72e7cd37d6becb8d588a4dae58873bb Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 15:58:11 +0000 Subject: [PATCH 1746/2186] volshell: use repr for none vol objects --- volatility3/cli/volshell/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 806c5ab07..11814f20a 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -630,7 +630,7 @@ class Volshell(interfaces.plugins.PluginInterface): if value is None: return "N/A" else: - return value + return repr(value) except exceptions.InvalidAddressException: # if value causes an InvalidAddressException like BaseAbsentValue then display N/A From 2ad1536b4e154f601f28247e15640ccc4bc0ad84 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 24 Mar 2025 11:59:38 -0500 Subject: [PATCH 1747/2186] Testing: Verify `VersionRequirement`s This adds a script and GitHub action to the `test` directory that dynamically imports all modules in `volatility3`, searches for usages of `VersionableInterface` objects within classes that inherit from `ConfigurableInterface` but don't enumerate the used component as a requirement in `get_requirements()`, and returns -1 if any violations are found. Fixes --- .github/workflows/check-requirements.yml | 25 ++ pyproject.toml | 2 + test/check_configurable_requirements.py | 300 +++++++++++++++++++++++ 3 files changed, 327 insertions(+) create mode 100644 .github/workflows/check-requirements.yml create mode 100644 test/check_configurable_requirements.py diff --git a/.github/workflows/check-requirements.yml b/.github/workflows/check-requirements.yml new file mode 100644 index 000000000..9892d7b94 --- /dev/null +++ b/.github/workflows/check-requirements.yml @@ -0,0 +1,25 @@ +name: Check Volatility3 Version Requirements +on: [push, pull_request] +jobs: + + build: + runs-on: ubuntu-22.04 + strategy: + matrix: + python-version: ["3.8"] + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install .[test] + + - name: Testing... + run: | + # Verify completeness of ConfigurableInterface requirements + python ./test/check_configurable_requirements.py diff --git a/pyproject.toml b/pyproject.toml index abd2e79f7..8bc3693a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,6 +46,8 @@ test = [ "volatility3[dev]", "pytest>=8.3.3,<9", "yara-x>=0.10.0,<1", + "tree-sitter==0.21.3", + "tree-sitter-python==0.21.0", ] docs = [ diff --git a/test/check_configurable_requirements.py b/test/check_configurable_requirements.py new file mode 100644 index 000000000..e21df18ac --- /dev/null +++ b/test/check_configurable_requirements.py @@ -0,0 +1,300 @@ +import importlib +import inspect +import pkgutil +import sys +import traceback +import types +from textwrap import dedent +from typing import Dict, Iterator, List, NamedTuple, Optional, Tuple, Type + +from tree_sitter import Language, Node, Parser +from tree_sitter_python import language as python_language + +from volatility3.framework import configuration, interfaces + + +class UnrequiredVersionableUsage(NamedTuple): + versionable_item_class: str + """ + The name of the VersionableInterface class + """ + + consuming_class: str + """ + The name of the class that is using the imported VersionableInterface class + """ + + methodname: Optional[str] + """ + The name of the invoked method or attribute, if one is used or referenced + """ + + node: Node + """ + The tree-sitter node encapsulating the used module component. + """ + + def __str__(self) -> str: + return ( + f"Found usage of {self.versionable_item_class} " + f"in class {self.consuming_class} that is not declared " + f"in {self.consuming_class}'s `get_requirements()` classmethod" + ) + + +class RequirementValidator: + language = Language(python_language(), "python") + + def __init__(self, plugin_module: types.ModuleType) -> None: + if plugin_module.__file__ is None: + raise ValueError("Attempting to validate a module without a file") + + self._module = plugin_module + + # See which classes in *this* module are configurable (can have requirements declared) + self._configurable_classes = get_configurable_classes(plugin_module) + + # Get a mapping of class names to configurable classes that they declare in their requirements + self._versioned_item_mapping = get_versioned_item_mapping( + self._configurable_classes + ) + + # Get a mapping of module name -> versionable classes within the namespace of each module + self._imported_mod_classes = get_versionable_import_mapping( + get_imported_modules(plugin_module) + ) + + with open(plugin_module.__file__, "rb") as f: + source = f.read() + + self._parser = Parser() + self._parser.set_language(self.language) + self._tree = self._parser.parse(source) + + def enumerate_unrequired_usages( + self, + clazz: Type[interfaces.configuration.ConfigurableInterface], + class_node: Node, + ): + + # This query is designed to look for three different identifier usages: + # simple identifiers: PsList + # module attrs: pslist.PsList + # method calls: pslist.PsList.list_processes + obj_query = self.language.query( + dedent( + """ + [ + (identifier) + (attribute + object: (identifier) + attribute: (identifier)) + (attribute + object: (attribute + object: (identifier) + attribute: (identifier)) + ) + ] @ident + """ + ) + ) + + containing_name = class_node.child_by_field_name("name").text.decode("utf-8") + + valid_types = self._versioned_item_mapping[containing_name] + for _, match in obj_query.matches(class_node): + if "ident" not in match: + continue + + # Get the raw text of the match. This could be something like + # - PsList + # - pslist.PsList + # - pslist.PsList.list_processes + ident_text = match["ident"].text.decode("utf-8") + + # split the attributes + components = ident_text.split(".") + try: + # See if the first attribute is in the module namespace. + item = vars(self._module)[components[0]] + except KeyError: + # If it's not, it's likely a variable in a smaller scope and we + # can ignore it. + continue + + # If it's in the module namespace and is a module... + if isinstance(item, types.ModuleType): + try: + # We try getting attributes from it until we + # find one that is a versionable class + + # Ideally, we shouldn't have to look further than + # two levels + item = getattr(item, components[1]) + if not is_versionable(item): + item = getattr(item, components[2]) + if not is_versionable(item): + continue + + except (IndexError, AttributeError): + # we ran out of attributes to check + continue + + elif is_versionable(item): + # The versionable thing was at the top level. This + # goes against our preferred style, but is possible. + pass + else: + # This isn't something we care about. + continue + + if ( + item in valid_types + or item is clazz + or inspect.isabstract(item) + or item + is interfaces.configuration.VersionableInterface # Avoid checking the interface itself + ): + continue + + yield UnrequiredVersionableUsage( + item, + containing_name, + components[1] if len(components) > 1 else None, + match["ident"], + ) + + def find_class_nodes( + self, + ) -> Iterator[Tuple[Type[interfaces.configuration.ConfigurableInterface], Node]]: + """ + Yields an iterator of (classname, node) tuples, where the node is the subtree containing + the entire class definition. + """ + class_query = self.language.query("(class_definition) @classdef") + + matches = class_query.captures(self._tree.root_node) + for node, _ in matches: + classname = node.child_by_field_name("name").text.decode("utf-8") + if classname not in self._configurable_classes: + continue + + yield self._configurable_classes[classname], node + + +def is_versionable(var): + try: + return issubclass(var, interfaces.configuration.VersionableInterface) + except TypeError: + return False + + +def is_configurable(var): + try: + return issubclass(var, interfaces.configuration.ConfigurableInterface) + except TypeError: + return False + + +def get_imported_modules( + plugin_module: types.ModuleType, +) -> List[Tuple[str, types.ModuleType]]: + return [ + (name, var) + for name, var in vars(plugin_module).items() + if isinstance(var, types.ModuleType) + ] + + +def get_configurable_classes( + plugin_module: types.ModuleType, +) -> Dict[str, Type[interfaces.configuration.ConfigurableInterface]]: + return { + name: clazz + for name, clazz in vars(plugin_module).items() + if is_configurable(clazz) + } + + +def get_versioned_item_mapping( + configurable_classes: Dict[ + str, Type[interfaces.configuration.ConfigurableInterface] + ] +) -> Dict[str, List[Type[interfaces.configuration.VersionableInterface]]]: + return { + name: [ + req._component + for req in clazz.get_requirements() + if isinstance(req, configuration.requirements.VersionRequirement) + ] + for name, clazz in configurable_classes.items() + } + + +def get_versionable_import_mapping( + imported_modules: List[Tuple[str, types.ModuleType]] +) -> Dict[str, List[str]]: + return { + modname: [name for name, var in vars(module).items() if is_versionable(var)] + for modname, module in imported_modules + } + + +def report_missing_requirements() -> Iterator[Tuple[str, UnrequiredVersionableUsage]]: + vol3 = importlib.import_module("volatility3") + + for _, module_name, _ in pkgutil.walk_packages( + vol3.__path__, vol3.__name__ + ".", onerror=lambda _: None + ): + try: + # import the module that we want to check + modname = module_name.replace( + "volatility3.framework.plugins", "volatility3.plugins" + ) + plugin_module = importlib.import_module(modname) + + except ImportError: + continue + except Exception: + continue + + if plugin_module.__file__ is None: + continue + + try: + # construct a validator for the module + try: + validator = RequirementValidator(plugin_module) + except Exception: + traceback.print_stack() + continue + for clazz, node in validator.find_class_nodes(): + for item in validator.enumerate_unrequired_usages(clazz, node): + yield module_name, item + except Exception as exc: + traceback.print_exc() + print( + f"Failed to create validator for source code from {plugin_module.__file__}: {exc}" + ) + sys.exit(1) + + +def perform_review(): + found = 0 + for mod, usage in report_missing_requirements(): + found += 1 + print( + f"Violation in module {mod} (line {usage.node.start_point[0]}): {str(usage)}" + ) + + if found: + print( + f"Found {found} uses of versionable components not declared in get_requirements()" + ) + sys.exit(1) + + print("All configurable classes passed validation!") + + +if __name__ == "__main__": + perform_review() From 0f73686364392dbba36a4a20fff2a13f8df04c31 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Mar 2025 11:07:58 -0500 Subject: [PATCH 1748/2186] Framework: Fix remaining missing requirements This adds all of the missing requirements discovered via the new code analysis script. --- volatility3/cli/volshell/generic.py | 7 ++++++ volatility3/cli/volshell/linux.py | 5 ++++ volatility3/cli/volshell/mac.py | 5 ++++ volatility3/cli/volshell/windows.py | 5 ++++ volatility3/framework/automagic/pdbscan.py | 23 +++++++++++++++---- .../framework/automagic/symbol_finder.py | 7 +++++- volatility3/framework/layers/qemu.py | 11 +++++++++ .../framework/layers/scanners/__init__.py | 5 ++++ volatility3/framework/plugins/banners.py | 7 +++++- volatility3/framework/plugins/linux/bash.py | 10 ++++++++ .../framework/plugins/linux/check_modules.py | 5 ++++ .../framework/plugins/linux/hidden_modules.py | 5 ++++ volatility3/framework/plugins/linux/psscan.py | 5 ++++ .../framework/plugins/linux/vmaregexscan.py | 5 ++++ volatility3/framework/plugins/mac/bash.py | 10 ++++++++ .../framework/plugins/mac/list_files.py | 5 ++++ volatility3/framework/plugins/regexscan.py | 5 ++++ volatility3/framework/plugins/vmscan.py | 7 ++++++ .../framework/plugins/windows/cmdscan.py | 5 ++++ .../framework/plugins/windows/consoles.py | 5 ++++ .../framework/plugins/windows/mbrscan.py | 5 ++++ .../framework/plugins/windows/poolscanner.py | 7 ++++++ .../plugins/windows/skeleton_key_check.py | 5 ++++ .../framework/plugins/windows/svclist.py | 5 ++++ .../framework/plugins/windows/svcscan.py | 5 ++++ .../framework/plugins/windows/vadregexscan.py | 5 ++++ .../framework/plugins/windows/verinfo.py | 5 ++++ volatility3/framework/plugins/yarascan.py | 7 +++++- 28 files changed, 179 insertions(+), 7 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 3a5d514fe..1b3ae59d1 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -38,6 +38,8 @@ class Volshell(interfaces.plugins.PluginInterface): _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + DEFAULT_NUM_DISPLAY_BYTES = 128 def __init__(self, *args, **kwargs): @@ -61,6 +63,11 @@ class Volshell(interfaces.plugins.PluginInterface): default=None, optional=True, ), + requirements.VersionRequirement( + name="regex_scanner", + component=scanners.RegExScanner, + version=(1, 0, 0), + ), requirements.BooleanRequirement( name="script-only", description="Exit volshell after the script specified in --script completes", diff --git a/volatility3/cli/volshell/linux.py b/volatility3/cli/volshell/linux.py index 27c630614..761b64084 100644 --- a/volatility3/cli/volshell/linux.py +++ b/volatility3/cli/volshell/linux.py @@ -36,6 +36,11 @@ class Volshell(generic.Volshell): requirements.IntRequirement( name="pid", description="Process ID", optional=True ), + requirements.VersionRequirement( + name="generic_volshell", + component=generic.Volshell, + version=(1, 0, 0), + ), ] def change_task(self, pid=None): diff --git a/volatility3/cli/volshell/mac.py b/volatility3/cli/volshell/mac.py index 393eff20b..fcb45e124 100644 --- a/volatility3/cli/volshell/mac.py +++ b/volatility3/cli/volshell/mac.py @@ -25,6 +25,11 @@ class Volshell(generic.Volshell): requirements.IntRequirement( name="pid", description="Process ID", optional=True ), + requirements.VersionRequirement( + name="generic_volshell", + component=generic.Volshell, + version=(1, 0, 0), + ), ] def change_task(self, pid=None): diff --git a/volatility3/cli/volshell/windows.py b/volatility3/cli/volshell/windows.py index ce5995648..a8c7af5b3 100644 --- a/volatility3/cli/volshell/windows.py +++ b/volatility3/cli/volshell/windows.py @@ -23,6 +23,11 @@ class Volshell(generic.Volshell): requirements.IntRequirement( name="pid", description="Process ID", optional=True ), + requirements.VersionRequirement( + name="generic_volshell", + component=generic.Volshell, + version=(1, 0, 0), + ), ] def change_process(self, pid=None): diff --git a/volatility3/framework/automagic/pdbscan.py b/volatility3/framework/automagic/pdbscan.py index dd2ad0683..55b9b81e1 100644 --- a/volatility3/framework/automagic/pdbscan.py +++ b/volatility3/framework/automagic/pdbscan.py @@ -17,7 +17,7 @@ from volatility3.framework import constants, exceptions, interfaces, layers from volatility3.framework.configuration import requirements from volatility3.framework.layers import intel, scanners from volatility3.framework.symbols import native -from volatility3.framework.symbols.windows.pdbutil import PDBUtility +from volatility3.framework.symbols.windows import pdbutil if __name__ == "__main__": import sys @@ -50,6 +50,21 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): max_pdb_size = 0x400000 exclusion_list = ["linux", "mac"] + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.VersionRequirement( + name="pdb_utility", + component=pdbutil.PDBUtility, + version=(1, 0, 1), + ), + requirements.VersionRequirement( + name="bytes_scanner", + component=scanners.BytesScanner, + version=(1, 0, 0), + ), + ] + def find_virtual_layers_from_req( self, context: interfaces.context.ContextInterface, @@ -120,7 +135,7 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): ): raise TypeError("PDB name or GUID not a string value") - PDBUtility.load_windows_symbol_table( + pdbutil.PDBUtility.load_windows_symbol_table( context=context, guid=kernel["GUID"], age=kernel["age"], @@ -259,7 +274,7 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): bytes(name + ".pdb", "utf-8") for name in constants.windows.KERNEL_MODULE_NAMES ] - kernels = PDBUtility.pdbname_scan( + kernels = pdbutil.PDBUtility.pdbname_scan( ctx=context, layer_name=layer_to_scan, start=start_scan_address, @@ -362,7 +377,7 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): with contextlib.suppress(exceptions.InvalidAddressException): if vlayer.read(address, 0x2) == b"MZ": res = list( - PDBUtility.pdbname_scan( + pdbutil.PDBUtility.pdbname_scan( ctx=context, layer_name=vlayer.name, page_size=vlayer.page_size, diff --git a/volatility3/framework/automagic/symbol_finder.py b/volatility3/framework/automagic/symbol_finder.py index 1d30f3f51..d7c6a22c1 100644 --- a/volatility3/framework/automagic/symbol_finder.py +++ b/volatility3/framework/automagic/symbol_finder.py @@ -40,7 +40,12 @@ class SymbolFinder(interfaces.automagic.AutomagicInterface): name="SQLiteCache", component=symbol_cache.SqliteCache, version=(1, 0, 0), - ) + ), + requirements.VersionRequirement( + name="multi_string_scanner", + component=scanners.MultiStringScanner, + version=(1, 0, 0), + ), ] @property diff --git a/volatility3/framework/layers/qemu.py b/volatility3/framework/layers/qemu.py index a8127e954..eb44de347 100644 --- a/volatility3/framework/layers/qemu.py +++ b/volatility3/framework/layers/qemu.py @@ -9,6 +9,7 @@ import struct from typing import Any, Dict, List, Optional, Set, Tuple from volatility3.framework import constants, exceptions, interfaces +from volatility3.framework.configuration import requirements from volatility3.framework.layers import scanners, segmented from volatility3.framework.symbols import intermed @@ -99,6 +100,16 @@ class QemuSuspendLayer(segmented.NonLinearlySegmentedLayer): context=context, config_path=config_path, name=name, metadata=metadata ) + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.VersionRequirement( + name="regex_scanner", + component=scanners.RegExScanner, + version=(1, 0, 0), + ), + ] + @classmethod def _check_header( cls, base_layer: interfaces.layers.DataLayerInterface, name: str = "" diff --git a/volatility3/framework/layers/scanners/__init__.py b/volatility3/framework/layers/scanners/__init__.py index be9f1c39a..f07849f42 100644 --- a/volatility3/framework/layers/scanners/__init__.py +++ b/volatility3/framework/layers/scanners/__init__.py @@ -11,6 +11,8 @@ from volatility3.framework.layers.scanners import multiregexp as multiregexp class BytesScanner(layers.ScannerInterface): thread_safe = True + _version = (1, 0, 0) + _required_framework_version = (2, 0, 0) def __init__(self, needle: bytes) -> None: @@ -38,6 +40,8 @@ class RegExScanner(layers.ScannerInterface): thread_safe = True + _version = (1, 0, 0) + _required_framework_version = (2, 0, 0) def __init__(self, pattern: bytes, flags: int = re.DOTALL) -> None: @@ -57,6 +61,7 @@ class RegExScanner(layers.ScannerInterface): class MultiStringScanner(layers.ScannerInterface): thread_safe = True + _version = (1, 0, 0) _required_framework_version = (2, 0, 0) def __init__(self, patterns: List[bytes]) -> None: diff --git a/volatility3/framework/plugins/banners.py b/volatility3/framework/plugins/banners.py index b3c2fd3a5..d4e6e2aa8 100644 --- a/volatility3/framework/plugins/banners.py +++ b/volatility3/framework/plugins/banners.py @@ -22,7 +22,12 @@ class Banners(interfaces.plugins.PluginInterface): return [ requirements.TranslationLayerRequirement( name="primary", description="Memory layer to scan" - ) + ), + requirements.VersionRequirement( + name="regex_scanner", + component=scanners.RegExScanner, + version=(1, 0, 0), + ), ] def _generator(self): diff --git a/volatility3/framework/plugins/linux/bash.py b/volatility3/framework/plugins/linux/bash.py index 2a63ac329..382b66194 100644 --- a/volatility3/framework/plugins/linux/bash.py +++ b/volatility3/framework/plugins/linux/bash.py @@ -40,6 +40,16 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): component=timeliner.TimeLinerInterface, version=(1, 0, 0), ), + requirements.VersionRequirement( + name="multi_string_scanner", + component=scanners.MultiStringScanner, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="bytes_scanner", + component=scanners.BytesScanner, + version=(1, 0, 0), + ), requirements.ListRequirement( name="pid", element_type=int, diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index ec6f0b73d..7805bbd8a 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -46,6 +46,11 @@ class Check_modules(plugins.PluginInterface): @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ + requirements.VersionRequirement( + name="modules", + component=linux_utilities_modules.Modules, + version=(3, 0, 1), + ), requirements.VersionRequirement( name="linux_utilities_modules_module_display_plugin", component=linux_utilities_modules.ModuleDisplayPlugin, diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index 136aafdd9..dcd602c5d 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -93,6 +93,11 @@ class Hidden_modules(plugins.PluginInterface): component=linux_utilities_modules.ModuleDisplayPlugin, version=(1, 0, 0), ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(3, 0, 1), + ), ] + linux_utilities_modules.ModuleDisplayPlugin.get_requirements() @staticmethod diff --git a/volatility3/framework/plugins/linux/psscan.py b/volatility3/framework/plugins/linux/psscan.py index 0813cebed..0013bc1d8 100644 --- a/volatility3/framework/plugins/linux/psscan.py +++ b/volatility3/framework/plugins/linux/psscan.py @@ -41,6 +41,11 @@ class PsScan(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(4, 0, 0) ), + requirements.VersionRequirement( + name="multi_string_scanner", + component=scanners.MultiStringScanner, + version=(1, 0, 0), + ), ] def _generator(self): diff --git a/volatility3/framework/plugins/linux/vmaregexscan.py b/volatility3/framework/plugins/linux/vmaregexscan.py index 4c8ef5b8f..37a1a5940 100644 --- a/volatility3/framework/plugins/linux/vmaregexscan.py +++ b/volatility3/framework/plugins/linux/vmaregexscan.py @@ -46,6 +46,11 @@ class VmaRegExScan(plugins.PluginInterface): requirements.StringRequirement( name="pattern", description="RegEx pattern", optional=False ), + requirements.VersionRequirement( + name="regex_scanner", + component=scanners.RegExScanner, + version=(1, 0, 0), + ), requirements.IntRequirement( name="maxsize", description="Maximum size in bytes for displayed context", diff --git a/volatility3/framework/plugins/mac/bash.py b/volatility3/framework/plugins/mac/bash.py index 4cbade1cf..5ad6facd0 100644 --- a/volatility3/framework/plugins/mac/bash.py +++ b/volatility3/framework/plugins/mac/bash.py @@ -38,6 +38,16 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): component=timeliner.TimeLinerInterface, version=(1, 0, 0), ), + requirements.VersionRequirement( + name="multi_string_scanner", + component=scanners.MultiStringScanner, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="bytes_scanner", + component=scanners.BytesScanner, + version=(1, 0, 0), + ), requirements.ListRequirement( name="pid", description="Filter on specific process IDs", diff --git a/volatility3/framework/plugins/mac/list_files.py b/volatility3/framework/plugins/mac/list_files.py index bf3dcfce6..423e2e0da 100644 --- a/volatility3/framework/plugins/mac/list_files.py +++ b/volatility3/framework/plugins/mac/list_files.py @@ -31,6 +31,11 @@ class List_Files(plugins.PluginInterface): requirements.VersionRequirement( name="mount", component=mount.Mount, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="mac_utilities", + component=mac.MacUtilities, + version=(1, 3, 0), + ), ] @classmethod diff --git a/volatility3/framework/plugins/regexscan.py b/volatility3/framework/plugins/regexscan.py index c526b1697..343753e92 100644 --- a/volatility3/framework/plugins/regexscan.py +++ b/volatility3/framework/plugins/regexscan.py @@ -39,6 +39,11 @@ class RegExScan(plugins.PluginInterface): default=cls.MAXSIZE_DEFAULT, optional=True, ), + requirements.VersionRequirement( + name="regex_scanner", + component=scanners.RegExScanner, + version=(1, 0, 0), + ), ] def _generator(self, regex_pattern): diff --git a/volatility3/framework/plugins/vmscan.py b/volatility3/framework/plugins/vmscan.py index 64377d7d8..5322456b5 100644 --- a/volatility3/framework/plugins/vmscan.py +++ b/volatility3/framework/plugins/vmscan.py @@ -26,6 +26,8 @@ class VMCSTest(enum.IntFlag): class PageStartScanner(interfaces.layers.ScannerInterface): + _version = (1, 0, 0) + def __init__(self, signatures: List[bytes], page_size: int = 0x1000): super().__init__() if not len(signatures): @@ -69,6 +71,11 @@ class Vmscan(plugins.PluginInterface): requirements.TranslationLayerRequirement( name="primary", description="Physical base memory layer" ), + requirements.VersionRequirement( + name="page_start_scanner", + component=PageStartScanner, + version=(1, 0, 0), + ), requirements.IntRequirement( name="log-threshold", description="Number of criteria failed to log to debug output", diff --git a/volatility3/framework/plugins/windows/cmdscan.py b/volatility3/framework/plugins/windows/cmdscan.py index 8c477b57d..676050b65 100644 --- a/volatility3/framework/plugins/windows/cmdscan.py +++ b/volatility3/framework/plugins/windows/cmdscan.py @@ -41,6 +41,11 @@ class CmdScan(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="consoles", component=consoles.Consoles, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="bytes_scanner", + component=scanners.BytesScanner, + version=(1, 0, 0), + ), requirements.BooleanRequirement( name="no_registry", description="Don't search the registry for possible values of CommandHistorySize", diff --git a/volatility3/framework/plugins/windows/consoles.py b/volatility3/framework/plugins/windows/consoles.py index 6cfc6d588..efc03ad1b 100644 --- a/volatility3/framework/plugins/windows/consoles.py +++ b/volatility3/framework/plugins/windows/consoles.py @@ -54,6 +54,11 @@ class Consoles(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="bytes_scanner", + component=scanners.BytesScanner, + version=(1, 0, 0), + ), requirements.BooleanRequirement( name="no_registry", description="Don't search the registry for possible values of CommandHistorySize and HistoryBufferMax", diff --git a/volatility3/framework/plugins/windows/mbrscan.py b/volatility3/framework/plugins/windows/mbrscan.py index 4d5198181..541aae60d 100644 --- a/volatility3/framework/plugins/windows/mbrscan.py +++ b/volatility3/framework/plugins/windows/mbrscan.py @@ -37,6 +37,11 @@ class MBRScan(interfaces.plugins.PluginInterface): default=False, optional=True, ), + requirements.VersionRequirement( + name="multi_string_scanner", + component=scanners.MultiStringScanner, + version=(1, 0, 0), + ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 975ed2326..7929b70e4 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -55,6 +55,8 @@ class PoolConstraint: class PoolHeaderScanner(interfaces.layers.ScannerInterface): + _version = (1, 0, 0) + def __init__( self, module: interfaces.context.ModuleInterface, @@ -142,6 +144,11 @@ class PoolScanner(plugins.PluginInterface): requirements.VersionRequirement( name="handles", component=handles.Handles, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="pool_header_scanner", + component=PoolHeaderScanner, + version=(1, 0, 0), + ), ] def _generator(self): diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index 4831362fd..6071a2a39 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -63,6 +63,11 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="bytes_scanner", + component=scanners.BytesScanner, + version=(1, 0, 0), + ), ] def _check_for_skeleton_key_vad( diff --git a/volatility3/framework/plugins/windows/svclist.py b/volatility3/framework/plugins/windows/svclist.py index 24ac2278f..963b7fc71 100644 --- a/volatility3/framework/plugins/windows/svclist.py +++ b/volatility3/framework/plugins/windows/svclist.py @@ -42,6 +42,11 @@ class SvcList(svcscan.SvcScan): description="Windows kernel", architectures=["Intel32", "Intel64"], ), + requirements.VersionRequirement( + name="bytes_scanner", + component=scanners.BytesScanner, + version=(1, 0, 0), + ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 94ce02897..5f0e4761e 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -56,6 +56,11 @@ class SvcScan(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="hivelist", component=hivelist.HiveList, version=(2, 0, 0) ), + requirements.VersionRequirement( + name="bytes_scanner", + component=scanners.BytesScanner, + version=(1, 0, 0), + ), ] @classmethod diff --git a/volatility3/framework/plugins/windows/vadregexscan.py b/volatility3/framework/plugins/windows/vadregexscan.py index 9b666cbcb..5ead4e453 100644 --- a/volatility3/framework/plugins/windows/vadregexscan.py +++ b/volatility3/framework/plugins/windows/vadregexscan.py @@ -41,6 +41,11 @@ class VadRegExScan(plugins.PluginInterface): element_type=int, optional=True, ), + requirements.VersionRequirement( + name="regex_scanner", + component=scanners.RegExScanner, + version=(1, 0, 0), + ), requirements.StringRequirement( name="pattern", description="RegEx pattern", optional=False ), diff --git a/volatility3/framework/plugins/windows/verinfo.py b/volatility3/framework/plugins/windows/verinfo.py index b5eba7ec6..d2722418b 100644 --- a/volatility3/framework/plugins/windows/verinfo.py +++ b/volatility3/framework/plugins/windows/verinfo.py @@ -48,6 +48,11 @@ class VerInfo(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="modules", component=modules.Modules, version=(3, 0, 0) ), + requirements.VersionRequirement( + name="page_start_scanner", + component=scanners.BytesScanner, + version=(1, 0, 0), + ), requirements.BooleanRequirement( name="extensive", description="Search physical layer for version information", diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 38c8b6085..bb86ab6f1 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -118,7 +118,12 @@ class YaraScan(plugins.PluginInterface): name="primary", description="Memory layer for the kernel", architectures=["Intel32", "Intel64"], - ) + ), + requirements.VersionRequirement( + name="yarascanner", + component=YaraScanner, + version=(2, 1, 1), + ), ] @classmethod From 68116556a8fbe01d63e7d8866d8b9330902d0bed Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Mar 2025 12:54:08 -0500 Subject: [PATCH 1749/2186] Add calls to super().get_requirements() on inherited classes --- volatility3/cli/volshell/linux.py | 2 +- volatility3/cli/volshell/mac.py | 2 +- volatility3/cli/volshell/windows.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/volshell/linux.py b/volatility3/cli/volshell/linux.py index 761b64084..8b9e236b4 100644 --- a/volatility3/cli/volshell/linux.py +++ b/volatility3/cli/volshell/linux.py @@ -41,7 +41,7 @@ class Volshell(generic.Volshell): component=generic.Volshell, version=(1, 0, 0), ), - ] + ] + super().get_requirements() def change_task(self, pid=None): """Change the current process and layer, based on a process ID""" diff --git a/volatility3/cli/volshell/mac.py b/volatility3/cli/volshell/mac.py index fcb45e124..190c7b9f7 100644 --- a/volatility3/cli/volshell/mac.py +++ b/volatility3/cli/volshell/mac.py @@ -30,7 +30,7 @@ class Volshell(generic.Volshell): component=generic.Volshell, version=(1, 0, 0), ), - ] + ] + super().get_requirements() def change_task(self, pid=None): """Change the current process and layer, based on a process ID""" diff --git a/volatility3/cli/volshell/windows.py b/volatility3/cli/volshell/windows.py index a8c7af5b3..e7e37ed61 100644 --- a/volatility3/cli/volshell/windows.py +++ b/volatility3/cli/volshell/windows.py @@ -28,7 +28,7 @@ class Volshell(generic.Volshell): component=generic.Volshell, version=(1, 0, 0), ), - ] + ] + super().get_requirements() def change_process(self, pid=None): """Change the current process and layer, based on a process ID""" From 9f024cf0f485cae6c03a4fb980687c1930f97a51 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 27 Mar 2025 17:30:17 -0500 Subject: [PATCH 1750/2186] Refactor: use builtin ast lib instead of treesitter Instead of using the tree-sitter third party library, this uses Python's `ast` module to parse the source code and traverse the tree with a visitor pattern. This is preferred because it's native to the language itself, and Python developers are more likely to be familiar with it. The traversal also handles nested scopes better than the prior implementation. For example, classes that are declared inside of other classes can now be looked up even though they don't exist at the top level of the module namespace, since any time a class definition is entered, that class is pushed to the top of a stack that can be examined when visiting inner classes. This also adds lots of log messages at different levels, plus a command line argument for specifying verbosity, which should help with debugging down the line. --- pyproject.toml | 2 - test/check_configurable_requirements.py | 464 +++++++++++++----------- 2 files changed, 253 insertions(+), 213 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8bc3693a2..abd2e79f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,8 +46,6 @@ test = [ "volatility3[dev]", "pytest>=8.3.3,<9", "yara-x>=0.10.0,<1", - "tree-sitter==0.21.3", - "tree-sitter-python==0.21.0", ] docs = [ diff --git a/test/check_configurable_requirements.py b/test/check_configurable_requirements.py index e21df18ac..d532d98b3 100644 --- a/test/check_configurable_requirements.py +++ b/test/check_configurable_requirements.py @@ -1,16 +1,57 @@ +import argparse +import ast import importlib import inspect +import logging import pkgutil import sys -import traceback import types -from textwrap import dedent -from typing import Dict, Iterator, List, NamedTuple, Optional, Tuple, Type - -from tree_sitter import Language, Node, Parser -from tree_sitter_python import language as python_language +from typing import Any, Iterator, NamedTuple, Optional, Tuple, Type, Union from volatility3.framework import configuration, interfaces +from volatility3.framework.deprecation import PluginRenameClass + +logging.basicConfig(format="%(levelname)s: %(message)s") +logger = logging.getLogger(__name__) + + +class NodeVisitor: + def visit(self, node): + """Visit a node.""" + method = "visit_" + node.__class__.__name__ + visitor = getattr(self, method, self.generic_visit) + self.enter(node) + result = visitor(node) + self.leave(node) + return result + + def enter(self, node): + """Called when entering a node.""" + method = "enter_" + node.__class__.__name__ + visitor = getattr(self, method, self.generic_enter) + return visitor(node) + + def leave(self, node): + """Called when leaving a node.""" + method = "leave_" + node.__class__.__name__ + visitor = getattr(self, method, self.generic_leave) + return visitor(node) + + def generic_visit(self, node): + """Called if no explicit visitor function exists for a node.""" + for _, value in ast.iter_fields(node): + if isinstance(value, list): + for item in value: + if isinstance(item, ast.AST): + self.visit(item) + elif isinstance(value, ast.AST): + self.visit(value) + + def generic_enter(self, node): + """Default enter behavior.""" + + def generic_leave(self, node): + """Default leave behavior.""" class UnrequiredVersionableUsage(NamedTuple): @@ -24,12 +65,7 @@ class UnrequiredVersionableUsage(NamedTuple): The name of the class that is using the imported VersionableInterface class """ - methodname: Optional[str] - """ - The name of the invoked method or attribute, if one is used or referenced - """ - - node: Node + node: Union[ast.Name, ast.Attribute] """ The tree-sitter node encapsulating the used module component. """ @@ -42,149 +78,13 @@ class UnrequiredVersionableUsage(NamedTuple): ) -class RequirementValidator: - language = Language(python_language(), "python") - - def __init__(self, plugin_module: types.ModuleType) -> None: - if plugin_module.__file__ is None: - raise ValueError("Attempting to validate a module without a file") - - self._module = plugin_module - - # See which classes in *this* module are configurable (can have requirements declared) - self._configurable_classes = get_configurable_classes(plugin_module) - - # Get a mapping of class names to configurable classes that they declare in their requirements - self._versioned_item_mapping = get_versioned_item_mapping( - self._configurable_classes - ) - - # Get a mapping of module name -> versionable classes within the namespace of each module - self._imported_mod_classes = get_versionable_import_mapping( - get_imported_modules(plugin_module) - ) - - with open(plugin_module.__file__, "rb") as f: - source = f.read() - - self._parser = Parser() - self._parser.set_language(self.language) - self._tree = self._parser.parse(source) - - def enumerate_unrequired_usages( - self, - clazz: Type[interfaces.configuration.ConfigurableInterface], - class_node: Node, - ): - - # This query is designed to look for three different identifier usages: - # simple identifiers: PsList - # module attrs: pslist.PsList - # method calls: pslist.PsList.list_processes - obj_query = self.language.query( - dedent( - """ - [ - (identifier) - (attribute - object: (identifier) - attribute: (identifier)) - (attribute - object: (attribute - object: (identifier) - attribute: (identifier)) - ) - ] @ident - """ - ) - ) - - containing_name = class_node.child_by_field_name("name").text.decode("utf-8") - - valid_types = self._versioned_item_mapping[containing_name] - for _, match in obj_query.matches(class_node): - if "ident" not in match: - continue - - # Get the raw text of the match. This could be something like - # - PsList - # - pslist.PsList - # - pslist.PsList.list_processes - ident_text = match["ident"].text.decode("utf-8") - - # split the attributes - components = ident_text.split(".") - try: - # See if the first attribute is in the module namespace. - item = vars(self._module)[components[0]] - except KeyError: - # If it's not, it's likely a variable in a smaller scope and we - # can ignore it. - continue - - # If it's in the module namespace and is a module... - if isinstance(item, types.ModuleType): - try: - # We try getting attributes from it until we - # find one that is a versionable class - - # Ideally, we shouldn't have to look further than - # two levels - item = getattr(item, components[1]) - if not is_versionable(item): - item = getattr(item, components[2]) - if not is_versionable(item): - continue - - except (IndexError, AttributeError): - # we ran out of attributes to check - continue - - elif is_versionable(item): - # The versionable thing was at the top level. This - # goes against our preferred style, but is possible. - pass - else: - # This isn't something we care about. - continue - - if ( - item in valid_types - or item is clazz - or inspect.isabstract(item) - or item - is interfaces.configuration.VersionableInterface # Avoid checking the interface itself - ): - continue - - yield UnrequiredVersionableUsage( - item, - containing_name, - components[1] if len(components) > 1 else None, - match["ident"], - ) - - def find_class_nodes( - self, - ) -> Iterator[Tuple[Type[interfaces.configuration.ConfigurableInterface], Node]]: - """ - Yields an iterator of (classname, node) tuples, where the node is the subtree containing - the entire class definition. - """ - class_query = self.language.query("(class_definition) @classdef") - - matches = class_query.captures(self._tree.root_node) - for node, _ in matches: - classname = node.child_by_field_name("name").text.decode("utf-8") - if classname not in self._configurable_classes: - continue - - yield self._configurable_classes[classname], node - - def is_versionable(var): try: - return issubclass(var, interfaces.configuration.VersionableInterface) + return ( + issubclass(var, interfaces.configuration.VersionableInterface) + and var is not interfaces.configuration.VersionableInterface + and not inspect.isabstract(var) + ) except TypeError: return False @@ -196,48 +96,162 @@ def is_configurable(var): return False -def get_imported_modules( - plugin_module: types.ModuleType, -) -> List[Tuple[str, types.ModuleType]]: - return [ - (name, var) - for name, var in vars(plugin_module).items() - if isinstance(var, types.ModuleType) - ] +class ModuleVisitor(NodeVisitor): + def __init__(self, module: types.ModuleType) -> None: + self._module = module + self._scopes = [] + self._violations = [] + + @property + def violations(self): + return self._violations + + def enter_ClassDef(self, node: ast.ClassDef) -> Any: + logger.debug("Entering class %s", node.name) + clazz = None + try: + clazz = vars(self._module)[str(node.name)] + except KeyError: + logger.debug( + "Failed to get %s from module scope: (%s)", + node.name, + self._module.__name__, + ) + if self._scopes: + try: + logger.debug( + "Attempting to get class %s from scope of %s", + node.name, + self._scopes[-1].__name__, + ) + clazz = getattr(self._scopes[-1], node.name) + except AttributeError: + logger.debug( + "Class not found in scope of %s", self._scopes[-1].__name__ + ) + if clazz: + self._scopes.append(clazz) + + if clazz and is_configurable(clazz): + logger.info("Checking configurable class %s", clazz.__name__) + visitor = ConfigurableClassVisitor(self._module, clazz) + visitor.visit(node) + self._violations += visitor.violations + + self.generic_visit(node) + + def leave_ClassDef(self, node: ast.ClassDef): + logger.debug("Leaving class %s", node.name) + try: + scoped_class = next( + scope for scope in self._scopes if scope.__name__ == node.name + ) + self._scopes.remove(scoped_class) + except StopIteration: + logger.debug("%s not found in scope list", node.name) -def get_configurable_classes( - plugin_module: types.ModuleType, -) -> Dict[str, Type[interfaces.configuration.ConfigurableInterface]]: - return { - name: clazz - for name, clazz in vars(plugin_module).items() - if is_configurable(clazz) - } +class ConfigurableClassVisitor(NodeVisitor): + def __init__( + self, + module: types.ModuleType, + clazz: Optional[Type[interfaces.configuration.ConfigurableInterface]], + ) -> None: + self._module = module + self._current_object = None + self._clazz = clazz + self._seen = set() + self._violations = [] + @property + def versioned_classes(self): + return ( + [ + req._component + for req in self._clazz.get_requirements() + if isinstance(req, configuration.requirements.VersionRequirement) + ] + if self._clazz is not None + else [] + ) -def get_versioned_item_mapping( - configurable_classes: Dict[ - str, Type[interfaces.configuration.ConfigurableInterface] - ] -) -> Dict[str, List[Type[interfaces.configuration.VersionableInterface]]]: - return { - name: [ - req._component - for req in clazz.get_requirements() - if isinstance(req, configuration.requirements.VersionRequirement) - ] - for name, clazz in configurable_classes.items() - } + def check_item(self, item: Type, node: Union[ast.Name, ast.Attribute]): + if ( + is_versionable(item) + and self._clazz is not None + and item not in self.versioned_classes + and item is not self._clazz + and not issubclass(self._clazz, PluginRenameClass) + ): + logger.info( + "Found versionable item %s, checking against %s", + str(item), + str(self.versioned_classes), + ) + result = UnrequiredVersionableUsage( + item.__name__, self._clazz.__name__, node + ) + self._violations.append(result) + @property + def violations(self): + return self._violations -def get_versionable_import_mapping( - imported_modules: List[Tuple[str, types.ModuleType]] -) -> Dict[str, List[str]]: - return { - modname: [name for name, var in vars(module).items() if is_versionable(var)] - for modname, module in imported_modules - } + def visit_Name(self, node: ast.Name): + try: + logger.debug( + "Checking module %s for name %s", self._module.__name__, node.id + ) + item = vars(self._module)[str(node.id)] + logger.debug("Found %s in %s namespace", node.id, self._module.__name__) + except KeyError: + return + + self.check_item(item, node) + + def visit_Attribute( + self, node: ast.Attribute + ) -> Optional[UnrequiredVersionableUsage]: + if self._clazz is None: + self.generic_visit(node) + return + + if (node.lineno, node.col_offset) in self._seen: + return + + self._seen.add((node.lineno, node.col_offset)) + + stack = [] + root = node + while True: + stack.append(node.attr) + if isinstance(node.value, ast.Attribute): + node = node.value + elif isinstance(node.value, ast.Name): + stack.append(node.value.id) + break + else: + break + + current = None + logger.debug("Checking %s", ".".join(stack[::-1])) + for item in stack[::-1]: + try: + current = ( + vars(self._module)[item] + if current is None + else getattr(current, item) + ) + except (KeyError, AttributeError) as exc: + logger.debug( + "Failed to get attribute %s (%s)%s", + item, + exc.__class__.__name__, + (" on" + str(current)) if current is not None else "", + ) + break + + self.check_item(current, root) def report_missing_requirements() -> Iterator[Tuple[str, UnrequiredVersionableUsage]]: @@ -246,46 +260,60 @@ def report_missing_requirements() -> Iterator[Tuple[str, UnrequiredVersionableUs for _, module_name, _ in pkgutil.walk_packages( vol3.__path__, vol3.__name__ + ".", onerror=lambda _: None ): + modname = module_name.replace( + "volatility3.framework.plugins", "volatility3.plugins" + ) try: # import the module that we want to check - modname = module_name.replace( - "volatility3.framework.plugins", "volatility3.plugins" - ) plugin_module = importlib.import_module(modname) - except ImportError: + except ImportError as exc: + logger.warning("Failed to import %s: %s", modname, str(exc)) continue - except Exception: + except Exception as exc: + logger.warning( + "An unexpected exception occurred while importing %s: %s", + modname, + str(exc), + ) continue + logger.info("Checking module %s", plugin_module.__name__) if plugin_module.__file__ is None: + logger.warning("Plugin module %s has no source file", modname) continue try: - # construct a validator for the module - try: - validator = RequirementValidator(plugin_module) - except Exception: - traceback.print_stack() - continue - for clazz, node in validator.find_class_nodes(): - for item in validator.enumerate_unrequired_usages(clazz, node): - yield module_name, item - except Exception as exc: - traceback.print_exc() - print( - f"Failed to create validator for source code from {plugin_module.__file__}: {exc}" + with open(plugin_module.__file__, "rb") as f: + source = f.read() + except OSError: + logger.warning( + "Failed to read file contents for %s", plugin_module.__file__ + ) + continue + + try: + module_ast_root = ast.parse(source) + except (SyntaxError, ValueError) as exc: + logger.warning( + "Failed to parse source for %s: %s", plugin_module.__file__, str(exc) + ) + raise + + mod_visitor = ModuleVisitor(plugin_module) + mod_visitor.visit(module_ast_root) + + if mod_visitor.violations: + yield from ( + (plugin_module.__name__, res) for res in iter(mod_visitor.violations) ) - sys.exit(1) def perform_review(): found = 0 for mod, usage in report_missing_requirements(): found += 1 - print( - f"Violation in module {mod} (line {usage.node.start_point[0]}): {str(usage)}" - ) + print(f"Violation in module {mod} (line {usage.node.lineno}): {str(usage)}") if found: print( @@ -296,5 +324,19 @@ def perform_review(): print("All configurable classes passed validation!") +def parse_args() -> argparse.Namespace: + parser = argparse.ArgumentParser() + parser.add_argument("-v", "--verbose", action="count", dest="verbosity", default=0) + return parser.parse_args() + + if __name__ == "__main__": + args = parse_args() + if args.verbosity == 0: + logger.setLevel(logging.WARNING) + elif args.verbosity == 1: + logger.setLevel(logging.INFO) + elif args.verbosity > 1: + logger.setLevel(logging.DEBUG) + perform_review() From 03c647790206267ecf4c3d4921b2a0164ea4dcd1 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 28 Mar 2025 13:04:24 -0500 Subject: [PATCH 1751/2186] Volshell: Attempt to resolve requirement conflicts This change sets the `script`, `script-only`, and `primary` requirements to only apply to the `generic.Volshell` class. `regex-scanner` is okay to be shared between the base and inherited classes, but `script` and `script-only` have to be generic-only in order to avoid conflicts when populating the argparse parser. `primary` must be generic-only in order to avoid ending up unsatisfied when superclass requirements require a module, suppressing construction of the `primary` layer. --- volatility3/cli/volshell/generic.py | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 1b3ae59d1..39e4fc963 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -54,20 +54,24 @@ class Volshell(interfaces.plugins.PluginInterface): @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - reqs: List[interfaces.configuration.RequirementInterface] = [] + reqs: List[interfaces.configuration.RequirementInterface] = [ + requirements.VersionRequirement( + name="regex_scanner", + component=scanners.RegExScanner, + version=(1, 0, 0), + ), + ] if cls == Volshell: - reqs = [ + reqs += [ + requirements.TranslationLayerRequirement( + name="primary", description="Memory layer for the kernel" + ), requirements.URIRequirement( name="script", description="File to load and execute at start", default=None, optional=True, ), - requirements.VersionRequirement( - name="regex_scanner", - component=scanners.RegExScanner, - version=(1, 0, 0), - ), requirements.BooleanRequirement( name="script-only", description="Exit volshell after the script specified in --script completes", @@ -75,11 +79,8 @@ class Volshell(interfaces.plugins.PluginInterface): optional=True, ), ] - return reqs + [ - requirements.TranslationLayerRequirement( - name="primary", description="Memory layer for the kernel" - ), - ] + + return reqs def run( self, additional_locals: Dict[str, Any] = {} From 27e59263a6825886cb5d8f1524f2e8d48955b57f Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 28 Mar 2025 13:17:38 -0500 Subject: [PATCH 1752/2186] Docstring: explain version-checking script This documents the general behavior and expectations of the version-checking CI script. --- test/check_configurable_requirements.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/check_configurable_requirements.py b/test/check_configurable_requirements.py index d532d98b3..f856c80b7 100644 --- a/test/check_configurable_requirements.py +++ b/test/check_configurable_requirements.py @@ -1,3 +1,19 @@ +""" +This script performs syntax analysis on the volatility3 source tree through a combination of AST analysis and import-time introspection of classes. + +The current checks it implements are: + 1. Ensure that classes derived from `ConfigurableInterface` properly + declare all `VersionableInterface` classes that they make use of in their + `get_requirements()` classmethod. + + :WARNING: a notable exception to this are classes defined within factory + functions. Because these classes are not created until the factory function + is called, they therefore do no exist at import time and cannot be checked + by this script. It is important to keep in mind during code review that + this is a best-effort check and does not make guarantees about the + completeness of declared requirements. +""" + import argparse import ast import importlib From d0a1daf82c1a118b1b33958e4cd6dec2243df248 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 28 Mar 2025 13:24:51 -0500 Subject: [PATCH 1753/2186] ModuleExtract: Add missing requirement --- volatility3/framework/plugins/linux/module_extract.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/volatility3/framework/plugins/linux/module_extract.py b/volatility3/framework/plugins/linux/module_extract.py index d7c875523..97824aca0 100644 --- a/volatility3/framework/plugins/linux/module_extract.py +++ b/volatility3/framework/plugins/linux/module_extract.py @@ -36,6 +36,11 @@ class ModuleExtract(interfaces.plugins.PluginInterface): description="Base virtual address to reconstruct an ELF file", optional=False, ), + requirements.VersionRequirement( + name="linux_utilities_module_extract", + version=(1, 0, 0), + component=linux_utilities_module_extract.ModuleExtract, + ), ] def _generator(self): From e21eb57b9009dec3046ac1c9d5e2e4cf93b42b6c Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 18:40:51 +0000 Subject: [PATCH 1754/2186] Volshell: handle case where paged out member would cause backtrace for dt output. Thanks to @atcuno for the code! --- volatility3/cli/volshell/generic.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 3a5d514fe..c153d281d 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -446,8 +446,14 @@ class Volshell(interfaces.plugins.PluginInterface): len_offset = len(hex(relative_offset)) len_member = len(member) len_typename = len(member_type.vol.type_name) + if isinstance(volobject, interfaces.objects.ObjectInterface): # We're an instance, so also display the data + try: + value = self._display_value(getattr(volobject, member)) + except exceptions.InvalidAddressException: + value = self._display_value(renderers.NotAvailableValue()) + print( " " * (longest_offset - len_offset), hex(relative_offset), @@ -458,7 +464,7 @@ class Volshell(interfaces.plugins.PluginInterface): member_type.vol.type_name, " " * (longest_typename - len_typename), " ", - self._display_value(getattr(volobject, member)), + value, ) else: print( @@ -473,7 +479,9 @@ class Volshell(interfaces.plugins.PluginInterface): @classmethod def _display_value(cls, value: Any) -> str: - if isinstance(value, objects.PrimitiveObject): + if isinstance(value, interfaces.renderers.BaseAbsentValue): + return "N/A" + elif isinstance(value, objects.PrimitiveObject): return repr(value) elif isinstance(value, objects.Array): return repr([cls._display_value(val) for val in value]) From 23f2157931df51ff79d02f7d34e39691451e240a Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 18:50:10 +0000 Subject: [PATCH 1755/2186] Volshell: update display_type to handle struct members that are also python functions, e.g. write(). Thanks to @atcuno for the suggestion --- volatility3/cli/volshell/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index c153d281d..a487fa3cd 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -450,7 +450,7 @@ class Volshell(interfaces.plugins.PluginInterface): if isinstance(volobject, interfaces.objects.ObjectInterface): # We're an instance, so also display the data try: - value = self._display_value(getattr(volobject, member)) + value = self._display_value(volobject.member(member)) except exceptions.InvalidAddressException: value = self._display_value(renderers.NotAvailableValue()) From 196556eab3ed0abbffd20bcec169d2f131535426 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 28 Mar 2025 15:18:22 -0500 Subject: [PATCH 1756/2186] Test: Allow for other types of coding style violations --- test/check_configurable_requirements.py | 51 +++++++++++++++---------- 1 file changed, 31 insertions(+), 20 deletions(-) diff --git a/test/check_configurable_requirements.py b/test/check_configurable_requirements.py index f856c80b7..89e06e751 100644 --- a/test/check_configurable_requirements.py +++ b/test/check_configurable_requirements.py @@ -14,6 +14,7 @@ The current checks it implements are: completeness of declared requirements. """ +import abc import argparse import ast import importlib @@ -22,7 +23,7 @@ import logging import pkgutil import sys import types -from typing import Any, Iterator, NamedTuple, Optional, Tuple, Type, Union +from typing import Any, Iterator, List, Optional, Tuple, Type, Union from volatility3.framework import configuration, interfaces from volatility3.framework.deprecation import PluginRenameClass @@ -70,27 +71,37 @@ class NodeVisitor: """Default leave behavior.""" -class UnrequiredVersionableUsage(NamedTuple): - versionable_item_class: str - """ - The name of the VersionableInterface class - """ +class CodeViolation(metaclass=abc.ABCMeta): + def __init__(self, module: types.ModuleType, node: ast.AST) -> None: + self.module = module + self.node = node - consuming_class: str - """ - The name of the class that is using the imported VersionableInterface class - """ + def __str__(self): + return f"Code violation in module {self.module.__name__}: line {self.node.lineno}, col {self.node.col_offset}" - node: Union[ast.Name, ast.Attribute] - """ - The tree-sitter node encapsulating the used module component. - """ + +class UnrequiredVersionableUsage(CodeViolation): + + def __init__( + self, + module: types.ModuleType, + node: ast.AST, + consuming_class: str, + versionable_item_class: str, + ) -> None: + super().__init__(module, node) + self.consuming_class = consuming_class + self.versionable_item_class = versionable_item_class def __str__(self) -> str: return ( - f"Found usage of {self.versionable_item_class} " - f"in class {self.consuming_class} that is not declared " - f"in {self.consuming_class}'s `get_requirements()` classmethod" + super().__str__() + + ": " + + ( + f"Found usage of {self.versionable_item_class} " + f"in class {self.consuming_class} that is not declared " + f"in {self.consuming_class}'s `get_requirements()` classmethod" + ) ) @@ -177,7 +188,7 @@ class ConfigurableClassVisitor(NodeVisitor): self._current_object = None self._clazz = clazz self._seen = set() - self._violations = [] + self._violations: List[CodeViolation] = [] @property def versioned_classes(self): @@ -205,7 +216,7 @@ class ConfigurableClassVisitor(NodeVisitor): str(self.versioned_classes), ) result = UnrequiredVersionableUsage( - item.__name__, self._clazz.__name__, node + self._module, node, self._clazz.__name__, item.__name__ ) self._violations.append(result) @@ -333,7 +344,7 @@ def perform_review(): if found: print( - f"Found {found} uses of versionable components not declared in get_requirements()" + f"Found {found} coding standards violations" ) sys.exit(1) From 46e3b8ffdb4e9c4b536e2a6fc8217f2be3d77c4c Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 28 Mar 2025 15:21:54 -0500 Subject: [PATCH 1757/2186] Check for 'hidden' attribute when determining classes to validate --- test/check_configurable_requirements.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/check_configurable_requirements.py b/test/check_configurable_requirements.py index 89e06e751..ce65aca48 100644 --- a/test/check_configurable_requirements.py +++ b/test/check_configurable_requirements.py @@ -111,6 +111,7 @@ def is_versionable(var): issubclass(var, interfaces.configuration.VersionableInterface) and var is not interfaces.configuration.VersionableInterface and not inspect.isabstract(var) + and not (hasattr(var, "hidden") and getattr(var, "hidden") is True) ) except TypeError: return False From d7695ab9cfb507b3bb3e791f00bcd082f5de3afc Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 28 Mar 2025 15:36:54 -0500 Subject: [PATCH 1758/2186] Simplify error message output --- test/check_configurable_requirements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/check_configurable_requirements.py b/test/check_configurable_requirements.py index ce65aca48..b643facb5 100644 --- a/test/check_configurable_requirements.py +++ b/test/check_configurable_requirements.py @@ -341,7 +341,7 @@ def perform_review(): found = 0 for mod, usage in report_missing_requirements(): found += 1 - print(f"Violation in module {mod} (line {usage.node.lineno}): {str(usage)}") + print(str(usage)) if found: print( From 6452fc18bd6cb614e8eaa747bc2d5be36a224e52 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 28 Mar 2025 15:39:09 -0500 Subject: [PATCH 1759/2186] Tone down language severity in messages --- test/check_configurable_requirements.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/check_configurable_requirements.py b/test/check_configurable_requirements.py index b643facb5..864c3e89e 100644 --- a/test/check_configurable_requirements.py +++ b/test/check_configurable_requirements.py @@ -77,7 +77,7 @@ class CodeViolation(metaclass=abc.ABCMeta): self.node = node def __str__(self): - return f"Code violation in module {self.module.__name__}: line {self.node.lineno}, col {self.node.col_offset}" + return f"Issue in module {self.module.__name__}: line {self.node.lineno}, col {self.node.col_offset}" class UnrequiredVersionableUsage(CodeViolation): @@ -345,7 +345,7 @@ def perform_review(): if found: print( - f"Found {found} coding standards violations" + f"Found {found} issues" ) sys.exit(1) From 07f7a2e2be24e6e82c232228f4899c052fbb741f Mon Sep 17 00:00:00 2001 From: ikelos Date: Sat, 29 Mar 2025 12:48:47 +0000 Subject: [PATCH 1760/2186] Revert "Feature/use less memory" --- volatility3/framework/interfaces/objects.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 1bca7a045..62c31481b 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -8,7 +8,7 @@ import collections import collections.abc import contextlib import logging -from typing import Any, List, Mapping, Optional +from typing import Any, Dict, List, Mapping, Optional from volatility3.framework import constants, interfaces @@ -127,11 +127,8 @@ class ObjectInterface(metaclass=abc.ABCMeta): mask = context.layers[object_info.layer_name].address_mask normalized_offset = object_info.offset & mask - vol = kwargs vol_info_dict = {"type_name": type_name, "offset": normalized_offset} - vol.update(object_info) - vol.update(vol_info_dict) - self._vol = collections.ChainMap({}, vol) + self._vol = collections.ChainMap({}, vol_info_dict, object_info, kwargs) self._context = context def __getattr__(self, attr: str) -> Any: @@ -312,9 +309,10 @@ class Template: """Stores the keyword arguments for later object creation.""" # Allow the updating of template arguments whilst still in template form super().__init__() - vol = {"type_name": type_name} - vol.update(arguments) - self._vol = collections.ChainMap({}, vol) + empty_dict: Dict[str, Any] = {} + self._vol = collections.ChainMap( + empty_dict, arguments, {"type_name": type_name} + ) @property def vol(self) -> ReadOnlyMapping: From b73e4f0d2bc093d55879fac7387f30afa44920fe Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 29 Mar 2025 14:32:14 +0000 Subject: [PATCH 1761/2186] Don't completely remove the chainmap, but change one dict to a namedmapping --- volatility3/framework/contexts/__init__.py | 2 +- volatility3/framework/interfaces/objects.py | 47 +++++++-------------- volatility3/framework/objects/__init__.py | 5 ++- 3 files changed, 20 insertions(+), 34 deletions(-) diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index e7c423a10..a000fce90 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -130,7 +130,7 @@ class Context(interfaces.context.ContextInterface): object_info=interfaces.objects.ObjectInformation( layer_name=layer_name, offset=offset, - native_layer_name=native_layer_name, + native_layer_name=native_layer_name or layer_name, size=object_template.size, ), ) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 62c31481b..2d8024465 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -8,7 +8,7 @@ import collections import collections.abc import contextlib import logging -from typing import Any, Dict, List, Mapping, Optional +from typing import Any, Dict, List, Mapping, NamedTuple, Optional from volatility3.framework import constants, interfaces @@ -52,7 +52,7 @@ class ReadOnlyMapping(collections.abc.Mapping): return dict(self) == dict(other) -class ObjectInformation(ReadOnlyMapping): +class ObjectInformation(NamedTuple): """Contains common information useful/pertinent only to an individual object (like an instance) @@ -63,35 +63,20 @@ class ObjectInformation(ReadOnlyMapping): in a single place. These values are based on the :class:`ReadOnlyMapping` class, to prevent their modification. """ - def __init__( - self, - layer_name: str, - offset: int, - member_name: Optional[str] = None, - parent: Optional["ObjectInterface"] = None, - native_layer_name: Optional[str] = None, - size: Optional[int] = None, - ): - """Constructs a container for basic information about an object. + layer_name: str + offset: int + native_layer_name: str + member_name: Optional[str] = None + parent: Optional["ObjectInterface"] = None + size: Optional[int] = None - Args: - layer_name: Layer from which the data for the object will be read - offset: Offset within the layer at which the data for the object will be read - member_name: If the object was accessed as a member of a parent object, this was the name used to access it - parent: If the object was accessed as a member of a parent object, this is the parent object - native_layer_name: If this object references other objects (such as a pointer), what layer those objects live in - size: The size that the whole structure consumes in bytes - """ - super().__init__( - { - "layer_name": layer_name, - "offset": offset, - "member_name": member_name, - "parent": parent, - "native_layer_name": native_layer_name or layer_name, - "size": size, - } - ) + def __getitem__(self, key): + if key in self._fields: + return getattr(self, key) + raise KeyError(f"NamedTuple does not have a key {key}") + + def __contains__(self, key): + return key in self._fields class ObjectInterface(metaclass=abc.ABCMeta): @@ -183,7 +168,7 @@ class ObjectInterface(metaclass=abc.ABCMeta): offset=self.vol.offset, member_name=self.vol.member_name, parent=self.vol.parent, - native_layer_name=self.vol.native_layer_name, + native_layer_name=self.vol.native_layer_name or self.vol.layer_name, size=object_template.size, ) return object_template(context=self._context, object_info=object_info) diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index b863e103b..08d6cb31e 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -458,6 +458,7 @@ class Pointer(Integer): offset=offset, parent=self, size=self.vol.subtype.size, + native_layer_name=layer_name, ), ) return self._cache[layer_name] @@ -811,7 +812,7 @@ class Array(interfaces.objects.ObjectInterface, collections.abc.Sequence): layer_name=self.vol.layer_name, offset=mask & (self.vol.offset + (self.vol.subtype.size * index)), parent=self, - native_layer_name=self.vol.native_layer_name, + native_layer_name=self.vol.native_layer_name or self.vol.layer_name, size=self.vol.subtype.size, ) result += [self.vol.subtype(context=self._context, object_info=object_info)] @@ -978,7 +979,7 @@ class AggregateType(interfaces.objects.ObjectInterface): offset=mask & (self.vol.offset + relative_offset), member_name=attr, parent=self, - native_layer_name=self.vol.native_layer_name, + native_layer_name=self.vol.native_layer_name or self.vol.layer_name, size=template.size, ) member = template(context=self._context, object_info=object_info) From e62cee391a2af40d0c7aaa03cc6d7555c87bf149 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 28 Mar 2025 16:52:43 -0500 Subject: [PATCH 1762/2186] Testing: Adds validation of vol3 imports in check script This checks `ast.ImportFrom` statements to see if anything other than modules are being imported in this way. It enumerates all instances of this and suggests a fix. --- test/check_configurable_requirements.py | 69 +++++++++++++++++++++++-- 1 file changed, 66 insertions(+), 3 deletions(-) diff --git a/test/check_configurable_requirements.py b/test/check_configurable_requirements.py index 864c3e89e..ee1a54ce2 100644 --- a/test/check_configurable_requirements.py +++ b/test/check_configurable_requirements.py @@ -22,6 +22,7 @@ import inspect import logging import pkgutil import sys +import traceback import types from typing import Any, Iterator, List, Optional, Tuple, Type, Union @@ -105,6 +106,36 @@ class UnrequiredVersionableUsage(CodeViolation): ) +class DirectVolatilityImportUsage(CodeViolation): + + def __init__( + self, + module: types.ModuleType, + node: ast.AST, + importing_module: str, + imported_item: object, + imported_name: str, + ) -> None: + self.imported_item = imported_item + self.imported_name = imported_name + self.importing_module = importing_module + super().__init__(module, node) + + def __str__(self) -> str: + components = self.importing_module.split(".") + return ( + super().__str__() + + ": " + + ( + f"Direct import of {self.imported_name} " + f"({type(self.imported_item)}) " + f"from module {self.importing_module} - " + "change to " + f"'from {'.'.join(components[:-1])} import {components[-1]} and using {components[-1]}.{self.imported_name}" + ) + ) + + def is_versionable(var): try: return ( @@ -134,6 +165,39 @@ class ModuleVisitor(NodeVisitor): def violations(self): return self._violations + def enter_ImportFrom(self, node: ast.ImportFrom): + if not node.module: + return + + if ( + node.module + and node.module.startswith("volatility3") + and node.module != "volatility3.framework.constants._version" # make an exception for this + ): + for name in node.names: + try: + item = vars(self._module)[ + name.asname if name.asname is not None else name.name + ] + except KeyError: + logger.debug( + "Couldn't find imported name %s in module %s", + name.asname or name.name, + self._module.__name__, + ) + continue + + if not (isinstance(item, types.ModuleType) or inspect.isfunction(item)): + self._violations.append( + DirectVolatilityImportUsage( + self._module, + node, + node.module, + item, + name.asname or name.name, + ) + ) + def enter_ClassDef(self, node: ast.ClassDef) -> Any: logger.debug("Entering class %s", node.name) clazz = None @@ -304,6 +368,7 @@ def report_missing_requirements() -> Iterator[Tuple[str, UnrequiredVersionableUs modname, str(exc), ) + traceback.print_exc() continue logger.info("Checking module %s", plugin_module.__name__) @@ -344,9 +409,7 @@ def perform_review(): print(str(usage)) if found: - print( - f"Found {found} issues" - ) + print(f"Found {found} issues") sys.exit(1) print("All configurable classes passed validation!") From 47646c12d431707c2fb148a637289d79840998fa Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 28 Mar 2025 16:53:55 -0500 Subject: [PATCH 1763/2186] Framework: Fix all direct non-module imports This fixes all import from statements in the codebase that were importing things other than modules into module namespaces from other volatility3 modules. This should prevent accidental re-exporting. --- volatility3/framework/exceptions.py | 5 +- .../framework/interfaces/configuration.py | 5 +- volatility3/framework/interfaces/symbols.py | 3 +- volatility3/framework/layers/elf.py | 4 +- volatility3/framework/layers/intel.py | 16 +++--- volatility3/framework/layers/registry.py | 11 ++-- volatility3/framework/layers/xen.py | 4 +- volatility3/framework/plugins/linux/bash.py | 4 +- volatility3/framework/plugins/linux/elfs.py | 4 +- .../framework/plugins/linux/modxview.py | 10 ++-- .../framework/plugins/linux/sockstat.py | 23 ++++---- .../framework/plugins/linux/tracing/ftrace.py | 14 ++--- .../plugins/linux/tracing/tracepoints.py | 18 +++---- volatility3/framework/plugins/mac/bash.py | 4 +- .../framework/plugins/windows/dumpfiles.py | 13 +++-- volatility3/framework/plugins/windows/info.py | 9 ++-- .../framework/plugins/windows/pe_symbols.py | 4 +- .../framework/plugins/windows/psxview.py | 6 +-- .../plugins/windows/registry/hashdump.py | 28 +++++----- .../plugins/windows/registry/lsadump.py | 23 ++++---- .../plugins/windows/registry/printkey.py | 53 ++++++++++--------- .../windows/registry/scheduled_tasks.py | 2 +- .../plugins/windows/registry/userassist.py | 17 +++--- .../framework/plugins/windows/truecrypt.py | 29 +++++----- .../framework/symbols/linux/network.py | 4 +- .../symbols/windows/extensions/__init__.py | 7 +-- .../symbols/windows/extensions/network.py | 8 ++- .../symbols/windows/extensions/pool.py | 4 +- .../symbols/windows/extensions/registry.py | 38 +++++++------ .../symbols/windows/extensions/services.py | 4 +- .../framework/symbols/windows/pdbutil.py | 3 +- .../plugins/windows/registry/certificates.py | 3 +- 32 files changed, 190 insertions(+), 190 deletions(-) diff --git a/volatility3/framework/exceptions.py b/volatility3/framework/exceptions.py index a3d660444..34b41727a 100644 --- a/volatility3/framework/exceptions.py +++ b/volatility3/framework/exceptions.py @@ -11,7 +11,6 @@ size of the invalid page. from typing import Callable, Dict, Optional, Tuple from volatility3.framework import interfaces -from volatility3.framework.interfaces.configuration import VersionableInterface class VolatilityException(Exception): @@ -143,7 +142,7 @@ class VersionMismatchException(VolatilityException): def __init__( self, source_component: Callable, - target_component: VersionableInterface, + target_component: interfaces.configuration.VersionableInterface, target_version: Tuple[int, int, int], failure_reason: str = None, *args, @@ -151,7 +150,7 @@ class VersionMismatchException(VolatilityException): """ Args: source_component: The component that required the target component - target_component: The component that is required. Must inherit from VersionableInterface + target_component: The component that is required. Must inherit from interfaces.configuration.VersionableInterface target_version: The version of the target component that was required, and ultimately was not satisfied failure_reason: A detailed failure reason to enhance debugging and bug tracking """ diff --git a/volatility3/framework/interfaces/configuration.py b/volatility3/framework/interfaces/configuration.py index b6f4f889c..33d15d05e 100644 --- a/volatility3/framework/interfaces/configuration.py +++ b/volatility3/framework/interfaces/configuration.py @@ -37,7 +37,8 @@ from typing import ( Set, ) -from volatility3 import classproperty, framework +import volatility3 +from volatility3 import framework from volatility3.framework import constants, interfaces CONFIG_SEPARATOR = "." @@ -805,7 +806,7 @@ class VersionableInterface: framework.require_interface_version(*self._required_framework_version) super().__init__(*args, **kwargs) - @classproperty + @volatility3.classproperty def version(cls) -> Tuple[int, int, int]: """The version of the current interface (classmethods available on the component). diff --git a/volatility3/framework/interfaces/symbols.py b/volatility3/framework/interfaces/symbols.py index 2d142de9a..925be72c9 100644 --- a/volatility3/framework/interfaces/symbols.py +++ b/volatility3/framework/interfaces/symbols.py @@ -10,7 +10,6 @@ from typing import Any, Dict, Iterable, List, Mapping, Optional, Tuple, Type from volatility3.framework import constants, exceptions, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import configuration, objects -from volatility3.framework.interfaces.configuration import RequirementInterface class SymbolInterface: @@ -347,7 +346,7 @@ class SymbolTableInterface( return config @classmethod - def get_requirements(cls) -> List[RequirementInterface]: + def get_requirements(cls) -> List[configuration.RequirementInterface]: return super().get_requirements() + [ requirements.IntRequirement( name="symbol_mask", diff --git a/volatility3/framework/layers/elf.py b/volatility3/framework/layers/elf.py index 81f3c3634..5777981cb 100644 --- a/volatility3/framework/layers/elf.py +++ b/volatility3/framework/layers/elf.py @@ -6,7 +6,7 @@ import struct from typing import Optional from volatility3.framework import exceptions, interfaces, constants -from volatility3.framework.constants.linux import ELF_CLASS +from volatility3.framework.constants import linux as linux_constants from volatility3.framework.layers import segmented from volatility3.framework.symbols import intermed @@ -23,7 +23,7 @@ class Elf64Layer(segmented.SegmentedLayer): _header_struct = struct.Struct(" int: """Page shift for the intel memory layers.""" return cls._page_size_in_bits - @classproperty + @volatility3.classproperty @functools.lru_cache def page_size(cls) -> int: """Page size for the intel memory layers. @@ -90,30 +90,30 @@ class Intel(linear.LinearlyMappedLayer): """ return 1 << cls._page_size_in_bits - @classproperty + @volatility3.classproperty @functools.lru_cache def page_mask(cls) -> int: """Page mask for the intel memory layers.""" return ~(cls.page_size - 1) - @classproperty + @volatility3.classproperty @functools.lru_cache def bits_per_register(cls) -> int: """Returns the bits_per_register to determine the range of an IntelTranslationLayer.""" return cls._bits_per_register - @classproperty + @volatility3.classproperty @functools.lru_cache def minimum_address(cls) -> int: return 0 - @classproperty + @volatility3.classproperty @functools.lru_cache def maximum_address(cls) -> int: return (1 << cls._maxvirtaddr) - 1 - @classproperty + @volatility3.classproperty def structure(cls) -> List[Tuple[str, int, bool]]: return cls._structure diff --git a/volatility3/framework/layers/registry.py b/volatility3/framework/layers/registry.py index f324e24a0..e8b1246d3 100644 --- a/volatility3/framework/layers/registry.py +++ b/volatility3/framework/layers/registry.py @@ -7,11 +7,6 @@ from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, Union from volatility3.framework import constants, exceptions, interfaces, objects from volatility3.framework.configuration import requirements -from volatility3.framework.configuration.requirements import ( - IntRequirement, - TranslationLayerRequirement, -) -from volatility3.framework.exceptions import InvalidAddressException from volatility3.framework.layers import linear from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import extensions @@ -154,7 +149,7 @@ class RegistryHive(linear.LinearlyMappedLayer): @property def root_cell_offset(self) -> int: """Returns the offset for the root cell in this hive.""" - with contextlib.suppress(InvalidAddressException): + with contextlib.suppress(exceptions.InvalidAddressException): if ( self._base_block.Signature.cast( "string", max_length=4, encoding="latin-1" @@ -271,7 +266,7 @@ class RegistryHive(linear.LinearlyMappedLayer): @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ - IntRequirement( + requirements.IntRequirement( name="hive_offset", description="Offset within the base layer at which the hive lives", default=0, @@ -280,7 +275,7 @@ class RegistryHive(linear.LinearlyMappedLayer): requirements.SymbolTableRequirement( name="nt_symbols", description="Windows kernel symbols" ), - TranslationLayerRequirement( + requirements.TranslationLayerRequirement( name="base_layer", description="Layer in which the registry hive lives", optional=False, diff --git a/volatility3/framework/layers/xen.py b/volatility3/framework/layers/xen.py index c0a5e1a7d..7f42eb662 100644 --- a/volatility3/framework/layers/xen.py +++ b/volatility3/framework/layers/xen.py @@ -5,7 +5,7 @@ from typing import Optional from volatility3.framework import constants, interfaces, exceptions from volatility3.framework.layers import elf from volatility3.framework.symbols import intermed -from volatility3.framework.constants.linux import ELF_CLASS +from volatility3.framework.constants import linux as linux_constants vollog = logging.getLogger(__name__) @@ -15,7 +15,7 @@ class XenCoreDumpLayer(elf.Elf64Layer): _header_struct = struct.Struct(" ELF_MAX_EXTRACTION_SIZE: + if real_size < 0 or real_size > linux_constants.ELF_MAX_EXTRACTION_SIZE: raise ValueError(f"The claimed size of the ELF is invalid: {real_size}") sections[start] = real_size diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index ed21acfd1..c1707d26f 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -6,9 +6,9 @@ from typing import List, Dict, Iterator import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import interfaces, deprecation +from volatility3.framework import interfaces, deprecation, renderers from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints, TreeGrid, NotAvailableValue +from volatility3.framework.renderers import format_hints from volatility3.framework.symbols.linux import extensions from volatility3.framework.constants import architectures from volatility3.framework.symbols.linux.utilities import tainting @@ -156,12 +156,12 @@ spot modules presence and taints.""" yield ( 0, ( - module.get_name() or NotAvailableValue(), + module.get_name() or renderers.NotAvailableValue(), format_hints.Hex(module_offset), linux_utilities_modules.ModuleGathererLsmod.name in gatherers, linux_utilities_modules.ModuleGathererSysFs.name in gatherers, linux_utilities_modules.ModuleGathererScanner.name in gatherers, - taints or NotAvailableValue(), + taints or renderers.NotAvailableValue(), ), ) @@ -175,7 +175,7 @@ spot modules presence and taints.""" ("Taints", str), ] - return TreeGrid( + return renderers.TreeGrid( columns, self._generator(), ) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index da5d8cb8c..a6acf825b 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -5,8 +5,8 @@ import logging from typing import Callable, Tuple, List, Dict -from volatility3.framework import interfaces, exceptions, constants, objects -from volatility3.framework.renderers import TreeGrid, NotAvailableValue, format_hints +from volatility3.framework import interfaces, exceptions, constants, objects, renderers +from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -44,7 +44,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): try: netns_id = task.nsproxy.net_ns.get_inode() except AttributeError: - netns_id = NotAvailableValue() + netns_id = renderers.NotAvailableValue() self._netdevices = self._build_network_devices_map(netns_id) @@ -79,7 +79,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): ) for net_dev in net.dev_base_head.to_list(net_device_symname, "dev_list"): if ( - isinstance(netns_id, NotAvailableValue) + isinstance(netns_id, renderers.NotAvailableValue) or net.get_inode() != netns_id ): continue @@ -263,7 +263,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): # Kernel >= 3.7.10 src_port = netlink_sock.get_portid() except AttributeError: - src_port = NotAvailableValue() + src_port = renderers.NotAvailableValue() dst_addr = f"group:0x{netlink_sock.dst_group:08x}" module = netlink_sock.module @@ -273,7 +273,7 @@ class SockHandlers(interfaces.configuration.VersionableInterface): try: dst_port = netlink_sock.get_dst_portid() except AttributeError: - dst_port = NotAvailableValue() + dst_port = renderers.NotAvailableValue() state = netlink_sock.get_state() @@ -571,7 +571,7 @@ class Sockstat(plugins.PluginInterface): try: netns_id = net.get_inode() except AttributeError: - netns_id = NotAvailableValue() + netns_id = renderers.NotAvailableValue() yield task, netns_id, fd_num, family, sock_type, protocol, sock_fields @@ -586,10 +586,11 @@ class Sockstat(plugins.PluginInterface): `sock_stat` and `protocol` formatted. """ sock_stat = [ - NotAvailableValue() if field is None else str(field) for field in sock_stat + renderers.NotAvailableValue() if field is None else str(field) + for field in sock_stat ] if protocol is None: - protocol = NotAvailableValue() + protocol = renderers.NotAvailableValue() return tuple(sock_stat), protocol @@ -641,7 +642,7 @@ class Sockstat(plugins.PluginInterface): socket_filter_str = ( ",".join(f"{k}={v}" for k, v in extended.items()) if extended - else NotAvailableValue() + else renderers.NotAvailableValue() ) task_comm = utility.array_to_string(task.comm) @@ -685,6 +686,6 @@ class Sockstat(plugins.PluginInterface): ("Filter", str), ] - return TreeGrid( + return renderers.TreeGrid( tree_grid_args, self._generator(pids, netns_id, kernel_module_name) ) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index c5e4f9ef8..afcc71784 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -10,9 +10,9 @@ from enum import Enum from dataclasses import dataclass import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import constants, exceptions, interfaces +from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints, TreeGrid, NotAvailableValue +from volatility3.framework.renderers import format_hints from volatility3.framework.constants import architectures vollog = logging.getLogger(__name__) @@ -239,14 +239,14 @@ class CheckFtrace(interfaces.plugins.PluginInterface): ): formatted_results = ( format_hints.Hex(ftrace_ops_parsed.ftrace_ops_offset), - ftrace_ops_parsed.callback_symbol or NotAvailableValue(), + ftrace_ops_parsed.callback_symbol or renderers.NotAvailableValue(), format_hints.Hex(ftrace_ops_parsed.callback_address), - ftrace_ops_parsed.hooked_symbols or NotAvailableValue(), - ftrace_ops_parsed.module_name or NotAvailableValue(), + ftrace_ops_parsed.hooked_symbols or renderers.NotAvailableValue(), + ftrace_ops_parsed.module_name or renderers.NotAvailableValue(), ( format_hints.Hex(ftrace_ops_parsed.module_address) if ftrace_ops_parsed.module_address is not None - else NotAvailableValue() + else renderers.NotAvailableValue() ), ) if self.config["show_ftrace_flags"]: @@ -266,7 +266,7 @@ class CheckFtrace(interfaces.plugins.PluginInterface): if self.config.get("show_ftrace_flags"): columns.append(("Flags", str)) - return TreeGrid( + return renderers.TreeGrid( columns, self._generator(), ) diff --git a/volatility3/framework/plugins/linux/tracing/tracepoints.py b/volatility3/framework/plugins/linux/tracing/tracepoints.py index 9d4a4a2e3..25c87b664 100644 --- a/volatility3/framework/plugins/linux/tracing/tracepoints.py +++ b/volatility3/framework/plugins/linux/tracing/tracepoints.py @@ -5,15 +5,15 @@ # Public researches: https://i.blackhat.com/USA21/Wednesday-Handouts/us-21-Fixing-A-Memory-Forensics-Blind-Spot-Linux-Kernel-Tracing-wp.pdf import logging -from typing import Iterable, List, Optional from dataclasses import dataclass +from typing import Iterable, List, Optional import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import constants, exceptions, interfaces +from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints, NotAvailableValue, TreeGrid -from volatility3.framework.objects import utility from volatility3.framework.constants import architectures +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints vollog = logging.getLogger(__name__) @@ -250,14 +250,14 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): formatted_results = ( tracepoint_parsed.tracepoint_name, format_hints.Hex(tracepoint_parsed.tracepoint_address), - tracepoint_parsed.probe_name or NotAvailableValue(), + tracepoint_parsed.probe_name or renderers.NotAvailableValue(), format_hints.Hex(tracepoint_parsed.probe_address), - tracepoint_parsed.probe_priority or NotAvailableValue(), - tracepoint_parsed.module_name or NotAvailableValue(), + tracepoint_parsed.probe_priority or renderers.NotAvailableValue(), + tracepoint_parsed.module_name or renderers.NotAvailableValue(), ( format_hints.Hex(tracepoint_parsed.module_address) if tracepoint_parsed.module_address is not None - else NotAvailableValue() + else renderers.NotAvailableValue() ), ) yield ( @@ -276,7 +276,7 @@ class CheckTracepoints(interfaces.plugins.PluginInterface): ("Module address", format_hints.Hex), ] - return TreeGrid( + return renderers.TreeGrid( columns, self._generator(), ) diff --git a/volatility3/framework/plugins/mac/bash.py b/volatility3/framework/plugins/mac/bash.py index 5ad6facd0..ac10d4f4a 100644 --- a/volatility3/framework/plugins/mac/bash.py +++ b/volatility3/framework/plugins/mac/bash.py @@ -12,7 +12,7 @@ from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.layers import scanners from volatility3.framework.objects import utility -from volatility3.framework.symbols.linux.bash import BashIntermedSymbols +from volatility3.framework.symbols.linux import bash from volatility3.plugins import timeliner from volatility3.plugins.mac import pslist @@ -68,7 +68,7 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface): pack_format = "Q" bash_json_file = "bash64" - bash_table_name = BashIntermedSymbols.create( + bash_table_name = bash.BashIntermedSymbols.create( self.context, self.config_path, "linux", bash_json_file ) diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index e0adad2b1..e23b8ec3a 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -7,9 +7,14 @@ import ntpath import re from typing import List, Tuple, Type, Optional, Generator -from volatility3.framework import interfaces, renderers, exceptions, constants +from volatility3.framework import ( + interfaces, + exceptions, + constants, + renderers, +) from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints, UnreadableValue +from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import handles from volatility3.plugins.windows import pslist @@ -258,7 +263,7 @@ class DumpFiles(interfaces.plugins.PluginInterface): if file_re: name = file_obj.file_name_with_device() - if isinstance(name, UnreadableValue): + if isinstance(name, renderers.UnreadableValue): continue if not file_re.search(name): continue @@ -298,7 +303,7 @@ class DumpFiles(interfaces.plugins.PluginInterface): if file_re: name = file_obj.file_name_with_device() - if isinstance(name, UnreadableValue): + if isinstance(name, renderers.UnreadableValue): continue if not file_re.search(name): continue diff --git a/volatility3/framework/plugins/windows/info.py b/volatility3/framework/plugins/windows/info.py index a2e438c3f..3ff224c68 100644 --- a/volatility3/framework/plugins/windows/info.py +++ b/volatility3/framework/plugins/windows/info.py @@ -3,12 +3,11 @@ # import time -from typing import List, Tuple, Iterable +from typing import Iterable, List, Tuple -from volatility3.framework import constants, interfaces, layers, symbols +from volatility3.framework import constants, interfaces, layers, renderers, symbols from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins -from volatility3.framework.renderers import TreeGrid from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows.extensions import kdbg, pe @@ -294,4 +293,6 @@ class Info(plugins.PluginInterface): ) def run(self): - return TreeGrid([("Variable", str), ("Value", str)], self._generator()) + return renderers.TreeGrid( + [("Variable", str), ("Value", str)], self._generator() + ) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 3a08a1002..e3af0c28a 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -17,7 +17,7 @@ from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import pdbutil from volatility3.framework.symbols.windows.extensions import pe from volatility3.plugins.windows import pslist, modules -from volatility3.framework.constants.windows import KERNEL_MODULE_NAMES +from volatility3.framework.constants import windows vollog = logging.getLogger(__name__) @@ -533,7 +533,7 @@ class PESymbols(interfaces.plugins.PluginInterface): # a `ntoskrnl.exe` can have an internal PDB name of any of the ones in the following list # The code attempts to find all possible PDBs to ensure the best chance of recovery if mod_name == PESymbols.os_module_name: - pdb_names = [fn + ".pdb" for fn in KERNEL_MODULE_NAMES] + pdb_names = [fn + ".pdb" for fn in windows.KERNEL_MODULE_NAMES] # for non-kernel files, replace the exe, sys, or dll extension with pdb else: diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 7c3444f70..142987c3e 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -4,10 +4,10 @@ import string from itertools import chain from typing import Dict, Iterable, List -from volatility3.framework import constants, exceptions +from volatility3.framework import constants, exceptions, renderers from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins -from volatility3.framework.renderers import TreeGrid, format_hints +from volatility3.framework.renderers import format_hints from volatility3.framework.symbols.windows import extensions from volatility3.plugins.windows import ( handles, @@ -231,7 +231,7 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter offset_type = "(Physical)" if self.config["physical-offsets"] else "(Virtual)" offset_str = "Offset" + offset_type - return TreeGrid( + return renderers.TreeGrid( [ (offset_str, format_hints.Hex), ("Name", str), diff --git a/volatility3/framework/plugins/windows/registry/hashdump.py b/volatility3/framework/plugins/windows/registry/hashdump.py index 630aa1cfd..1883d4530 100644 --- a/volatility3/framework/plugins/windows/registry/hashdump.py +++ b/volatility3/framework/plugins/windows/registry/hashdump.py @@ -11,8 +11,7 @@ from Crypto.Cipher import AES, ARC4, DES from volatility3.framework import interfaces, renderers, exceptions, constants from volatility3.framework.configuration import requirements -from volatility3.framework.exceptions import InvalidAddressException -from volatility3.framework.layers import registry as registrylayer +from volatility3.framework.layers import registry as registry_layer from volatility3.framework.symbols.windows.extensions import registry from volatility3.plugins.windows.registry import hivelist @@ -329,13 +328,13 @@ class Hashdump(interfaces.plugins.PluginInterface): @classmethod def get_hive_key( - cls, hive: registry.RegistryHive, key: str + cls, hive: registry_layer.RegistryHive, key: str ) -> Optional["registry.CM_KEY_NODE"]: result = None try: if hive: result = hive.get_key(key) - except (KeyError, registrylayer.RegistryException): + except (KeyError, registry_layer.RegistryException): vollog.info( f"Unable to load the required registry key {hive.get_name()}\\{key} from this memory image" ) @@ -343,7 +342,7 @@ class Hashdump(interfaces.plugins.PluginInterface): @classmethod def get_user_keys( - cls, samhive: registry.RegistryHive + cls, samhive: registry_layer.RegistryHive ) -> List[interfaces.objects.ObjectInterface]: user_key_path = "SAM\\Domains\\Account\\Users" @@ -354,7 +353,7 @@ class Hashdump(interfaces.plugins.PluginInterface): return [k for k in user_key.get_subkeys() if k.Name != "Names"] @classmethod - def get_bootkey(cls, syshive: registry.RegistryHive) -> Optional[bytes]: + def get_bootkey(cls, syshive: registry_layer.RegistryHive) -> Optional[bytes]: """ Returns the scrambled bootkey necesary to decrypt hashes """ @@ -382,8 +381,8 @@ class Hashdump(interfaces.plugins.PluginInterface): return None bootkey += class_data.decode("utf-16-le") except ( - InvalidAddressException, - registrylayer.RegistryException, + exceptions.InvalidAddressException, + registry_layer.RegistryException, ) as excp: vollog.log( constants.LOGLEVEL_VVV, f"Unable to read Lsa key {lk}: {excp}" @@ -398,7 +397,7 @@ class Hashdump(interfaces.plugins.PluginInterface): @classmethod def get_hbootkey( - cls, samhive: registry.RegistryHive, bootkey: bytes + cls, samhive: registry_layer.RegistryHive, bootkey: bytes ) -> Optional[bytes]: sam_account_path = "SAM\\Domains\\Account" @@ -456,7 +455,10 @@ class Hashdump(interfaces.plugins.PluginInterface): @classmethod def get_user_hashes( - cls, user: registry.CM_KEY_NODE, samhive: registry.RegistryHive, hbootkey: bytes + cls, + user: registry.CM_KEY_NODE, + samhive: registry_layer.RegistryHive, + hbootkey: bytes, ) -> Optional[Tuple[bytes, bytes]]: ## Will sometimes find extra user with rid = NAMES, returns empty strings right now try: @@ -470,7 +472,7 @@ class Hashdump(interfaces.plugins.PluginInterface): sam_data = samhive.read(v.Data + 4, v.DataLength) except ( exceptions.InvalidAddressException, - registrylayer.RegistryException, + registry_layer.RegistryException, ): return None @@ -570,7 +572,7 @@ class Hashdump(interfaces.plugins.PluginInterface): @classmethod def get_user_name( - cls, user: registry.CM_KEY_NODE, samhive: registry.RegistryHive + cls, user: registry.CM_KEY_NODE, samhive: registry_layer.RegistryHive ) -> Optional[bytes]: value = None for v in user.get_values(): @@ -593,7 +595,7 @@ class Hashdump(interfaces.plugins.PluginInterface): # replaces the dump_hashes method in vol2 def _generator( - self, syshive: registry.RegistryHive, samhive: registry.RegistryHive + self, syshive: registry_layer.RegistryHive, samhive: registry_layer.RegistryHive ): if syshive is None: vollog.debug("SYSTEM address is None: No system hive found") diff --git a/volatility3/framework/plugins/windows/registry/lsadump.py b/volatility3/framework/plugins/windows/registry/lsadump.py index 2154923ec..e394822d6 100644 --- a/volatility3/framework/plugins/windows/registry/lsadump.py +++ b/volatility3/framework/plugins/windows/registry/lsadump.py @@ -10,9 +10,8 @@ from Crypto.Cipher import ARC4, DES, AES from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements -from volatility3.framework.exceptions import InvalidAddressException -from volatility3.framework.layers import registry +from volatility3.framework.layers import registry as registry_layers from volatility3.framework.symbols.windows import versions from volatility3.plugins.windows.registry import hashdump, hivelist from volatility3.framework.renderers import format_hints @@ -65,7 +64,7 @@ class Lsadump(interfaces.plugins.PluginInterface): @classmethod def get_lsa_key( - cls, sechive: registry.RegistryHive, bootkey: bytes, vista_or_later: bool + cls, sechive: registry_layers.RegistryHive, bootkey: bytes, vista_or_later: bool ) -> Optional[bytes]: if not bootkey: return None @@ -109,7 +108,7 @@ class Lsadump(interfaces.plugins.PluginInterface): @classmethod def get_secret_by_name( cls, - sechive: registry.RegistryHive, + sechive: registry_layers.RegistryHive, name: str, lsakey: bytes, is_vista_or_later: bool, @@ -123,8 +122,8 @@ class Lsadump(interfaces.plugins.PluginInterface): try: enc_secret_value = next(enc_secret_key.get_values(), None) except ( - InvalidAddressException, - registry.RegistryException, + exceptions.InvalidAddressException, + registry_layers.RegistryException, ): enc_secret_value = None @@ -171,7 +170,9 @@ class Lsadump(interfaces.plugins.PluginInterface): return decrypted_data[8 : 8 + dec_data_len] def _generator( - self, syshive: registry.RegistryHive, sechive: registry.RegistryHive + self, + syshive: registry_layers.RegistryHive, + sechive: registry_layers.RegistryHive, ): kernel = self.context.modules[self.config["kernel"]] @@ -206,8 +207,8 @@ class Lsadump(interfaces.plugins.PluginInterface): enc_secret_value = next(sec_val_key.get_values(), None) except ( StopIteration, - InvalidAddressException, - registry.RegistryException, + exceptions.InvalidAddressException, + registry_layers.RegistryException, ): enc_secret_value = None @@ -229,8 +230,8 @@ class Lsadump(interfaces.plugins.PluginInterface): try: key_name = key.get_name() except ( - InvalidAddressException, - registry.RegistryException, + exceptions.InvalidAddressException, + registry_layers.RegistryException, ): key_name = renderers.UnreadableValue() diff --git a/volatility3/framework/plugins/windows/registry/printkey.py b/volatility3/framework/plugins/windows/registry/printkey.py index 6ca56b1bb..ab9a0392d 100644 --- a/volatility3/framework/plugins/windows/registry/printkey.py +++ b/volatility3/framework/plugins/windows/registry/printkey.py @@ -4,18 +4,13 @@ import datetime import logging -from typing import List, Optional, Sequence, Iterable, Tuple, Union +from typing import Iterable, List, Optional, Sequence, Tuple, Union -from volatility3.framework import objects, renderers, exceptions, interfaces, constants +from volatility3.framework import constants, exceptions, interfaces, objects, renderers from volatility3.framework.configuration import requirements -from volatility3.framework.layers.registry import ( - RegistryHive, - RegistryFormatException, - InvalidAddressException, - RegistryException, -) -from volatility3.framework.renderers import TreeGrid, conversion, format_hints -from volatility3.framework.symbols.windows.extensions.registry import RegValueTypes +from volatility3.framework.layers import registry as registry_layer +from volatility3.framework.renderers import conversion, format_hints +from volatility3.framework.symbols.windows.extensions import registry from volatility3.plugins.windows.registry import hivelist vollog = logging.getLogger(__name__) @@ -55,7 +50,7 @@ class PrintKey(interfaces.plugins.PluginInterface): @classmethod def key_iterator( cls, - hive: RegistryHive, + hive: registry_layer.RegistryHive, node_path: Optional[Sequence[objects.StructType]] = None, recurse: bool = False, ) -> Iterable[ @@ -87,14 +82,14 @@ class PrintKey(interfaces.plugins.PluginInterface): try: key_path_names.append(k.get_name()) except ( - InvalidAddressException, - RegistryException, + registry_layer.InvalidAddressException, + registry_layer.RegistryException, ): key_path_names.append("-") key_path = "\\".join([k for k in key_path_names]) if node.vol.type_name.endswith(constants.BANG + "_CELL_DATA"): - raise RegistryFormatException( + raise registry_layer.RegistryFormatException( hive.name, "Encountered _CELL_DATA instead of _CM_KEY_NODE" ) last_write_time = conversion.wintime_to_datetime(node.LastWriteTime.QuadPart) @@ -116,7 +111,7 @@ class PrintKey(interfaces.plugins.PluginInterface): key_node.get_name() except ( exceptions.InvalidAddressException, - RegistryException, + registry_layer.RegistryException, ) as excp: vollog.debug(excp) continue @@ -138,7 +133,7 @@ class PrintKey(interfaces.plugins.PluginInterface): def _printkey_iterator( self, - hive: RegistryHive, + hive: registry_layer.RegistryHive, node_path: Optional[Sequence[objects.StructType]] = None, recurse: bool = False, ): @@ -166,7 +161,7 @@ class PrintKey(interfaces.plugins.PluginInterface): key_node_name = node.get_name() except ( exceptions.InvalidAddressException, - RegistryException, + registry_layer.RegistryException, ) as excp: vollog.debug(excp) key_node_name = renderers.UnreadableValue() @@ -193,16 +188,16 @@ class PrintKey(interfaces.plugins.PluginInterface): value_node_name = node.get_name() or "(Default)" except ( exceptions.InvalidAddressException, - RegistryException, + registry_layer.RegistryException, ) as excp: vollog.debug(excp) value_node_name = renderers.UnreadableValue() try: - value_type = RegValueTypes(node.Type).name + value_type = registry.RegValueTypes(node.Type).name except ( exceptions.InvalidAddressException, - RegistryException, + registry_layer.RegistryException, ) as excp: vollog.debug(excp) value_type = renderers.UnreadableValue() @@ -222,11 +217,17 @@ class PrintKey(interfaces.plugins.PluginInterface): value_data = format_hints.MultiTypeData( value_data, encoding="utf-8" ) - elif RegValueTypes(node.Type) == RegValueTypes.REG_BINARY: + elif ( + registry.RegValueTypes(node.Type) + == registry.RegValueTypes.REG_BINARY + ): value_data = format_hints.MultiTypeData( value_data, show_hex=True ) - elif RegValueTypes(node.Type) == RegValueTypes.REG_MULTI_SZ: + elif ( + registry.RegValueTypes(node.Type) + == registry.RegValueTypes.REG_MULTI_SZ + ): value_data = format_hints.MultiTypeData( value_data, encoding="utf-16-le", split_nulls=True ) @@ -237,7 +238,7 @@ class PrintKey(interfaces.plugins.PluginInterface): except ( ValueError, exceptions.InvalidAddressException, - RegistryException, + registry_layer.RegistryException, ) as excp: vollog.debug(excp) value_data = renderers.UnreadableValue() @@ -279,13 +280,13 @@ class PrintKey(interfaces.plugins.PluginInterface): except ( exceptions.InvalidAddressException, KeyError, - RegistryException, + registry_layer.RegistryException, ) as excp: if isinstance(excp, KeyError): vollog.debug( f"Key '{key}' not found in Hive at offset {hex(hive.hive_offset)}." ) - elif isinstance(excp, RegistryException): + elif isinstance(excp, registry_layer.RegistryException): vollog.debug(excp) elif isinstance(excp, exceptions.InvalidAddressException): vollog.debug( @@ -308,7 +309,7 @@ class PrintKey(interfaces.plugins.PluginInterface): def run(self): offset = self.config.get("offset", None) - return TreeGrid( + return renderers.TreeGrid( columns=[ ("Last Write Time", datetime.datetime), ("Hive Offset", format_hints.Hex), diff --git a/volatility3/framework/plugins/windows/registry/scheduled_tasks.py b/volatility3/framework/plugins/windows/registry/scheduled_tasks.py index 09ebed7b9..a2789e5df 100644 --- a/volatility3/framework/plugins/windows/registry/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/registry/scheduled_tasks.py @@ -1216,7 +1216,7 @@ class ScheduledTasks(interfaces.plugins.PluginInterface, timeliner.TimeLinerInte @classmethod def _get_task_keys( - cls, software_hive: reg_extensions.RegistryHive + cls, software_hive: registry.RegistryHive ) -> Tuple[ Optional[reg_extensions.CM_KEY_NODE], Optional[reg_extensions.CM_KEY_NODE] ]: diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index 809d0b2b3..3272b241c 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -12,11 +12,8 @@ from typing import Any, Generator, List, Tuple from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements -from volatility3.framework.layers.physical import BufferDataLayer -from volatility3.framework.layers.registry import ( - RegistryHive, - RegistryException, -) +from volatility3.framework.layers import physical +from volatility3.framework.layers import registry as registry_layers from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed from volatility3.plugins.windows.registry import hivelist @@ -94,7 +91,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac return item userassist_layer_name = self.context.layers.free_layer_name("userassist_buffer") - buffer = BufferDataLayer( + buffer = physical.BufferDataLayer( self.context, self._config_path, userassist_layer_name, userassist_data ) self.context.add_layer(buffer) @@ -158,7 +155,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac ).has_member("CookiePad") def list_userassist( - self, hive: RegistryHive + self, hive: registry_layers.RegistryHive ) -> Generator[Tuple[int, Tuple], None, None]: """Generate userassist data for a registry hive.""" @@ -180,7 +177,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac "software\\microsoft\\windows\\currentversion\\explorer\\userassist", return_list=True, ) - except RegistryException as e: + except registry_layers.RegistryException as e: vollog.warning( f"Error accessing UserAssist key in {hive_name} at {hive.hive_offset:#x}: {e}" ) @@ -250,7 +247,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac subkey_name = subkey.get_name() except ( exceptions.InvalidAddressException, - RegistryException, + registry_layers.RegistryException, ): subkey_name = renderers.UnreadableValue() @@ -279,7 +276,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac value_name = value.get_name() except ( exceptions.InvalidAddressException, - RegistryException, + registry_layers.RegistryException, ): value_name = renderers.UnreadableValue() diff --git a/volatility3/framework/plugins/windows/truecrypt.py b/volatility3/framework/plugins/windows/truecrypt.py index aaab49d20..0478e37a5 100644 --- a/volatility3/framework/plugins/windows/truecrypt.py +++ b/volatility3/framework/plugins/windows/truecrypt.py @@ -3,20 +3,15 @@ # import logging +from typing import Generator, Iterable, List, Tuple -from typing import Iterable, Generator, List, Tuple - -from volatility3.framework import constants, interfaces, renderers +from volatility3.framework import constants, interfaces, objects, renderers from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces.configuration import RequirementInterface -from volatility3.framework.interfaces.objects import ObjectInterface -from volatility3.framework.objects import Bytes, DataFormatInfo, Integer, StructType -from volatility3.framework.objects.templates import ObjectTemplate +from volatility3.framework.interfaces import configuration from volatility3.framework.objects.utility import array_to_string from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows.extensions import pe - from volatility3.plugins.windows import modules vollog = logging.getLogger(__name__) @@ -29,7 +24,7 @@ class Passphrase(interfaces.plugins.PluginInterface): _required_framework_version = (2, 5, 2) @classmethod - def get_requirements(cls) -> List[RequirementInterface]: + def get_requirements(cls) -> List[configuration.RequirementInterface]: return [ requirements.ModuleRequirement( "kernel", @@ -67,7 +62,7 @@ class Passphrase(interfaces.plugins.PluginInterface): layer_name, module_base, ) - data_section: StructType = next( + data_section: objects.StructType = next( sec for sec in dos_header.get_nt_header().get_sections() if array_to_string(sec.Name) == ".data" @@ -76,11 +71,11 @@ class Passphrase(interfaces.plugins.PluginInterface): size: int = data_section.Misc.VirtualSize # Looking at `Length` in TrueCrypt/Common/Password.h::Password struct DWORD_SIZE_BYTES: int = 4 - format = DataFormatInfo( + format = objects.DataFormatInfo( length=DWORD_SIZE_BYTES, byteorder="little", signed=True ) - int32 = ObjectTemplate( - Integer, pe_table_name + constants.BANG + "int", data_format=format + int32 = objects.templates.ObjectTemplate( + objects.Integer, pe_table_name + constants.BANG + "int", data_format=format ) count, not_aligned = divmod(size, DWORD_SIZE_BYTES) if not_aligned: @@ -99,7 +94,7 @@ class Passphrase(interfaces.plugins.PluginInterface): if not min_length <= length <= 64: continue offset = length.vol["offset"] + DWORD_SIZE_BYTES - passphrase: Bytes = self.context.object( + passphrase: objects.Bytes = self.context.object( pe_table_name + constants.BANG + "bytes", layer_name, offset, @@ -111,7 +106,7 @@ class Passphrase(interfaces.plugins.PluginInterface): continue # TrueCrypt/Common/Password.h::Password struct is padded with # 3 zero bytes to keep 64-byte alignment. - buf: Bytes = self.context.object( + buf: objects.Bytes = self.context.object( pe_table_name + constants.BANG + "bytes", layer_name, offset + length + 1, # +1 for '\0'-terminated password string @@ -124,8 +119,8 @@ class Passphrase(interfaces.plugins.PluginInterface): def _generator(self): kernel = self.context.modules[self.config["kernel"]] - mods: Iterable[ObjectInterface] = modules.Modules.list_modules( - self.context, self.config["kernel"] + mods: Iterable[interfaces.objects.ObjectInterface] = ( + modules.Modules.list_modules(self.context, self.config["kernel"]) ) try: truecrypt_module_base = next( diff --git a/volatility3/framework/symbols/linux/network.py b/volatility3/framework/symbols/linux/network.py index c88e6fc69..72ffe8047 100644 --- a/volatility3/framework/symbols/linux/network.py +++ b/volatility3/framework/symbols/linux/network.py @@ -1,9 +1,9 @@ from volatility3.framework.symbols import intermed from volatility3.framework.symbols.linux.extensions import network -from volatility3.framework.interfaces.configuration import VersionableInterface +from volatility3.framework.interfaces import configuration -class NetSymbols(VersionableInterface): +class NetSymbols(configuration.VersionableInterface): _version = (1, 0, 0) @classmethod diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 75608cfc6..9fe250ba5 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -18,7 +18,6 @@ from volatility3.framework import ( renderers, symbols, ) -from volatility3.framework.interfaces.objects import ObjectInterface from volatility3.framework.layers import intel from volatility3.framework.objects import utility from volatility3.framework.renderers import conversion @@ -413,7 +412,9 @@ class DEVICE_OBJECT(objects.StructType, pool.ExecutiveObject): header = self.get_object_header() return header.NameInfo.Name.String # type: ignore - def get_attached_devices(self) -> Generator[ObjectInterface, None, None]: + def get_attached_devices( + self, + ) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Enumerate the attached device's objects""" seen = set() @@ -443,7 +444,7 @@ class DRIVER_OBJECT(objects.StructType, pool.ExecutiveObject): header = self.get_object_header() return header.NameInfo.Name.String # type: ignore - def get_devices(self) -> Generator[ObjectInterface, None, None]: + def get_devices(self) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Enumerate the driver's device objects""" seen = set() diff --git a/volatility3/framework/symbols/windows/extensions/network.py b/volatility3/framework/symbols/windows/extensions/network.py index e41ac6a05..62cb4fba4 100644 --- a/volatility3/framework/symbols/windows/extensions/network.py +++ b/volatility3/framework/symbols/windows/extensions/network.py @@ -4,17 +4,15 @@ import logging import socket -from typing import Dict, Tuple, List, Union, Optional +from typing import Dict, List, Optional, Tuple, Union -from volatility3.framework import exceptions -from volatility3.framework import objects, interfaces -from volatility3.framework.objects import Array +from volatility3.framework import exceptions, interfaces, objects from volatility3.framework.renderers import conversion vollog = logging.getLogger(__name__) -def inet_ntop(address_family: int, packed_ip: Union[List[int], Array]) -> str: +def inet_ntop(address_family: int, packed_ip: Union[List[int], objects.Array]) -> str: if address_family in [socket.AF_INET6, socket.AF_INET]: try: return socket.inet_ntop(address_family, bytes(packed_ip)) diff --git a/volatility3/framework/symbols/windows/extensions/pool.py b/volatility3/framework/symbols/windows/extensions/pool.py index b0c480d19..f12182fa7 100644 --- a/volatility3/framework/symbols/windows/extensions/pool.py +++ b/volatility3/framework/symbols/windows/extensions/pool.py @@ -4,7 +4,7 @@ import logging import struct from typing import Dict, List, Optional, Tuple, Union -from volatility3.plugins.windows.poolscanner import PoolConstraint +from volatility3.plugins.windows import poolscanner from volatility3.framework import ( constants, @@ -28,7 +28,7 @@ class POOL_HEADER(objects.StructType): def get_object( self, - constraint: PoolConstraint, + constraint: poolscanner.PoolConstraint, use_top_down: bool, kernel_symbol_table: Optional[str] = None, native_layer_name: Optional[str] = None, diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index 987f01ac1..e3419fab0 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -8,10 +8,7 @@ import struct from typing import Iterator, Optional, Union, cast from volatility3.framework import constants, exceptions, interfaces, objects -from volatility3.framework.layers.registry import ( - RegistryException, - RegistryHive, -) +from volatility3.framework.layers import registry vollog = logging.getLogger(__name__) @@ -102,7 +99,9 @@ class CMHIVE(objects.StructType): for attr in ["FileFullPath", "FileUserName", "HiveRootPath"]: with contextlib.suppress( - AttributeError, exceptions.InvalidAddressException, RegistryException + AttributeError, + exceptions.InvalidAddressException, + registry.RegistryException, ): name = getattr(self, attr) if name.Length > 0: @@ -172,7 +171,9 @@ class CM_KEY_NODE(objects.StructType): Raises TypeError if the key was not instantiated on a RegistryHive layer """ - if not isinstance(self._context.layers[self.vol.layer_name], RegistryHive): + if not isinstance( + self._context.layers[self.vol.layer_name], registry.RegistryHive + ): raise TypeError("CM_KEY_NODE was not instantiated on a RegistryHive layer") return bool(self.vol.offset & 0x80000000) @@ -182,7 +183,7 @@ class CM_KEY_NODE(objects.StructType): Raises TypeError if the key was not instantiated on a RegistryHive layer """ hive = self._context.layers[self.vol.layer_name] - if not isinstance(hive, RegistryHive): + if not isinstance(hive, registry.RegistryHive): raise TypeError("CM_KEY_NODE was not instantiated on a RegistryHive layer") for index in range(2): # Use get_cell because it should *always* be a KeyIndex @@ -190,7 +191,7 @@ class CM_KEY_NODE(objects.StructType): yield from self._get_subkeys_recursive(hive, subkey_node) def _get_subkeys_recursive( - self, hive: RegistryHive, node: interfaces.objects.ObjectInterface + self, hive: registry.RegistryHive, node: interfaces.objects.ObjectInterface ) -> Iterator["CM_KEY_NODE"]: """Recursively descend a node returning subkeys.""" # The keylist appears to include 4 bytes of key name after each value @@ -200,7 +201,7 @@ class CM_KEY_NODE(objects.StructType): signature = node.cast("string", max_length=2, encoding="latin-1") except ( exceptions.InvalidAddressException, - RegistryException, + registry.RegistryException, ): return None @@ -229,7 +230,7 @@ class CM_KEY_NODE(objects.StructType): subnode = hive.get_node(subnode_offset) except ( exceptions.InvalidAddressException, - RegistryException, + registry.RegistryException, ): vollog.log( constants.LOGLEVEL_VVV, @@ -244,7 +245,7 @@ class CM_KEY_NODE(objects.StructType): Raises TypeError if the key was not instantiated on a RegistryHive layer """ hive = self._context.layers[self.vol.layer_name] - if not isinstance(hive, RegistryHive): + if not isinstance(hive, registry.RegistryHive): raise TypeError("CM_KEY_NODE was not instantiated on a RegistryHive layer") try: @@ -255,7 +256,7 @@ class CM_KEY_NODE(objects.StructType): if v != 0: try: node = hive.get_node(v) - except (RegistryException,) as excp: + except (registry.RegistryException,) as excp: vollog.debug(f"Invalid address {excp}") continue if isinstance(node, CM_KEY_VALUE): @@ -263,7 +264,7 @@ class CM_KEY_NODE(objects.StructType): except ( exceptions.InvalidAddressException, - RegistryException, + registry.RegistryException, ) as excp: vollog.debug(f"Invalid address in get_values iteration: {excp}") return None @@ -281,7 +282,7 @@ class CM_KEY_NODE(objects.StructType): Raises TypeError if the key was not instantiated on a RegistryHive layer """ reg = self._context.layers[self.vol.layer_name] - if not isinstance(reg, RegistryHive): + if not isinstance(reg, registry.RegistryHive): raise TypeError("Key was not instantiated on a RegistryHive layer") # Using the offset adds a significant delay (since it cannot be cached easily) # if self.vol.offset == reg.get_node(reg.root_cell_offset).vol.offset: @@ -320,7 +321,7 @@ class CM_KEY_VALUE(objects.StructType): data = b"" # Check if the data is stored inline layer = self._context.layers[self.vol.layer_name] - if not isinstance(layer, RegistryHive): + if not isinstance(layer, registry.RegistryHive): raise TypeError("Key value was not instantiated on a RegistryHive layer") # If the high-bit is set @@ -353,7 +354,10 @@ class CM_KEY_VALUE(objects.StructType): offset=layer.get_cell(block_offset).vol.offset, length=amount, ) - except (exceptions.InvalidAddressException, RegistryException): + except ( + exceptions.InvalidAddressException, + registry.RegistryException, + ): vollog.debug( f"Failed to read {amount:x} bytes of data, padding with {amount:x}" ) @@ -363,7 +367,7 @@ class CM_KEY_VALUE(objects.StructType): # but the length at the start could be negative so just adding 4 to jump past it try: data = layer.read(self.Data + 4, datalen) - except (exceptions.InvalidAddressException, RegistryException): + except (exceptions.InvalidAddressException, registry.RegistryException): vollog.debug( f"Failed to read {datalen:x} bytes of data, returning {datalen:x} null bytes" ) diff --git a/volatility3/framework/symbols/windows/extensions/services.py b/volatility3/framework/symbols/windows/extensions/services.py index 0a2194e07..9f36a1b9c 100644 --- a/volatility3/framework/symbols/windows/extensions/services.py +++ b/volatility3/framework/symbols/windows/extensions/services.py @@ -4,7 +4,7 @@ from volatility3.framework import objects, interfaces from volatility3.framework import exceptions -from volatility3.framework.symbols.wrappers import Flags +from volatility3.framework.symbols import wrappers from volatility3.framework import renderers from typing import Union @@ -91,7 +91,7 @@ class SERVICE_RECORD(objects.StructType): "SERVICE_INTERACTIVE_PROCESS": 256, } - type_flags = Flags(choices=SERVICE_TYPE_FLAGS) + type_flags = wrappers.Flags(choices=SERVICE_TYPE_FLAGS) return "|".join(type_flags(self.Type)) def traverse(self): diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index 3c23eddb8..5f5c8cac8 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -16,7 +16,6 @@ from volatility3 import symbols from volatility3.framework import constants, contexts, exceptions, interfaces from volatility3.framework.automagic import symbol_cache from volatility3.framework.configuration import requirements -from volatility3.framework.configuration.requirements import SymbolTableRequirement from volatility3.framework.symbols import intermed from volatility3.framework.symbols.windows import pdbconv @@ -140,7 +139,7 @@ class PDBUtility(interfaces.configuration.VersionableInterface): requirement_name = interfaces.configuration.path_head(config_path) # Construct the appropriate symbol table - requirement = SymbolTableRequirement( + requirement = requirements.SymbolTableRequirement( name=requirement_name, description="PDBUtility generated symbol table" ) requirement.construct(context, parent_config_path) diff --git a/volatility3/plugins/windows/registry/certificates.py b/volatility3/plugins/windows/registry/certificates.py index caf244f95..d96284036 100644 --- a/volatility3/plugins/windows/registry/certificates.py +++ b/volatility3/plugins/windows/registry/certificates.py @@ -4,6 +4,7 @@ import struct from typing import Iterator, List, Optional, Tuple, Type from volatility3.framework import exceptions, interfaces, renderers +from volatility3.framework.layers import registry as registry_layer from volatility3.framework.configuration import requirements from volatility3.framework.symbols.windows.extensions import registry from volatility3.plugins.windows.registry import hivelist, printkey @@ -80,7 +81,7 @@ class Certificates(interfaces.plugins.PluginInterface): ]: with contextlib.suppress( KeyError, - registry.RegistryException, + registry_layer.RegistryException, exceptions.InvalidAddressException, ): # Walk it From a3353a3cb60ea55a7893cb28488cb2465f67224e Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 28 Mar 2025 16:57:15 -0500 Subject: [PATCH 1764/2186] CI Testing: Renames script and updates job name --- .../{check-requirements.yml => vol3-code-analysis.yml} | 5 ++--- ...igurable_requirements.py => volatility3_code_analysis.py} | 0 2 files changed, 2 insertions(+), 3 deletions(-) rename .github/workflows/{check-requirements.yml => vol3-code-analysis.yml} (73%) rename test/{check_configurable_requirements.py => volatility3_code_analysis.py} (100%) diff --git a/.github/workflows/check-requirements.yml b/.github/workflows/vol3-code-analysis.yml similarity index 73% rename from .github/workflows/check-requirements.yml rename to .github/workflows/vol3-code-analysis.yml index 9892d7b94..fc2b297fd 100644 --- a/.github/workflows/check-requirements.yml +++ b/.github/workflows/vol3-code-analysis.yml @@ -1,4 +1,4 @@ -name: Check Volatility3 Version Requirements +name: Volatility3 Code Analysis on: [push, pull_request] jobs: @@ -21,5 +21,4 @@ jobs: - name: Testing... run: | - # Verify completeness of ConfigurableInterface requirements - python ./test/check_configurable_requirements.py + python ./test/volatility3_code_analysis.py diff --git a/test/check_configurable_requirements.py b/test/volatility3_code_analysis.py similarity index 100% rename from test/check_configurable_requirements.py rename to test/volatility3_code_analysis.py From f72b717c0001426abfcb50e6a37717df4a80ddf7 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 28 Mar 2025 22:25:52 -0500 Subject: [PATCH 1765/2186] Comment type annotation to fix circular import --- volatility3/framework/symbols/windows/extensions/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/registry.py b/volatility3/framework/symbols/windows/extensions/registry.py index e3419fab0..e18a15cba 100644 --- a/volatility3/framework/symbols/windows/extensions/registry.py +++ b/volatility3/framework/symbols/windows/extensions/registry.py @@ -191,7 +191,7 @@ class CM_KEY_NODE(objects.StructType): yield from self._get_subkeys_recursive(hive, subkey_node) def _get_subkeys_recursive( - self, hive: registry.RegistryHive, node: interfaces.objects.ObjectInterface + self, hive: "registry.RegistryHive", node: interfaces.objects.ObjectInterface ) -> Iterator["CM_KEY_NODE"]: """Recursively descend a node returning subkeys.""" # The keylist appears to include 4 bytes of key name after each value From 296cb3c1131c7379d27668da7d5cfa9278a6eb79 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Sat, 29 Mar 2025 15:48:24 -0500 Subject: [PATCH 1766/2186] Code Analysis: Give pass to 'volatility3' Also moves some code into a private method with a docstring in the visitor class. --- test/volatility3_code_analysis.py | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/test/volatility3_code_analysis.py b/test/volatility3_code_analysis.py index ee1a54ce2..100ad3074 100644 --- a/test/volatility3_code_analysis.py +++ b/test/volatility3_code_analysis.py @@ -165,13 +165,16 @@ class ModuleVisitor(NodeVisitor): def violations(self): return self._violations - def enter_ImportFrom(self, node: ast.ImportFrom): - if not node.module: - return - + def _check_vol3_import_from(self, node: ast.ImportFrom): + """ + Ensure that the only thing imported from a volatility3 module (apart + from the root volatility3 module) are functions and modules. This + prevents re-exporting of classes and variables from modules that use + them. + """ if ( node.module - and node.module.startswith("volatility3") + and node.module.startswith("volatility3.") # Give a pass to volatility3 module and node.module != "volatility3.framework.constants._version" # make an exception for this ): for name in node.names: @@ -198,6 +201,10 @@ class ModuleVisitor(NodeVisitor): ) ) + def enter_ImportFrom(self, node: ast.ImportFrom): + self._check_vol3_import_from(node) + + def enter_ClassDef(self, node: ast.ClassDef) -> Any: logger.debug("Entering class %s", node.name) clazz = None From ee3d965ef6cffe9c1011124f0c4bbf9cd64d7173 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Sat, 29 Mar 2025 15:50:36 -0500 Subject: [PATCH 1767/2186] Revert changes to configuration.py --- volatility3/framework/interfaces/configuration.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/interfaces/configuration.py b/volatility3/framework/interfaces/configuration.py index 33d15d05e..b6f4f889c 100644 --- a/volatility3/framework/interfaces/configuration.py +++ b/volatility3/framework/interfaces/configuration.py @@ -37,8 +37,7 @@ from typing import ( Set, ) -import volatility3 -from volatility3 import framework +from volatility3 import classproperty, framework from volatility3.framework import constants, interfaces CONFIG_SEPARATOR = "." @@ -806,7 +805,7 @@ class VersionableInterface: framework.require_interface_version(*self._required_framework_version) super().__init__(*args, **kwargs) - @volatility3.classproperty + @classproperty def version(cls) -> Tuple[int, int, int]: """The version of the current interface (classmethods available on the component). From c17bcb644ba9a3b1750d84856619902dd79b034a Mon Sep 17 00:00:00 2001 From: David McDonald Date: Sat, 29 Mar 2025 15:51:19 -0500 Subject: [PATCH 1768/2186] Revert changes to intel.py --- volatility3/framework/layers/intel.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index a79d1ef5c..1069b7f6d 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -9,7 +9,7 @@ import math import struct from typing import Any, Dict, Iterable, List, Optional, Tuple -import volatility3 +from volatility3 import classproperty from volatility3.framework import exceptions, interfaces, constants from volatility3.framework.configuration import requirements from volatility3.framework.layers import linear @@ -75,13 +75,13 @@ class Intel(linear.LinearlyMappedLayer): # These can vary depending on the type of space self._index_shift = math.ceil(math.log2(struct.calcsize(self._entry_format))) - @volatility3.classproperty + @classproperty @functools.lru_cache def page_shift(cls) -> int: """Page shift for the intel memory layers.""" return cls._page_size_in_bits - @volatility3.classproperty + @classproperty @functools.lru_cache def page_size(cls) -> int: """Page size for the intel memory layers. @@ -90,30 +90,30 @@ class Intel(linear.LinearlyMappedLayer): """ return 1 << cls._page_size_in_bits - @volatility3.classproperty + @classproperty @functools.lru_cache def page_mask(cls) -> int: """Page mask for the intel memory layers.""" return ~(cls.page_size - 1) - @volatility3.classproperty + @classproperty @functools.lru_cache def bits_per_register(cls) -> int: """Returns the bits_per_register to determine the range of an IntelTranslationLayer.""" return cls._bits_per_register - @volatility3.classproperty + @classproperty @functools.lru_cache def minimum_address(cls) -> int: return 0 - @volatility3.classproperty + @classproperty @functools.lru_cache def maximum_address(cls) -> int: return (1 << cls._maxvirtaddr) - 1 - @volatility3.classproperty + @classproperty def structure(cls) -> List[Tuple[str, int, bool]]: return cls._structure From 14120044227d722d58f62b50552953a9f7771759 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Sat, 29 Mar 2025 15:56:25 -0500 Subject: [PATCH 1769/2186] Make `registry_layers` -> `registry_layer` for consistency --- .../plugins/windows/registry/lsadump.py | 16 ++++++++-------- .../plugins/windows/registry/userassist.py | 10 +++++----- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/plugins/windows/registry/lsadump.py b/volatility3/framework/plugins/windows/registry/lsadump.py index e394822d6..50ecaebc1 100644 --- a/volatility3/framework/plugins/windows/registry/lsadump.py +++ b/volatility3/framework/plugins/windows/registry/lsadump.py @@ -11,7 +11,7 @@ from Crypto.Cipher import ARC4, DES, AES from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements -from volatility3.framework.layers import registry as registry_layers +from volatility3.framework.layers import registry as registry_layer from volatility3.framework.symbols.windows import versions from volatility3.plugins.windows.registry import hashdump, hivelist from volatility3.framework.renderers import format_hints @@ -64,7 +64,7 @@ class Lsadump(interfaces.plugins.PluginInterface): @classmethod def get_lsa_key( - cls, sechive: registry_layers.RegistryHive, bootkey: bytes, vista_or_later: bool + cls, sechive: registry_layer.RegistryHive, bootkey: bytes, vista_or_later: bool ) -> Optional[bytes]: if not bootkey: return None @@ -108,7 +108,7 @@ class Lsadump(interfaces.plugins.PluginInterface): @classmethod def get_secret_by_name( cls, - sechive: registry_layers.RegistryHive, + sechive: registry_layer.RegistryHive, name: str, lsakey: bytes, is_vista_or_later: bool, @@ -123,7 +123,7 @@ class Lsadump(interfaces.plugins.PluginInterface): enc_secret_value = next(enc_secret_key.get_values(), None) except ( exceptions.InvalidAddressException, - registry_layers.RegistryException, + registry_layer.RegistryException, ): enc_secret_value = None @@ -171,8 +171,8 @@ class Lsadump(interfaces.plugins.PluginInterface): def _generator( self, - syshive: registry_layers.RegistryHive, - sechive: registry_layers.RegistryHive, + syshive: registry_layer.RegistryHive, + sechive: registry_layer.RegistryHive, ): kernel = self.context.modules[self.config["kernel"]] @@ -208,7 +208,7 @@ class Lsadump(interfaces.plugins.PluginInterface): except ( StopIteration, exceptions.InvalidAddressException, - registry_layers.RegistryException, + registry_layer.RegistryException, ): enc_secret_value = None @@ -231,7 +231,7 @@ class Lsadump(interfaces.plugins.PluginInterface): key_name = key.get_name() except ( exceptions.InvalidAddressException, - registry_layers.RegistryException, + registry_layer.RegistryException, ): key_name = renderers.UnreadableValue() diff --git a/volatility3/framework/plugins/windows/registry/userassist.py b/volatility3/framework/plugins/windows/registry/userassist.py index 3272b241c..d27c8eb0c 100644 --- a/volatility3/framework/plugins/windows/registry/userassist.py +++ b/volatility3/framework/plugins/windows/registry/userassist.py @@ -13,7 +13,7 @@ from typing import Any, Generator, List, Tuple from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.layers import physical -from volatility3.framework.layers import registry as registry_layers +from volatility3.framework.layers import registry as registry_layer from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed from volatility3.plugins.windows.registry import hivelist @@ -155,7 +155,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac ).has_member("CookiePad") def list_userassist( - self, hive: registry_layers.RegistryHive + self, hive: registry_layer.RegistryHive ) -> Generator[Tuple[int, Tuple], None, None]: """Generate userassist data for a registry hive.""" @@ -177,7 +177,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac "software\\microsoft\\windows\\currentversion\\explorer\\userassist", return_list=True, ) - except registry_layers.RegistryException as e: + except registry_layer.RegistryException as e: vollog.warning( f"Error accessing UserAssist key in {hive_name} at {hive.hive_offset:#x}: {e}" ) @@ -247,7 +247,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac subkey_name = subkey.get_name() except ( exceptions.InvalidAddressException, - registry_layers.RegistryException, + registry_layer.RegistryException, ): subkey_name = renderers.UnreadableValue() @@ -276,7 +276,7 @@ class UserAssist(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterfac value_name = value.get_name() except ( exceptions.InvalidAddressException, - registry_layers.RegistryException, + registry_layer.RegistryException, ): value_name = renderers.UnreadableValue() From 524d89ad6ce21c944fcd643beae2cbfc61d1ed29 Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Mon, 31 Mar 2025 23:08:49 +0000 Subject: [PATCH 1770/2186] Fix several bugs in check_afinfo. Update through latest kernels. Match current Volatility coding standards --- .../framework/plugins/linux/check_afinfo.py | 189 ++++++++++++------ 1 file changed, 131 insertions(+), 58 deletions(-) diff --git a/volatility3/framework/plugins/linux/check_afinfo.py b/volatility3/framework/plugins/linux/check_afinfo.py index 7aa3cbdd2..034d4c24f 100644 --- a/volatility3/framework/plugins/linux/check_afinfo.py +++ b/volatility3/framework/plugins/linux/check_afinfo.py @@ -4,7 +4,7 @@ """A module containing a plugin that verifies the operation function pointers of network protocols.""" import logging -from typing import List +from typing import List, Tuple, Generator from volatility3.framework import exceptions, interfaces from volatility3.framework import renderers @@ -18,6 +18,7 @@ vollog = logging.getLogger(__name__) class Check_afinfo(plugins.PluginInterface): """Verifies the operation function pointers of network protocols.""" + _version = (1, 0, 0) _required_framework_version = (2, 0, 0) @classmethod @@ -30,61 +31,80 @@ class Check_afinfo(plugins.PluginInterface): ), ] - # returns whether the symbol is found within the kernel (system.map) or not - def _is_known_address(self, handler_addr): - symbols = list(self.context.symbol_space.get_symbols_by_location(handler_addr)) + @classmethod + def _check_members( + cls, + context: interfaces.context.ContextInterface, + vmlinux_name: str, + var_ops: interfaces.objects.ObjectInterface, + var_name: str, + members: List[str], + ) -> Generator[Tuple[str, str, int], None, None]: + """ + Yields any members that are not pointing inside the kernel + """ - return len(symbols) > 0 + vmlinux = context.modules[vmlinux_name] - def _check_members(self, var_ops, var_name, members): for check in members: # redhat-specific garbage if check.startswith("__UNIQUE_ID_rh_kabi_hide"): continue - if check == "write": - addr = var_ops.member(attr="write") - else: - addr = getattr(var_ops, check) + # These structures have members like `write` and `next`, which are built in Python functions + addr = var_ops.member(attr=check) - if addr and addr != 0 and not self._is_known_address(addr): - yield check, addr + # Unimplemented handlers are set to 0 + if not addr: + continue - def _check_afinfo(self, var_name, var, op_members, seq_members): - # check if object has a least one of the members used for analysis by this function - required_members = ["seq_fops", "seq_ops", "seq_show"] - has_required_member = any(var.has_member(member) for member in required_members) - if not has_required_member: - vollog.debug( - f"{var_name} object at {hex(var.vol.offset)} had none of the required members: {', '.join([member for member in required_members])}" - ) - raise exceptions.PluginRequirementException + if len(vmlinux.get_symbols_by_absolute_location(addr)) == 0: + yield var_name, check, addr + + @classmethod + def _check_pre_4_18_ops( + cls, + context: interfaces.context.ContextInterface, + vmlinux_name: str, + var_name: str, + var: interfaces.objects.ObjectInterface, + op_members: List[str], + seq_members: List[str], + ): + """ + Finds the correct way to reference `op_members` + """ + vmlinux = context.modules[vmlinux_name] if var.has_member("seq_fops"): - for hooked_member, hook_address in self._check_members( - var.seq_fops, var_name, op_members - ): - yield var_name, hooked_member, hook_address - + yield from cls._check_members( + context, vmlinux_name, var.seq_fops, var_name, op_members + ) # newer kernels if var.has_member("seq_ops"): - for hooked_member, hook_address in self._check_members( - var.seq_ops, var_name, seq_members - ): - yield var_name, hooked_member, hook_address + yield from cls._check_members( + context, vmlinux_name, var.seq_ops, var_name, seq_members + ) # this is the most commonly hooked member by rootkits, so a force a check on it + elif var.has_member("seq_show"): + if len(vmlinux.get_symbols_by_location(var.seq_show)) == 0: + yield var_name, "show", var.seq_show else: - if var.has_member("seq_show"): - if not self._is_known_address(var.seq_show): - yield var_name, "show", var.seq_show - - def _generator(self): - vmlinux = self.context.modules[self.config["kernel"]] - - op_members = vmlinux.get_type("file_operations").members - seq_members = vmlinux.get_type("seq_operations").members + raise exceptions.VolatilityException( + "_check_afinfo_pre_4_18: Unable to find sequence operations members for checking." + ) + @classmethod + def _check_afinfo_pre_4_18( + cls, + context: interfaces.context.ContextInterface, + vmlinux_name: str, + seq_members: str, + ) -> Generator[Tuple[str, str, int], None, None]: + """ + Checks the operations structures for network protocols of < 4.18 systems + """ tcp = ("tcp_seq_afinfo", ["tcp6_seq_afinfo", "tcp4_seq_afinfo"]) udp = ( "udp_seq_afinfo", @@ -97,39 +117,92 @@ class Check_afinfo(plugins.PluginInterface): ) protocols = [tcp, udp] - # used to track the calls to _check_afinfo and the - # number of errors produced due to missing members - symbols_checked = set() - symbols_with_errors = set() + vmlinux = context.modules[vmlinux_name] + + op_members = vmlinux.get_type("file_operations").members # loop through all symbols for struct_type, global_vars in protocols: for global_var_name in global_vars: # this will lookup fail for the IPv6 protocols on kernels without IPv6 support try: - global_var = vmlinux.get_symbol(global_var_name) + global_var = vmlinux.object_from_symbol(global_var_name) except exceptions.SymbolError: continue - global_var = vmlinux.object( - object_type=struct_type, offset=global_var.address + yield from cls._check_pre_4_18_ops( + context, + vmlinux_name, + global_var_name, + global_var, + op_members, + seq_members, ) - symbols_checked.add(global_var_name) - try: - for name, member, address in self._check_afinfo( - global_var_name, global_var, op_members, seq_members - ): - yield 0, (name, member, format_hints.Hex(address)) - except exceptions.PluginRequirementException: - symbols_with_errors.add(global_var_name) + @classmethod + def _check_afinfo_post_4_18( + cls, + context: interfaces.context.ContextInterface, + vmlinux_name: str, + seq_members: str, + ) -> Generator[Tuple[str, str, int], None, None]: + """ + Checks the operations structures for network protocols of >= 4.18 systems + """ + vmlinux = context.modules[vmlinux_name] - # if every call to _check_afinfo failed show a warning - if symbols_checked == symbols_with_errors: - vollog.warning( - "This plugin was not able to check for hooks. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." + ops_structs = [ + "raw_seq_ops", + "udp_seq_ops", + "arp_seq_ops", + "unix_seq_ops", + "udp6_seq_ops" "raw6_seq_ops", + "tcp_seq_ops", + "tcp4_seq_ops", + "tcp6_seq_ops", + "packet_seq_ops", + ] + + for protocol_ops_var in ops_structs: + # These will fail if the particular kernel doesn't have support for a protocol like IPv6 + try: + protocol_ops = vmlinux.object_from_symbol(protocol_ops_var) + except exceptions.SymbolError: + continue + + yield from cls._check_members( + context, vmlinux_name, protocol_ops, protocol_ops_var, seq_members ) + @classmethod + def check_afinfo( + cls, context: interfaces.context.ContextInterface, vmlinux_name + ) -> Generator[Tuple[str, str, int], None, None]: + """ + Walks the network protocol operations structures for common network protocols. + Reports any initialized operations members that do not point inside the kernel. + """ + vmlinux = context.modules[vmlinux_name] + + type_check = vmlinux.get_type("tcp_seq_afinfo") + if type_check.has_member("seq_fops"): + checker = cls._check_afinfo_pre_4_18 + else: + checker = cls._check_afinfo_post_4_18 + + seq_members = vmlinux.get_type("seq_operations").members + + yield from checker(context, vmlinux_name, seq_members) + + def _generator(self): + """ + A simple wrapper around `check_afino` + """ + for name, member, address in self.check_afinfo( + self.context, self.config["kernel"] + ): + yield 0, (name, member, format_hints.Hex(address)) + def run(self): return renderers.TreeGrid( [ From 9c58cfc2a844f545626ddcc8e1e8d385c56684bd Mon Sep 17 00:00:00 2001 From: ikelos Date: Tue, 1 Apr 2025 11:20:48 +0100 Subject: [PATCH 1771/2186] Potential fix for code scanning alert no. 416: Implicit string concatenation in a list Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- volatility3/framework/plugins/linux/check_afinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/check_afinfo.py b/volatility3/framework/plugins/linux/check_afinfo.py index 034d4c24f..310e7da6c 100644 --- a/volatility3/framework/plugins/linux/check_afinfo.py +++ b/volatility3/framework/plugins/linux/check_afinfo.py @@ -156,7 +156,7 @@ class Check_afinfo(plugins.PluginInterface): "udp_seq_ops", "arp_seq_ops", "unix_seq_ops", - "udp6_seq_ops" "raw6_seq_ops", + "udp6_seq_ops", "raw6_seq_ops", "tcp_seq_ops", "tcp4_seq_ops", "tcp6_seq_ops", From 2ca5fd5fe584372dbbcdf43759f54b370cdaaf58 Mon Sep 17 00:00:00 2001 From: ikelos Date: Tue, 1 Apr 2025 11:22:55 +0100 Subject: [PATCH 1772/2186] Update volatility3/framework/plugins/linux/check_afinfo.py Fix up ruff error. --- volatility3/framework/plugins/linux/check_afinfo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/check_afinfo.py b/volatility3/framework/plugins/linux/check_afinfo.py index 310e7da6c..aa734b25d 100644 --- a/volatility3/framework/plugins/linux/check_afinfo.py +++ b/volatility3/framework/plugins/linux/check_afinfo.py @@ -156,7 +156,8 @@ class Check_afinfo(plugins.PluginInterface): "udp_seq_ops", "arp_seq_ops", "unix_seq_ops", - "udp6_seq_ops", "raw6_seq_ops", + "udp6_seq_ops", + "raw6_seq_ops", "tcp_seq_ops", "tcp4_seq_ops", "tcp6_seq_ops", From caedfc564f150f00c877f0ccfc5fce745217776c Mon Sep 17 00:00:00 2001 From: Andrew Case Date: Tue, 1 Apr 2025 13:34:24 +0000 Subject: [PATCH 1773/2186] Fix black error --- volatility3/framework/plugins/linux/check_afinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/check_afinfo.py b/volatility3/framework/plugins/linux/check_afinfo.py index aa734b25d..47da21615 100644 --- a/volatility3/framework/plugins/linux/check_afinfo.py +++ b/volatility3/framework/plugins/linux/check_afinfo.py @@ -156,7 +156,7 @@ class Check_afinfo(plugins.PluginInterface): "udp_seq_ops", "arp_seq_ops", "unix_seq_ops", - "udp6_seq_ops", + "udp6_seq_ops", "raw6_seq_ops", "tcp_seq_ops", "tcp4_seq_ops", From 9791ae587898cc7b7324eeaf6d95ca58aae273ae Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 1 Apr 2025 22:23:03 +0100 Subject: [PATCH 1774/2186] Fix up direct import issue --- volatility3/cli/text_renderer.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 1d39e3fa6..1453c0ea1 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -9,11 +9,10 @@ import random import string import sys from functools import wraps -from typing import Any, Callable, Dict, List, Tuple, TypeVar, Union +from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar, Union from volatility3.cli import text_filter from volatility3.framework import exceptions, interfaces, renderers -from volatility3.framework.interfaces.renderers import BaseAbsentValue from volatility3.framework.renderers import format_hints vollog = logging.getLogger(__name__) @@ -84,7 +83,9 @@ def multitypedata_as_text(value: format_hints.MultiTypeData) -> str: T = TypeVar("T") -def optional(func: Callable[[Union[BaseAbsentValue, T]], str]) -> Callable[[T], str]: +def optional( + func: Callable[[Union[interfaces.renderers.BaseAbsentValue, T]], str], +) -> Callable[[T], str]: @wraps(func) def wrapped(x: Any) -> str: if isinstance(x, interfaces.renderers.BaseAbsentValue): @@ -156,8 +157,10 @@ class LayerDataRenderer(CLITypeRenderer): self.display_hex = True self.display_ascii = True - def render(data: Union[renderers.LayerData, BaseAbsentValue]): - if isinstance(data, BaseAbsentValue): + def render( + data: Union[renderers.LayerData, interfaces.renderers.BaseAbsentValue], + ): + if isinstance(data, interfaces.renderers.BaseAbsentValue): # FIXME: Do something cleverer here return "" @@ -241,8 +244,8 @@ class CLIRenderer(interfaces.renderers.Renderer): name = "unnamed" structured_output = False - filter: text_filter.CLIFilter = None - column_hide_list: list = None + filter: Optional[text_filter.CLIFilter] = None + column_hide_list: Optional[list] = None def ignored_columns( self, From bb2f28a39e096009dd249633cb508d94b8f39336 Mon Sep 17 00:00:00 2001 From: ikelos Date: Tue, 1 Apr 2025 22:29:48 +0100 Subject: [PATCH 1775/2186] Update volatility3/cli/volshell/generic.py --- volatility3/cli/volshell/generic.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 11814f20a..1c70ceb0a 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -605,9 +605,7 @@ class Volshell(interfaces.plugins.PluginInterface): # volobject branch if isinstance( value, - Union[ - interfaces.objects.ObjectInterface, interfaces.objects.Template - ], + (interfaces.objects.ObjectInterface, interfaces.objects.Template), ): if isinstance(value, objects.Pointer): # show pointers in hex to match output for struct addrs From e2fb96a0d338109ddb9d2431ea7fb18ed8b20041 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 1 Apr 2025 23:14:03 +0100 Subject: [PATCH 1776/2186] Fix up JSON rendering of hex bytes and LayerData --- volatility3/cli/text_renderer.py | 77 ++++++++++++++++++-------------- 1 file changed, 44 insertions(+), 33 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 1453c0ea1..39abb265e 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -159,42 +159,12 @@ class LayerDataRenderer(CLITypeRenderer): def render( data: Union[renderers.LayerData, interfaces.renderers.BaseAbsentValue], - ): + ) -> str: if isinstance(data, interfaces.renderers.BaseAbsentValue): # FIXME: Do something cleverer here return "" - context_byte_len = self.context_byte_len if not data.no_surrounding else 0 - - layer = data.context.layers[data.layer_name] - # Map of the holes - error_bytes = set() - start_offset = data.offset - context_byte_len - end_offset = data.offset + data.length + context_byte_len - if isinstance(layer, interfaces.layers.TranslationLayerInterface): - error_bytes = set() - mapping = iter(layer.mapping(start_offset, end_offset, True)) - current_map = next(mapping) - for i in range(start_offset, end_offset): - # Run through the bytes, check if they're present - offset, sublength, _, _, _ = current_map - if i < offset: - error_bytes.add(i - start_offset) - if i > offset + sublength: - try: - current_map = next(mapping) - except StopIteration: - pass - offset, sublength, _, _, _ = current_map - if i > offset + sublength: - error_bytes.add(i - start_offset) - - # Padded data - specific_data = data.context.layers[data.layer_name].read( - start_offset, - end_offset - start_offset, - True, - ) + specific_data, error_bytes = self.render_bytes(data) printables = "" output = "\n" @@ -224,6 +194,46 @@ class LayerDataRenderer(CLITypeRenderer): render_func = render return super().__init__(render_func) + def render_bytes(self, data: renderers.LayerData) -> tuple[bytes, set[int]]: + """Renders a valid LayerData into bytes (with context bytes)""" + context_byte_len = self.context_byte_len if not data.no_surrounding else 0 + + layer = data.context.layers[data.layer_name] + # Map of the holes + error_bytes = set() + start_offset = data.offset - context_byte_len + end_offset = data.offset + data.length + context_byte_len + if isinstance(layer, interfaces.layers.TranslationLayerInterface): + error_bytes = set() + mapping = iter(layer.mapping(start_offset, end_offset, True)) + current_map = next(mapping) + for i in range(start_offset, end_offset): + # Run through the bytes, check if they're present + offset, sublength, _, _, _ = current_map + if i < offset: + error_bytes.add(i - start_offset) + if i > offset + sublength: + try: + current_map = next(mapping) + except StopIteration: + pass + offset, sublength, _, _, _ = current_map + if i > offset + sublength: + error_bytes.add(i - start_offset) + + # Padded data + specific_data = data.context.layers[data.layer_name].read( + start_offset, + end_offset - start_offset, + True, + ) + + import pdb + + pdb.set_trace() + + return specific_data, error_bytes + class CLIRenderer(interfaces.renderers.Renderer): """Class to add specific requirements for CLI renderers.""" @@ -525,9 +535,10 @@ class PrettyTextRenderer(CLIRenderer): class JsonRenderer(CLIRenderer): _type_renderers = { - format_hints.HexBytes: quoted_optional(hex_bytes_as_text), + format_hints.HexBytes: lambda x: x.hex(" "), renderers.Disassembly: quoted_optional(display_disassembly), format_hints.MultiTypeData: quoted_optional(multitypedata_as_text), + renderers.LayerData: lambda x: LayerDataRenderer().render_bytes(x)[0].hex(" "), bytes: optional(lambda x: " ".join(f"{b:02x}" for b in x)), datetime.datetime: lambda x: ( x.isoformat() From aad6a563364fc36f582751f27fc72c041cb364b6 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 1 Apr 2025 23:20:49 +0100 Subject: [PATCH 1777/2186] Fix old typing mechanism --- volatility3/cli/text_renderer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 39abb265e..06c6564de 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -9,7 +9,7 @@ import random import string import sys from functools import wraps -from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar, Union +from typing import Any, Callable, Dict, List, Optional, Set, Tuple, TypeVar, Union from volatility3.cli import text_filter from volatility3.framework import exceptions, interfaces, renderers @@ -194,7 +194,7 @@ class LayerDataRenderer(CLITypeRenderer): render_func = render return super().__init__(render_func) - def render_bytes(self, data: renderers.LayerData) -> tuple[bytes, set[int]]: + def render_bytes(self, data: renderers.LayerData) -> Tuple[bytes, Set[int]]: """Renders a valid LayerData into bytes (with context bytes)""" context_byte_len = self.context_byte_len if not data.no_surrounding else 0 From d3d19fe776782f2a82b39ea3bbe38082e61b4169 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 1 Apr 2025 23:37:57 +0100 Subject: [PATCH 1778/2186] CLI: Handle BaseAbsentValues in JSON --- volatility3/cli/text_renderer.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 06c6564de..69a5468a7 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -535,10 +535,18 @@ class PrettyTextRenderer(CLIRenderer): class JsonRenderer(CLIRenderer): _type_renderers = { - format_hints.HexBytes: lambda x: x.hex(" "), + format_hints.HexBytes: lambda x: ( + x.hex(" ") + if not isinstance(x, interfaces.renderers.BaseAbsentValue) + else "N/A" + ), renderers.Disassembly: quoted_optional(display_disassembly), format_hints.MultiTypeData: quoted_optional(multitypedata_as_text), - renderers.LayerData: lambda x: LayerDataRenderer().render_bytes(x)[0].hex(" "), + renderers.LayerData: lambda x: ( + LayerDataRenderer().render_bytes(x)[0].hex(" ") + if not isinstance(x, interfaces.renderers.BaseAbsentValue) + else "N/A" + ), bytes: optional(lambda x: " ".join(f"{b:02x}" for b in x)), datetime.datetime: lambda x: ( x.isoformat() From 0b1bbb87eee2d0a700d7601170e92ff630cf2782 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 2 Apr 2025 09:36:07 -0500 Subject: [PATCH 1779/2186] Windows Tests: Update userassist JSON output The new layer data type renders the output a little differently, and the plugin also seems to render 'N/A' for a missing value where previously it was an empty string. --- ...windows.registry.userassist.UserAssist.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/plugins/windows/test_data/windows.registry.userassist.UserAssist.json b/test/plugins/windows/test_data/windows.registry.userassist.UserAssist.json index 6ae740822..fd1c997b0 100644 --- a/test/plugins/windows/test_data/windows.registry.userassist.UserAssist.json +++ b/test/plugins/windows/test_data/windows.registry.userassist.UserAssist.json @@ -9,7 +9,7 @@ "Last Write Time": "2025-03-06T17:57:09+00:00", "Name": null, "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", - "Raw Data": "", + "Raw Data": "N/A", "Time Focused": null, "Type": "Key", "__children": [ @@ -23,7 +23,7 @@ "Last Write Time": "2025-03-06T17:57:09+00:00", "Name": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Accessories\\Paint.lnk", "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", - "Raw Data": "\"\n00 00 00 00 07 00 00 00 00 00 00 00 07 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff 90 86 6b 31 ..............k1\nfd 8d db 01 00 00 00 00 ........ \"", + "Raw Data": "00 00 00 00 07 00 00 00 00 00 00 00 07 00 00 00 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ff ff ff ff 90 86 6b 31 fd 8d db 01 00 00 00 00", "Time Focused": "0:00:00.507000", "Type": "Value", "__children": [] @@ -38,7 +38,7 @@ "Last Write Time": "2025-03-06T17:57:09+00:00", "Name": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Administrative Tools\\Registry Editor.lnk", "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", - "Raw Data": "\"\n00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff f0 82 cf ca ................\n95 8e db 01 00 00 00 00 ........ \"", + "Raw Data": "00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ff ff ff ff f0 82 cf ca 95 8e db 01 00 00 00 00", "Time Focused": "0:00:00.501000", "Type": "Value", "__children": [] @@ -53,7 +53,7 @@ "Last Write Time": "2025-03-06T17:57:09+00:00", "Name": "%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\Windows PowerShell\\Windows PowerShell.lnk", "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", - "Raw Data": "\"\n00 00 00 00 04 00 00 00 00 00 00 00 04 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff 10 67 cf 4d .............g.M\nbe 8e db 01 00 00 00 00 ........ \"", + "Raw Data": "00 00 00 00 04 00 00 00 00 00 00 00 04 00 00 00 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ff ff ff ff 10 67 cf 4d be 8e db 01 00 00 00 00", "Time Focused": "0:00:00.504000", "Type": "Value", "__children": [] @@ -68,7 +68,7 @@ "Last Write Time": "2025-03-06T17:57:09+00:00", "Name": "%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\System Tools\\Command Prompt.lnk", "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", - "Raw Data": "\"\n00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff d0 99 66 6c ..............fl\nc0 8e db 01 00 00 00 00 ........ \"", + "Raw Data": "00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ff ff ff ff d0 99 66 6c c0 8e db 01 00 00 00 00", "Time Focused": "0:00:00.501000", "Type": "Value", "__children": [] @@ -83,7 +83,7 @@ "Last Write Time": "2025-03-06T17:57:09+00:00", "Name": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Accessories\\Notepad.lnk", "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", - "Raw Data": "\"\n00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff 00 62 ba 89 .............b..\nc0 8e db 01 00 00 00 00 ........ \"", + "Raw Data": "00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ff ff ff ff 00 62 ba 89 c0 8e db 01 00 00 00 00", "Time Focused": "0:00:00.501000", "Type": "Value", "__children": [] @@ -98,7 +98,7 @@ "Last Write Time": "2025-03-06T17:57:09+00:00", "Name": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Administrative Tools\\Task Scheduler.lnk", "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", - "Raw Data": "\"\n00 00 00 00 02 00 00 00 00 00 00 00 02 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff b0 24 49 23 .............$I#\nc1 8e db 01 00 00 00 00 ........ \"", + "Raw Data": "00 00 00 00 02 00 00 00 00 00 00 00 02 00 00 00 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ff ff ff ff b0 24 49 23 c1 8e db 01 00 00 00 00", "Time Focused": "0:00:00.502000", "Type": "Value", "__children": [] @@ -113,11 +113,11 @@ "Last Write Time": "2025-03-06T17:57:09+00:00", "Name": "%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Edge.lnk", "Path": "ntuser.dat\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\UserAssist\\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\\Count", - "Raw Data": "\"\n00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ................\n00 00 80 bf 00 00 80 bf ff ff ff ff 60 3d 89 2e ............`=..\nc1 8e db 01 00 00 00 00 ........ \"", + "Raw Data": "00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf 00 00 80 bf ff ff ff ff 60 3d 89 2e c1 8e db 01 00 00 00 00", "Time Focused": "0:00:00.501000", "Type": "Value", "__children": [] } ] } -} \ No newline at end of file +} From e446c1081de5a54afe2a02f6bea581d6ec9880f8 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 2 Apr 2025 09:43:20 -0500 Subject: [PATCH 1780/2186] Remove debugging call --- volatility3/cli/text_renderer.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 69a5468a7..3fd804d1b 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -228,10 +228,6 @@ class LayerDataRenderer(CLITypeRenderer): True, ) - import pdb - - pdb.set_trace() - return specific_data, error_bytes From 5befbf86298cbff014996e4b59c58f850aafb388 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 2 Apr 2025 14:08:18 -0500 Subject: [PATCH 1781/2186] Tests: Fix MFTScan testdata These test values needed updating now that the `LayerData` type is used and presents the data a little differently than before. --- test/plugins/windows/windows.py | 37 ++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index c9cf93391..6733d543e 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -1,10 +1,10 @@ -import json -import hashlib -import shutil import contextlib -import tempfile +import hashlib +import json import os -from test import test_volatility, WindowsSamples +import shutil +import tempfile +from test import WindowsSamples, test_volatility class TestWindowsVolshell: @@ -843,20 +843,22 @@ class TestWindowsMFTscan: { "ADS Filename": "Zone.Identifier", "Filename": "libby_hoeler_part1.wmv", - "Hexdump": '"\n5b 5a 6f 6e 65 54 72 61 6e 73 66 65 72 5d 0d 0a [ZoneTransfer]..\n5a 6f 6e 65 49 64 3d 33 0d 0a ZoneId=3.. "', + "Hexdump": "5b 5a 6f 6e 65 54 72 61 6e 73 66 65 72 5d 0d 0a 5a 6f 6e 65 49 64 3d 33 0d 0a", "MFT Type": "DATA", "Offset": 55926304, "Record Number": 323, "Record Type": "FILE", + "__children": [], }, { "ADS Filename": "Zone.Identifier", "Filename": "NetZeroQuickHelpLite.exe", - "Hexdump": '"\n5b 5a 6f 6e 65 54 72 61 6e 73 66 65 72 5d 0d 0a [ZoneTransfer]..\n5a 6f 6e 65 49 64 3d 33 0d 0a ZoneId=3.. "', + "Hexdump": "5b 5a 6f 6e 65 54 72 61 6e 73 66 65 72 5d 0d 0a 5a 6f 6e 65 49 64 3d 33 0d 0a", "MFT Type": "DATA", "Offset": 56102400, "Record Number": 347, "Record Type": "FILE", + "__children": [], }, ] for expected_row in expected_rows: @@ -877,20 +879,22 @@ class TestWindowsMFTscan: { "ADS Filename": "$Max", "Filename": "$UsnJrnl", - "Hexdump": '"\n00 00 00 02 00 00 00 00 00 00 80 00 00 00 00 00 ................\nb9 dd f0 cc df 73 db 01 00 00 00 00 00 00 00 00 .....s.........."', + "Hexdump": "00 00 00 02 00 00 00 00 00 00 80 00 00 00 00 00 b9 dd f0 cc df 73 db 01 00 00 00 00 00 00 00 00", "MFT Type": "DATA", - "Offset": 1058018088, + "Offset": 26235616, "Record Number": 107240, "Record Type": "FILE", + "__children": [], }, { - "ADS Filename": "$Config", - "Filename": "$Repair", - "Hexdump": '"\n01 00 00 00 03 00 00 00 ........ "', + "ADS Filename": "$SRAT", + "Filename": "$Bitmap", + "Hexdump": "a4 5f fd 60 38 00 01 03 10 00 0c 00 04 00 00 00 01 00 00 00 01 00 00 00 8d 4e 16 00 02 00 00 00 a0 00 00 00 00 00 06 00 03 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4a 7b 01 00 00 00 00 00", "MFT Type": "DATA", - "Offset": 5009678688, - "Record Number": 28, + "Offset": 1052277088, + "Record Number": 6, "Record Type": "FILE", + "__children": [], }, ] for expected_row in expected_rows: @@ -924,7 +928,7 @@ class TestWindowsMFTscan: expected_rows = [ { "Filename": "index", - "Hexdump": '"\n30 5c 72 a7 1b 6d fb fc 09 00 00 00 00 00 00 00 0\\r..m..........\n00 00 00 00 00 00 00 00 ........ "', + "Hexdump": "30 5c 72 a7 1b 6d fb fc 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00", "MFT Type": "DATA", "Offset": 4961536280, "Record Number": 116474, @@ -932,7 +936,7 @@ class TestWindowsMFTscan: }, { "Filename": "0.2.filtertrie.intermediate.txt", - "Hexdump": '"\n30 09 32 0d 0a 0.2.. "', + "Hexdump": "30 09 32 0d 0a", "MFT Type": "DATA", "Offset": 619242944, "Record Number": 113013, @@ -1411,4 +1415,3 @@ class TestWindowsVirtMap: ) for expected_row in expected_rows: assert test_volatility.match_output_row(expected_row, json_out) - From 3c3b2b3bbd12576cb1a489fbe273a34de29160e6 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 2 Apr 2025 14:14:52 -0500 Subject: [PATCH 1782/2186] MFT Extensions: Fix type hints These type hints are a bit misleading, and have been updated to reflect their real return type. --- volatility3/framework/symbols/windows/extensions/mft.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index ebba882c0..86580be16 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -10,7 +10,7 @@ from volatility3.framework import objects, constants, exceptions class MFTEntry(objects.StructType): """This represents the base MFT Record""" - def get_signature(self) -> str: + def get_signature(self) -> "objects.String": signature = self.Signature.cast("string", max_length=4, encoding="latin-1") return signature @@ -18,7 +18,7 @@ class MFTEntry(objects.StructType): class MFTFileName(objects.StructType): """This represents an MFT $FILE_NAME Attribute""" - def get_full_name(self) -> str: + def get_full_name(self) -> "objects.String": output = self.Name.cast( "string", encoding="utf16", max_length=self.NameLength * 2, errors="replace" ) @@ -28,7 +28,7 @@ class MFTFileName(objects.StructType): class MFTAttribute(objects.StructType): """This represents an MFT ATTRIBUTE""" - def get_resident_filename(self) -> Optional[str]: + def get_resident_filename(self) -> Optional["objects.String"]: # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems # Length as 512 as its 256*2, which is the maximum size for an entire file path, so this is even generous if ( @@ -51,7 +51,7 @@ class MFTAttribute(objects.StructType): except exceptions.InvalidAddressException: return None - def get_resident_filecontent(self) -> Optional[bytes]: + def get_resident_filecontent(self) -> Optional["objects.Bytes"]: # smear observed in mass testing of samples # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems if ( From 86c5c16ed6f9729913a6ba797013a2ad03d6faa0 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 2 Apr 2025 14:40:44 -0500 Subject: [PATCH 1783/2186] Windows MFTScan Plugins: Performance fixes There was a subtle issue that was causing substantial performance issues in the MFTScan plugins. The `record_map` was purportedly of type `Dict[str, Tuple[int, str, int]]`, but in reality, the second member was a list, and its `str` item was actually being populated with unprocessed values from method calls on the MFT extension classes, which actually return `object.String`. These objects are substantially larger than basic `str` types: ``` [ins] In [5]: pympler.asizeof.asizeof(rec_name) Out[5]: 312648 [ins] In [6]: pympler.asizeof.asizeof(str(rec_name)) Out[6]: 64 ``` This caused this dictionary to grow in size to several gigabytes on larger samples, resulting in thrashing and OOM errors. --- .../framework/plugins/windows/mftscan.py | 130 +++++++++++------- 1 file changed, 79 insertions(+), 51 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 7f9095c6a..9281c964e 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -4,8 +4,14 @@ import contextlib import datetime import logging +from typing import ( + Callable, + Iterator, + Optional, + Tuple, + DefaultDict, +) -from typing import Generator, Iterable, Dict, Tuple, Callable from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements @@ -17,6 +23,22 @@ from volatility3.plugins import timeliner, yarascan vollog = logging.getLogger(__name__) +class MFTRecord: + # TODO: Change to dataclass with (slots=True) if/when we move minimum + # Python version up to 3.10 + __slots__ = ["record_name", "data_count", "offset"] + + def __init__( + self, + record_name: Optional[str] = None, + data_count: int = 0, + offset: Optional[int] = None, + ): + self.record_name = record_name + self.data_count = data_count + self.offset = offset + + class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Scans for MFT FILE objects present in a particular windows memory image.""" @@ -53,14 +75,14 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): primary_layer_name: str, attr_callback: Callable[ [ - Dict[int, Tuple[str, int, int]], - interfaces.objects.ObjectInterface, - interfaces.objects.ObjectInterface, + DefaultDict[str, MFTRecord], + mft.MFTEntry, + mft.MFTAttribute, str, ], - Generator, + Iterator[Tuple], ], - ) -> interfaces.objects.ObjectInterface: + ) -> Iterator[Tuple]: try: primary = context.layers[primary_layer_name] except KeyError: @@ -70,14 +92,14 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): return try: - phys_layer = primary.config["memory_layer"] + memory_layer_name = primary.config["memory_layer"] except KeyError: vollog.error( "Unable to obtain memory layer from primary layer. Please file a bug on GitHub about this issue." ) return - layer = context.layers[phys_layer] + layer = context.layers[memory_layer_name] # Yara Rule to scan for MFT Header Signatures rules = yarascan.YaraScan.process_yara_options( @@ -98,23 +120,24 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) # get each of the individual Field Sets - mft_object = symbol_table + constants.BANG + "MFT_ENTRY" - attribute_object = symbol_table + constants.BANG + "ATTRIBUTE" + mft_object_typ_name = symbol_table + constants.BANG + "MFT_ENTRY" + attribute_object_typ_name = symbol_table + constants.BANG + "ATTRIBUTE" - record_map = {} + record_map: DefaultDict[str, MFTRecord] = DefaultDict(MFTRecord) # Scan the layer for Raw MFT records and parse the fields for offset, _rule_name, _name, _value in layer.scan( context=context, scanner=yarascan.YaraScanner(rules=rules) ): with contextlib.suppress(exceptions.InvalidAddressException): - mft_record = context.object( - mft_object, offset=offset, layer_name=layer.name + mft_record: mft.MFTEntry = context.object( + mft_object_typ_name, offset=offset, layer_name=layer.name ) + # We will update this on each pass in the next loop and use it as the new offset. attr_base_offset = mft_record.FirstAttrOffset - attr = context.object( - attribute_object, + attr: mft.MFTAttribute = context.object( + attribute_object_typ_name, offset=offset + attr_base_offset, layer_name=layer.name, ) @@ -131,8 +154,8 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # Update the base offset to point to the next attribute attr_base_offset += attr.Attr_Header.Length # Get the next attribute - attr = context.object( - attribute_object, + attr: mft.MFTAttribute = context.object( + attribute_object_typ_name, offset=offset + attr_base_offset, layer_name=layer.name, ) @@ -140,9 +163,9 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): @classmethod def parse_mft_records( cls, - record_map: Dict[int, Tuple[str, int, int]], - mft_record: interfaces.objects.ObjectInterface, - attr: interfaces.objects.ObjectInterface, + record_map: DefaultDict[str, MFTRecord], + mft_record: mft.MFTEntry, + attr: mft.MFTAttribute, symbol_table_name: str, ): # MFT Flags determine the file type or dir @@ -160,7 +183,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): attr_data = attr.Attr_Data.cast(si_object) yield 0, ( format_hints.Hex(attr_data.vol.offset), - mft_record.get_signature(), + str(mft_record.get_signature()), mft_record.RecordNumber, mft_record.LinkCount, mft_flag, @@ -178,7 +201,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): fn_object = symbol_table_name + constants.BANG + "FILE_NAME_ENTRY" attr_data = attr.Attr_Data.cast(fn_object) - file_name = attr_data.get_full_name() + file_name = str(attr_data.get_full_name()) # If we don't have a valid enum, coerce to hex so we can keep the record try: @@ -188,7 +211,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): yield 1, ( format_hints.Hex(attr_data.vol.offset), - mft_record.get_signature(), + str(mft_record.get_signature()), mft_record.RecordNumber, mft_record.LinkCount, mft_flag, @@ -204,11 +227,11 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): @classmethod def parse_data_record( cls, - mft_record: interfaces.objects.ObjectInterface, - attr: interfaces.objects.ObjectInterface, - record_map: Dict[int, Tuple[str, int, int]], + mft_record: mft.MFTEntry, + attr: mft.MFTAttribute, + record_map: DefaultDict[str, MFTRecord], return_first_record: bool, - ) -> Generator[Iterable, None, None]: + ) -> Iterator[Tuple]: """ Returns the parsed data from a MFT record """ @@ -227,7 +250,12 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): else: # past the first $DATA record, attempt to get the ADS name # NotAvailableValue = > 1st Data, but name was not parsable - ads_name = attr.get_resident_filename() or renderers.NotAvailableValue() + ads_name_obj = attr.get_resident_filename() + ads_name = ( + str(ads_name_obj) + if ads_name_obj is not None + else renderers.NotAvailableValue() + ) content = attr.get_resident_filecontent() if content: @@ -236,11 +264,12 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): content = renderers.NotAvailableValue() yield ( - format_hints.Hex(record_map[mft_record.vol.offset][2]), - mft_record.get_signature(), + format_hints.Hex(record_map[mft_record.vol.offset].offset), + str(mft_record.get_signature()), mft_record.RecordNumber, attr.Attr_Header.AttrType.lookup(), - record_map[mft_record.vol.offset][0], + record_map[mft_record.vol.offset].record_name + or renderers.NotAvailableValue(), ads_name, content, ) @@ -248,41 +277,40 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): @classmethod def parse_data_records( cls, - record_map: Dict[int, Tuple[str, int, int]], - mft_record: interfaces.objects.ObjectInterface, - attr: interfaces.objects.ObjectInterface, + record_map: DefaultDict[str, MFTRecord], + mft_record: mft.MFTEntry, + attr: mft.MFTAttribute, symbol_table_name: str, return_first_record: bool, - ) -> Generator[Iterable, None, None]: + ) -> Iterator[Tuple]: """ Parses DATA records while maintaining the FILE_NAME association from previous parsing of the record Suports returning the first/main $DATA as well as however many ADS records a file might have """ - if mft_record.vol.offset not in record_map: - # file name, DATA count, offset - record_map[mft_record.vol.offset] = [renderers.NotAvailableValue(), 0, None] + rec = record_map[mft_record.vol.offset] + if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": - fn_object = symbol_table_name + constants.BANG + "FILE_NAME_ENTRY" - attr_data = attr.Attr_Data.cast(fn_object) - rec_name = attr_data.get_full_name() - record_map[mft_record.vol.offset][0] = rec_name + fn_object_typename = symbol_table_name + constants.BANG + "FILE_NAME_ENTRY" + attr_data = attr.Attr_Data.cast(fn_object_typename) + name_obj = attr_data.get_full_name() + rec.record_name = str(name_obj) if name_obj is not None else None elif attr.Attr_Header.AttrType.lookup() == "DATA": # first data - record_map[mft_record.vol.offset][2] = attr.Attr_Data.vol.offset + rec.offset = attr.Attr_Data.vol.offset display_data = False # first DATA attribute of this record - if record_map[mft_record.vol.offset][1] == 0: + if rec.data_count == 0: if return_first_record: display_data = True - record_map[mft_record.vol.offset][1] = 1 + rec.data_count = 1 # at the second DATA attribute of this record - elif record_map[mft_record.vol.offset][1] == 1 and not return_first_record: + elif rec.data_count == 1 and not return_first_record: display_data = True if display_data: @@ -357,7 +385,7 @@ class ADS(interfaces.plugins.PluginInterface): @classmethod def parse_ads_data_records( cls, - record_map: Dict[int, Tuple[str, int, int]], + record_map: DefaultDict[str, MFTRecord], mft_record: interfaces.objects.ObjectInterface, attr: interfaces.objects.ObjectInterface, symbol_table_name: str, @@ -427,11 +455,11 @@ class ResidentData(interfaces.plugins.PluginInterface): @classmethod def parse_first_data_records( cls, - record_map: Dict[int, Tuple[str, int, int]], - mft_record: interfaces.objects.ObjectInterface, - attr: interfaces.objects.ObjectInterface, + record_map: DefaultDict[str, MFTRecord], + mft_record: mft.MFTEntry, + attr: mft.MFTAttribute, symbol_table_name: str, - ): + ) -> Iterator[Tuple]: return MFTScan.parse_data_records( record_map, mft_record, attr, symbol_table_name, True ) From 57524edb874a2dbb30ad2adba3d092f39757c4c4 Mon Sep 17 00:00:00 2001 From: David McDonald <49174690+dgmcdona@users.noreply.github.com> Date: Thu, 3 Apr 2025 09:58:35 -0500 Subject: [PATCH 1784/2186] Remove unnecessary quotes from type hints Co-authored-by: ikelos --- volatility3/framework/symbols/windows/extensions/mft.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index 86580be16..9dd7f1a6a 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -10,7 +10,7 @@ from volatility3.framework import objects, constants, exceptions class MFTEntry(objects.StructType): """This represents the base MFT Record""" - def get_signature(self) -> "objects.String": + def get_signature(self) -> objects.String: signature = self.Signature.cast("string", max_length=4, encoding="latin-1") return signature @@ -18,7 +18,7 @@ class MFTEntry(objects.StructType): class MFTFileName(objects.StructType): """This represents an MFT $FILE_NAME Attribute""" - def get_full_name(self) -> "objects.String": + def get_full_name(self) -> objects.String: output = self.Name.cast( "string", encoding="utf16", max_length=self.NameLength * 2, errors="replace" ) @@ -28,7 +28,7 @@ class MFTFileName(objects.StructType): class MFTAttribute(objects.StructType): """This represents an MFT ATTRIBUTE""" - def get_resident_filename(self) -> Optional["objects.String"]: + def get_resident_filename(self) -> Optional[objects.String]: # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems # Length as 512 as its 256*2, which is the maximum size for an entire file path, so this is even generous if ( @@ -51,7 +51,7 @@ class MFTAttribute(objects.StructType): except exceptions.InvalidAddressException: return None - def get_resident_filecontent(self) -> Optional["objects.Bytes"]: + def get_resident_filecontent(self) -> Optional[objects.Bytes]: # smear observed in mass testing of samples # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems if ( From e84036c5a6b56f3899c339b04b445c4d81cbf7bc Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Apr 2025 10:02:08 -0500 Subject: [PATCH 1785/2186] Add missing 'e' to variable names --- .../framework/plugins/windows/mftscan.py | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 9281c964e..0c204ac1f 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -4,14 +4,7 @@ import contextlib import datetime import logging -from typing import ( - Callable, - Iterator, - Optional, - Tuple, - DefaultDict, -) - +from typing import Callable, DefaultDict, Iterator, Optional, Tuple from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements @@ -120,8 +113,8 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) # get each of the individual Field Sets - mft_object_typ_name = symbol_table + constants.BANG + "MFT_ENTRY" - attribute_object_typ_name = symbol_table + constants.BANG + "ATTRIBUTE" + mft_object_type_name = symbol_table + constants.BANG + "MFT_ENTRY" + attribute_object_type_name = symbol_table + constants.BANG + "ATTRIBUTE" record_map: DefaultDict[str, MFTRecord] = DefaultDict(MFTRecord) @@ -131,13 +124,13 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ): with contextlib.suppress(exceptions.InvalidAddressException): mft_record: mft.MFTEntry = context.object( - mft_object_typ_name, offset=offset, layer_name=layer.name + mft_object_type_name, offset=offset, layer_name=layer.name ) # We will update this on each pass in the next loop and use it as the new offset. attr_base_offset = mft_record.FirstAttrOffset attr: mft.MFTAttribute = context.object( - attribute_object_typ_name, + attribute_object_type_name, offset=offset + attr_base_offset, layer_name=layer.name, ) @@ -155,7 +148,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): attr_base_offset += attr.Attr_Header.Length # Get the next attribute attr: mft.MFTAttribute = context.object( - attribute_object_typ_name, + attribute_object_type_name, offset=offset + attr_base_offset, layer_name=layer.name, ) From b01c17f419266a71a3554d82e9d4aaa280785e9a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 3 Apr 2025 16:24:44 +0100 Subject: [PATCH 1786/2186] CLI: Fix bad typing issue in pretty printer Fixes #1759 --- volatility3/cli/text_renderer.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 3fd804d1b..044f33ed1 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -466,7 +466,9 @@ class PrettyTextRenderer(CLIRenderer): accumulator.append((node.path_depth, line)) return accumulator - final_output: List[Tuple[int, Dict[interfaces.renderers.Column, str]]] = [] + final_output: List[Tuple[int, Dict[interfaces.renderers.Column, list[str]]]] = ( + [] + ) if not grid.populated: grid.populate(visitor, final_output) else: @@ -503,7 +505,9 @@ class PrettyTextRenderer(CLIRenderer): if column in ignore_columns: del line[column] else: - line[column] = line[column] + ("" * (nums_line - len(line[column]))) + line[column] = line[column] + ( + [""] * (nums_line - len(line[column])) + ) for index in range(nums_line): if index == 0: outfd.write( From ed1b1f5369b75efb9a0a581c6757efce60efb7d6 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 2 Apr 2025 21:10:06 +0100 Subject: [PATCH 1787/2186] Avoid bumping the version too quickly without reason --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 64707b782..a299f15a2 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 26 # Number of changes that only add to the interface -VERSION_PATCH = 0 # Number of changes that do not change the interface +VERSION_PATCH = 1 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From b1c16456575d4d771f5b7db25a3085b450dd6cd6 Mon Sep 17 00:00:00 2001 From: eve Date: Thu, 3 Apr 2025 16:38:55 +0100 Subject: [PATCH 1788/2186] volshell: inform user that value displayed is only an offset for types like embedded structs --- volatility3/cli/volshell/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 1c70ceb0a..e80d65957 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -622,7 +622,7 @@ class Volshell(interfaces.plugins.PluginInterface): elif isinstance(value, objects.Array): return repr([self._display_value(val) for val in value]) else: - return hex(value.vol.offset) + return f"offset: {hex(value.vol.offset)}" else: # non volobject if value is None: From 4492da0263d866ed36d0e6f0b197789896d347b2 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Apr 2025 10:38:13 -0500 Subject: [PATCH 1789/2186] Create attribute iterator method Moves logic for iterating through `MFTEntry` attributes into a new `attributes()` method on the extension class. --- .../framework/plugins/windows/mftscan.py | 28 ++--------------- .../symbols/windows/extensions/mft.py | 31 ++++++++++++++++++- 2 files changed, 33 insertions(+), 26 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 0c204ac1f..78312f284 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -114,7 +114,6 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # get each of the individual Field Sets mft_object_type_name = symbol_table + constants.BANG + "MFT_ENTRY" - attribute_object_type_name = symbol_table + constants.BANG + "ATTRIBUTE" record_map: DefaultDict[str, MFTRecord] = DefaultDict(MFTRecord) @@ -127,30 +126,9 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): mft_object_type_name, offset=offset, layer_name=layer.name ) - # We will update this on each pass in the next loop and use it as the new offset. - attr_base_offset = mft_record.FirstAttrOffset - attr: mft.MFTAttribute = context.object( - attribute_object_type_name, - offset=offset + attr_base_offset, - layer_name=layer.name, - ) - - # There is no field that has a count of Attributes - # Keep Attempting to read attributes until we get an invalid attr_header.AttrType - while attr.Attr_Header.AttrType.is_valid_choice: - yield from attr_callback(record_map, mft_record, attr, symbol_table) - - # If there's no advancement the loop will never end, so break it now - if attr.Attr_Header.Length == 0: - break - - # Update the base offset to point to the next attribute - attr_base_offset += attr.Attr_Header.Length - # Get the next attribute - attr: mft.MFTAttribute = context.object( - attribute_object_type_name, - offset=offset + attr_base_offset, - layer_name=layer.name, + for attribute in mft_record.attributes(symbol_table): + yield from attr_callback( + record_map, mft_record, attribute, symbol_table ) @classmethod diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index 9dd7f1a6a..4e1140e25 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Optional +from typing import Optional, Iterator from volatility3.framework import objects, constants, exceptions @@ -14,6 +14,35 @@ class MFTEntry(objects.StructType): signature = self.Signature.cast("string", max_length=4, encoding="latin-1") return signature + def attributes(self, symbol_table_name: str) -> Iterator["MFTAttribute"]: + # We will update this on each pass in the next loop and use it as the new offset. + attr_base_offset = self.FirstAttrOffset + attribute_object_type_name = symbol_table_name + constants.BANG + "ATTRIBUTE" + + attr: MFTAttribute = self._context.object( + attribute_object_type_name, + offset=self.vol.offset + attr_base_offset, + layer_name=self.vol.layer_name, + ) + + # There is no field that has a count of Attributes + # Keep Attempting to read attributes until we get an invalid attr_header.AttrType + while attr.Attr_Header.AttrType.is_valid_choice: + yield attr + + # If there's no advancement the loop will never end, so break it now + if attr.Attr_Header.Length == 0: + break + + # Update the base offset to point to the next attribute + attr_base_offset += attr.Attr_Header.Length + # Get the next attribute + attr: MFTAttribute = self._context.object( + attribute_object_type_name, + offset=self.vol.offset + attr_base_offset, + layer_name=self.vol.layer_name, + ) + class MFTFileName(objects.StructType): """This represents an MFT $FILE_NAME Attribute""" From 86945492a71c07d718bf5db8c95c87f31bf88f89 Mon Sep 17 00:00:00 2001 From: eve Date: Thu, 3 Apr 2025 16:49:27 +0100 Subject: [PATCH 1790/2186] Volshell: display if embedded struct offest is unreadable in dt output --- volatility3/cli/volshell/generic.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index e80d65957..a524efe38 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -622,7 +622,12 @@ class Volshell(interfaces.plugins.PluginInterface): elif isinstance(value, objects.Array): return repr([self._display_value(val) for val in value]) else: - return f"offset: {hex(value.vol.offset)}" + if self.context.layers[self.current_layer].is_valid( + value.vol.offset + ): + return f"offset: {hex(value.vol.offset)}" + else: + return f"offset: {hex(value.vol.offset)} (unreadable)" else: # non volobject if value is None: From 69e3c7d9aefb0b1964f82b7afd76c8ed2bb2782b Mon Sep 17 00:00:00 2001 From: eve Date: Thu, 3 Apr 2025 17:01:21 +0100 Subject: [PATCH 1791/2186] Volshell: use built in formatting rather than hex() function --- volatility3/cli/volshell/generic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 2021911ae..32a5bd933 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -636,9 +636,9 @@ class Volshell(interfaces.plugins.PluginInterface): if self.context.layers[self.current_layer].is_valid( value.vol.offset ): - return f"offset: {hex(value.vol.offset)}" + return f"offset: 0x{value.vol.offset:x}" else: - return f"offset: {hex(value.vol.offset)} (unreadable)" + return f"offset: 0x{value.vol.offset:x} (unreadable)" else: # non volobject if value is None: From 3b21b350f1e470c064396055e6e0c0c17c2940a6 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 3 Apr 2025 17:04:18 +0100 Subject: [PATCH 1792/2186] Documentation: Add in a small section on the coding style about using f-string modifiers over separate calls --- CODING_STYLE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CODING_STYLE.md b/CODING_STYLE.md index 700167258..520450fe8 100644 --- a/CODING_STYLE.md +++ b/CODING_STYLE.md @@ -83,6 +83,12 @@ Default Arguments Default arguments are fine, but not with mutable types (because they're constructed once at module load time and can lead to confusion/errors.) +Format strings +-------------- +Generally f-strings are preferred, and where possible a format modifier should be used over a separate method call. As an example, hex output should be `f"0x{offset:x}"` rather than `f"{hex(offset)}"`. +F-strings should be used over other formatting methods *except* in cases of logging where the f-string gets calculated/executed whether the log message is displayed or not (where as parameters are not evaluated if not needed). +The ruff linter should alert about these situations and exceptions can be maded if needed. + True/False Evaluations ---------------------- From 338c76c2ca8deb0a6f085e0effe7600f0f836ba9 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 3 Apr 2025 17:08:13 +0100 Subject: [PATCH 1793/2186] Documentation: Add in @dgmcdonna suggestions/corrections --- CODING_STYLE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CODING_STYLE.md b/CODING_STYLE.md index 520450fe8..a4e248ffe 100644 --- a/CODING_STYLE.md +++ b/CODING_STYLE.md @@ -14,10 +14,10 @@ This is heavily based upon https://google.github.io/styleguide/pyguide.html with Imports ------- -Use import statements for packages and modules only, not for individual types, classes, or functions and ideally not aliased naming would cause confusion. This is to prevent people importing an imported method (which can lead to confusion and add in an unnecessary dependency in the import chain). +Use import statements for packages and modules only, not for individual types, classes, or functions and ideally not aliased unless the imported name would cause confusion. This is to prevent people from importing something that was itself imported from elsewhere (which can lead to confusion and add in an unnecessary dependency in the import chain). * Use `import x` for importing packages and modules. -* Use `from x import y where x` is the package prefix and y is the module name with no prefix. +* Use `from x import y` where x is the package prefix and y is the module name with no prefix. * Use `from x import y as z` in any of the following circumstances: * Two modules named `y` are to be imported. * `y` conflicts with a top-level name defined in the current module. From 43e6fefe395f901ec1ae01faf325b8a00c33e7b9 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Apr 2025 11:33:56 -0500 Subject: [PATCH 1794/2186] Add attribute iterator to MFTEntry extension class --- .../framework/plugins/windows/mftscan.py | 13 +++-- .../symbols/windows/extensions/mft.py | 56 +++++++++++++++++-- 2 files changed, 60 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 78312f284..0ad2747c3 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -100,7 +100,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) # Read in the Symbol File - symbol_table = intermed.IntermediateSymbolTable.create( + symbol_table_name = intermed.IntermediateSymbolTable.create( context=context, config_path=config_path, sub_path="windows", @@ -113,9 +113,9 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) # get each of the individual Field Sets - mft_object_type_name = symbol_table + constants.BANG + "MFT_ENTRY" record_map: DefaultDict[str, MFTRecord] = DefaultDict(MFTRecord) + mft_object_type_name = symbol_table_name + constants.BANG + "MFT_ENTRY" # Scan the layer for Raw MFT records and parse the fields for offset, _rule_name, _name, _value in layer.scan( @@ -123,12 +123,15 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ): with contextlib.suppress(exceptions.InvalidAddressException): mft_record: mft.MFTEntry = context.object( - mft_object_type_name, offset=offset, layer_name=layer.name + mft_object_type_name, + offset=offset, + layer_name=layer.name, + symbol_table_name=symbol_table_name, ) - for attribute in mft_record.attributes(symbol_table): + for attribute in mft_record.attributes(): yield from attr_callback( - record_map, mft_record, attribute, symbol_table + record_map, mft_record, attribute, symbol_table_name ) @classmethod diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index 4e1140e25..e004aa590 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -2,22 +2,70 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Optional, Iterator +from typing import Dict, Iterator, List, Optional, Tuple -from volatility3.framework import objects, constants, exceptions +from volatility3.framework import constants, exceptions, interfaces, objects class MFTEntry(objects.StructType): """This represents the base MFT Record""" + def __init__( + self, + context: interfaces.context.ContextInterface, + type_name: str, + object_info: interfaces.objects.ObjectInformation, + size: int, + members: Dict[str, Tuple[int, interfaces.objects.Template]], + **kwargs, + ) -> None: + super().__init__(context, type_name, object_info, size, members) + + self._symbol_table_name = kwargs.get("symbol_table_name") + self._attr_generator = self._attributes() + self._attrs: List[MFTAttribute] = [] + + @property + def symbol_table_name(self) -> str: + if self._symbol_table_name is None: + raise ValueError( + "MFTEntry was instantiated without an MFT symbol table name" + ) + return self._symbol_table_name + def get_signature(self) -> objects.String: signature = self.Signature.cast("string", max_length=4, encoding="latin-1") return signature - def attributes(self, symbol_table_name: str) -> Iterator["MFTAttribute"]: + def filename(self, symbol_table_name: str) -> Optional[objects.String]: + try: + fname_attr = next( + attr + for attr in self.attributes() + if attr.Attr_Header.AttrType.lookup() == "FILE_NAME" + ) + except StopIteration: + return None + + fn_object = symbol_table_name + constants.BANG + "FILE_NAME_ENTRY" + attr_data = fname_attr.Attr_Data.cast(fn_object) + + return attr_data.get_full_name() + + def attributes(self) -> Iterator["MFTAttribute"]: + yield from self._attrs + + for attr in self._attr_generator: + self._attrs.append(attr) + yield attr + + def _attributes(self) -> Iterator["MFTAttribute"]: + # We will update this on each pass in the next loop and use it as the new offset. attr_base_offset = self.FirstAttrOffset - attribute_object_type_name = symbol_table_name + constants.BANG + "ATTRIBUTE" + attribute_object_type_name = ( + self.symbol_table_name + constants.BANG + "ATTRIBUTE" + ) attr: MFTAttribute = self._context.object( attribute_object_type_name, From 41cf17ed653eb5794c4fc7ba7146b296014882b5 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Apr 2025 16:43:57 -0500 Subject: [PATCH 1795/2186] Refactor: Ditch dictionary usage, eliminate callbacks This simplifies the design of these plugins by moving as much MFTEntry specific data into the extension class (caching attributes, since they'll need to be accessed repeatedly) and moving away from the callback-based implementation to one where classmethods consume `mft.MFTEntry` objects in order to produce their values. These changes do two important things: - They allow us to preserve `object.String` objects until the generator function, which makes the public interface much better since people can navigate back the the source of the data within their context - Completely eliminates the `record_map` that was causing so much memory consumption. --- .../framework/plugins/windows/mftscan.py | 437 +++++++++--------- .../symbols/windows/extensions/mft.py | 105 +++-- 2 files changed, 282 insertions(+), 260 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 0ad2747c3..a4cdad582 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -1,12 +1,11 @@ # This file is Copyright 2022 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import contextlib import datetime import logging -from typing import Callable, DefaultDict, Iterator, Optional, Tuple +from typing import Iterator, NamedTuple, Optional, Tuple, Union -from volatility3.framework import constants, exceptions, interfaces, renderers +from volatility3.framework import constants, exceptions, interfaces, objects, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import conversion, format_hints from volatility3.framework.symbols import intermed @@ -16,22 +15,6 @@ from volatility3.plugins import timeliner, yarascan vollog = logging.getLogger(__name__) -class MFTRecord: - # TODO: Change to dataclass with (slots=True) if/when we move minimum - # Python version up to 3.10 - __slots__ = ["record_name", "data_count", "offset"] - - def __init__( - self, - record_name: Optional[str] = None, - data_count: int = 0, - offset: Optional[int] = None, - ): - self.record_name = record_name - self.data_count = data_count - self.offset = offset - - class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Scans for MFT FILE objects present in a particular windows memory image.""" @@ -39,6 +22,20 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): _version = (2, 0, 1) + class MFTScanResult(NamedTuple): + offset: format_hints.Hex + record_type: str + record_number: int + link_count: int + mft_type: str + permissions: Union[str, interfaces.renderers.BaseAbsentValue] + attribute_type: str + created: Union[interfaces.renderers.BaseAbsentValue, datetime.datetime] + modified: Union[interfaces.renderers.BaseAbsentValue, datetime.datetime] + updated: Union[interfaces.renderers.BaseAbsentValue, datetime.datetime] + accessed: Union[interfaces.renderers.BaseAbsentValue, datetime.datetime] + filename: Union[interfaces.renderers.BaseAbsentValue, objects.String] + @classmethod def get_requirements(cls): return [ @@ -66,16 +63,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): context: interfaces.context.ContextInterface, config_path: str, primary_layer_name: str, - attr_callback: Callable[ - [ - DefaultDict[str, MFTRecord], - mft.MFTEntry, - mft.MFTAttribute, - str, - ], - Iterator[Tuple], - ], - ) -> Iterator[Tuple]: + ) -> Iterator[mft.MFTEntry]: try: primary = context.layers[primary_layer_name] except KeyError: @@ -114,34 +102,25 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # get each of the individual Field Sets - record_map: DefaultDict[str, MFTRecord] = DefaultDict(MFTRecord) mft_object_type_name = symbol_table_name + constants.BANG + "MFT_ENTRY" # Scan the layer for Raw MFT records and parse the fields for offset, _rule_name, _name, _value in layer.scan( context=context, scanner=yarascan.YaraScanner(rules=rules) ): - with contextlib.suppress(exceptions.InvalidAddressException): - mft_record: mft.MFTEntry = context.object( - mft_object_type_name, - offset=offset, - layer_name=layer.name, - symbol_table_name=symbol_table_name, - ) + mft_record: mft.MFTEntry = context.object( + mft_object_type_name, + offset=offset, + layer_name=layer.name, + symbol_table_name=symbol_table_name, + ) - for attribute in mft_record.attributes(): - yield from attr_callback( - record_map, mft_record, attribute, symbol_table_name - ) + yield mft_record @classmethod - def parse_mft_records( - cls, - record_map: DefaultDict[str, MFTRecord], - mft_record: mft.MFTEntry, - attr: mft.MFTAttribute, - symbol_table_name: str, - ): + def parse_standard_information_records( + cls, mft_record: mft.MFTEntry + ) -> Iterator[Tuple[int, MFTScanResult]]: # MFT Flags determine the file type or dir # If we don't have a valid enum, coerce to hex so we can keep the record try: @@ -150,155 +129,104 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): mft_flag = hex(mft_record.Flags) # Standard Information Attribute - if attr.Attr_Header.AttrType.lookup() == "STANDARD_INFORMATION": - si_object = ( - symbol_table_name + constants.BANG + "STANDARD_INFORMATION_ENTRY" - ) - attr_data = attr.Attr_Data.cast(si_object) - yield 0, ( - format_hints.Hex(attr_data.vol.offset), - str(mft_record.get_signature()), - mft_record.RecordNumber, - mft_record.LinkCount, - mft_flag, - renderers.NotApplicableValue(), - attr.Attr_Header.AttrType.lookup(), - conversion.wintime_to_datetime(attr_data.CreationTime), - conversion.wintime_to_datetime(attr_data.ModifiedTime), - conversion.wintime_to_datetime(attr_data.UpdatedTime), - conversion.wintime_to_datetime(attr_data.AccessedTime), - renderers.NotApplicableValue(), - ) + try: + # There should only be one STANDARD_INFORMATION attribute, but we + # do this just in case. + for std_information in mft_record.standard_information_attributes(): + yield 0, cls.MFTScanResult( + format_hints.Hex(std_information.vol.offset), + str(mft_record.get_signature()), + mft_record.RecordNumber, + mft_record.LinkCount, + mft_flag, + renderers.NotApplicableValue(), + "STANDARD_INFORMATION", + conversion.wintime_to_datetime(std_information.CreationTime), + conversion.wintime_to_datetime(std_information.ModifiedTime), + conversion.wintime_to_datetime(std_information.UpdatedTime), + conversion.wintime_to_datetime(std_information.AccessedTime), + renderers.NotApplicableValue(), + ) + except exceptions.InvalidAddressException: + pass + + @classmethod + def parse_filename_records( + cls, mft_record: mft.MFTEntry + ) -> Iterator[Tuple[int, MFTScanResult]]: + # MFT Flags determine the file type or dir + # If we don't have a valid enum, coerce to hex so we can keep the record + try: + mft_flag = mft_record.Flags.lookup() + except ValueError: + mft_flag = hex(mft_record.Flags) # File Name Attribute - elif attr.Attr_Header.AttrType.lookup() == "FILE_NAME": - fn_object = symbol_table_name + constants.BANG + "FILE_NAME_ENTRY" + try: + for filename_info in mft_record.filename_attributes(): - attr_data = attr.Attr_Data.cast(fn_object) - file_name = str(attr_data.get_full_name()) + # If we don't have a valid enum, coerce to hex so we can keep the record + try: + permissions = filename_info.Flags.lookup() + except ValueError: + permissions = hex(filename_info.Flags) - # If we don't have a valid enum, coerce to hex so we can keep the record - try: - permissions = attr_data.Flags.lookup() - except ValueError: - permissions = hex(attr_data.Flags) - - yield 1, ( - format_hints.Hex(attr_data.vol.offset), - str(mft_record.get_signature()), - mft_record.RecordNumber, - mft_record.LinkCount, - mft_flag, - permissions, - attr.Attr_Header.AttrType.lookup(), - conversion.wintime_to_datetime(attr_data.CreationTime), - conversion.wintime_to_datetime(attr_data.ModifiedTime), - conversion.wintime_to_datetime(attr_data.UpdatedTime), - conversion.wintime_to_datetime(attr_data.AccessedTime), - file_name, - ) - - @classmethod - def parse_data_record( - cls, - mft_record: mft.MFTEntry, - attr: mft.MFTAttribute, - record_map: DefaultDict[str, MFTRecord], - return_first_record: bool, - ) -> Iterator[Tuple]: - """ - Returns the parsed data from a MFT record - """ - # we only care about resident data - if attr.Attr_Header.NonResidentFlag: - return - - # we aren't looking ADS when we want the first data record - if return_first_record: - ads_name = renderers.NotApplicableValue() - - # skip records without a name if we want ADS entries - elif attr.Attr_Header.NameLength == 0: - return - - else: - # past the first $DATA record, attempt to get the ADS name - # NotAvailableValue = > 1st Data, but name was not parsable - ads_name_obj = attr.get_resident_filename() - ads_name = ( - str(ads_name_obj) - if ads_name_obj is not None - else renderers.NotAvailableValue() - ) - - content = attr.get_resident_filecontent() - if content: - content = renderers.LayerData.from_object(content) - else: - content = renderers.NotAvailableValue() - - yield ( - format_hints.Hex(record_map[mft_record.vol.offset].offset), - str(mft_record.get_signature()), - mft_record.RecordNumber, - attr.Attr_Header.AttrType.lookup(), - record_map[mft_record.vol.offset].record_name - or renderers.NotAvailableValue(), - ads_name, - content, - ) - - @classmethod - def parse_data_records( - cls, - record_map: DefaultDict[str, MFTRecord], - mft_record: mft.MFTEntry, - attr: mft.MFTAttribute, - symbol_table_name: str, - return_first_record: bool, - ) -> Iterator[Tuple]: - """ - Parses DATA records while maintaining the FILE_NAME association - from previous parsing of the record - Suports returning the first/main $DATA as well as however many - ADS records a file might have - """ - rec = record_map[mft_record.vol.offset] - - if attr.Attr_Header.AttrType.lookup() == "FILE_NAME": - fn_object_typename = symbol_table_name + constants.BANG + "FILE_NAME_ENTRY" - attr_data = attr.Attr_Data.cast(fn_object_typename) - name_obj = attr_data.get_full_name() - rec.record_name = str(name_obj) if name_obj is not None else None - elif attr.Attr_Header.AttrType.lookup() == "DATA": - # first data - rec.offset = attr.Attr_Data.vol.offset - - display_data = False - - # first DATA attribute of this record - if rec.data_count == 0: - if return_first_record: - display_data = True - - rec.data_count = 1 - - # at the second DATA attribute of this record - elif rec.data_count == 1 and not return_first_record: - display_data = True - - if display_data: - yield from cls.parse_data_record( - mft_record, attr, record_map, return_first_record + yield 1, cls.MFTScanResult( + format_hints.Hex(filename_info.vol.offset), + str(mft_record.get_signature()), + mft_record.RecordNumber, + mft_record.LinkCount, + mft_flag, + permissions, + "FILE_NAME", + conversion.wintime_to_datetime(filename_info.CreationTime), + conversion.wintime_to_datetime(filename_info.ModifiedTime), + conversion.wintime_to_datetime(filename_info.UpdatedTime), + conversion.wintime_to_datetime(filename_info.AccessedTime), + filename_info.get_full_name(), ) + except exceptions.InvalidAddressException: + return + + @classmethod + def parse_mft_records( + cls, + context: interfaces.context.ContextInterface, + config_path: str, + primary_layer_name: str, + ) -> Iterator[Tuple[int, MFTScanResult]]: + for mft_record in cls.enumerate_mft_records( + context=context, + config_path=config_path, + primary_layer_name=primary_layer_name, + ): + yield from cls.parse_standard_information_records(mft_record) + yield from cls.parse_filename_records(mft_record) def _generator(self): - yield from self.enumerate_mft_records( + for level, record in self.parse_mft_records( self.context, self.config_path, self.config["primary"], - self.parse_mft_records, - ) + ): + yield level, ( + record.offset, + record.record_type, + record.record_number, + record.link_count, + record.mft_type, + record.permissions, + record.attribute_type, + record.created, + record.modified, + record.updated, + record.accessed, + ( + str(record.filename) + if isinstance(record.filename, objects.String) + else record.filename + ), + ) def generate_timeline(self): for row in self._generator(): @@ -340,6 +268,15 @@ class ADS(interfaces.plugins.PluginInterface): _version = (1, 0, 2) + class ADSResult(NamedTuple): + offset: format_hints.Hex + signature: str + record_number: int + attribute_type: str + filename: Union[objects.String, interfaces.renderers.BaseAbsentValue] + stream_name: Union[objects.String, interfaces.renderers.BaseAbsentValue] + content: Union[renderers.LayerData, interfaces.renderers.BaseAbsentValue] + @classmethod def get_requirements(cls): return [ @@ -357,36 +294,57 @@ class ADS(interfaces.plugins.PluginInterface): ] @classmethod - def parse_ads_data_records( - cls, - record_map: DefaultDict[str, MFTRecord], - mft_record: interfaces.objects.ObjectInterface, - attr: interfaces.objects.ObjectInterface, - symbol_table_name: str, - ): - return MFTScan.parse_data_records( - record_map, mft_record, attr, symbol_table_name, False - ) + def parse_ads_data_records(cls, mft_record: mft.MFTEntry) -> Iterator[ADSResult]: + for data_attr in mft_record.alternate_data_streams(): + record_filename = ( + mft_record.longest_filename() or renderers.NotAvailableValue() + ) + content_obj = data_attr.get_resident_filecontent() + content = ( + renderers.LayerData.from_object(content_obj) + if content_obj + else renderers.NotAvailableValue() + ) + ads_filename = ( + data_attr.get_resident_filename() or renderers.NotAvailableValue() + ) + + yield cls.ADSResult( + format_hints.Hex(data_attr.Attr_Data.vol.offset), + mft_record.get_signature(), + mft_record.RecordNumber, + data_attr.Attr_Header.AttrType.lookup(), + record_filename, + ads_filename, + content, + ) def _generator(self): - for ( - offset, - rec_type, - rec_num, - attr_type, - file_name, - ads_name, - content, - ) in MFTScan.enumerate_mft_records( + for mft_entry in MFTScan.enumerate_mft_records( self.context, self.config_path, self.config["primary"], - self.parse_ads_data_records, ): - yield ( - 0, - (offset, rec_type, rec_num, attr_type, file_name, ads_name, content), - ) + for record in self.parse_ads_data_records(mft_entry): + # Convert to basic strings here __only__ because they'll use so + # much memory in the tree otherwise. + yield 0, ( + record.offset, + record.signature, + record.record_number, + record.attribute_type, + ( + str(record.filename) + if isinstance(record.filename, objects.String) + else record.filename + ), + ( + str(record.stream_name) + if isinstance(record.stream_name, objects.String) + else record.stream_name + ), + record.content, + ) def run(self): return renderers.TreeGrid( @@ -410,6 +368,14 @@ class ResidentData(interfaces.plugins.PluginInterface): _version = (1, 0, 2) + class ResidentDataResult(NamedTuple): + offset: format_hints.Hex + signature: str + record_number: int + attribute_type: str + filename: Union[objects.String, interfaces.renderers.BaseAbsentValue] + content: Union[renderers.LayerData, interfaces.renderers.BaseAbsentValue] + @classmethod def get_requirements(cls): return [ @@ -427,33 +393,46 @@ class ResidentData(interfaces.plugins.PluginInterface): ] @classmethod - def parse_first_data_records( + def parse_resident_data( cls, - record_map: DefaultDict[str, MFTRecord], mft_record: mft.MFTEntry, - attr: mft.MFTAttribute, - symbol_table_name: str, - ) -> Iterator[Tuple]: - return MFTScan.parse_data_records( - record_map, mft_record, attr, symbol_table_name, True + ) -> Optional[ResidentDataResult]: + """ + Returns the parsed data from a MFT record + """ + + try: + attr = next(mft_record.resident_data_attributes()) + except StopIteration: + return None + + content = attr.get_resident_filecontent() + if content: + content = renderers.LayerData.from_object(content) + else: + content = renderers.NotAvailableValue() + + # Choose the longest of the two, since it often includes a DOS 8.3 name + filename = mft_record.longest_filename() or renderers.NotAvailableValue() + + return cls.ResidentDataResult( + format_hints.Hex(attr.Attr_Data.vol.offset), + str(mft_record.get_signature()), + mft_record.RecordNumber, + attr.Attr_Header.AttrType.lookup(), + filename, + content, ) def _generator(self): - for ( - offset, - rec_type, - rec_num, - attr_type, - file_name, - _, - content, - ) in MFTScan.enumerate_mft_records( + for mft_record in MFTScan.enumerate_mft_records( self.context, self.config_path, self.config["primary"], - self.parse_first_data_records, ): - yield (0, (offset, rec_type, rec_num, attr_type, file_name, content)) + resident_data_entry = self.parse_resident_data(mft_record) + if resident_data_entry: + yield 0, resident_data_entry def run(self): return renderers.TreeGrid( diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index e004aa590..90ce6b6f2 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -22,7 +22,7 @@ class MFTEntry(objects.StructType): super().__init__(context, type_name, object_info, size, members) self._symbol_table_name = kwargs.get("symbol_table_name") - self._attr_generator = self._attributes() + self._attrs_loaded = False self._attrs: List[MFTAttribute] = [] @property @@ -37,27 +37,24 @@ class MFTEntry(objects.StructType): signature = self.Signature.cast("string", max_length=4, encoding="latin-1") return signature - def filename(self, symbol_table_name: str) -> Optional[objects.String]: - try: - fname_attr = next( - attr - for attr in self.attributes() - if attr.Attr_Header.AttrType.lookup() == "FILE_NAME" - ) - except StopIteration: - return None - - fn_object = symbol_table_name + constants.BANG + "FILE_NAME_ENTRY" - attr_data = fname_attr.Attr_Data.cast(fn_object) - - return attr_data.get_full_name() - + @property def attributes(self) -> Iterator["MFTAttribute"]: + """ + Lazily evaluate and yield attributes, caching them in an internal list + for re-retrieval. + """ + if not self._attrs_loaded: + self._attrs = list(self._attributes()) + self._attrs_loaded = True + yield from self._attrs - for attr in self._attr_generator: - self._attrs.append(attr) - yield attr + def longest_filename(self) -> Optional[objects.String]: + names = [name.get_full_name() for name in self.filename_attributes()] + if not names: + return None + + return max(names, key=lambda x: len(str(x))) def _attributes(self) -> Iterator["MFTAttribute"]: @@ -75,21 +72,67 @@ class MFTEntry(objects.StructType): # There is no field that has a count of Attributes # Keep Attempting to read attributes until we get an invalid attr_header.AttrType - while attr.Attr_Header.AttrType.is_valid_choice: + try: + while attr.Attr_Header.AttrType.is_valid_choice: + yield attr + + # If there's no advancement the loop will never end, so break it now + if attr.Attr_Header.Length == 0: + break + + # Update the base offset to point to the next attribute + attr_base_offset += attr.Attr_Header.Length + # Get the next attribute + attr: MFTAttribute = self._context.object( + attribute_object_type_name, + offset=self.vol.offset + attr_base_offset, + layer_name=self.vol.layer_name, + ) + except exceptions.InvalidAddressException: + return + + def standard_information_attributes(self) -> Iterator[objects.StructType]: + for attr in self.attributes: + if attr.Attr_Header.AttrType.lookup() != "STANDARD_INFORMATION": + continue + + si_object = ( + self.symbol_table_name + constants.BANG + "STANDARD_INFORMATION_ENTRY" + ) + + yield attr.Attr_Data.cast(si_object) + + def filename_attributes(self) -> Iterator["MFTFileName"]: + for attr in self.attributes: + try: + if attr.Attr_Header.AttrType.lookup() != "FILE_NAME": + continue + + fn_object = self.symbol_table_name + constants.BANG + "FILE_NAME_ENTRY" + attr_data = attr.Attr_Data.cast(fn_object) + except exceptions.InvalidAddressException: + continue + yield attr_data + + def _data_attributes(self): + for attr in self.attributes: + if not ( + attr.Attr_Header.AttrType.lookup() == "DATA" + and attr.Attr_Header.NonResidentFlag == 0 + ): + continue + yield attr - # If there's no advancement the loop will never end, so break it now - if attr.Attr_Header.Length == 0: - break + def resident_data_attributes(self) -> Iterator["MFTAttribute"]: + for attr in self._data_attributes(): + if attr.Attr_Header.NameLength == 0: + yield attr - # Update the base offset to point to the next attribute - attr_base_offset += attr.Attr_Header.Length - # Get the next attribute - attr: MFTAttribute = self._context.object( - attribute_object_type_name, - offset=self.vol.offset + attr_base_offset, - layer_name=self.vol.layer_name, - ) + def alternate_data_streams(self) -> Iterator["MFTAttribute"]: + for attr in self._data_attributes(): + if attr.Attr_Header.NameLength != 0: + yield attr class MFTFileName(objects.StructType): From 5fda7409eb4aabaeff611ea7a6b31eaff6cfd5a0 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Apr 2025 17:09:02 -0500 Subject: [PATCH 1796/2186] Log `InvalidAddressException` instances --- .../symbols/windows/extensions/mft.py | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index 90ce6b6f2..4c5be81ee 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -2,10 +2,13 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import logging from typing import Dict, Iterator, List, Optional, Tuple from volatility3.framework import constants, exceptions, interfaces, objects +vollog = logging.getLogger(__name__) + class MFTEntry(objects.StructType): """This represents the base MFT Record""" @@ -88,7 +91,10 @@ class MFTEntry(objects.StructType): offset=self.vol.offset + attr_base_offset, layer_name=self.vol.layer_name, ) - except exceptions.InvalidAddressException: + except exceptions.InvalidAddressException as e: + vollog.debug( + f"Failed to read attribute at {attr.vol.offset:#x}: {e.__class__.__name__}" + ) return def standard_information_attributes(self) -> Iterator[objects.StructType]: @@ -110,7 +116,10 @@ class MFTEntry(objects.StructType): fn_object = self.symbol_table_name + constants.BANG + "FILE_NAME_ENTRY" attr_data = attr.Attr_Data.cast(fn_object) - except exceptions.InvalidAddressException: + except exceptions.InvalidAddressException as e: + vollog.debug( + f"Failed to read attr at {attr.vol.offset:#x}: {e.__class__.__name__}" + ) continue yield attr_data @@ -168,7 +177,10 @@ class MFTAttribute(objects.StructType): encoding="utf16", ) return name - except exceptions.InvalidAddressException: + except exceptions.InvalidAddressException as e: + vollog.debug( + f"Failed to get resident file content due to {e.__class__.__name__}" + ) return None def get_resident_filecontent(self) -> Optional[objects.Bytes]: @@ -190,5 +202,8 @@ class MFTAttribute(objects.StructType): length=self.Attr_Header.ContentLength, ) return bytesobj - except exceptions.InvalidAddressException: + except exceptions.InvalidAddressException as e: + vollog.debug( + f"Failed to get resident file content due to {e.__class__.__name__}" + ) return None From 9f85e1465e2378f8dbbe5084ee436f5f978f9906 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Apr 2025 17:19:17 -0500 Subject: [PATCH 1797/2186] Major version bumps for all three plugins --- volatility3/framework/plugins/windows/mftscan.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index a4cdad582..5c8b419c3 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -20,7 +20,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): _required_framework_version = (2, 0, 0) - _version = (2, 0, 1) + _version = (3, 0, 0) class MFTScanResult(NamedTuple): offset: format_hints.Hex @@ -266,7 +266,7 @@ class ADS(interfaces.plugins.PluginInterface): _required_framework_version = (2, 22, 0) - _version = (1, 0, 2) + _version = (2, 0, 0) class ADSResult(NamedTuple): offset: format_hints.Hex @@ -366,7 +366,7 @@ class ResidentData(interfaces.plugins.PluginInterface): _required_framework_version = (2, 22, 0) - _version = (1, 0, 2) + _version = (2, 0, 0) class ResidentDataResult(NamedTuple): offset: format_hints.Hex From 8b308133f532e389d2bf2d967f29e3f2f42adcd2 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Apr 2025 17:32:25 -0500 Subject: [PATCH 1798/2186] Bump required version numbers --- volatility3/framework/plugins/windows/mftscan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 5c8b419c3..eacd43b8a 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -281,7 +281,7 @@ class ADS(interfaces.plugins.PluginInterface): def get_requirements(cls): return [ requirements.VersionRequirement( - name="MFTScan", component=MFTScan, version=(2, 0, 0) + name="MFTScan", component=MFTScan, version=(3, 0, 0) ), requirements.TranslationLayerRequirement( name="primary", @@ -380,7 +380,7 @@ class ResidentData(interfaces.plugins.PluginInterface): def get_requirements(cls): return [ requirements.VersionRequirement( - name="MFTScan", component=MFTScan, version=(2, 0, 0) + name="MFTScan", component=MFTScan, version=(3, 0, 0) ), requirements.TranslationLayerRequirement( name="primary", From 1d20e6575908e118ad71746ff9d64b6cd5d23d9f Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Apr 2025 17:39:14 -0500 Subject: [PATCH 1799/2186] Add versioning to MFT extension classes --- .../framework/plugins/windows/mftscan.py | 15 ++++++++++++ .../symbols/windows/extensions/mft.py | 24 ++++++++++++++++--- 2 files changed, 36 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index eacd43b8a..7df895f15 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -49,6 +49,21 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): component=timeliner.TimeLinerInterface, version=(1, 0, 0), ), + requirements.VersionRequirement( + name="mft_entry", + component=mft.MFTEntry, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="mft_filename", + component=mft.MFTFileName, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="mft_attribute", + component=mft.MFTAttribute, + version=(1, 0, 0), + ), requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) ), diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index 4c5be81ee..32261c4ff 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -5,14 +5,20 @@ import logging from typing import Dict, Iterator, List, Optional, Tuple +from volatility3 import framework from volatility3.framework import constants, exceptions, interfaces, objects vollog = logging.getLogger(__name__) -class MFTEntry(objects.StructType): +class MFTEntry(objects.StructType, interfaces.configuration.VersionableInterface): """This represents the base MFT Record""" + _version = (1, 0, 0) + _required_framework_version = (2, 26, 0) + + framework.require_interface_version(*_required_framework_version) + def __init__( self, context: interfaces.context.ContextInterface, @@ -144,9 +150,15 @@ class MFTEntry(objects.StructType): yield attr -class MFTFileName(objects.StructType): +class MFTFileName(objects.StructType, interfaces.configuration.VersionableInterface): """This represents an MFT $FILE_NAME Attribute""" + _version = (1, 0, 0) + + _required_framework_version = (2, 26, 0) + + framework.require_interface_version(*_required_framework_version) + def get_full_name(self) -> objects.String: output = self.Name.cast( "string", encoding="utf16", max_length=self.NameLength * 2, errors="replace" @@ -154,9 +166,15 @@ class MFTFileName(objects.StructType): return output -class MFTAttribute(objects.StructType): +class MFTAttribute(objects.StructType, interfaces.configuration.VersionableInterface): """This represents an MFT ATTRIBUTE""" + _version = (1, 0, 0) + + _required_framework_version = (2, 26, 0) + + framework.require_interface_version(*_required_framework_version) + def get_resident_filename(self) -> Optional[objects.String]: # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems # Length as 512 as its 256*2, which is the maximum size for an entire file path, so this is even generous From ebbbe913dc92d609b8315a9d1761ee8eab8791d5 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Apr 2025 17:55:28 -0500 Subject: [PATCH 1800/2186] Convert remaining values to Python primitives --- .../framework/plugins/windows/mftscan.py | 37 +++++++++++++++---- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 7df895f15..cb4b880d5 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -224,11 +224,17 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): self.config_path, self.config["primary"], ): + # Convert all `objects.PrimitiveObject` to their simpler Python + # types. This is normally not something we would do, since it's + # lossy and prevents users from getting back to the data source, + # but in this case memory usage is so extreme due to the number of + # records that it becomes necessary. The rich types are still + # exposed through classmethods. yield level, ( record.offset, record.record_type, - record.record_number, - record.link_count, + int(record.record_number), + int(record.link_count), record.mft_type, record.permissions, record.attribute_type, @@ -341,12 +347,16 @@ class ADS(interfaces.plugins.PluginInterface): self.config["primary"], ): for record in self.parse_ads_data_records(mft_entry): - # Convert to basic strings here __only__ because they'll use so - # much memory in the tree otherwise. + # Convert all `objects.PrimitiveObject` to their simpler Python + # types. This is normally not something we would do, since it's + # lossy and prevents users from getting back to the data source, + # but in this case memory usage is so extreme due to the number of + # records that it becomes necessary. The rich types are still + # exposed through classmethods. yield 0, ( record.offset, - record.signature, - record.record_number, + str(record.signature), + int(record.record_number), record.attribute_type, ( str(record.filename) @@ -447,7 +457,20 @@ class ResidentData(interfaces.plugins.PluginInterface): ): resident_data_entry = self.parse_resident_data(mft_record) if resident_data_entry: - yield 0, resident_data_entry + # Convert all `objects.PrimitiveObject` to their simpler Python + # types. This is normally not something we would do, since it's + # lossy and prevents users from getting back to the data source, + # but in this case memory usage is so extreme due to the number of + # records that it becomes necessary. The rich types are still + # exposed through classmethods. + yield 0, ( + resident_data_entry.offset, + resident_data_entry.signature, + int(resident_data_entry.record_number), + resident_data_entry.attribute_type, + str(resident_data_entry.filename), + resident_data_entry.content, + ) def run(self): return renderers.TreeGrid( From 41de562e550424a43fecbebf5f6560be3ec66571 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Apr 2025 17:56:16 -0500 Subject: [PATCH 1801/2186] Revert "Add versioning to MFT extension classes" This reverts commit 1d20e6575908e118ad71746ff9d64b6cd5d23d9f. --- .../framework/plugins/windows/mftscan.py | 15 ------------ .../symbols/windows/extensions/mft.py | 24 +++---------------- 2 files changed, 3 insertions(+), 36 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index cb4b880d5..f50801c70 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -49,21 +49,6 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): component=timeliner.TimeLinerInterface, version=(1, 0, 0), ), - requirements.VersionRequirement( - name="mft_entry", - component=mft.MFTEntry, - version=(1, 0, 0), - ), - requirements.VersionRequirement( - name="mft_filename", - component=mft.MFTFileName, - version=(1, 0, 0), - ), - requirements.VersionRequirement( - name="mft_attribute", - component=mft.MFTAttribute, - version=(1, 0, 0), - ), requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) ), diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index 32261c4ff..4c5be81ee 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -5,20 +5,14 @@ import logging from typing import Dict, Iterator, List, Optional, Tuple -from volatility3 import framework from volatility3.framework import constants, exceptions, interfaces, objects vollog = logging.getLogger(__name__) -class MFTEntry(objects.StructType, interfaces.configuration.VersionableInterface): +class MFTEntry(objects.StructType): """This represents the base MFT Record""" - _version = (1, 0, 0) - _required_framework_version = (2, 26, 0) - - framework.require_interface_version(*_required_framework_version) - def __init__( self, context: interfaces.context.ContextInterface, @@ -150,15 +144,9 @@ class MFTEntry(objects.StructType, interfaces.configuration.VersionableInterface yield attr -class MFTFileName(objects.StructType, interfaces.configuration.VersionableInterface): +class MFTFileName(objects.StructType): """This represents an MFT $FILE_NAME Attribute""" - _version = (1, 0, 0) - - _required_framework_version = (2, 26, 0) - - framework.require_interface_version(*_required_framework_version) - def get_full_name(self) -> objects.String: output = self.Name.cast( "string", encoding="utf16", max_length=self.NameLength * 2, errors="replace" @@ -166,15 +154,9 @@ class MFTFileName(objects.StructType, interfaces.configuration.VersionableInterf return output -class MFTAttribute(objects.StructType, interfaces.configuration.VersionableInterface): +class MFTAttribute(objects.StructType): """This represents an MFT ATTRIBUTE""" - _version = (1, 0, 0) - - _required_framework_version = (2, 26, 0) - - framework.require_interface_version(*_required_framework_version) - def get_resident_filename(self) -> Optional[objects.String]: # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems # Length as 512 as its 256*2, which is the maximum size for an entire file path, so this is even generous From de117042fe748e855ce48378d4cbf83ecd1f922b Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Apr 2025 18:04:43 -0500 Subject: [PATCH 1802/2186] Remove symbol_table_name from object constructor Get from `self.vol.type_name` instead --- volatility3/framework/plugins/windows/mftscan.py | 1 - volatility3/framework/symbols/windows/extensions/mft.py | 8 +------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index f50801c70..6aa0142c0 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -112,7 +112,6 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): mft_object_type_name, offset=offset, layer_name=layer.name, - symbol_table_name=symbol_table_name, ) yield mft_record diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index 4c5be81ee..8f994752a 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -20,21 +20,15 @@ class MFTEntry(objects.StructType): object_info: interfaces.objects.ObjectInformation, size: int, members: Dict[str, Tuple[int, interfaces.objects.Template]], - **kwargs, ) -> None: super().__init__(context, type_name, object_info, size, members) - self._symbol_table_name = kwargs.get("symbol_table_name") self._attrs_loaded = False self._attrs: List[MFTAttribute] = [] @property def symbol_table_name(self) -> str: - if self._symbol_table_name is None: - raise ValueError( - "MFTEntry was instantiated without an MFT symbol table name" - ) - return self._symbol_table_name + return self.vol.type_name.split(constants.BANG)[0] def get_signature(self) -> objects.String: signature = self.Signature.cast("string", max_length=4, encoding="latin-1") From a5dfc6acb3264e4c13b9d20f1fe66917eb3e848b Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 3 Apr 2025 18:06:23 -0500 Subject: [PATCH 1803/2186] Bump required framework version on all three MFTScan plugins --- volatility3/framework/plugins/windows/mftscan.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 6aa0142c0..aab32593a 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -18,7 +18,7 @@ vollog = logging.getLogger(__name__) class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Scans for MFT FILE objects present in a particular windows memory image.""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 26, 0) _version = (3, 0, 0) @@ -269,7 +269,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): class ADS(interfaces.plugins.PluginInterface): """Scans for Alternate Data Stream""" - _required_framework_version = (2, 22, 0) + _required_framework_version = (2, 26, 0) _version = (2, 0, 0) @@ -373,7 +373,7 @@ class ADS(interfaces.plugins.PluginInterface): class ResidentData(interfaces.plugins.PluginInterface): """Scans for MFT Records with Resident Data""" - _required_framework_version = (2, 22, 0) + _required_framework_version = (2, 26, 0) _version = (2, 0, 0) From 8428e81f0318cc00ede336075ba7a8c7bb7416cb Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 4 Apr 2025 10:30:46 -0500 Subject: [PATCH 1804/2186] Fix up remaining type-hints Updates type hints on some fields of the result namedtuples to be their `objects.Primitive` types instead of Python primitives, and does any conversion to Python primitives in the generator methods. --- volatility3/framework/plugins/windows/mftscan.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index aab32593a..3f59f1aa6 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -25,8 +25,8 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): class MFTScanResult(NamedTuple): offset: format_hints.Hex record_type: str - record_number: int - link_count: int + record_number: objects.Integer + link_count: objects.Integer mft_type: str permissions: Union[str, interfaces.renderers.BaseAbsentValue] attribute_type: str @@ -275,8 +275,8 @@ class ADS(interfaces.plugins.PluginInterface): class ADSResult(NamedTuple): offset: format_hints.Hex - signature: str - record_number: int + signature: objects.String + record_number: objects.Integer attribute_type: str filename: Union[objects.String, interfaces.renderers.BaseAbsentValue] stream_name: Union[objects.String, interfaces.renderers.BaseAbsentValue] @@ -379,7 +379,7 @@ class ResidentData(interfaces.plugins.PluginInterface): class ResidentDataResult(NamedTuple): offset: format_hints.Hex - signature: str + signature: objects.String record_number: int attribute_type: str filename: Union[objects.String, interfaces.renderers.BaseAbsentValue] @@ -426,7 +426,7 @@ class ResidentData(interfaces.plugins.PluginInterface): return cls.ResidentDataResult( format_hints.Hex(attr.Attr_Data.vol.offset), - str(mft_record.get_signature()), + mft_record.get_signature(), mft_record.RecordNumber, attr.Attr_Header.AttrType.lookup(), filename, @@ -449,7 +449,7 @@ class ResidentData(interfaces.plugins.PluginInterface): # exposed through classmethods. yield 0, ( resident_data_entry.offset, - resident_data_entry.signature, + str(resident_data_entry.signature), int(resident_data_entry.record_number), resident_data_entry.attribute_type, str(resident_data_entry.filename), From b15e9104e8b3e581e904b1b58e2031f233044b21 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 4 Apr 2025 10:32:13 -0500 Subject: [PATCH 1805/2186] Rename methods, add docstrings Improves the naming of a couple of the new extension class methods to more accurately reflect the return type, and adds docstrings to extensions class methods. --- .../framework/plugins/windows/mftscan.py | 4 +- .../symbols/windows/extensions/mft.py | 41 ++++++++++++++++--- 2 files changed, 38 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index 3f59f1aa6..e7390d699 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -131,7 +131,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): try: # There should only be one STANDARD_INFORMATION attribute, but we # do this just in case. - for std_information in mft_record.standard_information_attributes(): + for std_information in mft_record.standard_information_entries(): yield 0, cls.MFTScanResult( format_hints.Hex(std_information.vol.offset), str(mft_record.get_signature()), @@ -162,7 +162,7 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # File Name Attribute try: - for filename_info in mft_record.filename_attributes(): + for filename_info in mft_record.filename_entries(): # If we don't have a valid enum, coerce to hex so we can keep the record try: diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index 8f994752a..bf20c1ffc 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -47,7 +47,7 @@ class MFTEntry(objects.StructType): yield from self._attrs def longest_filename(self) -> Optional[objects.String]: - names = [name.get_full_name() for name in self.filename_attributes()] + names = [name.get_full_name() for name in self.filename_entries()] if not names: return None @@ -91,9 +91,17 @@ class MFTEntry(objects.StructType): ) return - def standard_information_attributes(self) -> Iterator[objects.StructType]: + def standard_information_entries( + self, + ) -> Iterator[objects.StructType]: + """ + Yields a STANDARD_INFORMATION struct for each of the + STANDARD_INFORMATION attributes in this MFT record (although there + should only be one per record). + """ for attr in self.attributes: - if attr.Attr_Header.AttrType.lookup() != "STANDARD_INFORMATION": + attr_type = attr.Attr_Header.AttrType.lookup() + if attr_type != "STANDARD_INFORMATION": continue si_object = ( @@ -102,10 +110,16 @@ class MFTEntry(objects.StructType): yield attr.Attr_Data.cast(si_object) - def filename_attributes(self) -> Iterator["MFTFileName"]: + def filename_entries(self) -> Iterator["MFTFileName"]: + """ + Yields an MFT Filename for each of the FILE_NAME attributes contained + in this MFT record. There are often two - one for the long filename, + and the other with the DOS 8.3 short name. + """ for attr in self.attributes: try: - if attr.Attr_Header.AttrType.lookup() != "FILE_NAME": + attr_type = attr.Attr_Header.AttrType.lookup() + if attr_type != "FILE_NAME": continue fn_object = self.symbol_table_name + constants.BANG + "FILE_NAME_ENTRY" @@ -128,11 +142,18 @@ class MFTEntry(objects.StructType): yield attr def resident_data_attributes(self) -> Iterator["MFTAttribute"]: + """ + Yields all MFT attributes that contain resident data for the primary + stream. + """ for attr in self._data_attributes(): if attr.Attr_Header.NameLength == 0: yield attr def alternate_data_streams(self) -> Iterator["MFTAttribute"]: + """ + Yields all MFT attributes that contain alternate data streams (ADS). + """ for attr in self._data_attributes(): if attr.Attr_Header.NameLength != 0: yield attr @@ -142,6 +163,9 @@ class MFTFileName(objects.StructType): """This represents an MFT $FILE_NAME Attribute""" def get_full_name(self) -> objects.String: + """ + Returns the UTF-16 decoded filename. + """ output = self.Name.cast( "string", encoding="utf16", max_length=self.NameLength * 2, errors="replace" ) @@ -152,6 +176,9 @@ class MFTAttribute(objects.StructType): """This represents an MFT ATTRIBUTE""" def get_resident_filename(self) -> Optional[objects.String]: + """ + Returns the resident filename (typically for an Alternate Data Stream (ADS)). + """ # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems # Length as 512 as its 256*2, which is the maximum size for an entire file path, so this is even generous if ( @@ -178,6 +205,10 @@ class MFTAttribute(objects.StructType): return None def get_resident_filecontent(self) -> Optional[objects.Bytes]: + """ + Returns the file content that is resident within this MFT attribute, + for either the primary or an alternate data stream. + """ # smear observed in mass testing of samples # 4MB chosen as cutoff instead of 4KB to allow for recovery from format /L created file systems if ( From a0ca33b284e41471b56dc6c0dc4e15f39f30383e Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 4 Apr 2025 11:29:48 -0500 Subject: [PATCH 1806/2186] Also yield STANDARD_INFORMATION timestamps in timeliner --- volatility3/framework/plugins/windows/mftscan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index e7390d699..bce832d5e 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -238,9 +238,9 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): _depth, row_data = row # Only Output FN Records - if row_data[6] == "FILE_NAME": + if row_data[6] in ("FILE_NAME", "STANDARD_INFORMATION"): filename = row_data[-1] - description = f"MFT FILE_NAME entry for {filename}" + description = f"MFT {row_data[6]} entry for {filename}" yield (description, timeliner.TimeLinerType.CREATED, row_data[7]) yield (description, timeliner.TimeLinerType.MODIFIED, row_data[8]) yield (description, timeliner.TimeLinerType.CHANGED, row_data[9]) From 39b3e76efc521bbdd314d8ed6db3d6cfd0fca6d5 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 4 Apr 2025 17:46:46 -0500 Subject: [PATCH 1807/2186] Add a filename to STANDARD_INFORMATION timeline entries --- .../framework/plugins/windows/mftscan.py | 27 ++++++++++++------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index bce832d5e..f0be3cf7f 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -234,17 +234,24 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) def generate_timeline(self): - for row in self._generator(): - _depth, row_data = row + for record in self.enumerate_mft_records( + self.context, self.config_path, self.config["primary"] + ): + fname = record.longest_filename() - # Only Output FN Records - if row_data[6] in ("FILE_NAME", "STANDARD_INFORMATION"): - filename = row_data[-1] - description = f"MFT {row_data[6]} entry for {filename}" - yield (description, timeliner.TimeLinerType.CREATED, row_data[7]) - yield (description, timeliner.TimeLinerType.MODIFIED, row_data[8]) - yield (description, timeliner.TimeLinerType.CHANGED, row_data[9]) - yield (description, timeliner.TimeLinerType.ACCESSED, row_data[10]) + for _, item in self.parse_standard_information_records(record): + description = f"MFT {item.attribute_type} entry for {fname}" + yield (description, timeliner.TimeLinerType.CREATED, item.created) + yield (description, timeliner.TimeLinerType.MODIFIED, item.modified) + yield (description, timeliner.TimeLinerType.CHANGED, item.updated) + yield (description, timeliner.TimeLinerType.ACCESSED, item.accessed) + + for _, item in self.parse_filename_records(record): + description = f"MFT {item.attribute_type} entry for {item.filename}" + yield (description, timeliner.TimeLinerType.CREATED, item.created) + yield (description, timeliner.TimeLinerType.MODIFIED, item.modified) + yield (description, timeliner.TimeLinerType.CHANGED, item.updated) + yield (description, timeliner.TimeLinerType.ACCESSED, item.accessed) def run(self): return renderers.TreeGrid( From 9dcb359e322bf040a2c706308872535a94ce02ea Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 7 Apr 2025 14:56:19 +0100 Subject: [PATCH 1808/2186] Ensure the release branch has the right version number --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index a299f15a2..64707b782 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 26 # Number of changes that only add to the interface -VERSION_PATCH = 1 # Number of changes that do not change the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From e9a4ea1a9c4f9fe18571ec9734406f60de2c0b99 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 7 Apr 2025 15:39:23 -0500 Subject: [PATCH 1809/2186] Fix traceback in volshell's `dt()` A `SymbolError` can occur when a type contains a pointer to an opaque type. For example, `_EPROCESS` can have a member that points to an `_EPROCESS_QUOTA_BLOCK`, but there is no definition for that type, so its size and readability can't be determined. This wraps the block in a try/except, and reports that the type has an unknown size in the suffix if a `SymbolError` occurs. --- volatility3/cli/volshell/generic.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 32a5bd933..7c85eec5f 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -621,12 +621,15 @@ class Volshell(interfaces.plugins.PluginInterface): if isinstance(value, objects.Pointer): # show pointers in hex to match output for struct addrs # highlight null or unreadable pointers - if value == 0: - suffix = " (null pointer)" - elif not value.is_readable(): - suffix = " (unreadable pointer)" - else: - suffix = "" + try: + if value == 0: + suffix = " (null pointer)" + elif not value.is_readable(): + suffix = " (unreadable pointer)" + else: + suffix = "" + except exceptions.SymbolError as exc: + suffix = f" (pointer to {exc.symbol_name} - unknown size)" return f"{hex(value)}{suffix}" elif isinstance(value, objects.PrimitiveObject): return repr(value) From 195f4154e97c5134ee390f0cbe81e0eef156225c Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 7 Apr 2025 16:18:22 -0500 Subject: [PATCH 1810/2186] Shorten suffix --- volatility3/cli/volshell/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 7c85eec5f..2ea722a37 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -629,7 +629,7 @@ class Volshell(interfaces.plugins.PluginInterface): else: suffix = "" except exceptions.SymbolError as exc: - suffix = f" (pointer to {exc.symbol_name} - unknown size)" + suffix = f" (unknown sized {exc.symbol_name})" return f"{hex(value)}{suffix}" elif isinstance(value, objects.PrimitiveObject): return repr(value) From 0882fd0b779f718981f92179ec9a99152b7e70a2 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 7 Apr 2025 15:39:23 -0500 Subject: [PATCH 1811/2186] Fix traceback in volshell's `dt()` A `SymbolError` can occur when a type contains a pointer to an opaque type. For example, `_EPROCESS` can have a member that points to an `_EPROCESS_QUOTA_BLOCK`, but there is no definition for that type, so its size and readability can't be determined. This wraps the block in a try/except, and reports that the type has an unknown size in the suffix if a `SymbolError` occurs. --- volatility3/cli/volshell/generic.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 32a5bd933..7c85eec5f 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -621,12 +621,15 @@ class Volshell(interfaces.plugins.PluginInterface): if isinstance(value, objects.Pointer): # show pointers in hex to match output for struct addrs # highlight null or unreadable pointers - if value == 0: - suffix = " (null pointer)" - elif not value.is_readable(): - suffix = " (unreadable pointer)" - else: - suffix = "" + try: + if value == 0: + suffix = " (null pointer)" + elif not value.is_readable(): + suffix = " (unreadable pointer)" + else: + suffix = "" + except exceptions.SymbolError as exc: + suffix = f" (pointer to {exc.symbol_name} - unknown size)" return f"{hex(value)}{suffix}" elif isinstance(value, objects.PrimitiveObject): return repr(value) From 4a528d55a57298c81efb63900e92f2c5f406f6b5 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 7 Apr 2025 16:18:22 -0500 Subject: [PATCH 1812/2186] Shorten suffix --- volatility3/cli/volshell/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 7c85eec5f..2ea722a37 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -629,7 +629,7 @@ class Volshell(interfaces.plugins.PluginInterface): else: suffix = "" except exceptions.SymbolError as exc: - suffix = f" (pointer to {exc.symbol_name} - unknown size)" + suffix = f" (unknown sized {exc.symbol_name})" return f"{hex(value)}{suffix}" elif isinstance(value, objects.PrimitiveObject): return repr(value) From 4045b6cc8e99a9610d1b39370b3fb2a80f666741 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 8 Apr 2025 09:30:31 -0500 Subject: [PATCH 1813/2186] InodePages: Add output column and render when dumped Previously, the InodePages plugin wasn't rendering treegrid columns when the `--dump` flag was passed. This fixes that, and adds an additional `Output File` column that displays the name of the file containing the dumped data. --- volatility3/framework/plugins/linux/pagecache.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 0bb3b9263..60b8b066b 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -8,7 +8,7 @@ import datetime import time import tarfile from dataclasses import dataclass, astuple -from typing import IO, List, Set, Type, Iterable, Tuple +from typing import IO, List, Set, Type, Iterable, Tuple, Union from io import BytesIO from pathlib import PurePath @@ -541,6 +541,7 @@ class InodePages(plugins.PluginInterface): self, inode: interfaces.objects.ObjectInterface, vmlinux_layer: interfaces.layers.TranslationLayerInterface, + filename: Union[renderers.NotApplicableValue, str], ) -> Iterable[Tuple[int, int, int, int, bool, str]]: inode_size = inode.i_size try: @@ -569,6 +570,7 @@ class InodePages(plugins.PluginInterface): page_index, dump_safe, page_flags, + filename, ) yield 0, fields @@ -610,6 +612,7 @@ class InodePages(plugins.PluginInterface): vollog.error("The inode is not a regular file") return None + filename = renderers.NotApplicableValue() if self.config["dump"]: open_method = self.open inode_address = inode.vol.offset @@ -618,8 +621,7 @@ class InodePages(plugins.PluginInterface): self.write_inode_content_to_file( self.context, vmlinux_layer.name, inode, filename, open_method ) - else: - yield from self._generate_inode_fields(inode, vmlinux_layer) + yield from self._generate_inode_fields(inode, vmlinux_layer, filename) def run(self): headers = [ @@ -629,6 +631,7 @@ class InodePages(plugins.PluginInterface): ("Index", int), ("DumpSafe", bool), ("Flags", str), + ("Output File", str), ] return renderers.TreeGrid( From 5cc8e360731b27563290f4e40da73b0d00e02364 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 8 Apr 2025 16:04:25 +0100 Subject: [PATCH 1814/2186] Documentation: Improve the readme to make quickstart the first thing people see --- README.md | 58 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 4f5a0a37e..3c8698c12 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,33 @@ technical and performance challenges associated with the original code base that became apparent over the previous 10 years. Another benefit of the rewrite is that Volatility 3 could be released under a custom license that was more aligned with the goals of the Volatility community, -the Volatility Software License (VSL). See the -[LICENSE](https://www.volatilityfoundation.org/license/vsl-v1.0) file for +the Volatility Software License (VSL). See the +[LICENSE](https://www.volatilityfoundation.org/license/vsl-v1.0) file for more details. +## Quick Start + +1. Install the required dependencies: + + ```shell + pip install --user -e. + ``` + +2. See available options: + + ```shell + vol -h + ``` + +3. To get more information on a Windows memory sample and to make sure Volatility supports that sample type, run `vol -f windows.info`: + + ```shell + vol -f /home/user/samples/stuxnet.vmem windows.info + ``` + +4. Run some other plugins. The `-f` or `--single-location` is not strictly required, but most plugins expect a single sample. +Some also require/accept other options. Run `vol -h` for more information on a particular command. + ## Installing Volatility 3 requires Python 3.8.0 or later and is published on the [PyPi registry](https://pypi.org/project/volatility3). @@ -38,38 +61,19 @@ python3 -m venv venv && . venv/bin/activate pip install -e ".[dev]" ``` -## Quick Start - -1. Install Volatility 3 as documented in the Installing section of the readme. - -2. See available options: - - ```shell - vol -h - ``` - -3. To get more information on a Windows memory sample and to make sure Volatility supports that sample type, run `vol -f windows.info`: - - ```shell - vol -f /home/user/samples/stuxnet.vmem windows.info - ``` - -4. Run some other plugins. The `-f` or `--single-location` is not strictly required, but most plugins expect a single sample. -Some also require/accept other options. Run `vol -h` for more information on a particular command. - ## Symbol Tables Symbol table packs for the various operating systems are available for download at: - - - + + + The hashes to verify whether any of the symbol pack files have downloaded successfully or have changed can be found at: - - - + + + Symbol tables zip files must be placed, as named, into the `volatility3/symbols` directory (or just the symbols directory next to the executable file). From 54f64fcab897672ba6a5a66f8ae1449b38fa1804 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 8 Apr 2025 19:48:15 +0200 Subject: [PATCH 1815/2186] comparison harness: module alignment --- volatility3/framework/symbols/linux/utilities/modules.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 62ebeef03..16ce93441 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -474,10 +474,9 @@ class Modules(interfaces.configuration.VersionableInterface): Returns: The struct module alignment """ - # FIXME: When dwarf2json/ISF supports type alignments. Read it directly from the type metadata - # Additionally, while 'context' and 'vmlinux_module_name' are currently unused, they will be - # essential for retrieving type metadata in the future. - return 64 + # Not L1 cache aligned, but compiler should naturally + # align to the referenced type as a minimum. + return context.modules[vmlinux_module_name].get_type("pointer").size @classmethod def list_modules( From f9bd9fb94e1599a11df56cd8bfbf4f115b176fcf Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 8 Apr 2025 20:08:15 +0200 Subject: [PATCH 1816/2186] comment wasn't really applicable here --- volatility3/framework/symbols/linux/utilities/modules.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 16ce93441..1c675a283 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -474,8 +474,6 @@ class Modules(interfaces.configuration.VersionableInterface): Returns: The struct module alignment """ - # Not L1 cache aligned, but compiler should naturally - # align to the referenced type as a minimum. return context.modules[vmlinux_module_name].get_type("pointer").size @classmethod From ac8a1101ce317a8724d8c68f45b3b090493ce981 Mon Sep 17 00:00:00 2001 From: ikelos Date: Tue, 8 Apr 2025 20:18:10 +0100 Subject: [PATCH 1817/2186] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c8698c12..cf735fc8d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ more details. 1. Install the required dependencies: ```shell - pip install --user -e. + pip install --user -e ".[full]" ``` 2. See available options: From 64ecd65d2c8ccb5e9284182104266e97d8fabce4 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 8 Apr 2025 14:37:29 -0500 Subject: [PATCH 1818/2186] Windows: Improve type-hints in thrdscan, extensions This improves type-hinting in the `ThrdScan` class and in the `ETHREAD` extension class through narrowing the return type of some methods from `interfaces.objects.ObjectInterface` to their actual return type, `extensions.ETHREAD`. Also creates a `NamedTuple` for holding thread info, which cleans up the type signature and makes the returned value easier for consumers to use. --- .../framework/plugins/windows/thrdscan.py | 77 ++++++++----------- .../symbols/windows/extensions/__init__.py | 10 ++- 2 files changed, 41 insertions(+), 46 deletions(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 0ac3d0c33..49103cc7e 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -1,15 +1,16 @@ ## ## plugin for testing addition of threads scan support to poolscanner.py ## -import logging import datetime -from typing import Callable, Iterable, Tuple, Optional, Dict +import logging +from typing import Callable, Dict, NamedTuple, Optional, Union, Tuple, Iterator -from volatility3.framework import renderers, interfaces, exceptions +from volatility3.framework import exceptions, interfaces, objects, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import poolscanner, pe_symbols +from volatility3.framework.symbols.windows import extensions as win_extensions from volatility3.plugins import timeliner +from volatility3.plugins.windows import pe_symbols, poolscanner vollog = logging.getLogger(__name__) @@ -21,6 +22,17 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) _required_framework_version = (2, 6, 0) _version = (2, 0, 0) + class ThreadInfo(NamedTuple): + offset: int + pid: objects.Pointer + tid: objects.Pointer + start_addr: objects.Pointer + start_path: Optional[str] + win32_start_addr: objects.Pointer + win32_start_path: Optional[str] + create_time: Union[datetime.datetime, interfaces.renderers.BaseAbsentValue] + exit_time: Union[datetime.datetime, interfaces.renderers.BaseAbsentValue] + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.implementation = self.scan_threads @@ -51,7 +63,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) cls, context: interfaces.context.ContextInterface, module_name: str, - ) -> Iterable[interfaces.objects.ObjectInterface]: + ) -> Iterator[win_extensions.ETHREAD]: """Scans for threads using the poolscanner module and constraints. Args: @@ -77,19 +89,9 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) @classmethod def gather_thread_info( cls, - ethread: interfaces.objects.ObjectInterface, - vads_cache: Dict[int, pe_symbols.ranges_type] = None, - ) -> Tuple[ - int, - int, - int, - int, - Optional[str], - int, - Optional[str], - Optional[datetime.datetime], - Optional[datetime.datetime], - ]: + ethread: win_extensions.ETHREAD, + vads_cache: Optional[Dict[int, pe_symbols.ranges_type]] = None, + ) -> Optional[ThreadInfo]: try: thread_offset = ethread.vol.offset owner_proc_pid = ethread.Cid.UniqueProcess @@ -135,19 +137,19 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) start_path = None win32start_path = None - return ( - format_hints.Hex(thread_offset), + return cls.ThreadInfo( + thread_offset, owner_proc_pid, thread_tid, - format_hints.Hex(thread_start_addr), + thread_start_addr, start_path, - format_hints.Hex(thread_win32start_addr), + thread_win32start_addr, win32start_path, thread_create_time, thread_exit_time, ) - def _generator(self, filter_func: Callable): + def _generator(self, filter_func: Callable) -> Iterator[Tuple[int, Tuple]]: kernel_name = self.config["kernel"] vads_cache: Dict[int, pe_symbols.ranges_type] = {} @@ -156,27 +158,16 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) info = self.gather_thread_info(ethread, vads_cache) if info: - ( - offset, - pid, - tid, - start_addr, - start_path, - win32start_addr, - win32start_path, - create_time, - exit_time, - ) = info yield 0, ( - offset, - pid, - tid, - start_addr, - start_path or renderers.NotAvailableValue(), - win32start_addr, - win32start_path or renderers.NotAvailableValue(), - create_time, - exit_time, + format_hints.Hex(info.offset), + info.pid, + info.tid, + format_hints.Hex(info.start_addr), + info.start_path or renderers.NotAvailableValue(), + format_hints.Hex(info.win32_start_addr), + info.win32_start_path or renderers.NotAvailableValue(), + info.create_time, + info.exit_time, ) def generate_timeline(self): diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 9fe250ba5..1972d6a50 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -568,16 +568,20 @@ class ETHREAD(objects.StructType, pool.ExecutiveObject): # passed all validations return True - def get_create_time(self): + def get_create_time( + self, + ) -> Union[datetime.datetime, interfaces.renderers.BaseAbsentValue]: # For Windows XPs if self.has_member("ThreadsProcess"): return conversion.wintime_to_datetime(self.CreateTime.QuadPart >> 3) return conversion.wintime_to_datetime(self.CreateTime.QuadPart) - def get_exit_time(self): + def get_exit_time( + self, + ) -> Union[datetime.datetime, interfaces.renderers.BaseAbsentValue]: return conversion.wintime_to_datetime(self.ExitTime.QuadPart) - def owning_process(self) -> interfaces.objects.ObjectInterface: + def owning_process(self) -> "EPROCESS": """Return the EPROCESS that owns this thread.""" # For Windows XPs From aba3b04e8da6c82b142b0e38011b6c50613d6823 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 8 Apr 2025 14:53:20 -0500 Subject: [PATCH 1819/2186] Windows Thrdscan: Fix thread filtering + tracebacks Tracebacks were occurring across a number of samples when running the threads/threadscan plugins due to uncaught `InvalidAddressExceptions`. Further investigations led to the discovery of some incorrect thread filtering that was missing valid threads. --- .../framework/constants/windows/__init__.py | 2 ++ .../framework/plugins/windows/thrdscan.py | 16 +++++++++++++--- .../symbols/windows/extensions/__init__.py | 6 +++++- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/constants/windows/__init__.py b/volatility3/framework/constants/windows/__init__.py index 6f37acd2d..b08713cc9 100644 --- a/volatility3/framework/constants/windows/__init__.py +++ b/volatility3/framework/constants/windows/__init__.py @@ -28,3 +28,5 @@ PROCESSOR_START_BLOCK_LM_TARGET_OFFSET = ( # CR3 register within structures describing initial processor state to be started PROCESSOR_START_BLOCK_CR3_OFFSET = 0xA0 # PROCESSOR_START_BLOCK->ProcessorState->SpecialRegisters->Cr3, ULONG64 8 bytes + +MAX_PID = 0xFFFFFFFC diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 49103cc7e..162e41929 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -7,6 +7,7 @@ from typing import Callable, Dict, NamedTuple, Optional, Union, Tuple, Iterator from volatility3.framework import exceptions, interfaces, objects, renderers from volatility3.framework.configuration import requirements +from volatility3.framework.constants import windows as windows_constants from volatility3.framework.renderers import format_hints from volatility3.framework.symbols.windows import extensions as win_extensions from volatility3.plugins import timeliner @@ -112,10 +113,19 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) vollog.debug(f"Thread invalid address {ethread.vol.offset:#x}") return None - # don't look for VADs in kernel threads, just let them get reported with empty paths + # Filter junk PIDs if ( - owner_proc_pid != 4 - and owner_proc.InheritedFromUniqueProcessId != 4 + ethread.Cid.UniqueProcess > windows_constants.MAX_PID + or ethread.Cid.UniqueProcess == 0 + or ethread.Cid.UniqueProcess % 4 != 0 + ): + return None + + # Get VAD mappings for valid non-system (PID 4) processes + if ( + owner_proc + and owner_proc.is_valid() + and owner_proc.UniqueProcessId != 4 and vads_cache is not None ): vads = pe_symbols.PESymbols.get_vads_for_process_cache( diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 1972d6a50..e6850dde5 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -709,7 +709,11 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): return False # NT pids are divisible by 4 - if self.UniqueProcessId % 4 != 0: + if ( + self.UniqueProcessId % 4 != 0 + or self.UniqueProcessId == 0 + or self.UniqueProcessId > constants.windows.MAX_PID + ): return False # check for all 0s besides the PCID entries From b35f0a29bc8eab919602acbcf5626f11c7638afd Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 8 Apr 2025 16:26:48 -0500 Subject: [PATCH 1820/2186] Windows: Remove VAD length check in thread enumeration This exclusion of threads where there are < 5 vads seems to filter valid threads (at least, threads where the start address or Win32 start address values are readable and valid disassembly, and the start time makes sense in the context of the parent process). --- .../framework/plugins/windows/thrdscan.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 162e41929..a3024fe58 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -131,17 +131,16 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) vads = pe_symbols.PESymbols.get_vads_for_process_cache( vads_cache, owner_proc ) - if not vads or len(vads) < 5: - vollog.debug( - f"Not enough vads for process at {owner_proc.vol.offset:#x}. Skipping thread at {ethread.vol.offset:#x}" - ) - return None - start_path = pe_symbols.PESymbols.filepath_for_address( - vads, thread_start_addr + start_path = ( + pe_symbols.PESymbols.filepath_for_address(vads, thread_start_addr) + if vads + else None ) - win32start_path = pe_symbols.PESymbols.filepath_for_address( - vads, thread_win32start_addr + win32start_path = ( + pe_symbols.PESymbols.filepath_for_address(vads, thread_win32start_addr) + if vads + else None ) else: start_path = None From 1ab8ddcb7faee4b4a28976e86397f8d9df1a862a Mon Sep 17 00:00:00 2001 From: ikelos Date: Wed, 9 Apr 2025 20:35:19 +0100 Subject: [PATCH 1821/2186] Merge pull request #1765 from Abyss-W4tcher/minimum_alignment_adjustment [Parity/modules] Adjust module alignment for scanners --- volatility3/framework/symbols/linux/utilities/modules.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 62ebeef03..1c675a283 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -474,10 +474,7 @@ class Modules(interfaces.configuration.VersionableInterface): Returns: The struct module alignment """ - # FIXME: When dwarf2json/ISF supports type alignments. Read it directly from the type metadata - # Additionally, while 'context' and 'vmlinux_module_name' are currently unused, they will be - # essential for retrieving type metadata in the future. - return 64 + return context.modules[vmlinux_module_name].get_type("pointer").size @classmethod def list_modules( From da73a506620c73ac0642132428b5c06bd76613c3 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 9 Apr 2025 21:41:01 -0500 Subject: [PATCH 1822/2186] Windows ThrdScan: Bump patch version number Bumping patch version due to bug fixes. --- volatility3/framework/plugins/windows/debugregisters.py | 4 ++-- .../framework/plugins/windows/orphan_kernel_threads.py | 4 ++-- volatility3/framework/plugins/windows/psxview.py | 4 ++-- volatility3/framework/plugins/windows/suspended_threads.py | 4 ++-- volatility3/framework/plugins/windows/suspicious_threads.py | 6 +++--- volatility3/framework/plugins/windows/thrdscan.py | 2 +- volatility3/framework/plugins/windows/threads.py | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index 74434a3cc..40a5e31aa 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -24,7 +24,7 @@ vollog = logging.getLogger(__name__) class DebugRegisters(interfaces.plugins.PluginInterface): # version 2.6.0 adds support for scanning for 'Ethread' structures by pool tags _required_framework_version = (2, 6, 0) - _version = (1, 0, 1) + _version = (1, 0, 2) @classmethod def get_requirements(cls) -> List: @@ -38,7 +38,7 @@ class DebugRegisters(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="threads", component=threads.Threads, version=(3, 0, 0) + name="threads", component=threads.Threads, version=(3, 0, 1) ), requirements.VersionRequirement( name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py index b4dec0fc5..300d6069f 100644 --- a/volatility3/framework/plugins/windows/orphan_kernel_threads.py +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -18,7 +18,7 @@ class Threads(thrdscan.ThrdScan): _required_framework_version = (2, 4, 0) # 2.0.0 - changed the signature of `list_orphan_kernel_threads` - _version = (2, 0, 0) + _version = (2, 0, 1) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -34,7 +34,7 @@ class Threads(thrdscan.ThrdScan): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) + name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 1) ), requirements.VersionRequirement( name="ssdt", component=ssdt.SSDT, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 142987c3e..c4f4b340f 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -34,7 +34,7 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter # code I do have from it, and will happily share it if anyone else wants to add it. _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) valid_proc_name_chars = set( string.ascii_lowercase + string.ascii_uppercase + "." + " " @@ -55,7 +55,7 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter name="psscan", component=psscan.PsScan, version=(2, 0, 0) ), requirements.VersionRequirement( - name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) + name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 1) ), requirements.VersionRequirement( name="handles", component=handles.Handles, version=(3, 0, 0) diff --git a/volatility3/framework/plugins/windows/suspended_threads.py b/volatility3/framework/plugins/windows/suspended_threads.py index 82d44a6d7..1cde0429b 100644 --- a/volatility3/framework/plugins/windows/suspended_threads.py +++ b/volatility3/framework/plugins/windows/suspended_threads.py @@ -19,7 +19,7 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): """Enumerates suspended threads.""" _required_framework_version = (2, 13, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls): @@ -36,7 +36,7 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) ), requirements.VersionRequirement( - name="threads", component=threads.Threads, version=(3, 0, 0) + name="threads", component=threads.Threads, version=(3, 0, 1) ), ] diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py index eabc637c8..16da74c00 100644 --- a/volatility3/framework/plugins/windows/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -17,7 +17,7 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): """Lists suspicious userland process threads""" _required_framework_version = (2, 4, 0) - _version = (2, 0, 1) + _version = (2, 0, 2) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -35,13 +35,13 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): optional=True, ), requirements.VersionRequirement( - name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) + name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 1) ), requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="threads", component=threads.Threads, version=(3, 0, 0) + name="threads", component=threads.Threads, version=(3, 0, 1) ), requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index a3024fe58..1402e7bd2 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -21,7 +21,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) # version 2.6.0 adds support for scanning for 'Ethread' structures by pool tags _required_framework_version = (2, 6, 0) - _version = (2, 0, 0) + _version = (2, 0, 1) class ThreadInfo(NamedTuple): offset: int diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index d040fa990..5531b4b24 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -16,7 +16,7 @@ class Threads(thrdscan.ThrdScan): """Lists process threads""" _required_framework_version = (2, 4, 0) - _version = (3, 0, 0) + _version = (3, 0, 1) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -32,7 +32,7 @@ class Threads(thrdscan.ThrdScan): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) + name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 1) ), requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) From f091641920cda3a285ae2b633a8412e38f9501cc Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 9 Apr 2025 21:50:36 -0500 Subject: [PATCH 1823/2186] Framework: Bump patch version number Bumping the framework patch version number due to bugfix in windows' `EPROCESS` extension class' `is_valid()` method. --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index a299f15a2..07b9e45ec 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 26 # Number of changes that only add to the interface -VERSION_PATCH = 1 # Number of changes that do not change the interface +VERSION_PATCH = 2 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From 7192730deacfd2e17531215a597d93bc7e015f19 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 9 Apr 2025 22:53:49 -0500 Subject: [PATCH 1824/2186] Layers: Fix exception message Updates the exception message to report the correct dependency instead of the layer name itself. Instead of reporting the actual dependency, it was reporting, for example 'Layer layer_name is depended upon by layer_name'. --- volatility3/framework/interfaces/layers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/layers.py b/volatility3/framework/interfaces/layers.py index a90a78667..6c4e4b419 100644 --- a/volatility3/framework/interfaces/layers.py +++ b/volatility3/framework/interfaces/layers.py @@ -678,7 +678,7 @@ class LayerContainer(collections.abc.Mapping): if name in self._layers[layer].dependencies: raise exceptions.LayerException( self._layers[layer].name, - f"Layer {self._layers[layer].name} is depended upon by {layer}", + f"Layer {name} is depended upon by {layer}", ) # Otherwise, wipe out the layer self._layers[name].destroy() From 6237950991e7d78718bd6931c1598afac325043f Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 10 Apr 2025 09:50:49 -0500 Subject: [PATCH 1825/2186] Windows: Revert unneeded version bumps --- volatility3/framework/plugins/windows/debugregisters.py | 4 ++-- .../framework/plugins/windows/orphan_kernel_threads.py | 4 ++-- volatility3/framework/plugins/windows/psxview.py | 4 ++-- volatility3/framework/plugins/windows/suspended_threads.py | 4 ++-- volatility3/framework/plugins/windows/suspicious_threads.py | 6 +++--- volatility3/framework/plugins/windows/threads.py | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/plugins/windows/debugregisters.py b/volatility3/framework/plugins/windows/debugregisters.py index 40a5e31aa..74434a3cc 100644 --- a/volatility3/framework/plugins/windows/debugregisters.py +++ b/volatility3/framework/plugins/windows/debugregisters.py @@ -24,7 +24,7 @@ vollog = logging.getLogger(__name__) class DebugRegisters(interfaces.plugins.PluginInterface): # version 2.6.0 adds support for scanning for 'Ethread' structures by pool tags _required_framework_version = (2, 6, 0) - _version = (1, 0, 2) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List: @@ -38,7 +38,7 @@ class DebugRegisters(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="threads", component=threads.Threads, version=(3, 0, 1) + name="threads", component=threads.Threads, version=(3, 0, 0) ), requirements.VersionRequirement( name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py index 300d6069f..b4dec0fc5 100644 --- a/volatility3/framework/plugins/windows/orphan_kernel_threads.py +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -18,7 +18,7 @@ class Threads(thrdscan.ThrdScan): _required_framework_version = (2, 4, 0) # 2.0.0 - changed the signature of `list_orphan_kernel_threads` - _version = (2, 0, 1) + _version = (2, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -34,7 +34,7 @@ class Threads(thrdscan.ThrdScan): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 1) + name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) ), requirements.VersionRequirement( name="ssdt", component=ssdt.SSDT, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index c4f4b340f..142987c3e 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -34,7 +34,7 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter # code I do have from it, and will happily share it if anyone else wants to add it. _required_framework_version = (2, 0, 0) - _version = (1, 0, 1) + _version = (1, 0, 0) valid_proc_name_chars = set( string.ascii_lowercase + string.ascii_uppercase + "." + " " @@ -55,7 +55,7 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter name="psscan", component=psscan.PsScan, version=(2, 0, 0) ), requirements.VersionRequirement( - name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 1) + name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) ), requirements.VersionRequirement( name="handles", component=handles.Handles, version=(3, 0, 0) diff --git a/volatility3/framework/plugins/windows/suspended_threads.py b/volatility3/framework/plugins/windows/suspended_threads.py index 1cde0429b..82d44a6d7 100644 --- a/volatility3/framework/plugins/windows/suspended_threads.py +++ b/volatility3/framework/plugins/windows/suspended_threads.py @@ -19,7 +19,7 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): """Enumerates suspended threads.""" _required_framework_version = (2, 13, 0) - _version = (1, 0, 1) + _version = (1, 0, 0) @classmethod def get_requirements(cls): @@ -36,7 +36,7 @@ class SuspendedThreads(interfaces.plugins.PluginInterface): name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) ), requirements.VersionRequirement( - name="threads", component=threads.Threads, version=(3, 0, 1) + name="threads", component=threads.Threads, version=(3, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py index 16da74c00..eabc637c8 100644 --- a/volatility3/framework/plugins/windows/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -17,7 +17,7 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): """Lists suspicious userland process threads""" _required_framework_version = (2, 4, 0) - _version = (2, 0, 2) + _version = (2, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -35,13 +35,13 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): optional=True, ), requirements.VersionRequirement( - name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 1) + name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) ), requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="threads", component=threads.Threads, version=(3, 0, 1) + name="threads", component=threads.Threads, version=(3, 0, 0) ), requirements.VersionRequirement( name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) diff --git a/volatility3/framework/plugins/windows/threads.py b/volatility3/framework/plugins/windows/threads.py index 5531b4b24..d040fa990 100644 --- a/volatility3/framework/plugins/windows/threads.py +++ b/volatility3/framework/plugins/windows/threads.py @@ -16,7 +16,7 @@ class Threads(thrdscan.ThrdScan): """Lists process threads""" _required_framework_version = (2, 4, 0) - _version = (3, 0, 1) + _version = (3, 0, 0) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -32,7 +32,7 @@ class Threads(thrdscan.ThrdScan): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 1) + name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) ), requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) From b82458e365149ee9255235be1751b6559fa8199c Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 10 Apr 2025 09:51:32 -0500 Subject: [PATCH 1826/2186] Windows Thrdscan: Convert from PATCH to MINOR version bump --- volatility3/framework/plugins/windows/thrdscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 1402e7bd2..d5a1a0b07 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -21,7 +21,7 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) # version 2.6.0 adds support for scanning for 'Ethread' structures by pool tags _required_framework_version = (2, 6, 0) - _version = (2, 0, 1) + _version = (2, 1, 0) class ThreadInfo(NamedTuple): offset: int From c48ad901b03c72e7c1ceffe3712dc8322c19de38 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 10 Apr 2025 14:49:50 -0500 Subject: [PATCH 1827/2186] Extensions: Add cache decorators as appropriate I noticed that many plugins were creating duplicate per-process translation layers - for instance, `windows.envars.Envars` was ending up with > 30 process layers per process due to repeated calls to `get_peb()`, which calls `add_process_space()` internally. This adds `@functools.lru_cache` to the `get_peb()` and `get_peb32()` methods on the `EPROCESS` extension, since these should only need to be created once. Also adds `@functools.lru_cache` to `add_process_space` to enable reusing the same process address space, provided the same arguments are passed to the `add_process_space()` method. --- volatility3/framework/symbols/linux/extensions/__init__.py | 1 + volatility3/framework/symbols/mac/extensions/__init__.py | 2 ++ volatility3/framework/symbols/windows/extensions/__init__.py | 5 ++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index b4bde1aba..d281e2b9b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -471,6 +471,7 @@ class task_struct(generic.GenericIntelProcess): return True + @functools.lru_cache def add_process_layer( self, config_prefix: Optional[str] = None, preferred_name: Optional[str] = None ) -> Optional[str]: diff --git a/volatility3/framework/symbols/mac/extensions/__init__.py b/volatility3/framework/symbols/mac/extensions/__init__.py index cc700f209..08ec63afa 100644 --- a/volatility3/framework/symbols/mac/extensions/__init__.py +++ b/volatility3/framework/symbols/mac/extensions/__init__.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import contextlib +import functools import logging from typing import Generator, Iterable, Optional, Set, Tuple @@ -17,6 +18,7 @@ class proc(generic.GenericIntelProcess): def get_task(self): return self.task.dereference().cast("task") + @functools.lru_cache def add_process_layer( self, config_prefix: Optional[str] = None, preferred_name: Optional[str] = None ) -> Optional[str]: diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 9fe250ba5..b90391af3 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -732,9 +732,10 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): return True + @functools.lru_cache def add_process_layer( self, config_prefix: Optional[str] = None, preferred_name: Optional[str] = None - ): + ) -> str: """Constructs a new layer based on the process's DirectoryTableBase.""" parent_layer = self._context.layers[self.vol.layer_name] @@ -761,6 +762,7 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): self._context, dtb, config_prefix, preferred_name ) + @functools.lru_cache def get_peb(self) -> interfaces.objects.ObjectInterface: """Constructs a PEB object""" if constants.BANG not in self.vol.type_name: @@ -786,6 +788,7 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ) return peb + @functools.lru_cache def get_peb32(self) -> Optional[interfaces.objects.ObjectInterface]: """Constructs a PEB32 object""" if constants.BANG not in self.vol.type_name: From 03e750648f6068955cbed9e4dcf2fd2729b8c3ef Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 09:20:32 -0500 Subject: [PATCH 1828/2186] Windows Extensions: remove lru_cache decorators These don't offer enough upside to be worthwhile compared to the decorators applied to the `add_process_layer` methods. --- volatility3/framework/symbols/windows/extensions/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index b90391af3..40f4e75e3 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -762,7 +762,6 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): self._context, dtb, config_prefix, preferred_name ) - @functools.lru_cache def get_peb(self) -> interfaces.objects.ObjectInterface: """Constructs a PEB object""" if constants.BANG not in self.vol.type_name: @@ -788,7 +787,6 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ) return peb - @functools.lru_cache def get_peb32(self) -> Optional[interfaces.objects.ObjectInterface]: """Constructs a PEB32 object""" if constants.BANG not in self.vol.type_name: From 87cc571fbba8d6d04aecda758f36729fba44b0ec Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 10:18:17 -0500 Subject: [PATCH 1829/2186] ShimcacheMem: Fix symbol table These SHIM_CACHE_ENTRY offsets aren't correct - should be identical to those in the other XP symbol tables. --- .../windows/shimcache/shimcache-xp-sp2-x86.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/symbols/windows/shimcache/shimcache-xp-sp2-x86.json b/volatility3/framework/symbols/windows/shimcache/shimcache-xp-sp2-x86.json index 6114e6c85..6c990f9f5 100644 --- a/volatility3/framework/symbols/windows/shimcache/shimcache-xp-sp2-x86.json +++ b/volatility3/framework/symbols/windows/shimcache/shimcache-xp-sp2-x86.json @@ -331,23 +331,23 @@ "LastModified": { "type": { "kind": "union", - "name": "LARGE_INTEGER" + "name": "_LARGE_INTEGER" }, - "offset": 4 + "offset": 528 }, "FileSize": { "type": { "kind": "base", "name": "long long" }, - "offset": 8 + "offset": 536 }, "LastUpdate": { "type": { "kind": "union", - "name": "LARGE_INTEGER" + "name": "_LARGE_INTEGER" }, - "offset": 12 + "offset": 544 } }, "kind": "struct", From b80c52873b62a325453b9b443446e7f2ef4ad575 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 10:19:01 -0500 Subject: [PATCH 1830/2186] ShimcacheMem: Use `address_to_string` Uses the new `address_to_string` utility function to read filepaths, in case a filepath crosses a boundary to a swapped page. --- .../framework/symbols/windows/extensions/shimcache.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/shimcache.py b/volatility3/framework/symbols/windows/extensions/shimcache.py index b84a7df6f..279a1995c 100644 --- a/volatility3/framework/symbols/windows/extensions/shimcache.py +++ b/volatility3/framework/symbols/windows/extensions/shimcache.py @@ -8,6 +8,7 @@ from datetime import datetime from typing import Dict, Optional, Tuple, Union from volatility3.framework import constants, exceptions, interfaces, objects, renderers +from volatility3.framework.objects.utility import address_to_string from volatility3.framework.symbols.windows.extensions import conversion vollog = logging.getLogger(__name__) @@ -126,8 +127,12 @@ class SHIM_CACHE_ENTRY(objects.StructType): return self._file_path if not hasattr(self.Path, "Buffer"): - return self.Path.cast( - "string", max_length=self.Path.vol.count, encoding="utf-16le" + return address_to_string( + self._context, + self.Path.vol.layer_name, + self.Path.vol.offset, + 520, + encoding="utf-16le", ) try: From 079d2801f51f4191996ec9d2a1ace4edb9d956a9 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 10:19:55 -0500 Subject: [PATCH 1831/2186] ShimcacheMem: Fix offset tracking This fixes a bug in the plugin logic that causes valid entries to be excluded in the following scenario: - An entry is discovered but deemed invalid due to unreadable size/timestamps. - The offset gets placed into the `seen` tracking set anyway - Another entry (this time, with valid filesize/timestamps) with the same physical offset is encountered, but is skipped because this offset is already in the `seen` tracking set. This updates the logic to only add the offset to the tracker if the shimcache entry is valid. --- volatility3/framework/plugins/windows/shimcachemem.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index 7883dfba3..f60e5c5cf 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -174,6 +174,8 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf vad.get_start() + SHIM_NUM_ENTRIES_OFFSET, ) + vollog.debug(f"Found {num_entries} shimcache entries") + if num_entries > SHIM_MAX_ENTRIES: continue @@ -204,7 +206,6 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf if physical_addr in seen: continue - seen.add(physical_addr) shim_entry = proc_layer.context.object( shimcache_symbol_table + constants.BANG + "SHIM_CACHE_ENTRY", @@ -216,6 +217,8 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf if not shim_entry.is_valid(): continue + seen.add(physical_addr) + yield shim_entry @classmethod From 1d4893156e04b0feb94249f1dc5536cb39ea2a75 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 11:13:03 -0500 Subject: [PATCH 1832/2186] Shimcache Extension: Fix logic error in `exec_flag` Adds needed return statements in `exec_flag` method in order to avoid `InvalidAddressException` when reading from invalid memory after an `is_valid` check has already been performed. --- .../framework/symbols/windows/extensions/shimcache.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/volatility3/framework/symbols/windows/extensions/shimcache.py b/volatility3/framework/symbols/windows/extensions/shimcache.py index 279a1995c..a80ecc0ea 100644 --- a/volatility3/framework/symbols/windows/extensions/shimcache.py +++ b/volatility3/framework/symbols/windows/extensions/shimcache.py @@ -57,12 +57,14 @@ class SHIM_CACHE_ENTRY(objects.StructType): blob_offset, blob_size ): self._exec_flag = renderers.UnparsableValue() + return self._exec_flag raw_flag = self._context.layers[self.vol.native_layer_name].read( blob_offset, blob_size ) if not raw_flag: self._exec_flag = renderers.UnparsableValue() + return self._exec_flag try: self._exec_flag = bool(struct.unpack(" Date: Mon, 14 Apr 2025 11:41:00 -0500 Subject: [PATCH 1833/2186] Shimcache: Use `self.Path.vol.count` instead of hardcoded value --- volatility3/framework/symbols/windows/extensions/shimcache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/shimcache.py b/volatility3/framework/symbols/windows/extensions/shimcache.py index a80ecc0ea..2e7c68fa9 100644 --- a/volatility3/framework/symbols/windows/extensions/shimcache.py +++ b/volatility3/framework/symbols/windows/extensions/shimcache.py @@ -136,7 +136,7 @@ class SHIM_CACHE_ENTRY(objects.StructType): self._context, self.Path.vol.layer_name, self.Path.vol.offset, - 520, + self.Path.vol.count, encoding="utf-16le", ) From 17f9d218c93fd47ea491e0a7ce0ae746a46ca092 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 16:17:20 -0500 Subject: [PATCH 1834/2186] Windows PsList: Fix list traversal logic The traversal of `ActiveProcessLinks` from `PsActiveProcessHead` was only being done in the forward direction; if for some reason `PsActiveProcessHead` hasn't been updated to point at the 'current' list head, entries in the backwards traversal direction will be missed. --- volatility3/framework/plugins/windows/pslist.py | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index b92fdf66c..fb28b1843 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -6,13 +6,13 @@ import datetime import logging from typing import Callable, Iterator, List, Optional, Type -from volatility3.framework import renderers, interfaces, layers, exceptions, constants +from volatility3.framework import constants, exceptions, interfaces, layers, renderers from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.framework.symbols import intermed -from volatility3.framework.symbols.windows.extensions import pe from volatility3.framework.symbols.windows import extensions +from volatility3.framework.symbols.windows.extensions import pe from volatility3.plugins import timeliner vollog = logging.getLogger(__name__) @@ -261,9 +261,16 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): absolute=True, ) - for proc in eproc.ActiveProcessLinks: - if not filter_func(proc): - yield proc + seen = set() + for forward in (True, False): + for proc in eproc.ActiveProcessLinks.to_list( + eproc.vol.type_name, "ActiveProcessLinks", forward=forward + ): + if proc.vol.offset in seen: + continue + seen.add(proc.vol.offset) + if not filter_func(proc): + yield proc def _generator(self): kernel = self.context.modules[self.config["kernel"]] From 8f9bebdc86af17b02c3efa8b07ed0ec96d5cc442 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 17:10:22 -0500 Subject: [PATCH 1835/2186] Linux PsList: Fix process list traversal Fixes linux process listing by traversing the list backwards as well as forwards while tracking seen process offsets to avoid duplicates. --- volatility3/framework/plugins/linux/pslist.py | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 2f0cc00b7..28009ec06 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -262,17 +262,27 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): init_task = vmlinux.object_from_symbol(symbol_name="init_task") # Note that the init_task itself is not yielded, since "ps" also never shows it. - for task in init_task.tasks: - if not task.is_valid(): - continue + seen = set() + for forward in (True, False): + for task in init_task.tasks.to_list( + symbol_type=init_task.vol.type_name, + member="tasks", + forward=forward, + ): + if task.vol.offset in seen: + continue + seen.add(task.vol.offset) - if filter_func(task): - continue + if not task.is_valid(): + continue - yield task + if filter_func(task): + continue - if include_threads: - yield from task.get_threads() + yield task + + if include_threads: + yield from task.get_threads() def run(self): pids = self.config.get("pid") From 91e23e0c71d0471fcc1f8bd6a359925386a5c6be Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 17:15:28 -0500 Subject: [PATCH 1836/2186] Bumps patch version for pslist plugins --- volatility3/framework/plugins/linux/pslist.py | 2 +- volatility3/framework/plugins/windows/pslist.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 28009ec06..9b31976ec 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -34,7 +34,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists the processes present in a particular linux memory image.""" _required_framework_version = (2, 13, 0) - _version = (4, 1, 0) + _version = (4, 1, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index fb28b1843..0048730ea 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -24,7 +24,7 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): _required_framework_version = (2, 0, 0) # 3.0.0 - changed signature for `list_processes` - _version = (3, 0, 0) + _version = (3, 0, 1) PHYSICAL_DEFAULT = False @classmethod From 2e206fe698a7cdf7f5fd938930df148dae8711ce Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 17:17:02 -0500 Subject: [PATCH 1837/2186] Add keywords to parameters --- volatility3/framework/plugins/windows/pslist.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 0048730ea..1043f8b42 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -264,7 +264,9 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): seen = set() for forward in (True, False): for proc in eproc.ActiveProcessLinks.to_list( - eproc.vol.type_name, "ActiveProcessLinks", forward=forward + symbol_type=eproc.vol.type_name, + member="ActiveProcessLinks", + forward=forward, ): if proc.vol.offset in seen: continue From 3b723f8be38596623b5a50fd5d8139960c7c5598 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 10 Apr 2025 15:43:21 -0500 Subject: [PATCH 1838/2186] Linux pagecache.Files: Memory Usage Converts `objects.Pointer` to `int` before storing them in the set. This should have a substantial impact on memory, similar to those in #1758 --- volatility3/framework/plugins/linux/mountinfo.py | 4 ++-- volatility3/framework/plugins/linux/pagecache.py | 13 +++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index 668b039db..9790c4b57 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -279,9 +279,9 @@ class MountInfo(plugins.PluginInterface): if not (sb_ptr and sb_ptr.is_readable()): continue - if sb_ptr in seen_sb_ptr: + if int(sb_ptr) in seen_sb_ptr: continue - seen_sb_ptr.add(sb_ptr) + seen_sb_ptr.add(int(sb_ptr)) superblock = sb_ptr.dereference() diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 60b8b066b..6c27c94b2 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -204,10 +204,10 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): if dentry_addr == root_dentry.vol.offset: continue - if dentry_addr in seen_dentries: + if int(dentry_addr) in seen_dentries: continue - seen_dentries.add(dentry_addr) + seen_dentries.add(int(dentry_addr)) inode_ptr = dentry.d_inode if not (inode_ptr and inode_ptr.is_readable()): @@ -283,9 +283,10 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): continue # Inode already processed? - if root_inode_ptr in seen_inodes: + if int(root_inode_ptr) in seen_inodes: continue - seen_inodes.add(root_inode_ptr) + + seen_inodes.add(int(root_inode_ptr)) root_path = mountpoint @@ -318,9 +319,9 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): continue # Inode already processed? - if file_inode_ptr in seen_inodes: + if int(file_inode_ptr) in seen_inodes: continue - seen_inodes.add(file_inode_ptr) + seen_inodes.add(int(file_inode_ptr)) if follow_symlinks: file_path = cls._follow_symlink(file_inode_ptr, file_path) From c641690c5366bd0c65864438e87157b6dc9218ce Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 09:10:38 -0500 Subject: [PATCH 1839/2186] Pagecache: revert cast to int `dentry.vol.offset` is already a basic Python `int`. --- volatility3/framework/plugins/linux/pagecache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 6c27c94b2..7da42255d 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -204,10 +204,10 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): if dentry_addr == root_dentry.vol.offset: continue - if int(dentry_addr) in seen_dentries: + if dentry_addr in seen_dentries: continue - seen_dentries.add(int(dentry_addr)) + seen_dentries.add(dentry_addr) inode_ptr = dentry.d_inode if not (inode_ptr and inode_ptr.is_readable()): From 9ceec51b76711419d89ccf5ff1ae0b25a5b36f68 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 09:11:24 -0500 Subject: [PATCH 1840/2186] Pagecache: Add comments explaining cast Adds a couple of comments explaining why we're doing a lossy conversion to Python `int` (saving memory). --- volatility3/framework/plugins/linux/pagecache.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 7da42255d..87bd20b68 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -283,6 +283,10 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): continue # Inode already processed? + # Store a primitive int (instead of the pointer value) to track + # addresses we've already seen. Storing the full `objects.Pointer` + # uses too much memory, and we don't need all of the information + # that it contains. if int(root_inode_ptr) in seen_inodes: continue @@ -319,6 +323,10 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): continue # Inode already processed? + # Store a primitive int (instead of the pointer value) to track + # addresses we've already seen. Storing the full `objects.Pointer` + # uses too much memory, and we don't need all of the information + # that it contains. if int(file_inode_ptr) in seen_inodes: continue seen_inodes.add(int(file_inode_ptr)) From a236c0dd40a640850e6e9408c1dfbce502c4346b Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 18:30:19 -0500 Subject: [PATCH 1841/2186] linux.pagecache.Files: Trim unneeded cast Removes casts to `int` performed before checking set membership, since the computed `__hash__` value will be the same for both the Python primitive and the volatility `objects.Pointer`. --- volatility3/framework/plugins/linux/pagecache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 87bd20b68..1fd96d5d2 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -287,7 +287,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): # addresses we've already seen. Storing the full `objects.Pointer` # uses too much memory, and we don't need all of the information # that it contains. - if int(root_inode_ptr) in seen_inodes: + if root_inode_ptr in seen_inodes: continue seen_inodes.add(int(root_inode_ptr)) @@ -327,7 +327,7 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): # addresses we've already seen. Storing the full `objects.Pointer` # uses too much memory, and we don't need all of the information # that it contains. - if int(file_inode_ptr) in seen_inodes: + if file_inode_ptr in seen_inodes: continue seen_inodes.add(int(file_inode_ptr)) From d29be5cbdea0ac75d4895588f98e92198408d5e0 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 18:38:47 -0500 Subject: [PATCH 1842/2186] Linux MountInfo: Remove unneeded cast --- volatility3/framework/plugins/linux/mountinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/mountinfo.py b/volatility3/framework/plugins/linux/mountinfo.py index 9790c4b57..f00733a54 100644 --- a/volatility3/framework/plugins/linux/mountinfo.py +++ b/volatility3/framework/plugins/linux/mountinfo.py @@ -279,7 +279,7 @@ class MountInfo(plugins.PluginInterface): if not (sb_ptr and sb_ptr.is_readable()): continue - if int(sb_ptr) in seen_sb_ptr: + if sb_ptr in seen_sb_ptr: continue seen_sb_ptr.add(int(sb_ptr)) From 02fbb3ce4933349edd90e170515268c23e610bc5 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 15 Apr 2025 10:14:58 -0500 Subject: [PATCH 1843/2186] Poolscanners: Fix symlink pool types Fixes regression introduced in #1632 Symbolic links are allocated in the paged pools, not non-paged. This was causing us to miss symlinks across both pre and post win8 samples. --- volatility3/framework/plugins/windows/poolscanner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 7929b70e4..f62a34962 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -343,7 +343,7 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_OBJECT_SYMBOLIC_LINK", object_type="SymbolicLink", size=(72, None), - page_type=PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.PAGED | PoolType.FREE, ), # symlinks on windows starting with windows 8 PoolConstraint( @@ -351,7 +351,7 @@ class PoolScanner(plugins.PluginInterface): type_name=symbol_table + constants.BANG + "_OBJECT_SYMBOLIC_LINK", object_type="SymbolicLink", size=(72, None), - page_type=PoolType.NONPAGED | PoolType.FREE, + page_type=PoolType.PAGED | PoolType.FREE, ), # registry hives PoolConstraint( From d745a62d7faa7cb91f2b77ca96b031d09a044b2b Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 15 Apr 2025 10:21:52 -0500 Subject: [PATCH 1844/2186] PoolScanner: Patch version bump Bumping the patch version due to bugfix. --- volatility3/framework/plugins/windows/poolscanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index f62a34962..7030b4c9a 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -131,7 +131,7 @@ class PoolScanner(plugins.PluginInterface): """A generic pool scanner plugin.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 0) + _version = (3, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 32e9cee6dd64f41145d723f0a864548d995d5fc7 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 15 Apr 2025 10:43:12 -0500 Subject: [PATCH 1845/2186] Tests: Add Symlinkscan generic test This should be enough to prevent serious regressions that break all output. --- test/plugins/windows/windows.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index 6733d543e..0db3aa35b 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -746,6 +746,19 @@ class TestWindowsKPCRs: assert test_volatility.count_entries_flat(json.loads(out)) > 0 +class TestWindowsSymlinkScan: + def test_windows_generic_symlinkscan(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.symlinkscan.SymlinkScan", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + assert test_volatility.count_entries_flat(json.loads(out)) > 0 + + class TestWindowsLdrModules: def test_windows_specific_ldrmodules(self, volatility, python): image = WindowsSamples.WINDOWSXP_GENERIC.value.path From 2199375dd52af3913eb4abf7fe5e05ac6c625941 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 15 Apr 2025 10:48:49 -0500 Subject: [PATCH 1846/2186] Tests: Add symlinkscan specific test --- test/plugins/windows/windows.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index 0db3aa35b..4272b64d2 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -758,6 +758,38 @@ class TestWindowsSymlinkScan: assert rc == 0 assert test_volatility.count_entries_flat(json.loads(out)) > 0 + def test_windows_specific_symlinkscan(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "windows.symlinkscan.SymlinkScan", + image, + volatility, + python, + globalargs=("-r", "json"), + ) + assert rc == 0 + json_out = json.loads(out) + assert test_volatility.count_entries_flat(json_out) > 5 + expected_rows = [ + { + "CreateTime": "2005-06-25T16:47:28+00:00", + "From Name": "AUX", + "Offset": 453082584, + "To Name": "\\DosDevices\\COM1", + "__children": [] + }, + { + "CreateTime": "2005-06-25T16:47:28+00:00", + "From Name": "UNC", + "Offset": 453176664, + "To Name": "\\Device\\Mup", + "__children": [] + } + ] + + for expected_row in expected_rows: + assert test_volatility.match_output_row(expected_row, json_out) + class TestWindowsLdrModules: def test_windows_specific_ldrmodules(self, volatility, python): From 537efa60e28d0a9ad23c5b0017618c853f338441 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 15 Apr 2025 13:24:59 -0500 Subject: [PATCH 1847/2186] Thrdscan: Remove filtering based on VAD count This was preventing enumeration of valid processes (confirmed by disassembly of the start address/Win32 start address). Heuristic-based filtering should probably be left to consumers of the APIs. --- volatility3/framework/plugins/windows/thrdscan.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 0ac3d0c33..8fe13ba64 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -119,11 +119,6 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) vads = pe_symbols.PESymbols.get_vads_for_process_cache( vads_cache, owner_proc ) - if not vads or len(vads) < 5: - vollog.debug( - f"Not enough vads for process at {owner_proc.vol.offset:#x}. Skipping thread at {ethread.vol.offset:#x}" - ) - return None start_path = pe_symbols.PESymbols.filepath_for_address( vads, thread_start_addr From b04a498cd755ad511e85c923a00943551b991b41 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 15 Apr 2025 13:23:41 -0500 Subject: [PATCH 1848/2186] ThrdScan: Fix process filtering This check was both causing an `InvalidAddressException` due to the member access, while at the same time not being a useful check, since it prevents VADs from being mapped in children of the `System` process. --- .../framework/plugins/windows/thrdscan.py | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 8fe13ba64..1e7466dc5 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -111,24 +111,23 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) return None # don't look for VADs in kernel threads, just let them get reported with empty paths - if ( - owner_proc_pid != 4 - and owner_proc.InheritedFromUniqueProcessId != 4 - and vads_cache is not None - ): + if owner_proc_pid != 4 and vads_cache is not None: vads = pe_symbols.PESymbols.get_vads_for_process_cache( vads_cache, owner_proc ) - - start_path = pe_symbols.PESymbols.filepath_for_address( - vads, thread_start_addr - ) - win32start_path = pe_symbols.PESymbols.filepath_for_address( - vads, thread_win32start_addr - ) else: - start_path = None - win32start_path = None + vads = None + + start_path = ( + pe_symbols.PESymbols.filepath_for_address(vads, thread_start_addr) + if vads + else None + ) + win32start_path = ( + pe_symbols.PESymbols.filepath_for_address(vads, thread_win32start_addr) + if vads + else None + ) return ( format_hints.Hex(thread_offset), From 4ce173e87a868054f9ad3823f0f4a0c84e757731 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 15 Apr 2025 15:52:54 -0500 Subject: [PATCH 1849/2186] ShimcacheMem: Fix traceback in extension method When performing the attribute checks for ListFlags.BlobBuffer, a pointer dereference occurs implicitly that can trigger an `exceptions.InvalidAddressException`. This wraps the checks in a try/except block, and sets the value of `_exec_flag` to `renderers.UnreadableValue` if one occurs. --- .../symbols/windows/extensions/shimcache.py | 63 ++++++++++--------- 1 file changed, 35 insertions(+), 28 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/shimcache.py b/volatility3/framework/symbols/windows/extensions/shimcache.py index 2e7c68fa9..9e75e7579 100644 --- a/volatility3/framework/symbols/windows/extensions/shimcache.py +++ b/volatility3/framework/symbols/windows/extensions/shimcache.py @@ -39,37 +39,44 @@ class SHIM_CACHE_ENTRY(objects.StructType): if self._exec_flag is not None: return self._exec_flag - if hasattr(self, "ListEntryDetail") and hasattr( - self.ListEntryDetail, "InsertFlags" - ): - self._exec_flag = self.ListEntryDetail.InsertFlags & 0x2 == 2 - - elif hasattr(self, "InsertFlags"): - self._exec_flag = self.InsertFlags & 0x2 == 2 - - elif hasattr(self, "ListEntryDetail") and hasattr( - self.ListEntryDetail, "BlobBuffer" - ): - blob_offset = self.ListEntryDetail.BlobBuffer - blob_size = self.ListEntryDetail.BlobSize - - if not self._context.layers[self.vol.native_layer_name].is_valid( - blob_offset, blob_size + try: + if hasattr(self, "ListEntryDetail") and hasattr( + self.ListEntryDetail, "InsertFlags" ): - self._exec_flag = renderers.UnparsableValue() - return self._exec_flag + self._exec_flag = self.ListEntryDetail.InsertFlags & 0x2 == 2 - raw_flag = self._context.layers[self.vol.native_layer_name].read( - blob_offset, blob_size + elif hasattr(self, "InsertFlags"): + self._exec_flag = self.InsertFlags & 0x2 == 2 + + elif hasattr(self, "ListEntryDetail") and hasattr( + self.ListEntryDetail, "BlobBuffer" + ): + blob_offset = self.ListEntryDetail.BlobBuffer + blob_size = self.ListEntryDetail.BlobSize + + if not self._context.layers[self.vol.native_layer_name].is_valid( + blob_offset, blob_size + ): + self._exec_flag = renderers.UnparsableValue() + return self._exec_flag + + raw_flag = self._context.layers[self.vol.native_layer_name].read( + blob_offset, blob_size + ) + if not raw_flag: + self._exec_flag = renderers.UnparsableValue() + return self._exec_flag + + try: + self._exec_flag = bool(struct.unpack(" Date: Tue, 15 Apr 2025 15:55:52 -0500 Subject: [PATCH 1850/2186] Shimcachemem: Changes absent value return type This is more appropriately set to `renderers.UnreadableValue` since it is set when an `exceptions.InvalidAddressException` occurs. --- volatility3/framework/symbols/windows/extensions/shimcache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/extensions/shimcache.py b/volatility3/framework/symbols/windows/extensions/shimcache.py index 9e75e7579..3b32d30c7 100644 --- a/volatility3/framework/symbols/windows/extensions/shimcache.py +++ b/volatility3/framework/symbols/windows/extensions/shimcache.py @@ -57,7 +57,7 @@ class SHIM_CACHE_ENTRY(objects.StructType): if not self._context.layers[self.vol.native_layer_name].is_valid( blob_offset, blob_size ): - self._exec_flag = renderers.UnparsableValue() + self._exec_flag = renderers.UnreadableValue() return self._exec_flag raw_flag = self._context.layers[self.vol.native_layer_name].read( From 330e19f1594a70437be1290e9c71829461942fed Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 15 Apr 2025 23:04:49 +0200 Subject: [PATCH 1851/2186] call parent get_requirements() --- volatility3/framework/layers/qemu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/qemu.py b/volatility3/framework/layers/qemu.py index eb44de347..0ab359559 100644 --- a/volatility3/framework/layers/qemu.py +++ b/volatility3/framework/layers/qemu.py @@ -102,7 +102,7 @@ class QemuSuspendLayer(segmented.NonLinearlySegmentedLayer): @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ + return super().get_requirements() + [ requirements.VersionRequirement( name="regex_scanner", component=scanners.RegExScanner, From 4c6188766c5b453734b909d0c3b4fcab40931059 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 15 Apr 2025 23:05:00 +0200 Subject: [PATCH 1852/2186] black --- volatility3/framework/layers/qemu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/layers/qemu.py b/volatility3/framework/layers/qemu.py index 0ab359559..5190027c4 100644 --- a/volatility3/framework/layers/qemu.py +++ b/volatility3/framework/layers/qemu.py @@ -115,7 +115,7 @@ class QemuSuspendLayer(segmented.NonLinearlySegmentedLayer): cls, base_layer: interfaces.layers.DataLayerInterface, name: str = "" ): header = base_layer.read(0, 8) - if header[:4] != b"\x51\x45\x56\x4D": + if header[:4] != b"\x51\x45\x56\x4d": raise exceptions.LayerException(name, "No QEMU magic bytes") if header[4:] != b"\x00\x00\x00\x03": raise exceptions.LayerException(name, "Unsupported QEMU version found") From ff5d736f94071aa3de9677f124ffb9fe79bcd367 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 17 Apr 2025 20:35:38 +0100 Subject: [PATCH 1853/2186] Amend SvcDiff comments at top of file Previously contained information about Skeleton_Key_Check, change this to be about SvcDiff. --- volatility3/framework/plugins/windows/svcdiff.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py index d2c3da3d3..78b61eb67 100644 --- a/volatility3/framework/plugins/windows/svcdiff.py +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -1,15 +1,13 @@ # This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # - -# This module attempts to locate skeleton-key like function hooks. -# It does this by locating the CSystems array through a variety of methods, -# and then validating the entry for RC4 HMAC (0x17 / 23) +# This module compares services found through list walking versus scanning, +# with the aim of finding hidden services. # -# For a thorough walkthrough on how the R&D was performed to develop this plugin, -# please see our blogpost here: +# For background of hidden services and a real-world example of the use of this plugin, +# please see our blogpost: # -# https://volatility-labs.blogspot.com/2021/10/memory-forensics-r-illustrated.html +# https://volatilityfoundation.org/memory-forensics-rd-illustrated-detecting-hidden-windows-services/ import logging From 4d19181848d4728f3e94bc03b200721c9399e62d Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Thu, 17 Apr 2025 16:42:17 -0500 Subject: [PATCH 1854/2186] #1780 - add LoadCount to dlllist output --- volatility3/framework/plugins/windows/dlllist.py | 6 ++++++ volatility3/framework/symbols/windows/__init__.py | 1 + .../symbols/windows/extensions/__init__.py | 14 ++++++++++++++ 3 files changed, 21 insertions(+) diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index b851cf7fd..1e8ecd414 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -173,6 +173,10 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): except exceptions.InvalidAddressException: size_of_image = renderers.NotAvailableValue() + LoadCount = entry.get_load_count() + if LoadCount is None: + LoadCount = renderers.NotAvailableValue() + yield ( 0, ( @@ -186,6 +190,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): size_of_image, BaseDllName, FullDllName, + LoadCount, DllLoadTime, file_output, ), @@ -232,6 +237,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ("Size", format_hints.Hex), ("Name", str), ("Path", str), + ("LoadCount", int), ("LoadTime", datetime.datetime), ("File output", str), ], diff --git a/volatility3/framework/symbols/windows/__init__.py b/volatility3/framework/symbols/windows/__init__.py index f9541579e..3296d7d2c 100755 --- a/volatility3/framework/symbols/windows/__init__.py +++ b/volatility3/framework/symbols/windows/__init__.py @@ -41,6 +41,7 @@ class WindowsKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("_POOL_TRACKER_BIG_PAGES", pool.POOL_TRACKER_BIG_PAGES) self.set_type_class("_IMAGE_DOS_HEADER", pe.IMAGE_DOS_HEADER) self.set_type_class("_KTIMER", extensions.KTIMER) + self.set_type_class("_LDR_DATA_TABLE_ENTRY", extensions.LDR_DATA_TABLE_ENTRY) # Might not necessarily defined in every version of windows self.optional_set_type_class("_IMAGE_NT_HEADERS", pe.IMAGE_NT_HEADERS) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 4fc65564e..a814fd12c 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -1710,3 +1710,17 @@ class SHARED_CACHE_MAP(objects.StructType): ) return vacb_list + +class LDR_DATA_TABLE_ENTRY(objects.StructType): + def get_load_count(self) -> Optional[int]: + try: + LoadCount = self.LoadCount + except: + try: + LoadCount = self.ObsoleteLoadCount + except: + LoadCount = None + if LoadCount == 65535: + LoadCount = -1 + + return LoadCount From 094ba8e269d5a212e13bae4e7642da86cffec0a6 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Thu, 17 Apr 2025 16:44:22 -0500 Subject: [PATCH 1855/2186] #1780 - black and ruff fixes --- volatility3/framework/symbols/windows/extensions/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index a814fd12c..61138a78c 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -1711,14 +1711,15 @@ class SHARED_CACHE_MAP(objects.StructType): return vacb_list + class LDR_DATA_TABLE_ENTRY(objects.StructType): def get_load_count(self) -> Optional[int]: try: LoadCount = self.LoadCount - except: + except Exception: try: LoadCount = self.ObsoleteLoadCount - except: + except Exception: LoadCount = None if LoadCount == 65535: LoadCount = -1 From 2641e5fc41b986b63f3772c90d79765c0b812574 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 21 Apr 2025 15:50:57 -0500 Subject: [PATCH 1856/2186] ShimcacheMem: Fix exc getting module name `module.BaseDll.String` can raise an `InvalidAddressException`, this catches it and continues through the loop. --- .../framework/plugins/windows/shimcachemem.py | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index f60e5c5cf..5c0af7766 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -582,13 +582,19 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf :return: The offset and size of the module, if found; Otherwise, returns `None` """ - try: - krnl_mod = next( - module - for module in modules.Modules.list_modules(context, kernel_module_name) - if module.BaseDllName.String in module_list - ) - except StopIteration: + krnl_mod = None + for module in modules.Modules.list_modules(context, kernel_module_name): + try: + if module.BaseDllName.String in module_list: + krnl_mod = module + break + except exceptions.InvalidAddressException as exc: + vollog.warning( + f"Failed to get kernel module due to {exc.__class__.__name__}: {exc.invalid_address:#x}" + ) + + if krnl_mod is None: + vollog.warning("Failed to find kernel module") return None kernel = context.modules[kernel_module_name] From bb91d688cb03db5afdf1cb72d76a972473896f05 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 23 Apr 2025 10:57:22 -0500 Subject: [PATCH 1857/2186] Windows Handles: Convert to classmethods A lot of functionality in this plugin class was using instance methods instead of classmethods; this refactors the plugin to use classmethods instead of instance methods for consistency with the rest of the framework, and bumps the plugin major version to 4.0.0. --- .../framework/plugins/windows/handles.py | 90 +++++++++++++------ 1 file changed, 62 insertions(+), 28 deletions(-) diff --git a/volatility3/framework/plugins/windows/handles.py b/volatility3/framework/plugins/windows/handles.py index 2f257772f..64043d51d 100644 --- a/volatility3/framework/plugins/windows/handles.py +++ b/volatility3/framework/plugins/windows/handles.py @@ -3,7 +3,7 @@ # import logging -from typing import Dict, List, Optional +from typing import Dict, Iterator, List, Optional from volatility3.framework import constants, exceptions, interfaces, renderers, symbols from volatility3.framework.configuration import requirements @@ -18,13 +18,9 @@ class Handles(interfaces.plugins.PluginInterface): """Lists process open handles.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 0) + _version = (4, 0, 0) - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - self._type_map = None - self._cookie = None - self._level_mask = 7 + LEVEL_MASK = 7 @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -54,18 +50,27 @@ class Handles(interfaces.plugins.PluginInterface): ), ] - def _get_item(self, handle_table_entry, handle_value): - """Given a handle table entry (_HANDLE_TABLE_ENTRY) structure from a + @classmethod + def _get_item( + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + handle_table_entry: interfaces.objects.ObjectInterface, + handle_value: int, + ) -> Optional[interfaces.objects.ObjectInterface]: + """ + Given a handle table entry (_HANDLE_TABLE_ENTRY) structure from a process' handle table, determine where the corresponding object's - _OBJECT_HEADER can be found.""" + _OBJECT_HEADER can be found, and construct and return the _OBJECT_HEADER + """ - kernel = self.context.modules[self.config["kernel"]] + kernel = context.modules[kernel_module_name] virtual = kernel.layer_name try: # before windows 7 - if not self.context.layers[virtual].is_valid(handle_table_entry.Object): + if not context.layers[virtual].is_valid(handle_table_entry.Object): return None fast_ref = handle_table_entry.Object.cast("_EX_FAST_REF") @@ -78,7 +83,7 @@ class Handles(interfaces.plugins.PluginInterface): except AttributeError: # starting with windows 8 is_64bit = symbols.symbol_table_is_64bit( - context=self.context, symbol_table_name=kernel.symbol_table_name + context=context, symbol_table_name=kernel.symbol_table_name ) if is_64bit: @@ -104,7 +109,7 @@ class Handles(interfaces.plugins.PluginInterface): offset = info_table & ~7 # print("LowValue: {0:#x} Magic: {1:#x} Offset: {2:#x}".format(handle_table_entry.InfoTable, magic, offset)) - object_header = self.context.object( + object_header = context.object( kernel.symbol_table_name + constants.BANG + "_OBJECT_HEADER", virtual, offset=offset, @@ -205,11 +210,23 @@ class Handles(interfaces.plugins.PluginInterface): offset=symbol_offset, ) - def _make_handle_array(self, offset, level, depth=0): - """Parse a process' handle table and yield valid handle table entries, - going as deep into the table "levels" as necessary.""" + @classmethod + def _make_handle_array( + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + offset: int, + level: int, + depth: int = 0, + ) -> Iterator[interfaces.objects.ObjectInterface]: + """ + Parses a process' handle table by constructing an array of + `_HANDLE_TABLE_ENTRY` structures at the given offset, and yields valid + handle table entries, going as deep into the table "levels" as + necessary. + """ - kernel = self.context.modules[self.config["kernel"]] + kernel = context.modules[kernel_module_name] if level > 0: subtype = kernel.get_type("pointer") @@ -218,7 +235,7 @@ class Handles(interfaces.plugins.PluginInterface): subtype = kernel.get_type("_HANDLE_TABLE_ENTRY") count = 0x1000 / subtype.size - if not self.context.layers[kernel.layer_name].is_valid(offset): + if not context.layers[kernel.layer_name].is_valid(offset): return None table = kernel.object( @@ -229,7 +246,7 @@ class Handles(interfaces.plugins.PluginInterface): absolute=True, ) - layer_object = self.context.layers[kernel.layer_name] + layer_object = context.layers[kernel.layer_name] masked_offset = offset & layer_object.maximum_address for i in range(len(table)): @@ -243,11 +260,13 @@ class Handles(interfaces.plugins.PluginInterface): # The code above this calls `is_valid` on the `offset` # It is sent but then does not validate `entry` before # sending it to `_get_item` - if not self.context.layers[kernel.layer_name].is_valid(entry.vol.offset): + if not context.layers[kernel.layer_name].is_valid(entry.vol.offset): continue if level > 0: - yield from self._make_handle_array(entry, level - 1, depth) + yield from cls._make_handle_array( + context, kernel_module_name, entry, level - 1, depth + ) depth += 1 else: handle_multiplier = 4 @@ -258,7 +277,7 @@ class Handles(interfaces.plugins.PluginInterface): / (subtype.size / handle_multiplier) ) + handle_level_base - item = self._get_item(entry, handle_value) + item = cls._get_item(context, kernel_module_name, entry, handle_value) if item is None: continue @@ -272,10 +291,21 @@ class Handles(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: continue - def handles(self, handle_table): + @classmethod + def handles( + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + handle_table: interfaces.objects.ObjectInterface, + ) -> Iterator[interfaces.objects.ObjectInterface]: + """ + Takes a context, kernel module name, and handle table structure + (_HANDLE_TABLE), and yields _HANDLE_TABLE_ENTRY structures from the + handle table. + """ try: - TableCode = handle_table.TableCode & ~self._level_mask - table_levels = handle_table.TableCode & self._level_mask + TableCode = handle_table.TableCode & ~cls.LEVEL_MASK + table_levels = handle_table.TableCode & cls.LEVEL_MASK except exceptions.InvalidAddressException: vollog.log( constants.LOGLEVEL_VVV, @@ -283,7 +313,9 @@ class Handles(interfaces.plugins.PluginInterface): ) return None - yield from self._make_handle_array(TableCode, table_levels) + yield from cls._make_handle_array( + context, kernel_module_name, TableCode, table_levels + ) def _generator(self, procs): type_map = self.get_type_map( @@ -306,7 +338,9 @@ class Handles(interfaces.plugins.PluginInterface): process_name = utility.array_to_string(proc.ImageFileName) - for entry in self.handles(object_table): + for entry in self.handles( + self.context, self.config["kernel"], object_table + ): try: obj_type = entry.get_object_type(type_map, cookie) if obj_type is None: From bceae67d439e24422531ffc8a3ea151e9e22f911 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Wed, 23 Apr 2025 11:18:38 -0500 Subject: [PATCH 1858/2186] Windows Handles: Update dependents This updates the plugins that depend on `Handles` with the correct required version number, as well as calls to the new handles classmethods where needed. --- .../framework/plugins/windows/callbacks.py | 2 +- .../framework/plugins/windows/dumpfiles.py | 27 ++++++++----------- .../framework/plugins/windows/poolscanner.py | 2 +- .../framework/plugins/windows/psxview.py | 23 +++++++--------- 4 files changed, 22 insertions(+), 32 deletions(-) diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index bcdd37869..b8c9fe751 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -48,7 +48,7 @@ class Callbacks(interfaces.plugins.PluginInterface): name="driverirp", component=driverirp.DriverIrp, version=(1, 0, 0) ), requirements.VersionRequirement( - name="handles", component=handles.Handles, version=(3, 0, 0) + name="handles", component=handles.Handles, version=(4, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/dumpfiles.py b/volatility3/framework/plugins/windows/dumpfiles.py index e23b8ec3a..d069bc9f1 100755 --- a/volatility3/framework/plugins/windows/dumpfiles.py +++ b/volatility3/framework/plugins/windows/dumpfiles.py @@ -5,18 +5,12 @@ import logging import ntpath import re -from typing import List, Tuple, Type, Optional, Generator +from typing import Generator, List, Optional, Tuple, Type -from volatility3.framework import ( - interfaces, - exceptions, - constants, - renderers, -) +from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import handles -from volatility3.plugins.windows import pslist +from volatility3.plugins.windows import handles, pslist vollog = logging.getLogger(__name__) @@ -76,7 +70,7 @@ class DumpFiles(interfaces.plugins.PluginInterface): name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="handles", component=handles.Handles, version=(3, 0, 0) + name="handles", component=handles.Handles, version=(4, 0, 0) ), ] @@ -231,14 +225,11 @@ class DumpFiles(interfaces.plugins.PluginInterface): # private variables, so we need an instance (for now, anyway). We _could_ call Handles._generator() # to do some of the other work that is duplicated here, but then we'd need to parse the TreeGrid # results instead of just dealing with them as direct objects here. - handles_plugin = handles.Handles( - context=self.context, config_path=self._config_path - ) - type_map = handles_plugin.get_type_map( + type_map = handles.Handles.get_type_map( context=self.context, kernel_module_name=self.config["kernel"], ) - cookie = handles_plugin.find_cookie( + cookie = handles.Handles.find_cookie( context=self.context, kernel_module_name=self.config["kernel"], ) @@ -255,7 +246,11 @@ class DumpFiles(interfaces.plugins.PluginInterface): ) continue - for entry in handles_plugin.handles(object_table): + for entry in handles.Handles.handles( + context=self.context, + kernel_module_name=self.config["kernel"], + handle_table=object_table, + ): try: obj_type = entry.get_object_type(type_map, cookie) if obj_type == "File": diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 7030b4c9a..157282ce1 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -142,7 +142,7 @@ class PoolScanner(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="handles", component=handles.Handles, version=(3, 0, 0) + name="handles", component=handles.Handles, version=(4, 0, 0) ), requirements.VersionRequirement( name="pool_header_scanner", diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 142987c3e..51616a22c 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -9,12 +9,7 @@ from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.renderers import format_hints from volatility3.framework.symbols.windows import extensions -from volatility3.plugins.windows import ( - handles, - pslist, - psscan, - thrdscan, -) +from volatility3.plugins.windows import handles, pslist, psscan, thrdscan vollog = logging.getLogger(__name__) @@ -58,7 +53,7 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) ), requirements.VersionRequirement( - name="handles", component=handles.Handles, version=(3, 0, 0) + name="handles", component=handles.Handles, version=(4, 0, 0) ), requirements.BooleanRequirement( name="physical-offsets", @@ -144,15 +139,11 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter ) -> Dict[int, extensions.EPROCESS]: ret: List[extensions.EPROCESS] = [] - handles_plugin = handles.Handles( - context=self.context, config_path=self.config_path - ) - - type_map = handles_plugin.get_type_map( + type_map = handles.Handles.get_type_map( context=self.context, kernel_module_name=self.config["kernel"] ) - cookie = handles_plugin.find_cookie( + cookie = handles.Handles.find_cookie( context=self.context, kernel_module_name=self.config["kernel"] ) @@ -164,7 +155,11 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter try: ret += [ handle.Body.cast("_EPROCESS") - for handle in handles_plugin.handles(p.ObjectTable) + for handle in handles.Handles.handles( + context=self.context, + kernel_module_name=self.config["kernel"], + handle_table=p.ObjectTable, + ) if handle.get_object_type(type_map, cookie) == "Process" ] except exceptions.InvalidAddressException: From dcded3a1fc2688c6cba8bf4e1065f12cbe645db3 Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Thu, 24 Apr 2025 09:00:50 +0100 Subject: [PATCH 1859/2186] Update test/test_volatility.py Co-authored-by: ikelos --- test/test_volatility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 3d88eeab1..5491a8836 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -196,7 +196,7 @@ def test_windows_thrdscan(image, volatility, python): assert out.find(b"\t4\t8") != -1 assert out.find(b"\t4\t12") != -1 assert out.find(b"\t4\t16") != -1 - # assert out.find(b"this raieses AssertionError") != -1 + # assert out.find(b"this raises AssertionError") != -1 assert rc == 0 From 0fbe03912e20e40ce64090a007038b00554ec2e0 Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Thu, 24 Apr 2025 09:01:42 +0100 Subject: [PATCH 1860/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 57b4daf31..0ac424481 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -296,6 +296,7 @@ class Sockscan(plugins.PluginInterface): constants.LOGLEVEL_VVVV, f"Unable create results for socket at {hex(sock_physical_addr)} due to invalid address: {error}", ) + return None def _generator(self, symbol_table_name: str): """Scans for sockets. Each row represents a kernel socket. From 95c54351f09de38c0cf4bf0439547f66a33f0b3d Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Thu, 24 Apr 2025 09:01:53 +0100 Subject: [PATCH 1861/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 0ac424481..9f756ecc9 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -225,6 +225,7 @@ class Sockscan(plugins.PluginInterface): constants.LOGLEVEL_VVVV, f"Unable to follow file at {hex(needle_addr)} to socket due to invalid address: {error}", ) + return None def _extract_sock_fields(self, psock, sock_handler): try: From 5e549b2d9204b106c5acdf3248ceba3ef5503cb9 Mon Sep 17 00:00:00 2001 From: eve Date: Thu, 24 Apr 2025 09:10:51 +0100 Subject: [PATCH 1862/2186] Linux: update sockstat requirements --- .../framework/plugins/linux/sockscan.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 9f756ecc9..11ba8c5fb 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -11,9 +11,10 @@ from volatility3.framework.renderers import TreeGrid, NotAvailableValue, format_ from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.symbols import linux -from volatility3.plugins.linux import sockstat -from volatility3.framework import symbols, constants +from volatility3.framework import symbols +from volatility3.plugins.linux import lsof, pslist, sockstat from volatility3.framework.layers import scanners +from volatility3.framework.symbols.linux import network vollog = logging.getLogger(__name__) @@ -33,10 +34,19 @@ class Sockscan(plugins.PluginInterface): architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( - name="SockHandlers", component=sockstat.SockHandlers, version=(1, 0, 0) + name="SockHandlers", component=sockstat.SockHandlers, version=(4, 0, 0) ), requirements.VersionRequirement( - name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) + name="lsof", component=lsof.Lsof, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) + ), + requirements.VersionRequirement( + name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="linux_net", component=network.NetSymbols, version=(1, 0, 0) ), ] From 1a57a66ce60533bdc9e33e6ed16f8e536189ff95 Mon Sep 17 00:00:00 2001 From: eve Date: Thu, 24 Apr 2025 09:11:36 +0100 Subject: [PATCH 1863/2186] Linux: update sockstat ruff issue with f-string using no placeholders --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 11ba8c5fb..27fb5f020 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -134,7 +134,7 @@ class Sockscan(plugins.PluginInterface): ) elif len(kernel_layer.dependencies) == 0: vollog.error( - f"Kernel layer has no dependencies, meaning there is no memory layer for this plugin to scan." + "Kernel layer has no dependencies, meaning there is no memory layer for this plugin to scan." ) raise exceptions.LayerException( vmlinux.layer_name, f"Layer {vmlinux.layer_name} has no dependencies" From e55ab3313f9119a7f455a2066f6f953ea92e9e4c Mon Sep 17 00:00:00 2001 From: eve Date: Thu, 24 Apr 2025 09:16:23 +0100 Subject: [PATCH 1864/2186] Linux: update tests for sockscan --- test/plugins/linux/linux.py | 34 ++++++++++++++++++++++++++++++++++ test/test_volatility.py | 29 ----------------------------- 2 files changed, 34 insertions(+), 29 deletions(-) diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index e39c1d15d..fc01c0c92 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -615,3 +615,37 @@ class TestLinuxPscallstack: rb"1\s+init\s+39\s+0x88001f999a40.*?0xffff81109039\s+do_select\s+T\s+kernel", out, ) + + +class TestLinuxSockscan: + def test_linux_sockscan(image, volatility, python): + # designed for linux-sample-1.dmp SHA1:1C3A4627EDCA94A7ADE3414592BEF0E62D7D3BB6 + image = LinuxSamples.LINUX_GENERIC.value.path + rc, out, err = test_volatility.runvol_plugin( + "linux.sockscan.Sockscan", image, volatility, python + ) + + # ensure that multiple unix paths for sockets have been found + assert ( + len( + re.findall( + rb"(/[ -~]+?){1,8}", + out, + ) + ) + >= 10 + ) + + # ensure that multiple IPv4 addresses have been found + assert ( + len( + re.findall( + rb"((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}", + out, + ) + ) + >= 10 + ) + + assert out.count(b"\n") >= 50 + assert rc == 0 diff --git a/test/test_volatility.py b/test/test_volatility.py index 195b51357..9b7aff4be 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -381,32 +381,3 @@ def test_mac_trustedbsd(image, volatility, python): assert out.count(b"\n") > 10 assert rc == 0 - -def test_linux_sockscan(image, volatility, python): - # designed for linux-sample-1.dmp SHA1:1C3A4627EDCA94A7ADE3414592BEF0E62D7D3BB6 - rc, out, err = runvol_plugin("linux.sockscan.Sockscan", image, volatility, python) - - # ensure that multiple unix paths for sockets have been found - assert ( - len( - re.findall( - rb"(/[ -~]+?){1,8}", - out, - ) - ) - >= 10 - ) - - # ensure that multiple IPv4 addresses have been found - assert ( - len( - re.findall( - rb"((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}", - out, - ) - ) - >= 10 - ) - - assert out.count(b"\n") >= 50 - assert rc == 0 From ca584cce7403dec5367e5fb2b51064277fb12864 Mon Sep 17 00:00:00 2001 From: eve Date: Thu, 24 Apr 2025 09:23:21 +0100 Subject: [PATCH 1865/2186] Linux: Update linux sockscan to work with SockHandlers v4.0.0 --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 27fb5f020..915a8e834 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -338,7 +338,7 @@ class Sockscan(plugins.PluginInterface): # TODO: look into options so that sockstat.SockHandlers so that process_sock can # be used without a task object. init_task = vmlinux.object_from_symbol(symbol_name="init_task") - sock_handler = sockstat.SockHandlers(vmlinux, init_task) + sock_handler = sockstat.SockHandlers(self.context, symbol_table_name, init_task) # get progress_callback in order to use this in the scanners. # TODO: perhaps add more detail to progress, showing method in progress and number of hits found From 704f0f023d7507b18a64608935c729f474f57d82 Mon Sep 17 00:00:00 2001 From: eve Date: Thu, 24 Apr 2025 09:35:04 +0100 Subject: [PATCH 1866/2186] Linux: Fix incorrect first parameter name in test_linux_sockscan --- test/plugins/linux/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index fc01c0c92..868b439fb 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -618,7 +618,7 @@ class TestLinuxPscallstack: class TestLinuxSockscan: - def test_linux_sockscan(image, volatility, python): + def test_linux_sockscan(self, volatility, python): # designed for linux-sample-1.dmp SHA1:1C3A4627EDCA94A7ADE3414592BEF0E62D7D3BB6 image = LinuxSamples.LINUX_GENERIC.value.path rc, out, err = test_volatility.runvol_plugin( From d532f3745438907aa654a5436bfcd04846763bf6 Mon Sep 17 00:00:00 2001 From: eve Date: Thu, 24 Apr 2025 09:37:39 +0100 Subject: [PATCH 1867/2186] Linux: sockstat contiuned work to breakdown large generator function --- .../framework/plugins/linux/sockscan.py | 128 +++++++++--------- 1 file changed, 65 insertions(+), 63 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 915a8e834..530b36c04 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -309,84 +309,86 @@ class Sockscan(plugins.PluginInterface): ) return None - def _generator(self, symbol_table_name: str): - """Scans for sockets. Each row represents a kernel socket. - - Args: - symbol_table_name: The name of the kernel module on which to operate - - Yields: - addr: Physical offset - family: Socket family string (AF_UNIX, AF_INET, etc) - sock_type: Socket type string (STREAM, DGRAM, etc) - protocol: Protocol string (UDP, TCP, etc) - source addr: Source address string - source port: Source port string (not all of them are int) - destination addr: Destination address string - destination port: Destination port (not all of them are int) - state: State strings (LISTEN, CONNECTED, etc) - """ - - # get vmlinux module from context in order to build objects and read symbols + def _build_sock_handler(self, symbol_table_name: str): vmlinux = self.context.modules[symbol_table_name] + init_task = vmlinux.object_from_symbol(symbol_name="init_task") + return sockstat.SockHandlers(self.context, symbol_table_name, init_task) - # get the memory layer that is to be scanned. + def _scan_for_sockets( + self, memory_layer, file_ops_needles, socket_destructor_needles + ): + return memory_layer.scan( + self.context, + scanners.MultiStringScanner(socket_destructor_needles | file_ops_needles), + self._progress_callback, + ) + + def _parse_scanner_result( + self, + match, + needle_addr, + file_ops_needles, + socket_destructor_needles, + symbol_table_name, + memory_layer_name, + f_op_offset, + sk_destruct_offset, + ): + + if match in socket_destructor_needles: + sock_physical_addr = needle_addr - sk_destruct_offset + psock = self._get_socket_from_sk_destruct( + sock_physical_addr, symbol_table_name, memory_layer_name + ) + elif match in file_ops_needles: + psock = self._walk_file_ops_needles( + symbol_table_name, memory_layer_name, needle_addr, f_op_offset + ) + sock_physical_addr = psock.vol.offset if psock else None + else: + psock = sock_physical_addr = None + + return psock, sock_physical_addr + + def _get_socket_from_sk_destruct( + self, sock_physical_addr, symbol_table_name, memory_layer_name + ): + vmlinux = self.context.modules[symbol_table_name] + return self.context.object( + vmlinux.symbol_table_name + constants.BANG + "sock", + offset=sock_physical_addr, + layer_name=memory_layer_name, + native_layer_name=vmlinux.layer_name, + ) + + def _generator(self, symbol_table_name: str): memory_layer_name = self._find_memory_layer_name(symbol_table_name) memory_layer = self.context.layers[memory_layer_name] + sock_handler = self._build_sock_handler(symbol_table_name) - # use the init process to build a sock handler - # TODO: look into options so that sockstat.SockHandlers so that process_sock can - # be used without a task object. - init_task = vmlinux.object_from_symbol(symbol_name="init_task") - sock_handler = sockstat.SockHandlers(self.context, symbol_table_name, init_task) - - # get progress_callback in order to use this in the scanners. - # TODO: perhaps add more detail to progress, showing method in progress and number of hits found - progress_callback = self._progress_callback - - # Method 1 - find sockets by file operations, then follow pointers to sockets file_ops_needles, f_op_offset = self._find_file_ops_needles(symbol_table_name) - - # Method 2 - find sockets by socket destructor directly inside sock objects socket_destructor_needles, sk_destruct_offset = self._find_sk_destruct_needles( symbol_table_name ) - # TODO Method 3 - find sock by sk_error_report symbols - # sk_error_report_symbol_names = ['sock_def_error_report', 'inet_sk_rebuild_header', 'inet_listen'] - # this would be similar to Method 2, but using a different pointer within sock. - - # add a set of seen addresses to stop possible duplication of results. seen_sock_physical_addr = set() - # Using the calculated needles, scan the memory layer and attempt to parse the sockets located. - for needle_addr, match in memory_layer.scan( - self.context, - scanners.MultiStringScanner(socket_destructor_needles | file_ops_needles), - progress_callback, + for needle_addr, match in self._scan_for_sockets( + memory_layer, file_ops_needles, socket_destructor_needles ): - psock = None - sock_physical_addr = None + psock, sock_physical_addr = self._parse_scanner_result( + match, + needle_addr, + file_ops_needles, + socket_destructor_needles, + symbol_table_name, + memory_layer_name, + f_op_offset, + sk_destruct_offset, + ) - # if match is from socket_destructor_needles simply calculate the offset to the sock - if match in socket_destructor_needles: - sock_physical_addr = needle_addr - sk_destruct_offset - psock = self.context.object( - vmlinux.symbol_table_name + constants.BANG + "sock", - offset=sock_physical_addr, - layer_name=memory_layer_name, - native_layer_name=vmlinux.layer_name, - ) - - # if match is from file_ops_needles attempt to walk from file object to the sock - if match in file_ops_needles: - psock = self._walk_file_ops_needles( - symbol_table_name, memory_layer_name, needle_addr, f_op_offset - ) - - if psock is not None and sock_physical_addr not in seen_sock_physical_addr: + if psock and sock_physical_addr not in seen_sock_physical_addr: seen_sock_physical_addr.add(sock_physical_addr) - fields = self._extract_sock_fields(psock, sock_handler) if fields: yield (0, fields) From e25e23d8cf509054bfbe6d5fe3a193b76caeb58f Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Thu, 24 Apr 2025 20:46:19 +0300 Subject: [PATCH 1868/2186] Create etwpatch.py --- .../framework/plugins/windows/etwpatch.py | 142 ++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 volatility3/framework/plugins/windows/etwpatch.py diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py new file mode 100644 index 000000000..800f94623 --- /dev/null +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -0,0 +1,142 @@ +# etwpatch.py +# Plugin name: windows.etwpatch +# Volatility 3 plugin to detect ETW patching via EtwEventWrite prologue + +import contextlib +import logging + +from volatility3.framework import exceptions, interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.windows.extensions import pe +from volatility3.plugins.windows import pslist, pe_symbols + +vollog = logging.getLogger(__name__) + +class EtwPatch(interfaces.plugins.PluginInterface): + """Detects ETW patching by examining the first opcode of EtwEventWrite in ntdll.dll.""" + + # Plugin metadata for auto-discovery + _version = (1, 0, 0) + _required_framework_version = (2, 26, 0) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement( + name='kernel', + description='Windows kernel', + architectures=["Intel32", "Intel64"] + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="pe_symbols", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.ListRequirement( + name='pid', + description='Filter on specific process IDs', + element_type=int, + optional=True + ) + ] + + def _generator(self): + pid_filter = self.config.get('pid', None) + + for proc in pslist.PsList.list_processes( + context=self.context, + kernel_module_name=self.config['kernel']): + + # If the user passed --pid, only process those IDs + if pid_filter and proc.UniqueProcessId not in pid_filter: + continue + + pid = int(proc.UniqueProcessId) + proc_name = proc.ImageFileName.cast( + "string", + max_length = proc.ImageFileName.vol.count, + errors = 'replace' + ) + + # Build a per-process memory layer + try: + proc_layer_name = proc.add_process_layer() + except Exception: + continue + + proc_layer = self.context.layers[proc_layer_name] + + # Find ntdll.dll module + for module in proc.load_order_modules(): + BaseDllName = FullDllName = renderers.UnreadableValue() + with contextlib.suppress(exceptions.InvalidAddressException): + BaseDllName = module.BaseDllName.get_string() + FullDllName = module.FullDllName.get_string() + + if BaseDllName != 'ntdll.dll': + continue + + base = module.DllBase + size = module.SizeOfImage + + pe_table_name = intermed.IntermediateSymbolTable.create( + self.context, self.config_path, "windows", "pe", class_types=pe.class_types + ) + + pe_obj = pe_symbols.PESymbols.get_pefile_obj( + self.context, pe_table_name, proc_layer_name, base + ) + + try: + pe_obj.parse_data_directories( + directories=[pefile.DIRECTORY_ENTRY["IMAGE_DIRECTORY_ENTRY_EXPORT"]] + ) + except Exception as e: + vollog.debug(f"Error parsing IMAGE_DIRECTORY_ENTRY_EXPORT with {e}") + continue + + if not hasattr(pe_obj, "DIRECTORY_ENTRY_EXPORT"): + return None + + for export in pe_obj.DIRECTORY_ENTRY_EXPORT.symbols: + if export.name not in [b"EtwEventWrite", b"EtwEventWriteFull", b"NtTraceEvent"]: + continue + + function_start = base + export.address + try: + with contextlib.suppress(exceptions.InvalidAddressException): + opcode = self.context.layers[proc_layer_name].read( + function_start, 1 + ).hex() + + # 0xC3 = RET, 0xE9 = JMP (common ETW patches) + if opcode in ('c3', 'e9'): + yield (0, ( + pid, + proc_name, + BaseDllName, + export.name.decode(), + format_hints.Hex(function_start), + opcode + )) + except Exception as e: + vollog.debug(f"Error parsing IMAGE_DIRECTORY_ENTRY_EXPORT with {e}") + continue + finally: + break + + def run(self): + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("DLL", str), + ("Function", str), + ("Offset", format_hints.Hex), + ("Opcode", str) + ], + self._generator() + ) From 6ac76b27ff1dd4e402f1d26a3d174e3e436eee68 Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Thu, 24 Apr 2025 20:47:08 +0300 Subject: [PATCH 1869/2186] Update etwpatch.py --- volatility3/framework/plugins/windows/etwpatch.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 800f94623..76d769731 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -1,7 +1,6 @@ -# etwpatch.py -# Plugin name: windows.etwpatch -# Volatility 3 plugin to detect ETW patching via EtwEventWrite prologue - +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# import contextlib import logging From 31184afe858e37106dfd6364e7e622fe6088967e Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Thu, 24 Apr 2025 20:48:59 +0300 Subject: [PATCH 1870/2186] Update etwpatch.py --- volatility3/framework/plugins/windows/etwpatch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 76d769731..656e8a8ac 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -3,6 +3,7 @@ # import contextlib import logging +import pefile from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.configuration import requirements From a167ddc04dc5a6fd2bf77157bf41699218d3140e Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Thu, 24 Apr 2025 20:51:02 +0300 Subject: [PATCH 1871/2186] Update etwpatch.py --- volatility3/framework/plugins/windows/etwpatch.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 656e8a8ac..281f85172 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -17,7 +17,6 @@ vollog = logging.getLogger(__name__) class EtwPatch(interfaces.plugins.PluginInterface): """Detects ETW patching by examining the first opcode of EtwEventWrite in ntdll.dll.""" - # Plugin metadata for auto-discovery _version = (1, 0, 0) _required_framework_version = (2, 26, 0) From 787f3b629ae14427576406d5d36b9d234f839eae Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 25 Apr 2025 11:10:05 +0100 Subject: [PATCH 1872/2186] Revert "Linux: sockstat contiuned work to breakdown large generator function" This reverts commit d532f3745438907aa654a5436bfcd04846763bf6. --- .../framework/plugins/linux/sockscan.py | 130 +++++++++--------- 1 file changed, 64 insertions(+), 66 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 530b36c04..915a8e834 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -309,86 +309,84 @@ class Sockscan(plugins.PluginInterface): ) return None - def _build_sock_handler(self, symbol_table_name: str): - vmlinux = self.context.modules[symbol_table_name] - init_task = vmlinux.object_from_symbol(symbol_name="init_task") - return sockstat.SockHandlers(self.context, symbol_table_name, init_task) - - def _scan_for_sockets( - self, memory_layer, file_ops_needles, socket_destructor_needles - ): - return memory_layer.scan( - self.context, - scanners.MultiStringScanner(socket_destructor_needles | file_ops_needles), - self._progress_callback, - ) - - def _parse_scanner_result( - self, - match, - needle_addr, - file_ops_needles, - socket_destructor_needles, - symbol_table_name, - memory_layer_name, - f_op_offset, - sk_destruct_offset, - ): - - if match in socket_destructor_needles: - sock_physical_addr = needle_addr - sk_destruct_offset - psock = self._get_socket_from_sk_destruct( - sock_physical_addr, symbol_table_name, memory_layer_name - ) - elif match in file_ops_needles: - psock = self._walk_file_ops_needles( - symbol_table_name, memory_layer_name, needle_addr, f_op_offset - ) - sock_physical_addr = psock.vol.offset if psock else None - else: - psock = sock_physical_addr = None - - return psock, sock_physical_addr - - def _get_socket_from_sk_destruct( - self, sock_physical_addr, symbol_table_name, memory_layer_name - ): - vmlinux = self.context.modules[symbol_table_name] - return self.context.object( - vmlinux.symbol_table_name + constants.BANG + "sock", - offset=sock_physical_addr, - layer_name=memory_layer_name, - native_layer_name=vmlinux.layer_name, - ) - def _generator(self, symbol_table_name: str): + """Scans for sockets. Each row represents a kernel socket. + + Args: + symbol_table_name: The name of the kernel module on which to operate + + Yields: + addr: Physical offset + family: Socket family string (AF_UNIX, AF_INET, etc) + sock_type: Socket type string (STREAM, DGRAM, etc) + protocol: Protocol string (UDP, TCP, etc) + source addr: Source address string + source port: Source port string (not all of them are int) + destination addr: Destination address string + destination port: Destination port (not all of them are int) + state: State strings (LISTEN, CONNECTED, etc) + """ + + # get vmlinux module from context in order to build objects and read symbols + vmlinux = self.context.modules[symbol_table_name] + + # get the memory layer that is to be scanned. memory_layer_name = self._find_memory_layer_name(symbol_table_name) memory_layer = self.context.layers[memory_layer_name] - sock_handler = self._build_sock_handler(symbol_table_name) + # use the init process to build a sock handler + # TODO: look into options so that sockstat.SockHandlers so that process_sock can + # be used without a task object. + init_task = vmlinux.object_from_symbol(symbol_name="init_task") + sock_handler = sockstat.SockHandlers(self.context, symbol_table_name, init_task) + + # get progress_callback in order to use this in the scanners. + # TODO: perhaps add more detail to progress, showing method in progress and number of hits found + progress_callback = self._progress_callback + + # Method 1 - find sockets by file operations, then follow pointers to sockets file_ops_needles, f_op_offset = self._find_file_ops_needles(symbol_table_name) + + # Method 2 - find sockets by socket destructor directly inside sock objects socket_destructor_needles, sk_destruct_offset = self._find_sk_destruct_needles( symbol_table_name ) + # TODO Method 3 - find sock by sk_error_report symbols + # sk_error_report_symbol_names = ['sock_def_error_report', 'inet_sk_rebuild_header', 'inet_listen'] + # this would be similar to Method 2, but using a different pointer within sock. + + # add a set of seen addresses to stop possible duplication of results. seen_sock_physical_addr = set() - for needle_addr, match in self._scan_for_sockets( - memory_layer, file_ops_needles, socket_destructor_needles + # Using the calculated needles, scan the memory layer and attempt to parse the sockets located. + for needle_addr, match in memory_layer.scan( + self.context, + scanners.MultiStringScanner(socket_destructor_needles | file_ops_needles), + progress_callback, ): - psock, sock_physical_addr = self._parse_scanner_result( - match, - needle_addr, - file_ops_needles, - socket_destructor_needles, - symbol_table_name, - memory_layer_name, - f_op_offset, - sk_destruct_offset, - ) + psock = None + sock_physical_addr = None - if psock and sock_physical_addr not in seen_sock_physical_addr: + # if match is from socket_destructor_needles simply calculate the offset to the sock + if match in socket_destructor_needles: + sock_physical_addr = needle_addr - sk_destruct_offset + psock = self.context.object( + vmlinux.symbol_table_name + constants.BANG + "sock", + offset=sock_physical_addr, + layer_name=memory_layer_name, + native_layer_name=vmlinux.layer_name, + ) + + # if match is from file_ops_needles attempt to walk from file object to the sock + if match in file_ops_needles: + psock = self._walk_file_ops_needles( + symbol_table_name, memory_layer_name, needle_addr, f_op_offset + ) + + if psock is not None and sock_physical_addr not in seen_sock_physical_addr: seen_sock_physical_addr.add(sock_physical_addr) + fields = self._extract_sock_fields(psock, sock_handler) if fields: yield (0, fields) From b5c98a080a5a7823a69457af93436d2f3cdb169e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 25 Apr 2025 11:31:45 +0100 Subject: [PATCH 1873/2186] Fix a default value being mutable --- volatility3/cli/volshell/generic.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 2ea722a37..b9811e7d5 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -85,7 +85,7 @@ class Volshell(interfaces.plugins.PluginInterface): return reqs def run( - self, additional_locals: Dict[str, Any] = {} + self, additional_locals: Dict[str, Any] = None ) -> interfaces.renderers.TreeGrid: """Runs the interactive volshell plugin. @@ -93,6 +93,9 @@ class Volshell(interfaces.plugins.PluginInterface): Return a TreeGrid but this is always empty since the point of this plugin is to run interactively """ + if additional_locals is None: + additional_locals = {} + # Try to enable tab completion if not has_ipython: try: From ab5dac10d936c5b668a9c69e6acbada06abcd662 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 25 Apr 2025 11:54:55 +0100 Subject: [PATCH 1874/2186] Linux: fix virtual to physical offsets for sockscan file_ops method --- .../framework/plugins/linux/sockscan.py | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 915a8e834..a123e74cd 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -227,7 +227,25 @@ class Sockscan(plugins.PluginInterface): # sucessfully trversed from file to sock, this will exist in the # kernel layer, and need to be translated to the memory layer. - psock = socket.sk.dereference() + vsock = socket.sk.dereference() + + # get virtual offset + virtual_sock_offset = vsock.vol.offset + + # translate this offset to physical + native_layer = self.context.layers[vmlinux.layer_name] + physical_sock_offset, _physical_layer_name = native_layer.translate( + virtual_sock_offset + ) + + # build sock on the memory_layer using the physical_sock_offset + psock = self.context.object( + vmlinux.symbol_table_name + constants.BANG + "sock", + offset=physical_sock_offset, + layer_name=memory_layer_name, + native_layer_name=vmlinux.layer_name, + ) + return psock except exceptions.InvalidAddressException as error: @@ -336,7 +354,7 @@ class Sockscan(plugins.PluginInterface): # use the init process to build a sock handler # TODO: look into options so that sockstat.SockHandlers so that process_sock can - # be used without a task object. + # be used without a task object. init_task = vmlinux.object_from_symbol(symbol_name="init_task") sock_handler = sockstat.SockHandlers(self.context, symbol_table_name, init_task) From 0d32cac06786eb0b6e449ca65057072278213296 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 25 Apr 2025 11:58:29 +0100 Subject: [PATCH 1875/2186] Linux: fix sockscan use of direct imports of TreeGrid and NotAvailableValue --- .../framework/plugins/linux/sockscan.py | 29 ++++++++++++------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index a123e74cd..b9a0d854d 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -7,7 +7,8 @@ import struct from typing import List, Set from volatility3.framework import exceptions, constants -from volatility3.framework.renderers import TreeGrid, NotAvailableValue, format_hints +from volatility3.framework import renderers +from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.symbols import linux @@ -285,23 +286,29 @@ class Sockscan(plugins.PluginInterface): protocol = sock.get_protocol() # format results - src = NotAvailableValue() if src is None else str(src) - src_port = NotAvailableValue() if src_port is None else str(src_port) - dst = NotAvailableValue() if dst is None else str(dst) - dst_port = NotAvailableValue() if dst_port is None else str(dst_port) - state = NotAvailableValue() if state is None else str(state) - protocol = NotAvailableValue() if protocol is None else str(protocol) + src = renderers.NotAvailableValue() if src is None else str(src) + src_port = ( + renderers.NotAvailableValue() if src_port is None else str(src_port) + ) + dst = renderers.NotAvailableValue() if dst is None else str(dst) + dst_port = ( + renderers.NotAvailableValue() if dst_port is None else str(dst_port) + ) + state = renderers.NotAvailableValue() if state is None else str(state) + protocol = ( + renderers.NotAvailableValue() if protocol is None else str(protocol) + ) # extended attributes is a dict, so this is formated to string show each # key and value pair, seperated with a comma. socket_filter_str = ( ",".join(f"{k}={v}" for k, v in extended.items()) if extended - else NotAvailableValue() + else renderers.NotAvailableValue() ) # remove empty results - if (src == "0.0.0.0" or isinstance(src, NotAvailableValue)) and ( - dst == "0.0.0.0" or isinstance(src, NotAvailableValue) + if (src == "0.0.0.0" or isinstance(src, renderers.NotAvailableValue)) and ( + dst == "0.0.0.0" or isinstance(src, renderers.NotAvailableValue) ): if state == "UNCONNECTED": return None @@ -424,7 +431,7 @@ class Sockscan(plugins.PluginInterface): ("Filter", str), ] - return TreeGrid( + return renderers.TreeGrid( tree_grid_args, self._generator(self.config["kernel"]), ) From 6f11161bd5388f3bf5ed3b97ff8841e11b65810f Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 25 Apr 2025 11:59:43 +0100 Subject: [PATCH 1876/2186] Linux: add MultiStringScanner requirement for sockscan --- volatility3/framework/plugins/linux/sockscan.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index b9a0d854d..943e7447b 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -49,6 +49,11 @@ class Sockscan(plugins.PluginInterface): requirements.VersionRequirement( name="linux_net", component=network.NetSymbols, version=(1, 0, 0) ), + requirements.VersionRequirement( + name="multi_string_scanner", + component=scanners.MultiStringScanner, + version=(1, 0, 0), + ), ] def _canonicalize_symbol_addrs( From 7cfc03da5dff89d608a97e08e4313ce88597a20c Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 25 Apr 2025 12:13:16 +0100 Subject: [PATCH 1877/2186] Linux: update sockscan to use minor version for the requirements this has been tested with --- volatility3/framework/plugins/linux/sockscan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 943e7447b..4f16920cf 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -41,10 +41,10 @@ class Sockscan(plugins.PluginInterface): name="lsof", component=lsof.Lsof, version=(2, 0, 0) ), requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(4, 0, 0) + name="pslist", component=pslist.PsList, version=(4, 1, 0) ), requirements.VersionRequirement( - name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) + name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0) ), requirements.VersionRequirement( name="linux_net", component=network.NetSymbols, version=(1, 0, 0) From 2d1acaca51ce70a1582e99d87a394aee8711418b Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 25 Apr 2025 16:40:06 +0100 Subject: [PATCH 1878/2186] Linux: update extensions used by kallsyms plugin to use utility.pointer_to_string --- .../symbols/linux/extensions/__init__.py | 20 ++++--------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d281e2b9b..bd57b726a 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -3065,14 +3065,7 @@ class kernel_symbol(objects.StructType): else: raise AttributeError("Unsupported kernel_symbol type implementation") - layer = self._context.layers[self.vol.layer_name] - name_bytes = layer.read(name_offset, linux_constants.KSYM_NAME_LEN) - - idx = name_bytes.find(b"\x00") - if idx != -1: - name_bytes = name_bytes[:idx] - - return name_bytes.decode("utf-8", errors="ignore") + return utility.pointer_to_string(name_offset, linux_constants.KSYM_NAME_LEN) def get_name(self) -> Optional[str]: try: @@ -3108,14 +3101,9 @@ class kernel_symbol(objects.StructType): else: raise AttributeError("Unsupported kernel_symbol type implementation") - layer = self._context.layers[self.vol.layer_name] - namespace_bytes = layer.read(namespace_offset, linux_constants.KSYM_NAME_LEN) - - idx = namespace_bytes.find(b"\x00") - if idx != -1: - namespace_bytes = namespace_bytes[:idx] - - return namespace_bytes.decode("utf-8", errors="ignore") + return utility.pointer_to_string( + namespace_offset, linux_constants.KSYM_NAME_LEN + ) def get_namespace(self) -> Optional[str]: try: From 2d80f4680e41c373872386f7feef628e2ce8b7a4 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 25 Apr 2025 16:52:48 +0100 Subject: [PATCH 1879/2186] Linux: update kernel_symbol extensions _do_get_name and _do_get_namespace to use errors='ignore' to match previous implimentation --- volatility3/framework/symbols/linux/extensions/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index bd57b726a..c980ee6b1 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -3065,7 +3065,9 @@ class kernel_symbol(objects.StructType): else: raise AttributeError("Unsupported kernel_symbol type implementation") - return utility.pointer_to_string(name_offset, linux_constants.KSYM_NAME_LEN) + return utility.pointer_to_string( + name_offset, linux_constants.KSYM_NAME_LEN, errors="ignore" + ) def get_name(self) -> Optional[str]: try: @@ -3102,7 +3104,7 @@ class kernel_symbol(objects.StructType): raise AttributeError("Unsupported kernel_symbol type implementation") return utility.pointer_to_string( - namespace_offset, linux_constants.KSYM_NAME_LEN + namespace_offset, linux_constants.KSYM_NAME_LEN, errors="ignore" ) def get_namespace(self) -> Optional[str]: From 9c7655a63586d5dce32989fac7c5ea15261e27e4 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 27 Apr 2025 14:56:17 +0100 Subject: [PATCH 1880/2186] Add in coverage recording to the test process --- .github/workflows/test.yaml | 101 +++++++++++++++++++----------------- .gitignore | 3 ++ pyproject.toml | 1 + 3 files changed, 58 insertions(+), 47 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 56d671102..266e8bcc3 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,63 +1,70 @@ name: Test Volatility3 on: [push, pull_request] jobs: - build: runs-on: ubuntu-22.04 strategy: matrix: python-version: ["3.8"] steps: - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip Cmake build - pip install .[test] + - name: Install dependencies + run: | + python -m pip install --upgrade pip Cmake build + pip install .[test] - - name: Build PyPi packages - run: | - python -m build + - name: Build PyPi packages + run: | + python -m build - - name: Download images - run: | - mkdir test_images - cd test_images - curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/linux-sample-1.bin.gz" - gunzip linux-sample-1.bin.gz - curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/win-xp-laptop-2005-06-25.img.gz" - gunzip win-xp-laptop-2005-06-25.img.gz - curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/win-10_19041-2025_03.dmp.gz" - gunzip win-10_19041-2025_03.dmp.gz - cd - + - name: Download images + run: | + mkdir test_images + cd test_images + curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/linux-sample-1.bin.gz" + gunzip linux-sample-1.bin.gz + curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/win-xp-laptop-2005-06-25.img.gz" + gunzip win-xp-laptop-2005-06-25.img.gz + curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/win-10_19041-2025_03.dmp.gz" + gunzip win-10_19041-2025_03.dmp.gz + cd - - - name: Download and Extract symbols - run: | - cd ./volatility3/symbols - curl -sLO https://downloads.volatilityfoundation.org/volatility3/symbols/linux.zip - curl -sLO https://downloads.volatilityfoundation.org/volatility3/symbols/symbols_win-10_19041-2025_03.zip - unzip linux.zip - unzip symbols_win-10_19041-2025_03.zip - cd - + - name: Download and Extract symbols + run: | + cd ./volatility3/symbols + curl -sLO https://downloads.volatilityfoundation.org/volatility3/symbols/linux.zip + curl -sLO https://downloads.volatilityfoundation.org/volatility3/symbols/symbols_win-10_19041-2025_03.zip + unzip linux.zip + unzip symbols_win-10_19041-2025_03.zip + cd - - - name: Testing... - run: | - # VolShell - pytest ./test/plugins/windows/windows.py --volatility=volshell.py --image-dir=./test_images -k test_windows_volshell -v - pytest ./test/plugins/linux/linux.py --volatility=volshell.py --image-dir=./test_images -k test_linux_volshell -v + - name: Testing... + run: | + # VolShell + pytest --cov-append --cov-report=html --cov= ./test/plugins/windows/windows.py --volatility=volshell.py --image-dir=./test_images -k test_windows_volshell -v + pytest --cov-append --cov-report=html --cov= ./test/plugins/linux/linux.py --volatility=volshell.py --image-dir=./test_images -k test_linux_volshell -v - # Volatility - pytest ./test/plugins/windows/windows.py --volatility=vol.py --image=./test_images/win-10_19041-2025_03.dmp -k "test_windows and not test_windows_volshell" -v --durations=0 - pytest ./test/plugins/linux/linux.py --volatility=vol.py --image-dir=./test_images -k "test_linux and not test_linux_volshell" -v --durations=0 + # Volatility + pytest --cov-append --cov-report=html --cov= ./test/plugins/windows/windows.py --volatility=vol.py --image=./test_images/win-10_19041-2025_03.dmp -k "test_windows and not test_windows_volshell" -v --durations=0 + pytest --cov-append --cov-report=html --cov= ./test/plugins/linux/linux.py --volatility=vol.py --image-dir=./test_images -k "test_linux and not test_linux_volshell" -v --durations=0 - - name: Clean up post-test - run: | - rm -rf test_images - cd volatility3/symbols - rm -rf linux - rm -rf linux.zip - cd - + - name: Create coverage artifacts + uses: actions/upload-artifact@v4 + with: + name: code-coverage-report + path: htmlcov + overwrite: true + retention-days: 7 + + - name: Clean up post-test + run: | + rm -rf test_images + cd volatility3/symbols + rm -rf linux + rm -rf linux.zip + cd - diff --git a/.gitignore b/.gitignore index c132736a9..c550db705 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,6 @@ ENV/ # PyTest cache files .pytest_cache/ + +# Coverage cache +.coverage diff --git a/pyproject.toml b/pyproject.toml index abd2e79f7..a70f2c633 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ dev = [ test = [ "volatility3[dev]", "pytest>=8.3.3,<9", + "pytest-cov>=6.1.1,<7", "yara-x>=0.10.0,<1", ] From bc265edcdc5b6f07dad5e139bed647f1cf070458 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 27 Apr 2025 15:00:03 +0100 Subject: [PATCH 1881/2186] Try to slightly loosen the pytest-cov requirement --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a70f2c633..006f92a08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ dev = [ test = [ "volatility3[dev]", "pytest>=8.3.3,<9", - "pytest-cov>=6.1.1,<7", + "pytest-cov>=6,<7", "yara-x>=0.10.0,<1", ] From f4a2c7aec23b3c613e7af6fe59b528ee57c78517 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 27 Apr 2025 15:02:12 +0100 Subject: [PATCH 1882/2186] Drop pycov requirement by 1 since github can't seem to find the most recent version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 006f92a08..b88ac7752 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ dev = [ test = [ "volatility3[dev]", "pytest>=8.3.3,<9", - "pytest-cov>=6,<7", + "pytest-cov>=5,<7", "yara-x>=0.10.0,<1", ] From d3da34ce10b6c0dbf56ad54b50498a43a4fcfeef Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 27 Apr 2025 16:18:47 +0100 Subject: [PATCH 1883/2186] Update codeql action from v2 to v3 --- .github/workflows/codeql.yml | 61 ++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 31 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e2e741a9f..324390e43 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,10 +13,10 @@ name: "CodeQL" on: push: - branches: [ "develop" ] + branches: ["develop"] pull_request: # The branches below must be a subset of the branches above - branches: [ "develop" ] + branches: ["develop"] # schedule: # - cron: '16 8 * * 0' @@ -32,43 +32,42 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'python' ] + language: ["python"] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support steps: - - name: Checkout repository - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v3 - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. - # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - queries: security-and-quality # ,security-extended + # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + queries: security-and-quality # ,security-extended + # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v3 - # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 + # ℹ️ Command-line programs to run using the OS shell. + # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - # ℹ️ Command-line programs to run using the OS shell. - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + # If the Autobuild fails above, remove it and uncomment the following three lines. + # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - # If the Autobuild fails above, remove it and uncomment the following three lines. - # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. + # - run: | + # echo "Run, Build Application using script" + # ./location_of_script_within_repo/buildscript.sh - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 - with: - category: "/language:${{matrix.language}}" + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{matrix.language}}" From 41142ef621cff7550bb14fba758349325bc21ddc Mon Sep 17 00:00:00 2001 From: eve Date: Mon, 28 Apr 2025 07:18:47 +0100 Subject: [PATCH 1884/2186] cli: add debug log of plugin version when the plugin is successfully constructed --- volatility3/cli/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index a41cf95a3..cc97c4fcb 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -505,6 +505,9 @@ class CommandLine: try: # Construct and run the plugin if constructed: + vollog.debug( + f"Successfully constructed {args.plugin} {constructed.version}" + ) grid = constructed.run() renderer = renderers[args.renderer]() renderer.filter = text_filter.CLIFilter(grid, args.filters) From 533f96ec03dd800f0c664b9c627999b2b07c2d74 Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Mon, 28 Apr 2025 12:53:46 +0000 Subject: [PATCH 1885/2186] Added extended usage of pe_symbols --- .../framework/plugins/windows/etwpatch.py | 114 ++++++++---------- 1 file changed, 52 insertions(+), 62 deletions(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 281f85172..36cb4b9a9 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -42,90 +42,80 @@ class EtwPatch(interfaces.plugins.PluginInterface): ) ] + def _get_dll_vads(self, proc, dll_name): + """Retrieve VADs for a specific DLL in the process.""" + collected_modules = pe_symbols.PESymbols.get_proc_vads_with_file_paths(proc) + return [ + (vad_start, vad_size, proc.add_process_layer()) + for vad_start, vad_size, filepath in collected_modules + if pe_symbols.PESymbols.filename_for_path(filepath) == dll_name + ] + + def _find_symbols(self, dll_name, symbols, proc_layer_name, dll_vads): + """Find symbols for a specific DLL.""" + filter_module = {dll_name: {"names": symbols}} + process_modules = {dll_name: [(proc_layer_name, vad_start, vad_size) for vad_start, vad_size, _ in dll_vads]} + return pe_symbols.PESymbols.find_symbols(self.context, self.config_path, filter_module, process_modules) + + def _get_first_opcode(self, proc_layer_name, function_start): + """Check the first opcode of a function.""" + try: + return self.context.layers[proc_layer_name].read(function_start, 1).hex() + except exceptions.InvalidAddressException: + return None + def _generator(self): pid_filter = self.config.get('pid', None) for proc in pslist.PsList.list_processes( context=self.context, kernel_module_name=self.config['kernel']): - - # If the user passed --pid, only process those IDs + # Skip processes not in the PID filter if pid_filter and proc.UniqueProcessId not in pid_filter: continue pid = int(proc.UniqueProcessId) proc_name = proc.ImageFileName.cast( "string", - max_length = proc.ImageFileName.vol.count, - errors = 'replace' + max_length=proc.ImageFileName.vol.count, + errors='replace' ) - # Build a per-process memory layer try: proc_layer_name = proc.add_process_layer() - except Exception: + except exceptions.InvalidAddressException: continue - proc_layer = self.context.layers[proc_layer_name] + dlls_to_check = { + "ntdll.dll": [ + "EtwEventWrite", + "EtwEventWriteFull", + "NtTraceEvent" + ], + "advapi32.dll": [ + "EventWrite" + ] + } - # Find ntdll.dll module - for module in proc.load_order_modules(): - BaseDllName = FullDllName = renderers.UnreadableValue() - with contextlib.suppress(exceptions.InvalidAddressException): - BaseDllName = module.BaseDllName.get_string() - FullDllName = module.FullDllName.get_string() - - if BaseDllName != 'ntdll.dll': + for dll_name, symbols in dlls_to_check.items(): + dll_vads = self._get_dll_vads(proc, dll_name) + if not dll_vads: continue - base = module.DllBase - size = module.SizeOfImage - - pe_table_name = intermed.IntermediateSymbolTable.create( - self.context, self.config_path, "windows", "pe", class_types=pe.class_types - ) - - pe_obj = pe_symbols.PESymbols.get_pefile_obj( - self.context, pe_table_name, proc_layer_name, base - ) - - try: - pe_obj.parse_data_directories( - directories=[pefile.DIRECTORY_ENTRY["IMAGE_DIRECTORY_ENTRY_EXPORT"]] - ) - except Exception as e: - vollog.debug(f"Error parsing IMAGE_DIRECTORY_ENTRY_EXPORT with {e}") + found_symbols, _ = self._find_symbols(dll_name, symbols, proc_layer_name, dll_vads) + if dll_name not in found_symbols: continue - - if not hasattr(pe_obj, "DIRECTORY_ENTRY_EXPORT"): - return None - - for export in pe_obj.DIRECTORY_ENTRY_EXPORT.symbols: - if export.name not in [b"EtwEventWrite", b"EtwEventWriteFull", b"NtTraceEvent"]: - continue - - function_start = base + export.address - try: - with contextlib.suppress(exceptions.InvalidAddressException): - opcode = self.context.layers[proc_layer_name].read( - function_start, 1 - ).hex() - - # 0xC3 = RET, 0xE9 = JMP (common ETW patches) - if opcode in ('c3', 'e9'): - yield (0, ( - pid, - proc_name, - BaseDllName, - export.name.decode(), - format_hints.Hex(function_start), - opcode - )) - except Exception as e: - vollog.debug(f"Error parsing IMAGE_DIRECTORY_ENTRY_EXPORT with {e}") - continue - finally: - break + + for symbol_name, function_start in found_symbols[dll_name]: + opcode = self._get_first_opcode(proc_layer_name, function_start) + if opcode in ('c3', 'e9'): # RET or JMP + yield (0, ( + pid, + proc_name, + dll_name, + symbol_name, + format_hints.Hex(function_start), opcode + )) def run(self): return renderers.TreeGrid( From 02634d0e30edd2cabfb966c54595b892f245194c Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Mon, 28 Apr 2025 12:54:46 +0000 Subject: [PATCH 1886/2186] oops --- volatility3/framework/plugins/windows/etwpatch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 36cb4b9a9..316af4dab 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -114,7 +114,8 @@ class EtwPatch(interfaces.plugins.PluginInterface): proc_name, dll_name, symbol_name, - format_hints.Hex(function_start), opcode + format_hints.Hex(function_start), + opcode )) def run(self): From d449104d8ba1e1459a58fdd6cdf4a6070703a723 Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Mon, 28 Apr 2025 13:26:14 +0000 Subject: [PATCH 1887/2186] removed unnecessary imports --- volatility3/framework/plugins/windows/etwpatch.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 316af4dab..d6632617a 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -1,15 +1,11 @@ # This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -import contextlib import logging -import pefile from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints -from volatility3.framework.symbols import intermed -from volatility3.framework.symbols.windows.extensions import pe from volatility3.plugins.windows import pslist, pe_symbols vollog = logging.getLogger(__name__) From c9386782724311f2b1f8c373dc4af414dc4f875f Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Mon, 28 Apr 2025 14:21:24 +0000 Subject: [PATCH 1888/2186] Fixed according to atcuno comments --- .../framework/plugins/windows/etwpatch.py | 122 ++++++++---------- 1 file changed, 55 insertions(+), 67 deletions(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index d6632617a..79ddf2e1a 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -1,10 +1,11 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.plugins.windows import pslist, pe_symbols @@ -16,6 +17,11 @@ class EtwPatch(interfaces.plugins.PluginInterface): _version = (1, 0, 0) _required_framework_version = (2, 26, 0) + etw_functions = { + "ntdll.dll": ["EtwEventWrite", "EtwEventWriteFull", "NtTraceEvent"], + "advapi32.dll": ["EventWrite"], + } + @classmethod def get_requirements(cls): return [ @@ -38,81 +44,63 @@ class EtwPatch(interfaces.plugins.PluginInterface): ) ] - def _get_dll_vads(self, proc, dll_name): - """Retrieve VADs for a specific DLL in the process.""" - collected_modules = pe_symbols.PESymbols.get_proc_vads_with_file_paths(proc) - return [ - (vad_start, vad_size, proc.add_process_layer()) - for vad_start, vad_size, filepath in collected_modules - if pe_symbols.PESymbols.filename_for_path(filepath) == dll_name - ] - - def _find_symbols(self, dll_name, symbols, proc_layer_name, dll_vads): - """Find symbols for a specific DLL.""" - filter_module = {dll_name: {"names": symbols}} - process_modules = {dll_name: [(proc_layer_name, vad_start, vad_size) for vad_start, vad_size, _ in dll_vads]} - return pe_symbols.PESymbols.find_symbols(self.context, self.config_path, filter_module, process_modules) - - def _get_first_opcode(self, proc_layer_name, function_start): - """Check the first opcode of a function.""" - try: - return self.context.layers[proc_layer_name].read(function_start, 1).hex() - except exceptions.InvalidAddressException: - return None - def _generator(self): - pid_filter = self.config.get('pid', None) + # Get all ETW function addresses before looping through processes + found_symbols = pe_symbols.PESymbols.addresses_for_process_symbols( + context=self.context, + config_path=self.config_path, + kernel_module_name=self.config["kernel"], + symbols=self.etw_functions, + ) + + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) for proc in pslist.PsList.list_processes( context=self.context, - kernel_module_name=self.config['kernel']): - # Skip processes not in the PID filter - if pid_filter and proc.UniqueProcessId not in pid_filter: - continue - - pid = int(proc.UniqueProcessId) - proc_name = proc.ImageFileName.cast( - "string", - max_length=proc.ImageFileName.vol.count, - errors='replace' - ) - + kernel_module_name=self.config['kernel'], + filter_func=filter_func, + ): + try: + proc_id = proc.UniqueProcessId + proc_name = utility.array_to_string(proc.ImageFileName) proc_layer_name = proc.add_process_layer() except exceptions.InvalidAddressException: + vollog.debug(f"Unable to create process layer for PID {proc_id}") continue - dlls_to_check = { - "ntdll.dll": [ - "EtwEventWrite", - "EtwEventWriteFull", - "NtTraceEvent" - ], - "advapi32.dll": [ - "EventWrite" - ] + # Map of opcodes to their instruction names + opcode_map = { + 'c3': 'RET', + 'e9': 'JMP', } - for dll_name, symbols in dlls_to_check.items(): - dll_vads = self._get_dll_vads(proc, dll_name) - if not dll_vads: - continue - - found_symbols, _ = self._find_symbols(dll_name, symbols, proc_layer_name, dll_vads) - if dll_name not in found_symbols: - continue - - for symbol_name, function_start in found_symbols[dll_name]: - opcode = self._get_first_opcode(proc_layer_name, function_start) - if opcode in ('c3', 'e9'): # RET or JMP - yield (0, ( - pid, - proc_name, - dll_name, - symbol_name, - format_hints.Hex(function_start), - opcode - )) + for dll_name, functions in found_symbols.items(): + for func_name, func_addr in functions: + try: + opcode = self.context.layers[proc_layer_name].read( + func_addr, 1 + ).hex() + if opcode in opcode_map: + instruction = opcode_map[opcode] + yield ( + 0, + ( + proc_id, + proc_name, + dll_name, + func_name, + format_hints.Hex(func_addr), + f"{opcode} ({instruction})" + ), + ) + except exceptions.InvalidAddressException: + vollog.debug(f"Invalid address when reading function {func_name} at {func_addr:#x} in process {proc_id}") + continue + except KeyError: + # Layer may no longer exist + vollog.debug(f"Layer {proc_layer_name} no longer exists for process {proc_id}") + continue def run(self): return renderers.TreeGrid( @@ -122,7 +110,7 @@ class EtwPatch(interfaces.plugins.PluginInterface): ("DLL", str), ("Function", str), ("Offset", format_hints.Hex), - ("Opcode", str) + ("Opcode", str), ], - self._generator() + self._generator(), ) From 817bd5ce7fb26984cfb0ab5860d00c24fd3bc3f8 Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Mon, 28 Apr 2025 15:07:03 +0000 Subject: [PATCH 1889/2186] additional fixes --- .../framework/plugins/windows/etwpatch.py | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 79ddf2e1a..1ecedea3f 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -18,8 +18,18 @@ class EtwPatch(interfaces.plugins.PluginInterface): _required_framework_version = (2, 26, 0) etw_functions = { - "ntdll.dll": ["EtwEventWrite", "EtwEventWriteFull", "NtTraceEvent"], - "advapi32.dll": ["EventWrite"], + "ntdll.dll": { + pe_symbols.wanted_names_identifier: [ + "EtwEventWrite", + "EtwEventWriteFull", + "NtTraceEvent" + ], + }, + "advapi32.dll": { + pe_symbols.wanted_names_identifier:[ + "EventWrite" + ], + }, } @classmethod @@ -96,11 +106,6 @@ class EtwPatch(interfaces.plugins.PluginInterface): ) except exceptions.InvalidAddressException: vollog.debug(f"Invalid address when reading function {func_name} at {func_addr:#x} in process {proc_id}") - continue - except KeyError: - # Layer may no longer exist - vollog.debug(f"Layer {proc_layer_name} no longer exists for process {proc_id}") - continue def run(self): return renderers.TreeGrid( From c5a4b34bfa5f1466b61551768ea0ad61becbc200 Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Mon, 28 Apr 2025 15:18:53 +0000 Subject: [PATCH 1890/2186] Fixed plugin docs --- volatility3/framework/plugins/windows/etwpatch.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 1ecedea3f..3605dfccb 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -12,7 +12,13 @@ from volatility3.plugins.windows import pslist, pe_symbols vollog = logging.getLogger(__name__) class EtwPatch(interfaces.plugins.PluginInterface): - """Detects ETW patching by examining the first opcode of EtwEventWrite in ntdll.dll.""" + """Identifies ETW (Event Tracing for Windows) patching techniques used by malware to evade detection. + + This plugin examines the first opcode of key ETW functions in ntdll.dll and advapi32.dll + to detect common ETW bypass techniques such as return pointer manipulation (RET) or function + redirection (JMP). Attackers often patch these functions to prevent security tools from + receiving telemetry about process execution, API calls, and other system events. + """ _version = (1, 0, 0) _required_framework_version = (2, 26, 0) From 281a237e03296ff38c7d0353157fa068c32a8c39 Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Mon, 28 Apr 2025 16:03:45 +0000 Subject: [PATCH 1891/2186] black and ruff fixes --- .../framework/plugins/windows/etwpatch.py | 63 ++++++++++--------- 1 file changed, 33 insertions(+), 30 deletions(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 3605dfccb..e79735213 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -7,16 +7,17 @@ from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import pslist, pe_symbols +from volatility3.plugins.windows import pslist, pe_symbols vollog = logging.getLogger(__name__) + class EtwPatch(interfaces.plugins.PluginInterface): """Identifies ETW (Event Tracing for Windows) patching techniques used by malware to evade detection. - - This plugin examines the first opcode of key ETW functions in ntdll.dll and advapi32.dll - to detect common ETW bypass techniques such as return pointer manipulation (RET) or function - redirection (JMP). Attackers often patch these functions to prevent security tools from + + This plugin examines the first opcode of key ETW functions in ntdll.dll and advapi32.dll + to detect common ETW bypass techniques such as return pointer manipulation (RET) or function + redirection (JMP). Attackers often patch these functions to prevent security tools from receiving telemetry about process execution, API calls, and other system events. """ @@ -28,13 +29,11 @@ class EtwPatch(interfaces.plugins.PluginInterface): pe_symbols.wanted_names_identifier: [ "EtwEventWrite", "EtwEventWriteFull", - "NtTraceEvent" + "NtTraceEvent", ], }, "advapi32.dll": { - pe_symbols.wanted_names_identifier:[ - "EventWrite" - ], + pe_symbols.wanted_names_identifier: ["EventWrite"], }, } @@ -42,22 +41,22 @@ class EtwPatch(interfaces.plugins.PluginInterface): def get_requirements(cls): return [ requirements.ModuleRequirement( - name='kernel', - description='Windows kernel', - architectures=["Intel32", "Intel64"] + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], ), requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(3, 0, 0) ), requirements.VersionRequirement( - name="pe_symbols", component=pslist.PsList, version=(3, 0, 0) + name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) ), requirements.ListRequirement( - name='pid', - description='Filter on specific process IDs', + name="pid", + description="Filter on specific process IDs", element_type=int, - optional=True - ) + optional=True, + ), ] def _generator(self): @@ -68,15 +67,15 @@ class EtwPatch(interfaces.plugins.PluginInterface): kernel_module_name=self.config["kernel"], symbols=self.etw_functions, ) - + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) for proc in pslist.PsList.list_processes( - context=self.context, - kernel_module_name=self.config['kernel'], - filter_func=filter_func, - ): - + context=self.context, + kernel_module_name=self.config["kernel"], + filter_func=filter_func, + ): + try: proc_id = proc.UniqueProcessId proc_name = utility.array_to_string(proc.ImageFileName) @@ -87,16 +86,18 @@ class EtwPatch(interfaces.plugins.PluginInterface): # Map of opcodes to their instruction names opcode_map = { - 'c3': 'RET', - 'e9': 'JMP', + "c3": "RET", + "e9": "JMP", } for dll_name, functions in found_symbols.items(): for func_name, func_addr in functions: try: - opcode = self.context.layers[proc_layer_name].read( - func_addr, 1 - ).hex() + opcode = ( + self.context.layers[proc_layer_name] + .read(func_addr, 1) + .hex() + ) if opcode in opcode_map: instruction = opcode_map[opcode] yield ( @@ -107,11 +108,13 @@ class EtwPatch(interfaces.plugins.PluginInterface): dll_name, func_name, format_hints.Hex(func_addr), - f"{opcode} ({instruction})" + f"{opcode} ({instruction})", ), ) except exceptions.InvalidAddressException: - vollog.debug(f"Invalid address when reading function {func_name} at {func_addr:#x} in process {proc_id}") + vollog.debug( + f"Invalid address when reading function {func_name} at {func_addr:#x} in process {proc_id}" + ) def run(self): return renderers.TreeGrid( From 39b35a3a8070854fa3a9238a1190e5978288df3f Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Tue, 29 Apr 2025 13:11:35 +0300 Subject: [PATCH 1892/2186] Update volatility3/framework/plugins/windows/etwpatch.py Co-authored-by: ikelos --- volatility3/framework/plugins/windows/etwpatch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index e79735213..7aee06e43 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -86,8 +86,8 @@ class EtwPatch(interfaces.plugins.PluginInterface): # Map of opcodes to their instruction names opcode_map = { - "c3": "RET", - "e9": "JMP", + 0xc3: "RET", + 0xe9: "JMP", } for dll_name, functions in found_symbols.items(): From cc1df7b4617be694ec22aac3ca49d7c5175058d1 Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Tue, 29 Apr 2025 13:11:47 +0300 Subject: [PATCH 1893/2186] Update volatility3/framework/plugins/windows/etwpatch.py Co-authored-by: ikelos --- volatility3/framework/plugins/windows/etwpatch.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 7aee06e43..30e8b2947 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -95,8 +95,7 @@ class EtwPatch(interfaces.plugins.PluginInterface): try: opcode = ( self.context.layers[proc_layer_name] - .read(func_addr, 1) - .hex() + .read(func_addr, 1)[0] ) if opcode in opcode_map: instruction = opcode_map[opcode] From 4738efefa3cdc4a4405df57551ffcc653bff9b9e Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Tue, 29 Apr 2025 13:11:58 +0300 Subject: [PATCH 1894/2186] Update volatility3/framework/plugins/windows/etwpatch.py Co-authored-by: ikelos --- volatility3/framework/plugins/windows/etwpatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 30e8b2947..a21cab030 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -107,7 +107,7 @@ class EtwPatch(interfaces.plugins.PluginInterface): dll_name, func_name, format_hints.Hex(func_addr), - f"{opcode} ({instruction})", + f"{opcode:02x} ({instruction})", ), ) except exceptions.InvalidAddressException: From 19b094acf686f3a0a093a1ac6b62b2b0d1391c5f Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Tue, 29 Apr 2025 14:20:42 +0300 Subject: [PATCH 1895/2186] Fix lint errors --- volatility3/framework/plugins/windows/etwpatch.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index a21cab030..14fbacc28 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -86,17 +86,16 @@ class EtwPatch(interfaces.plugins.PluginInterface): # Map of opcodes to their instruction names opcode_map = { - 0xc3: "RET", - 0xe9: "JMP", + 0xC3: "RET", + 0xE9: "JMP", } for dll_name, functions in found_symbols.items(): for func_name, func_addr in functions: try: - opcode = ( - self.context.layers[proc_layer_name] - .read(func_addr, 1)[0] - ) + opcode = self.context.layers[proc_layer_name].read( + func_addr, 1 + )[0] if opcode in opcode_map: instruction = opcode_map[opcode] yield ( From f5ec6dc7dd5fbf4785007365fd89e1d09304afd5 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 5 May 2025 12:55:48 +0100 Subject: [PATCH 1896/2186] Add in initial version of breakpointing --- volatility3/cli/volshell/generic.py | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index b9811e7d5..7ff30909f 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -3,6 +3,7 @@ # import binascii import code +import functools import io import random import string @@ -187,6 +188,7 @@ class Volshell(interfaces.plugins.PluginInterface): def construct_locals(self) -> List[Tuple[List[str], Any]]: """Returns a listing of the functions to be added to the environment.""" return [ + (["bp", "breakpoint"], self.breakpoint), (["dt", "display_type"], self.display_type), (["db", "display_bytes"], self.display_bytes), (["dw", "display_words"], self.display_words), @@ -797,6 +799,36 @@ class Volshell(interfaces.plugins.PluginInterface): return constructed + def breakpoint(self, address: int, layer_name: Optional[str] = None) -> None: + """Sets a breakpoint on a particular address (within a specific layer)""" + if layer_name is None: + if self.current_layer is None: + raise ValueError("Current layer must be set") + layer_name = self.current_layer + + layer: interfaces.layers.DataLayerInterface = self.context.layers[layer_name] + # Check if the read value is already overloaded + if not hasattr(layer.read, "breakpoints"): + # Layer read is not yet wrapped + def wrapped_read(offset: int, length: int, pad: bool = False) -> bytes: + original_read = getattr(wrapped_read, "original_read") + for breakpoint in getattr(wrapped_read, "breakpoints"): + if (offset <= breakpoint) and (breakpoint < offset + length): + import pdb + + pdb.set_trace() + print("Hit breakpoint") + return original_read(offset, length, pad) + + setattr(wrapped_read, "breakpoints", set()) + setattr(wrapped_read, "original_read", layer.read) + setattr(layer, "read", wrapped_read) + + # Add the new breakpoint + breakpoints = getattr(layer.read, "breakpoints") + breakpoints.add(address) + setattr(layer.read, "breakpoints", breakpoints) + class NullFileHandler(io.BytesIO, interfaces.plugins.FileHandlerInterface): """Null FileHandler that swallows files whole without consuming memory""" From ae08c8ecfc8dd85f3c33af3a4307dd1cd86df243 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 5 May 2025 13:14:19 +0100 Subject: [PATCH 1897/2186] Support setting the breakpoint on the lowest layer --- volatility3/cli/volshell/generic.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 7ff30909f..20fbae417 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -799,7 +799,9 @@ class Volshell(interfaces.plugins.PluginInterface): return constructed - def breakpoint(self, address: int, layer_name: Optional[str] = None) -> None: + def breakpoint( + self, address: int, layer_name: Optional[str] = None, lowest: bool = False + ) -> None: """Sets a breakpoint on a particular address (within a specific layer)""" if layer_name is None: if self.current_layer is None: @@ -807,6 +809,18 @@ class Volshell(interfaces.plugins.PluginInterface): layer_name = self.current_layer layer: interfaces.layers.DataLayerInterface = self.context.layers[layer_name] + + if lowest: + while isinstance(layer, interfaces.layers.TranslationLayerInterface): + mapping = layer.mapping(address, 1) + if not mapping: + raise ValueError( + "Offset cannot be mapped lower, cannot break at lowest layer" + ) + _, _, mapped_offset, _, mapped_layer_name = next(mapping) + layer = self.context.layers[mapped_layer_name] + address = mapped_offset + # Check if the read value is already overloaded if not hasattr(layer.read, "breakpoints"): # Layer read is not yet wrapped @@ -825,6 +839,7 @@ class Volshell(interfaces.plugins.PluginInterface): setattr(layer, "read", wrapped_read) # Add the new breakpoint + print(f"Setting breakpoint {address:x} on {layer.name}") breakpoints = getattr(layer.read, "breakpoints") breakpoints.add(address) setattr(layer.read, "breakpoints", breakpoints) From 5bb4cd90c16da4b2248a97ad80a04f0b852ecf51 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 5 May 2025 13:16:29 +0100 Subject: [PATCH 1898/2186] Remove no longer needed functools import --- volatility3/cli/volshell/generic.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 20fbae417..4c90c39c9 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -3,7 +3,6 @@ # import binascii import code -import functools import io import random import string From 140a16d1dd263e4985413d166fb6e40111fa1051 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 5 May 2025 21:44:05 +0200 Subject: [PATCH 1899/2186] prevent forward slashes only dentry names --- volatility3/framework/symbols/linux/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 9d3930087..fbe0fdad3 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -190,9 +190,13 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): parent = dentry.d_parent dname = dentry.d_name.name_as_str() - path_reversed.append(dname.strip("/")) + dname_stripped = dname.strip("/") + if dname_stripped: + path_reversed.append(dname_stripped) dentry = parent + if path_reversed == []: + return "" path = "/" + "/".join(reversed(path_reversed)) return path From 2759df89dbf38ba3bd515624642db527b16b03e6 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 6 May 2025 00:31:09 +0200 Subject: [PATCH 1900/2186] tag potentially smeared dentry names --- volatility3/framework/symbols/linux/__init__.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index fbe0fdad3..65f20d88d 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -169,6 +169,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return "" path_reversed = [] + smeared = False while ( dentry and dentry.is_readable() @@ -190,14 +191,16 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): parent = dentry.d_parent dname = dentry.d_name.name_as_str() - dname_stripped = dname.strip("/") - if dname_stripped: - path_reversed.append(dname_stripped) + # empty dentry names are most likely + # the result of smearing + if not dname: + smeared = True + path_reversed.append(dname.strip("/")) dentry = parent - if path_reversed == []: - return "" path = "/" + "/".join(reversed(path_reversed)) + if smeared: + return f" {path}" return path @classmethod From 92673be42c761051561c3894050b6a0fb06c17f1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 6 May 2025 22:15:38 +0100 Subject: [PATCH 1901/2186] Reformat and install volatility package deps before build --- .github/workflows/build-pyinstaller.yml | 60 ++++++++++++------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/build-pyinstaller.yml b/.github/workflows/build-pyinstaller.yml index bcba95403..21c2d8acf 100644 --- a/.github/workflows/build-pyinstaller.yml +++ b/.github/workflows/build-pyinstaller.yml @@ -4,47 +4,47 @@ on: branches: - stable - develop - - 'release/**' + - "release/**" pull_request: branches: - stable - - 'release/**' + - "release/**" jobs: - exe: runs-on: windows-latest strategy: matrix: python-version: ["3.11"] steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pyinstaller - - - name: Pyinstall executable - run: | - pyinstaller --clean -y vol.spec - pyinstaller --clean -y volshell.spec + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pyinstaller + pip install -e .[full,cloud] - - name: Move files - run: | - mv dist/vol.exe vol.exe - mv dist/volshell.exe volshell.exe + - name: Pyinstall executable + run: | + pyinstaller --clean -y vol.spec + pyinstaller --clean -y volshell.spec - - name: Archive - uses: actions/upload-artifact@v4 - with: - name: volatility3-pyinstaller - path: | - vol.exe - volshell.exe - README.md - LICENSE.txt + - name: Move files + run: | + mv dist/vol.exe vol.exe + mv dist/volshell.exe volshell.exe + + - name: Archive + uses: actions/upload-artifact@v4 + with: + name: volatility3-pyinstaller + path: | + vol.exe + volshell.exe + README.md + LICENSE.txt From ee445d974692f3061dd6cb7eaae7c653381c740f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 6 May 2025 22:27:03 +0100 Subject: [PATCH 1902/2186] Add in workflow_dispatch for pyinstaller action --- .github/workflows/build-pyinstaller.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-pyinstaller.yml b/.github/workflows/build-pyinstaller.yml index 21c2d8acf..b1d15eb10 100644 --- a/.github/workflows/build-pyinstaller.yml +++ b/.github/workflows/build-pyinstaller.yml @@ -9,6 +9,7 @@ on: branches: - stable - "release/**" + workflow_dispatch: jobs: exe: From 718f8ca2b583d8fa8626502566f31fe1d5b92b3e Mon Sep 17 00:00:00 2001 From: ikelos Date: Tue, 6 May 2025 22:41:21 +0100 Subject: [PATCH 1903/2186] Update volatility3/framework/plugins/linux/vmayarascan.py --- volatility3/framework/plugins/linux/vmayarascan.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 9a413dd9d..64f5827c1 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -39,9 +39,6 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) ), - requirements.VersionRequirement( - name="yarascanner", component=yarascan.YaraScanner, version=(2, 0, 0) - ), requirements.ModuleRequirement( name="kernel", description="Linux kernel", From c0c7119c38e18ed92349d2ee7affe837bcba3aa0 Mon Sep 17 00:00:00 2001 From: ikelos Date: Tue, 6 May 2025 22:41:27 +0100 Subject: [PATCH 1904/2186] Update volatility3/framework/plugins/windows/thrdscan.py --- volatility3/framework/plugins/windows/thrdscan.py | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 81ed9976f..d5a1a0b07 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -143,18 +143,8 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) else None ) else: - vads = None - - start_path = ( - pe_symbols.PESymbols.filepath_for_address(vads, thread_start_addr) - if vads - else None - ) - win32start_path = ( - pe_symbols.PESymbols.filepath_for_address(vads, thread_win32start_addr) - if vads - else None - ) + start_path = None + win32start_path = None return cls.ThreadInfo( thread_offset, From 606fecf5f81b5adcc5fee1ea82b870ceafb826d1 Mon Sep 17 00:00:00 2001 From: ikelos Date: Tue, 6 May 2025 22:41:33 +0100 Subject: [PATCH 1905/2186] Update volatility3/framework/plugins/windows/vadyarascan.py --- volatility3/framework/plugins/windows/vadyarascan.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 62d3f8862..04b9aadd9 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -99,7 +99,6 @@ class VadYaraScan(interfaces.plugins.PluginInterface): layer_name=layer.name, length=len(value), ) - yield 0, ( format_hints.Hex(offset), task.UniqueProcessId, From 94a029232848f34e0c8366ef145509a436d41c27 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 7 May 2025 19:05:05 +0300 Subject: [PATCH 1906/2186] add functions to etwpatch --- volatility3/framework/plugins/windows/etwpatch.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 14fbacc28..2388bdcc7 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -30,10 +30,17 @@ class EtwPatch(interfaces.plugins.PluginInterface): "EtwEventWrite", "EtwEventWriteFull", "NtTraceEvent", + "NtTraceEvent", + "ZwTraceEvent", + "NtTraceControl", + "ZwTraceControl", + "EtwpEventWriteFull" ], }, "advapi32.dll": { - pe_symbols.wanted_names_identifier: ["EventWrite"], + pe_symbols.wanted_names_identifier: [ + "EventWrite", + "TraceEvent"], }, } From fc7e13f6f881f59a11ce428e9880608f2517b677 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 7 May 2025 19:30:58 +0300 Subject: [PATCH 1907/2186] black --- volatility3/framework/plugins/windows/etwpatch.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index 2388bdcc7..fb6375fd4 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -34,13 +34,11 @@ class EtwPatch(interfaces.plugins.PluginInterface): "ZwTraceEvent", "NtTraceControl", "ZwTraceControl", - "EtwpEventWriteFull" + "EtwpEventWriteFull", ], }, "advapi32.dll": { - pe_symbols.wanted_names_identifier: [ - "EventWrite", - "TraceEvent"], + pe_symbols.wanted_names_identifier: ["EventWrite", "TraceEvent"], }, } From 9ddf2d9abb5bb4bf820633e5345a033d6e70560f Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 7 May 2025 19:55:30 +0300 Subject: [PATCH 1908/2186] refs --- volatility3/framework/plugins/windows/etwpatch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index fb6375fd4..b392f07ca 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -12,6 +12,8 @@ from volatility3.plugins.windows import pslist, pe_symbols vollog = logging.getLogger(__name__) +# EtwpEventWriteFull -> https://github.com/SolitudePy/Stealthy-ETW-Patch +# CAPA rule -> https://github.com/mandiant/capa-rules/blob/master/anti-analysis/anti-av/patch-event-tracing-for-windows-function.yml class EtwPatch(interfaces.plugins.PluginInterface): """Identifies ETW (Event Tracing for Windows) patching techniques used by malware to evade detection. @@ -80,7 +82,6 @@ class EtwPatch(interfaces.plugins.PluginInterface): kernel_module_name=self.config["kernel"], filter_func=filter_func, ): - try: proc_id = proc.UniqueProcessId proc_name = utility.array_to_string(proc.ImageFileName) From f719efb9ec88317ae5af87586d1351673bb858a4 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 7 May 2025 20:39:46 +0300 Subject: [PATCH 1909/2186] dupe --- volatility3/framework/plugins/windows/etwpatch.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/etwpatch.py b/volatility3/framework/plugins/windows/etwpatch.py index b392f07ca..476d0eea7 100644 --- a/volatility3/framework/plugins/windows/etwpatch.py +++ b/volatility3/framework/plugins/windows/etwpatch.py @@ -32,7 +32,6 @@ class EtwPatch(interfaces.plugins.PluginInterface): "EtwEventWrite", "EtwEventWriteFull", "NtTraceEvent", - "NtTraceEvent", "ZwTraceEvent", "NtTraceControl", "ZwTraceControl", From 92eae9c50f56a486f0d62d57a68135d2b7375001 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 9 May 2025 09:06:43 +0100 Subject: [PATCH 1910/2186] Linux: Add comment for explaining the behaviour with smear --- volatility3/framework/symbols/linux/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 65f20d88d..327c6dd37 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -99,7 +99,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" - _version = (2, 3, 0) + _version = (2, 3, 1) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) @@ -200,6 +200,9 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): path = "/" + "/".join(reversed(path_reversed)) if smeared: + # if there is smear the missing dname will be empty. e.g. if the normal + # path would be /foo/bar/baz, but bar is missing due to smear the results + # returned here will show /foo//baz. Note the // for the missing dname. return f" {path}" return path From e0abdd92f2889e3841197573393d87c8c31d2a68 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Tue, 13 May 2025 17:52:12 -0500 Subject: [PATCH 1911/2186] Windows Thrdscan: Fix broken tuple unpacking Timeliner fails due to an incorrect unpacking of this tuple, which needs 3 additional dictionary items for start path, win32 start path, and win32 start address. --- volatility3/framework/plugins/windows/thrdscan.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index d5a1a0b07..082b82284 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -190,6 +190,9 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) row_dict["PID"], row_dict["TID"], row_dict["StartAddress"], + row_dict["StartPath"], + row_dict["Win32StartAddress"], + row_dict["Win32StartPath"], row_dict["CreateTime"], row_dict["ExitTime"], ) = row_data From 90a3829ee766f3ef5530ef061389e7f343ba96b8 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Thu, 15 May 2025 17:28:26 -0500 Subject: [PATCH 1912/2186] Windows Timeliner: Add basic test This is enough to ensure that the return code is nonzero and there was some valid output. --- test/plugins/windows/windows.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index 4272b64d2..0f44ba533 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -58,6 +58,14 @@ class TestWindowsPslist: } assert test_volatility.match_output_row(expected_row, json.loads(out)) +class TestWindowsTimeliner: + def test_windows_specific_timeliner(self, volatility, python): + image = WindowsSamples.WINDOWSXP_GENERIC.value.path + rc, out, _err = test_volatility.runvol_plugin( + "timeliner.Timeliner", image, volatility, python + ) + assert rc == 0 + assert out.count(b"\n") > 10 class TestWindowsPsscan: def test_windows_specific_psscan(self, volatility, python): From f79d0cb5ef02c6e88174bdf341f38e6d3e9e8286 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Fri, 16 May 2025 20:10:50 +0100 Subject: [PATCH 1913/2186] Align SeCreateTokenPrivilege with the other privileges --- .../framework/plugins/windows/sids_and_privileges.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/sids_and_privileges.json b/volatility3/framework/plugins/windows/sids_and_privileges.json index 0378699ac..4333617d0 100644 --- a/volatility3/framework/plugins/windows/sids_and_privileges.json +++ b/volatility3/framework/plugins/windows/sids_and_privileges.json @@ -573,7 +573,7 @@ ["S-1-5-21-[0-9-]+-553$", "Remote Access Services (RAS)"] ], "privileges":{ - "2": ["SeCreateTokenPrivilege", "Create a token object"], + "2": ["SeCreateTokenPrivilege", "Create a token object"], "3": ["SeAssignPrimaryTokenPrivilege", "Replace a process-level token"], "4": ["SeLockMemoryPrivilege", "Lock pages in memory"], "5": ["SeIncreaseQuotaPrivilege", "Increase quotas"], @@ -609,4 +609,4 @@ "35": ["SeCreateSymbolicLinkPrivilege", "Required to create a symbolic link"], "36": ["SeDelegateSessionUserImpersonatePrivilege", "Obtain an impersonation token for another user in the same session."] } -} \ No newline at end of file +} From c1d1c66daf333f465fc780a3018f71acbedffa7c Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 17 May 2025 09:28:49 +0100 Subject: [PATCH 1914/2186] Remove extra word in comment --- volatility3/framework/plugins/mac/pslist.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index 8c5e5c1a5..19f4516ac 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -135,7 +135,7 @@ class PsList(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - kernel_module_name: The name of the the kernel module on which to operate + kernel_module_name: The name of the kernel module on which to operate filter_func: A function which takes a process object and returns True if the process should be ignored/filtered Returns: @@ -180,7 +180,7 @@ class PsList(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - kernel_module_name: The name of the the kernel module on which to operate + kernel_module_name: The name of the kernel module on which to operate filter_func: A function which takes a task object and returns True if the task should be ignored/filtered Returns: @@ -224,7 +224,7 @@ class PsList(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - kernel_module_name: The name of the the kernel module on which to operate + kernel_module_name: The name of the kernel module on which to operate filter_func: A function which takes a task object and returns True if the task should be ignored/filtered Returns: @@ -259,7 +259,7 @@ class PsList(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - kernel_module_name: The name of the the kernel module on which to operate + kernel_module_name: The name of the kernel module on which to operate filter_func: A function which takes a task object and returns True if the task should be ignored/filtered Returns: @@ -297,7 +297,7 @@ class PsList(interfaces.plugins.PluginInterface): Args: context: The context to retrieve required elements (layers, symbol tables) from - kernel_module_name: The name of the the kernel module on which to operate + kernel_module_name: The name of the kernel module on which to operate filter_func: A function which takes a task object and returns True if the task should be ignored/filtered Returns: From 4eef4c00843a02b1cd64ad71a92d082ad58be5d2 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 17 May 2025 09:30:15 +0100 Subject: [PATCH 1915/2186] Remove extra word in comment --- doc/source/getting-started-windows-tutorial.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/getting-started-windows-tutorial.rst b/doc/source/getting-started-windows-tutorial.rst index 979cf1d96..3896000a2 100644 --- a/doc/source/getting-started-windows-tutorial.rst +++ b/doc/source/getting-started-windows-tutorial.rst @@ -27,7 +27,7 @@ For plugin requests, please create an issue with a description of the requested windows.crashinfo.Crashinfo windows.dlllist.DllList -.. note:: Here the the command is piped to grep and head to provide the start of a list of the available windows plugins. +.. note:: Here the command is piped to grep and head to provide the start of a list of the available windows plugins. Using plugins ------------- @@ -97,7 +97,7 @@ windows.pstree ``windows.pstree`` helps to display the parent-child relationships between processes. -.. note:: Here the the command is piped to head to provide smaller output, here listing only the first 20. +.. note:: Here the command is piped to head to provide smaller output, here listing only the first 20. windows.hashdump ~~~~~~~~~~~~~~~~ From c93d2248d10db7c2b5af603b1050ab9685c31a14 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 17 May 2025 09:30:52 +0100 Subject: [PATCH 1916/2186] Remove extra word in comment --- doc/source/getting-started-mac-tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting-started-mac-tutorial.rst b/doc/source/getting-started-mac-tutorial.rst index 61af7089b..f4889d689 100644 --- a/doc/source/getting-started-mac-tutorial.rst +++ b/doc/source/getting-started-mac-tutorial.rst @@ -37,7 +37,7 @@ For plugin requests, please create an issue with a description of the requested mac.check_sysctl.Check_sysctl mac.check_trap_table.Check_trap_table -.. note:: Here the the command is piped to grep and head to provide the start of the list of macOS plugins. +.. note:: Here the command is piped to grep and head to provide the start of the list of macOS plugins. Using plugins From 8bc2271e6f3c892b65f012717cadd22ef3b2a7fd Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 17 May 2025 09:31:19 +0100 Subject: [PATCH 1917/2186] Remove extra word in comment --- doc/source/getting-started-linux-tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index a1aad235d..031b49636 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -40,7 +40,7 @@ For plugin requests, please create an issue with a description of the requested linux.check_creds.Check_creds linux.check_idt.Check_idt -.. note:: Here the the command is piped to grep and head to provide the start of the list of linux plugins. +.. note:: Here the command is piped to grep and head to provide the start of the list of linux plugins. Using plugins From 6269091be761e3906ab184665d33cd3a85cdf1f5 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 18 May 2025 20:08:25 +0100 Subject: [PATCH 1918/2186] CLI: Support listing/clearing breakpoints in volshell --- volatility3/cli/volshell/generic.py | 44 +++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index 4c90c39c9..e68b0334e 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -187,6 +187,8 @@ class Volshell(interfaces.plugins.PluginInterface): def construct_locals(self) -> List[Tuple[List[str], Any]]: """Returns a listing of the functions to be added to the environment.""" return [ + (["bc", "breakpoint_clear"], self.breakpoint_clear), + (["bl", "breakpoint_list"], self.breakpoint_list), (["bp", "breakpoint"], self.breakpoint), (["dt", "display_type"], self.display_type), (["db", "display_bytes"], self.display_bytes), @@ -827,10 +829,13 @@ class Volshell(interfaces.plugins.PluginInterface): original_read = getattr(wrapped_read, "original_read") for breakpoint in getattr(wrapped_read, "breakpoints"): if (offset <= breakpoint) and (breakpoint < offset + length): + print( + "Hit breakpoint, entering python debugger. To continue running without the debugger use the command continue" + ) import pdb pdb.set_trace() - print("Hit breakpoint") + _ = "First statement after the breakpoint, use u(p), d(own) and list to navigate through the execution frames" return original_read(offset, length, pad) setattr(wrapped_read, "breakpoints", set()) @@ -838,11 +843,46 @@ class Volshell(interfaces.plugins.PluginInterface): setattr(layer, "read", wrapped_read) # Add the new breakpoint - print(f"Setting breakpoint {address:x} on {layer.name}") + print(f"Setting breakpoint {address:#x} on {layer.name}") breakpoints = getattr(layer.read, "breakpoints") breakpoints.add(address) setattr(layer.read, "breakpoints", breakpoints) + def breakpoint_list(self, layer_names: Optional[List[str]] = None): + """List available breakpoints for a set of layers""" + if not layer_names: + layer_names = [layer_name for layer_name in self.context.layers] + + print("Listing breakpoints:") + for layer_name in layer_names: + print(f" {layer_name}") + layer = self.context.layers.get(layer_name, None) + if layer and hasattr(layer.read, "breakpoints"): + for breakpoint in layer.read.breakpoints: + print(f" {breakpoint:#x}") + + def breakpoint_clear( + self, offset: Optional[int] = None, layer_name: Optional[str] = None + ): + """Clears a offset breakpoint on a layer (or all breakpoints if offset or layer not specified) + + Args: + offset: Address of the breakpoint to clear (or all if None) + layer_name: Layer to clear breakpoints from (or all if None) + """ + print("Clearing breakpoints:") + for candidate_layer_name in self.context.layers: + candidate_layer = self.context.layers[candidate_layer_name] + if layer_name is None or layer_name == candidate_layer_name: + print(f" {candidate_layer_name}") + if hasattr(candidate_layer.read, "breakpoints"): + breakpoints_to_remove = set() + for breakpoint in candidate_layer.read.breakpoints: + if offset is None or offset == breakpoint: + print(f" clearing {breakpoint:#x}") + breakpoints_to_remove.add(breakpoint) + candidate_layer.read.breakpoints -= breakpoints_to_remove + class NullFileHandler(io.BytesIO, interfaces.plugins.FileHandlerInterface): """Null FileHandler that swallows files whole without consuming memory""" From cb3e18ec9e354843cd4cff2f0fe6ba9befda6efd Mon Sep 17 00:00:00 2001 From: Elad Levi <99.elad.levi@gmail.com> Date: Mon, 19 May 2025 13:24:58 +0300 Subject: [PATCH 1919/2186] Update hashdump.py calling `.Name` returns array, changed to `.get_name()` which returns a string (the if statement in the code didn't work before this change) --- volatility3/framework/plugins/windows/registry/hashdump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/registry/hashdump.py b/volatility3/framework/plugins/windows/registry/hashdump.py index 1883d4530..256f15d61 100644 --- a/volatility3/framework/plugins/windows/registry/hashdump.py +++ b/volatility3/framework/plugins/windows/registry/hashdump.py @@ -350,7 +350,7 @@ class Hashdump(interfaces.plugins.PluginInterface): if not user_key: return [] - return [k for k in user_key.get_subkeys() if k.Name != "Names"] + return [k for k in user_key.get_subkeys() if k.get_name() != "Names"] @classmethod def get_bootkey(cls, syshive: registry_layer.RegistryHive) -> Optional[bytes]: From 2180c07c03cd69788f4d5d760d65ee47ad13c6f8 Mon Sep 17 00:00:00 2001 From: geekscrapy <11225502+geekscrapy@users.noreply.github.com> Date: Mon, 19 May 2025 14:47:29 +0400 Subject: [PATCH 1920/2186] Make nocase accessible --- volatility3/framework/plugins/yarascan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 49db2af02..040a50c1a 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -182,7 +182,7 @@ class YaraScan(plugins.PluginInterface): rule = config["yara_string"] if rule[0] not in ["{", "/"]: rule = f'"{rule}"' - if config.get("case", False): + if config.get("insensitive", False): rule += " nocase" if config.get("wide", False): rule += " wide ascii" From 0d272c919a0a30117264c8b336c9cb1ec65406e8 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 21 May 2025 18:48:51 +0200 Subject: [PATCH 1921/2186] enhance VMA smearing protection --- .../symbols/linux/extensions/__init__.py | 44 ++++++++++++++++--- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index c980ee6b1..a97cf2a5a 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1094,14 +1094,11 @@ class mm_struct(objects.StructType): vm_area_struct objects """ for vma in self._do_get_vma_iter(): - try: - vma.vm_start - vma.vm_end - vma.get_protection() - - yield vma - except exceptions.InvalidAddressException: + if not vma.is_valid(): vollog.debug(f"Skipping invalid vm_area_struct at {vma.vol.offset:#x}") + continue + + yield vma class super_block(objects.StructType): @@ -1237,6 +1234,39 @@ class vm_area_struct(objects.StructType): retval = retval + "-" return retval + def is_valid(self) -> bool: + """Validate a VMA struct to prevent processing smeared entries.""" + try: + start = self.vm_start + end = self.vm_end + self.get_protection() + except exceptions.InvalidAddressException: + return False + + layer = self._context.layers[self.vol.layer_name] + length = end - start + if ( + (start > end) + or (start == 0 and length == 0) + or (length % layer.page_size != 0) + ): + return False + + if self.vm_file != 0: + try: + inode = self.vm_file.get_inode() + except exceptions.InvalidAddressException: + return False + + # Verify that a file-backed VMA's page offset + # is not greater than the size of the file's inode. + # Check only inode sizes greater than 0 to account for + # special devices (e.g. "/dev/dri/card0") and prevent false negatives. + if inode.i_size > 0 and self.get_page_offset() > inode.i_size: + return False + + return True + # only parse the rwx bits def get_protection(self) -> str: return self._parse_flags(self.vm_flags & 0b1111, vm_area_struct.perm_flags) From 75293ec93185da3cb09f072d6a07a4a67dc08136 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 21 May 2025 18:49:31 +0200 Subject: [PATCH 1922/2186] bump: 2.26.2 -> 2.27.0 --- volatility3/framework/constants/_version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 07b9e45ec..7f71c277e 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 26 # Number of changes that only add to the interface -VERSION_PATCH = 2 # Number of changes that do not change the interface +VERSION_MINOR = 27 # Number of changes that only add to the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From 4f11586ef19bff42f28298c98ad943f769200751 Mon Sep 17 00:00:00 2001 From: Jost Alemann Date: Thu, 22 May 2025 23:25:15 +0200 Subject: [PATCH 1923/2186] fix: typos --- development/compare-vol.py | 2 +- volatility3/cli/text_renderer.py | 4 ++-- volatility3/cli/volshell/generic.py | 4 ++-- volatility3/framework/__init__.py | 2 +- volatility3/framework/automagic/symbol_cache.py | 2 +- volatility3/framework/contexts/__init__.py | 2 +- volatility3/framework/interfaces/context.py | 2 +- volatility3/framework/layers/intel.py | 2 +- volatility3/framework/objects/utility.py | 2 +- volatility3/framework/plugins/layerwriter.py | 2 +- volatility3/framework/plugins/linux/capabilities.py | 2 +- volatility3/framework/plugins/linux/netfilter.py | 4 ++-- .../framework/plugins/linux/tracing/ftrace.py | 2 +- .../framework/plugins/linux/tracing/tracepoints.py | 2 +- volatility3/framework/plugins/linux/vmaregexscan.py | 2 +- volatility3/framework/plugins/mac/pslist.py | 2 +- volatility3/framework/plugins/regexscan.py | 2 +- volatility3/framework/plugins/vmscan.py | 2 +- .../framework/plugins/windows/direct_system_calls.py | 4 ++-- .../plugins/windows/orphan_kernel_threads.py | 2 +- volatility3/framework/plugins/windows/pe_symbols.py | 8 ++++---- .../framework/plugins/windows/processghosting.py | 2 +- .../framework/plugins/windows/registry/hashdump.py | 2 +- .../plugins/windows/registry/scheduled_tasks.py | 4 ++-- .../framework/plugins/windows/shimcachemem.py | 2 +- .../framework/plugins/windows/suspicious_threads.py | 2 +- .../framework/plugins/windows/vadregexscan.py | 2 +- volatility3/framework/renderers/__init__.py | 2 +- volatility3/framework/symbols/linux/__init__.py | 2 +- .../framework/symbols/linux/extensions/__init__.py | 12 ++++++------ .../framework/symbols/linux/extensions/network.py | 6 +++--- volatility3/framework/symbols/linux/kallsyms.py | 2 +- .../symbols/linux/utilities/module_extract.py | 8 ++++---- .../framework/symbols/linux/utilities/modules.py | 6 +++--- .../framework/symbols/windows/extensions/consoles.py | 2 +- .../framework/symbols/windows/extensions/gui.py | 2 +- 36 files changed, 56 insertions(+), 56 deletions(-) diff --git a/development/compare-vol.py b/development/compare-vol.py index a01d8e93c..717d81d3e 100644 --- a/development/compare-vol.py +++ b/development/compare-vol.py @@ -339,7 +339,7 @@ if __name__ == "__main__": "--vol3path", type=str, default=os.path.join(os.getcwd(), "volatility3"), - help="Path ot the volatility 3 directory", + help="Path to the volatility 3 directory", ) parser.add_argument( "--vol2path", diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 044f33ed1..1e437a0be 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -49,7 +49,7 @@ def hex_bytes_as_text(value: bytes, width: int = 16) -> str: output += "\n" printables = "" - # Handle leftovers when the length is not mutiple of width + # Handle leftovers when the length is not a multiple of width if printables: padding = width - len(printables) output += " " * padding @@ -182,7 +182,7 @@ class LayerDataRenderer(CLITypeRenderer): output += "\n" printables = "" - # Handle leftovers when the length is not mutiple of width + # Handle leftovers when the length is not a multiple of width if printables: padding = self.width - len(printables) output += " " * padding diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index e68b0334e..ace4b2119 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -485,7 +485,7 @@ class Volshell(interfaces.plugins.PluginInterface): return if hasattr(volobject.vol, "members"): - # display the header for this object, if the orginal object was just a type string, display the type information + # display the header for this object, if the original object was just a type string, display the type information struct_header = f'{" " * dereference_count}{volobject.vol.type_name} ({volobject.vol.size} bytes)' if isinstance(object, str) and offset is None: suffix = ":" @@ -558,7 +558,7 @@ class Volshell(interfaces.plugins.PluginInterface): ) else: # simple type with no members, only one line to print - # if the orginal object was just a type string, display the type information + # if the original object was just a type string, display the type information if isinstance(object, str) and offset is None: print(self._display_simple_type(volobject, include_value=False)) diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 0bbdefa43..c384542a8 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -218,4 +218,4 @@ def clear_cache(complete=True): os.unlink(cache_filename) os.unlink(os.path.join(constants.CACHE_PATH, constants.IDENTIFIERS_FILENAME)) except FileNotFoundError: - vollog.log(constants.LOGLEVEL_VVVV, "Attempting to clear a non-existant cache") + vollog.log(constants.LOGLEVEL_VVVV, "Attempting to clear a non-existent cache") diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index cd1a348a4..327575e96 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -507,7 +507,7 @@ def load_cache_manager(cache_file: Optional[str] = None) -> CacheManagerInterfac cache_file = os.path.join(constants.CACHE_PATH, constants.IDENTIFIERS_FILENAME) # Different implementations of cache if not os.path.exists(cache_file): - raise ValueError("Non-existant cache file provided") + raise ValueError("Non-existent cache file provided") with open(cache_file, "rb") as fp: header = fp.read(4) if header not in [b"SQLi"]: diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index a000fce90..32d33f657 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -287,7 +287,7 @@ class Module(interfaces.context.ModuleInterface): symbol_name: Name of the symbol (within the module) to construct native_layer_name: Name of the layer in which constructed objects are made (for pointers) absolute: whether the symbol's address is absolute or relative to the module - object_type: Override for the type from the symobl to use (or if the symbol type is missing) + object_type: Override for the type from the symbol to use (or if the symbol type is missing) """ if constants.BANG not in symbol_name: symbol_name = self.symbol_table_name + constants.BANG + symbol_name diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index 723f2fd46..4f863898e 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -267,7 +267,7 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface): symbol_name: The name of a symbol (that must be present in the module's symbol table). The symbol's associated type will be used to construct an object at the symbol's offset. native_layer_name: The native layer for objects that reference a different layer (if not the default provided during module construction) absolute: A boolean specifying whether the offset is absolute within the layer, or relative to the start of the module - object_type: Override for the type from the symobl to use (or if the symbol type is missing) + object_type: Override for the type from the symbol to use (or if the symbol type is missing) Returns: The constructed object diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 1069b7f6d..696c33353 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -136,7 +136,7 @@ class Intel(linear.LinearlyMappedLayer): return bool(entry & (1 << 6)) def canonicalize(self, addr: int) -> int: - """Canonicalizes an address by performing an appropiate sign extension on the higher addresses""" + """Canonicalizes an address by performing an appropriate sign extension on the higher addresses""" if self._bits_per_register <= self._maxvirtaddr: return addr & self.address_mask elif addr < (1 << self._maxvirtaddr - 1): diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index ef702060c..59ac0ee55 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -152,7 +152,7 @@ def bytes_to_decoded_string( """ Args: data: The `bytes` buffer containing the string of a string at offset 0 - encoding: An encoding value for the encoding paramater of `bytes.decode` + encoding: An encoding value for the encoding parameter of `bytes.decode` errors: An errors value for the errors parameter of `bytes.decode` return_truncated: Dictates whether truncated strings should be returned or if a ValueError should be thrown if a truncated (broken) string was decoded diff --git a/volatility3/framework/plugins/layerwriter.py b/volatility3/framework/plugins/layerwriter.py index 10e7a7a72..bcc999aba 100644 --- a/volatility3/framework/plugins/layerwriter.py +++ b/volatility3/framework/plugins/layerwriter.py @@ -62,7 +62,7 @@ class LayerWriter(plugins.PluginInterface): Args: context: the context from which to read the memory layer layer_name: the name of the layer to write out - preferred_name: a string with the preferred filename for hte file + preferred_name: a string with the preferred filename for the file chunk_size: an optional size for the chunks that should be written (defaults to 0x500000) open_method: class for creating FileHandler context managers progress_callback: an optional function that takes a percentage and a string that displays output diff --git a/volatility3/framework/plugins/linux/capabilities.py b/volatility3/framework/plugins/linux/capabilities.py index dae6aac6a..364047893 100644 --- a/volatility3/framework/plugins/linux/capabilities.py +++ b/volatility3/framework/plugins/linux/capabilities.py @@ -29,7 +29,7 @@ class TaskData: @dataclass class CapabilitiesData: - """Stores each set of capabilties for a task""" + """Stores each set of capabilities for a task""" cap_inheritable: interfaces.objects.ObjectInterface cap_permitted: interfaces.objects.ObjectInterface diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index 9079adef9..d724d4296 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -417,7 +417,7 @@ class NetfilterImp_to_4_3(AbstractNetfilter): class NetfilterImp_4_3_to_4_9(AbstractNetfilter): - """Netfilter hooks were added to network namepaces in 4.3. + """Netfilter hooks were added to network namespaces in 4.3. It is still implemented as a linked list of 'struct nf_hook_ops' type but inside a network namespace. One linked list per protocol per hook type. @@ -611,7 +611,7 @@ class NetfilterImp_4_16_to_latest(NetfilterImp_4_14_to_4_16): class AbstractNetfilterNetDev(AbstractNetfilter): """Base class to handle the Netfilter NetDev hooks. It won't be executed. It has some common functions to all Netfilter NetDev hook - implementions. + implementations. Netfilter NetDev hooks are set per network device which belongs to a network namespace. diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index afcc71784..4b7c2ebb3 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -48,7 +48,7 @@ class FtraceOpsFlags(Enum): @dataclass class ParsedFtraceOps: """Parsed ftrace_ops struct representation, containing a selection of forensics valuable - informations.""" + information.""" ftrace_ops_offset: int callback_symbol: str diff --git a/volatility3/framework/plugins/linux/tracing/tracepoints.py b/volatility3/framework/plugins/linux/tracing/tracepoints.py index 25c87b664..8666ffd6a 100644 --- a/volatility3/framework/plugins/linux/tracing/tracepoints.py +++ b/volatility3/framework/plugins/linux/tracing/tracepoints.py @@ -21,7 +21,7 @@ vollog = logging.getLogger(__name__) @dataclass class ParsedTracepointFunc: """Parsed tracepoint_func struct, containing a selection of forensics valuable - informations.""" + information.""" tracepoint_name: str tracepoint_address: int diff --git a/volatility3/framework/plugins/linux/vmaregexscan.py b/volatility3/framework/plugins/linux/vmaregexscan.py index 37a1a5940..fb757beb5 100644 --- a/volatility3/framework/plugins/linux/vmaregexscan.py +++ b/volatility3/framework/plugins/linux/vmaregexscan.py @@ -91,7 +91,7 @@ class VmaRegExScan(plugins.PluginInterface): ): result_data = proc_layer.read(offset, self.MAXSIZE_DEFAULT, pad=True) - # reapply the regex in order to extact just the match + # reapply the regex in order to extract just the match regex_result = re.match(regex_pattern, result_data) if regex_result: diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index 19f4516ac..904e4e201 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -56,7 +56,7 @@ class PsList(interfaces.plugins.PluginInterface): """Returns the list_tasks method based on the selector Args: - method: Must be one fo the available methods in get_task_choices + method: Must be one of the available methods in get_task_choices Returns: list_tasks method for listing tasks diff --git a/volatility3/framework/plugins/regexscan.py b/volatility3/framework/plugins/regexscan.py index 343753e92..7df89f841 100644 --- a/volatility3/framework/plugins/regexscan.py +++ b/volatility3/framework/plugins/regexscan.py @@ -56,7 +56,7 @@ class RegExScan(plugins.PluginInterface): ): result_data = layer.read(offset, self.MAXSIZE_DEFAULT, pad=True) - # reapply the regex in order to extact just the match + # reapply the regex in order to extract just the match regex_result = re.match(regex_pattern, result_data) if regex_result: diff --git a/volatility3/framework/plugins/vmscan.py b/volatility3/framework/plugins/vmscan.py index 5322456b5..19d997605 100644 --- a/volatility3/framework/plugins/vmscan.py +++ b/volatility3/framework/plugins/vmscan.py @@ -54,7 +54,7 @@ class PageStartScanner(interfaces.layers.ScannerInterface): class Vmscan(plugins.PluginInterface): - """Scans for Intel VT-d structues and generates VM volatility configs for them""" + """Scans for Intel VT-d structures and generates VM volatility configs for them""" _required_framework_version = (2, 2, 0) _version = (1, 0, 0) diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index 60dbf728c..dce09605b 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -42,7 +42,7 @@ syscall_finder_type.__doc__ = """ This type is used to specify how malicious system call invocations should be found. `get_syscall_target_address` is optionally used to extract the address containing the malicious 'syscall' instruction -`wants_syscall_inst` whether or not this method expects the 'syscall' instrunction directly within the malicious code block +`wants_syscall_inst` whether or not this method expects the 'syscall' instruction directly within the malicious code block `rule` the opcode string to search for the malicious syscall instructions `invalid_ops` instructions that only appear in invalid code blocks. Stops processing of the code block when encountered. `termination_ops` instructions that are expected to be present in the code block and that stop processing @@ -116,7 +116,7 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): address: int, ) -> Optional[Tuple[str, "capstone._cs_insn"]]: """ - Determines if the bytes starting at `data` represent a valid syscall instrunction invocation block + Determines if the bytes starting at `data` represent a valid syscall instruction invocation block To maliciously invoke the system call instruction, malware must do each of the following: diff --git a/volatility3/framework/plugins/windows/orphan_kernel_threads.py b/volatility3/framework/plugins/windows/orphan_kernel_threads.py index b4dec0fc5..16a25503e 100644 --- a/volatility3/framework/plugins/windows/orphan_kernel_threads.py +++ b/volatility3/framework/plugins/windows/orphan_kernel_threads.py @@ -85,7 +85,7 @@ class Threads(thrdscan.ThrdScan): # previous methods for determining if a thread was a kernel thread # such as bit fields and flags are not stable in Win10+ # so we check if the thread is from the kernel itself or one its child - # kernel processes (MemCompression, Regsitry, ...) + # kernel processes (MemCompression, Registry, ...) if pid != 4 and ppid != 4: continue diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index e3af0c28a..00c6fd868 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -37,7 +37,7 @@ filter_modules_type = Dict[str, filter_module_info] found_symbols_module = List[Tuple[str, int]] found_symbols_type = Dict[str, found_symbols_module] -# used to hold informatin about a range (VAD or kernel module) +# used to hold information about a range (VAD or kernel module) # (start address, size, file path) range_type = Tuple[int, int, str] ranges_type = List[range_type] @@ -243,7 +243,7 @@ class PESymbols(interfaces.plugins.PluginInterface): _required_framework_version = (2, 7, 0) # 2.0.0 - changed signature of get_kernel_modules, get_all_vads_with_file_paths, addresses_for_process_symbols, get_process_modules - # 3.0.0 - find_symbols wil now throw a ValueError if the provided wanted symbol information does not follow the spec + # 3.0.0 - find_symbols will now throw a ValueError if the provided wanted symbol information does not follow the spec _version = (3, 0, 0) # used for special handling of the kernel PDB file. See later notes @@ -649,7 +649,7 @@ class PESymbols(interfaces.plugins.PluginInterface): and wanted_addresses_identifier not in wanted_symbols ): vollog.warning( - "Invalid `wanted_symbols` sent to `find_symbols`. addresses and names keys both misssing." + "Invalid `wanted_symbols` sent to `find_symbols`. addresses and names keys both missing." ) return @@ -671,7 +671,7 @@ class PESymbols(interfaces.plugins.PluginInterface): for value_index, wanted_value in enumerate(all_wanted): symbol_value = symbol_getter(wanted_value) if symbol_value: - # yield out deleteion key, deletion index, symbol name, symbol address + # yield out deletion key, deletion index, symbol name, symbol address if symbol_key == wanted_names_identifier: yield symbol_key, wanted_value, symbol_value else: diff --git a/volatility3/framework/plugins/windows/processghosting.py b/volatility3/framework/plugins/windows/processghosting.py index 7e7f6d3cc..f234bc2e7 100644 --- a/volatility3/framework/plugins/windows/processghosting.py +++ b/volatility3/framework/plugins/windows/processghosting.py @@ -118,7 +118,7 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): Args: proc: - mapped_files: A dictionary mapping vad base addreses to the path and vad instance for the process + mapped_files: A dictionary mapping vad base addresses to the path and vad instance for the process Return: A Generator of tuples of the file object address, the delete pending state, delete on close state, base address of the VAD, and the path diff --git a/volatility3/framework/plugins/windows/registry/hashdump.py b/volatility3/framework/plugins/windows/registry/hashdump.py index 256f15d61..19bd60e81 100644 --- a/volatility3/framework/plugins/windows/registry/hashdump.py +++ b/volatility3/framework/plugins/windows/registry/hashdump.py @@ -355,7 +355,7 @@ class Hashdump(interfaces.plugins.PluginInterface): @classmethod def get_bootkey(cls, syshive: registry_layer.RegistryHive) -> Optional[bytes]: """ - Returns the scrambled bootkey necesary to decrypt hashes + Returns the scrambled bootkey necessary to decrypt hashes """ cs = 1 lsa_base = f"ControlSet{cs:03}" + "\\Control\\Lsa" diff --git a/volatility3/framework/plugins/windows/registry/scheduled_tasks.py b/volatility3/framework/plugins/windows/registry/scheduled_tasks.py index a2789e5df..2c660229b 100644 --- a/volatility3/framework/plugins/windows/registry/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/registry/scheduled_tasks.py @@ -602,7 +602,7 @@ def decode_sid(data: bytes) -> Optional[str]: Decodes a windows SID from variable-length raw bytes Returns the string representation of the SID if decoding was successful, or None - if the data could not be parsed due to an insufficent number of bytes. + if the data could not be parsed due to an insufficient number of bytes. """ try: revision, subid_count, id_authority = struct.unpack( @@ -817,7 +817,7 @@ class TaskTrigger: _ = reader.read_u4() # timeout seconds repetition_interval_secs = reader.read_u4() - _ = reader.read_u4() # reptition duration seconds + _ = reader.read_u4() # repetition duration seconds _ = reader.read_u4() # repetition duration seconds 2 _ = reader.read_bool() # stop at duration end diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index 5c0af7766..7a03ebbb6 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -236,7 +236,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf 2) Iterate over every 4/8 bytes (depending on OS bitness) in the .data section and test for the following: a) offset represents a valid RTL_AVL_TABLE object - b) RTL_AVL_TABLE is preceeded by an ERESOURCE object + b) RTL_AVL_TABLE is preceded by an ERESOURCE object c) RTL_AVL_TABLE is followed by the beginning of the SHIM LRU list :param context: The context to retrieve required elements (layers, symbol tables) from diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py index eabc637c8..3da8cb21a 100644 --- a/volatility3/framework/plugins/windows/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -129,7 +129,7 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): ): yield ( vad_path, - "VAD at base address ({vad_base:#x}) hosting this thread maps an application executable that is not the process exectuable", + "VAD at base address ({vad_base:#x}) hosting this thread maps an application executable that is not the process executable", ) def _enumerate_processes( diff --git a/volatility3/framework/plugins/windows/vadregexscan.py b/volatility3/framework/plugins/windows/vadregexscan.py index 5ead4e453..068838e35 100644 --- a/volatility3/framework/plugins/windows/vadregexscan.py +++ b/volatility3/framework/plugins/windows/vadregexscan.py @@ -86,7 +86,7 @@ class VadRegExScan(plugins.PluginInterface): ): result_data = proc_layer.read(offset, self.MAXSIZE_DEFAULT, pad=True) - # reapply the regex in order to extact just the match + # reapply the regex in order to extract just the match regex_result = re.match(regex_pattern, result_data) if regex_result: diff --git a/volatility3/framework/renderers/__init__.py b/volatility3/framework/renderers/__init__.py index 4f1de586a..8732e6e88 100644 --- a/volatility3/framework/renderers/__init__.py +++ b/volatility3/framework/renderers/__init__.py @@ -93,7 +93,7 @@ class Disassembly(interfaces.renderers.BasicType): class LayerData(interfaces.renderers.BasicType): """Layer data - This requires the contex to be passed in, in case plugins want to use multiple contexts + This requires the context to be passed in, in case plugins want to use multiple contexts and to ensure the TreeGrid interface doesn't change, since this would break all existing plugins """ diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 327c6dd37..ac27b7e42 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -515,7 +515,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): vmlinux: interfaces.context.ModuleInterface, ) -> Optional[interfaces.objects.ObjectInterface]: """Cast a member of a structure out to the containing structure. - It mimicks the Linux kernel macro container_of() see include/linux.kernel.h + It mimics the Linux kernel macro container_of() see include/linux.kernel.h Args: addr: The pointer to the member. diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index c980ee6b1..3b9a73e7c 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -984,9 +984,9 @@ class maple_tree(objects.StructType): current_depth + 1, ) else: - # unkown maple node type + # unknown maple node type raise AttributeError( - f"Unkown Maple Tree node type {node_type} at offset {hex(pointer)}." + f"Unknown Maple Tree node type {node_type} at offset {hex(pointer)}." ) @@ -2295,7 +2295,7 @@ class kernel_cap_t(kernel_cap_struct): class Timespec64Abstract(abc.ABC): - """Abstract class to handle all required timespec64 operations, convertions and + """Abstract class to handle all required timespec64 operations, conversions and adjustments.""" @classmethod @@ -2391,7 +2391,7 @@ class Timespec64Abstract(abc.ABC): class Timespec64Concrete(Timespec64Abstract): - """Handle all required timespec64 operations, convertions and adjustments. + """Handle all required timespec64 operations, conversions and adjustments. This is used to dynamically create timespec64-like objects, each with its own variables and the same methods as a timespec64 object extension. """ @@ -2402,7 +2402,7 @@ class Timespec64Concrete(Timespec64Abstract): class timespec64(Timespec64Abstract, objects.StructType): - """Handle all required timespec64 operations, convertions and adjustments. + """Handle all required timespec64 operations, conversions and adjustments. This works as an extension of the timespec64 object while maintaining the same methods as a Timespec64Concrete object. """ @@ -2770,7 +2770,7 @@ class IDR(objects.StructType): vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self) if not vmlinux.get_type("idr_layer").has_member("layer"): vollog.info( - "Unsupported IDR implementation, it should be a very very old kernel, probabably < 2.6" + "Unsupported IDR implementation, it should be a very very old kernel, probably < 2.6" ) return None diff --git a/volatility3/framework/symbols/linux/extensions/network.py b/volatility3/framework/symbols/linux/extensions/network.py index 30094d1b1..37fa5a41f 100644 --- a/volatility3/framework/symbols/linux/extensions/network.py +++ b/volatility3/framework/symbols/linux/extensions/network.py @@ -65,7 +65,7 @@ class net_device(objects.StructType): hwaddr = parent_layer.read(self.dev_addr, self.addr_len, pad=True) except exceptions.InvalidAddressException: vollog.debug( - f"Unable to read network inteface mac address from {self.dev_addr:#x}" + f"Unable to read network interface mac address from {self.dev_addr:#x}" ) return None @@ -255,10 +255,10 @@ class net_device(objects.StructType): return None def get_queue_length(self) -> int: - """Return the netwrok device transmision qeueue length (qlen) + """Return the network device transmission queue length (qlen) Returns: - int: the netwrok device transmision qeueue length (qlen) + int: the network device transmission queue length (qlen) """ return self.tx_queue_len diff --git a/volatility3/framework/symbols/linux/kallsyms.py b/volatility3/framework/symbols/linux/kallsyms.py index 35aba3ca5..be026fc4e 100644 --- a/volatility3/framework/symbols/linux/kallsyms.py +++ b/volatility3/framework/symbols/linux/kallsyms.py @@ -121,7 +121,7 @@ class _KallsymsIO: self._endian = endian def read(self, size: int) -> bytes: - """Return 'size' bytes from the current postion""" + """Return 'size' bytes from the current position""" layer = self._context.layers[self._layer_name] buf = layer.read(offset=self._position, length=size) self._position += size diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index 49ad4d9c0..e55f77668 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -21,7 +21,7 @@ from volatility3.framework.symbols.linux import extensions vollog = logging.getLogger(__name__) -# This module is responsbile for producing an ELF file of a kernel module (LKM) loaded in memory +# This module is responsible for producing an ELF file of a kernel module (LKM) loaded in memory # This extraction task is quite complicated as the Linux kernel discards the ELF header at load time # Due to this, to support static analysis, we must create an ELF header and proper file based on the sections # There are also several other significant complications that we must deal with when trying to extract an LKM @@ -423,7 +423,7 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): ) if not data: vollog.debug( - f"Coult not construct a symbol table for module at {module.vol.offset}. Cannot recover." + f"Could not construct a symbol table for module at {module.vol.offset}. Cannot recover." ) return None, None, None @@ -469,7 +469,7 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): e_shentsize_int = 64 header_size = 64 - e_type = struct.pack(" ModuleGathererInterface.gatherer_return_type: """ Returns a ModuleInfo instance that encodes the kernel - This is required to map function pointers to the kerenl executable + This is required to map function pointers to the kernel executable """ kernel = context.modules[kernel_module_name] diff --git a/volatility3/framework/symbols/windows/extensions/consoles.py b/volatility3/framework/symbols/windows/extensions/consoles.py index 9666fd79c..b16855b9c 100644 --- a/volatility3/framework/symbols/windows/extensions/consoles.py +++ b/volatility3/framework/symbols/windows/extensions/consoles.py @@ -168,7 +168,7 @@ class SCREEN_INFORMATION(objects.StructType): @param truncate: True if the empty rows at the end (i.e. bottom) of the screen buffer should be - supressed. + suppressed. """ rows = [] diff --git a/volatility3/framework/symbols/windows/extensions/gui.py b/volatility3/framework/symbols/windows/extensions/gui.py index d1835631f..0d39f8173 100644 --- a/volatility3/framework/symbols/windows/extensions/gui.py +++ b/volatility3/framework/symbols/windows/extensions/gui.py @@ -146,7 +146,7 @@ class GUIExtensions(interfaces.configuration.VersionableInterface): self, window, max_windows ) -> Generator[Tuple[interfaces.objects.ObjectInterface, str], None, None]: """ - Recusively walks and yields the adjacent and child windows + Recursively walks and yields the adjacent and child windows """ seen_windows = set() seen_children = set() From 40a3d23e2db14363efe219d7633e4f4de808503a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 26 May 2025 10:19:28 +0100 Subject: [PATCH 1924/2186] Infra: Update checkout actions --- .github/workflows/build-pyinstaller.yml | 2 +- .github/workflows/codeql.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-pyinstaller.yml b/.github/workflows/build-pyinstaller.yml index b1d15eb10..7d9d86fb0 100644 --- a/.github/workflows/build-pyinstaller.yml +++ b/.github/workflows/build-pyinstaller.yml @@ -18,7 +18,7 @@ jobs: matrix: python-version: ["3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 324390e43..c79f1c086 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL From 83cfc84f36fcb848ebe951404d4bfa7ebde510c5 Mon Sep 17 00:00:00 2001 From: eve Date: Wed, 28 May 2025 20:05:03 +0100 Subject: [PATCH 1925/2186] Add a deprecation warning for PluginRequirement --- volatility3/framework/configuration/requirements.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 3e3608000..166c02fe5 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -14,7 +14,7 @@ import os from typing import Any, ClassVar, Dict, List, Optional, Set, Tuple, Type from urllib import parse, request -from volatility3.framework import constants, interfaces +from volatility3.framework import constants, interfaces, deprecation vollog = logging.getLogger(__name__) @@ -600,6 +600,11 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): return True +@deprecation.renamed_class( + deprecated_class_name="PluginRequirement", + removal_date="2026-06-01", + message="PluginRequirement is to be deprecated. Use VersionRequirement instead.", +) class PluginRequirement(VersionRequirement): def __init__( self, From 0be4d809c12fbe742b34c7f651182b6c535fc598 Mon Sep 17 00:00:00 2001 From: eve Date: Wed, 28 May 2025 21:16:04 +0100 Subject: [PATCH 1926/2186] Linux: update PerfEvents plugin to use VersionRequirement for pslist --- volatility3/framework/plugins/linux/tracing/perf_events.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/perf_events.py b/volatility3/framework/plugins/linux/tracing/perf_events.py index 3e0a40579..23b2f2c72 100644 --- a/volatility3/framework/plugins/linux/tracing/perf_events.py +++ b/volatility3/framework/plugins/linux/tracing/perf_events.py @@ -18,7 +18,7 @@ class PerfEvents(plugins.PluginInterface): """Lists performance events for each process.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -28,8 +28,8 @@ class PerfEvents(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), ] From bb4cee7071fb071b8ee9a06ed1b2cd4d78af2b51 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Thu, 29 May 2025 06:47:03 +0100 Subject: [PATCH 1927/2186] Tweak comments Also remove zeroes starting a slice. --- .../framework/plugins/windows/malfind.py | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index d9861d9c8..4727d5ff0 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -61,7 +61,7 @@ class Malfind(interfaces.plugins.PluginInterface): vad: the MMVAD structure to test Returns: - A boolean indicating whether a vad is empty or not + A boolean indicating whether a VAD is empty or not """ CHUNK_SIZE = 0x1000 @@ -112,13 +112,13 @@ class Malfind(interfaces.plugins.PluginInterface): code. Args: - context: The context to retrieve required elements (layers, symbol tables) from + context: The context to retrieve required elements (layers, symbol tables) kernel_layer_name: The name of the kernel layer from which to read the VAD protections symbol_table: The name of the table containing the kernel symbols proc: an _EPROCESS instance Returns: - An iterable of VAD instances and the first 64 bytes of data containing in that region + An iterable of VAD instances and the first 64 bytes of data contained in that region """ proc_id = "Unknown" try: @@ -144,7 +144,7 @@ class Malfind(interfaces.plugins.PluginInterface): if not write_exec: """ # Inspect "PAGE_EXECUTE_READ" VAD pages to detect - # non writable memory regions having been injected + # non-writable memory regions having been injected # using elevated WriteProcessMemory(). """ if "EXECUTE" in protection_string: @@ -152,7 +152,7 @@ class Malfind(interfaces.plugins.PluginInterface): vad.get_start(), vad.get_end(), proc_layer.page_size ): try: - # If we have a dirty page in a non writable "EXECUTE" region, it is suspicious. + # If we have a dirty page in a non-writable "EXECUTE" region, it is suspicious. if proc_layer.is_dirty(page): dirty_page = page break @@ -188,10 +188,10 @@ class Malfind(interfaces.plugins.PluginInterface): yield (vad, data) def _generator(self, procs): - # determine if we're on a 32 or 64 bit kernel + # Determine if we're on a 32 or 64 bit kernel kernel = self.context.modules[self.config["kernel"]] - # set refined criteria to know when to add to "Notes" column + # Set refined criteria to know when to add to "Notes" column refined_criteria = { b"MZ": "MZ header", b"\x55\x8b": "PE header", @@ -204,7 +204,7 @@ class Malfind(interfaces.plugins.PluginInterface): ) for proc in procs: - # by default, "Notes" column will be set to N/A + # By default, "Notes" column will be set to N/A process_name = utility.array_to_string(proc.ImageFileName) for vad, data_object in self.list_injection_sites( @@ -215,10 +215,10 @@ class Malfind(interfaces.plugins.PluginInterface): data = data_object.context.layers[data_object.layer_name].read( data_object.offset, data_object.length, True ) - if data[0:2] in refined_criteria: - notes = refined_criteria[data[0:2]] + if data[:2] in refined_criteria: + notes = refined_criteria[data[:2]] - # if we're on a 64 bit kernel, we may still need 32 bit disasm due to wow64 + # If we're on a 64 bit kernel, we may still need 32 bit disasm due to wow64 if is_32bit_arch or proc.get_is_wow64(): architecture = "intel" else: From a4bc02e41f49de526a793d198d325ac5c0b944cf Mon Sep 17 00:00:00 2001 From: eve Date: Thu, 29 May 2025 07:26:53 +0100 Subject: [PATCH 1928/2186] Move version checking logic into versionutils module --- volatility3/framework/__init__.py | 20 ++++++---------- .../framework/configuration/requirements.py | 10 +++----- volatility3/framework/deprecation.py | 5 ++-- volatility3/framework/versionutils.py | 23 +++++++++++++++++++ 4 files changed, 35 insertions(+), 23 deletions(-) create mode 100644 volatility3/framework/versionutils.py diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index c384542a8..1c899f434 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -13,7 +13,7 @@ import os import traceback from typing import Any, Dict, Generator, List, Optional, Tuple, Type, TypeVar -from volatility3.framework import constants, interfaces +from volatility3.framework import constants, interfaces, versionutils if ( sys.version_info.major != constants.REQUIRED_PYTHON_VERSION[0] @@ -48,19 +48,13 @@ vollog = logging.getLogger(__name__) def require_interface_version(*args) -> None: """Checks the required version of a plugin.""" - if len(args): - if args[0] != interface_version()[0]: - raise RuntimeError( - f"Framework interface version {interface_version()[0]} is incompatible with required version {args[0]}" + if not versionutils.matches_required(args, interface_version()): + raise RuntimeError( + "Framework interface version {} is incompatible with required version {}".format( + ".".join(str(x) for x in interface_version()[0:2]), + ".".join(str(x) for x in args[0:2]), ) - if len(args) > 1: - if args[1] > interface_version()[1]: - raise RuntimeError( - "Framework interface version {} is an older revision than the required version {}".format( - ".".join(str(x) for x in interface_version()[0:2]), - ".".join(str(x) for x in args[0:2]), - ) - ) + ) class NonInheritable: diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 166c02fe5..b7971d727 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -14,7 +14,7 @@ import os from typing import Any, ClassVar, Dict, List, Optional, Set, Tuple, Type from urllib import parse, request -from volatility3.framework import constants, interfaces, deprecation +from volatility3.framework import constants, interfaces, deprecation, versionutils vollog = logging.getLogger(__name__) @@ -551,7 +551,7 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): ) -> Dict[str, interfaces.configuration.RequirementInterface]: # Mypy doesn't appreciate our classproperty implementation, self._plugin.version has no type config_path = interfaces.configuration.path_join(config_path, self.name) - if not self.matches_required(self._version, self._component.version): + if not versionutils.matches_required(self._version, self._component.version): return {config_path: self} recurse = True @@ -593,11 +593,7 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): def matches_required( cls, required: Tuple[int, ...], version: Tuple[int, int, int] ) -> bool: - if len(required) > 0 and version[0] != required[0]: - return False - if len(required) > 1 and version[1] < required[1]: - return False - return True + versionutils.matches_required(required, version) @deprecation.renamed_class( diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py index 859a32bad..667ea72a5 100644 --- a/volatility3/framework/deprecation.py +++ b/volatility3/framework/deprecation.py @@ -10,8 +10,7 @@ import inspect from typing import Callable, Tuple -from volatility3.framework import interfaces, exceptions -from volatility3.framework.configuration import requirements +from volatility3.framework import interfaces, exceptions, versionutils def method_being_removed(message: str, removal_date: str): @@ -70,7 +69,7 @@ def deprecated_method( interfaces.configuration.VersionableInterface, ): # SemVer check - if not requirements.VersionRequirement.matches_required( + if not versionutils.matches_required( replacement_version, replacement_base_class.version ): raise exceptions.VersionMismatchException( diff --git a/volatility3/framework/versionutils.py b/volatility3/framework/versionutils.py new file mode 100644 index 000000000..334410ff8 --- /dev/null +++ b/volatility3/framework/versionutils.py @@ -0,0 +1,23 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +from typing import Tuple + + +def matches_required(required: Tuple[int, ...], version: Tuple[int, int, int]) -> bool: + """ + Checks if a version tuple satisfies the required version major and minor constraints. + + Parameters: + required (Tuple[int, ...]): A tuple containing required major and optionally minor version numbers. + version (Tuple[int, int, int]): A tuple containing the full version (major, minor, patch). + + Returns: + bool: True if the version matches the required constraints, False otherwise. + """ + if len(required) > 0 and version[0] != required[0]: + return False + if len(required) > 1 and version[1] < required[1]: + return False + return True From 1206b69abd362c750e4b7ab471950d5fe43726fe Mon Sep 17 00:00:00 2001 From: ikelos Date: Thu, 29 May 2025 09:45:26 +0100 Subject: [PATCH 1929/2186] Update volatility3/framework/plugins/windows/malfind.py --- volatility3/framework/plugins/windows/malfind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 4727d5ff0..33eaf64ef 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -112,7 +112,7 @@ class Malfind(interfaces.plugins.PluginInterface): code. Args: - context: The context to retrieve required elements (layers, symbol tables) + context: The context from which to retrieve required elements (layers, symbol tables) kernel_layer_name: The name of the kernel layer from which to read the VAD protections symbol_table: The name of the table containing the kernel symbols proc: an _EPROCESS instance From 3ce515bc017b2bd19c1ac2dd7ab9f2d94d44c6e8 Mon Sep 17 00:00:00 2001 From: eve Date: Thu, 29 May 2025 16:53:35 +0100 Subject: [PATCH 1930/2186] Add return for matches_required in VersionRequirement --- volatility3/framework/configuration/requirements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index b7971d727..6d978e2a9 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -593,7 +593,7 @@ class VersionRequirement(interfaces.configuration.RequirementInterface): def matches_required( cls, required: Tuple[int, ...], version: Tuple[int, int, int] ) -> bool: - versionutils.matches_required(required, version) + return versionutils.matches_required(required, version) @deprecation.renamed_class( From 306b7ff42bde54830be3e1c34880d981b9c35743 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Fri, 6 Jun 2025 23:55:12 +0300 Subject: [PATCH 1931/2186] use maxsize argument --- volatility3/framework/plugins/regexscan.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/regexscan.py b/volatility3/framework/plugins/regexscan.py index 7df89f841..c5ec97fd6 100644 --- a/volatility3/framework/plugins/regexscan.py +++ b/volatility3/framework/plugins/regexscan.py @@ -49,24 +49,24 @@ class RegExScan(plugins.PluginInterface): def _generator(self, regex_pattern): regex_pattern = bytes(regex_pattern, "UTF-8") vollog.debug(f"RegEx Pattern: {regex_pattern}") - + maxsize = self.config.get("maxsize", self.MAXSIZE_DEFAULT) layer = self.context.layers[self.config["primary"]] for offset in layer.scan( context=self.context, scanner=scanners.RegExScanner(regex_pattern) ): - result_data = layer.read(offset, self.MAXSIZE_DEFAULT, pad=True) + result_data = layer.read(offset, maxsize, pad=True) # reapply the regex in order to extract just the match regex_result = re.match(regex_pattern, result_data) if regex_result: - # the match is within the results_data (e.g. it fits within MAXSIZE_DEFAULT) + # the match is within the results_data (e.g. it fits within maxsize) # extract just the match itself regex_match = regex_result.group(0) text_result = str(regex_match, encoding="UTF-8", errors="replace") bytes_result = regex_match else: - # the match is not with the results_data (e.g. it doesn't fit within MAXSIZE_DEFAULT) + # the match is not with the results_data (e.g. it doesn't fit within maxsize) text_result = str(result_data, encoding="UTF-8", errors="replace") bytes_result = result_data From f01310c238d7b7d4f47814d4c482454f7b928dd0 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 11:39:56 +0300 Subject: [PATCH 1932/2186] use search instead of match --- volatility3/framework/plugins/regexscan.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/regexscan.py b/volatility3/framework/plugins/regexscan.py index c5ec97fd6..4df00a583 100644 --- a/volatility3/framework/plugins/regexscan.py +++ b/volatility3/framework/plugins/regexscan.py @@ -48,6 +48,7 @@ class RegExScan(plugins.PluginInterface): def _generator(self, regex_pattern): regex_pattern = bytes(regex_pattern, "UTF-8") + compiled_pattern = re.compile(regex_pattern) vollog.debug(f"RegEx Pattern: {regex_pattern}") maxsize = self.config.get("maxsize", self.MAXSIZE_DEFAULT) layer = self.context.layers[self.config["primary"]] @@ -57,7 +58,7 @@ class RegExScan(plugins.PluginInterface): result_data = layer.read(offset, maxsize, pad=True) # reapply the regex in order to extract just the match - regex_result = re.match(regex_pattern, result_data) + regex_result = compiled_pattern.search(result_data) if regex_result: # the match is within the results_data (e.g. it fits within maxsize) From 89247766981b0d4afd40d886e248e9dbbab1c909 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 7 Jun 2025 09:41:19 +0100 Subject: [PATCH 1933/2186] Plugins: Remove deprecated PluginRequirement in favour of VersionRequirement --- volatility3/framework/plugins/mac/timers.py | 4 ++-- volatility3/framework/plugins/windows/timers.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/mac/timers.py b/volatility3/framework/plugins/mac/timers.py index 8a267bd55..aef8c5e1c 100644 --- a/volatility3/framework/plugins/mac/timers.py +++ b/volatility3/framework/plugins/mac/timers.py @@ -31,8 +31,8 @@ class Timers(plugins.PluginInterface): requirements.VersionRequirement( name="macutils", component=mac.MacUtilities, version=(1, 3, 0) ), - requirements.PluginRequirement( - name="lsmod", plugin=lsmod.Lsmod, version=(2, 0, 0) + requirements.VersionRequirement( + name="lsmod", component=lsmod.Lsmod, version=(2, 0, 0) ), ] diff --git a/volatility3/framework/plugins/windows/timers.py b/volatility3/framework/plugins/windows/timers.py index f530a4c7b..c7364d5a5 100644 --- a/volatility3/framework/plugins/windows/timers.py +++ b/volatility3/framework/plugins/windows/timers.py @@ -35,11 +35,11 @@ class Timers(interfaces.plugins.PluginInterface): description="Windows kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="ssdt", plugin=ssdt.SSDT, version=(2, 0, 0) + requirements.VersionRequirement( + name="ssdt", component=ssdt.SSDT, version=(2, 0, 0) ), - requirements.PluginRequirement( - name="kpcrs", plugin=kpcrs.KPCRs, version=(2, 0, 0) + requirements.VersionRequirement( + name="kpcrs", component=kpcrs.KPCRs, version=(2, 0, 0) ), ] From eba4e4b50c8842e286410bcd62a0930b0c9b9602 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 11:50:07 +0300 Subject: [PATCH 1934/2186] generator overhead --- volatility3/framework/plugins/regexscan.py | 38 ++++++++++++++++++---- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/regexscan.py b/volatility3/framework/plugins/regexscan.py index 4df00a583..e95986899 100644 --- a/volatility3/framework/plugins/regexscan.py +++ b/volatility3/framework/plugins/regexscan.py @@ -46,14 +46,12 @@ class RegExScan(plugins.PluginInterface): ), ] - def _generator(self, regex_pattern): - regex_pattern = bytes(regex_pattern, "UTF-8") - compiled_pattern = re.compile(regex_pattern) - vollog.debug(f"RegEx Pattern: {regex_pattern}") - maxsize = self.config.get("maxsize", self.MAXSIZE_DEFAULT) + def _generator(self, compiled_pattern, raw_pattern, maxsize): + vollog.debug(f"RegEx Pattern: {raw_pattern}") layer = self.context.layers[self.config["primary"]] + for offset in layer.scan( - context=self.context, scanner=scanners.RegExScanner(regex_pattern) + context=self.context, scanner=scanners.RegExScanner(raw_pattern) ): result_data = layer.read(offset, maxsize, pad=True) @@ -74,11 +72,37 @@ class RegExScan(plugins.PluginInterface): yield 0, (format_hints.Hex(offset), text_result, bytes_result) def run(self): + pattern = self.config.get("pattern") + + # Handle pattern encoding robustly + if isinstance(pattern, str): + try: + raw_pattern = pattern.encode("utf-8") + except UnicodeEncodeError: + raw_pattern = pattern.encode("latin1", errors="replace") + else: + raw_pattern = pattern + + try: + compiled_pattern = re.compile(raw_pattern) + except re.error as e: + vollog.error(f"Invalid regex pattern: {e}") + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("Text", str), + ("Hex", bytes), + ], + [], + ) + + maxsize = self.config.get("maxsize", self.MAXSIZE_DEFAULT) + return renderers.TreeGrid( [ ("Offset", format_hints.Hex), ("Text", str), ("Hex", bytes), ], - self._generator(self.config.get("pattern")), + self._generator(compiled_pattern, raw_pattern, maxsize), ) From 0d7f985ef67cddd57b135bd1454d8f6e0597ab0d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 7 Jun 2025 10:16:22 +0100 Subject: [PATCH 1935/2186] Plugins: Add in __init__ files to create submodules for OS plugins --- volatility3/framework/plugins/linux/graphics/__init__.py | 0 volatility3/framework/plugins/linux/malware/__init__.py | 8 ++++++++ volatility3/framework/plugins/windows/malware/__init__.py | 8 ++++++++ 3 files changed, 16 insertions(+) create mode 100644 volatility3/framework/plugins/linux/graphics/__init__.py create mode 100644 volatility3/framework/plugins/linux/malware/__init__.py create mode 100644 volatility3/framework/plugins/windows/malware/__init__.py diff --git a/volatility3/framework/plugins/linux/graphics/__init__.py b/volatility3/framework/plugins/linux/graphics/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/volatility3/framework/plugins/linux/malware/__init__.py b/volatility3/framework/plugins/linux/malware/__init__.py new file mode 100644 index 000000000..89458befc --- /dev/null +++ b/volatility3/framework/plugins/linux/malware/__init__.py @@ -0,0 +1,8 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +"""All core linux malware plugins. + +These modules should only be imported from volatility3.plugins NOT +volatility3.framework.plugins +""" diff --git a/volatility3/framework/plugins/windows/malware/__init__.py b/volatility3/framework/plugins/windows/malware/__init__.py new file mode 100644 index 000000000..2e2fec739 --- /dev/null +++ b/volatility3/framework/plugins/windows/malware/__init__.py @@ -0,0 +1,8 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +"""All core windows malware plugins. + +These modules should only be imported from volatility3.plugins NOT +volatility3.framework.plugins +""" From fb76bf6b6c6583c0197868780df55190e3158ebf Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 7 Jun 2025 10:20:59 +0100 Subject: [PATCH 1936/2186] Linux: Minor linting fixes to fbdev plugin --- .../framework/plugins/linux/graphics/fbdev.py | 25 ++++++++----------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/plugins/linux/graphics/fbdev.py b/volatility3/framework/plugins/linux/graphics/fbdev.py index f7cde1bf0..1f9fd74b5 100644 --- a/volatility3/framework/plugins/linux/graphics/fbdev.py +++ b/volatility3/framework/plugins/linux/graphics/fbdev.py @@ -6,14 +6,9 @@ import io from dataclasses import dataclass from typing import Type, List, Dict, Tuple -from volatility3.framework import constants, exceptions, interfaces +from volatility3.framework import constants, exceptions, interfaces, renderers from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import ( - format_hints, - TreeGrid, - NotAvailableValue, - UnreadableValue, -) +from volatility3.framework.renderers import format_hints from volatility3.framework.objects import utility from volatility3.framework.constants import architectures from volatility3.framework.symbols import linux @@ -181,7 +176,7 @@ class Fbdev(interfaces.plugins.PluginInterface): """ kernel = context.modules[kernel_name] kernel_layer = context.layers[kernel.layer_name] - id = "N-A" if isinstance(fb.id, NotAvailableValue) else fb.id + id = "N-A" if isinstance(fb.id, renderers.NotAvailableValue) else fb.id base_filename = f"{id}_{fb.xres_virtual}x{fb.yres_virtual}_{fb.bpp}bpp" if convert_to_png_image: image_object = cls.convert_fb_raw_buffer_to_image(context, kernel_name, fb) @@ -193,9 +188,9 @@ class Fbdev(interfaces.plugins.PluginInterface): final_fb_buffer = kernel_layer.read(fb.fb_info.screen_base, fb.size) filename = f"{base_filename}.raw" - with open_method(filename) as f: - f.write(final_fb_buffer) - return f.preferred_filename + with open_method(filename) as fp: + fp.write(final_fb_buffer) + return fp.preferred_filename @classmethod def parse_fb_info( @@ -216,7 +211,7 @@ class Fbdev(interfaces.plugins.PluginInterface): - struct fb_var_screeninfo stores device independent changeable information about a frame buffer device, its current format and video mode, as well as other miscellaneous parameters. """ - id = utility.array_to_string(fb_info.fix.id) or NotAvailableValue() + id = utility.array_to_string(fb_info.fix.id) or renderers.NotAvailableValue() color_fields = None # 0 = color, 1 = grayscale, >1 = FOURCC @@ -299,14 +294,14 @@ You can try using ffmpeg to decode the raw buffer. Example usage: vollog.error( f'Layer {excp.layer_name} failed to read address {hex(excp.invalid_address)} when dumping framebuffer "{fb.id}".' ) - file_output = UnreadableValue() + file_output = renderers.UnreadableValue() try: fb_device_name = utility.pointer_to_string( fb.fb_info.dev.kobj.name, 256 ) except exceptions.InvalidAddressException: - fb_device_name = NotAvailableValue() + fb_device_name = renderers.NotAvailableValue() yield ( 0, @@ -334,7 +329,7 @@ You can try using ffmpeg to decode the raw buffer. Example usage: ("Filename", str), ] - return TreeGrid( + return renderers.TreeGrid( columns, self._generator(), ) From fd1e5510bb5a6e8d3f40b6037fe7bd27a8d2d369 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 12:27:27 +0300 Subject: [PATCH 1937/2186] categorize malfind as malware plugin --- .../framework/plugins/windows/malfind.py | 293 +----------------- .../plugins/windows/malware/malfind.py | 293 ++++++++++++++++++ 2 files changed, 303 insertions(+), 283 deletions(-) create mode 100644 volatility3/framework/plugins/windows/malware/malfind.py diff --git a/volatility3/framework/plugins/windows/malfind.py b/volatility3/framework/plugins/windows/malfind.py index 33eaf64ef..a98ab5ec0 100644 --- a/volatility3/framework/plugins/windows/malfind.py +++ b/volatility3/framework/plugins/windows/malfind.py @@ -1,293 +1,20 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import Iterable, Generator, Tuple - -from volatility3.framework import interfaces, symbols, exceptions -from volatility3.framework import renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.objects import utility -from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import pslist, vadinfo +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.windows.malware import malfind vollog = logging.getLogger(__name__) -class Malfind(interfaces.plugins.PluginInterface): - """Lists process memory ranges that potentially contain injected code.""" +class Malfind( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=malfind.Malfind, + removal_date="2026-06-07", +): + """Lists process memory ranges that potentially contain injected code (deprecated).""" _required_framework_version = (2, 22, 0) _version = (1, 1, 0) - - @classmethod - def get_requirements(cls): - # Since we're calling the plugin, make sure we have the plugin's requirements - return [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.ListRequirement( - name="pid", - element_type=int, - description="Process IDs to include (all other processes are excluded)", - optional=True, - ), - requirements.BooleanRequirement( - name="dump", - description="Extract injected VADs", - default=False, - optional=True, - ), - requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(3, 0, 0) - ), - requirements.VersionRequirement( - name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) - ), - ] - - @classmethod - def is_vad_empty(cls, proc_layer, vad): - """Check if a VAD region is either entirely unavailable due to paging, - entirely consisting of zeros, or a combination of the two. This helps - ignore false positives whose VAD flags match task._injection_filter - requirements but there's no data and thus not worth reporting it. - - Args: - proc_layer: the process layer - vad: the MMVAD structure to test - - Returns: - A boolean indicating whether a VAD is empty or not - """ - - CHUNK_SIZE = 0x1000 - all_zero_page = b"\x00" * CHUNK_SIZE - - offset = 0 - vad_length = vad.get_size() - - while offset < vad_length: - next_addr = vad.get_start() + offset - if ( - proc_layer.is_valid(next_addr, CHUNK_SIZE) - and proc_layer.read(next_addr, CHUNK_SIZE) != all_zero_page - ): - return False - offset += CHUNK_SIZE - - return True - - @classmethod - def list_injections( - cls, - context: interfaces.context.ContextInterface, - kernel_layer_name: str, - symbol_table: str, - proc: interfaces.objects.ObjectInterface, - ) -> Iterable[Tuple[interfaces.objects.ObjectInterface, bytes]]: - for vad, data_object in cls.list_injection_sites( - context, kernel_layer_name, symbol_table, proc - ): - yield vad, data_object.context.layers[data_object.layer_name].read( - data_object.offset, data_object.length - ) - - @classmethod - def list_injection_sites( - cls, - context: interfaces.context.ContextInterface, - kernel_layer_name: str, - symbol_table: str, - proc: interfaces.objects.ObjectInterface, - ) -> Generator[ - Tuple[interfaces.objects.ObjectInterface, renderers.LayerData], - None, - None, - ]: - """Generate memory regions for a process that may contain injected - code. - - Args: - context: The context from which to retrieve required elements (layers, symbol tables) - kernel_layer_name: The name of the kernel layer from which to read the VAD protections - symbol_table: The name of the table containing the kernel symbols - proc: an _EPROCESS instance - - Returns: - An iterable of VAD instances and the first 64 bytes of data contained in that region - """ - proc_id = "Unknown" - try: - proc_id = proc.UniqueProcessId - proc_layer_name = proc.add_process_layer() - except exceptions.InvalidAddressException as excp: - vollog.debug( - f"Process {proc_id}: invalid address {excp.invalid_address} in layer {excp.layer_name}" - ) - return None - - proc_layer = context.layers[proc_layer_name] - - for vad in proc.get_vad_root().traverse(): - protection_string = vad.get_protection( - vadinfo.VadInfo.protect_values( - context, kernel_layer_name, symbol_table - ), - vadinfo.winnt_protections, - ) - write_exec = "EXECUTE" in protection_string and "WRITE" in protection_string - dirty_page = None - if not write_exec: - """ - # Inspect "PAGE_EXECUTE_READ" VAD pages to detect - # non-writable memory regions having been injected - # using elevated WriteProcessMemory(). - """ - if "EXECUTE" in protection_string: - for page in range( - vad.get_start(), vad.get_end(), proc_layer.page_size - ): - try: - # If we have a dirty page in a non-writable "EXECUTE" region, it is suspicious. - if proc_layer.is_dirty(page): - dirty_page = page - break - except exceptions.InvalidAddressException: - # Abort as it is likely that other addresses in the same range will also fail. - break - if dirty_page is None: - continue - else: - continue - - if (vad.get_private_memory() == 1 and vad.get_tag() == "VadS") or ( - vad.get_private_memory() == 0 - and protection_string != "PAGE_EXECUTE_WRITECOPY" - ): - if cls.is_vad_empty(proc_layer, vad): - continue - - if dirty_page is not None: - # Useful information to investigate the page content with volshell afterwards. - vollog.warning( - f"[proc_id {proc_id}] Found suspicious DIRTY + {protection_string} page at {hex(dirty_page)}", - ) - start = vad.get_start() - length = 64 - data = renderers.LayerData( - context=context, - layer_name=proc_layer_name, - offset=start, - length=length, - no_surrounding=True, - ) - yield (vad, data) - - def _generator(self, procs): - # Determine if we're on a 32 or 64 bit kernel - kernel = self.context.modules[self.config["kernel"]] - - # Set refined criteria to know when to add to "Notes" column - refined_criteria = { - b"MZ": "MZ header", - b"\x55\x8b": "PE header", - b"\x55\x48": "Function prologue", - b"\x55\x89": "Function prologue", - } - - is_32bit_arch = not symbols.symbol_table_is_64bit( - context=self.context, symbol_table_name=kernel.symbol_table_name - ) - - for proc in procs: - # By default, "Notes" column will be set to N/A - process_name = utility.array_to_string(proc.ImageFileName) - - for vad, data_object in self.list_injection_sites( - self.context, kernel.layer_name, kernel.symbol_table_name, proc - ): - notes = renderers.NotApplicableValue() - # Check for unique headers and update "Notes" column if criteria is met - data = data_object.context.layers[data_object.layer_name].read( - data_object.offset, data_object.length, True - ) - if data[:2] in refined_criteria: - notes = refined_criteria[data[:2]] - - # If we're on a 64 bit kernel, we may still need 32 bit disasm due to wow64 - if is_32bit_arch or proc.get_is_wow64(): - architecture = "intel" - else: - architecture = "intel64" - - disasm = renderers.Disassembly(data, vad.get_start(), architecture) - - file_output = "Disabled" - if self.config["dump"]: - file_output = "Error outputting to file" - try: - file_handle = vadinfo.VadInfo.vad_dump( - self.context, proc, vad, self.open - ) - file_handle.close() - file_output = file_handle.preferred_filename - except (exceptions.InvalidAddressException, OverflowError) as excp: - vollog.debug( - f"Unable to dump PE with pid {proc.UniqueProcessId}.{vad.get_start():#x}: {excp}" - ) - - yield ( - 0, - ( - proc.UniqueProcessId, - process_name, - format_hints.Hex(vad.get_start()), - format_hints.Hex(vad.get_end()), - vad.get_tag(), - vad.get_protection( - vadinfo.VadInfo.protect_values( - self.context, - kernel.layer_name, - kernel.symbol_table_name, - ), - vadinfo.winnt_protections, - ), - vad.get_commit_charge(), - vad.get_private_memory(), - file_output, - notes, - data_object, - disasm, - ), - ) - - def run(self): - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - - return renderers.TreeGrid( - [ - ("PID", int), - ("Process", str), - ("Start VPN", format_hints.Hex), - ("End VPN", format_hints.Hex), - ("Tag", str), - ("Protection", str), - ("CommitCharge", int), - ("PrivateMemory", int), - ("File output", str), - ("Notes", str), - ("Hexdump", renderers.LayerData), - ("Disasm", renderers.Disassembly), - ], - self._generator( - pslist.PsList.list_processes( - context=self.context, - kernel_module_name=self.config["kernel"], - filter_func=filter_func, - ) - ), - ) diff --git a/volatility3/framework/plugins/windows/malware/malfind.py b/volatility3/framework/plugins/windows/malware/malfind.py new file mode 100644 index 000000000..33eaf64ef --- /dev/null +++ b/volatility3/framework/plugins/windows/malware/malfind.py @@ -0,0 +1,293 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import Iterable, Generator, Tuple + +from volatility3.framework import interfaces, symbols, exceptions +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import pslist, vadinfo + +vollog = logging.getLogger(__name__) + + +class Malfind(interfaces.plugins.PluginInterface): + """Lists process memory ranges that potentially contain injected code.""" + + _required_framework_version = (2, 22, 0) + _version = (1, 1, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.ListRequirement( + name="pid", + element_type=int, + description="Process IDs to include (all other processes are excluded)", + optional=True, + ), + requirements.BooleanRequirement( + name="dump", + description="Extract injected VADs", + default=False, + optional=True, + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) + ), + ] + + @classmethod + def is_vad_empty(cls, proc_layer, vad): + """Check if a VAD region is either entirely unavailable due to paging, + entirely consisting of zeros, or a combination of the two. This helps + ignore false positives whose VAD flags match task._injection_filter + requirements but there's no data and thus not worth reporting it. + + Args: + proc_layer: the process layer + vad: the MMVAD structure to test + + Returns: + A boolean indicating whether a VAD is empty or not + """ + + CHUNK_SIZE = 0x1000 + all_zero_page = b"\x00" * CHUNK_SIZE + + offset = 0 + vad_length = vad.get_size() + + while offset < vad_length: + next_addr = vad.get_start() + offset + if ( + proc_layer.is_valid(next_addr, CHUNK_SIZE) + and proc_layer.read(next_addr, CHUNK_SIZE) != all_zero_page + ): + return False + offset += CHUNK_SIZE + + return True + + @classmethod + def list_injections( + cls, + context: interfaces.context.ContextInterface, + kernel_layer_name: str, + symbol_table: str, + proc: interfaces.objects.ObjectInterface, + ) -> Iterable[Tuple[interfaces.objects.ObjectInterface, bytes]]: + for vad, data_object in cls.list_injection_sites( + context, kernel_layer_name, symbol_table, proc + ): + yield vad, data_object.context.layers[data_object.layer_name].read( + data_object.offset, data_object.length + ) + + @classmethod + def list_injection_sites( + cls, + context: interfaces.context.ContextInterface, + kernel_layer_name: str, + symbol_table: str, + proc: interfaces.objects.ObjectInterface, + ) -> Generator[ + Tuple[interfaces.objects.ObjectInterface, renderers.LayerData], + None, + None, + ]: + """Generate memory regions for a process that may contain injected + code. + + Args: + context: The context from which to retrieve required elements (layers, symbol tables) + kernel_layer_name: The name of the kernel layer from which to read the VAD protections + symbol_table: The name of the table containing the kernel symbols + proc: an _EPROCESS instance + + Returns: + An iterable of VAD instances and the first 64 bytes of data contained in that region + """ + proc_id = "Unknown" + try: + proc_id = proc.UniqueProcessId + proc_layer_name = proc.add_process_layer() + except exceptions.InvalidAddressException as excp: + vollog.debug( + f"Process {proc_id}: invalid address {excp.invalid_address} in layer {excp.layer_name}" + ) + return None + + proc_layer = context.layers[proc_layer_name] + + for vad in proc.get_vad_root().traverse(): + protection_string = vad.get_protection( + vadinfo.VadInfo.protect_values( + context, kernel_layer_name, symbol_table + ), + vadinfo.winnt_protections, + ) + write_exec = "EXECUTE" in protection_string and "WRITE" in protection_string + dirty_page = None + if not write_exec: + """ + # Inspect "PAGE_EXECUTE_READ" VAD pages to detect + # non-writable memory regions having been injected + # using elevated WriteProcessMemory(). + """ + if "EXECUTE" in protection_string: + for page in range( + vad.get_start(), vad.get_end(), proc_layer.page_size + ): + try: + # If we have a dirty page in a non-writable "EXECUTE" region, it is suspicious. + if proc_layer.is_dirty(page): + dirty_page = page + break + except exceptions.InvalidAddressException: + # Abort as it is likely that other addresses in the same range will also fail. + break + if dirty_page is None: + continue + else: + continue + + if (vad.get_private_memory() == 1 and vad.get_tag() == "VadS") or ( + vad.get_private_memory() == 0 + and protection_string != "PAGE_EXECUTE_WRITECOPY" + ): + if cls.is_vad_empty(proc_layer, vad): + continue + + if dirty_page is not None: + # Useful information to investigate the page content with volshell afterwards. + vollog.warning( + f"[proc_id {proc_id}] Found suspicious DIRTY + {protection_string} page at {hex(dirty_page)}", + ) + start = vad.get_start() + length = 64 + data = renderers.LayerData( + context=context, + layer_name=proc_layer_name, + offset=start, + length=length, + no_surrounding=True, + ) + yield (vad, data) + + def _generator(self, procs): + # Determine if we're on a 32 or 64 bit kernel + kernel = self.context.modules[self.config["kernel"]] + + # Set refined criteria to know when to add to "Notes" column + refined_criteria = { + b"MZ": "MZ header", + b"\x55\x8b": "PE header", + b"\x55\x48": "Function prologue", + b"\x55\x89": "Function prologue", + } + + is_32bit_arch = not symbols.symbol_table_is_64bit( + context=self.context, symbol_table_name=kernel.symbol_table_name + ) + + for proc in procs: + # By default, "Notes" column will be set to N/A + process_name = utility.array_to_string(proc.ImageFileName) + + for vad, data_object in self.list_injection_sites( + self.context, kernel.layer_name, kernel.symbol_table_name, proc + ): + notes = renderers.NotApplicableValue() + # Check for unique headers and update "Notes" column if criteria is met + data = data_object.context.layers[data_object.layer_name].read( + data_object.offset, data_object.length, True + ) + if data[:2] in refined_criteria: + notes = refined_criteria[data[:2]] + + # If we're on a 64 bit kernel, we may still need 32 bit disasm due to wow64 + if is_32bit_arch or proc.get_is_wow64(): + architecture = "intel" + else: + architecture = "intel64" + + disasm = renderers.Disassembly(data, vad.get_start(), architecture) + + file_output = "Disabled" + if self.config["dump"]: + file_output = "Error outputting to file" + try: + file_handle = vadinfo.VadInfo.vad_dump( + self.context, proc, vad, self.open + ) + file_handle.close() + file_output = file_handle.preferred_filename + except (exceptions.InvalidAddressException, OverflowError) as excp: + vollog.debug( + f"Unable to dump PE with pid {proc.UniqueProcessId}.{vad.get_start():#x}: {excp}" + ) + + yield ( + 0, + ( + proc.UniqueProcessId, + process_name, + format_hints.Hex(vad.get_start()), + format_hints.Hex(vad.get_end()), + vad.get_tag(), + vad.get_protection( + vadinfo.VadInfo.protect_values( + self.context, + kernel.layer_name, + kernel.symbol_table_name, + ), + vadinfo.winnt_protections, + ), + vad.get_commit_charge(), + vad.get_private_memory(), + file_output, + notes, + data_object, + disasm, + ), + ) + + def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("Start VPN", format_hints.Hex), + ("End VPN", format_hints.Hex), + ("Tag", str), + ("Protection", str), + ("CommitCharge", int), + ("PrivateMemory", int), + ("File output", str), + ("Notes", str), + ("Hexdump", renderers.LayerData), + ("Disasm", renderers.Disassembly), + ], + self._generator( + pslist.PsList.list_processes( + context=self.context, + kernel_module_name=self.config["kernel"], + filter_func=filter_func, + ) + ), + ) From 1498926decb332f99bf64620a719c26dc3937db2 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 12:58:31 +0300 Subject: [PATCH 1938/2186] categorize windows.hollowprocesses as malware --- .../plugins/windows/hollowprocesses.py | 224 +----------------- .../windows/malware/hollowprocesses.py | 223 +++++++++++++++++ 2 files changed, 234 insertions(+), 213 deletions(-) create mode 100644 volatility3/framework/plugins/windows/malware/hollowprocesses.py diff --git a/volatility3/framework/plugins/windows/hollowprocesses.py b/volatility3/framework/plugins/windows/hollowprocesses.py index af559bfbc..9949a223c 100644 --- a/volatility3/framework/plugins/windows/hollowprocesses.py +++ b/volatility3/framework/plugins/windows/hollowprocesses.py @@ -1,222 +1,20 @@ -# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import NamedTuple, Dict, Generator - -from volatility3.framework import interfaces, exceptions, constants -from volatility3.framework import renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.objects import utility -from volatility3.plugins.windows import pslist, vadinfo +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.windows.malware import hollowprocesses vollog = logging.getLogger(__name__) -class VadData(NamedTuple): - protection: str - path: str - - -class DLLData(NamedTuple): - path: str - - -### Useful references on process hollowing -# https://cysinfo.com/detecting-deceptive-hollowing-techniques/ -# https://github.com/m0n0ph1/Process-Hollowing - - -class HollowProcesses(interfaces.plugins.PluginInterface): - """Lists hollowed processes""" +class HollowProcesses( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=hollowprocesses.HollowProcesses, + removal_date="2026-06-07", +): + """Lists hollowed processes (deprecated)""" _required_framework_version = (2, 4, 0) - - @classmethod - def get_requirements(cls): - # Since we're calling the plugin, make sure we have the plugin's requirements - return [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.ListRequirement( - name="pid", - element_type=int, - description="Process IDs to include (all other processes are excluded)", - optional=True, - ), - requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(3, 0, 0) - ), - requirements.VersionRequirement( - name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) - ), - ] - - def _get_vads_data( - self, proc: interfaces.objects.ObjectInterface - ) -> Dict[int, VadData]: - """ - Returns a dictionary of: - base address -> (protection string, file name) - For each mapped VAD in the process. This is used - for quick lookups of data and matching the DLL - at the same base address as the VAD - """ - vads = {} - - kernel = self.context.modules[self.config["kernel"]] - - for vad in proc.get_vad_root().traverse(): - protection_string = vad.get_protection( - vadinfo.VadInfo.protect_values( - self.context, kernel.layer_name, kernel.symbol_table_name - ), - vadinfo.winnt_protections, - ) - - fn = vad.get_file_name() - if not fn or not isinstance(fn, str): - fn = "" - - vads[vad.get_start()] = VadData(protection_string, fn) - - return vads - - def _get_dlls_map( - self, proc: interfaces.objects.ObjectInterface - ) -> Dict[int, DLLData]: - """ - Returns a dictionary of: - base address -> path - for each DLL loaded in the process - - This is used to cross compare with - the corresponding VAD and to have a - backup path source in case of smear - in the VAD - """ - dlls = {} - - for entry in proc.load_order_modules(): - try: - base = entry.DllBase - except exceptions.InvalidAddressException: - continue - - try: - FullDllName = entry.FullDllName.get_string() - except exceptions.InvalidAddressException: - FullDllName = renderers.UnreadableValue() - - dlls[base] = DLLData(FullDllName) - - return dlls - - def _get_image_base(self, proc: interfaces.objects.ObjectInterface) -> int: - """ - Uses the PEB to get the image base of the process - """ - kernel = self.context.modules[self.config["kernel"]] - - try: - proc_layer_name = proc.add_process_layer() - peb = self.context.object( - kernel.symbol_table_name + constants.BANG + "_PEB", - layer_name=proc_layer_name, - offset=proc.Peb, - ) - return peb.ImageBaseAddress - except exceptions.InvalidAddressException: - return None - - def _check_load_address(self, proc, _, __) -> Generator[str, None, None]: - """ - Detects when the image base in the PEB, which is writable by process malware, - does not match the section base address - whose value lives in kernel memory. - Many malware samples will manipulate their image base to fool AVs/EDRs and - as a necessary part of certain hollowing techniques - """ - image_base = self._get_image_base(proc) - if image_base is not None and image_base != proc.SectionBaseAddress: - yield f"The ImageBaseAddress reported from the PEB ({image_base:#x}) does not match the process SectionBaseAddress ({proc.SectionBaseAddress:#x})" - - def _check_exe_protection( - self, proc, vads: Dict[int, VadData], __ - ) -> Generator[str, None, None]: - """ - Legitimately mapped application executables and DLLs - will have a VAD present and its initial protection will be - PAGE_EXECUTE_WRITECOPY. - Many process hollowing and code injection techniques will - unmap the real executable and/or map in executables with - incorrect permissions. - This check verifies the VAD for the application exe. - `_check_dlls_protection` checks for DLLs mapped in the process. - """ - base = proc.SectionBaseAddress - - if base not in vads: - yield f"There is no VAD starting at the base address of the process executable ({base:#x})" - elif vads[base].protection != "PAGE_EXECUTE_WRITECOPY": - yield f"Unexpected protection ({vads[base].protection}) for VAD hosting the process executable ({base:#x}) with path {vads[base].path}" - - def _check_dlls_protection( - self, _, vads: Dict[int, VadData], dlls: Dict[int, DLLData] - ) -> Generator[str, None, None]: - for dll_base in dlls: - # could be malicious but triggers too many FPs from smear - if dll_base not in vads: - continue - - # PAGE_EXECUTE_WRITECOPY is the only valid permission for mapped DLLs and .exe files - if vads[dll_base].protection != "PAGE_EXECUTE_WRITECOPY": - yield f"Unexpected protection ({vads[dll_base].protection}) for DLL in the PEB's load order list ({dll_base:#x}) with path {dlls[dll_base].path}" - - def _generator(self, procs): - checks = [ - self._check_load_address, - self._check_exe_protection, - self._check_dlls_protection, - ] - - for proc in procs: - # smear and/or terminated process - dlls = self._get_dlls_map(proc) - if len(dlls) < 3: - continue - - vads = self._get_vads_data(proc) - if len(vads) < 5: - continue - - proc_name = utility.array_to_string(proc.ImageFileName) - pid = proc.UniqueProcessId - - for check in checks: - for note in check(proc, vads, dlls): - yield 0, ( - pid, - proc_name, - note, - ) - - def run(self): - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - - return renderers.TreeGrid( - [ - ("PID", int), - ("Process", str), - ("Notes", str), - ], - self._generator( - pslist.PsList.list_processes( - context=self.context, - kernel_module_name=self.config["kernel"], - filter_func=filter_func, - ) - ), - ) + _version = (1, 0, 0) diff --git a/volatility3/framework/plugins/windows/malware/hollowprocesses.py b/volatility3/framework/plugins/windows/malware/hollowprocesses.py new file mode 100644 index 000000000..f981ae340 --- /dev/null +++ b/volatility3/framework/plugins/windows/malware/hollowprocesses.py @@ -0,0 +1,223 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import NamedTuple, Dict, Generator + +from volatility3.framework import interfaces, exceptions, constants +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.plugins.windows import pslist, vadinfo + +vollog = logging.getLogger(__name__) + + +class VadData(NamedTuple): + protection: str + path: str + + +class DLLData(NamedTuple): + path: str + + +### Useful references on process hollowing +# https://cysinfo.com/detecting-deceptive-hollowing-techniques/ +# https://github.com/m0n0ph1/Process-Hollowing + + +class HollowProcesses(interfaces.plugins.PluginInterface): + """Lists hollowed processes""" + + _required_framework_version = (2, 4, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.ListRequirement( + name="pid", + element_type=int, + description="Process IDs to include (all other processes are excluded)", + optional=True, + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) + ), + ] + + def _get_vads_data( + self, proc: interfaces.objects.ObjectInterface + ) -> Dict[int, VadData]: + """ + Returns a dictionary of: + base address -> (protection string, file name) + For each mapped VAD in the process. This is used + for quick lookups of data and matching the DLL + at the same base address as the VAD + """ + vads = {} + + kernel = self.context.modules[self.config["kernel"]] + + for vad in proc.get_vad_root().traverse(): + protection_string = vad.get_protection( + vadinfo.VadInfo.protect_values( + self.context, kernel.layer_name, kernel.symbol_table_name + ), + vadinfo.winnt_protections, + ) + + fn = vad.get_file_name() + if not fn or not isinstance(fn, str): + fn = "" + + vads[vad.get_start()] = VadData(protection_string, fn) + + return vads + + def _get_dlls_map( + self, proc: interfaces.objects.ObjectInterface + ) -> Dict[int, DLLData]: + """ + Returns a dictionary of: + base address -> path + for each DLL loaded in the process + + This is used to cross compare with + the corresponding VAD and to have a + backup path source in case of smear + in the VAD + """ + dlls = {} + + for entry in proc.load_order_modules(): + try: + base = entry.DllBase + except exceptions.InvalidAddressException: + continue + + try: + FullDllName = entry.FullDllName.get_string() + except exceptions.InvalidAddressException: + FullDllName = renderers.UnreadableValue() + + dlls[base] = DLLData(FullDllName) + + return dlls + + def _get_image_base(self, proc: interfaces.objects.ObjectInterface) -> int: + """ + Uses the PEB to get the image base of the process + """ + kernel = self.context.modules[self.config["kernel"]] + + try: + proc_layer_name = proc.add_process_layer() + peb = self.context.object( + kernel.symbol_table_name + constants.BANG + "_PEB", + layer_name=proc_layer_name, + offset=proc.Peb, + ) + return peb.ImageBaseAddress + except exceptions.InvalidAddressException: + return None + + def _check_load_address(self, proc, _, __) -> Generator[str, None, None]: + """ + Detects when the image base in the PEB, which is writable by process malware, + does not match the section base address - whose value lives in kernel memory. + Many malware samples will manipulate their image base to fool AVs/EDRs and + as a necessary part of certain hollowing techniques + """ + image_base = self._get_image_base(proc) + if image_base is not None and image_base != proc.SectionBaseAddress: + yield f"The ImageBaseAddress reported from the PEB ({image_base:#x}) does not match the process SectionBaseAddress ({proc.SectionBaseAddress:#x})" + + def _check_exe_protection( + self, proc, vads: Dict[int, VadData], __ + ) -> Generator[str, None, None]: + """ + Legitimately mapped application executables and DLLs + will have a VAD present and its initial protection will be + PAGE_EXECUTE_WRITECOPY. + Many process hollowing and code injection techniques will + unmap the real executable and/or map in executables with + incorrect permissions. + This check verifies the VAD for the application exe. + `_check_dlls_protection` checks for DLLs mapped in the process. + """ + base = proc.SectionBaseAddress + + if base not in vads: + yield f"There is no VAD starting at the base address of the process executable ({base:#x})" + elif vads[base].protection != "PAGE_EXECUTE_WRITECOPY": + yield f"Unexpected protection ({vads[base].protection}) for VAD hosting the process executable ({base:#x}) with path {vads[base].path}" + + def _check_dlls_protection( + self, _, vads: Dict[int, VadData], dlls: Dict[int, DLLData] + ) -> Generator[str, None, None]: + for dll_base in dlls: + # could be malicious but triggers too many FPs from smear + if dll_base not in vads: + continue + + # PAGE_EXECUTE_WRITECOPY is the only valid permission for mapped DLLs and .exe files + if vads[dll_base].protection != "PAGE_EXECUTE_WRITECOPY": + yield f"Unexpected protection ({vads[dll_base].protection}) for DLL in the PEB's load order list ({dll_base:#x}) with path {dlls[dll_base].path}" + + def _generator(self, procs): + checks = [ + self._check_load_address, + self._check_exe_protection, + self._check_dlls_protection, + ] + + for proc in procs: + # smear and/or terminated process + dlls = self._get_dlls_map(proc) + if len(dlls) < 3: + continue + + vads = self._get_vads_data(proc) + if len(vads) < 5: + continue + + proc_name = utility.array_to_string(proc.ImageFileName) + pid = proc.UniqueProcessId + + for check in checks: + for note in check(proc, vads, dlls): + yield 0, ( + pid, + proc_name, + note, + ) + + def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("Notes", str), + ], + self._generator( + pslist.PsList.list_processes( + context=self.context, + kernel_module_name=self.config["kernel"], + filter_func=filter_func, + ) + ), + ) From 21da9002d7be2492f14cb894b1e742e2efe3e104 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 13:31:26 +0300 Subject: [PATCH 1939/2186] categorize windows.processghosting as a malware plugin --- .../windows/malware/processghosting.py | 220 +++++++++++++++++ .../plugins/windows/processghosting.py | 222 +----------------- 2 files changed, 231 insertions(+), 211 deletions(-) create mode 100644 volatility3/framework/plugins/windows/malware/processghosting.py diff --git a/volatility3/framework/plugins/windows/malware/processghosting.py b/volatility3/framework/plugins/windows/malware/processghosting.py new file mode 100644 index 000000000..f234bc2e7 --- /dev/null +++ b/volatility3/framework/plugins/windows/malware/processghosting.py @@ -0,0 +1,220 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging + +from typing import Optional, Tuple, Generator, Dict + +from volatility3.framework import interfaces, exceptions +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import pslist, vadinfo + +vollog = logging.getLogger(__name__) + + +class ProcessGhosting(interfaces.plugins.PluginInterface): + """Lists processes whose DeletePending bit is set or whose FILE_OBJECT is set to 0 or Vads that are DeleteOnClose""" + + _version = (1, 0, 0) + _required_framework_version = (2, 4, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 1) + ), + ] + + @classmethod + def _process_checks( + cls, + proc: interfaces.objects.ObjectInterface, + mapped_files: Dict[int, Tuple[str, interfaces.objects.ObjectInterface]], + ) -> Generator[ + Tuple[int, Optional[int], Optional[int], int, Optional[str]], None, None + ]: + """ + Checks the EPROCESS for signs of ghosting + """ + if not proc.has_member("ImageFilePointer"): + return + + delete_pending = None + + # if it is 0 then its a side effect of process ghosting + if proc.ImageFilePointer.vol.offset != 0: + try: + file_object = proc.ImageFilePointer + delete_pending = file_object.DeletePending + file_object = file_object.dereference().vol.offset + except exceptions.InvalidAddressException: + file_object = 0 + + # ImageFilePointer equal to 0 means process ghosting or similar techniques were used + else: + file_object = 0 + + # delete_pending besides 0 or 1 = smear + if isinstance(delete_pending, int) and delete_pending not in [0, 1]: + vollog.debug( + f"Invalid delete_pending value {delete_pending} found for process {proc.UniqueProcessId}" + ) + delete_pending = None + + if file_object == 0 or delete_pending == 1: + yield file_object, delete_pending, None, proc.SectionBaseAddress + + @classmethod + def _vad_checks( + cls, control_area: interfaces.objects.ObjectInterface, vad_path: str + ) -> Generator[Tuple[int, Optional[int], Optional[int]], None, None]: + """ + Checks the control area for delete on close or delete pending being set + """ + try: + file_object = control_area.FilePointer.dereference().cast("_FILE_OBJECT") + except exceptions.InvalidAddressException: + return + + try: + delete_on_close = control_area.u.Flags.DeleteOnClose + except exceptions.InvalidAddressException: + delete_on_close = None + + if delete_on_close and vad_path.lower().endswith((".exe", ".dll")): + yield file_object.vol.offset, None, delete_on_close + + try: + delete_pending = file_object.DeletePending + except exceptions.InvalidAddressException: + delete_pending = None + + if delete_pending == 1: + yield file_object.vol.offset, delete_pending, None + + @classmethod + def check_for_ghosting( + cls, + proc: interfaces.objects.ObjectInterface, + mapped_files: Dict[int, Tuple[str, interfaces.objects.ObjectInterface]], + ) -> Generator[ + Tuple[int, Optional[int], Optional[int], int, Optional[str]], None, None + ]: + """ + Returns process or vad info for ghosting files + + Args: + proc: + mapped_files: A dictionary mapping vad base addresses to the path and vad instance for the process + + Return: + A Generator of tuples of the file object address, the delete pending state, delete on close state, base address of the VAD, and the path + """ + # check the direct file object of the process + yield from cls._process_checks(proc, mapped_files) + + # walk each vad, check if it is pending delete or has its delete on close bit set + for vad_base, (path, vad) in mapped_files.items(): + # these checks have no meaning for private memory areas + if vad.get_private_memory() == 1: + continue + + try: + if vad.has_member("ControlArea"): + control_area = vad.ControlArea + elif vad.has_member("Subsection"): + control_area = vad.Subsection.ControlArea + # We got here from a short vad, likely smear + else: + continue + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to get control area for vad at base {vad_base:#x} for process with pid {proc.UniqueProcessId}" + ) + continue + + for file_object_address, delete_pending, delete_on_close in cls._vad_checks( + control_area, path + ): + yield format_hints.Hex( + file_object_address + ), delete_pending, delete_on_close, vad_base + + def _generator(self, procs): + kernel = self.context.modules[self.config["kernel"]] + + has_imagefilepointer = kernel.get_type("_EPROCESS").has_member( + "ImageFilePointer" + ) + if not has_imagefilepointer: + vollog.warning( + "ImageFilePointer checks are only supported on Windows 10+ builds when the ImageFilePointer member of _EPROCESS is present" + ) + + for proc in procs: + process_name = utility.array_to_string(proc.ImageFileName) + pid = proc.UniqueProcessId + + # base address -> (file path, VAD instance) + mapped_files: Dict[int, Tuple[str, interfaces.objects.ObjectInterface]] = {} + for vad in vadinfo.VadInfo.list_vads(proc): + path = vad.get_file_name() + if isinstance(path, str): + mapped_files[vad.get_start()] = (path, vad) + + for ( + file_object_address, + delete_pending, + delete_on_close, + base_address, + ) in self.check_for_ghosting(proc, mapped_files): + vad_info = mapped_files.get(base_address) + if vad_info: + path = vad_info[0] + else: + path = renderers.NotAvailableValue() + + yield 0, ( + pid, + process_name, + format_hints.Hex(base_address), + format_hints.Hex(file_object_address), + delete_pending or renderers.NotApplicableValue(), + delete_on_close or renderers.NotApplicableValue(), + path, + ) + + def run(self): + filter_func = pslist.PsList.create_active_process_filter() + + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("Base", format_hints.Hex), + ("FILE_OBJECT", format_hints.Hex), + ("DeletePending", int), + ("DeleteOnClose", int), + ("Path", str), + ], + self._generator( + pslist.PsList.list_processes( + context=self.context, + kernel_module_name=self.config["kernel"], + filter_func=filter_func, + ) + ), + ) diff --git a/volatility3/framework/plugins/windows/processghosting.py b/volatility3/framework/plugins/windows/processghosting.py index f234bc2e7..24eb6fa9a 100644 --- a/volatility3/framework/plugins/windows/processghosting.py +++ b/volatility3/framework/plugins/windows/processghosting.py @@ -1,220 +1,20 @@ -# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging - -from typing import Optional, Tuple, Generator, Dict - -from volatility3.framework import interfaces, exceptions -from volatility3.framework import renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.objects import utility -from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import pslist, vadinfo +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.windows.malware import processghosting vollog = logging.getLogger(__name__) -class ProcessGhosting(interfaces.plugins.PluginInterface): - """Lists processes whose DeletePending bit is set or whose FILE_OBJECT is set to 0 or Vads that are DeleteOnClose""" +class ProcessGhosting( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=processghosting.ProcessGhosting, + removal_date="2026-06-07", +): + """Lists processes whose DeletePending bit is set or whose FILE_OBJECT is set to 0 or Vads that are DeleteOnClose (deprecated).""" - _version = (1, 0, 0) _required_framework_version = (2, 4, 0) - - @classmethod - def get_requirements(cls): - # Since we're calling the plugin, make sure we have the plugin's requirements - return [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(3, 0, 0) - ), - requirements.VersionRequirement( - name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 1) - ), - ] - - @classmethod - def _process_checks( - cls, - proc: interfaces.objects.ObjectInterface, - mapped_files: Dict[int, Tuple[str, interfaces.objects.ObjectInterface]], - ) -> Generator[ - Tuple[int, Optional[int], Optional[int], int, Optional[str]], None, None - ]: - """ - Checks the EPROCESS for signs of ghosting - """ - if not proc.has_member("ImageFilePointer"): - return - - delete_pending = None - - # if it is 0 then its a side effect of process ghosting - if proc.ImageFilePointer.vol.offset != 0: - try: - file_object = proc.ImageFilePointer - delete_pending = file_object.DeletePending - file_object = file_object.dereference().vol.offset - except exceptions.InvalidAddressException: - file_object = 0 - - # ImageFilePointer equal to 0 means process ghosting or similar techniques were used - else: - file_object = 0 - - # delete_pending besides 0 or 1 = smear - if isinstance(delete_pending, int) and delete_pending not in [0, 1]: - vollog.debug( - f"Invalid delete_pending value {delete_pending} found for process {proc.UniqueProcessId}" - ) - delete_pending = None - - if file_object == 0 or delete_pending == 1: - yield file_object, delete_pending, None, proc.SectionBaseAddress - - @classmethod - def _vad_checks( - cls, control_area: interfaces.objects.ObjectInterface, vad_path: str - ) -> Generator[Tuple[int, Optional[int], Optional[int]], None, None]: - """ - Checks the control area for delete on close or delete pending being set - """ - try: - file_object = control_area.FilePointer.dereference().cast("_FILE_OBJECT") - except exceptions.InvalidAddressException: - return - - try: - delete_on_close = control_area.u.Flags.DeleteOnClose - except exceptions.InvalidAddressException: - delete_on_close = None - - if delete_on_close and vad_path.lower().endswith((".exe", ".dll")): - yield file_object.vol.offset, None, delete_on_close - - try: - delete_pending = file_object.DeletePending - except exceptions.InvalidAddressException: - delete_pending = None - - if delete_pending == 1: - yield file_object.vol.offset, delete_pending, None - - @classmethod - def check_for_ghosting( - cls, - proc: interfaces.objects.ObjectInterface, - mapped_files: Dict[int, Tuple[str, interfaces.objects.ObjectInterface]], - ) -> Generator[ - Tuple[int, Optional[int], Optional[int], int, Optional[str]], None, None - ]: - """ - Returns process or vad info for ghosting files - - Args: - proc: - mapped_files: A dictionary mapping vad base addresses to the path and vad instance for the process - - Return: - A Generator of tuples of the file object address, the delete pending state, delete on close state, base address of the VAD, and the path - """ - # check the direct file object of the process - yield from cls._process_checks(proc, mapped_files) - - # walk each vad, check if it is pending delete or has its delete on close bit set - for vad_base, (path, vad) in mapped_files.items(): - # these checks have no meaning for private memory areas - if vad.get_private_memory() == 1: - continue - - try: - if vad.has_member("ControlArea"): - control_area = vad.ControlArea - elif vad.has_member("Subsection"): - control_area = vad.Subsection.ControlArea - # We got here from a short vad, likely smear - else: - continue - except exceptions.InvalidAddressException: - vollog.debug( - f"Unable to get control area for vad at base {vad_base:#x} for process with pid {proc.UniqueProcessId}" - ) - continue - - for file_object_address, delete_pending, delete_on_close in cls._vad_checks( - control_area, path - ): - yield format_hints.Hex( - file_object_address - ), delete_pending, delete_on_close, vad_base - - def _generator(self, procs): - kernel = self.context.modules[self.config["kernel"]] - - has_imagefilepointer = kernel.get_type("_EPROCESS").has_member( - "ImageFilePointer" - ) - if not has_imagefilepointer: - vollog.warning( - "ImageFilePointer checks are only supported on Windows 10+ builds when the ImageFilePointer member of _EPROCESS is present" - ) - - for proc in procs: - process_name = utility.array_to_string(proc.ImageFileName) - pid = proc.UniqueProcessId - - # base address -> (file path, VAD instance) - mapped_files: Dict[int, Tuple[str, interfaces.objects.ObjectInterface]] = {} - for vad in vadinfo.VadInfo.list_vads(proc): - path = vad.get_file_name() - if isinstance(path, str): - mapped_files[vad.get_start()] = (path, vad) - - for ( - file_object_address, - delete_pending, - delete_on_close, - base_address, - ) in self.check_for_ghosting(proc, mapped_files): - vad_info = mapped_files.get(base_address) - if vad_info: - path = vad_info[0] - else: - path = renderers.NotAvailableValue() - - yield 0, ( - pid, - process_name, - format_hints.Hex(base_address), - format_hints.Hex(file_object_address), - delete_pending or renderers.NotApplicableValue(), - delete_on_close or renderers.NotApplicableValue(), - path, - ) - - def run(self): - filter_func = pslist.PsList.create_active_process_filter() - - return renderers.TreeGrid( - [ - ("PID", int), - ("Process", str), - ("Base", format_hints.Hex), - ("FILE_OBJECT", format_hints.Hex), - ("DeletePending", int), - ("DeleteOnClose", int), - ("Path", str), - ], - self._generator( - pslist.PsList.list_processes( - context=self.context, - kernel_module_name=self.config["kernel"], - filter_func=filter_func, - ) - ), - ) + _version = (1, 0, 0) From e5738c126380a7624702ec4ee95fdb53dc7ed81d Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 14:03:36 +0300 Subject: [PATCH 1940/2186] categorize windows.psxview as malware plugin --- .../plugins/windows/malware/psxview.py | 241 ++++++++++++++++++ .../framework/plugins/windows/psxview.py | 237 +---------------- 2 files changed, 255 insertions(+), 223 deletions(-) create mode 100644 volatility3/framework/plugins/windows/malware/psxview.py diff --git a/volatility3/framework/plugins/windows/malware/psxview.py b/volatility3/framework/plugins/windows/malware/psxview.py new file mode 100644 index 000000000..51616a22c --- /dev/null +++ b/volatility3/framework/plugins/windows/malware/psxview.py @@ -0,0 +1,241 @@ +import datetime +import logging +import string +from itertools import chain +from typing import Dict, Iterable, List + +from volatility3.framework import constants, exceptions, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols.windows import extensions +from volatility3.plugins.windows import handles, pslist, psscan, thrdscan + +vollog = logging.getLogger(__name__) + + +class PsXView(plugins.PluginInterface): + """Lists all processes found via four of the methods described in \"The Art of Memory Forensics\" which may help \ +identify processes that are trying to hide themselves. + +We recommend using -r pretty if you are looking at this plugin's output in a terminal.""" + + # I've omitted the desktop thread scanning method because Volatility3 doesn't appear to have the functionality + # which the original plugin used to do it. + + # The sessions method is omitted because it begins with the list of processes found by Pslist anyway. + + # Lastly, I've omitted the pspcid method because I could not for the life of me get it to work. I saved the + # code I do have from it, and will happily share it if anyone else wants to add it. + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + valid_proc_name_chars = set( + string.ascii_lowercase + string.ascii_uppercase + "." + " " + ) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="psscan", component=psscan.PsScan, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="handles", component=handles.Handles, version=(4, 0, 0) + ), + requirements.BooleanRequirement( + name="physical-offsets", + description="List processes with physical offsets instead of virtual offsets.", + optional=True, + ), + ] + + def _proc_name_to_string(self, proc): + return proc.ImageFileName.cast( + "string", max_length=proc.ImageFileName.vol.count, errors="replace" + ) + + def _is_valid_proc_name(self, string: str) -> bool: + return all(c in self.valid_proc_name_chars for c in string) + + def _filter_garbage_procs( + self, proc_list: Iterable[extensions.EPROCESS] + ) -> List[extensions.EPROCESS]: + return [ + p + for p in proc_list + if p.is_valid() and self._is_valid_proc_name(self._proc_name_to_string(p)) + ] + + def _translate_offset(self, offset: int) -> int: + if not self.config["physical-offsets"]: + return offset + + kernel = self.context.modules[self.config["kernel"]] + layer_name = kernel.layer_name + + try: + _original_offset, _original_length, offset, _length, _layer_name = list( + self.context.layers[layer_name].mapping(offset=offset, length=0) + )[0] + except exceptions.PagedInvalidAddressException: + vollog.debug(f"Page fault: unable to translate {offset:0x}") + + return offset + + def _proc_list_to_dict( + self, tasks: Iterable[extensions.EPROCESS] + ) -> Dict[int, extensions.EPROCESS]: + tasks = self._filter_garbage_procs(tasks) + return {self._translate_offset(proc.vol.offset): proc for proc in tasks} + + def _check_pslist(self, tasks): + return self._proc_list_to_dict(tasks) + + def _check_psscan( + self, + ) -> Dict[int, extensions.EPROCESS]: + res = psscan.PsScan.scan_processes( + context=self.context, kernel_module_name=self.config["kernel"] + ) + + return self._proc_list_to_dict(res) + + def _check_thrdscan(self) -> Dict[int, extensions.EPROCESS]: + ret = [] + + for ethread in thrdscan.ThrdScan.scan_threads( + self.context, module_name="kernel" + ): + process = None + try: + process = ethread.owning_process() + if not process.is_valid(): + continue + + ret.append(process) + except AttributeError: + vollog.log( + constants.LOGLEVEL_VVV, + "Unable to find the owning process of ethread", + ) + + return self._proc_list_to_dict(ret) + + def _check_csrss_handles( + self, tasks: Iterable[extensions.EPROCESS] + ) -> Dict[int, extensions.EPROCESS]: + ret: List[extensions.EPROCESS] = [] + + type_map = handles.Handles.get_type_map( + context=self.context, kernel_module_name=self.config["kernel"] + ) + + cookie = handles.Handles.find_cookie( + context=self.context, kernel_module_name=self.config["kernel"] + ) + + for p in tasks: + name = self._proc_name_to_string(p) + if name != "csrss.exe": + continue + + try: + ret += [ + handle.Body.cast("_EPROCESS") + for handle in handles.Handles.handles( + context=self.context, + kernel_module_name=self.config["kernel"], + handle_table=p.ObjectTable, + ) + if handle.get_object_type(type_map, cookie) == "Process" + ] + except exceptions.InvalidAddressException: + vollog.log( + constants.LOGLEVEL_VVV, "Cannot access eprocess object table" + ) + + return self._proc_list_to_dict(ret) + + def _generator(self): + kdbg_list_processes = list( + pslist.PsList.list_processes( + context=self.context, kernel_module_name=self.config["kernel"] + ) + ) + + # get processes from each source + processes: Dict[str, Dict[int, extensions.EPROCESS]] = {} + + processes["pslist"] = self._check_pslist(kdbg_list_processes) + processes["psscan"] = self._check_psscan() + processes["thrdscan"] = self._check_thrdscan() + processes["csrss"] = self._check_csrss_handles(kdbg_list_processes) + + # Unique set of all offsets from all sources + offsets = set(chain(*(mapping.keys() for mapping in processes.values()))) + + for offset in offsets: + # We know there will be at least one process mapped to each offset + proc: extensions.EPROCESS = next( + mapping[offset] for mapping in processes.values() if offset in mapping + ) + + in_sources = {src: False for src in processes} + + for source, process_mapping in processes.items(): + if offset in process_mapping: + in_sources[source] = True + + pid = proc.UniqueProcessId + name = self._proc_name_to_string(proc) + + exit_time = proc.get_exit_time() + if type(exit_time) is not datetime.datetime: + exit_time = "" + else: + exit_time = str(exit_time) + + yield ( + 0, + ( + format_hints.Hex(offset), + name, + pid, + in_sources["pslist"], + in_sources["psscan"], + in_sources["thrdscan"], + in_sources["csrss"], + exit_time, + ), + ) + + def run(self): + offset_type = "(Physical)" if self.config["physical-offsets"] else "(Virtual)" + offset_str = "Offset" + offset_type + + return renderers.TreeGrid( + [ + (offset_str, format_hints.Hex), + ("Name", str), + ("PID", int), + ("pslist", bool), + ("psscan", bool), + ("thrdscan", bool), + ("csrss", bool), + ("Exit Time", str), + ], + self._generator(), + ) diff --git a/volatility3/framework/plugins/windows/psxview.py b/volatility3/framework/plugins/windows/psxview.py index 51616a22c..625f02387 100644 --- a/volatility3/framework/plugins/windows/psxview.py +++ b/volatility3/framework/plugins/windows/psxview.py @@ -1,24 +1,24 @@ -import datetime +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# import logging -import string -from itertools import chain -from typing import Dict, Iterable, List - -from volatility3.framework import constants, exceptions, renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins -from volatility3.framework.renderers import format_hints -from volatility3.framework.symbols.windows import extensions -from volatility3.plugins.windows import handles, pslist, psscan, thrdscan +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.windows.malware import psxview vollog = logging.getLogger(__name__) -class PsXView(plugins.PluginInterface): +class PsXView( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=psxview.PsXView, + removal_date="2026-06-07", +): """Lists all processes found via four of the methods described in \"The Art of Memory Forensics\" which may help \ -identify processes that are trying to hide themselves. + identify processes that are trying to hide themselves. -We recommend using -r pretty if you are looking at this plugin's output in a terminal.""" + We recommend using -r pretty if you are looking at this plugin's output in a terminal. + deprecated.""" # I've omitted the desktop thread scanning method because Volatility3 doesn't appear to have the functionality # which the original plugin used to do it. @@ -30,212 +30,3 @@ We recommend using -r pretty if you are looking at this plugin's output in a ter _required_framework_version = (2, 0, 0) _version = (1, 0, 0) - - valid_proc_name_chars = set( - string.ascii_lowercase + string.ascii_uppercase + "." + " " - ) - - @classmethod - def get_requirements(cls): - return [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(3, 0, 0) - ), - requirements.VersionRequirement( - name="psscan", component=psscan.PsScan, version=(2, 0, 0) - ), - requirements.VersionRequirement( - name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) - ), - requirements.VersionRequirement( - name="handles", component=handles.Handles, version=(4, 0, 0) - ), - requirements.BooleanRequirement( - name="physical-offsets", - description="List processes with physical offsets instead of virtual offsets.", - optional=True, - ), - ] - - def _proc_name_to_string(self, proc): - return proc.ImageFileName.cast( - "string", max_length=proc.ImageFileName.vol.count, errors="replace" - ) - - def _is_valid_proc_name(self, string: str) -> bool: - return all(c in self.valid_proc_name_chars for c in string) - - def _filter_garbage_procs( - self, proc_list: Iterable[extensions.EPROCESS] - ) -> List[extensions.EPROCESS]: - return [ - p - for p in proc_list - if p.is_valid() and self._is_valid_proc_name(self._proc_name_to_string(p)) - ] - - def _translate_offset(self, offset: int) -> int: - if not self.config["physical-offsets"]: - return offset - - kernel = self.context.modules[self.config["kernel"]] - layer_name = kernel.layer_name - - try: - _original_offset, _original_length, offset, _length, _layer_name = list( - self.context.layers[layer_name].mapping(offset=offset, length=0) - )[0] - except exceptions.PagedInvalidAddressException: - vollog.debug(f"Page fault: unable to translate {offset:0x}") - - return offset - - def _proc_list_to_dict( - self, tasks: Iterable[extensions.EPROCESS] - ) -> Dict[int, extensions.EPROCESS]: - tasks = self._filter_garbage_procs(tasks) - return {self._translate_offset(proc.vol.offset): proc for proc in tasks} - - def _check_pslist(self, tasks): - return self._proc_list_to_dict(tasks) - - def _check_psscan( - self, - ) -> Dict[int, extensions.EPROCESS]: - res = psscan.PsScan.scan_processes( - context=self.context, kernel_module_name=self.config["kernel"] - ) - - return self._proc_list_to_dict(res) - - def _check_thrdscan(self) -> Dict[int, extensions.EPROCESS]: - ret = [] - - for ethread in thrdscan.ThrdScan.scan_threads( - self.context, module_name="kernel" - ): - process = None - try: - process = ethread.owning_process() - if not process.is_valid(): - continue - - ret.append(process) - except AttributeError: - vollog.log( - constants.LOGLEVEL_VVV, - "Unable to find the owning process of ethread", - ) - - return self._proc_list_to_dict(ret) - - def _check_csrss_handles( - self, tasks: Iterable[extensions.EPROCESS] - ) -> Dict[int, extensions.EPROCESS]: - ret: List[extensions.EPROCESS] = [] - - type_map = handles.Handles.get_type_map( - context=self.context, kernel_module_name=self.config["kernel"] - ) - - cookie = handles.Handles.find_cookie( - context=self.context, kernel_module_name=self.config["kernel"] - ) - - for p in tasks: - name = self._proc_name_to_string(p) - if name != "csrss.exe": - continue - - try: - ret += [ - handle.Body.cast("_EPROCESS") - for handle in handles.Handles.handles( - context=self.context, - kernel_module_name=self.config["kernel"], - handle_table=p.ObjectTable, - ) - if handle.get_object_type(type_map, cookie) == "Process" - ] - except exceptions.InvalidAddressException: - vollog.log( - constants.LOGLEVEL_VVV, "Cannot access eprocess object table" - ) - - return self._proc_list_to_dict(ret) - - def _generator(self): - kdbg_list_processes = list( - pslist.PsList.list_processes( - context=self.context, kernel_module_name=self.config["kernel"] - ) - ) - - # get processes from each source - processes: Dict[str, Dict[int, extensions.EPROCESS]] = {} - - processes["pslist"] = self._check_pslist(kdbg_list_processes) - processes["psscan"] = self._check_psscan() - processes["thrdscan"] = self._check_thrdscan() - processes["csrss"] = self._check_csrss_handles(kdbg_list_processes) - - # Unique set of all offsets from all sources - offsets = set(chain(*(mapping.keys() for mapping in processes.values()))) - - for offset in offsets: - # We know there will be at least one process mapped to each offset - proc: extensions.EPROCESS = next( - mapping[offset] for mapping in processes.values() if offset in mapping - ) - - in_sources = {src: False for src in processes} - - for source, process_mapping in processes.items(): - if offset in process_mapping: - in_sources[source] = True - - pid = proc.UniqueProcessId - name = self._proc_name_to_string(proc) - - exit_time = proc.get_exit_time() - if type(exit_time) is not datetime.datetime: - exit_time = "" - else: - exit_time = str(exit_time) - - yield ( - 0, - ( - format_hints.Hex(offset), - name, - pid, - in_sources["pslist"], - in_sources["psscan"], - in_sources["thrdscan"], - in_sources["csrss"], - exit_time, - ), - ) - - def run(self): - offset_type = "(Physical)" if self.config["physical-offsets"] else "(Virtual)" - offset_str = "Offset" + offset_type - - return renderers.TreeGrid( - [ - (offset_str, format_hints.Hex), - ("Name", str), - ("PID", int), - ("pslist", bool), - ("psscan", bool), - ("thrdscan", bool), - ("csrss", bool), - ("Exit Time", str), - ], - self._generator(), - ) From a95ebfe3fd2c246e2103c57c61801704ba3e5751 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 16:06:32 +0300 Subject: [PATCH 1941/2186] categorize windows.suspicious_threads as malware plugin --- .../windows/malware/suspicious_threads.py | 221 ++++++++++++++++++ .../plugins/windows/suspicious_threads.py | 221 +----------------- 2 files changed, 231 insertions(+), 211 deletions(-) create mode 100644 volatility3/framework/plugins/windows/malware/suspicious_threads.py diff --git a/volatility3/framework/plugins/windows/malware/suspicious_threads.py b/volatility3/framework/plugins/windows/malware/suspicious_threads.py new file mode 100644 index 000000000..3da8cb21a --- /dev/null +++ b/volatility3/framework/plugins/windows/malware/suspicious_threads.py @@ -0,0 +1,221 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from typing import List, Dict, Tuple, Generator +from volatility3.framework import renderers, interfaces +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import pslist, threads, vadinfo, thrdscan + +vollog = logging.getLogger(__name__) + + +class SuspiciousThreads(interfaces.plugins.PluginInterface): + """Lists suspicious userland process threads""" + + _required_framework_version = (2, 4, 0) + _version = (2, 0, 1) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.ListRequirement( + name="pid", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + requirements.VersionRequirement( + name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="threads", component=threads.Threads, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) + ), + ] + + def _get_ranges( + self, + kernel: interfaces.context.ModuleInterface, + all_ranges: Dict[int, List[Tuple[int, int, str, str]]], + proc, + ) -> Tuple[int, int, str, str]: + """ + Maintains a hash table so each process' VADs + are only enumerated once per plugin run + """ + key = proc.vol.offset + + if key not in all_ranges: + all_ranges[key] = [] + + for vad in proc.get_vad_root().traverse(): + fn = vad.get_file_name() + if not isinstance(fn, str) or not fn: + fn = None + + protection_string = vad.get_protection( + vadinfo.VadInfo.protect_values( + self.context, kernel.layer_name, kernel.symbol_table_name + ), + vadinfo.winnt_protections, + ) + + all_ranges[key].append( + (vad.get_start(), vad.get_end(), protection_string, fn) + ) + + return all_ranges[key] + + def _get_range( + self, ranges: Dict[int, List[Tuple[int, int, str, str]]], address: int + ) -> Tuple[int, str, str]: + """ + Walks a process' VADs looking for the one + containing `address` + + Returns its base address, protection string, and mapped file, if any + """ + for start, end, protection_string, fn in ranges: + if start <= address < end: + return start, protection_string, fn + + return None, None, None + + def _check_thread_address( + self, exe_path: str, ranges, thread_address: int + ) -> Generator[Tuple[str, str], None, None]: + vad_base, prot, vad_path = self._get_range(ranges, thread_address) + + # threads outside of a VAD means either smear from this thread or this process' VAD tree + if vad_base is None: + return + + if vad_path is None: + # set this so checks after report the non file backed region in the path column + vad_path = "" + + yield ( + vad_path, + f"This thread started execution in the VAD starting at base address ({vad_base:#x}), which is not backed by a file", + ) + + # All threads should point to PAGE_EXECUTE_WRITECOPY mapped regions + if prot != "PAGE_EXECUTE_WRITECOPY": + yield ( + vad_path, + f"VAD at base address ({vad_base:#x}) hosting this thread has an unexpected starting protection {prot}", + ) + + # check for process hollowing type techniques that mapped in a second, malicious exe file + if ( + exe_path + and vad_path.lower().endswith(".exe") + and (vad_path.lower() != exe_path.lower()) + ): + yield ( + vad_path, + "VAD at base address ({vad_base:#x}) hosting this thread maps an application executable that is not the process executable", + ) + + def _enumerate_processes( + self, kernel: interfaces.context.ModuleInterface, all_ranges + ): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + for proc in pslist.PsList.list_processes( + context=self.context, + kernel_module_name=self.config["kernel"], + filter_func=filter_func, + ): + ranges = self._get_ranges(kernel, all_ranges, proc) + + # smeared vads or process is terminating + if len(all_ranges[proc.vol.offset]) < 5: + continue + + pid = proc.UniqueProcessId + proc_name = utility.array_to_string(proc.ImageFileName) + + _, __, exe_path = self._get_range(ranges, proc.SectionBaseAddress) + if not isinstance(exe_path, str): + exe_path = None + + yield proc, pid, proc_name, exe_path, ranges + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + all_ranges = {} + + for proc, pid, proc_name, exe_path, ranges in self._enumerate_processes( + kernel, all_ranges + ): + # processes often create multiple threads at the same address + # there is no benefit to checking the same address more than once per process + checked = set() + + for thread in threads.Threads.list_threads( + self.context, self.config["kernel"], proc + ): + # do not process if a thread is exited or terminated (4 = Terminated) + if thread.ExitTime.QuadPart > 0 or thread.Tcb.State == 4: + continue + + # bail if accessing the threads members causes a page fault + info = thrdscan.ThrdScan.gather_thread_info(thread) + if not info: + continue + + _, _, tid, start_address, _, win32_start_address, _, _, _ = info + + addresses = [ + (start_address, "Start"), + (win32_start_address, "Win32Start"), + ] + + for address, context in addresses: + if address in checked: + continue + checked.add(address) + + for vad_path, note in self._check_thread_address( + exe_path, ranges, address + ): + yield 0, ( + proc_name, + pid, + tid, + context, + format_hints.Hex(address), + vad_path, + note, + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Process", str), + ("PID", int), + ("TID", int), + ("Context", str), + ("Address", format_hints.Hex), + ("VAD Path", str), + ("Note", str), + ], + self._generator(), + ) diff --git a/volatility3/framework/plugins/windows/suspicious_threads.py b/volatility3/framework/plugins/windows/suspicious_threads.py index 3da8cb21a..068bdccaf 100644 --- a/volatility3/framework/plugins/windows/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/suspicious_threads.py @@ -1,221 +1,20 @@ -# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # - import logging -from typing import List, Dict, Tuple, Generator -from volatility3.framework import renderers, interfaces -from volatility3.framework.configuration import requirements -from volatility3.framework.objects import utility -from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import pslist, threads, vadinfo, thrdscan +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.windows.malware import suspicious_threads vollog = logging.getLogger(__name__) -class SuspiciousThreads(interfaces.plugins.PluginInterface): - """Lists suspicious userland process threads""" +class SuspiciousThreads( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=suspicious_threads.SuspiciousThreads, + removal_date="2026-06-07", +): + """Lists suspicious userland process threads (deprecated).""" _required_framework_version = (2, 4, 0) _version = (2, 0, 1) - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - # Since we're calling the plugin, make sure we have the plugin's requirements - return [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.ListRequirement( - name="pid", - description="Filter on specific process IDs", - element_type=int, - optional=True, - ), - requirements.VersionRequirement( - name="thrdscan", component=thrdscan.ThrdScan, version=(2, 0, 0) - ), - requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(3, 0, 0) - ), - requirements.VersionRequirement( - name="threads", component=threads.Threads, version=(3, 0, 0) - ), - requirements.VersionRequirement( - name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) - ), - ] - - def _get_ranges( - self, - kernel: interfaces.context.ModuleInterface, - all_ranges: Dict[int, List[Tuple[int, int, str, str]]], - proc, - ) -> Tuple[int, int, str, str]: - """ - Maintains a hash table so each process' VADs - are only enumerated once per plugin run - """ - key = proc.vol.offset - - if key not in all_ranges: - all_ranges[key] = [] - - for vad in proc.get_vad_root().traverse(): - fn = vad.get_file_name() - if not isinstance(fn, str) or not fn: - fn = None - - protection_string = vad.get_protection( - vadinfo.VadInfo.protect_values( - self.context, kernel.layer_name, kernel.symbol_table_name - ), - vadinfo.winnt_protections, - ) - - all_ranges[key].append( - (vad.get_start(), vad.get_end(), protection_string, fn) - ) - - return all_ranges[key] - - def _get_range( - self, ranges: Dict[int, List[Tuple[int, int, str, str]]], address: int - ) -> Tuple[int, str, str]: - """ - Walks a process' VADs looking for the one - containing `address` - - Returns its base address, protection string, and mapped file, if any - """ - for start, end, protection_string, fn in ranges: - if start <= address < end: - return start, protection_string, fn - - return None, None, None - - def _check_thread_address( - self, exe_path: str, ranges, thread_address: int - ) -> Generator[Tuple[str, str], None, None]: - vad_base, prot, vad_path = self._get_range(ranges, thread_address) - - # threads outside of a VAD means either smear from this thread or this process' VAD tree - if vad_base is None: - return - - if vad_path is None: - # set this so checks after report the non file backed region in the path column - vad_path = "" - - yield ( - vad_path, - f"This thread started execution in the VAD starting at base address ({vad_base:#x}), which is not backed by a file", - ) - - # All threads should point to PAGE_EXECUTE_WRITECOPY mapped regions - if prot != "PAGE_EXECUTE_WRITECOPY": - yield ( - vad_path, - f"VAD at base address ({vad_base:#x}) hosting this thread has an unexpected starting protection {prot}", - ) - - # check for process hollowing type techniques that mapped in a second, malicious exe file - if ( - exe_path - and vad_path.lower().endswith(".exe") - and (vad_path.lower() != exe_path.lower()) - ): - yield ( - vad_path, - "VAD at base address ({vad_base:#x}) hosting this thread maps an application executable that is not the process executable", - ) - - def _enumerate_processes( - self, kernel: interfaces.context.ModuleInterface, all_ranges - ): - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - - for proc in pslist.PsList.list_processes( - context=self.context, - kernel_module_name=self.config["kernel"], - filter_func=filter_func, - ): - ranges = self._get_ranges(kernel, all_ranges, proc) - - # smeared vads or process is terminating - if len(all_ranges[proc.vol.offset]) < 5: - continue - - pid = proc.UniqueProcessId - proc_name = utility.array_to_string(proc.ImageFileName) - - _, __, exe_path = self._get_range(ranges, proc.SectionBaseAddress) - if not isinstance(exe_path, str): - exe_path = None - - yield proc, pid, proc_name, exe_path, ranges - - def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - - all_ranges = {} - - for proc, pid, proc_name, exe_path, ranges in self._enumerate_processes( - kernel, all_ranges - ): - # processes often create multiple threads at the same address - # there is no benefit to checking the same address more than once per process - checked = set() - - for thread in threads.Threads.list_threads( - self.context, self.config["kernel"], proc - ): - # do not process if a thread is exited or terminated (4 = Terminated) - if thread.ExitTime.QuadPart > 0 or thread.Tcb.State == 4: - continue - - # bail if accessing the threads members causes a page fault - info = thrdscan.ThrdScan.gather_thread_info(thread) - if not info: - continue - - _, _, tid, start_address, _, win32_start_address, _, _, _ = info - - addresses = [ - (start_address, "Start"), - (win32_start_address, "Win32Start"), - ] - - for address, context in addresses: - if address in checked: - continue - checked.add(address) - - for vad_path, note in self._check_thread_address( - exe_path, ranges, address - ): - yield 0, ( - proc_name, - pid, - tid, - context, - format_hints.Hex(address), - vad_path, - note, - ) - - def run(self): - return renderers.TreeGrid( - [ - ("Process", str), - ("PID", int), - ("TID", int), - ("Context", str), - ("Address", format_hints.Hex), - ("VAD Path", str), - ("Note", str), - ], - self._generator(), - ) From c85026ee91e7466a394c6475e1c5677fe2eb7d39 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 7 Jun 2025 14:20:37 +0100 Subject: [PATCH 1942/2186] Core: Ensure people running renamed plugins know that the plugins are deprecated --- volatility3/framework/deprecation.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py index 667ea72a5..4866a5a6e 100644 --- a/volatility3/framework/deprecation.py +++ b/volatility3/framework/deprecation.py @@ -133,6 +133,15 @@ class PluginRenameClass: ), ) else: - if not attr.startswith("__"): + if attr == "run": + setattr( + cls, + attr, + method_being_removed( + removal_date=removal_date, + message=f"This plugin has been renamed, please call {replacement_class.__module__}.{replacement_class.__qualname__} rather than deprecated_class_name.", + )(value), + ) + elif not attr.startswith("__"): setattr(cls, attr, value) return super(PluginRenameClass).__init_subclass__(**kwargs) From 520e2cfcdd94c67ebfa8727065880c648d53858f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 7 Jun 2025 14:21:22 +0100 Subject: [PATCH 1943/2186] Core: Fix up warning message --- volatility3/framework/deprecation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py index 4866a5a6e..90fa9bce0 100644 --- a/volatility3/framework/deprecation.py +++ b/volatility3/framework/deprecation.py @@ -139,7 +139,7 @@ class PluginRenameClass: attr, method_being_removed( removal_date=removal_date, - message=f"This plugin has been renamed, please call {replacement_class.__module__}.{replacement_class.__qualname__} rather than deprecated_class_name.", + message=f"This plugin has been renamed, please call {replacement_class.__module__}.{replacement_class.__qualname__} rather than {deprecated_class_name}.", )(value), ) elif not attr.startswith("__"): From 48a97166ea82a34ff32c39fd301c5a327b523178 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 15:55:20 +0300 Subject: [PATCH 1944/2186] categorize windows.skeleton_key_check as malware plugin --- .../windows/malware/skeleton_key_check.py | 686 ++++++++++++++++++ .../plugins/windows/skeleton_key_check.py | 685 +---------------- 2 files changed, 696 insertions(+), 675 deletions(-) create mode 100644 volatility3/framework/plugins/windows/malware/skeleton_key_check.py diff --git a/volatility3/framework/plugins/windows/malware/skeleton_key_check.py b/volatility3/framework/plugins/windows/malware/skeleton_key_check.py new file mode 100644 index 000000000..d9cba0704 --- /dev/null +++ b/volatility3/framework/plugins/windows/malware/skeleton_key_check.py @@ -0,0 +1,686 @@ +# This file is Copyright 2021 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +# This module attempts to locate skeleton-key like function hooks. +# It does this by locating the CSystems array through a variety of methods, +# and then validating the entry for RC4 HMAC (0x17 / 23) +# +# For a thorough walkthrough on how the R&D was performed to develop this plugin, +# please see our blogpost here: +# +# https://volatility-labs.blogspot.com/2021/10/memory-forensics-r-illustrated.html + +import logging +from typing import Iterable, Tuple, List, Optional + +import pefile + +from volatility3.framework import interfaces, symbols, exceptions +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.layers import scanners +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.windows import pdbutil +from volatility3.framework.symbols.windows.extensions import pe +from volatility3.plugins.windows import pslist, vadinfo, pe_symbols + +try: + import capstone + + has_capstone = True +except ImportError: + has_capstone = False + +vollog = logging.getLogger(__name__) + + +class Skeleton_Key_Check(interfaces.plugins.PluginInterface): + """Looks for signs of Skeleton Key malware""" + + _required_framework_version = (2, 4, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) + ), + requirements.VersionRequirement( + name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="bytes_scanner", + component=scanners.BytesScanner, + version=(1, 0, 0), + ), + ] + + def _check_for_skeleton_key_vad( + self, + csystem: interfaces.objects.ObjectInterface, + cryptdll_base: int, + cryptdll_size: int, + ) -> bool: + """ + Checks if Initialize and/or Decrypt is hooked by determining if + these function pointers reference addresses inside of the cryptdll VAD + + Args: + csystem: The RC4HMAC KERB_ECRYPT instance + cryptdll_base: Base address of the cryptdll.dll VAD + cryptdll_size: Size of the VAD + Returns: + bool: if a skeleton key hook is present + """ + return not ( + (cryptdll_base <= csystem.Initialize <= cryptdll_base + cryptdll_size) + and (cryptdll_base <= csystem.Decrypt <= cryptdll_base + cryptdll_size) + ) + + def _check_for_skeleton_key_symbols( + self, + csystem: interfaces.objects.ObjectInterface, + rc4HmacInitialize: int, + rc4HmacDecrypt: int, + ) -> bool: + """ + Uses the PDB information to specifically check if the csystem for RC4HMAC + has an initialization pointer to rc4HmacInitialize and a decryption pointer + to rc4HmacDecrypt. + + Args: + csystem: The RC4HMAC KERB_ECRYPT instance + rc4HmacInitialize: The expected address of csystem Initialization function + rc4HmacDecrypt: The expected address of the csystem Decryption function + + Returns: + bool: if a skeleton key hook was found + """ + return ( + csystem.Initialize != rc4HmacInitialize or csystem.Decrypt != rc4HmacDecrypt + ) + + def _construct_ecrypt_array( + self, + array_start: int, + count: int, + cryptdll_types: interfaces.context.ModuleInterface, + ) -> interfaces.context.ModuleInterface: + """ + Attempts to construct an array of _KERB_ECRYPT structures + + Args: + array_start: starting virtual address of the array + count: how many elements are in the array + cryptdll_types: the reverse engineered types + + Returns: + The instantiated array + """ + + try: + array = cryptdll_types.object( + object_type="array", + offset=array_start, + subtype=cryptdll_types.get_type("_KERB_ECRYPT"), + count=count, + absolute=True, + ) + + except exceptions.InvalidAddressException: + vollog.debug( + f"Unable to construct cSystems array at given offset: {array_start:x}" + ) + array = None + + return array + + def _find_array_with_pdb_symbols( + self, + cryptdll_symbols: str, + cryptdll_types: interfaces.context.ModuleInterface, + proc_layer_name: str, + cryptdll_base: int, + ) -> Tuple[interfaces.objects.ObjectInterface, int, int, int]: + """ + Finds the CSystems array through use of PDB symbols + + Args: + cryptdll_symbols: The symbols table from the PDB file + cryptdll_types: The types from cryptdll binary analysis + proc_layer_name: The lsass.exe process layer name + cryptdll_base: Base address of cryptdll.dll inside of lsass.exe + + Returns: + Tuple of: + array: The cSystems array + rc4HmacInitialize: The runtime address of the expected initialization function + rc4HmacDecrypt: The runtime address of the expected decryption function + """ + cryptdll_module = self.context.module( + cryptdll_symbols, layer_name=proc_layer_name, offset=cryptdll_base + ) + + rc4HmacInitialize = cryptdll_module.get_absolute_symbol_address( + "rc4HmacInitialize" + ) + + rc4HmacDecrypt = cryptdll_module.get_absolute_symbol_address("rc4HmacDecrypt") + + count_address = cryptdll_module.get_symbol("cCSystems").address + + # we do not want to fail just because the count is not in memory + # 16 was the size on samples I tested, so I chose it as the default + try: + count = cryptdll_types.object( + object_type="unsigned long", offset=count_address + ) + except exceptions.InvalidAddressException: + count = 16 + + array_start = cryptdll_module.get_absolute_symbol_address("CSystems") + + array = self._construct_ecrypt_array(array_start, count, cryptdll_types) + + if array is None: + vollog.debug( + "The CSystem array is not present in memory. Stopping PDB based analysis." + ) + + return array, rc4HmacInitialize, rc4HmacDecrypt + + def _get_cryptdll_types( + self, + context: interfaces.context.ContextInterface, + config, + config_path: str, + proc_layer_name: str, + cryptdll_base: int, + ): + """ + Builds a symbol table from the cryptdll types generated after binary analysis + + Args: + context: the context to operate upon + config: + config_path: + proc_layer_name: name of the lsass.exe process layer + cryptdll_base: base address of cryptdll.dll inside of lsass.exe + """ + kernel = self.context.modules[self.config["kernel"]] + table_mapping = {"nt_symbols": kernel.symbol_table_name} + + cryptdll_symbol_table = intermed.IntermediateSymbolTable.create( + context=context, + config_path=config_path, + sub_path="windows", + filename="kerb_ecrypt", + table_mapping=table_mapping, + ) + + return context.module( + cryptdll_symbol_table, proc_layer_name, offset=cryptdll_base + ) + + def _find_lsass_proc( + self, proc_list: Iterable + ) -> Tuple[interfaces.context.ContextInterface, str]: + """ + Walks the process list and returns the first valid lsass instances. + There should be only one lsass process, but malware will often use the + process name to try and blend in. + + Args: + proc_list: The process list generator + + Return: + The process object for lsass + """ + + for proc in proc_list: + try: + proc_layer_name = proc.add_process_layer() + + return proc, proc_layer_name + + except exceptions.InvalidAddressException as excp: + vollog.debug( + f"Invalid address {excp.invalid_address} in layer {excp.layer_name}" + ) + + return None, None + + def _find_cryptdll( + self, lsass_proc: interfaces.context.ContextInterface + ) -> Tuple[int, int]: + """ + Finds the base address of cryptdll.dll inside of lsass.exe + + Args: + lsass_proc: the process object for lsass.exe + + Returns: + A tuple of: + cryptdll_base: the base address of cryptdll.dll + crytpdll_size: the size of the VAD for cryptdll.dll + """ + for vad in lsass_proc.get_vad_root().traverse(): + filename = vad.get_file_name() + + if isinstance(filename, str) and filename.lower().endswith("cryptdll.dll"): + base = vad.get_start() + return base, vad.get_size() + + return None, None + + def _find_csystems_with_symbols( + self, + proc_layer_name: str, + cryptdll_types: interfaces.context.ModuleInterface, + cryptdll_base: int, + cryptdll_size: int, + ) -> Tuple[interfaces.objects.ObjectInterface, int, int]: + """ + Attempts to find CSystems and the expected address of the handlers. + Relies on downloading and parsing of the cryptdll PDB file. + + Args: + proc_layer_name: the name of the lsass.exe process layer + cryptdll_types: The types from cryptdll binary analysis + cryptdll_base: the base address of cryptdll.dll + crytpdll_size: the size of the VAD for cryptdll.dll + + Returns: + A tuple of: + array: An initialized Volatility array of _KERB_ECRYPT structures + rc4HmacInitialize: The expected address of csystem Initialization function + rc4HmacDecrypt: The expected address of the csystem Decryption function + """ + try: + cryptdll_symbols = pdbutil.PDBUtility.symbol_table_from_pdb( + self.context, + interfaces.configuration.path_join(self.config_path, "cryptdll"), + proc_layer_name, + "cryptdll.pdb", + cryptdll_base, + cryptdll_size, + ) + except exceptions.VolatilityException: + vollog.debug( + "Unable to use the cryptdll PDB. Stopping PDB symbols based analysis." + ) + return None, None, None + + array, rc4HmacInitialize, rc4HmacDecrypt = self._find_array_with_pdb_symbols( + cryptdll_symbols, cryptdll_types, proc_layer_name, cryptdll_base + ) + + if array is None: + vollog.debug( + "The CSystem array is not present in memory. Stopping PDB symbols based analysis." + ) + + return array, rc4HmacInitialize, rc4HmacDecrypt + + def _get_rip_relative_target(self, inst) -> int: + """ + Returns the target address of a RIP-relative instruction. + + These instructions contain the offset of a target address + relative to the current instruction pointer. + + Args: + inst: A capstone instruction instance + + Returns: + None or the target address of the instruction + """ + try: + opnd = inst.operands[1] + except capstone.CsError: + return None + + if opnd.type != capstone.x86.X86_OP_MEM: + return None + + if inst.reg_name(opnd.mem.base) != "rip": + return None + + return inst.address + inst.size + opnd.mem.disp + + def _analyze_cdlocatecsystem( + self, + function_bytes: bytes, + function_start: int, + cryptdll_types: interfaces.context.ModuleInterface, + proc_layer_name: str, + ) -> Optional[interfaces.objects.ObjectInterface]: + """ + Performs static analysis on CDLocateCSystem to find the instructions that + reference CSystems as well as cCsystems + + Args: + function_bytes: the instruction bytes of CDLocateCSystem + function_start: the address of CDLocateCSystem + proc_layer_name: the name of the lsass.exe process layer + + Return: + The cSystems array of ecrypt instances + """ + found_count = False + array_start = None + count = None + + ## we only support 64bit disassembly analysis + md = capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_64) + md.detail = True + + for inst in md.disasm(function_bytes, function_start): + # we should not reach debug traps + if inst.mnemonic == "int3": + break + + # cCsystems is referenced by a mov instruction + elif inst.mnemonic == "mov": + if not found_count: + target_address = self._get_rip_relative_target(inst) + + # we do not want to fail just because the count is not in memory + # 16 was the size on samples I tested, so I chose it as the default + count = 16 + + if target_address: + try: + count = int.from_bytes( + self.context.layers[proc_layer_name].read( + target_address, 4 + ), + "little", + ) + except exceptions.InvalidAddressException: + vollog.debug( + "Unable to read `cCsystems`. Defaulting to 16." + ) + + found_count = True + + elif inst.mnemonic == "lea": + target_address = self._get_rip_relative_target(inst) + + if target_address: + array_start = target_address + + # we find the count before, so we can terminate the static analysis here + break + + if array_start and count: + array = self._construct_ecrypt_array(array_start, count, cryptdll_types) + else: + array = None + + return array + + def _find_csystems_with_export( + self, + proc_layer_name: str, + cryptdll_types: interfaces.context.ModuleInterface, + cryptdll_base: int, + _, + ) -> Optional[interfaces.objects.ObjectInterface]: + """ + Uses export table analysis to locate CDLocateCsystem + This function references CSystems and cCsystems + + Args: + proc_layer_name: The lsass.exe process layer name + cryptdll_types: The types from cryptdll binary analysis + cryptdll_base: Base address of cryptdll.dll inside of lsass.exe + _: unused in this source + Returns: + The cSystems array + """ + + if not has_capstone: + vollog.debug( + "capstone is not installed so cannot fall back to export table analysis." + ) + return None + + vollog.debug( + "Unable to perform analysis using PDB symbols, falling back to export table analysis." + ) + + pe_table_name = intermed.IntermediateSymbolTable.create( + self.context, self.config_path, "windows", "pe", class_types=pe.class_types + ) + + cryptdll = pe_symbols.PESymbols.get_pefile_obj( + self.context, pe_table_name, proc_layer_name, cryptdll_base + ) + if not cryptdll: + return None + + cryptdll.parse_data_directories( + directories=[pefile.DIRECTORY_ENTRY["IMAGE_DIRECTORY_ENTRY_EXPORT"]] + ) + if not hasattr(cryptdll, "DIRECTORY_ENTRY_EXPORT"): + return None + + # find the location of CDLocateCSystem and then perform static analysis + for export in cryptdll.DIRECTORY_ENTRY_EXPORT.symbols: + if export.name != b"CDLocateCSystem": + continue + + function_start = cryptdll_base + export.address + + try: + function_bytes = self.context.layers[proc_layer_name].read( + function_start, 0x50 + ) + except exceptions.InvalidAddressException: + vollog.debug( + "The CDLocateCSystem function is not present in the lsass address space. Stopping export based analysis." + ) + break + + array = self._analyze_cdlocatecsystem( + function_bytes, function_start, cryptdll_types, proc_layer_name + ) + if array is None: + vollog.debug( + "The CSystem array is not present in memory. Stopping export based analysis." + ) + + return array + + return None + + def _find_csystems_with_scanning( + self, + proc_layer_name: str, + cryptdll_types: interfaces.context.ModuleInterface, + cryptdll_base: int, + cryptdll_size: int, + ) -> List[interfaces.context.ModuleInterface]: + """ + Performs scanning to find potential RC4 HMAC csystem instances + + This function may return several values as it cannot validate which is the active one + + Args: + proc_layer_name: the lsass.exe process layer name + cryptdll_types: the types from cryptdll binary analysis + cryptdll_base: base address of cryptdll.dll inside of lsass.exe + cryptdll_size: size of the VAD + Returns: + A list of csystem instances + """ + + csystems = [] + + cryptdll_end = cryptdll_base + cryptdll_size + + proc_layer = self.context.layers[proc_layer_name] + + ecrypt_size = cryptdll_types.get_type("_KERB_ECRYPT").size + + # scan for potential instances of RC4 HMAC + # the signature is based on the type being 0x17 + # and the block size member being 1 in all test samples + for address in proc_layer.scan( + self.context, + scanners.BytesScanner(b"\x17\x00\x00\x00\x01\x00\x00\x00"), + sections=[(cryptdll_base, cryptdll_size)], + ): + # this occurs across page boundaries + if not proc_layer.is_valid(address, ecrypt_size): + continue + + kerb = cryptdll_types.object("_KERB_ECRYPT", offset=address, absolute=True) + + # ensure the Encrypt and Finish pointers are inside the VAD + # these are not manipulated in the attack + if (cryptdll_base < kerb.Encrypt < cryptdll_end) and ( + cryptdll_base < kerb.Finish < cryptdll_end + ): + csystems.append(kerb) + + return csystems + + def _generator(self, procs): + """ + Finds instances of the RC4 HMAC CSystem structure + + Returns whether the instances are hooked as well as the function handler addresses + + Args: + procs: the process list filtered to lsass.exe instances + """ + kernel = self.context.modules[self.config["kernel"]] + + if not symbols.symbol_table_is_64bit( + context=self.context, symbol_table_name=kernel.symbol_table_name + ): + vollog.info("This plugin only supports 64bit Windows memory samples") + return None + + lsass_proc, proc_layer_name = self._find_lsass_proc(procs) + if not lsass_proc: + vollog.info( + "Unable to find a valid lsass.exe process in the process list. This should never happen. Analysis cannot proceed." + ) + return None + + cryptdll_base, cryptdll_size = self._find_cryptdll(lsass_proc) + if not cryptdll_base: + vollog.info( + "Unable to find the location of cryptdll.dll inside of lsass.exe. Analysis cannot proceed." + ) + return None + + # the custom type information from binary analysis + cryptdll_types = self._get_cryptdll_types( + self.context, self.config, self.config_path, proc_layer_name, cryptdll_base + ) + + # attempt to find the array and symbols directly from the PDB + csystems, rc4HmacInitialize, rc4HmacDecrypt = self._find_csystems_with_symbols( + proc_layer_name, cryptdll_types, cryptdll_base, cryptdll_size + ) + + # if we can't find cSystems through the PDB then + # we fall back to export analysis and scanning + # we keep the address of the rc4 functions from the PDB + # though as its our only source to get them + if csystems is None: + fallback_sources = [ + self._find_csystems_with_export, + self._find_csystems_with_scanning, + ] + + for source in fallback_sources: + csystems = source( + proc_layer_name, cryptdll_types, cryptdll_base, cryptdll_size + ) + + if csystems is not None: + break + + if csystems is None: + vollog.info( + "Unable to find CSystems inside of cryptdll.dll. Analysis cannot proceed." + ) + return None + + for csystem in csystems: + if not self.context.layers[proc_layer_name].is_valid( + csystem.vol.offset, csystem.vol.size + ): + continue + + # filter for RC4 HMAC + if csystem.EncryptionType != 0x17: + continue + + # use the specific symbols if present, otherwise use the vad start and size + if rc4HmacInitialize and rc4HmacDecrypt: + skeleton_key_present = self._check_for_skeleton_key_symbols( + csystem, rc4HmacInitialize, rc4HmacDecrypt + ) + else: + skeleton_key_present = self._check_for_skeleton_key_vad( + csystem, cryptdll_base, cryptdll_size + ) + + yield 0, ( + lsass_proc.UniqueProcessId, + "lsass.exe", + skeleton_key_present, + format_hints.Hex(csystem.Initialize), + format_hints.Hex(csystem.Decrypt), + ) + + def _lsass_proc_filter(self, proc): + """ + Used to filter to only lsass.exe processes + + There should only be one of these, but malware can/does make lsass.exe + named processes to blend in or uses lsass.exe as a process hollowing target + """ + process_name = utility.array_to_string(proc.ImageFileName) + + return process_name != "lsass.exe" + + def run(self): + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("Skeleton Key Found", bool), + ("rc4HmacInitialize", format_hints.Hex), + ("rc4HmacDecrypt", format_hints.Hex), + ], + self._generator( + pslist.PsList.list_processes( + context=self.context, + kernel_module_name=self.config["kernel"], + filter_func=self._lsass_proc_filter, + ) + ), + ) diff --git a/volatility3/framework/plugins/windows/skeleton_key_check.py b/volatility3/framework/plugins/windows/skeleton_key_check.py index 6071a2a39..86c5cf1df 100644 --- a/volatility3/framework/plugins/windows/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/skeleton_key_check.py @@ -1,685 +1,20 @@ -# This file is Copyright 2021 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # - -# This module attempts to locate skeleton-key like function hooks. -# It does this by locating the CSystems array through a variety of methods, -# and then validating the entry for RC4 HMAC (0x17 / 23) -# -# For a thorough walkthrough on how the R&D was performed to develop this plugin, -# please see our blogpost here: -# -# https://volatility-labs.blogspot.com/2021/10/memory-forensics-r-illustrated.html - import logging -from typing import Iterable, Tuple, List, Optional - -import pefile - -from volatility3.framework import interfaces, symbols, exceptions -from volatility3.framework import renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.layers import scanners -from volatility3.framework.objects import utility -from volatility3.framework.renderers import format_hints -from volatility3.framework.symbols import intermed -from volatility3.framework.symbols.windows import pdbutil -from volatility3.framework.symbols.windows.extensions import pe -from volatility3.plugins.windows import pslist, vadinfo, pe_symbols - -try: - import capstone - - has_capstone = True -except ImportError: - has_capstone = False +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.windows.malware import skeleton_key_check vollog = logging.getLogger(__name__) -class Skeleton_Key_Check(interfaces.plugins.PluginInterface): +class Skeleton_Key_Check( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=skeleton_key_check.Skeleton_Key_Check, + removal_date="2026-06-07", +): """Looks for signs of Skeleton Key malware""" _required_framework_version = (2, 4, 0) - - @classmethod - def get_requirements(cls): - # Since we're calling the plugin, make sure we have the plugin's requirements - return [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(3, 0, 0) - ), - requirements.VersionRequirement( - name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) - ), - requirements.VersionRequirement( - name="pdbutil", component=pdbutil.PDBUtility, version=(1, 0, 0) - ), - requirements.VersionRequirement( - name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) - ), - requirements.VersionRequirement( - name="bytes_scanner", - component=scanners.BytesScanner, - version=(1, 0, 0), - ), - ] - - def _check_for_skeleton_key_vad( - self, - csystem: interfaces.objects.ObjectInterface, - cryptdll_base: int, - cryptdll_size: int, - ) -> bool: - """ - Checks if Initialize and/or Decrypt is hooked by determining if - these function pointers reference addresses inside of the cryptdll VAD - - Args: - csystem: The RC4HMAC KERB_ECRYPT instance - cryptdll_base: Base address of the cryptdll.dll VAD - cryptdll_size: Size of the VAD - Returns: - bool: if a skeleton key hook is present - """ - return not ( - (cryptdll_base <= csystem.Initialize <= cryptdll_base + cryptdll_size) - and (cryptdll_base <= csystem.Decrypt <= cryptdll_base + cryptdll_size) - ) - - def _check_for_skeleton_key_symbols( - self, - csystem: interfaces.objects.ObjectInterface, - rc4HmacInitialize: int, - rc4HmacDecrypt: int, - ) -> bool: - """ - Uses the PDB information to specifically check if the csystem for RC4HMAC - has an initialization pointer to rc4HmacInitialize and a decryption pointer - to rc4HmacDecrypt. - - Args: - csystem: The RC4HMAC KERB_ECRYPT instance - rc4HmacInitialize: The expected address of csystem Initialization function - rc4HmacDecrypt: The expected address of the csystem Decryption function - - Returns: - bool: if a skeleton key hook was found - """ - return ( - csystem.Initialize != rc4HmacInitialize or csystem.Decrypt != rc4HmacDecrypt - ) - - def _construct_ecrypt_array( - self, - array_start: int, - count: int, - cryptdll_types: interfaces.context.ModuleInterface, - ) -> interfaces.context.ModuleInterface: - """ - Attempts to construct an array of _KERB_ECRYPT structures - - Args: - array_start: starting virtual address of the array - count: how many elements are in the array - cryptdll_types: the reverse engineered types - - Returns: - The instantiated array - """ - - try: - array = cryptdll_types.object( - object_type="array", - offset=array_start, - subtype=cryptdll_types.get_type("_KERB_ECRYPT"), - count=count, - absolute=True, - ) - - except exceptions.InvalidAddressException: - vollog.debug( - f"Unable to construct cSystems array at given offset: {array_start:x}" - ) - array = None - - return array - - def _find_array_with_pdb_symbols( - self, - cryptdll_symbols: str, - cryptdll_types: interfaces.context.ModuleInterface, - proc_layer_name: str, - cryptdll_base: int, - ) -> Tuple[interfaces.objects.ObjectInterface, int, int, int]: - """ - Finds the CSystems array through use of PDB symbols - - Args: - cryptdll_symbols: The symbols table from the PDB file - cryptdll_types: The types from cryptdll binary analysis - proc_layer_name: The lsass.exe process layer name - cryptdll_base: Base address of cryptdll.dll inside of lsass.exe - - Returns: - Tuple of: - array: The cSystems array - rc4HmacInitialize: The runtime address of the expected initialization function - rc4HmacDecrypt: The runtime address of the expected decryption function - """ - cryptdll_module = self.context.module( - cryptdll_symbols, layer_name=proc_layer_name, offset=cryptdll_base - ) - - rc4HmacInitialize = cryptdll_module.get_absolute_symbol_address( - "rc4HmacInitialize" - ) - - rc4HmacDecrypt = cryptdll_module.get_absolute_symbol_address("rc4HmacDecrypt") - - count_address = cryptdll_module.get_symbol("cCSystems").address - - # we do not want to fail just because the count is not in memory - # 16 was the size on samples I tested, so I chose it as the default - try: - count = cryptdll_types.object( - object_type="unsigned long", offset=count_address - ) - except exceptions.InvalidAddressException: - count = 16 - - array_start = cryptdll_module.get_absolute_symbol_address("CSystems") - - array = self._construct_ecrypt_array(array_start, count, cryptdll_types) - - if array is None: - vollog.debug( - "The CSystem array is not present in memory. Stopping PDB based analysis." - ) - - return array, rc4HmacInitialize, rc4HmacDecrypt - - def _get_cryptdll_types( - self, - context: interfaces.context.ContextInterface, - config, - config_path: str, - proc_layer_name: str, - cryptdll_base: int, - ): - """ - Builds a symbol table from the cryptdll types generated after binary analysis - - Args: - context: the context to operate upon - config: - config_path: - proc_layer_name: name of the lsass.exe process layer - cryptdll_base: base address of cryptdll.dll inside of lsass.exe - """ - kernel = self.context.modules[self.config["kernel"]] - table_mapping = {"nt_symbols": kernel.symbol_table_name} - - cryptdll_symbol_table = intermed.IntermediateSymbolTable.create( - context=context, - config_path=config_path, - sub_path="windows", - filename="kerb_ecrypt", - table_mapping=table_mapping, - ) - - return context.module( - cryptdll_symbol_table, proc_layer_name, offset=cryptdll_base - ) - - def _find_lsass_proc( - self, proc_list: Iterable - ) -> Tuple[interfaces.context.ContextInterface, str]: - """ - Walks the process list and returns the first valid lsass instances. - There should be only one lsass process, but malware will often use the - process name to try and blend in. - - Args: - proc_list: The process list generator - - Return: - The process object for lsass - """ - - for proc in proc_list: - try: - proc_layer_name = proc.add_process_layer() - - return proc, proc_layer_name - - except exceptions.InvalidAddressException as excp: - vollog.debug( - f"Invalid address {excp.invalid_address} in layer {excp.layer_name}" - ) - - return None, None - - def _find_cryptdll( - self, lsass_proc: interfaces.context.ContextInterface - ) -> Tuple[int, int]: - """ - Finds the base address of cryptdll.dll inside of lsass.exe - - Args: - lsass_proc: the process object for lsass.exe - - Returns: - A tuple of: - cryptdll_base: the base address of cryptdll.dll - crytpdll_size: the size of the VAD for cryptdll.dll - """ - for vad in lsass_proc.get_vad_root().traverse(): - filename = vad.get_file_name() - - if isinstance(filename, str) and filename.lower().endswith("cryptdll.dll"): - base = vad.get_start() - return base, vad.get_size() - - return None, None - - def _find_csystems_with_symbols( - self, - proc_layer_name: str, - cryptdll_types: interfaces.context.ModuleInterface, - cryptdll_base: int, - cryptdll_size: int, - ) -> Tuple[interfaces.objects.ObjectInterface, int, int]: - """ - Attempts to find CSystems and the expected address of the handlers. - Relies on downloading and parsing of the cryptdll PDB file. - - Args: - proc_layer_name: the name of the lsass.exe process layer - cryptdll_types: The types from cryptdll binary analysis - cryptdll_base: the base address of cryptdll.dll - crytpdll_size: the size of the VAD for cryptdll.dll - - Returns: - A tuple of: - array: An initialized Volatility array of _KERB_ECRYPT structures - rc4HmacInitialize: The expected address of csystem Initialization function - rc4HmacDecrypt: The expected address of the csystem Decryption function - """ - try: - cryptdll_symbols = pdbutil.PDBUtility.symbol_table_from_pdb( - self.context, - interfaces.configuration.path_join(self.config_path, "cryptdll"), - proc_layer_name, - "cryptdll.pdb", - cryptdll_base, - cryptdll_size, - ) - except exceptions.VolatilityException: - vollog.debug( - "Unable to use the cryptdll PDB. Stopping PDB symbols based analysis." - ) - return None, None, None - - array, rc4HmacInitialize, rc4HmacDecrypt = self._find_array_with_pdb_symbols( - cryptdll_symbols, cryptdll_types, proc_layer_name, cryptdll_base - ) - - if array is None: - vollog.debug( - "The CSystem array is not present in memory. Stopping PDB symbols based analysis." - ) - - return array, rc4HmacInitialize, rc4HmacDecrypt - - def _get_rip_relative_target(self, inst) -> int: - """ - Returns the target address of a RIP-relative instruction. - - These instructions contain the offset of a target address - relative to the current instruction pointer. - - Args: - inst: A capstone instruction instance - - Returns: - None or the target address of the instruction - """ - try: - opnd = inst.operands[1] - except capstone.CsError: - return None - - if opnd.type != capstone.x86.X86_OP_MEM: - return None - - if inst.reg_name(opnd.mem.base) != "rip": - return None - - return inst.address + inst.size + opnd.mem.disp - - def _analyze_cdlocatecsystem( - self, - function_bytes: bytes, - function_start: int, - cryptdll_types: interfaces.context.ModuleInterface, - proc_layer_name: str, - ) -> Optional[interfaces.objects.ObjectInterface]: - """ - Performs static analysis on CDLocateCSystem to find the instructions that - reference CSystems as well as cCsystems - - Args: - function_bytes: the instruction bytes of CDLocateCSystem - function_start: the address of CDLocateCSystem - proc_layer_name: the name of the lsass.exe process layer - - Return: - The cSystems array of ecrypt instances - """ - found_count = False - array_start = None - count = None - - ## we only support 64bit disassembly analysis - md = capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_64) - md.detail = True - - for inst in md.disasm(function_bytes, function_start): - # we should not reach debug traps - if inst.mnemonic == "int3": - break - - # cCsystems is referenced by a mov instruction - elif inst.mnemonic == "mov": - if not found_count: - target_address = self._get_rip_relative_target(inst) - - # we do not want to fail just because the count is not in memory - # 16 was the size on samples I tested, so I chose it as the default - count = 16 - - if target_address: - try: - count = int.from_bytes( - self.context.layers[proc_layer_name].read( - target_address, 4 - ), - "little", - ) - except exceptions.InvalidAddressException: - vollog.debug( - "Unable to read `cCsystems`. Defaulting to 16." - ) - - found_count = True - - elif inst.mnemonic == "lea": - target_address = self._get_rip_relative_target(inst) - - if target_address: - array_start = target_address - - # we find the count before, so we can terminate the static analysis here - break - - if array_start and count: - array = self._construct_ecrypt_array(array_start, count, cryptdll_types) - else: - array = None - - return array - - def _find_csystems_with_export( - self, - proc_layer_name: str, - cryptdll_types: interfaces.context.ModuleInterface, - cryptdll_base: int, - _, - ) -> Optional[interfaces.objects.ObjectInterface]: - """ - Uses export table analysis to locate CDLocateCsystem - This function references CSystems and cCsystems - - Args: - proc_layer_name: The lsass.exe process layer name - cryptdll_types: The types from cryptdll binary analysis - cryptdll_base: Base address of cryptdll.dll inside of lsass.exe - _: unused in this source - Returns: - The cSystems array - """ - - if not has_capstone: - vollog.debug( - "capstone is not installed so cannot fall back to export table analysis." - ) - return None - - vollog.debug( - "Unable to perform analysis using PDB symbols, falling back to export table analysis." - ) - - pe_table_name = intermed.IntermediateSymbolTable.create( - self.context, self.config_path, "windows", "pe", class_types=pe.class_types - ) - - cryptdll = pe_symbols.PESymbols.get_pefile_obj( - self.context, pe_table_name, proc_layer_name, cryptdll_base - ) - if not cryptdll: - return None - - cryptdll.parse_data_directories( - directories=[pefile.DIRECTORY_ENTRY["IMAGE_DIRECTORY_ENTRY_EXPORT"]] - ) - if not hasattr(cryptdll, "DIRECTORY_ENTRY_EXPORT"): - return None - - # find the location of CDLocateCSystem and then perform static analysis - for export in cryptdll.DIRECTORY_ENTRY_EXPORT.symbols: - if export.name != b"CDLocateCSystem": - continue - - function_start = cryptdll_base + export.address - - try: - function_bytes = self.context.layers[proc_layer_name].read( - function_start, 0x50 - ) - except exceptions.InvalidAddressException: - vollog.debug( - "The CDLocateCSystem function is not present in the lsass address space. Stopping export based analysis." - ) - break - - array = self._analyze_cdlocatecsystem( - function_bytes, function_start, cryptdll_types, proc_layer_name - ) - if array is None: - vollog.debug( - "The CSystem array is not present in memory. Stopping export based analysis." - ) - - return array - - return None - - def _find_csystems_with_scanning( - self, - proc_layer_name: str, - cryptdll_types: interfaces.context.ModuleInterface, - cryptdll_base: int, - cryptdll_size: int, - ) -> List[interfaces.context.ModuleInterface]: - """ - Performs scanning to find potential RC4 HMAC csystem instances - - This function may return several values as it cannot validate which is the active one - - Args: - proc_layer_name: the lsass.exe process layer name - cryptdll_types: the types from cryptdll binary analysis - cryptdll_base: base address of cryptdll.dll inside of lsass.exe - cryptdll_size: size of the VAD - Returns: - A list of csystem instances - """ - - csystems = [] - - cryptdll_end = cryptdll_base + cryptdll_size - - proc_layer = self.context.layers[proc_layer_name] - - ecrypt_size = cryptdll_types.get_type("_KERB_ECRYPT").size - - # scan for potential instances of RC4 HMAC - # the signature is based on the type being 0x17 - # and the block size member being 1 in all test samples - for address in proc_layer.scan( - self.context, - scanners.BytesScanner(b"\x17\x00\x00\x00\x01\x00\x00\x00"), - sections=[(cryptdll_base, cryptdll_size)], - ): - # this occurs across page boundaries - if not proc_layer.is_valid(address, ecrypt_size): - continue - - kerb = cryptdll_types.object("_KERB_ECRYPT", offset=address, absolute=True) - - # ensure the Encrypt and Finish pointers are inside the VAD - # these are not manipulated in the attack - if (cryptdll_base < kerb.Encrypt < cryptdll_end) and ( - cryptdll_base < kerb.Finish < cryptdll_end - ): - csystems.append(kerb) - - return csystems - - def _generator(self, procs): - """ - Finds instances of the RC4 HMAC CSystem structure - - Returns whether the instances are hooked as well as the function handler addresses - - Args: - procs: the process list filtered to lsass.exe instances - """ - kernel = self.context.modules[self.config["kernel"]] - - if not symbols.symbol_table_is_64bit( - context=self.context, symbol_table_name=kernel.symbol_table_name - ): - vollog.info("This plugin only supports 64bit Windows memory samples") - return None - - lsass_proc, proc_layer_name = self._find_lsass_proc(procs) - if not lsass_proc: - vollog.info( - "Unable to find a valid lsass.exe process in the process list. This should never happen. Analysis cannot proceed." - ) - return None - - cryptdll_base, cryptdll_size = self._find_cryptdll(lsass_proc) - if not cryptdll_base: - vollog.info( - "Unable to find the location of cryptdll.dll inside of lsass.exe. Analysis cannot proceed." - ) - return None - - # the custom type information from binary analysis - cryptdll_types = self._get_cryptdll_types( - self.context, self.config, self.config_path, proc_layer_name, cryptdll_base - ) - - # attempt to find the array and symbols directly from the PDB - csystems, rc4HmacInitialize, rc4HmacDecrypt = self._find_csystems_with_symbols( - proc_layer_name, cryptdll_types, cryptdll_base, cryptdll_size - ) - - # if we can't find cSystems through the PDB then - # we fall back to export analysis and scanning - # we keep the address of the rc4 functions from the PDB - # though as its our only source to get them - if csystems is None: - fallback_sources = [ - self._find_csystems_with_export, - self._find_csystems_with_scanning, - ] - - for source in fallback_sources: - csystems = source( - proc_layer_name, cryptdll_types, cryptdll_base, cryptdll_size - ) - - if csystems is not None: - break - - if csystems is None: - vollog.info( - "Unable to find CSystems inside of cryptdll.dll. Analysis cannot proceed." - ) - return None - - for csystem in csystems: - if not self.context.layers[proc_layer_name].is_valid( - csystem.vol.offset, csystem.vol.size - ): - continue - - # filter for RC4 HMAC - if csystem.EncryptionType != 0x17: - continue - - # use the specific symbols if present, otherwise use the vad start and size - if rc4HmacInitialize and rc4HmacDecrypt: - skeleton_key_present = self._check_for_skeleton_key_symbols( - csystem, rc4HmacInitialize, rc4HmacDecrypt - ) - else: - skeleton_key_present = self._check_for_skeleton_key_vad( - csystem, cryptdll_base, cryptdll_size - ) - - yield 0, ( - lsass_proc.UniqueProcessId, - "lsass.exe", - skeleton_key_present, - format_hints.Hex(csystem.Initialize), - format_hints.Hex(csystem.Decrypt), - ) - - def _lsass_proc_filter(self, proc): - """ - Used to filter to only lsass.exe processes - - There should only be one of these, but malware can/does make lsass.exe - named processes to blend in or uses lsass.exe as a process hollowing target - """ - process_name = utility.array_to_string(proc.ImageFileName) - - return process_name != "lsass.exe" - - def run(self): - return renderers.TreeGrid( - [ - ("PID", int), - ("Process", str), - ("Skeleton Key Found", bool), - ("rc4HmacInitialize", format_hints.Hex), - ("rc4HmacDecrypt", format_hints.Hex), - ], - self._generator( - pslist.PsList.list_processes( - context=self.context, - kernel_module_name=self.config["kernel"], - filter_func=self._lsass_proc_filter, - ) - ), - ) + _version = (1, 0, 0) From 93defa112c707b1155e53f18362c3afc77f3861c Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 16:29:30 +0300 Subject: [PATCH 1945/2186] Plugins: categorize windows.svcdiff as a malware plugin --- .../plugins/windows/malware/svcdiff.py | 102 ++++++++++++++++++ .../framework/plugins/windows/svcdiff.py | 101 ++--------------- 2 files changed, 112 insertions(+), 91 deletions(-) create mode 100644 volatility3/framework/plugins/windows/malware/svcdiff.py diff --git a/volatility3/framework/plugins/windows/malware/svcdiff.py b/volatility3/framework/plugins/windows/malware/svcdiff.py new file mode 100644 index 000000000..78b61eb67 --- /dev/null +++ b/volatility3/framework/plugins/windows/malware/svcdiff.py @@ -0,0 +1,102 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +# This module compares services found through list walking versus scanning, +# with the aim of finding hidden services. +# +# For background of hidden services and a real-world example of the use of this plugin, +# please see our blogpost: +# +# https://volatilityfoundation.org/memory-forensics-rd-illustrated-detecting-hidden-windows-services/ + +import logging + +from volatility3.framework import symbols, interfaces +from volatility3.framework.configuration import requirements +from volatility3.plugins.windows import svclist, svcscan +from volatility3.framework.symbols.windows import versions + +vollog = logging.getLogger(__name__) + + +class SvcDiff(svcscan.SvcScan): + """Compares services found through list walking versus scanning to find rootkits""" + + _required_framework_version = (2, 4, 0) + + _version = (2, 0, 0) + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self._enumeration_method = self.service_diff + + @classmethod + def get_requirements(cls): + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="svclist", component=svclist.SvcList, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="svcscan", component=svcscan.SvcScan, version=(4, 0, 0) + ), + ] + + @classmethod + def service_diff( + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + service_table_name: str, + service_binary_dll_map, + filter_func, + ): + """ + On Windows 10 version 15063+ 64bit Windows memory samples, walk the services list + and scan for services then report differences + """ + kernel = context.modules[kernel_module_name] + + if not symbols.symbol_table_is_64bit( + context=context, symbol_table_name=kernel.symbol_table_name + ) or not versions.is_win10_15063_or_later( + context=context, symbol_table=kernel.symbol_table_name + ): + vollog.warning( + "This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples" + ) + return + + from_scan = set() + from_list = set() + records = {} + + # collect unique service names from scanning + for service in svcscan.SvcScan.service_scan( + context, + kernel_module_name, + service_table_name, + service_binary_dll_map, + filter_func, + ): + from_scan.add(service[6]) + records[service[6]] = service + + # collect services from listing walking + for service in svclist.SvcList.service_list( + context, + kernel_module_name, + service_table_name, + service_binary_dll_map, + filter_func, + ): + from_list.add(service[6]) + + # report services found from scanning but not list walking + for hidden_service in from_scan - from_list: + yield records[hidden_service] diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py index 78b61eb67..c95a9e62d 100644 --- a/volatility3/framework/plugins/windows/svcdiff.py +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -1,102 +1,21 @@ -# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -# This module compares services found through list walking versus scanning, -# with the aim of finding hidden services. -# -# For background of hidden services and a real-world example of the use of this plugin, -# please see our blogpost: -# -# https://volatilityfoundation.org/memory-forensics-rd-illustrated-detecting-hidden-windows-services/ - import logging - -from volatility3.framework import symbols, interfaces -from volatility3.framework.configuration import requirements -from volatility3.plugins.windows import svclist, svcscan -from volatility3.framework.symbols.windows import versions +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.windows.malware import svcdiff vollog = logging.getLogger(__name__) -class SvcDiff(svcscan.SvcScan): - """Compares services found through list walking versus scanning to find rootkits""" +class SvcDiff( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=svcdiff.SvcDiff, + removal_date="2026-06-07", +): + """Compares services found through list walking versus scanning to find rootkits (deprecated).""" _required_framework_version = (2, 4, 0) _version = (2, 0, 0) - - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - self._enumeration_method = self.service_diff - - @classmethod - def get_requirements(cls): - # Since we're calling the plugin, make sure we have the plugin's requirements - return [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="svclist", component=svclist.SvcList, version=(2, 0, 0) - ), - requirements.VersionRequirement( - name="svcscan", component=svcscan.SvcScan, version=(4, 0, 0) - ), - ] - - @classmethod - def service_diff( - cls, - context: interfaces.context.ContextInterface, - kernel_module_name: str, - service_table_name: str, - service_binary_dll_map, - filter_func, - ): - """ - On Windows 10 version 15063+ 64bit Windows memory samples, walk the services list - and scan for services then report differences - """ - kernel = context.modules[kernel_module_name] - - if not symbols.symbol_table_is_64bit( - context=context, symbol_table_name=kernel.symbol_table_name - ) or not versions.is_win10_15063_or_later( - context=context, symbol_table=kernel.symbol_table_name - ): - vollog.warning( - "This plugin only supports Windows 10 version 15063+ 64bit Windows memory samples" - ) - return - - from_scan = set() - from_list = set() - records = {} - - # collect unique service names from scanning - for service in svcscan.SvcScan.service_scan( - context, - kernel_module_name, - service_table_name, - service_binary_dll_map, - filter_func, - ): - from_scan.add(service[6]) - records[service[6]] = service - - # collect services from listing walking - for service in svclist.SvcList.service_list( - context, - kernel_module_name, - service_table_name, - service_binary_dll_map, - filter_func, - ): - from_list.add(service[6]) - - # report services found from scanning but not list walking - for hidden_service in from_scan - from_list: - yield records[hidden_service] From d4644208a972d8a10b4532c4b0a8a16e5e33e11c Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 17:32:54 +0300 Subject: [PATCH 1946/2186] Plugins: fix svcdiff deprecation wrapper --- volatility3/framework/plugins/windows/svcdiff.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py index c95a9e62d..bafdf34da 100644 --- a/volatility3/framework/plugins/windows/svcdiff.py +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -4,18 +4,21 @@ import logging from volatility3.framework import interfaces, deprecation from volatility3.plugins.windows.malware import svcdiff +from volatility3.plugins.windows import svcscan vollog = logging.getLogger(__name__) class SvcDiff( - interfaces.plugins.PluginInterface, + svcscan.SvcScan, deprecation.PluginRenameClass, replacement_class=svcdiff.SvcDiff, removal_date="2026-06-07", ): """Compares services found through list walking versus scanning to find rootkits (deprecated).""" - + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self._enumeration_method = self.service_diff _required_framework_version = (2, 4, 0) _version = (2, 0, 0) From 6537086e62d65f85fcbc3359432237af7278706c Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 17:33:09 +0300 Subject: [PATCH 1947/2186] black --- volatility3/framework/plugins/windows/svcdiff.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py index bafdf34da..6e4bc30e0 100644 --- a/volatility3/framework/plugins/windows/svcdiff.py +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -16,9 +16,11 @@ class SvcDiff( removal_date="2026-06-07", ): """Compares services found through list walking versus scanning to find rootkits (deprecated).""" + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._enumeration_method = self.service_diff + _required_framework_version = (2, 4, 0) _version = (2, 0, 0) From 45934ae0fd13a88ff03b2325e57424ac56b9eb1d Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 17:40:02 +0300 Subject: [PATCH 1948/2186] removed import for ruff --- volatility3/framework/plugins/windows/svcdiff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/svcdiff.py b/volatility3/framework/plugins/windows/svcdiff.py index 6e4bc30e0..24bc53e49 100644 --- a/volatility3/framework/plugins/windows/svcdiff.py +++ b/volatility3/framework/plugins/windows/svcdiff.py @@ -2,7 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from volatility3.framework import interfaces, deprecation +from volatility3.framework import deprecation from volatility3.plugins.windows.malware import svcdiff from volatility3.plugins.windows import svcscan From 66473ac644a89e685f050463f44e04f3a7eb07ab Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 18:00:36 +0300 Subject: [PATCH 1949/2186] categorize windows.unhooked_system_calls as a malware plugin --- .../windows/malware/unhooked_system_calls.py | 202 +++++++++++++++++ .../plugins/windows/unhooked_system_calls.py | 204 +----------------- 2 files changed, 213 insertions(+), 193 deletions(-) create mode 100644 volatility3/framework/plugins/windows/malware/unhooked_system_calls.py diff --git a/volatility3/framework/plugins/windows/malware/unhooked_system_calls.py b/volatility3/framework/plugins/windows/malware/unhooked_system_calls.py new file mode 100644 index 000000000..5723ce0fd --- /dev/null +++ b/volatility3/framework/plugins/windows/malware/unhooked_system_calls.py @@ -0,0 +1,202 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 + +# Full details on the techniques used in these plugins to detect EDR-evading malware +# can be found in our 20 page whitepaper submitted to DEFCON along with the presentation +# https://www.volexity.com/wp-content/uploads/2024/08/Defcon24_EDR_Evasion_Detection_White-Paper_Andrew-Case.pdf + +import logging + +from typing import Dict, Tuple, List, Generator + +from volatility3.framework import interfaces, exceptions +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.plugins.windows import pslist, pe_symbols + +vollog = logging.getLogger(__name__) + + +class unhooked_system_calls(interfaces.plugins.PluginInterface): + """Detects hooked ntdll.dll stub functions in Windows processes.""" + + _required_framework_version = (2, 4, 0) + _version = (2, 0, 0) + + system_calls = { + "ntdll.dll": { + pe_symbols.wanted_names_identifier: [ + "NtCreateThread", + "NtProtectVirtualMemory", + "NtReadVirtualMemory", + "NtOpenProcess", + "NtWriteFile", + "NtQueryVirtualMemory", + "NtAllocateVirtualMemory", + "NtWorkerFactoryWorkerReady", + "NtAcceptConnectPort", + "NtAddDriverEntry", + "NtAdjustPrivilegesToken", + "NtAlpcCreatePort", + "NtClose", + "NtCreateFile", + "NtCreateMutant", + "NtOpenFile", + "NtOpenIoCompletion", + "NtOpenJobObject", + "NtOpenKey", + "NtOpenKeyEx", + "NtOpenThread", + "NtOpenThreadToken", + "NtOpenThreadTokenEx", + "NtWriteVirtualMemory", + "NtTraceEvent", + "NtTranslateFilePath", + "NtUmsThreadYield", + "NtUnloadDriver", + "NtUnloadKey", + "NtUnloadKey2", + "NtUnloadKeyEx", + "NtCreateKey", + "NtCreateSection", + "NtDeleteKey", + "NtDeleteValueKey", + "NtDuplicateObject", + "NtQueryValueKey", + "NtReplaceKey", + "NtRequestWaitReplyPort", + "NtRestoreKey", + "NtSetContextThread", + "NtSetSecurityObject", + "NtSetValueKey", + "NtSystemDebugControl", + "NtTerminateProcess", + ] + } + } + + # This data structure is used to track unique implementations of functions across processes + # The outer dictionary holds the module name (e.g., ntdll.dll) + # The next dictionary holds the function names (NtTerminateProcess, NtSetValueKey, etc.) inside a module + # The innermost dictionary holds the unique implementation (bytes) of a function across processes + # Each implementation is tracked along with the process(es) that host it + # For systems without malware, all functions should have the same implementation + # When API hooking/module unhooking is done, the victim (infected) processes will have unique implementations + _code_bytes_type = Dict[str, Dict[str, Dict[bytes, List[Tuple[int, str]]]]] + + @classmethod + def get_requirements(cls) -> List: + # Since we're calling the plugin, make sure we have the plugin's requirements + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) + ), + ] + + def _gather_code_bytes( + self, + kernel_module_name: str, + found_symbols: pe_symbols.found_symbols_type, + ) -> _code_bytes_type: + """ + Enumerates the desired DLLs and function implementations in each process + Groups based on unique implementations of each DLLs' functions + The purpose is to detect when a function has different implementations (code) + in different processes. + This very effectively detects code injection. + """ + code_bytes: unhooked_system_calls._code_bytes_type = {} + + procs = pslist.PsList.list_processes(self.context, kernel_module_name) + + for proc in procs: + try: + proc_id = proc.UniqueProcessId + proc_name = utility.array_to_string(proc.ImageFileName) + proc_layer_name = proc.add_process_layer() + except exceptions.InvalidAddressException: + continue + + for dll_name, functions in found_symbols.items(): + for func_name, func_addr in functions: + try: + fbytes = self.context.layers[proc_layer_name].read( + func_addr, 0x20 + ) + except exceptions.InvalidAddressException: + continue + + # see the definition of _code_bytes_type for details of this data structure + if dll_name not in code_bytes: + code_bytes[dll_name] = {} + + if func_name not in code_bytes[dll_name]: + code_bytes[dll_name][func_name] = {} + + if fbytes not in code_bytes[dll_name][func_name]: + code_bytes[dll_name][func_name][fbytes] = [] + + code_bytes[dll_name][func_name][fbytes].append((proc_id, proc_name)) + + return code_bytes + + def _generator(self) -> Generator[Tuple[int, Tuple[str, str, int]], None, None]: + found_symbols = pe_symbols.PESymbols.addresses_for_process_symbols( + context=self.context, + config_path=self.config_path, + kernel_module_name=self.config["kernel"], + symbols=unhooked_system_calls.system_calls, + ) + + # code_bytes[dll_name][func_name][func_bytes] + code_bytes = self._gather_code_bytes(self.config["kernel"], found_symbols) + + # walk the functions that were evaluated + for functions in code_bytes.values(): + # cbb is the distinct groups of bytes (instructions) + # for this function across processes + for func_name, cbb in functions.items(): + # the dict key here is the raw instructions, which is not helpful to look at + # the values are the list of tuples for the (proc_id, proc_name) pairs for this set of bytes (instructions) + cb = list(cbb.values()) + + # if all processes map to the same implementation, then no malware is present + if len(cb) == 1: + yield 0, (func_name, "", len(cb[0])) + else: + # if there are differing implementations then it means + # that malware has overwritten system call(s) in infected processes + # max_idx and small_idx find which implementation of a system call has the least processes + # as all observed malware and open source projects only infected a few targets, leaving the + # rest with the original EDR hooks in place + max_idx = 0 if len(cb[0]) > len(cb[1]) else 1 + small_idx = (~max_idx) & 1 + + ps = [] + + # gather processes on small_idx since these are the malware infected ones + for pid, pname in cb[small_idx]: + ps.append(f"{pid:d}:{pname}") + + proc_names = ", ".join(ps) + + yield 0, (func_name, proc_names, len(cb[max_idx])) + + def run(self) -> renderers.TreeGrid: + return renderers.TreeGrid( + [ + ("Function", str), + ("Distinct Implementations", str), + ("Total Implementations", int), + ], + self._generator(), + ) diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index 3ff0aa158..0c42415b6 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -1,202 +1,20 @@ -# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 - -# Full details on the techniques used in these plugins to detect EDR-evading malware -# can be found in our 20 page whitepaper submitted to DEFCON along with the presentation -# https://www.volexity.com/wp-content/uploads/2024/08/Defcon24_EDR_Evasion_Detection_White-Paper_Andrew-Case.pdf - +# import logging - -from typing import Dict, Tuple, List, Generator - -from volatility3.framework import interfaces, exceptions -from volatility3.framework import renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.objects import utility -from volatility3.plugins.windows import pslist, pe_symbols +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.windows.malware import unhooked_system_calls vollog = logging.getLogger(__name__) -class unhooked_system_calls(interfaces.plugins.PluginInterface): - """Looks for signs of Skeleton Key malware""" +class unhooked_system_calls( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=unhooked_system_calls.unhooked_system_calls, + removal_date="2026-06-07", +): + """Detects hooked ntdll.dll stub functions in Windows processes (deprecated).""" _required_framework_version = (2, 4, 0) _version = (2, 0, 0) - - system_calls = { - "ntdll.dll": { - pe_symbols.wanted_names_identifier: [ - "NtCreateThread", - "NtProtectVirtualMemory", - "NtReadVirtualMemory", - "NtOpenProcess", - "NtWriteFile", - "NtQueryVirtualMemory", - "NtAllocateVirtualMemory", - "NtWorkerFactoryWorkerReady", - "NtAcceptConnectPort", - "NtAddDriverEntry", - "NtAdjustPrivilegesToken", - "NtAlpcCreatePort", - "NtClose", - "NtCreateFile", - "NtCreateMutant", - "NtOpenFile", - "NtOpenIoCompletion", - "NtOpenJobObject", - "NtOpenKey", - "NtOpenKeyEx", - "NtOpenThread", - "NtOpenThreadToken", - "NtOpenThreadTokenEx", - "NtWriteVirtualMemory", - "NtTraceEvent", - "NtTranslateFilePath", - "NtUmsThreadYield", - "NtUnloadDriver", - "NtUnloadKey", - "NtUnloadKey2", - "NtUnloadKeyEx", - "NtCreateKey", - "NtCreateSection", - "NtDeleteKey", - "NtDeleteValueKey", - "NtDuplicateObject", - "NtQueryValueKey", - "NtReplaceKey", - "NtRequestWaitReplyPort", - "NtRestoreKey", - "NtSetContextThread", - "NtSetSecurityObject", - "NtSetValueKey", - "NtSystemDebugControl", - "NtTerminateProcess", - ] - } - } - - # This data structure is used to track unique implementations of functions across processes - # The outer dictionary holds the module name (e.g., ntdll.dll) - # The next dictionary holds the function names (NtTerminateProcess, NtSetValueKey, etc.) inside a module - # The innermost dictionary holds the unique implementation (bytes) of a function across processes - # Each implementation is tracked along with the process(es) that host it - # For systems without malware, all functions should have the same implementation - # When API hooking/module unhooking is done, the victim (infected) processes will have unique implementations - _code_bytes_type = Dict[str, Dict[str, Dict[bytes, List[Tuple[int, str]]]]] - - @classmethod - def get_requirements(cls) -> List: - # Since we're calling the plugin, make sure we have the plugin's requirements - return [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(3, 0, 0) - ), - requirements.VersionRequirement( - name="pe_symbols", component=pe_symbols.PESymbols, version=(3, 0, 0) - ), - ] - - def _gather_code_bytes( - self, - kernel_module_name: str, - found_symbols: pe_symbols.found_symbols_type, - ) -> _code_bytes_type: - """ - Enumerates the desired DLLs and function implementations in each process - Groups based on unique implementations of each DLLs' functions - The purpose is to detect when a function has different implementations (code) - in different processes. - This very effectively detects code injection. - """ - code_bytes: unhooked_system_calls._code_bytes_type = {} - - procs = pslist.PsList.list_processes(self.context, kernel_module_name) - - for proc in procs: - try: - proc_id = proc.UniqueProcessId - proc_name = utility.array_to_string(proc.ImageFileName) - proc_layer_name = proc.add_process_layer() - except exceptions.InvalidAddressException: - continue - - for dll_name, functions in found_symbols.items(): - for func_name, func_addr in functions: - try: - fbytes = self.context.layers[proc_layer_name].read( - func_addr, 0x20 - ) - except exceptions.InvalidAddressException: - continue - - # see the definition of _code_bytes_type for details of this data structure - if dll_name not in code_bytes: - code_bytes[dll_name] = {} - - if func_name not in code_bytes[dll_name]: - code_bytes[dll_name][func_name] = {} - - if fbytes not in code_bytes[dll_name][func_name]: - code_bytes[dll_name][func_name][fbytes] = [] - - code_bytes[dll_name][func_name][fbytes].append((proc_id, proc_name)) - - return code_bytes - - def _generator(self) -> Generator[Tuple[int, Tuple[str, str, int]], None, None]: - found_symbols = pe_symbols.PESymbols.addresses_for_process_symbols( - context=self.context, - config_path=self.config_path, - kernel_module_name=self.config["kernel"], - symbols=unhooked_system_calls.system_calls, - ) - - # code_bytes[dll_name][func_name][func_bytes] - code_bytes = self._gather_code_bytes(self.config["kernel"], found_symbols) - - # walk the functions that were evaluated - for functions in code_bytes.values(): - # cbb is the distinct groups of bytes (instructions) - # for this function across processes - for func_name, cbb in functions.items(): - # the dict key here is the raw instructions, which is not helpful to look at - # the values are the list of tuples for the (proc_id, proc_name) pairs for this set of bytes (instructions) - cb = list(cbb.values()) - - # if all processes map to the same implementation, then no malware is present - if len(cb) == 1: - yield 0, (func_name, "", len(cb[0])) - else: - # if there are differing implementations then it means - # that malware has overwritten system call(s) in infected processes - # max_idx and small_idx find which implementation of a system call has the least processes - # as all observed malware and open source projects only infected a few targets, leaving the - # rest with the original EDR hooks in place - max_idx = 0 if len(cb[0]) > len(cb[1]) else 1 - small_idx = (~max_idx) & 1 - - ps = [] - - # gather processes on small_idx since these are the malware infected ones - for pid, pname in cb[small_idx]: - ps.append(f"{pid:d}:{pname}") - - proc_names = ", ".join(ps) - - yield 0, (func_name, proc_names, len(cb[max_idx])) - - def run(self) -> renderers.TreeGrid: - return renderers.TreeGrid( - [ - ("Function", str), - ("Distinct Implementations", str), - ("Total Implementations", int), - ], - self._generator(), - ) From f97bc920bbfdbded80e9140b09640298a8249481 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 18:09:26 +0300 Subject: [PATCH 1950/2186] Plugins: changed class name due to incorrect resolution --- .../plugins/windows/malware/unhooked_system_calls.py | 6 +++--- .../framework/plugins/windows/unhooked_system_calls.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/malware/unhooked_system_calls.py b/volatility3/framework/plugins/windows/malware/unhooked_system_calls.py index 5723ce0fd..71dc20021 100644 --- a/volatility3/framework/plugins/windows/malware/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/malware/unhooked_system_calls.py @@ -18,7 +18,7 @@ from volatility3.plugins.windows import pslist, pe_symbols vollog = logging.getLogger(__name__) -class unhooked_system_calls(interfaces.plugins.PluginInterface): +class UnhookedSystemCalls(interfaces.plugins.PluginInterface): """Detects hooked ntdll.dll stub functions in Windows processes.""" _required_framework_version = (2, 4, 0) @@ -114,7 +114,7 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): in different processes. This very effectively detects code injection. """ - code_bytes: unhooked_system_calls._code_bytes_type = {} + code_bytes: UnhookedSystemCalls._code_bytes_type = {} procs = pslist.PsList.list_processes(self.context, kernel_module_name) @@ -154,7 +154,7 @@ class unhooked_system_calls(interfaces.plugins.PluginInterface): context=self.context, config_path=self.config_path, kernel_module_name=self.config["kernel"], - symbols=unhooked_system_calls.system_calls, + symbols=UnhookedSystemCalls.system_calls, ) # code_bytes[dll_name][func_name][func_bytes] diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index 0c42415b6..e6fb2fb6c 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -8,10 +8,10 @@ from volatility3.plugins.windows.malware import unhooked_system_calls vollog = logging.getLogger(__name__) -class unhooked_system_calls( +class UnhookedSystemCalls( interfaces.plugins.PluginInterface, deprecation.PluginRenameClass, - replacement_class=unhooked_system_calls.unhooked_system_calls, + replacement_class=unhooked_system_calls.UnhookedSystemCalls, removal_date="2026-06-07", ): """Detects hooked ntdll.dll stub functions in Windows processes (deprecated).""" From ef07b07659a3c2475b36b6d0c26b5e24ee02687a Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 18:25:53 +0300 Subject: [PATCH 1951/2186] Plugins: categorize windows.drivermodule as a malware plugin --- .../framework/plugins/windows/drivermodule.py | 105 ++---------------- .../plugins/windows/malware/drivermodule.py | 101 +++++++++++++++++ 2 files changed, 113 insertions(+), 93 deletions(-) create mode 100644 volatility3/framework/plugins/windows/malware/drivermodule.py diff --git a/volatility3/framework/plugins/windows/drivermodule.py b/volatility3/framework/plugins/windows/drivermodule.py index c31fe2500..bf8f333f6 100644 --- a/volatility3/framework/plugins/windows/drivermodule.py +++ b/volatility3/framework/plugins/windows/drivermodule.py @@ -1,101 +1,20 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import Iterator, List, Tuple -from volatility3.framework import renderers, interfaces -from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import ssdt, driverscan, modules +import logging +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.windows.malware import drivermodule -# built in Windows-components that trigger false positives -KNOWN_DRIVERS = ["ACPI_HAL", "PnpManager", "RAW", "WMIxWDM", "Win32k", "Fs_Rec"] +vollog = logging.getLogger(__name__) -class DriverModule(interfaces.plugins.PluginInterface): - """Determines if any loaded drivers were hidden by a rootkit""" +class DriverModule( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=drivermodule.DriverModule, + removal_date="2026-06-07", +): + """Determines if any loaded drivers were hidden by a rootkit (deprecated).""" _required_framework_version = (2, 0, 0) _version = (1, 0, 0) - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="ssdt", component=ssdt.SSDT, version=(2, 0, 0) - ), - requirements.VersionRequirement( - name="driverscan", component=driverscan.DriverScan, version=(2, 0, 0) - ), - requirements.VersionRequirement( - name="modules", component=modules.Modules, version=(3, 0, 0) - ), - ] - - def _generator(self) -> Iterator[Tuple]: - """ - Attempt to match each driver's start code address to a known kernel module - A common rootkit technique is to register drivers from modules that are hidden, - which allows us to detect the disconnect between a malicious driver and its hidden module. - """ - collection = ssdt.SSDT.build_module_collection( - context=self.context, - kernel_module_name=self.config["kernel"], - ) - - kernel_space_start = modules.Modules.get_kernel_space_start( - self.context, self.config["kernel"] - ) - - for driver in driverscan.DriverScan.scan_drivers( - self.context, - self.config["kernel"], - ): - # We want starts of 0 as rootkits often set this value - # greater than 0 but less than the kernel space start is smear/terminated though - if 0 < driver.DriverStart < kernel_space_start: - continue - - # we do not care about actual symbol names, we just want to know if the driver points to a known module - module_symbols = list( - collection.get_module_symbols_by_absolute_location(driver.DriverStart) - ) - if not module_symbols: - ( - driver_name, - service_key, - name, - ) = driverscan.DriverScan.get_names_for_driver(driver) - - # drivers without any names will not produce useful output - if not driver_name and not service_key and not name: - continue - - known_exception = driver_name in KNOWN_DRIVERS - - yield ( - 0, - ( - format_hints.Hex(driver.vol.offset), - known_exception, - driver_name or renderers.NotAvailableValue(), - service_key or renderers.NotAvailableValue(), - name or renderers.NotAvailableValue(), - ), - ) - - def run(self) -> renderers.TreeGrid: - return renderers.TreeGrid( - [ - ("Offset", format_hints.Hex), - ("Known Exception", bool), - ("Driver Name", str), - ("Service Key", str), - ("Alternative Name", str), - ], - self._generator(), - ) diff --git a/volatility3/framework/plugins/windows/malware/drivermodule.py b/volatility3/framework/plugins/windows/malware/drivermodule.py new file mode 100644 index 000000000..c31fe2500 --- /dev/null +++ b/volatility3/framework/plugins/windows/malware/drivermodule.py @@ -0,0 +1,101 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +from typing import Iterator, List, Tuple +from volatility3.framework import renderers, interfaces +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import ssdt, driverscan, modules + +# built in Windows-components that trigger false positives +KNOWN_DRIVERS = ["ACPI_HAL", "PnpManager", "RAW", "WMIxWDM", "Win32k", "Fs_Rec"] + + +class DriverModule(interfaces.plugins.PluginInterface): + """Determines if any loaded drivers were hidden by a rootkit""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="ssdt", component=ssdt.SSDT, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="driverscan", component=driverscan.DriverScan, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="modules", component=modules.Modules, version=(3, 0, 0) + ), + ] + + def _generator(self) -> Iterator[Tuple]: + """ + Attempt to match each driver's start code address to a known kernel module + A common rootkit technique is to register drivers from modules that are hidden, + which allows us to detect the disconnect between a malicious driver and its hidden module. + """ + collection = ssdt.SSDT.build_module_collection( + context=self.context, + kernel_module_name=self.config["kernel"], + ) + + kernel_space_start = modules.Modules.get_kernel_space_start( + self.context, self.config["kernel"] + ) + + for driver in driverscan.DriverScan.scan_drivers( + self.context, + self.config["kernel"], + ): + # We want starts of 0 as rootkits often set this value + # greater than 0 but less than the kernel space start is smear/terminated though + if 0 < driver.DriverStart < kernel_space_start: + continue + + # we do not care about actual symbol names, we just want to know if the driver points to a known module + module_symbols = list( + collection.get_module_symbols_by_absolute_location(driver.DriverStart) + ) + if not module_symbols: + ( + driver_name, + service_key, + name, + ) = driverscan.DriverScan.get_names_for_driver(driver) + + # drivers without any names will not produce useful output + if not driver_name and not service_key and not name: + continue + + known_exception = driver_name in KNOWN_DRIVERS + + yield ( + 0, + ( + format_hints.Hex(driver.vol.offset), + known_exception, + driver_name or renderers.NotAvailableValue(), + service_key or renderers.NotAvailableValue(), + name or renderers.NotAvailableValue(), + ), + ) + + def run(self) -> renderers.TreeGrid: + return renderers.TreeGrid( + [ + ("Offset", format_hints.Hex), + ("Known Exception", bool), + ("Driver Name", str), + ("Service Key", str), + ("Alternative Name", str), + ], + self._generator(), + ) From 8acf97c475aab174e183669a104e8fa66ef6d599 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 18:42:13 +0300 Subject: [PATCH 1952/2186] Plugins: categorize linux.check_creds as a malwarep lugin --- .../framework/plugins/linux/check_creds.py | 75 +++---------------- .../plugins/linux/malware/check_creds.py | 71 ++++++++++++++++++ 2 files changed, 83 insertions(+), 63 deletions(-) create mode 100644 volatility3/framework/plugins/linux/malware/check_creds.py diff --git a/volatility3/framework/plugins/linux/check_creds.py b/volatility3/framework/plugins/linux/check_creds.py index e2b84d679..6c2c6f3d5 100644 --- a/volatility3/framework/plugins/linux/check_creds.py +++ b/volatility3/framework/plugins/linux/check_creds.py @@ -1,71 +1,20 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import logging +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.linux.malware import check_creds -from volatility3.framework import interfaces, renderers -from volatility3.framework.renderers import format_hints -from volatility3.framework.configuration import requirements -from volatility3.plugins.linux import pslist +vollog = logging.getLogger(__name__) -class Check_creds(interfaces.plugins.PluginInterface): - """Checks if any processes are sharing credential structures""" +class Check_creds( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=check_creds.Check_creds, + removal_date="2026-06-07", +): + """Checks if any processes are sharing credential structures (deprecated).""" _required_framework_version = (2, 0, 0) _version = (2, 0, 2) - - @classmethod - def get_requirements(cls): - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(4, 0, 0) - ), - ] - - def _generator(self): - vmlinux = self.context.modules[self.config["kernel"]] - - type_task = vmlinux.get_type("task_struct") - - if not type_task.has_member("cred"): - raise TypeError( - "This plugin requires the task_struct structure to have a cred member. " - "This member is not present in the supplied symbol table. " - "This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." - ) - - creds = {} - - tasks = pslist.PsList.list_tasks(self.context, vmlinux.name) - - for task in tasks: - task_cred_ptr = task.cred - if not (task_cred_ptr and task_cred_ptr.is_readable()): - continue - - cred_addr = task_cred_ptr.dereference().vol.offset - - creds.setdefault(cred_addr, []) - creds[cred_addr].append(task.pid) - - for cred_addr, pids in creds.items(): - if len(pids) > 1: - pid_str = ", ".join(str(pid) for pid in pids) - - fields = [ - format_hints.Hex(cred_addr), - pid_str, - ] - yield (0, fields) - - def run(self): - headers = [ - ("CredVAddr", format_hints.Hex), - ("PIDs", str), - ] - return renderers.TreeGrid(headers, self._generator()) diff --git a/volatility3/framework/plugins/linux/malware/check_creds.py b/volatility3/framework/plugins/linux/malware/check_creds.py new file mode 100644 index 000000000..e2b84d679 --- /dev/null +++ b/volatility3/framework/plugins/linux/malware/check_creds.py @@ -0,0 +1,71 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +from volatility3.framework import interfaces, renderers +from volatility3.framework.renderers import format_hints +from volatility3.framework.configuration import requirements +from volatility3.plugins.linux import pslist + + +class Check_creds(interfaces.plugins.PluginInterface): + """Checks if any processes are sharing credential structures""" + + _required_framework_version = (2, 0, 0) + _version = (2, 0, 2) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) + ), + ] + + def _generator(self): + vmlinux = self.context.modules[self.config["kernel"]] + + type_task = vmlinux.get_type("task_struct") + + if not type_task.has_member("cred"): + raise TypeError( + "This plugin requires the task_struct structure to have a cred member. " + "This member is not present in the supplied symbol table. " + "This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." + ) + + creds = {} + + tasks = pslist.PsList.list_tasks(self.context, vmlinux.name) + + for task in tasks: + task_cred_ptr = task.cred + if not (task_cred_ptr and task_cred_ptr.is_readable()): + continue + + cred_addr = task_cred_ptr.dereference().vol.offset + + creds.setdefault(cred_addr, []) + creds[cred_addr].append(task.pid) + + for cred_addr, pids in creds.items(): + if len(pids) > 1: + pid_str = ", ".join(str(pid) for pid in pids) + + fields = [ + format_hints.Hex(cred_addr), + pid_str, + ] + yield (0, fields) + + def run(self): + headers = [ + ("CredVAddr", format_hints.Hex), + ("PIDs", str), + ] + return renderers.TreeGrid(headers, self._generator()) From 85a5eb5d41ff04b728cacc1cedb4b8a95f4da6cb Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 18:42:42 +0300 Subject: [PATCH 1953/2186] linux.malware.check_creds - fix deps in: test, doc --- doc/source/getting-started-linux-tutorial.rst | 2 +- test/plugins/linux/linux.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index 031b49636..4c442c938 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -37,7 +37,7 @@ For plugin requests, please create an issue with a description of the requested banners.Banners Attempts to identify potential linux banners in an linux.bash.Bash Recovers bash command history from memory. linux.check_afinfo.Check_afinfo - linux.check_creds.Check_creds + linux.malware.check_creds.Check_creds linux.check_idt.Check_idt .. note:: Here the command is piped to grep and head to provide the start of the list of linux plugins. diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index e39c1d15d..abac11278 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -200,7 +200,7 @@ class TestLinuxCapabilities: class TestLinuxCheckCreds: def test_linux_generic_check_creds(self, image, volatility, python): rc, out, _err = test_volatility.runvol_plugin( - "linux.check_creds.Check_creds", image, volatility, python + "linux.malware.check_creds.Check_creds", image, volatility, python ) # linux-sample-1.bin has no processes sharing credentials. From c36fdd69f6270b449e3d0f32e9f266cdc06813b2 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 19:22:58 +0300 Subject: [PATCH 1954/2186] Plugins: categorize linux.check_idt as a malware plugin --- .../framework/plugins/linux/check_idt.py | 166 +---------------- .../plugins/linux/malware/check_idt.py | 168 ++++++++++++++++++ 2 files changed, 177 insertions(+), 157 deletions(-) create mode 100644 volatility3/framework/plugins/linux/malware/check_idt.py diff --git a/volatility3/framework/plugins/linux/check_idt.py b/volatility3/framework/plugins/linux/check_idt.py index e199d98d3..449f85e1e 100644 --- a/volatility3/framework/plugins/linux/check_idt.py +++ b/volatility3/framework/plugins/linux/check_idt.py @@ -1,168 +1,20 @@ # This file is Copyright 2020 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # - import logging -from typing import List, Optional - -import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import interfaces, renderers, symbols -from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints -from volatility3.framework.symbols import linux +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.linux.malware import check_idt vollog = logging.getLogger(__name__) -class Check_idt(interfaces.plugins.PluginInterface): - """Checks if the IDT has been altered""" +class Check_idt( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=check_idt.Check_idt, + removal_date="2026-06-07", +): + """Checks if the IDT has been altered (deprecated).""" _required_framework_version = (2, 0, 0) - - # 2.0.0 - Add versioning at all, add `get_idt_type` _version = (2, 0, 0) - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="linux_utilities_modules", - component=linux_utilities_modules.Modules, - version=(3, 0, 0), - ), - requirements.VersionRequirement( - name="linux_utilities_module_gatherers", - component=linux_utilities_modules.ModuleGatherers, - version=(1, 0, 0), - ), - requirements.VersionRequirement( - name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) - ), - ] - - @staticmethod - def get_idt_type(context, vmlinux_name) -> Optional[str]: - """ - Determines the IDT type for this symbol table or returns None - - The original version ended clauses with an `else` leading to bad fall through - of returning a type that did not exist in the symbol table. - - Future updates should not leave fall through cases to avoid this repeating. - """ - - vmlinux = context.modules[vmlinux_name] - - is_32bit = not symbols.symbol_table_is_64bit(context, vmlinux.symbol_table_name) - - # These are in a specific order. Only append to the lists going forward - # or ask Andrew to run tests before merging. - if is_32bit: - idt_types = ["gate_struct", "desc_struct", "gate_struct32"] - else: - idt_types = ["gate_struct64", "gate_struct", "idt_desc"] - - for idt_type in idt_types: - if vmlinux.has_type(idt_type): - return idt_type - - return None - - def _generator(self): - idt_type = self.get_idt_type(self.context, self.config["kernel"]) - if not idt_type: - vollog.error( - "Unable to determine the data structure type for IDT entries. Please file a bug on the GitHub tracker with your kernel version." - ) - return - - vmlinux = self.context.modules[self.config["kernel"]] - - known_modules = linux_utilities_modules.Modules.run_modules_scanners( - context=self.context, - kernel_module_name=self.config["kernel"], - caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, - ) - - idt_table_size = 256 - - kernel_layer = self.context.layers[vmlinux.layer_name] - - address_mask = kernel_layer.address_mask - - # hw handlers + system call - check_idxs = list(range(20)) + [128] - - addrs = vmlinux.object_from_symbol("idt_table") - - table = vmlinux.object( - object_type="array", - offset=addrs.vol.offset, - subtype=vmlinux.get_type(idt_type), - count=idt_table_size, - absolute=True, - ) - - for i in check_idxs: - ent = table[i] - - if not ent or not kernel_layer.is_valid(ent.vol.offset): - continue - - if hasattr(ent, "a"): - idt_addr = (ent.b & 0xFFFF0000) | (ent.a & 0x0000FFFF) - else: - low = ent.offset_low - middle = ent.offset_middle - - # offset_high is for 64bit systems - if hasattr(ent, "offset_high"): - high = ent.offset_high - else: - high = 0 - - idt_addr = (high << 32) | (middle << 16) | low - - idt_addr = idt_addr & address_mask - - # 0 means unintialized/unused, not a rootkit - if idt_addr == 0: - module_name = renderers.NotAvailableValue() - symbol_name = renderers.NotAvailableValue() - else: - module_info, symbol_name = ( - linux_utilities_modules.Modules.module_lookup_by_address( - self.context, vmlinux.name, known_modules, idt_addr - ) - ) - - if module_info: - module_name = module_info.name - else: - module_name = renderers.NotAvailableValue() - - yield ( - 0, - [ - format_hints.Hex(i), - format_hints.Hex(idt_addr), - module_name, - symbol_name or renderers.NotAvailableValue(), - ], - ) - - def run(self): - return renderers.TreeGrid( - [ - ("Index", format_hints.Hex), - ("Address", format_hints.Hex), - ("Module", str), - ("Symbol", str), - ], - self._generator(), - ) diff --git a/volatility3/framework/plugins/linux/malware/check_idt.py b/volatility3/framework/plugins/linux/malware/check_idt.py new file mode 100644 index 000000000..e199d98d3 --- /dev/null +++ b/volatility3/framework/plugins/linux/malware/check_idt.py @@ -0,0 +1,168 @@ +# This file is Copyright 2020 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from typing import List, Optional + +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules +from volatility3.framework import interfaces, renderers, symbols +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import linux + +vollog = logging.getLogger(__name__) + + +class Check_idt(interfaces.plugins.PluginInterface): + """Checks if the IDT has been altered""" + + _required_framework_version = (2, 0, 0) + + # 2.0.0 - Add versioning at all, add `get_idt_type` + _version = (2, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(3, 0, 0), + ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGatherers, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) + ), + ] + + @staticmethod + def get_idt_type(context, vmlinux_name) -> Optional[str]: + """ + Determines the IDT type for this symbol table or returns None + + The original version ended clauses with an `else` leading to bad fall through + of returning a type that did not exist in the symbol table. + + Future updates should not leave fall through cases to avoid this repeating. + """ + + vmlinux = context.modules[vmlinux_name] + + is_32bit = not symbols.symbol_table_is_64bit(context, vmlinux.symbol_table_name) + + # These are in a specific order. Only append to the lists going forward + # or ask Andrew to run tests before merging. + if is_32bit: + idt_types = ["gate_struct", "desc_struct", "gate_struct32"] + else: + idt_types = ["gate_struct64", "gate_struct", "idt_desc"] + + for idt_type in idt_types: + if vmlinux.has_type(idt_type): + return idt_type + + return None + + def _generator(self): + idt_type = self.get_idt_type(self.context, self.config["kernel"]) + if not idt_type: + vollog.error( + "Unable to determine the data structure type for IDT entries. Please file a bug on the GitHub tracker with your kernel version." + ) + return + + vmlinux = self.context.modules[self.config["kernel"]] + + known_modules = linux_utilities_modules.Modules.run_modules_scanners( + context=self.context, + kernel_module_name=self.config["kernel"], + caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, + ) + + idt_table_size = 256 + + kernel_layer = self.context.layers[vmlinux.layer_name] + + address_mask = kernel_layer.address_mask + + # hw handlers + system call + check_idxs = list(range(20)) + [128] + + addrs = vmlinux.object_from_symbol("idt_table") + + table = vmlinux.object( + object_type="array", + offset=addrs.vol.offset, + subtype=vmlinux.get_type(idt_type), + count=idt_table_size, + absolute=True, + ) + + for i in check_idxs: + ent = table[i] + + if not ent or not kernel_layer.is_valid(ent.vol.offset): + continue + + if hasattr(ent, "a"): + idt_addr = (ent.b & 0xFFFF0000) | (ent.a & 0x0000FFFF) + else: + low = ent.offset_low + middle = ent.offset_middle + + # offset_high is for 64bit systems + if hasattr(ent, "offset_high"): + high = ent.offset_high + else: + high = 0 + + idt_addr = (high << 32) | (middle << 16) | low + + idt_addr = idt_addr & address_mask + + # 0 means unintialized/unused, not a rootkit + if idt_addr == 0: + module_name = renderers.NotAvailableValue() + symbol_name = renderers.NotAvailableValue() + else: + module_info, symbol_name = ( + linux_utilities_modules.Modules.module_lookup_by_address( + self.context, vmlinux.name, known_modules, idt_addr + ) + ) + + if module_info: + module_name = module_info.name + else: + module_name = renderers.NotAvailableValue() + + yield ( + 0, + [ + format_hints.Hex(i), + format_hints.Hex(idt_addr), + module_name, + symbol_name or renderers.NotAvailableValue(), + ], + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Index", format_hints.Hex), + ("Address", format_hints.Hex), + ("Module", str), + ("Symbol", str), + ], + self._generator(), + ) From 4bc1bb818dfb2cb0ca8c2f694ba4f97fdab09208 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 19:23:13 +0300 Subject: [PATCH 1955/2186] linux.malware.check_idt - fix doc & test deps --- doc/source/getting-started-linux-tutorial.rst | 2 +- test/plugins/linux/linux.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index 031b49636..9a04ddcc1 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -38,7 +38,7 @@ For plugin requests, please create an issue with a description of the requested linux.bash.Bash Recovers bash command history from memory. linux.check_afinfo.Check_afinfo linux.check_creds.Check_creds - linux.check_idt.Check_idt + linux.malware.check_idt.Check_idt .. note:: Here the command is piped to grep and head to provide the start of the list of linux plugins. diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index e39c1d15d..cecf6e80e 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -29,7 +29,7 @@ class TestLinuxPslist: class TestLinuxCheckIdt: def test_linux_generic_check_idt(self, image, volatility, python): rc, out, _err = test_volatility.runvol_plugin( - "linux.check_idt.Check_idt", image, volatility, python + "linux.malware.check_idt.Check_idt", image, volatility, python ) assert rc == 0 From 832c997e20b7685f772e518d091fdca534a2e2d8 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 19:29:55 +0300 Subject: [PATCH 1956/2186] Plugins: categorize linux.check_modules as a malware plugin --- .../framework/plugins/linux/check_modules.py | 68 +++--------------- .../plugins/linux/malware/check_modules.py | 70 +++++++++++++++++++ 2 files changed, 79 insertions(+), 59 deletions(-) create mode 100644 volatility3/framework/plugins/linux/malware/check_modules.py diff --git a/volatility3/framework/plugins/linux/check_modules.py b/volatility3/framework/plugins/linux/check_modules.py index 7805bbd8a..d8b3ddcf1 100644 --- a/volatility3/framework/plugins/linux/check_modules.py +++ b/volatility3/framework/plugins/linux/check_modules.py @@ -1,70 +1,20 @@ -# This file is Copyright 2020 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # - import logging -from typing import List, Dict, Generator - -import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3.framework import interfaces, deprecation -from volatility3.framework.configuration import requirements -from volatility3.framework.objects import utility -from volatility3.framework.symbols.linux import extensions -from volatility3.framework.interfaces import plugins +from volatility3.plugins.linux.malware import check_modules vollog = logging.getLogger(__name__) -class Check_modules(plugins.PluginInterface): - """Compares module list to sysfs info, if available""" +class Check_modules( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=check_modules.Check_modules, + removal_date="2026-06-07", +): + """Compares module list to sysfs info, if available (deprecated).""" _version = (3, 0, 1) _required_framework_version = (2, 0, 0) - - @classmethod - def compare_kset_and_lsmod( - cls, context: str, vmlinux_name: str - ) -> Generator[extensions.module, None, None]: - kset_modules = linux_utilities_modules.Modules.get_kset_modules( - context=context, vmlinux_name=vmlinux_name - ) - - lsmod_modules = set( - str(utility.array_to_string(modules.name)) - for modules in linux_utilities_modules.Modules.list_modules( - context=context, vmlinux_module_name=vmlinux_name - ) - ) - - for mod_name in set(kset_modules.keys()).difference(lsmod_modules): - yield kset_modules[mod_name] - - run = linux_utilities_modules.ModuleDisplayPlugin.run - _generator = linux_utilities_modules.ModuleDisplayPlugin.generator - implementation = compare_kset_and_lsmod - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.VersionRequirement( - name="modules", - component=linux_utilities_modules.Modules, - version=(3, 0, 1), - ), - requirements.VersionRequirement( - name="linux_utilities_modules_module_display_plugin", - component=linux_utilities_modules.ModuleDisplayPlugin, - version=(1, 0, 0), - ), - ] + linux_utilities_modules.ModuleDisplayPlugin.get_requirements() - - @classmethod - @deprecation.deprecated_method( - replacement=linux_utilities_modules.Modules.get_kset_modules, - removal_date="2025-09-25", - replacement_version=(3, 0, 0), - ) - def get_kset_modules( - cls, context: interfaces.context.ContextInterface, vmlinux_name: str - ) -> Dict[str, extensions.module]: - return linux_utilities_modules.Modules.get_kset_modules(context, vmlinux_name) diff --git a/volatility3/framework/plugins/linux/malware/check_modules.py b/volatility3/framework/plugins/linux/malware/check_modules.py new file mode 100644 index 000000000..7805bbd8a --- /dev/null +++ b/volatility3/framework/plugins/linux/malware/check_modules.py @@ -0,0 +1,70 @@ +# This file is Copyright 2020 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from typing import List, Dict, Generator + +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules +from volatility3.framework import interfaces, deprecation +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.framework.symbols.linux import extensions +from volatility3.framework.interfaces import plugins + +vollog = logging.getLogger(__name__) + + +class Check_modules(plugins.PluginInterface): + """Compares module list to sysfs info, if available""" + + _version = (3, 0, 1) + _required_framework_version = (2, 0, 0) + + @classmethod + def compare_kset_and_lsmod( + cls, context: str, vmlinux_name: str + ) -> Generator[extensions.module, None, None]: + kset_modules = linux_utilities_modules.Modules.get_kset_modules( + context=context, vmlinux_name=vmlinux_name + ) + + lsmod_modules = set( + str(utility.array_to_string(modules.name)) + for modules in linux_utilities_modules.Modules.list_modules( + context=context, vmlinux_module_name=vmlinux_name + ) + ) + + for mod_name in set(kset_modules.keys()).difference(lsmod_modules): + yield kset_modules[mod_name] + + run = linux_utilities_modules.ModuleDisplayPlugin.run + _generator = linux_utilities_modules.ModuleDisplayPlugin.generator + implementation = compare_kset_and_lsmod + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.VersionRequirement( + name="modules", + component=linux_utilities_modules.Modules, + version=(3, 0, 1), + ), + requirements.VersionRequirement( + name="linux_utilities_modules_module_display_plugin", + component=linux_utilities_modules.ModuleDisplayPlugin, + version=(1, 0, 0), + ), + ] + linux_utilities_modules.ModuleDisplayPlugin.get_requirements() + + @classmethod + @deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.get_kset_modules, + removal_date="2025-09-25", + replacement_version=(3, 0, 0), + ) + def get_kset_modules( + cls, context: interfaces.context.ContextInterface, vmlinux_name: str + ) -> Dict[str, extensions.module]: + return linux_utilities_modules.Modules.get_kset_modules(context, vmlinux_name) From 4b279f96339f7d5b00af2abf2c8d7d6041777d75 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 19:30:04 +0300 Subject: [PATCH 1957/2186] linux.malware.check_modules - fix test --- test/plugins/linux/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index e39c1d15d..12309cc59 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -438,7 +438,7 @@ class TestLinuxCheckAfinfo: class TestLinuxCheckModules: def test_linux_generic_check_modules(self, image, volatility, python): rc, out, _err = test_volatility.runvol_plugin( - "linux.check_modules.Check_modules", image, volatility, python + "linux.malware.check_modules.Check_modules", image, volatility, python ) # linux-sample-1.bin has no suspicious results. From 5b538d16866e8a173093c5934c493c58f0fb810b Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 19:35:19 +0300 Subject: [PATCH 1958/2186] Plugins: categorize linux.check_syscall as a malware plugin --- .../framework/plugins/linux/check_syscall.py | 216 +----------------- .../plugins/linux/malware/check_syscall.py | 215 +++++++++++++++++ 2 files changed, 226 insertions(+), 205 deletions(-) create mode 100644 volatility3/framework/plugins/linux/malware/check_syscall.py diff --git a/volatility3/framework/plugins/linux/check_syscall.py b/volatility3/framework/plugins/linux/check_syscall.py index 724a67810..5e3e40cbb 100644 --- a/volatility3/framework/plugins/linux/check_syscall.py +++ b/volatility3/framework/plugins/linux/check_syscall.py @@ -1,214 +1,20 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -"""A module containing a plugin that checks the system call table for hooks.""" -import contextlib import logging -from typing import List - -from volatility3.framework import constants, exceptions, interfaces, renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins -from volatility3.framework.renderers import format_hints +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.linux.malware import check_syscall vollog = logging.getLogger(__name__) -try: - import capstone - has_capstone = True -except ImportError: - has_capstone = False - - -class Check_syscall(plugins.PluginInterface): - """Check system call table for hooks.""" +class Check_syscall( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=check_syscall.Check_syscall, + removal_date="2026-06-07", +): + """Check system call table for hooks (deprecated).""" _required_framework_version = (2, 0, 0) - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - ] - - def _get_table_size_next_symbol(self, table_addr, ptr_sz, vmlinux): - """Returns the size of the table based on the next symbol.""" - ret = 0 - - symbol_list = [] - for sn in vmlinux.symbols: - with contextlib.suppress(exceptions.SymbolError): - # When requesting the symbol from the module, a full resolve is performed - symbol_list.append((vmlinux.get_symbol(sn).address, sn)) - sorted_symbols = sorted(symbol_list) - - sym_address = 0 - - for tmp_sym_address, sym_name in sorted_symbols: - if tmp_sym_address > table_addr: - sym_address = tmp_sym_address - break - - if sym_address > 0: - ret = int((sym_address - table_addr) / ptr_sz) - - return ret - - def _get_table_size_meta(self, vmlinux): - """returns the number of symbols that start with __syscall_meta__ this - is a fast way to determine the number of system calls, but not the most - accurate.""" - - return len( - [ - sym - for sym in self.context.symbol_space[vmlinux.symbol_table_name].symbols - if sym.startswith("__syscall_meta__") - ] - ) - - def _get_table_info_other(self, table_addr, ptr_sz, vmlinux): - table_size_meta = self._get_table_size_meta(vmlinux) - table_size_syms = self._get_table_size_next_symbol(table_addr, ptr_sz, vmlinux) - - sizes = [size for size in [table_size_meta, table_size_syms] if size > 0] - - table_size = min(sizes) - - return table_size - - def _get_table_info_disassembly(self, ptr_sz, vmlinux) -> int: - """Find the size of the system call table by disassembling functions - that immediately reference it in their first instruction This is in the - form 'cmp reg,NR_syscalls'.""" - table_size = 0 - - if not has_capstone: - return table_size - - if ptr_sz == 4: - syscall_entry_func = "sysenter_do_call" - mode = capstone.CS_MODE_32 - else: - syscall_entry_func = "system_call_fastpath" - mode = capstone.CS_MODE_64 - - md = capstone.Cs(capstone.CS_ARCH_X86, mode) - - try: - func_addr = vmlinux.get_symbol(syscall_entry_func).address - except exceptions.SymbolError: - # if we can't find the disassemble function then bail and rely on a different method - return 0 - - vmlinux = self.context.modules[self.config["kernel"]] - vmlinux_layer = self.context.layers[vmlinux.layer_name] - try: - data = vmlinux_layer.read(func_addr, 6) - except exceptions.InvalidAddressException: - return 0 - - for _address, _size, mnemonic, op_str in md.disasm_lite(data, func_addr): - if mnemonic == "CMP": - table_size = int(op_str.split(",")[1].strip()) & 0xFFFF - break - - return table_size - - def _get_table_info(self, vmlinux, table_name, ptr_sz): - table_sym = vmlinux.get_symbol(table_name) - - table_size = self._get_table_info_disassembly(ptr_sz, vmlinux) - - if table_size == 0: - table_size = self._get_table_info_other(table_sym.address, ptr_sz, vmlinux) - - if table_size == 0: - vollog.error("Unable to get system call table size") - return 0, 0 - - return table_sym.address, table_size - - # TODO - add finding and parsing unistd.h once cached file enumeration is added - def _generator(self): - vmlinux = self.context.modules[self.config["kernel"]] - - ptr_sz = vmlinux.get_type("pointer").size - if ptr_sz == 4: - table_name = "32bit" - else: - table_name = "64bit" - - try: - table_info = self._get_table_info(vmlinux, "sys_call_table", ptr_sz) - except exceptions.SymbolError: - vollog.error("Unable to find the system call table. Exiting.") - return None - - tables = [(table_name, table_info)] - - # this table is only present on 64 bit systems with 32 bit emulation - # enabled in order to support 32 bit programs and libraries - # if the symbol isn't there then the support isn't in the kernel and so we skip it - try: - ia32_symbol = vmlinux.get_symbol("ia32_sys_call_table") - except exceptions.SymbolError: - ia32_symbol = None - - if ia32_symbol is not None: - ia32_info = self._get_table_info(vmlinux, "ia32_sys_call_table", ptr_sz) - tables.append(("32bit", ia32_info)) - - for table_name, (tableaddr, tblsz) in tables: - table = vmlinux.object( - object_type="array", - subtype=vmlinux.get_type("pointer"), - offset=tableaddr, - count=tblsz, - ) - - for i in range(len(table)): - try: - call_addr = table[i] - except exceptions.InvalidAddressException: - vollog.debug(f"Failed to get system call table entry at index {i}") - continue - - symbols = list(vmlinux.get_symbols_by_absolute_location(call_addr)) - - if len(symbols) > 0: - sym_name = ( - str(symbols[0].split(constants.BANG)[1]) - if constants.BANG in symbols[0] - else str(symbols[0]) - ) - else: - sym_name = "UNKNOWN" - - yield ( - 0, - ( - format_hints.Hex(tableaddr), - table_name, - i, - format_hints.Hex(call_addr), - sym_name, - ), - ) - - def run(self): - return renderers.TreeGrid( - [ - ("Table Address", format_hints.Hex), - ("Table Name", str), - ("Index", int), - ("Handler Address", format_hints.Hex), - ("Handler Symbol", str), - ], - self._generator(), - ) + _version = (1, 0, 0) diff --git a/volatility3/framework/plugins/linux/malware/check_syscall.py b/volatility3/framework/plugins/linux/malware/check_syscall.py new file mode 100644 index 000000000..1188bf250 --- /dev/null +++ b/volatility3/framework/plugins/linux/malware/check_syscall.py @@ -0,0 +1,215 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +"""A module containing a plugin that checks the system call table for hooks.""" +import contextlib +import logging +from typing import List + +from volatility3.framework import constants, exceptions, interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.renderers import format_hints + +vollog = logging.getLogger(__name__) + +try: + import capstone + + has_capstone = True +except ImportError: + has_capstone = False + + +class Check_syscall(plugins.PluginInterface): + """Check system call table for hooks.""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + ] + + def _get_table_size_next_symbol(self, table_addr, ptr_sz, vmlinux): + """Returns the size of the table based on the next symbol.""" + ret = 0 + + symbol_list = [] + for sn in vmlinux.symbols: + with contextlib.suppress(exceptions.SymbolError): + # When requesting the symbol from the module, a full resolve is performed + symbol_list.append((vmlinux.get_symbol(sn).address, sn)) + sorted_symbols = sorted(symbol_list) + + sym_address = 0 + + for tmp_sym_address, sym_name in sorted_symbols: + if tmp_sym_address > table_addr: + sym_address = tmp_sym_address + break + + if sym_address > 0: + ret = int((sym_address - table_addr) / ptr_sz) + + return ret + + def _get_table_size_meta(self, vmlinux): + """returns the number of symbols that start with __syscall_meta__ this + is a fast way to determine the number of system calls, but not the most + accurate.""" + + return len( + [ + sym + for sym in self.context.symbol_space[vmlinux.symbol_table_name].symbols + if sym.startswith("__syscall_meta__") + ] + ) + + def _get_table_info_other(self, table_addr, ptr_sz, vmlinux): + table_size_meta = self._get_table_size_meta(vmlinux) + table_size_syms = self._get_table_size_next_symbol(table_addr, ptr_sz, vmlinux) + + sizes = [size for size in [table_size_meta, table_size_syms] if size > 0] + + table_size = min(sizes) + + return table_size + + def _get_table_info_disassembly(self, ptr_sz, vmlinux) -> int: + """Find the size of the system call table by disassembling functions + that immediately reference it in their first instruction This is in the + form 'cmp reg,NR_syscalls'.""" + table_size = 0 + + if not has_capstone: + return table_size + + if ptr_sz == 4: + syscall_entry_func = "sysenter_do_call" + mode = capstone.CS_MODE_32 + else: + syscall_entry_func = "system_call_fastpath" + mode = capstone.CS_MODE_64 + + md = capstone.Cs(capstone.CS_ARCH_X86, mode) + + try: + func_addr = vmlinux.get_symbol(syscall_entry_func).address + except exceptions.SymbolError: + # if we can't find the disassemble function then bail and rely on a different method + return 0 + + vmlinux = self.context.modules[self.config["kernel"]] + vmlinux_layer = self.context.layers[vmlinux.layer_name] + try: + data = vmlinux_layer.read(func_addr, 6) + except exceptions.InvalidAddressException: + return 0 + + for _address, _size, mnemonic, op_str in md.disasm_lite(data, func_addr): + if mnemonic == "CMP": + table_size = int(op_str.split(",")[1].strip()) & 0xFFFF + break + + return table_size + + def _get_table_info(self, vmlinux, table_name, ptr_sz): + table_sym = vmlinux.get_symbol(table_name) + + table_size = self._get_table_info_disassembly(ptr_sz, vmlinux) + + if table_size == 0: + table_size = self._get_table_info_other(table_sym.address, ptr_sz, vmlinux) + + if table_size == 0: + vollog.error("Unable to get system call table size") + return 0, 0 + + return table_sym.address, table_size + + # TODO - add finding and parsing unistd.h once cached file enumeration is added + def _generator(self): + vmlinux = self.context.modules[self.config["kernel"]] + + ptr_sz = vmlinux.get_type("pointer").size + if ptr_sz == 4: + table_name = "32bit" + else: + table_name = "64bit" + + try: + table_info = self._get_table_info(vmlinux, "sys_call_table", ptr_sz) + except exceptions.SymbolError: + vollog.error("Unable to find the system call table. Exiting.") + return None + + tables = [(table_name, table_info)] + + # this table is only present on 64 bit systems with 32 bit emulation + # enabled in order to support 32 bit programs and libraries + # if the symbol isn't there then the support isn't in the kernel and so we skip it + try: + ia32_symbol = vmlinux.get_symbol("ia32_sys_call_table") + except exceptions.SymbolError: + ia32_symbol = None + + if ia32_symbol is not None: + ia32_info = self._get_table_info(vmlinux, "ia32_sys_call_table", ptr_sz) + tables.append(("32bit", ia32_info)) + + for table_name, (tableaddr, tblsz) in tables: + table = vmlinux.object( + object_type="array", + subtype=vmlinux.get_type("pointer"), + offset=tableaddr, + count=tblsz, + ) + + for i in range(len(table)): + try: + call_addr = table[i] + except exceptions.InvalidAddressException: + vollog.debug(f"Failed to get system call table entry at index {i}") + continue + + symbols = list(vmlinux.get_symbols_by_absolute_location(call_addr)) + + if len(symbols) > 0: + sym_name = ( + str(symbols[0].split(constants.BANG)[1]) + if constants.BANG in symbols[0] + else str(symbols[0]) + ) + else: + sym_name = "UNKNOWN" + + yield ( + 0, + ( + format_hints.Hex(tableaddr), + table_name, + i, + format_hints.Hex(call_addr), + sym_name, + ), + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Table Address", format_hints.Hex), + ("Table Name", str), + ("Index", int), + ("Handler Address", format_hints.Hex), + ("Handler Symbol", str), + ], + self._generator(), + ) From 70514396b307ca4f4b43bf1587d02cfe7f7dd1e9 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 19:35:26 +0300 Subject: [PATCH 1959/2186] linux.malware.check_syscall - fix test --- test/plugins/linux/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index e39c1d15d..639cad464 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -41,7 +41,7 @@ class TestLinuxCheckIdt: class TestLinuxCheckSyscall: def test_linux_generic_check_syscall(self, image, volatility, python): rc, out, _err = test_volatility.runvol_plugin( - "linux.check_syscall.Check_syscall", image, volatility, python + "linux.malware.check_syscall.Check_syscall", image, volatility, python ) assert rc == 0 From 962665b412980b556d4b003659504a42ca7dda7e Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 19:44:50 +0300 Subject: [PATCH 1960/2186] Plugins: categorize linux.check_afinfo as a malware plugin + test fix --- doc/source/getting-started-linux-tutorial.rst | 2 +- test/plugins/linux/linux.py | 2 +- .../framework/plugins/linux/check_afinfo.py | 215 +----------------- .../plugins/linux/malware/check_afinfo.py | 215 ++++++++++++++++++ 4 files changed, 227 insertions(+), 207 deletions(-) create mode 100644 volatility3/framework/plugins/linux/malware/check_afinfo.py diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index 031b49636..267d3fc06 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -36,7 +36,7 @@ For plugin requests, please create an issue with a description of the requested $ python3 vol.py --help | grep -i linux. | head -n 5 banners.Banners Attempts to identify potential linux banners in an linux.bash.Bash Recovers bash command history from memory. - linux.check_afinfo.Check_afinfo + linux.malware.check_afinfo.Check_afinfo linux.check_creds.Check_creds linux.check_idt.Check_idt diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index e39c1d15d..6b4ae1363 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -426,7 +426,7 @@ class TestLinuxPageCacheInodepages: class TestLinuxCheckAfinfo: def test_linux_generic_check_afinfo(self, image, volatility, python): rc, out, _err = test_volatility.runvol_plugin( - "linux.check_afinfo.Check_afinfo", image, volatility, python + "linux.malware.check_afinfo.Check_afinfo", image, volatility, python ) # linux-sample-1.bin has no suspicious results. diff --git a/volatility3/framework/plugins/linux/check_afinfo.py b/volatility3/framework/plugins/linux/check_afinfo.py index 47da21615..3f9e14161 100644 --- a/volatility3/framework/plugins/linux/check_afinfo.py +++ b/volatility3/framework/plugins/linux/check_afinfo.py @@ -1,215 +1,20 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -"""A module containing a plugin that verifies the operation function -pointers of network protocols.""" import logging -from typing import List, Tuple, Generator - -from volatility3.framework import exceptions, interfaces -from volatility3.framework import renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins -from volatility3.framework.renderers import format_hints +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.linux.malware import check_afinfo vollog = logging.getLogger(__name__) -class Check_afinfo(plugins.PluginInterface): - """Verifies the operation function pointers of network protocols.""" +class Check_afinfo( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=check_afinfo.Check_afinfo, + removal_date="2026-06-07", +): + """Verifies the operation function pointers of network protocols (deprecated).""" _version = (1, 0, 0) _required_framework_version = (2, 0, 0) - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - ] - - @classmethod - def _check_members( - cls, - context: interfaces.context.ContextInterface, - vmlinux_name: str, - var_ops: interfaces.objects.ObjectInterface, - var_name: str, - members: List[str], - ) -> Generator[Tuple[str, str, int], None, None]: - """ - Yields any members that are not pointing inside the kernel - """ - - vmlinux = context.modules[vmlinux_name] - - for check in members: - # redhat-specific garbage - if check.startswith("__UNIQUE_ID_rh_kabi_hide"): - continue - - # These structures have members like `write` and `next`, which are built in Python functions - addr = var_ops.member(attr=check) - - # Unimplemented handlers are set to 0 - if not addr: - continue - - if len(vmlinux.get_symbols_by_absolute_location(addr)) == 0: - yield var_name, check, addr - - @classmethod - def _check_pre_4_18_ops( - cls, - context: interfaces.context.ContextInterface, - vmlinux_name: str, - var_name: str, - var: interfaces.objects.ObjectInterface, - op_members: List[str], - seq_members: List[str], - ): - """ - Finds the correct way to reference `op_members` - """ - vmlinux = context.modules[vmlinux_name] - - if var.has_member("seq_fops"): - yield from cls._check_members( - context, vmlinux_name, var.seq_fops, var_name, op_members - ) - # newer kernels - if var.has_member("seq_ops"): - yield from cls._check_members( - context, vmlinux_name, var.seq_ops, var_name, seq_members - ) - - # this is the most commonly hooked member by rootkits, so a force a check on it - elif var.has_member("seq_show"): - if len(vmlinux.get_symbols_by_location(var.seq_show)) == 0: - yield var_name, "show", var.seq_show - else: - raise exceptions.VolatilityException( - "_check_afinfo_pre_4_18: Unable to find sequence operations members for checking." - ) - - @classmethod - def _check_afinfo_pre_4_18( - cls, - context: interfaces.context.ContextInterface, - vmlinux_name: str, - seq_members: str, - ) -> Generator[Tuple[str, str, int], None, None]: - """ - Checks the operations structures for network protocols of < 4.18 systems - """ - tcp = ("tcp_seq_afinfo", ["tcp6_seq_afinfo", "tcp4_seq_afinfo"]) - udp = ( - "udp_seq_afinfo", - [ - "udplite6_seq_afinfo", - "udp6_seq_afinfo", - "udplite4_seq_afinfo", - "udp4_seq_afinfo", - ], - ) - protocols = [tcp, udp] - - vmlinux = context.modules[vmlinux_name] - - op_members = vmlinux.get_type("file_operations").members - - # loop through all symbols - for struct_type, global_vars in protocols: - for global_var_name in global_vars: - # this will lookup fail for the IPv6 protocols on kernels without IPv6 support - try: - global_var = vmlinux.object_from_symbol(global_var_name) - except exceptions.SymbolError: - continue - - yield from cls._check_pre_4_18_ops( - context, - vmlinux_name, - global_var_name, - global_var, - op_members, - seq_members, - ) - - @classmethod - def _check_afinfo_post_4_18( - cls, - context: interfaces.context.ContextInterface, - vmlinux_name: str, - seq_members: str, - ) -> Generator[Tuple[str, str, int], None, None]: - """ - Checks the operations structures for network protocols of >= 4.18 systems - """ - vmlinux = context.modules[vmlinux_name] - - ops_structs = [ - "raw_seq_ops", - "udp_seq_ops", - "arp_seq_ops", - "unix_seq_ops", - "udp6_seq_ops", - "raw6_seq_ops", - "tcp_seq_ops", - "tcp4_seq_ops", - "tcp6_seq_ops", - "packet_seq_ops", - ] - - for protocol_ops_var in ops_structs: - # These will fail if the particular kernel doesn't have support for a protocol like IPv6 - try: - protocol_ops = vmlinux.object_from_symbol(protocol_ops_var) - except exceptions.SymbolError: - continue - - yield from cls._check_members( - context, vmlinux_name, protocol_ops, protocol_ops_var, seq_members - ) - - @classmethod - def check_afinfo( - cls, context: interfaces.context.ContextInterface, vmlinux_name - ) -> Generator[Tuple[str, str, int], None, None]: - """ - Walks the network protocol operations structures for common network protocols. - Reports any initialized operations members that do not point inside the kernel. - """ - vmlinux = context.modules[vmlinux_name] - - type_check = vmlinux.get_type("tcp_seq_afinfo") - if type_check.has_member("seq_fops"): - checker = cls._check_afinfo_pre_4_18 - else: - checker = cls._check_afinfo_post_4_18 - - seq_members = vmlinux.get_type("seq_operations").members - - yield from checker(context, vmlinux_name, seq_members) - - def _generator(self): - """ - A simple wrapper around `check_afino` - """ - for name, member, address in self.check_afinfo( - self.context, self.config["kernel"] - ): - yield 0, (name, member, format_hints.Hex(address)) - - def run(self): - return renderers.TreeGrid( - [ - ("Symbol Name", str), - ("Member", str), - ("Handler Address", format_hints.Hex), - ], - self._generator(), - ) diff --git a/volatility3/framework/plugins/linux/malware/check_afinfo.py b/volatility3/framework/plugins/linux/malware/check_afinfo.py new file mode 100644 index 000000000..47da21615 --- /dev/null +++ b/volatility3/framework/plugins/linux/malware/check_afinfo.py @@ -0,0 +1,215 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +"""A module containing a plugin that verifies the operation function +pointers of network protocols.""" +import logging +from typing import List, Tuple, Generator + +from volatility3.framework import exceptions, interfaces +from volatility3.framework import renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.renderers import format_hints + +vollog = logging.getLogger(__name__) + + +class Check_afinfo(plugins.PluginInterface): + """Verifies the operation function pointers of network protocols.""" + + _version = (1, 0, 0) + _required_framework_version = (2, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + ] + + @classmethod + def _check_members( + cls, + context: interfaces.context.ContextInterface, + vmlinux_name: str, + var_ops: interfaces.objects.ObjectInterface, + var_name: str, + members: List[str], + ) -> Generator[Tuple[str, str, int], None, None]: + """ + Yields any members that are not pointing inside the kernel + """ + + vmlinux = context.modules[vmlinux_name] + + for check in members: + # redhat-specific garbage + if check.startswith("__UNIQUE_ID_rh_kabi_hide"): + continue + + # These structures have members like `write` and `next`, which are built in Python functions + addr = var_ops.member(attr=check) + + # Unimplemented handlers are set to 0 + if not addr: + continue + + if len(vmlinux.get_symbols_by_absolute_location(addr)) == 0: + yield var_name, check, addr + + @classmethod + def _check_pre_4_18_ops( + cls, + context: interfaces.context.ContextInterface, + vmlinux_name: str, + var_name: str, + var: interfaces.objects.ObjectInterface, + op_members: List[str], + seq_members: List[str], + ): + """ + Finds the correct way to reference `op_members` + """ + vmlinux = context.modules[vmlinux_name] + + if var.has_member("seq_fops"): + yield from cls._check_members( + context, vmlinux_name, var.seq_fops, var_name, op_members + ) + # newer kernels + if var.has_member("seq_ops"): + yield from cls._check_members( + context, vmlinux_name, var.seq_ops, var_name, seq_members + ) + + # this is the most commonly hooked member by rootkits, so a force a check on it + elif var.has_member("seq_show"): + if len(vmlinux.get_symbols_by_location(var.seq_show)) == 0: + yield var_name, "show", var.seq_show + else: + raise exceptions.VolatilityException( + "_check_afinfo_pre_4_18: Unable to find sequence operations members for checking." + ) + + @classmethod + def _check_afinfo_pre_4_18( + cls, + context: interfaces.context.ContextInterface, + vmlinux_name: str, + seq_members: str, + ) -> Generator[Tuple[str, str, int], None, None]: + """ + Checks the operations structures for network protocols of < 4.18 systems + """ + tcp = ("tcp_seq_afinfo", ["tcp6_seq_afinfo", "tcp4_seq_afinfo"]) + udp = ( + "udp_seq_afinfo", + [ + "udplite6_seq_afinfo", + "udp6_seq_afinfo", + "udplite4_seq_afinfo", + "udp4_seq_afinfo", + ], + ) + protocols = [tcp, udp] + + vmlinux = context.modules[vmlinux_name] + + op_members = vmlinux.get_type("file_operations").members + + # loop through all symbols + for struct_type, global_vars in protocols: + for global_var_name in global_vars: + # this will lookup fail for the IPv6 protocols on kernels without IPv6 support + try: + global_var = vmlinux.object_from_symbol(global_var_name) + except exceptions.SymbolError: + continue + + yield from cls._check_pre_4_18_ops( + context, + vmlinux_name, + global_var_name, + global_var, + op_members, + seq_members, + ) + + @classmethod + def _check_afinfo_post_4_18( + cls, + context: interfaces.context.ContextInterface, + vmlinux_name: str, + seq_members: str, + ) -> Generator[Tuple[str, str, int], None, None]: + """ + Checks the operations structures for network protocols of >= 4.18 systems + """ + vmlinux = context.modules[vmlinux_name] + + ops_structs = [ + "raw_seq_ops", + "udp_seq_ops", + "arp_seq_ops", + "unix_seq_ops", + "udp6_seq_ops", + "raw6_seq_ops", + "tcp_seq_ops", + "tcp4_seq_ops", + "tcp6_seq_ops", + "packet_seq_ops", + ] + + for protocol_ops_var in ops_structs: + # These will fail if the particular kernel doesn't have support for a protocol like IPv6 + try: + protocol_ops = vmlinux.object_from_symbol(protocol_ops_var) + except exceptions.SymbolError: + continue + + yield from cls._check_members( + context, vmlinux_name, protocol_ops, protocol_ops_var, seq_members + ) + + @classmethod + def check_afinfo( + cls, context: interfaces.context.ContextInterface, vmlinux_name + ) -> Generator[Tuple[str, str, int], None, None]: + """ + Walks the network protocol operations structures for common network protocols. + Reports any initialized operations members that do not point inside the kernel. + """ + vmlinux = context.modules[vmlinux_name] + + type_check = vmlinux.get_type("tcp_seq_afinfo") + if type_check.has_member("seq_fops"): + checker = cls._check_afinfo_pre_4_18 + else: + checker = cls._check_afinfo_post_4_18 + + seq_members = vmlinux.get_type("seq_operations").members + + yield from checker(context, vmlinux_name, seq_members) + + def _generator(self): + """ + A simple wrapper around `check_afino` + """ + for name, member, address in self.check_afinfo( + self.context, self.config["kernel"] + ): + yield 0, (name, member, format_hints.Hex(address)) + + def run(self): + return renderers.TreeGrid( + [ + ("Symbol Name", str), + ("Member", str), + ("Handler Address", format_hints.Hex), + ], + self._generator(), + ) From 1d2b78976a9fe0bbe201dba1df810afe837e8863 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 19:54:44 +0300 Subject: [PATCH 1961/2186] Plugins: categorize linux.hidden_modules as a malware plugin --- test/plugins/linux/linux.py | 2 +- .../framework/plugins/linux/hidden_modules.py | 196 +---------------- .../plugins/linux/malware/hidden_modules.py | 197 ++++++++++++++++++ 3 files changed, 208 insertions(+), 187 deletions(-) create mode 100644 volatility3/framework/plugins/linux/malware/hidden_modules.py diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index 6b4ae1363..63ccc3388 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -525,7 +525,7 @@ class TestLinuxHiddenModules: # TODO: this check should be specific, against a distinct infected sample image = LinuxSamples.LINUX_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( - "linux.hidden_modules.Hidden_modules", image, volatility, python + "linux.malware.hidden_modules.Hidden_modules", image, volatility, python ) # linux-sample-1.bin has no hidden modules. diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index dcd602c5d..eab3c19a2 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -1,197 +1,21 @@ -# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import List, Set, Tuple, Iterable -from volatility3.framework.symbols.linux.utilities import ( - modules as linux_utilities_modules, -) -from volatility3.framework import interfaces, exceptions, deprecation -from volatility3.framework.configuration import requirements -from volatility3.framework.symbols.linux import extensions -from volatility3.framework.interfaces import plugins +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.linux.malware import hidden_modules vollog = logging.getLogger(__name__) -class Hidden_modules(plugins.PluginInterface): - """Carves memory to find hidden kernel modules""" +class Hidden_modules( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=hidden_modules.Hidden_modules, + removal_date="2026-06-07", +): + """Carves memory to find hidden kernel modules (deprecated).""" _required_framework_version = (2, 25, 0) _version = (3, 0, 2) - @classmethod - def find_hidden_modules( - cls, context, vmlinux_module_name: str - ) -> extensions.module: - if context.symbol_space.verify_table_versions( - "dwarf2json", lambda version, _: (not version) or version < (0, 8, 0) - ): - raise exceptions.SymbolSpaceError( - "Invalid symbol table, please ensure the ISF table produced by dwarf2json was created with version 0.8.0 or later" - ) - - known_module_addresses = cls.get_lsmod_module_addresses( - context, vmlinux_module_name - ) - modules_memory_boundaries = ( - linux_utilities_modules.Modules.get_modules_memory_boundaries( - context, vmlinux_module_name - ) - ) - - yield from linux_utilities_modules.Modules.get_hidden_modules( - context, - vmlinux_module_name, - known_module_addresses, - modules_memory_boundaries, - ) - - @classmethod - def get_hidden_modules( - cls, - context: interfaces.context.ContextInterface, - vmlinux_module_name: str, - known_module_addresses: Set[int], - modules_memory_boundaries: Tuple, - ) -> Iterable[interfaces.objects.ObjectInterface]: - """Enumerate hidden modules by taking advantage of memory address alignment patterns - - This technique is much faster and uses less memory than the traditional scan method - in Volatility2, but it doesn't work with older kernels. - - From kernels 4.2 struct module allocation are aligned to the L1 cache line size. - In i386/amd64/arm64 this is typically 64 bytes. However, this can be changed in - the Linux kernel configuration via CONFIG_X86_L1_CACHE_SHIFT. The alignment can - also be obtained from the DWARF info i.e. DW_AT_alignment<64>, but dwarf2json - doesn't support this feature yet. - In kernels < 4.2, alignment attributes are absent in the struct module, meaning - alignment cannot be guaranteed. Therefore, for older kernels, it's better to use - the traditional scan technique. - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - vmlinux_module_name: The name of the kernel module on which to operate - known_module_addresses: Set with known module addresses - modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. - Yields: - module objects - """ - return linux_utilities_modules.get_hidden_modules( - vmlinux_module_name, known_module_addresses, modules_memory_boundaries - ) - - run = linux_utilities_modules.ModuleDisplayPlugin.run - _generator = linux_utilities_modules.ModuleDisplayPlugin.generator - implementation = find_hidden_modules - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.VersionRequirement( - name="linux_utilities_modules_module_display_plugin", - component=linux_utilities_modules.ModuleDisplayPlugin, - version=(1, 0, 0), - ), - requirements.VersionRequirement( - name="linux_utilities_modules", - component=linux_utilities_modules.Modules, - version=(3, 0, 1), - ), - ] + linux_utilities_modules.ModuleDisplayPlugin.get_requirements() - - @staticmethod - @deprecation.deprecated_method( - replacement=linux_utilities_modules.Modules.get_modules_memory_boundaries, - removal_date="2025-09-25", - replacement_version=(3, 0, 0), - ) - def get_modules_memory_boundaries( - context: interfaces.context.ContextInterface, - vmlinux_module_name: str, - ) -> Tuple[int, int]: - return linux_utilities_modules.Modules.get_modules_memory_boundaries( - context, vmlinux_module_name - ) - - @deprecation.deprecated_method( - replacement=linux_utilities_modules.Modules.get_module_address_alignment, - removal_date="2025-09-25", - replacement_version=(3, 0, 0), - ) - @classmethod - def _get_module_address_alignment( - cls, - context: interfaces.context.ContextInterface, - vmlinux_module_name: str, - ) -> int: - """Obtain the module memory address alignment. - - struct module is aligned to the L1 cache line, which is typically 64 bytes for most - common i386/AMD64/ARM64 configurations. In some cases, it can be 128 bytes, but this - will still work. - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - vmlinux_module_name: The name of the kernel module on which to operate - - Returns: - The struct module alignment - """ - return linux_utilities_modules.get_module_address_alignment( - context, vmlinux_module_name - ) - - @deprecation.deprecated_method( - replacement=linux_utilities_modules.Modules.get_hidden_modules, - removal_date="2025-09-25", - replacement_version=(3, 0, 0), - ) - @staticmethod - @deprecation.deprecated_method( - replacement=linux_utilities_modules.Modules.validate_alignment_patterns, - removal_date="2025-09-25", - replacement_version=(3, 0, 0), - ) - def _validate_alignment_patterns( - addresses: Iterable[int], - address_alignment: int, - ) -> bool: - """Check if the memory addresses meet our alignments patterns - - Args: - addresses: Iterable with the address values - address_alignment: Number of bytes for alignment validation - - Returns: - True if all the addresses meet the alignment - """ - return linux_utilities_modules.validate_alignment_patterns( - addresses, address_alignment - ) - - @classmethod - def get_lsmod_module_addresses( - cls, - context: interfaces.context.ContextInterface, - vmlinux_module_name: str, - ) -> Set[int]: - """Obtain a set the known module addresses from linux.lsmod plugin - - Args: - context: The context to retrieve required elements (layers, symbol tables) from - vmlinux_module_name: The name of the kernel module on which to operate - - Returns: - A set containing known kernel module addresses - """ - vmlinux = context.modules[vmlinux_module_name] - vmlinux_layer = context.layers[vmlinux.layer_name] - - known_module_addresses = { - vmlinux_layer.canonicalize(module.vol.offset) - for module in linux_utilities_modules.Modules.list_modules( - context, vmlinux_module_name - ) - } - return known_module_addresses diff --git a/volatility3/framework/plugins/linux/malware/hidden_modules.py b/volatility3/framework/plugins/linux/malware/hidden_modules.py new file mode 100644 index 000000000..dcd602c5d --- /dev/null +++ b/volatility3/framework/plugins/linux/malware/hidden_modules.py @@ -0,0 +1,197 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import List, Set, Tuple, Iterable +from volatility3.framework.symbols.linux.utilities import ( + modules as linux_utilities_modules, +) +from volatility3.framework import interfaces, exceptions, deprecation +from volatility3.framework.configuration import requirements +from volatility3.framework.symbols.linux import extensions +from volatility3.framework.interfaces import plugins + +vollog = logging.getLogger(__name__) + + +class Hidden_modules(plugins.PluginInterface): + """Carves memory to find hidden kernel modules""" + + _required_framework_version = (2, 25, 0) + _version = (3, 0, 2) + + @classmethod + def find_hidden_modules( + cls, context, vmlinux_module_name: str + ) -> extensions.module: + if context.symbol_space.verify_table_versions( + "dwarf2json", lambda version, _: (not version) or version < (0, 8, 0) + ): + raise exceptions.SymbolSpaceError( + "Invalid symbol table, please ensure the ISF table produced by dwarf2json was created with version 0.8.0 or later" + ) + + known_module_addresses = cls.get_lsmod_module_addresses( + context, vmlinux_module_name + ) + modules_memory_boundaries = ( + linux_utilities_modules.Modules.get_modules_memory_boundaries( + context, vmlinux_module_name + ) + ) + + yield from linux_utilities_modules.Modules.get_hidden_modules( + context, + vmlinux_module_name, + known_module_addresses, + modules_memory_boundaries, + ) + + @classmethod + def get_hidden_modules( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + known_module_addresses: Set[int], + modules_memory_boundaries: Tuple, + ) -> Iterable[interfaces.objects.ObjectInterface]: + """Enumerate hidden modules by taking advantage of memory address alignment patterns + + This technique is much faster and uses less memory than the traditional scan method + in Volatility2, but it doesn't work with older kernels. + + From kernels 4.2 struct module allocation are aligned to the L1 cache line size. + In i386/amd64/arm64 this is typically 64 bytes. However, this can be changed in + the Linux kernel configuration via CONFIG_X86_L1_CACHE_SHIFT. The alignment can + also be obtained from the DWARF info i.e. DW_AT_alignment<64>, but dwarf2json + doesn't support this feature yet. + In kernels < 4.2, alignment attributes are absent in the struct module, meaning + alignment cannot be guaranteed. Therefore, for older kernels, it's better to use + the traditional scan technique. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + known_module_addresses: Set with known module addresses + modules_memory_boundaries: Minimum and maximum address boundaries for module allocation. + Yields: + module objects + """ + return linux_utilities_modules.get_hidden_modules( + vmlinux_module_name, known_module_addresses, modules_memory_boundaries + ) + + run = linux_utilities_modules.ModuleDisplayPlugin.run + _generator = linux_utilities_modules.ModuleDisplayPlugin.generator + implementation = find_hidden_modules + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.VersionRequirement( + name="linux_utilities_modules_module_display_plugin", + component=linux_utilities_modules.ModuleDisplayPlugin, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(3, 0, 1), + ), + ] + linux_utilities_modules.ModuleDisplayPlugin.get_requirements() + + @staticmethod + @deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.get_modules_memory_boundaries, + removal_date="2025-09-25", + replacement_version=(3, 0, 0), + ) + def get_modules_memory_boundaries( + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> Tuple[int, int]: + return linux_utilities_modules.Modules.get_modules_memory_boundaries( + context, vmlinux_module_name + ) + + @deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.get_module_address_alignment, + removal_date="2025-09-25", + replacement_version=(3, 0, 0), + ) + @classmethod + def _get_module_address_alignment( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> int: + """Obtain the module memory address alignment. + + struct module is aligned to the L1 cache line, which is typically 64 bytes for most + common i386/AMD64/ARM64 configurations. In some cases, it can be 128 bytes, but this + will still work. + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + + Returns: + The struct module alignment + """ + return linux_utilities_modules.get_module_address_alignment( + context, vmlinux_module_name + ) + + @deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.get_hidden_modules, + removal_date="2025-09-25", + replacement_version=(3, 0, 0), + ) + @staticmethod + @deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.validate_alignment_patterns, + removal_date="2025-09-25", + replacement_version=(3, 0, 0), + ) + def _validate_alignment_patterns( + addresses: Iterable[int], + address_alignment: int, + ) -> bool: + """Check if the memory addresses meet our alignments patterns + + Args: + addresses: Iterable with the address values + address_alignment: Number of bytes for alignment validation + + Returns: + True if all the addresses meet the alignment + """ + return linux_utilities_modules.validate_alignment_patterns( + addresses, address_alignment + ) + + @classmethod + def get_lsmod_module_addresses( + cls, + context: interfaces.context.ContextInterface, + vmlinux_module_name: str, + ) -> Set[int]: + """Obtain a set the known module addresses from linux.lsmod plugin + + Args: + context: The context to retrieve required elements (layers, symbol tables) from + vmlinux_module_name: The name of the kernel module on which to operate + + Returns: + A set containing known kernel module addresses + """ + vmlinux = context.modules[vmlinux_module_name] + vmlinux_layer = context.layers[vmlinux.layer_name] + + known_module_addresses = { + vmlinux_layer.canonicalize(module.vol.offset) + for module in linux_utilities_modules.Modules.list_modules( + context, vmlinux_module_name + ) + } + return known_module_addresses From 5144f26a8edbe99b90411bfbaa354d4afa1d0b47 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 19:58:12 +0300 Subject: [PATCH 1962/2186] CI --- volatility3/framework/plugins/linux/hidden_modules.py | 1 - 1 file changed, 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/hidden_modules.py b/volatility3/framework/plugins/linux/hidden_modules.py index eab3c19a2..f7bdd6b0b 100644 --- a/volatility3/framework/plugins/linux/hidden_modules.py +++ b/volatility3/framework/plugins/linux/hidden_modules.py @@ -18,4 +18,3 @@ class Hidden_modules( _required_framework_version = (2, 25, 0) _version = (3, 0, 2) - From 35c4e9f50b3b7dc09af0bb0c7bccbe884bf819db Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 21:52:22 +0300 Subject: [PATCH 1963/2186] Plugins: change class name to original --- volatility3/framework/plugins/windows/unhooked_system_calls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index e6fb2fb6c..a0864e38d 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -8,7 +8,7 @@ from volatility3.plugins.windows.malware import unhooked_system_calls vollog = logging.getLogger(__name__) -class UnhookedSystemCalls( +class unhooked_system_calls( interfaces.plugins.PluginInterface, deprecation.PluginRenameClass, replacement_class=unhooked_system_calls.UnhookedSystemCalls, From 21d66839fe942aeb327572f7056850ea813d396d Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 21:56:36 +0300 Subject: [PATCH 1964/2186] use class name with module name? --- .../framework/plugins/windows/unhooked_system_calls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index a0864e38d..fa88f5523 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -3,7 +3,7 @@ # import logging from volatility3.framework import interfaces, deprecation -from volatility3.plugins.windows.malware import unhooked_system_calls +from volatility3.plugins.windows import malware vollog = logging.getLogger(__name__) @@ -11,7 +11,7 @@ vollog = logging.getLogger(__name__) class unhooked_system_calls( interfaces.plugins.PluginInterface, deprecation.PluginRenameClass, - replacement_class=unhooked_system_calls.UnhookedSystemCalls, + replacement_class=malware.unhooked_system_calls.UnhookedSystemCalls, removal_date="2026-06-07", ): """Detects hooked ntdll.dll stub functions in Windows processes (deprecated).""" From c71fd30c8a4baa873b27044546822b7e9084ad62 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 21:58:43 +0300 Subject: [PATCH 1965/2186] shortcut class name --- .../framework/plugins/windows/unhooked_system_calls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index fa88f5523..70219da13 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -3,7 +3,7 @@ # import logging from volatility3.framework import interfaces, deprecation -from volatility3.plugins.windows import malware +from volatility3.plugins.windows.malware import unhooked_system_calls as unhooked_syscalls vollog = logging.getLogger(__name__) @@ -11,7 +11,7 @@ vollog = logging.getLogger(__name__) class unhooked_system_calls( interfaces.plugins.PluginInterface, deprecation.PluginRenameClass, - replacement_class=malware.unhooked_system_calls.UnhookedSystemCalls, + replacement_class=unhooked_syscalls.UnhookedSystemCalls, removal_date="2026-06-07", ): """Detects hooked ntdll.dll stub functions in Windows processes (deprecated).""" From f9941b5b6ec67d79da687870d727c8ea082cd3e5 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 22:00:03 +0300 Subject: [PATCH 1966/2186] black --- .../framework/plugins/windows/unhooked_system_calls.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/unhooked_system_calls.py b/volatility3/framework/plugins/windows/unhooked_system_calls.py index 70219da13..3827bbe6e 100644 --- a/volatility3/framework/plugins/windows/unhooked_system_calls.py +++ b/volatility3/framework/plugins/windows/unhooked_system_calls.py @@ -3,7 +3,9 @@ # import logging from volatility3.framework import interfaces, deprecation -from volatility3.plugins.windows.malware import unhooked_system_calls as unhooked_syscalls +from volatility3.plugins.windows.malware import ( + unhooked_system_calls as unhooked_syscalls, +) vollog = logging.getLogger(__name__) From faf7d781be8f7b15d15d28126676dc7d11b2e12e Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 22:55:29 +0300 Subject: [PATCH 1967/2186] Plugins: categorize linux.keyboard_notifiers as a malware plugin --- test/plugins/linux/linux.py | 2 +- .../plugins/linux/keyboard_notifiers.py | 106 ++---------------- .../linux/malware/keyboard_notifiers.py | 105 +++++++++++++++++ 3 files changed, 117 insertions(+), 96 deletions(-) create mode 100644 volatility3/framework/plugins/linux/malware/keyboard_notifiers.py diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index e39c1d15d..9a11d9c95 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -479,7 +479,7 @@ class TestLinuxIomem: class TestLinuxKeyboardNotifiers: def test_linux_generic_keyboard_notifiers(self, image, volatility, python): rc, out, _err = test_volatility.runvol_plugin( - "linux.keyboard_notifiers.Keyboard_notifiers", image, volatility, python + "linux.malware.keyboard_notifiers.Keyboard_notifiers", image, volatility, python ) # linux-sample-1.bin has no suspicious results for this plugin. diff --git a/volatility3/framework/plugins/linux/keyboard_notifiers.py b/volatility3/framework/plugins/linux/keyboard_notifiers.py index 215704350..72dcc7bad 100644 --- a/volatility3/framework/plugins/linux/keyboard_notifiers.py +++ b/volatility3/framework/plugins/linux/keyboard_notifiers.py @@ -1,104 +1,20 @@ -# This file is Copyright 2020 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # - import logging - -import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import interfaces, renderers, exceptions -from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints -from volatility3.framework.symbols import linux +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.linux.malware import keyboard_notifiers vollog = logging.getLogger(__name__) -class Keyboard_notifiers(interfaces.plugins.PluginInterface): - """Parses the keyboard notifier call chain""" +class Keyboard_notifiers( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=keyboard_notifiers.Keyboard_notifiers, + removal_date="2026-06-07", +): + """Parses the keyboard notifier call chain (deprecated).""" _required_framework_version = (2, 0, 0) - - @classmethod - def get_requirements(cls): - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="linux_utilities_modules", - component=linux_utilities_modules.Modules, - version=(3, 0, 0), - ), - requirements.VersionRequirement( - name="linux_utilities_module_gatherers", - component=linux_utilities_modules.ModuleGatherers, - version=(1, 0, 0), - ), - requirements.VersionRequirement( - name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) - ), - ] - - def _generator(self): - vmlinux = self.context.modules[self.config["kernel"]] - - try: - knl_addr = vmlinux.object_from_symbol("keyboard_notifier_list") - except exceptions.SymbolError: - knl_addr = None - - if not knl_addr: - raise TypeError( - "This plugin requires the keyboard_notifier_list structure. " - "This structure is not present in the supplied symbol table. " - "This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." - ) - - if not self.context.layers[vmlinux.layer_name].is_valid(knl_addr.vol.offset): - vollog.error("The head of the keyboard notifier list is paged out.") - return - - known_modules = linux_utilities_modules.Modules.run_modules_scanners( - context=self.context, - kernel_module_name=self.config["kernel"], - caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, - ) - - knl = vmlinux.object( - object_type="atomic_notifier_head", - offset=knl_addr.vol.offset, - absolute=True, - ) - - for call_back in linux.LinuxUtilities.walk_internal_list( - vmlinux, "notifier_block", "next", knl.head - ): - call_addr = call_back.notifier_call - - module_info, symbol_name = ( - linux_utilities_modules.Modules.module_lookup_by_address( - self.context, vmlinux.name, known_modules, call_addr - ) - ) - - if module_info: - module_name = module_info.name - else: - module_name = renderers.NotAvailableValue() - - yield ( - 0, - [ - format_hints.Hex(call_addr), - module_name, - symbol_name or renderers.NotAvailableValue(), - ], - ) - - def run(self): - return renderers.TreeGrid( - [("Address", format_hints.Hex), ("Module", str), ("Symbol", str)], - self._generator(), - ) + _version = (1, 0, 0) diff --git a/volatility3/framework/plugins/linux/malware/keyboard_notifiers.py b/volatility3/framework/plugins/linux/malware/keyboard_notifiers.py new file mode 100644 index 000000000..9e99809b2 --- /dev/null +++ b/volatility3/framework/plugins/linux/malware/keyboard_notifiers.py @@ -0,0 +1,105 @@ +# This file is Copyright 2020 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging + +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules +from volatility3.framework import interfaces, renderers, exceptions +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import linux + +vollog = logging.getLogger(__name__) + + +class Keyboard_notifiers(interfaces.plugins.PluginInterface): + """Parses the keyboard notifier call chain""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(3, 0, 0), + ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGatherers, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) + ), + ] + + def _generator(self): + vmlinux = self.context.modules[self.config["kernel"]] + + try: + knl_addr = vmlinux.object_from_symbol("keyboard_notifier_list") + except exceptions.SymbolError: + knl_addr = None + + if not knl_addr: + raise TypeError( + "This plugin requires the keyboard_notifier_list structure. " + "This structure is not present in the supplied symbol table. " + "This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." + ) + + if not self.context.layers[vmlinux.layer_name].is_valid(knl_addr.vol.offset): + vollog.error("The head of the keyboard notifier list is paged out.") + return + + known_modules = linux_utilities_modules.Modules.run_modules_scanners( + context=self.context, + kernel_module_name=self.config["kernel"], + caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, + ) + + knl = vmlinux.object( + object_type="atomic_notifier_head", + offset=knl_addr.vol.offset, + absolute=True, + ) + + for call_back in linux.LinuxUtilities.walk_internal_list( + vmlinux, "notifier_block", "next", knl.head + ): + call_addr = call_back.notifier_call + + module_info, symbol_name = ( + linux_utilities_modules.Modules.module_lookup_by_address( + self.context, vmlinux.name, known_modules, call_addr + ) + ) + + if module_info: + module_name = module_info.name + else: + module_name = renderers.NotAvailableValue() + + yield ( + 0, + [ + format_hints.Hex(call_addr), + module_name, + symbol_name or renderers.NotAvailableValue(), + ], + ) + + def run(self): + return renderers.TreeGrid( + [("Address", format_hints.Hex), ("Module", str), ("Symbol", str)], + self._generator(), + ) From a06d59bc52d670ba3ba9ccef11c0fdd9d4e88d0c Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 22:58:46 +0300 Subject: [PATCH 1968/2186] Plugins: categorize linux.malfind as a malware plugin --- test/plugins/linux/linux.py | 7 +- .../framework/plugins/linux/malfind.py | 114 ++---------------- .../plugins/linux/malware/malfind.py | 114 ++++++++++++++++++ 3 files changed, 129 insertions(+), 106 deletions(-) create mode 100644 volatility3/framework/plugins/linux/malware/malfind.py diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index 9a11d9c95..69aeb8a6c 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -251,7 +251,7 @@ class TestLinuxKthreads: class TestLinuxMalfind: def test_linux_generic_malfind(self, image, volatility, python): rc, out, _err = test_volatility.runvol_plugin( - "linux.malfind.Malfind", image, volatility, python + "linux.malware.malfind.Malfind", image, volatility, python ) # linux-sample-1.bin has no process memory ranges with potential injected code. @@ -479,7 +479,10 @@ class TestLinuxIomem: class TestLinuxKeyboardNotifiers: def test_linux_generic_keyboard_notifiers(self, image, volatility, python): rc, out, _err = test_volatility.runvol_plugin( - "linux.malware.keyboard_notifiers.Keyboard_notifiers", image, volatility, python + "linux.malware.keyboard_notifiers.Keyboard_notifiers", + image, + volatility, + python, ) # linux-sample-1.bin has no suspicious results for this plugin. diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index c7e141c02..647e1531a 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -1,114 +1,20 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # - -from typing import List, Tuple, Optional import logging -from volatility3.framework import interfaces -from volatility3.framework import renderers, symbols -from volatility3.framework.configuration import requirements -from volatility3.framework.objects import utility -from volatility3.framework.renderers import format_hints -from volatility3.plugins.linux import pslist +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.linux.malware import malfind vollog = logging.getLogger(__name__) -class Malfind(interfaces.plugins.PluginInterface): - """Lists process memory ranges that potentially contain injected code.""" +class Malfind( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=malfind.Malfind, + removal_date="2026-06-07", +): + """Lists process memory ranges that potentially contain injected code (deprecated).""" _required_framework_version = (2, 0, 0) _version = (1, 0, 3) - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(4, 0, 0) - ), - requirements.ListRequirement( - name="pid", - description="Filter on specific process IDs", - element_type=int, - optional=True, - ), - ] - - def _list_injections( - self, task - ) -> Tuple[interfaces.objects.ObjectInterface, Optional[str], bytes]: - """Generate memory regions for a process that may contain injected - code.""" - - proc_layer_name = task.add_process_layer() - if not proc_layer_name: - return None - - proc_layer = self.context.layers[proc_layer_name] - - for vma in task.mm.get_vma_iter(): - vma_name = vma.get_name(self.context, task) - vollog.debug( - f"Injections : processing PID {task.pid} : VMA {vma_name} : {hex(vma.vm_start)}-{hex(vma.vm_end)}" - ) - if vma.is_suspicious(proc_layer) and vma_name != "[vdso]": - data = proc_layer.read(vma.vm_start, 64, pad=True) - yield vma, vma_name, data - - def _generator(self, tasks): - # determine if we're on a 32 or 64 bit kernel - vmlinux = self.context.modules[self.config["kernel"]] - is_32bit_arch = not symbols.symbol_table_is_64bit( - context=self.context, symbol_table_name=vmlinux.symbol_table_name - ) - - for task in tasks: - process_name = utility.array_to_string(task.comm) - - for vma, vma_name, data in self._list_injections(task): - if is_32bit_arch: - architecture = "intel" - else: - architecture = "intel64" - - disasm = renderers.Disassembly(data, vma.vm_start, architecture) - - yield ( - 0, - ( - task.pid, - process_name, - format_hints.Hex(vma.vm_start), - format_hints.Hex(vma.vm_end), - vma_name or renderers.NotAvailableValue(), - vma.get_protection(), - format_hints.HexBytes(data), - disasm, - ), - ) - - def run(self): - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - - return renderers.TreeGrid( - [ - ("PID", int), - ("Process", str), - ("Start", format_hints.Hex), - ("End", format_hints.Hex), - ("Path", str), - ("Protection", str), - ("Hexdump", format_hints.HexBytes), - ("Disasm", renderers.Disassembly), - ], - self._generator( - pslist.PsList.list_tasks( - self.context, self.config["kernel"], filter_func=filter_func - ) - ), - ) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py new file mode 100644 index 000000000..c7e141c02 --- /dev/null +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -0,0 +1,114 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +from typing import List, Tuple, Optional +import logging +from volatility3.framework import interfaces +from volatility3.framework import renderers, symbols +from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.plugins.linux import pslist + +vollog = logging.getLogger(__name__) + + +class Malfind(interfaces.plugins.PluginInterface): + """Lists process memory ranges that potentially contain injected code.""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 3) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) + ), + requirements.ListRequirement( + name="pid", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + ] + + def _list_injections( + self, task + ) -> Tuple[interfaces.objects.ObjectInterface, Optional[str], bytes]: + """Generate memory regions for a process that may contain injected + code.""" + + proc_layer_name = task.add_process_layer() + if not proc_layer_name: + return None + + proc_layer = self.context.layers[proc_layer_name] + + for vma in task.mm.get_vma_iter(): + vma_name = vma.get_name(self.context, task) + vollog.debug( + f"Injections : processing PID {task.pid} : VMA {vma_name} : {hex(vma.vm_start)}-{hex(vma.vm_end)}" + ) + if vma.is_suspicious(proc_layer) and vma_name != "[vdso]": + data = proc_layer.read(vma.vm_start, 64, pad=True) + yield vma, vma_name, data + + def _generator(self, tasks): + # determine if we're on a 32 or 64 bit kernel + vmlinux = self.context.modules[self.config["kernel"]] + is_32bit_arch = not symbols.symbol_table_is_64bit( + context=self.context, symbol_table_name=vmlinux.symbol_table_name + ) + + for task in tasks: + process_name = utility.array_to_string(task.comm) + + for vma, vma_name, data in self._list_injections(task): + if is_32bit_arch: + architecture = "intel" + else: + architecture = "intel64" + + disasm = renderers.Disassembly(data, vma.vm_start, architecture) + + yield ( + 0, + ( + task.pid, + process_name, + format_hints.Hex(vma.vm_start), + format_hints.Hex(vma.vm_end), + vma_name or renderers.NotAvailableValue(), + vma.get_protection(), + format_hints.HexBytes(data), + disasm, + ), + ) + + def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + return renderers.TreeGrid( + [ + ("PID", int), + ("Process", str), + ("Start", format_hints.Hex), + ("End", format_hints.Hex), + ("Path", str), + ("Protection", str), + ("Hexdump", format_hints.HexBytes), + ("Disasm", renderers.Disassembly), + ], + self._generator( + pslist.PsList.list_tasks( + self.context, self.config["kernel"], filter_func=filter_func + ) + ), + ) From b2e836464694b8cf0e069e26430b767873e4cba6 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 10 Jun 2025 15:59:22 +0100 Subject: [PATCH 1969/2186] Windows: Fix pe_symbols type checking --- volatility3/framework/plugins/windows/pe_symbols.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/pe_symbols.py b/volatility3/framework/plugins/windows/pe_symbols.py index 00c6fd868..b21e39a8c 100644 --- a/volatility3/framework/plugins/windows/pe_symbols.py +++ b/volatility3/framework/plugins/windows/pe_symbols.py @@ -709,17 +709,15 @@ class PESymbols(interfaces.plugins.PluginInterface): # symbol_info will be a symbol name or address requested for symbol_info in wanted_symbols: - if ( - wanted_type == wanted_names_identifier - and type(symbol_info) not in valid_name_types + if wanted_type == wanted_names_identifier and not isinstance( + symbol_info, tuple(valid_name_types) ): raise ValueError( f"The requested symbol name has a type of {type(symbol_info)} which is not in the allowed set of {valid_name_types}" ) - elif ( - wanted_type == wanted_addresses_identifier - and type(symbol_info) not in valid_address_types + elif wanted_type == wanted_addresses_identifier and not isinstance( + symbol_info, tuple(valid_address_types) ): raise ValueError( f"The requested address has a type of {type(symbol_info)} which is not in the allowed set of {valid_address_types}" From 6c35bc3fa0135c7c4124b327d536f7ea4cba11ca Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Tue, 10 Jun 2025 19:12:09 +0300 Subject: [PATCH 1970/2186] Plugins: categorize linux.modxview as a malware plugin --- .../plugins/linux/malware/modxview.py | 181 ++++++++++++++++++ .../framework/plugins/linux/modxview.py | 181 ++---------------- 2 files changed, 192 insertions(+), 170 deletions(-) create mode 100644 volatility3/framework/plugins/linux/malware/modxview.py diff --git a/volatility3/framework/plugins/linux/malware/modxview.py b/volatility3/framework/plugins/linux/malware/modxview.py new file mode 100644 index 000000000..c1707d26f --- /dev/null +++ b/volatility3/framework/plugins/linux/malware/modxview.py @@ -0,0 +1,181 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import logging +from typing import List, Dict, Iterator + +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules + +from volatility3.framework import interfaces, deprecation, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols.linux import extensions +from volatility3.framework.constants import architectures +from volatility3.framework.symbols.linux.utilities import tainting + +vollog = logging.getLogger(__name__) + + +class Modxview(interfaces.plugins.PluginInterface): + """Centralize lsmod, check_modules and hidden_modules results to efficiently \ +spot modules presence and taints.""" + + _version = (1, 0, 0) + _required_framework_version = (2, 17, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=architectures.LINUX_ARCHS, + ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(3, 0, 0), + ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherer_lsmod", + component=linux_utilities_modules.ModuleGathererLsmod, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherer_sysfs", + component=linux_utilities_modules.ModuleGathererSysFs, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherer_scanner", + component=linux_utilities_modules.ModuleGathererScanner, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="linux-tainting", component=tainting.Tainting, version=(1, 0, 0) + ), + requirements.BooleanRequirement( + name="plain_taints", + description="Display the plain taints string for each module.", + optional=True, + default=False, + ), + ] + + @classmethod + @deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.flatten_run_modules_results, + replacement_version=(3, 0, 0), + removal_date="2025-09-25", + ) + def flatten_run_modules_results( + cls, run_results: Dict[str, List[extensions.module]], deduplicate: bool = True + ) -> Iterator[extensions.module]: + """Flatten a dictionary mapping plugin names and modules list, to a single merged list. + This is useful to get a generic lookup list of all the detected modules. + + Args: + run_results: dictionary of plugin names mapping a list of detected modules + deduplicate: remove duplicate modules, based on their offsets + + Returns: + Iterator of modules objects + """ + return linux_utilities_modules.Modules.flatten_run_modules_results( + run_results, deduplicate + ) + + @classmethod + @deprecation.deprecated_method( + replacement=linux_utilities_modules.Modules.run_modules_scanners, + replacement_version=(3, 0, 0), + removal_date="2025-09-25", + ) + def run_modules_scanners( + cls, + context: interfaces.context.ContextInterface, + kernel_name: str, + run_hidden_modules: bool = True, + ) -> Dict[str, List[extensions.module]]: + """Run module scanning plugins and aggregate the results. It is designed + to not operate any inter-plugin results triage.""" + return linux_utilities_modules.Modules.run_modules_scanners( + context, kernel_name, run_hidden_modules + ) + + def _generator(self): + kernel = self.context.modules[self.config["kernel"]] + + wanted_gatherers = [ + linux_utilities_modules.ModuleGathererLsmod, + linux_utilities_modules.ModuleGathererSysFs, + linux_utilities_modules.ModuleGathererScanner, + ] + + run_results = linux_utilities_modules.Modules.run_modules_scanners( + context=self.context, + kernel_module_name=self.config["kernel"], + caller_wanted_gatherers=wanted_gatherers, + flatten=False, + ) + + aggregated_modules = {} + # We want to be explicit on the plugins results we are interested in + for gatherer in wanted_gatherers: + # Iterate over each recovered module + for mod_info in run_results[gatherer.name]: + # Use offsets as unique keys, whether a module + # appears in many plugin runs or not + if aggregated_modules.get(mod_info.offset, None) is not None: + # Append the plugin to the list of originating plugins + aggregated_modules[mod_info.offset].append(gatherer.name) + else: + aggregated_modules[mod_info.offset] = [gatherer.name] + + for module_offset, gatherers in aggregated_modules.items(): + module = kernel.object("module", offset=module_offset, absolute=True) + + # Tainting parsing capabilities applied to the module + if self.config.get("plain_taints"): + taints = tainting.Tainting.get_taints_as_plain_string( + self.context, + self.config["kernel"], + module.taints, + True, + ) + else: + taints = ",".join( + tainting.Tainting.get_taints_parsed( + self.context, + self.config["kernel"], + module.taints, + True, + ) + ) + + yield ( + 0, + ( + module.get_name() or renderers.NotAvailableValue(), + format_hints.Hex(module_offset), + linux_utilities_modules.ModuleGathererLsmod.name in gatherers, + linux_utilities_modules.ModuleGathererSysFs.name in gatherers, + linux_utilities_modules.ModuleGathererScanner.name in gatherers, + taints or renderers.NotAvailableValue(), + ), + ) + + def run(self): + columns = [ + ("Name", str), + ("Address", format_hints.Hex), + ("In procfs", bool), + ("In sysfs", bool), + ("In scan", bool), + ("Taints", str), + ] + + return renderers.TreeGrid( + columns, + self._generator(), + ) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index c1707d26f..f710b1291 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -1,181 +1,22 @@ -# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import List, Dict, Iterator - -import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules - -from volatility3.framework import interfaces, deprecation, renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints -from volatility3.framework.symbols.linux import extensions -from volatility3.framework.constants import architectures -from volatility3.framework.symbols.linux.utilities import tainting +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.linux.malware import modxview vollog = logging.getLogger(__name__) -class Modxview(interfaces.plugins.PluginInterface): +class Modxview( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=modxview.Modxview, + removal_date="2026-06-07", +): + """Centralize lsmod, check_modules and hidden_modules results to efficiently \ -spot modules presence and taints.""" +spot modules presence and taints (deprecated).""" _version = (1, 0, 0) _required_framework_version = (2, 17, 0) - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=architectures.LINUX_ARCHS, - ), - requirements.VersionRequirement( - name="linux_utilities_modules", - component=linux_utilities_modules.Modules, - version=(3, 0, 0), - ), - requirements.VersionRequirement( - name="linux_utilities_module_gatherer_lsmod", - component=linux_utilities_modules.ModuleGathererLsmod, - version=(1, 0, 0), - ), - requirements.VersionRequirement( - name="linux_utilities_module_gatherer_sysfs", - component=linux_utilities_modules.ModuleGathererSysFs, - version=(1, 0, 0), - ), - requirements.VersionRequirement( - name="linux_utilities_module_gatherer_scanner", - component=linux_utilities_modules.ModuleGathererScanner, - version=(1, 0, 0), - ), - requirements.VersionRequirement( - name="linux-tainting", component=tainting.Tainting, version=(1, 0, 0) - ), - requirements.BooleanRequirement( - name="plain_taints", - description="Display the plain taints string for each module.", - optional=True, - default=False, - ), - ] - - @classmethod - @deprecation.deprecated_method( - replacement=linux_utilities_modules.Modules.flatten_run_modules_results, - replacement_version=(3, 0, 0), - removal_date="2025-09-25", - ) - def flatten_run_modules_results( - cls, run_results: Dict[str, List[extensions.module]], deduplicate: bool = True - ) -> Iterator[extensions.module]: - """Flatten a dictionary mapping plugin names and modules list, to a single merged list. - This is useful to get a generic lookup list of all the detected modules. - - Args: - run_results: dictionary of plugin names mapping a list of detected modules - deduplicate: remove duplicate modules, based on their offsets - - Returns: - Iterator of modules objects - """ - return linux_utilities_modules.Modules.flatten_run_modules_results( - run_results, deduplicate - ) - - @classmethod - @deprecation.deprecated_method( - replacement=linux_utilities_modules.Modules.run_modules_scanners, - replacement_version=(3, 0, 0), - removal_date="2025-09-25", - ) - def run_modules_scanners( - cls, - context: interfaces.context.ContextInterface, - kernel_name: str, - run_hidden_modules: bool = True, - ) -> Dict[str, List[extensions.module]]: - """Run module scanning plugins and aggregate the results. It is designed - to not operate any inter-plugin results triage.""" - return linux_utilities_modules.Modules.run_modules_scanners( - context, kernel_name, run_hidden_modules - ) - - def _generator(self): - kernel = self.context.modules[self.config["kernel"]] - - wanted_gatherers = [ - linux_utilities_modules.ModuleGathererLsmod, - linux_utilities_modules.ModuleGathererSysFs, - linux_utilities_modules.ModuleGathererScanner, - ] - - run_results = linux_utilities_modules.Modules.run_modules_scanners( - context=self.context, - kernel_module_name=self.config["kernel"], - caller_wanted_gatherers=wanted_gatherers, - flatten=False, - ) - - aggregated_modules = {} - # We want to be explicit on the plugins results we are interested in - for gatherer in wanted_gatherers: - # Iterate over each recovered module - for mod_info in run_results[gatherer.name]: - # Use offsets as unique keys, whether a module - # appears in many plugin runs or not - if aggregated_modules.get(mod_info.offset, None) is not None: - # Append the plugin to the list of originating plugins - aggregated_modules[mod_info.offset].append(gatherer.name) - else: - aggregated_modules[mod_info.offset] = [gatherer.name] - - for module_offset, gatherers in aggregated_modules.items(): - module = kernel.object("module", offset=module_offset, absolute=True) - - # Tainting parsing capabilities applied to the module - if self.config.get("plain_taints"): - taints = tainting.Tainting.get_taints_as_plain_string( - self.context, - self.config["kernel"], - module.taints, - True, - ) - else: - taints = ",".join( - tainting.Tainting.get_taints_parsed( - self.context, - self.config["kernel"], - module.taints, - True, - ) - ) - - yield ( - 0, - ( - module.get_name() or renderers.NotAvailableValue(), - format_hints.Hex(module_offset), - linux_utilities_modules.ModuleGathererLsmod.name in gatherers, - linux_utilities_modules.ModuleGathererSysFs.name in gatherers, - linux_utilities_modules.ModuleGathererScanner.name in gatherers, - taints or renderers.NotAvailableValue(), - ), - ) - - def run(self): - columns = [ - ("Name", str), - ("Address", format_hints.Hex), - ("In procfs", bool), - ("In sysfs", bool), - ("In scan", bool), - ("Taints", str), - ] - - return renderers.TreeGrid( - columns, - self._generator(), - ) From 77801e4cb09ce54ca576bc2ee11ad009d6ce42fa Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Tue, 10 Jun 2025 19:22:12 +0300 Subject: [PATCH 1971/2186] Plugins: categorize linux.netfilter as a malware plugin --- test/plugins/linux/linux.py | 2 +- .../plugins/linux/malware/netfilter.py | 806 +++++++++++++++++ .../framework/plugins/linux/modxview.py | 1 - .../framework/plugins/linux/netfilter.py | 808 +----------------- 4 files changed, 818 insertions(+), 799 deletions(-) create mode 100644 volatility3/framework/plugins/linux/malware/netfilter.py diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index e39c1d15d..c7f1df9c6 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -501,7 +501,7 @@ class TestLinuxKmesg: class TestLinuxNetfilter: def test_linux_generic_netfilter(self, image, volatility, python): rc, out, _err = test_volatility.runvol_plugin( - "linux.netfilter.Netfilter", image, volatility, python + "linux.malware.netfilter.Netfilter", image, volatility, python ) # linux-sample-1.bin has no suspicious results for this plugin. diff --git a/volatility3/framework/plugins/linux/malware/netfilter.py b/volatility3/framework/plugins/linux/malware/netfilter.py new file mode 100644 index 000000000..d724d4296 --- /dev/null +++ b/volatility3/framework/plugins/linux/malware/netfilter.py @@ -0,0 +1,806 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +from dataclasses import dataclass, field +from abc import ABC, abstractmethod +import logging + +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules +from typing import Iterator, List, Tuple, Optional +from volatility3 import framework +from volatility3.framework import ( + constants, + interfaces, + renderers, + exceptions, + deprecation, +) +from volatility3.framework.renderers import format_hints +from volatility3.framework.configuration import requirements +from volatility3.framework.symbols.linux import network + +vollog = logging.getLogger(__name__) + + +@dataclass +class Proto: + name: str + hooks: Tuple[str] = field(default_factory=tuple) + + +PROTO_NOT_IMPLEMENTED = Proto(name="UNSPEC") + +NF_INET_HOOKS = ("PRE_ROUTING", "LOCAL_IN", "FORWARD", "LOCAL_OUT", "POST_ROUTING") +NF_DEC_HOOKS = ( + "PRE_ROUTING", + "LOCAL_IN", + "FORWARD", + "LOCAL_OUT", + "POST_ROUTING", + "HELLO", + "ROUTE", +) +NF_ARP_HOOKS = ("IN", "OUT", "FORWARD") +NF_NETDEV_HOOKS = ("INGRESS", "EGRESS") +LARGEST_HOOK_NUMBER = max( + len(NF_INET_HOOKS), len(NF_DEC_HOOKS), len(NF_ARP_HOOKS), len(NF_NETDEV_HOOKS) +) + + +class AbstractNetfilter(ABC): + """Netfilter Abstract Base Classes handling details across various + Netfilter implementations, including constants, helpers, and common + routines. + """ + + PROTO_HOOKS = ( + PROTO_NOT_IMPLEMENTED, # NFPROTO_UNSPEC + Proto(name="INET", hooks=NF_INET_HOOKS), # From kernels 3.14 + Proto(name="IPV4", hooks=NF_INET_HOOKS), + Proto(name="ARP", hooks=NF_ARP_HOOKS), + PROTO_NOT_IMPLEMENTED, + Proto(name="NETDEV", hooks=NF_NETDEV_HOOKS), + PROTO_NOT_IMPLEMENTED, + Proto(name="BRIDGE", hooks=NF_INET_HOOKS), + PROTO_NOT_IMPLEMENTED, + PROTO_NOT_IMPLEMENTED, + Proto(name="IPV6", hooks=NF_INET_HOOKS), + PROTO_NOT_IMPLEMENTED, + Proto(name="DECNET", hooks=NF_DEC_HOOKS), # Removed in kernel 6.1 + ) + NF_MAX_HOOKS = LARGEST_HOOK_NUMBER + 1 + + def __init__( + self, context: interfaces.context.ContextInterface, kernel_module_name: str + ): + self._context = context + self.vmlinux = context.modules[kernel_module_name] + self.layer_name = self.vmlinux.layer_name + + # Set data sizes + self.ptr_size = self.vmlinux.get_type("pointer").size + self.list_head_size = self.vmlinux.get_type("list_head").size + + linuxutils_modulegatherers_required_version = ( + Netfilter._required_linuxutils_gatherers_version + ) + linuxutils_modulegatherers_current_version = ( + linux_utilities_modules.ModuleGatherers.version + ) + if not requirements.VersionRequirement.matches_required( + linuxutils_modulegatherers_required_version, + linuxutils_modulegatherers_current_version, + ): + raise exceptions.PluginRequirementException( + f"linux_utilities_modules.ModuleGatherer version not suitable: required {linuxutils_modulegatherers_required_version} found {linuxutils_modulegatherers_current_version}" + ) + + linux_net_required_version = Netfilter._required_linuxnet_version + linux_net_current_version = network.NetSymbols.version + if not requirements.VersionRequirement.matches_required( + linux_net_required_version, linux_net_current_version + ): + raise exceptions.PluginRequirementException( + f"symbols.linux.net.NetSymbols version not suitable: required {linux_net_required_version} found {linux_net_current_version}" + ) + + linux_utilities_modules_required_version = ( + Netfilter._required_linux_utilities_modules_version + ) + linux_utilities_modules_current_version = ( + linux_utilities_modules.Modules.version + ) + if not requirements.VersionRequirement.matches_required( + linux_utilities_modules_required_version, + linux_utilities_modules_current_version, + ): + raise exceptions.PluginRequirementException( + f"linux_utilities_modules.Modules version not suitable: required {linux_utilities_modules_required_version} found {linux_utilities_modules_current_version}" + ) + + symbol_table = context.symbol_space[self.vmlinux.symbol_table_name] + network.NetSymbols.apply(symbol_table) + + self.handlers = linux_utilities_modules.Modules.run_modules_scanners( + context=context, + kernel_module_name=kernel_module_name, + caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, + ) + + @classmethod + def run_all( + cls, context: interfaces.context.ContextInterface, kernel_module_name: str + ) -> Iterator[Tuple[int, str, str, int, int, str, bool]]: + """It calls each subclass symtab_checks() to test the required + conditions to that specific kernel implementation. + + Args: + context: The volatility3 context on which to operate + kernel_module_name: The name of the table containing the kernel symbols + + Yields: + The kmsg records. Same as _run() + """ + vmlinux = context.modules[kernel_module_name] + + implementation_inst = None # type: ignore + for subclass in framework.class_subclasses(cls): + if not subclass.symtab_checks(vmlinux=vmlinux): + vollog.log( + constants.LOGLEVEL_VVVV, + "Netfilter implementation '%s' doesn't match this memory dump", + subclass.__name__, + ) + continue + + vollog.log( + constants.LOGLEVEL_VVVV, + "Netfilter implementation '%s' matches!", + subclass.__name__, + ) + implementation_inst = subclass( + context=context, kernel_module_name=kernel_module_name + ) + # More than one class could be executed for an specific kernel version + # For instance: Netfilter Ingress hooks + yield from implementation_inst._run() + + if implementation_inst is None: + vollog.error("Unsupported Netfilter kernel implementation") + + def _run(self) -> Iterator[Tuple[int, str, str, int, int, str, bool]]: + """Iterates over namespaces and protocols, executing various callbacks that + allow customization of the code to the specific data structure used in a + particular kernel implementation + + get_hooks_container(net, proto_name, hook_name) + It returns the data structure used in a specific kernel implementation + to store the hooks for a respective namespace and protocol, basically: + For Ingress hooks: + network_namespace[] -> net_device[] -> nf_hooks_ingress[] + For egress hooks: + network_namespace[] -> net_device[] -> nf_hooks_egress[] + For all the other Netfilter hooks: + <= 4.2.8 + nf_hooks[] + >= 4.3 + network_namespace[] -> nf.hooks[] + + get_hook_ops(hook_container, proto_idx, hook_idx) + Give the 'hook_container' got in get_hooks_container(), it + returns an iterable of 'nf_hook_ops' elements for a respective protocol + and hook type. + + Returns: + netns [int]: Network namespace id + proto_name [str]: Protocol name + hook_name [str]: Hook name + priority [int]: Priority + hook_ops_hook [int]: Hook address + module_name [str]: Linux kernel module name + hooked [bool]: "True" if the network stack has been hijacked + """ + for netns, net in self.get_net_namespaces(): + for proto_idx, proto_name, hook_idx, hook_name in self._proto_hook_loop(): + hooks_container = self.get_hooks_container(net, proto_name, hook_name) + + for hook_container in hooks_container: + for hook_ops in self.get_hook_ops( + hook_container, proto_idx, hook_idx + ): + if not hook_ops: + continue + + priority = int(hook_ops.priority) + hook_ops_hook = hook_ops.hook + module_info, symbol_name = ( + linux_utilities_modules.Modules.module_lookup_by_address( + self._context, + self.vmlinux.name, + self.handlers, + hook_ops_hook, + ) + ) + hooked = module_info is None + + yield netns, proto_name, hook_name, priority, hook_ops_hook, module_info, symbol_name, hooked + + @classmethod + @abstractmethod + def symtab_checks(cls, vmlinux: interfaces.context.ModuleInterface) -> bool: + """This method on each sublasss will be called to evaluate if the kernel + being analyzed fulfill the type & symbols requirements for the implementation. + The first class returning True will be instantiated and called via the + run() method. + + Returns: + bool: True if the kernel being analyzed fulfill the class requirements. + """ + + def _proto_hook_loop(self) -> Iterator[Tuple[int, str, int, str]]: + """Flattens the protocol families and hooks""" + for proto_idx, proto in enumerate(AbstractNetfilter.PROTO_HOOKS): + if proto == PROTO_NOT_IMPLEMENTED: + continue + if proto.name not in self.subscribed_protocols(): + # This protocol is not managed in this object + continue + for hook_idx, hook_name in enumerate(proto.hooks): + yield proto_idx, proto.name, hook_idx, hook_name + + def build_nf_hook_ops_array( + self, nf_hook_entries + ) -> Optional[interfaces.objects.ObjectInterface]: + """Function helper to build the nf_hook_ops array when it is not part of the + struct 'nf_hook_entries' definition. + + nf_hook_ops was stored adjacent in memory to the nf_hook_entry array, in the + new struct 'nf_hook_entries'. However, this 'nf_hooks_ops' array 'orig_ops' is + not part of the 'nf_hook_entries' struct. So, we need to calculate the offset. + + struct nf_hook_entries { + u16 num_hook_entries; /* plus padding */ + struct nf_hook_entry hooks[]; + //const struct nf_hook_ops *orig_ops[]; + } + """ + nf_hook_entry_size = self.vmlinux.get_type("nf_hook_entry").size + + try: + num_hook_entries = nf_hook_entries.num_hook_entries + except exceptions.InvalidAddressException: + return None + + orig_ops_addr = ( + nf_hook_entries.hooks.vol.offset + nf_hook_entry_size * num_hook_entries + ) + + if not self.vmlinux._context.layers[self.vmlinux.layer_name].is_valid( + orig_ops_addr + ): + return None + + orig_ops = self._context.object( + object_type=self.get_symbol_fullname("array"), + offset=orig_ops_addr, + subtype=self.vmlinux.get_type("pointer"), + layer_name=self.layer_name, + count=num_hook_entries, + ) + + return orig_ops + + def subscribed_protocols(self) -> Tuple[str]: + """Allows to select which PROTO_HOOKS protocols will be processed by the + Netfiler subclass. + """ + + # Most implementation handlers respond to these protocols, except for + # the ingress hook, which specifically handles the 'NETDEV' protocol. + # However, there is no corresponding Netfilter hook implementation for + # the INET protocol in the kernel. AFAIU, this is used as + # 'NFPROTO_INET = NFPROTO_IPV4 || NFPROTO_IPV6' + # in other parts of the kernel source code. + return ("IPV4", "ARP", "BRIDGE", "IPV6", "DECNET") + + @deprecation.method_being_removed( + removal_date="2025-09-25", + message="Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`", + ) + def get_module_name_for_address(self, addr) -> str: + """Helper to obtain the module and symbol name in the format needed for the + output of this plugin. + """ + module_name, symbol_name = ( + linux_utilities_modules.Modules.lookup_module_address( + self._context, self.vmlinux.name, self.handlers, addr + ) + ) + + if module_name == "UNKNOWN": + module_name = None + + if symbol_name != "N/A": + module_name = f"[{symbol_name}]" + + return module_name + + def get_net_namespaces(self): + """Common function to retrieve the different namespaces. + From 4.3 on, all the implementations use network namespaces. + """ + nethead = self.vmlinux.object_from_symbol("net_namespace_list") + symbol_net_name = self.get_symbol_fullname("net") + for net in nethead.to_list(symbol_net_name, "list"): + net_ns_id = net.ns.inum + yield net_ns_id, net + + def get_hooks_container(self, net, proto_name, hook_name): + """Returns the data structure used in a specific kernel implementation to store + the hooks for a respective namespace and protocol. + + Except for kernels < 4.3, all the implementations use network namespaces. + Also the data structure which contains the hooks, even though it changes its + implementation and/or data type, it is always in this location. + """ + yield net.nf.hooks + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + """Given the hook_container obtained from get_hooks_container(), it + returns an iterable of 'nf_hook_ops' elements for a corresponding protocol + and hook type. + + This is the most variable/unstable part of all Netfilter hook designs, it + changes almost in every single implementation. + """ + raise NotImplementedError("You must implement this method") + + def get_symbol_fullname(self, symbol_basename: str) -> str: + """Given a short symbol or type name, it returns its full name""" + return self.vmlinux.symbol_table_name + constants.BANG + symbol_basename + + @staticmethod + def get_member_type( + vol_type: interfaces.objects.Template, member_name: str + ) -> List[str]: + """Returns a list of types/subtypes belonging to the given type member. + + Args: + vol_type (interfaces.objects.Template): A vol3 type object + member_name (str): The member name + + Returns: + list: A list of types/subtypes + """ + _size, vol_obj = vol_type.vol.members[member_name] + type_name = vol_obj.type_name + type_basename = type_name.split(constants.BANG)[1] + member_type = [type_basename] + cur_type = vol_obj + while hasattr(cur_type, "subtype"): + subtype_name = cur_type.subtype.type_name + subtype_basename = subtype_name.split(constants.BANG)[1] + member_type.append(subtype_basename) + cur_type = cur_type.subtype + + return member_type + + +class NetfilterImp_to_4_3(AbstractNetfilter): + """At this point, Netfilter hooks were implemented as a linked list of struct + 'nf_hook_ops' type. One linked list per protocol per hook type. + It was like that until 4.2.8. + + struct list_head nf_hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + return vmlinux.has_symbol("nf_hooks") + + def get_net_namespaces(self): + # In kernels <= 4.2.8 netfilter hooks are not implemented per namespaces + netns, net = renderers.NotAvailableValue(), renderers.NotAvailableValue() + yield netns, net + + def get_hooks_container(self, net, proto_name, hook_name): + nf_hooks = self.vmlinux.object_from_symbol("nf_hooks") + if not nf_hooks: + return + + yield nf_hooks + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + list_head = hook_container[proto_idx][hook_idx] + nf_hooks_ops_name = self.get_symbol_fullname("nf_hook_ops") + return list_head.to_list(nf_hooks_ops_name, "list") + + +class NetfilterImp_4_3_to_4_9(AbstractNetfilter): + """Netfilter hooks were added to network namespaces in 4.3. + It is still implemented as a linked list of 'struct nf_hook_ops' type but inside a + network namespace. One linked list per protocol per hook type. + + struct net { ... struct netns_nf nf; ... } + struct netns_nf { ... + struct list_head hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; ... } + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("netns_nf") + and vmlinux.get_type("netns_nf").has_member("hooks") + and cls.get_member_type(vmlinux.get_type("netns_nf"), "hooks") + == ["array", "array", "list_head"] + ) + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + list_head = hook_container[proto_idx][hook_idx] + nf_hooks_ops_name = self.get_symbol_fullname("nf_hook_ops") + return list_head.to_list(nf_hooks_ops_name, "list") + + +class NetfilterImp_4_9_to_4_14(AbstractNetfilter): + """In this range of kernel versions, the doubly-linked lists of netfilter hooks were + replaced by an array of arrays of 'nf_hook_entry' pointers in a singly-linked lists. + struct net { ... struct netns_nf nf; ... } + struct netns_nf { .. + struct nf_hook_entry __rcu *hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; ... } + + Also in v4.10 the struct nf_hook_entry changed, a hook function pointer was added to + it. However, for simplicity of this design, we will still take the hook address from + the 'nf_hook_ops'. As per v5.0-rc2, the hook address is duplicated in both sides. + - v4.9: + struct nf_hook_entry { + struct nf_hook_entry *next; + struct nf_hook_ops ops; + const struct nf_hook_ops *orig_ops; }; + - v4.10: + struct nf_hook_entry { + struct nf_hook_entry *next; + nf_hookfn *hook; + void *priv; + const struct nf_hook_ops *orig_ops; }; + (*) Even though the hook address is in the struct 'nf_hook_entry', we use the + original 'nf_hook_ops' hook address value, the one which was filled by the user, to + make it uniform to all the implementations. + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + hooks_type = ["array", "array", "pointer", "nf_hook_entry"] + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("netns_nf") + and vmlinux.get_type("netns_nf").has_member("hooks") + and cls.get_member_type(vmlinux.get_type("netns_nf"), "hooks") == hooks_type + ) + + def _get_hook_ops(self, hook_container, proto_idx, hook_idx): + list_head = hook_container[proto_idx][hook_idx] + nf_hooks_ops_name = self.get_symbol_fullname("nf_hook_ops") + return list_head.to_list(nf_hooks_ops_name, "list") + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + nf_hook_entry_list = hook_container[proto_idx][hook_idx] + while nf_hook_entry_list: + yield nf_hook_entry_list.orig_ops + nf_hook_entry_list = nf_hook_entry_list.next + + +class NetfilterImp_4_14_to_4_16(AbstractNetfilter): + """'nf_hook_ops' was removed from struct 'nf_hook_entry'. Instead, it was stored + adjacent in memory to the 'nf_hook_entry' array, in the new struct 'nf_hook_entries' + However, 'orig_ops' is not part of the 'nf_hook_entries' struct definition. So, we + have to craft it by hand. + + struct net { ... struct netns_nf nf; ... } + struct netns_nf { + struct nf_hook_entries *hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; ... } + struct nf_hook_entries { + u16 num_hook_entries; /* plus padding */ + struct nf_hook_entry hooks[]; + //const struct nf_hook_ops *orig_ops[]; } + struct nf_hook_entry { + nf_hookfn *hook; + void *priv; } + + (*) Even though the hook address is in the struct 'nf_hook_entry', we use the + original 'nf_hook_ops' hook address value, the one which was filled by the user, to + make it uniform to all the implementations. + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + hooks_type = ["array", "array", "pointer", "nf_hook_entries"] + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("netns_nf") + and vmlinux.get_type("netns_nf").has_member("hooks") + and cls.get_member_type(vmlinux.get_type("netns_nf"), "hooks") == hooks_type + ) + + def get_nf_hook_entries(self, nf_hooks_addr, proto_idx, hook_idx): + """This allows to support different hook array implementations from this version + on. For instance, in kernels >= 4.16 this multi-dimensional array is split in + one-dimensional array of pointers to 'nf_hooks_entries' per each protocol.""" + return nf_hooks_addr[proto_idx][hook_idx] + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + nf_hook_entries = self.get_nf_hook_entries(hook_container, proto_idx, hook_idx) + if not nf_hook_entries: + return + + nf_hook_ops_name = self.get_symbol_fullname("nf_hook_ops") + nf_hook_ops_ptr_arr = self.build_nf_hook_ops_array(nf_hook_entries) + if not nf_hook_ops_ptr_arr: + return + + for nf_hook_ops_ptr in nf_hook_ops_ptr_arr: + nf_hook_ops = nf_hook_ops_ptr.dereference().cast(nf_hook_ops_name) + yield nf_hook_ops + + +class NetfilterImp_4_16_to_latest(NetfilterImp_4_14_to_4_16): + """The multidimensional array of nf_hook_entries was split in a one-dimensional + array per each protocol. + + struct net { + struct netns_nf nf; ... } + struct netns_nf { + struct nf_hook_entries * hooks_ipv4[NF_INET_NUMHOOKS]; + struct nf_hook_entries * hooks_ipv6[NF_INET_NUMHOOKS]; + struct nf_hook_entries * hooks_arp[NF_ARP_NUMHOOKS]; + struct nf_hook_entries * hooks_bridge[NF_INET_NUMHOOKS]; + struct nf_hook_entries * hooks_decnet[NF_DN_NUMHOOKS]; ... } + struct nf_hook_entries { + u16 num_hook_entries; /* plus padding */ + struct nf_hook_entry hooks[]; + //const struct nf_hook_ops *orig_ops[]; } + struct nf_hook_entry { + nf_hookfn *hook; + void *priv; } + + (*) Even though the hook address is in the struct nf_hook_entry, we use the original + nf_hook_ops hook address value, the one which was filled by the user, to make it + uniform to all the implementations. + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("netns_nf") + and vmlinux.get_type("netns_nf").has_member("hooks_ipv4") + ) + + def get_hooks_container(self, net, proto_name, hook_name): + try: + if proto_name == "IPV4": + net_nf_hooks = net.nf.hooks_ipv4 + elif proto_name == "ARP": + net_nf_hooks = net.nf.hooks_arp + elif proto_name == "BRIDGE": + net_nf_hooks = net.nf.hooks_bridge + elif proto_name == "IPV6": + net_nf_hooks = net.nf.hooks_ipv6 + elif proto_name == "DECNET": + net_nf_hooks = net.nf.hooks_decnet + else: + return + + yield net_nf_hooks + + except AttributeError: + # Protocol family disabled at kernel compilation + # CONFIG_NETFILTER_FAMILY_ARP=n || + # CONFIG_NETFILTER_FAMILY_BRIDGE=n || + # CONFIG_DECNET=n + pass + + def _get_nf_hook_entries_ptr(self, nf_hooks_addr, proto_idx, hook_idx): + nf_hook_entries_ptr = nf_hooks_addr[hook_idx] + return nf_hook_entries_ptr + + def get_nf_hook_entries(self, nf_hooks_addr, proto_idx, hook_idx): + return nf_hooks_addr[hook_idx] + + +class AbstractNetfilterNetDev(AbstractNetfilter): + """Base class to handle the Netfilter NetDev hooks. + It won't be executed. It has some common functions to all Netfilter NetDev hook + implementations. + + Netfilter NetDev hooks are set per network device which belongs to a network + namespace. + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + return False + + def subscribed_protocols(self): + return ("NETDEV",) + + def get_hooks_container(self, net, proto_name, hook_name): + net_device_type = self.vmlinux.get_type("net_device") + net_device_name = self.get_symbol_fullname("net_device") + for net_device in net.dev_base_head.to_list(net_device_name, "dev_list"): + if hook_name == "INGRESS": + if net_device_type.has_member("nf_hooks_ingress"): + # CONFIG_NETFILTER_INGRESS=y + yield net_device.nf_hooks_ingress + + elif hook_name == "EGRESS": + if net_device_type.has_member("nf_hooks_egress"): + # CONFIG_NETFILTER_EGRESS=y + yield net_device.nf_hooks_egress + + +class NetfilterNetDevImp_4_2_to_4_9(AbstractNetfilterNetDev): + """This is the first version of Netfilter Ingress hooks which was implemented using + a doubly-linked list of 'nf_hook_ops'. + struct list_head nf_hooks_ingress; + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + hooks_type = ["list_head"] + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("net_device") + and vmlinux.get_type("net_device").has_member("nf_hooks_ingress") + and cls.get_member_type(vmlinux.get_type("net_device"), "nf_hooks_ingress") + == hooks_type + ) + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + nf_hooks_ingress = hook_container + nf_hook_ops_name = self.get_symbol_fullname("nf_hook_ops") + return nf_hooks_ingress.to_list(nf_hook_ops_name, "list") + + +class NetfilterNetDevImp_4_9_to_4_14(AbstractNetfilterNetDev): + """In 4.9 it was changed to a simple singly-linked list. + struct nf_hook_entry * nf_hooks_ingress; + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + hooks_type = ["pointer", "nf_hook_entry"] + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("net_device") + and vmlinux.get_type("net_device").has_member("nf_hooks_ingress") + and cls.get_member_type(vmlinux.get_type("net_device"), "nf_hooks_ingress") + == hooks_type + ) + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + nf_hooks_ingress_ptr = hook_container + if not nf_hooks_ingress_ptr: + return + + while nf_hooks_ingress_ptr: + nf_hook_entry = nf_hooks_ingress_ptr.dereference() + orig_ops = nf_hook_entry.orig_ops.dereference() + yield orig_ops + nf_hooks_ingress_ptr = nf_hooks_ingress_ptr.next + + +class NetfilterNetDevImp_4_14_to_latest(AbstractNetfilterNetDev): + """In 4.14 the hook list was converted to an array of pointers inside the struct + 'nf_hook_entries': + struct nf_hook_entries * nf_hooks_ingress; + struct nf_hook_entries { + u16 num_hook_entries; + struct nf_hook_entry hooks[]; + //const struct nf_hook_ops *orig_ops[]; } + """ + + @classmethod + def symtab_checks(cls, vmlinux) -> bool: + hooks_type = ["pointer", "nf_hook_entries"] + return ( + vmlinux.has_symbol("net_namespace_list") + and vmlinux.has_type("net_device") + and vmlinux.get_type("net_device").has_member("nf_hooks_ingress") + and cls.get_member_type(vmlinux.get_type("net_device"), "nf_hooks_ingress") + == hooks_type + ) + + def get_hook_ops(self, hook_container, proto_idx, hook_idx): + nf_hook_entries = hook_container + if not nf_hook_entries: + return + + nf_hook_ops_name = self.get_symbol_fullname("nf_hook_ops") + nf_hook_ops_ptr_arr = self.build_nf_hook_ops_array(nf_hook_entries) + if not nf_hook_ops_ptr_arr: + return + + for nf_hook_ops_ptr in nf_hook_ops_ptr_arr: + nf_hook_ops = nf_hook_ops_ptr.dereference().cast(nf_hook_ops_name) + yield nf_hook_ops + + +class Netfilter(interfaces.plugins.PluginInterface): + """Lists Netfilter hooks.""" + + _required_framework_version = (2, 22, 0) + + _version = (2, 0, 0) + + _required_linux_utilities_modules_version = (3, 0, 0) + _required_linuxutils_gatherers_version = (1, 0, 0) + _required_linuxnet_version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGatherers, + version=cls._required_linuxutils_gatherers_version, + ), + requirements.VersionRequirement( + name="linuxnet", + component=network.NetSymbols, + version=cls._required_linuxnet_version, + ), + ] + + def _format_fields(self, fields): + ( + netns, + proto_name, + hook_name, + priority, + hook_func, + module_info, + symbol_name, + hooked, + ) = fields + + if module_info: + module_name = module_info.name + else: + module_name = renderers.NotAvailableValue() + + return ( + netns, + proto_name, + hook_name, + priority, + format_hints.Hex(hook_func), + module_name, + symbol_name or renderers.NotAvailableValue(), + str(hooked), + ) + + def _generator(self): + kernel_module_name = self.config["kernel"] + for fields in AbstractNetfilter.run_all( + context=self.context, kernel_module_name=kernel_module_name + ): + yield (0, self._format_fields(fields)) + + def run(self): + headers = [ + ("Net NS", int), + ("Proto", str), + ("Hook", str), + ("Priority", int), + ("Handler", format_hints.Hex), + ("Module", str), + ("Symbol", str), + ("Is Hooked", str), + ] + return renderers.TreeGrid(headers, self._generator()) diff --git a/volatility3/framework/plugins/linux/modxview.py b/volatility3/framework/plugins/linux/modxview.py index f710b1291..d91f37587 100644 --- a/volatility3/framework/plugins/linux/modxview.py +++ b/volatility3/framework/plugins/linux/modxview.py @@ -14,7 +14,6 @@ class Modxview( replacement_class=modxview.Modxview, removal_date="2026-06-07", ): - """Centralize lsmod, check_modules and hidden_modules results to efficiently \ spot modules presence and taints (deprecated).""" diff --git a/volatility3/framework/plugins/linux/netfilter.py b/volatility3/framework/plugins/linux/netfilter.py index d724d4296..741241039 100644 --- a/volatility3/framework/plugins/linux/netfilter.py +++ b/volatility3/framework/plugins/linux/netfilter.py @@ -1,806 +1,20 @@ -# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from dataclasses import dataclass, field -from abc import ABC, abstractmethod import logging - -import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from typing import Iterator, List, Tuple, Optional -from volatility3 import framework -from volatility3.framework import ( - constants, - interfaces, - renderers, - exceptions, - deprecation, -) -from volatility3.framework.renderers import format_hints -from volatility3.framework.configuration import requirements -from volatility3.framework.symbols.linux import network +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.linux.malware import netfilter vollog = logging.getLogger(__name__) -@dataclass -class Proto: - name: str - hooks: Tuple[str] = field(default_factory=tuple) - - -PROTO_NOT_IMPLEMENTED = Proto(name="UNSPEC") - -NF_INET_HOOKS = ("PRE_ROUTING", "LOCAL_IN", "FORWARD", "LOCAL_OUT", "POST_ROUTING") -NF_DEC_HOOKS = ( - "PRE_ROUTING", - "LOCAL_IN", - "FORWARD", - "LOCAL_OUT", - "POST_ROUTING", - "HELLO", - "ROUTE", -) -NF_ARP_HOOKS = ("IN", "OUT", "FORWARD") -NF_NETDEV_HOOKS = ("INGRESS", "EGRESS") -LARGEST_HOOK_NUMBER = max( - len(NF_INET_HOOKS), len(NF_DEC_HOOKS), len(NF_ARP_HOOKS), len(NF_NETDEV_HOOKS) -) - - -class AbstractNetfilter(ABC): - """Netfilter Abstract Base Classes handling details across various - Netfilter implementations, including constants, helpers, and common - routines. - """ - - PROTO_HOOKS = ( - PROTO_NOT_IMPLEMENTED, # NFPROTO_UNSPEC - Proto(name="INET", hooks=NF_INET_HOOKS), # From kernels 3.14 - Proto(name="IPV4", hooks=NF_INET_HOOKS), - Proto(name="ARP", hooks=NF_ARP_HOOKS), - PROTO_NOT_IMPLEMENTED, - Proto(name="NETDEV", hooks=NF_NETDEV_HOOKS), - PROTO_NOT_IMPLEMENTED, - Proto(name="BRIDGE", hooks=NF_INET_HOOKS), - PROTO_NOT_IMPLEMENTED, - PROTO_NOT_IMPLEMENTED, - Proto(name="IPV6", hooks=NF_INET_HOOKS), - PROTO_NOT_IMPLEMENTED, - Proto(name="DECNET", hooks=NF_DEC_HOOKS), # Removed in kernel 6.1 - ) - NF_MAX_HOOKS = LARGEST_HOOK_NUMBER + 1 - - def __init__( - self, context: interfaces.context.ContextInterface, kernel_module_name: str - ): - self._context = context - self.vmlinux = context.modules[kernel_module_name] - self.layer_name = self.vmlinux.layer_name - - # Set data sizes - self.ptr_size = self.vmlinux.get_type("pointer").size - self.list_head_size = self.vmlinux.get_type("list_head").size - - linuxutils_modulegatherers_required_version = ( - Netfilter._required_linuxutils_gatherers_version - ) - linuxutils_modulegatherers_current_version = ( - linux_utilities_modules.ModuleGatherers.version - ) - if not requirements.VersionRequirement.matches_required( - linuxutils_modulegatherers_required_version, - linuxutils_modulegatherers_current_version, - ): - raise exceptions.PluginRequirementException( - f"linux_utilities_modules.ModuleGatherer version not suitable: required {linuxutils_modulegatherers_required_version} found {linuxutils_modulegatherers_current_version}" - ) - - linux_net_required_version = Netfilter._required_linuxnet_version - linux_net_current_version = network.NetSymbols.version - if not requirements.VersionRequirement.matches_required( - linux_net_required_version, linux_net_current_version - ): - raise exceptions.PluginRequirementException( - f"symbols.linux.net.NetSymbols version not suitable: required {linux_net_required_version} found {linux_net_current_version}" - ) - - linux_utilities_modules_required_version = ( - Netfilter._required_linux_utilities_modules_version - ) - linux_utilities_modules_current_version = ( - linux_utilities_modules.Modules.version - ) - if not requirements.VersionRequirement.matches_required( - linux_utilities_modules_required_version, - linux_utilities_modules_current_version, - ): - raise exceptions.PluginRequirementException( - f"linux_utilities_modules.Modules version not suitable: required {linux_utilities_modules_required_version} found {linux_utilities_modules_current_version}" - ) - - symbol_table = context.symbol_space[self.vmlinux.symbol_table_name] - network.NetSymbols.apply(symbol_table) - - self.handlers = linux_utilities_modules.Modules.run_modules_scanners( - context=context, - kernel_module_name=kernel_module_name, - caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, - ) - - @classmethod - def run_all( - cls, context: interfaces.context.ContextInterface, kernel_module_name: str - ) -> Iterator[Tuple[int, str, str, int, int, str, bool]]: - """It calls each subclass symtab_checks() to test the required - conditions to that specific kernel implementation. - - Args: - context: The volatility3 context on which to operate - kernel_module_name: The name of the table containing the kernel symbols - - Yields: - The kmsg records. Same as _run() - """ - vmlinux = context.modules[kernel_module_name] - - implementation_inst = None # type: ignore - for subclass in framework.class_subclasses(cls): - if not subclass.symtab_checks(vmlinux=vmlinux): - vollog.log( - constants.LOGLEVEL_VVVV, - "Netfilter implementation '%s' doesn't match this memory dump", - subclass.__name__, - ) - continue - - vollog.log( - constants.LOGLEVEL_VVVV, - "Netfilter implementation '%s' matches!", - subclass.__name__, - ) - implementation_inst = subclass( - context=context, kernel_module_name=kernel_module_name - ) - # More than one class could be executed for an specific kernel version - # For instance: Netfilter Ingress hooks - yield from implementation_inst._run() - - if implementation_inst is None: - vollog.error("Unsupported Netfilter kernel implementation") - - def _run(self) -> Iterator[Tuple[int, str, str, int, int, str, bool]]: - """Iterates over namespaces and protocols, executing various callbacks that - allow customization of the code to the specific data structure used in a - particular kernel implementation - - get_hooks_container(net, proto_name, hook_name) - It returns the data structure used in a specific kernel implementation - to store the hooks for a respective namespace and protocol, basically: - For Ingress hooks: - network_namespace[] -> net_device[] -> nf_hooks_ingress[] - For egress hooks: - network_namespace[] -> net_device[] -> nf_hooks_egress[] - For all the other Netfilter hooks: - <= 4.2.8 - nf_hooks[] - >= 4.3 - network_namespace[] -> nf.hooks[] - - get_hook_ops(hook_container, proto_idx, hook_idx) - Give the 'hook_container' got in get_hooks_container(), it - returns an iterable of 'nf_hook_ops' elements for a respective protocol - and hook type. - - Returns: - netns [int]: Network namespace id - proto_name [str]: Protocol name - hook_name [str]: Hook name - priority [int]: Priority - hook_ops_hook [int]: Hook address - module_name [str]: Linux kernel module name - hooked [bool]: "True" if the network stack has been hijacked - """ - for netns, net in self.get_net_namespaces(): - for proto_idx, proto_name, hook_idx, hook_name in self._proto_hook_loop(): - hooks_container = self.get_hooks_container(net, proto_name, hook_name) - - for hook_container in hooks_container: - for hook_ops in self.get_hook_ops( - hook_container, proto_idx, hook_idx - ): - if not hook_ops: - continue - - priority = int(hook_ops.priority) - hook_ops_hook = hook_ops.hook - module_info, symbol_name = ( - linux_utilities_modules.Modules.module_lookup_by_address( - self._context, - self.vmlinux.name, - self.handlers, - hook_ops_hook, - ) - ) - hooked = module_info is None - - yield netns, proto_name, hook_name, priority, hook_ops_hook, module_info, symbol_name, hooked - - @classmethod - @abstractmethod - def symtab_checks(cls, vmlinux: interfaces.context.ModuleInterface) -> bool: - """This method on each sublasss will be called to evaluate if the kernel - being analyzed fulfill the type & symbols requirements for the implementation. - The first class returning True will be instantiated and called via the - run() method. - - Returns: - bool: True if the kernel being analyzed fulfill the class requirements. - """ - - def _proto_hook_loop(self) -> Iterator[Tuple[int, str, int, str]]: - """Flattens the protocol families and hooks""" - for proto_idx, proto in enumerate(AbstractNetfilter.PROTO_HOOKS): - if proto == PROTO_NOT_IMPLEMENTED: - continue - if proto.name not in self.subscribed_protocols(): - # This protocol is not managed in this object - continue - for hook_idx, hook_name in enumerate(proto.hooks): - yield proto_idx, proto.name, hook_idx, hook_name - - def build_nf_hook_ops_array( - self, nf_hook_entries - ) -> Optional[interfaces.objects.ObjectInterface]: - """Function helper to build the nf_hook_ops array when it is not part of the - struct 'nf_hook_entries' definition. - - nf_hook_ops was stored adjacent in memory to the nf_hook_entry array, in the - new struct 'nf_hook_entries'. However, this 'nf_hooks_ops' array 'orig_ops' is - not part of the 'nf_hook_entries' struct. So, we need to calculate the offset. - - struct nf_hook_entries { - u16 num_hook_entries; /* plus padding */ - struct nf_hook_entry hooks[]; - //const struct nf_hook_ops *orig_ops[]; - } - """ - nf_hook_entry_size = self.vmlinux.get_type("nf_hook_entry").size - - try: - num_hook_entries = nf_hook_entries.num_hook_entries - except exceptions.InvalidAddressException: - return None - - orig_ops_addr = ( - nf_hook_entries.hooks.vol.offset + nf_hook_entry_size * num_hook_entries - ) - - if not self.vmlinux._context.layers[self.vmlinux.layer_name].is_valid( - orig_ops_addr - ): - return None - - orig_ops = self._context.object( - object_type=self.get_symbol_fullname("array"), - offset=orig_ops_addr, - subtype=self.vmlinux.get_type("pointer"), - layer_name=self.layer_name, - count=num_hook_entries, - ) - - return orig_ops - - def subscribed_protocols(self) -> Tuple[str]: - """Allows to select which PROTO_HOOKS protocols will be processed by the - Netfiler subclass. - """ - - # Most implementation handlers respond to these protocols, except for - # the ingress hook, which specifically handles the 'NETDEV' protocol. - # However, there is no corresponding Netfilter hook implementation for - # the INET protocol in the kernel. AFAIU, this is used as - # 'NFPROTO_INET = NFPROTO_IPV4 || NFPROTO_IPV6' - # in other parts of the kernel source code. - return ("IPV4", "ARP", "BRIDGE", "IPV6", "DECNET") - - @deprecation.method_being_removed( - removal_date="2025-09-25", - message="Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`", - ) - def get_module_name_for_address(self, addr) -> str: - """Helper to obtain the module and symbol name in the format needed for the - output of this plugin. - """ - module_name, symbol_name = ( - linux_utilities_modules.Modules.lookup_module_address( - self._context, self.vmlinux.name, self.handlers, addr - ) - ) - - if module_name == "UNKNOWN": - module_name = None - - if symbol_name != "N/A": - module_name = f"[{symbol_name}]" - - return module_name - - def get_net_namespaces(self): - """Common function to retrieve the different namespaces. - From 4.3 on, all the implementations use network namespaces. - """ - nethead = self.vmlinux.object_from_symbol("net_namespace_list") - symbol_net_name = self.get_symbol_fullname("net") - for net in nethead.to_list(symbol_net_name, "list"): - net_ns_id = net.ns.inum - yield net_ns_id, net - - def get_hooks_container(self, net, proto_name, hook_name): - """Returns the data structure used in a specific kernel implementation to store - the hooks for a respective namespace and protocol. - - Except for kernels < 4.3, all the implementations use network namespaces. - Also the data structure which contains the hooks, even though it changes its - implementation and/or data type, it is always in this location. - """ - yield net.nf.hooks - - def get_hook_ops(self, hook_container, proto_idx, hook_idx): - """Given the hook_container obtained from get_hooks_container(), it - returns an iterable of 'nf_hook_ops' elements for a corresponding protocol - and hook type. - - This is the most variable/unstable part of all Netfilter hook designs, it - changes almost in every single implementation. - """ - raise NotImplementedError("You must implement this method") - - def get_symbol_fullname(self, symbol_basename: str) -> str: - """Given a short symbol or type name, it returns its full name""" - return self.vmlinux.symbol_table_name + constants.BANG + symbol_basename - - @staticmethod - def get_member_type( - vol_type: interfaces.objects.Template, member_name: str - ) -> List[str]: - """Returns a list of types/subtypes belonging to the given type member. - - Args: - vol_type (interfaces.objects.Template): A vol3 type object - member_name (str): The member name - - Returns: - list: A list of types/subtypes - """ - _size, vol_obj = vol_type.vol.members[member_name] - type_name = vol_obj.type_name - type_basename = type_name.split(constants.BANG)[1] - member_type = [type_basename] - cur_type = vol_obj - while hasattr(cur_type, "subtype"): - subtype_name = cur_type.subtype.type_name - subtype_basename = subtype_name.split(constants.BANG)[1] - member_type.append(subtype_basename) - cur_type = cur_type.subtype - - return member_type - - -class NetfilterImp_to_4_3(AbstractNetfilter): - """At this point, Netfilter hooks were implemented as a linked list of struct - 'nf_hook_ops' type. One linked list per protocol per hook type. - It was like that until 4.2.8. - - struct list_head nf_hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; - """ - - @classmethod - def symtab_checks(cls, vmlinux) -> bool: - return vmlinux.has_symbol("nf_hooks") - - def get_net_namespaces(self): - # In kernels <= 4.2.8 netfilter hooks are not implemented per namespaces - netns, net = renderers.NotAvailableValue(), renderers.NotAvailableValue() - yield netns, net - - def get_hooks_container(self, net, proto_name, hook_name): - nf_hooks = self.vmlinux.object_from_symbol("nf_hooks") - if not nf_hooks: - return - - yield nf_hooks - - def get_hook_ops(self, hook_container, proto_idx, hook_idx): - list_head = hook_container[proto_idx][hook_idx] - nf_hooks_ops_name = self.get_symbol_fullname("nf_hook_ops") - return list_head.to_list(nf_hooks_ops_name, "list") - - -class NetfilterImp_4_3_to_4_9(AbstractNetfilter): - """Netfilter hooks were added to network namespaces in 4.3. - It is still implemented as a linked list of 'struct nf_hook_ops' type but inside a - network namespace. One linked list per protocol per hook type. - - struct net { ... struct netns_nf nf; ... } - struct netns_nf { ... - struct list_head hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; ... } - """ - - @classmethod - def symtab_checks(cls, vmlinux) -> bool: - return ( - vmlinux.has_symbol("net_namespace_list") - and vmlinux.has_type("netns_nf") - and vmlinux.get_type("netns_nf").has_member("hooks") - and cls.get_member_type(vmlinux.get_type("netns_nf"), "hooks") - == ["array", "array", "list_head"] - ) - - def get_hook_ops(self, hook_container, proto_idx, hook_idx): - list_head = hook_container[proto_idx][hook_idx] - nf_hooks_ops_name = self.get_symbol_fullname("nf_hook_ops") - return list_head.to_list(nf_hooks_ops_name, "list") - - -class NetfilterImp_4_9_to_4_14(AbstractNetfilter): - """In this range of kernel versions, the doubly-linked lists of netfilter hooks were - replaced by an array of arrays of 'nf_hook_entry' pointers in a singly-linked lists. - struct net { ... struct netns_nf nf; ... } - struct netns_nf { .. - struct nf_hook_entry __rcu *hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; ... } - - Also in v4.10 the struct nf_hook_entry changed, a hook function pointer was added to - it. However, for simplicity of this design, we will still take the hook address from - the 'nf_hook_ops'. As per v5.0-rc2, the hook address is duplicated in both sides. - - v4.9: - struct nf_hook_entry { - struct nf_hook_entry *next; - struct nf_hook_ops ops; - const struct nf_hook_ops *orig_ops; }; - - v4.10: - struct nf_hook_entry { - struct nf_hook_entry *next; - nf_hookfn *hook; - void *priv; - const struct nf_hook_ops *orig_ops; }; - (*) Even though the hook address is in the struct 'nf_hook_entry', we use the - original 'nf_hook_ops' hook address value, the one which was filled by the user, to - make it uniform to all the implementations. - """ - - @classmethod - def symtab_checks(cls, vmlinux) -> bool: - hooks_type = ["array", "array", "pointer", "nf_hook_entry"] - return ( - vmlinux.has_symbol("net_namespace_list") - and vmlinux.has_type("netns_nf") - and vmlinux.get_type("netns_nf").has_member("hooks") - and cls.get_member_type(vmlinux.get_type("netns_nf"), "hooks") == hooks_type - ) - - def _get_hook_ops(self, hook_container, proto_idx, hook_idx): - list_head = hook_container[proto_idx][hook_idx] - nf_hooks_ops_name = self.get_symbol_fullname("nf_hook_ops") - return list_head.to_list(nf_hooks_ops_name, "list") - - def get_hook_ops(self, hook_container, proto_idx, hook_idx): - nf_hook_entry_list = hook_container[proto_idx][hook_idx] - while nf_hook_entry_list: - yield nf_hook_entry_list.orig_ops - nf_hook_entry_list = nf_hook_entry_list.next - - -class NetfilterImp_4_14_to_4_16(AbstractNetfilter): - """'nf_hook_ops' was removed from struct 'nf_hook_entry'. Instead, it was stored - adjacent in memory to the 'nf_hook_entry' array, in the new struct 'nf_hook_entries' - However, 'orig_ops' is not part of the 'nf_hook_entries' struct definition. So, we - have to craft it by hand. - - struct net { ... struct netns_nf nf; ... } - struct netns_nf { - struct nf_hook_entries *hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; ... } - struct nf_hook_entries { - u16 num_hook_entries; /* plus padding */ - struct nf_hook_entry hooks[]; - //const struct nf_hook_ops *orig_ops[]; } - struct nf_hook_entry { - nf_hookfn *hook; - void *priv; } - - (*) Even though the hook address is in the struct 'nf_hook_entry', we use the - original 'nf_hook_ops' hook address value, the one which was filled by the user, to - make it uniform to all the implementations. - """ - - @classmethod - def symtab_checks(cls, vmlinux) -> bool: - hooks_type = ["array", "array", "pointer", "nf_hook_entries"] - return ( - vmlinux.has_symbol("net_namespace_list") - and vmlinux.has_type("netns_nf") - and vmlinux.get_type("netns_nf").has_member("hooks") - and cls.get_member_type(vmlinux.get_type("netns_nf"), "hooks") == hooks_type - ) - - def get_nf_hook_entries(self, nf_hooks_addr, proto_idx, hook_idx): - """This allows to support different hook array implementations from this version - on. For instance, in kernels >= 4.16 this multi-dimensional array is split in - one-dimensional array of pointers to 'nf_hooks_entries' per each protocol.""" - return nf_hooks_addr[proto_idx][hook_idx] - - def get_hook_ops(self, hook_container, proto_idx, hook_idx): - nf_hook_entries = self.get_nf_hook_entries(hook_container, proto_idx, hook_idx) - if not nf_hook_entries: - return - - nf_hook_ops_name = self.get_symbol_fullname("nf_hook_ops") - nf_hook_ops_ptr_arr = self.build_nf_hook_ops_array(nf_hook_entries) - if not nf_hook_ops_ptr_arr: - return - - for nf_hook_ops_ptr in nf_hook_ops_ptr_arr: - nf_hook_ops = nf_hook_ops_ptr.dereference().cast(nf_hook_ops_name) - yield nf_hook_ops - - -class NetfilterImp_4_16_to_latest(NetfilterImp_4_14_to_4_16): - """The multidimensional array of nf_hook_entries was split in a one-dimensional - array per each protocol. - - struct net { - struct netns_nf nf; ... } - struct netns_nf { - struct nf_hook_entries * hooks_ipv4[NF_INET_NUMHOOKS]; - struct nf_hook_entries * hooks_ipv6[NF_INET_NUMHOOKS]; - struct nf_hook_entries * hooks_arp[NF_ARP_NUMHOOKS]; - struct nf_hook_entries * hooks_bridge[NF_INET_NUMHOOKS]; - struct nf_hook_entries * hooks_decnet[NF_DN_NUMHOOKS]; ... } - struct nf_hook_entries { - u16 num_hook_entries; /* plus padding */ - struct nf_hook_entry hooks[]; - //const struct nf_hook_ops *orig_ops[]; } - struct nf_hook_entry { - nf_hookfn *hook; - void *priv; } - - (*) Even though the hook address is in the struct nf_hook_entry, we use the original - nf_hook_ops hook address value, the one which was filled by the user, to make it - uniform to all the implementations. - """ - - @classmethod - def symtab_checks(cls, vmlinux) -> bool: - return ( - vmlinux.has_symbol("net_namespace_list") - and vmlinux.has_type("netns_nf") - and vmlinux.get_type("netns_nf").has_member("hooks_ipv4") - ) - - def get_hooks_container(self, net, proto_name, hook_name): - try: - if proto_name == "IPV4": - net_nf_hooks = net.nf.hooks_ipv4 - elif proto_name == "ARP": - net_nf_hooks = net.nf.hooks_arp - elif proto_name == "BRIDGE": - net_nf_hooks = net.nf.hooks_bridge - elif proto_name == "IPV6": - net_nf_hooks = net.nf.hooks_ipv6 - elif proto_name == "DECNET": - net_nf_hooks = net.nf.hooks_decnet - else: - return - - yield net_nf_hooks - - except AttributeError: - # Protocol family disabled at kernel compilation - # CONFIG_NETFILTER_FAMILY_ARP=n || - # CONFIG_NETFILTER_FAMILY_BRIDGE=n || - # CONFIG_DECNET=n - pass - - def _get_nf_hook_entries_ptr(self, nf_hooks_addr, proto_idx, hook_idx): - nf_hook_entries_ptr = nf_hooks_addr[hook_idx] - return nf_hook_entries_ptr - - def get_nf_hook_entries(self, nf_hooks_addr, proto_idx, hook_idx): - return nf_hooks_addr[hook_idx] - - -class AbstractNetfilterNetDev(AbstractNetfilter): - """Base class to handle the Netfilter NetDev hooks. - It won't be executed. It has some common functions to all Netfilter NetDev hook - implementations. - - Netfilter NetDev hooks are set per network device which belongs to a network - namespace. - """ - - @classmethod - def symtab_checks(cls, vmlinux) -> bool: - return False - - def subscribed_protocols(self): - return ("NETDEV",) - - def get_hooks_container(self, net, proto_name, hook_name): - net_device_type = self.vmlinux.get_type("net_device") - net_device_name = self.get_symbol_fullname("net_device") - for net_device in net.dev_base_head.to_list(net_device_name, "dev_list"): - if hook_name == "INGRESS": - if net_device_type.has_member("nf_hooks_ingress"): - # CONFIG_NETFILTER_INGRESS=y - yield net_device.nf_hooks_ingress - - elif hook_name == "EGRESS": - if net_device_type.has_member("nf_hooks_egress"): - # CONFIG_NETFILTER_EGRESS=y - yield net_device.nf_hooks_egress - - -class NetfilterNetDevImp_4_2_to_4_9(AbstractNetfilterNetDev): - """This is the first version of Netfilter Ingress hooks which was implemented using - a doubly-linked list of 'nf_hook_ops'. - struct list_head nf_hooks_ingress; - """ - - @classmethod - def symtab_checks(cls, vmlinux) -> bool: - hooks_type = ["list_head"] - return ( - vmlinux.has_symbol("net_namespace_list") - and vmlinux.has_type("net_device") - and vmlinux.get_type("net_device").has_member("nf_hooks_ingress") - and cls.get_member_type(vmlinux.get_type("net_device"), "nf_hooks_ingress") - == hooks_type - ) - - def get_hook_ops(self, hook_container, proto_idx, hook_idx): - nf_hooks_ingress = hook_container - nf_hook_ops_name = self.get_symbol_fullname("nf_hook_ops") - return nf_hooks_ingress.to_list(nf_hook_ops_name, "list") - - -class NetfilterNetDevImp_4_9_to_4_14(AbstractNetfilterNetDev): - """In 4.9 it was changed to a simple singly-linked list. - struct nf_hook_entry * nf_hooks_ingress; - """ - - @classmethod - def symtab_checks(cls, vmlinux) -> bool: - hooks_type = ["pointer", "nf_hook_entry"] - return ( - vmlinux.has_symbol("net_namespace_list") - and vmlinux.has_type("net_device") - and vmlinux.get_type("net_device").has_member("nf_hooks_ingress") - and cls.get_member_type(vmlinux.get_type("net_device"), "nf_hooks_ingress") - == hooks_type - ) - - def get_hook_ops(self, hook_container, proto_idx, hook_idx): - nf_hooks_ingress_ptr = hook_container - if not nf_hooks_ingress_ptr: - return - - while nf_hooks_ingress_ptr: - nf_hook_entry = nf_hooks_ingress_ptr.dereference() - orig_ops = nf_hook_entry.orig_ops.dereference() - yield orig_ops - nf_hooks_ingress_ptr = nf_hooks_ingress_ptr.next - - -class NetfilterNetDevImp_4_14_to_latest(AbstractNetfilterNetDev): - """In 4.14 the hook list was converted to an array of pointers inside the struct - 'nf_hook_entries': - struct nf_hook_entries * nf_hooks_ingress; - struct nf_hook_entries { - u16 num_hook_entries; - struct nf_hook_entry hooks[]; - //const struct nf_hook_ops *orig_ops[]; } - """ - - @classmethod - def symtab_checks(cls, vmlinux) -> bool: - hooks_type = ["pointer", "nf_hook_entries"] - return ( - vmlinux.has_symbol("net_namespace_list") - and vmlinux.has_type("net_device") - and vmlinux.get_type("net_device").has_member("nf_hooks_ingress") - and cls.get_member_type(vmlinux.get_type("net_device"), "nf_hooks_ingress") - == hooks_type - ) - - def get_hook_ops(self, hook_container, proto_idx, hook_idx): - nf_hook_entries = hook_container - if not nf_hook_entries: - return - - nf_hook_ops_name = self.get_symbol_fullname("nf_hook_ops") - nf_hook_ops_ptr_arr = self.build_nf_hook_ops_array(nf_hook_entries) - if not nf_hook_ops_ptr_arr: - return - - for nf_hook_ops_ptr in nf_hook_ops_ptr_arr: - nf_hook_ops = nf_hook_ops_ptr.dereference().cast(nf_hook_ops_name) - yield nf_hook_ops - - -class Netfilter(interfaces.plugins.PluginInterface): - """Lists Netfilter hooks.""" - - _required_framework_version = (2, 22, 0) +class Netfilter( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=netfilter.Netfilter, + removal_date="2026-06-07", +): + """Lists Netfilter hooks (deprecated).""" _version = (2, 0, 0) - - _required_linux_utilities_modules_version = (3, 0, 0) - _required_linuxutils_gatherers_version = (1, 0, 0) - _required_linuxnet_version = (1, 0, 0) - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="linux_utilities_module_gatherers", - component=linux_utilities_modules.ModuleGatherers, - version=cls._required_linuxutils_gatherers_version, - ), - requirements.VersionRequirement( - name="linuxnet", - component=network.NetSymbols, - version=cls._required_linuxnet_version, - ), - ] - - def _format_fields(self, fields): - ( - netns, - proto_name, - hook_name, - priority, - hook_func, - module_info, - symbol_name, - hooked, - ) = fields - - if module_info: - module_name = module_info.name - else: - module_name = renderers.NotAvailableValue() - - return ( - netns, - proto_name, - hook_name, - priority, - format_hints.Hex(hook_func), - module_name, - symbol_name or renderers.NotAvailableValue(), - str(hooked), - ) - - def _generator(self): - kernel_module_name = self.config["kernel"] - for fields in AbstractNetfilter.run_all( - context=self.context, kernel_module_name=kernel_module_name - ): - yield (0, self._format_fields(fields)) - - def run(self): - headers = [ - ("Net NS", int), - ("Proto", str), - ("Hook", str), - ("Priority", int), - ("Handler", format_hints.Hex), - ("Module", str), - ("Symbol", str), - ("Is Hooked", str), - ] - return renderers.TreeGrid(headers, self._generator()) + _required_framework_version = (2, 22, 0) From e3877f68ec463a8f39b946014214e5cbaf8a52b5 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Tue, 10 Jun 2025 19:37:57 +0300 Subject: [PATCH 1972/2186] Plugins: categorize linux.tty_check as a malware plugin --- test/plugins/linux/linux.py | 2 +- .../plugins/linux/malware/tty_check.py | 119 +++++++++++++++++ .../framework/plugins/linux/tty_check.py | 120 ++---------------- 3 files changed, 131 insertions(+), 110 deletions(-) create mode 100644 volatility3/framework/plugins/linux/malware/tty_check.py diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index c7f1df9c6..99fb4136a 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -89,7 +89,7 @@ class TestLinuxProcMaps: class TestLinuxTtyCheck: def test_linux_generic_tty_check(self, image, volatility, python): rc, out, _err = test_volatility.runvol_plugin( - "linux.tty_check.tty_check", image, volatility, python + "linux.malware.tty_check.tty_check", image, volatility, python ) assert rc == 0 diff --git a/volatility3/framework/plugins/linux/malware/tty_check.py b/volatility3/framework/plugins/linux/malware/tty_check.py new file mode 100644 index 000000000..1547c5cc6 --- /dev/null +++ b/volatility3/framework/plugins/linux/malware/tty_check.py @@ -0,0 +1,119 @@ +# This file is Copyright 2020 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from typing import List + +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules +from volatility3.framework import interfaces, renderers, exceptions, constants +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import linux + +vollog = logging.getLogger(__name__) + + +class Tty_Check(plugins.PluginInterface): + """Checks tty devices for hooks""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(3, 0, 0), + ), + requirements.VersionRequirement( + name="linux_utilities_module_gatherers", + component=linux_utilities_modules.ModuleGatherers, + version=(1, 0, 0), + ), + requirements.VersionRequirement( + name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) + ), + ] + + def _generator(self): + vmlinux = self.context.modules[self.config["kernel"]] + + try: + tty_drivers = vmlinux.object_from_symbol("tty_drivers").cast("list_head") + except exceptions.SymbolError: + tty_drivers = None + + if not tty_drivers: + raise TypeError( + "This plugin requires the tty_drivers structure." + "This structure is not present in the supplied symbol table." + "This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." + ) + + known_modules = linux_utilities_modules.Modules.run_modules_scanners( + context=self.context, + kernel_module_name=self.config["kernel"], + caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, + ) + + for tty in tty_drivers.to_list( + vmlinux.symbol_table_name + constants.BANG + "tty_driver", "tty_drivers" + ): + try: + ttys = utility.array_of_pointers( + tty.ttys.dereference(), + count=tty.num, + subtype=vmlinux.symbol_table_name + constants.BANG + "tty_struct", + context=self.context, + ) + except exceptions.PagedInvalidAddressException: + continue + + for tty_dev in ttys: + if tty_dev == 0: + continue + + try: + name = utility.array_to_string(tty_dev.name) + recv_buf = tty_dev.ldisc.ops.receive_buf + except exceptions.InvalidAddressException: + continue + + module_info, symbol_name = ( + linux_utilities_modules.Modules.module_lookup_by_address( + self.context, vmlinux.name, known_modules, recv_buf + ) + ) + + if module_info: + module_name = module_info.name + else: + module_name = renderers.NotAvailableValue() + + yield 0, ( + name, + format_hints.Hex(recv_buf), + module_name, + symbol_name or renderers.NotAvailableValue(), + ) + + def run(self): + return renderers.TreeGrid( + [ + ("Name", str), + ("Address", format_hints.Hex), + ("Module", str), + ("Symbol", str), + ], + self._generator(), + ) diff --git a/volatility3/framework/plugins/linux/tty_check.py b/volatility3/framework/plugins/linux/tty_check.py index 7d30b84ee..36bfb1b5a 100644 --- a/volatility3/framework/plugins/linux/tty_check.py +++ b/volatility3/framework/plugins/linux/tty_check.py @@ -1,118 +1,20 @@ -# This file is Copyright 2020 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # - import logging -from typing import List - -import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import interfaces, renderers, exceptions, constants -from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins -from volatility3.framework.objects import utility -from volatility3.framework.renderers import format_hints -from volatility3.framework.symbols import linux +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.linux.malware import tty_check as ttycheck vollog = logging.getLogger(__name__) -class tty_check(plugins.PluginInterface): - """Checks tty devices for hooks""" +class tty_check( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=ttycheck.Tty_Check, + removal_date="2026-06-07", +): + """Checks tty devices for hooks (deprecated).""" _required_framework_version = (2, 0, 0) - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="linux_utilities_modules", - component=linux_utilities_modules.Modules, - version=(3, 0, 0), - ), - requirements.VersionRequirement( - name="linux_utilities_module_gatherers", - component=linux_utilities_modules.ModuleGatherers, - version=(1, 0, 0), - ), - requirements.VersionRequirement( - name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) - ), - ] - - def _generator(self): - vmlinux = self.context.modules[self.config["kernel"]] - - try: - tty_drivers = vmlinux.object_from_symbol("tty_drivers").cast("list_head") - except exceptions.SymbolError: - tty_drivers = None - - if not tty_drivers: - raise TypeError( - "This plugin requires the tty_drivers structure." - "This structure is not present in the supplied symbol table." - "This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." - ) - - known_modules = linux_utilities_modules.Modules.run_modules_scanners( - context=self.context, - kernel_module_name=self.config["kernel"], - caller_wanted_gatherers=linux_utilities_modules.ModuleGatherers.all_gatherers_identifier, - ) - - for tty in tty_drivers.to_list( - vmlinux.symbol_table_name + constants.BANG + "tty_driver", "tty_drivers" - ): - try: - ttys = utility.array_of_pointers( - tty.ttys.dereference(), - count=tty.num, - subtype=vmlinux.symbol_table_name + constants.BANG + "tty_struct", - context=self.context, - ) - except exceptions.PagedInvalidAddressException: - continue - - for tty_dev in ttys: - if tty_dev == 0: - continue - - try: - name = utility.array_to_string(tty_dev.name) - recv_buf = tty_dev.ldisc.ops.receive_buf - except exceptions.InvalidAddressException: - continue - - module_info, symbol_name = ( - linux_utilities_modules.Modules.module_lookup_by_address( - self.context, vmlinux.name, known_modules, recv_buf - ) - ) - - if module_info: - module_name = module_info.name - else: - module_name = renderers.NotAvailableValue() - - yield 0, ( - name, - format_hints.Hex(recv_buf), - module_name, - symbol_name or renderers.NotAvailableValue(), - ) - - def run(self): - return renderers.TreeGrid( - [ - ("Name", str), - ("Address", format_hints.Hex), - ("Module", str), - ("Symbol", str), - ], - self._generator(), - ) + _version = (1, 0, 0) From 8040c049e0c338e66a4f70671b6976421d2ae361 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Tue, 10 Jun 2025 20:30:05 +0300 Subject: [PATCH 1973/2186] Tests: change class name for tty_check --- test/plugins/linux/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/plugins/linux/linux.py b/test/plugins/linux/linux.py index 99fb4136a..d6fbf5fa8 100644 --- a/test/plugins/linux/linux.py +++ b/test/plugins/linux/linux.py @@ -89,7 +89,7 @@ class TestLinuxProcMaps: class TestLinuxTtyCheck: def test_linux_generic_tty_check(self, image, volatility, python): rc, out, _err = test_volatility.runvol_plugin( - "linux.malware.tty_check.tty_check", image, volatility, python + "linux.malware.tty_check.Tty_Check", image, volatility, python ) assert rc == 0 From 742b0634b931855a74f39fdb3e9ebbe8142ee7db Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 11 Jun 2025 19:30:29 +0300 Subject: [PATCH 1974/2186] readjust _run to contain less code & removal of redundant code --- volatility3/framework/plugins/regexscan.py | 43 ++++++++-------------- 1 file changed, 15 insertions(+), 28 deletions(-) diff --git a/volatility3/framework/plugins/regexscan.py b/volatility3/framework/plugins/regexscan.py index e95986899..1f199658e 100644 --- a/volatility3/framework/plugins/regexscan.py +++ b/volatility3/framework/plugins/regexscan.py @@ -46,12 +46,21 @@ class RegExScan(plugins.PluginInterface): ), ] - def _generator(self, compiled_pattern, raw_pattern, maxsize): - vollog.debug(f"RegEx Pattern: {raw_pattern}") - layer = self.context.layers[self.config["primary"]] + def _generator(self, layer, pattern, maxsize): + vollog.debug(f"RegEx Pattern: {pattern}") + + # Convert string pattern to bytes for RegExScanner + pattern_bytes = pattern.encode("utf-8") + + # Compile the pattern here to ensure consistency + try: + compiled_pattern = re.compile(pattern_bytes) + except re.error as e: + vollog.error(f"Invalid regex pattern: {e}") + raise ValueError(f"Invalid regex pattern: {e}") for offset in layer.scan( - context=self.context, scanner=scanners.RegExScanner(raw_pattern) + context=self.context, scanner=scanners.RegExScanner(pattern_bytes) ): result_data = layer.read(offset, maxsize, pad=True) @@ -73,30 +82,8 @@ class RegExScan(plugins.PluginInterface): def run(self): pattern = self.config.get("pattern") - - # Handle pattern encoding robustly - if isinstance(pattern, str): - try: - raw_pattern = pattern.encode("utf-8") - except UnicodeEncodeError: - raw_pattern = pattern.encode("latin1", errors="replace") - else: - raw_pattern = pattern - - try: - compiled_pattern = re.compile(raw_pattern) - except re.error as e: - vollog.error(f"Invalid regex pattern: {e}") - return renderers.TreeGrid( - [ - ("Offset", format_hints.Hex), - ("Text", str), - ("Hex", bytes), - ], - [], - ) - maxsize = self.config.get("maxsize", self.MAXSIZE_DEFAULT) + layer = self.context.layers[self.config["primary"]] return renderers.TreeGrid( [ @@ -104,5 +91,5 @@ class RegExScan(plugins.PluginInterface): ("Text", str), ("Hex", bytes), ], - self._generator(compiled_pattern, raw_pattern, maxsize), + self._generator(layer, pattern, maxsize), ) From c270cf4b15123662c2ca2d0af48bc5144fafd78e Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Thu, 12 Jun 2025 20:09:28 +0300 Subject: [PATCH 1975/2186] RegexScan: parameterize _generator --- volatility3/framework/plugins/regexscan.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/regexscan.py b/volatility3/framework/plugins/regexscan.py index 1f199658e..2c188ba4c 100644 --- a/volatility3/framework/plugins/regexscan.py +++ b/volatility3/framework/plugins/regexscan.py @@ -46,7 +46,8 @@ class RegExScan(plugins.PluginInterface): ), ] - def _generator(self, layer, pattern, maxsize): + def _generator(self, context, layer_name, pattern, maxsize): + layer = self.context.layers[layer_name] vollog.debug(f"RegEx Pattern: {pattern}") # Convert string pattern to bytes for RegExScanner @@ -60,7 +61,7 @@ class RegExScan(plugins.PluginInterface): raise ValueError(f"Invalid regex pattern: {e}") for offset in layer.scan( - context=self.context, scanner=scanners.RegExScanner(pattern_bytes) + context=context, scanner=scanners.RegExScanner(pattern_bytes) ): result_data = layer.read(offset, maxsize, pad=True) @@ -83,7 +84,8 @@ class RegExScan(plugins.PluginInterface): def run(self): pattern = self.config.get("pattern") maxsize = self.config.get("maxsize", self.MAXSIZE_DEFAULT) - layer = self.context.layers[self.config["primary"]] + layer_name = self.config["primary"] + context = self.context return renderers.TreeGrid( [ @@ -91,5 +93,5 @@ class RegExScan(plugins.PluginInterface): ("Text", str), ("Hex", bytes), ], - self._generator(layer, pattern, maxsize), + self._generator(context, layer_name, pattern, maxsize), ) From 215ba1dfaad2b32f9d07b2d615ee6b92166be8be Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Fri, 13 Jun 2025 17:42:17 +0300 Subject: [PATCH 1976/2186] Plugins: categorize ldrmodules as a malware plugin --- test/plugins/windows/windows.py | 26 ++-- .../framework/plugins/windows/ldrmodules.py | 126 ++--------------- .../plugins/windows/malware/ldrmodules.py | 128 ++++++++++++++++++ 3 files changed, 151 insertions(+), 129 deletions(-) create mode 100644 volatility3/framework/plugins/windows/malware/ldrmodules.py diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index 0f44ba533..431461b6d 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -58,6 +58,7 @@ class TestWindowsPslist: } assert test_volatility.match_output_row(expected_row, json.loads(out)) + class TestWindowsTimeliner: def test_windows_specific_timeliner(self, volatility, python): image = WindowsSamples.WINDOWSXP_GENERIC.value.path @@ -67,6 +68,7 @@ class TestWindowsTimeliner: assert rc == 0 assert out.count(b"\n") > 10 + class TestWindowsPsscan: def test_windows_specific_psscan(self, volatility, python): image = WindowsSamples.WINDOWSXP_GENERIC.value.path @@ -780,19 +782,19 @@ class TestWindowsSymlinkScan: assert test_volatility.count_entries_flat(json_out) > 5 expected_rows = [ { - "CreateTime": "2005-06-25T16:47:28+00:00", - "From Name": "AUX", - "Offset": 453082584, - "To Name": "\\DosDevices\\COM1", - "__children": [] + "CreateTime": "2005-06-25T16:47:28+00:00", + "From Name": "AUX", + "Offset": 453082584, + "To Name": "\\DosDevices\\COM1", + "__children": [], }, { - "CreateTime": "2005-06-25T16:47:28+00:00", - "From Name": "UNC", - "Offset": 453176664, - "To Name": "\\Device\\Mup", - "__children": [] - } + "CreateTime": "2005-06-25T16:47:28+00:00", + "From Name": "UNC", + "Offset": 453176664, + "To Name": "\\Device\\Mup", + "__children": [], + }, ] for expected_row in expected_rows: @@ -803,7 +805,7 @@ class TestWindowsLdrModules: def test_windows_specific_ldrmodules(self, volatility, python): image = WindowsSamples.WINDOWSXP_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( - "windows.ldrmodules.LdrModules", + "windows.malware.ldrmodules.LdrModules", image, volatility, python, diff --git a/volatility3/framework/plugins/windows/ldrmodules.py b/volatility3/framework/plugins/windows/ldrmodules.py index 32432c44e..efb62f8f6 100644 --- a/volatility3/framework/plugins/windows/ldrmodules.py +++ b/volatility3/framework/plugins/windows/ldrmodules.py @@ -1,128 +1,20 @@ -# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # - import logging - -from volatility3.framework import constants, exceptions, interfaces, renderers -from volatility3.framework.configuration import requirements -from volatility3.framework.renderers import format_hints -from volatility3.framework.symbols import intermed -from volatility3.framework.symbols.windows.extensions import pe -from volatility3.plugins.windows import pslist, vadinfo +from volatility3.framework import interfaces, deprecation +from volatility3.plugins.windows.malware import ldrmodules vollog = logging.getLogger(__name__) -class LdrModules(interfaces.plugins.PluginInterface): +class LdrModules( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=ldrmodules.LdrModules, + removal_date="2026-06-07", +): """Lists the loaded modules in a particular windows memory image.""" _required_framework_version = (2, 0, 0) _version = (1, 0, 1) - - @classmethod - def get_requirements(cls): - return [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(3, 0, 0) - ), - requirements.VersionRequirement( - name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) - ), - requirements.ListRequirement( - name="pid", - element_type=int, - description="Process IDs to include (all other processes are excluded)", - optional=True, - ), - ] - - def _generator(self, procs): - pe_table_name = intermed.IntermediateSymbolTable.create( - self.context, self.config_path, "windows", "pe", class_types=pe.class_types - ) - - for proc in procs: - proc_layer_name = proc.add_process_layer() - - # Build dictionaries from different module lists, where the DllBase address is the key and value is the module object - load_order_mod = dict( - (mod.DllBase, mod) for mod in proc.load_order_modules() - ) - init_order_mod = dict( - (mod.DllBase, mod) for mod in proc.init_order_modules() - ) - mem_order_mod = dict((mod.DllBase, mod) for mod in proc.mem_order_modules()) - - # Build dictionary of mapped files, where the VAD start address is the key and value is the file name of the mapped file - mapped_files = {} - for vad in vadinfo.VadInfo.list_vads(proc): - dos_header = self.context.object( - pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", - offset=vad.get_start(), - layer_name=proc_layer_name, - ) - try: - # Filter out VADs that do not start with a MZ header - if dos_header.e_magic != 0x5A4D: - continue - except exceptions.InvalidAddressException: - vollog.log( - constants.LOGLEVEL_VVVV, - f"Skipping vad at {hex(dos_header.vol.offset)} due to InvalidAddressException", - ) - continue - - mapped_files[vad.get_start()] = vad.get_file_name() - - for base in mapped_files.keys(): - # Does the base address exist in the PEB DLL lists? - load_mod = load_order_mod.get(base, None) - init_mod = init_order_mod.get(base, None) - mem_mod = mem_order_mod.get(base, None) - - yield ( - 0, - [ - int(proc.UniqueProcessId), - str( - proc.ImageFileName.cast( - "string", - max_length=proc.ImageFileName.vol.count, - errors="replace", - ) - ), - format_hints.Hex(base), - load_mod is not None, - init_mod is not None, - mem_mod is not None, - mapped_files[base], - ], - ) - - def run(self): - filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) - - return renderers.TreeGrid( - [ - ("Pid", int), - ("Process", str), - ("Base", format_hints.Hex), - ("InLoad", bool), - ("InInit", bool), - ("InMem", bool), - ("MappedPath", str), - ], - self._generator( - pslist.PsList.list_processes( - context=self.context, - kernel_module_name=self.config["kernel"], - filter_func=filter_func, - ) - ), - ) diff --git a/volatility3/framework/plugins/windows/malware/ldrmodules.py b/volatility3/framework/plugins/windows/malware/ldrmodules.py new file mode 100644 index 000000000..32432c44e --- /dev/null +++ b/volatility3/framework/plugins/windows/malware/ldrmodules.py @@ -0,0 +1,128 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging + +from volatility3.framework import constants, exceptions, interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols import intermed +from volatility3.framework.symbols.windows.extensions import pe +from volatility3.plugins.windows import pslist, vadinfo + +vollog = logging.getLogger(__name__) + + +class LdrModules(interfaces.plugins.PluginInterface): + """Lists the loaded modules in a particular windows memory image.""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 1) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="vadinfo", component=vadinfo.VadInfo, version=(2, 0, 0) + ), + requirements.ListRequirement( + name="pid", + element_type=int, + description="Process IDs to include (all other processes are excluded)", + optional=True, + ), + ] + + def _generator(self, procs): + pe_table_name = intermed.IntermediateSymbolTable.create( + self.context, self.config_path, "windows", "pe", class_types=pe.class_types + ) + + for proc in procs: + proc_layer_name = proc.add_process_layer() + + # Build dictionaries from different module lists, where the DllBase address is the key and value is the module object + load_order_mod = dict( + (mod.DllBase, mod) for mod in proc.load_order_modules() + ) + init_order_mod = dict( + (mod.DllBase, mod) for mod in proc.init_order_modules() + ) + mem_order_mod = dict((mod.DllBase, mod) for mod in proc.mem_order_modules()) + + # Build dictionary of mapped files, where the VAD start address is the key and value is the file name of the mapped file + mapped_files = {} + for vad in vadinfo.VadInfo.list_vads(proc): + dos_header = self.context.object( + pe_table_name + constants.BANG + "_IMAGE_DOS_HEADER", + offset=vad.get_start(), + layer_name=proc_layer_name, + ) + try: + # Filter out VADs that do not start with a MZ header + if dos_header.e_magic != 0x5A4D: + continue + except exceptions.InvalidAddressException: + vollog.log( + constants.LOGLEVEL_VVVV, + f"Skipping vad at {hex(dos_header.vol.offset)} due to InvalidAddressException", + ) + continue + + mapped_files[vad.get_start()] = vad.get_file_name() + + for base in mapped_files.keys(): + # Does the base address exist in the PEB DLL lists? + load_mod = load_order_mod.get(base, None) + init_mod = init_order_mod.get(base, None) + mem_mod = mem_order_mod.get(base, None) + + yield ( + 0, + [ + int(proc.UniqueProcessId), + str( + proc.ImageFileName.cast( + "string", + max_length=proc.ImageFileName.vol.count, + errors="replace", + ) + ), + format_hints.Hex(base), + load_mod is not None, + init_mod is not None, + mem_mod is not None, + mapped_files[base], + ], + ) + + def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + return renderers.TreeGrid( + [ + ("Pid", int), + ("Process", str), + ("Base", format_hints.Hex), + ("InLoad", bool), + ("InInit", bool), + ("InMem", bool), + ("MappedPath", str), + ], + self._generator( + pslist.PsList.list_processes( + context=self.context, + kernel_module_name=self.config["kernel"], + filter_func=filter_func, + ) + ), + ) From e37ed0e806d1028a4766289626551fd8fac4c099 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 14 Jun 2025 23:08:15 +0300 Subject: [PATCH 1977/2186] Plugins: categorize direct_system_calls as a malware plugin --- .../plugins/windows/direct_system_calls.py | 432 +--------------- .../windows/malware/direct_system_calls.py | 472 ++++++++++++++++++ 2 files changed, 483 insertions(+), 421 deletions(-) create mode 100644 volatility3/framework/plugins/windows/malware/direct_system_calls.py diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index dce09605b..9616696d8 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -1,28 +1,13 @@ -# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # - import logging - +from volatility3.framework import interfaces, deprecation from collections import namedtuple -from typing import List, Tuple, Optional, Generator, Callable - -from volatility3.framework.objects import utility -from volatility3.framework import interfaces, renderers, symbols, exceptions -from volatility3.framework.configuration import requirements -from volatility3.plugins import yarascan -from volatility3.framework.renderers import format_hints -from volatility3.plugins.windows import pslist +from volatility3.plugins.windows.malware import direct_system_calls vollog = logging.getLogger(__name__) -try: - import capstone - - has_capstone = True -except ImportError: - has_capstone = False - # Full details on the techniques used in these plugins to detect EDR-evading malware # can be found in our 20 page whitepaper submitted to DEFCON along with the presentation # https://www.volexity.com/wp-content/uploads/2024/08/Defcon24_EDR_Evasion_Detection_White-Paper_Andrew-Case.pdf @@ -38,19 +23,13 @@ syscall_finder_type = namedtuple( ], ) -syscall_finder_type.__doc__ = """ -This type is used to specify how malicious system call invocations should be found. - -`get_syscall_target_address` is optionally used to extract the address containing the malicious 'syscall' instruction -`wants_syscall_inst` whether or not this method expects the 'syscall' instruction directly within the malicious code block -`rule` the opcode string to search for the malicious syscall instructions -`invalid_ops` instructions that only appear in invalid code blocks. Stops processing of the code block when encountered. -`termination_ops` instructions that are expected to be present in the code block and that stop processing -""" - - -class DirectSystemCalls(interfaces.plugins.PluginInterface): - """Detects the Direct System Call technique used to bypass EDRs""" +class DirectSystemCalls( + interfaces.plugins.PluginInterface, + deprecation.PluginRenameClass, + replacement_class=direct_system_calls.DirectSystemCalls, + removal_date="2026-06-07", +): + """Detects the Direct System Call technique used to bypass EDRs (deprecated).""" _required_framework_version = (2, 4, 0) @@ -80,393 +59,4 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): ["jmp", "call", "leave", "int3"], # the expected form is to end with a "ret" back to the calling code ["ret"], - ) - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - # create a list of requirements for vadyarascan - vadyarascan_requirements = [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="pslist", component=pslist.PsList, version=(3, 0, 0) - ), - requirements.VersionRequirement( - name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) - ), - requirements.VersionRequirement( - name="yarascan", component=yarascan.YaraScan, version=(2, 0, 0) - ), - ] - - # get base yarascan requirements for command line options - yarascan_requirements = yarascan.YaraScan.get_yarascan_option_requirements() - - # return the combined requirements - return yarascan_requirements + vadyarascan_requirements - - @staticmethod - def _is_syscall_block( - disasm_func: Callable, - syscall_finder: syscall_finder_type, - data: bytes, - address: int, - ) -> Optional[Tuple[str, "capstone._cs_insn"]]: - """ - Determines if the bytes starting at `data` represent a valid syscall instruction invocation block - - To maliciously invoke the system call instruction, malware must do each of the following: - - 1) update RAX to the system call number - 2) update R10 to the first parameter - 3) hit the 'termination' instruction set in `syscall_finder_type` - - We also track whether the 'syscall' instruction was encountered while parsing - - This function is reusable for every technique we found and studied during the DEFCON research timeframe - - Args: - disasm_func: capstone disassembly function gathered from `get_disasm_function` - syscall_finder: the method and constraints on the malicious system call blocks that the calling plugin knows how to find - data: the bytes from memory to search for malicious syscall invocations - address: the address from where `data` came from in the particular process - Returns: - Optional[Tuple[str, capstone._cs_insn]]: For valid blocks, the disassembled bytes in string from and the last (termination) instruction - """ - found_movr10 = False - found_movreax = False - found_syscall = False - found_end = False - end_inst = None - - disasm_bytes = "" - - for inst in disasm_func(data, address): - disasm_bytes += f"{inst.address:#x}: {inst.mnemonic} {inst.op_str}; " - - # an instruction of all 0x00 opcodes - if inst.opcode.count(0) == len(inst.opcode): - break - - op = inst.mnemonic - - # invalid op, bail - if op in syscall_finder.invalid_ops: - break - - # found the end instruction wanted by the caller - elif op in syscall_finder.termination_ops: - found_end = True - end_inst = inst - break - - # track this no matter what to make code more re-usable - elif op == "syscall": - found_syscall = True - - # if we hit a 'syscall' but RAX or R10 haven't been touched - # then we are in an invalid path, so bail - if not syscall_finder.wants_syscall_inst or ( - not (found_movr10 and found_movreax) - ): - break - - else: - # attempt to see if any other instruction type wrote to registers - try: - _, regs_written = inst.regs_access() - except capstone.CsError: - continue - - if regs_written: - for r in regs_written: - # track writes to eax/rax or R10 - reg = inst.reg_name(r) - if reg in ["eax", "rax"]: - found_movreax = True - - elif reg == "r10": - found_movr10 = True - - # if any of these are missing, the block is invalid regardless of - # the technique we are trying to detect now or in the future - if not (found_movr10 and found_movreax and found_end): - return None - - # if the finder requires a 'syscall' instruction then bail now if we didn't find one - if syscall_finder.wants_syscall_inst and not found_syscall: - return None - - return disasm_bytes, end_inst - - @classmethod - def get_disasm_function(cls, architecture: str) -> Callable: - """ - Returns the disassembly handler for the given architecture - .detail is used to get full instruction information - - Args: - architecture: the name of the architecture for the process being disassembled - Returns: - The disasm function from capstone for the given architecture - """ - disasm_types = { - "intel": capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_32), - "intel64": capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_64), - } - - disasm_type = disasm_types[architecture] - disasm_type.detail = True - return disasm_type.disasm - - @classmethod - def _is_valid_syscall( - cls, - syscall_finder: syscall_finder_type, - proc_layer: interfaces.layers.DataLayerInterface, - architecture: str, - vads: List[Tuple[int, int, str]], - address: int, - ) -> Optional[Tuple[int, str]]: - """ - Args: - syscall_finder: - proc_layer: the memory layer of the process being scanned - architecture: the name of the architecture for the process being disassembled - vads: the ranges of this process under 10MB - address: the starting address to check for malicious syscall code blocks - - Returns: - Optional[Tuple[int, str]]: For valid code blocks, the starting address of the block and the disassembly string - """ - # the number bytes behind the yara rule hit to scan - behind = 32 - - address = address - behind - - try: - data = proc_layer.read(address, behind * 2) - except exceptions.InvalidAddressException: - return None - - disasm_func = cls.get_disasm_function(architecture) - - # since Intel does not have fixed-size instructions, we have to scan - # each byte offset and re-disassemble the remaining block - for offset in range(behind): - # if this looks like a system call back (r10, rax, ret/jmp) - syscall_info = cls._is_syscall_block( - disasm_func, syscall_finder, data[offset:], address + offset - ) - if syscall_info: - disasm_bytes, end_inst = syscall_info - - # if we can recover (and require) a target address for this malware technique - if syscall_finder.get_syscall_target_address: - target_address = syscall_finder.get_syscall_target_address( - proc_layer, end_inst - ) - - # could not determine the address -> invalid basic block - if not target_address: - continue - - # we only care about calls to system call DLLs - path = cls.get_range_path(vads, target_address) - if not isinstance(path, str) or not path.lower().endswith( - cls.valid_syscall_handlers - ): - continue - - # return the address and disassembly string if all checks pass - return address + offset, disasm_bytes - - return None - - @classmethod - def get_vad_maps( - cls, - task: interfaces.objects.ObjectInterface, - ) -> List[Tuple[int, int, str]]: - """Creates a map of start/end addresses within a virtual address - descriptor tree. - - Args: - task: The EPROCESS object of which to traverse the vad tree - - Returns: - An iterable of tuples containing start and end addresses for each descriptor - """ - vads: List[Tuple[int, int, str]] = [] - - # scan regions under 10MB - scan_max = 10 * 1000 * 1000 - - vad_root = task.get_vad_root() - - for vad in vad_root.traverse(): - if vad.get_size() < scan_max: - vads.append((vad.get_start(), vad.get_size(), vad.get_file_name())) - - return vads - - @classmethod - def get_range_path( - cls, ranges: List[Tuple[int, int, str]], address: int - ) -> Optional[str]: - """ - Returns the path for the range holding `address`, if found - - Args: - ranges: VADs collected from `get_vad_maps` - address: the address to find - Returns: - The path holding the address, if any - """ - for start, size, path in ranges: - if start <= address < start + size: - return path - - return None - - @classmethod - def get_tasks_to_scan( - cls, - context: interfaces.context.ContextInterface, - kernel_module_name: str, - ) -> Generator[ - Tuple[interfaces.objects.ObjectInterface, str, str, str], None, None - ]: - """ - Gathers active processes with the extra information needed - to detect malicious syscall instructions - - Returns: - Generator of the process object, name, memory layer, and architecture - """ - - # gather active processes - filter_func = pslist.PsList.create_active_process_filter() - - kernel = context.modules[kernel_module_name] - - is_32bit_arch = not symbols.symbol_table_is_64bit( - context=context, symbol_table_name=kernel.symbol_table_name - ) - - for proc in pslist.PsList.list_processes( - context=context, - kernel_module_name=kernel_module_name, - filter_func=filter_func, - ): - proc_name = utility.array_to_string(proc.ImageFileName) - - # skip Defender - if proc_name in ["MsMpEng.exe"]: - continue - - try: - proc_layer_name = proc.add_process_layer() - except exceptions.InvalidAddressException: - continue - - if is_32bit_arch or proc.get_is_wow64(): - architecture = "intel" - else: - architecture = "intel64" - - yield proc, proc_name, proc_layer_name, architecture - - @classmethod - def _get_rule_hits( - cls, - context: interfaces.objects.ObjectInterface, - proc_layer: interfaces.layers.DataLayerInterface, - vads: List[Tuple[int, int, str]], - pattern: str, - ) -> Generator[Tuple[int, Optional[str]], None, None]: - """ - Runs the given opcode rule through Yara and returns the address and file path of hits - - Args: - context: - proc_layer: the layer to scan - vads: the ranges inside of the process being scanned - pattern: the opcodes rule from the plugin to detect a particular EDR-bypass technique - - Returns: - Generator of the address and file path of hits - """ - sections = [(vad[0], vad[1]) for vad in vads] - - rule = yarascan.YaraScanner.get_rule(pattern) - - for hit in proc_layer.scan( - context=context, - scanner=yarascan.YaraScanner(rules=rule), - sections=sections, - ): - address = hit[0] - - path = cls.get_range_path(vads, address) - - # ignore hits in the system call DLLs - if isinstance(path, str) and path.lower().endswith( - cls.valid_syscall_handlers - ): - continue - - yield address, path - - def _generator( - self, - ) -> Generator[Tuple[int, Tuple[str, int, Optional[str], int, str]], None, None]: - if not has_capstone: - vollog.warning( - "capstone is not installed. This plugin requires capstone to operate." - ) - return - - for proc, proc_name, proc_layer_name, architecture in self.get_tasks_to_scan( - self.context, self.config["kernel"] - ): - proc_layer = self.context.layers[proc_layer_name] - - vads = self.get_vad_maps(proc) - if not vads: - continue - - # for each valid process, look for malicious syscall invocations - for address, vad_path in self._get_rule_hits( - self.context, proc_layer, vads, self.syscall_finder.rule_str - ): - syscall_info = self._is_valid_syscall( - self.syscall_finder, proc_layer, architecture, vads, address - ) - if not syscall_info: - continue - - address, disasm_bytes = syscall_info - - yield 0, ( - proc_name, - proc.UniqueProcessId, - vad_path, - format_hints.Hex(address), - disasm_bytes, - ) - - def run(self) -> renderers.TreeGrid: - return renderers.TreeGrid( - [ - ("Process", str), - ("PID", int), - ("Range", str), - ("Address", format_hints.Hex), - ("Disasm", str), - ], - self._generator(), - ) + ) \ No newline at end of file diff --git a/volatility3/framework/plugins/windows/malware/direct_system_calls.py b/volatility3/framework/plugins/windows/malware/direct_system_calls.py new file mode 100644 index 000000000..dce09605b --- /dev/null +++ b/volatility3/framework/plugins/windows/malware/direct_system_calls.py @@ -0,0 +1,472 @@ +# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging + +from collections import namedtuple +from typing import List, Tuple, Optional, Generator, Callable + +from volatility3.framework.objects import utility +from volatility3.framework import interfaces, renderers, symbols, exceptions +from volatility3.framework.configuration import requirements +from volatility3.plugins import yarascan +from volatility3.framework.renderers import format_hints +from volatility3.plugins.windows import pslist + +vollog = logging.getLogger(__name__) + +try: + import capstone + + has_capstone = True +except ImportError: + has_capstone = False + +# Full details on the techniques used in these plugins to detect EDR-evading malware +# can be found in our 20 page whitepaper submitted to DEFCON along with the presentation +# https://www.volexity.com/wp-content/uploads/2024/08/Defcon24_EDR_Evasion_Detection_White-Paper_Andrew-Case.pdf + +syscall_finder_type = namedtuple( + "syscall_finder_type", + [ + "get_syscall_target_address", + "wants_syscall_inst", + "rule_str", + "invalid_ops", + "termination_ops", + ], +) + +syscall_finder_type.__doc__ = """ +This type is used to specify how malicious system call invocations should be found. + +`get_syscall_target_address` is optionally used to extract the address containing the malicious 'syscall' instruction +`wants_syscall_inst` whether or not this method expects the 'syscall' instruction directly within the malicious code block +`rule` the opcode string to search for the malicious syscall instructions +`invalid_ops` instructions that only appear in invalid code blocks. Stops processing of the code block when encountered. +`termination_ops` instructions that are expected to be present in the code block and that stop processing +""" + + +class DirectSystemCalls(interfaces.plugins.PluginInterface): + """Detects the Direct System Call technique used to bypass EDRs""" + + _required_framework_version = (2, 4, 0) + + # 2.0.0 - changes signature of `get_tasks_to_scan` + _version = (2, 0, 0) + + # DLLs that are expected to host system call invocations + valid_syscall_handlers = ("ntdll.dll", "win32u.dll") + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + self.syscall_finder = syscall_finder_type( + # for direct system calls, we find the `syscall` instruction directly, so we already know the address + None, + # yes, we want the syscall instruction present as it is what this technique looks for + True, + # regex to find "\x0f\x05" (syscall) followed later by "\xc3" (ret) + # we allow spacing in between to break naive anti-analysis forms (e.g., TarTarus Gate) + # Standard techniques, such as HellsGate, look like: + # mov r10, rcx + # mov eax, + # syscall + # ret + "/\\x0f\\x05[^\\xc3]{,24}\\xc3/", + # any of these will not be in a workable, malicious direct system call block + ["jmp", "call", "leave", "int3"], + # the expected form is to end with a "ret" back to the calling code + ["ret"], + ) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + # create a list of requirements for vadyarascan + vadyarascan_requirements = [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) + ), + requirements.VersionRequirement( + name="yarascan", component=yarascan.YaraScan, version=(2, 0, 0) + ), + ] + + # get base yarascan requirements for command line options + yarascan_requirements = yarascan.YaraScan.get_yarascan_option_requirements() + + # return the combined requirements + return yarascan_requirements + vadyarascan_requirements + + @staticmethod + def _is_syscall_block( + disasm_func: Callable, + syscall_finder: syscall_finder_type, + data: bytes, + address: int, + ) -> Optional[Tuple[str, "capstone._cs_insn"]]: + """ + Determines if the bytes starting at `data` represent a valid syscall instruction invocation block + + To maliciously invoke the system call instruction, malware must do each of the following: + + 1) update RAX to the system call number + 2) update R10 to the first parameter + 3) hit the 'termination' instruction set in `syscall_finder_type` + + We also track whether the 'syscall' instruction was encountered while parsing + + This function is reusable for every technique we found and studied during the DEFCON research timeframe + + Args: + disasm_func: capstone disassembly function gathered from `get_disasm_function` + syscall_finder: the method and constraints on the malicious system call blocks that the calling plugin knows how to find + data: the bytes from memory to search for malicious syscall invocations + address: the address from where `data` came from in the particular process + Returns: + Optional[Tuple[str, capstone._cs_insn]]: For valid blocks, the disassembled bytes in string from and the last (termination) instruction + """ + found_movr10 = False + found_movreax = False + found_syscall = False + found_end = False + end_inst = None + + disasm_bytes = "" + + for inst in disasm_func(data, address): + disasm_bytes += f"{inst.address:#x}: {inst.mnemonic} {inst.op_str}; " + + # an instruction of all 0x00 opcodes + if inst.opcode.count(0) == len(inst.opcode): + break + + op = inst.mnemonic + + # invalid op, bail + if op in syscall_finder.invalid_ops: + break + + # found the end instruction wanted by the caller + elif op in syscall_finder.termination_ops: + found_end = True + end_inst = inst + break + + # track this no matter what to make code more re-usable + elif op == "syscall": + found_syscall = True + + # if we hit a 'syscall' but RAX or R10 haven't been touched + # then we are in an invalid path, so bail + if not syscall_finder.wants_syscall_inst or ( + not (found_movr10 and found_movreax) + ): + break + + else: + # attempt to see if any other instruction type wrote to registers + try: + _, regs_written = inst.regs_access() + except capstone.CsError: + continue + + if regs_written: + for r in regs_written: + # track writes to eax/rax or R10 + reg = inst.reg_name(r) + if reg in ["eax", "rax"]: + found_movreax = True + + elif reg == "r10": + found_movr10 = True + + # if any of these are missing, the block is invalid regardless of + # the technique we are trying to detect now or in the future + if not (found_movr10 and found_movreax and found_end): + return None + + # if the finder requires a 'syscall' instruction then bail now if we didn't find one + if syscall_finder.wants_syscall_inst and not found_syscall: + return None + + return disasm_bytes, end_inst + + @classmethod + def get_disasm_function(cls, architecture: str) -> Callable: + """ + Returns the disassembly handler for the given architecture + .detail is used to get full instruction information + + Args: + architecture: the name of the architecture for the process being disassembled + Returns: + The disasm function from capstone for the given architecture + """ + disasm_types = { + "intel": capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_32), + "intel64": capstone.Cs(capstone.CS_ARCH_X86, capstone.CS_MODE_64), + } + + disasm_type = disasm_types[architecture] + disasm_type.detail = True + return disasm_type.disasm + + @classmethod + def _is_valid_syscall( + cls, + syscall_finder: syscall_finder_type, + proc_layer: interfaces.layers.DataLayerInterface, + architecture: str, + vads: List[Tuple[int, int, str]], + address: int, + ) -> Optional[Tuple[int, str]]: + """ + Args: + syscall_finder: + proc_layer: the memory layer of the process being scanned + architecture: the name of the architecture for the process being disassembled + vads: the ranges of this process under 10MB + address: the starting address to check for malicious syscall code blocks + + Returns: + Optional[Tuple[int, str]]: For valid code blocks, the starting address of the block and the disassembly string + """ + # the number bytes behind the yara rule hit to scan + behind = 32 + + address = address - behind + + try: + data = proc_layer.read(address, behind * 2) + except exceptions.InvalidAddressException: + return None + + disasm_func = cls.get_disasm_function(architecture) + + # since Intel does not have fixed-size instructions, we have to scan + # each byte offset and re-disassemble the remaining block + for offset in range(behind): + # if this looks like a system call back (r10, rax, ret/jmp) + syscall_info = cls._is_syscall_block( + disasm_func, syscall_finder, data[offset:], address + offset + ) + if syscall_info: + disasm_bytes, end_inst = syscall_info + + # if we can recover (and require) a target address for this malware technique + if syscall_finder.get_syscall_target_address: + target_address = syscall_finder.get_syscall_target_address( + proc_layer, end_inst + ) + + # could not determine the address -> invalid basic block + if not target_address: + continue + + # we only care about calls to system call DLLs + path = cls.get_range_path(vads, target_address) + if not isinstance(path, str) or not path.lower().endswith( + cls.valid_syscall_handlers + ): + continue + + # return the address and disassembly string if all checks pass + return address + offset, disasm_bytes + + return None + + @classmethod + def get_vad_maps( + cls, + task: interfaces.objects.ObjectInterface, + ) -> List[Tuple[int, int, str]]: + """Creates a map of start/end addresses within a virtual address + descriptor tree. + + Args: + task: The EPROCESS object of which to traverse the vad tree + + Returns: + An iterable of tuples containing start and end addresses for each descriptor + """ + vads: List[Tuple[int, int, str]] = [] + + # scan regions under 10MB + scan_max = 10 * 1000 * 1000 + + vad_root = task.get_vad_root() + + for vad in vad_root.traverse(): + if vad.get_size() < scan_max: + vads.append((vad.get_start(), vad.get_size(), vad.get_file_name())) + + return vads + + @classmethod + def get_range_path( + cls, ranges: List[Tuple[int, int, str]], address: int + ) -> Optional[str]: + """ + Returns the path for the range holding `address`, if found + + Args: + ranges: VADs collected from `get_vad_maps` + address: the address to find + Returns: + The path holding the address, if any + """ + for start, size, path in ranges: + if start <= address < start + size: + return path + + return None + + @classmethod + def get_tasks_to_scan( + cls, + context: interfaces.context.ContextInterface, + kernel_module_name: str, + ) -> Generator[ + Tuple[interfaces.objects.ObjectInterface, str, str, str], None, None + ]: + """ + Gathers active processes with the extra information needed + to detect malicious syscall instructions + + Returns: + Generator of the process object, name, memory layer, and architecture + """ + + # gather active processes + filter_func = pslist.PsList.create_active_process_filter() + + kernel = context.modules[kernel_module_name] + + is_32bit_arch = not symbols.symbol_table_is_64bit( + context=context, symbol_table_name=kernel.symbol_table_name + ) + + for proc in pslist.PsList.list_processes( + context=context, + kernel_module_name=kernel_module_name, + filter_func=filter_func, + ): + proc_name = utility.array_to_string(proc.ImageFileName) + + # skip Defender + if proc_name in ["MsMpEng.exe"]: + continue + + try: + proc_layer_name = proc.add_process_layer() + except exceptions.InvalidAddressException: + continue + + if is_32bit_arch or proc.get_is_wow64(): + architecture = "intel" + else: + architecture = "intel64" + + yield proc, proc_name, proc_layer_name, architecture + + @classmethod + def _get_rule_hits( + cls, + context: interfaces.objects.ObjectInterface, + proc_layer: interfaces.layers.DataLayerInterface, + vads: List[Tuple[int, int, str]], + pattern: str, + ) -> Generator[Tuple[int, Optional[str]], None, None]: + """ + Runs the given opcode rule through Yara and returns the address and file path of hits + + Args: + context: + proc_layer: the layer to scan + vads: the ranges inside of the process being scanned + pattern: the opcodes rule from the plugin to detect a particular EDR-bypass technique + + Returns: + Generator of the address and file path of hits + """ + sections = [(vad[0], vad[1]) for vad in vads] + + rule = yarascan.YaraScanner.get_rule(pattern) + + for hit in proc_layer.scan( + context=context, + scanner=yarascan.YaraScanner(rules=rule), + sections=sections, + ): + address = hit[0] + + path = cls.get_range_path(vads, address) + + # ignore hits in the system call DLLs + if isinstance(path, str) and path.lower().endswith( + cls.valid_syscall_handlers + ): + continue + + yield address, path + + def _generator( + self, + ) -> Generator[Tuple[int, Tuple[str, int, Optional[str], int, str]], None, None]: + if not has_capstone: + vollog.warning( + "capstone is not installed. This plugin requires capstone to operate." + ) + return + + for proc, proc_name, proc_layer_name, architecture in self.get_tasks_to_scan( + self.context, self.config["kernel"] + ): + proc_layer = self.context.layers[proc_layer_name] + + vads = self.get_vad_maps(proc) + if not vads: + continue + + # for each valid process, look for malicious syscall invocations + for address, vad_path in self._get_rule_hits( + self.context, proc_layer, vads, self.syscall_finder.rule_str + ): + syscall_info = self._is_valid_syscall( + self.syscall_finder, proc_layer, architecture, vads, address + ) + if not syscall_info: + continue + + address, disasm_bytes = syscall_info + + yield 0, ( + proc_name, + proc.UniqueProcessId, + vad_path, + format_hints.Hex(address), + disasm_bytes, + ) + + def run(self) -> renderers.TreeGrid: + return renderers.TreeGrid( + [ + ("Process", str), + ("PID", int), + ("Range", str), + ("Address", format_hints.Hex), + ("Disasm", str), + ], + self._generator(), + ) From 7cc8c6e94c3a6f3eccf318afd0b46ee46ec011d9 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 14 Jun 2025 23:08:56 +0300 Subject: [PATCH 1978/2186] Plugins: categorize indirect_system_calls as a malware plugin --- .../plugins/windows/indirect_system_calls.py | 122 ++---------------- .../windows/malware/indirect_system_calls.py | 120 +++++++++++++++++ 2 files changed, 132 insertions(+), 110 deletions(-) create mode 100644 volatility3/framework/plugins/windows/malware/indirect_system_calls.py diff --git a/volatility3/framework/plugins/windows/indirect_system_calls.py b/volatility3/framework/plugins/windows/indirect_system_calls.py index 26216d2c3..65f5f8734 100644 --- a/volatility3/framework/plugins/windows/indirect_system_calls.py +++ b/volatility3/framework/plugins/windows/indirect_system_calls.py @@ -1,119 +1,21 @@ -# This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # - -import struct import logging -from typing import List, Optional - -from volatility3.framework import interfaces, exceptions -from volatility3.framework.configuration import requirements -from volatility3.plugins import yarascan -from volatility3.plugins.windows import direct_system_calls +from volatility3.framework import deprecation +from volatility3.plugins.windows.malware import indirect_system_calls +from volatility3.plugins.windows.malware import direct_system_calls vollog = logging.getLogger(__name__) -class IndirectSystemCalls(direct_system_calls.DirectSystemCalls): +class IndirectSystemCalls( + direct_system_calls.DirectSystemCalls, + deprecation.PluginRenameClass, + replacement_class=indirect_system_calls.IndirectSystemCalls, + removal_date="2026-06-07", +): + """Detects the Indirect System Call technique used to bypass EDRs (deprecated).""" + _required_framework_version = (2, 4, 0) _version = (1, 0, 0) - - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - - self.syscall_finder = direct_system_calls.syscall_finder_type( - # gets the target address of a indirect jmp - self._indirect_syscall_block_target, - # we are looking for indirect system calls, so we don't want 'syscall' instructions in our code block - False, - # jmp [address]; ret - "/\\xff\\x25[^\\xc3]{,24}\\xc3/", - # any of these mean we aren't in a malicious indirect call - ["call", "leave", "int3", "ret"], - # stop at jmp, this should reference the system call instruction - ["jmp"], - ) - - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - # create a list of requirements for vadyarascan - vadyarascan_requirements = [ - requirements.ModuleRequirement( - name="kernel", - description="Windows kernel", - architectures=["Intel32", "Intel64"], - ), - requirements.VersionRequirement( - name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) - ), - requirements.VersionRequirement( - name="yarascan", component=yarascan.YaraScan, version=(2, 0, 0) - ), - requirements.VersionRequirement( - name="direct_system_calls", - component=direct_system_calls.DirectSystemCalls, - version=(2, 0, 0), - ), - ] - - # get base yarascan requirements for command line options - yarascan_requirements = yarascan.YaraScan.get_yarascan_option_requirements() - - # return the combined requirements - return yarascan_requirements + vadyarascan_requirements - - @staticmethod - def _indirect_syscall_block_target( - proc_layer: interfaces.layers.DataLayerInterface, inst - ) -> Optional[int]: - """ - This function determines the address of a jmp in the following form: - - jmp [address] - - To determine this, we must: - 1) Pull the 4 byte relative offset of 'address' inside the instruction - 2) Compute the full address of this relative offset - 3) Read from the address as it is being dereferenced - 4) Ensure the target address points to a 'syscall' instruction - - Args: - proc_layer: the layer of the potential syscall block - inst: the terminating instruction of the syscall block check - Returns: - The target address of the jump if it can be computed - """ - - try: - jmp_address_str = proc_layer.read(inst.address, 6) - except exceptions.InvalidAddressException: - return None - - # Should be an jmp... - if jmp_address_str[0:2] != b"\xff\x25": - return None - - # get the address of the 'jmp [address]' instruction - relative_offset = struct.unpack(" List[interfaces.configuration.RequirementInterface]: + # create a list of requirements for vadyarascan + vadyarascan_requirements = [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="yarascanner", component=yarascan.YaraScanner, version=(2, 1, 0) + ), + requirements.VersionRequirement( + name="yarascan", component=yarascan.YaraScan, version=(2, 0, 0) + ), + requirements.VersionRequirement( + name="direct_system_calls", + component=direct_system_calls.DirectSystemCalls, + version=(2, 0, 0), + ), + ] + + # get base yarascan requirements for command line options + yarascan_requirements = yarascan.YaraScan.get_yarascan_option_requirements() + + # return the combined requirements + return yarascan_requirements + vadyarascan_requirements + + @staticmethod + def _indirect_syscall_block_target( + proc_layer: interfaces.layers.DataLayerInterface, inst + ) -> Optional[int]: + """ + This function determines the address of a jmp in the following form: + + jmp [address] + + To determine this, we must: + 1) Pull the 4 byte relative offset of 'address' inside the instruction + 2) Compute the full address of this relative offset + 3) Read from the address as it is being dereferenced + 4) Ensure the target address points to a 'syscall' instruction + + Args: + proc_layer: the layer of the potential syscall block + inst: the terminating instruction of the syscall block check + Returns: + The target address of the jump if it can be computed + """ + + try: + jmp_address_str = proc_layer.read(inst.address, 6) + except exceptions.InvalidAddressException: + return None + + # Should be an jmp... + if jmp_address_str[0:2] != b"\xff\x25": + return None + + # get the address of the 'jmp [address]' instruction + relative_offset = struct.unpack(" Date: Sat, 14 Jun 2025 23:15:01 +0300 Subject: [PATCH 1979/2186] black --- .../framework/plugins/windows/malware/indirect_system_calls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/windows/malware/indirect_system_calls.py b/volatility3/framework/plugins/windows/malware/indirect_system_calls.py index cb4565086..ba34eb110 100644 --- a/volatility3/framework/plugins/windows/malware/indirect_system_calls.py +++ b/volatility3/framework/plugins/windows/malware/indirect_system_calls.py @@ -16,6 +16,7 @@ vollog = logging.getLogger(__name__) class IndirectSystemCalls(direct_system_calls.DirectSystemCalls): """Detects the Indirect System Call technique used to bypass EDRs.""" + _required_framework_version = (2, 4, 0) _version = (1, 0, 0) From aa4ef88b51a72324ffad0976064ee0c1f6941195 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 14 Jun 2025 23:17:04 +0300 Subject: [PATCH 1980/2186] fix: black lint --- volatility3/framework/plugins/windows/direct_system_calls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/direct_system_calls.py b/volatility3/framework/plugins/windows/direct_system_calls.py index 9616696d8..79d02fe67 100644 --- a/volatility3/framework/plugins/windows/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/direct_system_calls.py @@ -23,6 +23,7 @@ syscall_finder_type = namedtuple( ], ) + class DirectSystemCalls( interfaces.plugins.PluginInterface, deprecation.PluginRenameClass, @@ -59,4 +60,4 @@ class DirectSystemCalls( ["jmp", "call", "leave", "int3"], # the expected form is to end with a "ret" back to the calling code ["ret"], - ) \ No newline at end of file + ) From 7e77ee0e24cf5d95845a4f3db6a8c6854a9f6a36 Mon Sep 17 00:00:00 2001 From: tvanegro Date: Tue, 17 Jun 2025 10:24:04 +0200 Subject: [PATCH 1981/2186] Adding dump dirty page feature --- .../plugins/linux/malware/malfind.py | 22 ++++++++++++-- .../symbols/linux/extensions/__init__.py | 29 ++++++++++++++++++- 2 files changed, 48 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index c7e141c02..a8104fbaa 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -37,6 +37,16 @@ class Malfind(interfaces.plugins.PluginInterface): element_type=int, optional=True, ), + requirements.IntRequirement( + name="dumpsize", + description="Dump X bytes of each malicious region found", + optional=True, + ), + requirements.BooleanRequirement( + name="dumppage", + description="Dump dirty page content (for each dirty page)", + optional=True, + ), ] def _list_injections( @@ -50,6 +60,8 @@ class Malfind(interfaces.plugins.PluginInterface): return None proc_layer = self.context.layers[proc_layer_name] + dumpsize = self.config.get("dumpsize") if self.config.get("dumpsize") is not None else 64 + dumppage = self.config.get("dumppage") or False for vma in task.mm.get_vma_iter(): vma_name = vma.get_name(self.context, task) @@ -57,8 +69,14 @@ class Malfind(interfaces.plugins.PluginInterface): f"Injections : processing PID {task.pid} : VMA {vma_name} : {hex(vma.vm_start)}-{hex(vma.vm_end)}" ) if vma.is_suspicious(proc_layer) and vma_name != "[vdso]": - data = proc_layer.read(vma.vm_start, 64, pad=True) - yield vma, vma_name, data + malicious_pages = vma.get_malicious_pages(proc_layer) + if dumppage: + for page_addr in malicious_pages: + data = proc_layer.read(page_addr, dumpsize, pad=True) + yield vma, vma_name+f", page address: {page_addr:#x}, offset: {page_addr-vma.vm_start:#x}", data + else: + data = proc_layer.read(vma.vm_start,dumpsize,pad=True) + yield vma, vma_name, data def _generator(self, tasks): # determine if we're on a 32 or 64 bit kernel diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3b9a73e7c..27cb44989 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1273,6 +1273,32 @@ class vm_area_struct(objects.StructType): except exceptions.InvalidAddressException: return None + def get_malicious_pages(self,proclayer=None): + malicious_pages = [] + + flags_str = self.get_protection() + + if flags_str == "rwx": + ret = True + elif flags_str == "r-x" and self.vm_file.dereference().vol.offset == 0: + ret = True + elif proclayer and "x" in flags_str: + for i in range(self.vm_start, self.vm_end, proclayer.page_size): + try: + if proclayer.is_dirty(i): + vollog.debug( + f"Found malicious (dirty+exec) page at {hex(i)} !" + ) + malicious_pages.append(i) + except ( + exceptions.PagedInvalidAddressException, + exceptions.InvalidAddressException, + ) as excp: + vollog.debug(f"Unable to translate address {hex(i)} : {excp}") + # Abort as it is likely that other addresses in the same range will also fail + break + return malicious_pages + # used by malfind def is_suspicious(self, proclayer=None): ret = False @@ -1288,7 +1314,7 @@ class vm_area_struct(objects.StructType): try: if proclayer.is_dirty(i): vollog.warning( - f"Found malicious (dirty+exec) page at {hex(i)} !" + f"Found malicious page(s) inside (dirty+exec) region {hex(self.vm_start)} !" ) # We do not attempt to find other dirty+exec pages once we have found one ret = True @@ -2733,6 +2759,7 @@ class page(objects.StructType): for name, value in self.pageflags_enum.items(): if self.flags & (1 << value) != 0: flags.append(name) + print(name,value) return flags From 96fe242c9d0cbe35e0c653c18c2700e4bed441d2 Mon Sep 17 00:00:00 2001 From: tvanegro Date: Tue, 17 Jun 2025 11:00:18 +0200 Subject: [PATCH 1982/2186] Minor cleanup + comments --- .../plugins/linux/malware/malfind.py | 33 +++++++++++++------ .../symbols/linux/extensions/__init__.py | 12 +++---- 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index a8104fbaa..39d885f68 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -38,13 +38,13 @@ class Malfind(interfaces.plugins.PluginInterface): optional=True, ), requirements.IntRequirement( - name="dumpsize", - description="Dump X bytes of each malicious region found", + name="dump_size", + description="Amount of bytes to dump for each dirty region/page found - Default 64 bytes", optional=True, ), requirements.BooleanRequirement( - name="dumppage", - description="Dump dirty page content (for each dirty page)", + name="dump_page", + description="Dump each dirty page and content - Default off", optional=True, ), ] @@ -60,22 +60,35 @@ class Malfind(interfaces.plugins.PluginInterface): return None proc_layer = self.context.layers[proc_layer_name] - dumpsize = self.config.get("dumpsize") if self.config.get("dumpsize") is not None else 64 - dumppage = self.config.get("dumppage") or False + + # Allowing a dump_size of 0 (no dump) + dump_size = self.config.get("dump_size") if self.config.get("dump_size") is not None else 64 + + # Dumping page defaults to off, as in case a whole r-xp region is dirty + # this would likely dump 1000's of pages which might not always be wise nor necessary + + dump_page = self.config.get("dump_page") or False for vma in task.mm.get_vma_iter(): vma_name = vma.get_name(self.context, task) vollog.debug( f"Injections : processing PID {task.pid} : VMA {vma_name} : {hex(vma.vm_start)}-{hex(vma.vm_end)}" ) + + # If is_suspicious returns true, this means at least one page + # in the region is dirty. If dump_page is true, then we dump + # all dirty pages + if vma.is_suspicious(proc_layer) and vma_name != "[vdso]": malicious_pages = vma.get_malicious_pages(proc_layer) - if dumppage: + if dump_page: + # Dumping each dirty page for page_addr in malicious_pages: - data = proc_layer.read(page_addr, dumpsize, pad=True) - yield vma, vma_name+f", page address: {page_addr:#x}, offset: {page_addr-vma.vm_start:#x}", data + data = proc_layer.read(page_addr, dump_size, pad=True) + yield vma, f"{vma_name}, page address: {page_addr:#x}, offset: {page_addr-vma.vm_start:#x}", data else: - data = proc_layer.read(vma.vm_start,dumpsize,pad=True) + # Original behaviour - Dump the start of the region (not necessarily matching the dirty page) + data = proc_layer.read(vma.vm_start,dump_size,pad=True) yield vma, vma_name, data def _generator(self, tasks): diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 27cb44989..236d28bb1 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1274,19 +1274,17 @@ class vm_area_struct(objects.StructType): return None def get_malicious_pages(self,proclayer=None): + """ + This function will return a list of all malicious pages inside a given dirty region + """ malicious_pages = [] - flags_str = self.get_protection() - if flags_str == "rwx": - ret = True - elif flags_str == "r-x" and self.vm_file.dereference().vol.offset == 0: - ret = True - elif proclayer and "x" in flags_str: + if proclayer and "r-x" in flags_str and self.vm_file.dereference().vol.offset !=0: for i in range(self.vm_start, self.vm_end, proclayer.page_size): try: if proclayer.is_dirty(i): - vollog.debug( + vollog.warning( f"Found malicious (dirty+exec) page at {hex(i)} !" ) malicious_pages.append(i) From ba9e13698d470e6c3502b12fec45f02dfc0e133f Mon Sep 17 00:00:00 2001 From: tvanegro Date: Tue, 17 Jun 2025 11:33:44 +0200 Subject: [PATCH 1983/2186] Minor changes 2 --- volatility3/framework/plugins/linux/malware/malfind.py | 8 ++++---- .../framework/symbols/linux/extensions/__init__.py | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index 39d885f68..577c6c1e8 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -38,12 +38,12 @@ class Malfind(interfaces.plugins.PluginInterface): optional=True, ), requirements.IntRequirement( - name="dump_size", + name="dump-size", description="Amount of bytes to dump for each dirty region/page found - Default 64 bytes", optional=True, ), requirements.BooleanRequirement( - name="dump_page", + name="dump-page", description="Dump each dirty page and content - Default off", optional=True, ), @@ -62,12 +62,12 @@ class Malfind(interfaces.plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] # Allowing a dump_size of 0 (no dump) - dump_size = self.config.get("dump_size") if self.config.get("dump_size") is not None else 64 + dump_size = self.config.get("dump-size") if self.config.get("dump-size") is not None else 64 # Dumping page defaults to off, as in case a whole r-xp region is dirty # this would likely dump 1000's of pages which might not always be wise nor necessary - dump_page = self.config.get("dump_page") or False + dump_page = self.config.get("dump-page") or False for vma in task.mm.get_vma_iter(): vma_name = vma.get_name(self.context, task) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 236d28bb1..94dfb0576 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1284,7 +1284,7 @@ class vm_area_struct(objects.StructType): for i in range(self.vm_start, self.vm_end, proclayer.page_size): try: if proclayer.is_dirty(i): - vollog.warning( + vollog.debug( f"Found malicious (dirty+exec) page at {hex(i)} !" ) malicious_pages.append(i) @@ -2757,7 +2757,6 @@ class page(objects.StructType): for name, value in self.pageflags_enum.items(): if self.flags & (1 << value) != 0: flags.append(name) - print(name,value) return flags From 53b3bd7d47ca855a770be8be0119a6a86439a49b Mon Sep 17 00:00:00 2001 From: tvanegro Date: Tue, 17 Jun 2025 12:51:59 +0200 Subject: [PATCH 1984/2186] black --- .../framework/plugins/linux/malware/malfind.py | 8 ++++++-- .../framework/symbols/linux/extensions/__init__.py | 12 +++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index 577c6c1e8..4aaaf9bf8 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -62,7 +62,11 @@ class Malfind(interfaces.plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] # Allowing a dump_size of 0 (no dump) - dump_size = self.config.get("dump-size") if self.config.get("dump-size") is not None else 64 + dump_size = ( + self.config.get("dump-size") + if self.config.get("dump-size") is not None + else 64 + ) # Dumping page defaults to off, as in case a whole r-xp region is dirty # this would likely dump 1000's of pages which might not always be wise nor necessary @@ -88,7 +92,7 @@ class Malfind(interfaces.plugins.PluginInterface): yield vma, f"{vma_name}, page address: {page_addr:#x}, offset: {page_addr-vma.vm_start:#x}", data else: # Original behaviour - Dump the start of the region (not necessarily matching the dirty page) - data = proc_layer.read(vma.vm_start,dump_size,pad=True) + data = proc_layer.read(vma.vm_start, dump_size, pad=True) yield vma, vma_name, data def _generator(self, tasks): diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 94dfb0576..99b2c989c 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1273,20 +1273,22 @@ class vm_area_struct(objects.StructType): except exceptions.InvalidAddressException: return None - def get_malicious_pages(self,proclayer=None): + def get_malicious_pages(self, proclayer=None): """ This function will return a list of all malicious pages inside a given dirty region """ malicious_pages = [] flags_str = self.get_protection() - if proclayer and "r-x" in flags_str and self.vm_file.dereference().vol.offset !=0: + if ( + proclayer + and "r-x" in flags_str + and self.vm_file.dereference().vol.offset != 0 + ): for i in range(self.vm_start, self.vm_end, proclayer.page_size): try: if proclayer.is_dirty(i): - vollog.debug( - f"Found malicious (dirty+exec) page at {hex(i)} !" - ) + vollog.debug(f"Found malicious (dirty+exec) page at {hex(i)} !") malicious_pages.append(i) except ( exceptions.PagedInvalidAddressException, From e13b8f9bd0633496dda13df1446fcafa6c9207e7 Mon Sep 17 00:00:00 2001 From: tvanegro Date: Tue, 17 Jun 2025 16:12:22 +0200 Subject: [PATCH 1985/2186] Fixing memory wrong memory offset in hex dump --- .../framework/plugins/linux/malware/malfind.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index 4aaaf9bf8..98e9c4695 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -85,15 +85,17 @@ class Malfind(interfaces.plugins.PluginInterface): if vma.is_suspicious(proc_layer) and vma_name != "[vdso]": malicious_pages = vma.get_malicious_pages(proc_layer) + offset = 0 if dump_page: # Dumping each dirty page for page_addr in malicious_pages: + offset = page_addr - vma.vm_start data = proc_layer.read(page_addr, dump_size, pad=True) - yield vma, f"{vma_name}, page address: {page_addr:#x}, offset: {page_addr-vma.vm_start:#x}", data + yield vma, f"{vma_name}, page address: {page_addr:#x}, offset: {offset:#x}", data, offset else: # Original behaviour - Dump the start of the region (not necessarily matching the dirty page) data = proc_layer.read(vma.vm_start, dump_size, pad=True) - yield vma, vma_name, data + yield vma, vma_name, data, offset def _generator(self, tasks): # determine if we're on a 32 or 64 bit kernel @@ -105,13 +107,15 @@ class Malfind(interfaces.plugins.PluginInterface): for task in tasks: process_name = utility.array_to_string(task.comm) - for vma, vma_name, data in self._list_injections(task): + for vma, vma_name, data, offset in self._list_injections(task): if is_32bit_arch: architecture = "intel" else: architecture = "intel64" - disasm = renderers.Disassembly(data, vma.vm_start, architecture) + disasm = renderers.Disassembly( + data, vma.vm_start + offset, architecture + ) yield ( 0, From 253b274cfbe88fe12b0dc742fa6adfce73f8de84 Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 18 Jun 2025 15:35:51 +0900 Subject: [PATCH 1986/2186] linux-tutorial: update symbol table section - Removed outdated reference to the Linux ISF Server (service no longer available) - Updated symbol table instructions to reflect current volatility3 behavior (symbol files now auto-detected from volatility3/symbols directory) --- doc/source/getting-started-linux-tutorial.rst | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index 33f82911a..eb4ab7562 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -14,14 +14,11 @@ Volatility3 does not provide the ability to acquire memory. Below are some exam Be aware that LiME raw format is not supported by volatility3, the padded or lime option should be used instead. `This issue contains further information `_. Procedure to create symbol tables for linux --------------------------------------------- +------------------------------------------- -To create a symbol table please refer to :ref:`symbol-tables:Mac or Linux symbol tables`. - -.. tip:: It may be possible to locate pre-made ISF files from the `Linux ISF Server `_ , - which is built and maintained by `kevthehermit `_. - After creating the file or downloading it from the ISF server, place the file under the directory ``volatility3/symbols/linux``. - If necessary create a linux directory under the symbols directory (this will become unnecessary in future versions). +To create a symbol table please refer to :ref:`symbol-tables:Mac or Linux symbol tables`. +After creating the file, place it under the directory ``volatility3/symbols``. +Volatility3 will automatically detect and use symbol tables from this location. Listing plugins From 46609d418a7d25a1632c130f04e6b490a5217d68 Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 18 Jun 2025 15:42:35 +0900 Subject: [PATCH 1987/2186] linux-tutorial: revise plugin listing section - Replaced outdated and partial plugin list with a concise summary - Mentioned total number of supported Linux plugins (~40+) - Highlighted representative plugins such as pslist, bash, lsmod, etc. - Provided updated command to enumerate all available Linux plugins --- doc/source/getting-started-linux-tutorial.rst | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index eb4ab7562..53f44fc4f 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -24,20 +24,25 @@ Volatility3 will automatically detect and use symbol tables from this location. Listing plugins --------------- -The following is a sample of the linux plugins available for volatility3, it is not complete and more plugins may -be added. For a complete reference, please see the volatility 3 :doc:`list of plugins `. -For plugin requests, please create an issue with a description of the requested plugin. +Volatility3 currently supports over 40 Linux-specific plugins covering a wide range of forensic analysis needs, such as process enumeration, memory-mapped file inspection, loaded modules, and kernel tracing features. + +Some representative plugins include: + +- ``linux.pslist``: Lists running processes with their PIDs and PPIDs. +- ``linux.bash``: Recovers bash command history from memory. +- ``linux.lsmod``: Displays loaded kernel modules. +- ``linux.kmsg``: Reads messages from the kernel log buffer. +- ``linux.elfs``: Lists all memory-mapped ELF files. +- ``linux.check_creds``: Checks for suspicious credential structures. +- ``linux.vmayarascan``: Scans process memory using YARA signatures. + +For a full list of supported plugins, run the following command: .. code-block:: shell-session - $ python3 vol.py --help | grep -i linux. | head -n 5 - banners.Banners Attempts to identify potential linux banners in an - linux.bash.Bash Recovers bash command history from memory. - linux.malware.check_afinfo.Check_afinfo - linux.malware.check_creds.Check_creds - linux.malware.check_idt.Check_idt + $ python3 vol.py --help | grep -i linux. -.. note:: Here the command is piped to grep and head to provide the start of the list of linux plugins. +.. note:: You can also filter and inspect available plugins using more sophisticated patterns or tools like ``grep``, ``awk``, or simply explore the source under ``volatility3/framework/plugins/linux``. Using plugins From 25e15f12fad6d27597a8f5f8a6686426c0a68557 Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 18 Jun 2025 15:52:08 +0900 Subject: [PATCH 1988/2186] linux-tutorial: update banners section - Removed outdated instructions referencing the ISF server - Updated guidance to reflect current method of manually generating ISF files - Clarified placement of ISF files under volatility3/symbols for automatic detection --- doc/source/getting-started-linux-tutorial.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index 53f44fc4f..05571ad07 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -69,7 +69,7 @@ Thanks go to `stuxnet `_ for providing this memo $ python3 vol.py -f memory.vmem banners - Volatility 3 Framework 2.0.1 + Volatility 3 Framework 2.26.0 Progress: 100.00 PDB scanning finished Offset Banner @@ -81,10 +81,11 @@ Thanks go to `stuxnet `_ for providing this memo 0x7fde0010 Linux version 4.15.0-72-generic (buildd@lcy01-amd64-026) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 (Ubuntu 4.15.0-72.81-generic 4.15.18) -The above command helps us to find the memory dump's kernel version and the distribution version. Now using the above banner we can search for the needed ISF file from the ISF server. -If an ISF file cannot be found then, follow the instructions on :ref:`getting-started-linux-tutorial:Procedure to create symbol tables for linux`. After that, place the ISF file under the ``volatility3/symbols/linux`` directory. +The above command helps us identify the kernel version and distribution from the memory dump. +Using this information, follow the instructions in :ref:`getting-started-linux-tutorial:Procedure to create symbol tables for linux` to generate the required ISF file. +Once created, place the file under the ``volatility3/symbols`` directory so that Volatility3 can recognize it automatically. + -.. tip:: Use the banner text which is most repeated to search on the ISF Server. linux.pslist ~~~~~~~~~~~~ From e8f36325ecdcbb7b8a1ee4df833fb5089c3477e5 Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 18 Jun 2025 15:59:27 +0900 Subject: [PATCH 1989/2186] linux-tutorial: add boottime plugin example - Added new section for linux.boottime plugin - Demonstrated how to extract system boot time from memory - Explained its relevance for timeline analysis and incident response --- doc/source/getting-started-linux-tutorial.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index 05571ad07..147293195 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -85,6 +85,23 @@ The above command helps us identify the kernel version and distribution from the Using this information, follow the instructions in :ref:`getting-started-linux-tutorial:Procedure to create symbol tables for linux` to generate the required ISF file. Once created, place the file under the ``volatility3/symbols`` directory so that Volatility3 can recognize it automatically. +linux.boottime +~~~~~~~~~~~~~~ + +This plugin provides the system boot time extracted from memory. +It is useful for establishing a timeline, particularly when analyzing incident response scenarios or determining system uptime. + +.. code-block:: shell-session + + $ python3 vol.py -f memory.vmem linux.boottime + + Volatility 3 Framework 2.26.0 + Progress: 100.00 Stacking attempts finished + TIME NS Boot Time + + - 2022-02-10 06:50:16.450008 UTC + +This timestamp can serve as a reference point for correlating system events, such as process start times, logs, or malicious activity. linux.pslist From 5531d76bfc460b4719c9f0a9fa5922875e9f1665 Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 18 Jun 2025 16:06:00 +0900 Subject: [PATCH 1990/2186] linux-tutorial: update pslist and pstree sections - Updated linux.pslist output to include new fields: OFFSET, UID/GID, creation time, and file output - Added detailed explanation of each column and its forensic significance - Revised linux.pstree section to reflect new output format including OFFSET and hierarchical indentation - Emphasized the utility of both plugins for process analysis and anomaly detection --- doc/source/getting-started-linux-tutorial.rst | 83 +++++++------------ 1 file changed, 29 insertions(+), 54 deletions(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index 147293195..f43c26b66 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -97,6 +97,7 @@ It is useful for establishing a timeline, particularly when analyzing incident r Volatility 3 Framework 2.26.0 Progress: 100.00 Stacking attempts finished + TIME NS Boot Time - 2022-02-10 06:50:16.450008 UTC @@ -107,77 +108,51 @@ This timestamp can serve as a reference point for correlating system events, suc linux.pslist ~~~~~~~~~~~~ +This plugin lists active processes by walking the task list from memory. +It provides detailed metadata for each process, including identifiers and user/group information. + .. code-block:: shell-session $ python3 vol.py -f memory.vmem linux.pslist - Volatility 3 Framework 2.0.1 Stacking attempts finished + Volatility 3 Framework 2.26.0 + Progress: 100.00 Stacking attempts finished + OFFSET (V) PID TID PPID COMM UID GID EUID EGID CREATION TIME File output - PID PPID COMM + 0x8ca6db1aac80 1 1 0 systemd 0 0 0 0 2022-02-10 06:50:16.364213 UTC Disabled + 0x8ca6db1a9640 2 2 0 kthreadd 0 0 0 0 2022-02-10 06:50:16.364213 UTC Disabled + 0x8ca6db1ac2c0 3 3 2 rcu_gp 0 0 0 0 2022-02-10 06:50:16.372213 UTC Disabled + ... - 1 0 systemd - 2 0 kthreadd - 3 2 kworker/0:0 - 4 2 kworker/0:0H - 5 2 kworker/u256:0 - 6 2 mm_percpu_wq - 7 2 ksoftirqd/0 - 8 2 rcu_sched - 9 2 rcu_bh - 10 2 migration/0 - 11 2 watchdog/0 - 12 2 cpuhp/0 - 13 2 kdevtmpfs - 14 2 netns - 15 2 rcu_tasks_kthre - 16 2 kauditd - ..... +This detailed view allows investigators to correlate user privileges, startup times, and relationships between processes more precisely than before. -``linux.pslist`` helps us to list the processes which are running, their PIDs and PPIDs. linux.pstree ~~~~~~~~~~~~ +This plugin presents the process hierarchy as a tree, clearly showing parent-child relationships between processes. +It is especially useful for identifying unusual or suspicious process structures, such as orphaned child processes, injected children under legitimate parents, or long chains of shell execution. + .. code-block:: shell-session $ python3 vol.py -f memory.vmem linux.pstree - Volatility 3 Framework 2.0.1 + + Volatility 3 Framework 2.26.0 Progress: 100.00 Stacking attempts finished - PID PPID COMM + OFFSET (V) PID TID PPID COMM - 1 0 systemd - * 636 1 polkitd - * 514 1 acpid - * 1411 1 pulseaudio - * 517 1 rsyslogd - * 637 1 cups-browsed - * 903 1 whoopsie - * 522 1 ModemManager - * 525 1 cron - * 526 1 avahi-daemon - ** 542 526 avahi-daemon - * 657 1 unattended-upgr - * 914 1 kerneloops - * 532 1 dbus-daemon - * 1429 1 ibus-x11 - * 929 1 kerneloops - * 1572 1 gsd-printer - * 933 1 upowerd - * 1071 1 rtkit-daemon - * 692 1 gdm3 - ** 1234 692 gdm-session-wor - *** 1255 1234 gdm-x-session - **** 1257 1255 Xorg - **** 1266 1255 gnome-session-b - ***** 1537 1266 gsd-clipboard - ***** 1539 1266 gsd-color - ***** 1542 1266 gsd-datetime - ***** 2950 1266 deja-dup-monito - ***** 1546 1266 gsd-housekeepin - ***** 1548 1266 gsd-keyboard - ***** 1550 1266 gsd-media-keys + 0x8ca6db1aac80 1 1 0 systemd + * 0x8ca6db3342c0 278 278 1 systemd-journal + * 0x8ca6d005ac80 315 315 1 systemd-udevd + * 0x8ca6d0eac2c0 478 478 1 systemd-resolve + * ... + *** 0x8ca67108c2c0 1507 1507 1438 gdm-x-session + **** 0x8ca671215900 1527 1527 1507 Xorg + **** 0x8ca671210000 1608 1608 1507 gnome-session-b + ***** 0x8ca66fba42c0 1765 1765 1608 ssh-agent + +The tree view can help identify anomalies in process launch sequences or privilege escalations by inspecting unexpected parent-child relationships. -``linux.pstree`` helps us to display the parent-child relationships between processes. linux.bash ~~~~~~~~~~ From 8ea6422420b92d70666dffc80d8cd35116b6160e Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 18 Jun 2025 16:15:46 +0900 Subject: [PATCH 1991/2186] linux-tutorial: add network plugin examples under Using plugins - Added linux.ip.Addr and linux.ip.Link examples to the Using plugins section - Highlighted the importance of network configuration in memory forensics - Explained key fields such as interface state, MAC, IP, namespace, and flags - Structured the content consistently alongside other plugin examples (pslist, bash, etc.) --- doc/source/getting-started-linux-tutorial.rst | 44 ++++++++++++++----- 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index f43c26b66..c91340902 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -163,7 +163,7 @@ Now to find the commands that were run in the bash shell by using ``linux.bash`` $ python3 vol.py -f memory.vmem linux.bash - Volatility 3 Framework 2.0.1 + Volatility 3 Framework 2.26.0 Progress: 100.00 Stacking attempts finished PID Process CommandTime Command @@ -172,17 +172,37 @@ Now to find the commands that were run in the bash shell by using ``linux.bash`` 1733 bash 2020-01-16 14:00:36.000000 sudo apt upgrade 1733 bash 2020-01-16 14:00:36.000000 sudo apt upgrade 1733 bash 2020-01-16 14:00:36.000000 sudo reboot - 1733 bash 2020-01-16 14:00:36.000000 sudo apt update - 1733 bash 2020-01-16 14:00:36.000000 sudo apt update - 1733 bash 2020-01-16 14:00:36.000000 sudo reboot - 1733 bash 2020-01-16 14:00:36.000000 sudo apt upgrade - 1733 bash 2020-01-16 14:00:36.000000 sudo apt update - 1733 bash 2020-01-16 14:00:36.000000 rub - 1733 bash 2020-01-16 14:00:36.000000 sudo apt upgrade 1733 bash 2020-01-16 14:00:36.000000 uname -a - 1733 bash 2020-01-16 14:00:36.000000 uname -a - 1733 bash 2020-01-16 14:00:36.000000 sudo apt autoclean - 1733 bash 2020-01-16 14:00:36.000000 sudo reboot - 1733 bash 2020-01-16 14:00:36.000000 sudo apt upgrade 1733 bash 2020-01-16 14:00:41.000000 chmod +x meterpreter 1733 bash 2020-01-16 14:00:42.000000 sudo ./meterpreter + + +linux.ip.Addr and linux.ip.Link +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Network configuration is an essential aspect of memory forensics. +Analyzing the network interfaces and their IP assignments can reveal active connections, misconfigured settings, or even artifacts of malicious activity. + +Volatility3 provides the following two plugins to examine this information: + +**linux.ip.Addr** displays IP-related metadata for each interface, including IPv4/IPv6 addresses, MAC, scope, and interface status. + +.. code-block:: shell-session + + $ python3 vol.py -f memory.vmem linux.ip.Addr + + NetNS Index Interface MAC Promiscuous IP Prefix Scope Type State + 4026531992 2 enp0s3 08:00:27:8a:4d:eb False 10.0.2.15 24 global UP + ... + +**linux.ip.Link** shows lower-level link information such as MTU, Qdisc, and interface flags. + +.. code-block:: shell-session + + $ python3 vol.py -f memory.vmem linux.ip.Link + + NS Interface MAC State MTU Qdisc Qlen Flags + 4026531992 enp0s3 08:00:27:8a:4d:eb UP 1500 fq_codel 1000 BROADCAST,LOWER_UP,MULTICAST,UP + +Together, these plugins help investigators assess the system’s network exposure and identify anomalies such as multiple network namespaces, unexpected IP addresses, or active interfaces in promiscuous mode. + From ce6c43f1f44f105db21fd581c03f3f5835a7b475 Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 18 Jun 2025 16:20:57 +0900 Subject: [PATCH 1992/2186] linux-tutorial: add malfind plugin section - Added new section for linux.malfind plugin under Using plugins - Included example output showing detection of suspicious executable memory regions - Explained how to interpret fields such as anonymous mapping, rwx protection, and disassembly - Highlighted analysis tips for identifying potential code injection or fileless malware --- doc/source/getting-started-linux-tutorial.rst | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index c91340902..c474a8291 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -206,3 +206,44 @@ Volatility3 provides the following two plugins to examine this information: Together, these plugins help investigators assess the system’s network exposure and identify anomalies such as multiple network namespaces, unexpected IP addresses, or active interfaces in promiscuous mode. +linux.malfind +~~~~~~~~~~~~~ + +This plugin scans process memory for suspicious executable regions that may indicate code injection or malicious payloads. +It is particularly useful for detecting fileless malware, injected shellcode, or unpacked runtime payloads that do not correspond to legitimate binary files on disk. + +.. code-block:: shell-session + + $ python3 vol.py -f memory.vmem linux.malfind + + Volatility 3 Framework 2.26.0 + Progress: 100.00 Stacking attempts finished + PID Process Start End Path Protection Hexdump Disasm + + 540 networkd-dispat 0x7f1506482000 0x7f1506483000 Anonymous Mapping rwx + 00 00 00 00 00 00 00 00 43 00 00 00 00 00 00 00 ........C....... + 4c 8d 15 f9 ff ff ff ff 25 03 00 00 00 0f 1f 00 L.......%....... + ... + 0x7f1506482000: add byte ptr [rax], al + 0x7f1506482002: add byte ptr [rax], al + ... + 0x7f1506482013: stc + +In this output: + +- **PID / Process**: Identifies the target process (in this case, `networkd-dispat`, PID 540) +- **Start / End**: The memory address range of the suspicious region +- **Path**: Indicates that the region is an anonymous memory mapping (i.e., not backed by a file) +- **Protection**: The region is marked `rwx` (read-write-execute), which is uncommon for legitimate memory regions +- **Disasm**: Shows the disassembled machine code found in that memory region + +**Key indicators to focus on:** + +- **Anonymous Mapping + rwx**: Memory that is not backed by a file and has execute permissions is often used for injected code +- **Disassembly patterns**: Repetitive `add` instructions, `nop`, or unusual instruction sequences can be artifacts of shellcode, packer stubs, or JIT-compiled code +- **Process context**: The suspicious memory is found in `networkd-dispat`, a system service — if this service is not expected to have dynamic executable memory regions, it may be compromised + +Use this plugin early in an investigation to flag processes for deeper inspection. + + + From 5ce5fe67dc93112d76b18e1fe12118b8d8137fd8 Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 18 Jun 2025 16:24:22 +0900 Subject: [PATCH 1993/2186] linux-tutorial: finalize with plugin discovery and contribution guide - Added concluding section to guide users toward further plugin exploration - Provided command to list all supported Linux plugins in Volatility 3 - Encouraged community contribution by highlighting the open-source nature of the project - Linked to the official Volatility 3 GitHub repository for contributor reference --- doc/source/getting-started-linux-tutorial.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index c474a8291..c7917b4db 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -245,5 +245,11 @@ In this output: Use this plugin early in an investigation to flag processes for deeper inspection. +Further Exploration and Contribution +------------------------------------ +This guide has introduced several key Linux plugins available in Volatility 3 for memory forensics. +However, many more plugins are available, covering topics such as kernel modules, page cache analysis, tracing frameworks, and malware detection. +If you identify gaps in plugin functionality or wish to extend support for a specific analysis use case, you are encouraged to contribute new plugins or enhancements. +Your insights can help shape the future of Linux memory forensics. From 17a7fff9268f80cebcd33b6f9dfa669f6cd45458 Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 18 Jun 2025 16:30:28 +0900 Subject: [PATCH 1994/2186] Change link Change link --- doc/source/getting-started-linux-tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index c7917b4db..28726d0ec 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -62,7 +62,7 @@ banners ~~~~~~~ In this example we will be using a memory dump from the Insomni'hack teaser 2020 CTF Challenge called Getdents. We will limit the discussion to memory forensics with volatility 3 and not extend it to other parts of the challenge. -Thanks go to `stuxnet `_ for providing this memory dump and `writeup `_. +Thanks go to `stuxnet `_ for providing this memory dump and writeup `_. .. code-block:: shell-session From 9df53004830684dadfb38e505ead8a34eac07b1e Mon Sep 17 00:00:00 2001 From: cpuu Date: Wed, 18 Jun 2025 16:32:14 +0900 Subject: [PATCH 1995/2186] Edit link link --- doc/source/getting-started-linux-tutorial.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index 28726d0ec..250a34c88 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -62,7 +62,7 @@ banners ~~~~~~~ In this example we will be using a memory dump from the Insomni'hack teaser 2020 CTF Challenge called Getdents. We will limit the discussion to memory forensics with volatility 3 and not extend it to other parts of the challenge. -Thanks go to `stuxnet `_ for providing this memory dump and writeup `_. +Thanks go to `stuxnet `_ for providing this memory dump and `writeup `_. .. code-block:: shell-session @@ -253,3 +253,4 @@ However, many more plugins are available, covering topics such as kernel modules If you identify gaps in plugin functionality or wish to extend support for a specific analysis use case, you are encouraged to contribute new plugins or enhancements. Your insights can help shape the future of Linux memory forensics. + From d9a6ff803b583c1dfa49532929ac87cd98cd91c9 Mon Sep 17 00:00:00 2001 From: Jaeyou PARK Date: Mon, 23 Jun 2025 14:53:12 +0900 Subject: [PATCH 1996/2186] Update getting-started-linux-tutorial.rst Update memory acquisition section: remove deprecated LiME reference LiME has been removed from the documentation due to its unmaintained status. The section now highlights AVML as an actively maintained tool, and includes a general note encouraging users to verify tool compatibility. --- doc/source/getting-started-linux-tutorial.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index 250a34c88..bb40de208 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -6,12 +6,11 @@ This guide will give you a brief overview of how volatility3 works as well as a Acquiring memory ---------------- -Volatility3 does not provide the ability to acquire memory. Below are some examples of tools that can be used to acquire memory, but more are available: +Volatility3 does not provide the ability to acquire memory. Below is an example of a tool that can be used to acquire memory on Linux systems: * `AVML - Acquire Volatile Memory for Linux `_ -* `LiME - Linux Memory Extract `_ -Be aware that LiME raw format is not supported by volatility3, the padded or lime option should be used instead. `This issue contains further information `_. +Other tools may exist, but please verify their maintenance status and compatibility with volatility3 before use. Procedure to create symbol tables for linux ------------------------------------------- From 0f33734f3bd541118d5c51491bb856c7ed91c880 Mon Sep 17 00:00:00 2001 From: Jaeyou PARK Date: Mon, 23 Jun 2025 15:20:42 +0900 Subject: [PATCH 1997/2186] Update getting-started-linux-tutorial.rst : Add reference to Abyss-W4tcher/volatility3-symbols Recommend users first check this repository for pre-generated symbol tables by kernel version for popular Linux distributions before creating their own. --- doc/source/getting-started-linux-tutorial.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index bb40de208..d84872b3e 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -12,14 +12,19 @@ Volatility3 does not provide the ability to acquire memory. Below is an example Other tools may exist, but please verify their maintenance status and compatibility with volatility3 before use. -Procedure to create symbol tables for linux +Procedure to create symbol tables for Linux ------------------------------------------- -To create a symbol table please refer to :ref:`symbol-tables:Mac or Linux symbol tables`. +It is recommended to first check the repository `volatility3-symbols `_ for pre-generated JSON.xz symbol table files. +This repository provides files organized by kernel version for popular Linux distributions such as Debian, Ubuntu, and AlmaLinux. + +If you cannot find a suitable symbol table for your kernel version there, please refer to :ref:`symbol-tables:Mac or Linux symbol tables` to create one manually. + After creating the file, place it under the directory ``volatility3/symbols``. Volatility3 will automatically detect and use symbol tables from this location. + Listing plugins --------------- From 389223795561620ba4ff868976cf81e57ce8722e Mon Sep 17 00:00:00 2001 From: Jaeyou PARK Date: Mon, 23 Jun 2025 15:37:35 +0900 Subject: [PATCH 1998/2186] Update getting-started-linux-tutorial.rst : Rearrange linux.pstree plugin description Moved plugin output example above the feature explanation for better flow and clarity. Simplified the description while retaining key points about process hierarchy and anomaly detection. --- doc/source/getting-started-linux-tutorial.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/source/getting-started-linux-tutorial.rst b/doc/source/getting-started-linux-tutorial.rst index d84872b3e..d0b097e0e 100644 --- a/doc/source/getting-started-linux-tutorial.rst +++ b/doc/source/getting-started-linux-tutorial.rst @@ -133,9 +133,7 @@ This detailed view allows investigators to correlate user privileges, startup ti linux.pstree ~~~~~~~~~~~~ - -This plugin presents the process hierarchy as a tree, clearly showing parent-child relationships between processes. -It is especially useful for identifying unusual or suspicious process structures, such as orphaned child processes, injected children under legitimate parents, or long chains of shell execution. +This plugin presents the process hierarchy as a tree, clearly showing parent-child relationships between processes. .. code-block:: shell-session @@ -155,7 +153,10 @@ It is especially useful for identifying unusual or suspicious process structures **** 0x8ca671210000 1608 1608 1507 gnome-session-b ***** 0x8ca66fba42c0 1765 1765 1608 ssh-agent -The tree view can help identify anomalies in process launch sequences or privilege escalations by inspecting unexpected parent-child relationships. + +It helps identify unusual or suspicious process structures such as orphaned child processes, injected children under legitimate parents, or long chains of shell execution. +The tree view is particularly useful for spotting anomalies in process launch sequences or privilege escalations by inspecting unexpected parent-child relationships. + linux.bash From 65b99bc5462f635bf7f4ef5d83f766ed5c385a2e Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Mon, 23 Jun 2025 12:41:17 +0300 Subject: [PATCH 1999/2186] Plugins: remove unused unix argument in linux.sockstat --- volatility3/framework/plugins/linux/sockstat.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockstat.py b/volatility3/framework/plugins/linux/sockstat.py index a6acf825b..a74e84f92 100644 --- a/volatility3/framework/plugins/linux/sockstat.py +++ b/volatility3/framework/plugins/linux/sockstat.py @@ -475,12 +475,6 @@ class Sockstat(plugins.PluginInterface): requirements.VersionRequirement( name="linux_net", component=network.NetSymbols, version=(1, 0, 0) ), - requirements.BooleanRequirement( - name="unix", - description=("Show UNIX domain Sockets only"), - default=False, - optional=True, - ), requirements.ListRequirement( name="pids", description="Filter results by process IDs. " From 50767ffb8d809b6b2c7fab1d599c95965422a5d7 Mon Sep 17 00:00:00 2001 From: kyrre Date: Fri, 27 Jun 2025 16:33:28 +0200 Subject: [PATCH 2000/2186] add arrow and parquet renderers --- pyproject.toml | 2 + volatility3/cli/text_renderer.py | 141 ++++++++++++++++++++++++++++++- 2 files changed, 142 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b88ac7752..0acbfcbbe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,8 @@ dev = [ "types-jsonschema>=4.23.0,<5", ] +arrow = ["pyarrow>=17.0.0"] + test = [ "volatility3[dev]", "pytest>=8.3.3,<9", diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 1e437a0be..69d2d6d31 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -9,7 +9,7 @@ import random import string import sys from functools import wraps -from typing import Any, Callable, Dict, List, Optional, Set, Tuple, TypeVar, Union +from typing import Any, Callable, Dict, List, Optional, Set, Tuple, TypeVar, Union, TextIO from volatility3.cli import text_filter from volatility3.framework import exceptions, interfaces, renderers @@ -25,6 +25,15 @@ except ImportError: vollog.debug("Disassembly library capstone not found") +try: + ARROW_PRESENT = True + import pyarrow as pa + import pyarrow.parquet as pq +except ImportError: + ARROW_PRESENT = False + vollog.debug("Arrow/Parquet libraries not found") + + def hex_bytes_as_text(value: bytes, width: int = 16) -> str: """Renders HexBytes as text. @@ -624,3 +633,133 @@ class JsonLinesRenderer(JsonRenderer): for line in result: outfd.write(json.dumps(line, sort_keys=True)) outfd.write("\n") + +class ArrowRenderer(CLIRenderer): + def __init__( + self, options: List[interfaces.renderers.RenderOption] | None = None + ) -> None: + super().__init__(options) + + if not ARROW_PRESENT: + raise RuntimeError("Arrow output format requires the pyarrow package") + + _to_arrow_type = { + renderers.Disassembly: pa.utf8, + bool: pa.bool_, + int: pa.int64, + float: pa.float64, + str: pa.utf8, + datetime.datetime: lambda: pa.timestamp("ms"), + format_hints.Bin: pa.int64, + format_hints.Hex: pa.int64, + format_hints.MultiTypeData: pa.utf8, + format_hints.HexBytes: pa.binary, + } + + name = "arrow" + structured_output = True + + def get_render_options(self) -> List[interfaces.renderers.RenderOption]: + return [] + + def to_arrow_schema(self, grid: interfaces.renderers.TreeGrid) -> pa.Schema: + fields = [] + for column in grid.columns: + arrow_type = self._to_arrow_type[column.type] + fields.append(pa.field(column.name, arrow_type())) + return pa.schema(fields) + + def output_result(self, schema, outfd: TextIO, result): + """Outputs the JSON data to a file in a particular format""" + + t = pa.Table.from_pylist(result, schema=schema) + self.write_data(t, outfd) + + def write_data(self, t: pa.Table, outfd: TextIO) -> None: + buf = pa.BufferOutputStream() + + writer = pa.ipc.new_stream(buf, t.schema) + writer.write_table(t) + writer.close() + + # Get the buffer bytes and write to output + buf_bytes = buf.getvalue().to_pybytes() + outfd.buffer.write(buf_bytes) + + def render(self, grid: interfaces.renderers.TreeGrid): + outfd = sys.stdout + final_output: Tuple[ + Dict[str, List[interfaces.renderers.TreeNode]], + List[interfaces.renderers.TreeNode], + ] = ({}, []) + + ignore_columns = self.ignored_columns(grid) + + def visitor( + node: interfaces.renderers.TreeNode, + accumulator: Tuple[Dict[str, Dict[str, Any]], List[Dict[str, Any]]], + ) -> Tuple[Dict[str, Dict[str, Any]], List[Dict[str, Any]]]: + # Nodes always have a path value, giving them a path_depth of at least 1, we use max just in case + acc_map, final_tree = accumulator + node_dict: Dict[str, Any] = {"__children": []} + line = [] + for column_index, column in enumerate(grid.columns): + if column in ignore_columns: + continue + + data = list(node.values)[column_index] + + if isinstance(data, interfaces.renderers.BaseAbsentValue): + data = None + + if isinstance(data, renderers.Disassembly): + data = display_disassembly(data) + + node_dict[column.name] = data + line.append(data) + + if self.filter and self.filter.filter(line): + return accumulator + + if node.parent: + acc_map[node.parent.path]["__children"].append(node_dict) + else: + final_tree.append(node_dict) + acc_map[node.path] = node_dict + + return (acc_map, final_tree) + + if not grid.populated: + grid.populate(visitor, final_output) + else: + grid.visit(node=None, function=visitor, initial_accumulator=final_output) + + schema = self.to_arrow_schema(grid) + self.output_result(schema, outfd, final_output[1]) + + +class ParquetRenderer(ArrowRenderer): + name = "parquet" + structured_output = True + + def get_render_options(self) -> List[interfaces.renderers.RenderOption]: + return [] + + def write_data(self, t: pa.Table, outfd: TextIO) -> None: + """ + Writes a table to stdout using the Parquet format. + + Args: + t: The Arrow table to write + outfd: The output file descriptor + + Returns: + Nothing + """ + # Write DataFrame to a temporary file-like object + buf = pa.BufferOutputStream() + pq.write_table(t, buf, compression="snappy") + + # Get the buffer as a bytes object + buf_bytes = buf.getvalue().to_pybytes() + outfd.buffer.write(buf_bytes) \ No newline at end of file From a0b00766f8df6cd4351e850ee9424a1c18786aa9 Mon Sep 17 00:00:00 2001 From: kyrre Date: Fri, 27 Jun 2025 16:58:35 +0200 Subject: [PATCH 2001/2186] formatting with ruff --- volatility3/cli/text_renderer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 69d2d6d31..13276520d 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -748,11 +748,11 @@ class ParquetRenderer(ArrowRenderer): def write_data(self, t: pa.Table, outfd: TextIO) -> None: """ Writes a table to stdout using the Parquet format. - + Args: t: The Arrow table to write outfd: The output file descriptor - + Returns: Nothing """ @@ -762,4 +762,4 @@ class ParquetRenderer(ArrowRenderer): # Get the buffer as a bytes object buf_bytes = buf.getvalue().to_pybytes() - outfd.buffer.write(buf_bytes) \ No newline at end of file + outfd.buffer.write(buf_bytes) From 1c7856212f6c05feec3aa4d5527b7b00f4bbc456 Mon Sep 17 00:00:00 2001 From: kyrre Date: Fri, 27 Jun 2025 17:01:08 +0200 Subject: [PATCH 2002/2186] linting --- volatility3/cli/text_renderer.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 13276520d..1bdca3803 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -9,7 +9,18 @@ import random import string import sys from functools import wraps -from typing import Any, Callable, Dict, List, Optional, Set, Tuple, TypeVar, Union, TextIO +from typing import ( + Any, + Callable, + Dict, + List, + Optional, + Set, + Tuple, + TypeVar, + Union, + TextIO, +) from volatility3.cli import text_filter from volatility3.framework import exceptions, interfaces, renderers @@ -634,6 +645,7 @@ class JsonLinesRenderer(JsonRenderer): outfd.write(json.dumps(line, sort_keys=True)) outfd.write("\n") + class ArrowRenderer(CLIRenderer): def __init__( self, options: List[interfaces.renderers.RenderOption] | None = None From 03895969875f682031466cb84793b6dc9d74f617 Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Sat, 28 Jun 2025 11:46:13 +0200 Subject: [PATCH 2003/2186] Fix: Avoid import-time errors if pyarrow is missing - Use string type annotations for pa.* types in Arrow/Parquet renderers. - Ensure pyarrow dependency is checked only in __init__. --- volatility3/cli/text_renderer.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 1bdca3803..d2334a9f9 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -655,18 +655,18 @@ class ArrowRenderer(CLIRenderer): if not ARROW_PRESENT: raise RuntimeError("Arrow output format requires the pyarrow package") - _to_arrow_type = { - renderers.Disassembly: pa.utf8, - bool: pa.bool_, - int: pa.int64, - float: pa.float64, - str: pa.utf8, - datetime.datetime: lambda: pa.timestamp("ms"), - format_hints.Bin: pa.int64, - format_hints.Hex: pa.int64, - format_hints.MultiTypeData: pa.utf8, - format_hints.HexBytes: pa.binary, - } + self._to_arrow_type = { + renderers.Disassembly: pa.utf8, + bool: pa.bool_, + int: pa.int64, + float: pa.float64, + str: pa.utf8, + datetime.datetime: lambda: pa.timestamp("ms"), + format_hints.Bin: pa.int64, + format_hints.Hex: pa.int64, + format_hints.MultiTypeData: pa.utf8, + format_hints.HexBytes: pa.binary, + } name = "arrow" structured_output = True @@ -674,20 +674,20 @@ class ArrowRenderer(CLIRenderer): def get_render_options(self) -> List[interfaces.renderers.RenderOption]: return [] - def to_arrow_schema(self, grid: interfaces.renderers.TreeGrid) -> pa.Schema: + def to_arrow_schema(self, grid: interfaces.renderers.TreeGrid) -> "pa.Schema": fields = [] for column in grid.columns: arrow_type = self._to_arrow_type[column.type] fields.append(pa.field(column.name, arrow_type())) return pa.schema(fields) - def output_result(self, schema, outfd: TextIO, result): + def output_result(self, schema: "pa.Schema", outfd: TextIO, result): """Outputs the JSON data to a file in a particular format""" t = pa.Table.from_pylist(result, schema=schema) self.write_data(t, outfd) - def write_data(self, t: pa.Table, outfd: TextIO) -> None: + def write_data(self, t: "pa.Table", outfd: TextIO) -> None: buf = pa.BufferOutputStream() writer = pa.ipc.new_stream(buf, t.schema) @@ -757,7 +757,7 @@ class ParquetRenderer(ArrowRenderer): def get_render_options(self) -> List[interfaces.renderers.RenderOption]: return [] - def write_data(self, t: pa.Table, outfd: TextIO) -> None: + def write_data(self, t: "pa.Table", outfd: TextIO) -> None: """ Writes a table to stdout using the Parquet format. From 78d56534c0b9b17fff2e9e62c06f53fb1edc7015 Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Sat, 28 Jun 2025 12:16:36 +0200 Subject: [PATCH 2004/2186] fix: handle layerdata to pyarrow conversion --- volatility3/cli/text_renderer.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index d2334a9f9..52a499ffe 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -666,6 +666,8 @@ class ArrowRenderer(CLIRenderer): format_hints.Hex: pa.int64, format_hints.MultiTypeData: pa.utf8, format_hints.HexBytes: pa.binary, + renderers.LayerData: pa.binary, + bytes: pa.binary, } name = "arrow" @@ -727,6 +729,9 @@ class ArrowRenderer(CLIRenderer): if isinstance(data, renderers.Disassembly): data = display_disassembly(data) + if isinstance(data, renderers.LayerData): + data = LayerDataRenderer().render_bytes(data)[0] + node_dict[column.name] = data line.append(data) From 97006bc61cb7403e7e1fe43389c9724e87247492 Mon Sep 17 00:00:00 2001 From: atcuno Date: Mon, 30 Jun 2025 17:27:58 -0500 Subject: [PATCH 2005/2186] Change warning to debug to not break plugin output and to conform to coding standards --- volatility3/framework/plugins/windows/malware/malfind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/malware/malfind.py b/volatility3/framework/plugins/windows/malware/malfind.py index 33eaf64ef..01da93e1f 100644 --- a/volatility3/framework/plugins/windows/malware/malfind.py +++ b/volatility3/framework/plugins/windows/malware/malfind.py @@ -173,7 +173,7 @@ class Malfind(interfaces.plugins.PluginInterface): if dirty_page is not None: # Useful information to investigate the page content with volshell afterwards. - vollog.warning( + vollog.debug( f"[proc_id {proc_id}] Found suspicious DIRTY + {protection_string} page at {hex(dirty_page)}", ) start = vad.get_start() From e4aa9af834bedc70f7e27d2a8599444b2a7af4ab Mon Sep 17 00:00:00 2001 From: tvanegro Date: Thu, 3 Jul 2025 13:31:03 +0200 Subject: [PATCH 2006/2186] version bump --- volatility3/framework/plugins/linux/malware/malfind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index 98e9c4695..b9a03c616 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -18,7 +18,7 @@ class Malfind(interfaces.plugins.PluginInterface): """Lists process memory ranges that potentially contain injected code.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 3) + _version = (1, 0, 4) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 2f8aecc025ec326aa9897c9762d099a51d171910 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 4 Jun 2025 22:13:28 +0300 Subject: [PATCH 2007/2186] linux_utilities show deleted fd + lsof files_only arg --- volatility3/framework/plugins/linux/lsof.py | 15 +++++++++++++-- volatility3/framework/symbols/linux/__init__.py | 17 +++++++++++++---- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 283eabca0..1880bb09e 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -137,6 +137,12 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): element_type=int, optional=True, ), + requirements.BooleanRequirement( + name="files_only", + description="Include only file descriptors of type file", + optional=True, + default=False, + ), ] @classmethod @@ -145,6 +151,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): context: interfaces.context.ContextInterface, vmlinux_module_name: str, filter_func: Callable[[int], bool] = lambda _: False, + include_files_only: bool = False, ) -> Iterable[FDInternal]: """Enumerates open file descriptors in tasks @@ -167,7 +174,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): linuxutils_symbol_table = task.vol.type_name.split(constants.BANG)[0] fd_generator = linux.LinuxUtilities.files_descriptors_for_process( - context, linuxutils_symbol_table, task + context, linuxutils_symbol_table, task, files_only=include_files_only ) for fd_fields in fd_generator: @@ -175,8 +182,12 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): def _generator(self, pids, vmlinux_module_name): filter_func = pslist.PsList.create_pid_filter(pids) + include_files_only = self.config.get("files_only") for fd_internal in self.list_fds( - self.context, vmlinux_module_name, filter_func=filter_func + self.context, + vmlinux_module_name, + filter_func=filter_func, + include_files_only=include_files_only, ): fd_user = fd_internal.to_user() yield (0, dataclasses.astuple(fd_user)) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index ac27b7e42..d66d350b1 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -101,6 +101,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): _version = (2, 3, 1) _required_framework_version = (2, 0, 0) + deleted = " (deleted)" framework.require_interface_version(*_required_framework_version) @@ -168,6 +169,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): # vfsmnt can be the vfsmount object itself (>=3.3) or a vfsmount * (<3.3) return "" + inode = dentry.d_inode path_reversed = [] smeared = False while ( @@ -191,6 +193,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): parent = dentry.d_parent dname = dentry.d_name.name_as_str() + # empty dentry names are most likely # the result of smearing if not dname: @@ -204,6 +207,9 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): # path would be /foo/bar/baz, but bar is missing due to smear the results # returned here will show /foo//baz. Note the // for the missing dname. return f" {path}" + print(path, inode.i_nlink) + if inode and inode.is_readable() and inode.is_valid() and inode.i_nlink == 0: + path += LinuxUtilities.deleted return path @classmethod @@ -260,7 +266,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): pre_name = name.dereference().cast( "string", max_length=255, errors="replace" ) - return "/" + pre_name + " (deleted)" + return "/" + pre_name + LinuxUtilities.deleted else: pre_name = "" @@ -301,7 +307,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return f"{pre_name}:[{inode.i_ino:d}]" @classmethod - def path_for_file(cls, context, task, filp) -> str: + def path_for_file(cls, context, task, filp, files_only) -> str: """Returns a file (or sock pipe) pathname relative to the task's root directory. A 'file' structure doesn't have enough information to properly restore its @@ -340,7 +346,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): except exceptions.InvalidAddressException: dname_is_valid = False - if dname_is_valid: + if dname_is_valid and not files_only: ret = LinuxUtilities._get_new_sock_pipe_path(context, task, filp) else: ret = LinuxUtilities._get_path_file(task, filp) @@ -353,6 +359,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): context: interfaces.context.ContextInterface, symbol_table: str, task: interfaces.objects.ObjectInterface, + files_only: bool = False, ): try: files = task.files @@ -376,7 +383,9 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): for fd_num, filp in enumerate(fds): if filp and filp.is_readable(): - full_path = LinuxUtilities.path_for_file(context, task, filp) + full_path = LinuxUtilities.path_for_file( + context, task, filp, files_only + ) yield fd_num, filp, full_path From bf68bb6590e75569a75bedffc05189fa5d8dddda Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 4 Jun 2025 22:18:29 +0300 Subject: [PATCH 2008/2186] debug print remove --- volatility3/framework/symbols/linux/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index d66d350b1..dbea14d47 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -207,7 +207,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): # path would be /foo/bar/baz, but bar is missing due to smear the results # returned here will show /foo//baz. Note the // for the missing dname. return f" {path}" - print(path, inode.i_nlink) + if inode and inode.is_readable() and inode.is_valid() and inode.i_nlink == 0: path += LinuxUtilities.deleted return path From e29a01e6826a58b75c9f1f95e06a8e38b521cc21 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 4 Jun 2025 22:20:10 +0300 Subject: [PATCH 2009/2186] black --- volatility3/framework/symbols/linux/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index dbea14d47..6de445c6b 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -207,7 +207,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): # path would be /foo/bar/baz, but bar is missing due to smear the results # returned here will show /foo//baz. Note the // for the missing dname. return f" {path}" - + if inode and inode.is_readable() and inode.is_valid() and inode.i_nlink == 0: path += LinuxUtilities.deleted return path From 2efb7f580a6a574fd5c942e3a78082ec94f80023 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 4 Jun 2025 22:27:18 +0300 Subject: [PATCH 2010/2186] declare default value :(( --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3b9a73e7c..8330d70aa 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1253,7 +1253,7 @@ class vm_area_struct(objects.StructType): def _do_get_name(self, context, task) -> str: if self.vm_file != 0: - fname = linux.LinuxUtilities.path_for_file(context, task, self.vm_file) + fname = linux.LinuxUtilities.path_for_file(context, task, self.vm_file, files_only=False) elif self.vm_start <= task.mm.start_brk and self.vm_end >= task.mm.brk: fname = "[heap]" elif self.vm_start <= task.mm.start_stack <= self.vm_end: From e0dc64938463722e3465a7dbfdd09bd053b66849 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 4 Jun 2025 22:28:27 +0300 Subject: [PATCH 2011/2186] black --- volatility3/framework/symbols/linux/extensions/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 8330d70aa..318424d5b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1253,7 +1253,9 @@ class vm_area_struct(objects.StructType): def _do_get_name(self, context, task) -> str: if self.vm_file != 0: - fname = linux.LinuxUtilities.path_for_file(context, task, self.vm_file, files_only=False) + fname = linux.LinuxUtilities.path_for_file( + context, task, self.vm_file, files_only=False + ) elif self.vm_start <= task.mm.start_brk and self.vm_end >= task.mm.brk: fname = "[heap]" elif self.vm_start <= task.mm.start_stack <= self.vm_end: From 23e4d35017b7ed3f73458d862c77cdc471e5a1bf Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 11 Jun 2025 19:44:50 +0300 Subject: [PATCH 2012/2186] prepend for deleted sock & file instead of (deleted) --- volatility3/framework/symbols/linux/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 6de445c6b..b3a8935c6 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -101,7 +101,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): _version = (2, 3, 1) _required_framework_version = (2, 0, 0) - deleted = " (deleted)" + deleted = "" framework.require_interface_version(*_required_framework_version) @@ -209,7 +209,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return f" {path}" if inode and inode.is_readable() and inode.is_valid() and inode.i_nlink == 0: - path += LinuxUtilities.deleted + path = f"{LinuxUtilities.deleted} {path}" return path @classmethod @@ -266,7 +266,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): pre_name = name.dereference().cast( "string", max_length=255, errors="replace" ) - return "/" + pre_name + LinuxUtilities.deleted + return f"{LinuxUtilities.deleted} /{pre_name}" else: pre_name = "" From 0a8f2cd23e15d046a37bb986c6394e7bb04d9ec2 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 11 Jun 2025 19:47:27 +0300 Subject: [PATCH 2013/2186] files_only default arg & minor version bump --- volatility3/framework/symbols/linux/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index b3a8935c6..8e1b94a0a 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -99,7 +99,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): class LinuxUtilities(interfaces.configuration.VersionableInterface): """Class with multiple useful linux functions.""" - _version = (2, 3, 1) + _version = (2, 4, 0) _required_framework_version = (2, 0, 0) deleted = "" @@ -307,7 +307,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return f"{pre_name}:[{inode.i_ino:d}]" @classmethod - def path_for_file(cls, context, task, filp, files_only) -> str: + def path_for_file(cls, context, task, filp, files_only=False) -> str: """Returns a file (or sock pipe) pathname relative to the task's root directory. A 'file' structure doesn't have enough information to properly restore its From c64c6229d1db02f880d35be479410b2c58b31847 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 11 Jun 2025 19:58:18 +0300 Subject: [PATCH 2014/2186] move config arg to run() --- volatility3/framework/plugins/linux/lsof.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 1880bb09e..d807d444e 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -180,9 +180,9 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): for fd_fields in fd_generator: yield FDInternal(task=task, fd_fields=fd_fields) - def _generator(self, pids, vmlinux_module_name): + def _generator(self, pids, vmlinux_module_name, include_files_only): filter_func = pslist.PsList.create_pid_filter(pids) - include_files_only = self.config.get("files_only") + for fd_internal in self.list_fds( self.context, vmlinux_module_name, @@ -195,6 +195,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): def run(self): pids = self.config.get("pid", None) vmlinux_module_name = self.config["kernel"] + include_files_only = self.config.get("files_only") tree_grid_args = [ ("PID", int), @@ -212,7 +213,10 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): ("Size", int), ] return renderers.TreeGrid( - tree_grid_args, self._generator(pids, vmlinux_module_name) + tree_grid_args, + self._generator( + pids, vmlinux_module_name, include_files_only=include_files_only + ), ) def generate_timeline(self): From 606323f25a13ae5bd73cc07721ad2e59780e4f5d Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Thu, 12 Jun 2025 21:09:25 +0300 Subject: [PATCH 2015/2186] remove code for next PR --- volatility3/framework/symbols/linux/__init__.py | 2 +- volatility3/framework/symbols/linux/extensions/__init__.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 8e1b94a0a..19f8fc800 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -266,7 +266,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): pre_name = name.dereference().cast( "string", max_length=255, errors="replace" ) - return f"{LinuxUtilities.deleted} /{pre_name}" + return "/" + pre_name + " (deleted)" else: pre_name = "" diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 318424d5b..3b9a73e7c 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1253,9 +1253,7 @@ class vm_area_struct(objects.StructType): def _do_get_name(self, context, task) -> str: if self.vm_file != 0: - fname = linux.LinuxUtilities.path_for_file( - context, task, self.vm_file, files_only=False - ) + fname = linux.LinuxUtilities.path_for_file(context, task, self.vm_file) elif self.vm_start <= task.mm.start_brk and self.vm_end >= task.mm.brk: fname = "[heap]" elif self.vm_start <= task.mm.start_stack <= self.vm_end: From c4717075b68ce70ae9d01261165322a01a02928c Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Thu, 12 Jun 2025 21:27:19 +0300 Subject: [PATCH 2016/2186] create potential smear tag --- volatility3/framework/symbols/linux/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 19f8fc800..856be961e 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -102,6 +102,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): _version = (2, 4, 0) _required_framework_version = (2, 0, 0) deleted = "" + smear = "" framework.require_interface_version(*_required_framework_version) @@ -206,7 +207,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): # if there is smear the missing dname will be empty. e.g. if the normal # path would be /foo/bar/baz, but bar is missing due to smear the results # returned here will show /foo//baz. Note the // for the missing dname. - return f" {path}" + return f"{LinuxUtilities.smear} {path}" if inode and inode.is_readable() and inode.is_valid() and inode.i_nlink == 0: path = f"{LinuxUtilities.deleted} {path}" From 7ed7d43c424010a9e5e1875854189299a5c52cc8 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Mon, 23 Jun 2025 10:18:47 +0300 Subject: [PATCH 2017/2186] plugins: bump lsof minor version --- volatility3/framework/plugins/linux/lsof.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index d807d444e..4b6f011ea 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -110,7 +110,7 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists open files for each processes.""" _required_framework_version = (2, 0, 0) - _version = (2, 0, 2) + _version = (2, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From eb790083e2875f63dc14a9a9fb52f5088114f08e Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Fri, 11 Jul 2025 15:26:03 +0300 Subject: [PATCH 2018/2186] plugins: lsof change back to (deleted) --- volatility3/framework/symbols/linux/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 856be961e..19fb8f1d4 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -101,7 +101,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): _version = (2, 4, 0) _required_framework_version = (2, 0, 0) - deleted = "" + deleted = "(deleted)" smear = "" framework.require_interface_version(*_required_framework_version) @@ -210,7 +210,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface): return f"{LinuxUtilities.smear} {path}" if inode and inode.is_readable() and inode.is_valid() and inode.i_nlink == 0: - path = f"{LinuxUtilities.deleted} {path}" + path = f" {path} {LinuxUtilities.deleted}" return path @classmethod From 1ebb82a0c0ec00c6e54f2d5f731de18520367041 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 12 Jul 2025 11:09:47 +0100 Subject: [PATCH 2019/2186] Try to fix documentation builds --- pyproject.toml | 2 +- volatility3/framework/plugins/yarascan.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b88ac7752..fca8ea436 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ test = [ docs = [ "volatility3[dev]", "sphinx>=4.0.0,<9", - "sphinx-autodoc-typehints>=2.0.0,<3", + "sphinx-autodoc-typehints>=3.0.0,<4", "sphinx-rtd-theme>=3.0.1,<4", ] diff --git a/volatility3/framework/plugins/yarascan.py b/volatility3/framework/plugins/yarascan.py index 040a50c1a..910ded109 100644 --- a/volatility3/framework/plugins/yarascan.py +++ b/volatility3/framework/plugins/yarascan.py @@ -31,7 +31,7 @@ except ImportError: except ImportError: vollog.info( - "Neither yara-x nor yara-python (>3.8.0) module not found, plugin (and dependent plugins) not available" + "Neither yara-x nor yara-python (>3.8.0) module was found, plugin (and dependent plugins) not available" ) raise From d3a6b030b7604f6289f59dc7fa3e2882eb69225a Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Mon, 14 Jul 2025 13:38:35 +0200 Subject: [PATCH 2020/2186] moved arrow/parquet parsers to it's own file and reverted changes --- volatility3/cli/text_renderer.py | 166 +----------------- .../framework/plugins/parquet_renderer.py | 161 +++++++++++++++++ 2 files changed, 165 insertions(+), 162 deletions(-) create mode 100644 volatility3/framework/plugins/parquet_renderer.py diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 52a499ffe..89526c90c 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -9,18 +9,7 @@ import random import string import sys from functools import wraps -from typing import ( - Any, - Callable, - Dict, - List, - Optional, - Set, - Tuple, - TypeVar, - Union, - TextIO, -) +from typing import Any, Callable, Dict, List, Optional, Set, Tuple, TypeVar, Union from volatility3.cli import text_filter from volatility3.framework import exceptions, interfaces, renderers @@ -36,15 +25,6 @@ except ImportError: vollog.debug("Disassembly library capstone not found") -try: - ARROW_PRESENT = True - import pyarrow as pa - import pyarrow.parquet as pq -except ImportError: - ARROW_PRESENT = False - vollog.debug("Arrow/Parquet libraries not found") - - def hex_bytes_as_text(value: bytes, width: int = 16) -> str: """Renders HexBytes as text. @@ -298,7 +278,6 @@ class CLIRenderer(interfaces.renderers.Renderer): class QuickTextRenderer(CLIRenderer): - name = "quick" def get_render_options(self): @@ -368,7 +347,6 @@ class NoneRenderer(CLIRenderer): class CSVRenderer(CLIRenderer): - name = "csv" structured_output = True @@ -486,9 +464,9 @@ class PrettyTextRenderer(CLIRenderer): accumulator.append((node.path_depth, line)) return accumulator - final_output: List[Tuple[int, Dict[interfaces.renderers.Column, list[str]]]] = ( - [] - ) + final_output: List[ + Tuple[int, Dict[interfaces.renderers.Column, list[str]]] + ] = [] if not grid.populated: grid.populate(visitor, final_output) else: @@ -644,139 +622,3 @@ class JsonLinesRenderer(JsonRenderer): for line in result: outfd.write(json.dumps(line, sort_keys=True)) outfd.write("\n") - - -class ArrowRenderer(CLIRenderer): - def __init__( - self, options: List[interfaces.renderers.RenderOption] | None = None - ) -> None: - super().__init__(options) - - if not ARROW_PRESENT: - raise RuntimeError("Arrow output format requires the pyarrow package") - - self._to_arrow_type = { - renderers.Disassembly: pa.utf8, - bool: pa.bool_, - int: pa.int64, - float: pa.float64, - str: pa.utf8, - datetime.datetime: lambda: pa.timestamp("ms"), - format_hints.Bin: pa.int64, - format_hints.Hex: pa.int64, - format_hints.MultiTypeData: pa.utf8, - format_hints.HexBytes: pa.binary, - renderers.LayerData: pa.binary, - bytes: pa.binary, - } - - name = "arrow" - structured_output = True - - def get_render_options(self) -> List[interfaces.renderers.RenderOption]: - return [] - - def to_arrow_schema(self, grid: interfaces.renderers.TreeGrid) -> "pa.Schema": - fields = [] - for column in grid.columns: - arrow_type = self._to_arrow_type[column.type] - fields.append(pa.field(column.name, arrow_type())) - return pa.schema(fields) - - def output_result(self, schema: "pa.Schema", outfd: TextIO, result): - """Outputs the JSON data to a file in a particular format""" - - t = pa.Table.from_pylist(result, schema=schema) - self.write_data(t, outfd) - - def write_data(self, t: "pa.Table", outfd: TextIO) -> None: - buf = pa.BufferOutputStream() - - writer = pa.ipc.new_stream(buf, t.schema) - writer.write_table(t) - writer.close() - - # Get the buffer bytes and write to output - buf_bytes = buf.getvalue().to_pybytes() - outfd.buffer.write(buf_bytes) - - def render(self, grid: interfaces.renderers.TreeGrid): - outfd = sys.stdout - final_output: Tuple[ - Dict[str, List[interfaces.renderers.TreeNode]], - List[interfaces.renderers.TreeNode], - ] = ({}, []) - - ignore_columns = self.ignored_columns(grid) - - def visitor( - node: interfaces.renderers.TreeNode, - accumulator: Tuple[Dict[str, Dict[str, Any]], List[Dict[str, Any]]], - ) -> Tuple[Dict[str, Dict[str, Any]], List[Dict[str, Any]]]: - # Nodes always have a path value, giving them a path_depth of at least 1, we use max just in case - acc_map, final_tree = accumulator - node_dict: Dict[str, Any] = {"__children": []} - line = [] - for column_index, column in enumerate(grid.columns): - if column in ignore_columns: - continue - - data = list(node.values)[column_index] - - if isinstance(data, interfaces.renderers.BaseAbsentValue): - data = None - - if isinstance(data, renderers.Disassembly): - data = display_disassembly(data) - - if isinstance(data, renderers.LayerData): - data = LayerDataRenderer().render_bytes(data)[0] - - node_dict[column.name] = data - line.append(data) - - if self.filter and self.filter.filter(line): - return accumulator - - if node.parent: - acc_map[node.parent.path]["__children"].append(node_dict) - else: - final_tree.append(node_dict) - acc_map[node.path] = node_dict - - return (acc_map, final_tree) - - if not grid.populated: - grid.populate(visitor, final_output) - else: - grid.visit(node=None, function=visitor, initial_accumulator=final_output) - - schema = self.to_arrow_schema(grid) - self.output_result(schema, outfd, final_output[1]) - - -class ParquetRenderer(ArrowRenderer): - name = "parquet" - structured_output = True - - def get_render_options(self) -> List[interfaces.renderers.RenderOption]: - return [] - - def write_data(self, t: "pa.Table", outfd: TextIO) -> None: - """ - Writes a table to stdout using the Parquet format. - - Args: - t: The Arrow table to write - outfd: The output file descriptor - - Returns: - Nothing - """ - # Write DataFrame to a temporary file-like object - buf = pa.BufferOutputStream() - pq.write_table(t, buf, compression="snappy") - - # Get the buffer as a bytes object - buf_bytes = buf.getvalue().to_pybytes() - outfd.buffer.write(buf_bytes) diff --git a/volatility3/framework/plugins/parquet_renderer.py b/volatility3/framework/plugins/parquet_renderer.py new file mode 100644 index 000000000..806dcd801 --- /dev/null +++ b/volatility3/framework/plugins/parquet_renderer.py @@ -0,0 +1,161 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import datetime +import logging +import sys +from typing import ( + Any, + Dict, + List, + Tuple, + TextIO, +) +from volatility3.framework import interfaces, renderers +from volatility3.framework.renderers import format_hints +from volatility3.cli.text_renderer import CLIRenderer, display_disassembly, LayerDataRenderer + +vollog = logging.getLogger(__name__) + +try: + ARROW_PRESENT = True + import pyarrow as pa + import pyarrow.parquet as pq +except ImportError: + ARROW_PRESENT = False + vollog.debug("Arrow/Parquet libraries not found") + +class ArrowRenderer(CLIRenderer): + def __init__( + self, options: List[interfaces.renderers.RenderOption] | None = None + ) -> None: + super().__init__(options) + + if not ARROW_PRESENT: + raise RuntimeError("Arrow output format requires the pyarrow package") + + self._to_arrow_type = { + renderers.Disassembly: pa.utf8, + bool: pa.bool_, + int: pa.int64, + float: pa.float64, + str: pa.utf8, + datetime.datetime: lambda: pa.timestamp("ms"), + format_hints.Bin: pa.int64, + format_hints.Hex: pa.int64, + format_hints.MultiTypeData: pa.utf8, + format_hints.HexBytes: pa.binary, + renderers.LayerData: pa.binary, + bytes: pa.binary, + } + + name = "arrow" + structured_output = True + + def get_render_options(self) -> List[interfaces.renderers.RenderOption]: + return [] + + def to_arrow_schema(self, grid: interfaces.renderers.TreeGrid) -> "pa.Schema": + fields = [] + for column in grid.columns: + arrow_type = self._to_arrow_type[column.type] + fields.append(pa.field(column.name, arrow_type())) + return pa.schema(fields) + + def output_result(self, schema: "pa.Schema", outfd: TextIO, result): + """Outputs the JSON data to a file in a particular format""" + + t = pa.Table.from_pylist(result, schema=schema) + self.write_data(t, outfd) + + def write_data(self, t: "pa.Table", outfd: TextIO) -> None: + buf = pa.BufferOutputStream() + + writer = pa.ipc.new_stream(buf, t.schema) + writer.write_table(t) + writer.close() + + # Get the buffer bytes and write to output + buf_bytes = buf.getvalue().to_pybytes() + outfd.buffer.write(buf_bytes) + + def render(self, grid: interfaces.renderers.TreeGrid): + outfd = sys.stdout + final_output: Tuple[ + Dict[str, List[interfaces.renderers.TreeNode]], + List[interfaces.renderers.TreeNode], + ] = ({}, []) + + ignore_columns = self.ignored_columns(grid) + + def visitor( + node: interfaces.renderers.TreeNode, + accumulator: Tuple[Dict[str, Dict[str, Any]], List[Dict[str, Any]]], + ) -> Tuple[Dict[str, Dict[str, Any]], List[Dict[str, Any]]]: + # Nodes always have a path value, giving them a path_depth of at least 1, we use max just in case + acc_map, final_tree = accumulator + node_dict: Dict[str, Any] = {"__children": []} + line = [] + for column_index, column in enumerate(grid.columns): + if column in ignore_columns: + continue + + data = list(node.values)[column_index] + + if isinstance(data, interfaces.renderers.BaseAbsentValue): + data = None + + if isinstance(data, renderers.Disassembly): + data = display_disassembly(data) + + if isinstance(data, renderers.LayerData): + data = LayerDataRenderer().render_bytes(data)[0] + + node_dict[column.name] = data + line.append(data) + + if self.filter and self.filter.filter(line): + return accumulator + + if node.parent: + acc_map[node.parent.path]["__children"].append(node_dict) + else: + final_tree.append(node_dict) + acc_map[node.path] = node_dict + + return (acc_map, final_tree) + + if not grid.populated: + grid.populate(visitor, final_output) + else: + grid.visit(node=None, function=visitor, initial_accumulator=final_output) + + schema = self.to_arrow_schema(grid) + self.output_result(schema, outfd, final_output[1]) + + +class ParquetRenderer(ArrowRenderer): + name = "parquet" + structured_output = True + + def get_render_options(self) -> List[interfaces.renderers.RenderOption]: + return [] + + def write_table(self, table: "pa.Table", outfd: TextIO) -> None: + """ + Writes a table to stdout using the Parquet format. + + Args: + t: The Arrow table to write + outfd: The output file descriptor + + Returns: + Nothing + """ + # Write DataFrame to a temporary file-like object + buf = pa.BufferOutputStream() + pq.write_table(table, buf, compression="snappy") + + # Get the buffer as a bytes object + buf_bytes = buf.getvalue().to_pybytes() + outfd.buffer.write(buf_bytes) From 8479fa1c136c3f71c7fb8602184219326fca1fae Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Mon, 14 Jul 2025 14:07:44 +0200 Subject: [PATCH 2021/2186] moved renderer parsing to after the plugins are imported --- volatility3/cli/__init__.py | 45 ++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index cc97c4fcb..4c379a15e 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -106,13 +106,6 @@ class CommandLine: volatility3.framework.require_interface_version(2, 0, 0) - renderers = dict( - [ - (x.name.lower(), x) - for x in framework.class_subclasses(text_renderer.CLIRenderer) - ] - ) - # Load up system defaults delayed_logs, default_config = self.load_system_defaults("vol.json") @@ -193,14 +186,6 @@ class CommandLine: default=False, action="store_true", ) - parser.add_argument( - "-r", - "--renderer", - metavar="RENDERER", - help=f"Determines how to render the output ({', '.join(list(renderers))})", - default="quick", - choices=list(renderers), - ) parser.add_argument( "-f", "--file", @@ -270,11 +255,6 @@ class CommandLine: known_args = [arg for arg in sys.argv if arg != "--help" and arg != "-h"] partial_args, _ = parser.parse_known_args(known_args) - banner_output = sys.stdout - if renderers[partial_args.renderer].structured_output: - banner_output = sys.stderr - banner_output.write(f"Volatility 3 Framework {constants.PACKAGE_VERSION}\n") - ### Start up logging if partial_args.log: file_logger = logging.FileHandler(partial_args.log) @@ -346,6 +326,24 @@ class CommandLine: plugin_list = framework.list_plugins() + # Discover renderers after plugin directories are loaded + # This allows custom renderers to be found in plugin directories + renderers = dict( + [ + (x.name.lower(), x) + for x in framework.class_subclasses(text_renderer.CLIRenderer) + ] + ) + + parser.add_argument( + "-r", + "--renderer", + metavar="RENDERER", + help=f"Determines how to render the output ({', '.join(list(renderers))})", + default="quick", + choices=list(renderers), + ) + seen_automagics = set() chosen_configurables_list = {} for amagic in automagics: @@ -392,6 +390,13 @@ class CommandLine: # before all the plugins have been added argcomplete.autocomplete(parser) args = parser.parse_args() + + # Display banner - redirect to stderr if using structured output + banner_output = sys.stdout + if renderers[args.renderer].structured_output: + banner_output = sys.stderr + banner_output.write(f"Volatility 3 Framework {constants.PACKAGE_VERSION}\n") + if args.plugin is None: parser.error( f"Please select a plugin to run (see '{self.CLI_NAME} --help' for options" From 066076b4d83ff47b766f250bef379076ab8b8369 Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Mon, 14 Jul 2025 14:10:31 +0200 Subject: [PATCH 2022/2186] black formatting --- volatility3/cli/text_renderer.py | 6 +++--- volatility3/framework/plugins/parquet_renderer.py | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 89526c90c..d55201371 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -464,9 +464,9 @@ class PrettyTextRenderer(CLIRenderer): accumulator.append((node.path_depth, line)) return accumulator - final_output: List[ - Tuple[int, Dict[interfaces.renderers.Column, list[str]]] - ] = [] + final_output: List[Tuple[int, Dict[interfaces.renderers.Column, list[str]]]] = ( + [] + ) if not grid.populated: grid.populate(visitor, final_output) else: diff --git a/volatility3/framework/plugins/parquet_renderer.py b/volatility3/framework/plugins/parquet_renderer.py index 806dcd801..adc3a97e1 100644 --- a/volatility3/framework/plugins/parquet_renderer.py +++ b/volatility3/framework/plugins/parquet_renderer.py @@ -13,7 +13,11 @@ from typing import ( ) from volatility3.framework import interfaces, renderers from volatility3.framework.renderers import format_hints -from volatility3.cli.text_renderer import CLIRenderer, display_disassembly, LayerDataRenderer +from volatility3.cli.text_renderer import ( + CLIRenderer, + display_disassembly, + LayerDataRenderer, +) vollog = logging.getLogger(__name__) @@ -25,6 +29,7 @@ except ImportError: ARROW_PRESENT = False vollog.debug("Arrow/Parquet libraries not found") + class ArrowRenderer(CLIRenderer): def __init__( self, options: List[interfaces.renderers.RenderOption] | None = None From 0f32bec2638e69ac543f27f0ce2b0993cc9d75c6 Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Mon, 14 Jul 2025 14:20:37 +0200 Subject: [PATCH 2023/2186] restore orginal text_renderer --- volatility3/cli/text_renderer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index d55201371..1e437a0be 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -278,6 +278,7 @@ class CLIRenderer(interfaces.renderers.Renderer): class QuickTextRenderer(CLIRenderer): + name = "quick" def get_render_options(self): @@ -347,6 +348,7 @@ class NoneRenderer(CLIRenderer): class CSVRenderer(CLIRenderer): + name = "csv" structured_output = True From 72422d0db9ab255a03d50f3830681011c8b3191c Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Mon, 21 Jul 2025 13:38:54 +0200 Subject: [PATCH 2024/2186] fix bug: hadn't properly renamed the write_data method name --- volatility3/framework/plugins/parquet_renderer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/parquet_renderer.py b/volatility3/framework/plugins/parquet_renderer.py index adc3a97e1..6564dbaeb 100644 --- a/volatility3/framework/plugins/parquet_renderer.py +++ b/volatility3/framework/plugins/parquet_renderer.py @@ -71,9 +71,9 @@ class ArrowRenderer(CLIRenderer): """Outputs the JSON data to a file in a particular format""" t = pa.Table.from_pylist(result, schema=schema) - self.write_data(t, outfd) + self.write_table(t, outfd) - def write_data(self, t: "pa.Table", outfd: TextIO) -> None: + def write_table(self, t: "pa.Table", outfd: TextIO) -> None: buf = pa.BufferOutputStream() writer = pa.ipc.new_stream(buf, t.schema) From 60c058548e9cbc718d73032cd7bc8aaa224112be Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 21 Jul 2025 20:43:00 +0200 Subject: [PATCH 2025/2186] use mnt_node instead of mnt_list --- volatility3/framework/symbols/linux/extensions/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3b9a73e7c..e642c20ec 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1971,8 +1971,9 @@ class mnt_namespace(objects.StructType): self._context, self ) for node in self.mounts.get_nodes(): + # See kernel's node_to_mount() mnt = linux.LinuxUtilities.container_of( - node, "mount", "mnt_list", vmlinux + node, "mount", "mnt_node", vmlinux ) yield mnt else: From e7c1126b05996ecb3fd718ba559422d68c852023 Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Mon, 21 Jul 2025 23:46:14 +0200 Subject: [PATCH 2026/2186] moved the arrow/parquet renderers to a subdir for renderers --- .../plugins/renderers/parquet_renderer.py | 173 ++++++++++++++++++ 1 file changed, 173 insertions(+) create mode 100644 volatility3/framework/plugins/renderers/parquet_renderer.py diff --git a/volatility3/framework/plugins/renderers/parquet_renderer.py b/volatility3/framework/plugins/renderers/parquet_renderer.py new file mode 100644 index 000000000..c9ef95ee7 --- /dev/null +++ b/volatility3/framework/plugins/renderers/parquet_renderer.py @@ -0,0 +1,173 @@ +# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# +import datetime +import logging +import sys +from typing import ( + Any, + Dict, + List, + Tuple, + TextIO, +) +from volatility3.framework import interfaces, renderers +from volatility3.framework.renderers import format_hints +from volatility3.cli.text_renderer import ( + CLIRenderer, + display_disassembly, + LayerDataRenderer, +) + +vollog = logging.getLogger(__name__) + +ARROW_PRESENT = False +try: + import pyarrow as pa + import pyarrow.parquet as pq + + ARROW_PRESENT = True +except ImportError: + vollog.debug("Arrow/Parquet libraries not found") + + +class ArrowRenderer(CLIRenderer): + """Renderer that outputs Arrow IPC format data.""" + + name = "arrow" + structured_output = True + _version = (1, 0, 0) + + def __init__( + self, options: List[interfaces.renderers.RenderOption] | None = None + ) -> None: + super().__init__(options) + + if not ARROW_PRESENT: + raise RuntimeError("Arrow output format requires the pyarrow package") + + self._to_arrow_type = { + renderers.Disassembly: pa.utf8, + bool: pa.bool_, + int: pa.int64, + float: pa.float64, + str: pa.utf8, + datetime.datetime: lambda: pa.timestamp("ms"), + format_hints.Bin: pa.int64, + format_hints.Hex: pa.int64, + format_hints.MultiTypeData: pa.utf8, + format_hints.HexBytes: pa.binary, + renderers.LayerData: pa.binary, + bytes: pa.binary, + } + + def get_render_options(self) -> List[interfaces.renderers.RenderOption]: + return [] + + def to_arrow_schema(self, grid: interfaces.renderers.TreeGrid) -> "pa.Schema": + fields = [] + for column in grid.columns: + arrow_type = self._to_arrow_type[column.type] + fields.append(pa.field(column.name, arrow_type())) + return pa.schema(fields) + + def output_result(self, schema: "pa.Schema", outfd: TextIO, result): + """Outputs the JSON data to a file in a particular format""" + + t = pa.Table.from_pylist(result, schema=schema) + self.write_table(t, outfd) + + def write_table(self, t: "pa.Table", outfd: TextIO) -> None: + buf = pa.BufferOutputStream() + + writer = pa.ipc.new_stream(buf, t.schema) + writer.write_table(t) + writer.close() + + # Get the buffer bytes and write to output + buf_bytes = buf.getvalue().to_pybytes() + outfd.buffer.write(buf_bytes) + + def render(self, grid: interfaces.renderers.TreeGrid): + outfd = sys.stdout + final_output: Tuple[ + Dict[str, List[interfaces.renderers.TreeNode]], + List[interfaces.renderers.TreeNode], + ] = ({}, []) + + ignore_columns = self.ignored_columns(grid) + + def visitor( + node: interfaces.renderers.TreeNode, + accumulator: Tuple[Dict[str, Dict[str, Any]], List[Dict[str, Any]]], + ) -> Tuple[Dict[str, Dict[str, Any]], List[Dict[str, Any]]]: + # Nodes always have a path value, giving them a path_depth of at least 1, we use max just in case + acc_map, final_tree = accumulator + node_dict: Dict[str, Any] = {"__children": []} + line = [] + for column_index, column in enumerate(grid.columns): + if column in ignore_columns: + continue + + data = list(node.values)[column_index] + + if isinstance(data, interfaces.renderers.BaseAbsentValue): + data = None + + if isinstance(data, renderers.Disassembly): + data = display_disassembly(data) + + if isinstance(data, renderers.LayerData): + data = LayerDataRenderer().render_bytes(data)[0] + + node_dict[column.name] = data + line.append(data) + + if self.filter and self.filter.filter(line): + return accumulator + + if node.parent: + acc_map[node.parent.path]["__children"].append(node_dict) + else: + final_tree.append(node_dict) + acc_map[node.path] = node_dict + + return (acc_map, final_tree) + + if not grid.populated: + grid.populate(visitor, final_output) + else: + grid.visit(node=None, function=visitor, initial_accumulator=final_output) + + schema = self.to_arrow_schema(grid) + self.output_result(schema, outfd, final_output[1]) + + +class ParquetRenderer(ArrowRenderer): + """Renderer that outputs Parquet format data.""" + + name = "parquet" + structured_output = True + _version = (1, 0, 0) + + def get_render_options(self) -> List[interfaces.renderers.RenderOption]: + return [] + + def write_table(self, table: "pa.Table", outfd: TextIO) -> None: + """ + Writes a table to stdout using the Parquet format. + + Args: + t: The Arrow table to write + outfd: The output file descriptor + + Returns: + Nothing + """ + # Write DataFrame to a temporary file-like object + buf = pa.BufferOutputStream() + pq.write_table(table, buf, compression="snappy") + + # Get the buffer as a bytes object + buf_bytes = buf.getvalue().to_pybytes() + outfd.buffer.write(buf_bytes) From 6437148dc8d5d976e8f36a7b3e18780833de0716 Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Mon, 21 Jul 2025 23:47:24 +0200 Subject: [PATCH 2027/2186] remove old parquet renderer --- .../framework/plugins/parquet_renderer.py | 166 ------------------ 1 file changed, 166 deletions(-) delete mode 100644 volatility3/framework/plugins/parquet_renderer.py diff --git a/volatility3/framework/plugins/parquet_renderer.py b/volatility3/framework/plugins/parquet_renderer.py deleted file mode 100644 index 6564dbaeb..000000000 --- a/volatility3/framework/plugins/parquet_renderer.py +++ /dev/null @@ -1,166 +0,0 @@ -# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0 -# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 -# -import datetime -import logging -import sys -from typing import ( - Any, - Dict, - List, - Tuple, - TextIO, -) -from volatility3.framework import interfaces, renderers -from volatility3.framework.renderers import format_hints -from volatility3.cli.text_renderer import ( - CLIRenderer, - display_disassembly, - LayerDataRenderer, -) - -vollog = logging.getLogger(__name__) - -try: - ARROW_PRESENT = True - import pyarrow as pa - import pyarrow.parquet as pq -except ImportError: - ARROW_PRESENT = False - vollog.debug("Arrow/Parquet libraries not found") - - -class ArrowRenderer(CLIRenderer): - def __init__( - self, options: List[interfaces.renderers.RenderOption] | None = None - ) -> None: - super().__init__(options) - - if not ARROW_PRESENT: - raise RuntimeError("Arrow output format requires the pyarrow package") - - self._to_arrow_type = { - renderers.Disassembly: pa.utf8, - bool: pa.bool_, - int: pa.int64, - float: pa.float64, - str: pa.utf8, - datetime.datetime: lambda: pa.timestamp("ms"), - format_hints.Bin: pa.int64, - format_hints.Hex: pa.int64, - format_hints.MultiTypeData: pa.utf8, - format_hints.HexBytes: pa.binary, - renderers.LayerData: pa.binary, - bytes: pa.binary, - } - - name = "arrow" - structured_output = True - - def get_render_options(self) -> List[interfaces.renderers.RenderOption]: - return [] - - def to_arrow_schema(self, grid: interfaces.renderers.TreeGrid) -> "pa.Schema": - fields = [] - for column in grid.columns: - arrow_type = self._to_arrow_type[column.type] - fields.append(pa.field(column.name, arrow_type())) - return pa.schema(fields) - - def output_result(self, schema: "pa.Schema", outfd: TextIO, result): - """Outputs the JSON data to a file in a particular format""" - - t = pa.Table.from_pylist(result, schema=schema) - self.write_table(t, outfd) - - def write_table(self, t: "pa.Table", outfd: TextIO) -> None: - buf = pa.BufferOutputStream() - - writer = pa.ipc.new_stream(buf, t.schema) - writer.write_table(t) - writer.close() - - # Get the buffer bytes and write to output - buf_bytes = buf.getvalue().to_pybytes() - outfd.buffer.write(buf_bytes) - - def render(self, grid: interfaces.renderers.TreeGrid): - outfd = sys.stdout - final_output: Tuple[ - Dict[str, List[interfaces.renderers.TreeNode]], - List[interfaces.renderers.TreeNode], - ] = ({}, []) - - ignore_columns = self.ignored_columns(grid) - - def visitor( - node: interfaces.renderers.TreeNode, - accumulator: Tuple[Dict[str, Dict[str, Any]], List[Dict[str, Any]]], - ) -> Tuple[Dict[str, Dict[str, Any]], List[Dict[str, Any]]]: - # Nodes always have a path value, giving them a path_depth of at least 1, we use max just in case - acc_map, final_tree = accumulator - node_dict: Dict[str, Any] = {"__children": []} - line = [] - for column_index, column in enumerate(grid.columns): - if column in ignore_columns: - continue - - data = list(node.values)[column_index] - - if isinstance(data, interfaces.renderers.BaseAbsentValue): - data = None - - if isinstance(data, renderers.Disassembly): - data = display_disassembly(data) - - if isinstance(data, renderers.LayerData): - data = LayerDataRenderer().render_bytes(data)[0] - - node_dict[column.name] = data - line.append(data) - - if self.filter and self.filter.filter(line): - return accumulator - - if node.parent: - acc_map[node.parent.path]["__children"].append(node_dict) - else: - final_tree.append(node_dict) - acc_map[node.path] = node_dict - - return (acc_map, final_tree) - - if not grid.populated: - grid.populate(visitor, final_output) - else: - grid.visit(node=None, function=visitor, initial_accumulator=final_output) - - schema = self.to_arrow_schema(grid) - self.output_result(schema, outfd, final_output[1]) - - -class ParquetRenderer(ArrowRenderer): - name = "parquet" - structured_output = True - - def get_render_options(self) -> List[interfaces.renderers.RenderOption]: - return [] - - def write_table(self, table: "pa.Table", outfd: TextIO) -> None: - """ - Writes a table to stdout using the Parquet format. - - Args: - t: The Arrow table to write - outfd: The output file descriptor - - Returns: - Nothing - """ - # Write DataFrame to a temporary file-like object - buf = pa.BufferOutputStream() - pq.write_table(table, buf, compression="snappy") - - # Get the buffer as a bytes object - buf_bytes = buf.getvalue().to_pybytes() - outfd.buffer.write(buf_bytes) From 11b312383c5bce78b9bb144a47e9ad47a6954f29 Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Tue, 22 Jul 2025 10:09:55 +0200 Subject: [PATCH 2028/2186] fix: update data type mappings for format_hints.Bin and format_hints.Hex to pa.uint64 --- volatility3/framework/plugins/renderers/parquet_renderer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/renderers/parquet_renderer.py b/volatility3/framework/plugins/renderers/parquet_renderer.py index c9ef95ee7..3d8f55ecb 100644 --- a/volatility3/framework/plugins/renderers/parquet_renderer.py +++ b/volatility3/framework/plugins/renderers/parquet_renderer.py @@ -53,8 +53,8 @@ class ArrowRenderer(CLIRenderer): float: pa.float64, str: pa.utf8, datetime.datetime: lambda: pa.timestamp("ms"), - format_hints.Bin: pa.int64, - format_hints.Hex: pa.int64, + format_hints.Bin: pa.uint64, + format_hints.Hex: pa.uint64, format_hints.MultiTypeData: pa.utf8, format_hints.HexBytes: pa.binary, renderers.LayerData: pa.binary, From e7185b298f11345e8bbd9e41850e43813627ca03 Mon Sep 17 00:00:00 2001 From: tvanegro Date: Wed, 23 Jul 2025 11:06:20 +0200 Subject: [PATCH 2029/2186] PR comments --- .../framework/plugins/linux/malware/malfind.py | 7 +------ .../symbols/linux/extensions/__init__.py | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index b9a03c616..306bdc3b0 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -61,12 +61,7 @@ class Malfind(interfaces.plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] - # Allowing a dump_size of 0 (no dump) - dump_size = ( - self.config.get("dump-size") - if self.config.get("dump-size") is not None - else 64 - ) + dump_size = self.config.get("dump-size", None) or 64 # Dumping page defaults to off, as in case a whole r-xp region is dirty # this would likely dump 1000's of pages which might not always be wise nor necessary diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 99b2c989c..e48035102 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1273,10 +1273,20 @@ class vm_area_struct(objects.StructType): except exceptions.InvalidAddressException: return None - def get_malicious_pages(self, proclayer=None): - """ - This function will return a list of all malicious pages inside a given dirty region + def get_malicious_pages(self, proclayer) -> List[int]: + """Identifies and returns a list of potentially malicious memory pages. + + A page is considered malicious if it is: + - Executable (protection flags match 'r-x') + - Dirty (modified since process start, according to proclayer.is_dirty()) + + Args: + proclayer: The process's memory layer + + Returns: + List[int]: A list of virtual addresses for pages flagged as potentially malicious. """ + malicious_pages = [] flags_str = self.get_protection() From 533b305afbb3a85a92e9f8466279cac38da4a1ed Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Sat, 2 Aug 2025 18:07:05 +0200 Subject: [PATCH 2030/2186] Added tests for the Parquet and Arrow renderers --- test/renderers/__init__.py | 0 test/renderers/test_parquet_renderers.py | 108 +++++++++++++++++++++++ 2 files changed, 108 insertions(+) create mode 100644 test/renderers/__init__.py create mode 100644 test/renderers/test_parquet_renderers.py diff --git a/test/renderers/__init__.py b/test/renderers/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/test/renderers/test_parquet_renderers.py b/test/renderers/test_parquet_renderers.py new file mode 100644 index 000000000..b45a602aa --- /dev/null +++ b/test/renderers/test_parquet_renderers.py @@ -0,0 +1,108 @@ +import io +import pytest +from abc import ABC, abstractmethod +from test import test_volatility + +HAS_PYARROW = False +try: + import pyarrow as pa + import pyarrow.parquet as pq + import pyarrow.compute as pc + HAS_PYARROW = True +except ImportError: + pass + + +@pytest.mark.skipif(not HAS_PYARROW, reason="pyarrow not installed") +class TestArrowRendererBase(ABC): + """Base class for testing Arrow-based renderers. + + Re-implements Windows and Linux plugin tests using PyArrow operations + instead of text-based assertions. + """ + + renderer_format = None # Override in subclasses + + @abstractmethod + def _get_table_from_output(self, output_bytes) -> "pa.Table": + """Parse output bytes into Arrow table. Override in subclasses.""" + + def test_windows_generic_pslist(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.pslist.PsList", + image, + volatility, + python, + globalargs=("-r", self.renderer_format), + ) + assert rc == 0 + + table = self._get_table_from_output(out) + assert table.num_rows > 10 + + assert table.filter(pc.match_substring(pc.utf8_lower(table.column('ImageFileName')), "system")).num_rows > 0 + assert table.filter(pc.match_substring(pc.utf8_lower(table.column('ImageFileName')), "csrss.exe")).num_rows > 0 + assert table.filter(pc.match_substring(pc.utf8_lower(table.column('ImageFileName')), "svchost.exe")).num_rows > 0 + assert table.filter(pc.greater(table.column('PID'), 0)).num_rows == table.num_rows + + def test_linux_generic_pslist(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "linux.pslist.PsList", + image, + volatility, + python, + globalargs=("-r", self.renderer_format), + ) + assert rc == 0 + + table = self._get_table_from_output(out) + assert table.num_rows > 10 + + init_rows = table.filter(pc.match_substring(pc.utf8_lower(table.column('COMM')), "init")) + systemd_rows = table.filter(pc.match_substring(pc.utf8_lower(table.column('COMM')), "systemd")) + assert (init_rows.num_rows > 0) or (systemd_rows.num_rows > 0) + + assert table.filter(pc.match_substring(pc.utf8_lower(table.column('COMM')), "watchdog")).num_rows > 0 + assert table.filter(pc.greater(table.column('PID'), 0)).num_rows == table.num_rows + + def test_windows_generic_handles(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "windows.handles.Handles", + image, + volatility, + python, + globalargs=("-r", self.renderer_format), + pluginargs=("--pid", "4"), + ) + assert rc == 0 + + table = self._get_table_from_output(out) + assert table.num_rows > 500 + assert table.filter(pc.match_substring(pc.utf8_lower(table.column('Name')), "machine\\system")).num_rows > 0 + + def test_linux_generic_lsof(self, volatility, python, image): + rc, out, _err = test_volatility.runvol_plugin( + "linux.lsof.Lsof", + image, + volatility, + python, + globalargs=("-r", self.renderer_format), + ) + assert rc == 0 + + table = self._get_table_from_output(out) + assert table.num_rows > 35 + +class TestParquetRenderer(TestArrowRendererBase): + renderer_format = "parquet" + + def _get_table_from_output(self, output_bytes): + return pq.read_table(io.BytesIO(output_bytes)) + + +class TestArrowRenderer(TestArrowRendererBase): + renderer_format = "arrow" + + def _get_table_from_output(self, output_bytes): + return pa.ipc.open_stream(io.BytesIO(output_bytes)).read_all() + From eb7daa95a0e19c9022d78361420646d60b706107 Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Wed, 6 Aug 2025 15:38:09 +0200 Subject: [PATCH 2031/2186] flatten tree output --- .../plugins/renderers/parquet_renderer.py | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/volatility3/framework/plugins/renderers/parquet_renderer.py b/volatility3/framework/plugins/renderers/parquet_renderer.py index 3d8f55ecb..b596349e4 100644 --- a/volatility3/framework/plugins/renderers/parquet_renderer.py +++ b/volatility3/framework/plugins/renderers/parquet_renderer.py @@ -61,6 +61,11 @@ class ArrowRenderer(CLIRenderer): bytes: pa.binary, } + # indicates if the output from the plugin is nested, e.g., pstree + # which would then need to be flattened + self._is_tree_result = False + self._node_id_counter = 0 + def get_render_options(self) -> List[interfaces.renderers.RenderOption]: return [] @@ -69,11 +74,58 @@ class ArrowRenderer(CLIRenderer): for column in grid.columns: arrow_type = self._to_arrow_type[column.type] fields.append(pa.field(column.name, arrow_type())) + + # if the output is nested, e.g., windows.pstree + if self._is_tree_result: + fields.append(pa.field("_vol_id", pa.uint64())) + fields.append(pa.field("_vol_parent_id", pa.uint64())) + return pa.schema(fields) + + def _flatten_tree_structure(self, nested: list[dict]) -> list[dict]: + """ + Flattens a list of nested dicts using the `__children` key. + + Each node gets a `_vol_id` and a `_vol_parent_id` to preserve + the original tree structure in a flat format suitable for tabular output. + + Args: + nested: A list of dicts with optional `__children` lists (tree nodes). + + Returns: + A flat list of dicts with `_vol_id` and `_vol_parent_id`. + """ + rows = [] + self._node_id_counter = 0 + + def _process_node(node: dict, parent_id: int | None): + current_id = self._node_id_counter + self._node_id_counter += 1 + + entry = {k: v for k, v in node.items() if k != "__children"} + entry["_vol_id"] = current_id + entry["_vol_parent_id"] = parent_id + rows.append(entry) + + for child in node.get("__children", []): + _process_node(child, current_id) + + for root in nested: + _process_node(root, None) + + return rows + + + + def output_result(self, schema: "pa.Schema", outfd: TextIO, result): """Outputs the JSON data to a file in a particular format""" + + if self._is_tree_result: + result = self._flatten_tree_structure(result) + t = pa.Table.from_pylist(result, schema=schema) self.write_table(t, outfd) @@ -128,6 +180,7 @@ class ArrowRenderer(CLIRenderer): if node.parent: acc_map[node.parent.path]["__children"].append(node_dict) + self._is_tree_result = True else: final_tree.append(node_dict) acc_map[node.path] = node_dict From 3c830e6e67ab5e2e1743165ef21fc63e13bb3448 Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Wed, 6 Aug 2025 15:43:46 +0200 Subject: [PATCH 2032/2186] black & ruff --- volatility3/framework/plugins/renderers/parquet_renderer.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/volatility3/framework/plugins/renderers/parquet_renderer.py b/volatility3/framework/plugins/renderers/parquet_renderer.py index b596349e4..7593fa4ef 100644 --- a/volatility3/framework/plugins/renderers/parquet_renderer.py +++ b/volatility3/framework/plugins/renderers/parquet_renderer.py @@ -82,7 +82,6 @@ class ArrowRenderer(CLIRenderer): return pa.schema(fields) - def _flatten_tree_structure(self, nested: list[dict]) -> list[dict]: """ Flattens a list of nested dicts using the `__children` key. @@ -116,13 +115,9 @@ class ArrowRenderer(CLIRenderer): return rows - - - def output_result(self, schema: "pa.Schema", outfd: TextIO, result): """Outputs the JSON data to a file in a particular format""" - if self._is_tree_result: result = self._flatten_tree_structure(result) From 47219aad67283653b482eccb69d18b6aa8300748 Mon Sep 17 00:00:00 2001 From: blitztide Date: Fri, 29 Aug 2025 03:06:23 +0100 Subject: [PATCH 2033/2186] Feature: vadyarascan enrichment This add contextual data to each hit with vadyarascan, saves running pslist after processing. Original didn't have imagename or PPID --- .../framework/plugins/windows/vadyarascan.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 04b9aadd9..452a2f774 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -4,6 +4,7 @@ import logging from typing import Iterable, List, Tuple +import datetime from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements @@ -102,6 +103,15 @@ class VadYaraScan(interfaces.plugins.PluginInterface): yield 0, ( format_hints.Hex(offset), task.UniqueProcessId, + task.get_create_time(), + task.InheritedFromUniqueProcessId, + task.ImageFileName.cast( + "string", + max_length=task.ImageFileName.vol.count, + errors="replace", + ), + task.get_session_id(), + task.ActiveThreads, rule_name, name, layer_data, @@ -130,6 +140,11 @@ class VadYaraScan(interfaces.plugins.PluginInterface): [ ("Offset", format_hints.Hex), ("PID", int), + ("CreateTime", datetime.datetime), + ("PPID", int), + ("ImageFileName", str), + ("SessionId", int), + ("Threads", int), ("Rule", str), ("Component", str), ("Value", renderers.LayerData), From 4012887e75457df98c93feb4d44ebb6ac3827fd8 Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Thu, 4 Sep 2025 14:50:30 -0500 Subject: [PATCH 2034/2186] #1780 - cast LoadCount --- .../framework/symbols/windows/extensions/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index 61138a78c..f32415124 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -1715,13 +1715,11 @@ class SHARED_CACHE_MAP(objects.StructType): class LDR_DATA_TABLE_ENTRY(objects.StructType): def get_load_count(self) -> Optional[int]: try: - LoadCount = self.LoadCount + LoadCount = self.LoadCount.cast("short") except Exception: try: - LoadCount = self.ObsoleteLoadCount + LoadCount = self.ObsoleteLoadCount.cast("short") except Exception: LoadCount = None - if LoadCount == 65535: - LoadCount = -1 return LoadCount From d6a791cb675574c6cc35d68cf2e6932f6fe525ce Mon Sep 17 00:00:00 2001 From: blitztide Date: Thu, 4 Sep 2025 22:39:46 +0100 Subject: [PATCH 2035/2186] VadYaraScan: Increment version --- volatility3/framework/plugins/windows/vadyarascan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index 452a2f774..bbbe49f2d 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -19,7 +19,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface): """Scans all the Virtual Address Descriptor memory maps using yara.""" _required_framework_version = (2, 22, 0) - _version = (1, 1, 3) + _version = (1, 1, 4) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From d21a81d8c328af72a7bb85edb89eaadf7ec1ff64 Mon Sep 17 00:00:00 2001 From: Kyrre-Wahl-Kongsgard Date: Fri, 5 Sep 2025 06:55:00 +0200 Subject: [PATCH 2036/2186] fix: update type hints to support Python 3.8 --- .../framework/plugins/renderers/parquet_renderer.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/renderers/parquet_renderer.py b/volatility3/framework/plugins/renderers/parquet_renderer.py index 7593fa4ef..7bc4b82ab 100644 --- a/volatility3/framework/plugins/renderers/parquet_renderer.py +++ b/volatility3/framework/plugins/renderers/parquet_renderer.py @@ -8,6 +8,7 @@ from typing import ( Any, Dict, List, + Optional, Tuple, TextIO, ) @@ -39,7 +40,7 @@ class ArrowRenderer(CLIRenderer): _version = (1, 0, 0) def __init__( - self, options: List[interfaces.renderers.RenderOption] | None = None + self, options: Optional[List[interfaces.renderers.RenderOption]] = None ) -> None: super().__init__(options) @@ -82,7 +83,7 @@ class ArrowRenderer(CLIRenderer): return pa.schema(fields) - def _flatten_tree_structure(self, nested: list[dict]) -> list[dict]: + def _flatten_tree_structure(self, nested: List[Dict]) -> List[Dict]: """ Flattens a list of nested dicts using the `__children` key. @@ -98,7 +99,7 @@ class ArrowRenderer(CLIRenderer): rows = [] self._node_id_counter = 0 - def _process_node(node: dict, parent_id: int | None): + def _process_node(node: Dict, parent_id: Optional[int]): current_id = self._node_id_counter self._node_id_counter += 1 From 88c8bfe1ad30b7e8cdf0cd4aff03a80e119ce5cb Mon Sep 17 00:00:00 2001 From: Dave Lassalle Date: Fri, 5 Sep 2025 13:19:51 -0500 Subject: [PATCH 2037/2186] #1780 - bump versions --- volatility3/framework/constants/_version.py | 4 ++-- volatility3/framework/plugins/windows/dlllist.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 07b9e45ec..7f71c277e 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change -VERSION_MINOR = 26 # Number of changes that only add to the interface -VERSION_PATCH = 2 # Number of changes that do not change the interface +VERSION_MINOR = 27 # Number of changes that only add to the interface +VERSION_PATCH = 0 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( diff --git a/volatility3/framework/plugins/windows/dlllist.py b/volatility3/framework/plugins/windows/dlllist.py index 1e8ecd414..cb9d3b8bf 100644 --- a/volatility3/framework/plugins/windows/dlllist.py +++ b/volatility3/framework/plugins/windows/dlllist.py @@ -22,7 +22,7 @@ class DllList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): """Lists the loaded DLLs in a particular windows memory image.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 0) + _version = (3, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From bec2fb4c7f220daf4ebc0cbad51b3d2cbf914d17 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Sat, 6 Sep 2025 10:09:28 +0100 Subject: [PATCH 2038/2186] Add newlines to README.md Purely for readability. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index cf735fc8d..79401a18f 100644 --- a/README.md +++ b/README.md @@ -66,13 +66,17 @@ pip install -e ".[dev]" Symbol table packs for the various operating systems are available for download at: + + The hashes to verify whether any of the symbol pack files have downloaded successfully or have changed can be found at: + + Symbol tables zip files must be placed, as named, into the `volatility3/symbols` directory (or just the symbols directory next to the executable file). From 86fe4485f0abcb4c10a2f07ae369dfbaa02d1f4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kyrre=20Wahl=20Kongsg=C3=A5rd?= Date: Mon, 15 Sep 2025 09:31:20 +0200 Subject: [PATCH 2039/2186] Update volatility3/framework/plugins/renderers/parquet_renderer.py Co-authored-by: ikelos --- volatility3/framework/plugins/renderers/parquet_renderer.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/renderers/parquet_renderer.py b/volatility3/framework/plugins/renderers/parquet_renderer.py index 7bc4b82ab..ff2e07aea 100644 --- a/volatility3/framework/plugins/renderers/parquet_renderer.py +++ b/volatility3/framework/plugins/renderers/parquet_renderer.py @@ -14,11 +14,7 @@ from typing import ( ) from volatility3.framework import interfaces, renderers from volatility3.framework.renderers import format_hints -from volatility3.cli.text_renderer import ( - CLIRenderer, - display_disassembly, - LayerDataRenderer, -) +from volatility3.cli import text_renderer vollog = logging.getLogger(__name__) From 4c7a9b517f45a50e58f5321ad041871ece98386a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kyrre=20Wahl=20Kongsg=C3=A5rd?= Date: Mon, 15 Sep 2025 09:31:28 +0200 Subject: [PATCH 2040/2186] Update volatility3/framework/plugins/renderers/parquet_renderer.py Co-authored-by: ikelos --- volatility3/framework/plugins/renderers/parquet_renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/renderers/parquet_renderer.py b/volatility3/framework/plugins/renderers/parquet_renderer.py index ff2e07aea..197944b85 100644 --- a/volatility3/framework/plugins/renderers/parquet_renderer.py +++ b/volatility3/framework/plugins/renderers/parquet_renderer.py @@ -159,7 +159,7 @@ class ArrowRenderer(CLIRenderer): data = None if isinstance(data, renderers.Disassembly): - data = display_disassembly(data) + data = text_renderer.display_disassembly(data) if isinstance(data, renderers.LayerData): data = LayerDataRenderer().render_bytes(data)[0] From 4af48ae3b0c10911c8da526154da02fff2560373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kyrre=20Wahl=20Kongsg=C3=A5rd?= Date: Mon, 15 Sep 2025 09:31:34 +0200 Subject: [PATCH 2041/2186] Update volatility3/framework/plugins/renderers/parquet_renderer.py Co-authored-by: ikelos --- volatility3/framework/plugins/renderers/parquet_renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/renderers/parquet_renderer.py b/volatility3/framework/plugins/renderers/parquet_renderer.py index 197944b85..4e8a4c043 100644 --- a/volatility3/framework/plugins/renderers/parquet_renderer.py +++ b/volatility3/framework/plugins/renderers/parquet_renderer.py @@ -28,7 +28,7 @@ except ImportError: vollog.debug("Arrow/Parquet libraries not found") -class ArrowRenderer(CLIRenderer): +class ArrowRenderer(text_renderer.CLIRenderer): """Renderer that outputs Arrow IPC format data.""" name = "arrow" From 8090d72149f7b64c2512ef0370d4dfcd61bbb442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kyrre=20Wahl=20Kongsg=C3=A5rd?= Date: Mon, 15 Sep 2025 09:32:10 +0200 Subject: [PATCH 2042/2186] Update volatility3/framework/plugins/renderers/parquet_renderer.py Co-authored-by: ikelos --- volatility3/framework/plugins/renderers/parquet_renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/renderers/parquet_renderer.py b/volatility3/framework/plugins/renderers/parquet_renderer.py index 4e8a4c043..f4eaf9c9b 100644 --- a/volatility3/framework/plugins/renderers/parquet_renderer.py +++ b/volatility3/framework/plugins/renderers/parquet_renderer.py @@ -162,7 +162,7 @@ class ArrowRenderer(text_renderer.CLIRenderer): data = text_renderer.display_disassembly(data) if isinstance(data, renderers.LayerData): - data = LayerDataRenderer().render_bytes(data)[0] + data = text_renderer.LayerDataRenderer().render_bytes(data)[0] node_dict[column.name] = data line.append(data) From 81f2e7376ad93a94930de6b11ea99e646229dc22 Mon Sep 17 00:00:00 2001 From: ikelos Date: Mon, 15 Sep 2025 08:58:04 +0100 Subject: [PATCH 2043/2186] Update test/renderers/test_parquet_renderers.py --- test/renderers/test_parquet_renderers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/renderers/test_parquet_renderers.py b/test/renderers/test_parquet_renderers.py index b45a602aa..aa5474636 100644 --- a/test/renderers/test_parquet_renderers.py +++ b/test/renderers/test_parquet_renderers.py @@ -10,6 +10,7 @@ try: import pyarrow.compute as pc HAS_PYARROW = True except ImportError: + # The user doesn't have pyarrow installed, but HAS_PYARROW will be false so just continue pass From 1a1f3be633175b785ca30063e4daa545e8066182 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 15 Sep 2025 00:26:58 +0100 Subject: [PATCH 2044/2186] Swap ObjectInformation from namedtuple to dataclass --- volatility3/framework/interfaces/objects.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 2d8024465..e2ba8f380 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -7,6 +7,7 @@ import abc import collections import collections.abc import contextlib +import dataclasses import logging from typing import Any, Dict, List, Mapping, NamedTuple, Optional @@ -52,7 +53,8 @@ class ReadOnlyMapping(collections.abc.Mapping): return dict(self) == dict(other) -class ObjectInformation(NamedTuple): +@dataclasses.dataclass +class ObjectInformation: """Contains common information useful/pertinent only to an individual object (like an instance) @@ -71,12 +73,12 @@ class ObjectInformation(NamedTuple): size: Optional[int] = None def __getitem__(self, key): - if key in self._fields: + if key in self: return getattr(self, key) - raise KeyError(f"NamedTuple does not have a key {key}") + raise KeyError(f"No {key} present in ObjectInformation") def __contains__(self, key): - return key in self._fields + return key in [field.name for field in dataclasses.fields(self)] class ObjectInterface(metaclass=abc.ABCMeta): From 2a2f27a3999090d4f85256016081b5671f7276d1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 15 Sep 2025 00:31:14 +0100 Subject: [PATCH 2045/2186] Fix ruff issue --- volatility3/framework/interfaces/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index e2ba8f380..92ee5f7dc 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -9,7 +9,7 @@ import collections.abc import contextlib import dataclasses import logging -from typing import Any, Dict, List, Mapping, NamedTuple, Optional +from typing import Any, Dict, List, Mapping, Optional from volatility3.framework import constants, interfaces From 207941759dc47d14fc020701fae7053dbda78dac Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sun, 1 Jun 2025 19:38:04 +0300 Subject: [PATCH 2046/2186] pebmasquerade plugin --- .../plugins/windows/pebmasquerade.py | 328 ++++++++++++++++++ 1 file changed, 328 insertions(+) create mode 100644 volatility3/framework/plugins/windows/pebmasquerade.py diff --git a/volatility3/framework/plugins/windows/pebmasquerade.py b/volatility3/framework/plugins/windows/pebmasquerade.py new file mode 100644 index 000000000..dc5293271 --- /dev/null +++ b/volatility3/framework/plugins/windows/pebmasquerade.py @@ -0,0 +1,328 @@ +import logging +import re +from pathlib import PureWindowsPath +from typing import List, Union, Tuple + +from volatility3.framework import interfaces, renderers, exceptions +from volatility3.framework.configuration import requirements +from volatility3.plugins.windows import pslist + +vollog = logging.getLogger(__name__) + + +# https://www.ired.team/offensive-security/defense-evasion/masquerading-processes-in-userland-through-_peb +# https://github.com/FuzzySecurity/PowerShell-Suite/blob/master/Masquerade-PEB.ps1 +class PebMasquerade(interfaces.plugins.PluginInterface): + """Detects potential process name spoofing by comparing EPROCESS and PEB data.""" + + _version = (1, 0, 0) + _required_framework_version = (2, 0, 0) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.ModuleRequirement( + name="kernel", + description="Windows kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(3, 0, 0) + ), + requirements.ListRequirement( + name="pid", + element_type=int, + description="Process ID to include (all other processes are excluded)", + optional=True, + ), + ] + + @staticmethod + def _get_cmdline_image(cmdline: str) -> Union[str, PureWindowsPath]: + """Extract the executable path from a command line string. + + Args: + cmdline (str): The command line string to parse. + + Returns: + Union[str, PureWindowsPath]: The executable path as a string or PureWindowsPath. + """ + if not cmdline: + return "" + + # Regex to extract first .exe ending string (handles quotes, paths, no quotes) + match = re.search(r'(?i)(["\']?)([^"\']*?\.exe)\1(?=\s|$)', cmdline) + if match: + exe_path = match.group(2) + return PureWindowsPath(exe_path) + + # If no .exe found, extract the first token (handles quotes) + # Matches either "quoted string" or unquoted word + first_token_match = re.match(r'\s*(?:"([^"]+)"|\'([^\']+)\'|(\S+))', cmdline) + if first_token_match: + # Extract whichever group matched + executable = ( + first_token_match.group(1) + or first_token_match.group(2) + or first_token_match.group(3) + ) + return PureWindowsPath(executable).name + ".exe" + + return "" + + @staticmethod + def _are_paths_equal(device_path: str, drive_path: str) -> Tuple[bool, str, str]: + """Compare two paths to see if they are equal, ignoring drive/device root and case. + + Args: + device_path (str): The device path (e.g. "\\Device\\HarddiskVolume1\\path") + drive_path (str): The drive path (e.g. "C:\\path") + + Returns: + tuple: (are_equal, device_path_without_drive, drive_path_without_drive) + - are_equal (bool): True if paths are equal, False otherwise + - device_path_without_drive (str): Device path without drive letter + - drive_path_without_drive (str): Drive path without drive letter + """ + pure_device_path = PureWindowsPath(device_path) + pure_drive_path = PureWindowsPath(drive_path) + device_parts = list(pure_device_path.parts) + drive_parts = list(pure_drive_path.parts) + + if pure_drive_path.is_absolute(): + new_drive_path = "/".join(drive_parts[1:]).lower() + new_device_path = "/".join(device_parts[3:]).lower() + else: + new_drive_path = "/".join(drive_parts[2:]).lower() + new_device_path = "/".join(device_parts[4:]).lower() + + return ( + new_drive_path == new_device_path, + new_device_path, + new_drive_path, + ) + + def get_process_names(self, proc: interfaces.objects.ObjectInterface) -> Tuple[ + Union[str, renderers.NotAvailableValue], + Union[str, renderers.NotAvailableValue], + Union[str, renderers.NotAvailableValue], + Union[str, renderers.NotAvailableValue], + ]: + """Extract process names and related information from various sources (EPROCESS and PEB). + + Args: + proc: The process object + + Returns: + tuple: (eprocess_imagefilename, eprocess_seaudit_imagefilename, peb_imagefilepath, peb_cmdline) + """ + eprocess_imagefilename = renderers.NotAvailableValue() + eprocess_seaudit_imagefilename = renderers.NotAvailableValue() + peb_imagefilepath = renderers.NotAvailableValue() + peb_cmdline = renderers.NotAvailableValue() + + try: + eprocess_imagefilename = proc.ImageFileName.cast( + "string", + max_length=proc.ImageFileName.vol.count, + errors="replace", + ) + except (AttributeError, exceptions.InvalidAddressException): + vollog.debug( + "Unable to read EPROCESS.ImageFileName for PID %d", proc.UniqueProcessId + ) + except Exception as e: + vollog.warning( + "Error reading EPROCESS.ImageFileName for PID %d: %s", + proc.UniqueProcessId, + str(e)[:50], + ) + + try: + audit = proc.SeAuditProcessCreationInfo.ImageFileName.Name + audit_string = audit.get_string() + if audit_string: + eprocess_seaudit_imagefilename = audit_string + except exceptions.InvalidAddressException: + vollog.debug( + "Unable to read SeAuditProcessCreationInfo.ImageFileName for PID %d", + proc.UniqueProcessId, + ) + except AttributeError: + vollog.debug( + "SeAuditProcessCreationInfo structure not available for PID %d", + proc.UniqueProcessId, + ) + except Exception as e: + vollog.warning( + "Error reading SeAuditProcessCreationInfo for PID %d: %s", + proc.UniqueProcessId, + str(e)[:50], + ) + + try: + peb = proc.get_peb() + if peb and peb.ProcessParameters: + # Get ImagePathName + try: + image_path_str = peb.ProcessParameters.ImagePathName.get_string() + if image_path_str: + peb_imagefilepath = image_path_str + except (AttributeError, exceptions.InvalidAddressException): + vollog.debug( + "Unable to read PEB.ImagePathName for PID %d", + proc.UniqueProcessId, + ) + except Exception as e: + vollog.warning( + "Error reading PEB.ImagePathName for PID %d: %s", + proc.UniqueProcessId, + str(e)[:50], + ) + + try: + cmdline_str = peb.ProcessParameters.CommandLine.get_string() + if cmdline_str: + peb_cmdline = cmdline_str + except (AttributeError, exceptions.InvalidAddressException): + vollog.debug( + "Unable to read PEB.ProcessParameters.CommandLine for PID %d", + proc.UniqueProcessId, + ) + except Exception as e: + vollog.warning( + "Error reading PEB.ProcessParameters.CommandLine for PID %d: %s", + proc.UniqueProcessId, + str(e)[:50], + ) + except (AttributeError, exceptions.InvalidAddressException): + # Important for cases where PEB does not exist or is inaccessible (e.g SYSTEM process) + vollog.debug("Unable to access PEB for PID %d", proc.UniqueProcessId) + except Exception as e: + vollog.warning( + "Error accessing PEB for PID %d: %s", proc.UniqueProcessId, str(e)[:50] + ) + + return ( + eprocess_imagefilename, + eprocess_seaudit_imagefilename, + peb_imagefilepath, + peb_cmdline, + ) + + def _generator(self): + pid_filter = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + for proc in pslist.PsList.list_processes( + context=self.context, + kernel_module_name=self.config["kernel"], + filter_func=pid_filter, + ): + proc_id = proc.UniqueProcessId + notes = [] + + ( + eprocess_imagefilename, + eprocess_seaudit_imagefilename, + peb_imagefilepath, + peb_cmdline, + ) = self.get_process_names(proc) + proc_name_for_row = eprocess_imagefilename + + # Extract command line executable path for rendering + peb_cmdline_path_render = renderers.NotAvailableValue() + if isinstance(peb_cmdline, str): + try: + peb_cmdline_path_render = str( + PebMasquerade._get_cmdline_image(peb_cmdline) + ) + except Exception as e: + vollog.debug( + "Error extracting command line path for PID %d: %s", + proc_id, + str(e)[:50], + ) + + # Populate notes for enrichment + if isinstance(eprocess_imagefilename, str) and isinstance( + peb_imagefilepath, str + ): + try: + peb_imagefilepath_basename = PureWindowsPath(peb_imagefilepath).name + peb_imagefilepath_truncated = peb_imagefilepath_basename[:14] + + # Compare EPROCESS.ImageFileName with PEB.ImageFilePath truncated to 15 characters + if ( + eprocess_imagefilename.lower() + != peb_imagefilepath_truncated.lower() + ): + notes.append( + f"'Potential PEB.ImageFilePath Spoofing: EPROCESS={eprocess_imagefilename};PEB={peb_imagefilepath_truncated}'" + ) + except Exception as e: + notes.append(f"ImageFilePath Comparison error: {str(e)[:30]}") + + if isinstance(eprocess_imagefilename, str) and isinstance(peb_cmdline, str): + try: + # Compare EPROCESS.ImageFileName with PEB.CommandLine executable path truncated to 15 characters + peb_cmdline_path = PebMasquerade._get_cmdline_image(peb_cmdline) + if isinstance(peb_cmdline_path, PureWindowsPath): + peb_cmdline_path = peb_cmdline_path.name + peb_cmdline_basename_truncated = peb_cmdline_path[:14] + if ( + eprocess_imagefilename.lower() + != peb_cmdline_basename_truncated.lower() + ): + notes.append( + f"'Potential PEB.CommandLine Spoofing: EPROCESS={eprocess_imagefilename};PEB={peb_cmdline_basename_truncated}'" + ) + except Exception as e: + notes.append(f"CommandLine comparison error: {str(e)}") + + if isinstance(eprocess_seaudit_imagefilename, str) and isinstance( + peb_imagefilepath, str + ): + try: + ( + are_equal, + eprocess_seaudit_normalized, + peb_imagefilepath_normalized, + ) = PebMasquerade._are_paths_equal( + device_path=eprocess_seaudit_imagefilename, + drive_path=peb_imagefilepath, + ) + if not are_equal: + notes.append( + f"'Potential PEB.ImageFilePath Spoofing (via _EPROCESS.SeAuditProcessCreationInfo): EPROCESS={eprocess_seaudit_normalized};PEB={peb_imagefilepath_normalized}'" + ) + except Exception as e: + notes.append( + f"SeAuditProcessCreationInfo comparison error: {str(e)[:30]}" + ) + + yield ( + 0, + ( + proc_id, + proc_name_for_row, + eprocess_imagefilename, + eprocess_seaudit_imagefilename, + peb_imagefilepath, + peb_cmdline_path_render, + "[" + ", ".join(notes) + "]" if notes else "OK", + ), + ) + + def run(self): + return renderers.TreeGrid( + [ + ("PID", int), + ("ProcessName", str), + ("EPROCESS_ImageFileName", str), + ("EPROCESS_SeAudit_ImageFileName", str), + ("PEB_ImageFilePath", str), + ("PEB_CommandLine_Path", str), + ("Notes", str), + ], + self._generator(), + ) From 72f0bd1bbafe69cc6695985a13aded63d7edc576 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Fri, 6 Jun 2025 17:22:39 +0300 Subject: [PATCH 2047/2186] UNICODE_STRING length checks to further detect spoofing --- .../plugins/windows/pebmasquerade.py | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/volatility3/framework/plugins/windows/pebmasquerade.py b/volatility3/framework/plugins/windows/pebmasquerade.py index dc5293271..c1bfca67f 100644 --- a/volatility3/framework/plugins/windows/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/pebmasquerade.py @@ -219,6 +219,12 @@ class PebMasquerade(interfaces.plugins.PluginInterface): filter_func=pid_filter, ): proc_id = proc.UniqueProcessId + try: + peb = proc.get_peb() + except (exceptions.InvalidAddressException, AttributeError): + vollog.debug( + "Unable to access PEB for PID %d, skipping process", proc_id + ) notes = [] ( @@ -300,6 +306,46 @@ class PebMasquerade(interfaces.plugins.PluginInterface): f"SeAuditProcessCreationInfo comparison error: {str(e)[:30]}" ) + if isinstance(peb_imagefilepath, str) and peb: + try: + + # Length values are of type USHORT + peb_imagefilepath_length = ( + peb.ProcessParameters.ImagePathName.Length // 2 + ) + peb_imagefilepath_maxlength = ( + peb.ProcessParameters.ImagePathName.MaximumLength // 2 - 1 + ) + + if (peb_imagefilepath_length != len(peb_imagefilepath)) or ( + peb_imagefilepath_maxlength != len(peb_imagefilepath) + ): + notes.append( + f"'PEB.ImageFilePath Length Mismatch: Length={peb_imagefilepath_length}, MaximumLength={peb_imagefilepath_maxlength}, Actual={len(peb_imagefilepath)}'" + ) + except Exception as e: + notes.append( + f"PEB.ImageFilePath Length comparison error: {str(e)[:30]}" + ) + + if isinstance(peb_cmdline, str) and peb: + try: + # Length values are of type USHORT + peb_cmdline_length = peb.ProcessParameters.CommandLine.Length // 2 + peb_cmdline_maxlength = ( + peb.ProcessParameters.CommandLine.MaximumLength // 2 - 1 + ) + + if (peb_cmdline_length != len(peb_cmdline)) or ( + peb_cmdline_maxlength != len(peb_cmdline) + ): + notes.append( + f"'PEB.CommandLine Length Mismatch: Commandline={peb_cmdline}, Length={peb_cmdline_length}, MaximumLength={peb_cmdline_maxlength}, Actual={len(peb_cmdline)}'" + ) + except Exception as e: + notes.append( + f"PEB.CommandLine Length comparison error: {str(e)[:30]}" + ) yield ( 0, ( From 231033428df243efe16a60cd2daafef02c4ccfc7 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Fri, 6 Jun 2025 18:26:47 +0300 Subject: [PATCH 2048/2186] replace to utility function --- volatility3/framework/plugins/windows/pebmasquerade.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/plugins/windows/pebmasquerade.py b/volatility3/framework/plugins/windows/pebmasquerade.py index c1bfca67f..78676bc0d 100644 --- a/volatility3/framework/plugins/windows/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/pebmasquerade.py @@ -5,6 +5,7 @@ from typing import List, Union, Tuple from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements +from volatility3.framework.objects import utility from volatility3.plugins.windows import pslist vollog = logging.getLogger(__name__) @@ -122,11 +123,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface): peb_cmdline = renderers.NotAvailableValue() try: - eprocess_imagefilename = proc.ImageFileName.cast( - "string", - max_length=proc.ImageFileName.vol.count, - errors="replace", - ) + eprocess_imagefilename = utility.array_to_string(proc.ImageFileName) except (AttributeError, exceptions.InvalidAddressException): vollog.debug( "Unable to read EPROCESS.ImageFileName for PID %d", proc.UniqueProcessId From 22ea3d55428cfde26a8ae7c4307b597696e9a9ce Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 13:35:27 +0300 Subject: [PATCH 2049/2186] moved to malware category --- .../framework/plugins/windows/{ => malware}/pebmasquerade.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename volatility3/framework/plugins/windows/{ => malware}/pebmasquerade.py (100%) diff --git a/volatility3/framework/plugins/windows/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py similarity index 100% rename from volatility3/framework/plugins/windows/pebmasquerade.py rename to volatility3/framework/plugins/windows/malware/pebmasquerade.py From 156ca005ded0bc0abc00e9da8ef6e0eca703333c Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 11 Jun 2025 21:56:19 +0300 Subject: [PATCH 2050/2186] changed staticmethods to classmethods --- .../framework/plugins/windows/malware/pebmasquerade.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/malware/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py index 78676bc0d..be54300ff 100644 --- a/volatility3/framework/plugins/windows/malware/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/malware/pebmasquerade.py @@ -38,8 +38,8 @@ class PebMasquerade(interfaces.plugins.PluginInterface): ), ] - @staticmethod - def _get_cmdline_image(cmdline: str) -> Union[str, PureWindowsPath]: + @classmethod + def _get_cmdline_image(cls, cmdline: str) -> Union[str, PureWindowsPath]: """Extract the executable path from a command line string. Args: @@ -71,8 +71,10 @@ class PebMasquerade(interfaces.plugins.PluginInterface): return "" - @staticmethod - def _are_paths_equal(device_path: str, drive_path: str) -> Tuple[bool, str, str]: + @classmethod + def _are_paths_equal( + cls, device_path: str, drive_path: str + ) -> Tuple[bool, str, str]: """Compare two paths to see if they are equal, ignoring drive/device root and case. Args: From 36ce047ec0e1e41a2c2340381a0d62871027e4ed Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 11 Jun 2025 22:01:49 +0300 Subject: [PATCH 2051/2186] PEBMASQ: return None instead of empty string --- volatility3/framework/plugins/windows/malware/pebmasquerade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/malware/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py index be54300ff..72b138bae 100644 --- a/volatility3/framework/plugins/windows/malware/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/malware/pebmasquerade.py @@ -49,7 +49,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface): Union[str, PureWindowsPath]: The executable path as a string or PureWindowsPath. """ if not cmdline: - return "" + return None # Regex to extract first .exe ending string (handles quotes, paths, no quotes) match = re.search(r'(?i)(["\']?)([^"\']*?\.exe)\1(?=\s|$)', cmdline) From f79a6d6643da54777dce147a8c4af4b1d3094c7b Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 11 Jun 2025 22:10:43 +0300 Subject: [PATCH 2052/2186] PEBMASQ: parameterize _generator --- .../framework/plugins/windows/malware/pebmasquerade.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/windows/malware/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py index 72b138bae..2e1e47b39 100644 --- a/volatility3/framework/plugins/windows/malware/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/malware/pebmasquerade.py @@ -209,8 +209,8 @@ class PebMasquerade(interfaces.plugins.PluginInterface): peb_cmdline, ) - def _generator(self): - pid_filter = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + def _generator(self, pids): + pid_filter = pslist.PsList.create_pid_filter(pids) for proc in pslist.PsList.list_processes( context=self.context, @@ -359,6 +359,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface): ) def run(self): + pids = self.config.get("pid", None) return renderers.TreeGrid( [ ("PID", int), @@ -369,5 +370,5 @@ class PebMasquerade(interfaces.plugins.PluginInterface): ("PEB_CommandLine_Path", str), ("Notes", str), ], - self._generator(), + self._generator(pids), ) From bcc6ce68c51a4ed6fd287813ddd84b5e800152f9 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 11 Jun 2025 22:13:52 +0300 Subject: [PATCH 2053/2186] PEBMASQ: parameterize _generator v2 --- .../framework/plugins/windows/malware/pebmasquerade.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/malware/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py index 2e1e47b39..e4bd219e2 100644 --- a/volatility3/framework/plugins/windows/malware/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/malware/pebmasquerade.py @@ -209,12 +209,12 @@ class PebMasquerade(interfaces.plugins.PluginInterface): peb_cmdline, ) - def _generator(self, pids): + def _generator(self, pids, context, kernel_module_name): pid_filter = pslist.PsList.create_pid_filter(pids) for proc in pslist.PsList.list_processes( - context=self.context, - kernel_module_name=self.config["kernel"], + context=context, + kernel_module_name=kernel_module_name, filter_func=pid_filter, ): proc_id = proc.UniqueProcessId @@ -360,6 +360,8 @@ class PebMasquerade(interfaces.plugins.PluginInterface): def run(self): pids = self.config.get("pid", None) + context = self.context + kernel_module_name = self.config["kernel"] return renderers.TreeGrid( [ ("PID", int), @@ -370,5 +372,5 @@ class PebMasquerade(interfaces.plugins.PluginInterface): ("PEB_CommandLine_Path", str), ("Notes", str), ], - self._generator(pids), + self._generator(pids, context, kernel_module_name), ) From 4adc3305a3883f33d3751ed4f6c21cf5fbcf5366 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Thu, 12 Jun 2025 20:04:49 +0300 Subject: [PATCH 2054/2186] remove error truncate --- .../plugins/windows/malware/pebmasquerade.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/malware/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py index e4bd219e2..8c6c0b4b0 100644 --- a/volatility3/framework/plugins/windows/malware/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/malware/pebmasquerade.py @@ -134,7 +134,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface): vollog.warning( "Error reading EPROCESS.ImageFileName for PID %d: %s", proc.UniqueProcessId, - str(e)[:50], + str(e), ) try: @@ -156,7 +156,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface): vollog.warning( "Error reading SeAuditProcessCreationInfo for PID %d: %s", proc.UniqueProcessId, - str(e)[:50], + str(e), ) try: @@ -176,7 +176,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface): vollog.warning( "Error reading PEB.ImagePathName for PID %d: %s", proc.UniqueProcessId, - str(e)[:50], + str(e), ) try: @@ -192,14 +192,14 @@ class PebMasquerade(interfaces.plugins.PluginInterface): vollog.warning( "Error reading PEB.ProcessParameters.CommandLine for PID %d: %s", proc.UniqueProcessId, - str(e)[:50], + str(e), ) except (AttributeError, exceptions.InvalidAddressException): # Important for cases where PEB does not exist or is inaccessible (e.g SYSTEM process) vollog.debug("Unable to access PEB for PID %d", proc.UniqueProcessId) except Exception as e: vollog.warning( - "Error accessing PEB for PID %d: %s", proc.UniqueProcessId, str(e)[:50] + "Error accessing PEB for PID %d: %s", proc.UniqueProcessId, str(e) ) return ( @@ -245,7 +245,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface): vollog.debug( "Error extracting command line path for PID %d: %s", proc_id, - str(e)[:50], + str(e), ) # Populate notes for enrichment From 32def71eb5a42d44709a2a1477194c8f2f61215a Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Tue, 22 Jul 2025 21:34:55 +0300 Subject: [PATCH 2055/2186] remove notes --- .../plugins/windows/malware/pebmasquerade.py | 86 ++++--------------- 1 file changed, 16 insertions(+), 70 deletions(-) diff --git a/volatility3/framework/plugins/windows/malware/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py index 8c6c0b4b0..cc3ee73bc 100644 --- a/volatility3/framework/plugins/windows/malware/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/malware/pebmasquerade.py @@ -225,14 +225,14 @@ class PebMasquerade(interfaces.plugins.PluginInterface): "Unable to access PEB for PID %d, skipping process", proc_id ) notes = [] - + peb_imagefilepath_length_check = False + peb_cmdline_length_check = False ( eprocess_imagefilename, eprocess_seaudit_imagefilename, peb_imagefilepath, peb_cmdline, ) = self.get_process_names(proc) - proc_name_for_row = eprocess_imagefilename # Extract command line executable path for rendering peb_cmdline_path_render = renderers.NotAvailableValue() @@ -248,63 +248,6 @@ class PebMasquerade(interfaces.plugins.PluginInterface): str(e), ) - # Populate notes for enrichment - if isinstance(eprocess_imagefilename, str) and isinstance( - peb_imagefilepath, str - ): - try: - peb_imagefilepath_basename = PureWindowsPath(peb_imagefilepath).name - peb_imagefilepath_truncated = peb_imagefilepath_basename[:14] - - # Compare EPROCESS.ImageFileName with PEB.ImageFilePath truncated to 15 characters - if ( - eprocess_imagefilename.lower() - != peb_imagefilepath_truncated.lower() - ): - notes.append( - f"'Potential PEB.ImageFilePath Spoofing: EPROCESS={eprocess_imagefilename};PEB={peb_imagefilepath_truncated}'" - ) - except Exception as e: - notes.append(f"ImageFilePath Comparison error: {str(e)[:30]}") - - if isinstance(eprocess_imagefilename, str) and isinstance(peb_cmdline, str): - try: - # Compare EPROCESS.ImageFileName with PEB.CommandLine executable path truncated to 15 characters - peb_cmdline_path = PebMasquerade._get_cmdline_image(peb_cmdline) - if isinstance(peb_cmdline_path, PureWindowsPath): - peb_cmdline_path = peb_cmdline_path.name - peb_cmdline_basename_truncated = peb_cmdline_path[:14] - if ( - eprocess_imagefilename.lower() - != peb_cmdline_basename_truncated.lower() - ): - notes.append( - f"'Potential PEB.CommandLine Spoofing: EPROCESS={eprocess_imagefilename};PEB={peb_cmdline_basename_truncated}'" - ) - except Exception as e: - notes.append(f"CommandLine comparison error: {str(e)}") - - if isinstance(eprocess_seaudit_imagefilename, str) and isinstance( - peb_imagefilepath, str - ): - try: - ( - are_equal, - eprocess_seaudit_normalized, - peb_imagefilepath_normalized, - ) = PebMasquerade._are_paths_equal( - device_path=eprocess_seaudit_imagefilename, - drive_path=peb_imagefilepath, - ) - if not are_equal: - notes.append( - f"'Potential PEB.ImageFilePath Spoofing (via _EPROCESS.SeAuditProcessCreationInfo): EPROCESS={eprocess_seaudit_normalized};PEB={peb_imagefilepath_normalized}'" - ) - except Exception as e: - notes.append( - f"SeAuditProcessCreationInfo comparison error: {str(e)[:30]}" - ) - if isinstance(peb_imagefilepath, str) and peb: try: @@ -319,12 +262,12 @@ class PebMasquerade(interfaces.plugins.PluginInterface): if (peb_imagefilepath_length != len(peb_imagefilepath)) or ( peb_imagefilepath_maxlength != len(peb_imagefilepath) ): - notes.append( - f"'PEB.ImageFilePath Length Mismatch: Length={peb_imagefilepath_length}, MaximumLength={peb_imagefilepath_maxlength}, Actual={len(peb_imagefilepath)}'" - ) + peb_imagefilepath_length_check = True except Exception as e: - notes.append( - f"PEB.ImageFilePath Length comparison error: {str(e)[:30]}" + vollog.warning( + "PEB.ImagePathName Length comparison error for PID %d: %s", + proc_id, + str(e), ) if isinstance(peb_cmdline, str) and peb: @@ -338,23 +281,26 @@ class PebMasquerade(interfaces.plugins.PluginInterface): if (peb_cmdline_length != len(peb_cmdline)) or ( peb_cmdline_maxlength != len(peb_cmdline) ): + peb_cmdline_length_check = True notes.append( f"'PEB.CommandLine Length Mismatch: Commandline={peb_cmdline}, Length={peb_cmdline_length}, MaximumLength={peb_cmdline_maxlength}, Actual={len(peb_cmdline)}'" ) except Exception as e: - notes.append( - f"PEB.CommandLine Length comparison error: {str(e)[:30]}" + vollog.warning( + "PEB.CommandLine Length comparison error for PID %d: %s", + proc_id, + str(e), ) yield ( 0, ( proc_id, - proc_name_for_row, eprocess_imagefilename, eprocess_seaudit_imagefilename, peb_imagefilepath, peb_cmdline_path_render, - "[" + ", ".join(notes) + "]" if notes else "OK", + peb_cmdline_length_check, + peb_imagefilepath_length_check, ), ) @@ -365,12 +311,12 @@ class PebMasquerade(interfaces.plugins.PluginInterface): return renderers.TreeGrid( [ ("PID", int), - ("ProcessName", str), ("EPROCESS_ImageFileName", str), ("EPROCESS_SeAudit_ImageFileName", str), ("PEB_ImageFilePath", str), ("PEB_CommandLine_Path", str), - ("Notes", str), + ("PEB_ImageFilePath_Spoofed", bool), + ("PEB_CommandLine_Spoofed", bool), ], self._generator(pids, context, kernel_module_name), ) From 035b60863308afd31d0d6ee543d296e856c54a13 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Tue, 22 Jul 2025 21:49:16 +0300 Subject: [PATCH 2056/2186] Plugins: pebmasquerade remove unused code --- .../plugins/windows/malware/pebmasquerade.py | 94 +------------------ 1 file changed, 3 insertions(+), 91 deletions(-) diff --git a/volatility3/framework/plugins/windows/malware/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py index cc3ee73bc..070716503 100644 --- a/volatility3/framework/plugins/windows/malware/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/malware/pebmasquerade.py @@ -1,6 +1,4 @@ import logging -import re -from pathlib import PureWindowsPath from typing import List, Union, Tuple from volatility3.framework import interfaces, renderers, exceptions @@ -38,74 +36,8 @@ class PebMasquerade(interfaces.plugins.PluginInterface): ), ] - @classmethod - def _get_cmdline_image(cls, cmdline: str) -> Union[str, PureWindowsPath]: - """Extract the executable path from a command line string. - - Args: - cmdline (str): The command line string to parse. - - Returns: - Union[str, PureWindowsPath]: The executable path as a string or PureWindowsPath. - """ - if not cmdline: - return None - - # Regex to extract first .exe ending string (handles quotes, paths, no quotes) - match = re.search(r'(?i)(["\']?)([^"\']*?\.exe)\1(?=\s|$)', cmdline) - if match: - exe_path = match.group(2) - return PureWindowsPath(exe_path) - - # If no .exe found, extract the first token (handles quotes) - # Matches either "quoted string" or unquoted word - first_token_match = re.match(r'\s*(?:"([^"]+)"|\'([^\']+)\'|(\S+))', cmdline) - if first_token_match: - # Extract whichever group matched - executable = ( - first_token_match.group(1) - or first_token_match.group(2) - or first_token_match.group(3) - ) - return PureWindowsPath(executable).name + ".exe" - - return "" - - @classmethod - def _are_paths_equal( - cls, device_path: str, drive_path: str - ) -> Tuple[bool, str, str]: - """Compare two paths to see if they are equal, ignoring drive/device root and case. - - Args: - device_path (str): The device path (e.g. "\\Device\\HarddiskVolume1\\path") - drive_path (str): The drive path (e.g. "C:\\path") - - Returns: - tuple: (are_equal, device_path_without_drive, drive_path_without_drive) - - are_equal (bool): True if paths are equal, False otherwise - - device_path_without_drive (str): Device path without drive letter - - drive_path_without_drive (str): Drive path without drive letter - """ - pure_device_path = PureWindowsPath(device_path) - pure_drive_path = PureWindowsPath(drive_path) - device_parts = list(pure_device_path.parts) - drive_parts = list(pure_drive_path.parts) - - if pure_drive_path.is_absolute(): - new_drive_path = "/".join(drive_parts[1:]).lower() - new_device_path = "/".join(device_parts[3:]).lower() - else: - new_drive_path = "/".join(drive_parts[2:]).lower() - new_device_path = "/".join(device_parts[4:]).lower() - - return ( - new_drive_path == new_device_path, - new_device_path, - new_drive_path, - ) - - def get_process_names(self, proc: interfaces.objects.ObjectInterface) -> Tuple[ + @staticmethod + def get_process_names(proc: interfaces.objects.ObjectInterface) -> Tuple[ Union[str, renderers.NotAvailableValue], Union[str, renderers.NotAvailableValue], Union[str, renderers.NotAvailableValue], @@ -224,7 +156,6 @@ class PebMasquerade(interfaces.plugins.PluginInterface): vollog.debug( "Unable to access PEB for PID %d, skipping process", proc_id ) - notes = [] peb_imagefilepath_length_check = False peb_cmdline_length_check = False ( @@ -232,21 +163,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface): eprocess_seaudit_imagefilename, peb_imagefilepath, peb_cmdline, - ) = self.get_process_names(proc) - - # Extract command line executable path for rendering - peb_cmdline_path_render = renderers.NotAvailableValue() - if isinstance(peb_cmdline, str): - try: - peb_cmdline_path_render = str( - PebMasquerade._get_cmdline_image(peb_cmdline) - ) - except Exception as e: - vollog.debug( - "Error extracting command line path for PID %d: %s", - proc_id, - str(e), - ) + ) = PebMasquerade.get_process_names(proc) if isinstance(peb_imagefilepath, str) and peb: try: @@ -282,9 +199,6 @@ class PebMasquerade(interfaces.plugins.PluginInterface): peb_cmdline_maxlength != len(peb_cmdline) ): peb_cmdline_length_check = True - notes.append( - f"'PEB.CommandLine Length Mismatch: Commandline={peb_cmdline}, Length={peb_cmdline_length}, MaximumLength={peb_cmdline_maxlength}, Actual={len(peb_cmdline)}'" - ) except Exception as e: vollog.warning( "PEB.CommandLine Length comparison error for PID %d: %s", @@ -298,7 +212,6 @@ class PebMasquerade(interfaces.plugins.PluginInterface): eprocess_imagefilename, eprocess_seaudit_imagefilename, peb_imagefilepath, - peb_cmdline_path_render, peb_cmdline_length_check, peb_imagefilepath_length_check, ), @@ -314,7 +227,6 @@ class PebMasquerade(interfaces.plugins.PluginInterface): ("EPROCESS_ImageFileName", str), ("EPROCESS_SeAudit_ImageFileName", str), ("PEB_ImageFilePath", str), - ("PEB_CommandLine_Path", str), ("PEB_ImageFilePath_Spoofed", bool), ("PEB_CommandLine_Spoofed", bool), ], From 2dd0bec92744d376fb649d7b1d759c5282db2cda Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 17 Sep 2025 02:03:48 +0300 Subject: [PATCH 2057/2186] Plugins: pebmasq - change staticmethod to classmethod --- volatility3/framework/plugins/windows/malware/pebmasquerade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/malware/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py index 070716503..c2636820b 100644 --- a/volatility3/framework/plugins/windows/malware/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/malware/pebmasquerade.py @@ -36,7 +36,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface): ), ] - @staticmethod + @classmethod def get_process_names(proc: interfaces.objects.ObjectInterface) -> Tuple[ Union[str, renderers.NotAvailableValue], Union[str, renderers.NotAvailableValue], From a6d1b34d36ab8a3d63dc3d1f1f07bf965e9712dc Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 17 Sep 2025 13:46:34 +0300 Subject: [PATCH 2058/2186] Plugins: pebmasq fix classmethod --- volatility3/framework/plugins/windows/malware/pebmasquerade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/malware/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py index c2636820b..3d662789a 100644 --- a/volatility3/framework/plugins/windows/malware/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/malware/pebmasquerade.py @@ -37,7 +37,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface): ] @classmethod - def get_process_names(proc: interfaces.objects.ObjectInterface) -> Tuple[ + def get_process_names(cls, proc: interfaces.objects.ObjectInterface) -> Tuple[ Union[str, renderers.NotAvailableValue], Union[str, renderers.NotAvailableValue], Union[str, renderers.NotAvailableValue], From 0e17057b0b6a01425cf3f4c66c42233e7ccb7f83 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Tue, 23 Sep 2025 21:16:47 +0300 Subject: [PATCH 2059/2186] Plugins - pebmasq required framework version --- volatility3/framework/plugins/windows/malware/pebmasquerade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/malware/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py index 3d662789a..dd85fb570 100644 --- a/volatility3/framework/plugins/windows/malware/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/malware/pebmasquerade.py @@ -15,7 +15,7 @@ class PebMasquerade(interfaces.plugins.PluginInterface): """Detects potential process name spoofing by comparing EPROCESS and PEB data.""" _version = (1, 0, 0) - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 27, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 438acddab635553b9820e8bdc6815a59ed99b222 Mon Sep 17 00:00:00 2001 From: ikelos Date: Sun, 28 Sep 2025 22:11:26 +0100 Subject: [PATCH 2060/2186] Update volatility3/framework/plugins/linux/malware/malfind.py --- volatility3/framework/plugins/linux/malware/malfind.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index 306bdc3b0..721e1953d 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -41,6 +41,7 @@ class Malfind(interfaces.plugins.PluginInterface): name="dump-size", description="Amount of bytes to dump for each dirty region/page found - Default 64 bytes", optional=True, + default=64, ), requirements.BooleanRequirement( name="dump-page", From 16412537c0065ba284d83e5dc41d6b1d01a37a43 Mon Sep 17 00:00:00 2001 From: ikelos Date: Sun, 28 Sep 2025 22:11:33 +0100 Subject: [PATCH 2061/2186] Update volatility3/framework/plugins/linux/malware/malfind.py --- volatility3/framework/plugins/linux/malware/malfind.py | 1 + 1 file changed, 1 insertion(+) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index 721e1953d..09b64768f 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -47,6 +47,7 @@ class Malfind(interfaces.plugins.PluginInterface): name="dump-page", description="Dump each dirty page and content - Default off", optional=True, + default=False, ), ] From d41afc444e7590b83dd9f14702f76ed094371856 Mon Sep 17 00:00:00 2001 From: ikelos Date: Sun, 28 Sep 2025 22:11:40 +0100 Subject: [PATCH 2062/2186] Update volatility3/framework/plugins/linux/malware/malfind.py --- volatility3/framework/plugins/linux/malware/malfind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index 09b64768f..10fa71d36 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -63,7 +63,7 @@ class Malfind(interfaces.plugins.PluginInterface): proc_layer = self.context.layers[proc_layer_name] - dump_size = self.config.get("dump-size", None) or 64 + dump_size = self.config["dump-size"] # Dumping page defaults to off, as in case a whole r-xp region is dirty # this would likely dump 1000's of pages which might not always be wise nor necessary From f72b8ee21d72751907a16ea66cba692fe5c78790 Mon Sep 17 00:00:00 2001 From: ikelos Date: Sun, 28 Sep 2025 22:11:48 +0100 Subject: [PATCH 2063/2186] Update volatility3/framework/plugins/linux/malware/malfind.py --- volatility3/framework/plugins/linux/malware/malfind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index 10fa71d36..cbd9f87c1 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -68,7 +68,7 @@ class Malfind(interfaces.plugins.PluginInterface): # Dumping page defaults to off, as in case a whole r-xp region is dirty # this would likely dump 1000's of pages which might not always be wise nor necessary - dump_page = self.config.get("dump-page") or False + dump_page = self.config["dump-page"] for vma in task.mm.get_vma_iter(): vma_name = vma.get_name(self.context, task) From 841b2b6435911221c09ce4028a541d081ea621a8 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 29 Sep 2025 23:04:01 +0100 Subject: [PATCH 2064/2186] Ruff fixes that black agrees with --- development/banner_server.py | 2 - development/compare-vol.py | 1 - development/pdbparse-to-json.py | 1 - development/stock-linux-json.py | 1 - test/plugins/windows/test_scheduled_tasks.py | 2036 +++++++++++++++-- test/renderers/test_parquet_renderers.py | 64 +- test/volatility3_code_analysis.py | 10 +- volatility3/__init__.py | 1 + volatility3/cli/__init__.py | 10 +- volatility3/cli/text_renderer.py | 2 - volatility3/cli/volshell/__init__.py | 5 +- volatility3/cli/volshell/generic.py | 6 +- volatility3/framework/__init__.py | 1 + volatility3/framework/automagic/pdbscan.py | 1 + volatility3/framework/automagic/stacker.py | 5 +- volatility3/framework/automagic/windows.py | 1 + .../framework/configuration/requirements.py | 1 + .../framework/constants/linux/__init__.py | 1 + volatility3/framework/contexts/__init__.py | 1 + volatility3/framework/deprecation.py | 2 +- volatility3/framework/exceptions.py | 3 +- volatility3/framework/interfaces/automagic.py | 1 + volatility3/framework/interfaces/context.py | 1 + volatility3/framework/interfaces/layers.py | 1 + volatility3/framework/interfaces/objects.py | 1 + volatility3/framework/interfaces/symbols.py | 1 + volatility3/framework/layers/avml.py | 1 + .../framework/layers/codecs/__init__.py | 5 +- volatility3/framework/layers/intel.py | 16 +- volatility3/framework/layers/msf.py | 10 +- volatility3/framework/layers/resources.py | 5 +- volatility3/framework/layers/segmented.py | 8 +- volatility3/framework/layers/vmware.py | 8 +- volatility3/framework/plugins/banners.py | 5 +- volatility3/framework/plugins/isfinfo.py | 9 +- .../framework/plugins/linux/graphics/fbdev.py | 1 - volatility3/framework/plugins/linux/ip.py | 58 +- volatility3/framework/plugins/linux/kmsg.py | 15 +- volatility3/framework/plugins/linux/lsof.py | 6 +- .../plugins/linux/malware/check_afinfo.py | 1 + .../plugins/linux/malware/check_syscall.py | 1 + .../plugins/linux/malware/netfilter.py | 11 +- .../plugins/linux/malware/tty_check.py | 13 +- .../framework/plugins/linux/module_extract.py | 11 +- .../framework/plugins/linux/pagecache.py | 7 +- volatility3/framework/plugins/linux/pslist.py | 27 +- .../plugins/linux/tracing/perf_events.py | 1 - .../framework/plugins/linux/vmaregexscan.py | 16 +- .../framework/plugins/linux/vmayarascan.py | 15 +- volatility3/framework/plugins/mac/lsmod.py | 1 + volatility3/framework/plugins/mac/mount.py | 1 + volatility3/framework/plugins/mac/psaux.py | 1 + .../framework/plugins/windows/callbacks.py | 7 +- .../framework/plugins/windows/deskscan.py | 11 +- .../framework/plugins/windows/desktops.py | 11 +- .../framework/plugins/windows/kpcrs.py | 1 - .../windows/malware/direct_system_calls.py | 15 +- .../windows/malware/hollowprocesses.py | 11 +- .../plugins/windows/malware/malfind.py | 7 +- .../plugins/windows/malware/pebmasquerade.py | 1 - .../windows/malware/processghosting.py | 28 +- .../windows/malware/skeleton_key_check.py | 15 +- .../windows/malware/suspicious_threads.py | 19 +- .../framework/plugins/windows/mftscan.py | 140 +- .../framework/plugins/windows/modules.py | 17 +- .../framework/plugins/windows/poolscanner.py | 1 - .../plugins/windows/registry/amcache.py | 120 +- .../windows/registry/scheduled_tasks.py | 22 +- .../framework/plugins/windows/sessions.py | 17 +- .../framework/plugins/windows/shimcachemem.py | 14 +- .../framework/plugins/windows/svcscan.py | 1 - .../framework/plugins/windows/thrdscan.py | 23 +- .../framework/plugins/windows/vadregexscan.py | 16 +- .../framework/plugins/windows/vadyarascan.py | 31 +- .../framework/plugins/windows/windows.py | 21 +- volatility3/framework/renderers/__init__.py | 1 + .../framework/renderers/format_hints.py | 1 + volatility3/framework/symbols/__init__.py | 7 +- volatility3/framework/symbols/intermed.py | 9 +- .../symbols/linux/extensions/__init__.py | 3 - .../symbols/linux/utilities/modules.py | 18 +- .../symbols/windows/extensions/callbacks.py | 1 - .../symbols/windows/extensions/gui.py | 1 - .../symbols/windows/extensions/mft.py | 1 - .../symbols/windows/extensions/shimcache.py | 1 - .../framework/symbols/windows/pdbconv.py | 2 +- volatility3/plugins/__init__.py | 1 + volatility3/plugins/linux/__init__.py | 1 + volatility3/plugins/mac/__init__.py | 1 + volatility3/plugins/windows/__init__.py | 1 + .../plugins/windows/registry/__init__.py | 1 + volatility3/symbols/__init__.py | 1 + 92 files changed, 2425 insertions(+), 588 deletions(-) diff --git a/development/banner_server.py b/development/banner_server.py index b62477a26..dd1df96ab 100644 --- a/development/banner_server.py +++ b/development/banner_server.py @@ -14,7 +14,6 @@ vollog = logging.getLogger(__name__) class BannerCacheGenerator: - def __init__(self, path: str, url_prefix: str): self._path = path self._url_prefix = url_prefix @@ -79,7 +78,6 @@ class BannerCacheGenerator: if __name__ == "__main__": - parser = argparse.ArgumentParser() parser.add_argument("--path", default=os.path.dirname(__file__)) parser.add_argument( diff --git a/development/compare-vol.py b/development/compare-vol.py index 717d81d3e..ccfcd9f4a 100644 --- a/development/compare-vol.py +++ b/development/compare-vol.py @@ -208,7 +208,6 @@ class Volatility3PyPyTest(VolatilityTest): class VolatilityTester: - def __init__( self, images: List[VolatilityImage], diff --git a/development/pdbparse-to-json.py b/development/pdbparse-to-json.py index 49b4da009..fe4b8ab60 100644 --- a/development/pdbparse-to-json.py +++ b/development/pdbparse-to-json.py @@ -22,7 +22,6 @@ if __name__ == "__main__": class PDBRetreiver: - def retreive_pdb(self, guid: str, file_name: str) -> Optional[str]: logger.info("Download PDB file...") file_name = ".".join(file_name.split(".")[:-1] + ["pdb"]) diff --git a/development/stock-linux-json.py b/development/stock-linux-json.py index 967cc7e18..713283e66 100644 --- a/development/stock-linux-json.py +++ b/development/stock-linux-json.py @@ -13,7 +13,6 @@ DWARF2JSON = "./dwarf2json" class Downloader: - def __init__(self, url_lists: List[List[str]]) -> None: self.url_lists = url_lists diff --git a/test/plugins/windows/test_scheduled_tasks.py b/test/plugins/windows/test_scheduled_tasks.py index 15d7f79a6..ce66ee23e 100644 --- a/test/plugins/windows/test_scheduled_tasks.py +++ b/test/plugins/windows/test_scheduled_tasks.py @@ -101,233 +101,1815 @@ class TestTriggersDecoding(unittest.TestCase): "1808B", # fmt: off *[ - 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x38, 0x21, 0x41, 0x42, 0x48, 0x48, 0x48, 0x48, - 0xa0, 0x12, 0xa0, 0xa4, 0x48, 0x48, 0x48, 0x48, - 0x0e, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x41, 0x00, 0x75, 0x00, 0x74, 0x00, 0x68, 0x00, - 0x6f, 0x00, 0x72, 0x00, 0x00, 0x00, 0x48, 0x48, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x1c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, - 0x15, 0x00, 0x00, 0x00, 0x69, 0xce, 0x28, 0x2a, - 0xce, 0xd8, 0x1f, 0x77, 0x37, 0x9c, 0xe2, 0x44, - 0xf4, 0x01, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x40, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x44, 0x00, 0x45, 0x00, 0x53, 0x00, 0x4b, 0x00, - 0x54, 0x00, 0x4f, 0x00, 0x50, 0x00, 0x2d, 0x00, - 0x45, 0x00, 0x33, 0x00, 0x38, 0x00, 0x38, 0x00, - 0x44, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5c, 0x00, - 0x41, 0x00, 0x64, 0x00, 0x6d, 0x00, 0x69, 0x00, - 0x6e, 0x00, 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, - 0x72, 0x00, 0x61, 0x00, 0x74, 0x00, 0x6f, 0x00, - 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x2c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x80, 0xf4, 0x03, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0xdd, 0xdd, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x07, 0x0a, 0x00, 0x00, 0x00, 0x09, 0x00, - 0x80, 0x48, 0x11, 0xf8, 0x36, 0x1a, 0xdb, 0x01, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x01, 0x2e, 0xe2, 0x01, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0xc2, 0x31, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0xaa, 0xaa, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, - 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0xee, 0xee, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xda, 0xaf, 0x8d, 0x09, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0xcc, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x00, 0x65, 0x00, 0x78, 0x00, 0x65, 0x00, - 0x22, 0x00, 0x20, 0x00, 0x53, 0x00, 0x74, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x84, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x3c, 0x00, 0x51, 0x00, 0x75, 0x00, 0x65, 0x00, - 0x72, 0x00, 0x79, 0x00, 0x4c, 0x00, 0x69, 0x00, - 0x73, 0x00, 0x74, 0x00, 0x3e, 0x00, 0x3c, 0x00, - 0x51, 0x00, 0x75, 0x00, 0x65, 0x00, 0x72, 0x00, - 0x79, 0x00, 0x20, 0x00, 0x49, 0x00, 0x64, 0x00, - 0x3d, 0x00, 0x22, 0x00, 0x30, 0x00, 0x22, 0x00, - 0x20, 0x00, 0x50, 0x00, 0x61, 0x00, 0x74, 0x00, - 0x68, 0x00, 0x3d, 0x00, 0x22, 0x00, 0x49, 0x00, - 0x6e, 0x00, 0x74, 0x00, 0x65, 0x00, 0x72, 0x00, - 0x6e, 0x00, 0x65, 0x00, 0x74, 0x00, 0x20, 0x00, - 0x45, 0x00, 0x78, 0x00, 0x70, 0x00, 0x6c, 0x00, - 0x6f, 0x00, 0x72, 0x00, 0x65, 0x00, 0x72, 0x00, - 0x22, 0x00, 0x3e, 0x00, 0x3c, 0x00, 0x53, 0x00, - 0x65, 0x00, 0x6c, 0x00, 0x65, 0x00, 0x63, 0x00, - 0x74, 0x00, 0x20, 0x00, 0x50, 0x00, 0x61, 0x00, - 0x74, 0x00, 0x68, 0x00, 0x3d, 0x00, 0x22, 0x00, - 0x49, 0x00, 0x6e, 0x00, 0x74, 0x00, 0x65, 0x00, - 0x72, 0x00, 0x6e, 0x00, 0x65, 0x00, 0x74, 0x00, - 0x20, 0x00, 0x45, 0x00, 0x78, 0x00, 0x70, 0x00, - 0x6c, 0x00, 0x6f, 0x00, 0x72, 0x00, 0x65, 0x00, - 0x72, 0x00, 0x22, 0x00, 0x3e, 0x00, 0x2a, 0x00, - 0x5b, 0x00, 0x53, 0x00, 0x79, 0x00, 0x73, 0x00, - 0x74, 0x00, 0x65, 0x00, 0x6d, 0x00, 0x5b, 0x00, - 0x45, 0x00, 0x76, 0x00, 0x65, 0x00, 0x6e, 0x00, - 0x74, 0x00, 0x49, 0x00, 0x44, 0x00, 0x3d, 0x00, - 0x32, 0x00, 0x5d, 0x00, 0x5d, 0x00, 0x3c, 0x00, - 0x2f, 0x00, 0x53, 0x00, 0x65, 0x00, 0x6c, 0x00, - 0x65, 0x00, 0x63, 0x00, 0x74, 0x00, 0x3e, 0x00, - 0x3c, 0x00, 0x2f, 0x00, 0x51, 0x00, 0x75, 0x00, - 0x65, 0x00, 0x72, 0x00, 0x79, 0x00, 0x3e, 0x00, - 0x3c, 0x00, 0x2f, 0x00, 0x51, 0x00, 0x75, 0x00, - 0x65, 0x00, 0x72, 0x00, 0x79, 0x00, 0x4c, 0x00, - 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, 0x3e, 0x00, - 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x88, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, - 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, - 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x1c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, - 0x15, 0x00, 0x00, 0x00, 0x69, 0xce, 0x28, 0x2a, - 0xce, 0xd8, 0x1f, 0x77, 0x37, 0x9c, 0xe2, 0x44, - 0xf4, 0x01, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x40, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x44, 0x00, 0x45, 0x00, 0x53, 0x00, 0x4b, 0x00, - 0x54, 0x00, 0x4f, 0x00, 0x50, 0x00, 0x2d, 0x00, - 0x45, 0x00, 0x33, 0x00, 0x38, 0x00, 0x38, 0x00, - 0x44, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5c, 0x00, - 0x41, 0x00, 0x64, 0x00, 0x6d, 0x00, 0x69, 0x00, - 0x6e, 0x00, 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, - 0x72, 0x00, 0x61, 0x00, 0x74, 0x00, 0x6f, 0x00, - 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, - 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, - 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x00, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x1c, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, - 0x15, 0x00, 0x00, 0x00, 0x69, 0xce, 0x28, 0x2a, - 0xce, 0xd8, 0x1f, 0x77, 0x37, 0x9c, 0xe2, 0x44, - 0xf4, 0x01, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x40, 0x00, 0x00, 0x00, 0x48, 0x48, 0x48, 0x48, - 0x44, 0x00, 0x45, 0x00, 0x53, 0x00, 0x4b, 0x00, - 0x54, 0x00, 0x4f, 0x00, 0x50, 0x00, 0x2d, 0x00, - 0x45, 0x00, 0x33, 0x00, 0x38, 0x00, 0x38, 0x00, - 0x44, 0x00, 0x38, 0x00, 0x50, 0x00, 0x5c, 0x00, - 0x41, 0x00, 0x64, 0x00, 0x6d, 0x00, 0x69, 0x00, - 0x6e, 0x00, 0x69, 0x00, 0x73, 0x00, 0x74, 0x00, - 0x72, 0x00, 0x61, 0x00, 0x74, 0x00, 0x6f, 0x00, - 0x72, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 - ] + 0x17, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDA, + 0xAF, + 0x8D, + 0x09, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDA, + 0xAF, + 0x8D, + 0x09, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x38, + 0x21, + 0x41, + 0x42, + 0x48, + 0x48, + 0x48, + 0x48, + 0xA0, + 0x12, + 0xA0, + 0xA4, + 0x48, + 0x48, + 0x48, + 0x48, + 0x0E, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x41, + 0x00, + 0x75, + 0x00, + 0x74, + 0x00, + 0x68, + 0x00, + 0x6F, + 0x00, + 0x72, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x01, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x1C, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x01, + 0x05, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x05, + 0x15, + 0x00, + 0x00, + 0x00, + 0x69, + 0xCE, + 0x28, + 0x2A, + 0xCE, + 0xD8, + 0x1F, + 0x77, + 0x37, + 0x9C, + 0xE2, + 0x44, + 0xF4, + 0x01, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x40, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x44, + 0x00, + 0x45, + 0x00, + 0x53, + 0x00, + 0x4B, + 0x00, + 0x54, + 0x00, + 0x4F, + 0x00, + 0x50, + 0x00, + 0x2D, + 0x00, + 0x45, + 0x00, + 0x33, + 0x00, + 0x38, + 0x00, + 0x38, + 0x00, + 0x44, + 0x00, + 0x38, + 0x00, + 0x50, + 0x00, + 0x5C, + 0x00, + 0x41, + 0x00, + 0x64, + 0x00, + 0x6D, + 0x00, + 0x69, + 0x00, + 0x6E, + 0x00, + 0x69, + 0x00, + 0x73, + 0x00, + 0x74, + 0x00, + 0x72, + 0x00, + 0x61, + 0x00, + 0x74, + 0x00, + 0x6F, + 0x00, + 0x72, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x2C, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x80, + 0xF4, + 0x03, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x07, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0xDD, + 0xDD, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x07, + 0x0A, + 0x00, + 0x00, + 0x00, + 0x09, + 0x00, + 0x80, + 0x48, + 0x11, + 0xF8, + 0x36, + 0x1A, + 0xDB, + 0x01, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x2E, + 0xE2, + 0x01, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xC2, + 0x31, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0xAA, + 0xAA, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDA, + 0xAF, + 0x8D, + 0x09, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDA, + 0xAF, + 0x8D, + 0x09, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x01, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDA, + 0xAF, + 0x8D, + 0x09, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDA, + 0xAF, + 0x8D, + 0x09, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0xEE, + 0xEE, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDA, + 0xAF, + 0x8D, + 0x09, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDA, + 0xAF, + 0x8D, + 0x09, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0xCC, + 0xCC, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x65, + 0x00, + 0x78, + 0x00, + 0x65, + 0x00, + 0x22, + 0x00, + 0x20, + 0x00, + 0x53, + 0x00, + 0x74, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x84, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3C, + 0x00, + 0x51, + 0x00, + 0x75, + 0x00, + 0x65, + 0x00, + 0x72, + 0x00, + 0x79, + 0x00, + 0x4C, + 0x00, + 0x69, + 0x00, + 0x73, + 0x00, + 0x74, + 0x00, + 0x3E, + 0x00, + 0x3C, + 0x00, + 0x51, + 0x00, + 0x75, + 0x00, + 0x65, + 0x00, + 0x72, + 0x00, + 0x79, + 0x00, + 0x20, + 0x00, + 0x49, + 0x00, + 0x64, + 0x00, + 0x3D, + 0x00, + 0x22, + 0x00, + 0x30, + 0x00, + 0x22, + 0x00, + 0x20, + 0x00, + 0x50, + 0x00, + 0x61, + 0x00, + 0x74, + 0x00, + 0x68, + 0x00, + 0x3D, + 0x00, + 0x22, + 0x00, + 0x49, + 0x00, + 0x6E, + 0x00, + 0x74, + 0x00, + 0x65, + 0x00, + 0x72, + 0x00, + 0x6E, + 0x00, + 0x65, + 0x00, + 0x74, + 0x00, + 0x20, + 0x00, + 0x45, + 0x00, + 0x78, + 0x00, + 0x70, + 0x00, + 0x6C, + 0x00, + 0x6F, + 0x00, + 0x72, + 0x00, + 0x65, + 0x00, + 0x72, + 0x00, + 0x22, + 0x00, + 0x3E, + 0x00, + 0x3C, + 0x00, + 0x53, + 0x00, + 0x65, + 0x00, + 0x6C, + 0x00, + 0x65, + 0x00, + 0x63, + 0x00, + 0x74, + 0x00, + 0x20, + 0x00, + 0x50, + 0x00, + 0x61, + 0x00, + 0x74, + 0x00, + 0x68, + 0x00, + 0x3D, + 0x00, + 0x22, + 0x00, + 0x49, + 0x00, + 0x6E, + 0x00, + 0x74, + 0x00, + 0x65, + 0x00, + 0x72, + 0x00, + 0x6E, + 0x00, + 0x65, + 0x00, + 0x74, + 0x00, + 0x20, + 0x00, + 0x45, + 0x00, + 0x78, + 0x00, + 0x70, + 0x00, + 0x6C, + 0x00, + 0x6F, + 0x00, + 0x72, + 0x00, + 0x65, + 0x00, + 0x72, + 0x00, + 0x22, + 0x00, + 0x3E, + 0x00, + 0x2A, + 0x00, + 0x5B, + 0x00, + 0x53, + 0x00, + 0x79, + 0x00, + 0x73, + 0x00, + 0x74, + 0x00, + 0x65, + 0x00, + 0x6D, + 0x00, + 0x5B, + 0x00, + 0x45, + 0x00, + 0x76, + 0x00, + 0x65, + 0x00, + 0x6E, + 0x00, + 0x74, + 0x00, + 0x49, + 0x00, + 0x44, + 0x00, + 0x3D, + 0x00, + 0x32, + 0x00, + 0x5D, + 0x00, + 0x5D, + 0x00, + 0x3C, + 0x00, + 0x2F, + 0x00, + 0x53, + 0x00, + 0x65, + 0x00, + 0x6C, + 0x00, + 0x65, + 0x00, + 0x63, + 0x00, + 0x74, + 0x00, + 0x3E, + 0x00, + 0x3C, + 0x00, + 0x2F, + 0x00, + 0x51, + 0x00, + 0x75, + 0x00, + 0x65, + 0x00, + 0x72, + 0x00, + 0x79, + 0x00, + 0x3E, + 0x00, + 0x3C, + 0x00, + 0x2F, + 0x00, + 0x51, + 0x00, + 0x75, + 0x00, + 0x65, + 0x00, + 0x72, + 0x00, + 0x79, + 0x00, + 0x4C, + 0x00, + 0x69, + 0x00, + 0x73, + 0x00, + 0x74, + 0x00, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x88, + 0x88, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x77, + 0x77, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x01, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x03, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x77, + 0x77, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x04, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x01, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x1C, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x01, + 0x05, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x05, + 0x15, + 0x00, + 0x00, + 0x00, + 0x69, + 0xCE, + 0x28, + 0x2A, + 0xCE, + 0xD8, + 0x1F, + 0x77, + 0x37, + 0x9C, + 0xE2, + 0x44, + 0xF4, + 0x01, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x40, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x44, + 0x00, + 0x45, + 0x00, + 0x53, + 0x00, + 0x4B, + 0x00, + 0x54, + 0x00, + 0x4F, + 0x00, + 0x50, + 0x00, + 0x2D, + 0x00, + 0x45, + 0x00, + 0x33, + 0x00, + 0x38, + 0x00, + 0x38, + 0x00, + 0x44, + 0x00, + 0x38, + 0x00, + 0x50, + 0x00, + 0x5C, + 0x00, + 0x41, + 0x00, + 0x64, + 0x00, + 0x6D, + 0x00, + 0x69, + 0x00, + 0x6E, + 0x00, + 0x69, + 0x00, + 0x73, + 0x00, + 0x74, + 0x00, + 0x72, + 0x00, + 0x61, + 0x00, + 0x74, + 0x00, + 0x6F, + 0x00, + 0x72, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x77, + 0x77, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x01, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x07, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x77, + 0x77, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFF, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x01, + 0xFF, + 0xFF, + 0xFF, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x08, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x48, + 0x01, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x1C, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x01, + 0x05, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x05, + 0x15, + 0x00, + 0x00, + 0x00, + 0x69, + 0xCE, + 0x28, + 0x2A, + 0xCE, + 0xD8, + 0x1F, + 0x77, + 0x37, + 0x9C, + 0xE2, + 0x44, + 0xF4, + 0x01, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x40, + 0x00, + 0x00, + 0x00, + 0x48, + 0x48, + 0x48, + 0x48, + 0x44, + 0x00, + 0x45, + 0x00, + 0x53, + 0x00, + 0x4B, + 0x00, + 0x54, + 0x00, + 0x4F, + 0x00, + 0x50, + 0x00, + 0x2D, + 0x00, + 0x45, + 0x00, + 0x33, + 0x00, + 0x38, + 0x00, + 0x38, + 0x00, + 0x44, + 0x00, + 0x38, + 0x00, + 0x50, + 0x00, + 0x5C, + 0x00, + 0x41, + 0x00, + 0x64, + 0x00, + 0x6D, + 0x00, + 0x69, + 0x00, + 0x6E, + 0x00, + 0x69, + 0x00, + 0x73, + 0x00, + 0x74, + 0x00, + 0x72, + 0x00, + 0x61, + 0x00, + 0x74, + 0x00, + 0x6F, + 0x00, + 0x72, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ], # fmt: on ) triggers = scheduled_tasks.TriggerSet.decode(buf) diff --git a/test/renderers/test_parquet_renderers.py b/test/renderers/test_parquet_renderers.py index aa5474636..c9c07b2db 100644 --- a/test/renderers/test_parquet_renderers.py +++ b/test/renderers/test_parquet_renderers.py @@ -8,9 +8,10 @@ try: import pyarrow as pa import pyarrow.parquet as pq import pyarrow.compute as pc + HAS_PYARROW = True except ImportError: - # The user doesn't have pyarrow installed, but HAS_PYARROW will be false so just continue + # The user doesn't have pyarrow installed, but HAS_PYARROW will be false so just continue pass @@ -41,10 +42,33 @@ class TestArrowRendererBase(ABC): table = self._get_table_from_output(out) assert table.num_rows > 10 - assert table.filter(pc.match_substring(pc.utf8_lower(table.column('ImageFileName')), "system")).num_rows > 0 - assert table.filter(pc.match_substring(pc.utf8_lower(table.column('ImageFileName')), "csrss.exe")).num_rows > 0 - assert table.filter(pc.match_substring(pc.utf8_lower(table.column('ImageFileName')), "svchost.exe")).num_rows > 0 - assert table.filter(pc.greater(table.column('PID'), 0)).num_rows == table.num_rows + assert ( + table.filter( + pc.match_substring( + pc.utf8_lower(table.column("ImageFileName")), "system" + ) + ).num_rows + > 0 + ) + assert ( + table.filter( + pc.match_substring( + pc.utf8_lower(table.column("ImageFileName")), "csrss.exe" + ) + ).num_rows + > 0 + ) + assert ( + table.filter( + pc.match_substring( + pc.utf8_lower(table.column("ImageFileName")), "svchost.exe" + ) + ).num_rows + > 0 + ) + assert ( + table.filter(pc.greater(table.column("PID"), 0)).num_rows == table.num_rows + ) def test_linux_generic_pslist(self, volatility, python, image): rc, out, _err = test_volatility.runvol_plugin( @@ -59,12 +83,23 @@ class TestArrowRendererBase(ABC): table = self._get_table_from_output(out) assert table.num_rows > 10 - init_rows = table.filter(pc.match_substring(pc.utf8_lower(table.column('COMM')), "init")) - systemd_rows = table.filter(pc.match_substring(pc.utf8_lower(table.column('COMM')), "systemd")) + init_rows = table.filter( + pc.match_substring(pc.utf8_lower(table.column("COMM")), "init") + ) + systemd_rows = table.filter( + pc.match_substring(pc.utf8_lower(table.column("COMM")), "systemd") + ) assert (init_rows.num_rows > 0) or (systemd_rows.num_rows > 0) - assert table.filter(pc.match_substring(pc.utf8_lower(table.column('COMM')), "watchdog")).num_rows > 0 - assert table.filter(pc.greater(table.column('PID'), 0)).num_rows == table.num_rows + assert ( + table.filter( + pc.match_substring(pc.utf8_lower(table.column("COMM")), "watchdog") + ).num_rows + > 0 + ) + assert ( + table.filter(pc.greater(table.column("PID"), 0)).num_rows == table.num_rows + ) def test_windows_generic_handles(self, volatility, python, image): rc, out, _err = test_volatility.runvol_plugin( @@ -79,7 +114,14 @@ class TestArrowRendererBase(ABC): table = self._get_table_from_output(out) assert table.num_rows > 500 - assert table.filter(pc.match_substring(pc.utf8_lower(table.column('Name')), "machine\\system")).num_rows > 0 + assert ( + table.filter( + pc.match_substring( + pc.utf8_lower(table.column("Name")), "machine\\system" + ) + ).num_rows + > 0 + ) def test_linux_generic_lsof(self, volatility, python, image): rc, out, _err = test_volatility.runvol_plugin( @@ -94,6 +136,7 @@ class TestArrowRendererBase(ABC): table = self._get_table_from_output(out) assert table.num_rows > 35 + class TestParquetRenderer(TestArrowRendererBase): renderer_format = "parquet" @@ -106,4 +149,3 @@ class TestArrowRenderer(TestArrowRendererBase): def _get_table_from_output(self, output_bytes): return pa.ipc.open_stream(io.BytesIO(output_bytes)).read_all() - diff --git a/test/volatility3_code_analysis.py b/test/volatility3_code_analysis.py index 100ad3074..43fed459b 100644 --- a/test/volatility3_code_analysis.py +++ b/test/volatility3_code_analysis.py @@ -82,7 +82,6 @@ class CodeViolation(metaclass=abc.ABCMeta): class UnrequiredVersionableUsage(CodeViolation): - def __init__( self, module: types.ModuleType, @@ -107,7 +106,6 @@ class UnrequiredVersionableUsage(CodeViolation): class DirectVolatilityImportUsage(CodeViolation): - def __init__( self, module: types.ModuleType, @@ -174,8 +172,11 @@ class ModuleVisitor(NodeVisitor): """ if ( node.module - and node.module.startswith("volatility3.") # Give a pass to volatility3 module - and node.module != "volatility3.framework.constants._version" # make an exception for this + and node.module.startswith( + "volatility3." + ) # Give a pass to volatility3 module + and node.module + != "volatility3.framework.constants._version" # make an exception for this ): for name in node.names: try: @@ -204,7 +205,6 @@ class ModuleVisitor(NodeVisitor): def enter_ImportFrom(self, node: ast.ImportFrom): self._check_vol3_import_from(node) - def enter_ClassDef(self, node: ast.ClassDef) -> Any: logger.debug("Entering class %s", node.name) clazz = None diff --git a/volatility3/__init__.py b/volatility3/__init__.py index 94a6721e1..9867f5d94 100644 --- a/volatility3/__init__.py +++ b/volatility3/__init__.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # """Volatility 3 - An open-source memory forensics framework""" + import inspect import sys from importlib import abc diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 4c379a15e..15e6cc7b4 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -10,6 +10,7 @@ User interfaces make use of the framework to: * run the plugin * display the results """ + import argparse import inspect import io @@ -458,8 +459,9 @@ class CommandLine: raise ValueError( "Invalid extension (extensions must be of the format \"conf.path.value='value'\")" ) - address, value = extension[: extension.find("=")], json.loads( - extension[extension.find("=") + 1 :] + address, value = ( + extension[: extension.find("=")], + json.loads(extension[extension.find("=") + 1 :]), ) ctx.config[address] = value @@ -574,7 +576,7 @@ class CommandLine: delayed_logs.append( ( logging.DEBUG, - f"Loaded configuration: {json.dumps(result, indent = 2, sort_keys = True)}", + f"Loaded configuration: {json.dumps(result, indent=2, sort_keys=True)}", ) ) return delayed_logs, result @@ -763,7 +765,7 @@ class CommandLine: constants.LOGLEVEL_VVVV, ] ): - logging.addLevelName(level_value, f"DETAIL {level+1}") + logging.addLevelName(level_value, f"DETAIL {level + 1}") def file_handler_class_factory(self, direct=True): output_dir = self.output_dir diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index 1e437a0be..d55201371 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -278,7 +278,6 @@ class CLIRenderer(interfaces.renderers.Renderer): class QuickTextRenderer(CLIRenderer): - name = "quick" def get_render_options(self): @@ -348,7 +347,6 @@ class NoneRenderer(CLIRenderer): class CSVRenderer(CLIRenderer): - name = "csv" structured_output = True diff --git a/volatility3/cli/volshell/__init__.py b/volatility3/cli/volshell/__init__.py index 0affe5d59..5bc29f220 100644 --- a/volatility3/cli/volshell/__init__.py +++ b/volatility3/cli/volshell/__init__.py @@ -344,8 +344,9 @@ class VolShell(cli.CommandLine): raise ValueError( "Invalid extension (extensions must be of the format \"conf.path.value='value'\")" ) - address, value = extension[: extension.find("=")], json.loads( - extension[extension.find("=") + 1 :] + address, value = ( + extension[: extension.find("=")], + json.loads(extension[extension.find("=") + 1 :]), ) ctx.config[address] = value diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index ace4b2119..2a8039ff2 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -469,7 +469,7 @@ class Volshell(interfaces.plugins.PluginInterface): and dereference_count < MAX_DEREFERENCE_COUNT ): # before defreerencing the pointer, show it's information - print(f'{" " * dereference_count}{self._display_simple_type(volobject)}') + print(f"{' ' * dereference_count}{self._display_simple_type(volobject)}") # check that we can follow the pointer before dereferencing and do not # attempt to follow null pointers. @@ -486,7 +486,7 @@ class Volshell(interfaces.plugins.PluginInterface): if hasattr(volobject.vol, "members"): # display the header for this object, if the original object was just a type string, display the type information - struct_header = f'{" " * dereference_count}{volobject.vol.type_name} ({volobject.vol.size} bytes)' + struct_header = f"{' ' * dereference_count}{volobject.vol.type_name} ({volobject.vol.size} bytes)" if isinstance(object, str) and offset is None: suffix = ":" else: @@ -523,7 +523,7 @@ class Volshell(interfaces.plugins.PluginInterface): len_typename = len(member_type_name) if len(member_type_name) > MAX_TYPENAME_DISPLAY_LENGTH: len_typename = MAX_TYPENAME_DISPLAY_LENGTH - member_type_name = f"{member_type_name[:len_typename - 3]}..." + member_type_name = f"{member_type_name[: len_typename - 3]}..." if isinstance(volobject, interfaces.objects.ObjectInterface): # We're an instance, so also display the data diff --git a/volatility3/framework/__init__.py b/volatility3/framework/__init__.py index 1c899f434..6943598cf 100644 --- a/volatility3/framework/__init__.py +++ b/volatility3/framework/__init__.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # """Volatility 3 framework.""" + # Check the python version to ensure it's suitable import glob import sys diff --git a/volatility3/framework/automagic/pdbscan.py b/volatility3/framework/automagic/pdbscan.py index 55b9b81e1..8e2233840 100644 --- a/volatility3/framework/automagic/pdbscan.py +++ b/volatility3/framework/automagic/pdbscan.py @@ -7,6 +7,7 @@ from loaded PE files. This module contains a standalone scanner, and also a :class:`~volatility3.framework.interfaces.layers.ScannerInterface` based scanner for use within the framework by calling :func:`~volatility3.framework.interfaces.layers.DataLayerInterface.scan`. """ + import contextlib import logging import math diff --git a/volatility3/framework/automagic/stacker.py b/volatility3/framework/automagic/stacker.py index 596864264..2e9875086 100644 --- a/volatility3/framework/automagic/stacker.py +++ b/volatility3/framework/automagic/stacker.py @@ -153,8 +153,9 @@ class LayerStacker(interfaces.automagic.AutomagicInterface): constructor(context, config_path, requirement) # Stash the changed config items - self._cached = context.config.get(path, None), context.config.branch( - path + self._cached = ( + context.config.get(path, None), + context.config.branch(path), ) vollog.debug( f"physical_layer maximum_address: {physical_layer.maximum_address}" diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index 52296f5ad..7d56b01b3 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -26,6 +26,7 @@ The self-referential indices for older versions of windows are listed below: | x64 | 0x1ED | +--------------+-------+ """ + import logging import struct from typing import Generator, Iterable, List, Optional, Tuple, Type diff --git a/volatility3/framework/configuration/requirements.py b/volatility3/framework/configuration/requirements.py index 6d978e2a9..b1cc716e5 100644 --- a/volatility3/framework/configuration/requirements.py +++ b/volatility3/framework/configuration/requirements.py @@ -8,6 +8,7 @@ These requirement types allow plugins to request simple information types (such as strings, integers, etc) as well as indicating what they expect to be in the context (such as particular layers or symboltables). """ + import abc import logging import os diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index f45bed926..3f8c52b43 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -5,6 +5,7 @@ Linux-specific values that aren't found in debug symbols """ + import enum from dataclasses import dataclass diff --git a/volatility3/framework/contexts/__init__.py b/volatility3/framework/contexts/__init__.py index 32d33f657..125f41f8a 100644 --- a/volatility3/framework/contexts/__init__.py +++ b/volatility3/framework/contexts/__init__.py @@ -8,6 +8,7 @@ This has been made an object to allow quick swapping and changing of contexts, to allow a plugin to act on multiple different contexts without them interfering with each other. """ + import functools import hashlib import logging diff --git a/volatility3/framework/deprecation.py b/volatility3/framework/deprecation.py index 90fa9bce0..581647922 100644 --- a/volatility3/framework/deprecation.py +++ b/volatility3/framework/deprecation.py @@ -79,7 +79,7 @@ def deprecated_method( "This is a bug, the deprecated call needs to be removed and the caller needs to update their code to use the new method.", ) - deprecation_msg = f"Method \"{deprecated_func.__module__ + '.' + deprecated_func.__qualname__}\" is deprecated and will be removed in the first release after {removal_date}, use \"{replacement.__module__ + '.' + replacement.__qualname__}\" instead. {additional_information}" + deprecation_msg = f'Method "{deprecated_func.__module__ + "." + deprecated_func.__qualname__}" is deprecated and will be removed in the first release after {removal_date}, use "{replacement.__module__ + "." + replacement.__qualname__}" instead. {additional_information}' warnings.warn(deprecation_msg, FutureWarning) # Return the wrapped function with its original arguments return deprecated_func(*args, **kwargs) diff --git a/volatility3/framework/exceptions.py b/volatility3/framework/exceptions.py index 34b41727a..3b70c5c29 100644 --- a/volatility3/framework/exceptions.py +++ b/volatility3/framework/exceptions.py @@ -8,6 +8,7 @@ space or symbol tables, and by layers when an address is invalid. The :class:`PagedInvalidAddressException` contains information about the size of the invalid page. """ + from typing import Callable, Dict, Optional, Tuple from volatility3.framework import interfaces @@ -161,4 +162,4 @@ class VersionMismatchException(VolatilityException): self.failure_reason = failure_reason def __str__(self): - return f"{self.source_component.__module__+ '.' + self.source_component.__qualname__}: Version {self.target_version} dependency on {self.target_component.__module__+ '.' + self.target_component.__name__} {self.target_component.version} unmet." + return f"{self.source_component.__module__ + '.' + self.source_component.__qualname__}: Version {self.target_version} dependency on {self.target_component.__module__ + '.' + self.target_component.__name__} {self.target_component.version} unmet." diff --git a/volatility3/framework/interfaces/automagic.py b/volatility3/framework/interfaces/automagic.py index 4ac386fc0..744a33bab 100644 --- a/volatility3/framework/interfaces/automagic.py +++ b/volatility3/framework/interfaces/automagic.py @@ -7,6 +7,7 @@ runs. Automagic objects attempt to automatically fill configuration values that a user has not filled. """ + import logging from abc import ABCMeta from typing import Any, List, Optional, Tuple, Type, Union diff --git a/volatility3/framework/interfaces/context.py b/volatility3/framework/interfaces/context.py index 4f863898e..0b71e4cb2 100644 --- a/volatility3/framework/interfaces/context.py +++ b/volatility3/framework/interfaces/context.py @@ -11,6 +11,7 @@ convenience functions, most notably the object constructor function, `object`, which will construct a symbol on a layer at a particular offset. """ + import collections import copy from abc import ABCMeta, abstractmethod diff --git a/volatility3/framework/interfaces/layers.py b/volatility3/framework/interfaces/layers.py index 6c4e4b419..2e328124d 100644 --- a/volatility3/framework/interfaces/layers.py +++ b/volatility3/framework/interfaces/layers.py @@ -6,6 +6,7 @@ One layer may combine other layers, map data based on the data itself, or map a procedure (such as decryption) across another layer of data. """ + import collections.abc import functools import logging diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 2d8024465..7f67cf586 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -3,6 +3,7 @@ # """Objects are the core of volatility, and provide pythonic access to interpreted values of data from a layer.""" + import abc import collections import collections.abc diff --git a/volatility3/framework/interfaces/symbols.py b/volatility3/framework/interfaces/symbols.py index 925be72c9..1159fd290 100644 --- a/volatility3/framework/interfaces/symbols.py +++ b/volatility3/framework/interfaces/symbols.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # """Symbols provide structural information about a set of bytes.""" + import bisect import collections.abc from abc import ABC, abstractmethod diff --git a/volatility3/framework/layers/avml.py b/volatility3/framework/layers/avml.py index 2e5572192..7c052f70a 100644 --- a/volatility3/framework/layers/avml.py +++ b/volatility3/framework/layers/avml.py @@ -6,6 +6,7 @@ The user of the file doesn't have to worry about the compression, but random access is not allowed.""" + import ctypes import logging import struct diff --git a/volatility3/framework/layers/codecs/__init__.py b/volatility3/framework/layers/codecs/__init__.py index e019bcbcd..5b9f2602b 100644 --- a/volatility3/framework/layers/codecs/__init__.py +++ b/volatility3/framework/layers/codecs/__init__.py @@ -2,7 +2,4 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -"""Codecs used for encoding or decoding data should live here - - -""" +"""Codecs used for encoding or decoding data should live here""" diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 696c33353..848580004 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -315,7 +315,13 @@ class Intel(linear.LinearlyMappedLayer): ): # The block isn't contiguous if stashed_offset is not None: - yield stashed_offset, stashed_size, stashed_mapped_offset, stashed_mapped_size, stashed_map_layer + yield ( + stashed_offset, + stashed_size, + stashed_mapped_offset, + stashed_mapped_size, + stashed_map_layer, + ) # Update all the stashed values after output stashed_offset = offset stashed_mapped_offset = mapped_offset @@ -334,7 +340,13 @@ class Intel(linear.LinearlyMappedLayer): and stashed_mapped_size is not None and stashed_map_layer is not None ): - yield stashed_offset, stashed_size, stashed_mapped_offset, stashed_mapped_size, stashed_map_layer + yield ( + stashed_offset, + stashed_size, + stashed_mapped_offset, + stashed_mapped_size, + stashed_map_layer, + ) def _mapping( self, offset: int, length: int, ignore_errors: bool = False diff --git a/volatility3/framework/layers/msf.py b/volatility3/framework/layers/msf.py index 2b4fae963..a7bf6466e 100644 --- a/volatility3/framework/layers/msf.py +++ b/volatility3/framework/layers/msf.py @@ -234,9 +234,13 @@ class PdbMSFStream(linear.LinearlyMappedLayer): layer_name=self.name, invalid_address=offset + returned ) else: - yield offset + returned, chunk_size, ( - self._pages[page] * page_size - ) + page_position, chunk_size, self._base_layer + yield ( + offset + returned, + chunk_size, + (self._pages[page] * page_size) + page_position, + chunk_size, + self._base_layer, + ) returned += chunk_size length -= chunk_size diff --git a/volatility3/framework/layers/resources.py b/volatility3/framework/layers/resources.py index 6121c2cff..66fb617af 100644 --- a/volatility3/framework/layers/resources.py +++ b/volatility3/framework/layers/resources.py @@ -305,8 +305,9 @@ class JarHandler(VolatilityHandler): def default_open(req: urllib.request.Request) -> Optional[Any]: """Handles the request if it's the jar scheme.""" if req.type == "jar": - subscheme, remainder = req.full_url.split(":")[1], ":".join( - req.full_url.split(":")[2:] + subscheme, remainder = ( + req.full_url.split(":")[1], + ":".join(req.full_url.split(":")[2:]), ) if subscheme != "file": vollog.log( diff --git a/volatility3/framework/layers/segmented.py b/volatility3/framework/layers/segmented.py index 9825ae15c..96b9618dc 100644 --- a/volatility3/framework/layers/segmented.py +++ b/volatility3/framework/layers/segmented.py @@ -129,7 +129,13 @@ class NonLinearlySegmentedLayer( return None # Crop it to the amount we need left chunk_size = min(size, length + offset - logical_offset) - yield logical_offset, chunk_size, mapped_offset, mapped_size, self._base_layer + yield ( + logical_offset, + chunk_size, + mapped_offset, + mapped_size, + self._base_layer, + ) current_offset += chunk_size # Terminate if we've gone (or reached) our required limit if current_offset >= offset + length: diff --git a/volatility3/framework/layers/vmware.py b/volatility3/framework/layers/vmware.py index 39fb21b63..5dc00f344 100644 --- a/volatility3/framework/layers/vmware.py +++ b/volatility3/framework/layers/vmware.py @@ -65,10 +65,10 @@ class VmwareLayer(segmented.SegmentedLayer): data = meta_layer.read(0, header_size) magic, unknown, groupCount = struct.unpack(self.header_structure, data) if magic not in [ - b"\xD0\xBE\xD2\xBE", - b"\xD1\xBA\xD1\xBA", - b"\xD2\xBE\xD2\xBE", - b"\xD3\xBE\xD3\xBE", + b"\xd0\xbe\xd2\xbe", + b"\xd1\xba\xd1\xba", + b"\xd2\xbe\xd2\xbe", + b"\xd3\xbe\xd3\xbe", ]: raise VmwareFormatException( self.name, f"Wrong magic bytes for Vmware layer: {repr(magic)}" diff --git a/volatility3/framework/plugins/banners.py b/volatility3/framework/plugins/banners.py index d4e6e2aa8..eea39206d 100644 --- a/volatility3/framework/plugins/banners.py +++ b/volatility3/framework/plugins/banners.py @@ -60,8 +60,9 @@ class Banners(interfaces.plugins.PluginInterface): not in b" #()+,;/-.0123456789:@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~" ] if not failed: - yield format_hints.Hex(offset), str( - data, encoding="latin-1", errors="?" + yield ( + format_hints.Hex(offset), + str(data, encoding="latin-1", errors="?"), ) def run(self): diff --git a/volatility3/framework/plugins/isfinfo.py b/volatility3/framework/plugins/isfinfo.py index 1c2ac52e9..10f391321 100644 --- a/volatility3/framework/plugins/isfinfo.py +++ b/volatility3/framework/plugins/isfinfo.py @@ -72,9 +72,12 @@ class IsfInfo(plugins.PluginInterface): for extension in constants.ISF_EXTENSIONS: # By ending with an extension (and therefore, not /), we should not return any directories if name.endswith(extension): - yield "jar:file:" + str( - pathlib.Path(base_name) - ) + "!" + name + yield ( + "jar:file:" + + str(pathlib.Path(base_name)) + + "!" + + name + ) else: for extension in constants.ISF_EXTENSIONS: diff --git a/volatility3/framework/plugins/linux/graphics/fbdev.py b/volatility3/framework/plugins/linux/graphics/fbdev.py index 1f9fd74b5..ebdbd1706 100644 --- a/volatility3/framework/plugins/linux/graphics/fbdev.py +++ b/volatility3/framework/plugins/linux/graphics/fbdev.py @@ -245,7 +245,6 @@ You can try using ffmpeg to decode the raw buffer. Example usage: return fb def _generator(self): - if not has_pil: vollog.error( "PIL (pillow) module is required to use this plugin. Please install it manually or through pyproject.toml." diff --git a/volatility3/framework/plugins/linux/ip.py b/volatility3/framework/plugins/linux/ip.py index 348f3c13f..164fe62dd 100644 --- a/volatility3/framework/plugins/linux/ip.py +++ b/volatility3/framework/plugins/linux/ip.py @@ -47,7 +47,17 @@ class Addr(plugins.PluginInterface): prefix_len = in_ifaddr.get_prefix_len() scope_type = in_ifaddr.get_scope_type() ip_addr = in_ifaddr.get_address() - yield net_ns_id, iface_ifindex, iface_name, mac_addr, promisc, ip_addr, prefix_len, scope_type, operational_state + yield ( + net_ns_id, + iface_ifindex, + iface_name, + mac_addr, + promisc, + ip_addr, + prefix_len, + scope_type, + operational_state, + ) # Interface IPv6 Addresses inet6_dev = net_dev.ip6_ptr.dereference().cast("inet6_dev") @@ -55,7 +65,17 @@ class Addr(plugins.PluginInterface): prefix_len = inet6_ifaddr.get_prefix_len() scope_type = inet6_ifaddr.get_scope_type() ip6_addr = inet6_ifaddr.get_address() - yield net_ns_id, iface_ifindex, iface_name, mac_addr, promisc, ip6_addr, prefix_len, scope_type, operational_state + yield ( + net_ns_id, + iface_ifindex, + iface_name, + mac_addr, + promisc, + ip6_addr, + prefix_len, + scope_type, + operational_state, + ) def _enumerate_net_namespace_list(self): vmlinux = self.context.modules[self.config["kernel"]] @@ -82,16 +102,19 @@ class Addr(plugins.PluginInterface): scope_type, operational_state, ) in self._gather_net_dev_info(net_dev): - yield 0, ( - net_ns_id or renderers.NotAvailableValue(), - iface_ifindex, - iface_name, - mac_addr, - promisc, - ip6_addr, - prefix_len, - scope_type, - operational_state, + yield ( + 0, + ( + net_ns_id or renderers.NotAvailableValue(), + iface_ifindex, + iface_name, + mac_addr, + promisc, + ip6_addr, + prefix_len, + scope_type, + operational_state, + ), ) def run(self): @@ -150,7 +173,16 @@ class Link(plugins.PluginInterface): ] flags_str = ",".join(flags_list) - yield net_ns_id or renderers.NotAvailableValue(), iface_name, mac_addr, operational_state, mtu, qdisc_name or renderers.NotAvailableValue(), qlen, flags_str + yield ( + net_ns_id or renderers.NotAvailableValue(), + iface_name, + mac_addr, + operational_state, + mtu, + qdisc_name or renderers.NotAvailableValue(), + qlen, + flags_str, + ) def _generator(self): vmlinux = self.context.modules[self.config["kernel"]] diff --git a/volatility3/framework/plugins/linux/kmsg.py b/volatility3/framework/plugins/linux/kmsg.py index 1069a312f..ba02763d0 100644 --- a/volatility3/framework/plugins/linux/kmsg.py +++ b/volatility3/framework/plugins/linux/kmsg.py @@ -551,12 +551,15 @@ class Kmsg(interfaces.plugins.PluginInterface): for facility, level, timestamp, caller, line in ABCKmsg.run_all( context=self.context, config=self.config ): - yield 0, ( - facility, - level, - timestamp, - caller or renderers.NotAvailableValue(), - line, + yield ( + 0, + ( + facility, + level, + timestamp, + caller or renderers.NotAvailableValue(), + line, + ), ) def run(self): diff --git a/volatility3/framework/plugins/linux/lsof.py b/volatility3/framework/plugins/linux/lsof.py index 283eabca0..be521750a 100644 --- a/volatility3/framework/plugins/linux/lsof.py +++ b/volatility3/framework/plugins/linux/lsof.py @@ -220,5 +220,9 @@ class Lsof(plugins.PluginInterface, timeliner.TimeLinerInterface): ) yield description, timeliner.TimeLinerType.CHANGED, fd_user.change_time - yield description, timeliner.TimeLinerType.MODIFIED, fd_user.modification_time + yield ( + description, + timeliner.TimeLinerType.MODIFIED, + fd_user.modification_time, + ) yield description, timeliner.TimeLinerType.ACCESSED, fd_user.access_time diff --git a/volatility3/framework/plugins/linux/malware/check_afinfo.py b/volatility3/framework/plugins/linux/malware/check_afinfo.py index 47da21615..4ecf5f788 100644 --- a/volatility3/framework/plugins/linux/malware/check_afinfo.py +++ b/volatility3/framework/plugins/linux/malware/check_afinfo.py @@ -3,6 +3,7 @@ # """A module containing a plugin that verifies the operation function pointers of network protocols.""" + import logging from typing import List, Tuple, Generator diff --git a/volatility3/framework/plugins/linux/malware/check_syscall.py b/volatility3/framework/plugins/linux/malware/check_syscall.py index 1188bf250..6476d6621 100644 --- a/volatility3/framework/plugins/linux/malware/check_syscall.py +++ b/volatility3/framework/plugins/linux/malware/check_syscall.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # """A module containing a plugin that checks the system call table for hooks.""" + import contextlib import logging from typing import List diff --git a/volatility3/framework/plugins/linux/malware/netfilter.py b/volatility3/framework/plugins/linux/malware/netfilter.py index d724d4296..6bc5cd1bf 100644 --- a/volatility3/framework/plugins/linux/malware/netfilter.py +++ b/volatility3/framework/plugins/linux/malware/netfilter.py @@ -223,7 +223,16 @@ class AbstractNetfilter(ABC): ) hooked = module_info is None - yield netns, proto_name, hook_name, priority, hook_ops_hook, module_info, symbol_name, hooked + yield ( + netns, + proto_name, + hook_name, + priority, + hook_ops_hook, + module_info, + symbol_name, + hooked, + ) @classmethod @abstractmethod diff --git a/volatility3/framework/plugins/linux/malware/tty_check.py b/volatility3/framework/plugins/linux/malware/tty_check.py index 1547c5cc6..00e85f251 100644 --- a/volatility3/framework/plugins/linux/malware/tty_check.py +++ b/volatility3/framework/plugins/linux/malware/tty_check.py @@ -100,11 +100,14 @@ class Tty_Check(plugins.PluginInterface): else: module_name = renderers.NotAvailableValue() - yield 0, ( - name, - format_hints.Hex(recv_buf), - module_name, - symbol_name or renderers.NotAvailableValue(), + yield ( + 0, + ( + name, + format_hints.Hex(recv_buf), + module_name, + symbol_name or renderers.NotAvailableValue(), + ), ) def run(self): diff --git a/volatility3/framework/plugins/linux/module_extract.py b/volatility3/framework/plugins/linux/module_extract.py index 97824aca0..a8864281a 100644 --- a/volatility3/framework/plugins/linux/module_extract.py +++ b/volatility3/framework/plugins/linux/module_extract.py @@ -75,10 +75,13 @@ class ModuleExtract(interfaces.plugins.PluginInterface): with self.open(file_name) as file_handle: file_handle.write(elf_data) - yield 0, ( - format_hints.Hex(base_address), - len(elf_data), - file_handle.preferred_filename, + yield ( + 0, + ( + format_hints.Hex(base_address), + len(elf_data), + file_handle.preferred_filename, + ), ) def run(self): diff --git a/volatility3/framework/plugins/linux/pagecache.py b/volatility3/framework/plugins/linux/pagecache.py index 1fd96d5d2..2d20a2fb1 100644 --- a/volatility3/framework/plugins/linux/pagecache.py +++ b/volatility3/framework/plugins/linux/pagecache.py @@ -386,7 +386,11 @@ class Files(plugins.PluginInterface, timeliner.TimeLinerInterface): inode_out = inode_in.to_user(vmlinux_layer) description = f"Cached Inode for {inode_out.path}" yield description, timeliner.TimeLinerType.ACCESSED, inode_out.access_time - yield description, timeliner.TimeLinerType.MODIFIED, inode_out.modification_time + yield ( + description, + timeliner.TimeLinerType.MODIFIED, + inode_out.modification_time, + ) yield description, timeliner.TimeLinerType.CHANGED, inode_out.change_time @classmethod @@ -813,7 +817,6 @@ class RecoverFs(plugins.PluginInterface): visited_paths = seen_prefixes = set() for inode_in in inodes_iter: - # Code is slightly duplicated here with the if-block below. # However this prevents unneeded tar manipulation if fifo # or sock inodes come through for example. diff --git a/volatility3/framework/plugins/linux/pslist.py b/volatility3/framework/plugins/linux/pslist.py index 9b31976ec..71caa0853 100644 --- a/volatility3/framework/plugins/linux/pslist.py +++ b/volatility3/framework/plugins/linux/pslist.py @@ -225,18 +225,21 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): task_euid = self._format_cred(task_fields.euid) task_egid = self._format_cred(task_fields.egid) - yield 0, ( - format_hints.Hex(task_fields.offset), - task_fields.user_pid, - task_fields.user_tid, - task_fields.user_ppid, - task_fields.name, - task_uid, - task_gid, - task_euid, - task_egid, - task_fields.creation_time or renderers.NotAvailableValue(), - file_output, + yield ( + 0, + ( + format_hints.Hex(task_fields.offset), + task_fields.user_pid, + task_fields.user_tid, + task_fields.user_ppid, + task_fields.name, + task_uid, + task_gid, + task_euid, + task_egid, + task_fields.creation_time or renderers.NotAvailableValue(), + file_output, + ), ) @classmethod diff --git a/volatility3/framework/plugins/linux/tracing/perf_events.py b/volatility3/framework/plugins/linux/tracing/perf_events.py index 23b2f2c72..ff922784d 100644 --- a/volatility3/framework/plugins/linux/tracing/perf_events.py +++ b/volatility3/framework/plugins/linux/tracing/perf_events.py @@ -70,7 +70,6 @@ class PerfEvents(plugins.PluginInterface): for task in pslist.PsList.list_tasks( context, vmlinux_module_name, include_threads=True ): - # walk the list of perf_event entries for this process for event in task.perf_event_list.to_list( vmlinux.symbol_table_name + constants.BANG + "perf_event", "owner_entry" diff --git a/volatility3/framework/plugins/linux/vmaregexscan.py b/volatility3/framework/plugins/linux/vmaregexscan.py index fb757beb5..2fde3aadc 100644 --- a/volatility3/framework/plugins/linux/vmaregexscan.py +++ b/volatility3/framework/plugins/linux/vmaregexscan.py @@ -64,7 +64,6 @@ class VmaRegExScan(plugins.PluginInterface): vollog.debug(f"RegEx Pattern: {regex_pattern}") for task in tasks: - if not task.mm: continue name = utility.array_to_string(task.comm) @@ -106,12 +105,15 @@ class VmaRegExScan(plugins.PluginInterface): bytes_result = result_data user_pid = task.tgid - yield 0, ( - user_pid, - name, - format_hints.Hex(offset), - text_result, - bytes_result, + yield ( + 0, + ( + user_pid, + name, + format_hints.Hex(offset), + text_result, + bytes_result, + ), ) def run(self): diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 64f5827c1..d9466f512 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -103,12 +103,15 @@ class VmaYaraScan(interfaces.plugins.PluginInterface): layer_name=proc_layer.name, length=len(value), ) - yield 0, ( - format_hints.Hex(offset), - task.tgid, - rule_name, - name, - layer_data, + yield ( + 0, + ( + format_hints.Hex(offset), + task.tgid, + rule_name, + name, + layer_data, + ), ) @classmethod diff --git a/volatility3/framework/plugins/mac/lsmod.py b/volatility3/framework/plugins/mac/lsmod.py index c6f57f889..05a0ee72f 100644 --- a/volatility3/framework/plugins/mac/lsmod.py +++ b/volatility3/framework/plugins/mac/lsmod.py @@ -3,6 +3,7 @@ # """A module containing a collection of plugins that produce data typically found in Mac's lsmod command.""" + from typing import Set from volatility3.framework import renderers, interfaces, exceptions diff --git a/volatility3/framework/plugins/mac/mount.py b/volatility3/framework/plugins/mac/mount.py index 0f3aa745c..3d9dcd916 100644 --- a/volatility3/framework/plugins/mac/mount.py +++ b/volatility3/framework/plugins/mac/mount.py @@ -3,6 +3,7 @@ # """A module containing a collection of plugins that produce data typically found in Mac's mount command.""" + from volatility3.framework import renderers, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins diff --git a/volatility3/framework/plugins/mac/psaux.py b/volatility3/framework/plugins/mac/psaux.py index ba9b7b5f6..bdcfb1466 100644 --- a/volatility3/framework/plugins/mac/psaux.py +++ b/volatility3/framework/plugins/mac/psaux.py @@ -2,6 +2,7 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # """In-memory artifacts from OSX systems.""" + from typing import Iterator, Tuple, Any, Generator, List from volatility3.framework import exceptions, renderers, interfaces diff --git a/volatility3/framework/plugins/windows/callbacks.py b/volatility3/framework/plugins/windows/callbacks.py index b8c9fe751..2a65f76bb 100644 --- a/volatility3/framework/plugins/windows/callbacks.py +++ b/volatility3/framework/plugins/windows/callbacks.py @@ -78,7 +78,6 @@ class Callbacks(interfaces.plugins.PluginInterface): def _create_default_scan_constraints( context: interfaces.context.ContextInterface, symbol_table: str ) -> List[poolscanner.PoolConstraint]: - shutdown_packet_size = context.symbol_space.get_type( symbol_table + constants.BANG + "_SHUTDOWN_PACKET" ).size @@ -590,7 +589,11 @@ class Callbacks(interfaces.plugins.PluginInterface): except exceptions.InvalidAddressException: component = renderers.UnreadableValue() - yield "KeBugCheckReasonCallbackListHead", callback.CallbackRoutine, component + yield ( + "KeBugCheckReasonCallbackListHead", + callback.CallbackRoutine, + component, + ) @classmethod def list_bugcheck_callbacks( diff --git a/volatility3/framework/plugins/windows/deskscan.py b/volatility3/framework/plugins/windows/deskscan.py index 35430be5d..202eaf330 100644 --- a/volatility3/framework/plugins/windows/deskscan.py +++ b/volatility3/framework/plugins/windows/deskscan.py @@ -77,6 +77,11 @@ class DeskScan(desktops.Desktops): continue for _thread, process_name, process_pid in desktop.get_threads(): - yield format_hints.Hex( - desktop.vol.offset - ), winsta_name, session_id, desktop_name, process_name, process_pid + yield ( + format_hints.Hex(desktop.vol.offset), + winsta_name, + session_id, + desktop_name, + process_name, + process_pid, + ) diff --git a/volatility3/framework/plugins/windows/desktops.py b/volatility3/framework/plugins/windows/desktops.py index c6557085e..f2a985c6b 100644 --- a/volatility3/framework/plugins/windows/desktops.py +++ b/volatility3/framework/plugins/windows/desktops.py @@ -63,9 +63,14 @@ class Desktops(interfaces.plugins.PluginInterface): for desktop, desktop_name in winsta.desktops(kernel.symbol_table_name): # for each desktop, walk its threads for _thread, process_name, process_pid in desktop.get_threads(): - yield format_hints.Hex( - desktop.vol.offset - ), station_name, session_id, desktop_name, process_name, process_pid + yield ( + format_hints.Hex(desktop.vol.offset), + station_name, + session_id, + desktop_name, + process_name, + process_pid, + ) def _generator(self): kernel_name = self.config["kernel"] diff --git a/volatility3/framework/plugins/windows/kpcrs.py b/volatility3/framework/plugins/windows/kpcrs.py index 213e3833c..d544fd498 100644 --- a/volatility3/framework/plugins/windows/kpcrs.py +++ b/volatility3/framework/plugins/windows/kpcrs.py @@ -96,7 +96,6 @@ class KPCRs(interfaces.plugins.PluginInterface): yield kpcr, kpcr.member(kpcr_member) def _generator(self) -> Iterator[Tuple]: - for kpcr, current_prcb in self.list_kpcrs(self.context, self.config["kernel"]): yield ( 0, diff --git a/volatility3/framework/plugins/windows/malware/direct_system_calls.py b/volatility3/framework/plugins/windows/malware/direct_system_calls.py index dce09605b..f6b9e53bb 100644 --- a/volatility3/framework/plugins/windows/malware/direct_system_calls.py +++ b/volatility3/framework/plugins/windows/malware/direct_system_calls.py @@ -451,12 +451,15 @@ class DirectSystemCalls(interfaces.plugins.PluginInterface): address, disasm_bytes = syscall_info - yield 0, ( - proc_name, - proc.UniqueProcessId, - vad_path, - format_hints.Hex(address), - disasm_bytes, + yield ( + 0, + ( + proc_name, + proc.UniqueProcessId, + vad_path, + format_hints.Hex(address), + disasm_bytes, + ), ) def run(self) -> renderers.TreeGrid: diff --git a/volatility3/framework/plugins/windows/malware/hollowprocesses.py b/volatility3/framework/plugins/windows/malware/hollowprocesses.py index f981ae340..1ea46b540 100644 --- a/volatility3/framework/plugins/windows/malware/hollowprocesses.py +++ b/volatility3/framework/plugins/windows/malware/hollowprocesses.py @@ -198,10 +198,13 @@ class HollowProcesses(interfaces.plugins.PluginInterface): for check in checks: for note in check(proc, vads, dlls): - yield 0, ( - pid, - proc_name, - note, + yield ( + 0, + ( + pid, + proc_name, + note, + ), ) def run(self): diff --git a/volatility3/framework/plugins/windows/malware/malfind.py b/volatility3/framework/plugins/windows/malware/malfind.py index 01da93e1f..2f6d9eb56 100644 --- a/volatility3/framework/plugins/windows/malware/malfind.py +++ b/volatility3/framework/plugins/windows/malware/malfind.py @@ -92,8 +92,11 @@ class Malfind(interfaces.plugins.PluginInterface): for vad, data_object in cls.list_injection_sites( context, kernel_layer_name, symbol_table, proc ): - yield vad, data_object.context.layers[data_object.layer_name].read( - data_object.offset, data_object.length + yield ( + vad, + data_object.context.layers[data_object.layer_name].read( + data_object.offset, data_object.length + ), ) @classmethod diff --git a/volatility3/framework/plugins/windows/malware/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py index dd85fb570..cd898239f 100644 --- a/volatility3/framework/plugins/windows/malware/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/malware/pebmasquerade.py @@ -167,7 +167,6 @@ class PebMasquerade(interfaces.plugins.PluginInterface): if isinstance(peb_imagefilepath, str) and peb: try: - # Length values are of type USHORT peb_imagefilepath_length = ( peb.ProcessParameters.ImagePathName.Length // 2 diff --git a/volatility3/framework/plugins/windows/malware/processghosting.py b/volatility3/framework/plugins/windows/malware/processghosting.py index f234bc2e7..fb8ec527d 100644 --- a/volatility3/framework/plugins/windows/malware/processghosting.py +++ b/volatility3/framework/plugins/windows/malware/processghosting.py @@ -149,9 +149,12 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): for file_object_address, delete_pending, delete_on_close in cls._vad_checks( control_area, path ): - yield format_hints.Hex( - file_object_address - ), delete_pending, delete_on_close, vad_base + yield ( + format_hints.Hex(file_object_address), + delete_pending, + delete_on_close, + vad_base, + ) def _generator(self, procs): kernel = self.context.modules[self.config["kernel"]] @@ -187,14 +190,17 @@ class ProcessGhosting(interfaces.plugins.PluginInterface): else: path = renderers.NotAvailableValue() - yield 0, ( - pid, - process_name, - format_hints.Hex(base_address), - format_hints.Hex(file_object_address), - delete_pending or renderers.NotApplicableValue(), - delete_on_close or renderers.NotApplicableValue(), - path, + yield ( + 0, + ( + pid, + process_name, + format_hints.Hex(base_address), + format_hints.Hex(file_object_address), + delete_pending or renderers.NotApplicableValue(), + delete_on_close or renderers.NotApplicableValue(), + path, + ), ) def run(self): diff --git a/volatility3/framework/plugins/windows/malware/skeleton_key_check.py b/volatility3/framework/plugins/windows/malware/skeleton_key_check.py index d9cba0704..10c6222bc 100644 --- a/volatility3/framework/plugins/windows/malware/skeleton_key_check.py +++ b/volatility3/framework/plugins/windows/malware/skeleton_key_check.py @@ -648,12 +648,15 @@ class Skeleton_Key_Check(interfaces.plugins.PluginInterface): csystem, cryptdll_base, cryptdll_size ) - yield 0, ( - lsass_proc.UniqueProcessId, - "lsass.exe", - skeleton_key_present, - format_hints.Hex(csystem.Initialize), - format_hints.Hex(csystem.Decrypt), + yield ( + 0, + ( + lsass_proc.UniqueProcessId, + "lsass.exe", + skeleton_key_present, + format_hints.Hex(csystem.Initialize), + format_hints.Hex(csystem.Decrypt), + ), ) def _lsass_proc_filter(self, proc): diff --git a/volatility3/framework/plugins/windows/malware/suspicious_threads.py b/volatility3/framework/plugins/windows/malware/suspicious_threads.py index 3da8cb21a..803a0b04b 100644 --- a/volatility3/framework/plugins/windows/malware/suspicious_threads.py +++ b/volatility3/framework/plugins/windows/malware/suspicious_threads.py @@ -196,14 +196,17 @@ class SuspiciousThreads(interfaces.plugins.PluginInterface): for vad_path, note in self._check_thread_address( exe_path, ranges, address ): - yield 0, ( - proc_name, - pid, - tid, - context, - format_hints.Hex(address), - vad_path, - note, + yield ( + 0, + ( + proc_name, + pid, + tid, + context, + format_hints.Hex(address), + vad_path, + note, + ), ) def run(self): diff --git a/volatility3/framework/plugins/windows/mftscan.py b/volatility3/framework/plugins/windows/mftscan.py index f0be3cf7f..2dfecb93b 100644 --- a/volatility3/framework/plugins/windows/mftscan.py +++ b/volatility3/framework/plugins/windows/mftscan.py @@ -132,19 +132,22 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # There should only be one STANDARD_INFORMATION attribute, but we # do this just in case. for std_information in mft_record.standard_information_entries(): - yield 0, cls.MFTScanResult( - format_hints.Hex(std_information.vol.offset), - str(mft_record.get_signature()), - mft_record.RecordNumber, - mft_record.LinkCount, - mft_flag, - renderers.NotApplicableValue(), - "STANDARD_INFORMATION", - conversion.wintime_to_datetime(std_information.CreationTime), - conversion.wintime_to_datetime(std_information.ModifiedTime), - conversion.wintime_to_datetime(std_information.UpdatedTime), - conversion.wintime_to_datetime(std_information.AccessedTime), - renderers.NotApplicableValue(), + yield ( + 0, + cls.MFTScanResult( + format_hints.Hex(std_information.vol.offset), + str(mft_record.get_signature()), + mft_record.RecordNumber, + mft_record.LinkCount, + mft_flag, + renderers.NotApplicableValue(), + "STANDARD_INFORMATION", + conversion.wintime_to_datetime(std_information.CreationTime), + conversion.wintime_to_datetime(std_information.ModifiedTime), + conversion.wintime_to_datetime(std_information.UpdatedTime), + conversion.wintime_to_datetime(std_information.AccessedTime), + renderers.NotApplicableValue(), + ), ) except exceptions.InvalidAddressException: pass @@ -163,26 +166,28 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # File Name Attribute try: for filename_info in mft_record.filename_entries(): - # If we don't have a valid enum, coerce to hex so we can keep the record try: permissions = filename_info.Flags.lookup() except ValueError: permissions = hex(filename_info.Flags) - yield 1, cls.MFTScanResult( - format_hints.Hex(filename_info.vol.offset), - str(mft_record.get_signature()), - mft_record.RecordNumber, - mft_record.LinkCount, - mft_flag, - permissions, - "FILE_NAME", - conversion.wintime_to_datetime(filename_info.CreationTime), - conversion.wintime_to_datetime(filename_info.ModifiedTime), - conversion.wintime_to_datetime(filename_info.UpdatedTime), - conversion.wintime_to_datetime(filename_info.AccessedTime), - filename_info.get_full_name(), + yield ( + 1, + cls.MFTScanResult( + format_hints.Hex(filename_info.vol.offset), + str(mft_record.get_signature()), + mft_record.RecordNumber, + mft_record.LinkCount, + mft_flag, + permissions, + "FILE_NAME", + conversion.wintime_to_datetime(filename_info.CreationTime), + conversion.wintime_to_datetime(filename_info.ModifiedTime), + conversion.wintime_to_datetime(filename_info.UpdatedTime), + conversion.wintime_to_datetime(filename_info.AccessedTime), + filename_info.get_full_name(), + ), ) except exceptions.InvalidAddressException: return @@ -214,22 +219,25 @@ class MFTScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): # but in this case memory usage is so extreme due to the number of # records that it becomes necessary. The rich types are still # exposed through classmethods. - yield level, ( - record.offset, - record.record_type, - int(record.record_number), - int(record.link_count), - record.mft_type, - record.permissions, - record.attribute_type, - record.created, - record.modified, - record.updated, - record.accessed, + yield ( + level, ( - str(record.filename) - if isinstance(record.filename, objects.String) - else record.filename + record.offset, + record.record_type, + int(record.record_number), + int(record.link_count), + record.mft_type, + record.permissions, + record.attribute_type, + record.created, + record.modified, + record.updated, + record.accessed, + ( + str(record.filename) + if isinstance(record.filename, objects.String) + else record.filename + ), ), ) @@ -344,22 +352,25 @@ class ADS(interfaces.plugins.PluginInterface): # but in this case memory usage is so extreme due to the number of # records that it becomes necessary. The rich types are still # exposed through classmethods. - yield 0, ( - record.offset, - str(record.signature), - int(record.record_number), - record.attribute_type, + yield ( + 0, ( - str(record.filename) - if isinstance(record.filename, objects.String) - else record.filename + record.offset, + str(record.signature), + int(record.record_number), + record.attribute_type, + ( + str(record.filename) + if isinstance(record.filename, objects.String) + else record.filename + ), + ( + str(record.stream_name) + if isinstance(record.stream_name, objects.String) + else record.stream_name + ), + record.content, ), - ( - str(record.stream_name) - if isinstance(record.stream_name, objects.String) - else record.stream_name - ), - record.content, ) def run(self): @@ -454,13 +465,16 @@ class ResidentData(interfaces.plugins.PluginInterface): # but in this case memory usage is so extreme due to the number of # records that it becomes necessary. The rich types are still # exposed through classmethods. - yield 0, ( - resident_data_entry.offset, - str(resident_data_entry.signature), - int(resident_data_entry.record_number), - resident_data_entry.attribute_type, - str(resident_data_entry.filename), - resident_data_entry.content, + yield ( + 0, + ( + resident_data_entry.offset, + str(resident_data_entry.signature), + int(resident_data_entry.record_number), + resident_data_entry.attribute_type, + str(resident_data_entry.filename), + resident_data_entry.content, + ), ) def run(self): diff --git a/volatility3/framework/plugins/windows/modules.py b/volatility3/framework/plugins/windows/modules.py index 1ec965737..18a7b5919 100644 --- a/volatility3/framework/plugins/windows/modules.py +++ b/volatility3/framework/plugins/windows/modules.py @@ -119,13 +119,16 @@ class Modules(interfaces.plugins.PluginInterface): if self.config["dump"]: file_output = self.dump_module(session_layers, pe_table_name, mod) - yield 0, ( - format_hints.Hex(mod.vol.offset), - format_hints.Hex(mod.DllBase), - format_hints.Hex(mod.SizeOfImage), - BaseDllName, - FullDllName, - file_output, + yield ( + 0, + ( + format_hints.Hex(mod.vol.offset), + format_hints.Hex(mod.DllBase), + format_hints.Hex(mod.SizeOfImage), + BaseDllName, + FullDllName, + file_output, + ), ) @classmethod diff --git a/volatility3/framework/plugins/windows/poolscanner.py b/volatility3/framework/plugins/windows/poolscanner.py index 157282ce1..43dcd0482 100644 --- a/volatility3/framework/plugins/windows/poolscanner.py +++ b/volatility3/framework/plugins/windows/poolscanner.py @@ -436,7 +436,6 @@ class PoolScanner(plugins.PluginInterface): constraints, alignment=alignment, ): - mem_objects = header.get_object( constraint=constraint, use_top_down=is_windows_8_or_later, diff --git a/volatility3/framework/plugins/windows/registry/amcache.py b/volatility3/framework/plugins/windows/registry/amcache.py index a6ad1848e..ed078993c 100644 --- a/volatility3/framework/plugins/windows/registry/amcache.py +++ b/volatility3/framework/plugins/windows/registry/amcache.py @@ -246,13 +246,29 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) -> Iterator[Tuple[str, timeliner.TimeLinerType, datetime.datetime]]: for _, entry in self._generator(): if isinstance(entry.last_modify_time, datetime.datetime): - yield f"Amcache: {entry.entry_type} {entry.path} registry key modified", timeliner.TimeLinerType.MODIFIED, entry.last_modify_time + yield ( + f"Amcache: {entry.entry_type} {entry.path} registry key modified", + timeliner.TimeLinerType.MODIFIED, + entry.last_modify_time, + ) if isinstance(entry.last_modify_time_2, datetime.datetime): - yield f"Amcache: {entry.entry_type} {entry.path} STANDARD_INFORMATION create time", timeliner.TimeLinerType.CREATED, entry.last_modify_time_2 + yield ( + f"Amcache: {entry.entry_type} {entry.path} STANDARD_INFORMATION create time", + timeliner.TimeLinerType.CREATED, + entry.last_modify_time_2, + ) if isinstance(entry.install_time, datetime.datetime): - yield f"Amcache: {entry.entry_type} {entry.path} installed", timeliner.TimeLinerType.CREATED, entry.install_time + yield ( + f"Amcache: {entry.entry_type} {entry.path} installed", + timeliner.TimeLinerType.CREATED, + entry.install_time, + ) if isinstance(entry.compile_time, datetime.datetime): - yield f"Amcache: {entry.entry_type} {entry.path} compiled (PE metadata)", timeliner.TimeLinerType.MODIFIED, entry.compile_time + yield ( + f"Amcache: {entry.entry_type} {entry.path} compiled (PE metadata)", + timeliner.TimeLinerType.MODIFIED, + entry.compile_time, + ) @classmethod def get_amcache_hive( @@ -319,20 +335,23 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): vollog.debug(f"Found sha1hash {sha1_hash}") product_name = _get_string_value(values, val_enum.Product.value) - yield program_id, _AmcacheEntry( - AmcacheEntryType.File.name, - path=path, - company=company, - last_modify_time=last_mod_time, - last_modify_time_2=last_mod_time_2, - install_time=install_time, - compile_time=compile_time, - sha1_hash=( - sha1_hash.lstrip("0000") - if isinstance(sha1_hash, str) - else sha1_hash + yield ( + program_id, + _AmcacheEntry( + AmcacheEntryType.File.name, + path=path, + company=company, + last_modify_time=last_mod_time, + last_modify_time_2=last_mod_time_2, + install_time=install_time, + compile_time=compile_time, + sha1_hash=( + sha1_hash.lstrip("0000") + if isinstance(sha1_hash, str) + else sha1_hash + ), + product_name=product_name, ), - product_name=product_name, ) @classmethod @@ -365,15 +384,18 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): ) version = _get_string_value(values, val_enum.Version.value) - yield program_id, _AmcacheEntry( - AmcacheEntryType.Program.name, - company=company, - last_modify_time=conversion.wintime_to_datetime( - program_key.LastWriteTime.QuadPart + yield ( + program_id, + _AmcacheEntry( + AmcacheEntryType.Program.name, + company=company, + last_modify_time=conversion.wintime_to_datetime( + program_key.LastWriteTime.QuadPart + ), + install_time=install_time, + product_name=product, + product_version=version, ), - install_time=install_time, - product_name=product, - product_version=version, ) @classmethod @@ -411,14 +433,17 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): product: str = name if isinstance(name, str) else "UNKNOWN" # type: ignore - yield program_id.strip().strip("\u0000"), _AmcacheEntry( - AmcacheEntryType.Program.name, - path=path, - last_modify_time=last_mod, - install_time=install_date, - product_name=product, - company=publisher, - product_version=version, + yield ( + program_id.strip().strip("\u0000"), + _AmcacheEntry( + AmcacheEntryType.Program.name, + path=path, + last_modify_time=last_mod, + install_time=install_date, + product_name=product, + company=publisher, + product_version=version, + ), ) @classmethod @@ -456,19 +481,22 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): prod_ver = _get_string_value(values, val_enum.ProductVersion.value) program_id = _get_string_value(values, val_enum.ProgramID.value) - yield program_id, _AmcacheEntry( - AmcacheEntryType.File.name, - path=path, - company=publisher, - last_modify_time=last_mod, - compile_time=linkdate, - sha1_hash=( - sha1_hash.lstrip("0000") - if isinstance(sha1_hash, str) - else sha1_hash + yield ( + program_id, + _AmcacheEntry( + AmcacheEntryType.File.name, + path=path, + company=publisher, + last_modify_time=last_mod, + compile_time=linkdate, + sha1_hash=( + sha1_hash.lstrip("0000") + if isinstance(sha1_hash, str) + else sha1_hash + ), + product_name=prod_name, + product_version=prod_ver, ), - product_name=prod_name, - product_version=prod_ver, ) @classmethod @@ -485,7 +513,6 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): wanted_values = [key.value for key in val_enum] for binary_key in driver_binary_key.get_subkeys(): - values = { str(value.get_name()): value for value in binary_key.get_values() @@ -636,7 +663,6 @@ class Amcache(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): yield 0, empty_program def run(self): - return renderers.TreeGrid( [ ("EntryType", str), diff --git a/volatility3/framework/plugins/windows/registry/scheduled_tasks.py b/volatility3/framework/plugins/windows/registry/scheduled_tasks.py index 2c660229b..a3e5fabe2 100644 --- a/volatility3/framework/plugins/windows/registry/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/registry/scheduled_tasks.py @@ -185,7 +185,6 @@ NULL = "\u0000" class _ScheduledTasksReader(io.BytesIO): - def read_task_scheduler_time(self) -> Optional[datetime.datetime]: _ = bool(self.read_aligned_u1()) # is_localized filetime = self.decode_filetime() @@ -393,7 +392,6 @@ class TaskAction: num_attachment_filenames = reader.read_u4() if num_attachment_filenames is not None: - attachment_filenames = [ reader.read_bstring() for _ in range(num_attachment_filenames) ] @@ -1138,11 +1136,23 @@ class ScheduledTasks(interfaces.plugins.PluginInterface, timeliner.TimeLinerInte ) -> Iterator[Tuple[str, timeliner.TimeLinerType, datetime.datetime]]: for _, task in self._generator(): if isinstance(task.last_run_time, datetime.datetime): - yield f"ScheduledTasks: task action {task.action_description} with trigger {task.trigger_description} ran", timeliner.TimeLinerType.ACCESSED, task.last_run_time + yield ( + f"ScheduledTasks: task action {task.action_description} with trigger {task.trigger_description} ran", + timeliner.TimeLinerType.ACCESSED, + task.last_run_time, + ) if isinstance(task.last_successful_run_time, datetime.datetime): - yield f"ScheduledTasks: task action {task.action_description} with trigger {task.trigger_description} ran successfully", timeliner.TimeLinerType.ACCESSED, task.last_successful_run_time + yield ( + f"ScheduledTasks: task action {task.action_description} with trigger {task.trigger_description} ran successfully", + timeliner.TimeLinerType.ACCESSED, + task.last_successful_run_time, + ) if isinstance(task.creation_time, datetime.datetime): - yield f"ScheduledTasks: Creation Time for task {task.guid} with trigger {task.trigger_description or ''}", timeliner.TimeLinerType.CREATED, task.creation_time + yield ( + f"ScheduledTasks: Creation Time for task {task.guid} with trigger {task.trigger_description or ''}", + timeliner.TimeLinerType.CREATED, + task.creation_time, + ) @classmethod def get_software_hive( @@ -1203,7 +1213,6 @@ class ScheduledTasks(interfaces.plugins.PluginInterface, timeliner.TimeLinerInte def parse_dynamic_info_value( cls, dyn_info_value: reg_extensions.CM_KEY_VALUE ) -> Optional[DynamicInfo]: - try: data = dyn_info_value.decode_data() except exceptions.InvalidAddressException: @@ -1318,7 +1327,6 @@ class ScheduledTasks(interfaces.plugins.PluginInterface, timeliner.TimeLinerInte all_actions = action_set.actions or [None] if action_set is not None else [None] for action, trigger in itertools.product(all_actions, all_triggers): - if action is not None: if action.action_type in ( ActionType.Exe, diff --git a/volatility3/framework/plugins/windows/sessions.py b/volatility3/framework/plugins/windows/sessions.py index 29d0b2104..158820529 100644 --- a/volatility3/framework/plugins/windows/sessions.py +++ b/volatility3/framework/plugins/windows/sessions.py @@ -95,13 +95,16 @@ class Sessions(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) # Group and yield each row for rows in sessions.values(): for row in rows: - yield 0, ( - row.get("session_id"), - row.get("session_type"), - row.get("process_id"), - row.get("process_name"), - row.get("user_name"), - row.get("process_start"), + yield ( + 0, + ( + row.get("session_id"), + row.get("session_type"), + row.get("process_id"), + row.get("process_name"), + row.get("user_name"), + row.get("process_start"), + ), ) def generate_timeline(self): diff --git a/volatility3/framework/plugins/windows/shimcachemem.py b/volatility3/framework/plugins/windows/shimcachemem.py index 7a03ebbb6..8935757d4 100644 --- a/volatility3/framework/plugins/windows/shimcachemem.py +++ b/volatility3/framework/plugins/windows/shimcachemem.py @@ -51,9 +51,17 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf ) -> Iterator[Tuple[str, timeliner.TimeLinerType, datetime]]: for _, (_, last_modified, last_update, _, _, file_path) in self._generator(): if isinstance(last_update, datetime): - yield f"Shimcache: File {file_path} executed", timeliner.TimeLinerType.ACCESSED, last_update + yield ( + f"Shimcache: File {file_path} executed", + timeliner.TimeLinerType.ACCESSED, + last_update, + ) if isinstance(last_modified, datetime): - yield f"Shimcache: File {file_path} modified", timeliner.TimeLinerType.MODIFIED, last_modified + yield ( + f"Shimcache: File {file_path} modified", + timeliner.TimeLinerType.MODIFIED, + last_modified, + ) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -161,7 +169,7 @@ class ShimcacheMem(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterf continue try: - if proc_layer.read(vad.get_start(), 4) != b"\xEF\xBE\xAD\xDE": + if proc_layer.read(vad.get_start(), 4) != b"\xef\xbe\xad\xde": if pid == 624: vollog.debug("VAD magic bytes don't match DEADBEEF") continue diff --git a/volatility3/framework/plugins/windows/svcscan.py b/volatility3/framework/plugins/windows/svcscan.py index 5f0e4761e..1bfb98fda 100644 --- a/volatility3/framework/plugins/windows/svcscan.py +++ b/volatility3/framework/plugins/windows/svcscan.py @@ -150,7 +150,6 @@ class SvcScan(interfaces.plugins.PluginInterface): def _get_service_key( context, config_path: str, kernel_module_name: str ) -> Optional[objects.StructType]: - for hive in hivelist.HiveList.list_hives( context=context, base_config_path=interfaces.configuration.path_join( diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 082b82284..1588f292e 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -167,16 +167,19 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) info = self.gather_thread_info(ethread, vads_cache) if info: - yield 0, ( - format_hints.Hex(info.offset), - info.pid, - info.tid, - format_hints.Hex(info.start_addr), - info.start_path or renderers.NotAvailableValue(), - format_hints.Hex(info.win32_start_addr), - info.win32_start_path or renderers.NotAvailableValue(), - info.create_time, - info.exit_time, + yield ( + 0, + ( + format_hints.Hex(info.offset), + info.pid, + info.tid, + format_hints.Hex(info.start_addr), + info.start_path or renderers.NotAvailableValue(), + format_hints.Hex(info.win32_start_addr), + info.win32_start_path or renderers.NotAvailableValue(), + info.create_time, + info.exit_time, + ), ) def generate_timeline(self): diff --git a/volatility3/framework/plugins/windows/vadregexscan.py b/volatility3/framework/plugins/windows/vadregexscan.py index 068838e35..6a3cc394f 100644 --- a/volatility3/framework/plugins/windows/vadregexscan.py +++ b/volatility3/framework/plugins/windows/vadregexscan.py @@ -62,7 +62,6 @@ class VadRegExScan(plugins.PluginInterface): vollog.debug(f"RegEx Pattern: {regex_pattern}") for proc in procs: - # attempt to create a process layer for each proc proc_layer_name = proc.add_process_layer() if not proc_layer_name: @@ -106,12 +105,15 @@ class VadRegExScan(plugins.PluginInterface): max_length=proc.ImageFileName.vol.count, errors="replace", ) - yield 0, ( - proc_id, - process_name, - format_hints.Hex(offset), - text_result, - bytes_result, + yield ( + 0, + ( + proc_id, + process_name, + format_hints.Hex(offset), + text_result, + bytes_result, + ), ) def run(self): diff --git a/volatility3/framework/plugins/windows/vadyarascan.py b/volatility3/framework/plugins/windows/vadyarascan.py index bbbe49f2d..9a38213fa 100644 --- a/volatility3/framework/plugins/windows/vadyarascan.py +++ b/volatility3/framework/plugins/windows/vadyarascan.py @@ -100,21 +100,24 @@ class VadYaraScan(interfaces.plugins.PluginInterface): layer_name=layer.name, length=len(value), ) - yield 0, ( - format_hints.Hex(offset), - task.UniqueProcessId, - task.get_create_time(), - task.InheritedFromUniqueProcessId, - task.ImageFileName.cast( - "string", - max_length=task.ImageFileName.vol.count, - errors="replace", + yield ( + 0, + ( + format_hints.Hex(offset), + task.UniqueProcessId, + task.get_create_time(), + task.InheritedFromUniqueProcessId, + task.ImageFileName.cast( + "string", + max_length=task.ImageFileName.vol.count, + errors="replace", + ), + task.get_session_id(), + task.ActiveThreads, + rule_name, + name, + layer_data, ), - task.get_session_id(), - task.ActiveThreads, - rule_name, - name, - layer_data, ) @classmethod diff --git a/volatility3/framework/plugins/windows/windows.py b/volatility3/framework/plugins/windows/windows.py index 9d4317df9..c98869665 100644 --- a/volatility3/framework/plugins/windows/windows.py +++ b/volatility3/framework/plugins/windows/windows.py @@ -112,15 +112,18 @@ class Windows(interfaces.plugins.PluginInterface): ) continue - yield 0, ( - format_hints.Hex(window.vol.offset), - station_name, - sess_id, - desktop_name, - window_name or renderers.NotAvailableValue(), - window_proc, - process_name, - process_pid, + yield ( + 0, + ( + format_hints.Hex(window.vol.offset), + station_name, + sess_id, + desktop_name, + window_name or renderers.NotAvailableValue(), + window_proc, + process_name, + process_pid, + ), ) def run(self): diff --git a/volatility3/framework/renderers/__init__.py b/volatility3/framework/renderers/__init__.py index 8732e6e88..899c19196 100644 --- a/volatility3/framework/renderers/__init__.py +++ b/volatility3/framework/renderers/__init__.py @@ -6,6 +6,7 @@ Renderers display the unified output format in some manner (be it text or file or graphical output """ + import collections import collections.abc import dataclasses diff --git a/volatility3/framework/renderers/format_hints.py b/volatility3/framework/renderers/format_hints.py index d57c7e9f1..83f36a1a0 100644 --- a/volatility3/framework/renderers/format_hints.py +++ b/volatility3/framework/renderers/format_hints.py @@ -8,6 +8,7 @@ These hints allow a plugin to indicate how they would like data from a particula Text renderers should attempt to honour all hints provided in this module where possible """ + from typing import Type, Union from volatility3.framework import interfaces diff --git a/volatility3/framework/symbols/__init__.py b/volatility3/framework/symbols/__init__.py index 87f2288d7..a050298ba 100644 --- a/volatility3/framework/symbols/__init__.py +++ b/volatility3/framework/symbols/__init__.py @@ -210,9 +210,10 @@ class SymbolSpace(interfaces.symbols.SymbolSpaceInterface): replacements = set() # Whole Symbols that still need traversing while traverse_list: - template_traverse_list, traverse_list = [ - self._resolved[traverse_list[0]] - ], traverse_list[1:] + template_traverse_list, traverse_list = ( + [self._resolved[traverse_list[0]]], + traverse_list[1:], + ) # Traverse a single symbol looking for any ReferenceTemplate objects while template_traverse_list: traverser, template_traverse_list = ( diff --git a/volatility3/framework/symbols/intermed.py b/volatility3/framework/symbols/intermed.py index 33035bc70..001f817bd 100644 --- a/volatility3/framework/symbols/intermed.py +++ b/volatility3/framework/symbols/intermed.py @@ -246,9 +246,12 @@ class IntermediateSymbolTable(interfaces.symbols.SymbolTableInterface): if name.endswith(zip_match + extension) or ( zip_match == "*" and name.endswith(extension) ): - yield "jar:file:" + str( - pathlib.Path(zip_path) - ) + "!" + name + yield ( + "jar:file:" + + str(pathlib.Path(zip_path)) + + "!" + + name + ) @classmethod def create( diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 3b9a73e7c..a40c58bf4 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -36,7 +36,6 @@ vollog = logging.getLogger(__name__) class module(generic.GenericIntelProcess): - def is_valid(self): """Determine whether it is a valid module object by verifying the self-referential in module_kobject. This also confirms that the module is actively allocated and @@ -991,7 +990,6 @@ class maple_tree(objects.StructType): class mm_struct(objects.StructType): - # TODO: As of version 3.0.0 this method should be removed def get_mmap_iter(self) -> Iterable[interfaces.objects.ObjectInterface]: """ @@ -3048,7 +3046,6 @@ class latch_tree_root(objects.StructType): class kernel_symbol(objects.StructType): - def _offset_to_ptr(self, off) -> int: layer = self._context.layers[self.vol.layer_name] long_mask = (1 << layer.bits_per_register) - 1 diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 0ae748814..804abd404 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -297,7 +297,6 @@ class Modules(interfaces.configuration.VersionableInterface): # process each module coming from back the current source for module in gatherer.gather_modules(context, kernel_module_name): - # the kernel sends back a ModuleInfo directly if isinstance(module, ModuleInfo): modinfo = module @@ -998,13 +997,16 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): with self.open(file_name) as file_handle: file_handle.write(elf_data) - yield 0, ( - format_hints.Hex(module.vol.offset), - name, - format_hints.Hex(code_size), - taints, - parameters, - file_name, + yield ( + 0, + ( + format_hints.Hex(module.vol.offset), + name, + format_hints.Hex(code_size), + taints, + parameters, + file_name, + ), ) def run(self): diff --git a/volatility3/framework/symbols/windows/extensions/callbacks.py b/volatility3/framework/symbols/windows/extensions/callbacks.py index f54db39f2..855933f59 100644 --- a/volatility3/framework/symbols/windows/extensions/callbacks.py +++ b/volatility3/framework/symbols/windows/extensions/callbacks.py @@ -48,7 +48,6 @@ class _SHUTDOWN_PACKET(objects.StructType, pool.ExecutiveObject): return False try: - device = self.DeviceObject if not device or not (device.DriverObject.DriverStart % 0x1000 == 0): vollog.debug( diff --git a/volatility3/framework/symbols/windows/extensions/gui.py b/volatility3/framework/symbols/windows/extensions/gui.py index 0d39f8173..000c50319 100644 --- a/volatility3/framework/symbols/windows/extensions/gui.py +++ b/volatility3/framework/symbols/windows/extensions/gui.py @@ -220,7 +220,6 @@ class GUIExtensions(interfaces.configuration.VersionableInterface): break class tagWND(objects.StructType, pool.ExecutiveObject): - def is_valid(self) -> bool: """ Enforce a valid sid diff --git a/volatility3/framework/symbols/windows/extensions/mft.py b/volatility3/framework/symbols/windows/extensions/mft.py index bf20c1ffc..ddc21798f 100644 --- a/volatility3/framework/symbols/windows/extensions/mft.py +++ b/volatility3/framework/symbols/windows/extensions/mft.py @@ -54,7 +54,6 @@ class MFTEntry(objects.StructType): return max(names, key=lambda x: len(str(x))) def _attributes(self) -> Iterator["MFTAttribute"]: - # We will update this on each pass in the next loop and use it as the new offset. attr_base_offset = self.FirstAttrOffset attribute_object_type_name = ( diff --git a/volatility3/framework/symbols/windows/extensions/shimcache.py b/volatility3/framework/symbols/windows/extensions/shimcache.py index 3b32d30c7..e7d92a48d 100644 --- a/volatility3/framework/symbols/windows/extensions/shimcache.py +++ b/volatility3/framework/symbols/windows/extensions/shimcache.py @@ -183,7 +183,6 @@ class SHIM_CACHE_ENTRY(objects.StructType): == self.ListEntry.Flink.Blink.dereference().vol.offset ) ): - return True else: return False diff --git a/volatility3/framework/symbols/windows/pdbconv.py b/volatility3/framework/symbols/windows/pdbconv.py index c23ffb350..5baf23fb2 100644 --- a/volatility3/framework/symbols/windows/pdbconv.py +++ b/volatility3/framework/symbols/windows/pdbconv.py @@ -489,7 +489,7 @@ class PdbReader: """Strips unnecessary components from the start of a symbol name.""" new_name = name - if new_name[:1] in ["_", "@", "\u007F"]: + if new_name[:1] in ["_", "@", "\u007f"]: new_name = new_name[1:] name_array = new_name.split("@") diff --git a/volatility3/plugins/__init__.py b/volatility3/plugins/__init__.py index 6afa8baf4..27fc0938c 100644 --- a/volatility3/plugins/__init__.py +++ b/volatility3/plugins/__init__.py @@ -12,6 +12,7 @@ are dependent upon, please DO NOT alter or remove this file unless you know the The framework is configured this way to allow plugin developers/users to override any plugin functionality whether existing or new. """ + from volatility3.framework import constants __path__ = constants.PLUGINS_PATH diff --git a/volatility3/plugins/linux/__init__.py b/volatility3/plugins/linux/__init__.py index 2d3e2386e..2ea8fb250 100644 --- a/volatility3/plugins/linux/__init__.py +++ b/volatility3/plugins/linux/__init__.py @@ -11,6 +11,7 @@ existing or new. When overriding the plugins directory, you must include a file like this in any subdirectories that may be necessary. """ + import os import sys diff --git a/volatility3/plugins/mac/__init__.py b/volatility3/plugins/mac/__init__.py index 3ac3f1553..3f8e81ce1 100644 --- a/volatility3/plugins/mac/__init__.py +++ b/volatility3/plugins/mac/__init__.py @@ -11,6 +11,7 @@ existing or new. When overriding the plugins directory, you must include a file like this in any subdirectories that may be necessary. """ + import os import sys diff --git a/volatility3/plugins/windows/__init__.py b/volatility3/plugins/windows/__init__.py index d74f4fcd5..468493508 100644 --- a/volatility3/plugins/windows/__init__.py +++ b/volatility3/plugins/windows/__init__.py @@ -11,6 +11,7 @@ existing or new. When overriding the plugins directory, you must include a file like this in any subdirectories that may be necessary. """ + import os import sys diff --git a/volatility3/plugins/windows/registry/__init__.py b/volatility3/plugins/windows/registry/__init__.py index aeeaa87f2..f012a52a0 100644 --- a/volatility3/plugins/windows/registry/__init__.py +++ b/volatility3/plugins/windows/registry/__init__.py @@ -11,6 +11,7 @@ existing or new. When overriding the plugins directory, you must include a file like this in any subdirectories that may be necessary. """ + import os import sys diff --git a/volatility3/symbols/__init__.py b/volatility3/symbols/__init__.py index c35f07cbe..162ea013e 100644 --- a/volatility3/symbols/__init__.py +++ b/volatility3/symbols/__init__.py @@ -6,6 +6,7 @@ This is the namespace for all volatility symbols, and determines the path for loading symbol ISF files """ + from volatility3.framework import constants __path__ = constants.SYMBOL_BASEPATHS From 7536e9dd14b7c80c3cdf868101af30c49d9a21c5 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 30 Sep 2025 19:07:59 +0100 Subject: [PATCH 2065/2186] Start to support uv installation of volatility --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5837c3c9a..290a31abd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ test = [ docs = [ "volatility3[dev]", "sphinx>=4.0.0,<9", - "sphinx-autodoc-typehints>=3.0.0,<4", + "sphinx-autodoc-typehints>=3.0.0,<4; python_version >= '3.11'", "sphinx-rtd-theme>=3.0.1,<4", ] From 46c508fff2b3cc6f173645964124f2d9c807cd44 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 16 Oct 2025 20:29:02 +0100 Subject: [PATCH 2066/2186] Bump removal of plugins by a year to ensure suitable time for transition --- test/plugins/windows/test_scheduled_tasks.py | 2 +- test/plugins/windows/windows.py | 7 ++++--- volatility3/framework/plugins/windows/amcache.py | 5 +++-- volatility3/framework/plugins/windows/cachedump.py | 5 +++-- volatility3/framework/plugins/windows/hashdump.py | 5 +++-- volatility3/framework/plugins/windows/lsadump.py | 5 +++-- volatility3/framework/plugins/windows/scheduled_tasks.py | 5 +++-- 7 files changed, 20 insertions(+), 14 deletions(-) diff --git a/test/plugins/windows/test_scheduled_tasks.py b/test/plugins/windows/test_scheduled_tasks.py index 15d7f79a6..3369a5a35 100644 --- a/test/plugins/windows/test_scheduled_tasks.py +++ b/test/plugins/windows/test_scheduled_tasks.py @@ -4,7 +4,7 @@ import traceback import unittest sys.path.insert(0, "../../volatility3") -from volatility3.plugins.windows import scheduled_tasks +from volatility3.plugins.windows.registry import scheduled_tasks class TestActionsDecoding(unittest.TestCase): diff --git a/test/plugins/windows/windows.py b/test/plugins/windows/windows.py index 431461b6d..ff31ac109 100644 --- a/test/plugins/windows/windows.py +++ b/test/plugins/windows/windows.py @@ -4,6 +4,7 @@ import json import os import shutil import tempfile + from test import WindowsSamples, test_volatility @@ -437,7 +438,7 @@ class TestWindowsVadyarascan: class TestWindowsAmcache: def test_windows_generic_amcache(self, volatility, python, image): rc, out, _err = test_volatility.runvol_plugin( - "windows.amcache.Amcache", + "windows.registry.amcache.Amcache", image, volatility, python, @@ -492,7 +493,7 @@ class TestWindowsBigPools: # class TestWindowsCachedump: # def test_windows_generic_cachedump(self, volatility, python, image): # rc, out, _err = test_volatility.runvol_plugin( -# "windows.cachedump.Cachedump", +# "windows.registry.cachedump.Cachedump", # image, # volatility, # python, @@ -820,7 +821,7 @@ class TestWindowsLsadump: def test_windows_specific_lsadump(self, volatility, python): image = WindowsSamples.WINDOWSXP_GENERIC.value.path rc, out, _err = test_volatility.runvol_plugin( - "windows.lsadump.Lsadump", + "windows.registry.lsadump.Lsadump", image, volatility, python, diff --git a/volatility3/framework/plugins/windows/amcache.py b/volatility3/framework/plugins/windows/amcache.py index be144be91..0d1450127 100644 --- a/volatility3/framework/plugins/windows/amcache.py +++ b/volatility3/framework/plugins/windows/amcache.py @@ -2,7 +2,8 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from volatility3.framework import interfaces, deprecation + +from volatility3.framework import deprecation, interfaces from volatility3.plugins.windows.registry import amcache vollog = logging.getLogger(__name__) @@ -12,7 +13,7 @@ class Amcache( interfaces.plugins.PluginInterface, deprecation.PluginRenameClass, replacement_class=amcache.Amcache, - removal_date="2025-09-25", + removal_date="2026-09-25", ): """Extract information on executed applications from the AmCache (deprecated).""" diff --git a/volatility3/framework/plugins/windows/cachedump.py b/volatility3/framework/plugins/windows/cachedump.py index 35127c6f3..3c474bc2c 100644 --- a/volatility3/framework/plugins/windows/cachedump.py +++ b/volatility3/framework/plugins/windows/cachedump.py @@ -2,7 +2,8 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from volatility3.framework import interfaces, deprecation + +from volatility3.framework import deprecation, interfaces from volatility3.plugins.windows.registry import cachedump vollog = logging.getLogger(__name__) @@ -12,7 +13,7 @@ class Cachedump( interfaces.plugins.PluginInterface, deprecation.PluginRenameClass, replacement_class=cachedump.Cachedump, - removal_date="2025-09-25", + removal_date="2026-09-25", ): """Dumps lsa secrets from memory (deprecated)""" diff --git a/volatility3/framework/plugins/windows/hashdump.py b/volatility3/framework/plugins/windows/hashdump.py index e496e77a9..c4b99d86f 100644 --- a/volatility3/framework/plugins/windows/hashdump.py +++ b/volatility3/framework/plugins/windows/hashdump.py @@ -2,7 +2,8 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from volatility3.framework import interfaces, deprecation + +from volatility3.framework import deprecation, interfaces from volatility3.plugins.windows.registry import hashdump vollog = logging.getLogger(__name__) @@ -12,7 +13,7 @@ class Hashdump( interfaces.plugins.PluginInterface, deprecation.PluginRenameClass, replacement_class=hashdump.Hashdump, - removal_date="2025-09-25", + removal_date="2026-09-25", ): """Dumps user hashes from memory (deprecated)""" diff --git a/volatility3/framework/plugins/windows/lsadump.py b/volatility3/framework/plugins/windows/lsadump.py index 0b36ddef0..ab81f18df 100644 --- a/volatility3/framework/plugins/windows/lsadump.py +++ b/volatility3/framework/plugins/windows/lsadump.py @@ -2,7 +2,8 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from volatility3.framework import interfaces, deprecation + +from volatility3.framework import deprecation, interfaces from volatility3.plugins.windows.registry import lsadump vollog = logging.getLogger(__name__) @@ -12,7 +13,7 @@ class Lsadump( interfaces.plugins.PluginInterface, deprecation.PluginRenameClass, replacement_class=lsadump.Lsadump, - removal_date="2025-09-25", + removal_date="2026-09-25", ): """Dumps lsa secrets from memory (deprecated)""" diff --git a/volatility3/framework/plugins/windows/scheduled_tasks.py b/volatility3/framework/plugins/windows/scheduled_tasks.py index 62d8e3b88..104d062b2 100644 --- a/volatility3/framework/plugins/windows/scheduled_tasks.py +++ b/volatility3/framework/plugins/windows/scheduled_tasks.py @@ -2,7 +2,8 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from volatility3.framework import interfaces, deprecation + +from volatility3.framework import deprecation, interfaces from volatility3.plugins.windows.registry import scheduled_tasks vollog = logging.getLogger(__name__) @@ -12,7 +13,7 @@ class ScheduledTasks( interfaces.plugins.PluginInterface, deprecation.PluginRenameClass, replacement_class=scheduled_tasks.ScheduledTasks, - removal_date="2025-09-25", + removal_date="2026-09-25", ): """Decodes scheduled task information from the Windows registry, including information about triggers, actions, run times, and creation times (deprecated).""" From f13ad125d7e5d6e9e7d5b618a3a24ee8c5e5315b Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 16 Oct 2025 20:33:28 +0100 Subject: [PATCH 2067/2186] Update the expiry dates of various functions to at least a year's notice --- volatility3/framework/plugins/linux/lsmod.py | 6 ++--- .../plugins/linux/malware/check_modules.py | 8 +++--- .../plugins/linux/malware/hidden_modules.py | 19 +++++++------- .../plugins/linux/malware/modxview.py | 11 ++++---- .../plugins/linux/malware/netfilter.py | 25 +++++++++++++------ 5 files changed, 39 insertions(+), 30 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index 8ed52e3b7..ac6475264 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -4,10 +4,10 @@ """A module containing a plugin that lists loaded kernel modules.""" import logging -from typing import List, Iterable +from typing import Iterable, List import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import interfaces, deprecation +from volatility3.framework import deprecation, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins @@ -38,7 +38,7 @@ class Lsmod(plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.list_modules, replacement_version=(3, 0, 0), - removal_date="2025-09-25", + removal_date="2026-03-25", ) def list_modules( cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str diff --git a/volatility3/framework/plugins/linux/malware/check_modules.py b/volatility3/framework/plugins/linux/malware/check_modules.py index 7805bbd8a..65d358a45 100644 --- a/volatility3/framework/plugins/linux/malware/check_modules.py +++ b/volatility3/framework/plugins/linux/malware/check_modules.py @@ -3,14 +3,14 @@ # import logging -from typing import List, Dict, Generator +from typing import Dict, Generator, List import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import interfaces, deprecation +from volatility3.framework import deprecation, interfaces from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility from volatility3.framework.symbols.linux import extensions -from volatility3.framework.interfaces import plugins vollog = logging.getLogger(__name__) @@ -61,7 +61,7 @@ class Check_modules(plugins.PluginInterface): @classmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_kset_modules, - removal_date="2025-09-25", + removal_date="2026-03-25", replacement_version=(3, 0, 0), ) def get_kset_modules( diff --git a/volatility3/framework/plugins/linux/malware/hidden_modules.py b/volatility3/framework/plugins/linux/malware/hidden_modules.py index dcd602c5d..f7944cea0 100644 --- a/volatility3/framework/plugins/linux/malware/hidden_modules.py +++ b/volatility3/framework/plugins/linux/malware/hidden_modules.py @@ -2,14 +2,15 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import List, Set, Tuple, Iterable +from typing import Iterable, List, Set, Tuple + +from volatility3.framework import deprecation, exceptions, interfaces +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.symbols.linux import extensions from volatility3.framework.symbols.linux.utilities import ( modules as linux_utilities_modules, ) -from volatility3.framework import interfaces, exceptions, deprecation -from volatility3.framework.configuration import requirements -from volatility3.framework.symbols.linux import extensions -from volatility3.framework.interfaces import plugins vollog = logging.getLogger(__name__) @@ -103,7 +104,7 @@ class Hidden_modules(plugins.PluginInterface): @staticmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_modules_memory_boundaries, - removal_date="2025-09-25", + removal_date="2026-03-25", replacement_version=(3, 0, 0), ) def get_modules_memory_boundaries( @@ -116,7 +117,7 @@ class Hidden_modules(plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_module_address_alignment, - removal_date="2025-09-25", + removal_date="2026-03-25", replacement_version=(3, 0, 0), ) @classmethod @@ -144,13 +145,13 @@ class Hidden_modules(plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_hidden_modules, - removal_date="2025-09-25", + removal_date="2026-03-25", replacement_version=(3, 0, 0), ) @staticmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.validate_alignment_patterns, - removal_date="2025-09-25", + removal_date="2026-03-25", replacement_version=(3, 0, 0), ) def _validate_alignment_patterns( diff --git a/volatility3/framework/plugins/linux/malware/modxview.py b/volatility3/framework/plugins/linux/malware/modxview.py index c1707d26f..63b265202 100644 --- a/volatility3/framework/plugins/linux/malware/modxview.py +++ b/volatility3/framework/plugins/linux/malware/modxview.py @@ -2,15 +2,14 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import List, Dict, Iterator +from typing import Dict, Iterator, List import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules - -from volatility3.framework import interfaces, deprecation, renderers +from volatility3.framework import deprecation, interfaces, renderers from volatility3.framework.configuration import requirements +from volatility3.framework.constants import architectures from volatility3.framework.renderers import format_hints from volatility3.framework.symbols.linux import extensions -from volatility3.framework.constants import architectures from volatility3.framework.symbols.linux.utilities import tainting vollog = logging.getLogger(__name__) @@ -66,7 +65,7 @@ spot modules presence and taints.""" @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.flatten_run_modules_results, replacement_version=(3, 0, 0), - removal_date="2025-09-25", + removal_date="2026-03-25", ) def flatten_run_modules_results( cls, run_results: Dict[str, List[extensions.module]], deduplicate: bool = True @@ -89,7 +88,7 @@ spot modules presence and taints.""" @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.run_modules_scanners, replacement_version=(3, 0, 0), - removal_date="2025-09-25", + removal_date="2026-03-25", ) def run_modules_scanners( cls, diff --git a/volatility3/framework/plugins/linux/malware/netfilter.py b/volatility3/framework/plugins/linux/malware/netfilter.py index d724d4296..bd7f2b7cc 100644 --- a/volatility3/framework/plugins/linux/malware/netfilter.py +++ b/volatility3/framework/plugins/linux/malware/netfilter.py @@ -1,22 +1,22 @@ # This file is Copyright 2024 Volatility Foundation and licensed under the Volatility Software License 1.0 # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from dataclasses import dataclass, field -from abc import ABC, abstractmethod import logging +from abc import ABC, abstractmethod +from dataclasses import dataclass, field +from typing import Iterator, List, Optional, Tuple import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from typing import Iterator, List, Tuple, Optional from volatility3 import framework from volatility3.framework import ( constants, + deprecation, + exceptions, interfaces, renderers, - exceptions, - deprecation, ) -from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements +from volatility3.framework.renderers import format_hints from volatility3.framework.symbols.linux import network vollog = logging.getLogger(__name__) @@ -223,7 +223,16 @@ class AbstractNetfilter(ABC): ) hooked = module_info is None - yield netns, proto_name, hook_name, priority, hook_ops_hook, module_info, symbol_name, hooked + yield ( + netns, + proto_name, + hook_name, + priority, + hook_ops_hook, + module_info, + symbol_name, + hooked, + ) @classmethod @abstractmethod @@ -304,7 +313,7 @@ class AbstractNetfilter(ABC): return ("IPV4", "ARP", "BRIDGE", "IPV6", "DECNET") @deprecation.method_being_removed( - removal_date="2025-09-25", + removal_date="2026-03-25", message="Callers to this method should adapt `linux_utilities_modules.Modules.run_module_scanners`", ) def get_module_name_for_address(self, addr) -> str: From 5ef5c027ec0a0cc9ff81798e64e8644fb370bcc5 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 10 Nov 2025 22:10:24 +0100 Subject: [PATCH 2068/2186] fix missing kernel_base increment in low stub scanner --- volatility3/framework/automagic/pdbscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/pdbscan.py b/volatility3/framework/automagic/pdbscan.py index 8e2233840..c03db7582 100644 --- a/volatility3/framework/automagic/pdbscan.py +++ b/volatility3/framework/automagic/pdbscan.py @@ -450,7 +450,7 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): while (kernel_base + 0x2000000) > kernel_hint: for i in range(0, 0x200000, 0x1000): valid_kernel = self.check_kernel_offset( - context, vlayer, kernel_base, progress_callback + context, vlayer, kernel_base + i, progress_callback ) if valid_kernel: return valid_kernel From 81f135f315d2beec9f1ab5cedad0fc26df40700f Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 8 May 2025 14:29:01 +0100 Subject: [PATCH 2069/2186] Linux: Rework module calls to parameterize rather than pull in methods --- volatility3/framework/plugins/linux/lsmod.py | 45 +++++++++--- .../plugins/linux/malware/check_modules.py | 43 +++++++++--- .../plugins/linux/malware/hidden_modules.py | 61 ++++++++++++----- .../symbols/linux/utilities/modules.py | 68 ++++++++----------- 4 files changed, 145 insertions(+), 72 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index ac6475264..8db47cb95 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -4,10 +4,10 @@ """A module containing a plugin that lists loaded kernel modules.""" import logging -from typing import Iterable, List +from typing import List, Iterable import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import deprecation, interfaces +from volatility3.framework import constants, interfaces, deprecation, renderers from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins @@ -18,27 +18,41 @@ class Lsmod(plugins.PluginInterface): """Lists loaded kernel modules.""" _required_framework_version = (2, 0, 0) - _version = (3, 0, 1) + _version = (3, 0, 3) - run = linux_utilities_modules.ModuleDisplayPlugin.run - _generator = linux_utilities_modules.ModuleDisplayPlugin.generator implementation = linux_utilities_modules.Modules.list_modules @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=constants.architectures.LINUX_ARCHS, + ), + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(3, 0, 0), + ), requirements.VersionRequirement( name="linux_utilities_modules_module_display_plugin", component=linux_utilities_modules.ModuleDisplayPlugin, - version=(1, 0, 0), + version=(2, 0, 0), ), - ] + linux_utilities_modules.ModuleDisplayPlugin.get_requirements() + requirements.BooleanRequirement( + name="dump", + description="Extract listed modules", + default=False, + optional=True, + ), + ] @classmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.list_modules, replacement_version=(3, 0, 0), - removal_date="2026-03-25", + removal_date="2025-09-25", ) def list_modules( cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str @@ -46,3 +60,18 @@ class Lsmod(plugins.PluginInterface): return linux_utilities_modules.Modules.list_modules( context, vmlinux_module_name ) + + def run(self): + return renderers.TreeGrid( + linux_utilities_modules.ModuleDisplayPlugin.columns_results, + self._generator(), + ) + + def _generator(self): + yield from linux_utilities_modules.ModuleDisplayPlugin.generate_results( + self.context, + self.implementation, + self.config["kernel"], + self.config["dump"], + self.open, + ) diff --git a/volatility3/framework/plugins/linux/malware/check_modules.py b/volatility3/framework/plugins/linux/malware/check_modules.py index 65d358a45..0844b3400 100644 --- a/volatility3/framework/plugins/linux/malware/check_modules.py +++ b/volatility3/framework/plugins/linux/malware/check_modules.py @@ -3,19 +3,18 @@ # import logging -from typing import Dict, Generator, List +from typing import List, Dict, Generator import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import deprecation, interfaces +from volatility3.framework import constants, interfaces, deprecation, renderers from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility from volatility3.framework.symbols.linux import extensions vollog = logging.getLogger(__name__) -class Check_modules(plugins.PluginInterface): +class Check_modules(interfaces.plugins.PluginInterface): """Compares module list to sysfs info, if available""" _version = (3, 0, 1) @@ -23,7 +22,7 @@ class Check_modules(plugins.PluginInterface): @classmethod def compare_kset_and_lsmod( - cls, context: str, vmlinux_name: str + cls, context: interfaces.context.ContextInterface, vmlinux_name: str ) -> Generator[extensions.module, None, None]: kset_modules = linux_utilities_modules.Modules.get_kset_modules( context=context, vmlinux_name=vmlinux_name @@ -39,13 +38,16 @@ class Check_modules(plugins.PluginInterface): for mod_name in set(kset_modules.keys()).difference(lsmod_modules): yield kset_modules[mod_name] - run = linux_utilities_modules.ModuleDisplayPlugin.run - _generator = linux_utilities_modules.ModuleDisplayPlugin.generator implementation = compare_kset_and_lsmod @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=constants.architectures.LINUX_ARCHS, + ), requirements.VersionRequirement( name="modules", component=linux_utilities_modules.Modules, @@ -54,17 +56,38 @@ class Check_modules(plugins.PluginInterface): requirements.VersionRequirement( name="linux_utilities_modules_module_display_plugin", component=linux_utilities_modules.ModuleDisplayPlugin, - version=(1, 0, 0), + version=(2, 0, 0), ), - ] + linux_utilities_modules.ModuleDisplayPlugin.get_requirements() + requirements.BooleanRequirement( + name="dump", + description="Extract listed modules", + default=False, + optional=True, + ), + ] @classmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_kset_modules, - removal_date="2026-03-25", + removal_date="2025-09-25", replacement_version=(3, 0, 0), ) def get_kset_modules( cls, context: interfaces.context.ContextInterface, vmlinux_name: str ) -> Dict[str, extensions.module]: return linux_utilities_modules.Modules.get_kset_modules(context, vmlinux_name) + + def run(self): + return renderers.TreeGrid( + linux_utilities_modules.ModuleDisplayPlugin.columns_results, + self._generator(), + ) + + def _generator(self): + yield from linux_utilities_modules.ModuleDisplayPlugin.generate_results( + self.context, + self.implementation, + self.config["kernel"], + self.config["dump"], + self.open, + ) diff --git a/volatility3/framework/plugins/linux/malware/hidden_modules.py b/volatility3/framework/plugins/linux/malware/hidden_modules.py index f7944cea0..66f27ff66 100644 --- a/volatility3/framework/plugins/linux/malware/hidden_modules.py +++ b/volatility3/framework/plugins/linux/malware/hidden_modules.py @@ -2,15 +2,20 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import Iterable, List, Set, Tuple - -from volatility3.framework import deprecation, exceptions, interfaces -from volatility3.framework.configuration import requirements -from volatility3.framework.interfaces import plugins -from volatility3.framework.symbols.linux import extensions +from typing import List, Set, Tuple, Iterable, Generator from volatility3.framework.symbols.linux.utilities import ( modules as linux_utilities_modules, ) +from volatility3.framework import ( + constants, + interfaces, + exceptions, + deprecation, + renderers, +) +from volatility3.framework.configuration import requirements +from volatility3.framework.symbols.linux import extensions +from volatility3.framework.interfaces import plugins vollog = logging.getLogger(__name__) @@ -19,12 +24,12 @@ class Hidden_modules(plugins.PluginInterface): """Carves memory to find hidden kernel modules""" _required_framework_version = (2, 25, 0) - _version = (3, 0, 2) + _version = (3, 0, 3) @classmethod def find_hidden_modules( cls, context, vmlinux_module_name: str - ) -> extensions.module: + ) -> Generator[extensions.module, None, None]: if context.symbol_space.verify_table_versions( "dwarf2json", lambda version, _: (not version) or version < (0, 8, 0) ): @@ -82,29 +87,38 @@ class Hidden_modules(plugins.PluginInterface): vmlinux_module_name, known_module_addresses, modules_memory_boundaries ) - run = linux_utilities_modules.ModuleDisplayPlugin.run - _generator = linux_utilities_modules.ModuleDisplayPlugin.generator implementation = find_hidden_modules @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=constants.architectures.LINUX_ARCHS, + ), requirements.VersionRequirement( name="linux_utilities_modules_module_display_plugin", component=linux_utilities_modules.ModuleDisplayPlugin, - version=(1, 0, 0), + version=(2, 0, 0), ), requirements.VersionRequirement( name="linux_utilities_modules", component=linux_utilities_modules.Modules, version=(3, 0, 1), ), - ] + linux_utilities_modules.ModuleDisplayPlugin.get_requirements() + requirements.BooleanRequirement( + name="dump", + description="Extract listed modules", + default=False, + optional=True, + ), + ] @staticmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_modules_memory_boundaries, - removal_date="2026-03-25", + removal_date="2025-09-25", replacement_version=(3, 0, 0), ) def get_modules_memory_boundaries( @@ -117,7 +131,7 @@ class Hidden_modules(plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_module_address_alignment, - removal_date="2026-03-25", + removal_date="2025-09-25", replacement_version=(3, 0, 0), ) @classmethod @@ -145,13 +159,13 @@ class Hidden_modules(plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_hidden_modules, - removal_date="2026-03-25", + removal_date="2025-09-25", replacement_version=(3, 0, 0), ) @staticmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.validate_alignment_patterns, - removal_date="2026-03-25", + removal_date="2025-09-25", replacement_version=(3, 0, 0), ) def _validate_alignment_patterns( @@ -196,3 +210,18 @@ class Hidden_modules(plugins.PluginInterface): ) } return known_module_addresses + + def run(self): + return renderers.TreeGrid( + linux_utilities_modules.ModuleDisplayPlugin.columns_results, + self._generator(), + ) + + def _generator(self): + yield from linux_utilities_modules.ModuleDisplayPlugin.generate_results( + self.context, + self.implementation, + self.config["kernel"], + self.config["dump"], + self.open, + ) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 804abd404..3bc348c71 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -1,6 +1,7 @@ import logging import warnings from typing import ( + Callable, Iterable, Iterator, List, @@ -23,7 +24,6 @@ from volatility3.framework import ( objects, renderers, ) -from volatility3.framework.constants import architectures from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility @@ -382,7 +382,7 @@ class Modules(interfaces.configuration.VersionableInterface): vmlinux_module_name: str, known_module_addresses: Set[int], modules_memory_boundaries: Tuple, - ) -> Iterable[interfaces.objects.ObjectInterface]: + ) -> Iterable[extensions.module]: """Enumerate hidden modules by taking advantage of memory address alignment patterns This technique is much faster and uses less memory than the traditional scan method @@ -919,19 +919,11 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): The constructor of the plugin must call super() with the `implementation` set """ - _version = (1, 0, 1) - _required_framework_version = (2, 0, 0) - - framework.require_interface_version(*_required_framework_version) + _version = (2, 0, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: return [ - requirements.ModuleRequirement( - name="kernel", - description="Linux kernel", - architectures=architectures.LINUX_ARCHS, - ), requirements.VersionRequirement( name="linux_utilities_modules", component=Modules, @@ -940,25 +932,29 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): requirements.VersionRequirement( name="linux-tainting", component=tainting.Tainting, version=(1, 0, 0) ), - requirements.BooleanRequirement( - name="dump", - description="Extract listed modules", - default=False, - optional=True, - ), ] - def generator(self): + @classmethod + def generate_results( + cls, + context: interfaces.context.ContextInterface, + implementation: Callable[ + [interfaces.context.ContextInterface, str], Iterable[extensions.module] + ], + kernel_module_name: str, + dump: bool, + open_implementation: Optional[interfaces.plugins.FileHandlerInterface], + ): """ Uses the implementation set in the constructor call to produce consistent output fields across module gathering plugins """ - for module in self.implementation(self.context, self.config["kernel"]): + for module in implementation(context, kernel_module_name): try: name = utility.array_to_string(module.name) except exceptions.InvalidAddressException: vollog.debug( - f"Unable to recover name for module {module.vol.offset:#x} from implementation {self.implementation}" + f"Unable to recover name for module {module.vol.offset:#x} from implementation {implementation}" ) continue @@ -968,21 +964,21 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): taints = ",".join( tainting.Tainting.get_taints_parsed( - self.context, self.config["kernel"], module.taints, True + context, kernel_module_name, module.taints, True ) ) parameters_iter = Modules.get_load_parameters( - self.context, self.config["kernel"], module + context, kernel_module_name, module ) parameters = ", ".join([f"{key}={value}" for key, value in parameters_iter]) file_name = renderers.NotApplicableValue() - if self.config["dump"]: + if open_implementation: elf_data = linux_utilities_module_extract.ModuleExtract.extract_module( - self.context, self.config["kernel"], module + context, kernel_module_name, module ) if not elf_data: vollog.warning( @@ -990,11 +986,11 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): ) file_name = renderers.NotAvailableValue() else: - file_name = self.open.sanitize_filename( + file_name = open_implementation.sanitize_filename( f"kernel_module.{name}.{module.vol.offset:#x}.elf" ) - with self.open(file_name) as file_handle: + with open_implementation(file_name) as file_handle: file_handle.write(elf_data) yield ( @@ -1009,15 +1005,11 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): ), ) - def run(self): - return renderers.TreeGrid( - [ - ("Offset", format_hints.Hex), - ("Module Name", str), - ("Code Size", format_hints.Hex), - ("Taints", str), - ("Load Arguments", str), - ("File Output", str), - ], - self._generator(), - ) + columns_results = [ + ("Offset", format_hints.Hex), + ("Module Name", str), + ("Code Size", format_hints.Hex), + ("Taints", str), + ("Load Arguments", str), + ("File Output", str), + ] From 5c9c763f64a6e6be3946e70e03a19e44b4fc0f82 Mon Sep 17 00:00:00 2001 From: ikelos Date: Wed, 19 Nov 2025 16:34:53 +0000 Subject: [PATCH 2070/2186] Update volatility3/framework/plugins/linux/lsmod.py --- volatility3/framework/plugins/linux/lsmod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index 8db47cb95..3d4c04b26 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -52,7 +52,7 @@ class Lsmod(plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.list_modules, replacement_version=(3, 0, 0), - removal_date="2025-09-25", + removal_date="2026-03-25", ) def list_modules( cls, context: interfaces.context.ContextInterface, vmlinux_module_name: str From 9454fe1f270ec1bd81b6af56e9e9488ad47d121f Mon Sep 17 00:00:00 2001 From: ikelos Date: Wed, 19 Nov 2025 16:35:01 +0000 Subject: [PATCH 2071/2186] Update volatility3/framework/symbols/linux/utilities/modules.py --- volatility3/framework/symbols/linux/utilities/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 3bc348c71..0c5d6b38a 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -976,7 +976,7 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): file_name = renderers.NotApplicableValue() - if open_implementation: + if dump and open_implementation: elf_data = linux_utilities_module_extract.ModuleExtract.extract_module( context, kernel_module_name, module ) From 393abb2a2fcbddfade9cd692535460ad4087706b Mon Sep 17 00:00:00 2001 From: ikelos Date: Wed, 19 Nov 2025 16:35:08 +0000 Subject: [PATCH 2072/2186] Update volatility3/framework/plugins/linux/malware/hidden_modules.py --- volatility3/framework/plugins/linux/malware/hidden_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/hidden_modules.py b/volatility3/framework/plugins/linux/malware/hidden_modules.py index 66f27ff66..043a9ac26 100644 --- a/volatility3/framework/plugins/linux/malware/hidden_modules.py +++ b/volatility3/framework/plugins/linux/malware/hidden_modules.py @@ -118,7 +118,7 @@ class Hidden_modules(plugins.PluginInterface): @staticmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_modules_memory_boundaries, - removal_date="2025-09-25", + removal_date="2026-03-25", replacement_version=(3, 0, 0), ) def get_modules_memory_boundaries( From dfd6282f1738db850d0387f4e79b0f368cda7062 Mon Sep 17 00:00:00 2001 From: ikelos Date: Wed, 19 Nov 2025 16:35:15 +0000 Subject: [PATCH 2073/2186] Update volatility3/framework/plugins/linux/malware/hidden_modules.py --- volatility3/framework/plugins/linux/malware/hidden_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/hidden_modules.py b/volatility3/framework/plugins/linux/malware/hidden_modules.py index 043a9ac26..bf9c98b97 100644 --- a/volatility3/framework/plugins/linux/malware/hidden_modules.py +++ b/volatility3/framework/plugins/linux/malware/hidden_modules.py @@ -131,7 +131,7 @@ class Hidden_modules(plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_module_address_alignment, - removal_date="2025-09-25", + removal_date="2026-03-25", replacement_version=(3, 0, 0), ) @classmethod From 9bfb1bed3520f26726bf3ee83506585f78b79677 Mon Sep 17 00:00:00 2001 From: ikelos Date: Wed, 19 Nov 2025 16:35:22 +0000 Subject: [PATCH 2074/2186] Update volatility3/framework/plugins/linux/malware/hidden_modules.py --- volatility3/framework/plugins/linux/malware/hidden_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/hidden_modules.py b/volatility3/framework/plugins/linux/malware/hidden_modules.py index bf9c98b97..ece96101e 100644 --- a/volatility3/framework/plugins/linux/malware/hidden_modules.py +++ b/volatility3/framework/plugins/linux/malware/hidden_modules.py @@ -159,7 +159,7 @@ class Hidden_modules(plugins.PluginInterface): @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_hidden_modules, - removal_date="2025-09-25", + removal_date="2026-03-25", replacement_version=(3, 0, 0), ) @staticmethod From 83bf743a27e1e7faf0b9027e768a204e874fd7c1 Mon Sep 17 00:00:00 2001 From: ikelos Date: Wed, 19 Nov 2025 16:35:28 +0000 Subject: [PATCH 2075/2186] Update volatility3/framework/plugins/linux/malware/hidden_modules.py --- volatility3/framework/plugins/linux/malware/hidden_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/hidden_modules.py b/volatility3/framework/plugins/linux/malware/hidden_modules.py index ece96101e..22e089c10 100644 --- a/volatility3/framework/plugins/linux/malware/hidden_modules.py +++ b/volatility3/framework/plugins/linux/malware/hidden_modules.py @@ -165,7 +165,7 @@ class Hidden_modules(plugins.PluginInterface): @staticmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.validate_alignment_patterns, - removal_date="2025-09-25", + removal_date="2026-03-25", replacement_version=(3, 0, 0), ) def _validate_alignment_patterns( From c54daae32a53c6dc987770eb15bb07ddddac3152 Mon Sep 17 00:00:00 2001 From: ikelos Date: Wed, 19 Nov 2025 16:35:35 +0000 Subject: [PATCH 2076/2186] Update volatility3/framework/plugins/linux/malware/check_modules.py --- volatility3/framework/plugins/linux/malware/check_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/check_modules.py b/volatility3/framework/plugins/linux/malware/check_modules.py index 0844b3400..bc7d270aa 100644 --- a/volatility3/framework/plugins/linux/malware/check_modules.py +++ b/volatility3/framework/plugins/linux/malware/check_modules.py @@ -69,7 +69,7 @@ class Check_modules(interfaces.plugins.PluginInterface): @classmethod @deprecation.deprecated_method( replacement=linux_utilities_modules.Modules.get_kset_modules, - removal_date="2025-09-25", + removal_date="2026-03-25", replacement_version=(3, 0, 0), ) def get_kset_modules( From ea4aab5652f552e5131806d2ffd369e470171884 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 19 Nov 2025 16:39:02 +0000 Subject: [PATCH 2077/2186] Fix black/ruff checks --- volatility3/framework/plugins/linux/lsmod.py | 4 ++-- .../plugins/linux/malware/check_modules.py | 4 ++-- .../plugins/linux/malware/hidden_modules.py | 15 ++++++++------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/plugins/linux/lsmod.py b/volatility3/framework/plugins/linux/lsmod.py index 3d4c04b26..e0878647f 100644 --- a/volatility3/framework/plugins/linux/lsmod.py +++ b/volatility3/framework/plugins/linux/lsmod.py @@ -4,10 +4,10 @@ """A module containing a plugin that lists loaded kernel modules.""" import logging -from typing import List, Iterable +from typing import Iterable, List import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import constants, interfaces, deprecation, renderers +from volatility3.framework import constants, deprecation, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins diff --git a/volatility3/framework/plugins/linux/malware/check_modules.py b/volatility3/framework/plugins/linux/malware/check_modules.py index bc7d270aa..1834a616e 100644 --- a/volatility3/framework/plugins/linux/malware/check_modules.py +++ b/volatility3/framework/plugins/linux/malware/check_modules.py @@ -3,10 +3,10 @@ # import logging -from typing import List, Dict, Generator +from typing import Dict, Generator, List import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules -from volatility3.framework import constants, interfaces, deprecation, renderers +from volatility3.framework import constants, deprecation, interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.symbols.linux import extensions diff --git a/volatility3/framework/plugins/linux/malware/hidden_modules.py b/volatility3/framework/plugins/linux/malware/hidden_modules.py index 22e089c10..a9f0b5b51 100644 --- a/volatility3/framework/plugins/linux/malware/hidden_modules.py +++ b/volatility3/framework/plugins/linux/malware/hidden_modules.py @@ -2,20 +2,21 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # import logging -from typing import List, Set, Tuple, Iterable, Generator -from volatility3.framework.symbols.linux.utilities import ( - modules as linux_utilities_modules, -) +from typing import Generator, Iterable, List, Set, Tuple + from volatility3.framework import ( constants, - interfaces, - exceptions, deprecation, + exceptions, + interfaces, renderers, ) from volatility3.framework.configuration import requirements -from volatility3.framework.symbols.linux import extensions from volatility3.framework.interfaces import plugins +from volatility3.framework.symbols.linux import extensions +from volatility3.framework.symbols.linux.utilities import ( + modules as linux_utilities_modules, +) vollog = logging.getLogger(__name__) From 4ce58a636dd3facabb11b17a13c744c9ac15fe3e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 19 Nov 2025 16:49:50 +0000 Subject: [PATCH 2078/2186] Reorder imports and fix black issue --- .../symbols/linux/utilities/modules.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 0c5d6b38a..2b16ec6e0 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -1,37 +1,36 @@ import logging import warnings +from abc import ABCMeta, abstractmethod from typing import ( Callable, + Dict, + Generator, Iterable, Iterator, List, - Optional, - Tuple, NamedTuple, - Dict, + Optional, Set, - Generator, + Tuple, Union, ) -from abc import ABCMeta, abstractmethod +import volatility3.framework.symbols.linux.utilities.module_extract as linux_utilities_module_extract from volatility3 import framework from volatility3.framework import ( constants, - interfaces, deprecation, exceptions, + interfaces, objects, renderers, ) -from volatility3.framework.renderers import format_hints from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility +from volatility3.framework.renderers import format_hints from volatility3.framework.symbols.linux import extensions from volatility3.framework.symbols.linux.utilities import tainting -import volatility3.framework.symbols.linux.utilities.module_extract as linux_utilities_module_extract - vollog = logging.getLogger(__name__) @@ -976,7 +975,7 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): file_name = renderers.NotApplicableValue() - if dump and open_implementation: + if dump and open_implementation: elf_data = linux_utilities_module_extract.ModuleExtract.extract_module( context, kernel_module_name, module ) From 735f5933ba72a261d2687ca2ba0fdeb0cd72a15e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 15 Apr 2025 15:05:28 +0200 Subject: [PATCH 2079/2186] make module_sect_attr and bin_attribute optional --- volatility3/framework/symbols/linux/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/__init__.py b/volatility3/framework/symbols/linux/__init__.py index 19fb8f1d4..7560da3ec 100644 --- a/volatility3/framework/symbols/linux/__init__.py +++ b/volatility3/framework/symbols/linux/__init__.py @@ -52,7 +52,6 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.set_type_class("idr", extensions.IDR) self.set_type_class("address_space", extensions.address_space) self.set_type_class("page", extensions.page) - self.set_type_class("module_sect_attr", extensions.module_sect_attr) # Might not exist in the current symbols self.optional_set_type_class("module", extensions.module) @@ -61,6 +60,8 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable): self.optional_set_type_class("kernel_cap_struct", extensions.kernel_cap_struct) self.optional_set_type_class("kernel_cap_t", extensions.kernel_cap_t) self.optional_set_type_class("scatterlist", extensions.scatterlist) + self.optional_set_type_class("module_sect_attr", extensions.module_sect_attr) + self.optional_set_type_class("bin_attribute", extensions.bin_attribute) # kernels >= 4.18 self.optional_set_type_class("timespec64", extensions.timespec64) From ac4326f4780dce79d31bb6c92f1c00a3961c1f7f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 15 Apr 2025 15:06:00 +0200 Subject: [PATCH 2080/2186] determine sect_attrs.attrs subtype dynamically --- .../symbols/linux/extensions/__init__.py | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0136d749a..f7c60d617 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -211,9 +211,7 @@ class module(generic.GenericIntelProcess): symbol_table_name + constants.BANG + "array", layer_name=self.vol.layer_name, offset=self.sect_attrs.attrs.vol.offset, - subtype=self._context.symbol_space.get_type( - symbol_table_name + constants.BANG + "module_sect_attr" - ), + subtype=self.sect_attrs.attrs.vol.subtype, count=self.number_of_sections, ) @@ -3189,3 +3187,17 @@ class module_sect_attr(objects.StructType): ) return None + +class bin_attribute(objects.StructType): + def get_name(self) -> Optional[str]: + """ + Performs extraction of the bin_attribute name + """ + if hasattr(self, "attr"): + try: + return utility.pointer_to_string(self.attr.name, count=32) + except exceptions.InvalidAddressException: + vollog.debug(f"Invalid attr name for bin_attribute at {self.vol.offset:#x}") + return None + + return None \ No newline at end of file From 4f296f7f2d8b2d146b59c37ee954489bd9d7a321 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 15 Apr 2025 15:08:27 +0200 Subject: [PATCH 2081/2186] black formatting --- volatility3/framework/symbols/linux/extensions/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index f7c60d617..0fed4d71f 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -3188,6 +3188,7 @@ class module_sect_attr(objects.StructType): return None + class bin_attribute(objects.StructType): def get_name(self) -> Optional[str]: """ @@ -3197,7 +3198,9 @@ class bin_attribute(objects.StructType): try: return utility.pointer_to_string(self.attr.name, count=32) except exceptions.InvalidAddressException: - vollog.debug(f"Invalid attr name for bin_attribute at {self.vol.offset:#x}") + vollog.debug( + f"Invalid attr name for bin_attribute at {self.vol.offset:#x}" + ) return None - return None \ No newline at end of file + return None From 75e0d041a2ac1df274ffa845961477934d1b5652 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 15 Apr 2025 17:11:44 +0200 Subject: [PATCH 2082/2186] sections manual enumeration adjustment --- .../symbols/linux/extensions/__init__.py | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0fed4d71f..2830a8e58 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -179,16 +179,27 @@ class module(generic.GenericIntelProcess): return None def _get_sect_count(self, grp: interfaces.objects.ObjectInterface) -> int: - """Try to determine the number of valid sections""" + """Try to determine the number of valid sections. Support for kernels > 6.14-rc1. + + Resources: + - https://github.com/torvalds/linux/commit/d8959b947a8dfab1047c6fd5e982808f65717bfe + - https://github.com/torvalds/linux/commit/e0349c46cb4fbbb507fa34476bd70f9c82bad359 + """ + + if grp.has_member("bin_attrs"): + arr_offset = grp.bin_attrs + else: + arr_offset = grp.attrs + symbol_table_name = self.get_symbol_table_name() arr = self._context.object( symbol_table_name + constants.BANG + "array", layer_name=self.vol.layer_name, - offset=grp.attrs, + offset=arr_offset, subtype=self._context.symbol_space.get_type( symbol_table_name + constants.BANG + "pointer" ), - count=25, + count=50, ) idx = 0 @@ -198,6 +209,7 @@ class module(generic.GenericIntelProcess): @functools.cached_property def number_of_sections(self) -> int: + # Dropped in 6.14-rc1: d8959b947a8dfab1047c6fd5e982808f65717bfe if self.sect_attrs.has_member("nsections"): return self.sect_attrs.nsections From 825cb321a58ae211a60a1419fa1ea98d7122ceb5 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 15 Apr 2025 17:11:53 +0200 Subject: [PATCH 2083/2186] sections manual enumeration adjustment --- .../framework/symbols/linux/utilities/module_extract.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index e55f77668..c2732f216 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -38,7 +38,7 @@ vollog = logging.getLogger(__name__) class ModuleExtract(interfaces.configuration.VersionableInterface): """Extracts Linux kernel module structures into an analyzable ELF file""" - _version = (1, 0, 0) + _version = (1, 0, 1) _required_framework_version = (2, 25, 0) framework.require_interface_version(*_required_framework_version) @@ -60,9 +60,14 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): count = 0 try: + if grp.has_member("bin_attrs"): + arr_offset = grp.bin_attrs + else: + arr_offset = grp.attrs + array = kernel.object( object_type="array", - offset=grp.attrs, + offset=arr_offset, sub_type=kernel.get_type("pointer"), count=50, absolute=True, From 9478d36d7cc13123cfe20e5a369cfc58a719bade Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 2 May 2025 14:31:25 +0200 Subject: [PATCH 2084/2186] get_sections() sanity check --- volatility3/framework/symbols/linux/extensions/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 2830a8e58..d41386e7e 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -217,6 +217,11 @@ class module(generic.GenericIntelProcess): def get_sections(self) -> Iterable[interfaces.objects.ObjectInterface]: """Get a list of section attributes for the given module.""" + if self.number_of_sections == 0: + vollog.debug( + f"Invalid number of sections ({self.number_of_sections}) for module at offset {self.vol.offset:#x}" + ) + return [] symbol_table_name = self.get_symbol_table_name() arr = self._context.object( From 70dfa09b26c66bcb8996e6399522e1053dd121b1 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 2 May 2025 14:31:34 +0200 Subject: [PATCH 2085/2186] add bin_attribute address virtual member --- volatility3/framework/symbols/linux/extensions/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index d41386e7e..b02dc3dd2 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -3221,3 +3221,10 @@ class bin_attribute(objects.StructType): return None return None + + @property + def address(self) -> int: + """Equivalent to module_sect_attr.address: + - https://github.com/torvalds/linux/commit/4b2c11e4aaf7e3d7fd9ce8e5995a32ff5e27d74f + """ + return self.private From d8518b387896a18d4ea04a75791f12fe8d28f062 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 2 May 2025 14:32:22 +0200 Subject: [PATCH 2086/2186] 1774: consolidate module helpers --- .../symbols/linux/utilities/module_extract.py | 105 ++---------------- 1 file changed, 7 insertions(+), 98 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index c2732f216..64740b682 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -38,56 +38,11 @@ vollog = logging.getLogger(__name__) class ModuleExtract(interfaces.configuration.VersionableInterface): """Extracts Linux kernel module structures into an analyzable ELF file""" - _version = (1, 0, 1) + _version = (1, 0, 2) _required_framework_version = (2, 25, 0) framework.require_interface_version(*_required_framework_version) - @classmethod - def _get_module_section_count( - cls, - context: interfaces.context.ContextInterface, - vmlinux_name: str, - module: extensions.module, - grp: interfaces.objects.ObjectInterface, - ) -> int: - """ - Used to manually determine the section count for kernels that do not track - this count directly within the attribute structures - """ - kernel = context.modules[vmlinux_name] - - count = 0 - - try: - if grp.has_member("bin_attrs"): - arr_offset = grp.bin_attrs - else: - arr_offset = grp.attrs - - array = kernel.object( - object_type="array", - offset=arr_offset, - sub_type=kernel.get_type("pointer"), - count=50, - absolute=True, - ) - - # Walk up to 50 sections counting until we reach the end or a page fault - for sect in array: - if sect.vol.offset == 0: - break - - count += 1 - - except exceptions.InvalidAddressException: - # Use whatever count we reached before the error - vollog.debug( - f"Exception hit counting sections for module at {module.vol.offset:#x}" - ) - - return count - @classmethod def _find_section( cls, section_lookups: List[Tuple[str, int, int, int]], sym_address: int @@ -266,54 +221,6 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): return sym_table_data - @classmethod - def _enumerate_original_sections( - cls, - context: interfaces.context.ContextInterface, - vmlinux_name: str, - module: extensions.module, - ) -> Optional[Dict[int, str]]: - """ - Enumerates the module's sections as maintained by the kernel after load time - 'Early' sections like .init.text and .init.data are discarded after module - initialization, so they are not expected to be in memory during extraction - """ - if hasattr(module.sect_attrs, "nsections"): - num_sections = module.sect_attrs.nsections - else: - num_sections = cls._get_module_section_count( - context, vmlinux_name, module.sect_attrs.grp - ) - - if num_sections > 1024 or num_sections == 0: - vollog.debug( - f"Invalid number of sections ({num_sections}) for module at offset {module.vol.offset:#x}" - ) - return None - - vmlinux = context.modules[vmlinux_name] - - # This is declared as a zero sized array, so we create ourselves - attribute_type = module.sect_attrs.attrs.vol.subtype - - sect_array = vmlinux.object( - object_type="array", - subtype=attribute_type, - offset=module.sect_attrs.attrs.vol.offset, - count=num_sections, - absolute=True, - ) - - sections: Dict[int, str] = {} - - # for each section, gather its name and address - for index, section in enumerate(sect_array): - name = section.get_name() - - sections[section.address] = name - - return sections - @classmethod def _parse_sections( cls, @@ -330,10 +237,12 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): The data of .strtab is read directly off the module structure and not its section as the section from the original module has no meaning after loading as the kernel does not reference it. """ - original_sections = cls._enumerate_original_sections( - context, vmlinux_name, module - ) - if original_sections is None: + original_sections = {} + for index, section in enumerate(module.get_sections()): + name = section.get_name() + original_sections[section.address] = name + + if not original_sections: return None kernel = context.modules[vmlinux_name] From c223a12be9ceffd676154713001dda8ce5c5a078 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 2 May 2025 14:33:00 +0200 Subject: [PATCH 2087/2186] handle None in _parse_sections caller --- .../framework/symbols/linux/utilities/module_extract.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index 64740b682..500e81948 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -616,9 +616,10 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): return None # Gather sections - updated_sections, strtab_index, symtab_index = cls._parse_sections( - context, vmlinux_name, module - ) + parse_sections_result = cls._parse_sections(context, vmlinux_name, module) + if parse_sections_result is None: + return None + updated_sections, strtab_index, symtab_index = parse_sections_result kernel = context.modules[vmlinux_name] From 522c2d435c7a38a5d37b4afd8180a46f96eef779 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 2 May 2025 14:36:20 +0200 Subject: [PATCH 2088/2186] rollback to already patched version --- volatility3/framework/symbols/linux/utilities/module_extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index 500e81948..e4f5705cf 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -38,7 +38,7 @@ vollog = logging.getLogger(__name__) class ModuleExtract(interfaces.configuration.VersionableInterface): """Extracts Linux kernel module structures into an analyzable ELF file""" - _version = (1, 0, 2) + _version = (1, 0, 1) _required_framework_version = (2, 25, 0) framework.require_interface_version(*_required_framework_version) From 910488235478410cd9d8920546f9b91dfc4b2c99 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 5 May 2025 12:02:41 +0200 Subject: [PATCH 2089/2186] add ATTRIBUTE_NAME_MAX_SIZE constant --- volatility3/framework/constants/linux/__init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 3f8c52b43..72440e23e 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -432,6 +432,17 @@ VMCOREINFO_MAGIC = b"VMCOREINFO\x00" VMCOREINFO_MAGIC_ALIGNED = VMCOREINFO_MAGIC + b"\x00" OSRELEASE_TAG = b"OSRELEASE=" +ATTRIBUTE_NAME_MAX_SIZE = 255 +""" +In 5.9-rc1+, the Linux kernel limits the READ size of a section bin_attribute name to MODULE_SECT_READ_SIZE: + +- https://elixir.bootlin.com/linux/v6.15-rc4/source/kernel/module/sysfs.c#L106 +- https://github.com/torvalds/linux/commit/11990a5bd7e558e9203c1070fc52fb6f0488e75b + +However, the raw section name loaded from the .ko ELF can in theory be thousands of characters, +and unless we do a NULL terminated search we can't set a perfect value. +""" + @dataclass class TaintFlag: From a5d1641db338c1aeae95ffe618908cf5d06e1fe8 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 5 May 2025 12:03:03 +0200 Subject: [PATCH 2090/2186] use ATTRIBUTE_NAME_MAX_SIZE constant --- .../symbols/linux/extensions/__init__.py | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index b02dc3dd2..037ca1f6b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -3172,7 +3172,9 @@ class module_sect_attr(objects.StructType): """ if hasattr(self, "battr"): try: - return utility.pointer_to_string(self.battr.attr.name, count=32) + return utility.pointer_to_string( + self.battr.attr.name, count=linux_constants.ATTRIBUTE_NAME_MAX_SIZE + ) except exceptions.InvalidAddressException: # if battr is present then its name attribute needs to be valid vollog.debug(f"Invalid battr name for section at {self.vol.offset:#x}") @@ -3180,14 +3182,18 @@ class module_sect_attr(objects.StructType): elif self.name.vol.type_name == "array": try: - return utility.array_to_string(self.name, count=32) + return utility.array_to_string( + self.name, count=linux_constants.ATTRIBUTE_NAME_MAX_SIZE + ) except exceptions.InvalidAddressException: # specifically do not return here to give `mattr` a chance vollog.debug(f"Invalid direct name for section at {self.vol.offset:#x}") elif self.name.vol.type_name == "pointer": try: - return utility.pointer_to_string(self.name, count=32) + return utility.pointer_to_string( + self.name, count=linux_constants.ATTRIBUTE_NAME_MAX_SIZE + ) except exceptions.InvalidAddressException: # specifically do not return here to give `mattr` a chance vollog.debug( @@ -3197,7 +3203,9 @@ class module_sect_attr(objects.StructType): # if everything else failed... if hasattr(self, "mattr"): try: - return utility.pointer_to_string(self.mattr.attr.name, count=32) + return utility.pointer_to_string( + self.mattr.attr.name, count=linux_constants.ATTRIBUTE_NAME_MAX_SIZE + ) except exceptions.InvalidAddressException: vollog.debug( f"Unresolvable name for for section at {self.vol.offset:#x}" @@ -3213,7 +3221,9 @@ class bin_attribute(objects.StructType): """ if hasattr(self, "attr"): try: - return utility.pointer_to_string(self.attr.name, count=32) + return utility.pointer_to_string( + self.attr.name, count=linux_constants.ATTRIBUTE_NAME_MAX_SIZE + ) except exceptions.InvalidAddressException: vollog.debug( f"Invalid attr name for bin_attribute at {self.vol.offset:#x}" From 2cda8e3cb39551e7b2c94297a75d88499423ca0e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 6 May 2025 01:03:35 +0200 Subject: [PATCH 2091/2186] make binary attributes iteration NULL terminated --- .../symbols/linux/extensions/__init__.py | 31 ++++++++++++------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 037ca1f6b..22eb46460 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -191,20 +191,27 @@ class module(generic.GenericIntelProcess): else: arr_offset = grp.attrs - symbol_table_name = self.get_symbol_table_name() - arr = self._context.object( - symbol_table_name + constants.BANG + "array", - layer_name=self.vol.layer_name, - offset=arr_offset, - subtype=self._context.symbol_space.get_type( - symbol_table_name + constants.BANG + "pointer" - ), - count=50, - ) + if not arr_offset.is_readable(): + vollog.log( + constants.LOGLEVEL_V, + f"Cannot dereference the pointer to the NULL-terminated list of binary attributes for module at offset {self.vol.offset:#x}", + ) + return 0 + entry = arr_offset.dereference() + symbol_table_name = self.get_symbol_table_name() idx = 0 - while arr[idx] and arr[idx].is_readable(): - idx = idx + 1 + while entry.is_readable(): + idx += 1 + entry = self._context.object( + symbol_table_name + constants.BANG + "pointer", + layer_name=self.vol.layer_name, + offset=entry.vol.offset + + self._context.symbol_space.get_type( + symbol_table_name + constants.BANG + "pointer" + ).size, + ) + return idx @functools.cached_property From 1c11791b7fbb2b1dd8c2589f986f097b1a607da8 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 7 May 2025 16:10:16 +0200 Subject: [PATCH 2092/2186] add dynamically_sized_array_of_pointers() helper --- volatility3/framework/objects/utility.py | 49 ++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 59ac0ee55..9e9fef33a 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -250,3 +250,52 @@ def array_of_pointers( ).clone() subtype_pointer.update_vol(subtype=subtype) return array.cast("array", count=count, subtype=subtype_pointer) + + +def dynamically_sized_array_of_pointers( + context: interfaces.context.ContextInterface, + layer_name: str, + symbol_table_name: str, + array_offset: int, + stop_value: int = 0, + iterator_guard_value: int = None, + stop_on_invalid_pointers: bool = True, +) -> interfaces.objects.ObjectInterface: + """Iterates over a dynamically sized array of pointers (e.g. NULL-terminated). + + Args: + context: The context on which to operate. + layer_name: The layer on which the array should be constructed. + symbol_table_name: The symbol table to use to construct object types. + array_offset: The array offset within the layer, from which to start iterating. + stop_value: Stop value used to determine when to terminate iteration once it is encountered. Defaults to 0 (NULL-terminated arrays). + iterator_guard_value: Stop iterating when the iterator index is greater than this value. This is an extra-safety against smearing. + stop_on_invalid_pointers: Determines whether to stop iterating or not when an invalid pointer is encountered. This can be useful for arrays + that are known to have smeared entries before the end. + """ + pointer_type = context.symbol_space.get_type( + symbol_table_name + constants.BANG + "pointer" + ) + entry = context.object( + pointer_type, + layer_name=layer_name, + offset=array_offset, + ) + i = 0 + array = [] + # entry and entry.vol.offset aren't the same thing, as + # - entry is naturally represented by the address that the pointer refers to; + # - entry.vol.offset is the offset at which the pointer lives. + while entry != stop_value: + if (not entry.is_readable() and stop_on_invalid_pointers) or ( + iterator_guard_value is not None and i >= iterator_guard_value + ): + break + array.append(entry) + entry = context.object( + pointer_type, + layer_name=layer_name, + offset=entry.vol.offset + pointer_type.size, + ) + i += 1 + return array From 15a8af5c93bbef025fc0c0d3fcb69abc83854f9e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 7 May 2025 16:10:37 +0200 Subject: [PATCH 2093/2186] use dynamically_sized_array_of_pointers in _get_sect_count --- .../symbols/linux/extensions/__init__.py | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 22eb46460..22d06baea 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -198,21 +198,17 @@ class module(generic.GenericIntelProcess): ) return 0 - entry = arr_offset.dereference() - symbol_table_name = self.get_symbol_table_name() - idx = 0 - while entry.is_readable(): - idx += 1 - entry = self._context.object( - symbol_table_name + constants.BANG + "pointer", - layer_name=self.vol.layer_name, - offset=entry.vol.offset - + self._context.symbol_space.get_type( - symbol_table_name + constants.BANG + "pointer" - ).size, - ) - - return idx + # We chose 1000 as an arbitrary guard value against + # extreme cases of smearing. + # See PR #1773 for more information. + bin_attrs_list = utility.dynamically_sized_array_of_pointers( + context=self._context, + layer_name=self.vol.layer_name, + symbol_table_name=self.get_symbol_table_name(), + array_offset=arr_offset.dereference().vol.offset, + iterator_guard_value=1000, + ) + return len(bin_attrs_list) @functools.cached_property def number_of_sections(self) -> int: From b20da9c7f553d9e2b9580727d37113a57dcd5d09 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 7 May 2025 16:26:47 +0200 Subject: [PATCH 2094/2186] correct type hinting --- volatility3/framework/objects/utility.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 9e9fef33a..afea99b0c 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -4,7 +4,7 @@ import re -from typing import Optional, Union +from typing import List, Optional, Union from volatility3.framework import interfaces, objects, constants, exceptions @@ -260,7 +260,7 @@ def dynamically_sized_array_of_pointers( stop_value: int = 0, iterator_guard_value: int = None, stop_on_invalid_pointers: bool = True, -) -> interfaces.objects.ObjectInterface: +) -> List[interfaces.objects.ObjectInterface]: """Iterates over a dynamically sized array of pointers (e.g. NULL-terminated). Args: @@ -272,6 +272,9 @@ def dynamically_sized_array_of_pointers( iterator_guard_value: Stop iterating when the iterator index is greater than this value. This is an extra-safety against smearing. stop_on_invalid_pointers: Determines whether to stop iterating or not when an invalid pointer is encountered. This can be useful for arrays that are known to have smeared entries before the end. + + Returns: + An array of pointer objects """ pointer_type = context.symbol_space.get_type( symbol_table_name + constants.BANG + "pointer" From 44969090e71f9d63a8d2a23ea94f5a61c8459923 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 8 May 2025 12:41:39 +0200 Subject: [PATCH 2095/2186] lru_cache get_modules_memory_boundaries() --- volatility3/framework/symbols/linux/utilities/modules.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 2b16ec6e0..bb360e0ba 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -1,6 +1,7 @@ import logging import warnings from abc import ABCMeta, abstractmethod +import functools from typing import ( Callable, Dict, @@ -71,7 +72,7 @@ class ModuleGathererInterface( class Modules(interfaces.configuration.VersionableInterface): """Kernel modules related utilities.""" - _version = (3, 0, 1) + _version = (3, 0, 2) _required_framework_version = (2, 0, 0) framework.require_interface_version(*_required_framework_version) @@ -311,6 +312,7 @@ class Modules(interfaces.configuration.VersionableInterface): return run_results @staticmethod + @functools.lru_cache def get_modules_memory_boundaries( context: interfaces.context.ContextInterface, vmlinux_module_name: str, From 6e67674c20c7e1e3084a0106eca842efe6e1101d Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 8 May 2025 12:46:25 +0200 Subject: [PATCH 2096/2186] add section address sanity check --- .../symbols/linux/utilities/module_extract.py | 35 ++++++++++++++++--- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index e4f5705cf..1ff0f35fc 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -10,12 +10,14 @@ from typing import ( Dict, ) +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3 import framework from volatility3.framework import ( interfaces, exceptions, symbols, ) +from volatility3.framework.configuration import requirements from volatility3.framework.constants import linux as linux_constants from volatility3.framework.symbols.linux import extensions @@ -38,11 +40,21 @@ vollog = logging.getLogger(__name__) class ModuleExtract(interfaces.configuration.VersionableInterface): """Extracts Linux kernel module structures into an analyzable ELF file""" - _version = (1, 0, 1) + _version = (1, 0, 2) _required_framework_version = (2, 25, 0) framework.require_interface_version(*_required_framework_version) + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.VersionRequirement( + name="linux_utilities_modules", + component=linux_utilities_modules.Modules, + version=(3, 0, 2), + ), + ] + @classmethod def _find_section( cls, section_lookups: List[Tuple[str, int, int, int]], sym_address: int @@ -237,17 +249,32 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): The data of .strtab is read directly off the module structure and not its section as the section from the original module has no meaning after loading as the kernel does not reference it. """ + kernel = context.modules[vmlinux_name] + kernel_layer = context.layers[kernel.layer_name] + modules_addr_min, modules_addr_max = ( + linux_utilities_modules.Modules.get_modules_memory_boundaries( + context, vmlinux_name + ) + ) + modules_addr_min &= kernel_layer.address_mask + modules_addr_max &= kernel_layer.address_mask + original_sections = {} for index, section in enumerate(module.get_sections()): + # Extra sanity check, to prevent OOM on heavily smeared samples at line + # "size = next_address - address" + if ( + not modules_addr_min + <= kernel_layer.address_mask & section.address + < modules_addr_max + ): + continue name = section.get_name() original_sections[section.address] = name if not original_sections: return None - kernel = context.modules[vmlinux_name] - kernel_layer = context.layers[kernel.layer_name] - if symbols.symbol_table_is_64bit(context, kernel.symbol_table_name): sym_type = "Elf64_Sym" elf_hdr_type = "Elf64_Ehdr" From a5cc616d53f2db0d20e1dfff81e9d26ed2672b78 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 8 May 2025 12:49:56 +0200 Subject: [PATCH 2097/2186] leverage the existing Array facility --- volatility3/framework/objects/utility.py | 65 +++++++++++------------- 1 file changed, 31 insertions(+), 34 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index afea99b0c..be57f9ad7 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -3,11 +3,13 @@ # import re - -from typing import List, Optional, Union +import logging +from typing import Optional, Union from volatility3.framework import interfaces, objects, constants, exceptions +vollog = logging.getLogger(__name__) + def rol(value: int, count: int, max_bits: int = 64) -> int: """A rotate-left instruction in Python""" @@ -254,51 +256,46 @@ def array_of_pointers( def dynamically_sized_array_of_pointers( context: interfaces.context.ContextInterface, - layer_name: str, - symbol_table_name: str, - array_offset: int, + array: interfaces.objects.ObjectInterface, + iterator_guard_value: int, + subtype: Union[str, interfaces.objects.Template], stop_value: int = 0, - iterator_guard_value: int = None, stop_on_invalid_pointers: bool = True, -) -> List[interfaces.objects.ObjectInterface]: +) -> interfaces.objects.ObjectInterface: """Iterates over a dynamically sized array of pointers (e.g. NULL-terminated). + Array iteration should always be performed with an arbitrary guard value as maximum size, + to prevent running forever in case something unexpected happens. Args: context: The context on which to operate. - layer_name: The layer on which the array should be constructed. - symbol_table_name: The symbol table to use to construct object types. - array_offset: The array offset within the layer, from which to start iterating. - stop_value: Stop value used to determine when to terminate iteration once it is encountered. Defaults to 0 (NULL-terminated arrays). + array: The object to cast to an array. iterator_guard_value: Stop iterating when the iterator index is greater than this value. This is an extra-safety against smearing. + subtype: The subtype of the array's pointers. + stop_value: Stop value used to determine when to terminate iteration once it is encountered. Defaults to 0 (NULL-terminated arrays). stop_on_invalid_pointers: Determines whether to stop iterating or not when an invalid pointer is encountered. This can be useful for arrays that are known to have smeared entries before the end. Returns: An array of pointer objects """ - pointer_type = context.symbol_space.get_type( - symbol_table_name + constants.BANG + "pointer" - ) - entry = context.object( - pointer_type, - layer_name=layer_name, - offset=array_offset, - ) - i = 0 - array = [] - # entry and entry.vol.offset aren't the same thing, as - # - entry is naturally represented by the address that the pointer refers to; - # - entry.vol.offset is the offset at which the pointer lives. - while entry != stop_value: - if (not entry.is_readable() and stop_on_invalid_pointers) or ( - iterator_guard_value is not None and i >= iterator_guard_value + new_count = 0 + for entry in array_of_pointers( + array=array, count=iterator_guard_value, subtype=subtype, context=context + ): + # "entry" is naturally represented by the address that the pointer refers to + if (entry == stop_value) or ( + not entry.is_readable() and stop_on_invalid_pointers ): break - array.append(entry) - entry = context.object( - pointer_type, - layer_name=layer_name, - offset=entry.vol.offset + pointer_type.size, + new_count += 1 + else: + vollog.log( + constants.LOGLEVEL_V, + f"""Iterator guard value {iterator_guard_value} reached while iterating over array at offset {array.vol.offset:#x}.\ + This means that there is a bug (e.g. smearing) with this array, or that it may contain valid entries past the iterator guard value.""", ) - i += 1 - return array + + # Leverage the "Array" object instead of returning a Python list + return array_of_pointers( + array=array, count=new_count, subtype=subtype, context=context + ) From c8d90cffe43a7440b60322a2b19a16cdd7c5f22c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 8 May 2025 12:52:18 +0200 Subject: [PATCH 2098/2186] adjust to the new NULL-terminated processing --- .../symbols/linux/extensions/__init__.py | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 22d06baea..953e3cb89 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -187,26 +187,31 @@ class module(generic.GenericIntelProcess): """ if grp.has_member("bin_attrs"): - arr_offset = grp.bin_attrs + arr_offset_ptr = grp.bin_attrs + arr_subtype = "bin_attribute" else: - arr_offset = grp.attrs + arr_offset_ptr = grp.attrs + arr_subtype = "attribute" - if not arr_offset.is_readable(): + if not arr_offset_ptr.is_readable(): vollog.log( constants.LOGLEVEL_V, f"Cannot dereference the pointer to the NULL-terminated list of binary attributes for module at offset {self.vol.offset:#x}", ) return 0 - # We chose 1000 as an arbitrary guard value against - # extreme cases of smearing. + # We chose 100 as an arbitrary guard value to prevent + # looping forever in extreme cases, and because 100 is not expected + # to be a valid number of sections. If that still happens, + # Vol3 module processing will indicate that it is missing information + # with the following message: + # "Unable to reconstruct the ELF for module struct at" # See PR #1773 for more information. bin_attrs_list = utility.dynamically_sized_array_of_pointers( context=self._context, - layer_name=self.vol.layer_name, - symbol_table_name=self.get_symbol_table_name(), - array_offset=arr_offset.dereference().vol.offset, - iterator_guard_value=1000, + array=arr_offset_ptr.dereference(), + iterator_guard_value=100, + subtype=self.get_symbol_table_name() + constants.BANG + arr_subtype, ) return len(bin_attrs_list) From 5d50ad2b2eab7fa54d3be917063ec9e649f25536 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 8 May 2025 12:54:45 +0200 Subject: [PATCH 2099/2186] slight readability adjustment --- .../framework/symbols/linux/utilities/module_extract.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index 1ff0f35fc..161f2a167 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -263,9 +263,9 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): for index, section in enumerate(module.get_sections()): # Extra sanity check, to prevent OOM on heavily smeared samples at line # "size = next_address - address" - if ( - not modules_addr_min - <= kernel_layer.address_mask & section.address + if not ( + modules_addr_min + <= section.address & kernel_layer.address_mask < modules_addr_max ): continue From c89c7c3a06349f8e1fb518d9520e3784a7d4096d Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 8 May 2025 14:03:28 +0200 Subject: [PATCH 2100/2186] rollback to 635237b to prevent circular import --- .../symbols/linux/utilities/module_extract.py | 35 +++---------------- 1 file changed, 4 insertions(+), 31 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index 161f2a167..e4f5705cf 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -10,14 +10,12 @@ from typing import ( Dict, ) -import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3 import framework from volatility3.framework import ( interfaces, exceptions, symbols, ) -from volatility3.framework.configuration import requirements from volatility3.framework.constants import linux as linux_constants from volatility3.framework.symbols.linux import extensions @@ -40,21 +38,11 @@ vollog = logging.getLogger(__name__) class ModuleExtract(interfaces.configuration.VersionableInterface): """Extracts Linux kernel module structures into an analyzable ELF file""" - _version = (1, 0, 2) + _version = (1, 0, 1) _required_framework_version = (2, 25, 0) framework.require_interface_version(*_required_framework_version) - @classmethod - def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: - return [ - requirements.VersionRequirement( - name="linux_utilities_modules", - component=linux_utilities_modules.Modules, - version=(3, 0, 2), - ), - ] - @classmethod def _find_section( cls, section_lookups: List[Tuple[str, int, int, int]], sym_address: int @@ -249,32 +237,17 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): The data of .strtab is read directly off the module structure and not its section as the section from the original module has no meaning after loading as the kernel does not reference it. """ - kernel = context.modules[vmlinux_name] - kernel_layer = context.layers[kernel.layer_name] - modules_addr_min, modules_addr_max = ( - linux_utilities_modules.Modules.get_modules_memory_boundaries( - context, vmlinux_name - ) - ) - modules_addr_min &= kernel_layer.address_mask - modules_addr_max &= kernel_layer.address_mask - original_sections = {} for index, section in enumerate(module.get_sections()): - # Extra sanity check, to prevent OOM on heavily smeared samples at line - # "size = next_address - address" - if not ( - modules_addr_min - <= section.address & kernel_layer.address_mask - < modules_addr_max - ): - continue name = section.get_name() original_sections[section.address] = name if not original_sections: return None + kernel = context.modules[vmlinux_name] + kernel_layer = context.layers[kernel.layer_name] + if symbols.symbol_table_is_64bit(context, kernel.symbol_table_name): sym_type = "Elf64_Sym" elf_hdr_type = "Elf64_Ehdr" From b8e12bec297a4f61b17ff10b0c27224ad45ec37d Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 20 Nov 2025 15:18:53 +0100 Subject: [PATCH 2101/2186] move ModuleExtract class in modules.py --- .../framework/plugins/linux/module_extract.py | 12 +- .../symbols/linux/utilities/module_extract.py | 8 +- .../symbols/linux/utilities/modules.py | 732 +++++++++++++++++- 3 files changed, 742 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/linux/module_extract.py b/volatility3/framework/plugins/linux/module_extract.py index a8864281a..3b6b6f0e5 100644 --- a/volatility3/framework/plugins/linux/module_extract.py +++ b/volatility3/framework/plugins/linux/module_extract.py @@ -4,8 +4,8 @@ import logging from typing import List +import volatility3.framework.symbols.linux.utilities.modules as linux_utilities_modules from volatility3 import framework -import volatility3.framework.symbols.linux.utilities.module_extract as linux_utilities_module_extract from volatility3.framework import interfaces, renderers from volatility3.framework.configuration import requirements from volatility3.framework.renderers import format_hints @@ -17,7 +17,7 @@ vollog = logging.getLogger(__name__) class ModuleExtract(interfaces.plugins.PluginInterface): """Recreates an ELF file from a specific address in the kernel""" - _version = (1, 0, 0) + _version = (1, 0, 1) _required_framework_version = (2, 25, 0) framework.require_interface_version(*_required_framework_version) @@ -37,9 +37,9 @@ class ModuleExtract(interfaces.plugins.PluginInterface): optional=False, ), requirements.VersionRequirement( - name="linux_utilities_module_extract", - version=(1, 0, 0), - component=linux_utilities_module_extract.ModuleExtract, + name="linux_utilities_modules_module_extract", + version=(1, 0, 2), + component=linux_utilities_modules.ModuleExtract, ), ] @@ -58,7 +58,7 @@ class ModuleExtract(interfaces.plugins.PluginInterface): module = kernel.object(object_type="module", offset=base_address, absolute=True) - elf_data = linux_utilities_module_extract.ModuleExtract.extract_module( + elf_data = linux_utilities_modules.ModuleExtract.extract_module( self.context, self.config["kernel"], module ) if not elf_data: diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index e4f5705cf..3cc15085a 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -15,6 +15,7 @@ from volatility3.framework import ( interfaces, exceptions, symbols, + deprecation ) from volatility3.framework.constants import linux as linux_constants from volatility3.framework.symbols.linux import extensions @@ -34,7 +35,12 @@ vollog = logging.getLogger(__name__) # ModuleExtract.extract_module is the entry point and only visible method for plugins - +# See PR #1773 +@deprecation.renamed_class( + deprecated_class_name="ModuleExtract", + removal_date="2026-06-01", + message="volatility3.framework.symbols.linux.utilities.module_extract.ModuleExtract is to be deprecated. Use volatility3.framework.symbols.linux.utilities.modules.ModuleExtract instead.", +) class ModuleExtract(interfaces.configuration.VersionableInterface): """Extracts Linux kernel module structures into an analyzable ELF file""" diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index bb360e0ba..42383ecae 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -1,7 +1,8 @@ import logging import warnings -from abc import ABCMeta, abstractmethod import functools +import struct +from abc import ABCMeta, abstractmethod from typing import ( Callable, Dict, @@ -16,7 +17,6 @@ from typing import ( Union, ) -import volatility3.framework.symbols.linux.utilities.module_extract as linux_utilities_module_extract from volatility3 import framework from volatility3.framework import ( constants, @@ -25,12 +25,14 @@ from volatility3.framework import ( interfaces, objects, renderers, + symbols ) from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints from volatility3.framework.symbols.linux import extensions from volatility3.framework.symbols.linux.utilities import tainting +from volatility3.framework.constants import linux as linux_constants vollog = logging.getLogger(__name__) @@ -782,6 +784,730 @@ class Modules(interfaces.configuration.VersionableInterface): yield name, value +# This module is responsible for producing an ELF file of a kernel module (LKM) loaded in memory +# This extraction task is quite complicated as the Linux kernel discards the ELF header at load time +# Due to this, to support static analysis, we must create an ELF header and proper file based on the sections +# There are also several other significant complications that we must deal with when trying to extract an LKM +# that can be analyzed with static analysis tools +# First, the .strtab points somewhere random and is kept off the module structure, not with the other sections +# Second, all of the symbols (.symtab) have mangled members that we must patch for anything to make sense +# Third, the section name string table (.shstrtab) is not an allocated section, meaning its not in memory +# Not having the .shstrtab makes analysis impossible-to-difficult for static analysis tools. To work around this, +# we create the .shstrtab based on the sections in memory and then glue it in as the final section + +# ModuleExtract.extract_module is the entry point and only visible method for plugins +class ModuleExtract(interfaces.configuration.VersionableInterface): + """Extracts Linux kernel module structures into an analyzable ELF file""" + + _version = (1, 0, 2) + _required_framework_version = (2, 25, 0) + + framework.require_interface_version(*_required_framework_version) + + @classmethod + def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: + return [ + requirements.VersionRequirement( + name="linux_utilities_modules_modules", + component=Modules, + version=(3, 0, 2), + ), + ] + + @classmethod + def _find_section( + cls, section_lookups: List[Tuple[str, int, int, int]], sym_address: int + ) -> Optional[Tuple[str, int, int, int]]: + """ + Finds the section containing `sym_address` + """ + for name, index, address, size in section_lookups: + if address <= sym_address < address + size: + return name, index, address, size + + return None + + @classmethod + def _get_st_info_for_sym( + cls, sym: interfaces.objects.ObjectInterface, sym_address: int, sect_name: str + ) -> bytes: + """ + This is a helper function called from `_fix_sym_table` + + Calculates the `st_info` value for the given symbol + + Spec: https://refspecs.linuxbase.org/elf/gabi4+/ch4.symtab.html + """ + if sym.st_name > 0: + # Global symbol + bind = linux_constants.STB_GLOBAL + + if sym_address == 0: + sect_type = linux_constants.STT_NOTYPE + elif sect_name: + # rela = relocations + if sect_name.find(".text") != -1 and sect_name.find(".rela") == -1: + sect_type = linux_constants.STT_FUNC + else: + sect_type = linux_constants.STT_OBJECT + + else: + # outside the module being extracted + sect_type = linux_constants.STT_NOTYPE + + else: + # Local symbol + bind = linux_constants.STB_LOCAL + sect_type = linux_constants.STT_SECTION + + # Build the st_info as ELF32_ST_INFO/ELF64_ST_INFO + bind_bits = (bind << 4) & 0xF0 + type_bits = sect_type & 0xF + + st_info_int = (bind_bits | type_bits) & 0xFF + + return struct.pack("B", st_info_int) + + @classmethod + def _get_fixed_sym_fields( + cls, + st_fmt: str, + sym: interfaces.objects.ObjectInterface, + sections: List[Tuple[str, int, int, int]], + ) -> Tuple[str, int, int, int]: + """ + This is a helper function called from `_fix_sym_table` + + The st_value, st_info, and st_shndx fields of each symbol are changed/mangled while loading + Static analysis tools do not understand these transformed values as they only make sense to the kernel loader + We must de-mangle these to have analysis tools understand symbols (a key aspect) + """ + # Start by trying to map a symbol to its section + sym_address = sym.st_value + sect_info = cls._find_section(sections, sym_address) + + if not sect_info: + # Symbol does not point into the module being extracted + sect_name, sect_index, sect_address = None, None, None + st_value_int = sym_address + else: + # relative address inside the section + sect_name, sect_index, sect_address, _ = sect_info + st_value_int = sym_address - sect_address + + # Get the fixed st_value, st_info, and st_shndx that are broken in the mapped file + + # formatted to be written into the extracted file + st_value = struct.pack(st_fmt, st_value_int) + + # returns formatted to be written into the extracted file + st_info = cls._get_st_info_for_sym(sym, sym_address, sect_name) + + # format to reference its section, if any + if sect_name: + st_shndx = struct.pack(" Optional[bytes]: + """ + This function implements the most painful part of the reconstruction + + The symbols in .symtab are broken/mangled during loading. + We need to normalize these for static analysis tools to understand the references. + Without proper symbols, analysis is pretty pointless and gets nowhere. + + Spec: https://refspecs.linuxbase.org/elf/gabi4+/ch4.symtab.html + """ + kernel = context.modules[vmlinux_name] + + # Gather the section information into a list + section_lookups: List[Tuple[str, int, int, int]] = [] + for index, (address, name) in enumerate(original_sections.items()): + # We are fixing symtab references... + if name == ".symtab": + continue + + size = section_sizes[address] + + # Add 1 to account for leading NULL section + section_lookups.append((name, index + 1, address, size)) + + # Build the array of symbols as they are in memory + sym_type = kernel.get_type(sym_type_name) + + symbols = kernel.object( + object_type="array", + subtype=sym_type, + offset=module.section_symtab, + count=module.num_symtab, + absolute=True, + ) + + # used to hold the new (fixed) symbol table + sym_table_data = b"" + + # build a correct/normalized Elf32_Sym or Elf64_Sym for each symbol + for sym in symbols: + # get the mangled fields' correct values + sect_name, st_value, st_info, st_shndx = cls._get_fixed_sym_fields( + st_fmt, sym, section_lookups + ) + + # these aren't mangled during loading + st_name = struct.pack(" Optional[Tuple[List, int, int]]: + """ + This function first parses the sections as maintained by the kernel + It then orders the sections by load address, and then gathers the data of each section + We also track the file_offset to correctly have alignment in the output file + + .symtab requires special handling as its so broken in memory as described in `_fix_sym_table` + The data of .strtab is read directly off the module structure and not its section + as the section from the original module has no meaning after loading as the kernel does not reference it. + """ + kernel = context.modules[vmlinux_name] + kernel_layer = context.layers[kernel.layer_name] + modules_addr_min, modules_addr_max = ( + Modules.get_modules_memory_boundaries( + context, vmlinux_name + ) + ) + modules_addr_min &= kernel_layer.address_mask + modules_addr_max &= kernel_layer.address_mask + original_sections = {} + for index, section in enumerate(module.get_sections()): + # Extra sanity check, to prevent OOM on heavily smeared samples at line + # "size = next_address - address" + if not ( + modules_addr_min + <= section.address & kernel_layer.address_mask + < modules_addr_max + ): + continue + + name = section.get_name() + original_sections[section.address] = name + + if not original_sections: + return None + + if symbols.symbol_table_is_64bit(context, kernel.symbol_table_name): + sym_type = "Elf64_Sym" + elf_hdr_type = "Elf64_Ehdr" + st_fmt = " Optional[bytes]: + """ + Creates a `bits` bit ELF header for the file based on recovered values + Called last as it needs information computed from the sections + + Spec: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html + """ + if bits == 32: + fmt = " Optional[int]: + """ + This function makes a best effort to map common section names + to their attributes + """ + known_sections = { + ".note.gnu.build-id": linux_constants.SHT_NOTE, + ".text": linux_constants.SHT_PROGBITS, + ".init.text": linux_constants.SHT_PROGBITS, + ".exit.text": linux_constants.SHT_PROGBITS, + ".static_call.text": linux_constants.SHT_PROGBITS, + ".rodata": linux_constants.SHT_PROGBITS, + ".modinfo": linux_constants.SHT_PROGBITS, + "__param": linux_constants.SHT_PROGBITS, + ".data": linux_constants.SHT_PROGBITS, + ".gnu.linkonce.this_module": linux_constants.SHT_PROGBITS, + ".comment": linux_constants.SHT_PROGBITS, + ".shstrtab": linux_constants.SHT_STRTAB, + ".symtab": linux_constants.SHT_SYMTAB, + ".strtab": linux_constants.SHT_STRTAB, + } + + sect_type_val = linux_constants.SHT_PROGBITS + + if section_name.find(".rela.") != -1: + sect_type_val = linux_constants.SHT_RELA + + elif section_name in known_sections: + sect_type_val = known_sections[section_name] + + return sect_type_val + + # all sections from memory are allocated (SHF_ALLOC) + # special check certain other sections to try and ensure extra flags are added where needed + @classmethod + def _calc_sect_flags(cls, name: str) -> int: + """ + Make a best effort to map common section names to their permissions + If we miss a section here, users of common static analysis tools can mark the + sections are writable or executable manually, but that becomes very cumbersome + and breaks initial analysis by the tool + """ + # All sections in memory are allocated (`A` in readelf -S) + flags = linux_constants.SHF_ALLOC + + if name in [".text", ".init.text", ".exit.text", ".static_call.text"]: + flags = flags | linux_constants.SHF_EXECINSTR + + elif name in [ + ".data", + ".init.data", + ".exit.data", + ".bss", + "__tracepoints", + ".data.once", + "_ftrace_events", + ".gnu.linkonce.this_module", + ]: + flags = flags | linux_constants.SHF_WRITE + + return flags + + @classmethod + def _calc_link( + cls, name: str, strtab_index: int, symtab_index: int, sect_type: int + ) -> int: + """ + Calculates the link value for a section + + The most important ones are symtab indexes for relocations + and to point the symbol table to the string tab + + Spec: https://refspecs.linuxbase.org/elf/gabi4+/ch4.sheader.html + """ + # looking for RELA sections + if name.find(".rela.") != -1: + return symtab_index + + # per spec: "The section header index of the associated string table." + elif sect_type == linux_constants.SHT_SYMTAB: + return strtab_index + + return 0 + + @classmethod + def _calc_entsize(cls, name: str, sect_type: int, bits: int) -> int: + """ + Calculates the entsize for relocation sections and the symbol table section + + Spec: https://refspecs.linuxbase.org/elf/gabi4+/ch4.sheader.html + """ + # looking for RELA sections + if name.find(".rela.") != -1: + return 24 + + # per spec: "The section header index of the associated string table." + elif sect_type == linux_constants.SHT_SYMTAB: + if bits == 32: + return 16 + else: + return 24 + + return 0 + + @classmethod + def _make_section_header( + cls, + bits: int, + name_index: int, + name: str, + address: int, + size: int, + file_offset: int, + strtab_index: int, + symtab_index: int, + ) -> Optional[bytes]: + """ + Creates a section header (Elf32_Shdr or Elf64_Shdr) for the given section + """ + if bits == 32: + fmt = " Optional[bytes]: + # Bail early if bad address sent in + try: + hasattr(module.sect_attrs, "nsections") + except exceptions.InvalidAddressException: + vollog.debug(f"module at offset {module.vol.offset:#x} is paged out.") + return None + + # Gather sections + parse_sections_result = cls._parse_sections(context, vmlinux_name, module) + if parse_sections_result is None: + return None + updated_sections, strtab_index, symtab_index = parse_sections_result + + kernel = context.modules[vmlinux_name] + + # Figure out header sizes + if symbols.symbol_table_is_64bit(context, kernel.symbol_table_name): + header_type = "Elf64_Ehdr" + section_type = "Elf64_Shdr" + bits = 64 + else: + header_type = "Elf32_Ehdr" + section_type = "Elf32_Shdr" + bits = 32 + + header_type_size = kernel.get_type(header_type).size + section_type_size = kernel.get_type(section_type).size + + # Per Linux-spec, all LKMs must start with a null section header + # This buffer is used to hold the headers as they are built + sections_headers = b"\x00" * section_type_size + + # Holder of the data of the sections + sections_data = b"" + + # the .shstrtab section is "\x00" + section name for each section + # followed by a terminating null. + # It starts with the null string (\x00) + shstrtab_data = b"\x00" + + # Track where we end the sections and data to glue `.shstrtab` after + last_file_offset = None + last_sect_size = None + + # Start at 1 in the string table + name_index = 1 + + # Create the actual section headers + for index, (name, address, file_offset, section_data) in enumerate( + updated_sections + ): + # Make the section header + header_bytes = cls._make_section_header( + bits, + name_index, + name, + address, + len(section_data), + file_offset, + strtab_index, + symtab_index, + ) + if not header_bytes: + vollog.debug(f"make_section_header failed for section {name}") + return None + + # ndex into the string table + name_index += len(name) + 1 + + # concatenate the header and section bytes + sections_headers += header_bytes + sections_data += section_data + + # track where we are so .shstrtab goes into correct offset + last_file_offset = file_offset + last_sect_size = len(section_data) + + # append each section name to what will become .shstrtab + shstrtab_data += bytes(name, encoding="utf8") + b"\x00" + + # stick our own section reference string at end + # name_index points to the end of the last section string after the loop ends + shstrtab_data += b".shstrtab\x00" + + # create our .shstrtab section so sections have names + sections_headers += cls._make_section_header( + bits, + name_index, + ".shstrtab", + 0, + len(shstrtab_data), + last_file_offset + last_sect_size, + strtab_index, + symtab_index, + ) + + sections_data += shstrtab_data + + num_sections = len(updated_sections) + 1 + + header = cls._make_elf_header( + bits, + header_type_size + len(sections_data), + num_sections, + ) + + if not header: + vollog.error( + f"Hit error creating Elf header for module at {module.vol.offset:#x}" + ) + return None + + # Return our beautiful, hand-crafted, farm raised ELF file + return header + sections_data + sections_headers class ModuleGathererLsmod(ModuleGathererInterface): """ @@ -978,7 +1704,7 @@ class ModuleDisplayPlugin(interfaces.configuration.VersionableInterface): file_name = renderers.NotApplicableValue() if dump and open_implementation: - elf_data = linux_utilities_module_extract.ModuleExtract.extract_module( + elf_data = ModuleExtract.extract_module( context, kernel_module_name, module ) if not elf_data: From e9ce095b2924eb7d143aa7da24b79ed69850097b Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Thu, 20 Nov 2025 15:57:56 +0100 Subject: [PATCH 2102/2186] black formatting --- .../symbols/linux/utilities/module_extract.py | 8 ++------ .../framework/symbols/linux/utilities/modules.py | 11 ++++++----- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/module_extract.py b/volatility3/framework/symbols/linux/utilities/module_extract.py index 3cc15085a..5ec254368 100644 --- a/volatility3/framework/symbols/linux/utilities/module_extract.py +++ b/volatility3/framework/symbols/linux/utilities/module_extract.py @@ -11,12 +11,7 @@ from typing import ( ) from volatility3 import framework -from volatility3.framework import ( - interfaces, - exceptions, - symbols, - deprecation -) +from volatility3.framework import interfaces, exceptions, symbols, deprecation from volatility3.framework.constants import linux as linux_constants from volatility3.framework.symbols.linux import extensions @@ -35,6 +30,7 @@ vollog = logging.getLogger(__name__) # ModuleExtract.extract_module is the entry point and only visible method for plugins + # See PR #1773 @deprecation.renamed_class( deprecated_class_name="ModuleExtract", diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 42383ecae..adacc54e3 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -25,7 +25,7 @@ from volatility3.framework import ( interfaces, objects, renderers, - symbols + symbols, ) from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility @@ -784,6 +784,7 @@ class Modules(interfaces.configuration.VersionableInterface): yield name, value + # This module is responsible for producing an ELF file of a kernel module (LKM) loaded in memory # This extraction task is quite complicated as the Linux kernel discards the ELF header at load time # Due to this, to support static analysis, we must create an ELF header and proper file based on the sections @@ -795,6 +796,7 @@ class Modules(interfaces.configuration.VersionableInterface): # Not having the .shstrtab makes analysis impossible-to-difficult for static analysis tools. To work around this, # we create the .shstrtab based on the sections in memory and then glue it in as the final section + # ModuleExtract.extract_module is the entry point and only visible method for plugins class ModuleExtract(interfaces.configuration.VersionableInterface): """Extracts Linux kernel module structures into an analyzable ELF file""" @@ -1010,10 +1012,8 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): """ kernel = context.modules[vmlinux_name] kernel_layer = context.layers[kernel.layer_name] - modules_addr_min, modules_addr_max = ( - Modules.get_modules_memory_boundaries( - context, vmlinux_name - ) + modules_addr_min, modules_addr_max = Modules.get_modules_memory_boundaries( + context, vmlinux_name ) modules_addr_min &= kernel_layer.address_mask modules_addr_max &= kernel_layer.address_mask @@ -1509,6 +1509,7 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): # Return our beautiful, hand-crafted, farm raised ELF file return header + sections_data + sections_headers + class ModuleGathererLsmod(ModuleGathererInterface): """ Gathers modules from the main kernel list From 32f37ee6323ea2f7ee206aafe7d7a0faf60ac36f Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 24 Nov 2025 17:34:31 +0100 Subject: [PATCH 2103/2186] remove hasattr check on bin_attribute --- .../symbols/linux/extensions/__init__.py | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 953e3cb89..68d1aae52 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -3227,18 +3227,13 @@ class bin_attribute(objects.StructType): """ Performs extraction of the bin_attribute name """ - if hasattr(self, "attr"): - try: - return utility.pointer_to_string( - self.attr.name, count=linux_constants.ATTRIBUTE_NAME_MAX_SIZE - ) - except exceptions.InvalidAddressException: - vollog.debug( - f"Invalid attr name for bin_attribute at {self.vol.offset:#x}" - ) - return None - - return None + try: + return utility.pointer_to_string( + self.attr.name, count=linux_constants.ATTRIBUTE_NAME_MAX_SIZE + ) + except exceptions.InvalidAddressException: + vollog.debug(f"Invalid attr name for bin_attribute at {self.vol.offset:#x}") + return None @property def address(self) -> int: From 8b132eafd15f885806028e522887e520d22c60bb Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 24 Nov 2025 17:57:37 +0100 Subject: [PATCH 2104/2186] extend _fix_sym_table's docstring --- volatility3/framework/symbols/linux/utilities/modules.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index adacc54e3..598e79b18 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -925,6 +925,15 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): module: extensions.module, ) -> Optional[bytes]: """ + Args: + context: The context on which to operate. + vmlinux_name: The name of the kernel module. + original_sections: Dict of module section addresses and names. + section_sizes: Dict of module section addresses and sizes. + sym_type_name: ELF symbol type name (should be one of "Elf64_Sym" or "Elf32_Sym"). + st_fmt: "struct"-like unpack format string (should be one of " Date: Mon, 1 Dec 2025 15:54:58 +0100 Subject: [PATCH 2105/2186] remove PTEs "large_page" attribute and re-order large_page check --- volatility3/framework/layers/intel.py | 32 ++++++++++++++------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 848580004..f750f3f2f 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -38,7 +38,7 @@ class Intel(linear.LinearlyMappedLayer): # NOTE: _maxphyaddr is MAXPHYADDR as defined in the Intel specs *NOT* the maximum physical address _maxphyaddr = 32 _maxvirtaddr = _maxphyaddr - _structure = [("page directory", 10, False), ("page table", 10, True)] + _structure = [("page directory", 10, True), ("page table", 10, False)] _direct_metadata = collections.ChainMap( {"architecture": "Intel32"}, {"mapped": True}, @@ -221,18 +221,6 @@ class Intel(linear.LinearlyMappedLayer): entry, "Page Fault at entry " + hex(entry) + " in table " + name, ) - # Check if we're a large page - if large_page and (entry & self._PAGE_PSE): - # Mask off the PAT bit - if entry & self._PAGE_PAT_LARGE: - entry -= self._PAGE_PAT_LARGE - # We're a large page, the rest is finished below - # If we want to implement PSE-36, it would need to be done here - break - # Figure out how much of the offset we should be using - start = position - position -= size - index = self._mask(page_address, start, position + 1) >> (position + 1) # Grab the base address of the table we'll be getting the next entry from base_address = self._mask( @@ -249,6 +237,11 @@ class Intel(linear.LinearlyMappedLayer): "Page Fault at entry " + hex(entry) + " in table " + name, ) + # Figure out how much of the offset we should be using + start = position + position -= size + index = self._mask(page_address, start, position + 1) >> (position + 1) + # Read the data for the next entry entry_data_start = index << self._index_shift entry_data = table[entry_data_start : entry_data_start + self._entry_size] @@ -262,6 +255,15 @@ class Intel(linear.LinearlyMappedLayer): # Read out the new entry from memory (entry,) = struct.unpack(self._entry_format, entry_data) + # Check if we're a large page + if large_page and (entry & self._PAGE_PSE): + # Mask off the PAT bit + if entry & self._PAGE_PAT_LARGE: + entry -= self._PAGE_PAT_LARGE + # We're a large page, the rest is finished below + # If we want to implement PSE-36, it would need to be done here + break + return entry, position @functools.lru_cache(maxsize=1025) @@ -429,7 +431,7 @@ class IntelPAE(Intel): _structure = [ ("page directory pointer", 2, False), ("page directory", 9, True), - ("page table", 9, True), + ("page table", 9, False), ] _direct_metadata = collections.ChainMap({"pae": True}, Intel._direct_metadata) @@ -449,7 +451,7 @@ class Intel32e(Intel): ("page map layer 4", 9, False), ("page directory pointer", 9, True), ("page directory", 9, True), - ("page table", 9, True), + ("page table", 9, False), ] From ae0f0ca440f878d7e7e56c163b6cb61eb58f19e5 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 1 Dec 2025 15:56:56 +0100 Subject: [PATCH 2106/2186] skip invalid blocks more efficiently --- volatility3/framework/layers/intel.py | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index f750f3f2f..4108d7231 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -269,9 +269,12 @@ class Intel(linear.LinearlyMappedLayer): @functools.lru_cache(maxsize=1025) def _get_valid_table(self, base_address: int) -> Optional[bytes]: """Extracts the table, validates it and returns it if it's valid.""" - table = self._context.layers.read( - self._base_layer, base_address, self.page_size - ) + try: + table = self._context.layers.read( + self._base_layer, base_address, self.page_size + ) + except exceptions.InvalidAddressException: + return None # If the table is entirely duplicates, then mark the whole table as bad if table == table[: self._entry_size] * self._entry_number: @@ -375,12 +378,19 @@ class Intel(linear.LinearlyMappedLayer): while length > 0: try: chunk_offset, page_size, layer_name = self._translate(offset) - chunk_size = min(page_size - (chunk_offset % page_size), length) + # Page align the chunk size value + chunk_size = min(page_size - (offset % page_size), length) if not self._context.layers[layer_name].is_valid( chunk_offset, chunk_size ): - raise exceptions.InvalidAddressException( - layer_name=layer_name, invalid_address=chunk_offset + # Virtual -> physical is contiguous in the chunk_size range. + # If we fail, we can jump directly to the end as we know all bytes in between + # aren't mapped (virtually and) physically anyway. + raise exceptions.PagedInvalidAddressException( + layer_name=layer_name, + invalid_address=chunk_offset, + entry=0, + invalid_bits=int(math.log2(chunk_size)), ) except ( exceptions.PagedInvalidAddressException, From f4e2f1391e25da8d0aa8e69da3bd1257bf2db2e1 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 3 Dec 2025 11:22:27 +0100 Subject: [PATCH 2107/2186] refactor use of "invalid_bits" inside _mapping into a dedicated variable --- volatility3/framework/layers/intel.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index 4108d7231..e6a3244cb 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -376,6 +376,7 @@ class Intel(linear.LinearlyMappedLayer): yield offset, length, mapped_offset, length, layer_name return None while length > 0: + skip_mask = None try: chunk_offset, page_size, layer_name = self._translate(offset) # Page align the chunk size value @@ -386,11 +387,9 @@ class Intel(linear.LinearlyMappedLayer): # Virtual -> physical is contiguous in the chunk_size range. # If we fail, we can jump directly to the end as we know all bytes in between # aren't mapped (virtually and) physically anyway. - raise exceptions.PagedInvalidAddressException( - layer_name=layer_name, - invalid_address=chunk_offset, - entry=0, - invalid_bits=int(math.log2(chunk_size)), + skip_mask = chunk_size - 1 + raise exceptions.InvalidAddressException( + layer_name=layer_name, invalid_address=chunk_offset ) except ( exceptions.PagedInvalidAddressException, @@ -398,12 +397,13 @@ class Intel(linear.LinearlyMappedLayer): ) as excp: if not ignore_errors: raise - # We can jump more if we know where the page fault failed - if isinstance(excp, exceptions.PagedInvalidAddressException): - mask = (1 << excp.invalid_bits) - 1 - else: - mask = (1 << self._page_size_in_bits) - 1 - length_diff = mask + 1 - (offset & mask) + if skip_mask is None: + # We can jump more if we know where the page fault occured + if isinstance(excp, exceptions.PagedInvalidAddressException): + skip_mask = (1 << excp.invalid_bits) - 1 + else: + skip_mask = (1 << self._page_size_in_bits) - 1 + length_diff = skip_mask + 1 - (offset & skip_mask) length -= length_diff offset += length_diff else: From 93d6282817045e4f0a0d8667a7cb2d4f52ae0c11 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 3 Dec 2025 11:25:56 +0100 Subject: [PATCH 2108/2186] version bump: 2.27.0 -> 2.27.1 --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 7f71c277e..73eb5452e 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 27 # Number of changes that only add to the interface -VERSION_PATCH = 0 # Number of changes that do not change the interface +VERSION_PATCH = 1 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From 89c5fc325a238e81294d3615c394b813ae2d1d89 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 3 Dec 2025 17:34:25 +0100 Subject: [PATCH 2109/2186] move iterator_guard_value down the parameters list --- volatility3/framework/objects/utility.py | 2 +- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index be57f9ad7..05ad76d11 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -257,8 +257,8 @@ def array_of_pointers( def dynamically_sized_array_of_pointers( context: interfaces.context.ContextInterface, array: interfaces.objects.ObjectInterface, - iterator_guard_value: int, subtype: Union[str, interfaces.objects.Template], + iterator_guard_value: int, stop_value: int = 0, stop_on_invalid_pointers: bool = True, ) -> interfaces.objects.ObjectInterface: diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 68d1aae52..71ce82d82 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -210,8 +210,8 @@ class module(generic.GenericIntelProcess): bin_attrs_list = utility.dynamically_sized_array_of_pointers( context=self._context, array=arr_offset_ptr.dereference(), - iterator_guard_value=100, subtype=self.get_symbol_table_name() + constants.BANG + arr_subtype, + iterator_guard_value=100, ) return len(bin_attrs_list) From d7103a22141c2f8d9e40c524cb56b5fefe032868 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 3 Dec 2025 17:41:58 +0100 Subject: [PATCH 2110/2186] ensure that _parse_sections returns a constant number of None on failure --- volatility3/framework/symbols/linux/utilities/modules.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 598e79b18..63b25380a 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -1134,7 +1134,7 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): vollog.debug( f"Could not construct a symbol table for module at {module.vol.offset}. Cannot recover." ) - return None, None, None + return None symtab_index = len(updated_sections) @@ -1145,7 +1145,7 @@ class ModuleExtract(interfaces.configuration.VersionableInterface): vollog.debug( f"Did not find a .symtab section for module at {module.vol.offset:#x}. Cannot recover." ) - return None, None, None + return None return updated_sections, strtab_index, symtab_index From 0138aec419e5febdc13781b2ea6832bd151c9e1e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Wed, 3 Dec 2025 17:43:39 +0100 Subject: [PATCH 2111/2186] manually iterate over the pointers to detect OOB locally --- volatility3/framework/objects/utility.py | 27 ++++++++++++++++++------ 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/objects/utility.py b/volatility3/framework/objects/utility.py index 05ad76d11..799639a67 100644 --- a/volatility3/framework/objects/utility.py +++ b/volatility3/framework/objects/utility.py @@ -279,14 +279,27 @@ def dynamically_sized_array_of_pointers( An array of pointer objects """ new_count = 0 - for entry in array_of_pointers( - array=array, count=iterator_guard_value, subtype=subtype, context=context - ): - # "entry" is naturally represented by the address that the pointer refers to - if (entry == stop_value) or ( - not entry.is_readable() and stop_on_invalid_pointers - ): + sym_table_name = array.get_symbol_table_name() + sym_table = context.symbol_space[sym_table_name] + ptr_size = sym_table.get_type("pointer").size + layer_name = array.vol.layer_name + + offset = array.vol.offset + entry = None + while entry != stop_value and new_count < iterator_guard_value: + try: + entry = context.object( + sym_table_name + constants.BANG + "pointer", + offset=offset, + layer_name=layer_name, + ) + except exceptions.InvalidAddressException: break + + if not entry.is_readable() and stop_on_invalid_pointers: + break + + offset += ptr_size new_count += 1 else: vollog.log( From 50f64f66d547fa8379d47ab8972be665347b4a4e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Tue, 16 Dec 2025 10:03:37 +0000 Subject: [PATCH 2112/2186] Document the reason for skipping entirely duplicated page tables --- volatility3/framework/layers/intel.py | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/layers/intel.py b/volatility3/framework/layers/intel.py index e6a3244cb..380d0e49f 100644 --- a/volatility3/framework/layers/intel.py +++ b/volatility3/framework/layers/intel.py @@ -10,7 +10,7 @@ import struct from typing import Any, Dict, Iterable, List, Optional, Tuple from volatility3 import classproperty -from volatility3.framework import exceptions, interfaces, constants +from volatility3.framework import constants, exceptions, interfaces from volatility3.framework.configuration import requirements from volatility3.framework.layers import linear @@ -276,7 +276,31 @@ class Intel(linear.LinearlyMappedLayer): except exceptions.InvalidAddressException: return None + #### # If the table is entirely duplicates, then mark the whole table as bad + # This is because Windows 10 onwards has a tendency to map unused pages as present + # This had the following consequences: + # - Used very litle physical memory + # - Exploded virtual memory + # - Causes *scan plugins to take multiple hours to complete even on small images + + # Previous versions of volatility would ignore a page during a scan when it matched + # the one directly preceding it in physical memory. + # This could trip if only two pages were identical and still required enumerating all + # the invalid pages (which itself was quite time consuming) + + # For this reason, volatility 3 shifted to looking at entire page tables (1,024 pages) + # and if all the pages mapped to the same place the table wouuld be skipped + # This could also be applied to the Directory level as well as the Table level, allowing + # Volatility to skip huge sections of virtual memory very efficiently, without missing + # any pages that were distinct within a particular page table (or directory). + + # In order to work at this level, the logic was moved out of the scanning component and + # directly into the layer logic itself. This does have the side effect of preventing + # entirely duplicated page tables from reporting as present, however, the trade off between + # Windows 10+ reduced scanning times (common amongst scan plugins) versus incorrectly reporting + # entire page tables of identically mapped repeating *valid* data (rare) was accepted in favour + # of the more common occurance. if table == table[: self._entry_size] * self._entry_number: return None return table From 105ee08d918be92e5abf551d4cbe820010e45982 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 28 Dec 2025 14:09:51 +0000 Subject: [PATCH 2113/2186] Avoid trying to lookup child nodes that have been filtered Fixes issue1309. --- volatility3/cli/text_renderer.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index d55201371..d400067af 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -10,8 +10,8 @@ import string import sys from functools import wraps from typing import Any, Callable, Dict, List, Optional, Set, Tuple, TypeVar, Union -from volatility3.cli import text_filter +from volatility3.cli import text_filter from volatility3.framework import exceptions, interfaces, renderers from volatility3.framework.renderers import format_hints @@ -464,9 +464,9 @@ class PrettyTextRenderer(CLIRenderer): accumulator.append((node.path_depth, line)) return accumulator - final_output: List[Tuple[int, Dict[interfaces.renderers.Column, list[str]]]] = ( - [] - ) + final_output: List[ + Tuple[int, Dict[interfaces.renderers.Column, list[str]]] + ] = [] if not grid.populated: grid.populate(visitor, final_output) else: @@ -598,7 +598,8 @@ class JsonRenderer(CLIRenderer): if self.filter and self.filter.filter(line): return accumulator - if node.parent: + # Only add if the parent hasn't been filtered out + if node.parent and node.parent.path in acc_map: acc_map[node.parent.path]["__children"].append(node_dict) else: final_tree.append(node_dict) From 0089aefaf6a4b72729ff79ddaf2d0390ba24ddb7 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 28 Dec 2025 14:13:44 +0000 Subject: [PATCH 2114/2186] Reformat because ruff and black disagree --- volatility3/cli/text_renderer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index d400067af..d00c00bf4 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -464,9 +464,9 @@ class PrettyTextRenderer(CLIRenderer): accumulator.append((node.path_depth, line)) return accumulator - final_output: List[ - Tuple[int, Dict[interfaces.renderers.Column, list[str]]] - ] = [] + final_output: List[Tuple[int, Dict[interfaces.renderers.Column, list[str]]]] = ( + [] + ) if not grid.populated: grid.populate(visitor, final_output) else: From 5aea7f92e94af4b04e811b73ceadb51cc9a355d3 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Tue, 3 Jun 2025 00:00:13 +0300 Subject: [PATCH 2115/2186] process_spoofing plugin --- .../plugins/linux/process_spoofing.py | 253 ++++++++++++++++++ 1 file changed, 253 insertions(+) create mode 100644 volatility3/framework/plugins/linux/process_spoofing.py diff --git a/volatility3/framework/plugins/linux/process_spoofing.py b/volatility3/framework/plugins/linux/process_spoofing.py new file mode 100644 index 000000000..2546a3623 --- /dev/null +++ b/volatility3/framework/plugins/linux/process_spoofing.py @@ -0,0 +1,253 @@ +# This file is Copyright 2025 Volatility Foundation and licensed under the Volatility Software License 1.0 +# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 +# + +import logging +from pathlib import PurePosixPath +from typing import Optional, Tuple, Iterator + +from volatility3.framework import exceptions, interfaces, renderers +from volatility3.framework.configuration import requirements +from volatility3.framework.interfaces import plugins +from volatility3.framework.objects import utility +from volatility3.framework.symbols import linux +from volatility3.plugins.linux import pslist + +vollog = logging.getLogger(__name__) + + +# https://github.com/SolitudePy/linux-mal +class ProcessSpoofing(plugins.PluginInterface): + """Detects process spoofing by comparing executable path to cmdline & comm fields""" + + _required_framework_version = (2, 0, 0) + _version = (1, 0, 0) + + @classmethod + def get_requirements(cls): + return [ + requirements.ModuleRequirement( + name="kernel", + description="Linux kernel", + architectures=["Intel32", "Intel64"], + ), + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) + ), + requirements.VersionRequirement( + name="linuxutils", component=linux.LinuxUtilities, version=(2, 0, 0) + ), + requirements.ListRequirement( + name="pid", + description="Filter on specific process IDs", + element_type=int, + optional=True, + ), + ] + + def _get_executable_path( + self, task: interfaces.objects.ObjectInterface + ) -> Optional[str]: + """ + Extract the executable path from task_struct.mm.exe_file + + Args: + task: task_struct object of the process + + Returns: + Executable path or None if not available + """ + try: + mm = task.mm + if not mm or not mm.is_readable(): + # Kernel threads doesn't have + return None + + exe_file = mm.exe_file + if not exe_file or not exe_file.is_readable(): + return None + + # Use LinuxUtilities.path_for_file to extract the path + exe_path = linux.LinuxUtilities.path_for_file(self.context, task, exe_file) + + return exe_path if exe_path else None + + except (exceptions.InvalidAddressException, AttributeError): + return None + + def _get_cmdline_basename( + self, task: interfaces.objects.ObjectInterface + ) -> Optional[str]: + """ + Extract the command line arguments and return the basename of the first argument + + Args: + task: task_struct object of the process + + Returns: + Basename of the first command line argument or None if not available + """ + try: + mm = task.mm + if not mm or not mm.is_readable(): + return renderers.NotAvailableValue() + + proc_layer_name = task.add_process_layer() + if proc_layer_name is None: + return None + + proc_layer = self.context.layers[proc_layer_name] + + # Read argv from userland + start = task.mm.arg_start + size_to_read = task.mm.arg_end - task.mm.arg_start + + if not (0 < size_to_read <= 4096): + return None + + # Attempt to read command line arguments + try: + argv = proc_layer.read(start, size_to_read) + except exceptions.InvalidAddressException: + return None + + # Parse the arguments - they are null byte terminated + args_str = argv.decode(encoding="utf8", errors="replace") + args_list = args_str.split("\x00") + if args_list and args_list[0]: + basename = PurePosixPath(args_list[0]).name + return basename + else: + return None + + except (exceptions.InvalidAddressException, AttributeError): + return None + + def _get_comm(self, task: interfaces.objects.ObjectInterface) -> Optional[str]: + """ + Extract the comm field from task_struct + + Args: + task: task_struct object of the process + + Returns: + Process name from comm field or None if not available + """ + try: + return utility.array_to_string(task.comm) + except (exceptions.InvalidAddressException, AttributeError): + return None + + def _extract_process_names( + self, task: interfaces.objects.ObjectInterface + ) -> Tuple[Optional[str], Optional[str], Optional[str]]: + """ + Extract all three process name sources for comparison + + Args: + task: task_struct object of the process + + Returns: + Tuple of (exe_path_basename, cmdline_basename, comm) + """ + exe_path = self._get_executable_path(task) + exe_basename = PurePosixPath(exe_path).name + cmdline_basename = self._get_cmdline_basename(task) + comm = self._get_comm(task) + + return exe_basename, cmdline_basename, comm + + def _detect_spoofing( + self, + exe_basename: Optional[str], + cmdline_basename: Optional[str], + comm: Optional[str], + ) -> Optional[list]: + """ + Analyze the three name sources to detect potential spoofing + + Args: + exe_basename: Basename from exe_file path + cmdline_basename: Basename from command line + comm: Name from comm field + + Returns: + notes: List of notes indicating potential spoofing, or None if no issues found + """ + notes = [] + + # Count how many name sources we have + available_sources = sum( + 1 for name in [exe_basename, cmdline_basename, comm] if name + ) + + if available_sources < 2: + return None + + if exe_basename != cmdline_basename: + notes.append( + f"'Potential cmdline spoofing: exe_file={exe_basename};cmdline={cmdline_basename}'" + ) + if exe_basename[:15] != comm: + notes.append( + f"'Potential comm spoofing: exe_file={exe_basename};comm={comm}'" + ) + return notes + + def _generator(self, tasks) -> Iterator[Tuple[int, Tuple]]: + """ + Generate process spoofing detection results + + Args: + tasks: Iterator of task_struct objects + + Yields: + Tuple containing process information and spoofing analysis + """ + for task in tasks: + try: + pid = task.pid + ppid = task.get_parent_pid() + + exe_basename, cmdline_basename, comm = self._extract_process_names(task) + + notes = self._detect_spoofing(exe_basename, cmdline_basename, comm) + + exe_render = exe_basename if exe_basename else "N/A" + cmdline_render = cmdline_basename if cmdline_basename else "N/A" + comm_render = comm if comm else "N/A" + + yield ( + 0, + ( + pid, + ppid, + exe_render, + cmdline_render, + comm_render, + "[" + ", ".join(notes) + "]" if notes else "OK", + ), + ) + + except Exception as e: + vollog.debug(f"Error processing task at {task.vol.offset:#x}: {e}") + continue + + def run(self): + filter_func = pslist.PsList.create_pid_filter(self.config.get("pid", None)) + + return renderers.TreeGrid( + [ + ("PID", int), + ("PPID", int), + ("Exe_Basename", str), + ("Cmdline_Basename", str), + ("Comm", str), + ("Notes", str), + ], + self._generator( + pslist.PsList.list_tasks( + self.context, self.config["kernel"], filter_func=filter_func + ) + ), + ) From cf6fa422b479bdd9bc8e749e5a1d72a9b949d89b Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Tue, 3 Jun 2025 00:10:44 +0300 Subject: [PATCH 2116/2186] cosmetics --- volatility3/framework/plugins/linux/process_spoofing.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/volatility3/framework/plugins/linux/process_spoofing.py b/volatility3/framework/plugins/linux/process_spoofing.py index 2546a3623..9d2e55acb 100644 --- a/volatility3/framework/plugins/linux/process_spoofing.py +++ b/volatility3/framework/plugins/linux/process_spoofing.py @@ -60,14 +60,12 @@ class ProcessSpoofing(plugins.PluginInterface): try: mm = task.mm if not mm or not mm.is_readable(): - # Kernel threads doesn't have + # Kernel threads doesn't have mm return None exe_file = mm.exe_file if not exe_file or not exe_file.is_readable(): return None - - # Use LinuxUtilities.path_for_file to extract the path exe_path = linux.LinuxUtilities.path_for_file(self.context, task, exe_file) return exe_path if exe_path else None @@ -97,15 +95,12 @@ class ProcessSpoofing(plugins.PluginInterface): return None proc_layer = self.context.layers[proc_layer_name] - - # Read argv from userland start = task.mm.arg_start size_to_read = task.mm.arg_end - task.mm.arg_start if not (0 < size_to_read <= 4096): return None - # Attempt to read command line arguments try: argv = proc_layer.read(start, size_to_read) except exceptions.InvalidAddressException: @@ -176,7 +171,7 @@ class ProcessSpoofing(plugins.PluginInterface): """ notes = [] - # Count how many name sources we have + # Skip kernel threads available_sources = sum( 1 for name in [exe_basename, cmdline_basename, comm] if name ) From 5c3fca35447247c0d59c814682ae95952fc1067a Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 4 Jun 2025 21:10:11 +0300 Subject: [PATCH 2117/2186] added mechanism for deleted exe --- .../framework/plugins/linux/process_spoofing.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/process_spoofing.py b/volatility3/framework/plugins/linux/process_spoofing.py index 9d2e55acb..451889029 100644 --- a/volatility3/framework/plugins/linux/process_spoofing.py +++ b/volatility3/framework/plugins/linux/process_spoofing.py @@ -21,7 +21,8 @@ class ProcessSpoofing(plugins.PluginInterface): """Detects process spoofing by comparing executable path to cmdline & comm fields""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 1, 0) + deleted = " (deleted)" @classmethod def get_requirements(cls): @@ -64,10 +65,17 @@ class ProcessSpoofing(plugins.PluginInterface): return None exe_file = mm.exe_file + if not exe_file or not exe_file.is_readable(): return None + + exe_inode = exe_file.dereference().f_path.dentry.d_inode exe_path = linux.LinuxUtilities.path_for_file(self.context, task, exe_file) + # If the inode link count is 0, the process image has been deleted + if exe_inode.i_nlink == 0: + exe_path += self.deleted + return exe_path if exe_path else None except (exceptions.InvalidAddressException, AttributeError): @@ -176,6 +184,11 @@ class ProcessSpoofing(plugins.PluginInterface): 1 for name in [exe_basename, cmdline_basename, comm] if name ) + is_deleted = exe_basename.endswith(self.deleted) + if is_deleted: + notes.append(f"'Potential Process image deletion: exe_file={exe_basename}'") + exe_basename = exe_basename[: len(self.deleted) * -1] + if available_sources < 2: return None From fd270a208d3ddb9c72cc047dd8b4901bb7f2e1b7 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Sat, 7 Jun 2025 13:49:44 +0300 Subject: [PATCH 2118/2186] categorize as a malware plugin --- .../framework/plugins/linux/{ => malware}/process_spoofing.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename volatility3/framework/plugins/linux/{ => malware}/process_spoofing.py (100%) diff --git a/volatility3/framework/plugins/linux/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py similarity index 100% rename from volatility3/framework/plugins/linux/process_spoofing.py rename to volatility3/framework/plugins/linux/malware/process_spoofing.py From 15dc9ec4635170f70edcb8fb96c25251a3040d0c Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 25 Jun 2025 19:05:10 +0300 Subject: [PATCH 2119/2186] Plugins: precise exception handling in process_spoofing --- .../framework/plugins/linux/malware/process_spoofing.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index 451889029..b14dd208c 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -237,8 +237,10 @@ class ProcessSpoofing(plugins.PluginInterface): ), ) - except Exception as e: - vollog.debug(f"Error processing task at {task.vol.offset:#x}: {e}") + except (exceptions.InvalidAddressException, AttributeError) as e: + vollog.warning( + f"Unable to process task PID {getattr(task, 'pid', 'unknown')} at {task.vol.offset:#x}: {e}" + ) continue def run(self): From d55cf9a9d0f518331e01d78fff88e2f06d0f9ef9 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 25 Jun 2025 19:07:17 +0300 Subject: [PATCH 2120/2186] Plugins: remove exe_file dereference() --- .../framework/plugins/linux/malware/process_spoofing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index b14dd208c..f32f80f8a 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -61,7 +61,7 @@ class ProcessSpoofing(plugins.PluginInterface): try: mm = task.mm if not mm or not mm.is_readable(): - # Kernel threads doesn't have mm + # Kernel threads don't have mm struct return None exe_file = mm.exe_file @@ -69,7 +69,7 @@ class ProcessSpoofing(plugins.PluginInterface): if not exe_file or not exe_file.is_readable(): return None - exe_inode = exe_file.dereference().f_path.dentry.d_inode + exe_inode = exe_file.f_path.dentry.d_inode exe_path = linux.LinuxUtilities.path_for_file(self.context, task, exe_file) # If the inode link count is 0, the process image has been deleted From cc6aa2117b8b4700d52a6bdafc23c1f5cd14307b Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 25 Jun 2025 19:14:40 +0300 Subject: [PATCH 2121/2186] Plugins: convert useful methods to classmethods --- .../plugins/linux/malware/process_spoofing.py | 33 ++++++++++++------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index f32f80f8a..7302f2a71 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -46,13 +46,17 @@ class ProcessSpoofing(plugins.PluginInterface): ), ] - def _get_executable_path( - self, task: interfaces.objects.ObjectInterface + @classmethod + def get_executable_path( + cls, + context: interfaces.context.ContextInterface, + task: interfaces.objects.ObjectInterface, ) -> Optional[str]: """ Extract the executable path from task_struct.mm.exe_file Args: + context: The context to operate on task: task_struct object of the process Returns: @@ -70,24 +74,28 @@ class ProcessSpoofing(plugins.PluginInterface): return None exe_inode = exe_file.f_path.dentry.d_inode - exe_path = linux.LinuxUtilities.path_for_file(self.context, task, exe_file) + exe_path = linux.LinuxUtilities.path_for_file(context, task, exe_file) # If the inode link count is 0, the process image has been deleted if exe_inode.i_nlink == 0: - exe_path += self.deleted + exe_path += cls.deleted return exe_path if exe_path else None except (exceptions.InvalidAddressException, AttributeError): return None - def _get_cmdline_basename( - self, task: interfaces.objects.ObjectInterface + @classmethod + def get_cmdline_basename( + cls, + context: interfaces.context.ContextInterface, + task: interfaces.objects.ObjectInterface, ) -> Optional[str]: """ Extract the command line arguments and return the basename of the first argument Args: + context: The context to operate on task: task_struct object of the process Returns: @@ -102,7 +110,7 @@ class ProcessSpoofing(plugins.PluginInterface): if proc_layer_name is None: return None - proc_layer = self.context.layers[proc_layer_name] + proc_layer = context.layers[proc_layer_name] start = task.mm.arg_start size_to_read = task.mm.arg_end - task.mm.arg_start @@ -126,7 +134,8 @@ class ProcessSpoofing(plugins.PluginInterface): except (exceptions.InvalidAddressException, AttributeError): return None - def _get_comm(self, task: interfaces.objects.ObjectInterface) -> Optional[str]: + @classmethod + def get_comm(cls, task: interfaces.objects.ObjectInterface) -> Optional[str]: """ Extract the comm field from task_struct @@ -153,10 +162,10 @@ class ProcessSpoofing(plugins.PluginInterface): Returns: Tuple of (exe_path_basename, cmdline_basename, comm) """ - exe_path = self._get_executable_path(task) - exe_basename = PurePosixPath(exe_path).name - cmdline_basename = self._get_cmdline_basename(task) - comm = self._get_comm(task) + exe_path = self.get_executable_path(self.context, task) + exe_basename = PurePosixPath(exe_path).name if exe_path else None + cmdline_basename = self.get_cmdline_basename(self.context, task) + comm = self.get_comm(task) return exe_basename, cmdline_basename, comm From 939034cd3344b5511ebbde43c1a3c50cdf15eb11 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 25 Jun 2025 19:16:52 +0300 Subject: [PATCH 2122/2186] Plugins: consistent return values in process_spoofing --- volatility3/framework/plugins/linux/malware/process_spoofing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index 7302f2a71..01d4c1e2c 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -104,7 +104,7 @@ class ProcessSpoofing(plugins.PluginInterface): try: mm = task.mm if not mm or not mm.is_readable(): - return renderers.NotAvailableValue() + return None proc_layer_name = task.add_process_layer() if proc_layer_name is None: From 83494796432fe9bd1348e5bfbd6fa3549b9e79ef Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 25 Jun 2025 19:34:58 +0300 Subject: [PATCH 2123/2186] Plugins: process_spoofing log exceptions as debug --- .../plugins/linux/malware/process_spoofing.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index 01d4c1e2c..473bd7d07 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -82,7 +82,10 @@ class ProcessSpoofing(plugins.PluginInterface): return exe_path if exe_path else None - except (exceptions.InvalidAddressException, AttributeError): + except (exceptions.InvalidAddressException, AttributeError) as e: + vollog.debug( + f"Unable to read executable path for task at {task.vol.offset:#x}: {e}" + ) return None @classmethod @@ -147,7 +150,8 @@ class ProcessSpoofing(plugins.PluginInterface): """ try: return utility.array_to_string(task.comm) - except (exceptions.InvalidAddressException, AttributeError): + except (exceptions.InvalidAddressException, AttributeError) as e: + vollog.debug(f"Unable to read comm for task at {task.vol.offset:#x}: {e}") return None def _extract_process_names( @@ -193,7 +197,7 @@ class ProcessSpoofing(plugins.PluginInterface): 1 for name in [exe_basename, cmdline_basename, comm] if name ) - is_deleted = exe_basename.endswith(self.deleted) + is_deleted = exe_basename and exe_basename.endswith(self.deleted) if is_deleted: notes.append(f"'Potential Process image deletion: exe_file={exe_basename}'") exe_basename = exe_basename[: len(self.deleted) * -1] From 1a92e749ffae2e6189aec920d4fd9178004ca046 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 25 Jun 2025 19:39:05 +0300 Subject: [PATCH 2124/2186] Plugins: more precise exception handling in process_spoofing --- .../plugins/linux/malware/process_spoofing.py | 57 +++++++++---------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index 473bd7d07..b3cc37cc7 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -104,37 +104,36 @@ class ProcessSpoofing(plugins.PluginInterface): Returns: Basename of the first command line argument or None if not available """ + mm = task.mm + if not mm or not mm.is_readable(): + return None + + proc_layer_name = task.add_process_layer() + if proc_layer_name is None: + return None + + proc_layer = context.layers[proc_layer_name] + start = task.mm.arg_start + size_to_read = task.mm.arg_end - task.mm.arg_start + + if not (0 < size_to_read <= 4096): + return None + try: - mm = task.mm - if not mm or not mm.is_readable(): - return None + argv = proc_layer.read(start, size_to_read) + except exceptions.InvalidAddressException as e: + vollog.debug( + f"Unable to read cmdline for task at {task.vol.offset:#x}: {e}" + ) + return None - proc_layer_name = task.add_process_layer() - if proc_layer_name is None: - return None - - proc_layer = context.layers[proc_layer_name] - start = task.mm.arg_start - size_to_read = task.mm.arg_end - task.mm.arg_start - - if not (0 < size_to_read <= 4096): - return None - - try: - argv = proc_layer.read(start, size_to_read) - except exceptions.InvalidAddressException: - return None - - # Parse the arguments - they are null byte terminated - args_str = argv.decode(encoding="utf8", errors="replace") - args_list = args_str.split("\x00") - if args_list and args_list[0]: - basename = PurePosixPath(args_list[0]).name - return basename - else: - return None - - except (exceptions.InvalidAddressException, AttributeError): + # Parse the arguments - they are null byte terminated + args_str = argv.decode(encoding="utf8", errors="replace") + args_list = args_str.split("\x00") + if args_list and args_list[0]: + basename = PurePosixPath(args_list[0]).name + return basename + else: return None @classmethod From d11f50906ac92745d268329eb49fb1ba889c7528 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 25 Jun 2025 19:58:17 +0300 Subject: [PATCH 2125/2186] Plugins: swap notes for boolean flags in process_spoofing --- .../plugins/linux/malware/process_spoofing.py | 56 +++++++++++-------- 1 file changed, 32 insertions(+), 24 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index b3cc37cc7..7f2c9af3c 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -177,7 +177,7 @@ class ProcessSpoofing(plugins.PluginInterface): exe_basename: Optional[str], cmdline_basename: Optional[str], comm: Optional[str], - ) -> Optional[list]: + ) -> Tuple[bool, bool, bool]: """ Analyze the three name sources to detect potential spoofing @@ -187,32 +187,34 @@ class ProcessSpoofing(plugins.PluginInterface): comm: Name from comm field Returns: - notes: List of notes indicating potential spoofing, or None if no issues found + Tuple of (is_deleted, cmdline_spoofed, comm_spoofed) boolean flags """ - notes = [] - - # Skip kernel threads - available_sources = sum( - 1 for name in [exe_basename, cmdline_basename, comm] if name - ) - + # Check if process image has been deleted is_deleted = exe_basename and exe_basename.endswith(self.deleted) + + # Get clean basename for comparison (without " (deleted)" suffix) + clean_exe_basename = exe_basename if is_deleted: - notes.append(f"'Potential Process image deletion: exe_file={exe_basename}'") - exe_basename = exe_basename[: len(self.deleted) * -1] + clean_exe_basename = exe_basename[: len(self.deleted) * -1] + # Skip kernel threads - need at least 2 sources for comparison + available_sources = sum( + 1 for name in [clean_exe_basename, cmdline_basename, comm] if name + ) if available_sources < 2: - return None + return False, False, False - if exe_basename != cmdline_basename: - notes.append( - f"'Potential cmdline spoofing: exe_file={exe_basename};cmdline={cmdline_basename}'" - ) - if exe_basename[:15] != comm: - notes.append( - f"'Potential comm spoofing: exe_file={exe_basename};comm={comm}'" - ) - return notes + # Check for cmdline spoofing + cmdline_spoofed = False + if clean_exe_basename and cmdline_basename: + cmdline_spoofed = clean_exe_basename != cmdline_basename + + # Check for comm spoofing (comm is truncated to 15 characters) + comm_spoofed = False + if clean_exe_basename and comm: + comm_spoofed = clean_exe_basename[:15] != comm + + return is_deleted, cmdline_spoofed, comm_spoofed def _generator(self, tasks) -> Iterator[Tuple[int, Tuple]]: """ @@ -231,7 +233,9 @@ class ProcessSpoofing(plugins.PluginInterface): exe_basename, cmdline_basename, comm = self._extract_process_names(task) - notes = self._detect_spoofing(exe_basename, cmdline_basename, comm) + is_deleted, cmdline_spoofed, comm_spoofed = self._detect_spoofing( + exe_basename, cmdline_basename, comm + ) exe_render = exe_basename if exe_basename else "N/A" cmdline_render = cmdline_basename if cmdline_basename else "N/A" @@ -245,7 +249,9 @@ class ProcessSpoofing(plugins.PluginInterface): exe_render, cmdline_render, comm_render, - "[" + ", ".join(notes) + "]" if notes else "OK", + cmdline_spoofed, + comm_spoofed, + is_deleted, ), ) @@ -265,7 +271,9 @@ class ProcessSpoofing(plugins.PluginInterface): ("Exe_Basename", str), ("Cmdline_Basename", str), ("Comm", str), - ("Notes", str), + ("Cmdline_Spoofed", bool), + ("Comm_Spoofed", bool), + ("Deleted", bool), ], self._generator( pslist.PsList.list_tasks( From 5c7cf1115205673692193dc4292306781dad1bfa Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 25 Jun 2025 19:59:42 +0300 Subject: [PATCH 2126/2186] black --- volatility3/framework/plugins/linux/malware/process_spoofing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index 7f2c9af3c..a38367bd1 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -191,7 +191,7 @@ class ProcessSpoofing(plugins.PluginInterface): """ # Check if process image has been deleted is_deleted = exe_basename and exe_basename.endswith(self.deleted) - + # Get clean basename for comparison (without " (deleted)" suffix) clean_exe_basename = exe_basename if is_deleted: From 41f964cfe12d3958c284e00a08860de94cbb6f52 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 25 Jun 2025 20:16:59 +0300 Subject: [PATCH 2127/2186] Plugins: determine process exe deletion structurally --- .../plugins/linux/malware/process_spoofing.py | 109 ++++++++++-------- 1 file changed, 63 insertions(+), 46 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index a38367bd1..1c2b1a478 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -22,7 +22,6 @@ class ProcessSpoofing(plugins.PluginInterface): _required_framework_version = (2, 0, 0) _version = (1, 1, 0) - deleted = " (deleted)" @classmethod def get_requirements(cls): @@ -51,7 +50,7 @@ class ProcessSpoofing(plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, task: interfaces.objects.ObjectInterface, - ) -> Optional[str]: + ) -> Tuple[Optional[str], bool]: """ Extract the executable path from task_struct.mm.exe_file @@ -60,33 +59,54 @@ class ProcessSpoofing(plugins.PluginInterface): task: task_struct object of the process Returns: - Executable path or None if not available + Tuple of (basename, is_deleted) or (None, False) if not available """ + is_deleted = False + try: mm = task.mm - if not mm or not mm.is_readable(): - # Kernel threads don't have mm struct - return None + except (exceptions.InvalidAddressException, AttributeError) as e: + vollog.debug(f"Unable to access mm for task at {task.vol.offset:#x}: {e}") + return None, is_deleted + if not mm or not mm.is_readable(): + # Kernel threads don't have mm struct + return None, is_deleted + + try: exe_file = mm.exe_file - - if not exe_file or not exe_file.is_readable(): - return None - - exe_inode = exe_file.f_path.dentry.d_inode - exe_path = linux.LinuxUtilities.path_for_file(context, task, exe_file) - - # If the inode link count is 0, the process image has been deleted - if exe_inode.i_nlink == 0: - exe_path += cls.deleted - - return exe_path if exe_path else None - except (exceptions.InvalidAddressException, AttributeError) as e: vollog.debug( - f"Unable to read executable path for task at {task.vol.offset:#x}: {e}" + f"Unable to access exe_file for task at {task.vol.offset:#x}: {e}" ) - return None + return None, is_deleted + + if not exe_file or not exe_file.is_readable(): + return None, is_deleted + + try: + exe_inode = exe_file.f_path.dentry.d_inode + exe_path = linux.LinuxUtilities.path_for_file(context, task, exe_file) + except (exceptions.InvalidAddressException, AttributeError) as e: + vollog.debug( + f"Unable to read exe_file path for task at {task.vol.offset:#x}: {e}" + ) + return None, is_deleted + + if not exe_path: + return None, is_deleted + + try: + # Check if the inode link count is 0 (process image has been deleted) + is_deleted = exe_inode.i_nlink == 0 + except (exceptions.InvalidAddressException, AttributeError) as e: + vollog.debug( + f"Unable to check inode link count for task at {task.vol.offset:#x}: {e}" + ) + # Continue without deletion info - we still have the path + + basename = PurePosixPath(exe_path).name + return basename, is_deleted @classmethod def get_cmdline_basename( @@ -155,7 +175,7 @@ class ProcessSpoofing(plugins.PluginInterface): def _extract_process_names( self, task: interfaces.objects.ObjectInterface - ) -> Tuple[Optional[str], Optional[str], Optional[str]]: + ) -> Tuple[Optional[str], Optional[str], Optional[str], bool]: """ Extract all three process name sources for comparison @@ -163,21 +183,20 @@ class ProcessSpoofing(plugins.PluginInterface): task: task_struct object of the process Returns: - Tuple of (exe_path_basename, cmdline_basename, comm) + Tuple of (exe_basename, cmdline_basename, comm, is_deleted) """ - exe_path = self.get_executable_path(self.context, task) - exe_basename = PurePosixPath(exe_path).name if exe_path else None + exe_basename, is_deleted = self.get_executable_path(self.context, task) cmdline_basename = self.get_cmdline_basename(self.context, task) comm = self.get_comm(task) - return exe_basename, cmdline_basename, comm + return exe_basename, cmdline_basename, comm, is_deleted def _detect_spoofing( self, exe_basename: Optional[str], cmdline_basename: Optional[str], comm: Optional[str], - ) -> Tuple[bool, bool, bool]: + ) -> Tuple[bool, bool]: """ Analyze the three name sources to detect potential spoofing @@ -187,34 +206,26 @@ class ProcessSpoofing(plugins.PluginInterface): comm: Name from comm field Returns: - Tuple of (is_deleted, cmdline_spoofed, comm_spoofed) boolean flags + Tuple of (cmdline_spoofed, comm_spoofed) boolean flags """ - # Check if process image has been deleted - is_deleted = exe_basename and exe_basename.endswith(self.deleted) - - # Get clean basename for comparison (without " (deleted)" suffix) - clean_exe_basename = exe_basename - if is_deleted: - clean_exe_basename = exe_basename[: len(self.deleted) * -1] - # Skip kernel threads - need at least 2 sources for comparison available_sources = sum( - 1 for name in [clean_exe_basename, cmdline_basename, comm] if name + 1 for name in [exe_basename, cmdline_basename, comm] if name ) if available_sources < 2: - return False, False, False + return False, False # Check for cmdline spoofing cmdline_spoofed = False - if clean_exe_basename and cmdline_basename: - cmdline_spoofed = clean_exe_basename != cmdline_basename + if exe_basename and cmdline_basename: + cmdline_spoofed = exe_basename != cmdline_basename # Check for comm spoofing (comm is truncated to 15 characters) comm_spoofed = False - if clean_exe_basename and comm: - comm_spoofed = clean_exe_basename[:15] != comm + if exe_basename and comm: + comm_spoofed = exe_basename[:15] != comm - return is_deleted, cmdline_spoofed, comm_spoofed + return cmdline_spoofed, comm_spoofed def _generator(self, tasks) -> Iterator[Tuple[int, Tuple]]: """ @@ -231,13 +242,19 @@ class ProcessSpoofing(plugins.PluginInterface): pid = task.pid ppid = task.get_parent_pid() - exe_basename, cmdline_basename, comm = self._extract_process_names(task) + exe_basename, cmdline_basename, comm, is_deleted = ( + self._extract_process_names(task) + ) - is_deleted, cmdline_spoofed, comm_spoofed = self._detect_spoofing( + cmdline_spoofed, comm_spoofed = self._detect_spoofing( exe_basename, cmdline_basename, comm ) + # Prepare display values exe_render = exe_basename if exe_basename else "N/A" + if is_deleted and exe_basename: + exe_render += " (deleted)" + cmdline_render = cmdline_basename if cmdline_basename else "N/A" comm_render = comm if comm else "N/A" @@ -273,7 +290,7 @@ class ProcessSpoofing(plugins.PluginInterface): ("Comm", str), ("Cmdline_Spoofed", bool), ("Comm_Spoofed", bool), - ("Deleted", bool), + ("Exe_Deleted", bool), ], self._generator( pslist.PsList.list_tasks( From d384f62721aa578dfb6833768db2c043a6701447 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 25 Jun 2025 20:19:23 +0300 Subject: [PATCH 2128/2186] Plugins: make get_executable_path more accurate in process_spoofing --- .../framework/plugins/linux/malware/process_spoofing.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index 1c2b1a478..b9126c723 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -59,7 +59,7 @@ class ProcessSpoofing(plugins.PluginInterface): task: task_struct object of the process Returns: - Tuple of (basename, is_deleted) or (None, False) if not available + Tuple of (full_path, is_deleted) or (None, False) if not available """ is_deleted = False @@ -105,8 +105,7 @@ class ProcessSpoofing(plugins.PluginInterface): ) # Continue without deletion info - we still have the path - basename = PurePosixPath(exe_path).name - return basename, is_deleted + return exe_path, is_deleted @classmethod def get_cmdline_basename( @@ -185,7 +184,8 @@ class ProcessSpoofing(plugins.PluginInterface): Returns: Tuple of (exe_basename, cmdline_basename, comm, is_deleted) """ - exe_basename, is_deleted = self.get_executable_path(self.context, task) + exe_path, is_deleted = self.get_executable_path(self.context, task) + exe_basename = PurePosixPath(exe_path).name if exe_path else None cmdline_basename = self.get_cmdline_basename(self.context, task) comm = self.get_comm(task) From 9686b5ae8bc8b76ac9f0f81e90e5b951dfe994a3 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 1 Oct 2025 11:09:56 +0300 Subject: [PATCH 2129/2186] Plugins: utilize linuxutilities.path_for_file (deleted) logic solely --- .../plugins/linux/malware/process_spoofing.py | 38 ++++++------------- 1 file changed, 11 insertions(+), 27 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index b9126c723..35cbd79d4 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -71,7 +71,7 @@ class ProcessSpoofing(plugins.PluginInterface): if not mm or not mm.is_readable(): # Kernel threads don't have mm struct - return None, is_deleted + return None try: exe_file = mm.exe_file @@ -79,33 +79,20 @@ class ProcessSpoofing(plugins.PluginInterface): vollog.debug( f"Unable to access exe_file for task at {task.vol.offset:#x}: {e}" ) - return None, is_deleted + return None if not exe_file or not exe_file.is_readable(): - return None, is_deleted + return None try: - exe_inode = exe_file.f_path.dentry.d_inode exe_path = linux.LinuxUtilities.path_for_file(context, task, exe_file) except (exceptions.InvalidAddressException, AttributeError) as e: vollog.debug( f"Unable to read exe_file path for task at {task.vol.offset:#x}: {e}" ) - return None, is_deleted + return None - if not exe_path: - return None, is_deleted - - try: - # Check if the inode link count is 0 (process image has been deleted) - is_deleted = exe_inode.i_nlink == 0 - except (exceptions.InvalidAddressException, AttributeError) as e: - vollog.debug( - f"Unable to check inode link count for task at {task.vol.offset:#x}: {e}" - ) - # Continue without deletion info - we still have the path - - return exe_path, is_deleted + return exe_path @classmethod def get_cmdline_basename( @@ -184,12 +171,12 @@ class ProcessSpoofing(plugins.PluginInterface): Returns: Tuple of (exe_basename, cmdline_basename, comm, is_deleted) """ - exe_path, is_deleted = self.get_executable_path(self.context, task) + exe_path = self.get_executable_path(self.context, task) exe_basename = PurePosixPath(exe_path).name if exe_path else None cmdline_basename = self.get_cmdline_basename(self.context, task) comm = self.get_comm(task) - return exe_basename, cmdline_basename, comm, is_deleted + return exe_path, exe_basename, cmdline_basename, comm def _detect_spoofing( self, @@ -242,7 +229,7 @@ class ProcessSpoofing(plugins.PluginInterface): pid = task.pid ppid = task.get_parent_pid() - exe_basename, cmdline_basename, comm, is_deleted = ( + exe_path, exe_basename, cmdline_basename, comm = ( self._extract_process_names(task) ) @@ -250,10 +237,7 @@ class ProcessSpoofing(plugins.PluginInterface): exe_basename, cmdline_basename, comm ) - # Prepare display values - exe_render = exe_basename if exe_basename else "N/A" - if is_deleted and exe_basename: - exe_render += " (deleted)" + is_deleted = exe_path.endswith(" (deleted)") if exe_path else False cmdline_render = cmdline_basename if cmdline_basename else "N/A" comm_render = comm if comm else "N/A" @@ -263,7 +247,7 @@ class ProcessSpoofing(plugins.PluginInterface): ( pid, ppid, - exe_render, + exe_path, cmdline_render, comm_render, cmdline_spoofed, @@ -285,7 +269,7 @@ class ProcessSpoofing(plugins.PluginInterface): [ ("PID", int), ("PPID", int), - ("Exe_Basename", str), + ("Exe_Path", str), ("Cmdline_Basename", str), ("Comm", str), ("Cmdline_Spoofed", bool), From 1359a11f24cbb6bf5d09a31924d52cb2c920caa6 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 1 Oct 2025 11:13:57 +0300 Subject: [PATCH 2130/2186] Plugins: truncate deleted to check spoofing in process_spoofing --- .../framework/plugins/linux/malware/process_spoofing.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index 35cbd79d4..a0cee5e4b 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -169,10 +169,12 @@ class ProcessSpoofing(plugins.PluginInterface): task: task_struct object of the process Returns: - Tuple of (exe_basename, cmdline_basename, comm, is_deleted) + Tuple of (exe_path, exe_basename, cmdline_basename, comm) """ exe_path = self.get_executable_path(self.context, task) exe_basename = PurePosixPath(exe_path).name if exe_path else None + if exe_basename.endswith(" (deleted)"): + exe_basename = exe_basename[:-len(" (deleted)")] cmdline_basename = self.get_cmdline_basename(self.context, task) comm = self.get_comm(task) @@ -210,6 +212,7 @@ class ProcessSpoofing(plugins.PluginInterface): # Check for comm spoofing (comm is truncated to 15 characters) comm_spoofed = False if exe_basename and comm: + print(exe_basename, comm) comm_spoofed = exe_basename[:15] != comm return cmdline_spoofed, comm_spoofed From cbe5b46b8e542c4407af8389355f8c01dc15430f Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 1 Oct 2025 11:21:19 +0300 Subject: [PATCH 2131/2186] Plugins: process_spoofing change extract_process_names to classmethod --- .../plugins/linux/malware/process_spoofing.py | 34 +++++++++---------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index a0cee5e4b..fafca4da1 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -50,7 +50,7 @@ class ProcessSpoofing(plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, task: interfaces.objects.ObjectInterface, - ) -> Tuple[Optional[str], bool]: + ) -> Optional[str]: """ Extract the executable path from task_struct.mm.exe_file @@ -59,15 +59,14 @@ class ProcessSpoofing(plugins.PluginInterface): task: task_struct object of the process Returns: - Tuple of (full_path, is_deleted) or (None, False) if not available + Returns executable path or None if not available """ - is_deleted = False try: mm = task.mm except (exceptions.InvalidAddressException, AttributeError) as e: vollog.debug(f"Unable to access mm for task at {task.vol.offset:#x}: {e}") - return None, is_deleted + return None if not mm or not mm.is_readable(): # Kernel threads don't have mm struct @@ -159,24 +158,24 @@ class ProcessSpoofing(plugins.PluginInterface): vollog.debug(f"Unable to read comm for task at {task.vol.offset:#x}: {e}") return None - def _extract_process_names( - self, task: interfaces.objects.ObjectInterface - ) -> Tuple[Optional[str], Optional[str], Optional[str], bool]: + @classmethod + def extract_process_names( + cls, + context: interfaces.context.ContextInterface, + task: interfaces.objects.ObjectInterface, + ) -> Tuple[Optional[str], Optional[str], Optional[str], Optional[str], bool]: """ - Extract all three process name sources for comparison - - Args: - task: task_struct object of the process - + Extract all process name sources for comparison + Returns: Tuple of (exe_path, exe_basename, cmdline_basename, comm) """ - exe_path = self.get_executable_path(self.context, task) + exe_path = cls.get_executable_path(context, task) exe_basename = PurePosixPath(exe_path).name if exe_path else None - if exe_basename.endswith(" (deleted)"): + if exe_basename and exe_basename.endswith(" (deleted)"): exe_basename = exe_basename[:-len(" (deleted)")] - cmdline_basename = self.get_cmdline_basename(self.context, task) - comm = self.get_comm(task) + cmdline_basename = cls.get_cmdline_basename(context, task) + comm = cls.get_comm(task) return exe_path, exe_basename, cmdline_basename, comm @@ -212,7 +211,6 @@ class ProcessSpoofing(plugins.PluginInterface): # Check for comm spoofing (comm is truncated to 15 characters) comm_spoofed = False if exe_basename and comm: - print(exe_basename, comm) comm_spoofed = exe_basename[:15] != comm return cmdline_spoofed, comm_spoofed @@ -233,7 +231,7 @@ class ProcessSpoofing(plugins.PluginInterface): ppid = task.get_parent_pid() exe_path, exe_basename, cmdline_basename, comm = ( - self._extract_process_names(task) + self.extract_process_names(self.context, task) ) cmdline_spoofed, comm_spoofed = self._detect_spoofing( From c3ddc094cbcccda4fd70fdbd4375e2249d470b73 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 1 Oct 2025 11:27:46 +0300 Subject: [PATCH 2132/2186] Plugins: process spoofing handle none values and set more classmethods --- .../framework/plugins/linux/malware/process_spoofing.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index fafca4da1..428a79bc7 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -240,6 +240,8 @@ class ProcessSpoofing(plugins.PluginInterface): is_deleted = exe_path.endswith(" (deleted)") if exe_path else False + # Convert None values to strings for TreeGrid compatibility + exe_path_render = exe_path if exe_path else "N/A" cmdline_render = cmdline_basename if cmdline_basename else "N/A" comm_render = comm if comm else "N/A" @@ -248,7 +250,7 @@ class ProcessSpoofing(plugins.PluginInterface): ( pid, ppid, - exe_path, + exe_path_render, cmdline_render, comm_render, cmdline_spoofed, From 4cb326fb6ed8cefb79fb80b20014936757c52c32 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 1 Oct 2025 11:28:44 +0300 Subject: [PATCH 2133/2186] black and ruff --- .../framework/plugins/linux/malware/process_spoofing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index 428a79bc7..1048378b9 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -166,14 +166,14 @@ class ProcessSpoofing(plugins.PluginInterface): ) -> Tuple[Optional[str], Optional[str], Optional[str], Optional[str], bool]: """ Extract all process name sources for comparison - + Returns: Tuple of (exe_path, exe_basename, cmdline_basename, comm) """ exe_path = cls.get_executable_path(context, task) exe_basename = PurePosixPath(exe_path).name if exe_path else None if exe_basename and exe_basename.endswith(" (deleted)"): - exe_basename = exe_basename[:-len(" (deleted)")] + exe_basename = exe_basename[: -len(" (deleted)")] cmdline_basename = cls.get_cmdline_basename(context, task) comm = cls.get_comm(task) From 9c5950e5957f7e6980cc41708830aa74bdb47980 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 1 Oct 2025 11:29:15 +0300 Subject: [PATCH 2134/2186] Plugins: process_spoofing bump required_framework_version --- volatility3/framework/plugins/linux/malware/process_spoofing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index 1048378b9..941f1495e 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -20,7 +20,7 @@ vollog = logging.getLogger(__name__) class ProcessSpoofing(plugins.PluginInterface): """Detects process spoofing by comparing executable path to cmdline & comm fields""" - _required_framework_version = (2, 0, 0) + _required_framework_version = (2, 27, 0) _version = (1, 1, 0) @classmethod From d13de25b46c05abf19c2770d2cd6bcc13985ecdc Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 31 Dec 2025 00:26:09 +0200 Subject: [PATCH 2135/2186] Constants: add MAX_ARG_STRLEN linux constant --- volatility3/framework/constants/linux/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 72440e23e..793ef11e8 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -9,6 +9,10 @@ Linux-specific values that aren't found in debug symbols import enum from dataclasses import dataclass +# Exec argument limits +# Ref: include/uapi/linux/binfmts.h (linux.git commit f6031913338f1dad5bd8cb7286ff4e53644b6940) +MAX_ARG_STRLEN = 32 * 4096 + KERNEL_NAME = "__kernel__" """The value hard coded from the Linux Kernel (hence not extracted from the layer itself)""" From a2e033dfc8773a5583136752d06fdbe49db3304f Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:18:48 +0000 Subject: [PATCH 2136/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 4f16920cf..1709dfbfc 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -339,7 +339,7 @@ class Sockscan(plugins.PluginInterface): ) return None - def _generator(self, symbol_table_name: str): + def _generator(self, kernel_module_name: str): """Scans for sockets. Each row represents a kernel socket. Args: From 5205d2cee0212b0662007152d363393dbf0ed424 Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:19:08 +0000 Subject: [PATCH 2137/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 1709dfbfc..b15d7027b 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -343,7 +343,7 @@ class Sockscan(plugins.PluginInterface): """Scans for sockets. Each row represents a kernel socket. Args: - symbol_table_name: The name of the kernel module on which to operate + kernel_module_name: The name of the kernel module on which to operate Yields: addr: Physical offset From c7510f7e00c388c0c316d281ae78b0d4b03b0aff Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:19:37 +0000 Subject: [PATCH 2138/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index b15d7027b..02e673d84 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -358,7 +358,7 @@ class Sockscan(plugins.PluginInterface): """ # get vmlinux module from context in order to build objects and read symbols - vmlinux = self.context.modules[symbol_table_name] + vmlinux = self.context.modules[kernel_module_name] # get the memory layer that is to be scanned. memory_layer_name = self._find_memory_layer_name(symbol_table_name) From be11441ef0bd528f8dafc70f174682078cd4ef2d Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:19:50 +0000 Subject: [PATCH 2139/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 02e673d84..d30d819aa 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -361,7 +361,7 @@ class Sockscan(plugins.PluginInterface): vmlinux = self.context.modules[kernel_module_name] # get the memory layer that is to be scanned. - memory_layer_name = self._find_memory_layer_name(symbol_table_name) + memory_layer_name = self._find_memory_layer_name(kernel_module_name) memory_layer = self.context.layers[memory_layer_name] # use the init process to build a sock handler From 7ba46943bbd1faa130f7ac3730f5c5b440e64c1d Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:19:59 +0000 Subject: [PATCH 2140/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index d30d819aa..c6aaedf12 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -411,7 +411,7 @@ class Sockscan(plugins.PluginInterface): # if match is from file_ops_needles attempt to walk from file object to the sock if match in file_ops_needles: psock = self._walk_file_ops_needles( - symbol_table_name, memory_layer_name, needle_addr, f_op_offset + kernel_module_name, memory_layer_name, needle_addr, f_op_offset ) if psock is not None and sock_physical_addr not in seen_sock_physical_addr: From 3872133f5d99cfca014ca4314b4311a922f0708f Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:20:09 +0000 Subject: [PATCH 2141/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index c6aaedf12..caeb3fbf2 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -379,7 +379,7 @@ class Sockscan(plugins.PluginInterface): # Method 2 - find sockets by socket destructor directly inside sock objects socket_destructor_needles, sk_destruct_offset = self._find_sk_destruct_needles( - symbol_table_name + kernel_module_name ) # TODO Method 3 - find sock by sk_error_report symbols From 4fbd54361a43c1bced645adfbcf5dd187d7d28ca Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:20:20 +0000 Subject: [PATCH 2142/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index caeb3fbf2..3cf7277b8 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -375,7 +375,7 @@ class Sockscan(plugins.PluginInterface): progress_callback = self._progress_callback # Method 1 - find sockets by file operations, then follow pointers to sockets - file_ops_needles, f_op_offset = self._find_file_ops_needles(symbol_table_name) + file_ops_needles, f_op_offset = self._find_file_ops_needles(kernel_module_name) # Method 2 - find sockets by socket destructor directly inside sock objects socket_destructor_needles, sk_destruct_offset = self._find_sk_destruct_needles( From 35d24d8d1794c5f0f5e322c6104afe6dd51cbd9f Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:20:30 +0000 Subject: [PATCH 2143/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 3cf7277b8..7a230df78 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -193,7 +193,7 @@ class Sockscan(plugins.PluginInterface): def _walk_file_ops_needles( self, symbol_table_name, memory_layer_name, needle_addr, f_op_offset ): - vmlinux = self.context.modules[symbol_table_name] + vmlinux = self.context.modules[kernel_module_name] try: # create file in the memory_layer, the native layer matches the # kernel so that pointers can be followed From 13aa0dd2dc2aa80b80928933481c8f1a68570852 Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:20:44 +0000 Subject: [PATCH 2144/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 7a230df78..cd2998ce4 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -368,7 +368,7 @@ class Sockscan(plugins.PluginInterface): # TODO: look into options so that sockstat.SockHandlers so that process_sock can # be used without a task object. init_task = vmlinux.object_from_symbol(symbol_name="init_task") - sock_handler = sockstat.SockHandlers(self.context, symbol_table_name, init_task) + sock_handler = sockstat.SockHandlers(self.context, kernel_module_name, init_task) # get progress_callback in order to use this in the scanners. # TODO: perhaps add more detail to progress, showing method in progress and number of hits found From da6a1e54443206fac42e7624a9c3180ed04f7406 Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:20:57 +0000 Subject: [PATCH 2145/2186] Update volatility3/framework/plugins/linux/sockscan.py Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index cd2998ce4..38abcbf0a 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -57,7 +57,7 @@ class Sockscan(plugins.PluginInterface): ] def _canonicalize_symbol_addrs( - self, symbol_table_name: str, symbol_names: List[str] + self, kernel_module_name: str, symbol_names: List[str] ) -> Set[bytes]: """Takes a list of symbol names and converts the address of each to the bytes as they would appear in memory so that they can be scanned for. From 4369935be47669f17758015d5b0127be981582d4 Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:21:19 +0000 Subject: [PATCH 2146/2186] Apply suggestion from @ikelos Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 38abcbf0a..3091fba4d 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -65,7 +65,7 @@ class Sockscan(plugins.PluginInterface): Symbols that cannot be found are ignored and not included in the results. Args: - symbol_table_name: The name of the kernel module on which to operate + kernel_module_name: The name of the kernel module on which to operate symbol_names: A list of symbol names to be looked up Returns: From 55c0b9b0a84d60e21973f6aa3977ae4c0f7e4e8e Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:21:32 +0000 Subject: [PATCH 2147/2186] Apply suggestion from @ikelos Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 3091fba4d..fc65976de 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -72,7 +72,7 @@ class Sockscan(plugins.PluginInterface): A set of bytes which are the packed addresses. """ # get vmlinux module from context in order to build objects and read symbols - vmlinux = self.context.modules[symbol_table_name] + vmlinux = self.context.modules[kernel_module_name] # get kernel layer from context so that it's dependencies can be found, and therefore scanned. # kernel layer will be virtual and built ontop of a physical layer. From c47ab6ba1176ca5da3cf285d952f8df6dd3fd5a9 Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:21:47 +0000 Subject: [PATCH 2148/2186] Apply suggestion from @ikelos Co-authored-by: ikelos --- volatility3/framework/plugins/linux/sockscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index fc65976de..d99157b3b 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -112,7 +112,7 @@ class Sockscan(plugins.PluginInterface): return packed_needles - def _find_memory_layer_name(self, symbol_table_name: str): + def _find_memory_layer_name(self, kernel_module_name: str): """Find the memory layer below the kernel. Only returns a single layer, and will warn the user if multiple layers are found. From f11347739b065d54a4c72daf32ce31d0c783f501 Mon Sep 17 00:00:00 2001 From: Eve <120014766+eve-mem@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:22:48 +0000 Subject: [PATCH 2149/2186] Apply suggestions from code review Co-authored-by: ikelos --- .../framework/plugins/linux/sockscan.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index d99157b3b..116dfa4ae 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -117,14 +117,14 @@ class Sockscan(plugins.PluginInterface): and will warn the user if multiple layers are found. Args: - symbol_table_name: The name of the kernel module on which to operate. + kernel_module_name: The name of the kernel module on which to operate. Returns: memory_layer_name: The name of the layer below the kernel to be scanned. """ # get vmlinux module from context in order to build objects and read symbols - vmlinux = self.context.modules[symbol_table_name] + vmlinux = self.context.modules[kernel_module_name] # get kernel layer from context so that it's dependencies can be found, and therefore scanned. # kernel layer will be virtual and built ontop of a physical layer. @@ -150,16 +150,16 @@ class Sockscan(plugins.PluginInterface): return memory_layer_name - def _find_file_ops_needles(self, symbol_table_name: str): + def _find_file_ops_needles(self, kernel_module_name: str): # get vmlinux module from context in order to read symbols - vmlinux = self.context.modules[symbol_table_name] + vmlinux = self.context.modules[kernel_module_name] file_ops_symbol_names = [ "socket_file_ops", "sockfs_dentry_operations", ] file_ops_needles = self._canonicalize_symbol_addrs( - symbol_table_name, file_ops_symbol_names + kernel_module_name, file_ops_symbol_names ) # get file struct to find the offset to the f_op pointer # this is so that the file object can be created at the correct offset, @@ -168,9 +168,9 @@ class Sockscan(plugins.PluginInterface): return (file_ops_needles, f_op_offset) - def _find_sk_destruct_needles(self, symbol_table_name: str): + def _find_sk_destruct_needles(self, kernel_module_name: str): # get vmlinux module from context in order to read symbols - vmlinux = self.context.modules[symbol_table_name] + vmlinux = self.context.modules[kernel_module_name] socket_destructor_symbol_names = [ "sock_def_destruct", @@ -180,7 +180,7 @@ class Sockscan(plugins.PluginInterface): "inet_sock_destruct", ] socket_destructor_needles = self._canonicalize_symbol_addrs( - symbol_table_name, socket_destructor_symbol_names + kernel_module_name, socket_destructor_symbol_names ) # get sock struct to find the offset to the sk_destruct pointer # this is so that the sock object can be created at the correct offset, @@ -191,7 +191,7 @@ class Sockscan(plugins.PluginInterface): return (socket_destructor_needles, sk_destruct_offset) def _walk_file_ops_needles( - self, symbol_table_name, memory_layer_name, needle_addr, f_op_offset + self, kernel_module_name, memory_layer_name, needle_addr, f_op_offset ): vmlinux = self.context.modules[kernel_module_name] try: From 6aa552cd03d14837b593c34bf9a4b99a4f800bae Mon Sep 17 00:00:00 2001 From: eve Date: Wed, 31 Dec 2025 12:25:22 +0000 Subject: [PATCH 2150/2186] Fix black formatting in sockscan --- volatility3/framework/plugins/linux/sockscan.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 116dfa4ae..984c503b8 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -368,7 +368,9 @@ class Sockscan(plugins.PluginInterface): # TODO: look into options so that sockstat.SockHandlers so that process_sock can # be used without a task object. init_task = vmlinux.object_from_symbol(symbol_name="init_task") - sock_handler = sockstat.SockHandlers(self.context, kernel_module_name, init_task) + sock_handler = sockstat.SockHandlers( + self.context, kernel_module_name, init_task + ) # get progress_callback in order to use this in the scanners. # TODO: perhaps add more detail to progress, showing method in progress and number of hits found From 66ec4f43723af757630f3ca3293cf47825f7ad7f Mon Sep 17 00:00:00 2001 From: eve Date: Wed, 31 Dec 2025 12:49:45 +0000 Subject: [PATCH 2151/2186] Linux: update sockstat docstring for _walk_file_ops_needles. Rename physical_memory_layer_name for clarity --- .../framework/plugins/linux/sockscan.py | 26 ++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 984c503b8..0056a1925 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -191,8 +191,28 @@ class Sockscan(plugins.PluginInterface): return (socket_destructor_needles, sk_destruct_offset) def _walk_file_ops_needles( - self, kernel_module_name, memory_layer_name, needle_addr, f_op_offset + self, + kernel_module_name: str, + physical_memory_layer_name: str, + needle_addr: int, + f_op_offset: int, ): + """ + This method attempts to walk from the f_op member of files to the + corresponding socket. If sucessful the socket object is created on the + memory layer and returned. + + Args: + kernel_module_name (str): The name of the kernel module from which, + to retrieve the file operations. + physical_memory_layer_name (str): The name of the physical memory layer that was scanned + needle_addr: The address of the needle that was found during the scanning + f_op_offset: The offset to the f_op member of the file type + + Returns: + psock: The sock object that was built on the memory layer + """ + vmlinux = self.context.modules[kernel_module_name] try: # create file in the memory_layer, the native layer matches the @@ -201,7 +221,7 @@ class Sockscan(plugins.PluginInterface): pfile = self.context.object( vmlinux.symbol_table_name + constants.BANG + "file", offset=sock_physical_addr, - layer_name=memory_layer_name, + layer_name=physical_memory_layer_name, native_layer_name=vmlinux.layer_name, ) dentry = pfile.get_dentry() @@ -248,7 +268,7 @@ class Sockscan(plugins.PluginInterface): psock = self.context.object( vmlinux.symbol_table_name + constants.BANG + "sock", offset=physical_sock_offset, - layer_name=memory_layer_name, + layer_name=physical_memory_layer_name, native_layer_name=vmlinux.layer_name, ) From 94f989be7ab0fe7704ca69d134b29f27d8a3a84b Mon Sep 17 00:00:00 2001 From: eve Date: Wed, 31 Dec 2025 12:54:41 +0000 Subject: [PATCH 2152/2186] Linux: update sockscan to add docstring to _find_file_ops_needles --- volatility3/framework/plugins/linux/sockscan.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/volatility3/framework/plugins/linux/sockscan.py b/volatility3/framework/plugins/linux/sockscan.py index 0056a1925..9288d85f0 100644 --- a/volatility3/framework/plugins/linux/sockscan.py +++ b/volatility3/framework/plugins/linux/sockscan.py @@ -151,6 +151,16 @@ class Sockscan(plugins.PluginInterface): return memory_layer_name def _find_file_ops_needles(self, kernel_module_name: str): + """Retrieves socket file symbols and the offset to the 'f_op' pointer. + + Args: + kernel_module_name (str): The name of the kernel module to search. + + Returns: + Tuple[List[int], int]: A list of file symbol addresses and, + the offset to the 'f_op' pointer. + """ + # get vmlinux module from context in order to read symbols vmlinux = self.context.modules[kernel_module_name] From 2478c1398eb5b0afebc78d237a710d6d2aa760f1 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 31 Dec 2025 20:06:50 +0200 Subject: [PATCH 2153/2186] Plugins: get first argument using utility.address_to_string in process_spoofing --- .../plugins/linux/malware/process_spoofing.py | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index 941f1495e..64f3274e9 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -7,6 +7,7 @@ from pathlib import PurePosixPath from typing import Optional, Tuple, Iterator from volatility3.framework import exceptions, interfaces, renderers +from volatility3.framework.constants import linux as linux_constants from volatility3.framework.configuration import requirements from volatility3.framework.interfaces import plugins from volatility3.framework.objects import utility @@ -117,30 +118,35 @@ class ProcessSpoofing(plugins.PluginInterface): if proc_layer_name is None: return None - proc_layer = context.layers[proc_layer_name] start = task.mm.arg_start size_to_read = task.mm.arg_end - task.mm.arg_start - if not (0 < size_to_read <= 4096): + if size_to_read <= 0: return None + read_length = min(size_to_read, linux_constants.MAX_ARG_STRLEN) + try: - argv = proc_layer.read(start, size_to_read) + cmdline = utility.address_to_string( + context=context, + layer_name=proc_layer_name, + address=start, + count=read_length, + errors="replace", + encoding="utf-8" + ) except exceptions.InvalidAddressException as e: vollog.debug( f"Unable to read cmdline for task at {task.vol.offset:#x}: {e}" ) return None - # Parse the arguments - they are null byte terminated - args_str = argv.decode(encoding="utf8", errors="replace") - args_list = args_str.split("\x00") - if args_list and args_list[0]: - basename = PurePosixPath(args_list[0]).name - return basename - else: + if not cmdline: return None + basename = PurePosixPath(cmdline).name + return basename if basename else None + @classmethod def get_comm(cls, task: interfaces.objects.ObjectInterface) -> Optional[str]: """ From 088a64379cddf40f6d7f8c4465724233338ba111 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 31 Dec 2025 20:13:01 +0200 Subject: [PATCH 2154/2186] black --- volatility3/framework/plugins/linux/malware/process_spoofing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index 64f3274e9..0d64861b2 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -133,7 +133,7 @@ class ProcessSpoofing(plugins.PluginInterface): address=start, count=read_length, errors="replace", - encoding="utf-8" + encoding="utf-8", ) except exceptions.InvalidAddressException as e: vollog.debug( From e8087dd68d77391ca6a201abb9a64a558e104a13 Mon Sep 17 00:00:00 2001 From: SolitudePy <47316655+SolitudePy@users.noreply.github.com> Date: Wed, 31 Dec 2025 20:23:05 +0200 Subject: [PATCH 2155/2186] Plugins: process_spoofing put reference in docstring --- .../plugins/linux/malware/process_spoofing.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/process_spoofing.py b/volatility3/framework/plugins/linux/malware/process_spoofing.py index 0d64861b2..493a1de9a 100644 --- a/volatility3/framework/plugins/linux/malware/process_spoofing.py +++ b/volatility3/framework/plugins/linux/malware/process_spoofing.py @@ -17,9 +17,11 @@ from volatility3.plugins.linux import pslist vollog = logging.getLogger(__name__) -# https://github.com/SolitudePy/linux-mal class ProcessSpoofing(plugins.PluginInterface): - """Detects process spoofing by comparing executable path to cmdline & comm fields""" + """Detects process spoofing by comparing executable path to cmdline & comm fields. + + Examples of such behavior can be found here: https://github.com/SolitudePy/linux-mal + """ _required_framework_version = (2, 27, 0) _version = (1, 1, 0) @@ -101,7 +103,12 @@ class ProcessSpoofing(plugins.PluginInterface): task: interfaces.objects.ObjectInterface, ) -> Optional[str]: """ - Extract the command line arguments and return the basename of the first argument + Extract the command line arguments and return the basename of the first argument. + + Notes: + The read length is capped at ``MAX_ARG_STRLEN`` (32 * 4096) per the + kernel limit defined in ``include/uapi/linux/binfmts.h`` (see + linux.git commit f6031913338f1dad5bd8cb7286ff4e53644b6940). Args: context: The context to operate on From b461e77c5e34dd82c8849ed5ef60d654c04ddba7 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 4 Jan 2026 14:14:42 +0000 Subject: [PATCH 2156/2186] Rebased version of the fix for issue1255 --- .../framework/automagic/symbol_cache.py | 50 ++++++++++++++++--- 1 file changed, 44 insertions(+), 6 deletions(-) diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index 327575e96..a347165f7 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -239,7 +239,16 @@ class SqliteCache(CacheManagerInterface): results = self._database.cursor().execute(statement, parameters).fetchall() result = None for row in results: - result = row["location"] + local_filepath = self._get_local_filepath(row["location"]) + if not ( + local_filepath is None + or local_filepath.startswith(tuple(constants.SYMBOL_BASEPATHS)) + ): + vollog.debug( + f"Location {row['location']} found but outside of the registered symbol paths" + ) + else: + result = row["location"] return result def get_local_locations(self) -> Generator[str, None, None]: @@ -249,7 +258,11 @@ class SqliteCache(CacheManagerInterface): .fetchall() ) for row in result: - yield row["location"] + local_filepath = self._get_local_filepath(row["location"]) + if local_filepath and local_filepath.startswith( + tuple(constants.SYMBOL_BASEPATHS) + ): + yield row["location"] def is_url_local(self, url: str) -> bool: """Determines whether an url is local or not""" @@ -296,6 +309,20 @@ class SqliteCache(CacheManagerInterface): return row["hash"] return None + def _get_local_filepath( + self, location: str, local_only: bool = True + ) -> Optional[str]: + # See if the file is a local URL type we can handle: + parsed = urllib.parse.urlparse(location) + pathname = location if not local_only else None + if parsed.scheme == "file": + pathname = parsed.path + if parsed.scheme == "jar": + inner_url = urllib.parse.urlparse(parsed.path) + if inner_url.scheme == "file": + pathname = inner_url.path.split("!")[0] + return pathname + def update(self, progress_callback=None): """Locates all files under the symbol directories. Updates the cache with additions, modifications and removals. This also updates remote locations based on a cache timeout. @@ -343,7 +370,7 @@ class SqliteCache(CacheManagerInterface): parsed = urllib.parse.urlparse(location) pathname = None if parsed.scheme == "file": - pathname = urllib.request.url2pathname(parsed.path) + pathname = parsed.path if parsed.scheme == "jar": inner_url = urllib.parse.urlparse(parsed.path) if inner_url.scheme == "file": @@ -461,7 +488,7 @@ class SqliteCache(CacheManagerInterface): def get_identifier_dictionary( self, operating_system: Optional[str] = None, local_only: bool = False ) -> Dict[bytes, str]: - output = {} + output: Dict[bytes, str] = {} additions = [] statement = "SELECT location, identifier FROM cache" if local_only: @@ -476,7 +503,15 @@ class SqliteCache(CacheManagerInterface): vollog.debug( f"Duplicate entry for identifier {row['identifier']}: {row['location']} and {output[row['identifier']]}" ) - output[row["identifier"]] = row["location"] + local_filepath = self._get_local_filepath(row["location"]) + if local_filepath and not local_filepath.startswith( + tuple(constants.SYMBOL_BASEPATHS) + ): + vollog.debug( + f"Location {row['location']} was not in the registered symbol paths and therefore not in the identifier dictionary" + ) + else: + output[row["identifier"]] = row["location"] return output def get_identifiers(self, operating_system: Optional[str]) -> List[bytes]: @@ -533,7 +568,10 @@ class SymbolCacheMagic(interfaces.automagic.AutomagicInterface): def __call__(self, context, config_path, configurable, progress_callback=None): """Runs the automagic over the configurable.""" - self._cache.update(progress_callback) + try: + self._cache.update(progress_callback) + except Exception as excp: + vollog.debug(f"Excption during cache update: {excp}") @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 0da666fbbacde629abfcc90998edefcb92aaec9a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 4 Jan 2026 14:19:32 +0000 Subject: [PATCH 2157/2186] Reduce code reuse --- volatility3/framework/automagic/symbol_cache.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index a347165f7..ff75e86c6 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -367,15 +367,7 @@ class SqliteCache(CacheManagerInterface): timestamp = stored_timestamp # Default to requiring update # See if the file is a local URL type we can handle: - parsed = urllib.parse.urlparse(location) - pathname = None - if parsed.scheme == "file": - pathname = parsed.path - if parsed.scheme == "jar": - inner_url = urllib.parse.urlparse(parsed.path) - if inner_url.scheme == "file": - pathname = inner_url.path.split("!")[0] - + pathname = self._get_local_filepath(location) if pathname and os.path.exists(pathname): timestamp = datetime.datetime.fromtimestamp( os.stat(pathname).st_mtime From 9d67420d0ebe827e508884b02230f5a42103a021 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 8 Jan 2026 21:59:03 +0000 Subject: [PATCH 2158/2186] Improve windows intel detection for Windows 11 --- volatility3/framework/automagic/windows.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index 7d56b01b3..af5d4809d 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -153,8 +153,7 @@ class DtbSelfRefPae(DtbSelfReferential): # Mask off the page bits of top level page map page_table_mask = b"\x00\xf0\xff\xff\xff\xff\xff\xff" * 4 page_table = data[ - top_pae_page - - data_offset : top_pae_page + top_pae_page - data_offset : top_pae_page - data_offset + (4 * self.ptr_size) ] @@ -200,7 +199,7 @@ class WindowsIntelStacker(interfaces.automagic.StackerLayerInterface): ( "Detecting Self-referential pointer for recent windows", [DtbSelfRef64bit()], - [(0x150000, 0x150000), (0x650000, 0xA0000)], + [(0x150000, 0x150000), (0x550000, 0xA0000)], ), ( "Older windows fixed location self-referential pointers", @@ -305,9 +304,20 @@ class WindowsIntelStacker(interfaces.automagic.StackerLayerInterface): hits = sorted(list(hits), key=sort_by_tests) + vollog.debug(f"WindowsIntelStacker hits: {hits}") + for test, page_map_offset in hits: # Turn the page tables into integers and find the largest one page_table = base_layer.read(page_map_offset, 0x1000) + + # Modern windows can have a dummy page table with only about 2 entries, so sanity check + null_count = sum([1 if page_table[x] else 0 for x in page_table]) + if null_count > 0xFA0: + vollog.debug( + f"DTB {page_map_offset:x} contains less than 12 valid pointers, ignoring" + ) + continue + ptr_size = struct.calcsize(test.ptr_struct) max_pointer = get_max_pointer(page_table, test, ptr_size) From 1abd67746f456eea3db2edbf14d6a79398de35d8 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 8 Jan 2026 22:04:18 +0000 Subject: [PATCH 2159/2186] Appease black --- volatility3/framework/automagic/windows.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index af5d4809d..5ba531d1a 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -153,7 +153,8 @@ class DtbSelfRefPae(DtbSelfReferential): # Mask off the page bits of top level page map page_table_mask = b"\x00\xf0\xff\xff\xff\xff\xff\xff" * 4 page_table = data[ - top_pae_page - data_offset : top_pae_page + top_pae_page + - data_offset : top_pae_page - data_offset + (4 * self.ptr_size) ] From d0ed42456cb24fbcf3f10ec3419618c168cdc575 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 8 Jan 2026 22:34:32 +0000 Subject: [PATCH 2160/2186] Increment the size of the amount scanned, not just the start location --- volatility3/framework/automagic/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index 5ba531d1a..cd584b6a1 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -200,7 +200,7 @@ class WindowsIntelStacker(interfaces.automagic.StackerLayerInterface): ( "Detecting Self-referential pointer for recent windows", [DtbSelfRef64bit()], - [(0x150000, 0x150000), (0x550000, 0xA0000)], + [(0x150000, 0x150000), (0x550000, 0x1A0000)], ), ( "Older windows fixed location self-referential pointers", From 9949565bd8c0690154773b622a70f4dc7e917306 Mon Sep 17 00:00:00 2001 From: kyrre Date: Wed, 14 Jan 2026 19:55:43 +0100 Subject: [PATCH 2161/2186] use pa.bytes instead of pa.utf8 for format_hints.MultiTypeData --- volatility3/framework/plugins/renderers/parquet_renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/renderers/parquet_renderer.py b/volatility3/framework/plugins/renderers/parquet_renderer.py index f4eaf9c9b..c08fa7231 100644 --- a/volatility3/framework/plugins/renderers/parquet_renderer.py +++ b/volatility3/framework/plugins/renderers/parquet_renderer.py @@ -52,7 +52,7 @@ class ArrowRenderer(text_renderer.CLIRenderer): datetime.datetime: lambda: pa.timestamp("ms"), format_hints.Bin: pa.uint64, format_hints.Hex: pa.uint64, - format_hints.MultiTypeData: pa.utf8, + format_hints.MultiTypeData: pa.binary, format_hints.HexBytes: pa.binary, renderers.LayerData: pa.binary, bytes: pa.binary, From 6b9a6f84c342608cc8817e33556629fb5a4c7110 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 29 Jan 2026 20:39:09 +0000 Subject: [PATCH 2162/2186] Bump year for copyrights to 2026 --- README.md | 2 +- doc/source/conf.py | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 79401a18f..8c5332a90 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ The latest generated copy of the documentation can be found at: Date: Thu, 29 Jan 2026 21:04:51 +0000 Subject: [PATCH 2163/2186] Add arrow support to pyinstaller build --- .github/workflows/build-pyinstaller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-pyinstaller.yml b/.github/workflows/build-pyinstaller.yml index 7d9d86fb0..a667eed03 100644 --- a/.github/workflows/build-pyinstaller.yml +++ b/.github/workflows/build-pyinstaller.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install --upgrade pip pip install pyinstaller - pip install -e .[full,cloud] + pip install -e .[full,cloud,arrow] - name: Pyinstall executable run: | From 881d4e85e8cd7864a613e70240e2ef1c1415752e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 31 Jan 2026 17:53:30 +0000 Subject: [PATCH 2164/2186] Add in intial support for locating windows 'banners' --- volatility3/framework/plugins/banners.py | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/banners.py b/volatility3/framework/plugins/banners.py index eea39206d..85a6f4862 100644 --- a/volatility3/framework/plugins/banners.py +++ b/volatility3/framework/plugins/banners.py @@ -4,10 +4,11 @@ import logging from typing import List -from volatility3.framework import interfaces, renderers, layers +from volatility3.framework import constants, interfaces, layers, renderers from volatility3.framework.configuration import requirements from volatility3.framework.layers import scanners from volatility3.framework.renderers import format_hints +from volatility3.framework.symbols.windows import pdbutil vollog = logging.getLogger(__name__) @@ -16,6 +17,7 @@ class Banners(interfaces.plugins.PluginInterface): """Attempts to identify potential linux banners in an image""" _required_framework_version = (2, 0, 0) + _version = (1, 1, 0) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -42,6 +44,7 @@ class Banners(interfaces.plugins.PluginInterface): cls, context: interfaces.context.ContextInterface, layer_name: str ): """Identifies banners from a memory image""" + # Look for likely linux/mac banners layer = context.layers[layer_name] for offset in layer.scan( context=context, @@ -64,6 +67,25 @@ class Banners(interfaces.plugins.PluginInterface): format_hints.Hex(offset), str(data, encoding="latin-1", errors="?"), ) + yield from cls.locate_windows_banners(context, layer_name) + + @classmethod + def locate_windows_banners( + cls, context: interfaces.context.ContextInterface, layer_name: str + ): + layer = context.layers[layer_name] + kernel_pdb_names = [ + bytes(name + ".pdb", "utf-8") + for name in constants.windows.KERNEL_MODULE_NAMES + ] + for guid, age, pdb_name, offset in layer.scan( + context=context, + scanner=pdbutil.PdbSignatureScanner(kernel_pdb_names), + ): + yield ( + format_hints.Hex(offset), + f"{pdb_name.decode('latin-1')} - {guid}-{age}", + ) def run(self): return renderers.TreeGrid( From 1b58e7e25b319785a116c1d7bdbeafbda58a754e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 31 Jan 2026 17:58:45 +0000 Subject: [PATCH 2165/2186] Add version to pdb signature scanner and require it for the banners plugin --- volatility3/framework/plugins/banners.py | 5 +++++ volatility3/framework/symbols/windows/pdbutil.py | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/banners.py b/volatility3/framework/plugins/banners.py index 85a6f4862..2b354edcb 100644 --- a/volatility3/framework/plugins/banners.py +++ b/volatility3/framework/plugins/banners.py @@ -30,6 +30,11 @@ class Banners(interfaces.plugins.PluginInterface): component=scanners.RegExScanner, version=(1, 0, 0), ), + requirements.VersionRequirement( + name="pdb_signature_scanner", + component=pdbutil.PdbSignatureScanner, + version=(1, 0, 0), + ), ] def _generator(self): diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index 5f5c8cac8..d1ea4abd5 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -525,6 +525,10 @@ class PdbSignatureScanner(interfaces.layers.ScannerInterface): .. note:: The pdb_names must be a list of byte strings, unicode strs will not match against the data scanned """ + _version = (1, 0, 0) + + _required_framework_version = (2, 27, 0) + overlap = 0x4000 """The size of overlap needed for the signature to ensure data cannot hide between two scanned chunks""" thread_safe = True @@ -548,9 +552,7 @@ class PdbSignatureScanner(interfaces.layers.ScannerInterface): ) for match in re.finditer(pattern, data, flags=re.DOTALL): pdb_name = data[ - match.start(0) - + 4 - + self._RSDS_format.size : match.start(0) + match.start(0) + 4 + self._RSDS_format.size : match.start(0) + len(match.group()) - 1 ] From 743927d6a2c3ebb2c531e274127f91062ff2455a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 31 Jan 2026 18:00:07 +0000 Subject: [PATCH 2166/2186] Make black happy --- volatility3/framework/symbols/windows/pdbutil.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index d1ea4abd5..af86f6997 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -552,7 +552,9 @@ class PdbSignatureScanner(interfaces.layers.ScannerInterface): ) for match in re.finditer(pattern, data, flags=re.DOTALL): pdb_name = data[ - match.start(0) + 4 + self._RSDS_format.size : match.start(0) + match.start(0) + + 4 + + self._RSDS_format.size : match.start(0) + len(match.group()) - 1 ] From 48a5000f78fcd386cf29673104a7ee917756aa16 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 31 Jan 2026 18:03:55 +0000 Subject: [PATCH 2167/2186] Make the output of banners match the identifier in isfinfo --- volatility3/framework/plugins/banners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/banners.py b/volatility3/framework/plugins/banners.py index 2b354edcb..69a1ee2b7 100644 --- a/volatility3/framework/plugins/banners.py +++ b/volatility3/framework/plugins/banners.py @@ -89,7 +89,7 @@ class Banners(interfaces.plugins.PluginInterface): ): yield ( format_hints.Hex(offset), - f"{pdb_name.decode('latin-1')} - {guid}-{age}", + f"{pdb_name.decode('latin-1')}|{guid}|{age}", ) def run(self): From fd22429b0b5a570d04dd5bdc7515df8e63f38c0d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 19 Feb 2026 20:20:10 +0000 Subject: [PATCH 2168/2186] Ubunutu-latest no longer supports 3.9 --- .github/workflows/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 9b9cbed4d..fbc07cae9 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -8,7 +8,7 @@ jobs: fail-fast: false matrix: host: [ ubuntu-latest, windows-latest ] - python-version: [ "3.8", "3.9", "3.10", "3.11" ] + python-version: [ "3.10", "3.11", "3.12", "3.13" ] steps: - uses: actions/checkout@v4 From 81fae3a83b604aff08d7a376397117a572522711 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 19 Feb 2026 22:48:03 +0000 Subject: [PATCH 2169/2186] We weren't breaking between accumulating lines and outputting them --- volatility3/framework/plugins/timeliner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility3/framework/plugins/timeliner.py b/volatility3/framework/plugins/timeliner.py index f65868705..ddcc393f4 100644 --- a/volatility3/framework/plugins/timeliner.py +++ b/volatility3/framework/plugins/timeliner.py @@ -153,6 +153,8 @@ orders the results by time.""" ) times[timestamp_type] = timestamp self.timeline[(plugin_name, item)] = times + + for plugin_name, item in self.timeline: data.append( ( 0, From e095851ab962dc8ee8a257c92f26ea3b60b9e345 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 20 Feb 2026 18:34:33 +0000 Subject: [PATCH 2170/2186] Improve Win11 DTB detection It seems windows 11 has started moving the DTB further afield. This change adds another region located empirically, so it might need extending for everything between the second and third regions potentially. It may also be possible to shrink the third region, but that will need more example images (it's still not clear what causes the use of the higher DTB, although the image it was found in was 18Gb). --- volatility3/framework/automagic/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index cd584b6a1..bed2a4376 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -200,7 +200,7 @@ class WindowsIntelStacker(interfaces.automagic.StackerLayerInterface): ( "Detecting Self-referential pointer for recent windows", [DtbSelfRef64bit()], - [(0x150000, 0x150000), (0x550000, 0x1A0000)], + [(0x150000, 0x150000), (0x550000, 0x1A0000), (0x900000, 0x100000)], ), ( "Older windows fixed location self-referential pointers", From 5606baf4e604d91b62813adedd23d1eb617a98b7 Mon Sep 17 00:00:00 2001 From: "androsh7@gmail.com" Date: Sun, 1 Mar 2026 22:14:40 -0500 Subject: [PATCH 2171/2186] Added argument to set default encoding to utf-8 --- vol.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vol.py b/vol.py index c49d5985d..8c9701bfd 100755 --- a/vol.py +++ b/vol.py @@ -5,7 +5,12 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # +import sys + import volatility3.cli if __name__ == "__main__": + # Ensure stdout/stderr use UTF-8 to avoid output encoding errors on Windows systems + sys.stderr.reconfigure(encoding="utf-8") + sys.stdout.reconfigure(encoding="utf-8") volatility3.cli.main() From 55cd4d9759931036e94d781795ec99e46049423c Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Fri, 6 Mar 2026 14:24:48 +0100 Subject: [PATCH 2172/2186] adjust dummy page table check --- volatility3/framework/automagic/windows.py | 38 +++++++++++++++------- 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index bed2a4376..f627043db 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -287,22 +287,38 @@ class WindowsIntelStacker(interfaces.automagic.StackerLayerInterface): """Key used to sort by tests""" return tests.index(x[0]), x[1] - def get_max_pointer(page_table, test, ptr_size: int): - """Determines a pointer from a page_table""" - max_ptr = 0 + def get_valid_page_table_pointers(page_table, ptr_size: int): + """Yields valid pointers from a page table""" for index in range(0, len(page_table), ptr_size): pointer = struct.unpack( test.ptr_struct, page_table[index : index + ptr_size] )[0] # Make sure the pointer is valid, ignore large pages which would require more calculation if pointer & 0x1 and not pointer & 0x80: - max_ptr = max( - max_ptr, - (pointer ^ (pointer & 0xFFF)) - % test.layer_type.maximum_address, - ) + yield pointer + + def get_max_pointer(page_table, test, ptr_size: int): + """Determines a pointer from a page_table""" + max_ptr = 0 + for pointer in get_valid_page_table_pointers(page_table, ptr_size): + max_ptr = max( + max_ptr, + (pointer ^ (pointer & 0xFFF)) % test.layer_type.maximum_address, + ) return max_ptr + def page_table_is_dummy(page_table, ptr_size: int): + """Verify that a page table has at least 12 valid pointers""" + valid_pointers = 0 + for _ in get_valid_page_table_pointers(page_table, ptr_size): + valid_pointers += 1 + # 12 is an arbitrary constant + if valid_pointers >= 12: + # Do not consume the entire generator to enhance performance + return False + + return True + hits = sorted(list(hits), key=sort_by_tests) vollog.debug(f"WindowsIntelStacker hits: {hits}") @@ -310,16 +326,14 @@ class WindowsIntelStacker(interfaces.automagic.StackerLayerInterface): for test, page_map_offset in hits: # Turn the page tables into integers and find the largest one page_table = base_layer.read(page_map_offset, 0x1000) - + ptr_size = struct.calcsize(test.ptr_struct) # Modern windows can have a dummy page table with only about 2 entries, so sanity check - null_count = sum([1 if page_table[x] else 0 for x in page_table]) - if null_count > 0xFA0: + if page_table_is_dummy(page_table, ptr_size): vollog.debug( f"DTB {page_map_offset:x} contains less than 12 valid pointers, ignoring" ) continue - ptr_size = struct.calcsize(test.ptr_struct) max_pointer = get_max_pointer(page_table, test, ptr_size) if max_pointer <= base_layer.maximum_address: From d3a9481a31d092963dc3c9e50b5da435d3f6ab14 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 8 Mar 2026 20:29:18 +0000 Subject: [PATCH 2173/2186] Tidy the threshold code for empty DTBs using code from @abyss-w4tcher and reduce it slightly --- volatility3/framework/automagic/windows.py | 37 ++++++++++++++-------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index bed2a4376..b9c9bedf9 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -153,8 +153,7 @@ class DtbSelfRefPae(DtbSelfReferential): # Mask off the page bits of top level page map page_table_mask = b"\x00\xf0\xff\xff\xff\xff\xff\xff" * 4 page_table = data[ - top_pae_page - - data_offset : top_pae_page + top_pae_page - data_offset : top_pae_page - data_offset + (4 * self.ptr_size) ] @@ -287,22 +286,35 @@ class WindowsIntelStacker(interfaces.automagic.StackerLayerInterface): """Key used to sort by tests""" return tests.index(x[0]), x[1] - def get_max_pointer(page_table, test, ptr_size: int): - """Determines a pointer from a page_table""" - max_ptr = 0 + def get_valid_page_table_pointers(page_table, ptr_size: int): for index in range(0, len(page_table), ptr_size): pointer = struct.unpack( test.ptr_struct, page_table[index : index + ptr_size] )[0] # Make sure the pointer is valid, ignore large pages which would require more calculation if pointer & 0x1 and not pointer & 0x80: - max_ptr = max( - max_ptr, - (pointer ^ (pointer & 0xFFF)) - % test.layer_type.maximum_address, - ) + yield pointer + + def get_max_pointer(page_table, test, ptr_size: int): + """Determines a pointer from a page_table""" + max_ptr = 0 + for pointer in get_valid_page_table_pointers(page_table, ptr_size): + max_ptr = max( + max_ptr, + (pointer ^ (pointer & 0xFFF)) % test.layer_type.maximum_address, + ) return max_ptr + def page_table_is_dummy(page_table, ptr_size): + valid_pointers = 0 + for _ in get_valid_page_table_pointers(page_table, ptr_size): + valid_pointers += 1 + if valid_pointers >= 10: + # Do not consume the entire generator to enhance performance + return False + vollog.debug(f"Found {valid_pointers} valid pointers") + return True + hits = sorted(list(hits), key=sort_by_tests) vollog.debug(f"WindowsIntelStacker hits: {hits}") @@ -310,16 +322,15 @@ class WindowsIntelStacker(interfaces.automagic.StackerLayerInterface): for test, page_map_offset in hits: # Turn the page tables into integers and find the largest one page_table = base_layer.read(page_map_offset, 0x1000) + ptr_size = struct.calcsize(test.ptr_struct) # Modern windows can have a dummy page table with only about 2 entries, so sanity check - null_count = sum([1 if page_table[x] else 0 for x in page_table]) - if null_count > 0xFA0: + if page_table_is_dummy(page_table, ptr_size): vollog.debug( f"DTB {page_map_offset:x} contains less than 12 valid pointers, ignoring" ) continue - ptr_size = struct.calcsize(test.ptr_struct) max_pointer = get_max_pointer(page_table, test, ptr_size) if max_pointer <= base_layer.maximum_address: From 98e2f7a1f5132064497009451e443c9ced8d03b8 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 8 Mar 2026 20:35:33 +0000 Subject: [PATCH 2174/2186] Put back in the debugging line --- volatility3/framework/automagic/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index af4fa4ca9..e57bf6974 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -315,7 +315,7 @@ class WindowsIntelStacker(interfaces.automagic.StackerLayerInterface): if valid_pointers >= 10: # Do not consume the entire generator to enhance performance return False - + vollog.debug(f"Found {valid_pointers} valid pointers") return True hits = sorted(list(hits), key=sort_by_tests) From 013921e78728a464d5ddf4b545bbbd188e257fdb Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 8 Mar 2026 20:48:02 +0000 Subject: [PATCH 2175/2186] Switch to using ruff for formatting as well as linting --- .github/workflows/black.yml | 15 ------------- .github/workflows/ruff.yaml | 4 +++- volatility3/cli/text_renderer.py | 6 ++--- volatility3/framework/automagic/linux.py | 4 +--- volatility3/framework/layers/avml.py | 3 +-- volatility3/framework/objects/__init__.py | 6 ++--- .../plugins/linux/malware/malfind.py | 7 +++++- .../framework/plugins/linux/pidhashtable.py | 8 ++----- volatility3/framework/plugins/linux/proc.py | 6 ++--- .../plugins/linux/tracing/perf_events.py | 4 +++- .../framework/plugins/mac/proc_maps.py | 6 ++--- volatility3/framework/plugins/mac/pslist.py | 4 +++- .../plugins/windows/getservicesids.py | 4 +--- .../plugins/windows/malware/pebmasquerade.py | 4 +++- .../framework/plugins/windows/pslist.py | 22 ++++++++++--------- .../framework/plugins/windows/psscan.py | 6 ++--- .../framework/plugins/windows/pstree.py | 12 +++++----- .../framework/plugins/windows/thrdscan.py | 8 ++----- .../framework/plugins/windows/vadinfo.py | 10 +++++---- .../symbols/windows/extensions/pool.py | 6 ++--- .../framework/symbols/windows/pdbutil.py | 4 +--- 21 files changed, 67 insertions(+), 82 deletions(-) delete mode 100644 .github/workflows/black.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml deleted file mode 100644 index 3df690543..000000000 --- a/.github/workflows/black.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Black python formatter - -on: [push, pull_request] - -jobs: - lint: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v4 - - uses: psf/black@stable - with: - options: "--check --diff --verbose" - src: "./volatility3" - # FIXME: Remove when Volatility3 minimum Python version is >3.8 - version: "24.8.0" diff --git a/.github/workflows/ruff.yaml b/.github/workflows/ruff.yaml index 98a05a616..e2381dab2 100644 --- a/.github/workflows/ruff.yaml +++ b/.github/workflows/ruff.yaml @@ -4,7 +4,7 @@ name: Ruff on: [push, pull_request] jobs: - lint: + lint-and-format: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -13,3 +13,5 @@ jobs: with: args: check src: "." + + - run: "ruff format --check --diff" diff --git a/volatility3/cli/text_renderer.py b/volatility3/cli/text_renderer.py index d00c00bf4..d400067af 100644 --- a/volatility3/cli/text_renderer.py +++ b/volatility3/cli/text_renderer.py @@ -464,9 +464,9 @@ class PrettyTextRenderer(CLIRenderer): accumulator.append((node.path_depth, line)) return accumulator - final_output: List[Tuple[int, Dict[interfaces.renderers.Column, list[str]]]] = ( - [] - ) + final_output: List[ + Tuple[int, Dict[interfaces.renderers.Column, list[str]]] + ] = [] if not grid.populated: grid.populate(visitor, final_output) else: diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 95703aaf7..511b95731 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -165,9 +165,7 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface): "init_mm" ).address and init_task.tasks.next.cast( "long unsigned int" - ) == init_task.tasks.prev.cast( - "long unsigned int" - ): + ) == init_task.tasks.prev.cast("long unsigned int"): # The idle task steals `mm` from previously running task, i.e., # `init_mm` is only used as long as no CPU has ever been idle. # This catches cases where we found a fragment of the diff --git a/volatility3/framework/layers/avml.py b/volatility3/framework/layers/avml.py index 7c052f70a..841d821cb 100644 --- a/volatility3/framework/layers/avml.py +++ b/volatility3/framework/layers/avml.py @@ -160,8 +160,7 @@ class AVMLLayer(segmented.NonLinearlySegmentedLayer): if frame_type == 0xFF: if ( data[ - offset - + frame_header_len : offset + offset + frame_header_len : offset + frame_header_len + frame_size ] diff --git a/volatility3/framework/objects/__init__.py b/volatility3/framework/objects/__init__.py index 08d6cb31e..40eb532f1 100644 --- a/volatility3/framework/objects/__init__.py +++ b/volatility3/framework/objects/__init__.py @@ -948,9 +948,9 @@ class AggregateType(interfaces.objects.ObjectInterface): if isinstance(cls, agg_type): agg_name = agg_type.__name__ - assert isinstance( - members, collections.abc.Mapping - ), f"{agg_name} members parameter must be a mapping: {type(members)}" + assert isinstance(members, collections.abc.Mapping), ( + f"{agg_name} members parameter must be a mapping: {type(members)}" + ) assert all( (isinstance(member, tuple) and len(member) == 2) for member in members.values() diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index cbd9f87c1..533a4e217 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -88,7 +88,12 @@ class Malfind(interfaces.plugins.PluginInterface): for page_addr in malicious_pages: offset = page_addr - vma.vm_start data = proc_layer.read(page_addr, dump_size, pad=True) - yield vma, f"{vma_name}, page address: {page_addr:#x}, offset: {offset:#x}", data, offset + yield ( + vma, + f"{vma_name}, page address: {page_addr:#x}, offset: {offset:#x}", + data, + offset, + ) else: # Original behaviour - Dump the start of the region (not necessarily matching the dirty page) data = proc_layer.read(vma.vm_start, dump_size, pad=True) diff --git a/volatility3/framework/plugins/linux/pidhashtable.py b/volatility3/framework/plugins/linux/pidhashtable.py index b4b1643e1..0324ed846 100644 --- a/volatility3/framework/plugins/linux/pidhashtable.py +++ b/volatility3/framework/plugins/linux/pidhashtable.py @@ -194,15 +194,11 @@ class PIDHashTable(plugins.PluginInterface): has_pid_numbers = vmlinux.has_type("pid") and vmlinux.get_type( "pid" - ).has_member( - "numbers" - ) # kernels >= 2.6.24 + ).has_member("numbers") # kernels >= 2.6.24 has_pid_chain = vmlinux.has_type("upid") and vmlinux.get_type( "upid" - ).has_member( - "pid_chain" - ) # 2.6.24 <= kernels < 4.15 + ).has_member("pid_chain") # 2.6.24 <= kernels < 4.15 # kernels >= 4.15 pid_idr = vmlinux.has_type("pid_namespace") and vmlinux.get_type( diff --git a/volatility3/framework/plugins/linux/proc.py b/volatility3/framework/plugins/linux/proc.py index e9a126374..2c6ebd825 100644 --- a/volatility3/framework/plugins/linux/proc.py +++ b/volatility3/framework/plugins/linux/proc.py @@ -70,9 +70,9 @@ class Maps(plugins.PluginInterface): def list_vmas( cls, task: interfaces.objects.ObjectInterface, - filter_func: Callable[ - [interfaces.objects.ObjectInterface], bool - ] = lambda _: True, + filter_func: Callable[[interfaces.objects.ObjectInterface], bool] = lambda _: ( + True + ), ) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Lists the Virtual Memory Areas of a specific process. diff --git a/volatility3/framework/plugins/linux/tracing/perf_events.py b/volatility3/framework/plugins/linux/tracing/perf_events.py index ff922784d..c7e4dbe34 100644 --- a/volatility3/framework/plugins/linux/tracing/perf_events.py +++ b/volatility3/framework/plugins/linux/tracing/perf_events.py @@ -34,7 +34,9 @@ class PerfEvents(plugins.PluginInterface): ] @classmethod - def list_perf_events(cls, context, vmlinux_module_name: str) -> Generator[ + def list_perf_events( + cls, context, vmlinux_module_name: str + ) -> Generator[ Tuple[ interfaces.objects.ObjectInterface, interfaces.objects.ObjectInterface, diff --git a/volatility3/framework/plugins/mac/proc_maps.py b/volatility3/framework/plugins/mac/proc_maps.py index 87f3559ea..b1370afdb 100644 --- a/volatility3/framework/plugins/mac/proc_maps.py +++ b/volatility3/framework/plugins/mac/proc_maps.py @@ -65,9 +65,9 @@ class Maps(interfaces.plugins.PluginInterface): def list_vmas( cls, task: interfaces.objects.ObjectInterface, - filter_func: Callable[ - [interfaces.objects.ObjectInterface], bool - ] = lambda _: True, + filter_func: Callable[[interfaces.objects.ObjectInterface], bool] = lambda _: ( + True + ), ) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Lists the Virtual Memory Areas of a specific process. diff --git a/volatility3/framework/plugins/mac/pslist.py b/volatility3/framework/plugins/mac/pslist.py index 904e4e201..f36bcd831 100644 --- a/volatility3/framework/plugins/mac/pslist.py +++ b/volatility3/framework/plugins/mac/pslist.py @@ -49,7 +49,9 @@ class PsList(interfaces.plugins.PluginInterface): ] @classmethod - def get_list_tasks(cls, method: str) -> Callable[ + def get_list_tasks( + cls, method: str + ) -> Callable[ [interfaces.context.ContextInterface, str, Callable[[int], bool]], Iterable[interfaces.objects.ObjectInterface], ]: diff --git a/volatility3/framework/plugins/windows/getservicesids.py b/volatility3/framework/plugins/windows/getservicesids.py index c04472eab..96786b586 100644 --- a/volatility3/framework/plugins/windows/getservicesids.py +++ b/volatility3/framework/plugins/windows/getservicesids.py @@ -19,9 +19,7 @@ vollog = logging.getLogger(__name__) def createservicesid(svc) -> str: """Calculate the Service SID""" uni = "".join([c + "\x00" for c in svc]) - sha = hashlib.sha1( - uni.upper().encode("utf-8") - ).digest() # pylint: disable-msg=E1101 + sha = hashlib.sha1(uni.upper().encode("utf-8")).digest() # pylint: disable-msg=E1101 dec = list() for i in range(5): ## The use of struct here is OK. It doesn't make much sense diff --git a/volatility3/framework/plugins/windows/malware/pebmasquerade.py b/volatility3/framework/plugins/windows/malware/pebmasquerade.py index cd898239f..867609f16 100644 --- a/volatility3/framework/plugins/windows/malware/pebmasquerade.py +++ b/volatility3/framework/plugins/windows/malware/pebmasquerade.py @@ -37,7 +37,9 @@ class PebMasquerade(interfaces.plugins.PluginInterface): ] @classmethod - def get_process_names(cls, proc: interfaces.objects.ObjectInterface) -> Tuple[ + def get_process_names( + cls, proc: interfaces.objects.ObjectInterface + ) -> Tuple[ Union[str, renderers.NotAvailableValue], Union[str, renderers.NotAvailableValue], Union[str, renderers.NotAvailableValue], diff --git a/volatility3/framework/plugins/windows/pslist.py b/volatility3/framework/plugins/windows/pslist.py index 1043f8b42..db3e5dc99 100644 --- a/volatility3/framework/plugins/windows/pslist.py +++ b/volatility3/framework/plugins/windows/pslist.py @@ -167,13 +167,15 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): Filter function for passing to the `list_processes` method """ - return lambda x: not ( - x.is_valid() - and x.ActiveThreads > 0 - and x.UniqueProcessId != 4 - and x.InheritedFromUniqueProcessId != 4 - and x.ExitTime.QuadPart == 0 - and x.get_handle_count() != renderers.UnreadableValue() + return lambda x: ( + not ( + x.is_valid() + and x.ActiveThreads > 0 + and x.UniqueProcessId != 4 + and x.InheritedFromUniqueProcessId != 4 + and x.ExitTime.QuadPart == 0 + and x.get_handle_count() != renderers.UnreadableValue() + ) ) @classmethod @@ -214,9 +216,9 @@ class PsList(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): cls, context: interfaces.context.ContextInterface, kernel_module_name: str, - filter_func: Callable[ - [interfaces.objects.ObjectInterface], bool - ] = lambda _: False, + filter_func: Callable[[interfaces.objects.ObjectInterface], bool] = lambda _: ( + False + ), ) -> Iterator["extensions.EPROCESS"]: """Lists all the processes in the given layer that are in the pid config option. diff --git a/volatility3/framework/plugins/windows/psscan.py b/volatility3/framework/plugins/windows/psscan.py index ae37c20a1..de69c23be 100644 --- a/volatility3/framework/plugins/windows/psscan.py +++ b/volatility3/framework/plugins/windows/psscan.py @@ -150,9 +150,9 @@ class PsScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface): cls, context: interfaces.context.ContextInterface, kernel_module_name: str, - filter_func: Callable[ - [interfaces.objects.ObjectInterface], bool - ] = lambda _: False, + filter_func: Callable[[interfaces.objects.ObjectInterface], bool] = lambda _: ( + False + ), ) -> Iterable[interfaces.objects.ObjectInterface]: """Scans for processes using the poolscanner module and constraints. diff --git a/volatility3/framework/plugins/windows/pstree.py b/volatility3/framework/plugins/windows/pstree.py index 373c555f6..c8d9a3f66 100644 --- a/volatility3/framework/plugins/windows/pstree.py +++ b/volatility3/framework/plugins/windows/pstree.py @@ -53,9 +53,9 @@ class PsTree(interfaces.plugins.PluginInterface): def find_level( self, pid: int, - filter_func: Callable[ - [interfaces.objects.ObjectInterface], bool - ] = lambda _: False, + filter_func: Callable[[interfaces.objects.ObjectInterface], bool] = lambda _: ( + False + ), ) -> None: """Finds how deep the pid is in the processes list.""" seen = {pid} @@ -77,9 +77,9 @@ class PsTree(interfaces.plugins.PluginInterface): def _generator( self, - filter_func: Callable[ - [interfaces.objects.ObjectInterface], bool - ] = lambda _: False, + filter_func: Callable[[interfaces.objects.ObjectInterface], bool] = lambda _: ( + False + ), ): """Generates the Tree of processes.""" kernel = self.context.modules[self.config["kernel"]] diff --git a/volatility3/framework/plugins/windows/thrdscan.py b/volatility3/framework/plugins/windows/thrdscan.py index 1588f292e..4b2bf47d2 100644 --- a/volatility3/framework/plugins/windows/thrdscan.py +++ b/volatility3/framework/plugins/windows/thrdscan.py @@ -99,12 +99,8 @@ class ThrdScan(interfaces.plugins.PluginInterface, timeliner.TimeLinerInterface) thread_tid = ethread.Cid.UniqueThread thread_start_addr = ethread.StartAddress thread_win32start_addr = ethread.Win32StartAddress - thread_create_time = ( - ethread.get_create_time() - ) # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object - thread_exit_time = ( - ethread.get_exit_time() - ) # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object + thread_create_time = ethread.get_create_time() # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object + thread_exit_time = ethread.get_exit_time() # datetime.datetime object / volatility3.framework.renderers.UnparsableValue object owner_proc = None if vads_cache is not None: diff --git a/volatility3/framework/plugins/windows/vadinfo.py b/volatility3/framework/plugins/windows/vadinfo.py index 22d42505f..25abd729e 100644 --- a/volatility3/framework/plugins/windows/vadinfo.py +++ b/volatility3/framework/plugins/windows/vadinfo.py @@ -115,9 +115,9 @@ class VadInfo(interfaces.plugins.PluginInterface): def list_vads( cls, proc: interfaces.objects.ObjectInterface, - filter_func: Callable[ - [interfaces.objects.ObjectInterface], bool - ] = lambda _: False, + filter_func: Callable[[interfaces.objects.ObjectInterface], bool] = lambda _: ( + False + ), ) -> Generator[interfaces.objects.ObjectInterface, None, None]: """Lists the Virtual Address Descriptors of a specific process. @@ -198,7 +198,9 @@ class VadInfo(interfaces.plugins.PluginInterface): return file_handle - def _generator(self, procs: List[interfaces.objects.ObjectInterface]) -> Generator[ + def _generator( + self, procs: List[interfaces.objects.ObjectInterface] + ) -> Generator[ Tuple[ int, Tuple[ diff --git a/volatility3/framework/symbols/windows/extensions/pool.py b/volatility3/framework/symbols/windows/extensions/pool.py index f12182fa7..a3bc3aefe 100644 --- a/volatility3/framework/symbols/windows/extensions/pool.py +++ b/volatility3/framework/symbols/windows/extensions/pool.py @@ -126,8 +126,7 @@ class POOL_HEADER(objects.StructType): infomask_value = infomask_data[addr + infomask_offset] pointercount_value = int.from_bytes( infomask_data[ - addr - + pointercount_offset : addr + addr + pointercount_offset : addr + pointercount_offset + pointercount_size ], @@ -165,8 +164,7 @@ class POOL_HEADER(objects.StructType): (padding_length,) = struct.unpack( " Date: Mon, 9 Mar 2026 20:47:24 +0000 Subject: [PATCH 2176/2186] Update documentation to remove black and use ruff --- CODING_STYLE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODING_STYLE.md b/CODING_STYLE.md index a4e248ffe..ed69003c6 100644 --- a/CODING_STYLE.md +++ b/CODING_STYLE.md @@ -5,7 +5,7 @@ The coding standards for volatility are mostly by our linter and our code format All code submissions will be vetted automatically through tests from both and the submission will not be accepted if either of these fail. Code Linter: Ruff -Code Formatter: Black +Code Formatter: Ruff In addition, there are some coding practices that we employ to prevent specific failure cases and ensure consistency across the codebase. These are documented below along with the rationale for the decision. From 5e955e522004ca1aa20702ae93b41e6468ef0af2 Mon Sep 17 00:00:00 2001 From: Esa Jokinen Date: Tue, 10 Mar 2026 17:08:01 +0200 Subject: [PATCH 2177/2186] Support Cryptodome namespace when Crypto is unavailable --- .../framework/plugins/windows/registry/cachedump.py | 9 +++++++-- .../framework/plugins/windows/registry/hashdump.py | 6 +++++- .../framework/plugins/windows/registry/lsadump.py | 6 +++++- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/volatility3/framework/plugins/windows/registry/cachedump.py b/volatility3/framework/plugins/windows/registry/cachedump.py index 49c5495c2..5e138ba99 100644 --- a/volatility3/framework/plugins/windows/registry/cachedump.py +++ b/volatility3/framework/plugins/windows/registry/cachedump.py @@ -5,8 +5,13 @@ import logging from struct import unpack from typing import Tuple -from Crypto.Cipher import ARC4, AES -from Crypto.Hash import HMAC +try: + from Crypto.Cipher import ARC4, AES + from Crypto.Hash import HMAC +except ImportError: + # Debian/Ubuntu ship pycryptodome under Cryptodome namespace + from Cryptodome.Cipher import ARC4, AES + from Cryptodome.Hash import HMAC from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements diff --git a/volatility3/framework/plugins/windows/registry/hashdump.py b/volatility3/framework/plugins/windows/registry/hashdump.py index 19bd60e81..6f8a2bce8 100644 --- a/volatility3/framework/plugins/windows/registry/hashdump.py +++ b/volatility3/framework/plugins/windows/registry/hashdump.py @@ -7,7 +7,11 @@ import logging from struct import pack, unpack from typing import List, Optional, Tuple -from Crypto.Cipher import AES, ARC4, DES +try: + from Crypto.Cipher import ARC4, DES, AES +except ImportError: + # Debian/Ubuntu ship pycryptodome under Cryptodome namespace + from Cryptodome.Cipher import ARC4, DES, AES from volatility3.framework import interfaces, renderers, exceptions, constants from volatility3.framework.configuration import requirements diff --git a/volatility3/framework/plugins/windows/registry/lsadump.py b/volatility3/framework/plugins/windows/registry/lsadump.py index 50ecaebc1..7233f82ac 100644 --- a/volatility3/framework/plugins/windows/registry/lsadump.py +++ b/volatility3/framework/plugins/windows/registry/lsadump.py @@ -6,7 +6,11 @@ from struct import unpack from typing import Optional import hashlib -from Crypto.Cipher import ARC4, DES, AES +try: + from Crypto.Cipher import ARC4, DES, AES +except ImportError: + # Debian/Ubuntu ship pycryptodome under Cryptodome namespace + from Cryptodome.Cipher import ARC4, DES, AES from volatility3.framework import interfaces, renderers, exceptions from volatility3.framework.configuration import requirements From 0b6229871fa8f6e854d27607f2b354a0371a6194 Mon Sep 17 00:00:00 2001 From: ikelos Date: Tue, 10 Mar 2026 21:09:05 +0000 Subject: [PATCH 2178/2186] Revert "Only act on local cache symbols under the symbol basepaths" --- .../framework/automagic/symbol_cache.py | 58 +++++-------------- 1 file changed, 14 insertions(+), 44 deletions(-) diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index ff75e86c6..327575e96 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -239,16 +239,7 @@ class SqliteCache(CacheManagerInterface): results = self._database.cursor().execute(statement, parameters).fetchall() result = None for row in results: - local_filepath = self._get_local_filepath(row["location"]) - if not ( - local_filepath is None - or local_filepath.startswith(tuple(constants.SYMBOL_BASEPATHS)) - ): - vollog.debug( - f"Location {row['location']} found but outside of the registered symbol paths" - ) - else: - result = row["location"] + result = row["location"] return result def get_local_locations(self) -> Generator[str, None, None]: @@ -258,11 +249,7 @@ class SqliteCache(CacheManagerInterface): .fetchall() ) for row in result: - local_filepath = self._get_local_filepath(row["location"]) - if local_filepath and local_filepath.startswith( - tuple(constants.SYMBOL_BASEPATHS) - ): - yield row["location"] + yield row["location"] def is_url_local(self, url: str) -> bool: """Determines whether an url is local or not""" @@ -309,20 +296,6 @@ class SqliteCache(CacheManagerInterface): return row["hash"] return None - def _get_local_filepath( - self, location: str, local_only: bool = True - ) -> Optional[str]: - # See if the file is a local URL type we can handle: - parsed = urllib.parse.urlparse(location) - pathname = location if not local_only else None - if parsed.scheme == "file": - pathname = parsed.path - if parsed.scheme == "jar": - inner_url = urllib.parse.urlparse(parsed.path) - if inner_url.scheme == "file": - pathname = inner_url.path.split("!")[0] - return pathname - def update(self, progress_callback=None): """Locates all files under the symbol directories. Updates the cache with additions, modifications and removals. This also updates remote locations based on a cache timeout. @@ -367,7 +340,15 @@ class SqliteCache(CacheManagerInterface): timestamp = stored_timestamp # Default to requiring update # See if the file is a local URL type we can handle: - pathname = self._get_local_filepath(location) + parsed = urllib.parse.urlparse(location) + pathname = None + if parsed.scheme == "file": + pathname = urllib.request.url2pathname(parsed.path) + if parsed.scheme == "jar": + inner_url = urllib.parse.urlparse(parsed.path) + if inner_url.scheme == "file": + pathname = inner_url.path.split("!")[0] + if pathname and os.path.exists(pathname): timestamp = datetime.datetime.fromtimestamp( os.stat(pathname).st_mtime @@ -480,7 +461,7 @@ class SqliteCache(CacheManagerInterface): def get_identifier_dictionary( self, operating_system: Optional[str] = None, local_only: bool = False ) -> Dict[bytes, str]: - output: Dict[bytes, str] = {} + output = {} additions = [] statement = "SELECT location, identifier FROM cache" if local_only: @@ -495,15 +476,7 @@ class SqliteCache(CacheManagerInterface): vollog.debug( f"Duplicate entry for identifier {row['identifier']}: {row['location']} and {output[row['identifier']]}" ) - local_filepath = self._get_local_filepath(row["location"]) - if local_filepath and not local_filepath.startswith( - tuple(constants.SYMBOL_BASEPATHS) - ): - vollog.debug( - f"Location {row['location']} was not in the registered symbol paths and therefore not in the identifier dictionary" - ) - else: - output[row["identifier"]] = row["location"] + output[row["identifier"]] = row["location"] return output def get_identifiers(self, operating_system: Optional[str]) -> List[bytes]: @@ -560,10 +533,7 @@ class SymbolCacheMagic(interfaces.automagic.AutomagicInterface): def __call__(self, context, config_path, configurable, progress_callback=None): """Runs the automagic over the configurable.""" - try: - self._cache.update(progress_callback) - except Exception as excp: - vollog.debug(f"Excption during cache update: {excp}") + self._cache.update(progress_callback) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: From 34384ddb4b167ef2ff0fe39794f973beeff3b0a2 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 12 Mar 2026 22:25:46 +0000 Subject: [PATCH 2179/2186] Switch to using github infrastructure for test cases... --- .github/workflows/test.yaml | 10 +++++----- README.md | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 266e8bcc3..104b1f9d8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -26,19 +26,19 @@ jobs: run: | mkdir test_images cd test_images - curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/linux-sample-1.bin.gz" + curl -sLO "https://github.com/volatilityfoundation/volatility3-test-data/releases/download/v0.0.1/linux-sample-1.bin.gz" gunzip linux-sample-1.bin.gz - curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/win-xp-laptop-2005-06-25.img.gz" + curl -sLO "https://github.com/volatilityfoundation/volatility3-test-data/releases/download/v0.0.1/win-xp-laptop-2005-06-25.img.gz" gunzip win-xp-laptop-2005-06-25.img.gz - curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/win-10_19041-2025_03.dmp.gz" + curl -sLO "https://github.com/volatilityfoundation/volatility3-test-data/releases/download/v0.0.1/win-10_19041-2025_03.dmp.gz" gunzip win-10_19041-2025_03.dmp.gz cd - - name: Download and Extract symbols run: | cd ./volatility3/symbols - curl -sLO https://downloads.volatilityfoundation.org/volatility3/symbols/linux.zip - curl -sLO https://downloads.volatilityfoundation.org/volatility3/symbols/symbols_win-10_19041-2025_03.zip + curl -sLO https://github.com/volatilityfoundation/volatility3-test-data/releases/download/v0.0.1/linux.zip + curl -sLO https://github.com/volatilityfoundation/volatility3-test-data/releases/download/v0.0.1/symbols_win-10_19041-2025_03.zip unzip linux.zip unzip symbols_win-10_19041-2025_03.zip cd - diff --git a/README.md b/README.md index 8c5332a90..e38975f91 100644 --- a/README.md +++ b/README.md @@ -65,19 +65,19 @@ pip install -e ".[dev]" Symbol table packs for the various operating systems are available for download at: - +[windows.zip](https://github.com/volatilityfoundation/volatility3-test-data/releases/download/v0.0.1/windows.zip) - +[mac.zip](https://github.com/volatilityfoundation/volatility3-test-data/releases/download/v0.0.1/mac.zip) - +[linux.zip](https://github.com/volatilityfoundation/volatility3-test-data/releases/download/v0.0.1/linux.zip) The hashes to verify whether any of the symbol pack files have downloaded successfully or have changed can be found at: - +[SHA256SUMS](https://raw.githubusercontent.com/volatilityfoundation/volatility3-test-data/refs/tags/v0.0.1/symbols/SHA256SUMS) - +[SHA1SUMS](https://raw.githubusercontent.com/volatilityfoundation/volatility3-test-data/refs/tags/v0.0.1/symbols/SHA1SUMS) - +[MD5SUMS](https://raw.githubusercontent.com/volatilityfoundation/volatility3-test-data/refs/tags/v0.0.1/symbols/MD5SUMS) Symbol tables zip files must be placed, as named, into the `volatility3/symbols` directory (or just the symbols directory next to the executable file). From dd06faa7ce3902fc327eb5a8ac48592e3621f06e Mon Sep 17 00:00:00 2001 From: Esa Jokinen Date: Mon, 16 Mar 2026 08:47:19 +0200 Subject: [PATCH 2180/2186] Add user cache directory as fallback for downloaded symbols --- volatility3/framework/constants/__init__.py | 27 ++++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/volatility3/framework/constants/__init__.py b/volatility3/framework/constants/__init__.py index 689ef122b..684ba7cfd 100644 --- a/volatility3/framework/constants/__init__.py +++ b/volatility3/framework/constants/__init__.py @@ -25,6 +25,18 @@ from volatility3.framework.constants._version import ( REQUIRED_PYTHON_VERSION = (3, 8, 0) +CACHE_PATH = os.path.join( + os.environ.get("XDG_CACHE_HOME") or os.path.join(os.path.expanduser("~"), ".cache"), + "volatility3", +) +"""Default path to store cached data""" + +if sys.platform == "win32": + CACHE_PATH = os.path.realpath( + os.path.join(os.environ.get("APPDATA", os.path.expanduser("~")), "volatility3") + ) +os.makedirs(CACHE_PATH, exist_ok=True) + PLUGINS_PATH = [ os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "plugins")), os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "plugins")), @@ -34,6 +46,9 @@ PLUGINS_PATH = [ SYMBOL_BASEPATHS = [ os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "symbols")), os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "symbols")), + os.path.abspath( + os.path.join(CACHE_PATH, "symbols") + ), # User cache fallback for automatically downloaded temporary symbols ] """Default list of paths to load symbols from (volatility3/symbols and volatility3/framework/symbols)""" @@ -71,21 +86,9 @@ LOGLEVEL_VVVV = 6 """Logging level for four levels of detail: -vvvvvv""" -CACHE_PATH = os.path.join( - os.environ.get("XDG_CACHE_HOME") or os.path.join(os.path.expanduser("~"), ".cache"), - "volatility3", -) -"""Default path to store cached data""" - SQLITE_CACHE_PERIOD = "-3 days" """SQLite time modifier for how long each item is valid in the cache for""" -if sys.platform == "win32": - CACHE_PATH = os.path.realpath( - os.path.join(os.environ.get("APPDATA", os.path.expanduser("~")), "volatility3") - ) -os.makedirs(CACHE_PATH, exist_ok=True) - IDENTIFIERS_FILENAME = "identifier.cache" """Default location to record information about available identifiers""" From 7707a140926595af9e07012b4476e8bdb03de4e1 Mon Sep 17 00:00:00 2001 From: Esa Jokinen Date: Mon, 16 Mar 2026 15:44:07 +0200 Subject: [PATCH 2181/2186] PDBUtility: Log per-path symbol write failures at DEBUG level --- volatility3/framework/symbols/windows/pdbutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/windows/pdbutil.py b/volatility3/framework/symbols/windows/pdbutil.py index af86f6997..ccee64c55 100644 --- a/volatility3/framework/symbols/windows/pdbutil.py +++ b/volatility3/framework/symbols/windows/pdbutil.py @@ -289,7 +289,7 @@ class PDBUtility(interfaces.configuration.VersionableInterface): ) break except PermissionError: - vollog.warning( + vollog.debug( f"Cannot write necessary symbol file, please check permissions on {potential_output_filename}" ) continue From f6930214e05f5f5083ad2b34049105cc1e17e15e Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 23 Mar 2026 17:16:51 +0100 Subject: [PATCH 2182/2186] add dump-regions option to malfind and adjust dirty page enumeration --- .../plugins/linux/malware/malfind.py | 178 +++++++++++++----- .../symbols/linux/extensions/__init__.py | 2 +- 2 files changed, 136 insertions(+), 44 deletions(-) diff --git a/volatility3/framework/plugins/linux/malware/malfind.py b/volatility3/framework/plugins/linux/malware/malfind.py index 533a4e217..fba68a289 100644 --- a/volatility3/framework/plugins/linux/malware/malfind.py +++ b/volatility3/framework/plugins/linux/malware/malfind.py @@ -2,23 +2,31 @@ # which is available at https://www.volatilityfoundation.org/license/vsl-v1.0 # -from typing import List, Tuple, Optional import logging -from volatility3.framework import interfaces -from volatility3.framework import renderers, symbols +from typing import Iterable, List, Tuple, Optional +from enum import IntEnum +from volatility3.framework import exceptions, interfaces, renderers, symbols from volatility3.framework.configuration import requirements from volatility3.framework.objects import utility from volatility3.framework.renderers import format_hints -from volatility3.plugins.linux import pslist +from volatility3.plugins.linux import pslist, proc vollog = logging.getLogger(__name__) +class MaliciousFlags(IntEnum): + RWX = 0 + RX = 1 + X_DIRTY = 2 + + class Malfind(interfaces.plugins.PluginInterface): """Lists process memory ranges that potentially contain injected code.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 4) + _version = (1, 1, 0) + + MAX_DUMPSIZE_DEFAULT = 1024 * 1024 * 1024 # 1 Gb @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -31,6 +39,9 @@ class Malfind(interfaces.plugins.PluginInterface): requirements.VersionRequirement( name="pslist", component=pslist.PsList, version=(4, 0, 0) ), + requirements.VersionRequirement( + name="proc", component=proc.Maps, version=(1, 0, 3) + ), requirements.ListRequirement( name="pid", description="Filter on specific process IDs", @@ -38,66 +49,130 @@ class Malfind(interfaces.plugins.PluginInterface): optional=True, ), requirements.IntRequirement( - name="dump-size", - description="Amount of bytes to dump for each dirty region/page found - Default 64 bytes", + name="hexdump-size", + description="Amount of bytes to show for each region/page found - Default 64 bytes", optional=True, default=64, ), requirements.BooleanRequirement( - name="dump-page", - description="Dump each dirty page and content - Default off", + name="show-all-dirty-pages", + description="Show all dirty pages in a VMA if at least one dirty page is found - Default off", optional=True, default=False, ), + requirements.BooleanRequirement( + name="dump-regions", + description="Dump each suspicious memory region in output. All dirty pages will be dumped if --show-all-dirty-pages is enabled.", + optional=True, + default=False, + ), + requirements.IntRequirement( + name="dump-maxsize", + description="Maximum size for dumped memory regions " + "(all the bigger regions will be ignored) - Default 1 GB", + default=cls.MAX_DUMPSIZE_DEFAULT, + optional=True, + ), ] + def _get_dirty_pages(self, proc_layer, vma) -> Iterable[Tuple[int, int]]: + """Get dirty pages inside the specified VMA. + + Yields: + page address and page size + """ + page_addr = vma.vm_start + while page_addr < vma.vm_end: + try: + # We don't want to use the layer's page size by default to handle + # large pages (PUD, PMD...) correctly. + _, page_size, _ = proc_layer._translate(page_addr) + if proc_layer.is_dirty(page_addr): + yield page_addr, page_size + except ( + AttributeError, + exceptions.PagedInvalidAddressException, + exceptions.InvalidAddressException, + ): + page_size = proc_layer.page_size + + page_addr += page_size + + def _is_suspicious(self, proc_layer, vma) -> Optional[Tuple[int, MaliciousFlags]]: + """Determine if a VMA is suspicious based on any of the following criterias: + - RWX + - RX + - X + DIRTY + + Returns: + (suspicious page address, suspicious page size, malicious flag) or None + """ + flags_str = vma.get_protection() + + if flags_str == "rwx": + return vma.vm_start, vma.vm_end - vma.vm_start, MaliciousFlags.RWX + elif flags_str == "r-x" and vma.vm_file.dereference().vol.offset == 0: + return vma.vm_start, vma.vm_end - vma.vm_start, MaliciousFlags.RX + elif "x" in flags_str: + for page_addr, page_size in self._get_dirty_pages(proc_layer, vma): + vollog.warning( + f"Found dirty page at {page_addr:#x} inside executable region {vma.vm_start:#x}-{vma.vm_end:#x}!" + ) + # We do not attempt to find other dirty+exec pages once we have found one + return page_addr, page_size, MaliciousFlags.X_DIRTY + + return None + def _list_injections( self, task - ) -> Tuple[interfaces.objects.ObjectInterface, Optional[str], bytes]: + ) -> Iterable[ + Tuple[interfaces.objects.ObjectInterface, Optional[str], bytes, int, int] + ]: """Generate memory regions for a process that may contain injected code.""" - proc_layer_name = task.add_process_layer() if not proc_layer_name: - return None + return proc_layer = self.context.layers[proc_layer_name] - - dump_size = self.config["dump-size"] - + data_size = self.config["hexdump-size"] # Dumping page defaults to off, as in case a whole r-xp region is dirty # this would likely dump 1000's of pages which might not always be wise nor necessary - - dump_page = self.config["dump-page"] - for vma in task.mm.get_vma_iter(): vma_name = vma.get_name(self.context, task) vollog.debug( f"Injections : processing PID {task.pid} : VMA {vma_name} : {hex(vma.vm_start)}-{hex(vma.vm_end)}" ) + if vma_name == "[vdso]": + continue - # If is_suspicious returns true, this means at least one page - # in the region is dirty. If dump_page is true, then we dump - # all dirty pages + suspicious_result = self._is_suspicious(proc_layer, vma) + if suspicious_result is None: + continue - if vma.is_suspicious(proc_layer) and vma_name != "[vdso]": - malicious_pages = vma.get_malicious_pages(proc_layer) - offset = 0 - if dump_page: - # Dumping each dirty page - for page_addr in malicious_pages: - offset = page_addr - vma.vm_start - data = proc_layer.read(page_addr, dump_size, pad=True) - yield ( - vma, - f"{vma_name}, page address: {page_addr:#x}, offset: {offset:#x}", - data, - offset, - ) - else: - # Original behaviour - Dump the start of the region (not necessarily matching the dirty page) - data = proc_layer.read(vma.vm_start, dump_size, pad=True) - yield vma, vma_name, data, offset + region_start, region_size, suspicious_flag = suspicious_result + # If _is_suspicious returns MaliciousFlags.X_DIRTY, this means at least one page + # in the region is dirty. If --show-all-dirty-pages is set, then we show + # all the dirty pages. + if ( + suspicious_flag == MaliciousFlags.X_DIRTY + and self.config["show-all-dirty-pages"] + ): + # Dump each dirty page + for dirty_page_addr, dirty_page_size in self._get_dirty_pages( + proc_layer, vma + ): + name = f"{vma_name}, dirty page address: {dirty_page_addr:#x}" + data = proc_layer.read(dirty_page_addr, data_size, pad=True) + yield vma, name, data, dirty_page_addr, dirty_page_size + continue + + name = vma_name + if suspicious_flag == MaliciousFlags.X_DIRTY: + name = f"{vma_name}, dirty page address: {region_start:#x}" + + data = proc_layer.read(vma.vm_start, data_size, pad=True) + yield vma, name, data, region_start, region_size def _generator(self, tasks): # determine if we're on a 32 or 64 bit kernel @@ -109,15 +184,30 @@ class Malfind(interfaces.plugins.PluginInterface): for task in tasks: process_name = utility.array_to_string(task.comm) - for vma, vma_name, data, offset in self._list_injections(task): + for vma, vma_name, data, region_start, region_size in self._list_injections( + task + ): if is_32bit_arch: architecture = "intel" else: architecture = "intel64" - disasm = renderers.Disassembly( - data, vma.vm_start + offset, architecture - ) + disasm = renderers.Disassembly(data, region_start, architecture) + + file_output = "Disabled" + if self.config["dump-regions"]: + file_handle = proc.Maps.vma_dump( + self.context, + task, + region_start, + region_start + region_size, + self.open, + self.config["dump-maxsize"], + ) + + if file_handle: + file_handle.close() + file_output = file_handle.preferred_filename yield ( 0, @@ -130,6 +220,7 @@ class Malfind(interfaces.plugins.PluginInterface): vma.get_protection(), format_hints.HexBytes(data), disasm, + file_output, ), ) @@ -146,6 +237,7 @@ class Malfind(interfaces.plugins.PluginInterface): ("Protection", str), ("Hexdump", format_hints.HexBytes), ("Disasm", renderers.Disassembly), + ("File output", str), ], self._generator( pslist.PsList.list_tasks( diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 0a6e05951..836810a6d 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -1360,7 +1360,7 @@ class vm_area_struct(objects.StructType): break return malicious_pages - # used by malfind + # previously used by malfind def is_suspicious(self, proclayer=None): ret = False From eb5218183641f0cb67017c912e006c02c7bd11a6 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 2 Apr 2026 21:26:52 +0100 Subject: [PATCH 2183/2186] Bump the non-release version number now --- volatility3/framework/constants/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/constants/_version.py b/volatility3/framework/constants/_version.py index 10dbf3cf1..9e6add3cd 100644 --- a/volatility3/framework/constants/_version.py +++ b/volatility3/framework/constants/_version.py @@ -1,7 +1,7 @@ # We use the SemVer 2.0.0 versioning scheme VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 28 # Number of changes that only add to the interface -VERSION_PATCH = 0 # Number of changes that do not change the interface +VERSION_PATCH = 1 # Number of changes that do not change the interface VERSION_SUFFIX = "" PACKAGE_VERSION = ( From 9c2de16e2ac48b31f40061292837408b70a0e476 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 6 Apr 2026 22:14:22 +0100 Subject: [PATCH 2184/2186] Add in a much larger range if earlier checks don't find the DTB --- volatility3/framework/automagic/windows.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/volatility3/framework/automagic/windows.py b/volatility3/framework/automagic/windows.py index e57bf6974..1627f7c1a 100644 --- a/volatility3/framework/automagic/windows.py +++ b/volatility3/framework/automagic/windows.py @@ -199,13 +199,24 @@ class WindowsIntelStacker(interfaces.automagic.StackerLayerInterface): ( "Detecting Self-referential pointer for recent windows", [DtbSelfRef64bit()], - [(0x150000, 0x150000), (0x550000, 0x1A0000), (0x900000, 0x100000)], + [ + (0x150000, 0x150000), + (0x550000, 0x1A0000), + (0x900000, 0x100000), + ], ), ( "Older windows fixed location self-referential pointers", [DtbSelfRefPae(), DtbSelfRef32bit(), DtbSelfRef64bitOldWindows()], [(0x30000, 0x1000000)], ), + ( + "Very large memory with high DTBs (slow)", + [DtbSelfRef64bit()], + [ + (0xA00000, 0x5000000), + ], + ), ] @classmethod From 514f9d6a11e5503af6c3d9d89d84a0560e7715a4 Mon Sep 17 00:00:00 2001 From: Jaeyou PARK Date: Wed, 8 Apr 2026 10:29:32 +0900 Subject: [PATCH 2185/2186] Add deprecation warning for macOS analysis support Add a warning directive to the macOS tutorial noting that macOS analysis support is no longer actively maintained as of the Volatility 3 parity release. The existing plugins remain available but may not receive future updates. Links to the official announcement for details. --- doc/source/getting-started-mac-tutorial.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/source/getting-started-mac-tutorial.rst b/doc/source/getting-started-mac-tutorial.rst index f4889d689..3feb101db 100644 --- a/doc/source/getting-started-mac-tutorial.rst +++ b/doc/source/getting-started-mac-tutorial.rst @@ -1,6 +1,12 @@ macOS Tutorial ============== +.. warning:: + + As of the Volatility 3 parity release, macOS analysis support is no longer actively maintained. + The existing macOS plugins remain available but may not receive future updates or bug fixes. + For more details, see the `official announcement `_. + This guide will give you a brief overview of how volatility3 works as well as a demonstration of several of the plugins available in the suite. Acquiring memory From 392df7745e672177d02a3deea120d63f75c36469 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 1 May 2026 15:05:37 +0100 Subject: [PATCH 2186/2186] Rework where the banner output happens --- volatility3/cli/__init__.py | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index 15e6cc7b4..870578eb4 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -30,11 +30,10 @@ try: except ImportError: HAS_ARGCOMPLETE = False -from volatility3.cli import text_filter import volatility3.plugins import volatility3.symbols from volatility3 import framework -from volatility3.cli import text_renderer, volargparse +from volatility3.cli import text_filter, text_renderer, volargparse from volatility3.framework import ( automagic, configuration, @@ -380,6 +379,17 @@ class CommandLine: ) self.populate_requirements_argparse(plugin_parser, plugin_list[plugin]) + # One last pass to get the renderer after we've loaded up plugins, + # so we can determine whether to show the banner on normal output or not... + known_args = [arg for arg in sys.argv[1:] if arg != "--help" and arg != "-h"] + partial_args, _ = parser.parse_known_args(known_args) + + # Display banner - redirect to stderr if using structured output + banner_output = sys.stdout + if renderers[partial_args.renderer].structured_output: + banner_output = sys.stderr + banner_output.write(f"Volatility 3 Framework {constants.PACKAGE_VERSION}\n") + ### # PASS TO UI ### @@ -392,12 +402,6 @@ class CommandLine: argcomplete.autocomplete(parser) args = parser.parse_args() - # Display banner - redirect to stderr if using structured output - banner_output = sys.stdout - if renderers[args.renderer].structured_output: - banner_output = sys.stderr - banner_output.write(f"Volatility 3 Framework {constants.PACKAGE_VERSION}\n") - if args.plugin is None: parser.error( f"Please select a plugin to run (see '{self.CLI_NAME} --help' for options"